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

Subversion Repositories openfire2

[/] [openfire2/] [trunk/] [sw/] [link/] [script-bram.ld] - Blame information for rev 6

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 toni32
SEARCH_DIR(/cygdrive/c/edk/gnu/microblaze/nt/microblaze/lib);
2
_STACK_START = DEFINED(_STACK_START) ? _STACK_START : 0x2000;   /* initial stack at end of block-ram */
3
 
4
ENTRY (_start)
5
MEMORY {
6
        flatmem : ORIGIN = 0x0, LENGTH = 0xfffffff              /* flat memory model */
7
}
8
 
9
SECTIONS {
10
        .text 0x0 : {
11
                . = ALIGN(0x4) ;
12
                _stext = . ;
13
                *(.text)
14
                *(.text.*)
15
                *(.gnu.warning)
16
                *(.stub)
17
                *(.gnu.linkonce.t*)
18
                *(.glue_7t)
19
                *(.glue_7)
20
                *(.jcr)
21
                *(.init)
22
                *(.fini)
23
 
24
                *(.rodata)
25
                *(.rodata1)
26
                *(.rodata.*)
27
 
28
                /* This is special code area at the end of the normal
29
                   text section.  It contains a small lookup table at
30
                   the start followed by the code pointed to by entries
31
                   in the lookup table.  */
32
                . = ALIGN (0x4) ;
33
                PROVIDE(__ctbp = .);
34
                *(.call_table_data)
35
                *(.call_table_text)
36
 
37
                . = ALIGN(0x4) ;
38
                _etext = . ;
39
        } > flatmem
40
        .data : {
41
                . = ALIGN(0x4) ;
42
                _sdata = . ;
43
                __data_start = . ;
44
                data_start = . ;
45
                *(.got.plt)
46
                *(.got)
47
/*              FILL(0) ;
48
                . = ALIGN(0x04) ;
49
                LONG(-1)
50
                . = ALIGN(0x04) ; */
51
                *(.rodata)
52
                *(.rodata1)
53
                *(.rodata.*)
54
                *(.gnu.linkonce.r*)
55
                *(.data)
56
                *(.data1)
57
                *(.data.*)
58
                *(.gnu.linkonce.d*)
59
                *(.data1)
60
                *(.eh_frame)
61
                *(.gcc_except_table)
62
 
63
                /* Microblaze has .sdata and .sbss (small bss).  They must
64
                   be contiguous, so please don't move any of this. JW */
65
                _ssrw = . ;
66
                *(.sdata)
67
                *(.sdata.*)
68
                __sbss_start = . ;
69
                *(.sbss)                        /* Don't move this! */
70
                __sbss_end = . ;
71
                _essrw = . ;
72
 
73
                _ssrw_size = _essrw - _ssrw;
74
                PROVIDE(_SDA_BASE_ = _ssrw + (_ssrw_size / 2));
75
 
76
                *(.gnu.linkonce.s.*)
77
                *(__libc_atexit)
78
                *(__libc_subinit)
79
                *(__libc_subfreeres)
80
                *(.note.ABI-tag)
81
 
82
                /* microblaze-specific read-only small data area
83
                   and associated locating symbols */
84
                _ssro = . ;
85
                *(.sdata2)
86
                _essro = . ;
87
                _ssro_size = _essro - _ssro;
88
                PROVIDE(_SDA2_BASE_ = _ssro + (_ssro_size / 2));
89
 
90
                . = ALIGN(4) ;
91
                __CTOR_LIST__ = .;
92
                LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
93
                *(.ctors)
94
                LONG(0)
95
                __CTOR_END__ = .;
96
                __DTOR_LIST__ = .;
97
                LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
98
                *(.dtors)
99
                LONG(0)
100
                __DTOR_END__ = .;
101
 
102
                . = ALIGN(0x4) ;
103
                _edata = . ;
104
        } > flatmem
105
        .bss : {
106
                . = ALIGN(0x4) ;
107
                _sbss = ALIGN(0x4) ;
108
                __bss_start = . ;
109
                *(.dynsbss)
110
                *(.sbss)
111
                *(.sbss.*)
112
                *(.scommon)
113
                *(.dynbss)
114
                *(.bss)
115
                *(.bss.*)
116
                *(.bss*)
117
                *(.gnu.linkonce.b*)
118
                *(COMMON)
119
                __bss_end = . ;
120
                _ebss = . ;
121
                _end = . ;
122
                end = . ;
123
        } > flatmem
124
 
125
        .junk 0 : { *(.rel*) *(.rela*) }
126
        /* Stabs debugging sections.    */
127
        .stab 0 : { *(.stab) }
128
        .stabstr 0 : { *(.stabstr) }
129
        .stab.excl 0 : { *(.stab.excl) }
130
        .stab.exclstr 0 : { *(.stab.exclstr) }
131
        .stab.index 0 : { *(.stab.index) }
132
        .stab.indexstr 0 : { *(.stab.indexstr) }
133
        .comment 0 : { *(.comment) }
134
        .debug_abbrev 0 : { *(.debug_abbrev) }
135
        .debug_info 0 : { *(.debug_info) }
136
        .debug_line 0 : { *(.debug_line) }
137
        .debug_pubnames 0 : { *(.debug_pubnames) }
138
        .debug_aranges 0 : { *(.debug_aranges) }
139
}

powered by: WebSVN 2.1.0

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