aboutsummaryrefslogtreecommitdiff
path: root/bfd/archive.c
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1994-01-25 13:25:26 +0000
committerDavid MacKenzie <djm@cygnus>1994-01-25 13:25:26 +0000
commitf4bd7a8f0ebcc8d4c6c289ddfc085c1c00c1a497 (patch)
treec02524f3627fbb0582617c73ce68b89157699282 /bfd/archive.c
parent2ba6182bbc59b54926cfb2c462888ddad74e30bf (diff)
downloadgdb-f4bd7a8f0ebcc8d4c6c289ddfc085c1c00c1a497.zip
gdb-f4bd7a8f0ebcc8d4c6c289ddfc085c1c00c1a497.tar.gz
gdb-f4bd7a8f0ebcc8d4c6c289ddfc085c1c00c1a497.tar.bz2
* opncls.c (_bfd_new_bfd, _bfd_new_bfd_contained_in): Add
"_bfd_" to function names. * archive.c (_bfd_create_empty_archive_element_shell), libbfd-in.h: Change callers. * libbfd.c (bfd_zmalloc): Renamed from zalloc. * libbfd.c (bfd_add_to_string_table), trad-core.c (trad_unix_core_file_p), targets.c (bfd_target_list), ptrace-core.c (ptrace_unix_core_file_p), opncls.c (new_bfd), libbfd-in.h, ieee.c (ieee_make_empty_symbol), elf32-hppa.c (hppa_elf_stub_branch_reloc), (hppa_elf_stub_reloc): Change callers. * libbfd.h: Regenerated. * archive.c (_bfd_look_for_bfd_in_cache): Add "_bfd_" to name. (_bfd_get_elt_at_filepos), coff-rs6000.c (rs6000coff_get_elt_at_filepos), libbfd-in.h: Change callers. * format.c (bfd_check_format_matches), libbfd-in.h, targets.c, elfcode.h (elf_object_p): Rename target_vector to bfd_target_vector and default_vector to bfd_default_vector. * libbfd.h: Regenerated.
Diffstat (limited to 'bfd/archive.c')
-rw-r--r--bfd/archive.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/bfd/archive.c b/bfd/archive.c
index f5b9077..bc04671 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -1,5 +1,5 @@
/* BFD back-end for archive files (libraries).
- Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
+ Copyright 1990, 91, 92, 93, 94 Free Software Foundation, Inc.
Written by Cygnus Support. Mostly Gumby Henkel-Wallace's fault.
This file is part of BFD, the Binary File Descriptor library.
@@ -254,7 +254,7 @@ _bfd_create_empty_archive_element_shell (obfd)
{
bfd *nbfd;
- nbfd = new_bfd_contained_in(obfd);
+ nbfd = _bfd_new_bfd_contained_in(obfd);
if (nbfd == NULL)
{
bfd_error = no_memory;
@@ -286,7 +286,7 @@ bfd_set_archive_head (output_archive, new_head)
}
bfd *
-look_for_bfd_in_cache (arch_bfd, filepos)
+_bfd_look_for_bfd_in_cache (arch_bfd, filepos)
bfd *arch_bfd;
file_ptr filepos;
{
@@ -493,7 +493,7 @@ _bfd_get_elt_at_filepos (archive, filepos)
struct areltdata *new_areldata;
bfd *n_nfd;
- n_nfd = look_for_bfd_in_cache (archive, filepos);
+ n_nfd = _bfd_look_for_bfd_in_cache (archive, filepos);
if (n_nfd)
return n_nfd;
@@ -740,8 +740,7 @@ do_slurp_coff_armap (abfd)
unsigned int parsed_size;
carsym *carsyms;
unsigned int nsymz; /* Number of symbols in armap. */
-
- bfd_vma (*swap) PARAMS ((bfd_byte*));
+ bfd_vma (*swap) PARAMS ((const bfd_byte*));
char int_buf[sizeof(long)];
unsigned int carsym_size, ptrsize, i;