[binutils-gdb] [GOLD] Allow for larger alignment in script_test_15

Alan Modra amodra@sourceware.org
Mon Dec 12 23:03:00 GMT 2016


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ea0ffd5be2dfd6ee696fc15294d7b2bf29f267a7

commit ea0ffd5be2dfd6ee696fc15294d7b2bf29f267a7
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Dec 13 09:29:26 2016 +1030

    [GOLD] Allow for larger alignment in script_test_15
    
    PowerPC64 aligns .got to a 256 byte boundary.  This tends to bump the
    data segment file size.
    
    	PR gold/16711
    	* testsuite/script_test_15a.sh: Allows larger p_filesz.
    	* testsuite/script_test_15b.sh: Likewise.
    	* testsuite/script_test_15c.sh: Likewise.

Diff:
---
 gold/ChangeLog                    | 7 +++++++
 gold/testsuite/script_test_15a.sh | 2 +-
 gold/testsuite/script_test_15b.sh | 2 +-
 gold/testsuite/script_test_15c.sh | 2 +-
 4 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/gold/ChangeLog b/gold/ChangeLog
index 5664900..ef0dc13 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,12 @@
 2016-12-13  Alan Modra  <amodra@gmail.com>
 
+	PR gold/16711
+	* testsuite/script_test_15a.sh: Allows larger p_filesz.
+	* testsuite/script_test_15b.sh: Likewise.
+	* testsuite/script_test_15c.sh: Likewise.
+
+2016-12-13  Alan Modra  <amodra@gmail.com>
+
 	PR gold/20717
 	* testsuite/pr20717.t: Add .got output section containing .toc.
 
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"



More information about the Binutils-cvs mailing list