diff options
Diffstat (limited to 'binutils/dlltool.c')
-rw-r--r-- | binutils/dlltool.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/binutils/dlltool.c b/binutils/dlltool.c index b618b96..e989f0c 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 "_"; |