This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH ARM] Recognize canonical cpu names


The canonical name for synthesizable ARM cores is with '-s' at the end
of the name.  This patch allows the assembler to recognize that.  For
now we also support the old names (without the '-').

R.

2004-09-01  Richard Earnshaw < reanrsha@arm.com>

	* tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
	for synthesizable cores.


Index: tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.172
diff -p -r1.172 tc-arm.c
*** tc-arm.c	17 Aug 2004 12:19:56 -0000	1.172
--- tc-arm.c	1 Sep 2004 15:33:55 -0000
*************** static struct arm_cpu_option_table arm_c
*** 13280,13285 ****
--- 13302,13308 ----
    {"arm7500fe",		ARM_ARCH_V3,	 FPU_ARCH_FPA},
    {"arm7t",		ARM_ARCH_V4T,	 FPU_ARCH_FPA},
    {"arm7tdmi",		ARM_ARCH_V4T,	 FPU_ARCH_FPA},
+   {"arm7tdmi-s",	ARM_ARCH_V4T,	 FPU_ARCH_FPA},
    {"arm8",		ARM_ARCH_V4,	 FPU_ARCH_FPA},
    {"arm810",		ARM_ARCH_V4,	 FPU_ARCH_FPA},
    {"strongarm",		ARM_ARCH_V4,	 FPU_ARCH_FPA},
*************** static struct arm_cpu_option_table arm_c
*** 13299,13304 ****
--- 13322,13328 ----
    {"arm9e",		ARM_ARCH_V5TE,   FPU_ARCH_VFP_V2},
    {"arm926ej",		ARM_ARCH_V5TEJ,	 FPU_ARCH_VFP_V2},
    {"arm926ejs",		ARM_ARCH_V5TEJ,	 FPU_ARCH_VFP_V2},
+   {"arm926ej-s",	ARM_ARCH_V5TEJ,	 FPU_ARCH_VFP_V2},
    {"arm946e-r0",	ARM_ARCH_V5TExP, FPU_ARCH_VFP_V2},
    {"arm946e",		ARM_ARCH_V5TE,   FPU_ARCH_VFP_V2},
    {"arm966e-r0",	ARM_ARCH_V5TExP, FPU_ARCH_VFP_V2},
*************** static struct arm_cpu_option_table arm_c
*** 13309,13316 ****
--- 13333,13343 ----
    {"arm1020t",		ARM_ARCH_V5T,	 FPU_ARCH_VFP_V1},
    {"arm1020e",		ARM_ARCH_V5TE,	 FPU_ARCH_VFP_V2},
    {"arm1026ejs",	ARM_ARCH_V5TE,	 FPU_ARCH_VFP_V2},
+   {"arm1026ej-s",	ARM_ARCH_V5TE,	 FPU_ARCH_VFP_V2},
    {"arm1136js",		ARM_ARCH_V6,     FPU_NONE},
+   {"arm1136j-s"		ARM_ARCH_V6,     FPU_NONE},
    {"arm1136jfs",	ARM_ARCH_V6,     FPU_ARCH_VFP_V2},
+   {"arm1136jf-s",	ARM_ARCH_V6,     FPU_ARCH_VFP_V2},
    /* ??? XSCALE is really an architecture.  */
    {"xscale",		ARM_ARCH_XSCALE, FPU_ARCH_VFP_V2},
    /* ??? iwmmxt is not a processor.  */
*************** static struct arm_fpu_option_table arm_f
*** 13399,13404 ****
--- 13426,13432 ----
    {"arm1020t",		FPU_ARCH_VFP_V1},
    {"arm1020e",		FPU_ARCH_VFP_V2},
    {"arm1136jfs",	FPU_ARCH_VFP_V2},
+   {"arm1136jf-s",	FPU_ARCH_VFP_V2},
    {"maverick",		FPU_ARCH_MAVERICK},
    {NULL, 0}
  };

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]