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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [libgloss/] [mips/] [ddb.ld] - Diff between revs 39 and 56

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 39 Rev 56
Line 1... Line 1...
/* The following TEXT start address leaves space for the monitor
/* The following TEXT start address leaves space for the monitor
   workspace. */
   workspace. */
 
 
ENTRY(_start)
ENTRY(_start)
OUTPUT_ARCH("mips:4000")
 
OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
GROUP(-lc -lpmon -lgcc)
GROUP(-lc -lpmon -lgcc)
SEARCH_DIR(.)
SEARCH_DIR(.)
__DYNAMIC  =  0;
__DYNAMIC  =  0;
 
 
Line 32... Line 31...
  .text : {
  .text : {
     _ftext = . ;
     _ftext = . ;
    *(.init)
    *(.init)
     eprol  =  .;
     eprol  =  .;
    *(.text)
    *(.text)
 
    *(.text.*)
 
    *(.gnu.linkonce.t*)
    *(.mips16.fn.*)
    *(.mips16.fn.*)
    *(.mips16.call.*)
    *(.mips16.call.*)
    PROVIDE (__runtime_reloc_start = .);
    PROVIDE (__runtime_reloc_start = .);
    *(.rel.sdata)
    *(.rel.sdata)
    PROVIDE (__runtime_reloc_stop = .);
    PROVIDE (__runtime_reloc_stop = .);
    *(.fini)
    *(.fini)
     etext  =  .;
     etext  =  .;
     _etext  =  .;
     _etext  =  .;
  }
  }
 
 
 
  .ctors    :
 
  {
 
    /* gcc uses crtbegin.o to find the start of
 
       the constructors, so we make sure it is
 
       first.  Because this is a wildcard, it
 
       doesn't matter if the user does not
 
       actually link against crtbegin.o; the
 
       linker won't look for a file to match a
 
       wildcard.  The wildcard also means that it
 
       doesn't matter which directory crtbegin.o
 
       is in.  */
 
 
 
    KEEP (*crtbegin.o(.ctors))
 
 
 
    /* We don't want to include the .ctor section from
 
       from the crtend.o file until after the sorted ctors.
 
       The .ctor section from the crtend file contains the
 
       end of ctors marker and it must be last */
 
 
 
    KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
 
    KEEP (*(SORT(.ctors.*)))
 
    KEEP (*(.ctors))
 
  }
 
 
 
  .dtors    :
 
  {
 
    KEEP (*crtbegin.o(.dtors))
 
    KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
 
    KEEP (*(SORT(.dtors.*)))
 
    KEEP (*(.dtors))
 
  }
 
 
  . = .;
  . = .;
  .rdata : {
  .rdata : {
    *(.rdata)
    *(.rdata)
 
    *(.rodata)
 
    *(.rodata.*)
 
    *(.gnu.linkonce.r*)
  }
  }
   _fdata = ALIGN(16);
   _fdata = ALIGN(16);
  .data : {
  .data : {
    *(.data)
    *(.data)
    CONSTRUCTORS
    *(.data.*)
 
    *(.gnu.linkonce.d*)
  }
  }
  . = ALIGN(8);
  . = ALIGN(8);
  _gp = . + 0x8000;
  _gp = . + 0x8000;
  __global = _gp;
  __global = _gp;
  .lit8 : {
  .lit8 : {
Line 61... Line 99...
  .lit4 : {
  .lit4 : {
    *(.lit4)
    *(.lit4)
  }
  }
  .sdata : {
  .sdata : {
    *(.sdata)
    *(.sdata)
 
    *(.sdata.*)
 
    *(.gnu.linkonce.s*)
  }
  }
  . = ALIGN(4);
  . = ALIGN(4);
   edata  =  .;
   edata  =  .;
   _edata  =  .;
   _edata  =  .;
   _fbss = .;
   _fbss = .;

powered by: WebSVN 2.1.0

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