Add visibility to libfunc constructors
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 31 Oct 2018 23:12:14 +0000 (23:12 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 31 Oct 2018 23:12:14 +0000 (16:12 -0700)
commita3ace685830da611697d0b9721ca675f3ae13766
treea8c3ef7ca75d3c88a15f28bb5ca635ca058e3bc7
parent53de1ea800db54b47290d578c43892799b66c8dc
Add visibility to libfunc constructors

* optabs-libfuncs.c (build_libfunc_function_visibility):
New, split out from...
(build_libfunc_function): ... here.
(init_one_libfunc_visibility): New, split out from ...
(init_one_libfunc): ... here.

From-SVN: r265704
gcc/ChangeLog
gcc/optabs-libfuncs.c
gcc/optabs-libfuncs.h