ltrace: Fix incompatibilities with Android linker
authorMichał Bednarski <bednarski.michal2@gmail.com>
Sat, 14 May 2016 15:22:21 +0000 (17:22 +0200)
committerMichał Bednarski <bednarski.michal2@gmail.com>
Sat, 14 May 2016 15:22:21 +0000 (17:22 +0200)
commit1fac669cf3cf9733cc5d4c03a9568c150761fc1e
tree4b9cfbe7ece22e930b7cc217a27b7a10b684f1e7
parent4a9eb8522e1c718af5e77352801855a6020cd604
ltrace: Fix incompatibilities with Android linker

- Find libraries in LD_LIBRARY_PATH if relative path is found in debug
  link_map
- Skip main executable
- Skip /system/bin/linker and [vdso]
- Only set proc->e_machine once, as it might be set wrongly if we later
  try to load library that we couldn't find
disabled-packages/ltrace/ltrace-elf.c.patch
disabled-packages/ltrace/sysdeps-linux-gnu-proc.c.patch [new file with mode: 0644]