forked from pool/syslinux
2b36079380
- 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
14 lines
345 B
Diff
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 $@
|
|
|