summaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/ChangeLog6
-rw-r--r--binutils/testsuite/binutils-all/elfedit-2.d15
-rw-r--r--binutils/testsuite/binutils-all/elfedit.exp1
3 files changed, 22 insertions, 0 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index bd066e1f10b..4ebc7e931cd 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * binutils-all/elfedit-2.d: New.
+
+ * binutils-all/elfedit.exp: Run elfedit-2.
+
2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/11131
diff --git a/binutils/testsuite/binutils-all/elfedit-2.d b/binutils/testsuite/binutils-all/elfedit-2.d
new file mode 100644
index 00000000000..af07c1db297
--- /dev/null
+++ b/binutils/testsuite/binutils-all/elfedit-2.d
@@ -0,0 +1,15 @@
+#PROG: elfedit
+#elfedit: --output-type exec
+#source: empty.s
+#readelf: -h
+#name: Update ELF header 2
+#target: *-*-linux*
+
+#...
+ELF Header:
+ Magic: 7f 45 4c 46 .*
+#...
+ Version:[ \t]+1 \(current\)
+#...
+ Type:[ \t]+EXEC \(Executable file\)
+#...
diff --git a/binutils/testsuite/binutils-all/elfedit.exp b/binutils/testsuite/binutils-all/elfedit.exp
index d43c31a476f..23d52924474 100644
--- a/binutils/testsuite/binutils-all/elfedit.exp
+++ b/binutils/testsuite/binutils-all/elfedit.exp
@@ -29,3 +29,4 @@ if ![is_remote host] {
}
run_dump_test "elfedit-1"
+run_dump_test "elfedit-2"