1
OUTPUT_FORMAT("elf32-microblaze", "", "")
2
/* SEARCH_DIR(/home/jwilliams/tmp/microblaze-toolchain-sources/release/lin/microblaze//lib);*/
7
flatmem : ORIGIN = 0x0, LENGTH = 0x00008000 /* 32KB */
12
_TEXT_START_ADDR = DEFINED(_TEXT_START_ADDR) ? _TEXT_START_ADDR : 0x50;
13
.vectors.reset 0x0 : { *(.vectors.reset) } > flatmem
14
.vectors.sw_exception 0x8 : { *(.vectors.sw_exception) } > flatmem
15
.vectors.interrupt 0x10 : { *(.vectors.interrupt) } > flatmem
16
.vectors.hw_exception 0x20 : { *(.vectors.hw_exception) } >flatmem
25
.init : { KEEP (*(.init)) } > flatmem =0
26
.fini : { KEEP (*(.fini)) } > flatmem =0
27
PROVIDE (__CTOR_LIST__ = .);
28
PROVIDE (___CTOR_LIST__ = .);
31
/* gcc uses crtbegin.o to find the start of
32
the constructors, so we make sure it is
33
first. Because this is a wildcard, it
34
doesn't matter if the user does not
35
actually link against crtbegin.o; the
36
linker won't look for a file to match a
37
wildcard. The wildcard also means that it
38
doesn't matter which directory crtbegin.o
40
KEEP (*crtbegin.o(.ctors))
41
/* We don't want to include the .ctor section from
42
from the crtend.o file until after the sorted ctors.
43
The .ctor section from the crtend file contains the
44
end of ctors marker and it must be last */
45
KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))
46
KEEP (*(SORT(.ctors.*)))
49
PROVIDE (__CTOR_END__ = .);
50
PROVIDE (___CTOR_END__ = .);
51
PROVIDE (__DTOR_LIST__ = .);
52
PROVIDE (___DTOR_LIST__ = .);
55
KEEP (*crtbegin.o(.dtors))
56
KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))
57
KEEP (*(SORT(.dtors.*)))
60
PROVIDE (__DTOR_END__ = .);
61
PROVIDE (___DTOR_END__ = .);
67
CONSTRUCTORS; /* Is this needed? */
70
/* Alignments by 8 to ensure that _SDA2_BASE_ on a word boundary */
71
/* Note that .sdata2 and .sbss2 must be contiguous */
80
PROVIDE (__sbss2_start = .);
82
*(.gnu.linkonce.sb2.*)
83
PROVIDE (__sbss2_end = .);
87
_ssrw_size = _essrw - _ssrw;
88
PROVIDE (_SDA2_BASE_ = _ssrw + (_ssrw_size / 2 ));
94
CONSTRUCTORS; /* Is this needed? */
97
/* Added to handle pic code */
107
/* Added by Sathya to handle C++ exceptions */
114
.gcc_except_table : {
117
/* Alignments by 8 to ensure that _SDA_BASE_ on a word boundary */
118
/* Note that .sdata and .sbss must be contiguous */
127
PROVIDE (__sbss_start = .);
129
*(.gnu.linkonce.sb.*)
130
PROVIDE (__sbss_end = .);
134
_ssro_size = _essro - _ssro;
135
PROVIDE (_SDA_BASE_ = _ssro + (_ssro_size / 2 ));
139
PROVIDE (__bss_start = .);
144
PROVIDE (__bss_end = .);
146
_HEAP_SIZE = DEFINED(_HEAP_SIZE) ? _HEAP_SIZE : 0x0;
147
_STACK_SIZE = DEFINED(_STACK_SIZE) ? _STACK_SIZE : 0x800;
157
*(.gnu.linkonce.td.*)
161
*(.gnu.linkonce.tb.*)