Set BFD target to "plugin" for "nm --plugin".
commitdbff0503dab73cb16df89aba58d0f888ce70cff4
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 3 Oct 2010 10:49:19 +0000 (3 10:49 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 3 Oct 2010 10:49:19 +0000 (3 10:49 +0000)
tree15f4b28ad3ef7cf3505bde29aade15f150d5d659
parentc9fd3d05f6fe14cc40dd53f65d0b2ba3feacb2c8
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