diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb4f9b35def..863a563a53a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * expr.c (push_block): Handle targets where the stack grows diff --git a/gcc/collect2.c b/gcc/collect2.c index cd269c408b0..86055b90017 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -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; }