summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-01-24 22:51:58 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-01-24 22:51:58 +0000
commitb9028a54a558e9a153c5d7146bb70476e0cb9828 (patch)
tree149891dfb1472a6620a2c3ad76e0b83ac7dafc92
parenta3f9e1203dbb88cfd4e1ce3ecf74879fc90fbcd5 (diff)
downloadgcc-b9028a54a558e9a153c5d7146bb70476e0cb9828.tar.gz
(ASM_OUTPUT_NEWLINE): Define new macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6422 138bc75d-0d04-0410-961f-82ee72b054a4
-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 a757ebdad50..905c15b438c 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 c33830eb625..f53d0ad9fb4 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 40189965e7c..d36b381d757 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 0fa1d825612..f59f79d2de7 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"