[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binutils-bugs
Subject:    [Bug ld/10073] New: R_ARM_THM_PC8 Relocation Not Implemented in elf32-arm.c
From:       "osk at exegin dot com" <sourceware-bugzilla () sourceware ! org>
Date:       2009-04-15 21:13:55
Message-ID: 20090415211355.10073.osk () exegin ! com
[Download RAW message or body]

We are trying to link a 3rd party library compiled using the ARM/IAR compiler
into our project, which we compile using the GNU arm-elf toolchain. ld fails to
link the 3rd party library, and spits out warnings: "warning: internal error:
unsupported relocation error"

The ld appears to be complaining because the IAR compiler produces instructions
which must be relocated using R_ARM_THM_PC8, but it appears that R_ARM_THM_PC8
isn't implemented in binutils. I was able to confirm this by recompiling
binutils with some printf statements describing the unsupported relocation method.

-- 
           Summary: R_ARM_THM_PC8 Relocation Not Implemented in elf32-arm.c
           Product: binutils
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: osk at exegin dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: x86_64-pc-linux-gnu
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: arm-elf-unknown


http://sourceware.org/bugzilla/show_bug.cgi?id=10073

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic