Set BFD target to "plugin" for "nm --plugin".
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 3 Oct 2010 10:49:19 +0000 (10:49 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 3 Oct 2010 10:49:19 +0000 (10:49 +0000)
commita4b8af353975485fc9c8b9cfd7b199729420fd0d
tree27cd3ed2b498cdc2294b13fcfac10a026b842b8c
parentdc14d28a1f1f036a08d211a215efe0fdde2da80e
Set BFD target to "plugin" for "nm --plugin".

2010-10-03  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/12088
* nm.c (plugin_target): New.
(main): Set plugin_target to "plugin" for --plugin.
(display_file): Pass plugin_target to bfd_openr if target
isn't set.
binutils/ChangeLog
binutils/nm.c