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

Subversion Repositories or1k

[/] [or1k/] [branches/] [newlib/] [newlib/] [libgloss/] [mips/] [pmon.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
/* The following TEXT start address leaves space for the monitor
2
   workspace. */
3
 
4
ENTRY(_start)
5
OUTPUT_ARCH("mips:4000")
6
OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
7
GROUP(-lc -lpmon -lgcc)
8
SEARCH_DIR(.)
9
__DYNAMIC  =  0;
10
 
11
/*
12
 * Allocate the stack to be at the top of memory, since the stack
13
 * grows down
14
 */
15
PROVIDE (__stack = 0);
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
 */
26
PROVIDE (hardware_init_hook = 0);
27
PROVIDE (software_init_hook = 0);
28
 
29
SECTIONS
30
{
31
  . = 0xA0020000;
32
  .text : {
33
     _ftext = . ;
34
    *(.init)
35
     eprol  =  .;
36
    *(.text)
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
  .rdata : {
48
    *(.rdata)
49
  }
50
   _fdata = ALIGN(16);
51
  .data : {
52
    *(.data)
53
    CONSTRUCTORS
54
  }
55
  . = ALIGN(8);
56
  _gp = . + 0x8000;
57
  __global = _gp;
58
  .lit8 : {
59
    *(.lit8)
60
  }
61
  .lit4 : {
62
    *(.lit4)
63
  }
64
  .sdata : {
65
    *(.sdata)
66
  }
67
  . = ALIGN(4);
68
   edata  =  .;
69
   _edata  =  .;
70
   _fbss = .;
71
  .sbss : {
72
    *(.sbss)
73
    *(.scommon)
74
  }
75
  .bss : {
76
    _bss_start = . ;
77
    *(.bss)
78
    *(COMMON)
79
  }
80
 
81
   end = .;
82
   _end = .;
83
 
84
  /* DWARF debug sections.
85
     Symbols in the DWARF debugging sections are relative to
86
     the beginning of the section so we begin them at 0.  */
87
 
88
  /* DWARF 1 */
89
  .debug          0 : { *(.debug) }
90
  .line           0 : { *(.line) }
91
 
92
  /* GNU DWARF 1 extensions */
93
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
94
  .debug_sfnames  0 : { *(.debug_sfnames) }
95
 
96
  /* DWARF 1.1 and DWARF 2 */
97
  .debug_aranges  0 : { *(.debug_aranges) }
98
  .debug_pubnames 0 : { *(.debug_pubnames) }
99
 
100
  /* DWARF 2 */
101
  .debug_info     0 : { *(.debug_info) }
102
  .debug_abbrev   0 : { *(.debug_abbrev) }
103
  .debug_line     0 : { *(.debug_line) }
104
  .debug_frame    0 : { *(.debug_frame) }
105
  .debug_str      0 : { *(.debug_str) }
106
  .debug_loc      0 : { *(.debug_loc) }
107
  .debug_macinfo  0 : { *(.debug_macinfo) }
108
 
109
  /* SGI/MIPS DWARF 2 extensions */
110
  .debug_weaknames 0 : { *(.debug_weaknames) }
111
  .debug_funcnames 0 : { *(.debug_funcnames) }
112
  .debug_typenames 0 : { *(.debug_typenames) }
113
  .debug_varnames  0 : { *(.debug_varnames) }
114
}

powered by: WebSVN 2.1.0

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