This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [build] Move sync, mips16.S to toplevel libgcc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]