From 179259790e1ae11df6c38b378b1b3d7c345ed0c2 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 31 Jan 2018 12:49:31 +0000 Subject: [PATCH] ubee: stuck the initializer block somewhere out of the way --- Kernel/platform-ubee/crt0.s | 6 +++--- Kernel/platform-ubee/fuzix.lnk | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Kernel/platform-ubee/crt0.s b/Kernel/platform-ubee/crt0.s index 7c43676f..032de368 100644 --- a/Kernel/platform-ubee/crt0.s +++ b/Kernel/platform-ubee/crt0.s @@ -11,13 +11,13 @@ .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 diff --git a/Kernel/platform-ubee/fuzix.lnk b/Kernel/platform-ubee/fuzix.lnk index c3f864de..c83b9d5a 100644 --- a/Kernel/platform-ubee/fuzix.lnk +++ b/Kernel/platform-ubee/fuzix.lnk @@ -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 -- 2.34.1