diff options
Diffstat (limited to 'gcc-4.2.1/gcc/config/arm/lib1funcs.asm')
-rw-r--r-- | gcc-4.2.1/gcc/config/arm/lib1funcs.asm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.2.1/gcc/config/arm/lib1funcs.asm b/gcc-4.2.1/gcc/config/arm/lib1funcs.asm index 2792b35e3..7e0831ade 100644 --- a/gcc-4.2.1/gcc/config/arm/lib1funcs.asm +++ b/gcc-4.2.1/gcc/config/arm/lib1funcs.asm @@ -27,6 +27,13 @@ You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +/* An executable stack is *not* required for these functions. */ +#if defined(__ELF__) && defined(__linux__) +.section .note.GNU-stack,"",%progbits +.previous +#endif + /* ------------------------------------------------------------------------ */ /* We need to know what prefix to add to function names. */ |