On Sat, 17 Sep 2016, Mark Kettenis wrote: > Note that libunwind uses __gnu_Unwind_Find_exidx on Linux, so we could > follow Linux here and drop the dl_unwind_find_exidx alias. But my > personal preference is to follow the other BSDs here.
The downside of the name used by the other BSDs is that it's in the application namespace, of course. <shrug> > --- dlfcn/Makefile.inc 7 May 2016 19:05:22 -0000 1.5 > +++ dlfcn/Makefile.inc 17 Sep 2016 16:04:32 -0000 > @@ -5,3 +5,7 @@ > .include <bsd.own.mk> > > SRCS+= dlfcn_stubs.c init.c tib.c > + > +.if ${MACHINE_ARCH} == "arm" > +SRCS+= exidx.c > +.endif Instead of a conditional in the Makefile, can't this all go under arch/arm? Code otherwise is ok guenther@