From c430ecec9e32d645ea65155cc75ad6a55b76fd7e Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 19 Jul 2018 12:14:17 +0200 Subject: libpayload/arm64: Drop unused static array Fixes build with gcc8.1 Change-Id: I042f79ddfb4c249e00b5b259280289b8534f6854 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/27546 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Julius Werner --- payloads/libpayload/arch/arm64/gdb.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'payloads/libpayload/arch/arm64') 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; -- cgit v1.2.3