mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-03 01:30:50 +00:00
* 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
@ -1,3 +1,8 @@
|
||||
2009-03-30 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* elflink.c (elf_link_input_bfd): Don't try to resolve complex
|
||||
relocs when doing a relocatable link.
|
||||
|
||||
2009-03-28 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", not
|
||||
|
@ -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…
Reference in New Issue
Block a user