Dealing with target variance
Joseph Myers
joseph@codesourcery.com
Wed Oct 2 16:05:00 GMT 2019
My preference is one file per property (or at most, group of extremely
closely related properties), with sysdeps overrides in the usual fashion.
That's what we do for a range of libm properties - consider
nan-high-order-bit.h (overrides for hppa and mips),
math-tests-trap-force.h (overrides for powerpc),
fix-fp-int-convert-overflow.h (overrides for arm, csky, mips, s390), etc.,
and it's easy to use a single "find" command to see what architectures
override a given header.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list