* elf.c (ET_DYN): Undefine and define again. (elf_add): Add exe argument, if true and ehdr.e_type is ET_DYN, return early -1 without closing the descriptor. (struct phdr_data): Add exe_descriptor. (phdr_callback): If pd->exe_descriptor is not -1, for very first call if dlpi_name is NULL just call elf_add with the exe_descriptor, otherwise backtrace_close the exe_descriptor if not -1. Adjust call to elf_add. (backtrace_initialize): Adjust call to elf_add. If it returns -1, set pd.exe_descriptor to descriptor, otherwise set it to -1. From-SVN: r205748
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ChangeLog | Loading commit data... | |
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
README | Loading commit data... | |
aclocal.m4 | Loading commit data... | |
alloc.c | Loading commit data... | |
atomic.c | Loading commit data... | |
backtrace-supported.h.in | Loading commit data... | |
backtrace.c | Loading commit data... | |
backtrace.h | Loading commit data... | |
btest.c | Loading commit data... | |
config.h.in | Loading commit data... | |
configure | Loading commit data... | |
configure.ac | Loading commit data... | |
dwarf.c | Loading commit data... | |
elf.c | Loading commit data... | |
fileline.c | Loading commit data... | |
filetype.awk | Loading commit data... | |
internal.h | Loading commit data... | |
mmap.c | Loading commit data... | |
mmapio.c | Loading commit data... | |
nounwind.c | Loading commit data... | |
posix.c | Loading commit data... | |
print.c | Loading commit data... | |
read.c | Loading commit data... | |
simple.c | Loading commit data... | |
state.c | Loading commit data... | |
unknown.c | Loading commit data... |