PR14918, lto always links in libgcc_s.so
PR14918 * plugin.c (plugin_opt_plugin_arg): Drop --pass-through.
This commit is contained in:
parent
c3e11cbe51
commit
97964ab320
|
@ -1,3 +1,8 @@
|
|||
2014-08-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR14918
|
||||
* plugin.c (plugin_opt_plugin_arg): Drop --pass-through.
|
||||
|
||||
2014-08-05 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* Makefile.in: Regenerate.
|
||||
|
|
11
ld/plugin.c
11
ld/plugin.c
|
@ -217,6 +217,17 @@ plugin_opt_plugin_arg (const char *arg)
|
|||
if (!last_plugin)
|
||||
return set_plugin_error (_("<no plugin>"));
|
||||
|
||||
/* Ignore -pass-through= from GCC driver. */
|
||||
if (*arg == '-')
|
||||
{
|
||||
const char *p = arg + 1;
|
||||
|
||||
if (*p == '-')
|
||||
++p;
|
||||
if (strncmp (p, "pass-through=", 13) == 0)
|
||||
return 0;
|
||||
}
|
||||
|
||||
newarg = xmalloc (sizeof *newarg);
|
||||
newarg->arg = arg;
|
||||
newarg->next = NULL;
|
||||
|
|
Loading…
Reference in New Issue