OSDN Git Service

don't make __errno_location / __h_errno_location hidden
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 5 Jul 2010 12:12:22 +0000 (14:12 +0200)
committerAustin Foxley <austinf@cetoncorp.com>
Mon, 5 Jul 2010 21:26:02 +0000 (14:26 -0700)
commit0d6ee549bc86fd330672a79d9a87d2c3825eea67
tree8d81f634249bc8efadf378deaf9510bc84a7966b
parentdfb389dea84f667bc890c5a188f38dc41b9ed9c6
don't make __errno_location / __h_errno_location hidden

Closes #2089 (https://bugs.busybox.net/show_bug.cgi?id=2089)

__errno_location / __h_errno_location access has to go through the PLT
like malloc/free, so the linuxthread variants gets used instead when
compiling with -pthread.

Based on http://github.com/mat-c/uClibc/commit/328d392c54aa5dc2b8e7f398a419087de497de2b

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
include/netdb.h
libc/misc/internals/__errno_location.c
libc/misc/internals/__h_errno_location.c
libc/sysdeps/linux/common/bits/errno.h
libc/sysdeps/linux/common/bits/uClibc_errno.h