platform_system_core/libcutils
Ryan Prichard 82a0841468 DO NOT MERGE - x86: Switch get_pc_thunk to comdat
Switch the __x86.get_pc_thunk.bx functions from .gnu.linkonce to comdat
section groups. lld doesn't implement .gnu.linkonce and will instead
discard the input sections. It might produce a faulty binary that has
no get_pc_thunk function in it, which would crash.

Normally, these functions are generated by GCC and are present in many
object files compiled with PIC. Clang doesn't use them, and instead
initializes the PIC base register with a "call 1f; 1: pop %ebx" pair.

I also added cfi_startproc / cfi_endproc to be consistent with current
GCC output.

I marked this CL with do-not-merge because the code it touches has been
removed in the next release, so it won't merge. I reviewed the
automerger graph, and this do-not-merge CL:
 - will be applied to qt-qpr1-dev-plus-aosp (which needs the CL)
 - won't be applied to rvc-dev-plus-aosp (which doesn't need the CL)

https://android-build.googleplex.com/builds/automerger/graph/project/googleplex-android/platform/system/core

Bug: http://b/154376560
Bug: https://bugs.llvm.org/show_bug.cgi?id=45594
Test: VM boots
Change-Id: I681c4c46503aff65f32a22c9da15397a42b67183
2020-04-18 14:07:19 -07:00
..
arch-arm
arch-arm64
arch-x86 DO NOT MERGE - x86: Switch get_pc_thunk to comdat 2020-04-18 14:07:19 -07:00
arch-x86_64
include Remove EXCLUDE_FS_CONFIG_STRUCTURES 2020-03-04 15:34:09 -08:00
include_vndk/cutils Remove warning from VNDK's <cutils/log.h> 2019-12-04 08:33:49 -08:00
Android.bp Rename vts-core to vts 2020-04-07 02:48:48 +00:00
android_get_control_env.h Clean up some mess by only building Android-specific code for the device. 2019-03-21 14:59:45 -07:00
android_get_control_file.cpp libcutils: android_get_control_file uses realpath. 2019-03-21 16:00:00 -07:00
android_get_control_file_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
android_get_control_socket_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
android_reboot.cpp libcutils: android_reboot command should be unsigned. 2019-04-02 09:19:46 -07:00
ashmem-dev.cpp libcutils: fallback to /dev/ashmem 2020-01-14 18:19:10 +00:00
ashmem-host.cpp libcutils: route to /dev/ashmem<boot_id> instead of ashmemd 2019-09-25 12:50:16 -07:00
ashmem_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
canned_fs_config.cpp Remove more bogus <stdbool.h> #includes from C++. 2018-05-08 13:00:06 -07:00
config_utils.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
fs.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
fs_config.cpp run ext4 tools in first_stage_ramdisk 2020-03-11 09:33:51 -07:00
fs_config.h Actually make fs_path_config / fs_path_config_from_file private 2019-06-20 23:34:30 +00:00
fs_config_test.cpp libcutils: update fs_config tests for current behavior 2019-11-06 09:40:33 -08:00
hashmap.cpp cutils: move hashmap to <pthread.h>. 2018-07-13 10:54:49 -07:00
iosched_policy.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
KernelLibcutilsTest.xml [vts-core] fix the test error of KernelLibcutilsTest. 2020-02-07 10:07:09 +08:00
klog.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
load_file.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
memset_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
MODULE_LICENSE_APACHE2
multiuser.cpp Better, consistent definition of AID_SHARED_GID. 2017-11-13 16:49:26 -07:00
multiuser_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
native_handle.cpp Ignore nullptr in native_handle_close(). 2019-11-12 20:23:55 -08:00
native_handle_test.cpp Ignore nullptr in native_handle_close(). 2019-11-12 20:23:55 -08:00
NOTICE
OWNERS libcutils: add OWNERS. 2018-06-12 13:58:30 -07:00
partition_utils.cpp Start using new C++ Fstab class widely 2018-12-12 17:08:09 +00:00
properties.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
properties_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
qtaguid.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
record_stream.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
sched_policy_test.cpp sched_policy: add get_cpuset/sched_policy_profile_name 2019-10-14 20:03:06 -07:00
socket_inaddr_any_server_unix.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
socket_inaddr_any_server_windows.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
socket_local_client_unix.cpp Stop defining local "unused" macros now this is C++. 2017-11-30 16:24:36 -08:00
socket_local_server_unix.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
socket_local_unix.h
socket_network_client_unix.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
socket_network_client_windows.cpp Move libcutils source to C++. 2017-11-10 13:18:10 -08:00
sockets.cpp
sockets_test.cpp libcutils: remove unused socket_set_receive_timeout(). 2019-11-08 15:21:39 -08:00
sockets_unix.cpp libcutils: remove unused socket_set_receive_timeout(). 2019-11-08 15:21:39 -08:00
sockets_windows.cpp libcutils: remove unused socket_set_receive_timeout(). 2019-11-08 15:21:39 -08:00
str_parms.cpp libcutils: remove some unused API. 2018-07-11 14:27:32 -07:00
str_parms_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
strlcpy.c
threads.cpp Fix / suppress new unused warnings for mingw+clang 2017-11-29 21:37:28 -08:00
trace-container.cpp trace-container: Check /sys/kernel/tracing for tracefs 2020-02-07 11:08:21 -08:00
trace-dev.cpp Always use shared memory for atrace. 2020-02-26 15:55:22 +00:00
trace-dev.inc Always use shared memory for atrace. 2020-02-26 15:55:22 +00:00
trace-dev_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
trace-host.cpp Always use shared memory for atrace. 2020-02-26 15:55:22 +00:00
uevent.cpp Use PLOG and TEMP_FAILURE_RETRY for uevent socket errors 2019-11-13 07:21:42 -08:00