aboutsummaryrefslogtreecommitdiff
path: root/bfd/linker.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-06-11 19:11:12 +0930
committerAlan Modra <amodra@gmail.com>2014-06-11 19:12:46 +0930
commit7ed689ad61de0cbfe4e5a6f18f097776128202e4 (patch)
tree37b3a326d5da2fc9fa47989b1b03efa40dc4c2aa /bfd/linker.c
parent07821655a9fb9ed966984db4c324abbaea67ddb6 (diff)
downloadgdb-7ed689ad61de0cbfe4e5a6f18f097776128202e4.zip
gdb-7ed689ad61de0cbfe4e5a6f18f097776128202e4.tar.gz
gdb-7ed689ad61de0cbfe4e5a6f18f097776128202e4.tar.bz2
Fix silly thinko
* linker.c (unwrap_hash_lookup): Add missing parens.
Diffstat (limited to 'bfd/linker.c')
-rw-r--r--bfd/linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/linker.c b/bfd/linker.c
index d00238c..2e21054 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;