From d32e5c54ad6a1e90f1594dbe2749b240e66a0a2b Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Thu, 6 Feb 2014 11:26:26 -0800 Subject: [PATCH] binutils/ChangeLog: 2014-02-06 Andrew Pinski * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case. elfcpp/ChangeLog: 2014-02-06 Andrew Pinski * mips.h (E_MIPS_MACH_OCTEON3): New enum constant. include/elf/ChangeLog: 2014-02-06 Andrew Pinski * mips.h (E_MIPS_MACH_OCTEON3): New machine flag. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 1 + elfcpp/ChangeLog | 4 ++++ elfcpp/mips.h | 1 + include/elf/ChangeLog | 4 ++++ include/elf/mips.h | 1 + 6 files changed, 15 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 67584131af2..dd24cd7011b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2014-02-06 Andrew Pinski + + * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case. + 2014-02-06 Cary Coutant PR binutils/16444 diff --git a/binutils/readelf.c b/binutils/readelf.c index 453aeb71054..150e84f36ec 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2808,6 +2808,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine) case E_MIPS_MACH_LS3A: strcat (buf, ", loongson-3a"); break; case E_MIPS_MACH_OCTEON: strcat (buf, ", octeon"); break; case E_MIPS_MACH_OCTEON2: strcat (buf, ", octeon2"); break; + case E_MIPS_MACH_OCTEON3: strcat (buf, ", octeon3"); break; case E_MIPS_MACH_XLR: strcat (buf, ", xlr"); break; case 0: /* We simply ignore the field in this case to avoid confusion: diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog index 2399da69ec6..e6ec60d0ac4 100644 --- a/elfcpp/ChangeLog +++ b/elfcpp/ChangeLog @@ -1,3 +1,7 @@ +2014-02-06 Andrew Pinski + + * mips.h (E_MIPS_MACH_OCTEON3): New enum constant. + 2013-11-17 H.J. Lu * x86_64.h (R_X86_64_PC32_BND): New. diff --git a/elfcpp/mips.h b/elfcpp/mips.h index 8c2d8f457ab..db659981ee1 100644 --- a/elfcpp/mips.h +++ b/elfcpp/mips.h @@ -164,6 +164,7 @@ enum E_MIPS_MACH_OCTEON = 0x008b0000, E_MIPS_MACH_XLR = 0x008c0000, E_MIPS_MACH_OCTEON2 = 0x008d0000, + E_MIPS_MACH_OCTEON3 = 0x008e0000, E_MIPS_MACH_5400 = 0x00910000, E_MIPS_MACH_5500 = 0x00980000, E_MIPS_MACH_9000 = 0x00990000, diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 6d144b40761..bd184695f67 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2014-02-06 Andrew Pinski + + * mips.h (E_MIPS_MACH_OCTEON3): New machine flag. + 2014-02-03 Sandra Loosemore * nios2.h (R_NIOS2_GOT_LO, R_NIOS2_GOT_HA): New. diff --git a/include/elf/mips.h b/include/elf/mips.h index 2c5a9a62147..7a628757f5c 100644 --- a/include/elf/mips.h +++ b/include/elf/mips.h @@ -275,6 +275,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext) #define E_MIPS_MACH_OCTEON 0x008b0000 #define E_MIPS_MACH_XLR 0x008c0000 #define E_MIPS_MACH_OCTEON2 0x008d0000 +#define E_MIPS_MACH_OCTEON3 0x008e0000 #define E_MIPS_MACH_5400 0x00910000 #define E_MIPS_MACH_5900 0x00920000 #define E_MIPS_MACH_5500 0x00980000 -- 2.39.5