]> sourceware.org Git - newlib-cygwin.git/blame - libgloss/mips/jmr3904app-java.ld
powf: Fixed another precision bug in powf() (FreeBSD)
[newlib-cygwin.git] / libgloss / mips / jmr3904app-java.ld
CommitLineData
03261851
RK
1/* Linker script forJMR 3904 board using Java + qthreads */
2
3ENTRY(_start)
710c0fc4 4STARTUP(crt0.o)
03261851
RK
5OUTPUT_ARCH("mips:3000")
6OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
7GROUP(-lc -ljmr3904 -lgcc -lgcjcoop)
8SEARCH_DIR(.)
9__DYNAMIC = 0;
10
11PROVIDE (_mem_size = 0x100000); /* JMR3904 comes as standard with 512k of RAM */
12
13/* Set the size of the stack for Java with qthreads. */
14PROVIDE (_Jv_QthreadsStackSize = 0x10000);
15
16/* PROVIDE (__global = 0); */
17
18/*
19 * Initalize some symbols to be zero so we can reference them in the
20 * crt0 without core dumping. These functions are all optional, but
21 * we do this so we can have our crt0 always use them if they exist.
22 * This is so BSPs work better when using the crt0 installed with gcc.
23 * We have to initalize them twice, so we multiple object file
24 * formats, as some prepend an underscore.
25 */
451e4528
JJ
26PROVIDE (hardware_exit_hook = 0);
27PROVIDE (hardware_hazard_hook = 0);
03261851
RK
28PROVIDE (hardware_init_hook = 0);
29PROVIDE (software_init_hook = 0);
30
31SECTIONS
32{
33 . = 0x80008000;
34 /* This is NOT the address which fits with the monitor from jmr. */
35 /* It fits the Cygmon ROMS */
36 .text : {
37 _ftext = . ;
576d455f 38 KEEP (*(.init))
03261851
RK
39 eprol = .;
40 *(.text)
41 *(.text.*)
3924c5c7 42 *(.gnu.linkonce.t.*)
03261851
RK
43 *(.mips16.fn.*)
44 *(.mips16.call.*)
45 PROVIDE (__runtime_reloc_start = .);
46 *(.rel.sdata)
47 PROVIDE (__runtime_reloc_stop = .);
576d455f 48 KEEP (*(.fini))
03261851
RK
49 etext = .;
50 _etext = .;
51 }
52 . = .;
53 .rodata : {
54 *(.rdata)
55 *(.rodata)
56 *(.rodata.*)
3924c5c7 57 *(.gnu.linkonce.r.*)
03261851
RK
58 }
59 _fdata = ALIGN(16);
a9a0d219 60 . = _fdata;
03261851
RK
61 .data : {
62 *(.data)
63 *(.data.*)
3924c5c7 64 *(.gnu.linkonce.d.*)
03261851
RK
65 CONSTRUCTORS
66 }
67 . = ALIGN(8);
68 _gp = . + 0x8000;
69 __global = _gp;
70 .lit8 : {
71 *(.lit8)
72 }
73 .lit4 : {
74 *(.lit4)
75 }
76 .sdata : {
77 *(.sdata)
78 *(.sdata.*)
650c3027 79 *(.gnu.linkonce.s.*)
03261851
RK
80 }
81 . = ALIGN(4);
82 edata = .;
83 _edata = .;
84 _fbss = .;
85 .sbss : {
86 *(.sbss)
650c3027
JJ
87 *(.sbss.*)
88 *(.gnu.linkonce.sb.*)
03261851
RK
89 *(.scommon)
90 }
91 .bss : {
92 _bss_start = . ;
93 *(.bss)
dd8ed8c6 94 *(.bss.*)
3924c5c7 95 *(.gnu.linkonce.b.*)
03261851
RK
96 *(COMMON)
97 . += 0x2000 ; /* 8k bytes of stack. */
98 __stack = ALIGN(64) ;
99 . = __stack ;
100 }
101
6661a677 102 . = ALIGN(4);
03261851
RK
103 end = .;
104 _end = .;
105
106 /* DWARF debug sections.
107 Symbols in the DWARF debugging sections are relative to
108 the beginning of the section so we begin them at 0. */
109
110 /* DWARF 1 */
111 .debug 0 : { *(.debug) }
112 .line 0 : { *(.line) }
113
114 /* GNU DWARF 1 extensions */
115 .debug_srcinfo 0 : { *(.debug_srcinfo) }
116 .debug_sfnames 0 : { *(.debug_sfnames) }
117
118 /* DWARF 1.1 and DWARF 2 */
119 .debug_aranges 0 : { *(.debug_aranges) }
120 .debug_pubnames 0 : { *(.debug_pubnames) }
121
122 /* DWARF 2 */
123 .debug_info 0 : { *(.debug_info) }
124 .debug_abbrev 0 : { *(.debug_abbrev) }
125 .debug_line 0 : { *(.debug_line) }
126 .debug_frame 0 : { *(.debug_frame) }
127 .debug_str 0 : { *(.debug_str) }
128 .debug_loc 0 : { *(.debug_loc) }
129 .debug_macinfo 0 : { *(.debug_macinfo) }
fece73ae 130 .debug_ranges 0 : { *(.debug_ranges) }
03261851
RK
131
132 /* SGI/MIPS DWARF 2 extensions */
133 .debug_weaknames 0 : { *(.debug_weaknames) }
134 .debug_funcnames 0 : { *(.debug_funcnames) }
135 .debug_typenames 0 : { *(.debug_typenames) }
136 .debug_varnames 0 : { *(.debug_varnames) }
137}
This page took 0.250654 seconds and 6 git commands to generate.