Commit ed168e45 by Kazu Hirata Committed by Kazu Hirata

h8300.h: Fix comment formatting.

	* 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.

From-SVN: r49031
parent 005e3e05
2002-01-20 Kazu Hirata <kazu@hxi.com> 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. * config/h8300/h8300.c: Revise comments about shift code.
2002-01-20 Kazu Hirata <kazu@hxi.com> 2002-01-20 Kazu Hirata <kazu@hxi.com>
......
...@@ -397,7 +397,7 @@ enum reg_class { ...@@ -397,7 +397,7 @@ enum reg_class {
#define N_REG_CLASSES (int) LIM_REG_CLASSES #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 \ #define REG_CLASS_NAMES \
{ "NO_REGS", "GENERAL_REGS", "MAC_REGS", "ALL_REGS", "LIM_REGS" } { "NO_REGS", "GENERAL_REGS", "MAC_REGS", "ALL_REGS", "LIM_REGS" }
......
/* Definitions of target machine GNU compiler. IA-64/AIX version. /* 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) Contributed by Timothy Wall (twall@cygnus.com)
This file is part of GNU CC. This file is part of GNU CC.
...@@ -20,7 +20,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, ...@@ -20,7 +20,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
/* AIX5 (aka Monterey): a mix of AIX and UnixWare. /* 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 /* This macro is a C statement to print on `stderr' a string describing the
particular machine description choice. */ particular machine description choice. */
...@@ -51,7 +51,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -51,7 +51,7 @@ Boston, MA 02111-1307, USA. */
/* Provide a STARTFILE_SPEC appropriate for AIX. Here we add /* Provide a STARTFILE_SPEC appropriate for AIX. Here we add
the crti C++ startup files file which provide part of the support the crti C++ startup files file which provide part of the support
for getting C++ file-scope static object constructed before entering for getting C++ file-scope static object constructed before entering
`main'. */ `main'. */
#undef STARTFILE_SPEC #undef STARTFILE_SPEC
#define STARTFILE_SPEC \ #define STARTFILE_SPEC \
...@@ -63,7 +63,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -63,7 +63,7 @@ Boston, MA 02111-1307, USA. */
/* Provide a ENDFILE_SPEC appropriate for AIX. Here we tack on /* Provide a ENDFILE_SPEC appropriate for AIX. Here we tack on
the crtn file which provides termination of the support for getting C++ 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 #undef ENDFILE_SPEC
#define ENDFILE_SPEC "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s" #define ENDFILE_SPEC "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
...@@ -75,7 +75,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -75,7 +75,7 @@ Boston, MA 02111-1307, USA. */
CPP. It can also specify how to translate options you give to GNU CC into CPP. It can also specify how to translate options you give to GNU CC into
options for GNU CC to pass to the CPP. */ 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 #undef CPP_SPEC
#define CPP_SPEC "\ #define CPP_SPEC "\
%{mcpu=itanium:-D__itanium__} %{mbig-endian:-D__BIG_ENDIAN__} \ %{mcpu=itanium:-D__itanium__} %{mbig-endian:-D__BIG_ENDIAN__} \
...@@ -90,7 +90,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -90,7 +90,7 @@ Boston, MA 02111-1307, USA. */
-D__LP64__ -D__ELF__ -Asystem=unix -Asystem=aix -Acpu=ia64 -Amachine=ia64 \ -D__LP64__ -D__ELF__ -Asystem=unix -Asystem=aix -Acpu=ia64 -Amachine=ia64 \
-D__64BIT__ -D_LONG_LONG -D_IA64 -D__int128=__size128_t" -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 #undef CPLUSPLUS_CPP_SPEC
#define CPLUSPLUS_CPP_SPEC \ #define CPLUSPLUS_CPP_SPEC \
"-D_XOPEN_SOURCE=500 \ "-D_XOPEN_SOURCE=500 \
...@@ -104,7 +104,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -104,7 +104,7 @@ Boston, MA 02111-1307, USA. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "-x %{mconstant-gp} %{mauto-pic}" #define ASM_SPEC "-x %{mconstant-gp} %{mauto-pic}"
/* Define this for shared library support. */ /* Define this for shared library support. */
#undef LINK_SPEC #undef LINK_SPEC
#define LINK_SPEC "\ #define LINK_SPEC "\
...@@ -135,7 +135,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -135,7 +135,7 @@ Boston, MA 02111-1307, USA. */
do { \ do { \
} while (0) } 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 #ifndef CROSS_COMPILE
#undef STANDARD_STARTFILE_PREFIX #undef STANDARD_STARTFILE_PREFIX
...@@ -240,7 +240,7 @@ extern unsigned int ia64_section_threshold; ...@@ -240,7 +240,7 @@ extern unsigned int ia64_section_threshold;
} \ } \
while (0) 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 #undef WCHAR_TYPE
#ifdef __64BIT__ #ifdef __64BIT__
#define WCHAR_TYPE "unsigned int" #define WCHAR_TYPE "unsigned int"
......
...@@ -16,7 +16,7 @@ GNU General Public License for more details. ...@@ -16,7 +16,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
/* Variables defined in ia64.c. */ /* Variables defined in ia64.c. */
......
...@@ -663,7 +663,7 @@ shladd_operand (op, mode) ...@@ -663,7 +663,7 @@ shladd_operand (op, mode)
|| INTVAL (op) == 8 || INTVAL (op) == 16)); || 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 int
fetchadd_operand (op, mode) fetchadd_operand (op, mode)
...@@ -3578,7 +3578,7 @@ ia64_print_operand (file, x, code) ...@@ -3578,7 +3578,7 @@ ia64_print_operand (file, x, code)
case POST_DEC: case POST_DEC:
case POST_MODIFY: case POST_MODIFY:
x = XEXP (x, 0); x = XEXP (x, 0);
/* ... fall through ... */ /* ... fall through ... */
case REG: case REG:
fputs (reg_names [REGNO (x)], file); fputs (reg_names [REGNO (x)], file);
...@@ -4175,7 +4175,7 @@ rws_access_regno (regno, flags, pred) ...@@ -4175,7 +4175,7 @@ rws_access_regno (regno, flags, pred)
&& ! rws_sum[regno].written_by_fp) && ! rws_sum[regno].written_by_fp)
/* The predicates of a branch are available within the /* The predicates of a branch are available within the
same insn group as long as the predicate was written by 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; return 0;
} }
...@@ -4292,7 +4292,7 @@ update_set_flags (x, pflags, ppred, pcond) ...@@ -4292,7 +4292,7 @@ update_set_flags (x, pflags, ppred, pcond)
type compares. We do not generate such instructions type compares. We do not generate such instructions
currently. */ currently. */
} }
/* ... fall through ... */ /* ... fall through ... */
default: default:
if (GET_RTX_CLASS (GET_CODE (src)) == '<' if (GET_RTX_CLASS (GET_CODE (src)) == '<'
...@@ -6942,7 +6942,7 @@ ia64_encode_section_info (decl) ...@@ -6942,7 +6942,7 @@ ia64_encode_section_info (decl)
/* This decl is marked as being in small data/bss but it shouldn't /* 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 be; one likely explanation for this is that the decl has been
moved into a different section from the one it was in when 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) else if (symbol_str[0] == SDATA_NAME_FLAG_CHAR)
{ {
XSTR (XEXP (DECL_RTL (decl), 0), 0) XSTR (XEXP (DECL_RTL (decl), 0), 0)
...@@ -7006,7 +7006,7 @@ process_set (asm_out_file, pat) ...@@ -7006,7 +7006,7 @@ process_set (asm_out_file, pat)
return 1; return 1;
} }
/* Look for SP = .... */ /* Look for SP = .... */
if (GET_CODE (dest) == REG && REGNO (dest) == STACK_POINTER_REGNUM) if (GET_CODE (dest) == REG && REGNO (dest) == STACK_POINTER_REGNUM)
{ {
if (GET_CODE (src) == PLUS) if (GET_CODE (src) == PLUS)
...@@ -7803,14 +7803,14 @@ ia64_hpux_function_arg_padding (mode, type) ...@@ -7803,14 +7803,14 @@ ia64_hpux_function_arg_padding (mode, type)
enum machine_mode mode; enum machine_mode mode;
tree type; tree type;
{ {
/* Exception to normal case for structures/unions/etc. */ /* Exception to normal case for structures/unions/etc. */
if (type && AGGREGATE_TYPE_P (type) if (type && AGGREGATE_TYPE_P (type)
&& int_size_in_bytes (type) < UNITS_PER_WORD) && int_size_in_bytes (type) < UNITS_PER_WORD)
return upward; return upward;
/* This is the standard FUNCTION_ARG_PADDING with !BYTES_BIG_ENDIAN /* This is the standard FUNCTION_ARG_PADDING with !BYTES_BIG_ENDIAN
hardwired to be true. */ hardwired to be true. */
return((mode == BLKmode return((mode == BLKmode
? (type && TREE_CODE (TYPE_SIZE (type)) == INTEGER_CST ? (type && TREE_CODE (TYPE_SIZE (type)) == INTEGER_CST
......
...@@ -53,7 +53,7 @@ extern int target_flags; ...@@ -53,7 +53,7 @@ extern int target_flags;
#define MASK_VOL_ASM_STOP 0x00000010 /* Emit stop bits for vol ext asm. */ #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. */ #define MASK_B_STEP 0x00000040 /* Emit code for Itanium B step. */
...@@ -1846,7 +1846,7 @@ do { \ ...@@ -1846,7 +1846,7 @@ do { \
/* If a variable is weakened, made one only or moved into a different /* 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 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) \ #define REDO_SECTION_INFO_P(DECL) \
((TREE_CODE (DECL) == VAR_DECL) \ ((TREE_CODE (DECL) == VAR_DECL) \
...@@ -2370,7 +2370,7 @@ do { \ ...@@ -2370,7 +2370,7 @@ do { \
/* Cross Compilation and Floating Point. */ /* Cross Compilation and Floating Point. */
/* Define to enable software floating point emulation. */ /* Define to enable software floating point emulation. */
#define REAL_ARITHMETIC #define REAL_ARITHMETIC
...@@ -2533,7 +2533,7 @@ struct machine_function ...@@ -2533,7 +2533,7 @@ struct machine_function
/* The new stack pointer when unwinding from EH. */ /* The new stack pointer when unwinding from EH. */
struct rtx_def* ia64_eh_epilogue_sp; 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; struct rtx_def* ia64_eh_epilogue_bsp;
/* The GP value save register. */ /* The GP value save register. */
...@@ -2598,7 +2598,7 @@ enum ia64_builtins ...@@ -2598,7 +2598,7 @@ enum ia64_builtins
IA64_BUILTIN_FLUSHRS 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 { enum fetchop_code {
IA64_ADD_OP, IA64_SUB_OP, IA64_OR_OP, IA64_AND_OP, IA64_XOR_OP, IA64_NAND_OP IA64_ADD_OP, IA64_SUB_OP, IA64_OR_OP, IA64_AND_OP, IA64_XOR_OP, IA64_NAND_OP
}; };
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#define _IA64INTRIN_H_INCLUDED #define _IA64INTRIN_H_INCLUDED
/* Actually, everything is a compiler builtin, but just so /* Actually, everything is a compiler builtin, but just so
there's no confusion... */ there's no confusion... */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#define TARGET_VERSION fprintf (stderr, " (IA-64) Linux"); #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 #undef CC1_SPEC
#define CC1_SPEC "%{profile:-p} %{G*}" #define CC1_SPEC "%{profile:-p} %{G*}"
......
/* Implements unwind table entry lookup for AIX (cf. fde-glibc.c). /* 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> Contributed by Timothy Wall <twall@redhat.com>
This file is part of GNU CC. This file is part of GNU CC.
...@@ -63,7 +63,7 @@ find_fde_for_dso (Elf64_Addr pc, rt_link_map *map, ...@@ -63,7 +63,7 @@ find_fde_for_dso (Elf64_Addr pc, rt_link_map *map,
lo = mid + 1; lo = mid + 1;
else { else {
/* AIX executables are *always* dynamic. Look up GP for this /* AIX executables are *always* dynamic. Look up GP for this
object. */ object. */
Elf64_Dyn *dyn = map->l_ld; Elf64_Dyn *dyn = map->l_ld;
*pgp = 0; *pgp = 0;
for (; dyn->d_tag != DT_NULL ; dyn++) for (; dyn->d_tag != DT_NULL ; dyn++)
...@@ -82,7 +82,7 @@ find_fde_for_dso (Elf64_Addr pc, rt_link_map *map, ...@@ -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 /* Return a pointer to the unwind table entry for the function containing
PC. */ PC. */
struct unw_table_entry * struct unw_table_entry *
_Unwind_FindTableEntry (void *pc, unsigned long *pseg_base, unsigned long *pgp) _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) ...@@ -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); ret = find_fde_for_dso ((Elf64_Addr)pc, map, pseg_base, pgp);
if (ret) 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"); register unsigned long gp __asm__("gp");
*pgp = gp; *pgp = gp;
return ret; return ret;
......
/* Subroutines needed for unwinding IA-64 standard format stack frame /* Subroutines needed for unwinding IA-64 standard format stack frame
info for exception handling. 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> Contributed by Andrew MacLeod <amacleod@cygnus.com>
Andrew Haley <aph@cygnus.com> Andrew Haley <aph@cygnus.com>
David Mosberger-Tang <davidm@hpl.hp.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, ...@@ -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_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) #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_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_GR(fmt,b,g,arg) desc_br_gr(b,g,arg)
#define UNW_DEC_BR_MEM(fmt,b,arg) desc_br_mem(b,arg) #define UNW_DEC_BR_MEM(fmt,b,arg) desc_br_mem(b,arg)
...@@ -1744,7 +1745,7 @@ static void ...@@ -1744,7 +1745,7 @@ static void
uw_init_context_1 (struct _Unwind_Context *context, void *bsp) uw_init_context_1 (struct _Unwind_Context *context, void *bsp)
{ {
void *rp = __builtin_extract_return_addr (__builtin_return_address (0)); 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; void *psp = __builtin_dwarf_cfa () - 16;
_Unwind_FrameState fs; _Unwind_FrameState fs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment