aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-01-06 16:52:15 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-01-06 16:52:15 +0000
commit30fd33bb933183e837b6709e189f1122333b95e2 (patch)
tree49af8a2936554dece7892b1366450011e37651e8 /binutils/testsuite/config
parente3e535bc5863ec5a183bfaabcd5d1d36a129305a (diff)
downloadgdb-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/config')
-rw-r--r--binutils/testsuite/config/default.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/testsuite/config/default.exp b/binutils/testsuite/config/default.exp
index f3fd624..01fd8cc 100644
--- a/binutils/testsuite/config/default.exp
+++ b/binutils/testsuite/config/default.exp
@@ -61,6 +61,12 @@ if ![info exists READELF] then {
if ![info exists READELFFLAGS] then {
set READELFFLAGS ""
}
+if ![info exists ELFEDIT] then {
+ set ELFEDIT [findfile $base_dir/elfedit]
+}
+if ![info exists ELFEDITFLAGS] then {
+ set ELFEDITFLAGS ""
+}
if ![info exists WINDRES] then {
set WINDRES [findfile $base_dir/windres]
}