[LLVMdev] PIC documentation ?

Dale Johannesen dalej at apple.com
Tue Jun 16 13:29:32 PDT 2009

On Jun 16, 2009, at 1:17 PMPDT, Anton Korobeynikov wrote:

> Hello, Aaron
>> Can I ask what platform ABI's are documented other than Itanium ?
> I'd bet all platform ABI are more or less documented.
>> I need to get to understand PIC on x86, x86_64 and PowerPC for the  
>> COFF and MachO backends.
> ABI is normally induced by platform, not by architecture or object
> file format (however they can influence on it).
> 1. Windows is PIC by design. Google for PE file format and for
> 'relocs' section. This corresponds to LLVM's DynamicNoPIC
> 2. ABI docs for Darwin (x86, x86_64, ppc, ppc64) you might find
> somewhere @apple.com. There you can have all 3 types of PIC code:
> static (no pic at all), DynamicNoPIC and full PIC.

The Apple ABI document is here, but doesn't really talk about PIC:

> 3. COFF is usually not used on PPC at all (maybe on some old AIX'es?).
> PS: Since you did not mention ELF, I assume you already found ABI docs
> for it (for all platforms).
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State  
> University
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

More information about the llvm-dev mailing list