This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Dealing with target variance


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]