config.gcc (i[34567]86-*-linux*): Set default_gnu_indirect_function to yes.
authorUros Bizjak <ubizjak@gmail.com>
Fri, 22 Jul 2011 15:21:57 +0000 (17:21 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 22 Jul 2011 15:21:57 +0000 (17:21 +0200)
* config.gcc (i[34567]86-*-linux*): Set
default_gnu_indirect_function to yes.

From-SVN: r176628

gcc/ChangeLog
gcc/config.gcc

index cb9c3ae8d9421ee8efd55e9c784c92dfd9e591d0..1712cc836e81aba2bbedf3878d81221a52a4068b 100644 (file)
@@ -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
        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>
index 4a16ff836bee66e74459ce9f9a2fcb2785b6b309..2eca5a91de4f07c88b5e4ad66a871e27d20f75c7 100644 (file)
@@ -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}"