about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-15 07:44:48 +0200
committerGitHub <noreply@github.com>2021-10-15 07:44:48 +0200
commitf0555cefae16edba6ab1e89bc77b4897d1a193b8 (patch)
treee24de38c04a96beb13c2fe1433dc31b56f4d049b /compiler/rustc_codegen_gcc/example/alloc_example.rs
parente2c28ad1e7c5f5fc74c6472c27c8f6adfebb5b8c (diff)
parentaf5b146324e2a20a432649723cf8d22487b1e499 (diff)
downloadrust-f0555cefae16edba6ab1e89bc77b4897d1a193b8.tar.gz
rust-f0555cefae16edba6ab1e89bc77b4897d1a193b8.zip
Rollup merge of #89880 - adamgemmell:dev/nc-relocation, r=Amanieu
Use non-checking TLS relocation in aarch64 asm! sym test.

The checking variant ensures that the offset required is not larger than 12 bits - hence we wouldn't ever need the upper 12 bits.

It's unlikely to ever fail in this small test but this is technically correct.

This was noticed incidentally when we found that LLD doesn't support the `tprel_lo12` relocation, even though LLVM can apparently generate it when using `-mtls-size=12`.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions