mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
* som.c (som_slurp_symbol_table): Do not die if a BFD doesn't
have any symbols.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
Mon Feb 14 22:55:20 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
Mon Feb 14 22:55:20 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
|
* som.c (som_slurp_symbol_table): Do not die if a BFD doesn't
|
||||||
|
have any symbols.
|
||||||
|
|
||||||
* Finish basic read-write support for SOM archive libraries. Bugs
|
* Finish basic read-write support for SOM archive libraries. Bugs
|
||||||
surely remain as this hasn't been tested all that much.
|
surely remain as this hasn't been tested all that much.
|
||||||
* som.c (SOM_LST_HASH_SIZE, SOM_LST_MODULE_LIMIT): Define.
|
* som.c (SOM_LST_HASH_SIZE, SOM_LST_MODULE_LIMIT): Define.
|
||||||
|
@ -3375,13 +3375,9 @@ som_slurp_symbol_table (abfd)
|
|||||||
if (obj_som_symtab (abfd) != NULL)
|
if (obj_som_symtab (abfd) != NULL)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
/* Sanity checking. Make sure there are some symbols and that
|
/* Special case. This is *not* an error. */
|
||||||
we can read the string table too. */
|
|
||||||
if (symbol_count == 0)
|
if (symbol_count == 0)
|
||||||
{
|
return true;
|
||||||
bfd_error = no_symbols;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!som_slurp_string_table (abfd))
|
if (!som_slurp_string_table (abfd))
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user