summaryrefslogtreecommitdiff
path: root/zephyr
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-09-20 17:59:26 +0000
committerCommit Bot <commit-bot@chromium.org>2021-09-23 17:15:22 +0000
commitc1cc2d919e9f21adc0f992dcac00f6e8b282616d (patch)
treef72c3c1529e6367e67437bf7e4e32ee914fd7900 /zephyr
parent541e3dee10752720c2bba7e4d81544eaa284bfc6 (diff)
downloadchrome-ec-c1cc2d919e9f21adc0f992dcac00f6e8b282616d.tar.gz
core/cortex-m: Disable warning in vecttable.c when building with clang
The vecttable logic explicitly routes unused IRQs to IRQ_UNUSED_OFFSET, and then assigns it to "null" at the very end. The result is something like: [8] = __attribute__((used, weak, alias("default_handler"))) irq_55_handler(void); [8] = __attribute__((used, weak, alias("default_handler"))) irq_56_handler(void); ... [8] = (void*)0 This is intentional so that it works with a varying values for CONFIG_IRQ_COUNT. BRANCH=none BUG=b:172020503 TEST=make buildall -j Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I3ba4eeaa46cd2c50c65c922f4c0c463ce1bb585e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3172038 Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
Diffstat (limited to 'zephyr')
0 files changed, 0 insertions, 0 deletions