summaryrefslogtreecommitdiff
path: root/linkscript.ld
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-06-23 17:50:16 +0200
committerThomas White <taw@physics.org>2018-06-23 17:50:16 +0200
commitc4cdeef09cb36f0e7e9d84571a023f59b33b7d1c (patch)
tree82f0f5c10f631d895bcd29e26cd208b0365a9941 /linkscript.ld
parent07ddaabc49362f672e0d4f52f57220aac7af39cf (diff)
More tidying up, proper SWI handler
Diffstat (limited to 'linkscript.ld')
-rw-r--r--linkscript.ld28
1 files changed, 20 insertions, 8 deletions
diff --git a/linkscript.ld b/linkscript.ld
index 897ef57..388f95c 100644
--- a/linkscript.ld
+++ b/linkscript.ld
@@ -1,8 +1,20 @@
-SECTIONS {
- .init 0x8000 : { *(.init) }
- . = ALIGN(0x1000);
- . = . + 0x800;
- stack_svc = .;
- . = . + 0x800;
- stack_usr = .;
-}
+SECTIONS {
+ .init 0x8000 : { *(.init) }
+ . = ALIGN(0x1000);
+ . = . + 0x800;
+ stack_svc_cpu0 = .;
+ . = . + 0x800;
+ stack_svc_cpu1 = .;
+ . = . + 0x800;
+ stack_svc_cpu2 = .;
+ . = . + 0x800;
+ stack_svc_cpu3 = .;
+ . = . + 0x800;
+ stack_usr_cpu0 = .;
+ . = . + 0x800;
+ stack_usr_cpu1 = .;
+ . = . + 0x800;
+ stack_usr_cpu2 = .;
+ . = . + 0x800;
+ stack_usr_cpu3 = .;
+}