URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 14 |
Rev 148 |
Line 5147... |
Line 5147... |
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;
|
|
|
|
htab = ppc_elf_hash_table (info);
|
htab = ppc_elf_hash_table (info);
|
if (htab->elf.dynamic_sections_created
|
if (htab->elf.dynamic_sections_created
|
|| h->type == STT_GNU_IFUNC)
|
|| h->type == STT_GNU_IFUNC)
|
{
|
{
|
struct plt_entry *ent;
|
struct plt_entry *ent;
|
Line 5502... |
Line 5496... |
maybe_set_textrel (struct elf_link_hash_entry *h, void *info)
|
maybe_set_textrel (struct elf_link_hash_entry *h, void *info)
|
{
|
{
|
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)
|
|
h = (struct elf_link_hash_entry *) h->root.u.i.link;
|
|
|
|
if (readonly_dynrelocs (h))
|
if (readonly_dynrelocs (h))
|
{
|
{
|
((struct bfd_link_info *) info)->flags |= DF_TEXTREL;
|
((struct bfd_link_info *) info)->flags |= DF_TEXTREL;
|
|
|
/* Not an error, just cut short the traversal. */
|
/* Not an error, just cut short the traversal. */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.