PR14918
* plugin.c (plugin_opt_plugin_arg): Drop --pass-through.
+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.
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;