[syslinux] [PATCH 00/19][elflink] Improve compatibility with 4.x

Matt Fleming matt at console-pimps.org
Fri Mar 23 11:02:34 PDT 2012


From: Matt Fleming <matt.fleming at intel.com>

The following patch series is available at,

    git://git.zytor.com/users/mfleming/syslinux.git elflink

All patches are against the 'elflink' branch.

This series fixes a few serious bugs and some behavioural
incompatibilities with the 4.x series.

Matt Fleming (19):
  ldlinux: Initialise 'p' before using it.
  ldlinux: Parse kernel type for labels
  com32/menu: vesamenu.c32 and menu.c32 require multiple obj files
  core: Only adjust screen if we're in text mode
  core: Delete the aux segment
  core: Check for func key in getchar()
  ldlinux: Fix detection of function keys
  core: Shrink core/ldlinux.sys to be under 64K bytes
  elf: Support __constructor and __destructor
  ldlinux: Loading a config file should cause re-initialisation
  elflink: Don't use strcmp on a non-NUL terminated string
  com32: Delete execute.c and use the one from ldlinux
  ldlinux: chdir to the APPEND str when parsing a CONFIG directive
  ldlinux: Avoid initialised data memory corruption
  ldlinux: Make the default execute type KT_KERNEL
  ldlinux: Disable VGA graphics when loading a kernel
  ldlinux: Don't alloc initramfs unless initrd= is specified
  mk: Don't link against compiler's version of libgcc
  core: Abstract search_config() into search_dirs()

 com32/Makefile                     |    4 +-
 com32/elflink/ldlinux/Makefile     |    5 +-
 com32/elflink/ldlinux/cli.c        |   36 ++------------
 com32/elflink/ldlinux/execute.c    |   43 ++++++++--------
 com32/elflink/ldlinux/ipappend.c   |   58 ---------------------
 com32/elflink/ldlinux/kernel.c     |   13 +++--
 com32/elflink/ldlinux/ldlinux.c    |   72 ++++++++++++++++-----------
 com32/elflink/ldlinux/readconfig.c |    8 +++-
 com32/include/linux/list.h         |   13 +++++
 com32/include/sys/exec.h           |   23 ---------
 com32/include/sys/module.h         |   38 ++++++--------
 com32/lib/Makefile                 |   71 +++++++++++++++-----------
 com32/lib/elf32.ld                 |   10 +---
 com32/lib/sys/module/common.c      |   12 ++++-
 com32/lib/sys/module/elf_module.c  |   97 +++++++++++++++++++++++++++---------
 com32/lib/sys/module/exec.c        |   87 ++------------------------------
 com32/menu/Makefile                |    6 +-
 com32/menu/execute.c               |   69 -------------------------
 core/Makefile                      |    2 +-
 core/comboot.inc                   |    6 ++-
 core/conio.c                       |    6 ++-
 core/elflink/config.c              |   41 ---------------
 core/elflink/load_env32.c          |   62 +++++++++++++++++++++--
 core/font.c                        |   20 ++++---
 core/fs/fs.c                       |    2 +-
 core/fs/iso9660/iso9660.c          |    2 +-
 core/fs/lib/loadconfig.c           |    2 +-
 core/fs/lib/searchconfig.c         |   19 ++++---
 core/graphics.c                    |    6 +--
 core/include/core.h                |    2 +-
 core/include/fs.h                  |    6 ++-
 core/init.inc                      |    2 +-
 core/layout.inc                    |   15 ------
 core/syslinux.ld                   |   15 ------
 mk/elf.mk                          |    3 +-
 mk/lib.mk                          |    2 +-
 36 files changed, 350 insertions(+), 528 deletions(-)
 delete mode 100644 com32/elflink/ldlinux/ipappend.c
 delete mode 100644 com32/menu/execute.c
 delete mode 100644 core/elflink/config.c

-- 
1.7.4.4




More information about the Syslinux mailing list