Changeset 8f10c92 in rtems
- Timestamp:
- 01/03/03 16:45:10 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 9cd4a6e8
- Parents:
- 828be6d
- Location:
- c/src/lib/libbsp/mips
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/mips/genmongoosev/ChangeLog
r828be6d r8f10c92 1 2002-12-08 Greg Menke <gregory.menke@gsfc.nasa.gov> 2 3 * bsp_specs: Added crtbegin/crtend and INIT_FINI for C++ support. 4 * linkcmds: Added .init, .fini & related sections. 5 1 6 2002-12-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 7 -
c/src/lib/libbsp/mips/genmongoosev/bsp_specs
r828be6d r8f10c92 6 6 7 7 *cpp: 8 %(old_cpp) %{qrtems: -D__embedded__ } -Asystem(embedded)8 %(old_cpp) %{qrtems: -D__embedded__ -D__USE_INIT_FINI__ } -Asystem(embedded) 9 9 10 10 *lib: … … 16 16 *startfile: 17 17 %{!qrtems: %(old_startfile)} %{!nostdlib: %{qrtems: \ 18 %{!qnostartfile: %{!qrtems_debug: start.o%s} \19 %{qrtems_debug: start_g.o%s}}}}18 %{!qnostartfile: %{!qrtems_debug: start.o%s} \ 19 %{qrtems_debug: start_g.o%s}} crti.o%s crtbegin.o%s }} 20 20 21 21 *link: 22 22 %(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start} 23 23 24 *endfile: 25 %{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s } 26 -
c/src/lib/libbsp/mips/genmongoosev/start/start.S
r828be6d r8f10c92 412 412 */ 413 413 .globl exit .text 414 .globl _init 415 .ent _init 416 _init :414 .globl _initialize_rtems 415 .ent _initialize_rtems 416 _initialize_rtems: 417 417 418 418 /* … … 446 446 jal _sys_exit 447 447 nop 448 .end _init 448 .end _initialize_rtems 449 449 450 450 … … 579 579 # LOCK = 0: 0 : Disable cache lock 580 580 # 581 li t0,0x00027AA0 581 # 0x00027AA0 caches on 582 # 0x00027220 caches off 583 # 584 li t0,0x00027aa0 582 585 sw t0,M_BIU 583 586 -
c/src/lib/libbsp/mips/genmongoosev/startup/linkcmds
r828be6d r8f10c92 15 15 _RamSize = DEFINED(_RamSize) ? _RamSize : 32M; 16 16 HeapSize = DEFINED(HeapSize) ? HeapSize : 0x40000; 17 _StackSize = DEFINED(_StackSize) ? _StackSize : 0x 1000;17 _StackSize = DEFINED(_StackSize) ? _StackSize : 0x4000; 18 18 ClockRate = DEFINED(ClockRate) ? ClockRate : 12000000; 19 19 … … 30 30 { 31 31 _ftext = . ; 32 *(.init) 33 eprol = .; 32 33 */start.o(.text) 34 34 35 *(.text) 35 36 *(.text.*) 36 *(.eh_frame)37 37 *(.gnu.linkonce.t*) 38 38 *(.mips16.fn.*) … … 42 42 *(.rel.dyn) 43 43 PROVIDE (__runtime_reloc_stop = .); 44 *(.fini) 44 45 45 *(.gcc_except_table) 46 *(.eh_frame_hdr) 47 *(.eh_frame) 46 48 } >ram 49 50 .init : 51 { 52 KEEP(*(.init)) 53 54 } > ram 55 56 .fini : 57 { 58 KEEP(*(.fini)) 59 60 } > ram 61 47 62 48 63 .ctors : … … 100 115 } >ram 101 116 117 .jcr : 118 { 119 . = ALIGN(8); 120 KEEP (*(.jcr)) 121 122 _gp = ALIGN(16) + 0x7440; 123 __global = _gp; 124 } >ram 102 125 103 126 .lit8 : 104 127 { 105 . = ALIGN(8);106 107 _gp = . + 0x8000;108 __global = _gp;109 128 *(.lit8) 110 129 } >ram -
c/src/lib/libbsp/mips/jmr3904/ChangeLog
r828be6d r8f10c92 1 2002-12-08 Greg Menke <gregory.menke@gsfc.nasa.gov> 2 3 * bsp_specs: Added crtbegin/crtend and INIT_FINI for C++ support. 4 * linkcmds: Added .init, .fini & related sections. 5 1 6 2002-12-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 7 -
c/src/lib/libbsp/mips/jmr3904/bsp_specs
r828be6d r8f10c92 6 6 7 7 *cpp: 8 %(old_cpp) %{qrtems: -D__embedded__ } -Asystem(embedded)8 %(old_cpp) %{qrtems: -D__embedded__ -D__USE_INIT_FINI__} -Asystem(embedded) 9 9 10 10 *lib: … … 17 17 *startfile: 18 18 %{!qrtems: %(old_startfile)} %{!nostdlibs: %{qrtems: \ 19 %{!qrtems_debug: start.o%s} \20 %{qrtems_debug: start_g.o%s}}}19 %{!qrtems_debug: start.o%s} \ 20 %{qrtems_debug: start_g.o%s} crti.o%s crtbegin.o%s }} 21 21 22 22 *link: 23 23 %(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start} 24 24 25 *endfile: 26 %{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s } -
c/src/lib/libbsp/mips/jmr3904/startup/linkcmds
r828be6d r8f10c92 23 23 *(.text.*) 24 24 *(.gnu.linkonce.t*) 25 *(.init)26 25 *(.mips16.fn.*) 27 26 *(.mips16.call.*) … … 29 28 *(.rel.sdata) 30 29 PROVIDE (__runtime_reloc_stop = .); 31 *(.fini) 32 etext = .; 33 _etext = .; 34 } 30 31 *(.gcc_except_table) 32 *(.eh_frame_hdr) 33 *(.eh_frame) 34 } 35 36 .init : 37 { 38 KEEP(*(.init)) 39 } 40 41 .fini : 42 { 43 KEEP(*(.fini)) 44 } 45 35 46 .ctors : 36 47 { … … 63 74 KEEP (*(SORT(.dtors.*))) 64 75 KEEP (*(.dtors)) 76 77 etext = .; 78 _etext = .; 65 79 } 66 80 67 . = .;68 81 .rdata : { 69 82 *(.rdata) … … 73 86 } 74 87 _fdata = ALIGN(16); 88 75 89 .data : { 76 90 *(.data) 77 91 *(.data.*) 78 92 *(.gnu.linkonce.d*) 79 93 SORT(CONSTRUCTORS) 80 94 } 81 95 . = ALIGN(8); 82 _gp = . + 0x8000; 96 97 .jcr : { 98 KEEP (*(.jcr)) 99 } 100 101 _gp = ALIGN(16) + 0x7440; 83 102 __global = _gp; 103 104 .sdata : { 105 *(.sdata) 106 *(.sdata.*) 107 *(.gnu.linkonce.s*) 108 } 84 109 .lit8 : { 85 110 *(.lit8) … … 88 113 *(.lit4) 89 114 } 90 .sdata : { 91 *(.sdata) 92 *(.sdata.*) 93 *(.gnu.linkonce.s*) 94 } 95 . = ALIGN(4); 115 96 116 edata = .; 97 117 _edata = .; 98 118 _fbss = .; 119 99 120 .sbss : { 100 121 *(.sbss)
Note: See TracChangeset
for help on using the changeset viewer.