<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 12:54 PM, Will Schmidt <span dir="ltr"><<a href="mailto:will_schmidt@vnet.ibm.com" target="_blank">will_schmidt@vnet.ibm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":6lz" class="a3s" style="overflow:hidden">Add a CALL_ELF macro to clang to indicate use of the ELFv2 ABI.<br>
<br>
In code, a (_CALL_ELF==2) check will indicate when the ELFv2 ABI is<br>
to be used.   This is the desired default for the PPC64 LE target.</div></blockquote></div><br>This is... pretty magical. Even by the measure of random preprocessor macros.</div><div class="gmail_extra"><br></div><div class="gmail_extra">
Can you add some link to a spec which documents this as the spec for how to detect ELFv2 ABI (at least on PPC)?</div></div>