summaryrefslogtreecommitdiffstats
path: root/Modules/TestEndianess.c.in
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Improve robustness of compiler INFO stringsBrad King2008-08-071-5/+8
| | | | | | | | | | | Compiler INFO strings built at preprocessing time encode information that must appear as a string literal in the resulting binary. We must make sure the strings appear in the final binary no matter what compiler and flags are used. The previous implementation worked in most places but failed with the GNU linker's --gc-sections option which managed to discard the string. Instead we make the program return value depend on an element of the string indexed by a runtime program parameter, which absolutely requires the string to be present.
* STYLE: remove unused CheckTypeSize.c.inAlexander Neundorf2007-08-101-0/+20
ENH: change test for endianess from TRY_RUN() to TRY_COMPILE() by testing the binary image of a 16bit integer array, tested on Linux x86, Intel Mac and Sun (big endian) Alex