diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/binutils-armv5e.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/binutils-armv5e.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-armv5e.patch b/meta/recipes-devtools/binutils/binutils/binutils-armv5e.patch new file mode 100644 index 0000000000..4ac1a9c981 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/binutils-armv5e.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Add the armv5e architecture to binutils | ||
2 | |||
3 | Binutils has a comment that indicates it is supposed to match gcc for all of | ||
4 | the support "-march=" settings, but it was lacking the armv5e setting. This | ||
5 | was a simple way to add it, as thumb instructions shouldn't be generated by | ||
6 | the compiler anyway. | ||
7 | |||
8 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
9 | |||
10 | diff -urN binutils-2.22.orig/gas/config/tc-arm.c binutils-2.22/gas/config/tc-arm.c | ||
11 | --- binutils-2.22.orig/gas/config/tc-arm.c 2011-11-21 03:29:31.000000000 -0600 | ||
12 | +++ binutils-2.22/gas/config/tc-arm.c 2012-04-03 12:07:42.230158760 -0500 | ||
13 | @@ -22990,6 +22990,7 @@ | ||
14 | {"armv4t", ARM_ARCH_V4T, FPU_ARCH_FPA}, | ||
15 | {"armv4txm", ARM_ARCH_V4TxM, FPU_ARCH_FPA}, | ||
16 | {"armv5", ARM_ARCH_V5, FPU_ARCH_VFP}, | ||
17 | + {"armv5e", ARM_ARCH_V5TE, FPU_ARCH_VFP}, | ||
18 | {"armv5t", ARM_ARCH_V5T, FPU_ARCH_VFP}, | ||
19 | {"armv5txm", ARM_ARCH_V5TxM, FPU_ARCH_VFP}, | ||
20 | {"armv5te", ARM_ARCH_V5TE, FPU_ARCH_VFP}, | ||