OSDN Git Service

Revert "sparc: use HIDDEN_JUMPTARGET for errno"
authorWaldemar Brodkorb <wbx@openadk.org>
Thu, 28 Aug 2014 10:31:19 +0000 (12:31 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 28 Aug 2014 10:38:34 +0000 (12:38 +0200)
commitc09e41ef92e48356e62c795384864ee792ac7fe6
tree9ed2876d228a7eaff92059bb9fe05331b6e631df
parentc6e8f34a358f846aa15cb9f53251da3d6668abd1
Revert "sparc: use HIDDEN_JUMPTARGET for errno"

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>
libc/sysdeps/linux/sparc/fork.S
libc/sysdeps/linux/sparc/pipe.S
libc/sysdeps/linux/sparc/vfork.S