platform_bionic/libc/arch-arm64
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
..
bionic Switch to inline assembler in crtbegin. 2017-05-23 14:47:16 -07:00
cortex-a53/bionic libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings 2016-11-28 19:35:12 +00:00
denver64/bionic Remove deprecated Android.mk files 2016-05-26 16:41:57 -07:00
generic/bionic libc: ARM64: fix memset for non-standard ZVA sizes 2017-05-16 11:29:49 +01:00
include/machine Make all the ELF relocation constants available. 2017-04-19 13:28:32 -07:00
syscalls Add <sys/quota.h>. 2016-04-06 11:06:09 -07:00