* elflink.c (elf_link_input_bfd): Don't try to resolve complex
relocs when doing a relocatable link.
This commit is contained in:
parent
4a19ce7eb9
commit
c301e70067
2 changed files with 7 additions and 1 deletions
|
@ -9329,7 +9329,8 @@ elf_link_input_bfd (struct elf_final_link_info *finfo, bfd *input_bfd)
|
|||
sym, *ps);
|
||||
}
|
||||
|
||||
if (s_type == STT_RELC || s_type == STT_SRELC)
|
||||
if ((s_type == STT_RELC || s_type == STT_SRELC)
|
||||
&& !finfo->info->relocatable)
|
||||
{
|
||||
bfd_vma val;
|
||||
bfd_vma dot = (rel->r_offset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue