diff options
author | Philip Blundell <pb@futuretv.com> | 2001-01-02 13:38:41 +0000 |
---|---|---|
committer | Phil Blundell <pb@gcc.gnu.org> | 2001-01-02 13:38:41 +0000 |
commit | 8515dc81527794ee3437aa38b56fbfe7e887fc70 (patch) | |
tree | af0c39aac87ed357f95666e706536769cb6e4119 | |
parent | 7def3512f07cbb5d207fd356ba5e6c04ee0a2b7d (diff) | |
download | gcc-8515dc81527794ee3437aa38b56fbfe7e887fc70.zip gcc-8515dc81527794ee3437aa38b56fbfe7e887fc70.tar.gz gcc-8515dc81527794ee3437aa38b56fbfe7e887fc70.tar.bz2 |
Fix illegal asm
From-SVN: r38618
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/linux-gas.h | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a2911fb..54428c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/arm/linux-gas.h b/gcc/config/arm/linux-gas.h index d50be35..eea8bed 100644 --- a/gcc/config/arm/linux-gas.h +++ b/gcc/config/arm/linux-gas.h @@ -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)); \ } |