From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20789 invoked by alias); 6 Aug 2011 18:45:35 -0000 Received: (qmail 20781 invoked by uid 22791); 6 Aug 2011 18:45:35 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ww0-f51.google.com (HELO mail-ww0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 06 Aug 2011 18:45:21 +0000 Received: by wwi18 with SMTP id 18so3161253wwi.8 for ; Sat, 06 Aug 2011 11:45:20 -0700 (PDT) Received: by 10.227.178.203 with SMTP id bn11mr2990143wbb.51.1312656319709; Sat, 06 Aug 2011 11:45:19 -0700 (PDT) Received: from localhost (rsandifo.gotadsl.co.uk [82.133.89.107]) by mx.google.com with ESMTPS id fg5sm416797wbb.40.2011.08.06.11.45.17 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 06 Aug 2011 11:45:18 -0700 (PDT) From: Richard Sandiford To: Rainer Orth Mail-Followup-To: Rainer Orth ,gcc-patches@gcc.gnu.org, Paolo Bonzini , rdsandiford@googlemail.com Cc: gcc-patches@gcc.gnu.org, Paolo Bonzini Subject: Re: [build] Move sync, mips16.S to toplevel libgcc References: Date: Sat, 06 Aug 2011 19:27:00 -0000 In-Reply-To: (Rainer Orth's message of "Thu, 04 Aug 2011 19:59:19 +0200") Message-ID: <87d3gipef7.fsf@firetop.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-08/txt/msg00714.txt.bz2 Rainer Orth writes: > Rainer Orth writes: >> Another easy part in the toplevel libgcc move was sync.c and related >> stuff. While doing this, it turned out to be easier to move the rest of >> gcc/config/mips/t-libgcc-mips16 rather than leave it behind. >> >> The patch is untested except for including it in a mips-sgi-irix6.5 >> build to make sure it is syntactically correct, but I don't have mips16 >> system to actually test. > > Since Richard had found that that patch didn't work on systems where > mips16.S is actually used since LIB1ASMSRC is only searched in > gcc/config, I'm deferring that part to a followup patch to deal with > libgcc1 (LIB1* etc.) as a whole. That patch is almost ready, just needs > a final read-over and a couple of finishing touches. > > So this patch only deals with the sync functions proper and should be > relatively straightforward. Richard, could you please try this one, > too? Sure. Tested on mips64-linux-gnu, where it works fine, thanks. > 2011-07-10 Rainer Orth > > gcc: > * config/sync.c: Move to ../libgcc. > * Makefile.in (libgcc.mvars): Remove LIBGCC_SYNC, > LIBGCC_SYNC_CFLAGS. > * config/mips/t-libgcc-mips16 (LIBGCC_SYNC, LIBGCC_SYNC_CFLAGS): > Remove. > > libgcc: > * sync.c: New file. > * config/mips/t-mips16: New file. > * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file. > (mips*-*-linux*): Likewise. > (mips*-sde-elf*): Likewise. > (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*, > mipsisa64-*-elf*, mipsisa64r2-*-elf*. > Add mips/t-mips16 to tmake_file. > (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file. > (mips-*-elf*): Likewise. > (mips64-*-elf*): Likewise. > (mips64orion-*-elf*): Likewise. > (mips*-*-rtems*): Likewise. > (mipstx39-*-elf*): Likewise. > * Makefile.in: Use SYNC instead of LIBGCC_SYNC. > ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of > LIBGCC_SYNC_CFLAGS. > Use $(srcdir) to refer to sync.c. > Use $<. > ($(libgcc-sync-funcs-o)): Likewise. > ($(libgcc-sync-size-funcs-s-o)): Likewise. > ($(libgcc-sync-funcs-s-o)): Likewise. OK for the MIPS parts. Richard