From daab1372185ead237c61cf92ecc76514acd58fd9 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Tue, 4 Sep 2018 11:47:31 -0500 Subject: libre-testing/syslinux-6.03-11.parabola1: rebuild --- .../syslinux/0016-strip-gnu-property.patch | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 libre-testing/syslinux/0016-strip-gnu-property.patch (limited to 'libre-testing/syslinux/0016-strip-gnu-property.patch') diff --git a/libre-testing/syslinux/0016-strip-gnu-property.patch b/libre-testing/syslinux/0016-strip-gnu-property.patch new file mode 100644 index 000000000..678c7331a --- /dev/null +++ b/libre-testing/syslinux/0016-strip-gnu-property.patch @@ -0,0 +1,41 @@ +Author: Lukas Schwaighofer +Description: Strip the .note.gnu.property section for the mbr. This section is + added since binutils Debian version 2.31.1-2 and causes mbr.bin to grow in + size beyond what can fit into the master boot record. +Forwarded: https://www.syslinux.org/archives/2018-August/026168.html + +--- + mbr/i386/mbr.ld | 6 +++++- + mbr/x86_64/mbr.ld | 6 +++++- + 2 files changed, 10 insertions(+), 2 deletions(-) + +diff --git a/mbr/i386/mbr.ld b/mbr/i386/mbr.ld +index d14ba80..6d48990 100644 +--- a/mbr/i386/mbr.ld ++++ b/mbr/i386/mbr.ld +@@ -69,5 +69,9 @@ SECTIONS + .debug_funcnames 0 : { *(.debug_funcnames) } + .debug_typenames 0 : { *(.debug_typenames) } + .debug_varnames 0 : { *(.debug_varnames) } +- /DISCARD/ : { *(.note.GNU-stack) } ++ /DISCARD/ : ++ { ++ *(.note.GNU-stack) ++ *(.note.gnu.property) ++ } + } +diff --git a/mbr/x86_64/mbr.ld b/mbr/x86_64/mbr.ld +index ae27d49..5b46db6 100644 +--- a/mbr/x86_64/mbr.ld ++++ b/mbr/x86_64/mbr.ld +@@ -68,5 +68,9 @@ SECTIONS + .debug_funcnames 0 : { *(.debug_funcnames) } + .debug_typenames 0 : { *(.debug_typenames) } + .debug_varnames 0 : { *(.debug_varnames) } +- /DISCARD/ : { *(.note.GNU-stack) } ++ /DISCARD/ : ++ { ++ *(.note.GNU-stack) ++ *(.note.gnu.property) ++ } + } -- cgit v1.2.3