Add TLS and PowerPC to Machine and Program Headers description tables to match binuti...
authorAG <github@mzpqnxow.com>
Sun, 26 Nov 2017 13:50:49 +0000 (08:50 -0500)
committerEli Bendersky <eliben@users.noreply.github.com>
Sun, 26 Nov 2017 13:50:49 +0000 (05:50 -0800)
commit88144c45b0ba2dca0596bf11347a9cb394f14e70
tree2cda8f7a52c7ac946a26dcba81540f57fa805f99
parent906f28610b7b2193d12ee68ec22b37b61ab618de
Add TLS and PowerPC to Machine and Program Headers description tables to match binutils output (#163)

Before:
...
  Machine:                           <unknown>
...
Program Headers:
...
  <unknown>      0x0bcd0c 0x100ccd0c 0x100ccd0c 0x00000 0x00008 R   0x4
...

After:
...
  Machine:                           PowerPC
Program Headers:
...
  TLS            0x0bcd0c 0x100ccd0c 0x100ccd0c 0x00000 0x00008 R   0x4
...

Reproduced and then tested change against statically linked PPC binary produced by MUSL:

https://github.com/mzpqnxow/embedded-toolkit/blob/master/prebuilt_static_bins/gdbserver/gdbserver-7.12-ppc-sysv
elftools/elf/descriptions.py