From: Szabolcs Nagy Date: Tue, 30 Aug 2016 10:28:06 +0000 (+0000) Subject: report supported function classes correctly on *-musl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43ed860c2abbccdcc836bf68bd07d97f482924d1;p=gcc.git report supported function classes correctly on *-musl gcc/ * config/linux.c (linux_libc_has_function): Return true on musl. From-SVN: r239860 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 194aab31f38..4dbc7b8235a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-08-30 Szabolcs Nagy + + * config/linux.c (linux_libc_has_function): Return true on musl. + 2016-08-30 Szabolcs Nagy * config.gcc (*-*-*musl*): Disable gnu-indirect-function. diff --git a/gcc/config/linux.c b/gcc/config/linux.c index 250296bf425..16c37683b7d 100644 --- a/gcc/config/linux.c +++ b/gcc/config/linux.c @@ -26,7 +26,7 @@ along with GCC; see the file COPYING3. If not see bool linux_libc_has_function (enum function_class fn_class) { - if (OPTION_GLIBC) + if (OPTION_GLIBC || OPTION_MUSL) return true; if (OPTION_BIONIC) if (fn_class == function_c94