aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/pr24008.t
blob: 902088e284bd7528e1decaeaf1ee4009605f3d3e (plain)
1
2
3
4
5
6
7
8
SECTIONS {
	.text : { *(.text) }
	.data : { *(.data) }
	.bss : { *(.bss) *(COMMON) }
}
sym1 = 0x42;
sym2 = 0x43;
defined = DEFINED (sym1) ? sym1 : sym2;