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: hjl.tools at gmail dot com
Subject: [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build
Date: Thu, 11 Feb 2016 00:15:39 +0000

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.

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