2018-12-05 Xianmiao Qu <xianmiao_qu@c-sky.com>
gcc/
* config.gcc (csky-*-linux-gnu*): Force .init_array support.
From-SVN: r266813
+2018-12-05 Xianmiao Qu <xianmiao_qu@c-sky.com>
+
+ * config.gcc (csky-*-linux-gnu*): Force .init_array support.
+
2018-12-05 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.c (rs6000_function_arg): Only do the special
case ${target} in
csky-*-linux-gnu*)
tm_defines="$tm_defines DEFAULT_LIBC=LIBC_GLIBC"
+ # Force .init_array support. The configure script cannot always
+ # automatically detect that GAS supports it, yet we require it.
+ gcc_cv_initfini_array=yes
;;
csky-*-linux-uclibc*)
tm_defines="$tm_defines DEFAULT_LIBC=LIBC_UCLIBC"