]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
LoongArch: ld: Add support for TLS LE symbol with addend
authormengqinggang <mengqinggang@loongson.cn>
Thu, 25 Jan 2024 01:32:14 +0000 (09:32 +0800)
committerliuzhensong <liuzhensong@loongson.cn>
Fri, 26 Jan 2024 08:49:09 +0000 (16:49 +0800)
commita0aa6f4abd649768d6d028da1f953c96bac0c94f
tree0f9c121270677c167abc6dbc52face76c2082fee
parente14f7abaf81d5d0aa7898570024286de8c188817
LoongArch: ld: Add support for TLS LE symbol with addend

Add support for TLS LE symbol with addend, such as:
  lu12i.w $t0, %le_hi20(a + 0x8)
  ori   $t0, $t0, %le_lo12(a + 0x8)
bfd/elfnn-loongarch.c
ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp
ld/testsuite/ld-loongarch-elf/tls-le.d [new file with mode: 0644]
ld/testsuite/ld-loongarch-elf/tls-le.s [new file with mode: 0644]