]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Enable dlltool --leading-underscore for targets other than x86
authorAlan Modra <amodra@gmail.com>
Wed, 2 Oct 2024 05:09:02 +0000 (14:39 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 3 Oct 2024 03:01:46 +0000 (12:31 +0930)
commitc6bf8c475a3cc36a98a125aa18576ad092ab157b
tree57f3e9aee9abb6a0b1b9c7906b2e62f1d87dbd1c
parent45a7f5a29de78755dd0d5e8f7beaf2bd07736d20
Enable dlltool --leading-underscore for targets other than x86

This also makes the dlltool tests run more PE targets, finding that
sh-pe dlltool reports "Machine 'sh' not supported".  I guess no one
cares about that.

PR19459
* dlltool.c (asm_prefix): Remove "mach" parameter.  Return
leading_underscore independent of machine.
(ASM_PREFIX): Adjust.
* testsuite/binutils-all/dlltool.exp: Run on any target
satisfying is_pecoff_format for which dlltool is built.
Revert commit 0398b8d6c86a.  Remove target_xfail.
binutils/dlltool.c
binutils/testsuite/binutils-all/dlltool.exp