[llvm] r287011 - [ELF] Rewrite isMips64EL() using isMipsELF64(). NFCI.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 11:27:33 PST 2016
Out of curiosity, do you know what "64EL" stands for? "L" may be for little
endian, but "E" is a mystery.
On Tue, Nov 15, 2016 at 11:15 AM, Davide Italiano via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> Author: davide
> Date: Tue Nov 15 13:15:18 2016
> New Revision: 287011
>
> URL: http://llvm.org/viewvc/llvm-project?rev=287011&view=rev
> Log:
> [ELF] Rewrite isMips64EL() using isMipsELF64(). NFCI.
>
> Modified:
> llvm/trunk/include/llvm/Object/ELF.h
>
> Modified: llvm/trunk/include/llvm/Object/ELF.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/
> llvm/Object/ELF.h?rev=287011&r1=287010&r2=287011&view=diff
> ============================================================
> ==================
> --- llvm/trunk/include/llvm/Object/ELF.h (original)
> +++ llvm/trunk/include/llvm/Object/ELF.h Tue Nov 15 13:15:18 2016
> @@ -106,8 +106,7 @@ public:
> }
>
> bool isMips64EL() const {
> - return getHeader()->e_machine == ELF::EM_MIPS &&
> - getHeader()->getFileClass() == ELF::ELFCLASS64 &&
> + return isMipsELF64() &&
> getHeader()->getDataEncoding() == ELF::ELFDATA2LSB;
> }
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161115/811a80bc/attachment.html>
More information about the llvm-commits
mailing list