disable ifunc on *-musl by default
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 30 Aug 2016 10:26:22 +0000 (10:26 +0000)
committerSzabolcs Nagy <nsz@gcc.gnu.org>
Tue, 30 Aug 2016 10:26:22 +0000 (10:26 +0000)
gcc/
* config.gcc (*-*-*musl*): Disable gnu-indirect-function.

From-SVN: r239859

gcc/ChangeLog
gcc/config.gcc

index 6d1cabe0ea471b3cf73b9f40a387ced8232030bb..194aab31f38b9a680cab9ce75f3e4586b39c724f 100644 (file)
@@ -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
index 8827dc830d374c2512be5713d6dd143913f53c7d..e544d767b4e364c8853d7ece3bffac22840fd51b 100644 (file)
@@ -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