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