aboutsummaryrefslogtreecommitdiff
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-4.d16
-rw-r--r--binutils/testsuite/binutils-all/elfedit.exp4
3 files changed, 25 insertions, 1 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 7eb0361..efc1055 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-22 H.J. Lu <hongjiu.lu@intel.com>
+
+ * binutils-all/elfedit.exp: Run elfedit-4.
+
+ * binutils-all/elfedit-4.d: New.
+
2011-06-30 Bernd Schmidt <bernds@codesourcery.com>
* binutils-all/objcopy.exp (strip_test, strip_executable):
diff --git a/binutils/testsuite/binutils-all/elfedit-4.d b/binutils/testsuite/binutils-all/elfedit-4.d
new file mode 100644
index 0000000..2dc8009
--- /dev/null
+++ b/binutils/testsuite/binutils-all/elfedit-4.d
@@ -0,0 +1,16 @@
+#PROG: elfedit
+#elfedit: --output-mach k1om
+#source: empty.s
+#readelf: -h
+#name: Update ELF header 1
+#target: x86_64-*-*
+
+#...
+ELF Header:
+ Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
+ Class: ELF64
+ Data: 2's complement, little endian
+ Version: 1 \(current\)
+#...
+ Machine: Intel K1OM
+#...
diff --git a/binutils/testsuite/binutils-all/elfedit.exp b/binutils/testsuite/binutils-all/elfedit.exp
index 2142774..500906d 100644
--- a/binutils/testsuite/binutils-all/elfedit.exp
+++ b/binutils/testsuite/binutils-all/elfedit.exp
@@ -1,4 +1,5 @@
-# Copyright 2010 Free Software Foundation, Inc.
+# Copyright 2010, 2011
+# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -31,3 +32,4 @@ if ![is_remote host] {
run_dump_test "elfedit-1"
run_dump_test "elfedit-2"
run_dump_test "elfedit-3"
+run_dump_test "elfedit-4"