This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 4/7] [NDS32] nds32*-linux target using init_array/finit_array for ctor/dtor.
- From: Kito Cheng <kito at andestech dot com>
- To: Kito Cheng <kito dot cheng at gmail dot com>, Shiva Chen <shiva0217 at gmail dot com>, Chung-Ju Wu <jasonwucj at gmail dot com>, <gcc-patches at gcc dot gnu dot org>, Kuan-Lin Chen <kuanlinchentw at gmail dot com>
- Cc: Monk Chiang <monk at andestech dot com>
- Date: Tue, 26 Mar 2019 13:29:26 +0800
- Subject: [PATCH 4/7] [NDS32] nds32*-linux target using init_array/finit_array for ctor/dtor.
- References: <1553578169-75445-1-git-send-email-kito@andestech.com>
From: Monk Chiang <monk@andestech.com>
Monk Chiang <sh.chiang04@gmail.com>
ChangeLog
* config.gcc (nds32*-*-linux*): Set gcc_cv_initfini_array to yes.
---
gcc/config.gcc | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 3eb2e80..a6d63dd 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2486,6 +2486,7 @@ nds32*-*-*)
nds32*-*-linux*)
tm_file="dbxelf.h elfos.h ${tm_file} gnu-user.h linux.h glibc-stdint.h nds32/linux.h nds32/nds32_intrinsic.h"
tmake_file="${tmake_file} nds32/t-nds32 nds32/t-linux"
+ gcc_cv_initfini_array=yes
;;
esac
--
1.8.3.1