; RV32-SMALL-NEXT: target-flags(riscv-lo) @g_e
; RV32-SMALL-NEXT: target-flags(riscv-hi) @g_i
; RV32-SMALL-NEXT: target-flags(riscv-lo) @g_i
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-hi) @t_un
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-add) @t_un
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-lo) @t_un
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-hi) @t_ld
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-add) @t_ld
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-lo) @t_ld
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-hi) @t_ie
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-add) @t_ie
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-lo) @t_ie
-; RV32-SMALL-NEXT: target-flags(riscv-tprel-hi) @t_le
+; RV32-SMALL: target-flags(riscv-tls-got-hi) @t_un
+; RV32-SMALL-NEXT: target-flags(riscv-pcrel-lo) %bb.1
+; RV32-SMALL: target-flags(riscv-tls-got-hi) @t_ld
+; RV32-SMALL-NEXT: target-flags(riscv-pcrel-lo) %bb.2
+; RV32-SMALL: target-flags(riscv-tls-got-hi) @t_ie
+; RV32-SMALL-NEXT: target-flags(riscv-pcrel-lo) %bb.3
+; RV32-SMALL: target-flags(riscv-tprel-hi) @t_le
; RV32-SMALL-NEXT: target-flags(riscv-tprel-add) @t_le
; RV32-SMALL-NEXT: target-flags(riscv-tprel-lo) @t_le
; RV32-SMALL: target-flags(riscv-call) @callee