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)
Thu, Nov 20, 4:01 PM
Unknown Object (File)
Thu, Nov 20, 4:01 PM
Unknown Object (File)
Thu, Nov 20, 4:01 PM
Unknown Object (File)
Thu, Nov 20, 3:51 PM
Unknown Object (File)
Nov 6 2025, 11:05 PM
Unknown Object (File)
Oct 30 2025, 8:05 AM
Unknown Object (File)
Oct 30 2025, 5:49 AM
Unknown Object (File)
Oct 27 2025, 1:26 AM
Subscribers

Details

Test Plan

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

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 24607
Build 23390: arc lint + arc unit

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.