diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-02-08 15:00:34 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-02-08 15:00:34 -0800 |
commit | 1d5b29cfe459ceb6d0965ca3ab8936e0d72e1fd5 (patch) | |
tree | 7670357b2e59b0a592e5fd563b1a76589912b56c /ld/ChangeLog | |
parent | e13419c472637ebc6ad1554bdc6d50f2bd793574 (diff) | |
download | gdb-1d5b29cfe459ceb6d0965ca3ab8936e0d72e1fd5.zip gdb-1d5b29cfe459ceb6d0965ca3ab8936e0d72e1fd5.tar.gz gdb-1d5b29cfe459ceb6d0965ca3ab8936e0d72e1fd5.tar.bz2 |
Don't bfd_check_format if not needed
When plugin isn't active or there is no thing more to claim, we don't
need to call bfd_check_format.
* ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format
if plugin isn't active or there is no thing more to claim.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 856249b..bf59ab3 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,10 @@ 2015-02-08 H.J. Lu <hongjiu.lu@intel.com> + * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format + if plugin isn't active or there is no thing more to claim. + +2015-02-08 H.J. Lu <hongjiu.lu@intel.com> + * plugin.c (plugin_maybe_claim): Check format against bfd_object directly. |