aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-01-08 15:37:38 +0000
committerMatt Fleming <matt.fleming@intel.com>2013-01-08 15:40:31 +0000
commit90b5864fc7935362b797ea33307aaa7c37a52753 (patch)
tree96db590822632f397f8b18f2e6cbfdfbfa651e50
parentd6afce7e1e16524b2dd4382e67e7b4374ae62338 (diff)
downloadsyslinux-90b5864fc7935362b797ea33307aaa7c37a52753.tar.gz
syslinux-90b5864fc7935362b797ea33307aaa7c37a52753.tar.xz
syslinux-90b5864fc7935362b797ea33307aaa7c37a52753.zip
core/kaboom.c: Export __bad_SEG()
We need to add __bad_SEG() to the symbol export whitelist, otherwise ldlinux.c32 will fail to load if compiled with -DDEBUG=1 due to not being able to resolve __bad_SEG(). Cc: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r--core/kaboom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/kaboom.c b/core/kaboom.c
index 03dd917b..310365d3 100644
--- a/core/kaboom.c
+++ b/core/kaboom.c
@@ -8,7 +8,7 @@
#include <dprintf.h>
-__noreturn __bad_SEG(const volatile void *p)
+__export __noreturn __bad_SEG(const volatile void *p)
{
dprintf("SEG() passed an invalid pointer: %p\n", p);
kaboom();