@earthdok: I am not sure if mips stores the value of pthread struct size anywhere the way x86 does to write a UNIT test for pthread struct size. Btw why x86_64 is using the hard codes values, even though they have direct access to pthread structure size? http://reviews.llvm.org/D5616