Displaying 4 results from an estimated 4 matches for "elfv1".
2014 Jul 30
4
[LLVMdev] [PowerPC] ABI questions
...re's DarwinABI, SVR4ABI and ELFv2ABI.
- The CodeGenerator documentation claims that the AIX PowerPC ABI is
followed (with some deviations). Is this refering to the DarwinABI?
- In a recent commit a TargetABI value and enumeration was added to
PPCSubtarget which contains PPC_ABI_UNKNOWN, PPC_ABI_ELFv1 and
PPC_ABI_ELFv2. For 64-bit non-Darwin the TargetABI value is set to
either ELF-variant in resetSubtargetFeatures(...) based on endianess
(unless explicitly set previously). As I understand it ELFv2 is a new
ABI but which ABI does ELFv1 map to?
- Since isSVR4ABI() is defined as !isDarwin() it cur...
2014 Jul 31
2
[LLVMdev] [PowerPC] ABI questions
...far alongside with some questions.
>
> Sorry for the confusion, this all should probably be cleaned up a
> bit.
> In general, LLVM today supports the following ABIs:
> - The Darwin ABI (32-bit and 64-bit flavors)
> - The 32-bit SVR4 ABI
> - Two variants of the 64-bit SVR4 ABI: ELFv1 and ELFv2
>
> The ELFv1 ABI is used on 64-bit big-endian Linux and AIX.
> The ELFv2 ABI is used on 64-bit little-endian Linux.
>
> Unfortunately, the term "SVR4" is quite overloaded, and applies
> both to the 32-bit and the 64-bit ABIs, even though they are
> quite...
2014 Jul 30
2
[LLVMdev] [PowerPC] ABI questions
...;> far alongside with some questions.
>
> Sorry for the confusion, this all should probably be cleaned up a bit.
> In general, LLVM today supports the following ABIs:
> - The Darwin ABI (32-bit and 64-bit flavors)
> - The 32-bit SVR4 ABI
> - Two variants of the 64-bit SVR4 ABI: ELFv1 and ELFv2
>
> The ELFv1 ABI is used on 64-bit big-endian Linux and AIX.
> The ELFv2 ABI is used on 64-bit little-endian Linux.
>
> Unfortunately, the term "SVR4" is quite overloaded, and applies
> both to the 32-bit and the 64-bit ABIs, even though they are
> quite di...
2014 Aug 01
3
[LLVMdev] [PowerPC] ABI questions
On 30 Jul 2014, at 21:29, Ulrich Weigand wrote:
> The ELFv1 ABI is used on 64-bit big-endian Linux and AIX.
There's one small difference between the two: with the 64 bit ELFv1/
SVR4 ABI, tail padding for structs passed by value is only performed
in case the struct is larger than 8 bytes, while for AIX 64 bit it's
always done. As an aside, on D...