aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-12-13 09:21:56 +1030
committerAlan Modra <amodra@gmail.com>2016-12-13 09:31:19 +1030
commitd32a48b9f2d8a374b7ce3f2c47cc9a1c3b184838 (patch)
tree7f2aa280fd52e3c294b5a697196264f7adc75b70 /gold/testsuite
parent88acc2e16743fc1e6384758c9a68cd6d2a8bbd46 (diff)
downloadgdb-d32a48b9f2d8a374b7ce3f2c47cc9a1c3b184838.zip
gdb-d32a48b9f2d8a374b7ce3f2c47cc9a1c3b184838.tar.gz
gdb-d32a48b9f2d8a374b7ce3f2c47cc9a1c3b184838.tar.bz2
[GOLD] Adjust testcase for PowerPC64
Since the linker created .TOC. symbol is placed at roughly .got+32k, .toc input sections must be placed in or after .got if .toc entries are accessed using 16-bit signed offset relocs. crt1.o contains such a relocation. PR gold/20717 * testsuite/pr20717.t: Add .got output section containing .toc.
Diffstat (limited to 'gold/testsuite')
-rw-r--r--gold/testsuite/pr20717.t1
1 files changed, 1 insertions, 0 deletions
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)) }
}