Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/provide-hidden-1.ld

18 lines
320 B
Text
Raw Normal View History

2023-03-06 14:48:14 +01:00
SECTIONS
{
. = SIZEOF_HEADERS;
. = 0x12300000;
.data :
{
PROVIDE_HIDDEN (foo = . + 0x11100000);
*(.data)
}
.got : { *(.got) }
.interp : { *(.interp) }
.dynsym : { *(.dynsym) }
.dynstr : { *(.dynstr) }
.dynamic : { *(.dynamic) }
.hash : { *(.hash) }
.gnu.hash : { *(.gnu.hash) }
}