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: Max Filippov <jcmvbkbc at gmail dot com>
- To: "augustine dot sterling at gmail dot com" <augustine dot sterling 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 23:24:28 +0300
- 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> <CAGSvup8TfgpePzv2zxybYjiT+RaTQ84g1GEHU4ocpKYxCXY=_g at mail dot gmail dot com>
On Wed, Feb 17, 2016 at 10:59 PM, augustine.sterling@gmail.com
<augustine.sterling@gmail.com> wrote:
> 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.
Applied to trunk. Thank you!
-- Max