diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-12-27 03:06:27 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2005-12-27 03:06:27 +0000 |
commit | c85f8860f11b973f51b2ee0e2ae0bc8f2f7b58a4 (patch) | |
tree | 5997029c05f9997dfee70a1fab9fbebbec620084 /bfd/ecoff.c | |
parent | 6fcaccd9eedd46144c8804e79a7341750c137dad (diff) | |
download | binutils-redhat-c85f8860f11b973f51b2ee0e2ae0bc8f2f7b58a4.tar.gz |
* coff-h8300.c (h8300_reloc16_extra_cases): Use input section
"output_offset" instead of link order "offset".
* coff-h8500.c (extra_case): Likewise.
* coff-w65.c (w65_reloc16_extra_cases): Likewise.
* coff-z80.c (extra_case): Likewise.
* coff-z8k.c (extra_case): Likewise.
* linker.c (default_indirect_link_order): Likewise, "size" too.
* ecoff.c (ecoff_indirect_link_order): Likewise.
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r-- | bfd/ecoff.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c index cf2658a4c9..8c855b32b6 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -4002,11 +4002,10 @@ ecoff_indirect_link_order (bfd *output_bfd, BFD_ASSERT ((output_section->flags & SEC_HAS_CONTENTS) != 0); - if (link_order->size == 0) - return TRUE; - input_section = link_order->u.indirect.section; input_bfd = input_section->owner; + if (input_section->size == 0) + return TRUE; BFD_ASSERT (input_section->output_section == output_section); BFD_ASSERT (input_section->output_offset == link_order->offset); |