diff options
-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 a2911fb0537..54428c3fd53 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 d50be3576f7..eea8bed0781 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)); \ } |