This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] fix undefined reference to bfd_link_plugin_object_p during link
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 16 Jul 2016 01:02:53 -0400
- Subject: [binutils-gdb] fix undefined reference to bfd_link_plugin_object_p during link
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 08ce1d723ea3360a8ae52a4a4bd395ec984563eb ***
Author: Joel Brobecker <brobecker@adacore.com>
Branch: master
Commit: 08ce1d723ea3360a8ae52a4a4bd395ec984563eb
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.