bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build


From: hpa at zytor dot com
Subject: [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build
Date: Tue, 09 Feb 2016 19:07:37 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19538

hpa at zytor dot com <hpa at zytor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #15 from hpa at zytor dot com <hpa at zytor dot com> ---
So ldlinux.elf on BIOS is an odd duck.  It contains bits that are relocated and
bits that are not relocated, but the two components cross-call, and both have
symbols that need to be exported.

2.25 generates output that has the unrelocated values (that is, what would be
exported from the linker script without -pie) in the output sections, and
R_386_RELATIVE relocations in .rel.dyn.

At the same time, I also observe that with 2.25, there seem to be
R_386_RELATIVE annotations for locations which reference ABS symbols, which
seems very odd; fortunately that particular code is all executed before
relocation is performed.

I'm going to muck with the linker script to see if I can improve the situation.

-- 
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]