summaryrefslogtreecommitdiff
path: root/util/crossgcc/patches
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-07-10 14:27:56 -0700
committerRonald G. Minnich <rminnich@gmail.com>2013-07-22 20:49:15 +0200
commit0d2119da465fac01949385a74fc4ff4896550842 (patch)
tree0bdc69acb7f94f683d9311f3f1cd98d1c42fe803 /util/crossgcc/patches
parentb5e777c433642950fbe6e907a234995ed7f34b8d (diff)
buildgcc: Update reference toolchain
* GCC 4.8.1 * binutils 2.23.2 * GDB 7.6 * ACPICA 20130626 * Python 3.3.2 ... this adds support for Aarch64. For Ron. Change-Id: Idec91bcd615bc35c83373bd23d4681f1c8eb015c Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/3758 Tested-by: build bot (Jenkins) Reviewed-by: David Hubbard <david.c.hubbard+coreboot@gmail.com> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'util/crossgcc/patches')
-rw-r--r--util/crossgcc/patches/acpica-unix-20121114_32bit_optimization_fortify_source.patch11
-rw-r--r--util/crossgcc/patches/acpica-unix-20121114_drop_cflags_unknown_to_xcode.patch20
-rw-r--r--util/crossgcc/patches/acpica-unix-20121114_no_remove_destination.patch12
-rw-r--r--util/crossgcc/patches/acpica-unix-20121114_override_make.patch69
-rw-r--r--util/crossgcc/patches/binutils-2.23.2_armv7a.patch (renamed from util/crossgcc/patches/binutils-2.23_armv7a.patch)6
-rw-r--r--util/crossgcc/patches/binutils-2.23.2_no-bfd-doc.patch (renamed from util/crossgcc/patches/binutils-2.23_no-bfd-doc.patch)6
-rw-r--r--util/crossgcc/patches/gcc-4.7.3_armv7a.patch12
-rw-r--r--util/crossgcc/patches/gdb-7.6_no-texinfo.patch14
-rw-r--r--util/crossgcc/patches/gdb-7.6_pythonhome.patch (renamed from util/crossgcc/patches/gdb-7.5_pythonhome.patch)6
9 files changed, 23 insertions, 133 deletions
diff --git a/util/crossgcc/patches/acpica-unix-20121114_32bit_optimization_fortify_source.patch b/util/crossgcc/patches/acpica-unix-20121114_32bit_optimization_fortify_source.patch
deleted file mode 100644
index abf80bd35c..0000000000
--- a/util/crossgcc/patches/acpica-unix-20121114_32bit_optimization_fortify_source.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ur acpica-unix-20121114/generate/unix/Makefile.config acpica-unix-20121114.patched/generate/unix/Makefile.config
---- acpica-unix-20121114/generate/unix/Makefile.config 2012-11-14 17:22:38.000000000 +0100
-+++ acpica-unix-20121114.patched/generate/unix/Makefile.config 2012-11-15 21:19:36.683902859 +0100
-@@ -104,6 +104,7 @@
- # automatically included in -Wall.
- #
- CFLAGS += \
-+ -O \
- $(BITSFLAG) \
- -D$(HOST) \
- -D_GNU_SOURCE \
diff --git a/util/crossgcc/patches/acpica-unix-20121114_drop_cflags_unknown_to_xcode.patch b/util/crossgcc/patches/acpica-unix-20121114_drop_cflags_unknown_to_xcode.patch
deleted file mode 100644
index a4d55da18a..0000000000
--- a/util/crossgcc/patches/acpica-unix-20121114_drop_cflags_unknown_to_xcode.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -ur acpica-unix-20121114.orig/generate/unix/Makefile.config acpica-unix-20121114/generate/unix/Makefile.config
---- acpica-unix-20121114.orig/generate/unix/Makefile.config 2012-11-14 08:22:38.000000000 -0800
-+++ acpica-unix-20121114/generate/unix/Makefile.config 2012-12-05 15:53:35.000000000 -0800
-@@ -135,15 +135,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
-
- #
- # Extra warning flags (possible future use)
diff --git a/util/crossgcc/patches/acpica-unix-20121114_no_remove_destination.patch b/util/crossgcc/patches/acpica-unix-20121114_no_remove_destination.patch
deleted file mode 100644
index 85a6f1b0fa..0000000000
--- a/util/crossgcc/patches/acpica-unix-20121114_no_remove_destination.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur acpica-unix-20121114.orig/generate/unix/Makefile.config acpica-unix-20121114/generate/unix/Makefile.config
---- acpica-unix-20121114.orig/generate/unix/Makefile.config 2012-12-05 16:11:48.000000000 -0800
-+++ acpica-unix-20121114/generate/unix/Makefile.config 2012-12-05 16:12:31.000000000 -0800
-@@ -57,7 +57,7 @@
- #
- COPYPROG = \
- @mkdir -p ../$(BINDIR); \
-- cp --remove-destination $(PROG) ../$(BINDIR); \
-+ cp $(PROG) ../$(BINDIR); \
- echo "Copied $(PROG) to $(FINAL_PROG)";
-
- #
diff --git a/util/crossgcc/patches/acpica-unix-20121114_override_make.patch b/util/crossgcc/patches/acpica-unix-20121114_override_make.patch
deleted file mode 100644
index 055db0a2e3..0000000000
--- a/util/crossgcc/patches/acpica-unix-20121114_override_make.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-diff -Nurbs acpica-unix-20121114.orig/generate/unix/Makefile.common acpica-unix-20121114/generate/unix/Makefile.common
---- acpica-unix-20121114.orig/generate/unix/Makefile.common 2012-11-15 00:22:38.000000000 +0800
-+++ acpica-unix-20121114/generate/unix/Makefile.common 2013-02-09 12:11:55.994133871 +0800
-@@ -19,17 +19,17 @@
- if [ $(BITS) -eq 32 ]; then \
- echo "Forced 32-bit generation of $@"; \
- mkdir -p obj32; \
-- make BITS=32; \
-+ $(MAKE) BITS=32; \
- echo "32-bit version of $@:"; \
- ls -al ../bin32/$@; \
- elif [ $(findstring 64,$(HARDWARE_NAME)) ]; then \
- mkdir -p obj64; \
-- make BITS=64; \
-+ $(MAKE) BITS=64; \
- echo "64-bit version of $@:"; \
- ls -al ../bin64/$@; \
- else \
- mkdir -p obj32; \
-- make BITS=32; \
-+ $(MAKE) BITS=32; \
- echo "32-bit version of $@:"; \
- ls -al ../bin32/$@; \
- fi;
-@@ -47,7 +47,7 @@
- (cd $(BUILD_DIRECTORY_PATH)/$$toolname; \
- pwd; \
- mkdir -p obj32; \
-- make BITS=32; \
-+ $(MAKE) BITS=32; \
- echo "32-bit version of $$toolname:"; \
- ls -al obj32/$$toolname \
- ); \
-@@ -61,7 +61,7 @@
- (cd $(BUILD_DIRECTORY_PATH)/$$toolname; \
- pwd; \
- mkdir -p obj64; \
-- make BITS=64; \
-+ $(MAKE) BITS=64; \
- echo "64-bit version of $$toolname:"; \
- ls -al obj64/$$toolname \
- ); \
-@@ -73,11 +73,11 @@
- echo "Removing $$toolname"; \
- pwd; \
- if [ -d "obj32" ] ; then \
-- make BITS=32 clean; \
-+ $(MAKE) BITS=32 clean; \
- rmdir obj32; \
- fi; \
- if [ -d "obj64" ] ; then \
-- make BITS=64 clean; \
-+ $(MAKE) BITS=64 clean; \
- rmdir obj64; \
- fi; \
- echo ""; \
-@@ -92,10 +92,10 @@
- (cd $(BUILD_DIRECTORY_PATH)/$$toolname; \
- pwd; \
- if [ $(findstring 64,$(HARDWARE_NAME)) ]; then \
-- make BITS=64 PROG=$$toolname install; \
-+ $(MAKE) BITS=64 PROG=$$toolname install; \
- echo "Installed 64-bit version of $$toolname"; \
- else \
-- make BITS=32 PROG=$$toolname install; \
-+ $(MAKE) BITS=32 PROG=$$toolname install; \
- echo "Installed 32-bit version of $$toolname"; \
- fi; \
- echo ""; \
diff --git a/util/crossgcc/patches/binutils-2.23_armv7a.patch b/util/crossgcc/patches/binutils-2.23.2_armv7a.patch
index 63bcc9c6e6..a3c2d63129 100644
--- a/util/crossgcc/patches/binutils-2.23_armv7a.patch
+++ b/util/crossgcc/patches/binutils-2.23.2_armv7a.patch
@@ -1,6 +1,6 @@
-diff -u binutils-2.23/config.sub binutils-2.23/config.sub
---- binutils-2.23/config.sub 2012-04-25 08:53:25.000000000 -0700
-+++ binutils-2.23/config.sub 2012-12-04 14:58:16.050136773 -0800
+diff -u binutils-2.23.2/config.sub binutils-2.23.2/config.sub
+--- binutils-2.23.2/config.sub 2012-04-25 08:53:25.000000000 -0700
++++ binutils-2.23.2/config.sub 2012-12-04 14:58:16.050136773 -0800
@@ -259,7 +259,7 @@
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
diff --git a/util/crossgcc/patches/binutils-2.23_no-bfd-doc.patch b/util/crossgcc/patches/binutils-2.23.2_no-bfd-doc.patch
index a8972fe00a..98e202f54d 100644
--- a/util/crossgcc/patches/binutils-2.23_no-bfd-doc.patch
+++ b/util/crossgcc/patches/binutils-2.23.2_no-bfd-doc.patch
@@ -1,6 +1,6 @@
-diff -ur binutils-2.23/bfd/Makefile.in binutils-2.23.patched/bfd/Makefile.in
---- binutils-2.23/bfd/Makefile.in 2012-10-22 14:33:51.000000000 +0200
-+++ binutils-2.23.patched/bfd/Makefile.in 2012-10-24 15:33:04.442080163 +0200
+diff -ur binutils-2.23.2/bfd/Makefile.in binutils-2.23.2.patched/bfd/Makefile.in
+--- binutils-2.23.2/bfd/Makefile.in 2012-10-22 14:33:51.000000000 +0200
++++ binutils-2.23.2.patched/bfd/Makefile.in 2012-10-24 15:33:04.442080163 +0200
@@ -323,7 +323,7 @@
RELEASE = y
INCDIR = $(srcdir)/../include
diff --git a/util/crossgcc/patches/gcc-4.7.3_armv7a.patch b/util/crossgcc/patches/gcc-4.7.3_armv7a.patch
deleted file mode 100644
index ccbc01e14d..0000000000
--- a/util/crossgcc/patches/gcc-4.7.3_armv7a.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur gcc-4.7.3/config.sub gcc-4.7.3-patched/config.sub
---- gcc-4.7.3/config.sub 2012-08-06 16:34:27.000000000 +0200
-+++ gcc-4.7.3-patched/config.sub 2013-04-19 00:25:16.401391381 +0200
-@@ -250,7 +250,7 @@
- | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
- | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
- | am33_2.0 \
-- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
-+ | arc | arm | arm[bl]e | arme[lb] | armv* | armv[345][lb] | avr | avr32 \
- | be32 | be64 \
- | bfin \
- | c4x | clipper \
diff --git a/util/crossgcc/patches/gdb-7.6_no-texinfo.patch b/util/crossgcc/patches/gdb-7.6_no-texinfo.patch
new file mode 100644
index 0000000000..ac9241c921
--- /dev/null
+++ b/util/crossgcc/patches/gdb-7.6_no-texinfo.patch
@@ -0,0 +1,14 @@
+diff -ur gdb-7.6.orig/missing gdb-7.6/missing
+--- gdb-7.6.orig/missing 2009-08-22 04:48:33.000000000 -0700
++++ gdb-7.6/missing 2013-07-10 13:10:32.940902728 -0700
+@@ -314,8 +314,8 @@
+ fi
+ # If the file does not exist, the user really needs makeinfo;
+ # let's fail without touching anything.
+- test -f $file || exit 1
+- touch $file
++ #test -f $file || exit 1
++ #touch $file
+ ;;
+
+ tar*)
diff --git a/util/crossgcc/patches/gdb-7.5_pythonhome.patch b/util/crossgcc/patches/gdb-7.6_pythonhome.patch
index 8a5ad09f20..dfca5dd03a 100644
--- a/util/crossgcc/patches/gdb-7.5_pythonhome.patch
+++ b/util/crossgcc/patches/gdb-7.6_pythonhome.patch
@@ -1,6 +1,6 @@
-diff -ur gdb-7.5/gdb/python/python.c gdb-7.5.patched/gdb/python/python.c
---- gdb-7.5/gdb/python/python.c 2012-06-25 18:53:20.000000000 +0200
-+++ gdb-7.5.patched/gdb/python/python.c 2012-10-24 15:28:37.422047559 +0200
+diff -ur gdb-7.6/gdb/python/python.c gdb-7.6.patched/gdb/python/python.c
+--- gdb-7.6/gdb/python/python.c 2012-06-25 18:53:20.000000000 +0200
++++ gdb-7.6.patched/gdb/python/python.c 2012-10-24 15:28:37.422047.69 +0200
@@ -1227,6 +1227,15 @@
SLASH_STRING, "python", NULL));
#endif