OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-scripts/] [defined3.t] - Blame information for rev 337

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

Line No. Rev Author Line
1 205 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.