This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] xtensa: fix libgcc build with --text-section-literals
- From: "augustine dot sterling at gmail dot com" <augustine dot sterling at gmail dot com>
- To: Max Filippov <jcmvbkbc at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "linux-xtensa at linux-xtensa dot org" <linux-xtensa at linux-xtensa dot org>
- Date: Wed, 17 Feb 2016 11:59:52 -0800
- Subject: Re: [PATCH] xtensa: fix libgcc build with --text-section-literals
- Authentication-results: sourceware.org; auth=none
- References: <1455669336-1279-1-git-send-email-jcmvbkbc at gmail dot com>
On Tue, Feb 16, 2016 at 4:35 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> Functions __muldf3_aux, __divdf3_aux, __mulsf3_aux and __divsf3_aux
> don't start with leaf_entry, so they need explicit .literal_position,
> otherwise libgcc build fails in the presence of --text-section-literals.
>
> 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
> libgcc/
> * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
> .literal_position before the function.
> * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
> Likewise.
This is OK, please submit.