]> sourceware.org Git - libabigail.git/commit
Add --no-architecture option to abidw
authorDodji Seketeli <dodji@redhat.com>
Tue, 17 Mar 2015 09:01:14 +0000 (10:01 +0100)
committerDodji Seketeli <dodji@redhat.com>
Tue, 17 Mar 2015 09:02:26 +0000 (10:02 +0100)
commit705a6ae1864e0966a6426845c0b1d5030a0fc4d9
tree3c33262f1e6ef859572233794104412f045888d2
parent2adce05e4b978c187dee9b37fac4233323b7a9c4
Add --no-architecture option to abidw

For portability of the regression tests of libabigail, we need abidw
to avoid emitting information about the architecture of the ELF file
it's looking at.  This patch thus adds a new --no-architecture option
to abidw for that purpose.

* tools/abidw.cc (options::write_architecture): New flag.
(options::options): Initialize it.
(display_usage): Add usage string for the new --no-architecture
option.
(parse_command): Parse the new --no-architecture command line
option.
(main): Ignore the architecture name if required by the user.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
tools/abidw.cc
This page took 0.03294 seconds and 5 git commands to generate.