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