projects
/
external
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0782165
)
Fix silly thinko
author
Alan Modra
<amodra@gmail.com>
Wed, 11 Jun 2014 09:41:12 +0000
(19:11 +0930)
committer
Alan 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
patch
|
blob
|
history
bfd/linker.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
15a2f8b
..
009612e
100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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.
diff --git
a/bfd/linker.c
b/bfd/linker.c
index
d00238c
..
2e21054
100644
(file)
--- 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;