platform_bionic/linker
Ryan Prichard 4f140695d9 Restore handling of R_GENERIC_NONE relocations
Previously, the linker was ignoring the symbol of the R_GENERIC_NONE
relocation, so continue ignoring it. This is a little unfortunate because
it requires adding an extra condition on the fast path for relocation
handling.

I tried benchmarking this change, and I can't tell whether it has no
effect or is a regression of up to 1%. It might be possible to refactor
this code (e.g. do the lookup anyway, but avoid reporting an error), or by
changing the linker behavior, but this simple change gets the linker
working again.

Bug: http://b/147719203
Test: verify that the broken app works again
Change-Id: I7589b65705fec522d5fbadc05136dd5489833aea
2020-01-15 15:19:17 -08:00
..
arch Make tls related header files platform accessible. 2019-09-27 12:14:24 -07:00
Android.bp Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
dlfcn.cpp Cleanup linker unwinder integration 2019-10-16 04:20:23 +00:00
ld.config.format.md Fix some typos in the linker configuration file format documentation. 2019-08-07 18:45:45 +01:00
ld_android.cpp Expose libc_shared_globals to libc.so with symbol 2018-11-28 14:26:14 -08:00
ldd ldd: slightly improve error message. 2019-06-27 13:50:31 -07:00
linked_list.h Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linked_list_test.cpp Switch linker tests to Android.bp. 2019-02-15 14:40:08 -08:00
linker.arm.map Expose libc_shared_globals to libc.so with symbol 2018-11-28 14:26:14 -08:00
linker.cpp Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker.generic.map Expose libc_shared_globals to libc.so with symbol 2018-11-28 14:26:14 -08:00
linker.h Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker_block_allocator.cpp Cosmetic changes to linker allocator and config 2019-03-12 01:11:24 +00:00
linker_block_allocator.h Purge linker block allocators before leaving linker 2019-01-30 22:13:13 -08:00
linker_block_allocator_test.cpp Switch linker tests to Android.bp. 2019-02-15 14:40:08 -08:00
linker_cfi.cpp Validate defined versions in prelink_image 2020-01-06 16:06:37 -08:00
linker_cfi.h Switch the rest of our internal headers to #pragma once. 2018-02-13 14:27:17 -08:00
linker_common_types.h Clean up bionic_macros.h a bit. 2018-10-25 11:00:00 -07:00
linker_config.cpp Replace LIB_PATH macro with kLibPath 2019-12-04 13:31:56 -08:00
linker_config.h Replace LIB_PATH macro with kLibPath 2019-12-04 13:31:56 -08:00
linker_config_test.cpp linker: Add support for "whitelisted" property in linker config files 2019-03-20 10:20:49 -07:00
linker_debug.cpp Create linker_log[_va_list] functions 2020-01-06 16:06:37 -08:00
linker_debug.h Create linker_log[_va_list] functions 2020-01-06 16:06:37 -08:00
linker_debuggerd.h Refactor linker/Android.bp for native-bridge 2019-11-05 13:37:29 -08:00
linker_debuggerd_android.cpp Refactor linker/Android.bp for native-bridge 2019-11-05 13:37:29 -08:00
linker_debuggerd_stub.cpp Refactor linker/Android.bp for native-bridge 2019-11-05 13:37:29 -08:00
linker_dlwarning.cpp Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_dlwarning.h Switch the rest of our internal headers to #pragma once. 2018-02-13 14:27:17 -08:00
linker_gdb_support.cpp Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_gdb_support.h Switch the rest of our internal headers to #pragma once. 2018-02-13 14:27:17 -08:00
linker_globals.cpp Be clearer about linker warnings. 2018-02-28 12:37:28 -08:00
linker_globals.h Add more linker debug log. 2019-09-05 12:00:25 +00:00
linker_gnu_hash.h Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker_libc_support.c Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_libcxx_support.cpp Adapt to the new libc++/libc++abi update. 2018-01-08 14:44:42 -08:00
linker_logger.cpp linker: only generate log messages when logging is enabled 2019-01-17 14:24:14 -08:00
linker_logger.h Add more linker debug. 2019-03-19 14:03:18 +00:00
linker_main.cpp Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker_main.h Allow invoking the linker on an executable. 2018-10-10 14:31:06 -07:00
linker_mapped_file_fragment.cpp Unify linker files under one license (BSD) 2017-02-15 15:35:33 -08:00
linker_mapped_file_fragment.h Clean up bionic_macros.h a bit. 2018-10-25 11:00:00 -07:00
linker_memory.cpp Move the linker allocator into libc 2019-01-25 15:31:35 -08:00
linker_mips.cpp MIPS: Fix MIPS linker VDSO issues 2017-10-13 12:08:30 +02:00
linker_namespaces.cpp linker: Add support for "whitelisted" property in linker config files 2019-03-20 10:20:49 -07:00
linker_namespaces.h Don't create anonymous namespace 2019-08-08 16:02:15 +09:00
linker_phdr.cpp Stop using the __ANDROID_API_x__ constants. 2019-12-20 13:26:14 -08:00
linker_phdr.h Fix DLEXT_WRITE_RELRO when loading multiple libs. 2019-04-02 18:06:12 -04:00
linker_reloc_iterators.h Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker_relocate.cpp Restore handling of R_GENERIC_NONE relocations 2020-01-15 15:19:17 -08:00
linker_relocate.h Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker_relocs.h Factor out R_GENERIC_COPY 2019-10-18 12:44:01 -07:00
linker_sdk_versions.cpp Reland "fdsan: make fatal by default." 2019-08-20 17:59:14 -07:00
linker_sleb128.h Switch the rest of our internal headers to #pragma once. 2018-02-13 14:27:17 -08:00
linker_sleb128_test.cpp Switch linker tests to Android.bp. 2019-02-15 14:40:08 -08:00
linker_soinfo.cpp Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker_soinfo.h Optimize GNU hash linking for large inputs 2020-01-13 13:29:25 -08:00
linker_test_globals.cpp Switch linker tests to Android.bp. 2019-02-15 14:40:08 -08:00
linker_tls.cpp libasync_safe: stop clobbering other folks' identifiers. 2019-02-14 14:23:13 -08:00
linker_tls.h Implement arm64 TLSDESC 2019-01-29 08:33:09 +00:00
linker_utils.cpp Don't resolve already resolved paths when parsing ld.config.txt 2019-05-17 10:09:13 +09:00
linker_utils.h Don't resolve already resolved paths when parsing ld.config.txt 2019-05-17 10:09:13 +09:00
linker_utils_test.cpp Switch linker tests to Android.bp. 2019-02-15 14:40:08 -08:00
linker_wrapper.cpp Rework the linker_wrapper to work with lld 2018-10-22 22:52:25 +00:00
MODULE_LICENSE_APACHE2 Move libdl and linker to static NOTICE files. 2019-04-19 14:18:07 -07:00
NOTICE Make the linker NOTICE file match the linker source. 2019-12-20 12:29:39 -08:00
rt.cpp More dynamic linker cleanup. 2012-10-30 16:35:38 -07:00