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]

Re: adding support for a new processor variant


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


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