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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [libgloss/] [mips/] [jmr3904app-java.ld] - Blame information for rev 1782

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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