Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
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 (revision 107431) +++ gcc/config/ia64/linux.h (revision 107432) @@ -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 (revision 107431) +++ gcc/config/ia64/lib1funcs.asm (revision 107432) @@ -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 (revision 107431) +++ gcc/config/ia64/crti.asm (revision 107432) @@ -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 (revision 107431) +++ gcc/config/ia64/crtn.asm (revision 107432) @@ -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 (revision 107431) +++ gcc/config/ia64/crtend.asm (revision 107432) @@ -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 (revision 107431) +++ gcc/config/ia64/crtbegin.asm (revision 107432) @@ -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 (revision 107431) +++ gcc/config/rs6000/linux64.h (revision 107432) @@ -543,7 +543,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 (revision 107431) +++ gcc/config/rs6000/rs6000.c (revision 107432) @@ -611,7 +611,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, @@ -18068,13 +18067,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 (revision 107431) +++ gcc/config/rs6000/ppc-asm.h (revision 107432) @@ -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 (revision 107431) +++ boehm-gc/ia64_save_regs_in_stack.s (revision 107432) @@ -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 =================================================================== --- boehm-gc/ia64_save_regs_in_stack.S (revision 0) +++ boehm-gc/ia64_save_regs_in_stack.S (revision 107432) @@ -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 (revision 107431) +++ libffi/src/powerpc/ppc_closure.S (revision 107432) @@ -326,3 +326,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 (revision 107431) +++ libffi/src/powerpc/sysv.S (revision 107432) @@ -209,3 +209,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 (revision 107431) +++ libffi/src/powerpc/linux64_closure.S (revision 107432) @@ -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 (revision 107431) +++ libffi/src/powerpc/linux64.S (revision 107432) @@ -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 (revision 107431) +++ libffi/src/arm/sysv.S (revision 107432) @@ -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 (revision 107431) +++ libffi/src/m68k/sysv.S (revision 107432) @@ -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 (revision 107431) +++ libffi/src/alpha/osf.S (revision 107432) @@ -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 (revision 107431) +++ libffi/src/x86/sysv.S (revision 107432) @@ -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 (revision 107431) +++ libffi/src/x86/unix64.S (revision 107432) @@ -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 (revision 107431) +++ libffi/src/s390/sysv.S (revision 107432) @@ -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 (revision 107431) +++ libffi/src/ia64/unix.S (revision 107432) @@ -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 (revision 107431) +++ libffi/src/sparc/v9.S (revision 107432) @@ -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 (revision 107431) +++ libffi/src/sparc/v8.S (revision 107432) @@ -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