kumquat-buildroot/boot/syslinux
Christian Stewart 08209c67f4 boot/syslinux: fix build with binutils note gnu property section
Fixes #11756

This fixes the following build error with newer binutils:

  objcopy -O binary mbr.elf mbr.bin
  perl /build/syslinux/src/syslinux/mbr/checksize.pl mbr.bin
  mbr.bin: too big (452 > 440)

Corresponding bug reports:

 - https://bugs.archlinux.org/task/60405
 - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906414

Strip the .note.gnu.property in the linker scripts for the MBRs.

Signed-off-by: Christian Stewart <christian@paral.in>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 0ca17cdc92)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-04-14 22:28:25 +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
0004-utils-Use-the-host-toolchain-to-build.patch
0005-lzo-Use-the-host-toolchain-for-prepcore.patch
0006-The-VPrint-definition-is-now-part-of-the-exports-of-.patch
0007-Update-the-longjump-calls-to-fit-the-new-declaration.patch
0008-efi-wrapper-build-it-with-the-host-toolchain.patch
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
0011-extlinux-Use-the-host-toolchain-to-build.patch syslinux: use the host compiler to build extlinux 2018-04-01 17:49:05 +02:00
0012-pull-in-sys-sysmacros-h-for-major-minor-makedev.patch boot/syslinux: fix build with glibc 2.28+ 2018-11-19 22:37:15 +01:00
0013-Fix-build-with-gnu-efi-version-3.0.9.patch boot/syslinux: fix build with EFI support 2019-02-26 13:07:46 +01:00
0014-Fix-build-with-binutils-note-gnu-property-section.patch boot/syslinux: fix build with binutils note gnu property section 2019-04-14 22:28:25 +02:00
Config.in package/gnu-efi: introduce BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS option 2019-01-12 17:34:22 +01:00
syslinux.hash
syslinux.mk boot/*/*.mk: fix code style 2018-04-01 07:54:59 +02:00