This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Dealing with target variance
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 2 Oct 2019 16:04:57 +0000
- Subject: Re: Dealing with target variance
- Ironport-sdr: cn+GhnEjH8Zi7yKdxiJpIyi7eL9NAKgVFR0Ss9xwMb2ChugFVgLxh7NsvoT2nHImUQ6lLyZiUN cmy0at4DmGlp0r8I3KxZD+7R8oswkFolRVKKWabDAvBZ+Hj+YO07BMtIznFQZcqKpT08L95iCz WzKUcsvlhBGlpTdirtIlSG2K9fsdPWKawzKf47YeJUaoAXtVa1CwFvwaBgsW/3cWrcMapuf1yF s4DKV3NEYhK6ksXpgbBKjoSiBW4VAWjZBuCC4t4V05X5ex6hcvJAkdT0SHzN2cxZoQcYl7zJbJ X8k=
- Ironport-sdr: 2KE/Ee5B/28zfBR2KXu9tj6nAh1e+MslWwxNT/0Dvmqx7hRzHsXS153vTd/5lv0mXse/zpN5Cp sE73kqWGk2VqonvSmaepwoGToCyeEoZ5AbWyFkeHee8LuVaYG+V2HqH0GBgN7oAINgQIVfIFX8 QKciMSeRAecZ3AMixuI+2eMyiDFEkCsTBts55GC+wWE9FFkDpK24jEjzg5nHL4cr2308qliccy lmgf133/sLuaQxMlPZEvk7HVrZvduRPjvZhh9wPAsUpKlZYCEuqJqAdPDOahtD/cg40XTMQmId Uw8=
- References: <87tv8rqwgt.fsf@oldenburg2.str.redhat.com>
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