* bfd/bfd-in.h (bfd_is_arm_mapping_symbol_name): Rename from
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.
This commit is contained in:
parent
9d2da7ca8d
commit
05ea83ed21
7 changed files with 24 additions and 7 deletions
|
@ -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.
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -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. */
|
||||
|
|
|
@ -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] == '$')
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue