diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/linux.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 194aab3..4dbc7b8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2016-08-30 Szabolcs Nagy <szabolcs.nagy@arm.com> + * config/linux.c (linux_libc_has_function): Return true on musl. + +2016-08-30 Szabolcs Nagy <szabolcs.nagy@arm.com> + * config.gcc (*-*-*musl*): Disable gnu-indirect-function. 2016-08-30 Eric Botcazou <ebotcazou@adacore.com> diff --git a/gcc/config/linux.c b/gcc/config/linux.c index 250296b..16c3768 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 |