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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-scripts/] [defined2.t] - Blame information for rev 862

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

Line No. Rev Author Line
1 205 julius
SECTIONS {
2
        .text : { *(.text) sym1 = 3 - DEFINED (x); }
3
        .data : { *(.data) }
4
        .bss : { *(.bss) *(COMMON) }
5
}
6
defined1 = !DEFINED (x);
7
defined2 = DEFINED (defined1) + 16;
8
defined3 = DEFINED (defined2) * 256;
9
defined4 = 0x200 - DEFINED (defined3);

powered by: WebSVN 2.1.0

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