mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
864a1b5697
* configure: Regenerate. * testsuite/Makefile.am (final_layout.stdout): Pass --synthetic to nm. (plugin_final_layout.stdout): Likewise. (memory_test): Set page sizes to 0x1000. * testsuite/Makefile.in: Regenerate. * testsuite/discard_locals_test.sh: Add FIXME comment. * testsuite/justsyms_exec.c: Disable function test for powerpc64. * testsuite/pr14265.t: Add .got output section statement. * testsuite/script_test_2.t: Likewise. * testsuite/script_test_3.t: Likewise. * testsuite/script_test_4.t: Likewise. * testsuite/script_test_5.t: Likewise. * testsuite/script_test_6.t: Likewise. * testsuite/script_test_7.t: Likewise. * testsuite/script_test_9.t: Likewise.
26 lines
450 B
Raku
26 lines
450 B
Raku
SECTIONS
|
|
{
|
|
.text : { *(.text) }
|
|
|
|
__foo0_start = .;
|
|
.foo0 : { *(.foo0.*) }
|
|
__foo0_end = .;
|
|
|
|
__foo1_start = .;
|
|
.foo1 : { KEEP(*(.foo1.*)) }
|
|
__foo1_end = .;
|
|
|
|
.foo2 : {
|
|
__foo2_start = .;
|
|
KEEP(*(.foo2.*))
|
|
__foo2_end = .;
|
|
}
|
|
|
|
.got : { *(.got .toc) }
|
|
}
|
|
|
|
|
|
ASSERT (__foo1_start < __foo1_end, "foo1 not KEPT");
|
|
ASSERT ((__foo1_end - __foo1_start) == (__foo2_end - __foo2_start),"foo2 not KEPT");
|
|
|