builtins.def: Fix comment formatting.
* builtins.def: Fix comment formatting. * c-common.def: Likewise. * cfgcleanup.c: Likewise. * combine.c: Likewise. * gengtype.c: Likewise. * params.def: Likewise. * predict.def: Likewise. * rtl.def: Likewise. * stab.def: Likewise. * stor-layout.c: Likewise. * tree.def: Likewise. * config/darwin.c: Likewise. * config/darwin.h: Likewise. * config/dbxcoff.h: Likewise. * config/elfos.h: Likewise. * config/fp-bit.c: Likewise. * config/freebsd-spec.h: Likewise. * config/interix.h: Likewise. * config/libgloss.h: Likewise. * config/linux-aout.h: Likewise. * config/linux.h: Likewise. * config/lynx-ng.h: Likewise. * config/lynx.h: Likewise. * config/netbsd-aout.h: Likewise. * config/netbsd.h: Likewise. * config/netware.h: Likewise. * config/psos.h: Likewise. * config/ptx4.h: Likewise. From-SVN: r57624
This commit is contained in:
parent
27631daef5
commit
991b659243
29 changed files with 127 additions and 96 deletions
|
@ -1,3 +1,34 @@
|
|||
2002-09-29 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* builtins.def: Fix comment formatting.
|
||||
* c-common.def: Likewise.
|
||||
* cfgcleanup.c: Likewise.
|
||||
* combine.c: Likewise.
|
||||
* gengtype.c: Likewise.
|
||||
* params.def: Likewise.
|
||||
* predict.def: Likewise.
|
||||
* rtl.def: Likewise.
|
||||
* stab.def: Likewise.
|
||||
* stor-layout.c: Likewise.
|
||||
* tree.def: Likewise.
|
||||
* config/darwin.c: Likewise.
|
||||
* config/darwin.h: Likewise.
|
||||
* config/dbxcoff.h: Likewise.
|
||||
* config/elfos.h: Likewise.
|
||||
* config/fp-bit.c: Likewise.
|
||||
* config/freebsd-spec.h: Likewise.
|
||||
* config/interix.h: Likewise.
|
||||
* config/libgloss.h: Likewise.
|
||||
* config/linux-aout.h: Likewise.
|
||||
* config/linux.h: Likewise.
|
||||
* config/lynx-ng.h: Likewise.
|
||||
* config/lynx.h: Likewise.
|
||||
* config/netbsd-aout.h: Likewise.
|
||||
* config/netbsd.h: Likewise.
|
||||
* config/netware.h: Likewise.
|
||||
* config/psos.h: Likewise.
|
||||
* config/ptx4.h: Likewise.
|
||||
|
||||
2002-09-28 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* ChangeLog.4: Fix typos.
|
||||
|
|
|
@ -87,7 +87,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|||
`__builtin' version, we will create an ordinary version (e.g,
|
||||
`strchr') as well. If we cannot compute the answer using the
|
||||
builtin function, we will fall back to the standard library
|
||||
version. */
|
||||
version. */
|
||||
#undef DEF_LIB_BUILTIN
|
||||
#define DEF_LIB_BUILTIN(ENUM, NAME, TYPE, ATTRS) \
|
||||
DEF_BUILTIN (ENUM, NAME, BUILT_IN_NORMAL, TYPE, TYPE, \
|
||||
|
|
|
@ -23,7 +23,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|||
02111-1307, USA. */
|
||||
|
||||
/* Tree nodes relevant to both C and C++. These were originally in
|
||||
cp-tree.def in the cp subdir. */
|
||||
cp-tree.def in the cp subdir. */
|
||||
|
||||
/* A node to remember a source position. */
|
||||
DEFTREECODE (SRCLOC, "srcloc", 'x', 2)
|
||||
|
@ -33,55 +33,55 @@ DEFTREECODE (ARROW_EXPR, "arrow_expr", 'e', 1)
|
|||
DEFTREECODE (ALIGNOF_EXPR, "alignof_expr", '1', 1)
|
||||
|
||||
/* Used to represent an expression statement. Use `EXPR_STMT_EXPR' to
|
||||
obtain the expression. */
|
||||
obtain the expression. */
|
||||
DEFTREECODE (EXPR_STMT, "expr_stmt", 'e', 1)
|
||||
|
||||
/* Used to represent a brace-enclosed block. The operand is
|
||||
COMPOUND_BODY. */
|
||||
COMPOUND_BODY. */
|
||||
DEFTREECODE (COMPOUND_STMT, "compound_stmt", 'e', 1)
|
||||
|
||||
/* Used to represent a local declaration. The operand is
|
||||
DECL_STMT_DECL. */
|
||||
DECL_STMT_DECL. */
|
||||
DEFTREECODE (DECL_STMT, "decl_stmt", 'e', 1)
|
||||
|
||||
/* Represents an 'if' statement. The operands are IF_COND,
|
||||
THEN_CLAUSE, and ELSE_CLAUSE, respectively. */
|
||||
THEN_CLAUSE, and ELSE_CLAUSE, respectively. */
|
||||
DEFTREECODE (IF_STMT, "if_stmt", 'e', 3)
|
||||
|
||||
/* Used to represent a `for' statement. The operands are
|
||||
FOR_INIT_STMT, FOR_COND, FOR_EXPR, and FOR_BODY, respectively. */
|
||||
FOR_INIT_STMT, FOR_COND, FOR_EXPR, and FOR_BODY, respectively. */
|
||||
DEFTREECODE (FOR_STMT, "for_stmt", 'e', 4)
|
||||
|
||||
/* Used to represent a 'while' statement. The operands are WHILE_COND
|
||||
and WHILE_BODY, respectively. */
|
||||
and WHILE_BODY, respectively. */
|
||||
DEFTREECODE (WHILE_STMT, "while_stmt", 'e', 2)
|
||||
|
||||
/* Used to represent a 'do' statement. The operands are DO_BODY and
|
||||
DO_COND, respectively. */
|
||||
DO_COND, respectively. */
|
||||
DEFTREECODE (DO_STMT, "do_stmt", 'e', 2)
|
||||
|
||||
/* Used to represent a 'return' statement. The operand is
|
||||
RETURN_STMT_EXPR. */
|
||||
RETURN_STMT_EXPR. */
|
||||
DEFTREECODE (RETURN_STMT, "return_stmt", 'e', 1)
|
||||
|
||||
/* Used to represent a 'break' statement. */
|
||||
/* Used to represent a 'break' statement. */
|
||||
DEFTREECODE (BREAK_STMT, "break_stmt", 'e', 0)
|
||||
|
||||
/* Used to represent a 'continue' statement. */
|
||||
/* Used to represent a 'continue' statement. */
|
||||
DEFTREECODE (CONTINUE_STMT, "continue_stmt", 'e', 0)
|
||||
|
||||
/* Used to represent a 'switch' statement. The operands are
|
||||
SWITCH_COND, SWITCH_BODY and SWITCH_TYPE, respectively. */
|
||||
SWITCH_COND, SWITCH_BODY and SWITCH_TYPE, respectively. */
|
||||
DEFTREECODE (SWITCH_STMT, "switch_stmt", 'e', 3)
|
||||
|
||||
/* Used to represent a 'goto' statement. The operand is GOTO_DESTINATION. */
|
||||
/* Used to represent a 'goto' statement. The operand is GOTO_DESTINATION. */
|
||||
DEFTREECODE (GOTO_STMT, "goto_stmt", 'e', 1)
|
||||
|
||||
/* Used to represent a 'label' statement. The operand is a LABEL_DECL
|
||||
and can be obtained through the macro LABEL_STMT_LABEL. */
|
||||
and can be obtained through the macro LABEL_STMT_LABEL. */
|
||||
DEFTREECODE (LABEL_STMT, "label_stmt", 'e', 1)
|
||||
|
||||
/* Used to represent an inline assembly statement. */
|
||||
/* Used to represent an inline assembly statement. */
|
||||
DEFTREECODE (ASM_STMT, "asm_stmt", 'e', 5)
|
||||
|
||||
/* A SCOPE_STMT marks the beginning or end of a scope. If
|
||||
|
|
|
@ -518,7 +518,7 @@ try_forward_edges (mode, b)
|
|||
|
||||
/* Do not clean up branches to just past the end of a loop
|
||||
at this time; it can mess up the loop optimizer's
|
||||
recognition of some patterns. */
|
||||
recognition of some patterns. */
|
||||
|
||||
insn = PREV_INSN (target->head);
|
||||
if (insn && GET_CODE (insn) == NOTE
|
||||
|
|
|
@ -6132,7 +6132,7 @@ make_extraction (mode, inner, pos, pos_rtx, len,
|
|||
- GET_MODE_SIZE (tmode)) % UNITS_PER_WORD;
|
||||
|
||||
/* Avoid creating invalid subregs, for example when
|
||||
simplifying (x>>32)&255. */
|
||||
simplifying (x>>32)&255. */
|
||||
if (final_word >= GET_MODE_SIZE (inner_mode))
|
||||
return NULL_RTX;
|
||||
|
||||
|
|
|
@ -217,7 +217,7 @@ machopic_define_name (name)
|
|||
}
|
||||
|
||||
/* This is a static to make inline functions work. The rtx
|
||||
representing the PIC base symbol always points to here. */
|
||||
representing the PIC base symbol always points to here. */
|
||||
|
||||
static char function_base[32];
|
||||
|
||||
|
@ -1023,7 +1023,7 @@ update_non_lazy_ptrs (name)
|
|||
|
||||
/* Function NAME is being defined, and its label has just been output.
|
||||
If there's already a reference to a stub for this function, we can
|
||||
just emit the stub label now and we don't bother emitting the stub later. */
|
||||
just emit the stub label now and we don't bother emitting the stub later. */
|
||||
|
||||
void
|
||||
machopic_output_possible_stub_label (file, name)
|
||||
|
@ -1214,7 +1214,7 @@ machopic_select_section (exp, reloc, align)
|
|||
}
|
||||
|
||||
/* This can be called with address expressions as "rtx".
|
||||
They must go in "const". */
|
||||
They must go in "const". */
|
||||
|
||||
void
|
||||
machopic_select_rtx_section (mode, x, align)
|
||||
|
|
|
@ -94,7 +94,7 @@ Boston, MA 02111-1307, USA. */
|
|||
#undef LIB_SPEC
|
||||
#define LIB_SPEC "%{!static:-lSystem}"
|
||||
|
||||
/* We specify crt0.o as -lcrt0.o so that ld will search the library path. */
|
||||
/* We specify crt0.o as -lcrt0.o so that ld will search the library path. */
|
||||
|
||||
#undef STARTFILE_SPEC
|
||||
#define STARTFILE_SPEC \
|
||||
|
@ -120,7 +120,7 @@ Boston, MA 02111-1307, USA. */
|
|||
|
||||
#define DBX_CONTIN_LENGTH 0
|
||||
|
||||
/* gdb needs a null N_SO at the end of each file for scattered loading. */
|
||||
/* gdb needs a null N_SO at the end of each file for scattered loading. */
|
||||
|
||||
#undef DBX_OUTPUT_MAIN_SOURCE_FILE_END
|
||||
#define DBX_OUTPUT_MAIN_SOURCE_FILE_END(FILE, FILENAME) \
|
||||
|
@ -166,7 +166,7 @@ do { text_section (); \
|
|||
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
|
||||
fprintf (FILE, "\t.space %d\n", SIZE)
|
||||
|
||||
/* Give ObjC methods pretty symbol names. */
|
||||
/* Give ObjC methods pretty symbol names. */
|
||||
|
||||
#undef OBJC_GEN_METHOD_LABEL
|
||||
#define OBJC_GEN_METHOD_LABEL(BUF,IS_INST,CLASS_NAME,CAT_NAME,SEL_NAME,NUM) \
|
||||
|
@ -290,7 +290,7 @@ do { text_section (); \
|
|||
#undef MAX_OFILE_ALIGNMENT
|
||||
#define MAX_OFILE_ALIGNMENT 0x8000
|
||||
|
||||
/* Create new Mach-O sections. */
|
||||
/* Create new Mach-O sections. */
|
||||
|
||||
#undef SECTION_FUNCTION
|
||||
#define SECTION_FUNCTION(FUNCTION, SECTION, DIRECTIVE, OBJC) \
|
||||
|
|
|
@ -26,7 +26,7 @@ Boston, MA 02111-1307, USA. */
|
|||
|
||||
#define DBX_DEBUGGING_INFO 1
|
||||
|
||||
/* Generate SDB debugging information by default. */
|
||||
/* Generate SDB debugging information by default. */
|
||||
|
||||
#ifndef PREFERRED_DEBUGGING_TYPE
|
||||
#define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
|
||||
|
|
|
@ -400,7 +400,7 @@ Boston, MA 02111-1307, USA. */
|
|||
generated assembly code more compact (and thus faster to assemble)
|
||||
as well as more readable, especially for targets like the i386
|
||||
(where the only alternative is to output character sequences as
|
||||
comma separated lists of numbers). */
|
||||
comma separated lists of numbers). */
|
||||
|
||||
#define ASM_OUTPUT_LIMITED_STRING(FILE, STR) \
|
||||
do \
|
||||
|
|
|
@ -136,7 +136,7 @@ INLINE
|
|||
static fp_number_type *
|
||||
nan (void)
|
||||
{
|
||||
/* Discard the const qualifier... */
|
||||
/* Discard the const qualifier... */
|
||||
#ifdef FLOAT
|
||||
return (fp_number_type *) (& __thenan_sf);
|
||||
#else
|
||||
|
@ -745,14 +745,14 @@ _fpmul_parts ( fp_number_type * a,
|
|||
high |= 1;
|
||||
low <<= 1;
|
||||
}
|
||||
/* rounding is tricky. if we only round if it won't make us round later. */
|
||||
/* rounding is tricky. if we only round if it won't make us round later. */
|
||||
#if 0
|
||||
if (low & FRACHIGH2)
|
||||
{
|
||||
if (((high & GARDMASK) != GARDMSB)
|
||||
&& (((high + 1) & GARDMASK) == GARDMSB))
|
||||
{
|
||||
/* don't round, it gets done again later. */
|
||||
/* don't round, it gets done again later. */
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -920,7 +920,7 @@ int
|
|||
__fpcmp_parts (fp_number_type * a, fp_number_type * b)
|
||||
{
|
||||
#if 0
|
||||
/* either nan -> unordered. Must be checked outside of this routine. */
|
||||
/* either nan -> unordered. Must be checked outside of this routine. */
|
||||
if (isnan (a) && isnan (b))
|
||||
{
|
||||
return 1; /* still unordered! */
|
||||
|
@ -944,7 +944,7 @@ __fpcmp_parts (fp_number_type * a, fp_number_type * b)
|
|||
*/
|
||||
return b->sign - a->sign;
|
||||
}
|
||||
/* but not both... */
|
||||
/* but not both... */
|
||||
if (isinf (a))
|
||||
{
|
||||
return a->sign ? -1 : 1;
|
||||
|
@ -965,7 +965,7 @@ __fpcmp_parts (fp_number_type * a, fp_number_type * b)
|
|||
{
|
||||
return a->sign ? -1 : 1;
|
||||
}
|
||||
/* now both are "normal". */
|
||||
/* now both are "normal". */
|
||||
if (a->sign != b->sign)
|
||||
{
|
||||
/* opposite signs */
|
||||
|
@ -980,7 +980,7 @@ __fpcmp_parts (fp_number_type * a, fp_number_type * b)
|
|||
{
|
||||
return a->sign ? 1 : -1;
|
||||
}
|
||||
/* same exponents; check size. */
|
||||
/* same exponents; check size. */
|
||||
if (a->fraction.ll > b->fraction.ll)
|
||||
{
|
||||
return a->sign ? -1 : 1;
|
||||
|
@ -989,7 +989,7 @@ __fpcmp_parts (fp_number_type * a, fp_number_type * b)
|
|||
{
|
||||
return a->sign ? 1 : -1;
|
||||
}
|
||||
/* after all that, they're equal. */
|
||||
/* after all that, they're equal. */
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
@ -1246,7 +1246,7 @@ float_to_si (FLO_type arg_a)
|
|||
return 0;
|
||||
if (isnan (&a))
|
||||
return 0;
|
||||
/* get reasonable MAX_SI_INT... */
|
||||
/* get reasonable MAX_SI_INT... */
|
||||
if (isinf (&a))
|
||||
return a.sign ? (-MAX_SI_INT)-1 : MAX_SI_INT;
|
||||
/* it is a number, but a small one */
|
||||
|
@ -1283,7 +1283,7 @@ float_to_usi (FLO_type arg_a)
|
|||
/* it is a negative number */
|
||||
if (a.sign)
|
||||
return 0;
|
||||
/* get reasonable MAX_USI_INT... */
|
||||
/* get reasonable MAX_USI_INT... */
|
||||
if (isinf (&a))
|
||||
return MAX_USI_INT;
|
||||
/* it is a number, but a small one */
|
||||
|
|
|
@ -84,7 +84,7 @@ Boston, MA 02111-1307, USA. */
|
|||
/* Provide a STARTFILE_SPEC appropriate for FreeBSD. Here we add
|
||||
the magical crtbegin.o file (see crtstuff.c) which provides part
|
||||
of the support for getting C++ file-scope static object constructed
|
||||
before entering `main'. */
|
||||
before entering `main'. */
|
||||
|
||||
#define FBSD_STARTFILE_SPEC \
|
||||
"%{!shared: \
|
||||
|
|
|
@ -104,7 +104,7 @@ for windows/multi thread */
|
|||
#define WCHAR_TYPE_SIZE 16
|
||||
|
||||
/* Our strategy for finding global constructors is a bit different, although
|
||||
not a lot. */
|
||||
not a lot. */
|
||||
#define DO_GLOBAL_CTORS_BODY \
|
||||
do { \
|
||||
int i; \
|
||||
|
|
|
@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
|
|||
STARTFILE_SPEC is all wrong. */
|
||||
|
||||
/* The libgloss standard for crt0.s has the name based on the command line
|
||||
option. */
|
||||
option. */
|
||||
#undef STARTFILE_SPEC
|
||||
#define STARTFILE_SPEC "%{!shared:%{pg:pgcrt0%O%s}%{!pg:%{p:pcrt0%O%s}%{!p:crt0%O%s}}}"
|
||||
|
||||
|
|
|
@ -19,11 +19,11 @@ 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
|
||||
|
||||
/* GNU/Linux uses ctype from glibc.a. I am not sure how complete it is.
|
||||
For now, we play safe. It may change later. */
|
||||
For now, we play safe. It may change later. */
|
||||
|
||||
#if 0
|
||||
#undef MULTIBYTE_CHARS
|
||||
|
@ -41,5 +41,5 @@ Boston, MA 02111-1307, USA. */
|
|||
|
||||
#define SET_ASM_OP "\t.set\t"
|
||||
|
||||
/* We need that too. */
|
||||
/* We need that too. */
|
||||
#define HANDLE_SYSV_PRAGMA
|
||||
|
|
|
@ -20,11 +20,11 @@ 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
|
||||
|
||||
/* GNU/Linux uses ctype from glibc.a. I am not sure how complete it is.
|
||||
For now, we play safe. It may change later. */
|
||||
For now, we play safe. It may change later. */
|
||||
|
||||
#if 0
|
||||
#undef MULTIBYTE_CHARS
|
||||
|
@ -43,7 +43,7 @@ Boston, MA 02111-1307, USA. */
|
|||
/* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add
|
||||
the GNU/Linux magical crtbegin.o file (see crtstuff.c) which
|
||||
provides part of the support for getting C++ file-scope static
|
||||
object constructed before entering `main'. */
|
||||
object constructed before entering `main'. */
|
||||
|
||||
#undef STARTFILE_SPEC
|
||||
#ifdef USE_GNULIBC_1
|
||||
|
@ -73,7 +73,7 @@ Boston, MA 02111-1307, USA. */
|
|||
#define ENDFILE_SPEC \
|
||||
"%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
|
||||
|
||||
/* This is for -profile to use -lc_p instead of -lc. */
|
||||
/* This is for -profile to use -lc_p instead of -lc. */
|
||||
#ifndef CC1_SPEC
|
||||
#define CC1_SPEC "%{profile:-p}"
|
||||
#endif
|
||||
|
@ -85,7 +85,7 @@ Boston, MA 02111-1307, USA. */
|
|||
#undef LIB_SPEC
|
||||
/* We no longer link with libc_p.a or libg.a by default. If you
|
||||
want to profile or debug the GNU/Linux C library, please add
|
||||
-profile or -ggdb to LDFLAGS at the link time, respectively. */
|
||||
-profile or -ggdb to LDFLAGS at the link time, respectively. */
|
||||
#if 1
|
||||
#ifdef USE_GNULIBC_1
|
||||
#define LIB_SPEC \
|
||||
|
|
|
@ -19,7 +19,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
|
|||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* This is for backwards compatibility with older Lynx tools, which use
|
||||
a version of a.out format. */
|
||||
a version of a.out format. */
|
||||
|
||||
#undef ASM_SPEC
|
||||
#define ASM_SPEC "%{mcoff:-C}"
|
||||
|
@ -103,7 +103,7 @@ Boston, MA 02111-1307, USA. */
|
|||
|
||||
#define MD_EXEC_PREFIX "/usr/local/lib/gcc-"
|
||||
|
||||
/* This is needed because /bin/ld does not handle -L options correctly. */
|
||||
/* This is needed because /bin/ld does not handle -L options correctly. */
|
||||
|
||||
#define LINK_LIBGCC_SPECIAL_1
|
||||
|
||||
|
|
|
@ -20,27 +20,27 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
|
|||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* LynxOS is a multi-platform Unix, similar to SVR3, but not identical.
|
||||
We can get quite a bit from generic svr3, but have to do some overrides. */
|
||||
We can get quite a bit from generic svr3, but have to do some overrides. */
|
||||
|
||||
#include "svr3.h"
|
||||
|
||||
/* Define various macros, depending on the combination of flags. */
|
||||
/* Define various macros, depending on the combination of flags. */
|
||||
|
||||
#undef CPP_SPEC
|
||||
#define CPP_SPEC "%{mthreads:-D_MULTITHREADED} \
|
||||
%{mposix:-D_POSIX_SOURCE} \
|
||||
%{msystem-v:-I/usr/include_v}"
|
||||
|
||||
/* No asm spec needed, since using GNU assembler always. */
|
||||
/* No asm spec needed, since using GNU assembler always. */
|
||||
|
||||
/* No linker spec needed, since using GNU linker always. */
|
||||
/* No linker spec needed, since using GNU linker always. */
|
||||
|
||||
#undef LIB_SPEC
|
||||
#define LIB_SPEC "%{mthreads:-L/lib/thread/} \
|
||||
%{msystem-v:-lc_v} \
|
||||
%{!msystem-v:%{mposix:-lc_p} -lc -lm}"
|
||||
|
||||
/* Set the appropriate names for the Lynx startfiles. */
|
||||
/* Set the appropriate names for the Lynx startfiles. */
|
||||
|
||||
#undef STARTFILE_SPEC
|
||||
#define STARTFILE_SPEC "%{p:%{mthreads:thread/pinit1.o%s}%{!mthreads:pinit1.o%s}}%{!p:%{msystem-v:vinit1.o%s -e_start}%{!msystem-v:%{mthreads:thread/init1.o%s}%{!mthreads:init1.o%s}}}"
|
||||
|
@ -48,7 +48,7 @@ Boston, MA 02111-1307, USA. */
|
|||
#undef ENDFILE_SPEC
|
||||
#define ENDFILE_SPEC "%{p:_etext.o%s}%{!p:initn.o%s}"
|
||||
|
||||
/* Override the svr3 versions. */
|
||||
/* Override the svr3 versions. */
|
||||
|
||||
#undef WCHAR_TYPE
|
||||
#define WCHAR_TYPE "int"
|
||||
|
@ -63,11 +63,11 @@ Boston, MA 02111-1307, USA. */
|
|||
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
|
||||
|
||||
/* It is convenient to be able to generate standard coff debugging
|
||||
if requested via -gcoff. */
|
||||
if requested via -gcoff. */
|
||||
|
||||
#define SDB_DEBUGGING_INFO 1
|
||||
|
||||
/* Be function-relative for block and source line stab directives. */
|
||||
/* Be function-relative for block and source line stab directives. */
|
||||
|
||||
#define DBX_BLOCKS_FUNCTION_RELATIVE 1
|
||||
|
||||
|
@ -97,7 +97,7 @@ Boston, MA 02111-1307, USA. */
|
|||
|
||||
#define HANDLE_SYSV_PRAGMA
|
||||
|
||||
/* Some additional command-line options. */
|
||||
/* Some additional command-line options. */
|
||||
|
||||
#define TARGET_THREADS (target_flags & MASK_THREADS)
|
||||
#define MASK_THREADS 0x40000000
|
||||
|
@ -124,7 +124,7 @@ do { \
|
|||
} while (0)
|
||||
|
||||
/* Since init.o et al put all sorts of stuff into the init section,
|
||||
we can't use the standard init section support in crtbegin.o. */
|
||||
we can't use the standard init section support in crtbegin.o. */
|
||||
|
||||
#undef INIT_SECTION_ASM_OP
|
||||
|
||||
|
@ -143,6 +143,6 @@ do { \
|
|||
#undef DO_GLOBAL_CTORS_BODY
|
||||
#undef DO_GLOBAL_DTORS_BODY
|
||||
|
||||
/* LynxOS doesn't have mcount. */
|
||||
/* LynxOS doesn't have mcount. */
|
||||
#undef FUNCTION_PROFILER
|
||||
#define FUNCTION_PROFILER(file, profile_label_no)
|
||||
|
|
|
@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */
|
|||
} \
|
||||
while (0)
|
||||
|
||||
/* This defines which switch letters take arguments. */
|
||||
/* This defines which switch letters take arguments. */
|
||||
|
||||
#undef SWITCH_TAKES_ARG
|
||||
#define SWITCH_TAKES_ARG(CHAR) \
|
||||
|
|
|
@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */
|
|||
|
||||
/* NETBSD_NATIVE is defined when gcc is integrated into the NetBSD
|
||||
source tree so it can be configured appropriately without using
|
||||
the GNU configure/build mechanism. */
|
||||
the GNU configure/build mechanism. */
|
||||
|
||||
#ifdef NETBSD_NATIVE
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
|
|||
anyway for cross-compilers, and the other specs won't get picked up
|
||||
'coz the user is supposed to do ld -r (hmm, perhaps that should be
|
||||
the default). In any case, setting them thus will catch some
|
||||
common user errors. */
|
||||
common user errors. */
|
||||
|
||||
#undef MD_EXEC_PREFIX
|
||||
#undef MD_STARTFILE_PREFIX
|
||||
|
|
|
@ -51,13 +51,13 @@ Boston, MA 02111-1307, USA.
|
|||
board-support package (e.g. M162) and the run-time configuration
|
||||
(e.g. application vs. ram-image vs. rom-image). Specify the
|
||||
startfile in a linker-script created from the generic
|
||||
architecture-specific linker-scripts. */
|
||||
architecture-specific linker-scripts. */
|
||||
|
||||
#undef STARTFILE_SPEC
|
||||
#define STARTFILE_SPEC ""
|
||||
|
||||
|
||||
/* Predefined macros (independent of processor type). */
|
||||
/* Predefined macros (independent of processor type). */
|
||||
|
||||
#undef CPP_PREDEFINES
|
||||
#define CPP_PREDEFINES "-Dpsos"
|
||||
|
|
|
@ -180,7 +180,7 @@ Boston, MA 02111-1307, USA.
|
|||
%{!ansi:values-Xa.o%s} \
|
||||
crtbegin.o%s"
|
||||
|
||||
/* Don't use bcopy, which doesn't handle overlaps before DYNIX/ptx 4.6. */
|
||||
/* Don't use bcopy, which doesn't handle overlaps before DYNIX/ptx 4.6. */
|
||||
|
||||
#undef HAVE_BCOPY
|
||||
|
||||
|
@ -239,7 +239,7 @@ while (0)
|
|||
/* This says how to output assembler code to declare an uninitialized
|
||||
external linkage data item. There's a bug in the DYNIX/ptx linker
|
||||
(PR 254649) when the alignment for such an object is specified, so
|
||||
ignore the ALIGN parameter. */
|
||||
ignore the ALIGN parameter. */
|
||||
|
||||
#undef ASM_OUTPUT_ALIGNED_COMMON
|
||||
#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \
|
||||
|
|
|
@ -254,7 +254,7 @@ find_structure (name, isunion)
|
|||
|
||||
/* Return the previously-defined parameterised structure for structure
|
||||
T and parameters PARAM, or a new parameterised empty structure or
|
||||
union if none was defined previously. */
|
||||
union if none was defined previously. */
|
||||
|
||||
static type_p
|
||||
find_param_structure (t, param)
|
||||
|
@ -594,7 +594,7 @@ adjust_field_rtx_def (t, opt)
|
|||
}
|
||||
else if (t == basic_block_tp)
|
||||
{
|
||||
/* We don't presently GC basic block structures... */
|
||||
/* We don't presently GC basic block structures... */
|
||||
subfields->opt = xmalloc (sizeof (*subfields->opt));
|
||||
subfields->opt->next = nodot;
|
||||
subfields->opt->name = "skip";
|
||||
|
|
|
@ -138,7 +138,7 @@ DEFPARAM(PARAM_MAX_GCSE_MEMORY,
|
|||
"max-gcse-memory",
|
||||
"The maximum amount of memory to be allocated by GCSE",
|
||||
50 * 1024 * 1024)
|
||||
/* The number of repetitions of copy/const prop and PRE to run. */
|
||||
/* The number of repetitions of copy/const prop and PRE to run. */
|
||||
DEFPARAM(PARAM_MAX_GCSE_PASSES,
|
||||
"max-gcse-passes",
|
||||
"The maximum number of passes to make when doing GCSE",
|
||||
|
|
|
@ -74,7 +74,7 @@ DEF_PREDICTOR (PRED_NORETURN, "noreturn call", HITRATE (99),
|
|||
DEF_PREDICTOR (PRED_LOOP_BRANCH, "loop branch", HITRATE (89),
|
||||
PRED_FLAG_FIRST_MATCH)
|
||||
|
||||
/* Edge causing loop to terminate is probably not taken. */
|
||||
/* Edge causing loop to terminate is probably not taken. */
|
||||
DEF_PREDICTOR (PRED_LOOP_EXIT, "loop exit", HITRATE (90),
|
||||
PRED_FLAG_FIRST_MATCH)
|
||||
|
||||
|
|
12
gcc/rtl.def
12
gcc/rtl.def
|
@ -207,7 +207,7 @@ DEF_RTL_EXPR(DEFINE_PEEPHOLE, "define_peephole", "EsTV", 'x')
|
|||
insns. This might, for example, create some RTX's and store them in
|
||||
elements of `recog_data.operand' for use by the vector of
|
||||
insn-patterns.
|
||||
(`operands' is an alias here for `recog_data.operand'). */
|
||||
(`operands' is an alias here for `recog_data.operand'). */
|
||||
DEF_RTL_EXPR(DEFINE_SPLIT, "define_split", "EsES", 'x')
|
||||
|
||||
/* Definition of an insn and associated split.
|
||||
|
@ -497,10 +497,10 @@ DEF_RTL_EXPR(DEFINE_INSN_RESERVATION, "define_insn_reservation", "sies", 'x')
|
|||
/* Definition of an insn attribute.
|
||||
1st operand: name of the attribute
|
||||
2nd operand: comma-separated list of possible attribute values
|
||||
3rd operand: expression for the default value of the attribute. */
|
||||
3rd operand: expression for the default value of the attribute. */
|
||||
DEF_RTL_EXPR(DEFINE_ATTR, "define_attr", "sse", 'x')
|
||||
|
||||
/* Marker for the name of an attribute. */
|
||||
/* Marker for the name of an attribute. */
|
||||
DEF_RTL_EXPR(ATTR, "attr", "s", 'x')
|
||||
|
||||
/* For use in the last (optional) operand of DEFINE_INSN or DEFINE_PEEPHOLE and
|
||||
|
@ -964,7 +964,7 @@ DEF_RTL_EXPR(LTU, "ltu", "ee", '<')
|
|||
DEF_RTL_EXPR(UNORDERED, "unordered", "ee", '<')
|
||||
DEF_RTL_EXPR(ORDERED, "ordered", "ee", '<')
|
||||
|
||||
/* These are equivalent to unordered or ... */
|
||||
/* These are equivalent to unordered or ... */
|
||||
DEF_RTL_EXPR(UNEQ, "uneq", "ee", '<')
|
||||
DEF_RTL_EXPR(UNGE, "unge", "ee", '<')
|
||||
DEF_RTL_EXPR(UNGT, "ungt", "ee", '<')
|
||||
|
@ -1067,7 +1067,7 @@ DEF_RTL_EXPR(RANGE_INFO, "range_info", "uuEiiiiiibbii", 'x')
|
|||
live length. Operand 7 is the number of calls that this register is live
|
||||
across. Operand 8 is the symbol node of the variable if the register is a
|
||||
user variable. Operand 9 is the block node that the variable is declared
|
||||
in if the register is a user variable. */
|
||||
in if the register is a user variable. */
|
||||
DEF_RTL_EXPR(RANGE_REG, "range_reg", "iiiiiiiitt", 'x')
|
||||
|
||||
/* Information about a local variable's ranges. Operand 0 is an EXPR_LIST of
|
||||
|
@ -1082,7 +1082,7 @@ DEF_RTL_EXPR(RANGE_LIVE, "range_live", "bi", 'x')
|
|||
|
||||
/* A unary `__builtin_constant_p' expression. These are only emitted
|
||||
during RTL generation, and then only if optimize > 0. They are
|
||||
eliminated by the first CSE pass. */
|
||||
eliminated by the first CSE pass. */
|
||||
DEF_RTL_EXPR(CONSTANT_P_RTX, "constant_p_rtx", "e", 'x')
|
||||
|
||||
/* A placeholder for a CALL_INSN which may be turned into a normal call,
|
||||
|
|
|
@ -47,10 +47,10 @@ __define_stab (N_MAIN, 0x2a, "MAIN")
|
|||
Supposedly the value is its line number; I'm skeptical. */
|
||||
__define_stab (N_PC, 0x30, "PC")
|
||||
|
||||
/* Number of symbols: 0, files,,funcs,lines according to Ultrix V4.0. */
|
||||
/* Number of symbols: 0, files,,funcs,lines according to Ultrix V4.0. */
|
||||
__define_stab (N_NSYMS, 0x32, "NSYMS")
|
||||
|
||||
/* "No DST map for sym: name, ,0,type,ignored" according to Ultrix V4.0. */
|
||||
/* "No DST map for sym: name, ,0,type,ignored" according to Ultrix V4.0. */
|
||||
__define_stab (N_NOMAP, 0x34, "NOMAP")
|
||||
|
||||
/* New stab from Solaris. I don't know what it means, but it
|
||||
|
@ -90,7 +90,7 @@ __define_stab (N_BROWS, 0x48, "BROWS")
|
|||
__define_stab(N_DEFD, 0x4a, "DEFD")
|
||||
|
||||
/* THE FOLLOWING TWO STAB VALUES CONFLICT. Happily, one is for Modula-2
|
||||
and one is for C++. Still,... */
|
||||
and one is for C++. Still,... */
|
||||
/* GNU C++ exception variable. Name is variable name. */
|
||||
__define_stab (N_EHDECL, 0x50, "EHDECL")
|
||||
/* Modula2 info "for imc": name,,0,0,0 according to Ultrix V4.0. */
|
||||
|
@ -168,7 +168,7 @@ __define_stab (N_ECOML, 0xe8, "ECOML")
|
|||
|
||||
/* These STAB's are used on Gould systems for Non-Base register symbols
|
||||
or something like that. FIXME. I have assigned the values at random
|
||||
since I don't have a Gould here. Fixups from Gould folk welcome... */
|
||||
since I don't have a Gould here. Fixups from Gould folk welcome... */
|
||||
__define_stab (N_NBTEXT, 0xF0, "NBTEXT")
|
||||
__define_stab (N_NBDATA, 0xF2, "NBDATA")
|
||||
__define_stab (N_NBBSS, 0xF4, "NBBSS")
|
||||
|
|
|
@ -1022,12 +1022,12 @@ place_field (rli, field)
|
|||
|| (rli->prev_field && ! DECL_PACKED (rli->prev_field))))
|
||||
{
|
||||
/* At this point, either the prior or current are bitfields,
|
||||
(possibly both), and we're dealing with MS packing. */
|
||||
(possibly both), and we're dealing with MS packing. */
|
||||
tree prev_saved = rli->prev_field;
|
||||
|
||||
/* Is the prior field a bitfield? If so, handle "runs" of same
|
||||
type size fields. */
|
||||
if (rli->prev_field /* necessarily a bitfield if it exists. */)
|
||||
type size fields. */
|
||||
if (rli->prev_field /* necessarily a bitfield if it exists. */)
|
||||
{
|
||||
/* If both are bitfields, nonzero, and the same size, this is
|
||||
the middle of a run. Zero declared size fields are special
|
||||
|
@ -1049,7 +1049,7 @@ place_field (rli, field)
|
|||
|
||||
if (rli->remaining_in_alignment < bitsize)
|
||||
{
|
||||
/* out of bits; bump up to next 'word'. */
|
||||
/* out of bits; bump up to next 'word'. */
|
||||
rli->bitpos = size_binop (PLUS_EXPR,
|
||||
type_size,
|
||||
DECL_FIELD_BIT_OFFSET(rli->prev_field));
|
||||
|
@ -1079,12 +1079,12 @@ place_field (rli, field)
|
|||
else
|
||||
{
|
||||
/* We "use up" size zero fields; the code below should behave
|
||||
as if the prior field was not a bitfield. */
|
||||
as if the prior field was not a bitfield. */
|
||||
prev_saved = NULL;
|
||||
}
|
||||
|
||||
/* Cause a new bitfield to be captured, either this time (if
|
||||
currently a bitfield) or next time we see one. */
|
||||
currently a bitfield) or next time we see one. */
|
||||
if (!DECL_BIT_FIELD_TYPE(field)
|
||||
|| integer_zerop (DECL_SIZE (field)))
|
||||
{
|
||||
|
@ -1124,7 +1124,7 @@ place_field (rli, field)
|
|||
= TREE_INT_CST_LOW (TYPE_SIZE(TREE_TYPE(field)))
|
||||
- TREE_INT_CST_LOW (DECL_SIZE (field));
|
||||
|
||||
/* Now align (conventionally) for the new type. */
|
||||
/* Now align (conventionally) for the new type. */
|
||||
if (!DECL_PACKED(field))
|
||||
type_align = MAX(TYPE_ALIGN (type), type_align);
|
||||
|
||||
|
@ -1142,7 +1142,7 @@ place_field (rli, field)
|
|||
|
||||
rli->bitpos = round_up (rli->bitpos, type_align);
|
||||
/* If we really aligned, don't allow subsequent bitfields
|
||||
to undo that. */
|
||||
to undo that. */
|
||||
rli->prev_field = NULL;
|
||||
}
|
||||
}
|
||||
|
@ -1173,7 +1173,7 @@ place_field (rli, field)
|
|||
if (known_align != actual_align)
|
||||
layout_decl (field, actual_align);
|
||||
|
||||
/* Only the MS bitfields use this. */
|
||||
/* Only the MS bitfields use this. */
|
||||
if (rli->prev_field == NULL && DECL_BIT_FIELD_TYPE(field))
|
||||
rli->prev_field = field;
|
||||
|
||||
|
|
10
gcc/tree.def
10
gcc/tree.def
|
@ -204,14 +204,14 @@ DEFTREECODE (FILE_TYPE, "file_type", 't', 0)
|
|||
The field TYPE_POINTER_TO (TREE_TYPE (array_type)) is always nonzero
|
||||
and holds the type to coerce a value of that array type to in C.
|
||||
TYPE_STRING_FLAG indicates a string (in contrast to an array of chars)
|
||||
in languages (such as Chill) that make a distinction. */
|
||||
in languages (such as Chill) that make a distinction. */
|
||||
/* Array types in C or Pascal */
|
||||
DEFTREECODE (ARRAY_TYPE, "array_type", 't', 0)
|
||||
|
||||
/* Types of sets for Pascal. Special fields are the same as
|
||||
in an array type. The target type is always a boolean type.
|
||||
Used for both bitstrings and powersets in Chill;
|
||||
TYPE_STRING_FLAG indicates a bitstring. */
|
||||
TYPE_STRING_FLAG indicates a bitstring. */
|
||||
DEFTREECODE (SET_TYPE, "set_type", 't', 0)
|
||||
|
||||
/* Struct in C, or record in Pascal. */
|
||||
|
@ -369,7 +369,7 @@ DEFTREECODE (INDIRECT_REF, "indirect_ref", 'r', 1)
|
|||
DEFTREECODE (BUFFER_REF, "buffer_ref", 'r', 1)
|
||||
|
||||
/* Array indexing.
|
||||
Operand 0 is the array; operand 1 is a (single) array index. */
|
||||
Operand 0 is the array; operand 1 is a (single) array index. */
|
||||
DEFTREECODE (ARRAY_REF, "array_ref", 'r', 2)
|
||||
|
||||
/* Likewise, except that the result is a range ("slice") of the array. The
|
||||
|
@ -670,7 +670,7 @@ DEFTREECODE (NE_EXPR, "ne_expr", '<', 2)
|
|||
DEFTREECODE (UNORDERED_EXPR, "unordered_expr", '<', 2)
|
||||
DEFTREECODE (ORDERED_EXPR, "ordered_expr", '<', 2)
|
||||
|
||||
/* These are equivalent to unordered or ... */
|
||||
/* These are equivalent to unordered or ... */
|
||||
DEFTREECODE (UNLT_EXPR, "unlt_expr", '<', 2)
|
||||
DEFTREECODE (UNLE_EXPR, "unle_expr", '<', 2)
|
||||
DEFTREECODE (UNGT_EXPR, "ungt_expr", '<', 2)
|
||||
|
@ -846,7 +846,7 @@ DEFTREECODE (EXPR_WITH_FILE_LOCATION, "expr_with_file_location", 'e', 3)
|
|||
/* Switch expression.
|
||||
Operand 0 is the expression used to perform the branch,
|
||||
Operand 1 contains the case values. The way they're organized is
|
||||
front-end implementation defined. */
|
||||
front-end implementation defined. */
|
||||
DEFTREECODE (SWITCH_EXPR, "switch_expr", 'e', 2)
|
||||
|
||||
/* The exception object from the runtime. */
|
||||
|
|
Loading…
Add table
Reference in a new issue