Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 743f42aaecb1ab89eba0eaf5e88ed67bbf3ba304 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 2 Mar 2015 01:37:10 +0000 |
| 4 | Subject: [PATCH 07/13] Add the armv5e architecture to binutils |
| 5 | |
| 6 | Binutils has a comment that indicates it is supposed to match gcc for |
| 7 | all of the support "-march=" settings, but it was lacking the armv5e setting. |
| 8 | This was a simple way to add it, as thumb instructions shouldn't be generated |
| 9 | by the compiler anyway. |
| 10 | |
| 11 | Upstream-Status: Denied |
| 12 | Upstream maintainer indicated that we should not be using armv5e, even |
| 13 | though it is a legal archicture defined by our gcc. |
| 14 | |
| 15 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> |
| 16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 17 | --- |
| 18 | gas/config/tc-arm.c | 1 + |
| 19 | 1 file changed, 1 insertion(+) |
| 20 | |
| 21 | diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c |
| 22 | index 2db6c2d..ab48168 100644 |
| 23 | --- a/gas/config/tc-arm.c |
| 24 | +++ b/gas/config/tc-arm.c |
| 25 | @@ -24463,6 +24463,7 @@ static const struct arm_arch_option_table arm_archs[] = |
| 26 | ARM_ARCH_OPT ("armv4t", ARM_ARCH_V4T, FPU_ARCH_FPA), |
| 27 | ARM_ARCH_OPT ("armv4txm", ARM_ARCH_V4TxM, FPU_ARCH_FPA), |
| 28 | ARM_ARCH_OPT ("armv5", ARM_ARCH_V5, FPU_ARCH_VFP), |
| 29 | + ARM_ARCH_OPT ("armv5e", ARM_ARCH_V5TE, FPU_ARCH_VFP), |
| 30 | ARM_ARCH_OPT ("armv5t", ARM_ARCH_V5T, FPU_ARCH_VFP), |
| 31 | ARM_ARCH_OPT ("armv5txm", ARM_ARCH_V5TxM, FPU_ARCH_VFP), |
| 32 | ARM_ARCH_OPT ("armv5te", ARM_ARCH_V5TE, FPU_ARCH_VFP), |
| 33 | -- |
| 34 | 2.1.4 |
| 35 | |