>From b255e3f840ae2e5118fe480bc78bce4cb3e37c79 Mon Sep 17 00:00:00 2001
From: Evandro Menezes <emenezes@osdn.samsung.com>
Date: Thu, 26 Mar 2015 15:18:08 -0500
Subject: [PATCH] [AArch64] Add support for the Samsung Exynos M1 processor

2015-03-26  Evandro Menezes  <e.menezes@samsung.com>

gas/
	* config/tc-aarch64.c: Add support for Exynos M1.
	* doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
---
 gas/config/tc-aarch64.c | 3 +++
 gas/doc/c-aarch64.texi  | 1 +
 2 files changed, 4 insertions(+)

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index ef4fae8..90ece1f 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7320,6 +7320,9 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
 				  AARCH64_FEATURE_CRC), "Cortex-A57"},
   {"cortex-a72", AARCH64_FEATURE (AARCH64_ARCH_V8,
 				  AARCH64_FEATURE_CRC), "Cortex-A72"},
+  {"exynos-m1", AARCH64_FEATURE (AARCH64_ARCH_V8,
+				 AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO), 
+				"Samsung Exynos M1"},
   {"thunderx", AARCH64_ARCH_V8, "Cavium ThunderX"},
   /* The 'xgene-1' name is an older name for 'xgene1', which was used
      in earlier releases and is superseded by 'xgene1' in all
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index ce3694a..79fe168 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -58,6 +58,7 @@ on the target processor.  The following processor names are recognized:
 @code{cortex-a53},
 @code{cortex-a57},
 @code{cortex-a72},
+@code{exynos-m1},
 @code{thunderx},
 @code{xgene1}
 and
-- 
1.9.1

