diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-02-02 13:59:54 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-02-02 13:59:54 +0000 |
commit | 7aad4c3d675f44a20cf9e5a66dc32181da1e9a2e (patch) | |
tree | d8f92063ae626ff0343a431e78850c3c88fe64e6 /binutils/dlltool.c | |
parent | 7e017ce0b347e6afbd54f67463f124370b2971fa (diff) | |
download | binutils-gdb-7aad4c3d675f44a20cf9e5a66dc32181da1e9a2e.tar.gz |
2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3945
* configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
target.
(DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
* configure: Regenerated.
* dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.
Diffstat (limited to 'binutils/dlltool.c')
-rw-r--r-- | binutils/dlltool.c | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/binutils/dlltool.c b/binutils/dlltool.c index 8a449a0e139..803383ceb80 100644 --- a/binutils/dlltool.c +++ b/binutils/dlltool.c @@ -387,41 +387,43 @@ static int verbose; static FILE *output_def; static FILE *base_file; -#ifdef DLLTOOL_ARM -#if defined(DLLTOOL_ARM_EPOC) -static const char *mname = "arm-epoc"; -#elif defined(DLLTOOL_ARM_WINCE) -static const char *mname = "arm-wince"; -#else +#ifdef DLLTOOL_DEFAULT_ARM static const char *mname = "arm"; #endif + +#ifdef DLLTOOL_DEFAULT_ARM_EPOC +static const char *mname = "arm-epoc"; +#endif + +#ifdef DLLTOOL_DEFAULT_ARM_WINCE +static const char *mname = "arm-wince"; #endif -#ifdef DLLTOOL_I386 +#ifdef DLLTOOL_DEFAULT_I386 static const char *mname = "i386"; #endif -#ifdef DLLTOOL_MX86_64 +#ifdef DLLTOOL_DEFAULT_MX86_64 static const char *mname = "i386:x86-64"; #endif -#ifdef DLLTOOL_PPC +#ifdef DLLTOOL_DEFAULT_PPC static const char *mname = "ppc"; #endif -#ifdef DLLTOOL_SH +#ifdef DLLTOOL_DEFAULT_SH static const char *mname = "sh"; #endif -#ifdef DLLTOOL_MIPS +#ifdef DLLTOOL_DEFAULT_MIPS static const char *mname = "mips"; #endif -#ifdef DLLTOOL_MCORE +#ifdef DLLTOOL_DEFAULT_MCORE static const char * mname = "mcore-le"; #endif -#ifdef DLLTOOL_MCORE_ELF +#ifdef DLLTOOL_DEFAULT_MCORE_ELF static const char * mname = "mcore-elf"; static char * mcore_elf_out_file = NULL; static char * mcore_elf_linker = NULL; |