diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-01-24 14:52:18 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-01-24 14:52:18 -0800 |
commit | d10b5bca4e8ee60440fcf97e45950b06f6a57cbb (patch) | |
tree | 5b4acb6a337e3c7a1d2b2b5263c4592a610b35f9 /gcc | |
parent | de74274fd25d13ccddd8112e588907116582e2ab (diff) | |
download | gcc-d10b5bca4e8ee60440fcf97e45950b06f6a57cbb.zip gcc-d10b5bca4e8ee60440fcf97e45950b06f6a57cbb.tar.gz gcc-d10b5bca4e8ee60440fcf97e45950b06f6a57cbb.tar.bz2 |
(ASM_OUTPUT_NEWLINE): New default for new macro.
(ASM_OUTPUT_ASCII): Use ASM_OUTPUT_NEWLINE.
From-SVN: r6423
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/mips/mips.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index efd6d00..f3866e8 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)) \ |