Fix silly thinko

* linker.c (unwrap_hash_lookup): Add missing parens.
This commit is contained in:
Alan Modra 2014-06-11 19:11:12 +09:30
parent 07821655a9
commit 7ed689ad61
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-06-11 Alan Modra <amodra@gmail.com>
* linker.c (unwrap_hash_lookup): Add missing parens.
2014-06-11 Kai Tietz <ktietz@redhat.com>
* libcoff-in.h (coff_tdata): Make relocbase member unsigned.

View File

@ -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;