summaryrefslogtreecommitdiff
path: root/binutils/dlltool.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-19 22:22:02 +0000
committerNick Clifton <nickc@redhat.com>2000-12-19 22:22:02 +0000
commita8c548cb0c04dfbe117d2b268aaa1ae6714adbef (patch)
tree8eaefc59c0753251e1a9afa2b34866c8d66df56a /binutils/dlltool.c
parenta969366f78c156d1224e0d878a5c6363f667d898 (diff)
downloadbinutils-gdb-a8c548cb0c04dfbe117d2b268aaa1ae6714adbef.tar.gz
Add missing support for arm-epoc-pe.
Diffstat (limited to 'binutils/dlltool.c')
-rw-r--r--binutils/dlltool.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index b618b969946..e989f0c7d52 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -383,8 +383,12 @@ static FILE *output_def;
static FILE *base_file;
#ifdef DLLTOOL_ARM
+#ifdef DLLTOOL_ARM_EPOC
+static const char *mname = "arm-epoc";
+#else
static const char *mname = "arm";
#endif
+#endif
#ifdef DLLTOOL_I386
static const char *mname = "i386";
@@ -605,7 +609,7 @@ mtable[] =
,
{
#define MARM_EPOC 9
- "arm", ".byte", ".short", ".long", ".asciz", "@",
+ "arm-epoc", ".byte", ".short", ".long", ".asciz", "@",
"ldr\tip,[pc]\n\tldr\tpc,[ip]\n\t.long",
".global", ".space", ".align\t2",".align\t4", "",
"epoc-pe-arm-little", bfd_arch_arm,
@@ -726,6 +730,7 @@ rvaafter (machine)
case MMCORE_LE:
case MMCORE_ELF:
case MMCORE_ELF_LE:
+ case MARM_EPOC:
break;
default:
/* xgettext:c-format */
@@ -750,6 +755,7 @@ rvabefore (machine)
case MMCORE_LE:
case MMCORE_ELF:
case MMCORE_ELF_LE:
+ case MARM_EPOC:
return ".rva\t";
default:
/* xgettext:c-format */
@@ -773,6 +779,7 @@ asm_prefix (machine)
case MMCORE_LE:
case MMCORE_ELF:
case MMCORE_ELF_LE:
+ case MARM_EPOC:
break;
case M386:
return "_";