summaryrefslogtreecommitdiff
path: root/packages/gcc/8.3.0/0020-ARM-fix-cmse.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-02-25 23:55:10 (GMT)
committerGitHub <noreply@github.com>2019-02-25 23:55:10 (GMT)
commit84854dc9b03d0ff60c7b2e1e46331eadcc89fc58 (patch)
treea6a9042c6fccb2e764ff059fcafae1ea819c6354 /packages/gcc/8.3.0/0020-ARM-fix-cmse.patch
parent5b689264dd025d6be904e8a205504e75300c750a (diff)
parentc0844b6c88f2ad851b03a1d7434ec85eda3a0ae6 (diff)
Merge pull request #1150 from stilor/patches-gcc-8.3.0crosstool-ng-1.24.0-rc2
Run GCC 8.3.0 patches through manage-packages.sh -P
Diffstat (limited to 'packages/gcc/8.3.0/0020-ARM-fix-cmse.patch')
-rw-r--r--packages/gcc/8.3.0/0020-ARM-fix-cmse.patch21
1 files changed, 7 insertions, 14 deletions
diff --git a/packages/gcc/8.3.0/0020-ARM-fix-cmse.patch b/packages/gcc/8.3.0/0020-ARM-fix-cmse.patch
index 4a501a2..cf2d243 100644
--- a/packages/gcc/8.3.0/0020-ARM-fix-cmse.patch
+++ b/packages/gcc/8.3.0/0020-ARM-fix-cmse.patch
@@ -13,15 +13,13 @@ Subject: [PATCH] 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260330 138bc75d-0d04-0410-961f-82ee72b054a4
---
- gcc/config/arm/arm_cmse.h | 5 ++---
- libgcc/config/arm/cmse.c | 5 +++--
- 4 files changed, 15 insertions(+), 5 deletions(-)
+ gcc/config/arm/arm_cmse.h | 5 ++---
+ libgcc/config/arm/cmse.c | 5 +++--
+ 2 files changed, 5 insertions(+), 5 deletions(-)
-diff --git a/gcc/config/arm/arm_cmse.h b/gcc/config/arm/arm_cmse.h
-index 367e212dc9c..f972e23659d 100644
--- a/gcc/config/arm/arm_cmse.h
+++ b/gcc/config/arm/arm_cmse.h
-@@ -35,7 +35,6 @@ extern "C" {
+@@ -35,7 +35,6 @@
#if __ARM_FEATURE_CMSE & 1
#include <stddef.h>
@@ -29,7 +27,7 @@ index 367e212dc9c..f972e23659d 100644
#ifdef __ARM_BIG_ENDIAN
-@@ -174,9 +173,9 @@ cmse_nonsecure_caller (void)
+@@ -174,9 +173,9 @@
#define CMSE_MPU_NONSECURE 16
#define CMSE_NONSECURE 18
@@ -41,11 +39,9 @@ index 367e212dc9c..f972e23659d 100644
#endif /* __ARM_FEATURE_CMSE & 2 */
-diff --git a/libgcc/config/arm/cmse.c b/libgcc/config/arm/cmse.c
-index 3ded385693a..2ad0af2ecd8 100644
--- a/libgcc/config/arm/cmse.c
+++ b/libgcc/config/arm/cmse.c
-@@ -36,7 +36,7 @@ cmse_check_address_range (void *p, size_t size, int flags)
+@@ -36,7 +36,7 @@
char *pb = (char *) p, *pe;
/* Check if the range wraps around. */
@@ -54,7 +50,7 @@ index 3ded385693a..2ad0af2ecd8 100644
return NULL;
/* Check if an unknown flag is present. */
-@@ -51,7 +51,8 @@ cmse_check_address_range (void *p, size_t size, int flags)
+@@ -51,7 +51,8 @@
/* Execute the right variant of the TT instructions. */
pe = pb + size - 1;
@@ -64,6 +60,3 @@ index 3ded385693a..2ad0af2ecd8 100644
switch (flags & known_secure_level)
{
case 0:
---
-2.14.4
-