diff mbox

[nios2,committed] Fix nios2-linux crti/crtn settings

Message ID 55127544.8070502@codesourcery.com
State New
Headers show

Commit Message

Chung-Lin Tang March 25, 2015, 8:43 a.m. UTC
We appear to have erroneously set 'extra_parts' in nios2-linux libgcc,
to include the crti.o/crtn.o files intended for nios2 EABI. This still
largely worked, which is why we haven't noticed it till now, expect some
features like gprof profiling wasn't properly set up.

This patch removes the extra_parts setting for nios2-linux libgcc; now
crti.o/crtn.o links to the correct ones provided by glibc.

Chung-Lin

2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>

	libgcc/
	* config.host (nios2-*-linux*): Remove 'extra_parts' setting.
diff mbox

Patch

Index: config.host
===================================================================
--- config.host	(revision 221651)
+++ config.host	(working copy)
@@ -943,7 +943,6 @@  nds32*-elf*)
 	;;
 nios2-*-linux*)
 	tmake_file="$tmake_file nios2/t-nios2 nios2/t-linux t-libgcc-pic t-slibgcc-libgcc"
-	extra_parts="$extra_parts crti.o crtn.o"
 	md_unwind_header=nios2/linux-unwind.h
 	;;
 nios2-*-*)