[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: |
Sat, 30 Jan 2016 20:53:18 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19538
--- Comment #5 from hpa at zytor dot com <hpa at zytor dot com> ---
On January 30, 2016 9:08:32 AM PST, "hjl.tools at gmail dot com"
<address@hidden> wrote:
>https://sourceware.org/bugzilla/show_bug.cgi?id=19538
>
>--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
>(In reply to H.J. Lu from comment #2)
>> pfx_compressed, which is __pm_code_lma, is wrong:
>>
>> section .prefix nowrite progbits align=16
>> pfx_start dd _start ; Start of raw chunk
>> pfx_compressed dd __pm_code_lma ; Start of compressed chunk
>> pfx_cdatalen dd lzo_data_size ; Pointer to compressed size
>field
>> %if IS_ISOLINUX
>> pfx_checksum dd bi_length ; File length and checksum
>fields
>> %else
>> pfx_checksum dd 0 ; No checksum
>> %endif
>> pfx_maxlma dd MaxLMA ; Maximum size
>>
>> 00009770 B __pm_code_lma
>
>bios/core/ldlinux.elf is built with -pie. The value of __pm_code_lma
>won't be known until run-time:
>
>Relocation section '.rel.dyn' at offset 0x1ba34 contains 1435 entries:
> Offset Info Type Sym.Value Sym. Name
>...
>00000004 00010d01 R_386_32 00009770 __pm_code_lma
>00008f62 00010d01 R_386_32 00009770 __pm_code_lma
>
>Peter, am I missing something?
ldlinux.elf shouldn't be build pie, so that would explain why.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/19538] New: binutils (objcopy?) >= 2.26 breaks syslinux (bios) build, pomidorabelisima at gmail dot com, 2016/01/30
- [Bug binutils/19538] binutils (objcopy?) >= 2.26 breaks syslinux (bios) build, pomidorabelisima at gmail dot com, 2016/01/30
- [Bug binutils/19538] binutils (objcopy?) >= 2.26 breaks syslinux (bios) build, pomidorabelisima at gmail dot com, 2016/01/30
- [Bug binutils/19538] binutils (objcopy?) >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/01/30
- [Bug ld/19538] binutils (objcopy?) >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/01/30
- [Bug ld/19538] binutils (objcopy?) >= 2.26 breaks syslinux (bios) build, pomidorabelisima at gmail dot com, 2016/01/30
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/01/30
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/01/30
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/01/30
- [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, hpa at zytor dot com, 2016/01/30
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/01/30
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/01/30
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/01/30
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/01/30
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hpa at zytor dot com, 2016/01/30
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hjl.tools at gmail dot com, 2016/01/30
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, hpa at zytor dot com, 2016/01/30
- [Bug ld/19538] ld >= 2.26 breaks syslinux (bios) build, pomidorabelisima at gmail dot com, 2016/01/31