Hi,

I would like to apply the patch below to trunk and gcc-4.7-branch.

This patch was originalyl submitted by Joel Sherrill back in May (http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01180.html),
but had never received any feedback.

It has been part of the rtems-gcc patches, since then.

Ralf
2012-05-16  Joel Sherrill <joel.sherr...@oarcorp.com>

	* config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
     	as extra_parts.

diff --git a/libgcc/config.host b/libgcc/config.host
index 051d6b0..bbf21a9 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -693,6 +693,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

Reply via email to