diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-01-06 16:52:15 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-01-06 16:52:15 +0000 |
commit | 30fd33bb933183e837b6709e189f1122333b95e2 (patch) | |
tree | 49af8a2936554dece7892b1366450011e37651e8 /binutils/testsuite/lib | |
parent | e3e535bc5863ec5a183bfaabcd5d1d36a129305a (diff) | |
download | gdb-30fd33bb933183e837b6709e189f1122333b95e2.zip gdb-30fd33bb933183e837b6709e189f1122333b95e2.tar.gz gdb-30fd33bb933183e837b6709e189f1122333b95e2.tar.bz2 |
Add elfedit
binutils/
2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/11131
* Makefile.am (ELFEDIT_PROG): New.
(bin_PROGRAMS): Add $(ELFEDIT_PROG).
(CFILES): Add elfedit.c.
(elfedit_DEPENDENCIES): New.
(elfedit_SOURCES): Likewise.
(elfedit_LDADD): Likewise.
* Makefile.in: Regenerated.
* elfedit.c: New.
* doc/binutils.texi: Document elfedit.
* doc/Makefile.am (man_MANS): Add elfedit.1.
(elfedit.1): New.
* doc/Makefile.in: Regenerated.
binutils/testsuite/
2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/11131
* binutils-all/elfedit-1.d: New.
* binutils-all/elfedit.exp: Likewise.
* config/default.exp (ELFEDIT): New. Set if it doesn't exist.
(ELFEDITFLAGS): Likewise.
* lib/utils-lib.exp (run_dump_test): Support elfedit.
Diffstat (limited to 'binutils/testsuite/lib')
-rw-r--r-- | binutils/testsuite/lib/utils-lib.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/testsuite/lib/utils-lib.exp b/binutils/testsuite/lib/utils-lib.exp index 9881f01..393aae8 100644 --- a/binutils/testsuite/lib/utils-lib.exp +++ b/binutils/testsuite/lib/utils-lib.exp @@ -281,6 +281,7 @@ proc run_dump_test { name {extra_options {}} } { global subdir srcdir global OBJDUMP NM OBJCOPY READELF STRIP global OBJDUMPFLAGS NMFLAGS OBJCOPYFLAGS READELFFLAGS STRIPFLAGS + global ELFEDIT ELFEDITFLAGS global host_triplet global env global copyfile @@ -309,6 +310,7 @@ proc run_dump_test { name {extra_options {}} } { set opts(size) {} set opts(strings) {} set opts(name) {} + set opts(elfedit) {} set opts(PROG) {} set opts(DUMPPROG) {} set opts(source) {} @@ -372,6 +374,7 @@ proc run_dump_test { name {extra_options {}} } { set destopt "-o" } strings { set program strings } + elfedit { set program elfedit } default { perror "unrecognized program option $opts(PROG) in $file.d" unresolved $testname |