about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2013-01-11 11:20:05 -0800
committerSteve Ellcey <sellcey@mips.com>2013-01-11 11:20:05 -0800
commit0e8529e94f4e2e457dc145c1c4aa4736a7c81ea5 (patch)
tree907388b92a626664b58e9806a044e5604150c109
parent740b3dbee8ef034019b240dc4838b39dfa0c01e2 (diff)
downloadglibc-0e8529e94f4e2e457dc145c1c4aa4736a7c81ea5.tar.gz
glibc-0e8529e94f4e2e457dc145c1c4aa4736a7c81ea5.tar.xz
glibc-0e8529e94f4e2e457dc145c1c4aa4736a7c81ea5.zip
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.
-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.  */