defaults.h: Default escape sequences to ASCII.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Tue, 26 Jun 2001 06:36:44 +0000 (06:36 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 26 Jun 2001 06:36:44 +0000 (06:36 +0000)
* defaults.h: Default escape sequences to ASCII.
* config/i370/i370.h: Adjust for ASCII default.
* config/1750a/1750a.h: Remove escape sequence definitions.
* config/a29k/a29k.h: Similarly.
* config/alpha/alpha.h: Similarly.
* config/arc/arc.h: Similarly.
* config/arm/arm.h: Similarly.
* config/avr/avr.h: Similarly.
* config/c4x/c4x.h: Similarly.
* config/clipper/clipper.h: Similarly.
* config/convex/convex.h: Similarly.
* config/d30v/d30v.h: Similarly.
* config/dsp16xx/dsp16xx.h: Similarly.
* config/elxsi/elxsi.h: Similarly.
* config/fr30/fr30.h: Similarly.
* config/h8300/h8300.h: Similarly.
* config/i386/i386.h: Similarly.
* config/i860/i860.h: Similarly.
* config/i960/i960.h: Similarly.
* config/ia64/ia64.h: Similarly.
* config/m32r/m32r.h: Similarly.
* config/m68hc11/m68hc11.h: Similarly.
* config/m68k/m68k.h: Similarly.
* config/m88k/m88k.h: Similarly.
* config/mcore/mcore.h: Similarly.
* config/mips/mips.h: Similarly.
* config/mn10200/mn10200.h: Similarly.
* config/mn10300/mn10300.h: Similarly.
* config/ns32k/ns32k.h: Similarly.
* config/pa/pa.h: Similarly.
* config/pdp11/pdp11.h: Similarly.
* config/pj/pj.h: Similarly.
* config/romp/romp.h: Similarly.
* config/rs6000/rs6000.h: Similarly.
* config/sh/sh.h: Similarly.
* config/sparc/sparc.h: Similarly.
* config/v850/v850.h: Similarly.
* config/vax/vax.h: Similarly.
* config/we32k/we32k.h: Similarly.
* doc/tm.texi: Update documentation.

From-SVN: r43569

41 files changed:
gcc/ChangeLog
gcc/config/1750a/1750a.h
gcc/config/a29k/a29k.h
gcc/config/alpha/alpha.h
gcc/config/arc/arc.h
gcc/config/arm/arm.h
gcc/config/avr/avr.h
gcc/config/c4x/c4x.h
gcc/config/clipper/clipper.h
gcc/config/convex/convex.h
gcc/config/d30v/d30v.h
gcc/config/dsp16xx/dsp16xx.h
gcc/config/elxsi/elxsi.h
gcc/config/fr30/fr30.h
gcc/config/h8300/h8300.h
gcc/config/i370/i370.h
gcc/config/i386/i386.h
gcc/config/i860/i860.h
gcc/config/i960/i960.h
gcc/config/ia64/ia64.h
gcc/config/m32r/m32r.h
gcc/config/m68hc11/m68hc11.h
gcc/config/m68k/m68k.h
gcc/config/m88k/m88k.h
gcc/config/mcore/mcore.h
gcc/config/mips/mips.h
gcc/config/mn10200/mn10200.h
gcc/config/mn10300/mn10300.h
gcc/config/ns32k/ns32k.h
gcc/config/pa/pa.h
gcc/config/pdp11/pdp11.h
gcc/config/pj/pj.h
gcc/config/romp/romp.h
gcc/config/rs6000/rs6000.h
gcc/config/sh/sh.h
gcc/config/sparc/sparc.h
gcc/config/v850/v850.h
gcc/config/vax/vax.h
gcc/config/we32k/we32k.h
gcc/defaults.h
gcc/doc/tm.texi

index cef8ae5..a6bfbf7 100644 (file)
@@ -1,3 +1,46 @@
+2001-06-26  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * defaults.h: Default escape sequences to ASCII.
+       * config/i370/i370.h: Adjust for ASCII default.
+       * config/1750a/1750a.h: Remove escape sequence definitions.
+       * config/a29k/a29k.h: Similarly.
+       * config/alpha/alpha.h: Similarly.
+       * config/arc/arc.h: Similarly.
+       * config/arm/arm.h: Similarly.
+       * config/avr/avr.h: Similarly.
+       * config/c4x/c4x.h: Similarly.
+       * config/clipper/clipper.h: Similarly.
+       * config/convex/convex.h: Similarly.
+       * config/d30v/d30v.h: Similarly.
+       * config/dsp16xx/dsp16xx.h: Similarly.
+       * config/elxsi/elxsi.h: Similarly.
+       * config/fr30/fr30.h: Similarly.
+       * config/h8300/h8300.h: Similarly.
+       * config/i386/i386.h: Similarly.
+       * config/i860/i860.h: Similarly.
+       * config/i960/i960.h: Similarly.
+       * config/ia64/ia64.h: Similarly.
+       * config/m32r/m32r.h: Similarly.
+       * config/m68hc11/m68hc11.h: Similarly.
+       * config/m68k/m68k.h: Similarly.
+       * config/m88k/m88k.h: Similarly.
+       * config/mcore/mcore.h: Similarly.
+       * config/mips/mips.h: Similarly.
+       * config/mn10200/mn10200.h: Similarly.
+       * config/mn10300/mn10300.h: Similarly.
+       * config/ns32k/ns32k.h: Similarly.
+       * config/pa/pa.h: Similarly.
+       * config/pdp11/pdp11.h: Similarly.
+       * config/pj/pj.h: Similarly.
+       * config/romp/romp.h: Similarly.
+       * config/rs6000/rs6000.h: Similarly.
+       * config/sh/sh.h: Similarly.
+       * config/sparc/sparc.h: Similarly.
+       * config/v850/v850.h: Similarly.
+       * config/vax/vax.h: Similarly.
+       * config/we32k/we32k.h: Similarly.
+       * doc/tm.texi: Update documentation.
+
 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
 
        * diagnostic.c (digit_buffer): Remove as global.  Move to...
index ea2e8bb..c410378 100644 (file)
@@ -1314,16 +1314,6 @@ enum reg_class { NO_REGS, R2, R0_1, INDEX_REGS, BASE_REGS, ALL_REGS, LIM_REG_CLA
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL    007
-#define TARGET_BS      010
-#define TARGET_TAB     011
-#define TARGET_NEWLINE 012
-#define TARGET_VT      013
-#define TARGET_FF      014
-#define TARGET_CR      015
-
-
 /* Print operand X (an rtx) in assembler syntax to file FILE.
    CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified.
    For `%' followed by punctuation, CODE is the punctuation and X is null.
index 3ee8bf7..5cf9906 100644 (file)
@@ -1595,15 +1595,6 @@ extern int a29k_debug_reg_map[];
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print operand X (an rtx) in assembler syntax to file FILE.
    CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified.
    For `%' followed by punctuation, CODE is the punctuation and X is null.  */
index 20278da..f11fa18 100644 (file)
@@ -2236,15 +2236,6 @@ do {                                                                     \
 #endif
 \f
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print operand X (an rtx) in assembler syntax to file FILE.
    CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified.
    For `%' followed by punctuation, CODE is the punctuation and X is null.  */
index 04121fd..9026cf8 100644 (file)
@@ -312,15 +312,6 @@ if (GET_MODE_CLASS (MODE) == MODE_INT              \
 #define PTRDIFF_TYPE "long int"
 #define WCHAR_TYPE "short unsigned int"
 #define WCHAR_TYPE_SIZE 16
-
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
 \f
 /* Standard register usage.  */
 
index ed444db..2057ae6 100644 (file)
@@ -2721,15 +2721,6 @@ extern int making_const_table;
                  (LOG), (MAX_SKIP));                           \
     }
 #endif
-
-/* Target characters.  */
-#define TARGET_BELL    007
-#define TARGET_BS      010
-#define TARGET_TAB     011
-#define TARGET_NEWLINE 012
-#define TARGET_VT      013
-#define TARGET_FF      014
-#define TARGET_CR      015
 \f
 /* Only perform branch elimination (by making instructions conditional) if
    we're optimising.  Otherwise it's of no use anyway.  */
index 0939980..79c8689 100644 (file)
@@ -2884,17 +2884,6 @@ valid_machine_decl_attribute (DECL, ATTRIBUTES, IDENTIFIER, ARGS)
    addresses.  Thus sorting to put the smallest address first allows
    the most combinations to be found.  */
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
-
-
 #define TRAMPOLINE_TEMPLATE(FILE) \
   internal_error ("Trampolines not supported\n")
 
index b344f4d..49b903e 100644 (file)
@@ -2514,17 +2514,6 @@ do { fprintf (asm_out_file, "\t.sdef\t");                \
              "%s\t.val\t.%s\t.scl\t-1%s\t.endef\n",    \
              SDB_DELIM, SDB_DELIM, SDB_DELIM); } while (0)
 
-
-/* Define results of standard character escape sequences.  */
-
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* This is the kind of divide that is easiest to do in the general case.  */
 
 #define EASY_DIV_EXPR TRUNC_DIV_EXPR
index 78ec8d0..f411fe3 100644 (file)
@@ -1079,15 +1079,6 @@ do                                                                             \
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print an instruction operand X on file FILE.
    CODE is the code from the %-spec that requested printing this operand;
    if `%z3' was used to print operand 3, then CODE is 'z'.
index eb4d936..beed9a3 100644 (file)
@@ -1449,15 +1449,6 @@ enum reg_class {
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print an instruction operand X on file FILE.
    CODE is the code from the %-spec that requested printing this operand;
    if `%z3' was used to print operand 3, then CODE is 'z'. */
index ca015b6..3efa6d7 100644 (file)
@@ -1021,22 +1021,6 @@ do {                                                                     \
    selector because this enables the linker to eliminate duplicate selectors.  */
 /* #define OBJC_SELECTORS_WITHOUT_LABELS */
 
-/* A C constant expression for the integer value for escape sequence
-   `\a'.  */
-#define TARGET_BELL 0x7
-
-/* C constant expressions for the integer values for escape sequences
-   `\b', `\t' and `\n'.  */
-#define TARGET_BS      0x8
-#define TARGET_TAB     0x9
-#define TARGET_NEWLINE 0xa
-
-/* C constant expressions for the integer values for escape sequences
-   `\v', `\f' and `\r'.  */
-#define TARGET_VT      0xb
-#define TARGET_FF      0xc
-#define TARGET_CR      0xd
-
 \f
 /* D30V register layout.  */
 
index 8aa0556..d5aa7c6 100644 (file)
@@ -383,15 +383,6 @@ while (0)
    result of subtracting two pointers */
 
 #define PTRDIFF_TYPE "long int"
-
-#define TARGET_BELL     '\a'
-#define TARGET_BS       '\b'
-#define TARGET_TAB      '\t'
-#define TARGET_NEWLINE  '\n'
-#define TARGET_VT       '\v'
-#define TARGET_FF       '\f'
-#define TARGET_CR       '\r'
-
 \f
 /* REGISTER USAGE.  */
 
index 8aefa21..332172c 100644 (file)
@@ -921,15 +921,6 @@ enum reg_class { NO_REGS, GENERAL_REGS, ALL_REGS, LIM_REG_CLASSES };
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print an instruction operand X on file FILE.
    CODE is the code from the %-spec that requested printing this operand;
    if `%z3' was used to print operand 3, then CODE is 'z'.  */
index 4d0e21f..57d3f96 100644 (file)
@@ -341,14 +341,6 @@ extern int target_flags;
    default with the options `-fsigned-char' and `-funsigned-char'.  */
 #define DEFAULT_SIGNED_CHAR 1
 
-#define TARGET_BELL     0x7    /*  '\a'  */
-#define TARGET_BS      0x8     /*  '\b'  */
-#define TARGET_TAB     0x9     /*  '\t'  */
-#define TARGET_NEWLINE 0xa     /*  '\n'  */
-#define TARGET_VT      0xb     /*  '\v'  */
-#define TARGET_FF      0xc     /*  '\f'  */
-#define TARGET_CR      0xd     /*  '\r'  */
-
 /*}}}*/ \f
 /*{{{  REGISTER BASICS.  */ 
 
index 74252e6..d4d3fc1 100644 (file)
@@ -1412,15 +1412,6 @@ readonly_data ()                                                 \
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print an instruction operand X on file FILE.
    Look in h8300.c for details.  */
 
index 4f65617..71e95c4 100644 (file)
@@ -1042,7 +1042,8 @@ enum reg_class
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
+/* Define standard character escape sequences for non-ASCII targets
+   only.  */
 
 #ifdef TARGET_EBCDIC
 #define TARGET_ESC     39
@@ -1053,14 +1054,6 @@ enum reg_class
 #define TARGET_VT      11
 #define TARGET_FF      12
 #define TARGET_CR      13
-#else 
-#define TARGET_BELL    007
-#define TARGET_BS      010
-#define TARGET_TAB     011
-#define TARGET_NEWLINE 012
-#define TARGET_VT      013
-#define TARGET_FF      014
-#define TARGET_CR      015
 #endif
 
 /* ======================================================== */
index 41404ac..10556e6 100644 (file)
@@ -2955,15 +2955,6 @@ do { long l;                                             \
 
 #define ASM_OPEN_PAREN ""
 #define ASM_CLOSE_PAREN ""
-
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
 \f
 /* Print operand X (an rtx) in assembler syntax to file FILE.
    CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified.
index 063e886..510a863 100644 (file)
@@ -1207,15 +1207,6 @@ do { ASM_OUTPUT_ALIGN ((FILE), 2);                                       \
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print operand X (an rtx) in assembler syntax to file FILE.
    CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified.
    For `%' followed by punctuation, CODE is the punctuation and X is null.
index d006b23..8a1d0be 100644 (file)
@@ -1536,15 +1536,6 @@ extern struct rtx_def *i960_compare_op0, *i960_compare_op1;
 
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
-
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL    007
-#define TARGET_BS      010
-#define TARGET_TAB     011
-#define TARGET_NEWLINE 012
-#define TARGET_VT      013
-#define TARGET_FF      014
-#define TARGET_CR      015
 \f
 /* Output assembler code to FILE to initialize this source file's
    basic block profiling info, if that has not already been done.  */
index 60c9858..20c4084 100644 (file)
@@ -506,22 +506,6 @@ while (0)
    at run-time.  This is used in `cpp'.  */
 /* #define MAX_WCHAR_TYPE_SIZE */
 
-/* A C constant expression for the integer value for escape sequence
-   `\a'.  */
-#define TARGET_BELL 0x7
-
-/* C constant expressions for the integer values for escape sequences
-   `\b', `\t' and `\n'.  */
-#define TARGET_BS      0x8
-#define TARGET_TAB     0x9
-#define TARGET_NEWLINE 0xa
-
-/* C constant expressions for the integer values for escape sequences
-   `\v', `\f' and `\r'.  */
-#define TARGET_VT      0xb
-#define TARGET_FF      0xc
-#define TARGET_CR      0xd
-
 \f
 /* Register Basics */
 
index 4598302..2381605 100644 (file)
@@ -484,15 +484,6 @@ extern enum m32r_sdata m32r_sdata;
 #define PTRDIFF_TYPE "long int"
 #define WCHAR_TYPE "short unsigned int"
 #define WCHAR_TYPE_SIZE 16
-
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
 \f
 /* Standard register usage.  */
 
index e061804..0e9a65b 100644 (file)
@@ -345,15 +345,6 @@ extern struct processor_costs *m68hc11_cost;
    where TARGET_SHORT is not available.  */
 #define WCHAR_TYPE              "short int"
 #define WCHAR_TYPE_SIZE         16
-
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL            007
-#define TARGET_BS              010
-#define TARGET_TAB             011
-#define TARGET_NEWLINE         012
-#define TARGET_VT              013
-#define TARGET_FF              014
-#define TARGET_CR              015
 \f
 
 /* Standard register usage.  */
index f12981e..133e16f 100644 (file)
@@ -2039,15 +2039,6 @@ do { long l;                                             \
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Output a float value (represented as a C double) as an immediate operand.
    This macro is a 68k-specific macro.  */
 
index 59c0f59..73015c1 100644 (file)
@@ -2238,15 +2238,6 @@ do {                                                                      \
    in assembler code.  */
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
-
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
 \f
 /* Macros to deal with OCS debug information */
 
index 94816e9..ce1234a 100644 (file)
@@ -1404,15 +1404,6 @@ extern long mcore_current_compilation_timestamp;
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Target characters.  */
-#define TARGET_BELL    007
-#define TARGET_BS      010
-#define TARGET_TAB     011
-#define TARGET_NEWLINE 012
-#define TARGET_VT      013
-#define TARGET_FF      014
-#define TARGET_CR      015
-
 /* Print operand X (an rtx) in assembler syntax to file FILE.
    CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified.
    For `%' followed by punctuation, CODE is the punctuation and X is null.  */
index 8375bbf..b39f8f2 100644 (file)
@@ -3996,15 +3996,6 @@ while (0)
   { "$fp",     30 + GP_REG_FIRST }                                     \
 }
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL    007
-#define TARGET_BS      010
-#define TARGET_TAB     011
-#define TARGET_NEWLINE 012
-#define TARGET_VT      013
-#define TARGET_FF      014
-#define TARGET_CR      015
-
 /* A C compound statement to output to stdio stream STREAM the
    assembler syntax for an instruction operand X.  X is an RTL
    expression.
index fe552ce..20639b8 100644 (file)
@@ -133,15 +133,6 @@ extern int target_flags;
 
 /* Define this as 1 if `char' should by default be signed; else as 0.  */
 #define DEFAULT_SIGNED_CHAR 0
-
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
 \f
 /* Standard register usage.  */
 
index 9826db6..55a427a 100644 (file)
@@ -130,15 +130,6 @@ extern int target_flags;
 
 /* Define this as 1 if `char' should by default be signed; else as 0.  */
 #define DEFAULT_SIGNED_CHAR 0
-
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
 \f
 /* Standard register usage.  */
 
index a85e112..9a377b5 100644 (file)
@@ -1661,15 +1661,6 @@ do {                                                                     \
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print an instruction operand X on file FILE.
    CODE is the code from the %-spec that requested printing this operand;
    if `%z3' was used to print operand 3, then CODE is 'z'. */
index 1691ba4..d006fbe 100644 (file)
@@ -1921,15 +1921,6 @@ while (0)
 /* All HP assemblers use "!" to separate logical lines.  */
 #define IS_ASM_LOGICAL_LINE_SEPARATOR(C) ((C) == '!')
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 #define PRINT_OPERAND_PUNCT_VALID_P(CHAR) \
   ((CHAR) == '@' || (CHAR) == '#' || (CHAR) == '*' || (CHAR) == '^')
 
index 08b7849..58ce77f 100644 (file)
@@ -1202,15 +1202,6 @@ fprintf (FILE, "$help$: . = .+8 ; space for tmp moves!\n")       \
 #define ASM_OPEN_PAREN "["
 #define ASM_CLOSE_PAREN "]"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print operand X (an rtx) in assembler syntax to file FILE.
    CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified.
    For `%' followed by punctuation, CODE is the punctuation and X is null.
index a5f5eba..8bd28f1 100644 (file)
@@ -1246,15 +1246,6 @@ do { char dstr[30];                                     \
 /* We don't want the default switch handling.  */
 #undef ASM_OUTPUT_BEFORE_CASE_LABEL
 #undef ASM_OUTPUT_CASE_LABEL
-
-/* Target characters.  */
-#define TARGET_BELL     007
-#define TARGET_BS       010
-#define TARGET_TAB      011
-#define TARGET_NEWLINE  012
-#define TARGET_VT       013
-#define TARGET_FF       014
-#define TARGET_CR       015
 \f
 /* Print operand X (an rtx) in assembler syntax to file FILE.
    CODE is a letter or star or 0 if no letter was specified.
index 1ba8769..ce9fcd7 100644 (file)
@@ -1547,15 +1547,6 @@ struct rt_cargs {int gregs, fregs; };
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print operand X (an rtx) in assembler syntax to file FILE.
    CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified.
    For `%' followed by punctuation, CODE is the punctuation and X is null.  */
index 260262a..230cdc8 100644 (file)
@@ -2639,15 +2639,6 @@ do {                                                                     \
 #define EH_RETURN_DATA_REGNO(N) ((N) < 4 ? (N) + 3 : INVALID_REGNUM)
 #define EH_RETURN_STACKADJ_RTX  gen_rtx_REG (Pmode, 10)
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print operand X (an rtx) in assembler syntax to file FILE.
    CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified.
    For `%' followed by punctuation, CODE is the punctuation and X is null.  */
index 2e9f76e..0707977 100644 (file)
@@ -2170,15 +2170,6 @@ do { char dstr[30];                                      \
 /* The assembler's parentheses characters.  */
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
-
-/* Target characters.  */
-#define TARGET_BELL    007
-#define TARGET_BS      010
-#define TARGET_TAB     011
-#define TARGET_NEWLINE 012
-#define TARGET_VT      013
-#define TARGET_FF      014
-#define TARGET_CR      015
 \f
 /* A C statement to be executed just prior to the output of
    assembler code for INSN, to modify the extracted operands so
index a810756..ac0bcb0 100644 (file)
@@ -3262,15 +3262,6 @@ do {                                                                     \
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 #define PRINT_OPERAND_PUNCT_VALID_P(CHAR) \
   ((CHAR) == '#' || (CHAR) == '*' || (CHAR) == '^' || (CHAR) == '(' || (CHAR) == '_')
 
index 4c94e80..9b348c7 100644 (file)
@@ -304,15 +304,6 @@ extern struct small_memory_info small_memory[(int)SMALL_MEMORY_max];
 
    On the NEC V850, loads do sign extension, so make this default. */
 #define DEFAULT_SIGNED_CHAR 1
-
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
 \f
 /* Standard register usage.  */
 
index a3a9dde..4cbb104 100644 (file)
@@ -1265,15 +1265,6 @@ do {                                             \
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print an instruction operand X on file FILE.
    CODE is the code from the %-spec that requested printing this operand;
    if `%z3' was used to print operand 3, then CODE is 'z'.
index 5da5d27..e448cab 100644 (file)
@@ -965,15 +965,6 @@ do {                                                       \
 #define ASM_OPEN_PAREN "("
 #define ASM_CLOSE_PAREN ")"
 
-/* Define results of standard character escape sequences.  */
-#define TARGET_BELL 007
-#define TARGET_BS 010
-#define TARGET_TAB 011
-#define TARGET_NEWLINE 012
-#define TARGET_VT 013
-#define TARGET_FF 014
-#define TARGET_CR 015
-
 /* Print operand X (an rtx) in assembler syntax to file FILE.
    CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified.
    For `%' followed by punctuation, CODE is the punctuation and X is null. */
index cf10424..75c4225 100644 (file)
@@ -23,6 +23,17 @@ Boston, MA 02111-1307, USA.  */
 #ifndef GCC_DEFAULTS_H
 #define GCC_DEFAULTS_H
 
+/* Define default standard character escape sequences.  */
+#ifndef TARGET_BELL
+#  define TARGET_BELL 007
+#  define TARGET_BS 010
+#  define TARGET_TAB 011
+#  define TARGET_NEWLINE 012
+#  define TARGET_VT 013
+#  define TARGET_FF 014
+#  define TARGET_CR 015
+#endif
+
 /* Store in OUTPUT a string (made with alloca) containing
    an assembler-name for a local static variable or function named NAME.
    LABELNO is an integer which is different for each call.  */
index 6806445..1b1c566 100644 (file)
@@ -25,6 +25,7 @@ includes @file{tm.h} and most compiler source files include
 * Per-Function Data::   Defining data structures for per-function information.
 * Storage Layout::      Defining sizes and alignments of data.
 * Type Layout::         Defining sizes and properties of basic user data types.
+* Escape Sequences::    Defining the value of target character escape sequences
 * Registers::           Naming and describing the hardware registers.
 * Register Classes::    Defining the classes of hardware registers.
 * Stack and Calling::   Defining which way the stack grows and by how much.
@@ -1515,7 +1516,17 @@ In general, you should not have to define this macro.  On architectures
 in which function addresses are always even, according to
 @code{FUNCTION_BOUNDARY}, GCC will automatically define this macro to
 @code{ptrmemfunc_vbit_in_pfn}.
+@end table
+
+@node Escape Sequences
+@section Target Character Escape Sequences
+@cindex escape sequences
 
+By default, GCC assumes that the C character escape sequences take on
+their ASCII values for the target.  If this is not correct, you must
+explicitly define all of the macros below.
+
+@table @code
 @findex TARGET_BELL
 @item TARGET_BELL
 A C constant expression for the integer value for escape sequence