* bfd/bfd-in.h (bfd_is_arm_mapping_symbol_name): Rename from
authorJulian Brown <julian@codesourcery.com>
Wed, 30 Mar 2005 17:19:29 +0000 (17:19 +0000)
committerJulian Brown <julian@codesourcery.com>
Wed, 30 Mar 2005 17:19:29 +0000 (17:19 +0000)
bfd_elf32_is_arm_mapping_symbol_name.
* bfd/bfd-in2.h: Regenerate.
* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename from
bfd_elf32_is_arm_mapping_symbol_name.
* bfd/elf32-arm.c (elf32_arm_is_target_special_symbol): Rename
bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
(arm_elf_find_function): Likewise.
(elf32_arm_output_symbol_hook): Likewise.
* gas/config/tc-arm.c (arm_adjust_symtab): Likewise.

bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/cpu-arm.c
bfd/elf32-arm.c
gas/ChangeLog
gas/config/tc-arm.c

index f4c20a6e7685a89d888fc73867c75203ecff32f6..2e8951648bfbcdfb4056663aed34a5129b3fef15 100644 (file)
@@ -1,3 +1,15 @@
+2005-03-30  Julian Brown  <julian@codesourcery.com>
+
+       * bfd-in.h (bfd_is_arm_mapping_symbol_name): Rename from
+       bfd_elf32_is_arm_mapping_symbol_name.
+       * bfd-in2.h: Regenerate.
+       * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename from
+       bfd_elf32_is_arm_mapping_symbol_name.
+       * elf32-arm.c (elf32_arm_is_target_special_symbol): Rename
+       bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
+       (arm_elf_find_function): Likewise.
+       (elf32_arm_output_symbol_hook): Likewise.
+
 2005-03-30  Julian Brown  <julian@codesourcery.com>
 
        * bfd-in.h (bfd_elf32_is_arm_mapping_symbol_name): Add prototype.
index 29c2780ddf1b8bb21847dfe3815dd67295426418..a3dedb5732d3d1a287d5793bfa1377d444a8e367 100644 (file)
@@ -825,7 +825,7 @@ extern bfd_boolean bfd_elf32_arm_add_glue_sections_to_bfd
   (bfd *, struct bfd_link_info *);
 
 /* ELF ARM mapping symbol support */
-extern bfd_boolean bfd_elf32_is_arm_mapping_symbol_name
+extern bfd_boolean bfd_is_arm_mapping_symbol_name
   (const char * name);
 
 /* ARM Note section processing.  */
index 2d40f43bdd29fd960be0023c6e628d4d63ed04ea..626642045b28364dd443cdbb7a456de88849b76b 100644 (file)
@@ -832,7 +832,7 @@ extern bfd_boolean bfd_elf32_arm_add_glue_sections_to_bfd
   (bfd *, struct bfd_link_info *);
 
 /* ELF ARM mapping symbol support */
-extern bfd_boolean bfd_elf32_is_arm_mapping_symbol_name
+extern bfd_boolean bfd_is_arm_mapping_symbol_name
   (const char * name);
 
 /* ARM Note section processing.  */
index cd09ed2df3633dbdbd245f02cd7beb01e3e18d6a..8cc52e5ca07a99a3e26d840d5faba829f63c9847 100644 (file)
@@ -402,7 +402,7 @@ bfd_arm_get_mach_from_notes (bfd *abfd, const char *note_section)
 }
 
 bfd_boolean
-bfd_elf32_is_arm_mapping_symbol_name (const char * name)
+bfd_is_arm_mapping_symbol_name (const char * name)
 {
   return (name != NULL)
     && (name[0] == '$')
index fb46d7c28a352e7ba2bb44421883f768642e4d75..9245bd92aeeeae7228e2b68ae819ae1dcb672092 100644 (file)
@@ -4710,7 +4710,7 @@ elf32_arm_check_relocs (bfd *abfd, struct bfd_link_info *info,
 static bfd_boolean
 elf32_arm_is_target_special_symbol (bfd * abfd ATTRIBUTE_UNUSED, asymbol * sym)
 {
-  return bfd_elf32_is_arm_mapping_symbol_name (sym->name);
+  return bfd_is_arm_mapping_symbol_name (sym->name);
 }
 
 /* This is a copy of elf_find_function() from elf.c except that
@@ -4748,7 +4748,7 @@ arm_elf_find_function (bfd *         abfd ATTRIBUTE_UNUSED,
        case STT_NOTYPE:
          /* Skip $a and $t symbols.  */
          if ((q->symbol.flags & BSF_LOCAL)
-             && bfd_elf32_is_arm_mapping_symbol_name (q->symbol.name))
+             && bfd_is_arm_mapping_symbol_name (q->symbol.name))
            continue;
          /* Fall through.  */
          if (bfd_get_section (&q->symbol) == section
@@ -6077,7 +6077,7 @@ elf32_arm_output_symbol_hook (struct bfd_link_info *info,
     return TRUE;
 
   /* We only want mapping symbols.  */
-  if (! bfd_elf32_is_arm_mapping_symbol_name (name))
+  if (! bfd_is_arm_mapping_symbol_name (name))
     return TRUE;
 
   mapcount = ++(elf32_arm_section_data (input_sec)->mapcount);
index e29a64689b04ac4076ed20de1114f17892feb691..237da37107cdc15320787ba4df142029dda33a86 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-30  Julian Brown  <julian@codesourcery.com>
+
+       * config/tc-arm.c (arm_adjust_symtab): Rename
+       bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
+
 2005-03-30  Julian Brown  <julian@codesourcery.com>
 
        * config/tc-arm.c (mapping_state): Change documentation in function
index 83b0b21056b9ef3faa8349ec6de2575cac84bb8c..298468fd01d5bd630f84436b1b9ce4e8f89500a9 100644 (file)
@@ -13669,7 +13669,7 @@ arm_adjust_symtab (void)
          elf_sym = elf_symbol (symbol_get_bfdsym (sym));
          bind = ELF_ST_BIND (elf_sym->internal_elf_sym.st_info);
 
-         if (! bfd_elf32_is_arm_mapping_symbol_name (elf_sym->symbol.name))
+         if (! bfd_is_arm_mapping_symbol_name (elf_sym->symbol.name))
            { 
              /* If it's a .thumb_func, declare it as so,
                 otherwise tag label as .code 16.  */