Fix test cases to work for i386.
authorCary Coutant <ccoutant@gmail.com>
Wed, 11 Jan 2017 19:26:26 +0000 (11:26 -0800)
committerCary Coutant <ccoutant@gmail.com>
Wed, 11 Jan 2017 19:26:26 +0000 (11:26 -0800)
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.

gold/ChangeLog
gold/testsuite/script_test_13.sh
gold/testsuite/script_test_15a.sh
gold/testsuite/script_test_15b.sh
gold/testsuite/script_test_15c.sh

index 1a3f9a0..f97433a 100644 (file)
@@ -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.
index 6f57888..39bd30c 100755 (executable)
@@ -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"
index dd038e8..bfebb6b 100755 (executable)
@@ -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"
index a902caf..3f6444b 100755 (executable)
@@ -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"
index 3f7d581..bb319ed 100755 (executable)
@@ -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"