Skip to content

Commit 3f07f86

Browse files
author
Claudiu Zissulescu
committed
Merge with gcc 4.8.3 mainline label
2 parents 57df74a + 6bbf0de commit 3f07f86

File tree

1,104 files changed

+53930
-10141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,104 files changed

+53930
-10141
lines changed

ChangeLog

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
2014-05-22 Release Manager
2+
3+
* GCC 4.8.3 released.
4+
5+
2014-04-04 Bill Schmidt <[email protected]>
6+
7+
Backport from mainline
8+
2013-11-15 Ulrich Weigand <[email protected]>
9+
10+
* libtool.m4: Update to mainline version.
11+
* configure: Regenerate.
12+
13+
2014-04-04 Bill Schmidt <[email protected]>
14+
15+
Backport from mainline r203071:
16+
17+
2013-10-01 Joern Rennecke <[email protected]>
18+
19+
Import from savannah.gnu.org:
20+
* config.guess: Update to 2013-06-10 version.
21+
* config.sub: Update to 2013-10-01 version.
22+
123
2013-10-16 Release Manager
224

325
* GCC 4.8.2 released.

boehm-gc/ChangeLog

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
2014-05-22 Release Manager
2+
3+
* GCC 4.8.3 released.
4+
5+
2014-04-04 Bill Schmidt <[email protected]>
6+
7+
Backport from mainline
8+
2013-11-15 Ulrich Weigand <[email protected]>
9+
10+
* configure: Regenerate.
11+
12+
2013-12-29 Andreas Tobler <[email protected]>
13+
14+
Merge from trunk:
15+
* include/private/gcconfig.h: Add FreeBSD powerpc64 defines.
16+
117
2013-10-16 Release Manager
218

319
* GCC 4.8.2 released.

boehm-gc/configure

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6770,7 +6770,7 @@ ia64-*-hpux*)
67706770
rm -rf conftest*
67716771
;;
67726772

6773-
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6773+
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
67746774
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
67756775
# Find out which ABI we are using.
67766776
echo 'int i;' > conftest.$ac_ext
@@ -6795,7 +6795,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
67956795
;;
67966796
esac
67976797
;;
6798-
ppc64-*linux*|powerpc64-*linux*)
6798+
powerpc64le-*linux*)
6799+
LD="${LD-ld} -m elf32lppclinux"
6800+
;;
6801+
powerpc64-*linux*)
67996802
LD="${LD-ld} -m elf32ppclinux"
68006803
;;
68016804
s390x-*linux*)
@@ -6814,7 +6817,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
68146817
x86_64-*linux*)
68156818
LD="${LD-ld} -m elf_x86_64"
68166819
;;
6817-
ppc*-*linux*|powerpc*-*linux*)
6820+
powerpcle-*linux*)
6821+
LD="${LD-ld} -m elf64lppc"
6822+
;;
6823+
powerpc-*linux*)
68186824
LD="${LD-ld} -m elf64ppc"
68196825
;;
68206826
s390*-*linux*|s390*-*tpf*)
@@ -11312,7 +11318,7 @@ else
1131211318
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1131311319
lt_status=$lt_dlunknown
1131411320
cat > conftest.$ac_ext <<_LT_EOF
11315-
#line 11315 "configure"
11321+
#line 11321 "configure"
1131611322
#include "confdefs.h"
1131711323

1131811324
#if HAVE_DLFCN_H
@@ -11418,7 +11424,7 @@ else
1141811424
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1141911425
lt_status=$lt_dlunknown
1142011426
cat > conftest.$ac_ext <<_LT_EOF
11421-
#line 11421 "configure"
11427+
#line 11427 "configure"
1142211428
#include "confdefs.h"
1142311429

1142411430
#if HAVE_DLFCN_H

boehm-gc/include/private/gcconfig.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,15 @@
837837
# define NO_PTHREAD_TRYLOCK
838838
# endif
839839
# ifdef FREEBSD
840+
# if defined(__powerpc64__)
841+
# define ALIGNMENT 8
842+
# define CPP_WORDSZ 64
843+
# ifndef HBLKSIZE
844+
# define HBLKSIZE 4096
845+
# endif
846+
# else
840847
# define ALIGNMENT 4
848+
# endif
841849
# define OS_TYPE "FREEBSD"
842850
# ifndef GC_FREEBSD_THREADS
843851
# define MPROTECT_VDB

config.guess

Lines changed: 86 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#! /bin/sh
22
# Attempt to guess a canonical system name.
3-
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4-
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5-
# 2011, 2012, 2013 Free Software Foundation, Inc.
3+
# Copyright 1992-2013 Free Software Foundation, Inc.
64

