about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-16 04:52:39 +0000
committerRoland McGrath <roland@gnu.org>2002-09-16 04:52:39 +0000
commit28c336c3d510d3bf471ce25fff4aecbeafa25d7b (patch)
tree66f4a5acb471adf447d93706698cbf5bbceb3c25 /sysdeps
parent0a5a6ea3aa7676af46dee0dbe67cd9c43490a717 (diff)
downloadglibc-28c336c3d510d3bf471ce25fff4aecbeafa25d7b.tar.gz
glibc-28c336c3d510d3bf471ce25fff4aecbeafa25d7b.tar.xz
glibc-28c336c3d510d3bf471ce25fff4aecbeafa25d7b.zip
2002-09-16 Andreas Jaeger <aj@suse.de>
	* sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_alias
	to _Exit.
	* sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/_exit.c2
-rw-r--r--sysdeps/unix/sysv/linux/i386/_exit.S5
2 files changed, 4 insertions, 3 deletions
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)