From: Monk Chiang Date: Mon, 15 Apr 2019 08:05:03 +0000 (+0000) Subject: [NDS32] nds32*-*-linux* target using init_array/finit_array for ctor/dtor. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3da4a68a3edd25be6e7cfa34b6479dae01b6ba08;p=gcc.git [NDS32] nds32*-*-linux* target using init_array/finit_array for ctor/dtor. gcc/ * config.gcc (nds32*-*-linux*): Set gcc_cv_initfini_array to yes. From-SVN: r270362 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a6eadedb57f..2946beced27 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-04-15 Monk Chiang + + * config.gcc (nds32*-*-linux*): Set gcc_cv_initfini_array to yes. + 2019-04-15 Monk Chiang Kito Cheng Shiva Chen diff --git a/gcc/config.gcc b/gcc/config.gcc index ebbab5d8b6a..09fb9ecd2cd 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2487,6 +2487,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