SHA256
1
0
forked from pool/syslinux
syslinux/remove-note-gnu-section.patch
Steffen Winterfeldt 2b36079380 Accepting request 652279 from home:marxin:branches:system:install:head
- Add remove-note-gnu-section.patch: strip a newly added section
  in order to fulfil ELF size limits expected.

OBS-URL: https://build.opensuse.org/request/show/652279
OBS-URL: https://build.opensuse.org/package/show/system:install:head/syslinux?expand=0&rev=97
2018-11-29 12:59:25 +00:00

14 lines
345 B
Diff

diff --git a/mbr/Makefile b/mbr/Makefile
index be2bded7..59e06915 100644
--- a/mbr/Makefile
+++ b/mbr/Makefile
@@ -36,7 +36,7 @@
$(LD) $(LDFLAGS) -T mbr.ld -e _start -o $@ $<
%.bin: %.elf checksize.pl
- $(OBJCOPY) -O binary $< $@
+ $(OBJCOPY) -O binary --remove-section .note.gnu.property $< $@
$(PERL) checksize.pl $@
$(CHMOD) -x $@