Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / ld / testsuite / ld-gc / pr14265.t
CommitLineData
b9b2ae8b
NC
1SECTIONS
2{
3 .text : { *(.text) }
4
5 __foo0_start = .;
6 .foo0 : { *(.foo0.*) }
7 __foo0_end = .;
8
9 __foo1_start = .;
10 .foo1 : { KEEP(*(.foo1.*)) }
11 __foo1_end = .;
12
13 .foo2 : {
14 __foo2_start = .;
15 KEEP(*(.foo2.*))
16 __foo2_end = .;
17 }
18 /DISCARD/ : { *(*) }
19}
20
21ASSERT (__foo1_start < __foo1_end, "foo1 not KEPT");
22ASSERT ((__foo1_end - __foo1_start) == (__foo2_end - __foo2_start),"foo2 not KEPT");
This page took 0.337739 seconds and 4 git commands to generate.