File tree 2 files changed +5
-4
lines changed
lib/Target/LoongArch/MCTargetDesc
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -275,6 +275,7 @@ void LoongArchMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const {
275
275
case VK_LoongArch_TLS_GD_HI20:
276
276
case VK_LoongArch_TLS_DESC_PC_HI20:
277
277
case VK_LoongArch_TLS_DESC_HI20:
278
+ case VK_LoongArch_TLS_LE_HI20_R:
278
279
case VK_LoongArch_TLS_LD_PCREL20_S2:
279
280
case VK_LoongArch_TLS_GD_PCREL20_S2:
280
281
case VK_LoongArch_TLS_DESC_PCREL20_S2:
Original file line number Diff line number Diff line change 5
5
; RUN: llvm-readelf -s %t-la64 | FileCheck %s --check-prefix=LA64
6
6
7
7
; LA32: Symbol table '.symtab' contains [[#]] entries:
8
- ; LA32-NEXT: Num: Value Size Type Bind Vis Ndx Name
9
- ; LA32: 00000000 0 NOTYPE GLOBAL DEFAULT UND tls_sym
8
+ ; LA32-NEXT: Num: Value Size Type Bind Vis Ndx Name
9
+ ; LA32: 00000000 0 TLS GLOBAL DEFAULT UND tls_sym
10
10
11
11
; LA64: Symbol table '.symtab' contains [[#]] entries:
12
- ; LA64-NEXT: Num: Value Size Type Bind Vis Ndx Name
13
- ; LA64: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND tls_sym
12
+ ; LA64-NEXT: Num: Value Size Type Bind Vis Ndx Name
13
+ ; LA64: 0000000000000000 0 TLS GLOBAL DEFAULT UND tls_sym
14
14
15
15
@tls_sym = external thread_local (localexec) global i32
16
16
You can’t perform that action at this time.
0 commit comments