diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-22 00:39:44 -0400 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-11-09 15:42:49 -0800 |
commit | 225b04b076a40a12da6de2d301695123db230f77 (patch) | |
tree | c1abfbe93d96e4eb5db71830f7675efa6f6793ef /libc/sysdeps/linux/sparc | |
parent | 4ea99259d3a07356dfb696fd88efd4d087479dec (diff) | |
download | uClibc-alpine-225b04b076a40a12da6de2d301695123db230f77.tar.bz2 uClibc-alpine-225b04b076a40a12da6de2d301695123db230f77.tar.xz |
sparc: use HIDDEN_JUMPTARGET for errno
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/sparc')
-rw-r--r-- | libc/sysdeps/linux/sparc/fork.S | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/sparc/pipe.S | 2 | ||||
-rw-r--r-- | 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 00157cffd..7ead409f0 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 0226e3f5c..76a5b9617 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 35ca037d8..ed3e1a079 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 |