Commit Graph

3078 Commits

Author SHA1 Message Date
Richard Stallman
f744b2ceca (making dirs and links): If we already made subdirs for a dir foo and foo turns out to be a symlink outside /usr/include...
(making dirs and links): If we already made subdirs
for a dir foo and foo turns out to be a symlink outside /usr/include,
after we have made a dir for it in ./root/, make similar subdirs there.

From-SVN: r3091
1993-01-05 02:11:29 +00:00
Jim Wilson
d144d602d7 Initial revision
From-SVN: r3090
1993-01-04 13:58:36 -08:00
Jim Wilson
7ee5a2184c Delete `no change needed' messages.
From-SVN: r3089
1993-01-04 13:55:26 -08:00
Jim Wilson
ffc472664e Delete no change needed' messages. Delete all uses of ex'.
From-SVN: r3088
1993-01-04 13:55:03 -08:00
Torbjorn Granlund
998812aceb (install-common-headers): Pipe grep output to /dev/null.
From-SVN: r3087
1993-01-04 19:05:01 +00:00
Richard Stallman
a7d06674e1 (CC): Add -w.
From-SVN: r3086
1993-01-04 09:04:54 +00:00
Jeff Law
86e3273bf1 Fix typo (missing line) in last change.
From-SVN: r3085
1993-01-03 23:56:54 -07:00
Richard Stallman
e1b027fa55 (perform_*): Rename macro args to arg0, arg1.
From-SVN: r3084
1993-01-04 05:46:01 +00:00
Jeff Law
63671b345f * pa.h (JUMP_TABLES_IN_TEXT_SECTION): Define.
From-SVN: r3083
1993-01-03 19:37:17 -07:00
Jeff Law
a8d916d3d3 jump.c (jump_optimize, [...]): Do this regardless of BRANCH_COST if HAVE_incscc is defined.
* jump.c (jump_optimize, case if (foo) b++):  Do this regardless
	of BRANCH_COST if HAVE_incscc is defined.

From-SVN: r3082
1993-01-03 19:22:40 -07:00
Jeff Law
fd0214cd48 pa.md (scc insn): Name this pattern "scc".
* pa.md (scc insn): Name this pattern "scc".
	(negscc, incscc, cmov): New patterns.

From-SVN: r3081
1993-01-03 19:22:25 -07:00
Jeff Law
9c103251ff * pa.c (incscc_operator): New function.
From-SVN: r3080
1993-01-03 19:22:04 -07:00
Jeff Law
ff6cb22f9c * pa.h (apparent_fsize, actual_fsize): Delete useless declarations.
From-SVN: r3079
1993-01-03 19:19:14 -07:00
Richard Stallman
c9bf18a52a (main): Recognize and remove .cxx as filename suffix.
From-SVN: r3078
1993-01-04 01:38:18 +00:00
Michael Meissner
4396a7a423 Bump meissner version # to 34.
From-SVN: r3077
1993-01-04 00:42:18 +00:00
Michael Meissner
84276e0094 Allow saving FP regs at offset 0 of sp (leaf func that saves no GP regs).
From-SVN: r3076
1993-01-04 00:37:33 +00:00
Richard Kenner
7aba0f0be5 (block_alloc): Generalize tying so we can tie any operand with the output unless some operand must be in the same register as the output...
(block_alloc): Generalize tying so we can tie any operand with the
output unless some operand must be in the same register as the output,
in which case only try tying that operand.

From-SVN: r3075
1993-01-03 19:00:20 -05:00
Richard Kenner
2151a093e3 (rtx_alloc): Clear common area of rtx in a portable manner.
From-SVN: r3074
1993-01-03 18:59:45 -05:00
Jeff Law
86daf4a655 pa.h (INITIAL_FRAME_POINTER_OFFSET): compute_frame_size () now does the whole calculation, including rounding.
* pa.h 	(INITIAL_FRAME_POINTER_OFFSET): compute_frame_size ()
	now does the whole calculation, including rounding.
	(FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Don't pass leaf_function
	to output_function_{prologue,epilogue}.
	(DELAY_SLOTS_FOR_EPILOGUE): Call hppa_epilogue_delay_slots ().

From-SVN: r3073
1993-01-03 12:06:42 -07:00
Jeff Law
2b41935c9e pa.c (apparent_fsize): Delete variable.
* pa.c 	(apparent_fsize): Delete variable.
	(compute_frame_size): Many changes. Return the total frame size,
	including space for "magic" stuff at the top of the stack and any
	rounding for the Snake.
	(output_function_prologue): Don't take a leaf_function argument;
	Decide that based on frame size and frame_pointer_needed.
	Don't emit any frame diddling code if actual_fsize is 0.
	(output_function_epilogue): Don't take leaf_function argument.
	Don't do anything if no frame.
	Keep stack pointer aligned to 64 bytes before loading from old
	frame pointer.
	(hppa_epilogue_delay_slots): Only if there is no frame will we
	have an empty delay slot to fill.
	(eligible_for_epilogue_delay): Don't check "leaf_function" anymore.

From-SVN: r3072
1993-01-03 12:06:11 -07:00
Jeff Law
2721a2e96d pa.h (CONST_COSTS): Make CONST_DOUBLES very expensive.
* pa.h (CONST_COSTS): Make CONST_DOUBLES very expensive.
	Give HIGH expressions a small cost with CONST, SYMBOL_REF,
	and LABEL_REF being twice as expensive as HIGH.

From-SVN: r3071
1993-01-03 12:03:54 -07:00
Jeff Law
2fe24884e0 pa.c (fmpyaddoperands): Verifys given registers are suitable for use in fmpyadd instructions.
* pa.c (fmpyaddoperands): Verifys given registers are suitable for
	use in fmpyadd instructions.
	(fmpysuboperands): Likewise, but for fmpysub instructions.

From-SVN: r3070
1993-01-03 12:02:45 -07:00
Jeff Law
2c871711c3 pa.md (fmpyadd peepholes): New peepholes to issue independent floating point multiply and add instructions...
* pa.md (fmpyadd peepholes): New peepholes to issue independent
	floating point multiply and add instructions at the same time.
	(fmpysub peepholes): Likewise for multiply and subtract instructions.

From-SVN: r3069
1993-01-03 12:02:27 -07:00
Jeff Law
9d32f4a54a pa.c (hppa_save_pic_table_rtx): New variable.
* pa.c (hppa_save_pic_table_rtx): New variable.
	(finalize_pic): Setup hppa_save_pic_table_rtx..

From-SVN: r3068
1993-01-03 11:59:12 -07:00
Jeff Law
81f433e437 pa.h (FIXED_REGISTERS, [...]): r3 isn't fixed!
* pa.h (FIXED_REGISTERS, CALL_USED_REGISTERS): r3 isn't fixed!
	(REG_ALLOC_ORDER): Move r3 up in the allocation order.
	(HAVE_ATEXIT): Define.

From-SVN: r3067
1993-01-03 11:58:56 -07:00
Jeff Law
4d72c2417f pa.md (call, call_value): If flag_pic, emit restore of PIC table register.
* pa.md (call, call_value): If flag_pic, emit restore of PIC table
	register.
	(call_interal, call_value_internal): Name matching insns.
	(movsi, movhi, movqi, movdi, movsf, movdf patterns): Don't
	match memory to memory moves.

From-SVN: r3066
1993-01-03 11:58:36 -07:00
Richard Kenner
3ae7de4ed7 (putenv_from_prefixes): Use PATH_SEPARATOR.
Properly use JUST_MACHINE_SUFFIX when desired; always make path the same as
find_a_file will use.

From-SVN: r3065
1993-01-03 07:28:19 -05:00
Richard Kenner
789bc2823f Remove inadvertent change.
From-SVN: r3064
1993-01-03 07:16:36 -05:00
Richard Kenner
d0adc050ee (movdi): Tests were in wrong order.
From-SVN: r3063
1993-01-03 07:09:52 -05:00
Richard Stallman
0bb5b6bce0 Translate sunos5 to solaris2, and solaris1 to sunos4.
From-SVN: r3062
1993-01-02 21:51:50 +00:00
Richard Stallman
5a0e778b76 (int_size_in_bytes): Change ret type back to int.
From-SVN: r3061
1993-01-02 21:44:10 +00:00
Richard Stallman
82c0ff026c (expand_call): Don't use int_size_in_bytes for a variable-size object.
From-SVN: r3060
1993-01-02 21:43:51 +00:00
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