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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [libgloss/] [mips/] [idtecoff.ld] - Blame information for rev 1774

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. i.e. the NEC VR4300 (IDT) first free address is actually
3
   0xa001af20. */
4
 
5
ENTRY(_start)
6
STARTUP(crt0.o)
7
OUTPUT_ARCH("mips:4000")
8
OUTPUT_FORMAT("ecoff-bigmips", "ecoff-bigmips", "ecoff-littlemips")
9
GROUP(-lc -lidt -lgcc)
10
SEARCH_DIR(.)
11
__DYNAMIC  =  0;
12
 
13
/*
14
 * Allocate the stack to be at the top of memory, since the stack
15
 * grows down
16
 */
17
PROVIDE (__stack = 0);
18
/* PROVIDE (__global = 0); */
19
 
20
/*
21
 * Initalize some symbols to be zero so we can reference them in the
22
 * crt0 without core dumping. These functions are all optional, but
23
 * we do this so we can have our crt0 always use them if they exist.
24
 * This is so BSPs work better when using the crt0 installed with gcc.
25
 * We have to initalize them twice, so we multiple object file
26
 * formats, as some prepend an underscore.
27
 */
28
PROVIDE (hardware_init_hook = 0);
29
PROVIDE (software_init_hook = 0);
30
 
31
SECTIONS
32
{
33
  . = 0xA0020000;
34
  .text : {
35
     _ftext = . ;
36
    *(.init)
37
     eprol  =  .;
38
    *(.text)
39 56 joel
    *(.text.*)
40
    *(.gnu.linkonce.t*)
41 39 lampret
    *(.mips16.fn.*)
42
    *(.mips16.call.*)
43
    PROVIDE (__runtime_reloc_start = .);
44
    *(.rel.sdata)
45
    PROVIDE (__runtime_reloc_stop = .);
46
    *(.fini)
47
     etext  =  .;
48
     _etext  =  .;
49
  }
50
  . = .;
51
  .rdata : {
52
    *(.rdata)
53 56 joel
    *(.rodata)
54
    *(.rodata.*)
55
    *(.gnu.linkonce.r*)
56 39 lampret
  }
57
   _fdata = ALIGN(16);
58
  .data : {
59
    *(.data)
60 56 joel
    *(.data.*)
61
    *(.gnu.linkonce.d*)
62 39 lampret
    CONSTRUCTORS
63
  }
64
  . = ALIGN(8);
65
  _gp = . + 0x8000;
66
  __global = _gp;
67
  .lit8 : {
68
    *(.lit8)
69
  }
70
  .lit4 : {
71
    *(.lit4)
72
  }
73
  .sdata : {
74
    *(.sdata)
75 56 joel
    *(.sdata.*)
76
    *(.gnu.linkonce.s*)
77 39 lampret
  }
78
  . = ALIGN(4);
79
   edata  =  .;
80
   _edata  =  .;
81
   _fbss = .;
82
  .sbss : {
83
    *(.sbss)
84
    *(.scommon)
85
  }
86
  .bss : {
87
    _bss_start = . ;
88
    *(.bss)
89
    *(COMMON)
90
  }
91
   end = .;
92
   _end = .;
93
}

powered by: WebSVN 2.1.0

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