diff options
author | Stefan Reinauer <reinauer@google.com> | 2011-10-11 22:37:59 -0700 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2011-10-30 12:01:08 +0100 |
commit | 9491b4d5f5649ab6c18ae7f5ff285c09c212495b (patch) | |
tree | a4132b1903aa1475928906024b81bbb3ced5d1e0 /util/crossgcc/patches/acpica-unix-20110922_no_unused_variables.patch | |
parent | 952b421c27c36c9167c212e28df5a07b7976f587 (diff) |
Update coreboot cross toolchain to gcc 4.6.1
- Tested on Mac OS X 10.7.1
- Tested on Ubuntu 10.04 LTS (Lucid Lynx)
- Tested on Ubuntu 11.10 (Oneiric Ocelot)
Please test on Windows and other Linux distributions
Change-Id: I132c01293fc0cff0cfb84556a93c0b8de8e57230
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/250
Tested-by: build bot (Jenkins)
Reviewed-by: Sven Schnelle <svens@stackframe.org>
Diffstat (limited to 'util/crossgcc/patches/acpica-unix-20110922_no_unused_variables.patch')
-rw-r--r-- | util/crossgcc/patches/acpica-unix-20110922_no_unused_variables.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/util/crossgcc/patches/acpica-unix-20110922_no_unused_variables.patch b/util/crossgcc/patches/acpica-unix-20110922_no_unused_variables.patch new file mode 100644 index 0000000000..1edcb7ff72 --- /dev/null +++ b/util/crossgcc/patches/acpica-unix-20110922_no_unused_variables.patch @@ -0,0 +1,48 @@ +diff -x '*.o' -ur acpica-unix-20110922.orig//compiler/aslcompiler.l acpica-unix-20110922/compiler/aslcompiler.l +--- acpica-unix-20110922.orig//compiler/aslcompiler.l 2011-10-28 23:24:17.333274002 +0200 ++++ acpica-unix-20110922/compiler/aslcompiler.l 2011-10-28 23:24:56.669274001 +0200 +@@ -550,7 +550,6 @@ + void) + { + ASL_FILE_NODE *Fnode; +- FILE *InputFile = NULL; + + + Fnode = InputStack; +@@ -569,7 +568,6 @@ + /* Update the top-of-stack */ + + InputStack = Fnode->Next; +- InputFile = Fnode->File; + + /* Reset global line counter and filename */ + +diff -x '*.o' -ur acpica-unix-20110922.orig//os_specific/service_layers/osunixxf.c acpica-unix-20110922/os_specific/service_layers/osunixxf.c +--- acpica-unix-20110922.orig//os_specific/service_layers/osunixxf.c 2011-10-28 23:24:17.345274002 +0200 ++++ acpica-unix-20110922/os_specific/service_layers/osunixxf.c 2011-10-28 23:56:13.629274002 +0200 +@@ -349,7 +349,6 @@ + const char *Fmt, + va_list Args) + { +- INT32 Count = 0; + UINT8 Flags; + + +@@ -362,7 +361,7 @@ + { + /* Output file is open, send the output there */ + +- Count = vfprintf (AcpiGbl_DebugFile, Fmt, Args); ++ vfprintf (AcpiGbl_DebugFile, Fmt, Args); + } + else + { +@@ -374,7 +373,7 @@ + + if (Flags & ACPI_DB_CONSOLE_OUTPUT) + { +- Count = vfprintf (AcpiGbl_OutputFile, Fmt, Args); ++ vfprintf (AcpiGbl_OutputFile, Fmt, Args); + } + } + |