summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-05-09 14:19:58 -0700
committerElliott Hughes <enh@google.com>2013-05-09 15:53:30 -0700
commit738370d9387396922c10910edb61272e585be107 (patch)
tree9a7b02a86a5e1270c1f74340914474e2d889bf4f /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parent262b7384e4e691d42070a57472ecc64cf668c480 (diff)
Don't fail to run DT_INIT and DT_INIT_ARRAY constructors if a shared library has DT_PREINIT_ARRAY constructors.
The GNU dynamic linker silently ignores a DT_PREINIT_ARRAY section in a shared library. We had ineffectual code that tried to report an error, which I tried to fix but got wrong --- my version still wouldn't report the error to the caller, but would prevent us from continuing to call constructors. Bug: 8825226 (cherry picked from commit 8147d3c284932896ab6095232b355979b9eb33d3) Change-Id: Iad8e7e3743d1a5e6bd1d44ef40b1ab3499cb64f2
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions