From d10b5bca4e8ee60440fcf97e45950b06f6a57cbb Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Mon, 24 Jan 1994 14:52:18 -0800 Subject: [PATCH] (ASM_OUTPUT_NEWLINE): New default for new macro. (ASM_OUTPUT_ASCII): Use ASM_OUTPUT_NEWLINE. From-SVN: r6423 --- gcc/config/mips/mips.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index efd6d00c964..f3866e85a4b 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -3342,6 +3342,13 @@ do { \ fprintf (STREAM, "\t.space\t%u\n", (SIZE)) +/* Some RISCOS assemblers don't correctly handle \n in a .ascii directive, + so we have separated out this part so that it can be machine dependent. */ +#ifndef ASM_OUTPUT_NEWLINE +#define ASM_OUTPUT_NEWLINE(STREAM) \ + fputs ("\\n", (STREAM)); +#endif + /* This is how to output a string. */ #define ASM_OUTPUT_ASCII(STREAM, STRING, LEN) \ do { \ @@ -3362,7 +3369,7 @@ do { \ break; \ \ case TARGET_NEWLINE: \ - fputs ("\\n", (STREAM)); \ + ASM_OUTPUT_NEWLINE (STREAM); \ if (i+1 < len \ && (((c = string[i+1]) >= '\040' && c <= '~') \ || c == TARGET_TAB)) \ -- 2.30.2