From: Matt Fleming Date: Wed, 25 May 2011 19:26:23 +0000 (+0100) Subject: ldlinux: Initialise ipappend strings X-Git-Tag: syslinux-5.00-pre1~42^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5703444a87c4746c4375f09ee61f518d2c039784;p=platform%2Fupstream%2Fsyslinux.git 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 --- 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(); parse_configs(NULL); __syslinux_init();