include/
authorDavid Daney <ddaney@avtrex.com>
Thu, 3 Dec 2009 17:01:46 +0000 (17:01 +0000)
committerDavid Daney <ddaney@avtrex.com>
Thu, 3 Dec 2009 17:01:46 +0000 (17:01 +0000)
2009-12-03  David Daney  <ddaney@caviumnetworks.com>
Adam Nemet  <adambnemet@gmail.com>

* elf/mips.h (E_MIPS_MACH_OCTEON2): New machine flag.
binutils/
2009-12-03  David Daney  <ddaney@caviumnetworks.com>
Adam Nemet  <adambnemet@gmail.com>

* readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.

binutils/ChangeLog
binutils/readelf.c
include/ChangeLog
include/elf/mips.h

index 5c430796536ca2227646786aef8b74d412dbfe7b..0f4c7db5f175770c11290bf95b69c951ab83ca62 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-03  David Daney  <ddaney@caviumnetworks.com>
+           Adam Nemet  <adambnemet@gmail.com>
+
+       * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.
+
 2009-12-03  Nick Clifton  <nickc@redhat.com>
 
        PR binutils/11045
index 7f64da302f6c73b83d9f6a77ccf146d5b99b5f6c..92a214217d90a8effff445417cb28faddcfe2dee 100644 (file)
@@ -2337,6 +2337,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
            case E_MIPS_MACH_LS2E: strcat (buf, ", loongson-2e"); break;
            case E_MIPS_MACH_LS2F: strcat (buf, ", loongson-2f"); break;
            case E_MIPS_MACH_OCTEON: strcat (buf, ", octeon"); break;
+           case E_MIPS_MACH_OCTEON2: strcat (buf, ", octeon2"); break;
            case E_MIPS_MACH_XLR:  strcat (buf, ", xlr"); break;
            case 0:
            /* We simply ignore the field in this case to avoid confusion:
index 6e016e647f966eaacf41ed4bbeb0051cd1c106a1..a98fb2bf6045aab5e541f10f2e33ddf9f673d422 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-03  David Daney  <ddaney@caviumnetworks.com>
+           Adam Nemet  <adambnemet@gmail.com>
+
+       * elf/mips.h (E_MIPS_MACH_OCTEON2): New machine flag.
+
 2009-11-18  Alan Modra  <amodra@bigpond.net.au>
 
        * alloca-conf.h: Clarify comment.
index 1ef72bb2488b6668ea804b4c29b48eba652566ba..e30b0abcce357c09ac5d87ab75b5dcbc94c4d891 100644 (file)
@@ -215,6 +215,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext)
 #define E_MIPS_MACH_SB1         0x008a0000
 #define E_MIPS_MACH_OCTEON     0x008b0000
 #define E_MIPS_MACH_XLR        0x008c0000
+#define E_MIPS_MACH_OCTEON2    0x008d0000
 #define E_MIPS_MACH_5400       0x00910000
 #define E_MIPS_MACH_5500       0x00980000
 #define E_MIPS_MACH_9000       0x00990000