C-SKY: Enable crtbegin/crtend.o of libgcc for elf target
authorJojo R <jiejie_rong@c-sky.com>
Wed, 16 Sep 2020 10:34:41 +0000 (18:34 +0800)
committerXianmiao Qu <xianmiao_qu@c-sky.com>
Wed, 16 Sep 2020 11:34:02 +0000 (19:34 +0800)
libgcc/ChangeLog:

* config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.

libgcc/config.host

index 7a3e29d0c71cdb5d185e149d2ae44323ec5beed2..dbb378f6756c5d4e8971d2cf157dfa6ee7535705 100644 (file)
@@ -579,7 +579,7 @@ cris-*-elf)
        ;;
 csky-*-elf*)
        tmake_file="csky/t-csky t-fdpbit"
-       extra_parts="$extra_parts crti.o crtn.o"
+       extra_parts="crtbegin.o crtend.o crti.o crtn.o"
        ;;
 csky-*-linux*)
        tmake_file="$tmake_file csky/t-csky t-slibgcc-libgcc t-fdpbit csky/t-linux-csky"