musl/arch
Rich Felker 673cab5c56 align x32 pthread type sizes to be common with 32-bit archs
previously, commit e7b9887e8b aligned
the sizes with the glibc ABI. subsequent discussion during the merge
of the aarch64 port reached a conclusion that we should reject larger
arch-specific sizes, which have significant cost and no benefit, and
stick with the existing common 32-bit sizes for all 32-bit/ILP32 archs
and the x86_64 sizes for 64-bit archs.

one peculiarity of this change is that x32 pthread_attr_t is now
larger in musl than in the glibc x32 ABI, making it unsafe to call
pthread_attr_init from x32 code that was compiled against glibc. with
all the ABI issues of x32, it's not clear that ABI compatibility will
ever work, but if it's needed, pthread_attr_init and related functions
could be modified not to write to the last slot of the object.

this is not a regression versus previous releases, since on previous
releases the x32 pthread type sizes were all severely oversized
already (due to incorrectly using the x86_64 LP64 definitions).
moreover, x32 is still considered experimental and not ABI-stable.
2015-03-12 14:43:36 -04:00
..
aarch64 add aarch64 port 2015-03-11 20:12:35 -04:00
arm fix FLT_ROUNDS to reflect the current rounding mode 2015-03-07 12:05:28 -05:00
i386 fix FLT_ROUNDS to reflect the current rounding mode 2015-03-07 12:05:28 -05:00
microblaze fix FLT_ROUNDS to reflect the current rounding mode 2015-03-07 12:05:28 -05:00
mips fix FLT_ROUNDS to reflect the current rounding mode 2015-03-07 12:05:28 -05:00
or1k fix FLT_ROUNDS to reflect the current rounding mode 2015-03-07 12:05:28 -05:00
powerpc fix FLT_ROUNDS to reflect the current rounding mode 2015-03-07 12:05:28 -05:00
sh fix FLT_ROUNDS to reflect the current rounding mode 2015-03-07 12:05:28 -05:00
x32 align x32 pthread type sizes to be common with 32-bit archs 2015-03-12 14:43:36 -04:00
x86_64 fix FLT_ROUNDS to reflect the current rounding mode 2015-03-07 12:05:28 -05:00