This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [build] Move sync, mips16.S to toplevel libgcc
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Paolo Bonzini <bonzini at gnu dot org>, rdsandiford at googlemail dot com
- Date: Tue, 09 Aug 2011 14:14:34 +0200
- Subject: Re: [build] Move sync, mips16.S to toplevel libgcc
- References: <yddtyarv54u.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <yddliv9ukg8.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <87d3gipef7.fsf@firetop.home>
Richard Sandiford <rdsandiford@googlemail.com> writes:
>> 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.
Fine, thanks for testing.
>> 2011-07-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
>>
>> 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.
Paolo, are you ok with the build parts?
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University