File 0013-Remove-.note.gnu-section.patch of Package syslinux
From 2541c7eb99a195f9b270c718be1e7c8d586f129a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Li=C5=A1ka?= <mliska@suse.cz>
Date: Wed, 28 Nov 2018 09:03:05 +0000
Subject: [PATCH 13/22] Remove .note.gnu section
Strip a newly added section in order to fulfil ELF size limits expected
---
mbr/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mbr/Makefile b/mbr/Makefile
index be2bded7..59e06915 100644
--- a/mbr/Makefile
+++ b/mbr/Makefile
@@ -38,7 +38,7 @@ all: mbr.bin altmbr.bin gptmbr.bin isohdpfx.bin isohdppx.bin \
$(LD) $(LDFLAGS) -T $(SRC)/$(ARCH)/mbr.ld -e _start -o $@ $<
%.bin: %.elf $(SRC)/checksize.pl
- $(OBJCOPY) -O binary $< $@
+ $(OBJCOPY) -O binary --remove-section .note.gnu.property $< $@
$(PERL) $(SRC)/checksize.pl $@
$(CHMOD) -x $@
--
2.42.0