7-
timestamp='2012-12-30'
5+
timestamp='2013-06-10'
86

97
# This file is free software; you can redistribute it and/or modify it
108
# under the terms of the GNU General Public License as published by
@@ -52,9 +50,7 @@ version="\
5250
GNU config.guess ($timestamp)
5351
5452
Originally written by Per Bothner.
55-
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
56-
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
57-
2012, 2013 Free Software Foundation, Inc.
53+
Copyright 1992-2013 Free Software Foundation, Inc.
5854
5955
This is free software; see the source for copying conditions. There is NO
6056
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -136,6 +132,27 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
136132
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
137133
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
138134

135+
case "${UNAME_SYSTEM}" in
136+
Linux|GNU|GNU/*)
137+
# If the system lacks a compiler, then just pick glibc.
138+
# We could probably try harder.
139+
LIBC=gnu
140+
141+
eval $set_cc_for_build
142+
cat <<-EOF > $dummy.c
143+
#include <features.h>
144+
#if defined(__UCLIBC__)
145+
LIBC=uclibc
146+
#elif defined(__dietlibc__)
147+
LIBC=dietlibc
148+
#else
149+
LIBC=gnu
150+
#endif
151+
EOF
152+
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
153+
;;
154+
esac
155+
139156
# Note: order is significant - the case branches are not exclusive.
140157

141158
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
@@ -857,21 +874,21 @@ EOF
857874
exit ;;
858875
*:GNU:*:*)
859876
# the GNU system
860-
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
877+
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
861878
exit ;;
862879
*:GNU/*:*:*)
863880
# other systems with GNU libc and userland
864-
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
881+
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
865882
exit ;;
866883
i*86:Minix:*:*)
867884
echo ${UNAME_MACHINE}-pc-minix
868885
exit ;;
869886
aarch64:Linux:*:*)
870-
echo ${UNAME_MACHINE}-unknown-linux-gnu
887+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
871888
exit ;;
872889
aarch64_be:Linux:*:*)
873890
UNAME_MACHINE=aarch64_be
874-
echo ${UNAME_MACHINE}-unknown-linux-gnu
891+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
875892
exit ;;
876893
alpha:Linux:*:*)
877894
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
@@ -884,59 +901,54 @@ EOF
884901
EV68*) UNAME_MACHINE=alphaev68 ;;
885902
esac
886903
objdump --private-headers /bin/sh | grep -q ld.so.1
887-
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
888-
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
904+
if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
905+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
906+
exit ;;
907+
arc:Linux:*:* | arceb:Linux:*:*)
908+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
889909
exit ;;
890910
arm*:Linux:*:*)
891911
eval $set_cc_for_build
892912
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
893913
| grep -q __ARM_EABI__
894914
then
895-
echo ${UNAME_MACHINE}-unknown-linux-gnu
915+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
896916
else
897917
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
898918
| grep -q __ARM_PCS_VFP
899919
then
900-
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
920+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
901921
else
902-
echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
922+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
903923
fi
904924
fi
905925
exit ;;
906926
avr32*:Linux:*:*)
907-
echo ${UNAME_MACHINE}-unknown-linux-gnu
927+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
908928
exit ;;
909929
cris:Linux:*:*)
910-
echo ${UNAME_MACHINE}-axis-linux-gnu
930+
echo ${UNAME_MACHINE}-axis-linux-${LIBC}
911931
exit ;;
912932
crisv32:Linux:*:*)
913-
echo ${UNAME_MACHINE}-axis-linux-gnu
933+
echo ${UNAME_MACHINE}-axis-linux-${LIBC}
914934
exit ;;
915935
frv:Linux:*:*)
916-
echo ${UNAME_MACHINE}-unknown-linux-gnu
936+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
917937
exit ;;
918938
hexagon:Linux:*:*)
919-
echo ${UNAME_MACHINE}-unknown-linux-gnu
939+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
920940
exit ;;
921941
i*86:Linux:*:*)
922-
LIBC=gnu
923-
eval $set_cc_for_build
924-
sed 's/^ //' << EOF >$dummy.c
925-
#ifdef __dietlibc__
926-
LIBC=dietlibc
927-
#endif
928-
EOF
929-
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
930-
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
942+
echo ${UNAME_MACHINE}-pc-linux-${LIBC}
931943
exit ;;
932944
ia64:Linux:*:*)
933-
echo ${UNAME_MACHINE}-unknown-linux-gnu
945+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
934946
exit ;;
935947
m32r*:Linux:*:*)
936-
echo ${UNAME_MACHINE}-unknown-linux-gnu
948+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
937949
exit ;;
938950
m68*:Linux:*:*)
939-
echo ${UNAME_MACHINE}-unknown-linux-gnu
951+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
940952
exit ;;
941953
mips:Linux:*:* | mips64:Linux:*:*)
942954
eval $set_cc_for_build
@@ -955,54 +967,63 @@ EOF
955967
#endif
956968
EOF
957969
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
958-
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
970+
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
959971
;;
972+
or1k:Linux:*:*)
973+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
974+
exit ;;
960975
or32:Linux:*:*)
961-
echo ${UNAME_MACHINE}-unknown-linux-gnu
976+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
962977
exit ;;
963978
padre:Linux:*:*)
964-
echo sparc-unknown-linux-gnu
979+
echo sparc-unknown-linux-${LIBC}
965980
exit ;;
966981
parisc64:Linux:*:* | hppa64:Linux:*:*)
967-
echo hppa64-unknown-linux-gnu
982+
echo hppa64-unknown-linux-${LIBC}
968983
exit ;;
969984
parisc:Linux:*:* | hppa:Linux:*:*)
970985
# Look for CPU level
971986
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
972-
PA7*) echo hppa1.1-unknown-linux-gnu ;;
973-
PA8*) echo hppa2.0-unknown-linux-gnu ;;
974-
*) echo hppa-unknown-linux-gnu ;;
987+
PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
988+
PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
989+
*) echo hppa-unknown-linux-${LIBC} ;;
975990
esac
976991
exit ;;
977992
ppc64:Linux:*:*)
978-
echo powerpc64-unknown-linux-gnu
993+
echo powerpc64-unknown-linux-${LIBC}
979994
exit ;;
980995
ppc:Linux:*:*)
981-
echo powerpc-unknown-linux-gnu
996+
echo powerpc-unknown-linux-${LIBC}
997+
exit ;;
998+
ppc64le:Linux:*:*)
999+
echo powerpc64le-unknown-linux-${LIBC}
1000+
exit ;;
1001+
ppcle:Linux:*:*)
1002+
echo powerpcle-unknown-linux-${LIBC}
9821003
exit ;;
9831004
s390:Linux:*:* | s390x:Linux:*:*)
984-
echo ${UNAME_MACHINE}-ibm-linux
1005+
echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
9851006
exit ;;
9861007
sh64*:Linux:*:*)
987-
echo ${UNAME_MACHINE}-unknown-linux-gnu
1008+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9881009
exit ;;
9891010
sh*:Linux:*:*)
990-
echo ${UNAME_MACHINE}-unknown-linux-gnu
1011+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9911012
exit ;;
9921013
sparc:Linux:*:* | sparc64:Linux:*:*)
993-
echo ${UNAME_MACHINE}-unknown-linux-gnu
1014+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9941015
exit ;;
9951016
tile*:Linux:*:*)
996-
echo ${UNAME_MACHINE}-unknown-linux-gnu
1017+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9971018
exit ;;
9981019
vax:Linux:*:*)
999-
echo ${UNAME_MACHINE}-dec-linux-gnu
1020+
echo ${UNAME_MACHINE}-dec-linux-${LIBC}
10001021
exit ;;
10011022
x86_64:Linux:*:*)
1002-
echo ${UNAME_MACHINE}-unknown-linux-gnu
1023+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
10031024
exit ;;
10041025
xtensa*:Linux:*:*)
1005-
echo ${UNAME_MACHINE}-unknown-linux-gnu
1026+
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
10061027
exit ;;
10071028
i*86:DYNIX/ptx:4*:*)
10081029
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -1235,19 +1256,21 @@ EOF
12351256
exit ;;
12361257
*:Darwin:*:*)
12371258
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1238-
case $UNAME_PROCESSOR in
1239-
i386)
1240-
eval $set_cc_for_build
1241-
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1242-
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1243-
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1244-
grep IS_64BIT_ARCH >/dev/null
1245-
then
1246-
UNAME_PROCESSOR="x86_64"
1247-
fi
1248-
fi ;;
1249-
unknown) UNAME_PROCESSOR=powerpc ;;
1250-
esac
1259+
eval $set_cc_for_build
1260+
if test "$UNAME_PROCESSOR" = unknown ; then
1261+
UNAME_PROCESSOR=powerpc
1262+
fi
1263+
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1264+
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1265+
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1266+
grep IS_64BIT_ARCH >/dev/null
1267+
then
1268+
case $UNAME_PROCESSOR in
1269+
i386) UNAME_PROCESSOR=x86_64 ;;
1270+
powerpc) UNAME_PROCESSOR=powerpc64 ;;
1271+
esac
1272+
fi
1273+
fi
12511274
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
12521275
exit ;;
12531276
*:procnto*:*:* | *:QNX:[0123456789]*:*)

0 commit comments

Comments
 (0)