mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 16:38:05 +08:00
* elfxx-mips.c (allocate_dynrelocs): Correct test for symbol
defined in a regular file to include common symbols.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2012-12-06 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elfxx-mips.c (allocate_dynrelocs): Correct test for symbol
|
||||||
|
defined in a regular file to include common symbols.
|
||||||
|
|
||||||
2012-12-05 Leif Ekblad <leif@rdos.net>
|
2012-12-05 Leif Ekblad <leif@rdos.net>
|
||||||
|
|
||||||
* config.bfd: Add x86_64-*-rdos.
|
* config.bfd: Add x86_64-*-rdos.
|
||||||
|
@ -8568,7 +8568,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void *inf)
|
|||||||
if (! info->relocatable
|
if (! info->relocatable
|
||||||
&& hmips->possibly_dynamic_relocs != 0
|
&& hmips->possibly_dynamic_relocs != 0
|
||||||
&& (h->root.type == bfd_link_hash_defweak
|
&& (h->root.type == bfd_link_hash_defweak
|
||||||
|| !h->def_regular
|
|| (!h->def_regular && !ELF_COMMON_DEF_P (h))
|
||||||
|| info->shared))
|
|| info->shared))
|
||||||
{
|
{
|
||||||
bfd_boolean do_copy = TRUE;
|
bfd_boolean do_copy = TRUE;
|
||||||
|
Reference in New Issue
Block a user