summary refs log tree commit diff
path: root/elf
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 /elf
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.
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h6
1 files changed, 4 insertions, 2 deletions
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.  */