From: Bob Wilson Date: Sat, 3 Feb 2007 06:34:22 +0000 (+0000) Subject: * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to... X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=4608f3d99567b6da95e37c1d825ef7b82c163c0e;p=deliverable%2Fbinutils-gdb.git * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to... (elf_xtensa_dynamic_symbol_p): ...this. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1f3198afbc..7f47fb5531 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2007-02-02 Bob Wilson + + * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to... + (elf_xtensa_dynamic_symbol_p): ...this. + 2007-02-02 Bob Wilson * elf32-xtensa.c (plt_reloc_count): Move into link hash table. diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index 97b13b7e8e..84b8443678 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