OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add -Wshadow to the gcc command line options used when compiling the binutils.
[pf3gnuchains/pf3gnuchains3x.git]
/
bfd
/
vms-gsd.c
diff --git
a/bfd/vms-gsd.c
b/bfd/vms-gsd.c
index
e641d0d
..
ba75bbf
100644
(file)
--- a/
bfd/vms-gsd.c
+++ b/
bfd/vms-gsd.c
@@
-729,7
+729,8
@@
_bfd_vms_slurp_gsd (bfd * abfd, int objtype)
if (symbol->flags & BSF_FUNCTION)
{
asymbol *en_sym;
- char *name = bfd_alloc (abfd, strlen (symbol->name) + 5);
+
+ name = bfd_alloc (abfd, strlen (symbol->name) + 5);
en_sym = bfd_make_empty_symbol (abfd);
if (en_sym == 0)