Message ID | 578F7E80.6010704@arm.com |
---|---|
State | New |
Headers | show |
On 20/07/16 14:37, Szabolcs Nagy wrote: > Musl libc does not support gnu ifunc, so disable it by default. > (not disabled on s390-* since that has no musl support yet.) > > gcc/ > 2016-07-20 Szabolcs Nagy <szabolcs.nagy@arm.com> > > * config.gcc (*-*-*musl*): Disable gnu-indirect-function. > ping
On 07/20/2016 03:37 PM, Szabolcs Nagy wrote: > Musl libc does not support gnu ifunc, so disable it by default. > (not disabled on s390-* since that has no musl support yet.) > > gcc/ > 2016-07-20 Szabolcs Nagy <szabolcs.nagy@arm.com> > > * config.gcc (*-*-*musl*): Disable gnu-indirect-function. Ok I suppose? I'm assuming you know best. Bernd
diff --git a/gcc/config.gcc b/gcc/config.gcc index 1f75f17..f3f6e14 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