This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [AArch64] PR gas/17843: MOVK not allowing :tprel_g*_nc:foo
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>, richard dot sandiford at arm dot com
- Date: Tue, 3 Mar 2015 17:41:22 +0000
- Subject: Re: [AArch64] PR gas/17843: MOVK not allowing :tprel_g*_nc:foo
- Authentication-results: sourceware.org; auth=none
- References: <87fv9m57xk dot fsf at e105548-lin dot cambridge dot arm dot com>
On 3 March 2015 at 17:04, Richard Sandiford <richard.sandiford@arm.com> wrote:
> Fixed with the attached patch, which also adds some tests for small and
> large TLS models. Tested on aarch64-elf and aarch64-linux-gnu. OK to
> install?
> diff --git a/ld/testsuite/ld-aarch64/aarch64-elf.exp b/ld/testsuite/ld-aarch64/aarch64-elf.exp
> index 37fc70a..18fa00c 100644
> --- a/ld/testsuite/ld-aarch64/aarch64-elf.exp
> +++ b/ld/testsuite/ld-aarch64/aarch64-elf.exp
> @@ -131,6 +131,8 @@ run_dump_test "tls-tiny-desc"
> run_dump_test "tls-tiny-desc-ie"
> run_dump_test "tls-tiny-desc-le"
> run_dump_test "tls-tiny-ie"
> +run_dump_test "tlsle-small"
> +run_dump_test "tlsle-large"
The choice of names here is slightly confusing. The instruction
sequences used for local exec are orthogonal to the -mcmodel=xxx
memory model. There are, IIRC, 4 sequences defined corresponding to
four different TLS area sizes per module. Currently the GNU toolchain
implements the default 16M / module sequence. I suggest that these
two files are folded into a single tlsle test file removing the bogus
association with large/small.
OK with that change.
Cheers
/Marcus