This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
PR ld/17878 * vms-alpha.c (alpha_vms_link_add_archive_symbols): Replace bfd_check_format with bfd_maybe_object_p. --- bfd/vms-alpha.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index 9576607..b3b83e6 100644 --- a/bfd/vms-alpha.c +++ b/bfd/vms-alpha.c @@ -8180,7 +8180,7 @@ alpha_vms_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info) continue; } - if (! bfd_check_format (element, bfd_object)) + if (! bfd_maybe_object_p (element, info->lto_plugin_active)) { element->archive_pass = -1; return FALSE; @@ -8190,7 +8190,8 @@ alpha_vms_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info) if (bfd_is_thin_archive (abfd)) { element = _bfd_vms_lib_get_imagelib_file (element); - if (element == NULL || !bfd_check_format (element, bfd_object)) + if (element == NULL + || !bfd_maybe_object_p (element, info->lto_plugin_active)) { orig_element->archive_pass = -1; return FALSE; -- 2.1.0
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |