This reverts commit
f51fb26dbcceee9e48d10facc830bd4a549f6cc2.
This fixes linking error for sparc build.
While building a sparc system you get following linking error:
libc/sysdeps/linux/sparc/pipe.S:54: undefined reference to `__GI___errno_location'
Removing the HIDDEN_JUMPTARGET fixes the issue, while using gcc 4.8.3/binutils 2.24.
The definition of __errno_location was changed recently here:
http://git.uclibc.org/uClibc/commit/?id=
8f550715c2b211036fc273add3cb5219397ed312
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
bcc,a 9000f
nop
save %sp,-96,%sp
- call HIDDEN_JUMPTARGET(__errno_location)
+ call __errno_location
nop
st %i0,[%o0]
jmpl %i7+8,%g0
restore %g0,%g0,%o0
.Lerror:
- call HIDDEN_JUMPTARGET(__errno_location)
+ call __errno_location
or %g0,EINVAL,%i0
st %i0,[%o0]
ret
bcc,a 9000f
nop
save %sp,-96,%sp
- call HIDDEN_JUMPTARGET(__errno_location)
+ call __errno_location
nop
st %i0,[%o0]
jmpl %i7+8,%g0