about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/arm/sysdep.h6
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 06dc149a38..114ab545dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-10-22  Philip Blundell  <pb@nexus.co.uk>
+
+	* sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
+	__ASSEMBLER__.
+
 1998-10-21  Ulrich Drepper  <drepper@cygnus.com>
 
 	* sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
diff --git a/sysdeps/unix/arm/sysdep.h b/sysdeps/unix/arm/sysdep.h
index b823b5a17d..6f0efc0c73 100644
--- a/sysdeps/unix/arm/sysdep.h
+++ b/sysdeps/unix/arm/sysdep.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,5 +22,9 @@
 /* Some definitions to allow the assembler in sysdeps/unix/ to build
    without needing ARM-specific versions of all the files.  */
 
+#ifdef __ASSEMBLER__
+
 #define ret		RETINSTR(mov, pc, r14)
 #define MOVE(a,b)	mov b,a
+
+#endif