Re: Softfloat build fixes - Please review

Roland Illig <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
Am 10.09.2025 um 21:32 schrieb Nat Sloss:
> The only problem is I didn't know how to wrap long lines with the multiple 
> subsititions.

If you want to avoid the long lines, you can first collect the bare
function names and then generate the ":S,from,," modifiers from them:

EXCLUDE_FUNCS= _mulsi3 _udivsi3 _divsi3 _umodsi3 ...
EXCLUDE_FUNCS+= ...

NG_LIB1ASMFUNCS:= ${G_LIB1ASMFUNCS:${EXCLUDE_FUNCS:@f@S,$f,,@:ts:}}

This expression generates a ":S,from,," modifier for each function name,
then the ":ts:" modifier joins the modifiers using ":" as the separator,
and finally, these joined modifiers are all applied.

Roland
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.