aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2011-07-22 17:21:57 +0200
committerUros Bizjak <uros@gcc.gnu.org>2011-07-22 17:21:57 +0200
commit63708bf57007b54c876f6edfc91b5990bd3ea1a2 (patch)
treed21426878cf3f34cffc203372a4142a574a4a339
parent4ebb4fbf5da63f6ec8286f8f120c0e52995b8c5f (diff)
downloadgcc-63708bf57007b54c876f6edfc91b5990bd3ea1a2.zip
gcc-63708bf57007b54c876f6edfc91b5990bd3ea1a2.tar.gz
gcc-63708bf57007b54c876f6edfc91b5990bd3ea1a2.tar.bz2
config.gcc (i[34567]86-*-linux*): Set default_gnu_indirect_function to yes.
* config.gcc (i[34567]86-*-linux*): Set default_gnu_indirect_function to yes. From-SVN: r176628
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config.gcc30
2 files changed, 29 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cb9c3ae..1712cc8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-22 Uros Bizjak <ubizjak@gmail.com>
+
+ * config.gcc (i[34567]86-*-linux*): Set
+ default_gnu_indirect_function to yes.
+
2011-07-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/45819
@@ -181,9 +186,9 @@
PR tree-optimization/49749
* tree-ssa-reassoc.c (get_rank): Fix operand scan conditions and
remove no-longer-used maxrank variable.
-
+
2011-07-21 Georg-Johann Lay <avr@gjlay.de>
-
+
* config/avr/avr.c (final_prescan_insn): Fix printing of rtx_costs.
2011-07-21 Jason Merrill <jason@redhat.com>
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 4a16ff8..2eca5a9 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1312,10 +1312,18 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i
tm_file="${tm_file} i386/gnu-user.h i386/linux.h"
fi
;;
- i[34567]86-*-knetbsd*-gnu) tm_file="${tm_file} i386/gnu-user.h knetbsd-gnu.h i386/knetbsd-gnu.h" ;;
- i[34567]86-*-kfreebsd*-gnu) tm_file="${tm_file} i386/gnu-user.h kfreebsd-gnu.h i386/kfreebsd-gnu.h" ;;
- i[34567]86-*-kopensolaris*-gnu) tm_file="${tm_file} i386/gnu-user.h kopensolaris-gnu.h i386/kopensolaris-gnu.h" ;;
- i[34567]86-*-gnu*) tm_file="$tm_file i386/gnu-user.h gnu.h i386/gnu.h";;
+ i[34567]86-*-knetbsd*-gnu)
+ tm_file="${tm_file} i386/gnu-user.h knetbsd-gnu.h i386/knetbsd-gnu.h"
+ ;;
+ i[34567]86-*-kfreebsd*-gnu)
+ tm_file="${tm_file} i386/gnu-user.h kfreebsd-gnu.h i386/kfreebsd-gnu.h"
+ ;;
+ i[34567]86-*-kopensolaris*-gnu)
+ tm_file="${tm_file} i386/gnu-user.h kopensolaris-gnu.h i386/kopensolaris-gnu.h"
+ ;;
+ i[34567]86-*-gnu*)
+ tm_file="$tm_file i386/gnu-user.h gnu.h i386/gnu.h"
+ ;;
esac
tmake_file="${tmake_file} i386/t-crtstuff"
# This is a hack to avoid a configuration mismatch
@@ -1327,10 +1335,16 @@ x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
i386/x86-64.h i386/gnu-user64.h"
case ${target} in
x86_64-*-linux*)
- tm_file="${tm_file} linux.h i386/linux64.h"
- default_gnu_indirect_function=glibc-2011 ;;
- x86_64-*-kfreebsd*-gnu) tm_file="${tm_file} kfreebsd-gnu.h i386/kfreebsd-gnu64.h" ;;
- x86_64-*-knetbsd*-gnu) tm_file="${tm_file} knetbsd-gnu.h" ;;
+ tm_file="${tm_file} linux.h i386/linux64.h"
+ # Assume modern glibc
+ default_gnu_indirect_function=yes
+ ;;
+ x86_64-*-kfreebsd*-gnu)
+ tm_file="${tm_file} kfreebsd-gnu.h i386/kfreebsd-gnu64.h"
+ ;;
+ x86_64-*-knetbsd*-gnu)
+ tm_file="${tm_file} knetbsd-gnu.h"
+ ;;
esac
tmake_file="${tmake_file} i386/t-linux64 i386/t-crtstuff"
x86_multilibs="${with_multilib_list}"