diff options
author | Jeff Law <law@redhat.com> | 1994-02-26 03:41:36 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-02-26 03:41:36 +0000 |
commit | 43ebdfcf4ed8ea1dfa1bebce5c7d20e753411a28 (patch) | |
tree | 233bf2ff5399b4ffd7f4d1496562f098d0acc12b /bfd | |
parent | 6232b6c4c5a609ba7b2ee713ce563cf83e67835c (diff) | |
download | gdb-43ebdfcf4ed8ea1dfa1bebce5c7d20e753411a28.zip gdb-43ebdfcf4ed8ea1dfa1bebce5c7d20e753411a28.tar.gz gdb-43ebdfcf4ed8ea1dfa1bebce5c7d20e753411a28.tar.bz2 |
* format.c (bfd_check_format_matches): Initialize matching_vector
to keep gcc -Wall quiet.
* elfcode.h (elf_slurp_reloca_table): Fix typo.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elfcode.h | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e2ac849..e066b0b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ Fri Feb 25 16:35:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * format.c (bfd_check_format_matches): Initialize matching_vector + to keep gcc -Wall quiet. + + * elfcode.h (elf_slurp_reloca_table): Fix typo. + * som.c (som_get_symtab_upper_bound): Use "sizeof (asymbol *)" not "sizeof (som_symbol_type *)". diff --git a/bfd/elfcode.h b/bfd/elfcode.h index b298763..8b84b1d 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -2790,7 +2790,6 @@ DEFUN (elf_slurp_reloca_table, (abfd, asect, symbols), native_relocs = (Elf_External_Rela *) bfd_alloc (abfd, asect->reloc_count * sizeof (Elf_External_Rela)); if (!native_relocs) - if (!reloc_cache) { bfd_set_error (bfd_error_no_memory); return false; |