ROMCC: fix unused attribute lookup

commit 57cd1dd296 added this attribute,
but with wrong length, so it actually never matched.

Change-Id: Ibcc7816b5fa895faa66710cc29de38f129be6a2b
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/1133
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Tested-by: build bot (Jenkins)
Reviewed-by: Mathias Krause <minipli@googlemail.com>
This commit is contained in:
Sven Schnelle 2012-06-22 08:53:36 +02:00 committed by Mathias Krause
parent d8a6680073
commit efb479c08b
1 changed files with 1 additions and 1 deletions

View File

@ -24992,7 +24992,7 @@ static void compile(const char *filename,
state.i_noinline = lookup(&state, "noinline", 8); state.i_noinline = lookup(&state, "noinline", 8);
state.i_always_inline = lookup(&state, "always_inline", 13); state.i_always_inline = lookup(&state, "always_inline", 13);
state.i_noreturn = lookup(&state, "noreturn", 8); 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 the command line macros */
process_cmdline_macros(&state); process_cmdline_macros(&state);