Browse Source

sparc: use HIDDEN_JUMPTARGET for errno

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 14 years ago
parent
commit
f51fb26dbc

+ 1 - 1
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

+ 1 - 1
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

+ 1 - 1
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