diff options
author | Brad King <brad.king@kitware.com> | 2015-12-17 20:03:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-18 15:02:07 (GMT) |
commit | 036b6ef7c47ccb19f291d2f36df37aaf885b4ba8 (patch) | |
tree | d6072e0a2d63c5bcb2663d5b4582f521737bd93a /Source/cmELF.cxx | |
parent | 12293371ee0f3b930afee8d328415968eb8201e6 (diff) | |
download | CMake-036b6ef7c47ccb19f291d2f36df37aaf885b4ba8.zip CMake-036b6ef7c47ccb19f291d2f36df37aaf885b4ba8.tar.gz CMake-036b6ef7c47ccb19f291d2f36df37aaf885b4ba8.tar.bz2 |
Port CMake from cmIML to KWIML
KWIML no longer uses a configured prefix.
Diffstat (limited to 'Source/cmELF.cxx')
-rw-r--r-- | Source/cmELF.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx index fda6e02..b480cd5 100644 --- a/Source/cmELF.cxx +++ b/Source/cmELF.cxx @@ -15,9 +15,6 @@ #include <cmsys/auto_ptr.hxx> #include <cmsys/FStream.hxx> -// Need the native byte order of the running CPU. -#include <cmIML/ABI.h> - // Include the ELF format information system header. #if defined(__OpenBSD__) # include <stdint.h> @@ -101,9 +98,9 @@ public: // In most cases the processor-specific byte order will match that // of the target execution environment. If we choose wrong here // it is fixed when the header is read. -#if cmIML_ABI_ENDIAN_ID == cmIML_ABI_ENDIAN_ID_LITTLE +#if KWIML_ABI_ENDIAN_ID == KWIML_ABI_ENDIAN_ID_LITTLE this->NeedSwap = (this->ByteOrder == ByteOrderMSB); -#elif cmIML_ABI_ENDIAN_ID == cmIML_ABI_ENDIAN_ID_BIG +#elif KWIML_ABI_ENDIAN_ID == KWIML_ABI_ENDIAN_ID_BIG this->NeedSwap = (this->ByteOrder == ByteOrderLSB); #else this->NeedSwap = false; // Final decision is at runtime anyway. @@ -197,7 +194,7 @@ struct cmELFTypes32 typedef Elf32_Shdr ELF_Shdr; typedef Elf32_Dyn ELF_Dyn; typedef Elf32_Half ELF_Half; - typedef cmIML_INT_uint32_t tagtype; + typedef KWIML_INT_uint32_t tagtype; static const char* GetName() { return "32-bit"; } }; @@ -208,7 +205,7 @@ struct cmELFTypes64 typedef Elf64_Shdr ELF_Shdr; typedef Elf64_Dyn ELF_Dyn; typedef Elf64_Half ELF_Half; - typedef cmIML_INT_uint64_t tagtype; + typedef KWIML_INT_uint64_t tagtype; static const char* GetName() { return "64-bit"; } }; |