[llvm-commits] [PATCH] Enable ELF machine to be explicityly specified in X86 backend

Michael Liao michael.liao at intel.com
Mon Oct 29 23:51:22 PDT 2012


Hi,

This patch enables specifying ELF machine type explicitly when creating
X86 ELF writer and cleaning up the relocation type selection (based on
ELF machine type instead of ELF class). This code cleanup doesn't change
any functionality but enable to generate x86 ELF objects of different
machine types, such as MIC[1][2], which uses K1OM as machine type[3].

Thanks for your review
- Michael

------------
[1]
http://software.intel.com/en-us/blogs/2012/06/05/knights-corner-micro-architecture-support
[2] http://software.intel.com/en-us/forums/topic/278102
[3]
http://software.intel.com/sites/default/files/m/0/c/e/8/5/44184-k1om-psabi-1.0.pdf





More information about the llvm-commits mailing list