[PATCH] D33041: [ELF] - Set DF_STATIC_TLS flag for x86_64 target.

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 13:46:00 PDT 2017


On Wed, May 10, 2017 at 01:32:29PM -0700, Rui Ueyama via llvm-commits wrote:
> Do they actually use this as a diagnostic hint to print out a user-friendly
> error message?

No, but it makes it much easier to tell with readelf or so that it is
necessary. Otherwise you have to look for the relocation list and that's
platform specific. If it is cheap to do, create the flag. If it requires
a scan of the relocation list, it might not be worth it.

Joerg


More information about the llvm-commits mailing list