bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/12282] New: .note.GNU-stack is referenced in .ARM.exidx


From: jzhang918 at gmail dot com
Subject: [Bug gas/12282] New: .note.GNU-stack is referenced in .ARM.exidx
Date: Thu, 2 Dec 2010 09:57:48 +0000

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: address@hidden
        ReportedBy: address@hidden


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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]