[PATCH] Add ELF MIPS machine flag value for Octeon2 processors.

David Daney ddaney@caviumnetworks.com
Wed Dec 2 20:13:00 GMT 2009


Cavium Networks is working on Binutils support for the new Octeon2
family processors.  Since Octeon2 extends the ISA used by the existing
Octeon support we are using a new EF_MIPS_MACH value for the new
processor.

This patch adds E_MIPS_MACH_OCTEON2 and the corresponding readelf
support.

Tested on x86_64-pc-linux-gnu.

OK to commit?

include/
2009-12-02  David Daney  <ddaney@caviumnetworks.com>
	Adam Nemet  <adambnemet@gmail.com>

	* elf/mips.h (E_MIPS_MACH_OCTEON2): New machine flag.

binutils/
2009-12-02  David Daney  <ddaney@caviumnetworks.com>
	Adam Nemet  <adambnemet@gmail.com>

	* readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: oct2.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20091202/1ffead7f/attachment.ksh>


More information about the Binutils mailing list