bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22068] New: --emit-relocs doesn't add relocations for from_arm/f


From: sigmaepsilon92 at gmail dot com
Subject: [Bug ld/22068] New: --emit-relocs doesn't add relocations for from_arm/from_thumb functions
Date: Sun, 03 Sep 2017 08:39:26 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22068

            Bug ID: 22068
           Summary: --emit-relocs doesn't add relocations for
                    from_arm/from_thumb functions
           Product: binutils
           Version: 2.28
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: sigmaepsilon92 at gmail dot com
  Target Milestone: ---

--emit-relocs doesn't seem to generate relocations for the __func_addr word
which follows generated ARM/Thumb glue functions.
This prevents successfully relocating statically linked excutables.

To reproduce, you can just compile a hello world like this:
arm-linux-gnueabi-gcc main.c -o /tmp/main -static -Wl,--emit-relocs

Using readelf you'll see that there are no relocations for the words following
*_from_thumb functions(e.g. __memset_from_thumb).

-- 
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]