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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [scripttempl/] [z80.sc] - Diff between revs 156 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 156 Rev 816
if [ x${LD_FLAG} = x ]
if [ x${LD_FLAG} = x ]
then
then
cat << EOF
cat << EOF
/* Create a cp/m executable; load and execute at 0x100.  */
/* Create a cp/m executable; load and execute at 0x100.  */
OUTPUT_FORMAT("binary")
OUTPUT_FORMAT("binary")
. = 0x100;
. = 0x100;
__Ltext = .;
__Ltext = .;
ENTRY (__Ltext)
ENTRY (__Ltext)
EOF
EOF
else
else
    echo "OUTPUT_FORMAT(\"${OUTPUT_FORMAT}\")"
    echo "OUTPUT_FORMAT(\"${OUTPUT_FORMAT}\")"
fi
fi
cat <
cat <
OUTPUT_ARCH("${OUTPUT_ARCH}")
OUTPUT_ARCH("${OUTPUT_ARCH}")
SECTIONS
SECTIONS
{
{
.text : {
.text : {
        *(.text)
        *(.text)
        *(text)
        *(text)
        ${RELOCATING+ __Htext = .;}
        ${RELOCATING+ __Htext = .;}
        }
        }
.data : {
.data : {
        ${RELOCATING+ __Ldata = .;}
        ${RELOCATING+ __Ldata = .;}
        *(.data)
        *(.data)
        *(data)
        *(data)
        ${RELOCATING+ __Hdata = .;}
        ${RELOCATING+ __Hdata = .;}
        }
        }
.bss :  {
.bss :  {
        ${RELOCATING+ __Lbss = .;}
        ${RELOCATING+ __Lbss = .;}
        *(.bss)
        *(.bss)
        *(bss)
        *(bss)
        ${RELOCATING+ __Hbss = .;}
        ${RELOCATING+ __Hbss = .;}
        }
        }
}
}
EOF
EOF
 
 

powered by: WebSVN 2.1.0

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