summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--elf/elf.h6
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dc9ea9596e..3feff6fc62 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-01-11 Steve Ellcey <sellcey@mips.com>
+
+ * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
+ (EF_MIPS_ARCH_64): Fix value.
+ (EF_MIPS_ARCH_32R2): New.
+ (EF_MIPS_ARCH_64R2): New.
+
2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
* Makeconfig (+link-pie-before-libc): New.
diff --git a/elf/elf.h b/elf/elf.h
index 0731348d81..9a31373481 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1388,8 +1388,10 @@ typedef struct
#define EF_MIPS_ARCH_3 0x20000000 /* -mips3 code. */
#define EF_MIPS_ARCH_4 0x30000000 /* -mips4 code. */
#define EF_MIPS_ARCH_5 0x40000000 /* -mips5 code. */
-#define EF_MIPS_ARCH_32 0x60000000 /* MIPS32 code. */
-#define EF_MIPS_ARCH_64 0x70000000 /* MIPS64 code. */
+#define EF_MIPS_ARCH_32 0x50000000 /* MIPS32 code. */
+#define EF_MIPS_ARCH_64 0x60000000 /* MIPS64 code. */
+#define EF_MIPS_ARCH_32R2 0x70000000 /* MIPS32r2 code. */
+#define EF_MIPS_ARCH_64R2 0x80000000 /* MIPS64r2 code. */
/* The following are unofficial names and should not be used. */