[llvm-commits] [llvm] r162034 - /llvm/trunk/include/llvm/Object/ELF.h
Chandler Carruth
chandlerc at google.com
Thu Aug 16 11:33:55 PDT 2012
Test cases?
On Thu, Aug 16, 2012 at 11:30 AM, Roman Divacky <rdivacky at freebsd.org>wrote:
> Author: rdivacky
> Date: Thu Aug 16 13:30:03 2012
> New Revision: 162034
>
> URL: http://llvm.org/viewvc/llvm-project?rev=162034&view=rev
> Log:
> Handle PowerPC.
>
>
> 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=162034&r1=162033&r2=162034&view=diff
>
> ==============================================================================
> --- llvm/trunk/include/llvm/Object/ELF.h (original)
> +++ llvm/trunk/include/llvm/Object/ELF.h Thu Aug 16 13:30:03 2012
> @@ -2015,6 +2015,8 @@
> return "ELF32-arm";
> case ELF::EM_HEXAGON:
> return "ELF32-hexagon";
> + case ELF::EM_PPC:
> + return "ELF32-ppc";
> default:
> return "ELF32-unknown";
> }
> @@ -2024,6 +2026,8 @@
> return "ELF64-i386";
> case ELF::EM_X86_64:
> return "ELF64-x86-64";
> + case ELF::EM_PPC64:
> + return "ELF64-ppc64";
> default:
> return "ELF64-unknown";
> }
> @@ -2044,6 +2048,10 @@
> return Triple::arm;
> case ELF::EM_HEXAGON:
> return Triple::hexagon;
> + case ELF::EM_PPC:
> + return Triple::ppc;
> + case ELF::EM_PPC64:
> + return Triple::ppc64;
> default:
> return Triple::UnknownArch;
> }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120816/7e348cb4/attachment.html>
More information about the llvm-commits
mailing list