This fixes a problem for 64-bit Cygwin, where building some packages can
authorNick Clifton <nickc@redhat.com>
Wed, 26 Mar 2014 16:16:20 +0000 (16:16 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 26 Mar 2014 16:16:20 +0000 (16:16 +0000)
commit55bfc9ac025c1c9cd1ad5422829b3dc70f357a79
tree3eaf78d55a1d539773b2e0cebe719fdd6a59c2db
parent318d3177f7d67dac94baa07aab04192fc7bcba49
This fixes a problem for 64-bit Cygwin, where building some packages can
produce spurious errors about truncated relocations.  The relocations are
only truncated because they are being made against sections which are going
to be discarded so that base address is zero instead of the expected 64-bit
base value.

* cofflink.c (_bfd_coff_generic_relocate_section): Skip
relocations in discarded sections.
bfd/ChangeLog
bfd/cofflink.c