bionic/libc
Elliott Hughes 011e111d29 Ensure __set_errno is still visible on LP32.
The use of the .hidden directive to avoid going via the PLT for
__set_errno had the side-effect of actually making __set_errno
hidden (which is odd because assembler directives don't usually
affect symbols defined in a different file --- you can't even
create a weak reference to a symbol that's defined in a different
file).

This change switches the system call stubs over to a new always-hidden
__set_errno_internal and has a visible __set_errno on LP32 just for
binary compatibility with old NDK apps.

(cherry-pick of 7efad83d430f4d824f2aaa75edea5106f6ff8aae.)

Bug: 17423135
Change-Id: I6b6d7a05dda85f923d22e5ffd169a91e23499b7b
2014-09-08 16:46:50 -07:00
..
arch-arm Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
arch-arm64 Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
arch-common/bionic Revert "Register __libc_fini as early as possible." 2014-09-04 21:54:34 +00:00
arch-mips Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
arch-mips64 Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
arch-x86 Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
arch-x86_64 Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
bionic Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
dns Merge "Switch to OpenBSD res_random." 2014-08-26 23:18:04 +00:00
include Don't expose non-standard basename_r and dirname_r in LP64. 2014-09-08 16:44:48 -07:00
kernel Clean up some of our python scripts. 2014-08-20 11:16:11 -07:00
private Revert "Load libraries in breadth-first order" 2014-09-05 16:27:54 -07:00
stdio Add <stdio_ext.h> for elfutils. 2014-08-20 10:23:52 -07:00
tools Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
tzcode Fix the tzdata update tools. 2014-08-06 17:31:48 -07:00
upstream-dlmalloc Put all allocation functions into dispatch table. 2014-06-12 15:08:18 -07:00
upstream-freebsd Fix _BSD_SOURCE/__USE_BSD. 2014-08-19 09:18:03 -07:00
upstream-netbsd Ignore all __weak_alias in OpenBSD libC. 2014-08-28 15:10:01 -07:00
upstream-openbsd Ignore all __weak_alias in OpenBSD libC. 2014-08-28 15:10:01 -07:00
zoneinfo Upgrade bionic to tzdata2014g. 2014-09-02 09:51:04 -07:00
Android.mk Enable clang compilation with libc but not linker. 2014-09-05 11:18:35 -07:00
crt.mk Reconfig libc's Android.mk to build for multilib 2014-02-12 13:58:34 -08:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Implement twalk(3), add unit tests. 2014-07-24 14:55:29 -07:00
SYSCALLS.TXT Remove _flush_cache(2) for mips64. 2014-08-21 13:32:37 -07:00