This is the mail archive of the binutils@sourceware.org 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]

RE: [PATCH] gas/arc: Don't rely on bfd list of cpu type for cpu selection


Hi,

> -  if (mach == -1)
> -    goto bad_cpu;
> +  if ((!strcmp ("ARC600", cpu))
> +      || (!strcmp ("ARC601", cpu))
> +      || (!strcmp ("A6", cpu)))
> +    cpu_name = "arc600";
> +  else if ((!strcmp ("ARC700", cpu))
> +           || (!strcmp ("A7", cpu)))
> +    cpu_name = "arc700";
> +  else if (!strcmp ("EM", cpu))
> +    cpu_name = "arcem";
> +  else if (!strcmp ("HS", cpu))
> +    cpu_name = "archs";
> +  else if (!strcmp ("NPS400", cpu))
> +    cpu_name = "nps400";
> +  else
> +    cpu_name = NULL;

I would prefer your (very) old proposal here than this. It is more flexible.

Thanks,
Claudiu


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