[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ld bug - thumb code
From: |
andy parker |
Subject: |
Re: ld bug - thumb code |
Date: |
Thu, 12 Sep 2002 10:20:41 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 |
It appears that the linker does not correctly handle the
R_ARM_THM_PC11 relocation. Please try applying the attached patch and
let me know if it fixes the problem for you. (It does with the test
code you sent to me).
Cheers
Nick
Hi Nick,
I patched the linker and it fixed the test case on my system too.
Unfortunately, my 'real' project code is still broken, and at the link
stage I get the error:
/a.o:src/a.cxx:6: relocation truncated to fit: R_ARM_THM_PC11 D::F()
I'll try and get another test case together over the next few days. In
the meantime, many thanks for your help so far. Despite a few issues,
I'm continually amazed at how well gcc works !
Cheers,
Andy
--
Andy Parker Oxford Semiconductor Ltd
Tel: +44 (0) 1235 824 944 25 Milton Park, Abingdon,
Fax: +44 (0) 1235 821 141 Oxfordshire. OX14 4SH
address@hidden http://www.oxsemi.com