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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [ia64/] [vmlinux.lds.S] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#include 
2
 
3
#include 
4
#include 
5
#include 
6
 
7
OUTPUT_FORMAT("elf64-ia64-little")
8
OUTPUT_ARCH(ia64)
9
ENTRY(phys_start)
10
SECTIONS
11
{
12
  /* Sections to be discarded */
13
  /DISCARD/ : {
14
        *(.text.exit)
15
        *(.data.exit)
16
        *(*.text.exit)
17
        *(*.data.exit)
18
        *(.exitcall.exit)
19
        *(.IA_64.unwind.text.exit)
20
        *(.IA_64.unwind_info.text.exit)
21
        }
22
 
23
  v = PAGE_OFFSET;      /* this symbol is here to make debugging easier... */
24
  phys_start = _start - PAGE_OFFSET;
25
 
26
  . = KERNEL_START;
27
 
28
  _text = .;
29
  _stext = .;
30
 
31
  .text : AT(ADDR(.text) - PAGE_OFFSET)
32
    {
33
        *(.text.ivt)
34
        *(.text)
35
    }
36
  .text2 : AT(ADDR(.text2) - PAGE_OFFSET)
37
        { *(.text2) }
38
#ifdef CONFIG_SMP
39
  .text.lock : AT(ADDR(.text.lock) - PAGE_OFFSET)
40
        { *(.text.lock) }
41
#endif
42
  _etext = .;
43
 
44
  /* Read-only data */
45
 
46
  /* Global data */
47
  _data = .;
48
 
49
  /* Exception table */
50
  . = ALIGN(16);
51
  __ex_table : AT(ADDR(__ex_table) - PAGE_OFFSET)
52
        {
53
          __start___ex_table = .;
54
          *(__ex_table)
55
          __stop___ex_table = .;
56
        }
57
 
58
#if defined(CONFIG_IA64_GENERIC)
59
  /* Machine Vector */
60
  . = ALIGN(16);
61
  .machvec : AT(ADDR(.machvec) - PAGE_OFFSET)
62
        {
63
          machvec_start = .;
64
          *(.machvec)
65
          machvec_end = .;
66
        }
67
#endif
68
 
69
  __ksymtab : AT(ADDR(__ksymtab) - PAGE_OFFSET)
70
        {
71
          __start___ksymtab = .;        /* Kernel symbol table */
72
          *(__ksymtab)
73
          __stop___ksymtab = .;
74
        }
75
 
76
  __kallsyms : AT(ADDR(__kallsyms) - PAGE_OFFSET)
77
        {
78
          __start___kallsyms = .;       /* All kernel symbols for debugging */
79
          *(__kallsyms)
80
          __stop___kallsyms = .;
81
        }
82
 
83
  /* Unwind info & table: */
84
  . = ALIGN(8);
85
  .IA_64.unwind_info : AT(ADDR(.IA_64.unwind_info) - PAGE_OFFSET)
86
        { *(.IA_64.unwind_info*) }
87
  .IA_64.unwind : AT(ADDR(.IA_64.unwind) - PAGE_OFFSET)
88
        {
89
          ia64_unw_start = .;
90
          *(.IA_64.unwind*)
91
          ia64_unw_end = .;
92
        }
93
 
94
  .rodata : AT(ADDR(.rodata) - PAGE_OFFSET)
95
        { *(.rodata) *(.rodata.*) }
96
  .kstrtab : AT(ADDR(.kstrtab) - PAGE_OFFSET)
97
        { *(.kstrtab) }
98
  .opd : AT(ADDR(.opd) - PAGE_OFFSET)
99
        { *(.opd) }
100
 
101
  /* Initialization code and data: */
102
 
103
  . = ALIGN(PAGE_SIZE);
104
  __init_begin = .;
105
  .text.init : AT(ADDR(.text.init) - PAGE_OFFSET)
106
        { *(.text.init) }
107
 
108
  .data.init : AT(ADDR(.data.init) - PAGE_OFFSET)
109
        { *(.data.init) }
110
   . = ALIGN(16);
111
  .setup.init : AT(ADDR(.setup.init) - PAGE_OFFSET)
112
        {
113
          __setup_start = .;
114
          *(.setup.init)
115
          __setup_end = .;
116
        }
117
  .initcall.init : AT(ADDR(.initcall.init) - PAGE_OFFSET)
118
        {
119
          __initcall_start = .;
120
          *(.initcall.init)
121
          __initcall_end = .;
122
        }
123
  . = ALIGN(PAGE_SIZE);
124
  __init_end = .;
125
 
126
  /* The initial task and kernel stack */
127
  init_task : AT(ADDR(init_task) - PAGE_OFFSET)
128
        { *(init_task) }
129
 
130
  .data.page_aligned : AT(ADDR(.data.page_aligned) - PAGE_OFFSET)
131
        { *(__special_page_section)
132
          __start_gate_section = .;
133
          *(.text.gate)
134
          __stop_gate_section = .;
135
        }
136
 
137
  . = ALIGN(SMP_CACHE_BYTES);
138
  .data.cacheline_aligned : AT(ADDR(.data.cacheline_aligned) - PAGE_OFFSET)
139
        { *(.data.cacheline_aligned) }
140
 
141
  /* Kernel symbol names for modules: */
142
  .kstrtab : AT(ADDR(.kstrtab) - PAGE_OFFSET)
143
        { *(.kstrtab) }
144
 
145
  .data : AT(ADDR(.data) - PAGE_OFFSET)
146
        { *(.data) *(.gnu.linkonce.d*) CONSTRUCTORS }
147
 
148
 
149
  . = ALIGN(16);
150
  __gp = . + 0x200000;  /* gp must be 16-byte aligned for exc. table */
151
 
152
  .got : AT(ADDR(.got) - PAGE_OFFSET)
153
        { *(.got.plt) *(.got) }
154
  /* We want the small data sections together, so single-instruction offsets
155
     can access them all, and initialized data all before uninitialized, so
156
     we can shorten the on-disk segment size.  */
157
  .sdata : AT(ADDR(.sdata) - PAGE_OFFSET)
158
        { *(.sdata) }
159
  _edata  =  .;
160
  _bss = .;
161
  .sbss : AT(ADDR(.sbss) - PAGE_OFFSET)
162
        { *(.sbss) *(.scommon) }
163
  .bss : AT(ADDR(.bss) - PAGE_OFFSET)
164
        { *(.bss) *(COMMON) }
165
  . = ALIGN(64 / 8);
166
  _end = .;
167
 
168
  /* Stabs debugging sections.  */
169
  .stab 0 : { *(.stab) }
170
  .stabstr 0 : { *(.stabstr) }
171
  .stab.excl 0 : { *(.stab.excl) }
172
  .stab.exclstr 0 : { *(.stab.exclstr) }
173
  .stab.index 0 : { *(.stab.index) }
174
  .stab.indexstr 0 : { *(.stab.indexstr) }
175
  /* DWARF debug sections.
176
     Symbols in the DWARF debugging sections are relative to the beginning
177
     of the section so we begin them at 0.  */
178
  /* DWARF 1 */
179
  .debug          0 : { *(.debug) }
180
  .line           0 : { *(.line) }
181
  /* GNU DWARF 1 extensions */
182
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
183
  .debug_sfnames  0 : { *(.debug_sfnames) }
184
  /* DWARF 1.1 and DWARF 2 */
185
  .debug_aranges  0 : { *(.debug_aranges) }
186
  .debug_pubnames 0 : { *(.debug_pubnames) }
187
  /* DWARF 2 */
188
  .debug_info     0 : { *(.debug_info) }
189
  .debug_abbrev   0 : { *(.debug_abbrev) }
190
  .debug_line     0 : { *(.debug_line) }
191
  .debug_frame    0 : { *(.debug_frame) }
192
  .debug_str      0 : { *(.debug_str) }
193
  .debug_loc      0 : { *(.debug_loc) }
194
  .debug_macinfo  0 : { *(.debug_macinfo) }
195
  /* SGI/MIPS DWARF 2 extensions */
196
  .debug_weaknames 0 : { *(.debug_weaknames) }
197
  .debug_funcnames 0 : { *(.debug_funcnames) }
198
  .debug_typenames 0 : { *(.debug_typenames) }
199
  .debug_varnames  0 : { *(.debug_varnames) }
200
  /* These must appear regardless of  .  */
201
  /* Discard them for now since Intel SoftSDV cannot handle them.
202
  .comment 0 : { *(.comment) }
203
  .note 0 : { *(.note) }
204
  */
205
  /DISCARD/ : { *(.comment) }
206
  /DISCARD/ : { *(.note) }
207
}

powered by: WebSVN 2.1.0

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