mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:54:41 +08:00
d32a48b9f2
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.
6 lines
75 B
Raku
6 lines
75 B
Raku
SECTIONS
|
|
{
|
|
.got : { *(.got .toc) }
|
|
.dummy : { KEEP (*(.dummy)) }
|
|
}
|