]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Handle tilegx* machine names.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 4 Nov 2016 13:32:06 +0000 (13:32 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 4 Nov 2016 13:32:06 +0000 (13:32 +0000)
This patch makes sysdeps/tile/preconfigure handle tilegx* machine
names instead of just plain tilegx.  That matches GCC, and in
particular allows a big-endian toolchain to use the tilegxbe-linux-gnu
name when configuring both GCC and glibc.

Tested with compilation for tilegxbe-linux-gnu, both 32-bit and 64-bit
(building a subsequent GCC against that glibc still falls over because
of both 32-bit and 64-bit libraries going in the lib directory, as
noted at
<https://sourceware.org/ml/libc-alpha/2016-11/msg00129.html>).

* sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.

ChangeLog
sysdeps/tile/preconfigure

index e37049d8e0caf97404cc0b5065400221fbb4f8b8..b6d2ba02d1f3013db93584a472da0d4713be7b87 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-04  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
+
 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
 
        * conform/Makefile ($(linknamespace-header-tests)): Also depend on
index dfe050cc6d018e676714014a16c96702c8c3e18c..f3e5d7edae5a31de441c2663f2cfea061ff6cfae 100644 (file)
@@ -2,7 +2,7 @@
 case "$machine" in
     tilepro)
        base_machine=tile machine=tile/tilepro ;;
-    tilegx)
+    tilegx*)
        base_machine=tile
        if $CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | grep -q __LP64__; then
            machine=tile/tilegx/tilegx64