gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new one-character spec for this,...
authorDavid S. Miller <davem@redhat.com>
Thu, 4 Apr 2002 07:21:00 +0000 (23:21 -0800)
committerDavid S. Miller <davem@gcc.gnu.org>
Thu, 4 Apr 2002 07:21:00 +0000 (23:21 -0800)
2002-04-03  David S. Miller  <davem@redhat.com>

* gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
one-character spec for this, just use %(link_gcc_c_sequence).

From-SVN: r51842

gcc/ChangeLog
gcc/gcc.c

index 19e3f44..f278189 100644 (file)
@@ -1,5 +1,10 @@
 2002-04-03  David S. Miller  <davem@redhat.com>
 
+       * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
+       one-character spec for this, just use %(link_gcc_c_sequence).
+
+2002-04-03  David S. Miller  <davem@redhat.com>
+
        * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
        handling.
 
index 9bb1abd..d0d0e3f 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -448,7 +448,6 @@ or with constant text in a single argument.
  %C     process CPP_SPEC as a spec.
  %1    process CC1_SPEC as a spec.
  %2    process CC1PLUS_SPEC as a spec.
- %3     process LINK_GCC_C_SEQUENCE_SPEC as a spec.
  %|    output "-" if the input for the current command is coming from a pipe.
  %*    substitute the variable part of a matched option.  (See below.)
        Note that each comma in the substituted string is replaced by
@@ -628,7 +627,7 @@ proper position among the other output files.  */
 %{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
     %(linker) %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t}\
     %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
-    %{static:} %{L*} %(link_libgcc) %o %{!nostdlib:%{!nodefaultlibs:%3}}\
+    %{static:} %{L*} %(link_libgcc) %o %{!nostdlib:%{!nodefaultlibs:%(link_gcc_c_sequence)}}\
     %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}"
 #endif
 
@@ -4759,12 +4758,6 @@ do_spec_1 (spec, inswitch, soft_matched_part)
              return value;
            break;
 
-         case '3':
-           value = do_spec_1 (link_gcc_c_sequence_spec, 0, NULL);
-           if (value != 0)
-             return value;
-           break;
-
          case 'a':
            value = do_spec_1 (asm_spec, 0, NULL);
            if (value != 0)