Details
- Reviewers
emaste - Group Reviewers
portmgr - Commits
- rP473605: Convert to readelf.
Diff Detail
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 17480 Build 17309: arc lint + arc unit
Event Timeline
Reported in the PR -- nm might be more useful for this script.
I can also add --print-file-name to readelf though to make it always emit the File: line.
Mmmm,
$ readelf --print-file-name -r /usr/bin/mktemp readelf: unrecognized option `--print-file-name'
This looks fine to me. It's probably worth adding a comment explaining the use of ${NONEXISTENT} though.
Ah, that is why, and this was on 10.4, so a bit far from HEAD :-)
Yes, I have it in my local repository.
Another option: upon discussion with @dim we will likely end up installing llvm's llvm-objdump as objdump. It's broadly compatible, but the output format etc. might be slightly different.
Migrating to readelf is probably still the best option here though.
As the task is simple, the tool we actually end up using does not really matter.
What matters is that it is available on all supported releases :-)