From d469976b598c1c8e2c32934f3dd7f69dee2db9a8 Mon Sep 17 00:00:00 2001 From: uwe Date: Fri, 24 Oct 2003 04:41:28 +0000 Subject: [PATCH] In PIC code "braf" to cerror, not "bsrf" to it! --- lib/libc/arch/sh3/sys/__clone.S | 4 ++-- lib/libc/arch/sh3/sys/ptrace.S | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/libc/arch/sh3/sys/__clone.S b/lib/libc/arch/sh3/sys/__clone.S index d02beb75a662..220d63b529f6 100644 --- a/lib/libc/arch/sh3/sys/__clone.S +++ b/lib/libc/arch/sh3/sys/__clone.S @@ -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 diff --git a/lib/libc/arch/sh3/sys/ptrace.S b/lib/libc/arch/sh3/sys/ptrace.S index 179a9d6ba1e1..d9e3ddff1158 100644 --- a/lib/libc/arch/sh3/sys/ptrace.S +++ b/lib/libc/arch/sh3/sys/ptrace.S @@ -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 #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