public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* Fix ARM check-localplt failure (__startcontext)
@ 2012-06-12 19:15 Joseph S. Myers
  0 siblings, 0 replies; only message in thread
From: Joseph S. Myers @ 2012-06-12 19:15 UTC (permalink / raw)
  To: libc-ports

I've applied this patch to fix a localplt test failure for ARM arising 
from a call to _exit in the *context code.

diff --git a/ChangeLog.arm b/ChangeLog.arm
index 20664aa..c411e1c 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 b472947..d163fc4 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

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-12 19:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-12 19:15 Fix ARM check-localplt failure (__startcontext) Joseph S. Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).