[LLVMdev] [PowerPC] ABI questions
Hal Finkel
hfinkel at anl.gov
Thu Jul 31 07:44:03 PDT 2014
----- Original Message -----
> From: "Ulrich Weigand" <Ulrich.Weigand at de.ibm.com>
> To: "David Wiberg" <dwiberg at gmail.com>
> Cc: llvmdev at cs.uiuc.edu
> Sent: Thursday, July 31, 2014 9:32:58 AM
> Subject: Re: [LLVMdev] [PowerPC] ABI questions
>
> David Wiberg <dwiberg at gmail.com> wrote on 30.07.2014 22:06:13:
>
> > But it describes both 64-bit and 32-bit linkage areas. Doesn't that
> > imply that it isn't ELFv1?
> > Just to be clear the document I'm talking about is:
> > http://llvm.org/docs/CodeGenerator.html#llvm-powerpc-abi
>
> Ah, I must admit I never noticed that part of the docs before. I
> don't
> know what that refers to, and it doesn't seem to correspond with what
> LLVM actually implements on any platform ...
>
> In general, I don't think it even makes sense to talk in terms of a
> "LLVM PowerPC ABI" as that document does -- LLVM doesn't stand on its
> own, it must be compatible to the *system* ABI for any of the systems
> it supports.
>
> So it would certainly be better to look at the actual system ABI
> documents. If LLVM's behavior differs, that's a bug that should
> be fixed.
Indeed, this documentation seems to refer to the Darwin ABI, and was likely written before other ABIs were supported. Updates to this documentation would certainly be appreciated as well.
-Hal
>
> Bye,
> Ulrich
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
More information about the llvm-dev
mailing list