diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-21 02:24:02 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-21 02:24:02 +0000 |
commit | 87d3145ef24607ef106920379c257caddfd948b5 (patch) | |
tree | 2ca09ff1da702d34cc257d1e032b8dd00bcb658f /gcc | |
parent | f465f63373f21849658d593baec207a22ff6599b (diff) | |
download | ppe42-gcc-87d3145ef24607ef106920379c257caddfd948b5.tar.gz ppe42-gcc-87d3145ef24607ef106920379c257caddfd948b5.zip |
* config/h8300/h8300.h: Fix comment formatting.
* config/ia64/aix.h: Likewise.
* config/ia64/ia64-protos.h: Likewise.
* config/ia64/ia64.c: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ia64/ia64intrin.h: Likewise.
* config/ia64/linux.h: Likewise.
* config/ia64/unwind-aix.c: Likewise.
* config/ia64/unwind-ia64.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49031 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 12 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.h | 2 | ||||
-rw-r--r-- | gcc/config/ia64/aix.h | 18 | ||||
-rw-r--r-- | gcc/config/ia64/ia64-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.c | 16 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.h | 10 | ||||
-rw-r--r-- | gcc/config/ia64/ia64intrin.h | 2 | ||||
-rw-r--r-- | gcc/config/ia64/linux.h | 2 | ||||
-rw-r--r-- | gcc/config/ia64/unwind-aix.c | 8 | ||||
-rw-r--r-- | gcc/config/ia64/unwind-ia64.c | 7 |
10 files changed, 46 insertions, 33 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 05441a9c376..5ebf50d5a82 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,17 @@ 2002-01-20 Kazu Hirata <kazu@hxi.com> + * config/h8300/h8300.h: Fix comment formatting. + * config/ia64/aix.h: Likewise. + * config/ia64/ia64-protos.h: Likewise. + * config/ia64/ia64.c: Likewise. + * config/ia64/ia64.h: Likewise. + * config/ia64/ia64intrin.h: Likewise. + * config/ia64/linux.h: Likewise. + * config/ia64/unwind-aix.c: Likewise. + * config/ia64/unwind-ia64.c: Likewise. + +2002-01-20 Kazu Hirata <kazu@hxi.com> + * config/h8300/h8300.c: Revise comments about shift code. 2002-01-20 Kazu Hirata <kazu@hxi.com> diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index d7d89b02c42..8772242427c 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -397,7 +397,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 \ { "NO_REGS", "GENERAL_REGS", "MAC_REGS", "ALL_REGS", "LIM_REGS" } diff --git a/gcc/config/ia64/aix.h b/gcc/config/ia64/aix.h index cee762181d6..1e57c2b3f65 100644 --- a/gcc/config/ia64/aix.h +++ b/gcc/config/ia64/aix.h @@ -1,5 +1,5 @@ /* Definitions of target machine GNU compiler. IA-64/AIX version. - Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Timothy Wall (twall@cygnus.com) This file is part of GNU CC. @@ -20,7 +20,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* AIX5 (aka Monterey): a mix of AIX and UnixWare. - This file is loosely based on ia64/linux.h. */ + This file is loosely based on ia64/linux.h. */ /* This macro is a C statement to print on `stderr' a string describing the particular machine description choice. */ @@ -51,7 +51,7 @@ Boston, MA 02111-1307, USA. */ /* Provide a STARTFILE_SPEC appropriate for AIX. Here we add the crti C++ startup files file which provide part of the support for getting C++ file-scope static object constructed before entering - `main'. */ + `main'. */ #undef STARTFILE_SPEC #define STARTFILE_SPEC \ @@ -63,7 +63,7 @@ Boston, MA 02111-1307, USA. */ /* Provide a ENDFILE_SPEC appropriate for AIX. Here we tack on the crtn file which provides termination of the support for getting C++ - file-scope static object constructed before entering `main'. */ + file-scope static object constructed before entering `main'. */ #undef ENDFILE_SPEC #define ENDFILE_SPEC "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s" @@ -75,7 +75,7 @@ Boston, MA 02111-1307, USA. */ CPP. It can also specify how to translate options you give to GNU CC into options for GNU CC to pass to the CPP. */ -/* If -ansi, we need to define _ANSI_C_SOURCE to get the right headers. */ +/* If -ansi, we need to define _ANSI_C_SOURCE to get the right headers. */ #undef CPP_SPEC #define CPP_SPEC "\ %{mcpu=itanium:-D__itanium__} %{mbig-endian:-D__BIG_ENDIAN__} \ @@ -90,7 +90,7 @@ Boston, MA 02111-1307, USA. */ -D__LP64__ -D__ELF__ -Asystem=unix -Asystem=aix -Acpu=ia64 -Amachine=ia64 \ -D__64BIT__ -D_LONG_LONG -D_IA64 -D__int128=__size128_t" -/* The GNU C++ standard library requires that these macros be defined. */ +/* The GNU C++ standard library requires that these macros be defined. */ #undef CPLUSPLUS_CPP_SPEC #define CPLUSPLUS_CPP_SPEC \ "-D_XOPEN_SOURCE=500 \ @@ -104,7 +104,7 @@ Boston, MA 02111-1307, USA. */ #undef ASM_SPEC #define ASM_SPEC "-x %{mconstant-gp} %{mauto-pic}" -/* Define this for shared library support. */ +/* Define this for shared library support. */ #undef LINK_SPEC #define LINK_SPEC "\ @@ -135,7 +135,7 @@ Boston, MA 02111-1307, USA. */ do { \ } while (0) -/* Tell the linker where to find the crt*.o files. */ +/* Tell the linker where to find the crt*.o files. */ #ifndef CROSS_COMPILE #undef STANDARD_STARTFILE_PREFIX @@ -240,7 +240,7 @@ extern unsigned int ia64_section_threshold; } \ while (0) -/* Override ia64/sysv4.h setting with that used by AIX5. */ +/* Override ia64/sysv4.h setting with that used by AIX5. */ #undef WCHAR_TYPE #ifdef __64BIT__ #define WCHAR_TYPE "unsigned int" diff --git a/gcc/config/ia64/ia64-protos.h b/gcc/config/ia64/ia64-protos.h index c543a538c5f..43538cc7493 100644 --- a/gcc/config/ia64/ia64-protos.h +++ b/gcc/config/ia64/ia64-protos.h @@ -16,7 +16,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License 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. */ +Boston, MA 02111-1307, USA. */ /* Variables defined in ia64.c. */ diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 1f36cb03543..7ca060b68e7 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -663,7 +663,7 @@ shladd_operand (op, mode) || INTVAL (op) == 8 || INTVAL (op) == 16)); } -/* Return 1 if OP is a -16, -8, -4, -1, 1, 4, 8, or 16 immediate operand. */ +/* Return 1 if OP is a -16, -8, -4, -1, 1, 4, 8, or 16 immediate operand. */ int fetchadd_operand (op, mode) @@ -3578,7 +3578,7 @@ ia64_print_operand (file, x, code) case POST_DEC: case POST_MODIFY: x = XEXP (x, 0); - /* ... fall through ... */ + /* ... fall through ... */ case REG: fputs (reg_names [REGNO (x)], file); @@ -4175,7 +4175,7 @@ rws_access_regno (regno, flags, pred) && ! rws_sum[regno].written_by_fp) /* The predicates of a branch are available within the same insn group as long as the predicate was written by - something other than a floating-point instruction. */ + something other than a floating-point instruction. */ return 0; } @@ -4292,7 +4292,7 @@ update_set_flags (x, pflags, ppred, pcond) type compares. We do not generate such instructions currently. */ } - /* ... fall through ... */ + /* ... fall through ... */ default: if (GET_RTX_CLASS (GET_CODE (src)) == '<' @@ -6942,7 +6942,7 @@ ia64_encode_section_info (decl) /* This decl is marked as being in small data/bss but it shouldn't be; one likely explanation for this is that the decl has been moved into a different section from the one it was in when - ENCODE_SECTION_INFO was first called. Remove the '@'.*/ + ENCODE_SECTION_INFO was first called. Remove the '@'. */ else if (symbol_str[0] == SDATA_NAME_FLAG_CHAR) { XSTR (XEXP (DECL_RTL (decl), 0), 0) @@ -7006,7 +7006,7 @@ process_set (asm_out_file, pat) return 1; } - /* Look for SP = .... */ + /* Look for SP = .... */ if (GET_CODE (dest) == REG && REGNO (dest) == STACK_POINTER_REGNUM) { if (GET_CODE (src) == PLUS) @@ -7803,14 +7803,14 @@ ia64_hpux_function_arg_padding (mode, type) enum machine_mode mode; tree type; { - /* Exception to normal case for structures/unions/etc. */ + /* Exception to normal case for structures/unions/etc. */ if (type && AGGREGATE_TYPE_P (type) && int_size_in_bytes (type) < UNITS_PER_WORD) return upward; /* This is the standard FUNCTION_ARG_PADDING with !BYTES_BIG_ENDIAN - hardwired to be true. */ + hardwired to be true. */ return((mode == BLKmode ? (type && TREE_CODE (TYPE_SIZE (type)) == INTEGER_CST diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index d73cee7d81b..c7797c87e09 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -53,7 +53,7 @@ extern int target_flags; #define MASK_VOL_ASM_STOP 0x00000010 /* Emit stop bits for vol ext asm. */ -#define MASK_ILP32 0x00000020 /* Generate ILP32 code. */ +#define MASK_ILP32 0x00000020 /* Generate ILP32 code. */ #define MASK_B_STEP 0x00000040 /* Emit code for Itanium B step. */ @@ -1846,7 +1846,7 @@ do { \ /* If a variable is weakened, made one only or moved into a different section, it may be necessary to redo the section info to move the - variable out of sdata. */ + variable out of sdata. */ #define REDO_SECTION_INFO_P(DECL) \ ((TREE_CODE (DECL) == VAR_DECL) \ @@ -2370,7 +2370,7 @@ do { \ /* Cross Compilation and Floating Point. */ -/* Define to enable software floating point emulation. */ +/* Define to enable software floating point emulation. */ #define REAL_ARITHMETIC @@ -2533,7 +2533,7 @@ struct machine_function /* The new stack pointer when unwinding from EH. */ struct rtx_def* ia64_eh_epilogue_sp; - /* The new bsp value when unwinding from EH. */ + /* The new bsp value when unwinding from EH. */ struct rtx_def* ia64_eh_epilogue_bsp; /* The GP value save register. */ @@ -2598,7 +2598,7 @@ enum ia64_builtins IA64_BUILTIN_FLUSHRS }; -/* Codes for expand_compare_and_swap and expand_swap_and_compare. */ +/* Codes for expand_compare_and_swap and expand_swap_and_compare. */ enum fetchop_code { IA64_ADD_OP, IA64_SUB_OP, IA64_OR_OP, IA64_AND_OP, IA64_XOR_OP, IA64_NAND_OP }; diff --git a/gcc/config/ia64/ia64intrin.h b/gcc/config/ia64/ia64intrin.h index 0910ed8f25d..c7bbd33e133 100644 --- a/gcc/config/ia64/ia64intrin.h +++ b/gcc/config/ia64/ia64intrin.h @@ -2,7 +2,7 @@ #define _IA64INTRIN_H_INCLUDED /* Actually, everything is a compiler builtin, but just so - there's no confusion... */ + there's no confusion... */ #ifdef __cplusplus extern "C" { #endif diff --git a/gcc/config/ia64/linux.h b/gcc/config/ia64/linux.h index 61e80a4a039..1889ef6fa8a 100644 --- a/gcc/config/ia64/linux.h +++ b/gcc/config/ia64/linux.h @@ -5,7 +5,7 @@ #define TARGET_VERSION fprintf (stderr, " (IA-64) Linux"); -/* This is for -profile to use -lc_p instead of -lc. */ +/* This is for -profile to use -lc_p instead of -lc. */ #undef CC1_SPEC #define CC1_SPEC "%{profile:-p} %{G*}" diff --git a/gcc/config/ia64/unwind-aix.c b/gcc/config/ia64/unwind-aix.c index b1302a81596..7e594060f3e 100644 --- a/gcc/config/ia64/unwind-aix.c +++ b/gcc/config/ia64/unwind-aix.c @@ -1,5 +1,5 @@ /* Implements unwind table entry lookup for AIX (cf. fde-glibc.c). - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2002 Free Software Foundation, Inc. Contributed by Timothy Wall <twall@redhat.com> This file is part of GNU CC. @@ -63,7 +63,7 @@ find_fde_for_dso (Elf64_Addr pc, rt_link_map *map, lo = mid + 1; else { /* AIX executables are *always* dynamic. Look up GP for this - object. */ + object. */ Elf64_Dyn *dyn = map->l_ld; *pgp = 0; for (; dyn->d_tag != DT_NULL ; dyn++) @@ -82,7 +82,7 @@ find_fde_for_dso (Elf64_Addr pc, rt_link_map *map, } /* Return a pointer to the unwind table entry for the function containing - PC. */ + PC. */ struct unw_table_entry * _Unwind_FindTableEntry (void *pc, unsigned long *pseg_base, unsigned long *pgp) { @@ -95,7 +95,7 @@ _Unwind_FindTableEntry (void *pc, unsigned long *pseg_base, unsigned long *pgp) ret = find_fde_for_dso ((Elf64_Addr)pc, map, pseg_base, pgp); if (ret) { - /* If we're in the main application, use the current GP value. */ + /* If we're in the main application, use the current GP value. */ register unsigned long gp __asm__("gp"); *pgp = gp; return ret; diff --git a/gcc/config/ia64/unwind-ia64.c b/gcc/config/ia64/unwind-ia64.c index add03aa5f77..99923aa9b87 100644 --- a/gcc/config/ia64/unwind-ia64.c +++ b/gcc/config/ia64/unwind-ia64.c @@ -1,6 +1,7 @@ /* Subroutines needed for unwinding IA-64 standard format stack frame info for exception handling. - Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 + Free Software Foundation, Inc. Contributed by Andrew MacLeod <amacleod@cygnus.com> Andrew Haley <aph@cygnus.com> David Mosberger-Tang <davidm@hpl.hp.com> @@ -747,7 +748,7 @@ desc_spill_sprel_p (unsigned char qp, unw_word t, unsigned char abreg, #define UNW_DEC_PROLOGUE_GR(fmt,r,m,gr,arg) desc_prologue(0,r,m,gr,arg) #define UNW_DEC_PROLOGUE(fmt,b,r,arg) desc_prologue(b,r,0,32,arg) -/* Prologue descriptors. */ +/* Prologue descriptors. */ #define UNW_DEC_ABI(fmt,a,c,arg) desc_abi(a,c,arg) #define UNW_DEC_BR_GR(fmt,b,g,arg) desc_br_gr(b,g,arg) #define UNW_DEC_BR_MEM(fmt,b,arg) desc_br_mem(b,arg) @@ -1744,7 +1745,7 @@ static void uw_init_context_1 (struct _Unwind_Context *context, void *bsp) { void *rp = __builtin_extract_return_addr (__builtin_return_address (0)); - /* Set psp to the caller's stack pointer. */ + /* Set psp to the caller's stack pointer. */ void *psp = __builtin_dwarf_cfa () - 16; _Unwind_FrameState fs; |