Zheng Bao (zheng.bao@amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1424
-gerrit
commit fd325249a6d95c638fa9a0c0c4259cd4043d7422 Author: zbao fishbaozi@gmail.com Date: Wed Aug 8 18:45:07 2012 +0800
buildgcc: Update the toolchain patches version
acpica 20120420, acpica-unix-20110922_no_unused_variables.patch is not used anymore. binutils 2.22.
Change-Id: I58459bd2eba2ad752fc033e51ee0892e2e069a02 Signed-off-by: Zheng Bao zheng.bao@amd.com Signed-off-by: zbao fishbaozi@gmail.com --- .../acpica-unix-20110922_no_unused_variables.patch | 48 -------------------- .../acpica-unix-20110922_unknown_warnings.patch | 19 -------- .../acpica-unix-20120420_unknown_warnings.patch | 19 ++++++++ .../patches/binutils-2.21.1_no-bfd-doc.patch | 11 ----- .../patches/binutils-2.22_no-bfd-doc.patch | 11 +++++ 5 files changed, 30 insertions(+), 78 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 deleted file mode 100644 index 1edcb7f..0000000 --- a/util/crossgcc/patches/acpica-unix-20110922_no_unused_variables.patch +++ /dev/null @@ -1,48 +0,0 @@ -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); - } - } - diff --git a/util/crossgcc/patches/acpica-unix-20110922_unknown_warnings.patch b/util/crossgcc/patches/acpica-unix-20110922_unknown_warnings.patch deleted file mode 100644 index f53be92..0000000 --- a/util/crossgcc/patches/acpica-unix-20110922_unknown_warnings.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- acpica-unix-20110922/compiler/Makefile 2011-09-22 08:59:34.000000000 -0700 -+++ acpica-unix-20110922/compiler/Makefile 2011-10-11 23:47:29.000000000 -0700 -@@ -245,15 +245,11 @@ - -Waggregate-return \ - -Wchar-subscripts \ - -Wempty-body \ -- -Wlogical-op \ - -Wmissing-declarations \ - -Wmissing-field-initializers \ -- -Wmissing-parameter-type \ - -Wnested-externs \ -- -Wold-style-declaration \ - -Wold-style-definition \ -- -Wredundant-decls \ -- -Wtype-limits -+ -Wredundant-decls - - # - # Bison/Flex configuration diff --git a/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch b/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch new file mode 100644 index 0000000..2aea0b2 --- /dev/null +++ b/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch @@ -0,0 +1,19 @@ +--- acpica-unix-20120420/source/compiler/Makefile 2012-04-21 04:02:33.000000000 +0800 ++++ acpica-unix-20120420/source/compiler/Makefile 2012-08-08 16:30:14.000000000 +0800 +@@ -261,15 +261,11 @@ + -Waggregate-return \ + -Wchar-subscripts \ + -Wempty-body \ +- -Wlogical-op \ + -Wmissing-declarations \ + -Wmissing-field-initializers \ +- -Wmissing-parameter-type \ + -Wnested-externs \ +- -Wold-style-declaration \ + -Wold-style-definition \ +- -Wredundant-decls \ +- -Wtype-limits ++ -Wredundant-decls + + # + # Bison/Flex configuration diff --git a/util/crossgcc/patches/binutils-2.21.1_no-bfd-doc.patch b/util/crossgcc/patches/binutils-2.21.1_no-bfd-doc.patch deleted file mode 100644 index 4fb9e21..0000000 --- a/util/crossgcc/patches/binutils-2.21.1_no-bfd-doc.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- binutils-2.21.1/bfd/Makefile.in 2011-06-27 01:57:12.000000000 -0700 -+++ binutils-2.21.1/bfd/Makefile.in 2011-10-11 21:59:15.000000000 -0700 -@@ -323,7 +323,7 @@ - RELEASE = y - INCDIR = $(srcdir)/../include - CSEARCH = -I. -I$(srcdir) -I$(INCDIR) --SUBDIRS = doc po -+SUBDIRS = po - bfddocdir = doc - libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \ - @SHARED_LDFLAGS@ $(am__empty) diff --git a/util/crossgcc/patches/binutils-2.22_no-bfd-doc.patch b/util/crossgcc/patches/binutils-2.22_no-bfd-doc.patch new file mode 100644 index 0000000..23f6fa5 --- /dev/null +++ b/util/crossgcc/patches/binutils-2.22_no-bfd-doc.patch @@ -0,0 +1,11 @@ +--- binutils-2.22/bfd/Makefile.in 2011-06-27 01:57:12.000000000 -0700 ++++ binutils-2.22/bfd/Makefile.in 2011-10-11 21:59:15.000000000 -0700 +@@ -323,7 +323,7 @@ + RELEASE = y + INCDIR = $(srcdir)/../include + CSEARCH = -I. -I$(srcdir) -I$(INCDIR) +-SUBDIRS = doc po ++SUBDIRS = po + bfddocdir = doc + libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \ + @SHARED_LDFLAGS@ $(am__empty)