OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-scripts/] [defined3.t] - Blame information for rev 818

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
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;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.