[git commit nptl] sparc: use HIDDEN_JUMPTARGET for errno

Mike Frysinger vapier at gentoo.org
Mon Nov 9 21:17:04 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=225b04b076a40a12da6de2d301695123db230f77
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 libc/sysdeps/linux/sparc/fork.S  |    2 +-
 libc/sysdeps/linux/sparc/pipe.S  |    2 +-
 libc/sysdeps/linux/sparc/vfork.S |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libc/sysdeps/linux/sparc/fork.S b/libc/sysdeps/linux/sparc/fork.S
index 00157cf..7ead409 100644
--- a/libc/sysdeps/linux/sparc/fork.S
+++ b/libc/sysdeps/linux/sparc/fork.S
@@ -33,7 +33,7 @@ __libc_fork:
 	bcc,a	9000f
 	nop
 	save    %sp,-96,%sp
-	call __errno_location
+	call HIDDEN_JUMPTARGET(__errno_location)
 	nop
 	st	%i0,[%o0]
 	jmpl	%i7+8,%g0
diff --git a/libc/sysdeps/linux/sparc/pipe.S b/libc/sysdeps/linux/sparc/pipe.S
index 0226e3f..76a5b96 100644
--- a/libc/sysdeps/linux/sparc/pipe.S
+++ b/libc/sysdeps/linux/sparc/pipe.S
@@ -52,7 +52,7 @@ pipe:
 	 restore %o0,%g0,%o0
 
 .Lerror:
-	call	__errno_location
+	call	HIDDEN_JUMPTARGET(__errno_location)
 	 or	%g0,EINVAL,%i0
 	st	%i0,[%o0]
 	ret
diff --git a/libc/sysdeps/linux/sparc/vfork.S b/libc/sysdeps/linux/sparc/vfork.S
index 35ca037..ed3e1a0 100644
--- a/libc/sysdeps/linux/sparc/vfork.S
+++ b/libc/sysdeps/linux/sparc/vfork.S
@@ -38,7 +38,7 @@ __vfork:
 	bcc,a	9000f
 	nop
 	save    %sp,-96,%sp
-	call __errno_location
+	call HIDDEN_JUMPTARGET(__errno_location)
 	nop
 	st	%i0,[%o0]
 	jmpl	%i7+8,%g0
-- 
1.6.3.3



More information about the uClibc-cvs mailing list