[coreboot-gerrit] Change in coreboot[master]: libpayload/arm64: Drop unused static array
Patrick Georgi (Code Review)
gerrit at coreboot.org
Thu Jul 19 12:14:45 CEST 2018
Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/27546
Change subject: libpayload/arm64: Drop unused static array
......................................................................
libpayload/arm64: Drop unused static array
Fixes build with gcc8.1
Change-Id: I042f79ddfb4c249e00b5b259280289b8534f6854
Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
M payloads/libpayload/arch/arm64/gdb.c
1 file changed, 0 insertions(+), 19 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/27546/1
diff --git a/payloads/libpayload/arch/arm64/gdb.c b/payloads/libpayload/arch/arm64/gdb.c
index 166c9ff..29a0370 100644
--- a/payloads/libpayload/arch/arm64/gdb.c
+++ b/payloads/libpayload/arch/arm64/gdb.c
@@ -28,25 +28,6 @@
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;
--
To view, visit https://review.coreboot.org/27546
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I042f79ddfb4c249e00b5b259280289b8534f6854
Gerrit-Change-Number: 27546
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180719/b3d22836/attachment.html>
More information about the coreboot-gerrit
mailing list