[PATCH] D21779: [LTO] Infer EKind/EMachine from Bitcode files

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 7 17:05:48 PDT 2016

On Thu, Jul 7, 2016 at 6:45 AM, Daniel Sanders <daniel.sanders at imgtec.com>

> dsanders added a comment.
> > > Ah, interesting. So N32 is a 32-bit ABI on 64-bit MIPS just like x32
> ABI is on x86-64. Do you know how to determine whether it is ELF32 or ELF64
> for such triple?
> >  In some ways, yes, but N32 has full support for 64-bit arithmetic. It
> was created to be similar to N64 but avoid the portability problems and
> bloat associated with 64-bit pointers.
> I've just noticed I've misread the table I was looking at. You're right,
> N32 serves the same purpose for 64-bit MIPS as X32 does for x86-64.

Yup, x32 is not a popular ABI but it exists and different from i386 ABI. :)
It made me wonder if we have the same issue for x32. Will your patch
address the issue for x32 as well? (I'm just wondering because we don't
support x32 in LLD yet.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160707/be8b0223/attachment-0001.html>

More information about the llvm-commits mailing list