Fix the binutils test for .NET assembly support so that it distinguishing between...
authorOmair Majid <omajid@redhat.com>
Wed, 7 Aug 2019 09:20:56 +0000 (10:20 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 7 Aug 2019 09:20:56 +0000 (10:20 +0100)
commit7cd00957a57f8d8195baf7a85ea21b879bbbaf91
tree588e9df685c85127f858b3fa2632d7416a7f14af
parentbc750500af6d0a6cb602a5d00b3f71b26ce96762
Fix the binutils test for .NET assembly support so that it distinguishing between targets which do not support the x86 PE format at all, and those that do support it, but which do not recognise the .NET assembly variants.

* testsuite/binutils-all/objdump.exp
(test_objdump_dotnet_assemblies): Fix test to distinguish errors
in parsing simple pei-i386 and pei-x86-64 vs parsing the newly
introduced machine types.
* testsuite/gentestdlls.c (write_simple_dll): New function.
(main): Generate simple and Linux-specific variants of pei-i386
and pei-x86-64 files so both can be used by tests.
binutils/ChangeLog
binutils/testsuite/binutils-all/objdump.exp
binutils/testsuite/gentestdlls.c