aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@cavium.com>2014-02-06 11:26:26 -0800
committerAndrew Pinski <apinski@cavium.com>2014-02-06 11:26:26 -0800
commitd32e5c54ad6a1e90f1594dbe2749b240e66a0a2b (patch)
tree182a1297c9357ebfafa14be5554fa6320e8d737f
parente99dc8205321193f95ba6b2cb6538eb808da94db (diff)
downloadfsf-binutils-gdb-d32e5c54ad6a1e90f1594dbe2749b240e66a0a2b.zip
fsf-binutils-gdb-d32e5c54ad6a1e90f1594dbe2749b240e66a0a2b.tar.gz
fsf-binutils-gdb-d32e5c54ad6a1e90f1594dbe2749b240e66a0a2b.tar.bz2
binutils/ChangeLog:
2014-02-06 Andrew Pinski <apinski@cavium.com> * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case. elfcpp/ChangeLog: 2014-02-06 Andrew Pinski <apinski@cavium.com> * mips.h (E_MIPS_MACH_OCTEON3): New enum constant. include/elf/ChangeLog: 2014-02-06 Andrew Pinski <apinski@cavium.com> * mips.h (E_MIPS_MACH_OCTEON3): New machine flag.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c1
-rw-r--r--elfcpp/ChangeLog4
-rw-r--r--elfcpp/mips.h1
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/mips.h1
6 files changed, 15 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 6758413..dd24cd7 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-06 Andrew Pinski <apinski@cavium.com>
+
+ * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
+
2014-02-06 Cary Coutant <ccoutant@google.com>
PR binutils/16444
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 453aeb7..150e84f 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 2399da6..e6ec60d 100644
--- a/elfcpp/ChangeLog
+++ b/elfcpp/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-06 Andrew Pinski <apinski@cavium.com>
+
+ * mips.h (E_MIPS_MACH_OCTEON3): New enum constant.
+
2013-11-17 H.J. Lu <hongjiu.lu@intel.com>
* x86_64.h (R_X86_64_PC32_BND): New.
diff --git a/elfcpp/mips.h b/elfcpp/mips.h
index 8c2d8f45..db65998 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 6d144b4..bd18469 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-06 Andrew Pinski <apinski@cavium.com>
+
+ * mips.h (E_MIPS_MACH_OCTEON3): New machine flag.
+
2014-02-03 Sandra Loosemore <sandra@codesourcery.com>
* nios2.h (R_NIOS2_GOT_LO, R_NIOS2_GOT_HA): New.
diff --git a/include/elf/mips.h b/include/elf/mips.h
index 2c5a9a6..7a62875 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