bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/14603] New: no reloc emitted for ld generated veneers for ARM


From: marcin.bukat at gmail dot com
Subject: [Bug ld/14603] New: no reloc emitted for ld generated veneers for ARM
Date: Fri, 21 Sep 2012 08:43:49 +0000


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: address@hidden

        ReportedBy: address@hidden

    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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]