Fixes for testsuite failures introduced by the changes made for PR 19011.
authorNick Clifton <nickc@redhat.com>
Fri, 28 Aug 2020 08:43:13 +0000 (09:43 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 28 Aug 2020 08:43:13 +0000 (09:43 +0100)
commit6194b866b7a89969d8c66f8a97d40acc028373b1
tree57802d68d3caaceb5e90eae41de27b5e53c04625
parent16f9c644c7fcec6f4aa6f4e8a1458b57d2b28982
Fixes for testsuite failures introduced by the changes made for PR 19011.

PR19011
bfd * cofflink.c (_bfd_coff_generic_relocate_section): Provide a value
for undefined symbols which will not generate extra warning
messages about truncated relocs.

ld * testsuite/lib/ld-lib.exp (ld_link_defsyms): For PE based targets
define the __main and ___main symbols in terms of the main symbol.
bfd/ChangeLog
bfd/cofflink.c
ld/ChangeLog
ld/testsuite/lib/ld-lib.exp