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

login
register
mail settings
Submitter Ralf Corsepius
Date Oct. 30, 2012, 7:10 a.m.
Message ID <508F7D6F.3010707@rtems.org>
Download mbox | patch
Permalink /patch/195316/
State New
Headers show

Comments

Ralf Corsepius - Oct. 30, 2012, 7:10 a.m.
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
Ian Taylor - Oct. 30, 2012, 6:03 p.m.
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.
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#

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