Commit Graph

746 Commits

Author SHA1 Message Date
Richard Stallman
3279bba682 (do_spec_1): Propagate failure from recursive calls.
From-SVN: r3033
1992-12-31 22:38:58 +00: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
Tom Wood
fb2660307d (temp_names): New variable.
(do_spec_1): Rewrite MKTEMP_EACH_FILE for %g/%u/%U.
	(choose_temp_base): Abort if mktemp yields a null string.

From-SVN: r2847
1992-12-08 13:34:05 +00:00
Richard Stallman
49003ff65a (LINK_LIBGCC_SPECIAL_1): New parameter.
From-SVN: r2818
1992-11-30 23:03:05 +00:00
Richard Stallman
b9490a6ec1 (default_compilers): Pass -i* after -U*.
(default_compilers): When running cpp,
move %{D*} and %{U*} (in that order) just before %i.

(do_spec_1): Handle MKTEMP_EACH_FILE.

From-SVN: r2779
1992-11-23 22:44:40 +00:00
Richard Stallman
05d32ae0e0 (process_command): Check that we have enough arguments.
From-SVN: r2636
1992-10-28 21:20:57 +00:00
Richard Stallman
2484b6d2a9 (process_command): Discard after first space in spec_version.
From-SVN: r2583
1992-10-24 00:50:54 +00:00
Jim Wilson
ebb8e0c6c6 (WORD_SWITCH_TAKES_ARG): Handle -Ttext and -Tbss in addition to -Tdata.
From-SVN: r2529
1992-10-20 13:54:08 -07:00
Richard Stallman
0e14ddbcfc Comment added.
From-SVN: r2146
1992-09-17 19:47:09 +00:00
Richard Stallman
f396d2783c (SIGNED_CHAR_SPEC): Use #if rather than ?...
(SIGNED_CHAR_SPEC): Use #if rather than ?: to handle
setting the default SIGNED_CHAR_SPEC macro, since the 3.0 version
of the MIPS C compiler doesn't like ?: in initializers.

From-SVN: r2145
1992-09-17 19:45:49 +00:00
Richard Stallman
3b9b4d3fa6 (main): No program should return the error_count!
Return 2 if failure due to signal, 1 if just errors.
(execute): Increment signal_count.

From-SVN: r2068
1992-09-07 06:04:38 +00:00
Richard Stallman
cc6fc442d8 (process_command): Correct for spaz by patch, installing last change.
From-SVN: r2045
1992-09-03 08:40:32 +00:00
Richard Stallman
058d85217a (main): Use new loop var J to avoid conflict with I.
From-SVN: r2043
1992-09-03 07:15:21 +00:00
Richard Stallman
20eec2c268 (default_compilers): Add missing comma between strings, so that traditional compilers can compile gcc.c.
(default_compilers): Add missing comma between strings, so
that traditional compilers can compile gcc.c.
(main): Don't pass strcpy or strlen a NULL pointer if some of the
spec strings in default_compilers are NULL.
(validate_all_switches): Don't dereference a NULL pointer if some of
the spec strings in defalut_compilers are NULL.

From-SVN: r2039
1992-09-02 23:19:20 +00:00
Brendan Kehoe
301a5c0b57 (default_compilers, ".C" and ".ii"): Pass `+e*' into cc1plus.
(process_command): Allow +e[012] to be passed down into cc1plus.

From-SVN: r2036
1992-09-02 16:10:54 -04:00
Richard Stallman
ec32609a58 (struct compiler): spec field is now array of 4 elements.
(read_specs): Clear the entire new element of compilers.
(lookup_compiler): Copy all of spec array.  Check element 0 for @.
(main): Concatenate all elements of compiler spec.
(validate_all_switches): Validate from all elements of compiler spec.
(default_compilers): Split CPP commands into separate strings.

From-SVN: r2005
1992-08-31 20:00:19 +00:00
Michael Meissner
4401b31c0e Add %U to give last %u name.
From-SVN: r1942
1992-08-25 17:40:04 +00:00
Richard Stallman
8436fe3532 (process_command): Don't set verbose_flag if they make a
typo (e.g., `-v-E'); only when it's exactly "-v".

From-SVN: r1940
1992-08-25 03:07:57 +00:00
Richard Kenner
f8d97cf472 Put include of stdio.h after GCC header files (for i860-stardent-sysv4).
From-SVN: r1905
1992-08-20 05:58:18 -04:00
Richard Stallman
2ef32c884e (process_command): In second loop over all switches,
don't increment I for switches that don't have separate arguments.

From-SVN: r1856
1992-08-15 07:49:48 +00:00
Tom Wood
26ba9d2636 Really install NULL_PTR change
From-SVN: r1854
1992-08-15 00:20:19 +00:00
Tom Wood
d887e8089b (do_spec_1): Add %u.
(default_compilers): For output of as when -c is not used, use %u
	rather than %g so each object filename will be unique.

(NULL_PTR): Use the same definition as
	rtl.h and tree.h.

From-SVN: r1845
1992-08-14 22:51:05 +00:00
Richard Stallman
a6bf434760 Improve err msg for unknown config.
(read_specs): Cast args of xmalloc and read to unsigned.

From-SVN: r1792
1992-08-11 08:26:06 +00:00
Richard Stallman
5f31db15fb (default_compilers): For output of as when -c is not used,
use %g, rather than %b, because the file is going to be deleted anyway.

From-SVN: r1783
1992-08-07 07:17:12 +00:00
Richard Stallman
7ede72fcf2 (link_command_spec): Accept -static but do nothing with it.
From-SVN: r1715
1992-07-29 22:55:25 +00:00
Richard Stallman
c9ebacb820 (process_command): Handle -Wl,' and -Wa,'.
(do_spec_1): Handle %Y.
(default_compilers): Use %Y in assembler commands.

From-SVN: r1637
1992-07-20 02:49:26 +00:00
Charles Hannum
ae04227b3a entered into RCS
From-SVN: r1511
1992-07-08 03:40:47 +00:00
Richard Kenner
7471ffd8a6 *** empty log message ***
From-SVN: r1478
1992-07-06 16:25:01 -04:00
Richard Kenner
906c4e36c6 *** empty log message ***
From-SVN: r1473
1992-07-06 16:04:13 -04:00
Richard Stallman
ac88fc9055 *** empty log message ***
From-SVN: r1352
1992-06-30 01:52:47 +00:00
Richard Stallman
7558fb2af5 *** empty log message ***
From-SVN: r1304
1992-06-27 05:23:20 +00:00
Richard Stallman
00f7e60311 *** empty log message ***
From-SVN: r1187
1992-06-10 21:23:54 +00:00
Richard Stallman
6196c52839 *** empty log message ***
From-SVN: r1182
1992-06-08 03:09:12 +00:00
Richard Stallman
efb1933019 *** empty log message ***
From-SVN: r1172
1992-06-06 19:22:12 +00:00
Richard Stallman
14be024e77 *** empty log message ***
From-SVN: r1076
1992-05-25 02:25:35 +00:00
Richard Stallman
4c64aaf6a4 *** empty log message ***
From-SVN: r1072
1992-05-24 06:33:48 +00:00
Richard Stallman
607a4f7de3 *** empty log message ***
From-SVN: r1065
1992-05-23 21:04:29 +00:00
Richard Stallman
8eebb25825 *** empty log message ***
From-SVN: r983
1992-05-15 02:18:01 +00:00
Richard Stallman
2dcb563f6c *** empty log message ***
From-SVN: r945
1992-05-09 07:00:44 +00:00
Richard Stallman
6dc42e49d3 *** empty log message ***
From-SVN: r930
1992-05-07 06:41:23 +00:00
Richard Stallman
f6ec7e54c8 *** empty log message ***
From-SVN: r870
1992-05-03 21:39:50 +00:00
Richard Stallman
59014d0a6f *** empty log message ***
From-SVN: r678
1992-04-04 08:44:53 +00:00
Per Bothner
2378088aa6 *** empty log message ***
From-SVN: r649
1992-03-31 14:12:10 -08:00
Richard Stallman
b3865ca9f8 *** empty log message ***
From-SVN: r551
1992-03-21 22:50:43 +00:00
Richard Stallman
004fd4d55e *** empty log message ***
From-SVN: r459
1992-03-12 19:24:40 +00:00
Richard Stallman
ed1f651bed Initial revision
From-SVN: r262
1992-02-01 05:15:32 +00:00