binutils-gdb/ld/testsuite/ld-elf/extract-symbol-1.ld
Richard Sandiford 6d59ad8298 ld/testsuite/
* ld-elf/extract-symbol-1.ld (data): Explicitly set the start address
	to 0.
2007-03-08 17:54:29 +00:00

19 lines
217 B
Plaintext

ENTRY(_entry)
PHDRS
{
data PT_LOAD AT (0);
}
SECTIONS
{
. = 0x10000;
.foo : { *(.foo) } :data
. = 0x20000;
.bar : { *(.bar) } :data
/DISCARD/ : { *(*) }
_entry = 0x30000;
linker_symbol = 0x40000;
}