<div dir="ltr">Out of curiosity, do you know what "64EL" stands for? "L" may be for little endian, but "E" is a mystery.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 15, 2016 at 11:15 AM, Davide Italiano via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: davide<br>
Date: Tue Nov 15 13:15:18 2016<br>
New Revision: 287011<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=287011&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=287011&view=rev</a><br>
Log:<br>
[ELF] Rewrite isMips64EL() using isMipsELF64(). NFCI.<br>
<br>
Modified:<br>
    llvm/trunk/include/llvm/<wbr>Object/ELF.h<br>
<br>
Modified: llvm/trunk/include/llvm/<wbr>Object/ELF.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ELF.h?rev=287011&r1=287010&r2=287011&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Object/ELF.h?rev=287011&<wbr>r1=287010&r2=287011&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/include/llvm/<wbr>Object/ELF.h (original)<br>
+++ llvm/trunk/include/llvm/<wbr>Object/ELF.h Tue Nov 15 13:15:18 2016<br>
@@ -106,8 +106,7 @@ public:<br>
   }<br>
<br>
   bool isMips64EL() const {<br>
-    return getHeader()->e_machine == ELF::EM_MIPS &&<br>
-           getHeader()->getFileClass() == ELF::ELFCLASS64 &&<br>
+    return isMipsELF64() &&<br>
            getHeader()->getDataEncoding() == ELF::ELFDATA2LSB;<br>
   }<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>