This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[GOLD] Adjust testcase for PowerPC64
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Mon, 12 Dec 2016 22:24:42 +1030
- Subject: [GOLD] Adjust testcase for PowerPC64
- Authentication-results: sourceware.org; auth=none
PowerPC64 needs .got to contain .toc, or at least to have a .toc input
sections within cooee of the linker created symbol .TOC. in .got.
OK?
* testsuite/pr20717.t: Add .got output section containing .toc.
diff --git a/gold/testsuite/pr20717.t b/gold/testsuite/pr20717.t
index ddb3500..ecab5dc 100644
--- a/gold/testsuite/pr20717.t
+++ b/gold/testsuite/pr20717.t
@@ -1,4 +1,5 @@
SECTIONS
{
+ .got : { *(.got .toc) }
.dummy : { KEEP (*(.dummy)) }
}
--
Alan Modra
Australia Development Lab, IBM