[PATCH] D15235: [ELF] - Implemented R_*_IRELATIVE relocations for x86, x64 targets.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 7 23:59:40 PST 2015


grimar added a comment.

In http://reviews.llvm.org/D15235#304116, @ruiu wrote:

> Is this only for x32 ABI? If so, is x32 ABI still being actively developed? (I guess the answer is yes, but just to make sure.)


I know nothing about active development of x32 unfortunately. But it is not only for it, it is generic one.
https://groups.google.com/forum/#!topic/generic-abi/de1Hvq_FAn8

That patch is for both x86 and x64 (R_I386_IRELATIVE vs R_X86_64_IRELATIVE) but that feature exists for other targets such as aarch64 (R_AARCH64_IRELATIVE), powerpc (R_POWERPC_IRELATIVE). gold has support it for.

As far I understand the main use case now is linking against libc.a with multi-arch enabled:
https://lists.gnu.org/archive/html/bug-binutils/2009-11/msg00008.html


http://reviews.llvm.org/D15235





More information about the llvm-commits mailing list