diff options
author | Ryan Prichard <rprichard@google.com> | 2019-10-16 18:37:21 -0700 |
---|---|---|
committer | Ryan Prichard <rprichard@google.com> | 2019-10-18 12:44:01 -0700 |
commit | 495863f921bc9a2ca4ec0d2b219c8afaa969cb8b (patch) | |
tree | fd0bf2864a460410569940c10d33cbafbbf29635 /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 308af5761ea5cde40c0b83c82b33d84b8a947048 (diff) |
linker: stop relocating R_ARM_REL32
This relocation is labeled as a static relocation in the ARM ELF ABI and
shouldn't appear in position-independent code.
It currently calculates the value to relocate incorrectly:
"sym_addr - rel->r_offset" should be "sym_addr - reloc"
I don't know of any other dynamic linker that handles this relocation.
Test: bionic unit tests
Bug: http://b/19197129
Change-Id: Ia0c0018c82fe98d5edb54ee6f5c9f402b1fa3076
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions