adding support for a new processor variant

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Mon Oct 13 13:58:00 GMT 2003


vikas kesarwani wrote:
> Hi,
> I wish to add support to a new mips variant to have my
> assembler and linker working for it. It is basically
> similar to MIPS32 with 2 additional instructions.

Add those two to mips-opc.c.

> For
> better memory architecture I want to have some extra
> sections too.

Should be already possible with the ELF linker.

> The support I want is similar to like
> giving option as -mcpu=mycpu. I looked into the
> binutils2.13.1 code for mips but could not relate as
> to where does the assembler differentiates between the
> opcodes for different cpu.

Look for OPCODE_IS_MEMBER.


Thiemo



More information about the Binutils mailing list