------- 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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils