repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updated Malay translation for the bfd sub-directory
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-scripts
/
pr18963.t
blob
be0c61de0acd9b7547800e63c44a3b0696b49077
1
SECTIONS
2
{
3
. = 0x800;
4
A = .;
5
.text :
6
{
7
_start = .;
8
*(.text)
9
. = 0x100;
10
}
11
B = .;
12
.data :
13
{
14
*(.data)
15
. = 0x100;
16
}
17
C = .;
18
.bss :
19
{
20
*(.bss)
21
. = 0x100;
22
}
23
D = A - C + B;
24
E = A + B - C;
25
/DISCARD/ : {*(*)}
26
}
27
28
ASSERT(D == E, "Addition is not commutative");