tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Softfloat build fixes - Please review



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



Home | Main Index | Thread Index | Old Index