Excerpts from Yang Yujie's message of Dezember 1, 2023 11:08 am: > libphobos/ChangeLog: > > * m4/druntime/cpu.m4: Support loongarch* targets. > * libdruntime/Makefile.am: Same. > * libdruntime/Makefile.in: Regenerate. > * configure: Regenerate. > --- > libphobos/configure | 21 ++++++- > libphobos/libdruntime/Makefile.am | 3 + > libphobos/libdruntime/Makefile.in | 98 +++++++++++++++++++------------ > libphobos/m4/druntime/cpu.m4 | 5 ++ > 4 files changed, 87 insertions(+), 40 deletions(-) > > diff --git a/libphobos/libdruntime/Makefile.am > b/libphobos/libdruntime/Makefile.am > index 23205fd3301..ca43a0753c4 100644 > --- a/libphobos/libdruntime/Makefile.am > +++ b/libphobos/libdruntime/Makefile.am > @@ -83,6 +83,9 @@ endif > if DRUNTIME_CPU_ARM > DRUNTIME_SOURCES_CONFIGURED += config/arm/switchcontext.S > endif > +if DRUNTIME_CPU_LOONGARCH > + DRUNTIME_SOURCES_CONFIGURED += config/loongarch/switchcontext.S > +endif > if DRUNTIME_CPU_MIPS > DRUNTIME_SOURCES_CONFIGURED += config/mips/switchcontext.S > endif
Just a nitpick, I'd thought the committing of switchcontext.S should come before this. I have no strong opinion either way. OK to commit. Iain.