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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [rs6000/] [mbx.ld] - Diff between revs 158 and 816

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

Rev 158 Rev 816
OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
              "elf32-powerpc")
              "elf32-powerpc")
OUTPUT_ARCH(powerpc)
OUTPUT_ARCH(powerpc)
ENTRY(_start)
ENTRY(_start)
/* Do we need any of these for elf?
/* Do we need any of these for elf?
   __DYNAMIC = 0;    */
   __DYNAMIC = 0;    */
PROVIDE (__stack = 0x0);
PROVIDE (__stack = 0x0);
SECTIONS
SECTIONS
{
{
  /* Read-only sections, merged into text segment: */
  /* Read-only sections, merged into text segment: */
  . = 0x2000 + SIZEOF_HEADERS;
  . = 0x2000 + SIZEOF_HEADERS;
  .interp   : { *(.interp) }
  .interp   : { *(.interp) }
  .hash           : { *(.hash)          }
  .hash           : { *(.hash)          }
  .dynsym         : { *(.dynsym)                }
  .dynsym         : { *(.dynsym)                }
  .dynstr         : { *(.dynstr)                }
  .dynstr         : { *(.dynstr)                }
  .rela.text     :
  .rela.text     :
    { *(.rela.text) *(.rela.gnu.linkonce.t*) }
    { *(.rela.text) *(.rela.gnu.linkonce.t*) }
  .rela.data     :
  .rela.data     :
    { *(.rela.data) *(.rela.gnu.linkonce.d*) }
    { *(.rela.data) *(.rela.gnu.linkonce.d*) }
  .rela.rodata   :
  .rela.rodata   :
    { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
    { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
  .rela.got       : { *(.rela.got)      }
  .rela.got       : { *(.rela.got)      }
  .rela.got1      : { *(.rela.got1)     }
  .rela.got1      : { *(.rela.got1)     }
  .rela.got2      : { *(.rela.got2)     }
  .rela.got2      : { *(.rela.got2)     }
  .rela.ctors     : { *(.rela.ctors)    }
  .rela.ctors     : { *(.rela.ctors)    }
  .rela.dtors     : { *(.rela.dtors)    }
  .rela.dtors     : { *(.rela.dtors)    }
  .rela.init      : { *(.rela.init)     }
  .rela.init      : { *(.rela.init)     }
  .rela.fini      : { *(.rela.fini)     }
  .rela.fini      : { *(.rela.fini)     }
  .rela.bss       : { *(.rela.bss)      }
  .rela.bss       : { *(.rela.bss)      }
  .rela.plt       : { *(.rela.plt)      }
  .rela.plt       : { *(.rela.plt)      }
  .rela.sdata     : { *(.rela.sdata2)   }
  .rela.sdata     : { *(.rela.sdata2)   }
  .rela.sbss      : { *(.rela.sbss2)    }
  .rela.sbss      : { *(.rela.sbss2)    }
  .rela.sdata2    : { *(.rela.sdata2)   }
  .rela.sdata2    : { *(.rela.sdata2)   }
  .rela.sbss2     : { *(.rela.sbss2)    }
  .rela.sbss2     : { *(.rela.sbss2)    }
  .plt   : { *(.plt) }
  .plt   : { *(.plt) }
  .text      :
  .text      :
  {
  {
    *(.text)
    *(.text)
    /* .gnu.warning sections are handled specially by elf32.em.  */
    /* .gnu.warning sections are handled specially by elf32.em.  */
    *(.gnu.warning)
    *(.gnu.warning)
    *(.gnu.linkonce.t*)
    *(.gnu.linkonce.t*)
  } =0
  } =0
  .init           : { *(.init)          } =0
  .init           : { *(.init)          } =0
  .fini           : { *(.fini)          } =0
  .fini           : { *(.fini)          } =0
  .rodata         : { *(.rodata) *(.gnu.linkonce.r*) }
  .rodata         : { *(.rodata) *(.gnu.linkonce.r*) }
  .rodata1        : { *(.rodata1) }
  .rodata1        : { *(.rodata1) }
  _etext = .;
  _etext = .;
  PROVIDE (etext = .);
  PROVIDE (etext = .);
  .sdata2   : { *(.sdata2) }
  .sdata2   : { *(.sdata2) }
  .sbss2   : { *(.sbss2) }
  .sbss2   : { *(.sbss2) }
  . =  ALIGN(8);
  . =  ALIGN(8);
  .data    :
  .data    :
  {
  {
    *(.data)
    *(.data)
    *(.gnu.linkonce.d*)
    *(.gnu.linkonce.d*)
    CONSTRUCTORS
    CONSTRUCTORS
  }
  }
  .data1   : { *(.data1) }
  .data1   : { *(.data1) }
  .got1           : { *(.got1) }
  .got1           : { *(.got1) }
  .dynamic        : { *(.dynamic) }
  .dynamic        : { *(.dynamic) }
  /* Put .ctors and .dtors next to the .got2 section, so that the pointers
  /* Put .ctors and .dtors next to the .got2 section, so that the pointers
     get relocated with -mrelocatable. Also put in the .fixup pointers.
     get relocated with -mrelocatable. Also put in the .fixup pointers.
     The current compiler no longer needs this, but keep it around for 2.7.2  */
     The current compiler no longer needs this, but keep it around for 2.7.2  */
                PROVIDE (_GOT2_START_ = .);
                PROVIDE (_GOT2_START_ = .);
  .got2           :  { *(.got2) }
  .got2           :  { *(.got2) }
                PROVIDE (__CTOR_LIST__ = .);
                PROVIDE (__CTOR_LIST__ = .);
  .ctors          : { *(.ctors) }
  .ctors          : { *(.ctors) }
                PROVIDE (__CTOR_END__ = .);
                PROVIDE (__CTOR_END__ = .);
                PROVIDE (__DTOR_LIST__ = .);
                PROVIDE (__DTOR_LIST__ = .);
  .dtors          : { *(.dtors) }
  .dtors          : { *(.dtors) }
                PROVIDE (__DTOR_END__ = .);
                PROVIDE (__DTOR_END__ = .);
                PROVIDE (_FIXUP_START_ = .);
                PROVIDE (_FIXUP_START_ = .);
  .fixup          : { *(.fixup) }
  .fixup          : { *(.fixup) }
                PROVIDE (_FIXUP_END_ = .);
                PROVIDE (_FIXUP_END_ = .);
                PROVIDE (_GOT2_END_ = .);
                PROVIDE (_GOT2_END_ = .);
                PROVIDE (_GOT_START_ = .);
                PROVIDE (_GOT_START_ = .);
  .got            : { *(.got) }
  .got            : { *(.got) }
  .got.plt        : { *(.got.plt) }
  .got.plt        : { *(.got.plt) }
                PROVIDE (_GOT_END_ = .);
                PROVIDE (_GOT_END_ = .);
  /* We want the small data sections together, so single-instruction offsets
  /* We want the small data sections together, so single-instruction offsets
     can access them all, and initialized data all before uninitialized, so
     can access them all, and initialized data all before uninitialized, so
     we can shorten the on-disk segment size.  */
     we can shorten the on-disk segment size.  */
  .sdata          : { *(.sdata) }
  .sdata          : { *(.sdata) }
  _edata  =  .;
  _edata  =  .;
  PROVIDE (edata = .);
  PROVIDE (edata = .);
  .sbss      :
  .sbss      :
  {
  {
    PROVIDE (__sbss_start = .);
    PROVIDE (__sbss_start = .);
    *(.sbss)
    *(.sbss)
    *(.scommon)
    *(.scommon)
    PROVIDE (__sbss_end = .);
    PROVIDE (__sbss_end = .);
  }
  }
  .bss       :
  .bss       :
  {
  {
   PROVIDE (__bss_start = .);
   PROVIDE (__bss_start = .);
   *(.dynbss)
   *(.dynbss)
   *(.bss)
   *(.bss)
   *(COMMON)
   *(COMMON)
  }
  }
  _end = . ;
  _end = . ;
  PROVIDE (end = .);
  PROVIDE (end = .);
  /* These are needed for ELF backends which have not yet been
  /* These are needed for ELF backends which have not yet been
     converted to the new style linker.  */
     converted to the new style linker.  */
  .stab 0 : { *(.stab) }
  .stab 0 : { *(.stab) }
  .stabstr 0 : { *(.stabstr) }
  .stabstr 0 : { *(.stabstr) }
  /* DWARF debug sections.
  /* DWARF debug sections.
     Symbols in the DWARF debugging sections are relative to the beginning
     Symbols in the DWARF debugging sections are relative to the beginning
     of the section so we begin them at 0.  */
     of the section so we begin them at 0.  */
  /* DWARF 1 */
  /* DWARF 1 */
  .debug          0 : { *(.debug) }
  .debug          0 : { *(.debug) }
  .line           0 : { *(.line) }
  .line           0 : { *(.line) }
  /* GNU DWARF 1 extensions */
  /* GNU DWARF 1 extensions */
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
  .debug_sfnames  0 : { *(.debug_sfnames) }
  .debug_sfnames  0 : { *(.debug_sfnames) }
  /* DWARF 1.1 and DWARF 2 */
  /* DWARF 1.1 and DWARF 2 */
  .debug_aranges  0 : { *(.debug_aranges) }
  .debug_aranges  0 : { *(.debug_aranges) }
  .debug_pubnames 0 : { *(.debug_pubnames) }
  .debug_pubnames 0 : { *(.debug_pubnames) }
  /* DWARF 2 */
  /* DWARF 2 */
  .debug_info     0 : { *(.debug_info) }
  .debug_info     0 : { *(.debug_info) }
  .debug_abbrev   0 : { *(.debug_abbrev) }
  .debug_abbrev   0 : { *(.debug_abbrev) }
  .debug_line     0 : { *(.debug_line) }
  .debug_line     0 : { *(.debug_line) }
  .debug_frame    0 : { *(.debug_frame) }
  .debug_frame    0 : { *(.debug_frame) }
  .debug_str      0 : { *(.debug_str) }
  .debug_str      0 : { *(.debug_str) }
  .debug_loc      0 : { *(.debug_loc) }
  .debug_loc      0 : { *(.debug_loc) }
  .debug_macinfo  0 : { *(.debug_macinfo) }
  .debug_macinfo  0 : { *(.debug_macinfo) }
  .debug_ranges   0 : { *(.debug_ranges) }
  .debug_ranges   0 : { *(.debug_ranges) }
  /* SGI/MIPS DWARF 2 extensions */
  /* SGI/MIPS DWARF 2 extensions */
  .debug_weaknames 0 : { *(.debug_weaknames) }
  .debug_weaknames 0 : { *(.debug_weaknames) }
  .debug_funcnames 0 : { *(.debug_funcnames) }
  .debug_funcnames 0 : { *(.debug_funcnames) }
  .debug_typenames 0 : { *(.debug_typenames) }
  .debug_typenames 0 : { *(.debug_typenames) }
  .debug_varnames  0 : { *(.debug_varnames) }
  .debug_varnames  0 : { *(.debug_varnames) }
  /* These must appear regardless of  .  */
  /* These must appear regardless of  .  */
}
}
 
 

powered by: WebSVN 2.1.0

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