Commit Graph

3046 Commits

Author SHA1 Message Date
Jim Wilson
b00e5f0d0f (label): Use expr_no_commas instead of expr for case labels.
From-SVN: r3059
1993-01-02 12:15:58 -08:00
Richard Stallman
b5b7ff2c40 (gcc.o): Define TOOLDIR_BASE_PREFIX.
From-SVN: r3058
1993-01-02 09:54:14 +00:00
Richard Stallman
f18fd95634 (TOOLDIR_PREFIX): Define if not defined.
(tooldir_prefix, tooldir_base_prefix): New variables.
(main): Set tooldir_prefix.  Add it (plus `bin' or `lib') to search paths.

From-SVN: r3057
1993-01-02 09:53:53 +00:00
Richard Stallman
b8aa9be0a5 (STARTFILE_SPEC): Removed -L"TOOLDIR"/lib.
From-SVN: r3056
1993-01-02 09:51:39 +00:00
Richard Stallman
14b18068c5 (cccp.o, protoize.o, unprotoize.o):
Define TOOL_INCLUDE_DIR as $(tooldir)/include.
(test-protoize-simple): Define TOOL_INCLUDE_DIR as 0.

From-SVN: r3055
1993-01-02 09:05:01 +00:00
Richard Stallman
2a1bf18b82 (default_include): Look directly in TOOL_INCLUDE_DIR.
From-SVN: r3054
1993-01-02 09:03:50 +00:00
Richard Stallman
b7b08dcde4 (REAL_LD_NAME): New variable.
(collect2.o): Don't need STANDARD_STARTFILE_PREFIX, etc.
(install-cross-tools): Use REAL_LD_NAME instead of `ld' when linking
files from tooldir to libsubdir.

From-SVN: r3053
1993-01-02 08:33:03 +00:00
Richard Stallman
bb59f9a64b (main): Look for real-ld' after gld', before `ld'.
Fix typo in -debug part of previous change.


Look for tools using paths rather than a single prefix.
(struct prefix_list, struct path_prefix): New structures.
(cpath, path): New variables.
(find_a_file, add_prefix): New functions; simplified versions of
functions from gcc.c.
(prefix_from_env): New function.
(main): Get path to search for binaries from COMPILER_PATH
environment variable always set by gcc.c and from PATH.
Qualify names with target machine in cross-environment unless
using compiler directories.
Use find_a_file to find our binaries.
Remove use of single prefix.
If -debug, print strip_file_name.
(fork_execute): Print program we are trying to execute if -debug and
we can't find the file.
(scan_prog_file): Complain if can't find nm.

From-SVN: r3052
1993-01-02 08:32:09 +00:00
Richard Stallman
d54d8150fe (stmt, FOR case): Do call position_after_white_space
after recording the current lineno for the increment.

From-SVN: r3051
1993-01-02 04:27:50 +00:00
Jim Wilson
98ed4b49d9 (dbxout_symbol, TYPE_DECL case): Don't output tag which
references incomplete type.

From-SVN: r3050
1993-01-01 16:50:19 -08:00
Jim Wilson
4ba0ff2dd1 (sunwindow/{win_cursor.h,win_lock.h}): Change invalid
#ifdef identifier `ecd.cursor' to `ecd_cursor'.

From-SVN: r3049
1993-01-01 16:48:41 -08:00
Jim Wilson
315da53528 (build_binary_op): Add 'right' and 'left' to shift
count warnings to distinguish them from each other.

From-SVN: r3048
1993-01-01 16:44:24 -08:00
Jim Wilson
77121feee4 (fixup_var_regs_insn): Update last_parm_insn when
insns are output after it to fix it up.

From-SVN: r3047
1993-01-01 16:41:53 -08:00
Jim Wilson
aed0ae9b82 (plain_type_1): Distinguish some C integer types by name.
From-SVN: r3046
1993-01-01 16:39:33 -08:00
Jim Wilson
fcd40e959e (MAKEINFO): New variable, defined to `makeinfo'.
From-SVN: r3045
1993-01-01 16:35:53 -08:00
Richard Kenner
b4d6689b3e (ASM_FILE_START): Switch to text section at end.
Output declaration for .mcount when profiling.

From-SVN: r3044
1993-01-01 17:50:33 -05:00
Jeff Law
b7a4467dcd pa.md (movqi, [...]): Fix attributes which involve fp<->gr copies to match current reality.
* pa.md (movqi, movhi, movsi, movdi, movsf, movdf): Fix attributes
        which involve fp<->gr copies to match current reality.
        (indexed loads): These should have "load" attributes, not "move".

From-SVN: r3043
1993-01-01 10:20:36 -07:00
Jeff Law
c228001d20 pa.md (movdf const_double): Fix lengths.
* pa.md (movdf const_double): Fix lengths.
        (floatsisf patterns): Likewise.
        (floatsidf patterns): Likewise.

From-SVN: r3042
1993-01-01 10:19:41 -07:00
Jeff Law
7c522d5919 pa.c (output_floatsisf, [...]): Abort if presented with a general register -- this should not happen anymore.
* pa.c (output_floatsisf, output_floatsidf): Abort if presented
        with a general register -- this should not happen anymore.

From-SVN: r3041
1993-01-01 10:19:34 -07:00
Jeff Law
1224aecbff pa.h (REGISTER_MOVE_COST): Make moving between FP and non-FP register more expensive.
* pa.h (REGISTER_MOVE_COST): Make moving between FP and non-FP
	register more expensive.

From-SVN: r3040
1993-01-01 10:17:26 -07:00
Jeff Law
6afcfe635e * pa.h (TARGET_NO_BSS): Delete target switch. Delete all references.
From-SVN: r3039
1993-01-01 10:16:13 -07:00
Tom Wood
f8abbe2fad Use m88k/m88k-move.sh
From-SVN: r3038
1993-01-01 12:39:21 +00:00
Tom Wood
16a2f60ed8 Include files in m88k.
From-SVN: r3037
1993-01-01 12:38:34 +00:00
Jim Wilson
e6b89e8bf2 (sched_analyze_1, sched_analyze_2): If before reloading,
record dependences that may be introduced by reload substituting
equivalents for pseudo registers.

From-SVN: r3036
1992-12-31 14:44:22 -08:00
Jim Wilson
b7d9fc385d (sched_analyze_2): Use REG_NOTE_KIND not GET_MODE in add_dependence call.
(sched_analyze_insn): Likewise.

From-SVN: r3035
1992-12-31 14:42:35 -08:00
Jim Wilson
d95c373334 (LIB_SPEC): When -a, include bb_link.o.
From-SVN: r3034
1992-12-31 14:39:17 -08:00
Richard Stallman
3279bba682 (do_spec_1): Propagate failure from recursive calls.
From-SVN: r3033
1992-12-31 22:38:58 +00:00
Jim Wilson
7e1909ee7f (gmon.o, crt*.o): Change config to $(srcdir)/config.
From-SVN: r3032
1992-12-31 14:34:56 -08:00
Jim Wilson
b6983ae362 (emit_reload_insns): Use gen_lowpart_common to change mode of reloadreg.
From-SVN: r3031
1992-12-31 14:32:16 -08:00
Jim Wilson
dca52d8026 (operands_match_p): For WORDS_BIG_ENDIAN machines,
make multiple register operands equivalent if the last register of
the groups are the same.
(subst_reloads): Use gen_lowpart_common to change mode of
reloadreg.

From-SVN: r3030
1992-12-31 14:31:24 -08:00
Jim Wilson
3002e1601b (gen_input_reload): Also handle PLUS of a MEM and CONSTANT specially.
From-SVN: r3029
1992-12-31 14:28:54 -08:00
Jim Wilson
c3eebffbac (CPP_SPEC, CC1_SPEC, ASM_SPEC, LINK_SPEC,
TARGET_SWITCHES): Delete support for non-existent CPU variations.
(ASM_SPEC, LINK_SPEC, TARGET_SWITCHES): Add support for -mlink-relax.
(SELECT_CC_MODE): Correct typo.

From-SVN: r3028
1992-12-31 14:27:02 -08:00
Jim Wilson
e601abce76 (print_operand): For invalid operands, call
output_operand_lossage instead of aborting.

From-SVN: r3027
1992-12-31 14:24:49 -08:00
Jim Wilson
eff864abc3 (call_internal, call_value_internal): Use 'l' for
match_scratch constraint not 'd'.

From-SVN: r3026
1992-12-31 14:23:00 -08:00
Jim Wilson
3412b298a2 (assign_parms): Emit conversions into a sequence, and
then output the sequence after all parameters have been moved.

From-SVN: r3025
1992-12-31 14:21:06 -08:00
Jim Wilson
6ffe0821bb (expand_binop): Correct indentation of doubleword multiply picture.
From-SVN: r3024
1992-12-31 14:18:00 -08:00
Jim Wilson
a66279da54 (TARGET_SWITCHES): Have -msparclite also clear TARGET_FPU.
From-SVN: r3023
1992-12-31 13:15:29 -08:00
Jim Wilson
a55f13c621 Define away __extension__ if compiled by GCC v1.
From-SVN: r3022
1992-12-31 13:12:34 -08:00
Jim Wilson
ec06f00ad6 (L_builtin_new): Change to L_op_new.
(L_builtin_new): Change to L_op_new.  Use new style
definition for __builtin_new.
(L_caps_New): Change to L_new_handler.  Delete unused function
builtin_vec_new.
(L_builtin_del): Change to L_op_delete.  Delete vfp declaration.
Use new style definition for __builtin_delete.  Delete unused
function __builtin_vec_delete.

From-SVN: r3021
1992-12-31 13:10:50 -08:00
Jim Wilson
9604729123 (LIB2FUNCS): Change _builtin_new to _op_new.
(LIB2FUNCS): Change _builtin_new to _op_new.  Change
_caps_New to _new_handler.  Change _buildin_del to _op_delete.

From-SVN: r3020
1992-12-31 13:10:22 -08:00
Jim Wilson
669b6587f5 (TARGET_SWITCHES): -m68030 does not imply -m68881.
From-SVN: r3019
1992-12-31 13:07:59 -08:00
Jim Wilson
a99bf70c25 (input_from_pipe): New variable.
(do_spec): Set/clear input_from_pipe as appropriate.  Translate %|
to "-" if input_from_pipe is true.

From-SVN: r3018
1992-12-31 13:05:40 -08:00
Jim Wilson
cf8a904b92 (ASM_SPEC): Use %|.
From-SVN: r3017
1992-12-31 13:05:07 -08:00
Jim Wilson
af13f02d36 (strict_low_part_peephole_ok): New function.
From-SVN: r3016
1992-12-31 12:56:04 -08:00
Jim Wilson
ed359ebc31 Add peephole to eliminate unecessary clear instructions
in strict_low_part insn sequences.

From-SVN: r3015
1992-12-31 12:55:33 -08:00
Jim Wilson
483404b6dc (copy_loop_body...
(copy_loop_body, JUMP_INSN case): Do map the body of
the loop branch back, then rewrite it to jump past the end of the
unrolled loop.

From-SVN: r3014
1992-12-31 12:47:49 -08:00
Jim Wilson
feaf9c711c (pushdecl): Check TREE_PUBLIC in addition to
DECL_EXTERNAL decls when looking for duplicate external declarations.

From-SVN: r3013
1992-12-31 12:44:20 -08:00
Jim Wilson
5b01bc66ee (multiline_string_line): New file scope static variable.
(rescan): Delete multiline_string_line variable definition.
(skip_quoted_string): Print start line number of unterminated
string and character constants.  When see a newline: warn if
pedantic; delete unreachable duplicate code for traditional case;
set multiline_string_line.

From-SVN: r3012
1992-12-31 12:42:07 -08:00
Jeff Law
3e146e90e5 pa-hpux.h (LIB_SPEC): Fix so that one can link in profiled libraries under HPUX.
* pa-hpux.h (LIB_SPEC): Fix so that one can link in profiled
	libraries under HPUX.
	* pa-ghpux.h, pa-hpux7.h, pa-gux7.h (LIB_SPEC): Likewise.

From-SVN: r3011
1992-12-31 09:11:11 -07:00
Richard Kenner
7dab19db67 (OBJECT_FORMAT_COFF): Add definition.
From-SVN: r3010
1992-12-31 08:56:12 -05:00