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.
This commit is contained in:
parent
233cc9c13a
commit
49f30d83f6
6 changed files with 17 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
|||
2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/20253
|
||||
|
|
|
@ -6544,7 +6544,7 @@ enum bfd_direction
|
|||
|
||||
enum bfd_plugin_format
|
||||
{
|
||||
bfd_plugin_uknown = 0,
|
||||
bfd_plugin_unknown = 0,
|
||||
bfd_plugin_yes = 1,
|
||||
bfd_plugin_no = 2
|
||||
};
|
||||
|
|
|
@ -46,7 +46,7 @@ CODE_FRAGMENT
|
|||
.
|
||||
.enum bfd_plugin_format
|
||||
. {
|
||||
. bfd_plugin_uknown = 0,
|
||||
. bfd_plugin_unknown = 0,
|
||||
. bfd_plugin_yes = 1,
|
||||
. bfd_plugin_no = 2
|
||||
. };
|
||||
|
|
|
@ -365,7 +365,7 @@ bfd_plugin_object_p (bfd *abfd)
|
|||
if (ld_plugin_object_p)
|
||||
return ld_plugin_object_p (abfd);
|
||||
|
||||
if (abfd->plugin_format == bfd_plugin_uknown && !load_plugin (abfd))
|
||||
if (abfd->plugin_format == bfd_plugin_unknown && !load_plugin (abfd))
|
||||
return NULL;
|
||||
|
||||
return abfd->plugin_format == bfd_plugin_yes ? abfd->xvec : NULL;
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue