Line 3125... |
Line 3125... |
struct elf_dyn_relocs *p;
|
struct elf_dyn_relocs *p;
|
|
|
if (h->root.type == bfd_link_hash_indirect)
|
if (h->root.type == bfd_link_hash_indirect)
|
return TRUE;
|
return TRUE;
|
|
|
if (h->root.type == bfd_link_hash_warning)
|
|
/* When warning symbols are created, they **replace** the "real"
|
|
entry in the hash table, thus we never get to see the real
|
|
symbol in a hash traversal. So look at it now. */
|
|
h = (struct elf_link_hash_entry *) h->root.u.i.link;
|
|
eh = (struct elf32_tic6x_link_hash_entry *) h;
|
eh = (struct elf32_tic6x_link_hash_entry *) h;
|
|
|
info = (struct bfd_link_info *) inf;
|
info = (struct bfd_link_info *) inf;
|
htab = elf32_tic6x_hash_table (info);
|
htab = elf32_tic6x_hash_table (info);
|
|
|
if (htab->elf.dynamic_sections_created && h->plt.refcount > 0)
|
if (htab->elf.dynamic_sections_created && h->plt.refcount > 0)
|
{
|
{
|
Line 3275... |
Line 3269... |
elf32_tic6x_readonly_dynrelocs (struct elf_link_hash_entry *h, void *inf)
|
elf32_tic6x_readonly_dynrelocs (struct elf_link_hash_entry *h, void *inf)
|
{
|
{
|
struct elf32_tic6x_link_hash_entry *eh;
|
struct elf32_tic6x_link_hash_entry *eh;
|
struct elf_dyn_relocs *p;
|
struct elf_dyn_relocs *p;
|
|
|
if (h->root.type == bfd_link_hash_warning)
|
|
h = (struct elf_link_hash_entry *) h->root.u.i.link;
|
|
|
|
eh = (struct elf32_tic6x_link_hash_entry *) h;
|
eh = (struct elf32_tic6x_link_hash_entry *) h;
|
for (p = eh->dyn_relocs; p != NULL; p = p->next)
|
for (p = eh->dyn_relocs; p != NULL; p = p->next)
|
{
|
{
|
asection *s = p->sec->output_section;
|
asection *s = p->sec->output_section;
|
|
|