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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [scripttempl/] [z80.sc] - Blame information for rev 825

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

Line No. Rev Author Line
1 38 julius
if [ x${LD_FLAG} = x ]
2
then
3
cat << EOF
4
/* Create a cp/m executable; load and execute at 0x100.  */
5
OUTPUT_FORMAT("binary")
6
. = 0x100;
7
__Ltext = .;
8
ENTRY (__Ltext)
9
EOF
10
else
11
    echo "OUTPUT_FORMAT(\"${OUTPUT_FORMAT}\")"
12
fi
13
cat <
14
OUTPUT_ARCH("${OUTPUT_ARCH}")
15
SECTIONS
16
{
17
.text : {
18
        *(.text)
19
        *(text)
20
        ${RELOCATING+ __Htext = .;}
21
        }
22
.data : {
23
        ${RELOCATING+ __Ldata = .;}
24
        *(.data)
25
        *(data)
26
        ${RELOCATING+ __Hdata = .;}
27
        }
28
.bss :  {
29
        ${RELOCATING+ __Lbss = .;}
30
        *(.bss)
31
        *(bss)
32
        ${RELOCATING+ __Hbss = .;}
33
        }
34
}
35
EOF

powered by: WebSVN 2.1.0

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