summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2017-10-31 13:25:03 -0700
committerGreg Hackmann <ghackmann@google.com>2017-10-31 13:52:45 -0700
commit8874d880839761bf722b5a025940823172894c0a (patch)
tree9343d9598a76c3493da3cba318630426d6cc4754 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parent6c1d23f059986e4ee6f52c44a4944089aae9181d (diff)
elf.h: add STN_UNDEF
ELF uses index STN_UNDEF = 0 for undefined symbols. glibc and musl define this constant in elf.h, and it's needed to build the kernel's vDSO selftest suite. Test: Overwrite elf.h in standalone NDK toolchain, then cd $kernel/tools/testing/selftests/vDSO && \ make CC="aarch64-linux-android-gcc -pie" vdso_test Change-Id: I495586e9ca43d2f0d148ded9f4bd61ec8d14d53b Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions