Fix silly thinko
authorAlan Modra <amodra@gmail.com>
Wed, 11 Jun 2014 09:41:12 +0000 (19:11 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 11 Jun 2014 09:42:46 +0000 (19:12 +0930)
* linker.c (unwrap_hash_lookup): Add missing parens.

bfd/ChangeLog
bfd/linker.c

index 15a2f8bfef7e7362c8bdfd2e1ce258e2f61f8419..009612e3d912c4f458d866e92c4f43eba5976688 100644 (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.
index d00238cbd4d423e212b64a8d7b98a547cc90ea01..2e21054a6d38b87d460aba44a687ba6f998bec50 100644 (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;
This page took 0.049359 seconds and 4 git commands to generate.