Index: doc/ChangeLog
authorAndrew Cagney <cagney@redhat.com>
Thu, 16 Oct 2003 04:11:10 +0000 (04:11 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 16 Oct 2003 04:11:10 +0000 (04:11 +0000)
2003-10-15  Andrew Cagney  <cagney@redhat.com>

* bfdint.texi (BFD target vector symbols): Rename _get_symtab to
_canonicalize_symtab.

2003-10-15  Andrew Cagney  <cagney@redhat.com>

* targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab
with NAME##_canonicalize_symtab.
* libcoff-in.h (coff_canonicalize_symtab): Update.
* xsym.h (bfd_sym_canonicalize_symtab): Update.
* elf-bfd.h (_bfd_elf_canonicalize_symtab): Update.
* coffgen.c (coff_canonicalize_symtab): Update.
* libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update.
* libnlm.h (nlmNAME(canonicalize_symtab)): Update.
* ieee.c (ieee_vec): Update comment.
* libecoff.h (_bfd_ecoff_canonicalize_symtab): Update.
* mmo.c (mmo_canonicalize_symtab): Update.
* nlm-target.h (nlm_canonicalize_symtab): Update.
* nlmcode.h (nlm_canonicalize_symtab): Update.
* i386msdos.c (msdos_canonicalize_symtab): Update.
* hp300hpux.c (MY (canonicalize_symtab)): Update.
* oasys.c (oasys_canonicalize_symtab): Update.
* som.c (som_canonicalize_symtab): Update.
* pef.c (bfd_pef_canonicalize_symtab): Update.
* nlmcode.h (nlm_canonicalize_symtab): Update.
* xsym.c (bfd_sym_canonicalize_symtab): Update.
* vms.c (vms_canonicalize_symtab): Update.
* versados.c (versados_canonicalize_symtab): Update.
* mach-o.c (bfd_mach_o_canonicalize_symtab): Update.
* ieee.c (ieee_canonicalize_symtab): Update.
* pdp11.c (NAME(aout,canonicalize_symtab)): Update.
* reloc.c: Update comment.
* libaout.h (NAME(aout,canonicalize_symtab)): Update.
* coff64-rs6000.c (aix5coff64_vec): Update.
* coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update.
* aoutx.h (NAME(aout,canonicalize_symtab)): Update.
* elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update.
* hp300hpux.c (MY_canonicalize_symtab): Update.
* ecoff.c (_bfd_ecoff_canonicalize_symtab): Update.
* aout-tic30.c (MY_canonicalize_symtab): Update.
* aout-target.h (MY_canonicalize_symtab): Update.
* ppcboot.c (ppcboot_canonicalize_symtab): Update.
* elf.c (_bfd_elf_canonicalize_symtab): Update.
* elfcode.h (elf_canonicalize_symtab): Update.
* ihex.c (ihex_canonicalize_symtab): Update.
* tekhex.c (tekhex_canonicalize_symtab): Update.
* binary.c (binary_canonicalize_symtab): Update.
* srec.c (srec_canonicalize_symtab): Update.

44 files changed:
bfd/ChangeLog
bfd/aout-target.h
bfd/aout-tic30.c
bfd/aoutx.h
bfd/bfd-in2.h
bfd/binary.c
bfd/coff-rs6000.c
bfd/coff64-rs6000.c
bfd/coffgen.c
bfd/doc/ChangeLog
bfd/doc/bfdint.texi
bfd/ecoff.c
bfd/elf-bfd.h
bfd/elf.c
bfd/elfcode.h
bfd/elfxx-target.h
bfd/hp300hpux.c
bfd/i386msdos.c
bfd/ieee.c
bfd/ihex.c
bfd/libaout.h
bfd/libbfd-in.h
bfd/libbfd.h
bfd/libcoff-in.h
bfd/libcoff.h
bfd/libecoff.h
bfd/libnlm.h
bfd/mach-o.c
bfd/mmo.c
bfd/nlm-target.h
bfd/nlmcode.h
bfd/oasys.c
bfd/pdp11.c
bfd/pef.c
bfd/ppcboot.c
bfd/reloc.c
bfd/som.c
bfd/srec.c
bfd/targets.c
bfd/tekhex.c
bfd/versados.c
bfd/vms.c
bfd/xsym.c
bfd/xsym.h

index 7e0f4dc44c74054bb8c37525de06f458e2bb7a7c..3195c4bb5e16ffec94f18e596f121de7a0f45424 100644 (file)
@@ -1,3 +1,49 @@
+2003-10-15  Andrew Cagney  <cagney@redhat.com>
+
+       * targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab
+       with NAME##_canonicalize_symtab.
+       * libcoff-in.h (coff_canonicalize_symtab): Update.
+       * xsym.h (bfd_sym_canonicalize_symtab): Update.
+       * elf-bfd.h (_bfd_elf_canonicalize_symtab): Update.
+       * coffgen.c (coff_canonicalize_symtab): Update.
+       * libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update.
+       * libnlm.h (nlmNAME(canonicalize_symtab)): Update.
+       * ieee.c (ieee_vec): Update comment.
+       * libecoff.h (_bfd_ecoff_canonicalize_symtab): Update.
+       * mmo.c (mmo_canonicalize_symtab): Update.
+       * nlm-target.h (nlm_canonicalize_symtab): Update.
+       * nlmcode.h (nlm_canonicalize_symtab): Update.
+       * i386msdos.c (msdos_canonicalize_symtab): Update.
+       * hp300hpux.c (MY (canonicalize_symtab)): Update.
+       * oasys.c (oasys_canonicalize_symtab): Update.
+       * som.c (som_canonicalize_symtab): Update.
+       * pef.c (bfd_pef_canonicalize_symtab): Update.
+       * nlmcode.h (nlm_canonicalize_symtab): Update.
+       * xsym.c (bfd_sym_canonicalize_symtab): Update.
+       * vms.c (vms_canonicalize_symtab): Update.
+       * versados.c (versados_canonicalize_symtab): Update.
+       * mach-o.c (bfd_mach_o_canonicalize_symtab): Update.
+       * ieee.c (ieee_canonicalize_symtab): Update.
+       * pdp11.c (NAME(aout,canonicalize_symtab)): Update.
+       * reloc.c: Update comment.
+       * libaout.h (NAME(aout,canonicalize_symtab)): Update.
+       * coff64-rs6000.c (aix5coff64_vec): Update.
+       * coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update.
+       * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update.
+       * aoutx.h (NAME(aout,canonicalize_symtab)): Update.
+       * elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update.
+       * hp300hpux.c (MY_canonicalize_symtab): Update.
+       * ecoff.c (_bfd_ecoff_canonicalize_symtab): Update.
+       * aout-tic30.c (MY_canonicalize_symtab): Update.
+       * aout-target.h (MY_canonicalize_symtab): Update.
+       * ppcboot.c (ppcboot_canonicalize_symtab): Update.
+       * elf.c (_bfd_elf_canonicalize_symtab): Update.
+       * elfcode.h (elf_canonicalize_symtab): Update.
+       * ihex.c (ihex_canonicalize_symtab): Update.
+       * tekhex.c (tekhex_canonicalize_symtab): Update.
+       * binary.c (binary_canonicalize_symtab): Update.
+       * srec.c (srec_canonicalize_symtab): Update.
+
 2003-10-15  Kazu Hirata  <kazu@cs.umass.edu>
 
        * elf32-h8300.c (elf_reloc_map): Fix a comment typo.
index cc4a4f50df872d6eb9be811fa0e0efb04948a36f..28af054d20b1f292759b655aa98d87e8fd1f27b0 100644 (file)
@@ -470,8 +470,8 @@ MY_bfd_final_link (abfd, info)
 #ifndef MY_get_symtab_upper_bound
 #define MY_get_symtab_upper_bound NAME(aout,get_symtab_upper_bound)
 #endif
-#ifndef MY_get_symtab
-#define MY_get_symtab NAME(aout,get_symtab)
+#ifndef MY_canonicalize_symtab
+#define MY_canonicalize_symtab NAME(aout,canonicalize_symtab)
 #endif
 #ifndef MY_get_reloc_upper_bound
 #define MY_get_reloc_upper_bound NAME(aout,get_reloc_upper_bound)
index 6e65fcf40aec11c959d55ed3e63c6fd0b97d755d..29106b99a194235da17a281c0bbe1954077dc112 100644 (file)
@@ -926,8 +926,8 @@ tic30_aout_set_arch_mach (abfd, arch, machine)
 #ifndef MY_get_symtab_upper_bound
 #define MY_get_symtab_upper_bound NAME(aout,get_symtab_upper_bound)
 #endif
-#ifndef MY_get_symtab
-#define MY_get_symtab NAME(aout,get_symtab)
+#ifndef MY_canonicalize_symtab
+#define MY_canonicalize_symtab NAME(aout,canonicalize_symtab)
 #endif
 #ifndef MY_get_reloc_upper_bound
 #define MY_get_reloc_upper_bound NAME(aout,get_reloc_upper_bound)
index 3c495380d15000ac4c11c5469dd3492bf27feb14..aaa2b6ddae41b5bd6596321065ce1ae9605afb66 100644 (file)
@@ -2026,7 +2026,7 @@ error_return:
 }
 \f
 long
