From 71daf8b446123e41226552cd9bab3206423a167f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 2 Jul 2002 04:26:39 +0000 Subject: [PATCH] * ldfile.c (ldfile_try_open_bfd): Formatting. --- ld/ChangeLog | 2 ++ ld/ldfile.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index ef7323f6c26..3f3f946b0d3 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,7 @@ 2002-07-02 Alan Modra + * ldfile.c (ldfile_try_open_bfd): Formatting. + * ldmisc.c (demangle): Move so that it doesn't intrude between vfinfo comment and body. Add comment. diff --git a/ld/ldfile.c b/ld/ldfile.c index b23ef452fb1..9fb2b2dab9e 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -136,8 +136,7 @@ ldfile_try_open_bfd (attempt, entry) if ((bfd_arch_get_compatible (check, output_bfd) == NULL) /* XCOFF archives can have 32 and 64 bit objects */ && ! (bfd_get_flavour (check) == bfd_target_xcoff_flavour - && bfd_get_flavour (output_bfd) == - bfd_target_xcoff_flavour + && bfd_get_flavour (output_bfd) == bfd_target_xcoff_flavour && bfd_check_format (entry->the_bfd, bfd_archive))) { einfo (_("%P: skipping incompatible %s when searching for %s\n"), -- 2.30.2