From: Szabolcs Nagy Date: Tue, 30 Aug 2016 10:26:22 +0000 (+0000) Subject: disable ifunc on *-musl by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5aadf16cbe471974176e07dfcc3d87b0c681d2a6;p=gcc.git disable ifunc on *-musl by default gcc/ * config.gcc (*-*-*musl*): Disable gnu-indirect-function. From-SVN: r239859 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d1cabe0ea4..194aab31f38 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-08-30 Szabolcs Nagy + + * config.gcc (*-*-*musl*): Disable gnu-indirect-function. + 2016-08-30 Eric Botcazou * postreload-gcse.c (bb_has_well_behaved_predecessors): Tweak criterion diff --git a/gcc/config.gcc b/gcc/config.gcc index 8827dc830d3..e544d767b4e 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1465,7 +1465,7 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-gnu* | i[34567]8 extra_options="${extra_options} linux-android.opt" # Assume modern glibc if not targeting Android nor uclibc. case ${target} in - *-*-*android*|*-*-*uclibc*) + *-*-*android*|*-*-*uclibc*|*-*-*musl*) ;; *) default_gnu_indirect_function=yes @@ -1531,7 +1531,7 @@ x86_64-*-linux* | x86_64-*-kfreebsd*-gnu) extra_options="${extra_options} linux-android.opt" # Assume modern glibc if not targeting Android nor uclibc. case ${target} in - *-*-*android*|*-*-*uclibc*) + *-*-*android*|*-*-*uclibc*|*-*-*musl*) ;; *) default_gnu_indirect_function=yes