Don't redefine _LOCORE if it's already defined.
Some Makefiles for standalone programs already have it. XXX Old src/sys/lib/libkern/arch/mips/memcpy.S had some #ifdef MIPS3_5900 XXX which added some extra nops, but this new common bcopy.S doesn't.
This commit is contained in:
parent
1c535f7467
commit
d5f01723d6
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bcopy.S,v 1.1 2005/12/21 00:25:56 christos Exp $ */
|
||||
/* $NetBSD: bcopy.S,v 1.2 2005/12/27 11:23:53 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Mach Operating System
|
||||
@ -36,13 +36,15 @@
|
||||
|
||||
|
||||
#include <mips/asm.h>
|
||||
#ifndef _LOCORE
|
||||
#define _LOCORE /* XXX not really, just assembly-code source */
|
||||
#endif
|
||||
#include <machine/endian.h>
|
||||
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
ASMSTR("from: @(#)mips_bcopy.s 2.2 CMU 18/06/93")
|
||||
ASMSTR("$NetBSD: bcopy.S,v 1.1 2005/12/21 00:25:56 christos Exp $")
|
||||
ASMSTR("$NetBSD: bcopy.S,v 1.2 2005/12/27 11:23:53 tsutsui Exp $")
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#ifdef __ABICALLS__
|
||||
|
Loading…
Reference in New Issue
Block a user