[PATCH 4/7] [NDS32] nds32*-linux target using init_array/finit_array for ctor/dtor.
Shiva Chen
shiva0217@gmail.com
Mon Apr 1 05:29:00 GMT 2019
LGTM.
Kito Cheng <kito@andestech.com> 於 2019年3月26日 週二 下午1:29寫道:
> 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
>
>
More information about the Gcc-patches
mailing list