repo.or.cz
/
binutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
daily update
[binutils.git]
/
ld
/
testsuite
/
ld-scripts
/
defined2.t
blob
50ddad0bad056b8a206b1cbabf427d59a0856b56
1
SECTIONS {
2
.text : { *(.text) sym1 = 3 - DEFINED (x); }
3
.data : { *(.data) }
4
.bss : { *(.bss) *(COMMON) }
5
}
6
defined1 = !DEFINED (x);
7
defined2 = DEFINED (defined1) + 16;
8
defined3 = DEFINED (defined2) * 256;
9
defined4 = 0x200 - DEFINED (defined3);