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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [libgloss/] [mcore/] [pe-cmb.ld] - Diff between revs 57 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 57 Rev 1765
OUTPUT_FORMAT("pei-mcore-big", "pei-mcore-big",
OUTPUT_FORMAT("pei-mcore-big", "pei-mcore-big",
                           "pei-mcore-little")
                           "pei-mcore-little")
GROUP(-lc -lcmb -lgcc)
GROUP(-lc -lcmb -lgcc)
ENTRY(_mainCRTStartup)
ENTRY(_mainCRTStartup)
SECTIONS
SECTIONS
{
{
  .text  0x2f000000 :
  .text  0x2f000000 :
  {
  {
     *(.init)
     *(.init)
    *(.text)
    *(.text)
    *(SORT(.text$*))
    *(SORT(.text$*))
    *(.glue_7t)
    *(.glue_7t)
    *(.glue_7)
    *(.glue_7)
     ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
     ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
                        LONG (-1); *(.ctors); *(.ctor); LONG (0);
                        LONG (-1); *(.ctors); *(.ctor); LONG (0);
     ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
     ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
                        LONG (-1); *(.dtors); *(.dtor);  LONG (0);
                        LONG (-1); *(.dtors); *(.dtor);  LONG (0);
     *(.fini)
     *(.fini)
    /* ??? Why is .gcc_exc here?  */
    /* ??? Why is .gcc_exc here?  */
     *(.gcc_exc)
     *(.gcc_exc)
     etext = .;
     etext = .;
    *(.gcc_except_table)
    *(.gcc_except_table)
  }
  }
  /* The Cygwin32 library uses a section to avoid copying certain data
  /* The Cygwin32 library uses a section to avoid copying certain data
     on fork.  This used to be named ".data".  The linker used
     on fork.  This used to be named ".data".  The linker used
     to include this between __data_start__ and __data_end__, but that
     to include this between __data_start__ and __data_end__, but that
     breaks building the cygwin32 dll.  Instead, we name the section
     breaks building the cygwin32 dll.  Instead, we name the section
     ".data_cygwin_nocopy" and explictly include it after __data_end__. */
     ".data_cygwin_nocopy" and explictly include it after __data_end__. */
  .data BLOCK(__section_alignment__) :
  .data BLOCK(__section_alignment__) :
  {
  {
    __data_start__ = . ;
    __data_start__ = . ;
    *(.data)
    *(.data)
    *(.data2)
    *(.data2)
    *(SORT(.data$*))
    *(SORT(.data$*))
    __data_end__ = . ;
    __data_end__ = . ;
    *(.data_cygwin_nocopy)
    *(.data_cygwin_nocopy)
  }
  }
  .bss BLOCK(__section_alignment__) :
  .bss BLOCK(__section_alignment__) :
  {
  {
    __bss_start__ = . ;
    __bss_start__ = . ;
    *(.bss)
    *(.bss)
    *(COMMON)
    *(COMMON)
    __bss_end__ = . ;
    __bss_end__ = . ;
  }
  }
  .rdata BLOCK(__section_alignment__) :
  .rdata BLOCK(__section_alignment__) :
  {
  {
    *(.rdata)
    *(.rdata)
    *(SORT(.rdata$*))
    *(SORT(.rdata$*))
    *(.eh_frame)
    *(.eh_frame)
  }
  }
  .edata BLOCK(__section_alignment__) :
  .edata BLOCK(__section_alignment__) :
  {
  {
    *(.edata)
    *(.edata)
  }
  }
  /DISCARD/ :
  /DISCARD/ :
  {
  {
    *(.debug$S)
    *(.debug$S)
    *(.debug$T)
    *(.debug$T)
    *(.debug$F)
    *(.debug$F)
    *(.drectve)
    *(.drectve)
  }
  }
  .idata BLOCK(__section_alignment__) :
  .idata BLOCK(__section_alignment__) :
  {
  {
    /* This cannot currently be handled with grouped sections.
    /* This cannot currently be handled with grouped sections.
        See pe.em:sort_sections.  */
        See pe.em:sort_sections.  */
    SORT(*)(.idata$2)
    SORT(*)(.idata$2)
    SORT(*)(.idata$3)
    SORT(*)(.idata$3)
    /* These zeroes mark the end of the import list.  */
    /* These zeroes mark the end of the import list.  */
    LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
    LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
    SORT(*)(.idata$4)
    SORT(*)(.idata$4)
    SORT(*)(.idata$5)
    SORT(*)(.idata$5)
    SORT(*)(.idata$6)
    SORT(*)(.idata$6)
    SORT(*)(.idata$7)
    SORT(*)(.idata$7)
  }
  }
  .CRT BLOCK(__section_alignment__) :
  .CRT BLOCK(__section_alignment__) :
  {
  {
    *(SORT(.CRT$*))
    *(SORT(.CRT$*))
  }
  }
  .endjunk BLOCK(__section_alignment__) :
  .endjunk BLOCK(__section_alignment__) :
  {
  {
    /* end is deprecated, don't use it */
    /* end is deprecated, don't use it */
     end = .;
     end = .;
     _end = .;
     _end = .;
     __end__ = .;
     __end__ = .;
  }
  }
  .reloc BLOCK(__section_alignment__) :
  .reloc BLOCK(__section_alignment__) :
  {
  {
    *(.reloc)
    *(.reloc)
  }
  }
  .rsrc BLOCK(__section_alignment__) :
  .rsrc BLOCK(__section_alignment__) :
  {
  {
    *(.rsrc)
    *(.rsrc)
    *(SORT(.rsrc$*))
    *(SORT(.rsrc$*))
  }
  }
  .stab BLOCK(__section_alignment__) (NOLOAD) :
  .stab BLOCK(__section_alignment__) (NOLOAD) :
  {
  {
    [ .stab ]
    [ .stab ]
  }
  }
  .stabstr BLOCK(__section_alignment__) (NOLOAD) :
  .stabstr BLOCK(__section_alignment__) (NOLOAD) :
  {
  {
    [ .stabstr ]
    [ .stabstr ]
  }
  }
  .stack 0x2f0ffffc :
  .stack 0x2f0ffffc :
  {
  {
    _stack = .;
    _stack = .;
    *(.stack)
    *(.stack)
  }
  }
}
}
 
 

powered by: WebSVN 2.1.0

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