diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-18 13:49:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-18 13:49:32 +0000 |
commit | 081c531fecfa27b5c0e9f48a3ca1a96ea3ef553c (patch) | |
tree | 9e151374b53ad61b9c5407d4cc4f8e8fd8ec3c24 /main/gcc/34_all_ia64_note.GNU-stack.patch | |
parent | de7b37cbad5d595786fa1b78bed8dac552de1b27 (diff) | |
download | aports-081c531fecfa27b5c0e9f48a3ca1a96ea3ef553c.tar.bz2 aports-081c531fecfa27b5c0e9f48a3ca1a96ea3ef553c.tar.xz |
main/gcc: upgrade to 4.6.1
Diffstat (limited to 'main/gcc/34_all_ia64_note.GNU-stack.patch')
-rw-r--r-- | main/gcc/34_all_ia64_note.GNU-stack.patch | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/main/gcc/34_all_ia64_note.GNU-stack.patch b/main/gcc/34_all_ia64_note.GNU-stack.patch new file mode 100644 index 0000000000..b156eacb29 --- /dev/null +++ b/main/gcc/34_all_ia64_note.GNU-stack.patch @@ -0,0 +1,89 @@ +2004-09-20 Jakub Jelinek <jakub@redhat.com> + + * 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 <jakub@redhat.com> + + * config/ia64/linux.h (TARGET_ASM_FILE_END): Define. + + +--- a/gcc/config/ia64/crtbegin.asm ++++ b/gcc/config/ia64/crtbegin.asm +@@ -252,3 +252,7 @@ __do_jv_register_classes: + .weak __cxa_finalize + #endif + .weak _Jv_RegisterClasses ++ ++#ifdef __linux__ ++.section .note.GNU-stack; .previous ++#endif +--- a/gcc/config/ia64/crtend.asm ++++ b/gcc/config/ia64/crtend.asm +@@ -119,3 +119,7 @@ __do_global_ctors_aux: + + br.ret.sptk.many rp + .endp __do_global_ctors_aux ++ ++#ifdef __linux__ ++.section .note.GNU-stack; .previous ++#endif +--- a/gcc/config/ia64/crti.asm ++++ b/gcc/config/ia64/crti.asm +@@ -51,3 +51,7 @@ _fini: + .body + + # end of crti.asm ++ ++#ifdef __linux__ ++.section .note.GNU-stack; .previous ++#endif +--- a/gcc/config/ia64/crtn.asm ++++ b/gcc/config/ia64/crtn.asm +@@ -41,3 +41,7 @@ + br.ret.sptk.many b0 + + # end of crtn.asm ++ ++#ifdef __linux__ ++.section .note.GNU-stack; .previous ++#endif +--- a/gcc/config/ia64/lib1funcs.asm ++++ b/gcc/config/ia64/lib1funcs.asm +@@ -793,3 +793,7 @@ __floattitf: + .endp __floattitf + #endif + #endif ++ ++#ifdef __linux__ ++.section .note.GNU-stack; .previous ++#endif +--- a/gcc/config/ia64/linux.h ++++ b/gcc/config/ia64/linux.h +@@ -29,6 +29,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + + #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*}" +--- a/gcc/config/rs6000/ppc-asm.h ++++ b/gcc/config/rs6000/ppc-asm.h +@@ -352,7 +352,7 @@ GLUE(.L,name): \ + #endif + #endif + +-#if defined __linux__ && !defined __powerpc64__ ++#if defined __linux__ + .section .note.GNU-stack + .previous + #endif |