From: Alan Modra Date: Wed, 11 Jun 2014 09:41:12 +0000 (+0930) Subject: Fix silly thinko X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ed689ad61de0cbfe4e5a6f18f097776128202e4;p=binutils-gdb.git Fix silly thinko * linker.c (unwrap_hash_lookup): Add missing parens. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 15a2f8bfef7..009612e3d91 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2014-06-11 Alan Modra + + * linker.c (unwrap_hash_lookup): Add missing parens. + 2014-06-11 Kai Tietz * libcoff-in.h (coff_tdata): Make relocbase member unsigned. diff --git a/bfd/linker.c b/bfd/linker.c index d00238cbd4d..2e21054a6d3 100644 --- a/bfd/linker.c +++ b/bfd/linker.c @@ -621,7 +621,7 @@ unwrap_hash_lookup (struct bfd_link_info *info, if (bfd_hash_lookup (info->wrap_hash, l, FALSE, FALSE) != NULL) { char save = 0; - if (l - sizeof WRAP - 1 != h->root.string) + if (l - (sizeof WRAP - 1) != h->root.string) { --l; save = *l;