public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce0ed75
)
crt0_6809: Let linker figure out load page value
author
Tormod Volden
<debian.tormod@gmail.com>
Sun, 10 May 2015 14:24:58 +0000
(16:24 +0200)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 10 May 2015 20:14:40 +0000
(21:14 +0100)
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Library/libs/crt0_6809.s
patch
|
blob
|
history
diff --git
a/Library/libs/crt0_6809.s
b/Library/libs/crt0_6809.s
index
c96c04c
..
80b229a
100644
(file)
--- a/
Library/libs/crt0_6809.s
+++ b/
Library/libs/crt0_6809.s
@@
-13,11
+13,7
@@
start: jmp start2
.db 'Z'
.db 'X'
.db '1'
-
-;
-; FIXME: we need to automate the load page setting
-;
- .db 0x80 ; page to load at
+ .db __sectionbase_.header__/256 ; page to load at
.dw 0 ; chmem ("0 - 'all'")
.dw __sectionlen_.text__ ; gives us code size info
.dw __sectionlen_.data__ ; gives us data size info