summaryrefslogtreecommitdiff
path: root/docs/codehandler.ld
diff options
context:
space:
mode:
authorbooto <remornicus@gmail.com>2018-02-03 13:07:25 +0800
committerbooto <remornicus@gmail.com>2018-02-03 13:07:25 +0800
commitaae8634a58045690fb106d521a2f5951265e663c (patch)
tree183351f1e2949551fc5130a8fa068899759ad45b /docs/codehandler.ld
parent1264daae9bcb2ae98b91211fff830a6c18f77cb5 (diff)
Clean up codehandler a little; stash msr on stack to preserve
Diffstat (limited to 'docs/codehandler.ld')
-rw-r--r--docs/codehandler.ld7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/codehandler.ld b/docs/codehandler.ld
new file mode 100644
index 0000000000..535a9e3d99
--- /dev/null
+++ b/docs/codehandler.ld
@@ -0,0 +1,7 @@
+OUTPUT_FORMAT(binary)
+OUTPUT(codehandler.bin)
+SECTIONS
+{
+ . = 0x80001800;
+ .text : { *(.text) }
+}