[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:30:20 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19538
--- Comment #41 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.
In the test case, byte 0x30 of test1.bin should be 0x1f. In the output I
believe I sent it is 0x00 from ld 2.26.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, (continued)
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hpa at zytor dot com, 2016/02/09
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/02/09
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/02/09
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/02/10
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hpa at zytor dot com, 2016/02/10
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/02/10
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hpa at zytor dot com, 2016/02/10
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hpa at zytor dot com, 2016/02/10
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/02/10
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hpa at zytor dot com, 2016/02/10
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build,
hpa at zytor dot com <=
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/02/10
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/02/11
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/02/11
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hpa at zytor dot com, 2016/02/11
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, pomidorabelisima at gmail dot com, 2016/02/15