diff options
author | Ryan Prichard <rprichard@google.com> | 2020-01-15 14:44:31 -0800 |
---|---|---|
committer | Ryan Prichard <rprichard@google.com> | 2020-01-15 15:19:17 -0800 |
commit | 4f140695d9018fb2227d188ac729ceca6ee604f2 (patch) | |
tree | 398fa9bd8ec5ba50fc5112e272a15347e79bd2a1 /tests/malloc_test.cpp | |
parent | 7909f4c667aaa1a869077a793ebd9a5bb7537d2b (diff) |
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
Diffstat (limited to 'tests/malloc_test.cpp')
0 files changed, 0 insertions, 0 deletions