Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-vax-elf/plt-local.ld

35 lines
545 B
Text
Raw Normal View History

2023-03-06 14:48:14 +01:00
ENTRY (foo_global)
SECTIONS
{
. = SIZEOF_HEADERS;
.interp : { *(.interp) }
.hash : { *(.hash) }
.dynsym : { *(.dynsym) }
.dynstr : { *(.dynstr) }
.gnu.version : { *(.gnu.version) }
.gnu.version_d : { *(.gnu.version_d) }
.rela.plt : { *(.rela.plt) }
. = 0x1000;
.plt : { *(.plt) }
. = 0x2000;
.text : { *(.text) }
. = 0x3000;
.dynamic : { *(.dynamic) }
.got : { *(.got.plt) }
};
VERSION
{
{
global:
foo_extern;
foo_global;
foo_hidden;
foo_rehidden;
local:
foo_local;
};
}