Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/pc532/pc532 Change the (intentionally) illegal "mov...



details:   https://anonhg.NetBSD.org/src/rev/6f08bfcffbba
branches:  trunk
changeset: 533932:6f08bfcffbba
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Jul 11 00:41:50 2002 +0000

description:
Change the (intentionally) illegal "movd 0,0" to it's .word
equivalent; newer GAS complains about the illegal construct
and errors out.

XXX: what is the illegal instruction for exactly?

diffstat:

 sys/arch/pc532/pc532/locore.s |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d31edeb9714a -r 6f08bfcffbba sys/arch/pc532/pc532/locore.s
--- a/sys/arch/pc532/pc532/locore.s     Thu Jul 11 00:38:47 2002 +0000
+++ b/sys/arch/pc532/pc532/locore.s     Thu Jul 11 00:41:50 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.66 2002/07/09 23:10:04 simonb Exp $       */
+/*     $NetBSD: locore.s,v 1.67 2002/07/11 00:41:50 simonb Exp $       */
 
 /*
  * Copyright (c) 1993 Philip A. Nelson.
@@ -156,7 +156,7 @@
                                           and put it in the argument slot */
        movd    SYS___sigreturn14,r0
        svc
-       movd    0,0                     /* Illegal instruction. */
+       .long   0x0000a517              /* movd 0,0 -- illegal instruction. */
 GLOBAL(esigcode)
 
 #if defined(PROF) || defined(GPROF) || defined(KGDB) || defined(DDB)



Home | Main Index | Thread Index | Old Index