This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix sparc-linux -m32 -mlong-double-128 support (take 2)
> From: Jakub Jelinek <firstname.lastname@example.org>
> Here is the patch I'd like to commit to trunk/3.4 (and similar change to
> 3.3, altough there is different libfunc registry), though I have no way
> to test this on Solaris. Kaveh/Eric or anybody else with Solaris,
> could you please give this patch a shot? Thanks.
> 2004-03-31 Jakub Jelinek <email@example.com>
> * config/sparc/sparc.h (DITF_CONVERSION_LIBFUNCS): Define to 0.
> * config/sparc/linux.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1.
> * config/sparc/linux64.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1.
> * config/sparc/sol2.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1.
> (SOLARIS_CONVERSION_LIBFUNCS): Rename to SUN_CONVERSION_LIBFUNCS.
> * config/sparc/sparc.c (sparc_init_libfuncs): Initialize optabs
> with _Q_qtoll, _Q_qtoull and _Q_lltoq if DITF_CONVERSION_LIBFUNCS.
> * config.gcc (sparc-*-linux*): Revert 2004-03-23 change.
> * config/sparc/t-linux64 (TARGET_LIBGCC2_CFLAGS): Likewise.
> * config/sparc/t-linux: Removed.
Bootstrap on solaris2.7 against 3.4.x succeeded. I'll have the
testsuite results by tomorrow.
Kaveh R. Ghazi firstname.lastname@example.org