mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
* archive.c (_bfd_look_for_bfd_in_cache): Move declaration of
has_table to the start of the function.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2005-03-10 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* archive.c (_bfd_look_for_bfd_in_cache): Move declaration of
|
||||
has_table to the start of the function.
|
||||
|
||||
2005-03-10 Ben Elliston <bje@au.ibm.com>
|
||||
|
||||
* archive.c: Include hashtab.h.
|
||||
|
@ -247,10 +247,10 @@ bfd_set_archive_head (bfd *output_archive, bfd *new_head)
|
||||
bfd *
|
||||
_bfd_look_for_bfd_in_cache (bfd *arch_bfd, file_ptr filepos)
|
||||
{
|
||||
htab_t hash_table = bfd_ardata (arch_bfd)->cache;
|
||||
struct ar_cache m;
|
||||
m.ptr = filepos;
|
||||
|
||||
htab_t hash_table = bfd_ardata (arch_bfd)->cache;
|
||||
if (hash_table)
|
||||
{
|
||||
struct ar_cache *entry = (struct ar_cache *) htab_find (hash_table, &m);
|
||||
|
Reference in New Issue
Block a user