diff options
author | Monk Chiang <sh.chiang04@gmail.com> | 2019-04-15 08:05:03 +0000 |
---|---|---|
committer | Chung-Ju Wu <jasonwucj@gcc.gnu.org> | 2019-04-15 08:05:03 +0000 |
commit | 3da4a68a3edd25be6e7cfa34b6479dae01b6ba08 (patch) | |
tree | 491b37569a9318f655b682772c40d827a4aeb177 /gcc/config.gcc | |
parent | 0398ae783ab09680e3adab9f15b949b082935e6b (diff) | |
download | gcc-3da4a68a3edd25be6e7cfa34b6479dae01b6ba08.zip gcc-3da4a68a3edd25be6e7cfa34b6479dae01b6ba08.tar.gz gcc-3da4a68a3edd25be6e7cfa34b6479dae01b6ba08.tar.bz2 |
[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
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index ebbab5d..09fb9ec 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 |