projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3ab4ab
)
Only check associated vector if the matching_vector has been created.
author
Nick Clifton
<nickc@redhat.com>
Fri, 18 Apr 2003 08:06:01 +0000
(08:06 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Fri, 18 Apr 2003 08:06:01 +0000
(08:06 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/format.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 1650199eb437a8f3f605469152e8d6d2f91d6249..000426784307485fbdaa94e5bdc541c5a807b2ab 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2003-04-18 Nick Clifton <nickc@redhat.com>
+
+ * format.c (bfd_check_format_matches): Only check associated
+ vector if the matching_vector has been created.
+
2003-04-15 Alexandre Oliva <aoliva@redhat.com>
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in
diff --git
a/bfd/format.c
b/bfd/format.c
index 655ccd9f08ff1e9b6fa62883583168d99a42fbe3..6415b8d57bc865827d82b386c4cdf2416d3d95fd 100644
(file)
--- a/
bfd/format.c
+++ b/
bfd/format.c
@@
-305,7
+305,9
@@
bfd_check_format_matches (abfd, format, matching)
}
}
- if (match_count > 1 && bfd_associated_vector != NULL)
+ if (match_count > 1
+ && bfd_associated_vector != NULL
+ && matching)
{
const bfd_target * const *assoc = bfd_associated_vector;