From: Uros Bizjak Date: Fri, 22 Jul 2011 15:21:57 +0000 (+0200) Subject: config.gcc (i[34567]86-*-linux*): Set default_gnu_indirect_function to yes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63708bf57007b54c876f6edfc91b5990bd3ea1a2;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb9c3ae8d94..1712cc836e8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-07-22 Uros Bizjak + + * config.gcc (i[34567]86-*-linux*): Set + default_gnu_indirect_function to yes. + 2011-07-22 Richard Guenther 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 - + * config/avr/avr.c (final_prescan_insn): Fix printing of rtx_costs. 2011-07-21 Jason Merrill diff --git a/gcc/config.gcc b/gcc/config.gcc index 4a16ff836be..2eca5a91de4 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}"