aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-10-14 18:05:28 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-10-14 18:05:28 -0700
commit76a5364b512fdb199576c5d2163801c457aa204c (patch)
tree4bf705e5468258f8e85ddd47e08c704ca48797a5 /com32/lib
parentd564e93154eb291bcd477868f40fec1701a76e8b (diff)
downloadsyslinux-elf-76a5364b512fdb199576c5d2163801c457aa204c.tar.gz
syslinux-elf-76a5364b512fdb199576c5d2163801c457aa204c.tar.xz
syslinux-elf-76a5364b512fdb199576c5d2163801c457aa204c.zip
com32: make _Exit just an ordinary symbol
Make _Exit just an ordinary symbol which aliases _exit. This avoids some versions of gcc complaining about the inline, which is rather unnecessary anyway. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/lib')
-rw-r--r--com32/lib/sys/exit.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/com32/lib/sys/exit.S b/com32/lib/sys/exit.S
index c2949fc6..2ab80122 100644
--- a/com32/lib/sys/exit.S
+++ b/com32/lib/sys/exit.S
@@ -2,6 +2,13 @@
* Implementation of _exit() for com32 based on c32entry.S
*/
.text
+
+ .globl _Exit
+ .type _Exit, @function
+_Exit:
+ /* Just fall through to _exit */
+ .size _Exit, .-_Exit
+
.globl _exit
.type _exit, @function
_exit: