Unfortunately libgcc is not a component to select. :( The extra_parts line was lost in the move of libgcc configuration to its own directory. m32r-*-rtems*) tmake_file="$tmake_file m32r/t-m32r t-fdpbit" extra_parts="$extra_parts crtinit.o crtfini.o" ;; Is this OK for the 4.7 branch and the head? RTEMS builds using this on the head. diff --git a/libgcc/config.host b/libgcc/config.host index 14c705b..b79f321 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -679,6 +682,7 @@ m32r-*-elf*) ;; m32r-*-rtems*) tmake_file="$tmake_file m32r/t-m32r t-fdpbit" + extra_parts="$extra_parts crtinit.o crtfini.o" ;; m32rle-*-elf*) tmake_file=t-fdpbit
Forgot the ChangeLog entry. 2012-05-16 Joel Sherrill <joel.sherrill@oarcorp.com> * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o as extra_parts.
I committed a fix for this in 2012 but this PR didn't get closed.