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: Thu, 11 Feb 2016 00:28:45 +0000

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

--- Comment #40 from hpa at zytor dot com <hpa at zytor dot com> ---
On February 10, 2016 4:15:39 PM PST, "hjl.tools at gmail dot com"
<address@hidden> wrote:
>https://sourceware.org/bugzilla/show_bug.cgi?id=19538
>
>--- Comment #39 from H.J. Lu <hjl.tools at gmail dot com> ---
>(In reply to address@hidden from comment #38)
>>
>> I suspect my changes to the linker script to make the LMA symbols
>absolute
>> might have fixed the header problem, but the small test case should
>still
>> show it.
>
>We may have more than one issues here:
>
>1. Without -pie, no dynamic symbols.   I tried the small testcase with
>binutils 2.25.2:
>
>address@hidden without-pie]$
>/export/build/gnu/binutils-misc/build-x86_64-linux/ld/ld-new -m
>elf_i386 -Ttext
>0 -Bdynamic -Bsymbolic -E -o test1.elf test1.o
>address@hidden without-pie]$
>/export/build/gnu/binutils-misc/build-x86_64-linux/ld/ld-new -v
>GNU ld (GNU Binutils) 2.25.2
>address@hidden without-pie]$  nm -Dn test1.elf 
>nm: test1.elf: no symbols
>
>There is no dynamic symbol either.
>
>address@hidden without-pie]$ 
>
>2. With -pie, still doesn't work. Please tell me what is wrong in
>the binary generated by 2.26.

Yes, 1 really should be a separate enhancement PR.

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