Package: syslinux / 3:6.04~git20190206.bf6db5b4+dfsg1-3

Metadata

Package Version Patches format
syslinux 3:6.04~git20190206.bf6db5b4+dfsg1-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0000 unreleased changelog.patch | (download)

NEWS | 55 55 + 0 - 0 !
1 file changed, 55 insertions(+)

 include changes since 6.03 in the changelog

0002 gfxboot menu label.patch | (download)

com32/gfxboot/gfxboot.c | 16 10 + 6 - 0 !
1 file changed, 10 insertions(+), 6 deletions(-)

 allow boot entry to start with label instead of menu_label.

menu_ptr->menu_label is human-readable (perhaps even translatable!) text if
the MENU LABEL command is used, which isn't very convenient at the start of
a boot entry.  Allow the entry to start with menu_ptr->label (an
identifier) as an alternative.

0004 gnu efi from debian.patch | (download)

mk/efi.mk | 13 10 + 3 - 0 !
1 file changed, 10 insertions(+), 3 deletions(-)

 link against gnu-efi from debian

Adjust EFIINC, LIBDIR and LIBEFI variables in mk/efi.mk to point to the
files installed by Debian's gnu-efi package.
- The LIBDIR path depends on the build hosts' architecture, so the
  DEB_HOST_ARCH variable needs to be exported to determine the correct
  paths.

0005 gnu efi version compatibility.patch | (download)

efi/Makefile | 11 10 + 1 - 0 !
1 file changed, 10 insertions(+), 1 deletion(-)

 strip memtest and memcpy from libefi

Repack libefi.a to not contain the memset and memcpy symbols to make sure the
implementation from syslinux is used and no multiple symbol definitions are
present.

0016 strip gnu property.patch | (download)

mbr/i386/mbr.ld | 6 5 + 1 - 0 !
mbr/x86_64/mbr.ld | 6 5 + 1 - 0 !
2 files changed, 10 insertions(+), 2 deletions(-)

 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.

0017 single load segment.patch | (download)

efi/i386/syslinux.ld | 37 21 + 16 - 0 !
efi/x86_64/syslinux.ld | 37 21 + 16 - 0 !
2 files changed, 42 insertions(+), 32 deletions(-)

 force the linker to put all sections into a single pt_load segment

This is required when using binutils >= 2.31 which writes two PT_LOAD segments
by default. This is not supported by the wrapper.c script used to convert the
shared object into an elf binary.

0018 prevent pow optimization.patch | (download)

com32/gpllib/zzjson/zzjson_parse.c | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 prevent optimizing the pow() function

With the current GCC 8.2.0 from Debian, a section of code calling pow() in
zzjson_parse.c is turned into a sequence calling exp(). Since no exp()
implementation is available in syslinux those optimizations need to be
disabled.

0019 gcc 10 compatibility.patch | (download)

dos/string.h | 11 10 + 1 - 0 !
mk/efi.mk | 1 1 + 0 - 0 !
mk/elf.mk | 1 1 + 0 - 0 !
mk/embedded.mk | 2 1 + 1 - 0 !
mk/lib.mk | 2 1 + 1 - 0 !
5 files changed, 14 insertions(+), 3 deletions(-)

 gcc-10 compatibility patch

* Add `-fcommon` to most gcc invocations to allow duplicate definitions
* __builtin_strlen is not really a "builtin" an implementation still
  needs to be provided (source:
  https://bugzilla.suse.com/show_bug.cgi?id=1166605#c5). Work around the
  issue by supplying an inline function. The strlen function added to
  dos/string.h was copied from com32/lib/strlen.c.