This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] all: add binutils 2.22


# HG changeset patch
# User Titus von Boxberg <titus@v9g.de>
# Date 1322512028 -3600
# Node ID d68065310e14c15325f93e0749d84feb2e82c632
# Parent  49af7802dcd538ec3cb64337030b03ac2c6344d2
all: add binutils 2.22

Enable (EXPERIMENTAL) selection of binutils 2.22

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>

diff -r 49af7802dcd5 -r d68065310e14 config/binutils/binutils.in
--- a/config/binutils/binutils.in	Tue Nov 22 10:08:10 2011 +0100
+++ b/config/binutils/binutils.in	Mon Nov 28 21:27:08 2011 +0100
@@ -8,6 +8,12 @@
 # Don't remove next line
 # CT_INSERT_VERSION_BELOW
 
+config BINUTILS_V_2_22
+    bool
+    prompt "2.22 (EXPERIMENTAL)"
+    depends on EXPERIMENTAL
+    select BINUTILS_2_22_or_later
+
 config BINUTILS_V_2_21_53
     bool
     prompt "2.21.53 (EXPERIMENTAL)"
@@ -50,6 +56,7 @@
     string
 # Don't remove next line
 # CT_INSERT_VERSION_STRING_BELOW
+    default "2.22" if BINUTILS_V_2_22
     default "2.21.53" if BINUTILS_V_2_21_53
     default "2.21.1a" if BINUTILS_V_2_21_1a
     default "2.20.1a" if BINUTILS_V_2_20_1a
@@ -58,6 +65,12 @@
     default "2.17a" if BINUTILS_V_2_17a
     default "2.16.1a" if BINUTILS_V_2_16_1a
 
+config BINUTILS_2_22_or_later
+    bool
+    select BINUTILS_2_21_or_later
+    select BINUTILS_HAS_GOLD
+    select BINUTILS_HAS_PLUGINS
+
 config BINUTILS_2_21_or_later
     bool
     select BINUTILS_2_20_or_later
diff -r 49af7802dcd5 -r d68065310e14 scripts/addToolVersion.sh
--- a/scripts/addToolVersion.sh	Tue Nov 22 10:08:10 2011 +0100
+++ b/scripts/addToolVersion.sh	Mon Nov 28 21:27:08 2011 +0100
@@ -127,7 +127,9 @@
             # Extract 'M'ajor and 'm'inor from version string
             ver_M=$(getVersionField "${version}" . 1)
             ver_m=$(getVersionField "${version}" . 2)
-            if [   \( ${ver_M} -eq 2 -a ${ver_m} -eq 21 \)  ]; then
+            if [   \( ${ver_M} -eq 2 -a ${ver_m} -eq 22 \)  ]; then
+                SedExpr1="${SedExpr1}\n    select BINUTILS_2_22_or_later"
+            elif [   \( ${ver_M} -eq 2 -a ${ver_m} -eq 21 \)  ]; then
                 SedExpr1="${SedExpr1}\n    select BINUTILS_2_21_or_later"
             elif [ \( ${ver_M} -eq 2 -a ${ver_m} -eq 20 \)  ]; then
                 SedExpr1="${SedExpr1}\n    select BINUTILS_2_20_or_later"

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]