[PATCH] D61824: [ARM][AArch64] Overalign SHF_TLS instead of PT_TLS (Android Bionic hack) to make glibc happy

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 11 09:33:07 PDT 2019


MaskRay added a comment.

An alternative is D61825 <https://reviews.llvm.org/D61825>: keep the hack under an option `--android-tls`. I prefer that one as the overhead of 126 bytes isn't negligible and the unconditional hack is unfair to other ld.so implementations. I've talked to a maintainer of glibc's arm port and he will report that issue on the glibc bugzilla.


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D61824





More information about the llvm-commits mailing list