[PATCH] xtensa: gas: put .literal_position at section start
Max Filippov
jcmvbkbc@gmail.com
Thu Apr 11 18:45:00 GMT 2019
On Thu, Apr 11, 2019 at 11:10 AM augustine.sterling@gmail.com
<augustine.sterling@gmail.com> wrote:
>
> On Wed, Apr 10, 2019 at 1:20 PM Max Filippov <jcmvbkbc@gmail.com> wrote:
> > gas/
> > 2019-04-10 Max Filippov <jcmvbkbc@gmail.com>
> >
> > * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration.
> > (xtensa_mark_literal_pool_location): Don't add fill frag to literal
> > section that records literal pool location.
> > (md_begin): Call xtensa_mark_literal_pool_location when text
> > section literals or auto litpools are used.
> > (xtensa_elf_section_change_hook): Call
> > xtensa_mark_literal_pool_location when text section literals or
> > auto litpools are used, there's no literal pool location defined
> > for the current section and it's not .init or .fini.
> > * testsuite/gas/xtensa/auto-litpools-first1.d: Fix up addresses.
> > * testsuite/gas/xtensa/auto-litpools-first2.d: Likewise.
> > * testsuite/gas/xtensa/auto-litpools.d: Likewise.
>
> This is OK.
Thanks. Applied to master.
-- Max
More information about the Binutils
mailing list