aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-xtensa.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2007-02-03 06:34:22 +0000
committerBob Wilson <bob.wilson@acm.org>2007-02-03 06:34:22 +0000
commit4608f3d99567b6da95e37c1d825ef7b82c163c0e (patch)
tree477250e93e19d8fcf675a85a4ce6f892714bae7f /bfd/elf32-xtensa.c
parentf0e6fdb2709023eafa44ccfc4f00be3dcbba8226 (diff)
downloadgdb-4608f3d99567b6da95e37c1d825ef7b82c163c0e.zip
gdb-4608f3d99567b6da95e37c1d825ef7b82c163c0e.tar.gz
gdb-4608f3d99567b6da95e37c1d825ef7b82c163c0e.tar.bz2
* elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
(elf_xtensa_dynamic_symbol_p): ...this.
Diffstat (limited to 'bfd/elf32-xtensa.c')
-rw-r--r--bfd/elf32-xtensa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c
index 97b13b7..84b8443 100644
--- a/bfd/elf32-xtensa.c
+++ b/bfd/elf32-xtensa.c
@@ -549,7 +549,7 @@ elf_xtensa_link_hash_table_create (bfd *abfd)
}
static inline bfd_boolean
-xtensa_elf_dynamic_symbol_p (struct elf_link_hash_entry *h,
+elf_xtensa_dynamic_symbol_p (struct elf_link_hash_entry *h,
struct bfd_link_info *info)
{
/* Check if we should do dynamic things to this symbol. The
@@ -1236,7 +1236,7 @@ elf_xtensa_fix_refcounts (struct elf_link_hash_entry *h, void *arg)
if (h->root.type == bfd_link_hash_warning)
h = (struct elf_link_hash_entry *) h->root.u.i.link;
- if (! xtensa_elf_dynamic_symbol_p (h, info))
+ if (! elf_xtensa_dynamic_symbol_p (h, info))
elf_xtensa_make_sym_local (info, h);
return TRUE;
@@ -2200,7 +2200,7 @@ elf_xtensa_relocate_section (bfd *output_bfd,
/* Generate dynamic relocations. */
if (elf_hash_table (info)->dynamic_sections_created)
{
- bfd_boolean dynamic_symbol = xtensa_elf_dynamic_symbol_p (h, info);
+ bfd_boolean dynamic_symbol = elf_xtensa_dynamic_symbol_p (h, info);
if (dynamic_symbol && is_operand_relocation (r_type))
{
@@ -8662,7 +8662,7 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info,
else
h = sym_hashes[r_symndx - symtab_hdr->sh_info];
- dynamic_symbol = xtensa_elf_dynamic_symbol_p (h, info);
+ dynamic_symbol = elf_xtensa_dynamic_symbol_p (h, info);
if ((r_type == R_XTENSA_32 || r_type == R_XTENSA_PLT)
&& (input_section->flags & SEC_ALLOC) != 0