* [PATCH, csky] Force .init_array suppor for GLIBC
@ 2018-12-05 1:50 瞿仙淼
0 siblings, 0 replies; only message in thread
From: 瞿仙淼 @ 2018-12-05 1:50 UTC (permalink / raw)
To: GCC Patches; +Cc: yunhai_shang, Han Mao, Sandra Loosemore
Hi,
I have submitted a patch to force .init_array suppor for GLIBC
Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog (revision 266812)
+++ gcc/ChangeLog (working copy)
@@ -1,3 +1,7 @@
+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
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc (revision 266812)
+++ gcc/config.gcc (working copy)
@@ -1356,6 +1356,9 @@ csky-*-*)
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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-12-05 1:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-05 1:50 [PATCH, csky] Force .init_array suppor for GLIBC 瞿仙淼
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).