[AArch64] PR gas/17843: MOVK not allowing :tprel_g*_nc:foo
Marcus Shawcroft
marcus.shawcroft@gmail.com
Tue Mar 3 17:41:00 GMT 2015
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
More information about the Binutils
mailing list