platform_bionic/libc
Elliott Hughes 94072fbb4e Switch to inline assembler in crtbegin.
Using __builtin_frame_address was clever, but didn't work for arm64 (for
reasons which were never investigated) and the ChromeOS folks claim it
causes trouble for x86 with ARC++ (though without a reproduceable test case).

Naked functions turn out to be quite unevenly supported: some architectures
do the right thing, others don't; some architectures warn, others don't (and
the warnings don't always match the platforms that _actually_ have problems).

Inline assembler also removes the guessing games: everyone knows what the
couple of instructions _ought_ to be, and now we don't have to reason about
what the compiler will actually do (yet still keep the majority of the code
in C).

Bug: N/A
Test: builds, boots
Change-Id: I14207ef50ca46b6eca273c3cb7509c311146a3ca
2017-05-23 14:47:16 -07:00
..
arch-arm Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
arch-arm64 Switch to inline assembler in crtbegin. 2017-05-23 14:47:16 -07:00
arch-common/bionic Switch to inline assembler in crtbegin. 2017-05-23 14:47:16 -07:00
arch-mips Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
arch-mips64
arch-x86 Zero-initialize user_desc for __set_thread_area. 2017-05-09 14:39:24 -07:00
arch-x86_64 Make all the ELF relocation constants available. 2017-04-19 13:28:32 -07:00
async_safe Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
bionic Va_end should be used with va_start 2017-05-20 13:20:41 -07:00
dns Merge "Add a netcontext variant of gethostbyaddr" 2017-05-22 10:06:31 +00:00
include Merge "Make union semun usable." 2017-05-19 18:24:09 +00:00
kernel Make union semun usable. 2017-05-18 15:05:26 -07:00
malloc_debug Fix missing function export. 2017-05-19 13:47:16 -07:00
private Add support for modifying decay timer. 2017-05-15 16:59:16 -07:00
seccomp [MIPS64] Enable necessary mips64 syscalls in seccomp whitelist 2017-05-05 15:37:11 +02:00
stdio Move libc_log code into libasync_safe. 2017-05-03 08:50:43 -07:00
stdlib Clean up __isthreaded. 2017-05-11 15:29:03 -07:00
tools Add seccomp blacklist, and exclude swap functions 2017-04-12 19:34:33 +00:00
tzcode Fix incorrect check. 2017-04-14 12:58:56 -07:00
upstream-freebsd libc: add clang FORTIFY support 2017-02-09 15:49:32 -08:00
upstream-netbsd Move to .md files for even trivial documentation. 2017-01-07 12:47:28 -08:00
upstream-openbsd Clean up __isthreaded. 2017-05-11 15:29:03 -07:00
versioner-dependencies Revert "Revert "Run the versioner as part of the build."" 2017-03-27 13:06:45 -07:00
zoneinfo Addition of a new system file for time zone data 2017-03-31 15:35:14 +01:00
Android.bp Switch to inline assembler in crtbegin. 2017-05-23 14:47:16 -07:00
Android.mk
fs_config_generator.py Revert "Revert "move android_ids into bionic"" 2016-12-13 23:47:25 +00:00
libc.arm.map Merge "Add a netcontext variant of gethostbyaddr" 2017-05-22 10:06:31 +00:00
libc.arm64.map Merge "Add a netcontext variant of gethostbyaddr" 2017-05-22 10:06:31 +00:00
libc.map.txt Add a netcontext variant of gethostbyaddr 2017-05-18 14:32:21 -04:00
libc.mips.map Merge "Add a netcontext variant of gethostbyaddr" 2017-05-22 10:06:31 +00:00
libc.mips64.map Merge "Add a netcontext variant of gethostbyaddr" 2017-05-22 10:06:31 +00:00
libc.x86.map Merge "Add a netcontext variant of gethostbyaddr" 2017-05-22 10:06:31 +00:00
libc.x86_64.map Merge "Add a netcontext variant of gethostbyaddr" 2017-05-22 10:06:31 +00:00
libstdc++.arm.map Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
libstdc++.arm64.map Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
libstdc++.map.txt Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
libstdc++.mips.map Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
libstdc++.mips64.map Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
libstdc++.x86.map Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
libstdc++.x86_64.map Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
MODULE_LICENSE_BSD
NOTICE libc: clean up ARM64 copyright notices 2017-05-04 12:59:53 -04:00
SECCOMP_BLACKLIST.TXT Add seccomp blacklist, and exclude swap functions 2017-04-12 19:34:33 +00:00
SECCOMP_WHITELIST.TXT Add syscalls that aren't currently used to the seccomp whitelist. 2017-04-19 13:45:47 -07:00
SYSCALLS.TXT [MIPS64] Enable necessary mips64 syscalls in seccomp whitelist 2017-05-05 15:37:11 +02:00
version_script.txt