[PATCH]: MIPS: Add handling for R14000, R16000 CPUs (mapped to R10000)
Thiemo Seufer
ths@networkno.de
Thu Nov 27 11:23:00 GMT 2008
Kumba wrote:
>
> A patch I sent into gcc awhile back adds support for the -march=r10000
> family of processors (R10000, R12000, R14000, R16000). The attached
> patch completes this support in binutils by adding the R14000 and R16000
> parameters.
>
> If I missed something, please let me know!
>
> Joshua Kinard
> Gentoo/MIPS
> kumba@gentoo.org
>
>
>
> 2008-11-22 Joshua Kinard <kumba@gentoo.org>
>
> * bfd/aoutx.h (NAME): Add case statements for bfd_mach_mips14000,
> bfd_mach_mips16000.
> * bfd/archures.c (bfd_architecture): Add .#defines for
> bfd_mach_mips14000, bfd_mach_mips16000.
> * bfd/bfd-in2.h (bfd_architecture): Add #defines for
> bfd_mach_mips14000, bfd_mach_mips16000.
> * bfd/cpu-mips.c: Add enums I_mips14000, I_mips16000.
> (arch_info_struct): Add refs to R14000, R16000.
> * bfd/elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips14000
> bfd_mach_mips16000.
> (mips_mach_extensions): Map R14000, R16000 to R10000.
> * gas/config/tc-mips.c (hilo_interlocks): Handle CPU_R14000,
> CPU_R16000.
> (mips_cpu_info_table): Add r14000, r16000.
> * gas/doc/c-mips.texi: Add entries for 14000, 16000.
> * include/opcode/mips.h: Define CPU_R14000, CPU_R16000.
> (OPCODE_IS_MEMBER): Include R14000, R16000 in test.
> * opcodes/mips-dis.c (mips_arch_choices): Add r14000, r16000.
Looks good, apart from the ChangeLog paths (they a relative to the
respective ChangeLog file, not relative to toplevel).
Thiemo
More information about the Binutils
mailing list