aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/defined.t
blob: e4e105f3b36bac7a2298676f37bfea528be5e6c4 (plain)
1
2
3
4
5
6
7
8
SECTIONS {
	. = SIZEOF_HEADERS;
	.text : { *(.text) }
	.data : { *(.data) }
	.bss : { *(.bss) *(COMMON) }
}
value1 = DEFINED (defined) ? 1 : 2;
value2 = DEFINED (undefined) ? 1 : 2;