llvm-capstone/lld/test
Stefan Pintilie c6561ccfd9 [PowerPC][LLD] Support for PC Relative TLS for Local Dynamic
Add support to LLD for PC Relative Thread Local Storage for Local Dynamic.
This patch adds support for two relocations: R_PPC64_GOT_TLSLD_PCREL34 and
R_PPC64_DTPREL34.

The Local Dynamic code is:
```
pla r3, x@got@tlsld@pcrel        R_PPC64_GOT_TLSLD_PCREL34
bl __tls_get_addr@notoc(x@tlsld) R_PPC64_TLSLD
                                 R_PPC64_REL24_NOTOC
...
paddi r9, r3, x@dtprel           R_PPC64_DTPREL34
```

After relaxation to Local Exec:
```
paddi r3, r13, 0x1000
nop
...
paddi r9, r3, x@dtprel          R_PPC64_DTPREL34
```

Reviewed By: NeHuang, sfertile

Differential Revision: https://reviews.llvm.org/D87504
2020-10-23 08:23:56 -05:00
..
COFF Reapply [LLD] [COFF] Implement a GNU/ELF like -wrap option 2020-10-15 22:14:02 +03:00
darwin
ELF [PowerPC][LLD] Support for PC Relative TLS for Local Dynamic 2020-10-23 08:23:56 -05:00
mach-o [lld] Test corrections after 3f1a9b7eca added segment names to objdump output 2020-09-04 10:26:29 -07:00
MachO [lld-macho] Ignore a few more undocumented flags 2020-09-25 11:28:37 -07:00
MinGW Reapply [LLD] [COFF] Implement a GNU/ELF like -wrap option 2020-10-15 22:14:02 +03:00
Unit
wasm [WebAssembly] Added .tabletype to asm and multiple table support in obj files 2020-10-13 07:52:23 -07:00
CMakeLists.txt [LLD] Ignore ELF tests when ld.lld defaults to MinGW 2020-10-08 09:34:46 +03:00
lit.cfg.py [LLD] Ignore ELF tests when ld.lld defaults to MinGW 2020-10-08 09:34:46 +03:00
lit.site.cfg.py.in [LLD] Ignore ELF tests when ld.lld defaults to MinGW 2020-10-08 09:34:46 +03:00