diff options
Diffstat (limited to 'firmware/target/arm/s3c2440/app.lds')
-rw-r--r-- | firmware/target/arm/s3c2440/app.lds | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/firmware/target/arm/s3c2440/app.lds b/firmware/target/arm/s3c2440/app.lds index 7321df8af2..a436d65770 100644 --- a/firmware/target/arm/s3c2440/app.lds +++ b/firmware/target/arm/s3c2440/app.lds | |||
@@ -51,6 +51,7 @@ SECTIONS | |||
51 | _textstart = .; | 51 | _textstart = .; |
52 | *(.text) | 52 | *(.text) |
53 | *(.text*) | 53 | *(.text*) |
54 | *(.icode) | ||
54 | *(.glue_7) | 55 | *(.glue_7) |
55 | *(.glue_7t) | 56 | *(.glue_7t) |
56 | . = ALIGN(0x4); | 57 | . = ALIGN(0x4); |
@@ -64,12 +65,14 @@ SECTIONS | |||
64 | *(.rodata*) | 65 | *(.rodata*) |
65 | *(.rodata.str1.1) | 66 | *(.rodata.str1.1) |
66 | *(.rodata.str1.4) | 67 | *(.rodata.str1.4) |
68 | *(.irodata*) | ||
67 | . = ALIGN(0x4); | 69 | . = ALIGN(0x4); |
68 | } > DRAM | 70 | } > DRAM |
69 | 71 | ||
70 | .data : | 72 | .data : |
71 | { | 73 | { |
72 | *(.data*) | 74 | *(.data*) |
75 | *(.idata*) | ||
73 | . = ALIGN(0x4); | 76 | . = ALIGN(0x4); |
74 | } > DRAM | 77 | } > DRAM |
75 | 78 | ||
@@ -78,27 +81,9 @@ SECTIONS | |||
78 | *(.eh_frame) | 81 | *(.eh_frame) |
79 | } | 82 | } |
80 | 83 | ||
81 | .iram : | 84 | _initdata_end =.; |
82 | { | ||
83 | _iramstart = .; | ||
84 | *(.icode) | ||
85 | *(.irodata) | ||
86 | *(.idata) | ||
87 | . = ALIGN(0x4); | ||
88 | _iramend = .; | ||
89 | } > DRAM | ||
90 | |||
91 | _iramcopy = LOADADDR(.iram); | ||
92 | |||
93 | .ibss : | ||
94 | { | ||
95 | _iedata = .; | ||
96 | *(.ibss) | ||
97 | . = ALIGN(0x4); | ||
98 | _iend = .; | ||
99 | } > DRAM | ||
100 | 85 | ||
101 | .stack : | 86 | .stack (NOLOAD) : |
102 | { | 87 | { |
103 | *(.stack) | 88 | *(.stack) |
104 | stackbegin = .; | 89 | stackbegin = .; |
@@ -106,34 +91,36 @@ SECTIONS | |||
106 | stackend = .; | 91 | stackend = .; |
107 | } > DRAM | 92 | } > DRAM |
108 | 93 | ||
109 | .bss : | 94 | .bss (NOLOAD) : |
110 | { | 95 | { |
111 | _edata = .; | 96 | _edata = .; |
112 | *(.bss*) | 97 | *(.bss*) |
98 | *(.ibss*) | ||
113 | *(COMMON) | 99 | *(COMMON) |
114 | . = ALIGN(0x4); | 100 | . = ALIGN(0x4); |
115 | _end = .; | 101 | _end = .; |
116 | } > DRAM | 102 | } > DRAM |
117 | 103 | ||
118 | .audiobuf ALIGN(4) : | 104 | .audiobuf (NOLOAD) : |
119 | { | 105 | { |
106 | . = ALIGN(4); | ||
120 | _audiobuffer = .; | 107 | _audiobuffer = .; |
121 | audiobuffer = .; | 108 | audiobuffer = .; |
122 | } > DRAM | 109 | } > DRAM |
123 | 110 | ||
124 | .audiobufend ENDAUDIOADDR: | 111 | .audiobufend ENDAUDIOADDR (NOLOAD) : |
125 | { | 112 | { |
126 | audiobufend = .; | 113 | audiobufend = .; |
127 | _audiobufend = .; | 114 | _audiobufend = .; |
128 | } > DRAM | 115 | } > DRAM |
129 | 116 | ||
130 | .codec ENDAUDIOADDR: | 117 | .codec ENDAUDIOADDR (NOLOAD) : |
131 | { | 118 | { |
132 | codecbuf = .; | 119 | codecbuf = .; |
133 | _codecbuf = .; | 120 | _codecbuf = .; |
134 | } | 121 | } |
135 | 122 | ||
136 | .plugin ENDADDR: | 123 | .plugin ENDADDR (NOLOAD) : |
137 | { | 124 | { |
138 | _pluginbuf = .; | 125 | _pluginbuf = .; |
139 | pluginbuf = .; | 126 | pluginbuf = .; |