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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [scripttempl/] [maxqcoff.sc] - Rev 205

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

test -z "$ENTRY" && ENTRY=_main
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
${RELOCATING+ENTRY (${ENTRY})}
MEMORY 
  {
  rom (rx)  : ORIGIN = 0, LENGTH = 0x7FFE
  ram (!rx) : org = 0x0A000, l = 0x5FFF
  }

SECTIONS
{
        .text  ${RELOCATING+ 0x0000}: 
        {
                *(.text) 
        } >rom

        .data ${RELOCATING}: 
        { 
                *(.data)  
                *(.rodata)
                *(.bss)
                *(COMMON)
                ${RELOCATING+ edata  =  .};
        }>ram

/*      .bss ${RELOCATING+ SIZEOF(.data) + 0x0000}  :
        { 
                *(.bss)  
                *(COMMON)
        }
*/
        .stab  0 ${RELOCATING+(NOLOAD)} :
        {
                [ .stab ]
        }
        .stabstr  0 ${RELOCATING+(NOLOAD)} :
        {
                [ .stabstr ]
        }
}
EOF

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

powered by: WebSVN 2.1.0

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