Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sh3/sh3 Cosmetic: in sh_vector_generic use named la...
details: https://anonhg.NetBSD.org/src/rev/decbdeed9835
branches: trunk
changeset: 555678:decbdeed9835
user: uwe <uwe%NetBSD.org@localhost>
date: Mon Nov 24 23:24:18 2003 +0000
description:
Cosmetic: in sh_vector_generic use named label instead of numeric
label for the curlwp address. Same object code is generated.
diffstat:
sys/arch/sh3/sh3/exception_vector.S | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r c26e7a69913a -r decbdeed9835 sys/arch/sh3/sh3/exception_vector.S
--- a/sys/arch/sh3/sh3/exception_vector.S Mon Nov 24 23:23:17 2003 +0000
+++ b/sys/arch/sh3/sh3/exception_vector.S Mon Nov 24 23:24:18 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exception_vector.S,v 1.12 2003/11/24 04:16:51 uwe Exp $ */
+/* $NetBSD: exception_vector.S,v 1.13 2003/11/24 23:24:18 uwe Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
#include <sh3/mmu_sh3.h>
#include <sh3/mmu_sh4.h>
-__KERNEL_RCSID(0, "$NetBSD: exception_vector.S,v 1.12 2003/11/24 04:16:51 uwe Exp $")
+__KERNEL_RCSID(0, "$NetBSD: exception_vector.S,v 1.13 2003/11/24 23:24:18 uwe Exp $")
/*
@@ -71,7 +71,7 @@
mov.l @r0, r0
mov.l r0, @(TF_EXPEVT, r14) /* trapframe->tf_expevt = EXPEVT */
/* Get curlwp */
- mov.l 3f, r1
+ mov.l _L.curlwp, r1
mov.l @r1, r4 /* 1st arg */
/* Get TEA */
MOV (TEA, r1)
@@ -118,7 +118,7 @@
2: __EXCEPTION_RETURN
/* NOTREACHED */
.align 2
-3: .long _C_LABEL(curlwp)
+_L.curlwp: .long _C_LABEL(curlwp)
REG_SYMBOL(EXPEVT)
REG_SYMBOL(BBRA)
REG_SYMBOL(TEA)
Home |
Main Index |
Thread Index |
Old Index