aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-01-24 14:51:58 -0800
committerJim Wilson <wilson@gcc.gnu.org>1994-01-24 14:51:58 -0800
commitde74274fd25d13ccddd8112e588907116582e2ab (patch)
tree149891dfb1472a6620a2c3ad76e0b83ac7dafc92
parentb277ceaf608945a734c08f73572656d8fd8c1d7a (diff)
downloadgcc-de74274fd25d13ccddd8112e588907116582e2ab.zip
gcc-de74274fd25d13ccddd8112e588907116582e2ab.tar.gz
gcc-de74274fd25d13ccddd8112e588907116582e2ab.tar.bz2
(ASM_OUTPUT_NEWLINE): Define new macro.
From-SVN: r6422
-rw-r--r--gcc/config/mips/bsd-5.h5
-rw-r--r--gcc/config/mips/mips-5.h5
-rw-r--r--gcc/config/mips/svr3-5.h5
-rw-r--r--gcc/config/mips/svr4-5.h5
4 files changed, 20 insertions, 0 deletions
diff --git a/gcc/config/mips/bsd-5.h b/gcc/config/mips/bsd-5.h
index a757ebd..905c15b 100644
--- a/gcc/config/mips/bsd-5.h
+++ b/gcc/config/mips/bsd-5.h
@@ -58,4 +58,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define MD_STARTFILE_PREFIX "/bsd43/usr/lib/cmplrs/cc/"
#define MD_EXEC_PREFIX "/bsd43/usr/lib/cmplrs/cc/"
+/* Some RISCOS assemblers misassemble \n in a .ascii,
+ so we use \X0A instead. */
+#define ASM_OUTPUT_NEWLINE(STREAM) \
+ fputs ("\\X0A", (STREAM));
+
#include "mips/mips.h"
diff --git a/gcc/config/mips/mips-5.h b/gcc/config/mips/mips-5.h
index c33830e..f53d0ad 100644
--- a/gcc/config/mips/mips-5.h
+++ b/gcc/config/mips/mips-5.h
@@ -29,4 +29,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt1.o%s crtn.o%s}}"
+/* Some RISCOS assemblers misassemble \n in a .ascii,
+ so we use \X0A instead. */
+#define ASM_OUTPUT_NEWLINE(STREAM) \
+ fputs ("\\X0A", (STREAM));
+
#include "mips/mips.h"
diff --git a/gcc/config/mips/svr3-5.h b/gcc/config/mips/svr3-5.h
index 4018996..d36b381 100644
--- a/gcc/config/mips/svr3-5.h
+++ b/gcc/config/mips/svr3-5.h
@@ -80,4 +80,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Generate calls to memcpy, etc., not bcopy, etc. */
#define TARGET_MEM_FUNCTIONS
+/* Some RISCOS assemblers misassemble \n in a .ascii,
+ so we use \X0A instead. */
+#define ASM_OUTPUT_NEWLINE(STREAM) \
+ fputs ("\\X0A", (STREAM));
+
#include "mips/mips.h"
diff --git a/gcc/config/mips/svr4-5.h b/gcc/config/mips/svr4-5.h
index 0fa1d82..f59f79d 100644
--- a/gcc/config/mips/svr4-5.h
+++ b/gcc/config/mips/svr4-5.h
@@ -79,4 +79,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Generate calls to memcpy, etc., not bcopy, etc. */
#define TARGET_MEM_FUNCTIONS
+/* Some RISCOS assemblers misassemble \n in a .ascii,
+ so we use \X0A instead. */
+#define ASM_OUTPUT_NEWLINE(STREAM) \
+ fputs ("\\X0A", (STREAM));
+
#include "mips/mips.h"