From patchwork Thu Oct 6 13:29:58 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [build] Restore FreeBSD/SPARC bootstrap (PR bootstrap/49804) Date: Thu, 06 Oct 2011 03:29:58 -0000 From: Rainer Orth X-Patchwork-Id: 118096 Message-Id: To: gcc-patches@gcc.gnu.org Cc: Paolo Bonzini , "Loren J. Rittle" 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 PR bootstrap/49804 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to extra_parts. # 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"