Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: "Yann E. MORIN" <[email protected]> Signed-off-by: Peter Korsgaard <[email protected]> (cherry picked from commit 0ca17cd) Signed-off-by: Peter Korsgaard <[email protected]>
- Loading branch information