| Index: binutils-2.20/binutils/ar.c
|
| ===================================================================
|
| --- a/binutils-2.20/binutils/ar.c
|
| +++ b/binutils-2.20/binutils/ar.c
|
| @@ -574,6 +574,19 @@
|
| case 'V':
|
| show_version = 1;
|
| break;
|
| +// @LOCALMOD-BEGIN
|
| +// Fix for minor upstream bug: Handle --plugin properly in ranlib.
|
| +// This code is copy & pasted from main().
|
| + case OPTION_PLUGIN:
|
| +#if BFD_SUPPORTS_PLUGINS
|
| + plugin_target = "plugin";
|
| + bfd_plugin_set_plugin (optarg);
|
| +#else
|
| + fprintf (stderr, _("sorry - this program has been built without plugin support\n"));
|
| + xexit (1);
|
| +#endif
|
| +// @LOCALMOD-END
|
| + break;
|
| }
|
| }
|
|
|
|
|