Ed Maste - 2016-02-29

Also Solaris-style output isn't quite as expected -- e.g. from SmartOS (Illumos):

# elfdump -n /bin/ld

Note Section:  .note

  entry [0]
    namesz: 0x2e
    descsz: 0
    type:   0
    name:
        Solaris Link Editors: 5.11-1.1753 (illumos)\0\0\0

or for a core file

# elfdump -n /var/cores/<mumble>.core

Note Section:  .note(phdr)

  entry [0]
      namesz: 0x5
      descsz: 0x104
      type:   [ NT_PRPSINFO ]
      name:
          CORE\0
    desc: (prpsinfo_t)
        pr_state:   6                   pr_sname:   O
....

entry [1]
  namesz: 0x5
  descsz: 0x8
  type:   [ NT_PLATFORM ]
  name:
      CORE\0
    desc:
        i86pc
....
entry [4]
  namesz: 0x5
  descsz: 0x17c
  type:   [ NT_PRFPREG ]
  name:
      CORE\0
  desc:
      [0]      3f 13 00 00    00 40 00 00    ff ff 00 00    00 00 00 00
      [16]     43 00 00 00    00 00 00 00    4b 00 00 00    00 00 00 00
....