Commit 28fd648
committed
soc/xtensa/dc233c: Link iram/iram0 sections generically
The linkage for the "after vector" RAM region was specifying files
explicitly, which breaks when other files (or new files) want to add
code to these regions. In particular call0 needs to use iram to store
local jump targets for the vector entry.
There's really no good spec on this. Conventionally xtensa platforms
have always put the .iram and iram0 sections (and their derived
sections like literals) immediately after the vector table, but I
doubt there's a promise to that extent anywhere.
Just try to adhere to what convention there is.
(I note there's also a ".iram1" section referenced here that I'm not
moving because I don't know what's in it)
Signed-off-by: Andy Ross <[email protected]>1 parent 28d3b5a commit 28fd648
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | 307 | | |
311 | 308 | | |
312 | 309 | | |
| |||
0 commit comments