http://sourceware.org/bugzilla/show_bug.cgi?id=12282
Summary: .note.GNU-stack is referenced in .ARM.exidx Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassig...@sources.redhat.com ReportedBy: jzhang...@gmail.com Created attachment 5142 --> http://sourceware.org/bugzilla/attachment.cgi?id=5142 The test case This patch http://sourceware.org/ml/binutils/2010-12/msg00032.html caused a regression of gas of arm-none-linux-gnueabi target. The test case is attached. Steps to reproduce: ./as-new -o emutls.o emutls.s -meabi=5 ../binutils/readelf -r emutls.o Before this patch: Relocation section '.rel.ARM.exidx' at offset 0xc88 contains 7 entries: Offset Info Type Sym.Value Sym. Name 00000000 0000022a R_ARM_PREL31 00000000 .text 00000000 00001f00 R_ARM_NONE 00000000 __aeabi_unwind_cpp_pr1 00000004 0000092a R_ARM_PREL31 00000000 .ARM.extab 00000008 0000022a R_ARM_PREL31 00000000 .text 00000010 0000022a R_ARM_PREL31 00000000 .text 00000010 00002800 R_ARM_NONE 00000000 __aeabi_unwind_cpp_pr0 00000018 0000022a R_ARM_PREL31 00000000 .text After this patch: Relocation section '.rel.ARM.exidx' at offset 0xc88 contains 7 entries: Offset Info Type Sym.Value Sym. Name 00000000 00001b2a R_ARM_PREL31 00000000 .note.GNU-stack 00000000 00001f00 R_ARM_NONE 00000000 __aeabi_unwind_cpp_pr1 00000004 00001b2a R_ARM_PREL31 00000000 .note.GNU-stack 00000008 00001b2a R_ARM_PREL31 00000000 .note.GNU-stack 00000010 00001b2a R_ARM_PREL31 00000000 .note.GNU-stack 00000010 00002800 R_ARM_NONE 00000000 __aeabi_unwind_cpp_pr0 00000018 00001b2a R_ARM_PREL31 00000000 .note.GNU-stack .note.GNU-stack should not be referenced in .ARM.exidx. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils