Ignore:
Timestamp:
Jan 3, 2003, 4:45:10 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9cd4a6e8
Parents:
828be6d
Message:

2002-12-08 Greg Menke <gregory.menke@…>

  • bsp_specs: Added crtbegin/crtend and INIT_FINI for C++ support.
  • linkcmds: Added .init, .fini & related sections.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/genmongoosev/startup/linkcmds

    r828be6d r8f10c92  
    1515_RamSize = DEFINED(_RamSize) ? _RamSize : 32M;
    1616HeapSize = DEFINED(HeapSize) ? HeapSize : 0x40000;
    17 _StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
     17_StackSize = DEFINED(_StackSize) ? _StackSize : 0x4000;
    1818ClockRate = DEFINED(ClockRate) ? ClockRate : 12000000;
    1919
     
    3030    {
    3131       _ftext = . ;
    32       *(.init)
    33        eprol  =  .;
     32
     33      */start.o(.text)
     34
    3435      *(.text)
    3536      *(.text.*)
    36       *(.eh_frame)
    3737      *(.gnu.linkonce.t*)
    3838      *(.mips16.fn.*)
     
    4242      *(.rel.dyn)
    4343      PROVIDE (__runtime_reloc_stop = .);
    44       *(.fini)
     44
    4545      *(.gcc_except_table)
     46      *(.eh_frame_hdr)
     47      *(.eh_frame)
    4648    } >ram 
     49
     50  .init :
     51  {
     52     KEEP(*(.init))
     53
     54  } > ram
     55
     56  .fini :
     57  {
     58     KEEP(*(.fini))
     59
     60  }  > ram
     61
    4762
    4863  .ctors    :
     
    100115  } >ram 
    101116
     117  .jcr :
     118  {
     119    . = ALIGN(8);
     120    KEEP (*(.jcr))
     121
     122    _gp = ALIGN(16) + 0x7440;
     123    __global = _gp;
     124  } >ram
    102125
    103126  .lit8 :
    104127  {
    105     . = ALIGN(8);
    106 
    107     _gp = . + 0x8000;
    108     __global = _gp;
    109128    *(.lit8)
    110129  } >ram 
Note: See TracChangeset for help on using the changeset viewer.