2001-08-30 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (mips_elf_calculate_relocation): Don't create dynamic relocation for undefined weak symbols when creating executables. Check h->root.root.type, instead of h->root.type.
This commit is contained in:
parent
8df8c6197a
commit
8eb59a907a
@ -1,3 +1,9 @@
|
||||
2001-08-30 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* elf32-mips.c (mips_elf_calculate_relocation): Don't create
|
||||
dynamic relocation for undefined weak symbols when creating
|
||||
executables. Check h->root.root.type, instead of h->root.type.
|
||||
|
||||
2001-08-29 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* config.bfd (i[3456]86-*-rtems*, m68*-*-rtems*): Change
|
||||
|
@ -6332,7 +6332,8 @@ mips_elf_calculate_relocation (abfd,
|
||||
if ((info->shared
|
||||
|| (elf_hash_table (info)->dynamic_sections_created
|
||||
&& h != NULL
|
||||
&& (h->root.type == bfd_link_hash_defweak
|
||||
&& h->root.root.type != bfd_link_hash_undefweak
|
||||
&& (h->root.root.type == bfd_link_hash_defweak
|
||||
|| (h->root.elf_link_hash_flags
|
||||
& ELF_LINK_HASH_DEF_REGULAR) == 0)))
|
||||
&& (input_section->flags & SEC_ALLOC) != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user