bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/14640] New: gas generates broken relocations for symbols with w


From: bugdal at aerifal dot cx
Subject: [Bug gas/14640] New: gas generates broken relocations for symbols with weak defs on microblaze
Date: Fri, 28 Sep 2012 00:59:07 +0000


http://sourceware.org/bugzilla/show_bug.cgi?id=14640



             Bug #: 14640

           Summary: gas generates broken relocations for symbols with weak

                    defs on microblaze

           Product: binutils

           Version: unspecified

            Status: NEW

          Severity: normal

          Priority: P2

         Component: gas

        AssignedTo: address@hidden

        ReportedBy: address@hidden

    Classification: Unclassified





See this thread for a description of the issue and a patch, which is in

Xilinx's fork of binutils but does not seem to have made it upstream:



http://permalink.gmane.org/gmane.linux.uclinux.microblaze/11155



Basically, the issue is that gas thinks it can generate a 16-bit relative jump

when there's a local definition of the function, even if that definition is

weak and might be overridden by a strong definition that's outside of the

16-bit jump range. I'm in the process of porting musl libc to microblaze, and

this issue is a show-stopper since we make heavy use of weak definitions.



-- 

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]