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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [libgloss/] [mips/] [dve.ld] - Blame information for rev 39

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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