[PATCH] D63220: [ELF][RISCV] Support GD/LD/IE/LE TLS models

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 02:20:37 PDT 2019


MaskRay added a comment.

For the curious. I used the tests to compare the behaviors of lld and ld.bfd and found 2 problems that ld.bfd have :) https://sourceware.org/bugzilla/show_bug.cgi?id=24673 https://sourceware.org/bugzilla/show_bug.cgi?id=24676

I think it is fine to never have GD->IE, GD->LE, LD->LD, if we can get deprecate GD/LD (`R_RISCV_TLS_GD_HI20`) and migrate to TLSDESC (https://github.com/riscv/riscv-elf-psabi-doc/issues/94). However, IE->LE is still useful. It would be nice if psABI specified that.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63220/new/

https://reviews.llvm.org/D63220





More information about the llvm-commits mailing list