Niels Thykier <[email protected]> writes:

> objdump -T --headers --private-headers looks the same as well in both
> cases (but it still exits 1 in experimental).  Removing the -T will make
> it succeed and I found the following entry in the upstream changelog:

> 2010-10-05  Alan Modra  <[email protected]>

> [...]
>         * objdump.c (free_only_list): Formatting.
>         (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
>         object".
> [...]
>       (main): Return non-zero exit status on bad options.
> [...]

> I guess objdump has become a bit more strict with its exit codes :)

Ideally we'd finish the work required to just switch to readelf.  I think
last time we looked at that we concluded we could get all of the same
information.  objdump is theoretically superior in that it can also handle
non-ELF binaries, but it seems unlikely to me that Debian is ever going to
have a non-ELF architecture.  And IIRC readelf doesn't care about
differing word sizes, architectures, and so forth the way that objdump
tends to.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to