diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2018-07-19 12:14:17 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-07-20 11:06:36 +0000 |
commit | c430ecec9e32d645ea65155cc75ad6a55b76fd7e (patch) | |
tree | 7c368fcfdaf12443704a8ec62f969ba9a5f700e2 | |
parent | 5ef51edd4c97f3710b01ea21317d8f80b592befc (diff) | |
download | coreboot-c430ecec9e32d645ea65155cc75ad6a55b76fd7e.tar.xz |
libpayload/arm64: Drop unused static array
Fixes build with gcc8.1
Change-Id: I042f79ddfb4c249e00b5b259280289b8534f6854
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/27546
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r-- | payloads/libpayload/arch/arm64/gdb.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/payloads/libpayload/arch/arm64/gdb.c b/payloads/libpayload/arch/arm64/gdb.c index 166c9ffb13..29a037095f 100644 --- a/payloads/libpayload/arch/arm64/gdb.c +++ b/payloads/libpayload/arch/arm64/gdb.c @@ -28,25 +28,6 @@ struct gdb_regs u32 spsr; } __packed; -static const u8 type_to_signal[] = { - [EXC_SYNC_SP0] = GDB_SIGTRAP, - [EXC_IRQ_SP0] = GDB_SIGSEGV, - [EXC_FIQ_SP0] = GDB_SIGSEGV, - [EXC_SERROR_SP0] = GDB_SIGSEGV, - [EXC_SYNC_SPX] = GDB_SIGTRAP, - [EXC_IRQ_SPX] = GDB_SIGSEGV, - [EXC_FIQ_SPX] = GDB_SIGSEGV, - [EXC_SERROR_SPX] = GDB_SIGSEGV, - [EXC_SYNC_ELX_64] = GDB_SIGTRAP, - [EXC_IRQ_ELX_64] = GDB_SIGSEGV, - [EXC_FIQ_ELX_64] = GDB_SIGSEGV, - [EXC_SERROR_ELX_64] = GDB_SIGSEGV, - [EXC_SYNC_ELX_32] = GDB_SIGTRAP, - [EXC_IRQ_ELX_32] = GDB_SIGSEGV, - [EXC_FIQ_ELX_32] = GDB_SIGSEGV, - [EXC_SERROR_ELX_32] = GDB_SIGSEGV -}; - static int gdb_exception_hook(u32 type) { return -1; |