diff mbox

[libgcc] sh-rtems: Add sh*-*-elf*'s extra_parts.

Message ID 5088BC28.9000700@rtems.org
State New
Headers show

Commit Message

Ralf Corsepius Oct. 25, 2012, 4:12 a.m. UTC
Hi,

I would like to apply the patch below to trunk and gcc-4.7 branch.
GCC doesn't build for sh-rtems* without it.

Ralf

Comments

Kaz Kojima Oct. 25, 2012, 7:36 a.m. UTC | #1
Ralf Corsepius <ralf.corsepius@rtems.org> wrote:
> I would like to apply the patch below to trunk and gcc-4.7 branch.
> GCC doesn't build for sh-rtems* without it.

OK.  Please go ahead.

Regards,
	kaz
Ralf Corsepius Oct. 25, 2012, 8:10 a.m. UTC | #2
On 10/25/2012 09:36 AM, Kaz Kojima wrote:
> Ralf Corsepius <ralf.corsepius@rtems.org> wrote:
>> I would like to apply the patch below to trunk and gcc-4.7 branch.
>> GCC doesn't build for sh-rtems* without it.
>
> OK.  Please go ahead.

Thanks, patch applied to trunk and gcc-4.7-branch.

Ralf
diff mbox

Patch

2012-07-10  Ralf Corsépius <ralf.corsepius@rtems.org>

	* config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts. 

diff --git a/libgcc/config.host b/libgcc/config.host
index ef9791b..6c5c825 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -995,7 +996,10 @@  sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
 sh-*-rtems*)
 	tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"
 	extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \
-		$sh_ic_extra_parts $sh_opt_extra_parts"
+		libic_invalidate_array_4-100.a \
+		libic_invalidate_array_4-200.a \
+		libic_invalidate_array_4a.a \
+		libgcc-Os-4-200.a libgcc-4-300.a"
 	;;
 sh-wrs-vxworks)
 	tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"