* collect2.c (main): Pass -EL/-EB through to the compiler.

From-SVN: r23047
This commit is contained in:
Jeffrey A Law 1998-10-13 10:26:28 +00:00 committed by Jeff Law
parent e1a9b2ab4f
commit fb0b29adb8
2 changed files with 6 additions and 0 deletions

View 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

View 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;
}