libgcc/ChangeLog:

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

---
 libgcc/config.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgcc/config.host b/libgcc/config.host
index 7a3e29d..dbb378f 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -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"
-- 
1.9.1

Reply via email to