[coreboot] New patch to review for coreboot: 456002b ROMCC: fix unused attribute lookup
Sven Schnelle (svens@stackframe.org)
gerrit at coreboot.org
Fri Jun 22 08:55:59 CEST 2012
Sven Schnelle (svens at stackframe.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1133
-gerrit
commit 456002b00e946f1be85dccb167c8f9874adf1b3f
Author: Sven Schnelle <svens at stackframe.org>
Date: Fri Jun 22 08:53:36 2012 +0200
ROMCC: fix unused attribute lookup
commit 57cd1dd29679918afa650c2a7e82a474765f357d added this attribute,
but with wrong length, so it actually never matched.
Change-Id: Ibcc7816b5fa895faa66710cc29de38f129be6a2b
Signed-off-by: Sven Schnelle <svens at stackframe.org>
---
util/romcc/romcc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c
index b0f6198..15e950c 100644
--- a/util/romcc/romcc.c
+++ b/util/romcc/romcc.c
@@ -24992,7 +24992,7 @@ static void compile(const char *filename,
state.i_noinline = lookup(&state, "noinline", 8);
state.i_always_inline = lookup(&state, "always_inline", 13);
state.i_noreturn = lookup(&state, "noreturn", 8);
- state.i_unused = lookup(&state, "unused", 8);
+ state.i_unused = lookup(&state, "unused", 6);
/* Process the command line macros */
process_cmdline_macros(&state);
More information about the coreboot
mailing list