This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ARM/hard_vfp_4_4_branch] Fix build on SPARC.
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Kazu Hirata <kazu at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, richard dot earnshaw at arm dot com, rth at redhat dot com, davem at redhat dot com, jakub at redhat dot com, ebotcazou at libertysurf dot fr
- Date: Mon, 11 May 2009 15:50:25 +0000 (UTC)
- Subject: Re: [ARM/hard_vfp_4_4_branch] Fix build on SPARC.
- References: <20090415052240.4FDF46F62058@daisy.codesourcery.com>
On Tue, 14 Apr 2009, Kazu Hirata wrote:
> Hi,
>
> Attached is a patch to fix SPARC gcc build.
>
> On ARM/hard_vfp_4_4_branch, hard_libcall_value requires a libcall rtx
> as the second parameter although SPARC's LIBCALL_VALUE ignores the
> rtx.
>
> Tested by building gcc. OK to apply?
>
> Kazu Hirata
>
> 2009-04-15 Kazu Hirata <kazu@codesourcery.com>
>
> * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Pass a libcall
> SYMBOL_REF to hard_libcall_value.
I have committed this patch to the branch. It is fairly obvious, can't
possibly break ARM which is the main purpose of the branch, and will get a
proper review anyway when the branch is merged to mainline from whoever
reviews the non-ARM changes that will need review for the merge to
mainline.
--
Joseph S. Myers
joseph@codesourcery.com