aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2017-01-11 11:26:26 -0800
committerCary Coutant <ccoutant@gmail.com>2017-01-11 11:26:26 -0800
commit1fa5f68bf38fc29f173990614db70fed1b66c0e0 (patch)
tree0d1ac50b36b6880cd47d3a8c4163f6e647bed0cb
parent9e65917652e994b0864b344bfa47014155d93100 (diff)
downloadgdb-1fa5f68bf38fc29f173990614db70fed1b66c0e0.zip
gdb-1fa5f68bf38fc29f173990614db70fed1b66c0e0.tar.gz
gdb-1fa5f68bf38fc29f173990614db70fed1b66c0e0.tar.bz2
Fix test cases to work for i386.
gold/ PR gold/21039 * testsuite/script_test_13.sh: Adjust patterns to work for i386. * testsuite/script_test_15a.sh: Likewise. * testsuite/script_test_15b.sh: Likewise. * testsuite/script_test_15c.sh: Likewise.
-rw-r--r--gold/ChangeLog8
-rwxr-xr-xgold/testsuite/script_test_13.sh2
-rwxr-xr-xgold/testsuite/script_test_15a.sh4
-rwxr-xr-xgold/testsuite/script_test_15b.sh4
-rwxr-xr-xgold/testsuite/script_test_15c.sh4
5 files changed, 15 insertions, 7 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 1a3f9a0..f97433a 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,11 @@
+2017-01-11 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/21039
+ * testsuite/script_test_13.sh: Adjust patterns to work for i386.
+ * testsuite/script_test_15a.sh: Likewise.
+ * testsuite/script_test_15b.sh: Likewise.
+ * testsuite/script_test_15c.sh: Likewise.
+
2017-01-11 Alan Modra <amodra@gmail.com>
* powerpc.cc (class Powerpc_copy_relocs): New.
diff --git a/gold/testsuite/script_test_13.sh b/gold/testsuite/script_test_13.sh
index 6f57888..39bd30c 100755
--- a/gold/testsuite/script_test_13.sh
+++ b/gold/testsuite/script_test_13.sh
@@ -38,4 +38,4 @@ check()
fi
}
-check "script_test_13.stdout" "\\.rela\\.dyn[[:space:]]\\+RELA[[:space:]]\\+0\\+10000\\b"
+check "script_test_13.stdout" "\.rela\?\.dyn[[:space:]]\+RELA\?[[:space:]]\+0\+10000\b"
diff --git a/gold/testsuite/script_test_15a.sh b/gold/testsuite/script_test_15a.sh
index dd038e8..bfebb6b 100755
--- a/gold/testsuite/script_test_15a.sh
+++ b/gold/testsuite/script_test_15a.sh
@@ -37,5 +37,5 @@ check()
fi
}
-check script_test_15a.stdout "LOAD.*0x000... 0x001... RW"
-check script_test_15a.stdout "01.*\\.data .*\\.data.extra .*\\.bss"
+check script_test_15a.stdout "LOAD.*0x0\+0... 0x0\+1... RW"
+check script_test_15a.stdout "01.*\.data .*\.data.extra .*\.bss"
diff --git a/gold/testsuite/script_test_15b.sh b/gold/testsuite/script_test_15b.sh
index a902caf..3f6444b 100755
--- a/gold/testsuite/script_test_15b.sh
+++ b/gold/testsuite/script_test_15b.sh
@@ -38,5 +38,5 @@ check()
fi
}
-check script_test_15b.stdout "LOAD.*0x001... 0x001... RW"
-check script_test_15b.stdout "01.*\\.bss .*\\.data .*\\.data.extra"
+check script_test_15b.stdout "LOAD.*0x0\+1... 0x0\+1... RW"
+check script_test_15b.stdout "01.*\.bss .*\.data .*\.data.extra"
diff --git a/gold/testsuite/script_test_15c.sh b/gold/testsuite/script_test_15c.sh
index 3f7d581..bb319ed 100755
--- a/gold/testsuite/script_test_15c.sh
+++ b/gold/testsuite/script_test_15c.sh
@@ -38,5 +38,5 @@ check()
fi
}
-check script_test_15c.stdout "LOAD.*0x000... 0x001... RW"
-check script_test_15c.stdout "01.*\\.data .*\\.data.extra .*\\.bss"
+check script_test_15c.stdout "LOAD.*0x0\+0... 0x0\+1... RW"
+check script_test_15c.stdout "01.*\.data .*\.data.extra .*\.bss"