Remove host endianness info from TargetData and

put it in a new header System/Host.h instead.
Instead of getting the endianness from configure,
calculate it directly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44959 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands
2007-12-12 23:03:45 +00:00
parent 8d2ed33f6f
commit 67f1c493d1
7 changed files with 66 additions and 61 deletions

View File

@ -494,9 +494,6 @@
/* Installation prefix directory */
#undef LLVM_PREFIX
/* Define if this target is little endian */
#undef LSB_FIRST
/* Define if the OS needs help to load dependent libraries for dlopen(). */
#undef LTDL_DLOPEN_DEPLIBS
@ -514,9 +511,6 @@
/* Define to the system default library search path. */
#undef LTDL_SYSSEARCHPATH
/* Define if this target is big endian */
#undef MSB_FIRST
/* Define if /dev/zero should be used when mapping RWX memory, or undefine if
its not necessary */
#undef NEED_DEV_ZERO_FOR_MMAP