diff mbox

[libgcc] m32r*rtems* add crtinit.o and crtfinit.o

Message ID 508F7D6F.3010707@rtems.org
State New
Headers show

Commit Message

Ralf Corsepius Oct. 30, 2012, 7:10 a.m. UTC
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

Comments

Ian Lance Taylor Oct. 30, 2012, 6:03 p.m. UTC | #1
On Tue, Oct 30, 2012 at 12:10 AM, Ralf Corsepius
<ralf.corsepius@rtems.org> wrote:
>
> 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.

You are an RTEMS maintainer; you don't need any additional approval to
commit this patch to trunk.

Ian
Ralf Corsepius Oct. 31, 2012, 1:59 a.m. UTC | #2
On 10/30/2012 07:03 PM, Ian Lance Taylor wrote:
> On Tue, Oct 30, 2012 at 12:10 AM, Ralf Corsepius
> <ralf.corsepius@rtems.org> wrote:
>>
>> 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.
>
> You are an RTEMS maintainer; you don't need any additional approval to
> commit this patch to trunk.

... but I am not an m32r maintainer, who knows all glory details about 
the m32r :-)

Anyway, ... I'll apply this patch.

Ralf#
diff mbox

Patch

2012-05-16  Joel Sherrill <joel.sherrill@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