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:
747f3d1
)
warning fix
author
Alan Modra
<amodra@gmail.com>
Tue, 24 Jul 2007 23:38:13 +0000
(23:38 +0000)
committer
Alan Modra
<amodra@gmail.com>
Tue, 24 Jul 2007 23:38:13 +0000
(23:38 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/linker.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
81221c3
..
d0f1e3f
100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,7
@@
+2007-07-25 Alan Modra <amodra@bigpond.net.au>
+
+ * linker.c (generic_link_add_symbol_list): Warning fix.
+
2007-07-24 Michael Snyder <msnyder@access-company.com>
* opncls.c (bfd_make_writable): Check return from bfd_malloc.
2007-07-24 Michael Snyder <msnyder@access-company.com>
* opncls.c (bfd_make_writable): Check return from bfd_malloc.
diff --git
a/bfd/linker.c
b/bfd/linker.c
index
8d0925f
..
f547a75
100644
(file)
--- a/
bfd/linker.c
+++ b/
bfd/linker.c
@@
-1316,7
+1316,7
@@
generic_link_add_symbol_list (bfd *abfd,
struct generic_link_hash_entry *h;
struct bfd_link_hash_entry *bh;
struct generic_link_hash_entry *h;
struct bfd_link_hash_entry *bh;
- name = bfd_asymbol_name (p);
+
string =
name = bfd_asymbol_name (p);
if (((p->flags & BSF_INDIRECT) != 0
|| bfd_is_ind_section (p->section))
&& pp + 1 < ppend)
if (((p->flags & BSF_INDIRECT) != 0
|| bfd_is_ind_section (p->section))
&& pp + 1 < ppend)
@@
-1329,12
+1329,9
@@
generic_link_add_symbol_list (bfd *abfd,
{
/* The name of P is actually the warning string, and the
next symbol is the one to warn about. */
{
/* The name of P is actually the warning string, and the
next symbol is the one to warn about. */
- string = name;
pp++;
name = bfd_asymbol_name (*pp);
}
pp++;
name = bfd_asymbol_name (*pp);
}
- else
- string = NULL;
bh = NULL;
if (! (_bfd_generic_link_add_one_symbol
bh = NULL;
if (! (_bfd_generic_link_add_one_symbol