In PIC code "braf" to cerror, not "bsrf" to it!

This commit is contained in:
uwe 2003-10-24 04:41:28 +00:00
parent cc9f31d5b2
commit d469976b59
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: __clone.S,v 1.2 2003/07/01 14:35:45 marcus Exp $ */
/* $NetBSD: __clone.S,v 1.3 2003/10/24 04:41:28 uwe Exp $ */
/*-
* Copyright (c) 2001 Tsubai Masanari. All rights reserved.
@ -59,7 +59,7 @@ ENTRY(__clone)
mov.l L__exit, r1
#ifdef PIC
bsrf r1
braf r1
#else
jsr @r1
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: ptrace.S,v 1.5 2003/08/07 16:42:21 agc Exp $ */
/* $NetBSD: ptrace.S,v 1.6 2003/10/24 04:41:28 uwe Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -36,7 +36,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: ptrace.S,v 1.5 2003/08/07 16:42:21 agc Exp $")
RCSID("$NetBSD: ptrace.S,v 1.6 2003/10/24 04:41:28 uwe Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -61,7 +61,7 @@ ENTRY(ptrace)
err:
mov.l Lcerror, r1
#ifdef PIC
bsrf r1
braf r1
#else
jmp @r1
#endif