elfdump doesn't support .a files?

Ed Maste emaste at freebsd.org
Thu Jan 19 17:26:52 UTC 2017


On 17 January 2017 at 18:06, Ngie Cooper (yaneurabeya)
<yaneurabeya at gmail.com> wrote:
> Hi Ed,
>         I tried running elfdump on a .a archive and it seems that elfdump doesn’t support this (whereas objdump does). Is this expected?

Indeed it does not. We're still using FreeBSD's original elfdump. The
ELF Tool Chain project (which provides the objcopy, size, strings etc.
that we use) also imported FreeBSD's elfdump and made some
enhancements, including the ability to handle .a files.

Unfortunately there are a few changes which exist in FreeBSD's elfdump
but not ELF Tool Chain's version. We need to port those from FreeBSD
to ELF Tool Chain before we can migrate to ELF Tool Chain's elfdump.


More information about the freebsd-toolchain mailing list