сб, 22 мар. 2025 г. в 18:42, Georg-Johann Lay <a...@gjlay.de>: > > The condition to exclude some object files for AVRrc reduced core > did not work properly since it was too strict. > > LibF7 didn't exclude its objects at all. > > This patch uses $(findstring avrtiny,$(MULTIDIR)) in the condition. > > No new regressions. Ok to apply?
Ok. Please apply. Denis > > Johann > > -- > > AVR: libgcc: Properly exclude object files for AVRrc. > > There are many objects / functions that are not available on AVRrc, > the reduced core. The old way to exclude some objects for AVRrc > did not work properly since it tested for MULTIFLAGS. > This does not work for, say MULTIFLAGS = "-mmcu=avrtiny -mdouble=64". > This patch uses $(findstring avrtiny,$(MULTIDIR)) in the condition. > > libgcc/ > * config/avr/t-avr (LIB1ASMFUNCS, LIB2FUNCS_EXCLUDE): > Properly handle avrtiny. > libgcc/config/avr/libf7/ > * t-libf7 (libgcc-objects): Only add objects when building > for non-AVRrc.