PR30198, Assertion and segfault when linking x86_64 elf and coff
authorAlan Modra <amodra@gmail.com>
Mon, 6 Mar 2023 00:13:53 +0000 (10:43 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 6 Mar 2023 02:41:22 +0000 (13:11 +1030)
commit889d15d574a8c43c44dc0983343897e47874a2b6
treecffdb89b1462d6b4272553da1b00d64da2860103
parentd845ea8cd3daf11ddef16501f322875874295027
PR30198, Assertion and segfault when linking x86_64 elf and coff

PR 30198
* coff-x86_64.c (coff_amd64_reloc): Set *error_message when
returning bfd_reloc_dangerous.  Also check that __ImageBase is
defined before accessing h->u.def.
bfd/coff-x86_64.c