[syslinux:elflink] core/kaboom.c: Export __bad_SEG()
syslinux-bot for Matt Fleming
matt.fleming at intel.com
Tue Jan 8 07:57:02 PST 2013
Commit-ID: 90b5864fc7935362b797ea33307aaa7c37a52753
Gitweb: http://www.syslinux.org/commit/90b5864fc7935362b797ea33307aaa7c37a52753
Author: Matt Fleming <matt.fleming at intel.com>
AuthorDate: Tue, 8 Jan 2013 15:37:38 +0000
Committer: Matt Fleming <matt.fleming at intel.com>
CommitDate: Tue, 8 Jan 2013 15:40:31 +0000
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 at zytor.com>
Signed-off-by: Matt Fleming <matt.fleming at intel.com>
---
core/kaboom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/kaboom.c b/core/kaboom.c
index 03dd917..310365d 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();
More information about the Syslinux-commits
mailing list