2004-09-20 Jakub Jelinek * config/rs6000/ppc-asm.h: Add .note.GNU-stack section also on ppc64-linux. * config/ia64/lib1funcs.asm: Add .note.GNU-stack section on ia64-linux. * config/ia64/crtbegin.asm: Likewise. * config/ia64/crtend.asm: Likewise. * config/ia64/crti.asm: Likewise. * config/ia64/crtn.asm: Likewise. 2004-05-14 Jakub Jelinek * config/ia64/linux.h (TARGET_ASM_FILE_END): Define. --- gcc/config/ia64/linux.h.jj 2004-05-14 07:21:27.000000000 -0400 +++ gcc/config/ia64/linux.h 2004-05-14 09:21:09.000000000 -0400 @@ -5,6 +5,8 @@ #define TARGET_VERSION fprintf (stderr, " (IA-64) Linux"); +#define TARGET_ASM_FILE_END file_end_indicate_exec_stack + /* This is for -profile to use -lc_p instead of -lc. */ #undef CC1_SPEC #define CC1_SPEC "%{profile:-p} %{G*}" --- gcc/config/rs6000/ppc-asm.h.jj 2003-06-04 18:40:59.000000000 +0200 +++ gcc/config/rs6000/ppc-asm.h 2004-09-20 14:17:47.259396058 +0200 @@ -158,7 +158,7 @@ GLUE(.L,name): \ .size FUNC_NAME(name),GLUE(.L,name)-FUNC_NAME(name) #endif -#if defined __linux__ && !defined __powerpc64__ +#if defined __linux__ .section .note.GNU-stack .previous #endif --- gcc/config/ia64/lib1funcs.asm.jj 2003-10-27 11:45:17.000000000 +0100 +++ gcc/config/ia64/lib1funcs.asm 2004-09-20 14:26:28.094132706 +0200 @@ -741,3 +741,7 @@ __floattitf: .endp __floattitf #endif + +#ifdef __linux__ +.section .note.GNU-stack; .previous +#endif --- gcc/config/ia64/crtend.asm.jj 2004-05-20 14:36:14.000000000 +0200 +++ gcc/config/ia64/crtend.asm 2004-09-20 14:25:57.329580329 +0200 @@ -113,3 +113,7 @@ __do_global_ctors_aux: br.ret.sptk.many rp .endp __do_global_ctors_aux + +#ifdef __linux__ +.section .note.GNU-stack; .previous +#endif --- gcc/config/ia64/crti.asm.jj 2003-04-02 17:14:15.000000000 +0200 +++ gcc/config/ia64/crti.asm 2004-09-20 14:26:06.852894092 +0200 @@ -64,3 +64,7 @@ _fini: .body # end of crti.asm + +#ifdef __linux__ +.section .note.GNU-stack; .previous +#endif --- gcc/config/ia64/crtbegin.asm.jj 2004-05-20 14:36:14.000000000 +0200 +++ gcc/config/ia64/crtbegin.asm 2004-09-20 14:25:47.105390566 +0200 @@ -246,3 +246,7 @@ __do_jv_register_classes: .weak __cxa_finalize #endif .weak _Jv_RegisterClasses + +#ifdef __linux__ +.section .note.GNU-stack; .previous +#endif --- gcc/config/ia64/crtn.asm.jj 2003-04-02 17:14:15.000000000 +0200 +++ gcc/config/ia64/crtn.asm 2004-09-20 14:26:16.381206878 +0200 @@ -54,3 +54,7 @@ br.ret.sptk.many b0 # end of crtn.asm + +#ifdef __linux__ +.section .note.GNU-stack; .previous +#endif