[GOLD] Allow for larger alignment in script_test_15

Alan Modra amodra@gmail.com
Mon Dec 12 11:56:00 GMT 2016


PowerPC64 aligns .got to a 256 byte boundary.  This tends to bump the
data segment file size.  OK?

	* testsuite/script_test_15a.sh: Allows larger p_filesz.
	* testsuite/script_test_15b.sh: Likewise.
	* testsuite/script_test_15c.sh: Likewise.

diff --git a/gold/testsuite/script_test_15a.sh b/gold/testsuite/script_test_15a.sh
index 791350c..44c5fe4 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.*0x0000.. 0x0010.. RW"
+check script_test_15a.stdout "LOAD.*0x000... 0x001... 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 3179758..f1b4ba1 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.*0x0010.. 0x0010.. RW"
+check script_test_15b.stdout "LOAD.*0x001... 0x001... 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 27631fc..cb329c6 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.*0x0000.. 0x0010.. RW"
+check script_test_15c.stdout "LOAD.*0x000... 0x001... RW"
 check script_test_15c.stdout "01.*\\.data .*\\.data.extra .*\\.bss"

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list