diff options
Diffstat (limited to 'arch/ia64/hp/sim/boot/bootloader.lds')
-rw-r--r-- | arch/ia64/hp/sim/boot/bootloader.lds | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/arch/ia64/hp/sim/boot/bootloader.lds b/arch/ia64/hp/sim/boot/bootloader.lds new file mode 100644 index 00000000000..69ae5853103 --- /dev/null +++ b/arch/ia64/hp/sim/boot/bootloader.lds | |||
@@ -0,0 +1,65 @@ | |||
1 | OUTPUT_FORMAT("elf64-ia64-little") | ||
2 | OUTPUT_ARCH(ia64) | ||
3 | ENTRY(_start) | ||
4 | SECTIONS | ||
5 | { | ||
6 | /* Read-only sections, merged into text segment: */ | ||
7 | . = 0x100000; | ||
8 | |||
9 | _text = .; | ||
10 | .text : { *(__ivt_section) *(.text) } | ||
11 | _etext = .; | ||
12 | |||
13 | /* Global data */ | ||
14 | _data = .; | ||
15 | .rodata : { *(.rodata) *(.rodata.*) } | ||
16 | .data : { *(.data) *(.gnu.linkonce.d*) CONSTRUCTORS } | ||
17 | __gp = ALIGN (8) + 0x200000; | ||
18 | .got : { *(.got.plt) *(.got) } | ||
19 | /* We want the small data sections together, so single-instruction offsets | ||
20 | can access them all, and initialized data all before uninitialized, so | ||
21 | we can shorten the on-disk segment size. */ | ||
22 | .sdata : { *(.sdata) } | ||
23 | _edata = .; | ||
24 | |||
25 | _bss = .; | ||
26 | .sbss : { *(.sbss) *(.scommon) } | ||
27 | .bss : { *(.bss) *(COMMON) } | ||
28 | . = ALIGN(64 / 8); | ||
29 | _end = . ; | ||
30 | |||
31 | /* Stabs debugging sections. */ | ||
32 | .stab 0 : { *(.stab) } | ||
33 | .stabstr 0 : { *(.stabstr) } | ||
34 | .stab.excl 0 : { *(.stab.excl) } | ||
35 | .stab.exclstr 0 : { *(.stab.exclstr) } | ||
36 | .stab.index 0 : { *(.stab.index) } | ||
37 | .stab.indexstr 0 : { *(.stab.indexstr) } | ||
38 | .comment 0 : { *(.comment) } | ||
39 | /* DWARF debug sections. | ||
40 | Symbols in the DWARF debugging sections are relative to the beginning | ||
41 | of the section so we begin them at 0. */ | ||
42 | /* DWARF 1 */ | ||
43 | .debug 0 : { *(.debug) } | ||
44 | .line 0 : { *(.line) } | ||
45 | /* GNU DWARF 1 extensions */ | ||
46 | .debug_srcinfo 0 : { *(.debug_srcinfo) } | ||
47 | .debug_sfnames 0 : { *(.debug_sfnames) } | ||
48 | /* DWARF 1.1 and DWARF 2 */ | ||
49 | .debug_aranges 0 : { *(.debug_aranges) } | ||
50 | .debug_pubnames 0 : { *(.debug_pubnames) } | ||
51 | /* DWARF 2 */ | ||
52 | .debug_info 0 : { *(.debug_info) } | ||
53 | .debug_abbrev 0 : { *(.debug_abbrev) } | ||
54 | .debug_line 0 : { *(.debug_line) } | ||
55 | .debug_frame 0 : { *(.debug_frame) } | ||
56 | .debug_str 0 : { *(.debug_str) } | ||
57 | .debug_loc 0 : { *(.debug_loc) } | ||
58 | .debug_macinfo 0 : { *(.debug_macinfo) } | ||
59 | /* SGI/MIPS DWARF 2 extensions */ | ||
60 | .debug_weaknames 0 : { *(.debug_weaknames) } | ||
61 | .debug_funcnames 0 : { *(.debug_funcnames) } | ||
62 | .debug_typenames 0 : { *(.debug_typenames) } | ||
63 | .debug_varnames 0 : { *(.debug_varnames) } | ||
64 | /* These must appear regardless of . */ | ||
65 | } | ||