[PATCH] D18960: [lld] Initial implementation of TLSDESC relocation handling

Adhemerval Zanella via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 13:01:34 PDT 2016


zatrazz added a comment.

In http://reviews.llvm.org/D18960#409361, @emaste wrote:

> Current status linking FreeBSD/arm64 buildworld with lld, with this patch included:
>
>   --- libc.so.7.full ---
>   unrecognized reloc 562


Yes I split the original patch in TLSDESC arch independent support and aarch64 specific bits. I did not upload to review  the aarch64 bits yet to avoid diverge review efforts. To actually bootstrap on linux I am using two more fixes (one to implement R_AARCH64_TLSDESC_* relocations and another to Add GD to IE TLS relax optimization).

> cc: error: linker command failed with exit code 1 (use -v to see invocation)

> 

> - [libc.so.7.full] Error code 1 ``` That is, libc.so linking fails due to `R_AARCH64_TLSDESC_ADR_PAGE21`



http://reviews.llvm.org/D18960





More information about the llvm-commits mailing list