mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
35 lines
532 B
Plaintext
35 lines
532 B
Plaintext
|
ENTRY (foo_global)
|
||
|
SECTIONS
|
||
|
{
|
||
|
. = 0;
|
||
|
.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;
|
||
|
};
|
||
|
}
|