502e8a8430
* symtab.cc (Symbol_table::sized_write_globals): Subtract section starting address for relocatable link. * testsuite/Makefile.am (script_test_11): New test. * testsuite/Makefile.in: Regenerate. * testsuite/script_test_11.c: New source file. * testsuite/script_test_11.t: New linker script.
8 lines
98 B
Perl
8 lines
98 B
Perl
SECTIONS
|
|
{
|
|
.foo : {
|
|
__foo_start = .;
|
|
KEEP(*(.foo))
|
|
__foo_end = .;
|
|
}
|
|
}
|