2 #ld
: --shared tmpdir
/tlslib
.so
5 Relocation section
'.rela.dyn' at offset
0x
[0-9a
-f
]+ contains
7 entries
:
6 +Offset
+Info
+Type
+Symbol
's Value +Symbol's Name \
+ Addend
7 [0-9a
-f
]+ +[0-9a
-f
]+ R_RISCV_TLS_DTPMOD64
+0
8 [0-9a
-f
]+ +[0-9a
-f
]+ R_RISCV_TLS_TPREL64
+4
9 [0-9a
-f
]+ +[0-9a
-f
]+ R_RISCV_TLSDESC
+4
10 [0-9a
-f
]+ +[0-9a
-f
]+ R_RISCV_TLS_DTPMOD64
+0+ sg1 \
+ 0
11 [0-9a
-f
]+ +[0-9a
-f
]+ R_RISCV_TLS_DTPREL64
+0+ sg1 \
+ 0
12 [0-9a
-f
]+ +[0-9a
-f
]+ R_RISCV_TLS_TPREL64
+0+ sg1 \
+ 0
13 [0-9a
-f
]+ +[0-9a
-f
]+ R_RISCV_TLSDESC
+0+ sg1 \
+ 0
15 Relocation section
'.rela.plt' at offset
0x
[0-9a
-f
]+ contains
1 entry
:
16 +Offset
+Info
+Type
+Symbol
's Value +Symbol's Name \
+ Addend
17 [0-9a
-f
]+ +[0-9a
-f
]+ R_RISCV_JUMP_SLOT
+0+ __tls_get_addr \
+ 0