diff options
author | Dan Albert <danalbert@google.com> | 2018-01-25 12:24:45 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2018-01-25 12:48:57 -0800 |
commit | aeb5bc658feaa579b72560a7026374cbeb38ea56 (patch) | |
tree | 88afc0254ccfe71945786d5b238c714904c1e0df /libc/malloc_debug/malloc_debug.cpp | |
parent | 73871ad09be8a8259171d606c4e3e3cf08d4733c (diff) |
Fix __gnu_Unwind_Find_exidx for static executables.
__exidx_start and __exidx_end are not actual values to be read, just
symbols placed before and after .ARM.exidx.
The default linker script for ARM static executables includes these
lines:
__exidx_start = .;
.ARM.exidx : { *(.ARM.exidx*) }
__exidx_end = .;
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0474c/BABEHEDA.html
Test: used __gnu_Unwind_Find_exidx in a static executable and showed
non-bogus values
Test: verified that this fixes #593 in the NDK
Bug: https://github.com/android-ndk/ndk/issues/593
Change-Id: Ib35a4b6c82920666ae8a45aa0a2d43e458699b51
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions