platform_bionic/libc
Jiyong Park 268a60019d crtbegin_static is built with min_sdk_version: "current"
crtbegin_static is used by static exectuables which are guaranteed to be
with the latest library regardless of their target API level.

This change is in fact not a regression as crtbegin_static has been
built with __ANDROID_API__=10000 before
I645e6bb1234c27ae0a69b7b87a59206cfd350744 when __ANDROID_API__ tracked
sdk_version, not min_sdk_version. sdk_version was not set for crtbegin_*
objects and therefore the default "current" was (incorrectly) used.

With this change, we are recovering the original behavior for the static
variant, while the building of the dynamic variant becomes more correct
- it's now with __ANDROID_API__=16.

Without this change, several static executables fail to build as 1)
crtbegin_static for them is built with __ANDROID_API__=16 and 2)
libc_init_common.cpp uses pthread_atfork which is available only after
API level 23. We hit undefined symbol error when linking.

Bug: 134795810
Test: m

Change-Id: I1430e57302951df33530ea0ae91b0d7a0609bf3d
2021-01-15 10:40:51 +09:00
..
arch-arm (NFC) Symbolic names for Android ELF note types. 2021-01-05 15:25:39 -08:00
arch-arm64 Remove ANDROID_EXPERIMENTAL_MTE. 2021-01-11 10:55:51 -08:00
arch-common/bionic (NFC) Symbolic names for Android ELF note types. 2021-01-05 15:25:39 -08:00
arch-x86 x86/x86_64: cleanup signal trampolines 2020-09-25 15:58:42 -07:00
arch-x86_64 x86/x86_64: cleanup signal trampolines 2020-09-25 15:58:42 -07:00
async_safe Add "product_available" to product available modules 2020-11-11 15:29:47 +09:00
bionic Merge "Fewer copies of ALIGN()/ALIGNBYTES." 2021-01-11 21:50:40 +00:00
dns Fewer copies of ALIGN()/ALIGNBYTES. 2021-01-11 11:51:29 -08:00
include Guard __libc_current_sigrtmin/max with __builtin_available 2021-01-15 10:40:51 +09:00
kernel Update to v5.10 kernel headers. 2020-12-14 22:37:59 -08:00
malloc_debug alloc_debug: get load_bias error 2020-09-28 07:15:32 +00:00
malloc_hooks Work around issues with aligned_alloc() and -O2. 2020-09-24 17:17:57 -07:00
platform Remove ANDROID_EXPERIMENTAL_MTE. 2021-01-11 10:55:51 -08:00
private Fewer copies of ALIGN()/ALIGNBYTES. 2021-01-11 11:51:29 -08:00
seccomp Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
stdio Fewer copies of ALIGN()/ALIGNBYTES. 2021-01-11 11:51:29 -08:00
system_properties Add benchmark for property mapping 2020-09-02 16:12:21 +00:00
tools Changes to bionic/libc to demonstrate mixed builds. 2020-12-17 11:05:01 -05:00
tzcode Incorporate upstream's strptime %Z/%z support. 2020-09-01 19:11:28 -07:00
upstream-freebsd Fully disable clang format where needed. 2020-01-30 08:10:17 -08:00
upstream-netbsd Reimplement our no-op utmp.h functions more simply. 2020-08-07 17:07:31 -07:00
upstream-openbsd Fewer copies of ALIGN()/ALIGNBYTES. 2021-01-11 11:51:29 -08:00
versioner-dependencies Stop generating unused headers. 2020-02-03 17:56:06 -08:00
Android.bp crtbegin_static is built with min_sdk_version: "current" 2021-01-15 10:40:51 +09:00
BUILD.bazel Changes to bionic/libc to demonstrate mixed builds. 2020-12-17 11:05:01 -05:00
fs_config_generator.py
libc.map.txt Expose per-process memory init. 2020-10-09 00:33:30 +00:00
libstdc++.map.txt Remove dead code. 2020-02-13 22:25:02 -08:00
MODULE_LICENSE_BSD
NOTICE Use ELF notes to set the desired memory tagging level. 2021-01-06 16:08:18 -08:00
SECCOMP_ALLOWLIST_APP.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SECCOMP_ALLOWLIST_COMMON.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SECCOMP_ALLOWLIST_SYSTEM.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SECCOMP_BLOCKLIST_APP.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SECCOMP_BLOCKLIST_COMMON.TXT Revert "Disallow vmsplice(2) for all zygote-spawned processes." 2020-06-23 17:53:35 +00:00
SECCOMP_PRIORITY.TXT Use more inclusive language for seccomp filter 2020-06-15 10:12:17 -07:00
SYSCALLS.TXT Reland: Soft-enable MAC address restrictions with allowlist. 2020-12-15 16:52:58 +01:00
version_script.txt