From 25b90c6bab8d0342d3a898c0636e8dbc16f7144a Mon Sep 17 00:00:00 2001 From: bjh21 Date: Sun, 17 Mar 2002 12:08:13 +0000 Subject: [PATCH] Small fix to assembly code to avoid "source register same as write-back base" warning from GAS. --- regress/sys/arch/arm/abort-fixup/abortfixup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/regress/sys/arch/arm/abort-fixup/abortfixup.c b/regress/sys/arch/arm/abort-fixup/abortfixup.c index 51b5e1fc772c..1923bc66e19e 100644 --- a/regress/sys/arch/arm/abort-fixup/abortfixup.c +++ b/regress/sys/arch/arm/abort-fixup/abortfixup.c @@ -1,4 +1,4 @@ -/* $NetBSD: abortfixup.c,v 1.1 2002/03/16 20:37:49 reinoud Exp $ */ +/* $NetBSD: abortfixup.c,v 1.2 2002/03/17 12:08:13 bjh21 Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ #include -__RCSID("$NetBSD: abortfixup.c,v 1.1 2002/03/16 20:37:49 reinoud Exp $"); +__RCSID("$NetBSD: abortfixup.c,v 1.2 2002/03/17 12:08:13 bjh21 Exp $"); #include #include @@ -60,7 +60,7 @@ int main(void) { __asm __volatile (" mvn r0, #0 mov r1, r0 - str r0, [r0], r1, ror #10 + str r1, [r0], r1, ror #10 "); /* Should not be reached if OK */