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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [scripttempl/] [h8500c.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
TORS="
TORS="
    ___ctors = . ;
    ___ctors = . ;
    *(.ctors)
    *(.ctors)
    ___ctors_end = . ;
    ___ctors_end = . ;
    ___dtors = . ;
    ___dtors = . ;
    *(.dtors)
    *(.dtors)
    ___dtors_end = . ;"
    ___dtors_end = . ;"
cat <
cat <
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
OUTPUT_ARCH(${ARCH})
/* Compact model - code < 64k, data > 64k */
/* Compact model - code < 64k, data > 64k */
SECTIONS
SECTIONS
{
{
.text 0x10000 :
.text 0x10000 :
        {
        {
          *(.text)
          *(.text)
          *(.strings)
          *(.strings)
          ${RELOCATING+ _etext = . ; }
          ${RELOCATING+ _etext = . ; }
        } ${RELOCATING+ > ram}
        } ${RELOCATING+ > ram}
.data 0x20000 :
.data 0x20000 :
        {
        {
          *(.data)
          *(.data)
          ${RELOCATING+ _edata = . ; }
          ${RELOCATING+ _edata = . ; }
        } ${RELOCATING+ > ram}
        } ${RELOCATING+ > ram}
.rdata 0x30000  :
.rdata 0x30000  :
        {
        {
          *(.rdata);
          *(.rdata);
          ${CONSTRUCTING+${TORS}}
          ${CONSTRUCTING+${TORS}}
        }  ${RELOCATING+ > ram}
        }  ${RELOCATING+ > ram}
.bss  0x40000 :
.bss  0x40000 :
        {
        {
          ${RELOCATING+ __start_bss = . ; }
          ${RELOCATING+ __start_bss = . ; }
          *(.bss)
          *(.bss)
          *(COMMON)
          *(COMMON)
          ${RELOCATING+ _end = . ;  }
          ${RELOCATING+ _end = . ;  }
        } ${RELOCATING+ >ram}
        } ${RELOCATING+ >ram}
.stack 0x5fff0 :
.stack 0x5fff0 :
        {
        {
          ${RELOCATING+ _stack = . ; }
          ${RELOCATING+ _stack = . ; }
          *(.stack)
          *(.stack)
        } ${RELOCATING+ > topram}
        } ${RELOCATING+ > topram}
.stab  0 ${RELOCATING+(NOLOAD)} :
.stab  0 ${RELOCATING+(NOLOAD)} :
        {
        {
          [ .stab ]
          [ .stab ]
        }
        }
.stabstr  0 ${RELOCATING+(NOLOAD)} :
.stabstr  0 ${RELOCATING+(NOLOAD)} :
        {
        {
          [ .stabstr ]
          [ .stabstr ]
        }
        }
}
}
EOF
EOF
 
 

powered by: WebSVN 2.1.0

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