[PATCH] D64930: [ELF][AArch64] Allow PT_LOAD to have overlapping p_offset ranges
Ryan Prichard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 31 14:19:04 PDT 2019
rprichard added a comment.
> Its aarch64 port is correct (https://sourceware.org/bugzilla/show_bug.cgi?id=24606).
I suspect that's only the case when the TLS segment is allocated into surplus static memory. glibc aarch64 still allocates the segment at (&addr % p_align) != (p_vaddr % p_align) either if it's too big (e.g 0x1000 bytes) or if the object file is compiled with gcc -mtls-dialect=trad instead of the default -mtls-dialect=desc.
> Though it may hardly happen on Bionic arm/aarch64 because .tdata is overaligned to 64.
Bionic's overalignment only applies to executables, not DSOs.
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64930/new/
https://reviews.llvm.org/D64930
More information about the llvm-commits
mailing list