Commit 3da4a68a by Monk Chiang Committed by Chung-Ju Wu

[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
parent 0398ae78
2019-04-15 Monk Chiang <sh.chiang04@gmail.com> 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
* config.gcc (nds32*-*-linux*): Set gcc_cv_initfini_array to yes.
2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
Kito Cheng <kito.cheng@gmail.com> Kito Cheng <kito.cheng@gmail.com>
Shiva Chen <shiva0217@gmail.com> Shiva Chen <shiva0217@gmail.com>
......
...@@ -2487,6 +2487,7 @@ nds32*-*-*) ...@@ -2487,6 +2487,7 @@ nds32*-*-*)
nds32*-*-linux*) 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" 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" tmake_file="${tmake_file} nds32/t-nds32 nds32/t-linux"
gcc_cv_initfini_array=yes
;; ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment