The __constructor tag only makes sense in the core as the constructor
functions are executed from load_env32(), before any modules have been
loaded. Therefore, applying __constructor to code inside ldlinux is
pointless as unless the functions are called explicitly, they will
never be executed.
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
size_t __syslinux_adv_size;
extern void adv_init(void);
-void __constructor __syslinux_init(void)
+void __syslinux_init(void)
{
static com32sys_t reg;
struct syslinux_ipappend_strings __syslinux_ipappend_strings;
static const char *syslinux_ipappend_string_list[32];
-void __constructor __syslinux_get_ipappend_strings(void)
+void __syslinux_get_ipappend_strings(void)
{
static com32sys_t reg;
int i;