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: unassig...@sourceware.org

        ReportedBy: bug...@aerifal.cx

    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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to