]> gcc.gnu.org Git - gcc.git/commitdiff
Fix illegal asm
authorPhilip Blundell <pb@futuretv.com>
Tue, 2 Jan 2001 13:38:41 +0000 (13:38 +0000)
committerPhil Blundell <pb@gcc.gnu.org>
Tue, 2 Jan 2001 13:38:41 +0000 (13:38 +0000)
From-SVN: r38618

gcc/ChangeLog
gcc/config/arm/linux-gas.h

index a2911fb0537f70e8739fa4096630d5690521b12a..54428c3fd53d495214a7840b10c668a24de4c022 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-02  Philip Blundell  <pb@futuretv.com>
+
+       * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Avoid illegal clobber 
+       of input operand.
+
 2001-01-02  Richard Henderson  <rth@redhat.com>
 
        * alpha.md (*ze_and_ne): Duplicate insn condition to split.
index d50be3576f793c37fdf29ef9acad34b7c42a6a0f..eea8bed07815aa2d375ca587f9857335febaaf82 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions of target machine for GNU compiler.
    ARM Linux-based GNU systems version.
-   Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
    Contributed by Russell King  <rmk92@ecs.soton.ac.uk>.
 
 This file is part of GNU CC.
@@ -80,7 +80,6 @@ Boston, MA 02111-1307, USA.  */
   register unsigned long _end __asm ("a2") = (unsigned long) (END);    \
   register unsigned long _flg __asm ("a3") = 0;                                \
   __asm __volatile ("swi 0x9f0002              @ sys_cacheflush"       \
-                   : /* no outputs */                                  \
-                   : "r" (_beg), "r" (_end), "r" (_flg)                \
-                   : "a1");                                            \
+                   : "=r" (_beg)                                       \
+                   : "0" (_beg), "r" (_end), "r" (_flg));              \
 }
This page took 0.081393 seconds and 5 git commands to generate.