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.
This commit is contained in:
Cary Coutant 2017-01-11 11:26:26 -08:00
parent 9e65917652
commit 1fa5f68bf3
5 changed files with 15 additions and 7 deletions

View 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.

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"