diff options
author | Sam James <sam@gentoo.org> | 2022-08-15 17:43:10 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-18 21:03:39 +0100 |
commit | 0f4d1be169eebcc993c567da333c96c3b4e6abbe (patch) | |
tree | 882d02fdc0f865779ca9847949c5840b5b9aa0e5 /9.5.0/gentoo/06_all_ia64_note.GNU-stack.patch | |
parent | 11.4.0: add 50_all_calloc_libgccjit (diff) | |
download | gcc-patches-0f4d1be169eebcc993c567da333c96c3b4e6abbe.tar.gz gcc-patches-0f4d1be169eebcc993c567da333c96c3b4e6abbe.tar.bz2 gcc-patches-0f4d1be169eebcc993c567da333c96c3b4e6abbe.zip |
9.5.0: clone of 9.4.0, add glibc-2.36 patch
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '9.5.0/gentoo/06_all_ia64_note.GNU-stack.patch')
-rw-r--r-- | 9.5.0/gentoo/06_all_ia64_note.GNU-stack.patch | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/9.5.0/gentoo/06_all_ia64_note.GNU-stack.patch b/9.5.0/gentoo/06_all_ia64_note.GNU-stack.patch new file mode 100644 index 0000000..66a787e --- /dev/null +++ b/9.5.0/gentoo/06_all_ia64_note.GNU-stack.patch @@ -0,0 +1,92 @@ +http://gcc.gnu.org/PR21098 + + +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/linux.h ++++ b/gcc/config/ia64/linux.h +@@ -24,6 +24,8 @@ a copy of the GCC Runtime Library Exception along with this program; + see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + <http://www.gnu.org/licenses/>. */ + ++#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 +--- a/libgcc/config/ia64/crtbegin.S ++++ b/libgcc/config/ia64/crtbegin.S +@@ -252,3 +252,7 @@ __do_jv_register_classes: + .weak __cxa_finalize + #endif + .weak _Jv_RegisterClasses ++ ++#ifdef __linux__ ++.section .note.GNU-stack; .previous ++#endif +--- a/libgcc/config/ia64/crtend.S ++++ b/libgcc/config/ia64/crtend.S +@@ -119,3 +119,6 @@ __do_global_ctors_aux: + + br.ret.sptk.many rp + .endp __do_global_ctors_aux ++#ifdef __linux__ ++.section .note.GNU-stack; .previous ++#endif +--- a/libgcc/config/ia64/crti.S ++++ b/libgcc/config/ia64/crti.S +@@ -49,5 +49,8 @@ _fini: + .save rp, r33 + mov r33 = b0 + .body ++#ifdef __linux__ ++.section .note.GNU-stack; .previous ++#endif + + # end of crti.S +--- a/libgcc/config/ia64/crtn.S ++++ b/libgcc/config/ia64/crtn.S +@@ -39,5 +39,8 @@ + .restore sp + mov r12 = r35 + br.ret.sptk.many b0 ++#ifdef __linux__ ++.section .note.GNU-stack; .previous ++#endif + + # end of crtn.S +--- a/libgcc/config/ia64/lib1funcs.S ++++ b/libgcc/config/ia64/lib1funcs.S +@@ -793,3 +793,6 @@ __floattitf: + .endp __floattitf + #endif + #endif ++#ifdef __linux__ ++.section .note.GNU-stack; .previous ++#endif |