http://sourceware.org/bugzilla/show_bug.cgi?id=14603
Bug #: 14603
Summary: no reloc emitted for ld generated veneers for ARM
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 6642
--> http://sourceware.org/bugzilla/attachment.cgi?id=6642
testcase
The simple test case provided shows that 0x80000000 constant used as jump
address in veneer generated by ld has no reloc associated. I believe this is a
bug (or inconsistency at least). I noticed this working on bFLT loader for the
target with memory split - fast internal ram and regular dram. With current ld
behavior runtime relocation is broken by this.
The workaround is to use -mlong-calls when compiling C sources but this imposes
performance penalty as well as does not solve the problem of asm files.
Tested with 2.20.1 as well as with current snapshot.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils