summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-06-18 14:15:31 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-06-18 14:15:31 -0700
commit49f30d83f659591d7d2b14a18dc8308b3fdb8dd5 (patch)
tree35efdf2e39a5fc1ace99eb7695a69431b98317a9 /ld
parent233cc9c13af8e8182d0ce5b306526b59f5b11f37 (diff)
downloadbinutils-gdb-49f30d83f659591d7d2b14a18dc8308b3fdb8dd5.tar.gz
Rename bfd_plugin_uknown to bfd_plugin_unknown
bfd/ * bfd.c (bfd_plugin_format): Rename bfd_plugin_uknown to bfd_plugin_unknown. * bfd-in2.h: Regenerated. * plugin.c (bfd_plugin_object_p): Replace bfd_plugin_uknown with bfd_plugin_unknown. ld/ * plugin.c (plugin_object_p): Replace bfd_plugin_uknown with bfd_plugin_unknown.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/plugin.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 09de0c7a013..b9b9c3e3c13 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
+ * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
+ with bfd_plugin_unknown.
+
+2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
+
PR ld/20253
* testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
* testsuite/ld-i386/no-plt.exp: Likewise.
diff --git a/ld/plugin.c b/ld/plugin.c
index ebde25ffe70..cb6131841d6 100644
--- a/ld/plugin.c
+++ b/ld/plugin.c
@@ -1081,7 +1081,7 @@ plugin_object_p (bfd *ibfd)
if ((ibfd->flags & BFD_PLUGIN) != 0)
return NULL;
- if (ibfd->plugin_format != bfd_plugin_uknown)
+ if (ibfd->plugin_format != bfd_plugin_unknown)
{
if (ibfd->plugin_format == bfd_plugin_yes)
return ibfd->plugin_dummy_bfd->xvec;