bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/10073] R_ARM_THM_PC8 Relocation Not Implemented in elf32-arm.c


From: osk at exegin dot com
Subject: [Bug ld/10073] R_ARM_THM_PC8 Relocation Not Implemented in elf32-arm.c
Date: 30 Apr 2009 18:42:17 -0000

------- Additional Comments From osk at exegin dot com  2009-04-30 18:42 -------
Hi Nick,

I tried out the patch, but it doesn't appear to work correctly. GNU ld still
outputs warnings when attempting to link the two libraries. We get the following
warnings:

libecc.a(tk-aes-e.obj): In function `tkAesSetupEnc':
c:\IAR_work\mce_release\src\aes\tk-aes-e.c:(.text+0x98): relocation truncated to
fit: R_ARM_THM_PC8 against `.text_9'
libecc.a(tk-aes-e.obj): In function `aesEnc':
c:\IAR_work\mce_release\src\aes\tk-aes-e.c:(.text+0x416): relocation truncated
to fit: R_ARM_THM_PC8 against `.text_11'

I downloded a copy of the ARM/ELF specification, and it shows that the
R_ARM_THM_PC8 appears to be a special case for computing the initial addend. I'm
not sure if the submitted patch takes this into account.

Thanks,
Owen

(In reply to comment #2)
> Hi Owen,
> 
>   I have uploaded a possible patch to fix this problem - please could you try 
> it
> out for me ?
> 
>   Not having any binaries containing the R_ARM_THM_PC8 reloc makes testing
> locally impossible, but I think that I have implemented it correctly.
> 
> Cheers
>   Nick
> 



-- 


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.




reply via email to

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