[llvm-commits] [llvm] r156996 - in /llvm/trunk/include/llvm: Support/ELF.h Target/TargetELFWriterInfo.h

Evandro Menezes emenezes at codeaurora.org
Thu May 17 09:46:46 PDT 2012


Author: emenezes
Date: Thu May 17 11:46:46 2012
New Revision: 156996

URL: http://llvm.org/viewvc/llvm-project?rev=156996&view=rev
Log:
[Hexagon] Clean up Hexagon ELF definition.


Modified:
    llvm/trunk/include/llvm/Support/ELF.h
    llvm/trunk/include/llvm/Target/TargetELFWriterInfo.h

Modified: llvm/trunk/include/llvm/Support/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ELF.h?rev=156996&r1=156995&r2=156996&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ELF.h (original)
+++ llvm/trunk/include/llvm/Support/ELF.h Thu May 17 11:46:46 2012
@@ -248,7 +248,7 @@
   EM_CYPRESS_M8C   = 161, // Cypress M8C microprocessor
   EM_R32C          = 162, // Renesas R32C series microprocessors
   EM_TRIMEDIA      = 163, // NXP Semiconductors TriMedia architecture family
-  EM_QDSP6         = 164, // QUALCOMM DSP6 Processor
+  EM_HEXAGON       = 164, // Qualcomm Hexagon processor
   EM_8051          = 165, // Intel 8051 and variants
   EM_STXP7X        = 166, // STMicroelectronics STxP7x family of configurable
                           // and extensible RISC processors

Modified: llvm/trunk/include/llvm/Target/TargetELFWriterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetELFWriterInfo.h?rev=156996&r1=156995&r2=156996&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetELFWriterInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetELFWriterInfo.h Thu May 17 11:46:46 2012
@@ -43,7 +43,8 @@
       EM_ARM = 40,     // ARM
       EM_ALPHA = 41,   // DEC Alpha
       EM_SPARCV9 = 43, // SPARC V9
-      EM_X86_64 = 62   // AMD64
+      EM_X86_64 = 62,  // AMD64
+      EM_HEXAGON = 164 // Qualcomm Hexagon
     };
 
     // ELF File classes





More information about the llvm-commits mailing list