diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-01-08 15:37:38 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-01-08 15:40:31 +0000 |
commit | 90b5864fc7935362b797ea33307aaa7c37a52753 (patch) | |
tree | 96db590822632f397f8b18f2e6cbfdfbfa651e50 | |
parent | d6afce7e1e16524b2dd4382e67e7b4374ae62338 (diff) | |
download | syslinux-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.c | 2 |
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(); |