summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2018-05-23 14:20:29 -0700
committerRyan Prichard <rprichard@google.com>2018-05-23 14:40:40 -0700
commit68140289206541c176e6123f476814a950d99ea2 (patch)
tree095c6166a7562f6b6b7bbd86fda2fda43240dfc7 /libc/malloc_hooks/malloc_hooks.cpp
parent4c5c45346fcc6f066a89bfc455f287fe2f4e3e41 (diff)
Define DT_ANDROID_REL[A] correctly for a test
DT_ANDROID_REL is 0x6000000f, but this code defined it as 0x60000002. DT_ANDROID_RELA is 0x60000011, but this code defined it as 0x60000004. compat_elf_hash_and_relocation_tables tests that certain shared libraries are linked with ordinary relocations and not with packed relocations. A shared library will only have one kind of relocation table, so the test mostly still worked by requiring DT_REL[A]. Previously, this test would have allowed libdl.so to have packed relocations. Test: /data/nativetest/bionic-unit-tests/bionic-unit-tests \ --gtest_filter=dlext.compat_elf_hash_and_relocation_tables Test: manual Bug: none Change-Id: Ic8aa919a68fb6ed01a7994b69c0c7dd3798d6b67
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions