From 71538dff7992d23a6822d27f628d37e1d1926117 Mon Sep 17 00:00:00 2001 From: hollisb Date: Tue, 25 Apr 2006 23:47:48 +0000 Subject: [PATCH] 2006-04-25 Hollis Blanchard * kern/misc.c (abort): New alias for grub_abort. --- ChangeLog | 4 ++++ kern/misc.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0d62c22da..b0181fee0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-04-25 Hollis Blanchard + + * kern/misc.c (abort): New alias for grub_abort. + 2006-04-25 Yoshinori K. Okuji A new machine-specific function "grub_machine_set_prefix" is diff --git a/kern/misc.c b/kern/misc.c index 7617c031b..2ec65e0ea 100644 --- a/kern/misc.c +++ b/kern/misc.c @@ -970,3 +970,5 @@ grub_abort (void) grub_exit (); } +/* GCC emits references to abort(). */ +void abort (void) __attribute__ ((alias ("grub_abort")));