[syslinux:elflink] ldlinux: Initialise ipappend strings

syslinux-bot for Matt Fleming matt.fleming at linux.intel.com
Tue Jul 12 20:03:14 PDT 2011

Commit-ID:  5703444a87c4746c4375f09ee61f518d2c039784
Gitweb:     http://syslinux.zytor.com/commit/5703444a87c4746c4375f09ee61f518d2c039784
Author:     Matt Fleming <matt.fleming at linux.intel.com>
AuthorDate: Wed, 25 May 2011 20:26:23 +0100
Committer:  Matt Fleming <matt.fleming at linux.intel.com>
CommitDate: Wed, 25 May 2011 20:26:23 +0100

ldlinux: Initialise ipappend strings

Previouly __syslinux_get_ipappend_strings() was called as a
__constructor. However, as constructors are executed before we load
any ELF modules we need to explicitly call this function to initialise
the ipappend string.

Signed-off-by: Matt Fleming <matt.fleming at linux.intel.com>

 com32/elflink/ldlinux/ldlinux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/com32/elflink/ldlinux/ldlinux.c b/com32/elflink/ldlinux/ldlinux.c
index 8b5fd30..84cb41f 100644
--- a/com32/elflink/ldlinux/ldlinux.c
+++ b/com32/elflink/ldlinux/ldlinux.c
@@ -110,6 +110,7 @@ int main(int argc, char **argv)
 	openconsole(&dev_rawcon_r, &dev_ansiserial_w);
+	__syslinux_get_ipappend_strings();

More information about the Syslinux-commits mailing list