summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/arm/linux-gas.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c6979ada84e..966ed6217b7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -12,6 +12,9 @@
* config/arm/arm.md (push_multi): Use `str' rather than `stm' with
only one register.
+ * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
+ clobbered.
+
Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
* config/ns32k/ns32k.md (load or push effective address): Operand 1
diff --git a/gcc/config/arm/linux-gas.h b/gcc/config/arm/linux-gas.h
index f2b5d42e1e2..8cae382e25d 100644
--- a/gcc/config/arm/linux-gas.h
+++ b/gcc/config/arm/linux-gas.h
@@ -79,5 +79,8 @@ Boston, MA 02111-1307, USA. */
register unsigned long _beg __asm ("a1") = (unsigned long) (BEG); \
register unsigned long _end __asm ("a2") = (unsigned long) (END); \
register unsigned long _flg __asm ("a3") = 0; \
- __asm __volatile ("swi 0x9f0002"); \
+ __asm __volatile ("swi 0x9f0002 @ sys_cacheflush" \
+ : /* no outputs */ \
+ : /* no inputs */ \
+ : "a1"); \
}
OpenPOWER on IntegriCloud