-NAME(aout,get_symtab) (abfd, location)
+NAME(aout,canonicalize_symtab) (abfd, location)
      bfd *abfd;
      asymbol **location;
 {
index a70b0d32b8fd367668bc688024955b4543eaa544..9bf624f2232d16b8e05d0630606598c47f73a175 100644 (file)
@@ -4213,7 +4213,7 @@ typedef struct bfd_target
   /* Entry points used for symbols.  */
 #define BFD_JUMP_TABLE_SYMBOLS(NAME) \
   NAME##_get_symtab_upper_bound, \
-  NAME##_get_symtab, \
+  NAME##_canonicalize_symtab, \
   NAME##_make_empty_symbol, \
   NAME##_print_symbol, \
   NAME##_get_symbol_info, \
index a27eb95f5993415482b93fb2335546d7b35b7b7e..054a57923f1156b0072ff14dce028273b40237b3 100644 (file)
@@ -47,7 +47,7 @@ static bfd_boolean binary_get_section_contents
   PARAMS ((bfd *, asection *, PTR, file_ptr, bfd_size_type));
 static long binary_get_symtab_upper_bound PARAMS ((bfd *));
 static char *mangle_name PARAMS ((bfd *, char *));
-static long binary_get_symtab PARAMS ((bfd *, asymbol **));
+static long binary_canonicalize_symtab PARAMS ((bfd *, asymbol **));
 static void binary_get_symbol_info PARAMS ((bfd *, asymbol *, symbol_info *));
 static bfd_boolean binary_set_section_contents
   PARAMS ((bfd *, asection *, PTR, file_ptr, bfd_size_type));
@@ -174,7 +174,7 @@ mangle_name (abfd, suffix)
 /* Return the symbol table.  */
 
 static long
-binary_get_symtab (abfd, alocation)
+binary_canonicalize_symtab (abfd, alocation)
      bfd *abfd;
      asymbol **alocation;
 {
index 8ba305c7740be73e87dfcaff242d2e4660eb80dd..0b73bd54a8fc2e937806a7673c1d111335ade2a1 100644 (file)
@@ -4165,7 +4165,7 @@ const bfd_target rs6000coff_vec =
 
     /* Symbols */
     coff_get_symtab_upper_bound,
-    coff_get_symtab,
+    coff_canonicalize_symtab,
     coff_make_empty_symbol,
     coff_print_symbol,
     coff_get_symbol_info,
@@ -4407,7 +4407,7 @@ const bfd_target pmac_xcoff_vec =
 
     /* Symbols */
     coff_get_symtab_upper_bound,
-    coff_get_symtab,
+    coff_canonicalize_symtab,
     coff_make_empty_symbol,
     coff_print_symbol,
     coff_get_symbol_info,
index c6b180376039abe4ad9d17f07ae2649a3d1ea5d7..895f96bf750f92c308522affdf1b6846e2527913 100644 (file)
@@ -2706,7 +2706,7 @@ const bfd_target rs6000coff64_vec =
 
     /* Symbols */
     coff_get_symtab_upper_bound,
-    coff_get_symtab,
+    coff_canonicalize_symtab,
     coff_make_empty_symbol,
     coff_print_symbol,
     coff_get_symbol_info,
@@ -2949,7 +2949,7 @@ const bfd_target aix5coff64_vec =
 
     /* Symbols */
     coff_get_symtab_upper_bound,
-    coff_get_symtab,
+    coff_canonicalize_symtab,
     coff_make_empty_symbol,
     coff_print_symbol,
     coff_get_symbol_info,
index fcb00fc4737cb03b1cee6a91be9bdf715d81b5c0..5896a00b960ecd7e2132fd5208761329fdbaeda3 100644 (file)
@@ -365,7 +365,7 @@ coff_get_symtab_upper_bound (abfd)
 /* Canonicalize a COFF symbol table.  */
 
 long
-coff_get_symtab (abfd, alocation)
+coff_canonicalize_symtab (abfd, alocation)
      bfd *abfd;
      asymbol **alocation;
 {
index 9cc789214203f8a4b870601c86065ebd40e85a05..3636ed8bfaaab15425c71e0aa7f2338638bce385 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-15  Andrew Cagney  <cagney@redhat.com>
+
+       * bfdint.texi (BFD target vector symbols): Rename _get_symtab to
+       _canonicalize_symtab.
+
 2003-10-08  David Taylor <dtaylor@emc.com>
 
        * bfd.texinfo: Remove spurious backslash.
index 4566731c10e33c190e84acfaeea0e310bb40863b..cd29ae8dcafd432a1ae9d5ff0b942c054c4b00a6 100644 (file)
@@ -694,7 +694,7 @@ information in BFD private data.  This is called via
 @samp{bfd_get_symtab_upper_bound}.  The corresponding field in the
 target vector is named @samp{_bfd_get_symtab_upper_bound}.
 
-@item _get_symtab
+@item _canonicalize_symtab
 Read in the symbol table.  This is called via
 @samp{bfd_canonicalize_symtab}.  The corresponding field in the target
 vector is named @samp{_bfd_canonicalize_symtab}.
index 021c1fe13207ac3202433017ec18490257ac6121..87db129285c8d01b6fcd7be157765c7b3eabbb6d 100644 (file)
@@ -1062,7 +1062,7 @@ _bfd_ecoff_get_symtab_upper_bound (abfd)
 /* Get the canonical symbols.  */
 
 long
-_bfd_ecoff_get_symtab (abfd, alocation)
+_bfd_ecoff_canonicalize_symtab (abfd, alocation)
      bfd *abfd;
      asymbol **alocation;
 {
index bf73762ada21dbb417a4162bd92510796a27bccf..a4f46a604141d589e397051de33a28f44deaabdd 100644 (file)
@@ -1359,7 +1359,7 @@ extern bfd_boolean _bfd_elf_set_section_contents
   (bfd *, sec_ptr, void *, file_ptr, bfd_size_type);
 extern long _bfd_elf_get_symtab_upper_bound
   (bfd *);
-extern long _bfd_elf_get_symtab
+extern long _bfd_elf_canonicalize_symtab
   (bfd *, asymbol **);
 extern long _bfd_elf_get_dynamic_symtab_upper_bound
   (bfd *);
index 5fde379d147162dc218b28290e31c93d82d95405..2d66ced8d4441278551247b039f8ed91db4a060d 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -5591,7 +5591,7 @@ _bfd_elf_canonicalize_reloc (bfd *abfd,
 }
 
 long
-_bfd_elf_get_symtab (bfd *abfd, asymbol **allocation)
+_bfd_elf_canonicalize_symtab (bfd *abfd, asymbol **allocation)
 {
   const struct elf_backend_data *bed = get_elf_backend_data (abfd);
   long symcount = bed->s->slurp_symbol_table (abfd, allocation, FALSE);
index a627e4854f27c0ed91e93d7fbe607419fb809c9a..87d96fafc6def68f34db6bb446ac168d322da9e1 100644 (file)
@@ -102,7 +102,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define elf_get_reloc_upper_bound      NAME(bfd_elf,get_reloc_upper_bound)
 #define elf_canonicalize_reloc         NAME(bfd_elf,canonicalize_reloc)
 #define elf_slurp_symbol_table         NAME(bfd_elf,slurp_symbol_table)
-#define elf_get_symtab                 NAME(bfd_elf,get_symtab)
+#define elf_canonicalize_symtab                NAME(bfd_elf,canonicalize_symtab)
 #define elf_canonicalize_dynamic_symtab \
   NAME(bfd_elf,canonicalize_dynamic_symtab)
 #define elf_make_empty_symbol          NAME(bfd_elf,make_empty_symbol)
index 2d1e5e2572607ca67aecbe458c2cd04fa66663c6..723cdf208ef8631c6d7b31136b12b1b66c007524 100644 (file)
@@ -51,7 +51,7 @@
 #ifndef bfd_elfNN_get_symbol_info
 #define bfd_elfNN_get_symbol_info      _bfd_elf_get_symbol_info
 #endif
-#define bfd_elfNN_get_symtab           _bfd_elf_get_symtab
+#define bfd_elfNN_canonicalize_symtab  _bfd_elf_canonicalize_symtab
 #define bfd_elfNN_get_symtab_upper_bound _bfd_elf_get_symtab_upper_bound
 #define bfd_elfNN_make_empty_symbol    _bfd_elf_make_empty_symbol
 #ifndef bfd_elfNN_new_section_hook
index d4eb3aad1e31afb7142b49f0dcf56e85bf873247..df93d6d6d35ec5a5eb685b451058d3f9646f0586 100644 (file)
@@ -93,7 +93,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
        slurp_symbol_table
        swap_std_reloc_in
        slurp_reloc_table
-       get_symtab
+       canonicalize_symtab
        get_symtab_upper_bound
        canonicalize_reloc
        mkobject
@@ -129,7 +129,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 /* these don't use MY because that causes problems within JUMP_TABLE
    (CONCAT2 winds up being expanded recursively, which ANSI C compilers
    will not do).  */
-#define MY_get_symtab hp300hpux_get_symtab
+#define MY_canonicalize_symtab hp300hpux_canonicalize_symtab
 #define MY_get_symtab_upper_bound hp300hpux_get_symtab_upper_bound
 #define MY_canonicalize_reloc hp300hpux_canonicalize_reloc
 #define MY_write_object_contents hp300hpux_write_object_contents
@@ -208,7 +208,7 @@ void MY (swap_std_reloc_in)
           bfd_size_type));
 bfd_boolean MY (slurp_reloc_table)
   PARAMS ((bfd *, sec_ptr, asymbol **));
-long MY (get_symtab)
+long MY (canonicalize_symtab)
   PARAMS ((bfd *, asymbol **));
 long MY (get_symtab_upper_bound)
   PARAMS ((bfd *));
@@ -802,7 +802,7 @@ doit:
 /* call aout_32 versions if the input file was generated by gcc         */
 /************************************************************************/
 
-long aout_32_get_symtab
+long aout_32_canonicalize_symtab
   PARAMS ((bfd * abfd, asymbol ** location));
 long aout_32_get_symtab_upper_bound
   PARAMS ((bfd * abfd));
@@ -811,7 +811,7 @@ long aout_32_canonicalize_reloc
           asymbol ** symbols));
 
 long
-MY (get_symtab) (abfd, location)
+MY (canonicalize_symtab) (abfd, location)
      bfd *abfd;
      asymbol **location;
 {
@@ -819,7 +819,7 @@ MY (get_symtab) (abfd, location)
   aout_symbol_type *symbase;
 
   if (obj_aout_subformat (abfd) == gnu_encap_format)
-    return aout_32_get_symtab (abfd, location);
+    return aout_32_canonicalize_symtab (abfd, location);
 
   if (!MY (slurp_symbol_table) (abfd))
     return -1;
index 7d5a0d4a40e9b239ea19d23686db92b09b0bd9c4..9d5cb05723dfa709145c15cda2971298774d0bc0 100644 (file)
@@ -186,7 +186,7 @@ msdos_set_section_contents (abfd, section, location, offset, count)
 #define msdos_set_arch_mach _bfd_generic_set_arch_mach
 
 #define msdos_get_symtab_upper_bound _bfd_nosymbols_get_symtab_upper_bound
-#define msdos_get_symtab _bfd_nosymbols_get_symtab
+#define msdos_canonicalize_symtab _bfd_nosymbols_canonicalize_symtab
 #define msdos_print_symbol _bfd_nosymbols_print_symbol
 #define msdos_get_symbol_info _bfd_nosymbols_get_symbol_info
 #define msdos_find_nearest_line _bfd_nosymbols_find_nearest_line
index f0ba1e5b1158a4c1f128da3536213c3f65cb49d1..4e1631a2c79bffbfcf9123ea4651b9ae5b9a4fe1 100644 (file)
@@ -80,7 +80,7 @@ static bfd_boolean ieee_slurp_symbol_table
   PARAMS ((bfd *));
 static long ieee_get_symtab_upper_bound
   PARAMS ((bfd *));
-static long ieee_get_symtab
+static long ieee_canonicalize_symtab
   PARAMS ((bfd *, asymbol **));
 static asection *get_section_entry
   PARAMS ((bfd *, ieee_data_type *i, unsigned int));
@@ -1145,7 +1145,7 @@ ieee_get_symtab_upper_bound (abfd)
 extern const bfd_target ieee_vec;
 
 static long
-ieee_get_symtab (abfd, location)
+ieee_canonicalize_symtab (abfd, location)
      bfd *abfd;
      asymbol **location;
 {
@@ -4097,10 +4097,11 @@ const bfd_target ieee_vec =
      ieee_update_armap_timestamp  */
   BFD_JUMP_TABLE_ARCHIVE (ieee),
 
-  /* ieee_get_symtab_upper_bound, ieee_get_symtab, ieee_make_empty_symbol,
-     ieee_print_symbol, ieee_get_symbol_info, ieee_bfd_is_local_label_name,
-     ieee_get_lineno, ieee_find_nearest_line, ieee_bfd_make_debug_symbol,
-     ieee_read_minisymbols, ieee_minisymbol_to_symbol  */
+  /* ieee_get_symtab_upper_bound, ieee_canonicalize_symtab,
+     ieee_make_empty_symbol, ieee_print_symbol, ieee_get_symbol_info,
+     ieee_bfd_is_local_label_name, ieee_get_lineno,
+     ieee_find_nearest_line, ieee_bfd_make_debug_symbol,
+     ieee_read_minisymbols, ieee_minisymbol_to_symbol */
   BFD_JUMP_TABLE_SYMBOLS (ieee),
 
   /* ieee_get_reloc_upper_bound, ieee_canonicalize_reloc,
index 2f4aa569f48b450908a6542f87a6fda203653d7e..7a5af63af6a415e308f807265fd51868344efcdb 100644 (file)
@@ -966,7 +966,7 @@ ihex_sizeof_headers (abfd, exec)
   _bfd_generic_get_section_contents_in_window
 
 #define ihex_get_symtab_upper_bound bfd_0l
-#define ihex_get_symtab \
+#define ihex_canonicalize_symtab \
   ((long (*) PARAMS ((bfd *, asymbol **))) bfd_0l)
 #define ihex_make_empty_symbol _bfd_generic_make_empty_symbol
 #define ihex_print_symbol _bfd_nosymbols_print_symbol
index 7dc44a26720439b1ca638f9ee4d10862006bdebe..70d4357e583af1df905f2cf4c3dc347e7857f75c 100644 (file)
@@ -534,7 +534,7 @@ extern void NAME(aout,reclaim_symbol_table)
 extern long NAME(aout,get_symtab_upper_bound)
   PARAMS ((bfd *));
 
-extern long NAME(aout,get_symtab)
+extern long NAME(aout,canonicalize_symtab)
   PARAMS ((bfd *, asymbol **));
 
 extern void NAME(aout,swap_ext_reloc_in)
index d437f414aacdc26c0fab65f294b43b4ee049b525..66b6cc165d89a710a54a8adb8fc1f8fd14b6cbe7 100644 (file)
@@ -286,7 +286,7 @@ extern bfd_boolean _bfd_archive_coff_construct_extended_name_table
    support.  Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).  */
 
 #define _bfd_nosymbols_get_symtab_upper_bound _bfd_n1
-#define _bfd_nosymbols_get_symtab \
+#define _bfd_nosymbols_canonicalize_symtab \
   ((long (*) (bfd *, asymbol **)) _bfd_n1)
 #define _bfd_nosymbols_make_empty_symbol _bfd_generic_make_empty_symbol
 #define _bfd_nosymbols_print_symbol \
index f8f820ee2e58e41e997c3ba5c9b246760a5445ec..f2417eee16e8ed05f4f405641d57b2dfcd942a08 100644 (file)
@@ -291,7 +291,7 @@ extern bfd_boolean _bfd_archive_coff_construct_extended_name_table
    support.  Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).  */
 
 #define _bfd_nosymbols_get_symtab_upper_bound _bfd_n1
-#define _bfd_nosymbols_get_symtab \
+#define _bfd_nosymbols_canonicalize_symtab \
   ((long (*) (bfd *, asymbol **)) _bfd_n1)
 #define _bfd_nosymbols_make_empty_symbol _bfd_generic_make_empty_symbol
 #define _bfd_nosymbols_print_symbol \
index 0c19433753c47b0018309787ed42813a93403112..19e5338390bd112a7605b56584adbb6f5945bef1 100644 (file)
@@ -305,7 +305,7 @@ extern struct sec *coff_section_from_bfd_index
   PARAMS ((bfd *, int));
 extern long coff_get_symtab_upper_bound
   PARAMS ((bfd *));
-extern long coff_get_symtab
+extern long coff_canonicalize_symtab
   PARAMS ((bfd *, asymbol **));
 extern int coff_count_linenumbers
   PARAMS ((bfd *));
index 3cac32a4545344020dc402c6b766b13d7cbf6fbe..be2de1ffe57a3a2cb6245f94957d5ef104fd35c0 100644 (file)
@@ -309,7 +309,7 @@ extern struct sec *coff_section_from_bfd_index
   PARAMS ((bfd *, int));
 extern long coff_get_symtab_upper_bound
   PARAMS ((bfd *));
-extern long coff_get_symtab
+extern long coff_canonicalize_symtab
   PARAMS ((bfd *, asymbol **));
 extern int coff_count_linenumbers
   PARAMS ((bfd *));
index 7fa50698b1c6bb0ca57a43944d6be8fdd8276f89..517c0bf3e417703e960a94892c75138c978c510d 100644 (file)
@@ -299,7 +299,7 @@ extern bfd_boolean _bfd_ecoff_write_armap
 #define _bfd_ecoff_update_armap_timestamp bfd_true
 
 extern long _bfd_ecoff_get_symtab_upper_bound PARAMS ((bfd *abfd));
-extern long _bfd_ecoff_get_symtab PARAMS ((bfd *abfd, asymbol **alocation));
+extern long _bfd_ecoff_canonicalize_symtab PARAMS ((bfd *abfd, asymbol **alocation));
 extern asymbol *_bfd_ecoff_make_empty_symbol PARAMS ((bfd *abfd));
 extern void _bfd_ecoff_print_symbol
   PARAMS ((bfd *, PTR filep, asymbol *, bfd_print_symbol_type));
index 314a21fe61bf28bfd0c8447c4cf62dff9e5fe533..9bdba91650af876e5ac451648e9dbd17d22a6051 100644 (file)
@@ -61,7 +61,7 @@ extern void nlmNAME(get_symbol_info)
   PARAMS ((bfd *, asymbol *, symbol_info *));
 extern long nlmNAME(get_symtab_upper_bound)
   PARAMS ((bfd *));
-extern long nlmNAME(get_symtab)
+extern long nlmNAME(canonicalize_symtab)
   PARAMS ((bfd *, asymbol **));
 extern asymbol *nlmNAME(make_empty_symbol)
   PARAMS ((bfd *));
index 4c4736ada0d14acf989e0d14c03697d66a972021..761f0c9f6211870fc22c9cd82d4a0b2e15d2ae7a 100644 (file)
@@ -80,7 +80,7 @@ static long bfd_mach_o_count_symbols
   PARAMS ((bfd *));
 static long bfd_mach_o_get_symtab_upper_bound
   PARAMS ((bfd *));
-static long bfd_mach_o_get_symtab
+static long bfd_mach_o_canonicalize_symtab
   PARAMS ((bfd *, asymbol **));
 static void bfd_mach_o_get_symbol_info
   PARAMS ((bfd *, asymbol *, symbol_info *));
@@ -255,7 +255,7 @@ bfd_mach_o_get_symtab_upper_bound (abfd)
 }
 
 static long
-bfd_mach_o_get_symtab (abfd, alocation)
+bfd_mach_o_canonicalize_symtab (abfd, alocation)
      bfd *abfd;
      asymbol **alocation;
 {
@@ -275,7 +275,7 @@ bfd_mach_o_get_symtab (abfd, alocation)
 
          if (bfd_mach_o_scan_read_symtab_symbols (abfd, &mdata->commands[i].command.symtab) != 0)
            {
-             fprintf (stderr, "bfd_mach_o_get_symtab: unable to load symbols for section %lu\n", i);
+             fprintf (stderr, "bfd_mach_o_canonicalize_symtab: unable to load symbols for section %lu\n", i);
              return 0;
            }
 
index 56c97460319bc2fd97fc3f855518e91026507f9d..e348fe73be6925a7723cba8bceee764e49014492 100644 (file)
--- a/bfd/mmo.c
+++ b/bfd/mmo.c
@@ -401,7 +401,7 @@ static bfd_boolean mmo_get_section_contents
   PARAMS ((bfd *, asection *, PTR, file_ptr, bfd_size_type));
 static long mmo_get_symtab_upper_bound
   PARAMS ((bfd *));
-static long mmo_get_symtab
+static long mmo_canonicalize_symtab
   PARAMS ((bfd *, asymbol **));
 static void mmo_get_symbol_info
   PARAMS ((bfd *, asymbol *, symbol_info *));
@@ -2200,7 +2200,7 @@ mmo_sort_mmo_symbols (arg1, arg2)
 /* Translate the symbol table.  */
 
 static long
-mmo_get_symtab (abfd, alocation)
+mmo_canonicalize_symtab (abfd, alocation)
      bfd *abfd;
      asymbol **alocation;
 {
index e0a83044e91584ab7630230949a5ed56fad87367..72398d92b89d0d6d1d5903d18cb29b381c77e6d2 100644 (file)
@@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define nlm_core_file_p _bfd_dummy_target
 
 #define nlm_get_symtab_upper_bound nlmNAME(get_symtab_upper_bound)
-#define nlm_get_symtab nlmNAME(get_symtab)
+#define nlm_canonicalize_symtab nlmNAME(canonicalize_symtab)
 #define nlm_make_empty_symbol nlmNAME(make_empty_symbol)
 #define nlm_print_symbol nlmNAME(print_symbol)
 #define nlm_get_symbol_info nlmNAME(get_symbol_info)
index 5eeb41eba4686b2a421b99e17052932ca8d12641..bd26d7b5472604e1c82de6fe0bc9ead88e046483 100644 (file)
@@ -42,7 +42,7 @@
 
 #define nlm_symbol_type                        nlmNAME(symbol_type)
 #define nlm_get_symtab_upper_bound     nlmNAME(get_symtab_upper_bound)
-#define nlm_get_symtab                 nlmNAME(get_symtab)
+#define nlm_canonicalize_symtab                nlmNAME(canonicalize_symtab)
 #define nlm_make_empty_symbol          nlmNAME(make_empty_symbol)
 #define nlm_print_symbol               nlmNAME(print_symbol)
 #define nlm_get_symbol_info            nlmNAME(get_symbol_info)
@@ -918,7 +918,7 @@ nlm_get_symtab_upper_bound (abfd)
    symbol table fails.  */
 
 long
-nlm_get_symtab (abfd, alocation)
+nlm_canonicalize_symtab (abfd, alocation)
      bfd *abfd;
      asymbol **alocation;
 {
index 3c393864cf60bf0e57f2cabb9403009e9335033a..d1e86ca363fb516240a554ef3879d0c366fd97a3 100644 (file)
@@ -83,7 +83,7 @@ static int oasys_generic_stat_arch_elt
 static int oasys_sizeof_headers
   PARAMS ((bfd *, bfd_boolean));
 
-long oasys_get_symtab
+long oasys_canonicalize_symtab
   PARAMS ((bfd *, asymbol **));
 long oasys_canonicalize_reloc
   PARAMS ((bfd *, sec_ptr, arelent **, asymbol **));
@@ -271,7 +271,7 @@ oasys_get_symtab_upper_bound (abfd)
 extern const bfd_target oasys_vec;
 
 long
-oasys_get_symtab (abfd, location)
+oasys_canonicalize_symtab (abfd, location)
      bfd *abfd;
      asymbol **location;
 {
index 52f7b70fc5520dab787bcfb73387dbfb250e2dce..a259297ed10697d356674b6a0024854e3b133905 100644 (file)
@@ -2008,7 +2008,7 @@ error_return:
 
 \f
 long
-NAME(aout,get_symtab) (abfd, location)
+NAME(aout,canonicalize_symtab) (abfd, location)
      bfd *abfd;
      asymbol **location;
 {
index 550dbb81f5550123a551617a04cad23643a0d255..7d758cf57d21903aa7dfcfb68d9b4a3c019fecc7 100644 (file)
--- a/bfd/pef.c
+++ b/bfd/pef.c
@@ -76,7 +76,7 @@ static int bfd_pef_parse_function_stubs        PARAMS ((bfd *, asection *, unsig
 static long bfd_pef_parse_symbols              PARAMS ((bfd *, asymbol **));
 static long bfd_pef_count_symbols              PARAMS ((bfd *));
 static long bfd_pef_get_symtab_upper_bound     PARAMS ((bfd *));
-static long bfd_pef_get_symtab                 PARAMS ((bfd *, asymbol **));
+static long bfd_pef_canonicalize_symtab        PARAMS ((bfd *, asymbol **));
 static asymbol *bfd_pef_make_empty_symbol      PARAMS ((bfd *));
 static void bfd_pef_get_symbol_info            PARAMS ((bfd *, asymbol *, symbol_info *));
 static int bfd_pef_sizeof_headers              PARAMS ((bfd *, bfd_boolean));
@@ -1027,7 +1027,7 @@ bfd_pef_get_symtab_upper_bound (abfd)
 }
 
 static long
-bfd_pef_get_symtab (abfd, alocation)
+bfd_pef_canonicalize_symtab (abfd, alocation)
      bfd *abfd;
      asymbol **alocation;
 {
index a4fe0ca4ba4da1cbcc897ef51a00b1ed06545c27..32093aea3c98db7df8af78ef655268a7c997054c 100644 (file)
@@ -95,7 +95,7 @@ static bfd_boolean ppcboot_get_section_contents
   PARAMS ((bfd *, asection *, PTR, file_ptr, bfd_size_type));
 static long ppcboot_get_symtab_upper_bound PARAMS ((bfd *));
 static char *mangle_name PARAMS ((bfd *, char *));
-static long ppcboot_get_symtab PARAMS ((bfd *, asymbol **));
+static long ppcboot_canonicalize_symtab PARAMS ((bfd *, asymbol **));
 static void ppcboot_get_symbol_info PARAMS ((bfd *, asymbol *, symbol_info *));
 static bfd_boolean ppcboot_set_section_contents
   PARAMS ((bfd *, asection *, PTR, file_ptr, bfd_size_type));
@@ -287,7 +287,7 @@ mangle_name (abfd, suffix)
 /* Return the symbol table.  */
 
 static long
-ppcboot_get_symtab (abfd, alocation)
+ppcboot_canonicalize_symtab (abfd, alocation)
      bfd *abfd;
      asymbol **alocation;
 {
index 6318190cc3eccd7e3e43c1a65ce3f67d3860a982..ddb0a4d57339f9c05effddfcf9e744d33902f801 100644 (file)
@@ -122,15 +122,16 @@ DESCRIPTION
         o <<sym_ptr_ptr>>
 
         The symbol table pointer points to a pointer to the symbol
-        associated with the relocation request.  It is
-        the pointer into the table returned by the back end's
-        <<get_symtab>> action. @xref{Symbols}. The symbol is referenced
-        through a pointer to a pointer so that tools like the linker
-        can fix up all the symbols of the same name by modifying only
-        one pointer. The relocation routine looks in the symbol and
-        uses the base of the section the symbol is attached to and the
-        value of the symbol as the initial relocation offset. If the
-        symbol pointer is zero, then the section provided is looked up.
+        associated with the relocation request.  It is the pointer
+        into the table returned by the back end's
+        <<canonicalize_symtab>> action. @xref{Symbols}. The symbol is
+        referenced through a pointer to a pointer so that tools like
+        the linker can fix up all the symbols of the same name by
+        modifying only one pointer. The relocation routine looks in
+        the symbol and uses the base of the section the symbol is
+        attached to and the value of the symbol as the initial
+        relocation offset. If the symbol pointer is zero, then the
+        section provided is looked up.
 
         o <<address>>
 
index 90b0cf5652c4e58ab8fbcf92f6e7124f365035a6..e8cf8ca82124c645ac258429aa9be4009e7a599f 100644 (file)
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -175,7 +175,7 @@ static unsigned int som_set_reloc_info
           asymbol **, bfd_boolean));
 static bfd_boolean som_slurp_reloc_table
   PARAMS ((bfd *, asection *, asymbol **, bfd_boolean));
-static long som_get_symtab
+static long som_canonicalize_symtab
   PARAMS ((bfd *, asymbol **));
 static asymbol * som_make_empty_symbol
   PARAMS ((bfd *));
@@ -4520,7 +4520,7 @@ som_slurp_symbol_table (abfd)
    in the symbol table.  */
 
 static long
-som_get_symtab (abfd, location)
+som_canonicalize_symtab (abfd, location)
      bfd *abfd;
      asymbol **location;
 {
index cd31907ba9f515199585ca2d54dae9810315dee4..d654ca7491df98ca1f677c779ca87c6af4f4ca05 100644 (file)
@@ -138,7 +138,7 @@ static bfd_boolean srec_write_object_contents PARAMS ((bfd *));
 static bfd_boolean symbolsrec_write_object_contents PARAMS ((bfd *));
 static int srec_sizeof_headers PARAMS ((bfd *, bfd_boolean));
 static long srec_get_symtab_upper_bound PARAMS ((bfd *));
-static long srec_get_symtab PARAMS ((bfd *, asymbol **));
+static long srec_canonicalize_symtab PARAMS ((bfd *, asymbol **));
 
 /* Macros for converting between hex and binary.  */
 
@@ -1188,7 +1188,7 @@ srec_get_symtab_upper_bound (abfd)
 /* Return the symbol table.  */
 
 static long
-srec_get_symtab (abfd, alocation)
+srec_canonicalize_symtab (abfd, alocation)
      bfd *abfd;
      asymbol **alocation;
 {
index 3f9dc6de1ffe159b54718a427b596616c85efbab..fe8b01c29ee286ad07ee9f9451512af947650f15 100644 (file)
@@ -328,7 +328,7 @@ BFD_JUMP_TABLE macros.
 .  {* Entry points used for symbols.  *}
 .#define BFD_JUMP_TABLE_SYMBOLS(NAME) \
 .  NAME##_get_symtab_upper_bound, \
-.  NAME##_get_symtab, \
+.  NAME##_canonicalize_symtab, \
 .  NAME##_make_empty_symbol, \
 .  NAME##_print_symbol, \
 .  NAME##_get_symbol_info, \
index 77b471a2d7c8c4c4153ea313fec024339db92257..8a4055800f8a0080ffb57c35ae7f607de305b138 100644 (file)
@@ -120,7 +120,7 @@ static void move_section_contents
 static const bfd_target *tekhex_object_p PARAMS ((bfd *));
 static bfd_boolean tekhex_mkobject PARAMS ((bfd *));
 static long tekhex_get_symtab_upper_bound PARAMS ((bfd *));
-static long tekhex_get_symtab PARAMS ((bfd *, asymbol **));
+static long tekhex_canonicalize_symtab PARAMS ((bfd *, asymbol **));
 static void pass_over PARAMS ((bfd *, void (*) (bfd*, int, char *)));
 static void first_phase PARAMS ((bfd *, int, char *));
 static void insert_byte PARAMS ((bfd *, int, bfd_vma));
@@ -522,7 +522,7 @@ pass_over (abfd, func)
 }
 
 static long
-tekhex_get_symtab (abfd, table)
+tekhex_canonicalize_symtab (abfd, table)
      bfd *abfd;
      asymbol **table;
 {
index ee0897a55ab0f9bcbfc4f9440e8a538f9e1b0fed..5284733b9b1e0fed7413578355c7b214ff53b1e0 100644 (file)
@@ -58,7 +58,7 @@ static bfd_boolean versados_set_section_contents
   PARAMS ((bfd *, sec_ptr, void *, file_ptr, bfd_size_type));
 static int versados_sizeof_headers PARAMS ((bfd *, bfd_boolean));
 static long int versados_get_symtab_upper_bound PARAMS ((bfd *));
-static long int versados_get_symtab PARAMS ((bfd *, asymbol **));
+static long int versados_canonicalize_symtab PARAMS ((bfd *, asymbol **));
 static void versados_get_symbol_info
   PARAMS ((bfd *, asymbol *, symbol_info *));
 static void versados_print_symbol
@@ -740,7 +740,7 @@ versados_get_symtab_upper_bound (abfd)
 /* Return the symbol table.  */
 
 static long
-versados_get_symtab (abfd, alocation)
+versados_canonicalize_symtab (abfd, alocation)
      bfd *abfd;
      asymbol **alocation;
 {
index 175dae0eba7194137aa561790d022beae9f8bec8..cbf59be78944e78dc256fe8598e831e11ef1de40 100644 (file)
--- a/bfd/vms.c
+++ b/bfd/vms.c
@@ -95,7 +95,7 @@ static int vms_generic_stat_arch_elt
   PARAMS ((bfd *, struct stat *));
 static long vms_get_symtab_upper_bound
   PARAMS ((bfd *abfd));
-static long vms_get_symtab
+static long vms_canonicalize_symtab
   PARAMS ((bfd *abfd, asymbol **symbols));
 static void vms_print_symbol
   PARAMS ((bfd *abfd, PTR file, asymbol *symbol, bfd_print_symbol_type how));
@@ -1065,7 +1065,7 @@ vms_get_symtab_upper_bound (abfd)
 
 /* Copy symbols from hash table to symbol vector
 
-   called from bfd_hash_traverse in vms_get_symtab
+   called from bfd_hash_traverse in vms_canonicalize_symtab
    init counter to 0 if entry == 0  */
 
 static bfd_boolean
@@ -1089,12 +1089,12 @@ copy_symbols (entry, arg)
    return # of symbols read  */
 
 static long
-vms_get_symtab (abfd, symbols)
+vms_canonicalize_symtab (abfd, symbols)
      bfd *abfd;
      asymbol **symbols;
 {
 #if VMS_DEBUG
-  vms_debug (1, "vms_get_symtab(%p, <ret>)\n", abfd);
+  vms_debug (1, "vms_canonicalize_symtab(%p, <ret>)\n", abfd);
 #endif
 
        /* init counter */
index d73c05d871f38938dc03461505eb303d1ddc3a0a..a4058dd3954813895072d9193d3c4f9cc4045f29 100644 (file)
@@ -2413,7 +2413,7 @@ bfd_sym_get_symtab_upper_bound (abfd)
 }
 
 long
-bfd_sym_get_symtab (abfd, sym)
+bfd_sym_canonicalize_symtab (abfd, sym)
      bfd *abfd ATTRIBUTE_UNUSED;
      asymbol **sym ATTRIBUTE_UNUSED;
 {
index 8108e71fa83e660473f27a1ba6be4a4fb6a5d7a2..d78740cd9ce34c2a7c22e1b9571095ccd80e31e5 100644 (file)
@@ -693,7 +693,7 @@ extern void bfd_sym_get_symbol_info
   PARAMS ((bfd *, asymbol *, symbol_info *));
 extern long bfd_sym_get_symtab_upper_bound
   PARAMS ((bfd *));
-extern long bfd_sym_get_symtab
+extern long bfd_sym_canonicalize_symtab
   PARAMS ((bfd *, asymbol **));
 extern int bfd_sym_sizeof_headers
   PARAMS ((bfd *, bfd_boolean));