* collect2.c (main): Pass -EL/-EB through to the compiler.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Oct 1998 10:26:28 +0000 (10:26 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Oct 1998 10:26:28 +0000 (10:26 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23047 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/collect2.c

index fb4f9b3..863a563 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 cd269c4..86055b9 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;
     }