mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-08 18:28:33 +00:00
(coff_arm_relocate_section): Do not alter relocs that are not partial_inplace
during a relocatable link.
This commit is contained in:
parent
bfec0b41c9
commit
1e7fef1d44
@ -1,3 +1,8 @@
|
|||||||
|
2004-01-08 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
|
||||||
|
|
||||||
|
* coff-arm.c (coff_arm_relocate_section): Do not alter relocs that
|
||||||
|
are not partial_inplace during a relocatable link.
|
||||||
|
|
||||||
2004-01-08 Kazu Hirata <kazu@cs.umass.edu>
|
2004-01-08 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
* elf32-m68k.c (elf_m68k_gc_sweep_hook): Terminate early
|
* elf32-m68k.c (elf_m68k_gc_sweep_hook): Terminate early
|
||||||
|
@ -1734,10 +1734,13 @@ coff_arm_relocate_section (output_bfd, info, input_bfd, input_section,
|
|||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
#endif /* THUMBEXTENSION */
|
#endif /* THUMBEXTENSION */
|
||||||
rstat = _bfd_final_link_relocate (howto, input_bfd, input_section,
|
if (info->relocatable && ! howto->partial_inplace)
|
||||||
contents,
|
rstat = bfd_reloc_ok;
|
||||||
rel->r_vaddr - input_section->vma,
|
else
|
||||||
val, addend);
|
rstat = _bfd_final_link_relocate (howto, input_bfd, input_section,
|
||||||
|
contents,
|
||||||
|
rel->r_vaddr - input_section->vma,
|
||||||
|
val, addend);
|
||||||
#if 1 /* THUMBEXTENSION */
|
#if 1 /* THUMBEXTENSION */
|
||||||
/* FIXME:
|
/* FIXME:
|
||||||
Is this the best way to fix up thumb addresses? krk@cygnus.com
|
Is this the best way to fix up thumb addresses? krk@cygnus.com
|
||||||
|
Loading…
x
Reference in New Issue
Block a user