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

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 12:05:33 PDT 2016


emaste added a comment.

Current status linking FreeBSD/arm64 buildworld with lld, with this patch included:

  --- libc.so.7.full ---
  unrecognized reloc 562
  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`


================
Comment at: ELF/Writer.cpp:392
@@ -351,2 +391,3 @@
   }
+
   return 0;
----------------
extra blank line left over from rebasing?


http://reviews.llvm.org/D18960





More information about the llvm-commits mailing list