aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2016-08-30 10:26:22 +0000
committerSzabolcs Nagy <nsz@gcc.gnu.org>2016-08-30 10:26:22 +0000
commit5aadf16cbe471974176e07dfcc3d87b0c681d2a6 (patch)
treebb690742e8c7021d75fd4ecee0e096ff1939f589 /gcc
parent8fa372320a8a4f94fb2b9755fb7cd20170e8e865 (diff)
downloadgcc-5aadf16cbe471974176e07dfcc3d87b0c681d2a6.zip
gcc-5aadf16cbe471974176e07dfcc3d87b0c681d2a6.tar.gz
gcc-5aadf16cbe471974176e07dfcc3d87b0c681d2a6.tar.bz2
disable ifunc on *-musl by default
gcc/ * config.gcc (*-*-*musl*): Disable gnu-indirect-function. From-SVN: r239859
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config.gcc4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6d1cabe..194aab3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2016-08-30 Szabolcs Nagy <szabolcs.nagy@arm.com>
+
+ * config.gcc (*-*-*musl*): Disable gnu-indirect-function.
+
2016-08-30 Eric Botcazou <ebotcazou@adacore.com>
* postreload-gcse.c (bb_has_well_behaved_predecessors): Tweak criterion
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 8827dc8..e544d76 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