This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] xtensa: gas: put .literal_position at section start


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]