Page MenuHomeFreeBSD

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

Authored by markj on May 30 2019, 6:35 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

markj created this revision.May 30 2019, 6:35 PM
emaste accepted this revision.May 30 2019, 6:39 PM
This revision is now accepted and ready to land.May 30 2019, 6:39 PM
markj edited the test plan for this revision. (Show Details)May 30 2019, 6:40 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

markj added a comment.May 30 2019, 6:43 PM

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.