mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
* format.c (bfd_check_format_matches): Initialize matching_vector
to keep gcc -Wall quiet. * elfcode.h (elf_slurp_reloca_table): Fix typo.
This commit is contained in:
@ -1,5 +1,10 @@
|
|||||||
Fri Feb 25 16:35:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
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 *)"
|
* som.c (som_get_symtab_upper_bound): Use "sizeof (asymbol *)"
|
||||||
not "sizeof (som_symbol_type *)".
|
not "sizeof (som_symbol_type *)".
|
||||||
|
|
||||||
|
@ -2790,7 +2790,6 @@ DEFUN (elf_slurp_reloca_table, (abfd, asect, symbols),
|
|||||||
native_relocs = (Elf_External_Rela *)
|
native_relocs = (Elf_External_Rela *)
|
||||||
bfd_alloc (abfd, asect->reloc_count * sizeof (Elf_External_Rela));
|
bfd_alloc (abfd, asect->reloc_count * sizeof (Elf_External_Rela));
|
||||||
if (!native_relocs)
|
if (!native_relocs)
|
||||||
if (!reloc_cache)
|
|
||||||
{
|
{
|
||||||
bfd_set_error (bfd_error_no_memory);
|
bfd_set_error (bfd_error_no_memory);
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user