diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2010-07-15 07:58:47 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2010-07-15 07:58:47 +0000 |
commit | 0322c1441b38a4784a38051883d0c1284fc62031 (patch) | |
tree | f17bb878133adba3913a52cf76bf97c95c40fbb2 /binutils/dllwrap.c | |
parent | 0965364abd434ea544cc3f1de2384d5db0675ff2 (diff) | |
download | binutils-redhat-0322c1441b38a4784a38051883d0c1284fc62031.tar.gz |
2010-07-15 Kai Tietz <kai.tietz@onevision.com>
* dllwrap.c (main): Make sure is_leading_underscore
gets initialized with correct default.
Diffstat (limited to 'binutils/dllwrap.c')
-rw-r--r-- | binutils/dllwrap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/dllwrap.c b/binutils/dllwrap.c index c807f49c27..4e48f3e39d 100644 --- a/binutils/dllwrap.c +++ b/binutils/dllwrap.c @@ -855,6 +855,9 @@ Creating one, but that may not be what you want")); else which_cpu = UNKNOWN_CPU; + if (is_leading_underscore == -1) + is_leading_underscore = (which_cpu != X64_CPU && which_cpu != ARM_CPU); + /* Re-create the command lines as a string, taking care to quote stuff. */ dlltool_cmdline = dyn_string_new (cmdline_len); if (verbose) |