about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-07-09 15:25:47 -0700
committerRoland McGrath <roland@hack.frob.com>2015-07-09 15:25:47 -0700
commitaf85d409a29ae435949a7fcc7065d88af0233d24 (patch)
tree62867d768e89de69bdd2db74e2117d52f14ac630 /sysdeps/unix/sysv/linux
parent2eb9ef29b698bb7706833236b4b9041f0c23ceef (diff)
downloadglibc-af85d409a29ae435949a7fcc7065d88af0233d24.tar.gz
glibc-af85d409a29ae435949a7fcc7065d88af0233d24.tar.xz
glibc-af85d409a29ae435949a7fcc7065d88af0233d24.zip
PLT avoidance for _exit in rtld.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/_exit.c1
-rw-r--r--sysdeps/unix/sysv/linux/i386/_exit.S1
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/_exit.c b/sysdeps/unix/sysv/linux/_exit.c
index 7228181f55..2294c80c32 100644
--- a/sysdeps/unix/sysv/linux/_exit.c
+++ b/sysdeps/unix/sysv/linux/_exit.c
@@ -39,4 +39,5 @@ _exit (status)
     }
 }
 libc_hidden_def (_exit)
+rtld_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 8841110c16..f470be8e49 100644
--- a/sysdeps/unix/sysv/linux/i386/_exit.S
+++ b/sysdeps/unix/sysv/linux/i386/_exit.S
@@ -40,4 +40,5 @@ _exit:
 	.size	_exit,.-_exit
 
 libc_hidden_def (_exit)
+rtld_hidden_def (_exit)
 weak_alias (_exit, _Exit)