Fake ELF sonames by default (again)
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 7 Jan 2013 12:23:13 +0000 (14:23 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 29 Jan 2013 06:12:40 +0000 (08:12 +0200)
commit4d9c41b1dc1ae4fea89b9bbf867943101d8d929e
treeb392a68da6ff63b330321aea1bf2e65a6d68e92e
parent424d1904601bff271973984f8df2f1762ac3b573
Fake ELF sonames by default (again)

- (Private) libraries which might intentionally not have DT_SONAME
  are still recorded as requires from DT_NEEDED, and there's no
  way of knowing what's an internal library when generating requires.
  Not faking the soname in these cases will only result in broken
  requires in cases that always used to "just work".
- Change the switch to --no-fake-soname disabler instead to allow
  tweaking in special cases but by default we gotta match linker
  (and ELF specification) behavior, no matter how much we'd like to
  use this for our own heuristics :-/
(cherry picked from commit b6f159a34c946b75cb95a7862968ff4e8eb74fe6)
tools/elfdeps.c