HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/61767 )
Change subject: crossgcc: Upgrade binutils from 2.37 to 2.38 ......................................................................
crossgcc: Upgrade binutils from 2.37 to 2.38
Change-Id: I94a11e52be878b13eae9f00f7d6dc1ab2053693e Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M util/crossgcc/buildgcc D util/crossgcc/patches/binutils-2.37_mips-gold.patch R util/crossgcc/patches/binutils-2.38_as-ipxe.patch A util/crossgcc/patches/binutils-2.38_mips-gold.patch R util/crossgcc/patches/binutils-2.38_no-bfd-doc.patch R util/crossgcc/patches/binutils-2.38_no-makeinfo.patch D util/crossgcc/sum/binutils-2.37.tar.xz.cksum A util/crossgcc/sum/binutils-2.38.tar.xz.cksum 8 files changed, 61 insertions(+), 87 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/67/61767/1
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index f27dd01..d44eacc 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -36,7 +36,7 @@ MPFR_VERSION=4.1.0 MPC_VERSION=1.2.1 GCC_VERSION=11.2.0 -BINUTILS_VERSION=2.37 +BINUTILS_VERSION=2.38 IASL_VERSION=20211217 # CLANG version number CLANG_VERSION=12.0.0 diff --git a/util/crossgcc/patches/binutils-2.37_mips-gold.patch b/util/crossgcc/patches/binutils-2.37_mips-gold.patch deleted file mode 100644 index 722367c..0000000 --- a/util/crossgcc/patches/binutils-2.37_mips-gold.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -urN binutils-2.32.orig/gold/configure.tgt binutils-2.32/gold/configure.tgt ---- binutils-2.32.orig/gold/configure.tgt -+++ binutils-2.32/gold/configure.tgt -@@ -157,6 +157,7 @@ - targ_obj=mips - targ_machine=EM_MIPS_RS3_LE - targ_size=32 -+ targ_extra_size=64 - targ_big_endian=false - targ_extra_big_endian=true - ;; diff --git a/util/crossgcc/patches/binutils-2.37_as-ipxe.patch b/util/crossgcc/patches/binutils-2.38_as-ipxe.patch similarity index 100% rename from util/crossgcc/patches/binutils-2.37_as-ipxe.patch rename to util/crossgcc/patches/binutils-2.38_as-ipxe.patch diff --git a/util/crossgcc/patches/binutils-2.38_mips-gold.patch b/util/crossgcc/patches/binutils-2.38_mips-gold.patch new file mode 100644 index 0000000..556fc92 --- /dev/null +++ b/util/crossgcc/patches/binutils-2.38_mips-gold.patch @@ -0,0 +1,11 @@ +diff -urN binutils-2.38.orig/gold/configure.tgt binutils-2.38/gold/configure.tgt +--- binutils-2.38.orig/gold/configure.tgt ++++ binutils-2.38/gold/configure.tgt +@@ -157,6 +157,7 @@ + targ_obj=mips + targ_machine=EM_MIPS_RS3_LE + targ_size=32 ++ targ_extra_size=64 + targ_big_endian=false + targ_extra_big_endian=true + ;; diff --git a/util/crossgcc/patches/binutils-2.37_no-bfd-doc.patch b/util/crossgcc/patches/binutils-2.38_no-bfd-doc.patch similarity index 68% rename from util/crossgcc/patches/binutils-2.37_no-bfd-doc.patch rename to util/crossgcc/patches/binutils-2.38_no-bfd-doc.patch index 7e4bb3f..4bc6922 100644 --- a/util/crossgcc/patches/binutils-2.37_no-bfd-doc.patch +++ b/util/crossgcc/patches/binutils-2.38_no-bfd-doc.patch @@ -1,6 +1,6 @@ -diff -ur binutils-2.32/bfd/Makefile.in binutils-2.32.patched/bfd/Makefile.in ---- binutils-2.32/bfd/Makefile.in -+++ binutils-2.32.patched/bfd/Makefile.in +diff -ur binutils-2.38/bfd/Makefile.in binutils-2.38.patched/bfd/Makefile.in +--- binutils-2.38/bfd/Makefile.in ++++ binutils-2.38.patched/bfd/Makefile.in @@ -459,7 +459,7 @@ ACLOCAL_AMFLAGS = -I . -I .. -I ../config INCDIR = $(srcdir)/../include diff --git a/util/crossgcc/patches/binutils-2.37_no-makeinfo.patch b/util/crossgcc/patches/binutils-2.38_no-makeinfo.patch similarity index 60% rename from util/crossgcc/patches/binutils-2.37_no-makeinfo.patch rename to util/crossgcc/patches/binutils-2.38_no-makeinfo.patch index e0ba01f..f83fd69 100644 --- a/util/crossgcc/patches/binutils-2.37_no-makeinfo.patch +++ b/util/crossgcc/patches/binutils-2.38_no-makeinfo.patch @@ -13,10 +13,10 @@
Current patch will change that to "MAKEINFO = true"
-diff --git binutils-2.34/Makefile.in binutils-2.34/Makefile.in +diff --git binutils-2.38/Makefile.in binutils-2.38/Makefile.in index af38671cbe..978d445825 100644 ---- binutils-2.34/Makefile.in -+++ binutils-2.34/Makefile.in +--- binutils-2.38/Makefile.in ++++ binutils-2.38/Makefile.in @@ -370,7 +370,7 @@ YACC = @YACC@ FLEX = @FLEX@ LEX = @LEX@ @@ -26,10 +26,10 @@ EXPECT = @EXPECT@ RUNTEST = @RUNTEST@
-diff --git binutils-2.34/Makefile.tpl binutils-2.34/Makefile.tpl +diff --git binutils-2.38/Makefile.tpl binutils-2.38/Makefile.tpl index 5b118a8ba4..2b41fa28ce 100644 ---- binutils-2.34/Makefile.tpl -+++ binutils-2.34/Makefile.tpl +--- binutils-2.38/Makefile.tpl ++++ binutils-2.38/Makefile.tpl @@ -373,7 +373,7 @@ YACC = @YACC@ FLEX = @FLEX@ LEX = @LEX@ @@ -39,10 +39,10 @@ EXPECT = @EXPECT@ RUNTEST = @RUNTEST@
-diff --git binutils-2.34/bfd/Makefile.in binutils-2.34/bfd/Makefile.in +diff --git binutils-2.38/bfd/Makefile.in binutils-2.38/bfd/Makefile.in index 7d3b9c1c5a..c062314063 100644 ---- binutils-2.34/bfd/Makefile.in -+++ binutils-2.34/bfd/Makefile.in +--- binutils-2.38/bfd/Makefile.in ++++ binutils-2.38/bfd/Makefile.in @@ -342,7 +342,7 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ @@ -52,10 +52,10 @@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ -diff --git binutils-2.34/bfd/Makefile.in.orig binutils-2.34/bfd/Makefile.in.orig +diff --git binutils-2.38/bfd/Makefile.in.orig binutils-2.38/bfd/Makefile.in.orig index 78555ccbbc..861fc3570d 100644 ---- binutils-2.34/bfd/Makefile.in.orig -+++ binutils-2.34/bfd/Makefile.in.orig +--- binutils-2.38/bfd/Makefile.in.orig ++++ binutils-2.38/bfd/Makefile.in.orig @@ -342,7 +342,7 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ @@ -65,10 +65,10 @@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ -diff --git binutils-2.34/bfd/doc/Makefile.in binutils-2.34/bfd/doc/Makefile.in +diff --git binutils-2.38/bfd/doc/Makefile.in binutils-2.38/bfd/doc/Makefile.in index 2c1ddd45b8..b3972192e7 100644 ---- binutils-2.34/bfd/doc/Makefile.in -+++ binutils-2.34/bfd/doc/Makefile.in +--- binutils-2.38/bfd/doc/Makefile.in ++++ binutils-2.38/bfd/doc/Makefile.in @@ -284,7 +284,7 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ @@ -78,10 +78,10 @@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ -diff --git binutils-2.34/binutils/Makefile.in binutils-2.34/binutils/Makefile.in +diff --git binutils-2.38/binutils/Makefile.in binutils-2.38/binutils/Makefile.in index 39f08563f9..91d2287c75 100644 ---- binutils-2.34/binutils/Makefile.in -+++ binutils-2.34/binutils/Makefile.in +--- binutils-2.38/binutils/Makefile.in ++++ binutils-2.38/binutils/Makefile.in @@ -463,7 +463,7 @@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ @@ -91,23 +91,10 @@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ -diff --git binutils-2.34/binutils/doc/Makefile.in binutils-2.34/binutils/doc/Makefile.in -index b0e7b7b6c8..dbb21dd47a 100644 ---- binutils-2.34/binutils/doc/Makefile.in -+++ binutils-2.34/binutils/doc/Makefile.in -@@ -298,7 +298,7 @@ LN_S = @LN_S@ - LTLIBICONV = @LTLIBICONV@ - LTLIBOBJS = @LTLIBOBJS@ - MAINT = @MAINT@ --MAKEINFO = @MAKEINFO@ -+MAKEINFO = true - MKDIR_P = @MKDIR_P@ - MKINSTALLDIRS = @MKINSTALLDIRS@ - MSGFMT = @MSGFMT@ -diff --git binutils-2.34/gas/Makefile.in binutils-2.34/gas/Makefile.in +diff --git binutils-2.38/gas/Makefile.in binutils-2.38/gas/Makefile.in index 85c7b04daa..882db6dd81 100644 ---- binutils-2.34/gas/Makefile.in -+++ binutils-2.34/gas/Makefile.in +--- binutils-2.38/gas/Makefile.in ++++ binutils-2.38/gas/Makefile.in @@ -318,7 +318,7 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ @@ -117,23 +104,10 @@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ -diff --git binutils-2.34/gas/doc/Makefile.in binutils-2.34/gas/doc/Makefile.in -index f2336ec8c9..d4c36366a1 100644 ---- binutils-2.34/gas/doc/Makefile.in -+++ binutils-2.34/gas/doc/Makefile.in -@@ -280,7 +280,7 @@ LIPO = @LIPO@ - LN_S = @LN_S@ - LTLIBOBJS = @LTLIBOBJS@ - MAINT = @MAINT@ --MAKEINFO = @MAKEINFO@ -+MAKEINFO = true - MKDIR_P = @MKDIR_P@ - MKINSTALLDIRS = @MKINSTALLDIRS@ - MSGFMT = @MSGFMT@ -diff --git binutils-2.34/gold/Makefile.in binutils-2.34/gold/Makefile.in +diff --git binutils-2.38/gold/Makefile.in binutils-2.38/gold/Makefile.in index f2906ede8b..ac4fad5d55 100644 ---- binutils-2.34/gold/Makefile.in -+++ binutils-2.34/gold/Makefile.in +--- binutils-2.38/gold/Makefile.in ++++ binutils-2.38/gold/Makefile.in @@ -558,7 +558,7 @@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ @@ -143,10 +117,10 @@ MERGE_CONSTANTS_FLAG = @MERGE_CONSTANTS_FLAG@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ -diff --git binutils-2.34/gold/testsuite/Makefile.in binutils-2.34/gold/testsuite/Makefile.in +diff --git binutils-2.38/gold/testsuite/Makefile.in binutils-2.38/gold/testsuite/Makefile.in index 9f29dc638c..6907fe1f9a 100644 ---- binutils-2.34/gold/testsuite/Makefile.in -+++ binutils-2.34/gold/testsuite/Makefile.in +--- binutils-2.38/gold/testsuite/Makefile.in ++++ binutils-2.38/gold/testsuite/Makefile.in @@ -2625,7 +2625,7 @@ LIBS = @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ @@ -156,10 +130,10 @@ MERGE_CONSTANTS_FLAG = @MERGE_CONSTANTS_FLAG@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ -diff --git binutils-2.34/gprof/Makefile.in binutils-2.34/gprof/Makefile.in +diff --git binutils-2.38/gprof/Makefile.in binutils-2.38/gprof/Makefile.in index efc2b80eb8..012f186281 100644 ---- binutils-2.34/gprof/Makefile.in -+++ binutils-2.34/gprof/Makefile.in +--- binutils-2.38/gprof/Makefile.in ++++ binutils-2.38/gprof/Makefile.in @@ -349,7 +349,7 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ @@ -169,10 +143,10 @@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ -diff --git binutils-2.34/ld/Makefile.in binutils-2.34/ld/Makefile.in +diff --git binutils-2.38/ld/Makefile.in binutils-2.38/ld/Makefile.in index 46d9b14077..2f2b0ae3ce 100644 ---- binutils-2.34/ld/Makefile.in -+++ binutils-2.34/ld/Makefile.in +--- binutils-2.38/ld/Makefile.in ++++ binutils-2.38/ld/Makefile.in @@ -429,7 +429,7 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ @@ -182,10 +156,10 @@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ -diff --git binutils-2.34/libctf/Makefile.in binutils-2.34/libctf/Makefile.in +diff --git binutils-2.38/libctf/Makefile.in binutils-2.38/libctf/Makefile.in index 3e8a0172f7..32dc1f08f7 100644 ---- binutils-2.34/libctf/Makefile.in -+++ binutils-2.34/libctf/Makefile.in +--- binutils-2.38/libctf/Makefile.in ++++ binutils-2.38/libctf/Makefile.in @@ -328,7 +328,7 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ @@ -195,10 +169,10 @@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ -diff --git binutils-2.34/libiberty/Makefile.in binutils-2.34/libiberty/Makefile.in +diff --git binutils-2.38/libiberty/Makefile.in binutils-2.38/libiberty/Makefile.in index fe738d0db4..6d902c5b7b 100644 ---- binutils-2.34/libiberty/Makefile.in -+++ binutils-2.34/libiberty/Makefile.in +--- binutils-2.38/libiberty/Makefile.in ++++ binutils-2.38/libiberty/Makefile.in @@ -56,7 +56,7 @@ CC = @CC@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ @@ -208,10 +182,10 @@ PERL = @PERL@
PICFLAG = @PICFLAG@ -diff --git binutils-2.34/opcodes/Makefile.in binutils-2.34/opcodes/Makefile.in +diff --git binutils-2.38/opcodes/Makefile.in binutils-2.38/opcodes/Makefile.in index 8564803fc7..fa790026ac 100644 ---- binutils-2.34/opcodes/Makefile.in -+++ binutils-2.34/opcodes/Makefile.in +--- binutils-2.38/opcodes/Makefile.in ++++ binutils-2.38/opcodes/Makefile.in @@ -322,7 +322,7 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ @@ -221,10 +195,10 @@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ -diff --git binutils-2.34/zlib/Makefile.in binutils-2.34/zlib/Makefile.in +diff --git binutils-2.38/zlib/Makefile.in binutils-2.38/zlib/Makefile.in index 062dc04e80..4abb5ceeaa 100644 ---- binutils-2.34/zlib/Makefile.in -+++ binutils-2.34/zlib/Makefile.in +--- binutils-2.38/zlib/Makefile.in ++++ binutils-2.38/zlib/Makefile.in @@ -304,7 +304,7 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ diff --git a/util/crossgcc/sum/binutils-2.37.tar.xz.cksum b/util/crossgcc/sum/binutils-2.37.tar.xz.cksum deleted file mode 100644 index c9a5e55..0000000 --- a/util/crossgcc/sum/binutils-2.37.tar.xz.cksum +++ /dev/null @@ -1 +0,0 @@ -e9cf391b000010d6c752771974b394c9c743c928 tarballs/binutils-2.37.tar.xz diff --git a/util/crossgcc/sum/binutils-2.38.tar.xz.cksum b/util/crossgcc/sum/binutils-2.38.tar.xz.cksum new file mode 100644 index 0000000..989e076 --- /dev/null +++ b/util/crossgcc/sum/binutils-2.38.tar.xz.cksum @@ -0,0 +1 @@ +15d42de8f15404a4a43a912440cf367f994779d7 tarballs/binutils-2.38.tar.xz