This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[GOLD] Adjust testcase for PowerPC64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]