Add missing support for arm-epoc-pe.

This commit is contained in:
Nick Clifton
2000-12-19 22:22:02 +00:00
parent a969366f78
commit a8c548cb0c
8 changed files with 588 additions and 515 deletions

View File

@@ -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 "_";