diff mbox

[build] Restore FreeBSD/SPARC bootstrap (PR bootstrap/49804)

Message ID yddipo2cko9.fsf@manam.CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth Oct. 6, 2011, 1:29 p.m. UTC
As reported in the PR, FreeBSD/SPARC bootstrap is broken by one of my
previous libgcc patches.  While the crtstuff one will fix it, I'd like
to avoid breaking the target.

The following patch fixes the problem, as confirmed in the PR.

Ok for mainline?

	Rainer


2011-10-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR bootstrap/49804
	* config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
	extra_parts.

Comments

Paolo Bonzini Oct. 6, 2011, 1:37 p.m. UTC | #1
On 10/06/2011 03:29 PM, Rainer Orth wrote:
> As reported in the PR, FreeBSD/SPARC bootstrap is broken by one of my
> previous libgcc patches.  While the crtstuff one will fix it, I'd like
> to avoid breaking the target.
>
> The following patch fixes the problem, as confirmed in the PR.
>
> Ok for mainline?
>
> 	Rainer
>
>
> 2011-10-04  Rainer Orth<ro@CeBiTec.Uni-Bielefeld.DE>
>
> 	PR bootstrap/49804
> 	* config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
> 	extra_parts.
>
>
>
>
>
>

Ok.

Paolo
diff mbox

Patch

# HG changeset patch
# Parent a57e226a2b14812bfa3c37c1aa807f28fac223eb
Restore FreeBSD/SPARC bootstrap (PR bootstrap/49804)

diff --git a/libgcc/config.host b/libgcc/config.host
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -777,7 +777,7 @@  sparc-wrs-vxworks)
 	;;
 sparc64-*-freebsd*|ultrasparc-*-freebsd*)
 	tmake_file="$tmake_file t-crtfm"
-	extra_parts=crtfastmath.o
+	extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o crtfastmath.o"
 	;;
 sparc64-*-linux*)		# 64-bit SPARC's running GNU/Linux
 	extra_parts="$extra_parts crtfastmath.o"