https://sourceware.org/bugzilla/show_bug.cgi?id=17505
--- Comment #10 from Christian Bruel ---
in the .o dump bar is at
.text
:
...
0018 :
but the call to bar resolves:
4:eb04 bl30
4: R_ARM_CALLbar
why the +0x18 addend ?
it shoud be eit
https://sourceware.org/bugzilla/show_bug.cgi?id=17505
Christian Bruel changed:
What|Removed |Added
Attachment #7843|0 |1
is obsolete|
https://sourceware.org/bugzilla/show_bug.cgi?id=17505
--- Comment #8 from Christian Bruel ---
sorry, the first test was only illustrative, but not completed. the fact that
the addresses are the same is just because I reduced the code.
Here is the complete attachment, here the code is :
82
https://sourceware.org/bugzilla/show_bug.cgi?id=17505
--- Comment #7 from Richard Earnshaw ---
> What is surprising is that the linker correctly patches the BL/BLX instru
ctions, itś just the address that is wrong. I´m wondering if this
can be fixed in the linker machinery to handle interwork
https://sourceware.org/bugzilla/show_bug.cgi?id=17505
--- Comment #6 from Christian Bruel ---
(In reply to Richard Earnshaw from comment #5)
> (In reply to Christian Bruel from comment #1)
> > Encoding a BFD_RELOC_ARM_PCREL_BLX instead of a BFD_RELOC_ARM_PCREL_CALL for
> > static calls between ar
https://sourceware.org/bugzilla/show_bug.cgi?id=17505
Richard Earnshaw changed:
What|Removed |Added
CC||rearnsha at gcc dot gnu.org
--- Co
https://sourceware.org/bugzilla/show_bug.cgi?id=17505
--- Comment #3 from Christian Bruel ---
Created attachment 7867
--> https://sourceware.org/bugzilla/attachment.cgi?id=7867&action=edit
New test
compiles with arm-none-eabi-gcc -march=armv7-a 1.s
previous objdump was :
801c:eb
https://sourceware.org/bugzilla/show_bug.cgi?id=17505
--- Comment #4 from Christian Bruel ---
Created attachment 7868
--> https://sourceware.org/bugzilla/attachment.cgi?id=7868&action=edit
the c input
causing the situation, for reference (need attribute target support)
--
You are receiving t
https://sourceware.org/bugzilla/show_bug.cgi?id=17505
--- Comment #1 from Christian Bruel ---
Encoding a BFD_RELOC_ARM_PCREL_BLX instead of a BFD_RELOC_ARM_PCREL_CALL for
static calls between arm to thumb fixed the problem.
--
You are receiving this mail because:
You are on the CC list for the
https://sourceware.org/bugzilla/show_bug.cgi?id=17505
--- Comment #2 from Christian Bruel ---
Created attachment 7866
--> https://sourceware.org/bugzilla/attachment.cgi?id=7866&action=edit
tentative patch
--
You are receiving this mail because:
You are on the CC list for the bug.
___
10 matches
Mail list logo