From bebf013204dd89601ecdaaeb1c5fcb3e8ac83b7d Mon Sep 17 00:00:00 2001
From: Alan Modra <amodra@gmail.com>
Date: Wed, 29 Jun 2016 08:00:58 +0930
Subject: [PATCH] [GOLD] Modify script_test_12

Changes necessary to make this test pass on powerpc64.

	* script_test_12.t: Delete .plt, specify 64k page size.
	* script_test_12i.t: Likewise.
---
 gold/ChangeLog                   | 5 +++++
 gold/testsuite/script_test_12.t  | 3 +--
 gold/testsuite/script_test_12i.t | 3 +--
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/gold/ChangeLog b/gold/ChangeLog
index 56e52dccbfa..fddfa10070f 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-29  Alan Modra  <amodra@gmail.com>
+
+	* script_test_12.t: Delete .plt, specify 64k page size.
+	* script_test_12i.t: Likewise.
+
 2016-06-29  Alan Modra  <amodra@gmail.com>
 
 	* testsuite/plugin_layout_with_alignment.c: Explicitly align all
diff --git a/gold/testsuite/script_test_12.t b/gold/testsuite/script_test_12.t
index 4579c58d92b..b34ec532b6d 100644
--- a/gold/testsuite/script_test_12.t
+++ b/gold/testsuite/script_test_12.t
@@ -33,14 +33,13 @@ SECTIONS
   .rel.plt : { *(.rel.plt) }
   .rela.plt : { *(.rela.plt) }
   .init : { *(.init) }
-  .plt : { *(.plt) }
   .text : { *(.text) }
   .fini : { *(.fini) }
   .rodata : { *(.rodata .rodata.*) }
   .eh_frame_hdr : { *(.eh_frame_hdr) }
   .eh_frame : { *(.eh_frame) }
 
-  . = DATA_SEGMENT_ALIGN(0x1000, 0x1000);
+  . = DATA_SEGMENT_ALIGN(0x10000, 0x10000);
 
   .init_array : {
     __init_array_start = .;
diff --git a/gold/testsuite/script_test_12i.t b/gold/testsuite/script_test_12i.t
index af19cd6e161..0310e74240a 100644
--- a/gold/testsuite/script_test_12i.t
+++ b/gold/testsuite/script_test_12i.t
@@ -33,14 +33,13 @@ SECTIONS
   .rel.plt : { *(.rel.plt) }
   .rela.plt : { *(.rela.plt) }
   .init : { *(.init) }
-  .plt : { *(.plt) }
   .text : { *(.text) }
   .fini : { *(.fini) }
   .rodata : { *(.rodata .rodata.*) }
   .eh_frame_hdr : { *(.eh_frame_hdr) }
   .eh_frame : { *(.eh_frame) }
 
-  . = DATA_SEGMENT_ALIGN(0x1000, 0x1000);
+  . = DATA_SEGMENT_ALIGN(0x10000, 0x10000);
 
   .init_array : {
     __init_array_start = .;
-- 
GitLab