Renamed get_elt_at_filepos to _bfd_get_elt_at_filepos, and made it
non-static.
This commit is contained in:
parent
07ec88b67f
commit
2af2b7c4f2
2 changed files with 8 additions and 8 deletions
|
@ -2,6 +2,7 @@ Mon Jan 3 11:41:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||||
|
|
||||||
* libbfd-in.h (struct artdata): Added tdata field.
|
* libbfd-in.h (struct artdata): Added tdata field.
|
||||||
(_bfd_add_bfd_to_archive_cache): Declare.
|
(_bfd_add_bfd_to_archive_cache): Declare.
|
||||||
|
(_bfd_get_elt_at_filepos): Declare.
|
||||||
(_bfd_snarf_ar_hdr): Renamed from snarf_ar_hdr.
|
(_bfd_snarf_ar_hdr): Renamed from snarf_ar_hdr.
|
||||||
* libbfd.h: Rebuilt.
|
* libbfd.h: Rebuilt.
|
||||||
* archive.c: Cleaned up some more.
|
* archive.c: Cleaned up some more.
|
||||||
|
@ -9,9 +10,9 @@ Mon Jan 3 11:41:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||||
pointer elements of artdata.
|
pointer elements of artdata.
|
||||||
(_bfd_add_bfd_to_archive_cache): Renamed from add_bfd_to_cache.
|
(_bfd_add_bfd_to_archive_cache): Renamed from add_bfd_to_cache.
|
||||||
(_bfd_snarf_ar_hdr): Renamed from snarf_ar_hdr.
|
(_bfd_snarf_ar_hdr): Renamed from snarf_ar_hdr.
|
||||||
(get_extended_arelt_filename, get_elt_at_filepos,
|
(_bfd_get_elt_at_filepos): Renamed from get_elt_at_filepos.
|
||||||
bfd_construct_extended_name_table, bfd_ar_hdr_from_filesystem,
|
(get_extended_arelt_filename, bfd_construct_extended_name_table,
|
||||||
compute_and_write_armap): Made static.
|
bfd_ar_hdr_from_filesystem, compute_and_write_armap): Made static.
|
||||||
* ecoff.c: Some comment changes.
|
* ecoff.c: Some comment changes.
|
||||||
(ecoff_slurp_armap): Handle rename of snarf_ar_hdr. Set
|
(ecoff_slurp_armap): Handle rename of snarf_ar_hdr. Set
|
||||||
ardata->tdata to raw_armap.
|
ardata->tdata to raw_armap.
|
||||||
|
|
|
@ -172,7 +172,6 @@ struct ar_cache {
|
||||||
|
|
||||||
static char *get_extended_arelt_filename PARAMS ((bfd *arch,
|
static char *get_extended_arelt_filename PARAMS ((bfd *arch,
|
||||||
const char *name));
|
const char *name));
|
||||||
static bfd *get_elt_at_filepos PARAMS ((bfd *archive, file_ptr filepos));
|
|
||||||
static boolean do_slurp_bsd_armap PARAMS ((bfd *abfd));
|
static boolean do_slurp_bsd_armap PARAMS ((bfd *abfd));
|
||||||
static boolean do_slurp_coff_armap PARAMS ((bfd *abfd));
|
static boolean do_slurp_coff_armap PARAMS ((bfd *abfd));
|
||||||
static const char *normalize PARAMS ((const char *file));
|
static const char *normalize PARAMS ((const char *file));
|
||||||
|
@ -486,8 +485,8 @@ _bfd_snarf_ar_hdr (abfd)
|
||||||
element, since it handles the bookkeeping so nicely for us.
|
element, since it handles the bookkeeping so nicely for us.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static bfd *
|
bfd *
|
||||||
get_elt_at_filepos (archive, filepos)
|
_bfd_get_elt_at_filepos (archive, filepos)
|
||||||
bfd *archive;
|
bfd *archive;
|
||||||
file_ptr filepos;
|
file_ptr filepos;
|
||||||
{
|
{
|
||||||
|
@ -546,7 +545,7 @@ bfd_get_elt_at_index (abfd, index)
|
||||||
int index;
|
int index;
|
||||||
{
|
{
|
||||||
bfd *result =
|
bfd *result =
|
||||||
get_elt_at_filepos
|
_bfd_get_elt_at_filepos
|
||||||
(abfd, (bfd_ardata (abfd)->symdefs + index)->file_offset);
|
(abfd, (bfd_ardata (abfd)->symdefs + index)->file_offset);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -604,7 +603,7 @@ bfd_generic_openr_next_archived_file (archive, last_file)
|
||||||
filestart += filestart % 2;
|
filestart += filestart % 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
return get_elt_at_filepos (archive, filestart);
|
return _bfd_get_elt_at_filepos (archive, filestart);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue