summaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-03-01 20:39:07 +0000
committerNick Clifton <nickc@redhat.com>2000-03-01 20:39:07 +0000
commit008b54df77c92e3f9155b75c679d58697d2cd035 (patch)
tree23826576fe5bd852bd8cc088ef9cdef773557f7c /bfd/coffcode.h
parent6b88944a7ac6b7c9115c050dcbed1455641bea34 (diff)
downloadgdb-008b54df77c92e3f9155b75c679d58697d2cd035.tar.gz
Fix building with --enable-targets=all
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 25a90bb1e73..8193a2116ca 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -760,7 +760,7 @@ styp_to_sec_flags (abfd, hdr, name, section)
{
bfd_byte *esymstart, *esym, *esymend;
int seen_state = 0;
- char *target_name;
+ char *target_name = NULL;
esymstart = esym = (bfd_byte *) obj_coff_external_syms (abfd);
esymend = esym + obj_raw_syment_count (abfd) * bfd_coff_symesz (abfd);