summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-06-12 19:13:08 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-06-12 19:13:08 +0000
commit64957ecc066d2358699baddafcaf761e61c8d590 (patch)
treeacf6f82c89a7f9a756c23a2903e5922a040e0737
parente21d3e83ee6541416929f4a67a39539e3fb6ad59 (diff)
downloadglibc-64957ecc066d2358699baddafcaf761e61c8d590.tar.gz
glibc-64957ecc066d2358699baddafcaf761e61c8d590.tar.xz
glibc-64957ecc066d2358699baddafcaf761e61c8d590.zip
Use HIDDEN_JUMPTARGET for _exit jump from __startcontext.
-rw-r--r--ChangeLog.arm5
-rw-r--r--sysdeps/unix/sysv/linux/arm/setcontext.S2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog.arm b/ChangeLog.arm
index 20664aa19c..c411e1c1fc 100644
--- a/ChangeLog.arm
+++ b/ChangeLog.arm
@@ -1,3 +1,8 @@
+2012-06-12  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Use
+	HIDDEN_JUMPTARGET for _exit jump.
+
 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/arm/syscalls.list: Remove
diff --git a/sysdeps/unix/sysv/linux/arm/setcontext.S b/sysdeps/unix/sysv/linux/arm/setcontext.S
index b472947731..d163fc4a4c 100644
--- a/sysdeps/unix/sysv/linux/arm/setcontext.S
+++ b/sysdeps/unix/sysv/linux/arm/setcontext.S
@@ -87,7 +87,7 @@ ENTRY(__startcontext)
         bne     PLTJMP(__setcontext)
 
         @ New context was 0 - exit
-        b       PLTJMP(_exit)
+        b       PLTJMP(HIDDEN_JUMPTARGET(_exit))
 END(__startcontext)
 
 #ifdef PIC