diff options
author | Nick Clifton <nickc@redhat.com> | 2000-03-01 20:54:37 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-03-01 20:54:37 +0000 |
commit | f0c87f889d8bac9de4a6e0ad4a9a803fc6064a87 (patch) | |
tree | 58b59553ca40c9621f650db082e29c0ff912e505 /ld/pe-dll.c | |
parent | 86033394008aa009b3382199efa24b0cfa749862 (diff) | |
download | gdb-f0c87f889d8bac9de4a6e0ad4a9a803fc6064a87.zip gdb-f0c87f889d8bac9de4a6e0ad4a9a803fc6064a87.tar.gz gdb-f0c87f889d8bac9de4a6e0ad4a9a803fc6064a87.tar.bz2 |
Fix building with --enable-targets=all.
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r-- | ld/pe-dll.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c index 5b2ffe4..6b8b1af 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -617,15 +617,12 @@ generate_edata (abfd, info) static void fill_exported_offsets (abfd, info) - bfd *abfd; + bfd *abfd ATTRIBUTE_UNUSED; struct bfd_link_info *info; { - int i, j; + int i; struct bfd_link_hash_entry *blhe; - bfd *b; - struct sec *s; - def_file_export *e=0; - + for (i = 0; i < pe_def_file->num_exports; i++) { char *name = (char *) xmalloc (strlen (pe_def_file->exports[i].internal_name) + 2); @@ -1402,12 +1399,12 @@ make_one (exp, parent) bfd *parent; { asection *tx, *id7, *id5, *id4, *id6; - unsigned char *td, *d7, *d5, *d4, *d6; + unsigned char *td, *d7, *d5, *d4, *d6 = NULL; int len; char *oname; bfd *abfd; - unsigned char *jmp_bytes; - int jmp_byte_count; + unsigned char *jmp_bytes = NULL; + int jmp_byte_count = 0; switch (pe_details->pe_arch) { |