blob: c31ac83501c9f1a2f3a4725bc3e5337ec826f025 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
#include "parisc/hppa_hardware.h"
#if BITS == 64
OUTPUT_FORMAT("elf64-hppa-linux")
OUTPUT_ARCH(hppa:hppa2.0w)
#else
OUTPUT_FORMAT("elf32-hppa-linux")
OUTPUT_ARCH(hppa)
#endif
ENTRY(startup)
SECTIONS
{
#if BITS == 64
/* limit firmware high bits to physical addresses to allow debug info */
. = ((FIRMWARE_HIGH & 0x3ffffff0) << 32) + FIRMWARE_START;
#else
. = FIRMWARE_START;
#endif
/* align on next page boundary */
. = ALIGN(4096);
.text : {
_text = .; /* Text */
*(.head.text)
*(.text)
*(.text.*)
_etext = . ;
}
. = ALIGN(4096);
.sti : {
_sti_rom_start = .;
*(.sti.hdr)
*(.sti.text.init_graph)
*(.sti.text.state_mgmt)
*(.sti.text.font_unpmv)
*(.sti.text.block_move)
*(.sti.text.self_test)
*(.sti.text.excep_hdlr)
*(.sti.text.inq_conf)
*(.sti.text.set_cm_entry)
*(.sti.text.dma_ctrl)
*(.sti.text)
*(.sti.data)
*(.sti.font)
*(.sti.text.end)
. = ALIGN(4096);
_sti_rom_end = .;
}
#if BITS == 64
. = ALIGN(16);
.opd : {
__start_opd = .;
*(.opd)
__end_opd = .;
} PROVIDE (__gp = .);
.plt : {
*(.plt)
}
.dlt : {
*(.dlt)
}
#endif
. = ALIGN(8);
.rodata : {
_rodata = . ;
*(.rodata) /* read-only data */
*(.rodata.*)
_erodata = . ;
}
. = ALIGN(8);
.data : {
_data = . ;
*(.data)
*(.data.*)
_edata = . ;
}
. = ALIGN(8);
.bss : {
_bss = . ;
*(.bss)
*(.bss.*)
*(COMMON)
_ebss = .;
}
/* STABS_DEBUG */
.note 0 : { *(.note) }
/* Sections to be discarded */
/DISCARD/ : {
}
}
|