kumquat-buildroot/boot/syslinux
Arnout Vandecappelle 11089e2062 boot/syslinux: fix i386 bios build with recent binutils
When we use the cross-compiler to build syslinux with a recent binutils
version, it fails with:

/builds/arnout/buildroot/output/host/bin/i586-buildroot-linux-uclibc-ld  -Bsymbolic -pie -E --hash-style=gnu -T
/builds/arnout/buildroot/output/build/syslinux-6.03/core/i386/syslinux.ld -M -o ldlinux.elf ldlinux.o \
	--start-group libcom32.a --whole-archive /builds/arnout/buildroot/output/build/syslinux-6.03/bios/com32/lib/libcom32core.a libldlinux.a --end-group -N
--no-omagic \
	> ldlinux.map
/builds/arnout/buildroot/output/host/bin/i586-buildroot-linux-uclibc-ld: ldlinux.elf: Not enough room for program headers, try linking with -N
/builds/arnout/buildroot/output/host/bin/i586-buildroot-linux-uclibc-ld: final link failed: Bad value
/builds/arnout/buildroot/output/build/syslinux-6.03/core/Makefile:167: recipe for target 'ldlinux.elf' failed

Backport an upstream patch that reorganises the i386 bios build by
removing some symbols and making others hidden. To simplify the
backport, an additional patch that also touches the link script is
also included - it anyway looks like that patch could be relevant as
well.

Partially fixes: https://gitlab.com/arnout/buildroot/-/jobs/28979377

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-08-16 22:54:03 +02:00
..
0001-bios-Fix-alignment-change-with-gcc-5.patch
0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch
0003-memdisk-Force-ld-output-format-to-32-bits.patch boot/syslinux: renumber patches 2017-08-16 22:53:59 +02:00
0004-utils-Use-the-host-toolchain-to-build.patch boot/syslinux: renumber patches 2017-08-16 22:53:59 +02:00
0005-lzo-Use-the-host-toolchain-for-prepcore.patch boot/syslinux: renumber patches 2017-08-16 22:53:59 +02:00
0006-The-VPrint-definition-is-now-part-of-the-exports-of-.patch boot/syslinux: renumber patches 2017-08-16 22:53:59 +02:00
0007-Update-the-longjump-calls-to-fit-the-new-declaration.patch boot/syslinux: renumber patches 2017-08-16 22:53:59 +02:00
0008-efi-wrapper-build-it-with-the-host-toolchain.patch boot/syslinux: renumber patches 2017-08-16 22:53:59 +02:00
0009-bios-Don-t-try-to-guess-the-sections-alignment.patch boot/syslinux: fix i386 bios build with recent binutils 2017-08-16 22:54:03 +02:00
0010-core-Clean-up-the-i386-bios-build.patch boot/syslinux: fix i386 bios build with recent binutils 2017-08-16 22:54:03 +02:00
Config.in
syslinux.hash
syslinux.mk