bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17505] arm: bad static label resolution from different modes


From: chrbr at gcc dot gnu.org
Subject: [Bug ld/17505] arm: bad static label resolution from different modes
Date: Thu, 06 Nov 2014 08:13:07 +0000

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

--- Comment #10 from Christian Bruel <chrbr at gcc dot gnu.org> ---
in the .o dump bar is at

   .text
00000000 <foo>:
   ...
00000018 <bar>:

but the call to bar resolves:

  4:    eb000004     bl    30 <bar+0x18>
            4: R_ARM_CALL    bar


why the +0x18 addend ? 

it shoud be either bl <foo+0x18>

or just (prefered) bl <bar>

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