ubee: stuck the initializer block somewhere out of the way
authorAlan Cox <alan@linux.intel.com>
Wed, 31 Jan 2018 12:49:31 +0000 (12:49 +0000)
committerAlan Cox <alan@linux.intel.com>
Wed, 31 Jan 2018 12:49:31 +0000 (12:49 +0000)
Kernel/platform-ubee/crt0.s
Kernel/platform-ubee/fuzix.lnk

index 7c43676..032de36 100644 (file)
                .area _BSEG
                .area _BSS
                .area _HEAP
-               ; note that areas below here may be overwritten by the heap at runtime, so
-               ; put initialisation stuff in here
-               .area _INITIALIZER
                .area _GSINIT
                .area _GSFINAL
                .area _COMMONMEM
                .area _DISCARD
+               ; note that areas below here may be overwritten by the heap at runtime, so
+               ; put initialisation stuff in here
+               .area _INITIALIZER
 
                ; imported symbols
                .globl _fuzix_main
index c3f864d..c83b9d5 100644 (file)
@@ -3,6 +3,7 @@
 -b _CODE=0x0200
 -b _DISCARD=0xDC00
 -b _COMMONMEM=0xE400
+-b _INITIALIZER=0xF000
 -l z80
 platform-ubee/crt0.rel
 platform-ubee/commonmem.rel