source:
scripts/patch/gcc/4.4.1/30-note-gnu-stack.patch@
931e709
Last change on this file since 931e709 was ee54da9, checked in by , 15 years ago | |
---|---|
|
|
File size: 7.2 KB |
-
boehm-gc/ia64_save_regs_in_stack.s
# DP: Add .note.GNU-stack sections for gcc's crt files, libffi and boehm-gc # DP: Taken from FC. gcc/ 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. boehm-gc/ 2005-02-08 Jakub Jelinek <jakub@redhat.com> * ia64_save_regs_in_stack.s: Moved to... * ia64_save_regs_in_stack.S: ... this. Add .note.GNU-stack on Linux. libffi/ 2007-05-11 Daniel Jacobowitz <dan@debian.org> * src/arm/sysv.S: Fix ARM comment marker. 2005-02-08 Jakub Jelinek <jakub@redhat.com> * src/alpha/osf.S: Add .note.GNU-stack on Linux. * src/s390/sysv.S: Likewise. * src/powerpc/linux64.S: Likewise. * src/powerpc/linux64_closure.S: Likewise. * src/powerpc/ppc_closure.S: Likewise. * src/powerpc/sysv.S: Likewise. * src/x86/unix64.S: Likewise. * src/x86/sysv.S: Likewise. * src/sparc/v8.S: Likewise. * src/sparc/v9.S: Likewise. * src/m68k/sysv.S: Likewise. * src/ia64/unix.S: Likewise. * src/arm/sysv.S: Likewise. diff -Naur gcc-4.4.0.orig/boehm-gc/ia64_save_regs_in_stack.s gcc-4.4.0/boehm-gc/ia64_save_regs_in_stack.s
old new 1 .text2 .align 163 .global GC_save_regs_in_stack4 .proc GC_save_regs_in_stack5 GC_save_regs_in_stack:6 .body7 flushrs8 ;;9 mov r8=ar.bsp10 br.ret.sptk.few rp11 .endp GC_save_regs_in_stack12 -
boehm-gc/ia64_save_regs_in_stack.S
diff -Naur gcc-4.4.0.orig/boehm-gc/ia64_save_regs_in_stack.S gcc-4.4.0/boehm-gc/ia64_save_regs_in_stack.S
old new 1 .text 2 .align 16 3 .global GC_save_regs_in_stack 4 .proc GC_save_regs_in_stack 5 GC_save_regs_in_stack: 6 .body 7 flushrs 8 ;; 9 mov r8=ar.bsp 10 br.ret.sptk.few rp 11 .endp GC_save_regs_in_stack 12 13 #ifdef __linux__ 14 .section .note.GNU-stack,"",@progbits 15 #endif -
gcc/config/ia64/crtbegin.asm
diff -Naur gcc-4.4.0.orig/gcc/config/ia64/crtbegin.asm gcc-4.4.0/gcc/config/ia64/crtbegin.asm
old new 252 252 .weak __cxa_finalize 253 253 #endif 254 254 .weak _Jv_RegisterClasses 255 256 #ifdef __linux__ 257 .section .note.GNU-stack; .previous 258 #endif -
gcc/config/ia64/crtend.asm
diff -Naur gcc-4.4.0.orig/gcc/config/ia64/crtend.asm gcc-4.4.0/gcc/config/ia64/crtend.asm
old new 119 119 120 120 br.ret.sptk.many rp 121 121 .endp __do_global_ctors_aux 122 123 #ifdef __linux__ 124 .section .note.GNU-stack; .previous 125 #endif -
gcc/config/ia64/crti.asm
diff -Naur gcc-4.4.0.orig/gcc/config/ia64/crti.asm gcc-4.4.0/gcc/config/ia64/crti.asm
old new 51 51 .body 52 52 53 53 # end of crti.asm 54 55 #ifdef __linux__ 56 .section .note.GNU-stack; .previous 57 #endif -
gcc/config/ia64/crtn.asm
diff -Naur gcc-4.4.0.orig/gcc/config/ia64/crtn.asm gcc-4.4.0/gcc/config/ia64/crtn.asm
old new 41 41 br.ret.sptk.many b0 42 42 43 43 # end of crtn.asm 44 45 #ifdef __linux__ 46 .section .note.GNU-stack; .previous 47 #endif -
gcc/config/ia64/lib1funcs.asm
diff -Naur gcc-4.4.0.orig/gcc/config/ia64/lib1funcs.asm gcc-4.4.0/gcc/config/ia64/lib1funcs.asm
old new 793 793 .endp __floattitf 794 794 #endif 795 795 #endif 796 797 #ifdef __linux__ 798 .section .note.GNU-stack; .previous 799 #endif -
gcc/config/ia64/linux.h
diff -Naur gcc-4.4.0.orig/gcc/config/ia64/linux.h gcc-4.4.0/gcc/config/ia64/linux.h
old new 5 5 6 6 #define TARGET_VERSION fprintf (stderr, " (IA-64) Linux"); 7 7 8 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack 9 8 10 /* This is for -profile to use -lc_p instead of -lc. */ 9 11 #undef CC1_SPEC 10 12 #define CC1_SPEC "%{profile:-p} %{G*}" -
gcc/config/rs6000/ppc-asm.h
diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/ppc-asm.h gcc-4.4.0/gcc/config/rs6000/ppc-asm.h
old new 172 172 .size FUNC_NAME(name),GLUE(.L,name)-FUNC_NAME(name) 173 173 #endif 174 174 175 #if defined __linux__ && !defined __powerpc64__175 #if defined __linux__ 176 176 .section .note.GNU-stack 177 177 .previous 178 178 #endif -
libffi/src/ia64/unix.S
diff -Naur gcc-4.4.0.orig/libffi/src/ia64/unix.S gcc-4.4.0/libffi/src/ia64/unix.S
old new 553 553 data8 @pcrel(.Lld_hfa_float) // FFI_IA64_TYPE_HFA_FLOAT 554 554 data8 @pcrel(.Lld_hfa_double) // FFI_IA64_TYPE_HFA_DOUBLE 555 555 data8 @pcrel(.Lld_hfa_ldouble) // FFI_IA64_TYPE_HFA_LDOUBLE 556 557 #if defined __ELF__ && defined __linux__ 558 .section .note.GNU-stack,"",@progbits 559 #endif -
libffi/src/powerpc/linux64_closure.S
diff -Naur gcc-4.4.0.orig/libffi/src/powerpc/linux64_closure.S gcc-4.4.0/libffi/src/powerpc/linux64_closure.S
old new 204 204 .align 3 205 205 .LEFDE1: 206 206 #endif 207 208 #if defined __ELF__ && defined __linux__ 209 .section .note.GNU-stack,"",@progbits 210 #endif -
libffi/src/powerpc/linux64.S
diff -Naur gcc-4.4.0.orig/libffi/src/powerpc/linux64.S gcc-4.4.0/libffi/src/powerpc/linux64.S
old new 179 179 .align 3 180 180 .LEFDE1: 181 181 #endif 182 183 #if defined __ELF__ && defined __linux__ 184 .section .note.GNU-stack,"",@progbits 185 #endif -
src/boehm-gc/ia64_save_regs_in_stack.S
diff -Naur gcc-4.4.0.orig/src/boehm-gc/ia64_save_regs_in_stack.S gcc-4.4.0/src/boehm-gc/ia64_save_regs_in_stack.S
old new 1 .text 2 .align 16 3 .global GC_save_regs_in_stack 4 .proc GC_save_regs_in_stack 5 GC_save_regs_in_stack: 6 .body 7 flushrs 8 ;; 9 mov r8=ar.bsp 10 br.ret.sptk.few rp 11 .endp GC_save_regs_in_stack 12 13 #ifdef __linux__ 14 .section .note.GNU-stack,"",@progbits 15 #endif
Note:
See TracBrowser
for help on using the repository browser.