Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
libgcj41
note-gnu-stack.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File note-gnu-stack.diff of Package libgcj41
http://gcc.gnu.org/viewcvs?view=rev&revision=107432 2005-05-04 Jakub Jelinek <jakub@redhat.com> Revert: 2005-04-29 Alan Modra <amodra@bigpond.net.au> PR target/21098 * config/rs6000/rs6000.c (rs6000_elf_end_indicate_exec_stack): New. * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Use the above. 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/ 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. Index: gcc/config/ia64/linux.h =================================================================== --- gcc/config/ia64/linux.h.orig 2009-11-20 13:41:55.000000000 +0100 +++ gcc/config/ia64/linux.h 2009-11-20 13:42:06.000000000 +0100 @@ -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*}" Index: gcc/config/ia64/lib1funcs.asm =================================================================== --- gcc/config/ia64/lib1funcs.asm.orig 2005-10-28 16:16:58.000000000 +0200 +++ gcc/config/ia64/lib1funcs.asm 2009-11-20 13:42:06.000000000 +0100 @@ -792,3 +792,7 @@ __floattitf: } .endp __floattitf #endif + +#ifdef __linux__ +.section .note.GNU-stack; .previous +#endif Index: gcc/config/ia64/crti.asm =================================================================== --- gcc/config/ia64/crti.asm.orig 2005-10-28 16:16:58.000000000 +0200 +++ gcc/config/ia64/crti.asm 2009-11-20 13:42:06.000000000 +0100 @@ -64,3 +64,7 @@ _fini: .body # end of crti.asm + +#ifdef __linux__ +.section .note.GNU-stack; .previous +#endif Index: gcc/config/ia64/crtn.asm =================================================================== --- gcc/config/ia64/crtn.asm.orig 2005-10-28 16:16:58.000000000 +0200 +++ gcc/config/ia64/crtn.asm 2009-11-20 13:42:06.000000000 +0100 @@ -54,3 +54,7 @@ br.ret.sptk.many b0 # end of crtn.asm + +#ifdef __linux__ +.section .note.GNU-stack; .previous +#endif Index: gcc/config/ia64/crtend.asm =================================================================== --- gcc/config/ia64/crtend.asm.orig 2005-10-28 16:16:58.000000000 +0200 +++ gcc/config/ia64/crtend.asm 2009-11-20 13:42:06.000000000 +0100 @@ -122,3 +122,7 @@ __do_global_ctors_aux: br.ret.sptk.many rp .endp __do_global_ctors_aux + +#ifdef __linux__ +.section .note.GNU-stack; .previous +#endif Index: gcc/config/ia64/crtbegin.asm =================================================================== --- gcc/config/ia64/crtbegin.asm.orig 2005-10-28 16:16:58.000000000 +0200 +++ gcc/config/ia64/crtbegin.asm 2009-11-20 13:42:06.000000000 +0100 @@ -255,3 +255,7 @@ __do_jv_register_classes: .weak __cxa_finalize #endif .weak _Jv_RegisterClasses + +#ifdef __linux__ +.section .note.GNU-stack; .previous +#endif Index: gcc/config/rs6000/linux64.h =================================================================== --- gcc/config/rs6000/linux64.h.orig 2009-11-20 13:42:00.000000000 +0100 +++ gcc/config/rs6000/linux64.h 2009-11-20 13:42:06.000000000 +0100 @@ -549,7 +549,7 @@ while (0) #undef DRAFT_V4_STRUCT_RET #define DRAFT_V4_STRUCT_RET (!TARGET_64BIT) -#define TARGET_ASM_FILE_END rs6000_elf_end_indicate_exec_stack +#define TARGET_ASM_FILE_END file_end_indicate_exec_stack #define TARGET_POSIX_IO Index: gcc/config/rs6000/rs6000.c =================================================================== --- gcc/config/rs6000/rs6000.c.orig 2009-11-20 13:41:58.000000000 +0100 +++ gcc/config/rs6000/rs6000.c 2009-11-20 13:42:06.000000000 +0100 @@ -616,7 +616,6 @@ static void rs6000_file_start (void); static unsigned int rs6000_elf_section_type_flags (tree, const char *, int); static void rs6000_elf_asm_out_constructor (rtx, int); static void rs6000_elf_asm_out_destructor (rtx, int); -static void rs6000_elf_end_indicate_exec_stack (void) ATTRIBUTE_UNUSED; static void rs6000_elf_select_section (tree, int, unsigned HOST_WIDE_INT); static void rs6000_elf_unique_section (tree, int); static void rs6000_elf_select_rtx_section (enum machine_mode, rtx, @@ -18198,13 +18197,6 @@ rs6000_elf_declare_function_name (FILE * } ASM_OUTPUT_LABEL (file, name); } - -static void -rs6000_elf_end_indicate_exec_stack (void) -{ - if (TARGET_32BIT) - file_end_indicate_exec_stack (); -} #endif #if TARGET_XCOFF Index: gcc/config/rs6000/ppc-asm.h =================================================================== --- gcc/config/rs6000/ppc-asm.h.orig 2005-10-28 16:17:20.000000000 +0200 +++ gcc/config/rs6000/ppc-asm.h 2009-11-20 13:42:06.000000000 +0100 @@ -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 Index: boehm-gc/ia64_save_regs_in_stack.s =================================================================== --- boehm-gc/ia64_save_regs_in_stack.s 2005-10-28 16:18:46.000000000 +0200 +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1,12 +0,0 @@ - .text - .align 16 - .global GC_save_regs_in_stack - .proc GC_save_regs_in_stack -GC_save_regs_in_stack: - .body - flushrs - ;; - mov r8=ar.bsp - br.ret.sptk.few rp - .endp GC_save_regs_in_stack - Index: boehm-gc/ia64_save_regs_in_stack.S =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ boehm-gc/ia64_save_regs_in_stack.S 2009-11-20 13:42:06.000000000 +0100 @@ -0,0 +1,15 @@ + .text + .align 16 + .global GC_save_regs_in_stack + .proc GC_save_regs_in_stack +GC_save_regs_in_stack: + .body + flushrs + ;; + mov r8=ar.bsp + br.ret.sptk.few rp + .endp GC_save_regs_in_stack + +#ifdef __linux__ + .section .note.GNU-stack,"",@progbits +#endif Index: libffi/src/powerpc/ppc_closure.S =================================================================== --- libffi/src/powerpc/ppc_closure.S.orig 2006-01-20 13:41:05.000000000 +0100 +++ libffi/src/powerpc/ppc_closure.S 2009-11-20 13:42:06.000000000 +0100 @@ -321,3 +321,7 @@ END(ffi_closure_SYSV) .LEFDE1: #endif + +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +#endif Index: libffi/src/powerpc/sysv.S =================================================================== --- libffi/src/powerpc/sysv.S.orig 2006-01-20 13:41:05.000000000 +0100 +++ libffi/src/powerpc/sysv.S 2009-11-20 13:42:06.000000000 +0100 @@ -215,3 +215,7 @@ END(ffi_call_SYSV) .align 2 .LEFDE1: #endif + +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +#endif Index: libffi/src/powerpc/linux64_closure.S =================================================================== --- libffi/src/powerpc/linux64_closure.S.orig 2005-10-28 16:18:54.000000000 +0200 +++ libffi/src/powerpc/linux64_closure.S 2009-11-20 13:42:06.000000000 +0100 @@ -204,3 +204,7 @@ ffi_closure_LINUX64: .align 3 .LEFDE1: #endif + +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +#endif Index: libffi/src/powerpc/linux64.S =================================================================== --- libffi/src/powerpc/linux64.S.orig 2005-10-28 16:18:54.000000000 +0200 +++ libffi/src/powerpc/linux64.S 2009-11-20 13:42:06.000000000 +0100 @@ -178,3 +178,7 @@ ffi_call_LINUX64: .align 3 .LEFDE1: #endif + +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +#endif Index: libffi/src/arm/sysv.S =================================================================== --- libffi/src/arm/sysv.S.orig 2005-10-28 16:18:54.000000000 +0200 +++ libffi/src/arm/sysv.S 2009-11-20 13:42:06.000000000 +0100 @@ -207,3 +207,6 @@ LSYM(Lepilogue): .ffi_call_SYSV_end: .size CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV) +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +#endif Index: libffi/src/m68k/sysv.S =================================================================== --- libffi/src/m68k/sysv.S.orig 2005-10-28 16:18:54.000000000 +0200 +++ libffi/src/m68k/sysv.S 2009-11-20 13:42:06.000000000 +0100 @@ -95,3 +95,7 @@ epilogue: unlk %a6 rts .size ffi_call_SYSV,.-ffi_call_SYSV + +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +#endif Index: libffi/src/alpha/osf.S =================================================================== --- libffi/src/alpha/osf.S.orig 2005-10-28 16:18:54.000000000 +0200 +++ libffi/src/alpha/osf.S 2009-11-20 13:42:06.000000000 +0100 @@ -356,4 +356,8 @@ $LASFDE3: .byte 16 # uleb128 offset 16*-8 .align 3 $LEFDE3: + +#ifdef __linux__ + .section .note.GNU-stack,"",@progbits +#endif #endif Index: libffi/src/x86/sysv.S =================================================================== --- libffi/src/x86/sysv.S.orig 2005-10-28 16:18:54.000000000 +0200 +++ libffi/src/x86/sysv.S 2009-11-20 13:42:06.000000000 +0100 @@ -376,3 +376,7 @@ ffi_closure_raw_SYSV: #endif #endif /* ifndef __x86_64__ */ + +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +#endif Index: libffi/src/x86/unix64.S =================================================================== --- libffi/src/x86/unix64.S.orig 2005-10-28 16:18:54.000000000 +0200 +++ libffi/src/x86/unix64.S 2009-11-20 13:42:06.000000000 +0100 @@ -410,3 +410,7 @@ ffi_closure_unix64: .LEFDE3: #endif /* __x86_64__ */ + +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +#endif Index: libffi/src/s390/sysv.S =================================================================== --- libffi/src/s390/sysv.S.orig 2005-10-28 16:18:54.000000000 +0200 +++ libffi/src/s390/sysv.S 2009-11-20 13:42:06.000000000 +0100 @@ -427,3 +427,6 @@ ffi_closure_SYSV: #endif +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +#endif Index: libffi/src/ia64/unix.S =================================================================== --- libffi/src/ia64/unix.S.orig 2005-10-28 16:18:55.000000000 +0200 +++ libffi/src/ia64/unix.S 2009-11-20 13:42:06.000000000 +0100 @@ -553,3 +553,7 @@ ffi_closure_unix: data8 @pcrel(.Lld_hfa_float) // FFI_IA64_TYPE_HFA_FLOAT data8 @pcrel(.Lld_hfa_double) // FFI_IA64_TYPE_HFA_DOUBLE data8 @pcrel(.Lld_hfa_ldouble) // FFI_IA64_TYPE_HFA_LDOUBLE + +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +#endif Index: libffi/src/sparc/v9.S =================================================================== --- libffi/src/sparc/v9.S.orig 2005-10-28 16:18:55.000000000 +0200 +++ libffi/src/sparc/v9.S 2009-11-20 13:42:06.000000000 +0100 @@ -300,3 +300,7 @@ longdouble1: .align 8 .LLEFDE2: #endif + +#ifdef __linux__ + .section .note.GNU-stack,"",@progbits +#endif Index: libffi/src/sparc/v8.S =================================================================== --- libffi/src/sparc/v8.S.orig 2005-10-28 16:18:55.000000000 +0200 +++ libffi/src/sparc/v8.S 2009-11-20 13:42:06.000000000 +0100 @@ -265,3 +265,7 @@ done2: .byte 0x1f ! uleb128 0x1f .align WS .LLEFDE2: + +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +#endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor