summaryrefslogtreecommitdiff
path: root/binutils/testsuite/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-01-06 16:52:13 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-01-06 16:52:13 +0000
commitfabf5c5416235b74ba75eeab4dba0e00c7ded721 (patch)
tree4dac3fd50e1f3d18fef37be663b9ffb6f17350e2 /binutils/testsuite/config
parentfed9df78d4ddc60fafdad030f0219ecc36682a7c (diff)
downloadbinutils-redhat-fabf5c5416235b74ba75eeab4dba0e00c7ded721.tar.gz
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 f3fd6244e9..01fd8ccc30 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]
}