diff options
author | Joel Brobecker <brobecker@adacore.com> | 2016-06-24 12:16:24 -0400 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2016-06-24 13:02:39 -0400 |
commit | 08ce1d723ea3360a8ae52a4a4bd395ec984563eb (patch) | |
tree | b6bb2e75fc4259ff530e24ea13b4a041cf5254df /intl | |
parent | 9cc0123fea25379a1d57b700c078c7a9d0992f61 (diff) | |
download | gdb-08ce1d723ea3360a8ae52a4a4bd395ec984563eb.zip gdb-08ce1d723ea3360a8ae52a4a4bd395ec984563eb.tar.gz gdb-08ce1d723ea3360a8ae52a4a4bd395ec984563eb.tar.bz2 |
fix undefined reference to bfd_link_plugin_object_p during link
When configured with the default options, GDB currently fails to link,
due to an undefined reference to bfd_link_plugin_object_p, coming from
elflink.c:
#ifdef BFD_SUPPORTS_PLUGINS
|| (abfd->plugin_format == bfd_plugin_unknown
&& bfd_link_plugin_object_p (abfd))
#endif
This is because BFD_SUPPORTS_PLUGINS is always defined. It is its value
that determines whether plugin support is enabled or not.
bfd/ChangeLog:
* elflink.c: Check the value of BFD_SUPPORTS_PLUGINS rather
than its existance.
Diffstat (limited to 'intl')
0 files changed, 0 insertions, 0 deletions