diff options
author | Patrick Georgi <pgeorgi@google.com> | 2018-07-16 17:00:18 +0200 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-06 22:11:37 -0700 |
commit | 30b09cea62d5dab06301223020140788dbe6e4de (patch) | |
tree | 213e411fb0160e477c1eeb11964de613e5be75d0 /core | |
parent | 9a5a7f3692a3e6627ecbce83b799f175cd75b4b9 (diff) | |
download | chrome-ec-30b09cea62d5dab06301223020140788dbe6e4de.tar.gz |
cortex-m/vecttable: -Wattribute-alias is supported starting GCC8
BUG=none
BRANCH=none
TEST=no more build error with gcc6
Change-Id: Ia575effe884a4816f106666dea815b48c636a858
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1138318
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Martin Roth <martinroth@chromium.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/cortex-m/vecttable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cortex-m/vecttable.c b/core/cortex-m/vecttable.c index 7db4a0eeca..ac0ef4c79a 100644 --- a/core/cortex-m/vecttable.c +++ b/core/cortex-m/vecttable.c @@ -42,7 +42,7 @@ extern void stack_end(void); /* not technically correct, it's just a pointer */ extern void reset(void); #pragma GCC diagnostic push -#if __GNUC__ >= 6 +#if __GNUC__ >= 8 #pragma GCC diagnostic ignored "-Wattribute-alias" #endif /* Call default_handler if svc_handler is not found (task.c is not built) */ |