aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 8c7f28a..0672246 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-03 Sandip Matte <sandip@rmicorp.com>
+
+ * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
+
2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
* NEWS: Move --as-needed change to ...
diff --git a/binutils/readelf.c b/binutils/readelf.c
index d1b3e24..f1c2eb1 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -2213,6 +2213,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_XLR: strcat (buf, ", xlr"); break;
case 0:
/* We simply ignore the field in this case to avoid confusion:
MIPS ELF does not specify EF_MIPS_MACH, it is a GNU