Retro68/binutils/ld/testsuite/ld-elf/provide-hidden-1.ld
2017-04-10 13:32:00 +02:00

17 lines
289 B
Plaintext

SECTIONS
{
. = SIZEOF_HEADERS;
. = 0x12300000;
.data :
{
PROVIDE_HIDDEN (foo = . + 0x11100000);
*(.data)
}
.got : { *(.got) }
.interp : { *(.interp) }
.dynsym : { *(.dynsym) }
.dynstr : { *(.dynstr) }
.dynamic : { *(.dynamic) }
.hash : { *(.hash) }
}