diff --git a/sysdeps/unix/sysv/linux/_exit.c b/sysdeps/unix/sysv/linux/_exit.c index 3bd6b6db4c..e07eb312d2 100644 --- a/sysdeps/unix/sysv/linux/_exit.c +++ b/sysdeps/unix/sysv/linux/_exit.c @@ -36,3 +36,5 @@ _exit (status) ABORT_INSTRUCTION; } } +libc_hidden_def (_exit) +weak_alias (_exit, _Exit) diff --git a/sysdeps/unix/sysv/linux/i386/_exit.S b/sysdeps/unix/sysv/linux/i386/_exit.S index 56561e94bb..5b4f8b1619 100644 --- a/sysdeps/unix/sysv/linux/i386/_exit.S +++ b/sysdeps/unix/sysv/linux/i386/_exit.S @@ -38,6 +38,5 @@ _exit: hlt .size _exit,.-_exit - .globl _Exit - .weak _Exit -_Exit = _exit +libc_hidden_def (_exit) +weak_alias (_exit, _Exit)