1defined6 = DEFINED (sym2) ? 1 : 0; 2SECTIONS { 3 .text : { *(.text) sym2 = .; } 4 .data : { *(.data) } 5 .bss : { *(.bss) *(COMMON) } 6} 7defined4 = DEFINED (sym1) ? 1 : 0; 8sym1 = 42; 9defined3 = DEFINED (defined1) ? defined1 + 1 : 256; 10defined1 = DEFINED (defined1) ? defined1 + 1 : 512; 11defined2 = DEFINED (defined1) ? defined1 + 1 : 1024; 12defined5 = DEFINED (sym1) ? sym1 : 0; 13defined7 = DEFINED (sym2); 14defined8 = !DEFINED (defined8); 15defined = DEFINED (defined) ? defined : 42; 16