blob: b3e508e9c300e94d203bfae54c84f1e7913af651 (
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
|
#include "config.h"
#include "cpu.h"
OUTPUT_FORMAT("elf32-littlemips")
OUTPUT_ARCH(MIPS)
ENTRY(_spl_start)
STARTUP(target/mips/ingenic_x1000/spl-start.o)
MEMORY {
TCSM : ORIGIN = X1000_SPL_EXEC_ADDR,
LENGTH = X1000_SPL_SIZE
}
SECTIONS
{
.text :
{
*(.startup.spl);
*(.text*);
*(.icode*);
*(.init*);
} > TCSM
. = ALIGN(4);
.rodata :
{
*(.rodata*);
} > TCSM
. = ALIGN(4);
.data :
{
*(.data*);
*(.sdata*);
} > TCSM
. = ALIGN(4);
.bss (NOLOAD) :
{
_bssbegin = .;
*(.sbss*);
*(.bss*);
*(COMMON);
*(.scommon*);
_bssend = .;
} > TCSM
/DISCARD/ :
{
*(.MIPS.abiflags);
*(.eh_frame);
*(.rel.dyn);
}
}
|