mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
* elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd
when word size of input matches output word size.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2002-03-13 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd
|
||||||
|
when word size of input matches output word size.
|
||||||
|
|
||||||
2002-03-12 Andreas Jaeger <aj@suse.de>
|
2002-03-12 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* cpu-i386.c (i386_compatible): New. Use it instead of
|
* cpu-i386.c (i386_compatible): New. Use it instead of
|
||||||
|
@ -5320,10 +5320,11 @@ elf_bfd_final_link (abfd, info)
|
|||||||
for (p = o->link_order_head; p != NULL; p = p->next)
|
for (p = o->link_order_head; p != NULL; p = p->next)
|
||||||
{
|
{
|
||||||
if (p->type == bfd_indirect_link_order
|
if (p->type == bfd_indirect_link_order
|
||||||
&& (bfd_get_flavour (p->u.indirect.section->owner)
|
&& (bfd_get_flavour ((sub = p->u.indirect.section->owner))
|
||||||
== bfd_target_elf_flavour))
|
== bfd_target_elf_flavour)
|
||||||
|
&& (sub->arch_info->bits_per_word
|
||||||
|
== abfd->arch_info->bits_per_word))
|
||||||
{
|
{
|
||||||
sub = p->u.indirect.section->owner;
|
|
||||||
if (! sub->output_has_begun)
|
if (! sub->output_has_begun)
|
||||||
{
|
{
|
||||||
if (! elf_link_input_bfd (&finfo, sub))
|
if (! elf_link_input_bfd (&finfo, sub))
|
||||||
|
Reference in New Issue
Block a user