From f8776faec2ac7e51b6502124d88ee5d342e8e24e Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 26 Dec 2014 20:25:42 +0000 Subject: [PATCH] crt0: Add a byte for the base of the binary Next step in the ABI breaking changes --- Library/libs/crt0.s | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/libs/crt0.s b/Library/libs/crt0.s index b094e1d1..9f519bd5 100644 --- a/Library/libs/crt0.s +++ b/Library/libs/crt0.s @@ -38,6 +38,7 @@ start: jp start2 ; Borrowed idea from UMZIX - put the info in known places then ; we can write "size" tools ; + .db 0 ; base page to load .dw 0 ; chmem ("0 - 'all'") .dw s__DATA ; gives us code size info .dw s__BSS ; gives us data size info -- 2.34.1