mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-15 16:19:24 +00:00
* elf32-cris.c (cris_elf_relocate_section): <R_CRIS_32_IE>
<R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: Handle references to thread common symbols.
This commit is contained in:
parent
c5753f6406
commit
26a48bb3a9
@ -1,3 +1,9 @@
|
||||
2012-06-17 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* elf32-cris.c (cris_elf_relocate_section): <R_CRIS_32_IE>
|
||||
<R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: Handle references to
|
||||
thread common symbols.
|
||||
|
||||
2012-06-13 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* elf32-arm.c (bfd_arm_get_mach_from_attributes): New function.
|
||||
|
@ -1877,7 +1877,8 @@ cris_elf_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (!info->shared && (h == NULL || h->def_regular))
|
||||
if (!info->shared
|
||||
&& (h == NULL || h->def_regular || ELF_COMMON_DEF_P (h)))
|
||||
{
|
||||
/* Known contents of the GOT. */
|
||||
bfd_vma off;
|
||||
|
Loading…
Reference in New Issue
Block a user