diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-10-13 10:26:28 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-10-13 04:26:28 -0600 |
commit | fb0b29adb861d0cc14cb30e25bef5c63df2d6410 (patch) | |
tree | cb9f84fb1b360a459070f616517c1c9ee4c43742 /gcc/collect2.c | |
parent | e1a9b2ab4f420024a4fc4735828be238fcbc40e0 (diff) | |
download | gcc-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/collect2.c')
-rw-r--r-- | gcc/collect2.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |