From 97fb5de194a244df3a257bbddaaad911641af381 Mon Sep 17 00:00:00 2001
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 13 Jul 2005 17:58:20 +0000
Subject: [PATCH] Add EF_MIPS_ARCH_32R2 and EF_MIPS_ARCH_64R2 for tagging of R2
 binaries.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
 include/asm-mips/elf.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/asm-mips/elf.h b/include/asm-mips/elf.h
index 9361ee00c103..7420f12742bb 100644
--- a/include/asm-mips/elf.h
+++ b/include/asm-mips/elf.h
@@ -19,6 +19,8 @@
 #define EF_MIPS_ARCH_5		0x40000000	/* -mips5 code.  */
 #define EF_MIPS_ARCH_32		0x50000000	/* MIPS32 code.  */
 #define EF_MIPS_ARCH_64		0x60000000	/* MIPS64 code.  */
+#define EF_MIPS_ARCH_32R2	0x70000000	/* MIPS32 R2 code.  */
+#define EF_MIPS_ARCH_64R2	0x80000000	/* MIPS64 R2 code.  */
 
 /* The ABI of a file. */
 #define EF_MIPS_ABI_O32		0x00001000	/* O32 ABI.  */
-- 
2.34.1