[Bug 216878] BSD readelf -d output is slightly incompatible with GNU readelf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 7 21:51:13 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216878

--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
Added ELF Tool Chain ticket:
https://sourceforge.net/p/elftoolchain/tickets/544/

Note that elfutils eu-readelf does not include parentheses:
% eu-readelf -d /bin/ls

Dynamic segment contains 28 entries:
 Addr: 0x0000000000607028  Offset: 0x007028  Link to section: [ 6] '.dynstr'
  Type              Value
  NEEDED            Shared library: [libutil.so.9]
  NEEDED            Shared library: [libncurses.so.8]
  NEEDED            Shared library: [libc.so.7]
  INIT              0x00000000004018c8
  FINI              0x0000000000405dd8
...
so there's some argument that scripts parsing readelf output should be tolerant
of different formats, looking for just NEEDED

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list