From 5a182288c0ed1ca75d081948749e6655107fc952 Mon Sep 17 00:00:00 2001 From: mhitch Date: Sun, 11 Mar 2001 20:10:04 +0000 Subject: [PATCH] ELF ABI requires address to be returned in A0. --- sys/arch/amiga/stand/bootblock/boot/alloc.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/amiga/stand/bootblock/boot/alloc.s b/sys/arch/amiga/stand/bootblock/boot/alloc.s index abb4b6ce0faa..c2a66b74863c 100644 --- a/sys/arch/amiga/stand/bootblock/boot/alloc.s +++ b/sys/arch/amiga/stand/bootblock/boot/alloc.s @@ -1,4 +1,4 @@ -/* $NetBSD: alloc.s,v 1.7 2001/03/02 16:43:25 mhitch Exp $ */ +/* $NetBSD: alloc.s,v 1.8 2001/03/11 20:10:04 mhitch Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -49,6 +49,7 @@ ENTRY_NOPROFILE(alloc) movl #0x50001,%d1 | MEMF_CLEAR|MEMF_REVERSE|MEMF_PUBLIC for now. jsr %a6@(-0x2ac) | AllocVec movl %sp@+,%a6 + movl %d0,%a0 | Comply with ELF ABI rts ENTRY_NOPROFILE(free)