summaryrefslogtreecommitdiffstats
path: root/bfd/archures.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/archures.c')
-rw-r--r--bfd/archures.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/archures.c b/bfd/archures.c
index fb2ba9b79e..9a91424a6e 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -722,6 +722,9 @@ bfd_default_compatible (a, b)
if (a->arch != b->arch)
return NULL;
+ if (a->bits_per_word != b->bits_per_word)
+ return NULL;
+
if (a->mach > b->mach)
return a;
OpenPOWER on IntegriCloud