aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-10-13 10:26:28 +0000
committerJeff Law <law@gcc.gnu.org>1998-10-13 04:26:28 -0600
commitfb0b29adb861d0cc14cb30e25bef5c63df2d6410 (patch)
treecb9f84fb1b360a459070f616517c1c9ee4c43742 /gcc
parente1a9b2ab4f420024a4fc4735828be238fcbc40e0 (diff)
downloadgcc-fb0b29adb861d0cc14cb30e25bef5c63df2d6410.zip
gcc-fb0b29adb861d0cc14cb30e25bef5c63df2d6410.tar.gz
gcc-fb0b29adb861d0cc14cb30e25bef5c63df2d6410.tar.bz2
* collect2.c (main): Pass -EL/-EB through to the compiler.
From-SVN: r23047
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/collect2.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fb4f9b3..863a563 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 <Haj.Ten.Brugge@net.HCC.nl>
* expr.c (push_block): Handle targets where the stack grows
diff --git a/gcc/collect2.c b/gcc/collect2.c
index cd269c4..86055b9 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;
}