This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] xtensa: gas: put .literal_position at section start
- From: "augustine dot sterling at gmail dot com" <augustine dot sterling at gmail dot com>
- To: Max Filippov <jcmvbkbc at gmail dot com>
- Cc: binutils at sourceware dot org, Eric Tsai <erictsai at cadence dot com>, linux-xtensa at linux-xtensa dot org
- Date: Thu, 11 Apr 2019 11:10:39 -0700
- Subject: Re: [PATCH] xtensa: gas: put .literal_position at section start
- References: <20190410202022.17370-1-jcmvbkbc@gmail.com>
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.