Centralize elf soname provide addition, comment
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 3 Jan 2013 15:01:42 +0000 (17:01 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 29 Jan 2013 06:12:32 +0000 (08:12 +0200)
commit424d1904601bff271973984f8df2f1762ac3b573
tree2d2136314c1c5bbb8394995bd2899919961f8a19
parent6da6e511bae408e51d2a67dde5fce077ebfb2aaa
Centralize elf soname provide addition, comment

- Remember DT_SONAME in the elfInfo struct if encountered and
  only add it after everything else has been processed. This doesn't
  change any actual functionality for now, but gives us a single
  place where to control the addition.
- Additionally document what the related DT_DEBUG test is for and
  clean up the processDynamic() loop and switch-case a bit.
(cherry picked from commit 8e3ce7417a20dd8bca4676c0a598fc4932d22eef)
tools/elfdeps.c