aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/adv.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/elflink/ldlinux/adv.c')
-rw-r--r--com32/elflink/ldlinux/adv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/adv.c b/com32/elflink/ldlinux/adv.c
index cf02d129..ae473908 100644
--- a/com32/elflink/ldlinux/adv.c
+++ b/com32/elflink/ldlinux/adv.c
@@ -33,8 +33,12 @@
#include <syslinux/adv.h>
#include <syslinux/firmware.h>
+#include <klibc/compiler.h>
-void __syslinux_init(void)
+void *__syslinux_adv_ptr;
+size_t __syslinux_adv_size;
+
+void __constructor __syslinux_init(void)
{
firmware->adv_ops->init();
}