From 90b5864fc7935362b797ea33307aaa7c37a52753 Mon Sep 17 00:00:00 2001 From: Matt Fleming Date: Tue, 8 Jan 2013 15:37:38 +0000 Subject: [PATCH] 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 Signed-off-by: Matt Fleming --- core/kaboom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -__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(); -- 2.11.4.GIT