Support tcl procedure calls in run_dump_test xfail
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / pr18963.t
CommitLineData
975f8a9e
AM
1SECTIONS
2{
3 . = 0x80000;
4 A = .;
5 .text :
6 {
7 _start = .;
a288c270 8 *(.text)
975f8a9e
AM
9 . = 0x10000;
10 }
11 B = .;
12 .data :
13 {
a288c270 14 *(.data)
975f8a9e
AM
15 . = 0x10000;
16 }
17 C = .;
18 .bss :
19 {
a288c270 20 *(.bss)
975f8a9e
AM
21 . = 0x10000;
22 }
23 D = A - C + B;
24 E = A + B - C;
25 /DISCARD/ : {*(*)}
26}
27
28ASSERT(D == E, "Addition is not commutative");
This page took 0.176336 seconds and 4 git commands to generate.