http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53314
Bug #: 53314 Summary: m32r-rtems does not provide crtinit.o and crtfini.o Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: j...@gcc.gnu.org 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