From 2b36079380cc2a9a99df2ad556c9e1e1cbf66f27e350d5114e0ec2eb98f68c04 Mon Sep 17 00:00:00 2001 From: Steffen Winterfeldt Date: Thu, 29 Nov 2018 12:59:25 +0000 Subject: [PATCH] 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 --- remove-note-gnu-section.patch | 13 +++++++++++++ syslinux.changes | 6 ++++++ syslinux.spec | 4 +++- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 remove-note-gnu-section.patch diff --git a/remove-note-gnu-section.patch b/remove-note-gnu-section.patch new file mode 100644 index 0000000..9b7dcd4 --- /dev/null +++ b/remove-note-gnu-section.patch @@ -0,0 +1,13 @@ +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 $@ + diff --git a/syslinux.changes b/syslinux.changes index 8852228..a05221f 100644 --- a/syslinux.changes +++ b/syslinux.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 28 09:03:05 UTC 2018 - Martin Liška + +- Add remove-note-gnu-section.patch: strip a newly added section + in order to fulfil ELF size limits expected. + ------------------------------------------------------------------- Mon Aug 6 07:35:52 UTC 2018 - schwab@suse.de diff --git a/syslinux.spec b/syslinux.spec index b48bcf7..86d8402 100644 --- a/syslinux.spec +++ b/syslinux.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -60,6 +60,7 @@ Patch18: %{name}-%{version}-align.diff Patch19: syslinux-4.04-reproducible.patch Patch20: %{name}-%{version}-python3.diff Patch21: sysmacros.patch +Patch22: remove-note-gnu-section.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -97,6 +98,7 @@ Authors: %patch19 -p1 %patch20 -p0 %patch21 -p1 +%patch22 -p1 %build cp %{SOURCE2} .