From ea0e8d2320281b77b70f9890c13f86d032ed50aa Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sun, 4 Mar 2001 16:21:05 +0000 Subject: [PATCH] Remove unused getsp(). --- sys/arch/news68k/news68k/locore.s | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/sys/arch/news68k/news68k/locore.s b/sys/arch/news68k/news68k/locore.s index 18f3256cfc1c..875604ca6da2 100644 --- a/sys/arch/news68k/news68k/locore.s +++ b/sys/arch/news68k/news68k/locore.s @@ -1,4 +1,4 @@ -/* $NetBSD: locore.s,v 1.18 2001/01/25 14:33:32 tsutsui Exp $ */ +/* $NetBSD: locore.s,v 1.19 2001/03/04 16:21:05 tsutsui Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -1334,17 +1334,6 @@ ENTRY(ecacheoff) Lnocache8: rts -/* - * Get callers current SP value. - * Note that simply taking the address of a local variable in a C function - * doesn't work because callee saved registers may be outside the stack frame - * defined by A6 (e.g. GCC generated code). - */ -ENTRY_NOPROFILE(getsp) - movl %sp,%d0 | get current SP - addql #4,%d0 | compensate for return address - rts - ENTRY_NOPROFILE(getsfc) movc %sfc,%d0 rts