Page MenuHomeFreeBSD

readelf: Make -t imply -S, for compatibility with GNU binutils.
ClosedPublic

Authored by markj on May 30 2019, 6:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 3, 9:43 PM
Unknown Object (File)
Sat, Feb 28, 7:21 PM
Unknown Object (File)
Sat, Feb 28, 12:52 AM
Unknown Object (File)
Jan 20 2026, 4:04 AM
Unknown Object (File)
Jan 20 2026, 12:54 AM
Unknown Object (File)
Jan 19 2026, 9:13 PM
Unknown Object (File)
Jan 19 2026, 11:16 AM
Unknown Object (File)
Jan 19 2026, 8:57 AM
Subscribers

Details

Test Plan

elftoolchain readelf and binutils readelf produce identical formating for readelf -St /lib/libc.so.7.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 30 2019, 6:39 PM

elftoolchain readelf and binutils readelf produce identical formating for readelf -St /lib/libc.so.7.

presumably you want to compare readelf -t too :)

presumably you want to compare readelf -t too :)

Oh, rather that readelf -t is identical to readelf -St? OK

presumably you want to compare readelf -t too :)

Oh, rather that readelf -t is identical to readelf -St? OK

Yeah. readelf -t produces the same output now, modulo the fact the elftoolchain uses slightly different section names: SUNW_versym instead of VERSYM, SUNW_verdef instead of VERDEF.

This revision was automatically updated to reflect the committed changes.