diff options
author | pb <pb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-02 13:38:41 +0000 |
---|---|---|
committer | pb <pb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-02 13:38:41 +0000 |
commit | a9a86af130ff8d445fc44d2a7d5ae4331d2f6276 (patch) | |
tree | af0c39aac87ed357f95666e706536769cb6e4119 /gcc/config/arm/linux-gas.h | |
parent | cc6d6b57b13fe14c07f6c76c46dc8679c64a2804 (diff) | |
download | gcc-a9a86af130ff8d445fc44d2a7d5ae4331d2f6276.tar.gz |
Fix illegal asm
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38618 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/linux-gas.h')
-rw-r--r-- | gcc/config/arm/linux-gas.h | 7 |
1 files changed, 3 insertions, 4 deletions
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)); \ } |