summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/boot.lds28
1 files changed, 10 insertions, 18 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/boot.lds b/firmware/target/mips/ingenic_jz47xx/boot.lds
index 27daab83c2..fb30fa240f 100644
--- a/firmware/target/mips/ingenic_jz47xx/boot.lds
+++ b/firmware/target/mips/ingenic_jz47xx/boot.lds
@@ -28,14 +28,14 @@ SECTIONS
28 *(.init.text); 28 *(.init.text);
29 *(.text*); 29 *(.text*);
30 } > DRAM 30 } > DRAM
31 31
32 . = ALIGN(4); 32 . = ALIGN(4);
33 33
34 .rodata : 34 .rodata :
35 { 35 {
36 *(.rodata*); 36 *(.rodata*);
37 } > DRAM 37 } > DRAM
38 38
39 . = ALIGN(4); 39 . = ALIGN(4);
40 40
41 .data : 41 .data :
@@ -44,9 +44,9 @@ SECTIONS
44 *(.sdata*); 44 *(.sdata*);
45 *(.rel.dyn); 45 *(.rel.dyn);
46 } > DRAM 46 } > DRAM
47 47
48 . = ALIGN(4); 48 . = ALIGN(4);
49 49
50 .iram IRAMORIG: 50 .iram IRAMORIG:
51 { 51 {
52 _iramstart = .; 52 _iramstart = .;
@@ -58,7 +58,7 @@ SECTIONS
58 . = 0x200; 58 . = 0x200;
59 *(.vectors.4); 59 *(.vectors.4);
60 *(.vectors); 60 *(.vectors);
61 61
62 *(.icode); 62 *(.icode);
63 *(.irodata); 63 *(.irodata);
64 *(.idata); 64 *(.idata);
@@ -66,30 +66,22 @@ SECTIONS
66 _iramend = .; 66 _iramend = .;
67 } > IRAM AT> DRAM 67 } > IRAM AT> DRAM
68 _iramcopy = LOADADDR(.iram); 68 _iramcopy = LOADADDR(.iram);
69 69
70 . = ALIGN(4); 70 . = ALIGN(4);
71 71
72 .bss (NOLOAD): 72 .bss (NOLOAD):
73 { 73 {
74 _edata = .; 74 _edata = .;
75 *(.sbss*); 75 *(.sbss*);
76 *(.bss*); 76 *(.bss*);
77 *(.ibss*);
77 *(COMMON); 78 *(COMMON);
78 *(.scommon*); 79 *(.scommon*);
79 _end = .; 80 _end = .;
80 } > DRAM 81 } > DRAM
81 82
82 _bootend = .; 83 _bootend = .;
83 84
84 .ibss (NOLOAD) :
85 {
86 _iedata = .;
87 *(.ibss*)
88 _iend = .;
89 } > IRAM
90
91 . = ALIGN(4);
92
93 .stack (NOLOAD): 85 .stack (NOLOAD):
94 { 86 {
95 *(.stack) 87 *(.stack)