From 82e41834e3da2cf11ccdecb05af30b1ed4686526 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 15 Nov 2001 05:21:09 +0000 Subject: [PATCH] aix31.h: Fix comment formatting. * config/rs6000/aix31.h: Fix comment formatting. * config/rs6000/beos.h: Likewise. * config/rs6000/darwin.h: Likewise. * config/rs6000/eabi.asm: Likewise. * config/rs6000/linux.h: Likewise. * config/rs6000/linux64.h: Likewise. * config/rs6000/lynx.h: Likewise. * config/rs6000/netbsd.h: Likewise. * config/rs6000/rs6000.c: Likewise. * config/rs6000/rs6000.h: Likewise. * config/rs6000/rs6000.md: Likewise. * config/rs6000/sol2.h: Likewise. * config/rs6000/tramp.asm: Likewise. * config/rs6000/xcoff.h: Likewise. * config/rs6000/xm-beos.h: Likewise. From-SVN: r47040 --- gcc/ChangeLog | 18 ++++++++++++++++++ gcc/config/rs6000/aix31.h | 2 +- gcc/config/rs6000/beos.h | 8 ++++---- gcc/config/rs6000/darwin.h | 2 +- gcc/config/rs6000/eabi.asm | 30 +++++++++++++++--------------- gcc/config/rs6000/linux.h | 2 +- gcc/config/rs6000/linux64.h | 2 +- gcc/config/rs6000/lynx.h | 4 ++-- gcc/config/rs6000/netbsd.h | 2 +- gcc/config/rs6000/rs6000.c | 2 +- gcc/config/rs6000/rs6000.h | 26 +++++++++++++------------- gcc/config/rs6000/rs6000.md | 2 +- gcc/config/rs6000/sol2.h | 2 +- gcc/config/rs6000/tramp.asm | 2 +- gcc/config/rs6000/xcoff.h | 4 ++-- gcc/config/rs6000/xm-beos.h | 4 ++-- 16 files changed, 65 insertions(+), 47 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80176c42f23..8aed0a44900 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,21 @@ +2001-11-15 Kazu Hirata + + * config/rs6000/aix31.h: Fix comment formatting. + * config/rs6000/beos.h: Likewise. + * config/rs6000/darwin.h: Likewise. + * config/rs6000/eabi.asm: Likewise. + * config/rs6000/linux.h: Likewise. + * config/rs6000/linux64.h: Likewise. + * config/rs6000/lynx.h: Likewise. + * config/rs6000/netbsd.h: Likewise. + * config/rs6000/rs6000.c: Likewise. + * config/rs6000/rs6000.h: Likewise. + * config/rs6000/rs6000.md: Likewise. + * config/rs6000/sol2.h: Likewise. + * config/rs6000/tramp.asm: Likewise. + * config/rs6000/xcoff.h: Likewise. + * config/rs6000/xm-beos.h: Likewise. + 2001-11-14 Alan Matsuoka * rtl.def (INCLUDE) : Define. diff --git a/gcc/config/rs6000/aix31.h b/gcc/config/rs6000/aix31.h index 1156b1eb0d4..688e588dc56 100644 --- a/gcc/config/rs6000/aix31.h +++ b/gcc/config/rs6000/aix31.h @@ -51,7 +51,7 @@ Boston, MA 02111-1307, USA. */ } /* Similar, but for libcall. We only have to worry about the function name, - not that of the descriptor. */ + not that of the descriptor. */ #define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN) \ { fputs ("\t.extern .", FILE); \ diff --git a/gcc/config/rs6000/beos.h b/gcc/config/rs6000/beos.h index 073554b30c2..60bb75c675b 100644 --- a/gcc/config/rs6000/beos.h +++ b/gcc/config/rs6000/beos.h @@ -51,7 +51,7 @@ Boston, MA 02111-1307, USA. */ relatively low default stack size of 256K with no way to expand it. So anything we compile for the BeOS target should not use the builtin alloca. This also has the unwanted side effect of - disabling all builtin functions though. */ + disabling all builtin functions though. */ #undef CC1_SPEC #define CC1_SPEC "%{!fbuiltin: -fno-builtin}" @@ -84,7 +84,7 @@ Boston, MA 02111-1307, USA. */ On BeOS the ld executable is actually a linker front end that first runs the GNU linker with the -r option to generate a relocatable XCOFF output file, and then runs Metrowork's linker (mwld) to generate a fully linked - executable. */ + executable. */ #undef LIB_SPEC #define LIB_SPEC "" @@ -96,11 +96,11 @@ Boston, MA 02111-1307, USA. */ #define STARTFILE_SPEC "" /* Text to write out after a CALL that may be replaced by glue code by - the loader. */ + the loader. */ #undef RS6000_CALL_GLUE #define RS6000_CALL_GLUE "cror 15,15,15" -/* Struct alignments are done on 4 byte boundaries for all types. */ +/* Struct alignments are done on 4 byte boundaries for all types. */ #undef BIGGEST_FIELD_ALIGNMENT #define BIGGEST_FIELD_ALIGNMENT 32 diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 56c3ff545da..dfc628005e2 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -214,5 +214,5 @@ Boston, MA 02111-1307, USA. */ ? MAX (MAX ((COMPUTED), (SPECIFIED)), 64) \ : MAX ((COMPUTED), (SPECIFIED))) /* XXX: Darwin supports neither .quad, or .llong, but it also doesn't - support 64 bit powerpc either, so this just keeps things happy. */ + support 64 bit powerpc either, so this just keeps things happy. */ #define DOUBLE_INT_ASM_OP "\t.quad\t" diff --git a/gcc/config/rs6000/eabi.asm b/gcc/config/rs6000/eabi.asm index 7ca74584649..b7452582a57 100644 --- a/gcc/config/rs6000/eabi.asm +++ b/gcc/config/rs6000/eabi.asm @@ -160,7 +160,7 @@ FUNC_START(__eabi) stwx 1,10,12 /* store a non-zero value in the done flag */ beq+ 0,.Lsdata /* skip if we don't need to relocate */ -/* We need to relocate the .got2 pointers. */ +/* We need to relocate the .got2 pointers. */ lwz 3,.Lgot2s(11) /* GOT2 pointers start */ lwz 4,.Lgot2e(11) /* GOT2 pointers end */ @@ -298,9 +298,9 @@ FUNC_START(__eabi_uconvert) FUNC_END(__eabi_uconvert) -/* Routines for saving floating point registers, called by the compiler. */ +/* Routines for saving floating point registers, called by the compiler. */ /* Called with r11 pointing to the stack header word of the caller of the */ -/* function, just beyond the end of the floating point save area. */ +/* function, just beyond the end of the floating point save area. */ FUNC_START(_savefpr_14) stfd 14,-144(11) /* save fp registers */ FUNC_START(_savefpr_15) stfd 15,-136(11) @@ -340,9 +340,9 @@ FUNC_END(_savefpr_16) FUNC_END(_savefpr_15) FUNC_END(_savefpr_14) -/* Routines for saving integer registers, called by the compiler. */ +/* Routines for saving integer registers, called by the compiler. */ /* Called with r11 pointing to the stack header word of the caller of the */ -/* function, just beyond the end of the integer save area. */ +/* function, just beyond the end of the integer save area. */ FUNC_START(_savegpr_14) stw 14,-72(11) /* save gp registers */ FUNC_START(_savegpr_15) stw 15,-68(11) @@ -382,9 +382,9 @@ FUNC_END(_savegpr_16) FUNC_END(_savegpr_15) FUNC_END(_savegpr_14) -/* Routines for restoring floating point registers, called by the compiler. */ +/* Routines for restoring floating point registers, called by the compiler. */ /* Called with r11 pointing to the stack header word of the caller of the */ -/* function, just beyond the end of the floating point save area. */ +/* function, just beyond the end of the floating point save area. */ FUNC_START(_restfpr_14) lfd 14,-144(11) /* restore fp registers */ FUNC_START(_restfpr_15) lfd 15,-136(11) @@ -424,9 +424,9 @@ FUNC_END(_restfpr_16) FUNC_END(_restfpr_15) FUNC_END(_restfpr_14) -/* Routines for restoring integer registers, called by the compiler. */ +/* Routines for restoring integer registers, called by the compiler. */ /* Called with r11 pointing to the stack header word of the caller of the */ -/* function, just beyond the end of the integer restore area. */ +/* function, just beyond the end of the integer restore area. */ FUNC_START(_restgpr_14) lwz 14,-72(11) /* restore gp registers */ FUNC_START(_restgpr_15) lwz 15,-68(11) @@ -466,9 +466,9 @@ FUNC_END(_restgpr_16) FUNC_END(_restgpr_15) FUNC_END(_restgpr_14) -/* Routines for restoring floating point registers, called by the compiler. */ +/* Routines for restoring floating point registers, called by the compiler. */ /* Called with r11 pointing to the stack header word of the caller of the */ -/* function, just beyond the end of the floating point save area. */ +/* function, just beyond the end of the floating point save area. */ /* In addition to restoring the fp registers, it will return to the caller's */ /* caller */ @@ -513,9 +513,9 @@ FUNC_END(_restfpr_16_x) FUNC_END(_restfpr_15_x) FUNC_END(_restfpr_14_x) -/* Routines for restoring integer registers, called by the compiler. */ +/* Routines for restoring integer registers, called by the compiler. */ /* Called with r11 pointing to the stack header word of the caller of the */ -/* function, just beyond the end of the integer restore area. */ +/* function, just beyond the end of the integer restore area. */ FUNC_START(_restgpr_14_x) lwz 14,-72(11) /* restore gp registers */ FUNC_START(_restgpr_15_x) lwz 15,-68(11) @@ -563,7 +563,7 @@ FUNC_END(_restgpr_14_x) .section ".text" .align 2 -/* Routines for saving floating point registers, called by the compiler. */ +/* Routines for saving floating point registers, called by the compiler. */ .fsav: FUNC_START(_savef14) stfd 14,-144(1) /* save fp registers */ @@ -611,7 +611,7 @@ FUNC_END(_savef16) FUNC_END(_savef15) FUNC_END(_savef14) -/* Routines for restoring floating point registers, called by the compiler. */ +/* Routines for restoring floating point registers, called by the compiler. */ .fres: FUNC_START(_restf14) lfd 14,-144(1) /* restore fp registers */ diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h index 5100bb549ee..428cfeea173 100644 --- a/gcc/config/rs6000/linux.h +++ b/gcc/config/rs6000/linux.h @@ -21,7 +21,7 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* Don't assume anything about the header files. */ +/* Don't assume anything about the header files. */ #define NO_IMPLICIT_EXTERN_C #undef MD_EXEC_PREFIX diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index 40b028388d3..ab04ba5d028 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -76,7 +76,7 @@ Boston, MA 02111-1307, USA. */ #define PROFILE_HOOK(LABEL) output_profile_hook (LABEL) -/* Don't assume anything about the header files. */ +/* Don't assume anything about the header files. */ #define NO_IMPLICIT_EXTERN_C #undef MD_EXEC_PREFIX diff --git a/gcc/config/rs6000/lynx.h b/gcc/config/rs6000/lynx.h index 8b755fc9056..9c843666532 100644 --- a/gcc/config/rs6000/lynx.h +++ b/gcc/config/rs6000/lynx.h @@ -67,7 +67,7 @@ Boston, MA 02111-1307, USA. */ #undef ENDFILE_SPEC -/* This can become more refined as we have more powerpc options. */ +/* This can become more refined as we have more powerpc options. */ #undef ASM_SPEC #define ASM_SPEC "-u %(asm_cpu)" @@ -94,6 +94,6 @@ do { \ #undef REAL_LD_FILE_NAME #undef REAL_STRIP_FILE_NAME -/* LynxOS doesn't have mcount. */ +/* LynxOS doesn't have mcount. */ #undef FUNCTION_PROFILER #define FUNCTION_PROFILER(file, profile_label_no) diff --git a/gcc/config/rs6000/netbsd.h b/gcc/config/rs6000/netbsd.h index 9978db50231..df82b78b3b1 100644 --- a/gcc/config/rs6000/netbsd.h +++ b/gcc/config/rs6000/netbsd.h @@ -38,7 +38,7 @@ Boston, MA 02111-1307, USA. */ %{!shared: %{!static:-dc -dp}} \ " -/* Override the defaults. */ +/* Override the defaults. */ #undef LIB_DEFAULT_SPEC #define LIB_DEFAULT_SPEC "%(lib_netbsd)" diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index f4464dc3f2a..05fcc378b5c 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -3563,7 +3563,7 @@ expand_block_move (operands) } else if (bytes >= 8 && TARGET_POWERPC64 /* 64-bit loads and stores require word-aligned - displacements. */ + displacements. */ && (align >= 8 || (! STRICT_ALIGNMENT && align >= 4))) { move_bytes = 8; diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 60ac42de947..9fa5aff5234 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -492,8 +492,8 @@ extern int rs6000_debug_arg; /* debug argument handling */ #define PROMOTE_FUNCTION_RETURN /* Define this if most significant bit is lowest numbered - in instructions that operate on numbered bit-fields. */ -/* That is true on RS/6000. */ + in instructions that operate on numbered bit-fields. */ +/* That is true on RS/6000. */ #define BITS_BIG_ENDIAN 1 /* Define this if most significant byte of a word is the lowest numbered. */ @@ -504,7 +504,7 @@ extern int rs6000_debug_arg; /* debug argument handling */ numbered. For RS/6000 we can decide arbitrarily since there are no machine - instructions for them. Might as well be consistent with bits and bytes. */ + instructions for them. Might as well be consistent with bits and bytes. */ #define WORDS_BIG_ENDIAN 1 /* number of bits in an addressable storage unit */ @@ -827,7 +827,7 @@ extern int rs6000_debug_arg; /* debug argument handling */ For POWER and PowerPC, the GPRs can hold any mode, but the float registers only can hold floating modes and DImode, and CR register only can hold CC modes. We cannot put TImode anywhere except general - register and it must be able to fit within the register set. */ + register and it must be able to fit within the register set. */ #define HARD_REGNO_MODE_OK(REGNO, MODE) \ (FP_REGNO_P (REGNO) ? \ @@ -955,10 +955,10 @@ extern int rs6000_debug_arg; /* debug argument handling */ /* Place to put static chain when calling a function that requires it. */ #define STATIC_CHAIN_REGNUM 11 -/* Link register number. */ +/* Link register number. */ #define LINK_REGISTER_REGNUM 65 -/* Count register number. */ +/* Count register number. */ #define COUNT_REGISTER_REGNUM 66 /* Place that structure value return address is placed. @@ -1021,7 +1021,7 @@ enum reg_class #define N_REG_CLASSES (int) LIM_REG_CLASSES -/* Give names of register classes as strings for dump file. */ +/* Give names of register classes as strings for dump file. */ #define REG_CLASS_NAMES \ { \ @@ -1366,7 +1366,7 @@ typedef struct rs6000_stack { /* This is the difference between the logical top of stack and the actual sp. - For the RS/6000, sp points past the fixed area. */ + For the RS/6000, sp points past the fixed area. */ #define STACK_POINTER_OFFSET RS6000_SAVE_AREA /* Define this if the maximum size of all the outgoing args is to be @@ -1595,7 +1595,7 @@ typedef struct rs6000_args reference. If nonzero for an argument, a copy of that argument is made in memory and a pointer to the argument is passed instead of the argument itself. The pointer is passed in whatever way is - appropriate for passing a pointer to that type. */ + appropriate for passing a pointer to that type. */ #define FUNCTION_ARG_PASS_BY_REFERENCE(CUM, MODE, TYPE, NAMED) \ function_arg_pass_by_reference(&CUM, MODE, TYPE, NAMED) @@ -1689,7 +1689,7 @@ typedef struct rs6000_args /* Definitions for __builtin_return_address and __builtin_frame_address. __builtin_return_address (0) should give link register (65), enable - this. */ + this. */ /* This should be uncommented, so that the link register is used, but currently this would result in unmatched insns and spilling fixed registers so we'll leave it for another day. When these problems are @@ -2069,7 +2069,7 @@ do { \ /* Define this macro if the register defined by `PIC_OFFSET_TABLE_REGNUM' is clobbered by calls. Do not define - this macro if `PPIC_OFFSET_TABLE_REGNUM' is not defined. */ + this macro if `PPIC_OFFSET_TABLE_REGNUM' is not defined. */ /* #define PIC_OFFSET_TABLE_REG_CALL_CLOBBERED */ @@ -2120,7 +2120,7 @@ do { \ /* Define as C expression which evaluates to nonzero if the tablejump instruction expects the table to contain offsets from the address of the table. - Do not define this if the table should contain absolute addresses. */ + Do not define this if the table should contain absolute addresses. */ #define CASE_VECTOR_PC_RELATIVE 1 /* Specify the tree operation to be used to convert reals to integers. */ @@ -2429,7 +2429,7 @@ do { \ /* How to refer to registers in assembler output. This sequence is indexed by compiler's hard-register-number (see above). */ -extern char rs6000_reg_names[][8]; /* register names (0 vs. %r0). */ +extern char rs6000_reg_names[][8]; /* register names (0 vs. %r0). */ #define REGISTER_NAMES \ { \ diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 5c3191a2117..2fc8929f864 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -8157,7 +8157,7 @@ fall through to generating four loads. */ if (! reg_overlap_mentioned_p (operands[0], operands[1])) return \"{lsi|lswi} %0,%P1,16\"; - /* ... fall through ... */ + /* ... fall through ... */ case 4: /* If the address register is the same as the register for the lowest- addressed word, load it last. Similarly for the next two words. diff --git a/gcc/config/rs6000/sol2.h b/gcc/config/rs6000/sol2.h index 00ccd4978ec..75e7343eb60 100644 --- a/gcc/config/rs6000/sol2.h +++ b/gcc/config/rs6000/sol2.h @@ -152,7 +152,7 @@ while (0) /* Sun-ppc assembler does not permit '.' in some symbol names. - Use 'name_.labelno' instead. */ + Use 'name_.labelno' instead. */ #undef ASM_FORMAT_PRIVATE_NAME #define ASM_FORMAT_PRIVATE_NAME(OUTPUT, NAME, LABELNO) \ ( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 10), \ diff --git a/gcc/config/rs6000/tramp.asm b/gcc/config/rs6000/tramp.asm index 5f3048990d9..737a8fbfaff 100644 --- a/gcc/config/rs6000/tramp.asm +++ b/gcc/config/rs6000/tramp.asm @@ -33,7 +33,7 @@ * the executable file might be covered by the GNU General Public License. */ -/* Set up trampolines. */ +/* Set up trampolines. */ .file "tramp.asm" .section ".text" diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h index 558560fb2ce..22a6c18e12a 100644 --- a/gcc/config/rs6000/xcoff.h +++ b/gcc/config/rs6000/xcoff.h @@ -209,7 +209,7 @@ toc_section () \ /* If we are referencing a function that is static or is known to be in this file, make the SYMBOL_REF special. We can use this to indicate that we can branch to this function without emitting a no-op after the - call. Do not set this flag if the function is weakly defined. */ + call. Do not set this flag if the function is weakly defined. */ #define ENCODE_SECTION_INFO(DECL) \ if (TREE_CODE (DECL) == FUNCTION_DECL \ @@ -403,7 +403,7 @@ toc_section () \ /* This is how to output a label for a jump table. Arguments are the same as for ASM_OUTPUT_INTERNAL_LABEL, except the insn for the jump table is - passed. */ + passed. */ #define ASM_OUTPUT_CASE_LABEL(FILE,PREFIX,NUM,TABLEINSN) \ { ASM_OUTPUT_ALIGN (FILE, 2); ASM_OUTPUT_INTERNAL_LABEL (FILE, PREFIX, NUM); } diff --git a/gcc/config/rs6000/xm-beos.h b/gcc/config/rs6000/xm-beos.h index 5e74af0a741..c59d9f16742 100644 --- a/gcc/config/rs6000/xm-beos.h +++ b/gcc/config/rs6000/xm-beos.h @@ -23,8 +23,8 @@ Boston, MA 02111-1307, USA. */ /* use ANSI/SYSV style byte manipulation routines instead of BSD ones */ -/* STANDARD_INCLUDE_DIR is the equivalent of "/usr/include" on UNIX. */ +/* STANDARD_INCLUDE_DIR is the equivalent of "/usr/include" on UNIX. */ #define STANDARD_INCLUDE_DIR "/boot/develop/headers/posix" -/* SYSTEM_INCLUDE_DIR is the location for system specific, non-POSIX headers. */ +/* SYSTEM_INCLUDE_DIR is the location for system specific, non-POSIX headers. */ #define SYSTEM_INCLUDE_DIR "/boot/develop/headers/be" -- 2.30.2