On Tue, Mar 11, 2014 at 12:54 PM, Will Schmidt <[email protected]>wrote:

> Add a CALL_ELF macro to clang to indicate use of the ELFv2 ABI.
>
> In code, a (_CALL_ELF==2) check will indicate when the ELFv2 ABI is
> to be used.   This is the desired default for the PPC64 LE target.
>

This is... pretty magical. Even by the measure of random preprocessor
macros.

Can you add some link to a spec which documents this as the spec for how to
detect ELFv2 ABI (at least on PPC)?
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to