* collect2.c (main): Pass -EL/-EB through to the compiler.
authorJeffrey A Law <law@cygnus.com>
Tue, 13 Oct 1998 10:26:28 +0000 (10:26 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 13 Oct 1998 10:26:28 +0000 (04:26 -0600)
From-SVN: r23047

gcc/ChangeLog
gcc/collect2.c

index fb4f9b35def20edb0c6ec23c24914283706bfa84..863a563a53afe7dfc1d970a21f65407ddc9bc1cd 100644 (file)
@@ -1,3 +1,7 @@
+Tue Oct 13 11:24:51 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * collect2.c (main): Pass -EL/-EB through to the compiler.
+
 1998-10-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
        
        * expr.c (push_block): Handle targets where the stack grows
index cd269c408b0c40e6f710f415a12da34d3033e1a6..86055b9001761b91027be4f708b886831ff6c7c6 100644 (file)
@@ -1192,6 +1192,8 @@ main (argc, argv)
       char *q = extract_string (&p);
       if (*q == '-' && (q[1] == 'm' || q[1] == 'f'))
        *c_ptr++ = obstack_copy0 (&permanent_obstack, q, strlen (q));
+      if (strcmp (q, "-EL") == 0 || strcmp (q, "-EB") == 0)
+       *c_ptr++ = obstack_copy0 (&permanent_obstack, q, strlen (q));
       if (strncmp (q, "-shared", sizeof ("-shared") - 1) == 0)
        shared_obj = 1;
     }