Date: Sun, 10 Sep 2017 00:46:06 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: Ian Lepore <ian@freebsd.org> Cc: Jan Beich <jbeich@FreeBSD.org>, Warner Losh <imp@bsdimp.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, "freebsd-toolchain@FreeBSD.org" <freebsd-toolchain@freebsd.org>, Jan Beich <jbeich@vfemail.net> Subject: Re: FCP-100: armv7 plan Message-ID: <20170909214606.GW1700@kib.kiev.ua> In-Reply-To: <1504989250.32063.66.camel@freebsd.org> References: <CANCZdfrCwdVOGWunSAjuxHzGcqhuH24iRQg63rvPFXXSmm-C6Q__2138.43810274756$1504912296$gmane$org@mail.gmail.com> <ingr-3d62-wny@FreeBSD.org> <CANCZdfondSykr1UM0CNTYpVr-6hzyROYn-C_jNC_%2BhO1r6SB2w@mail.gmail.com> <lgln-1xpu-wny@FreeBSD.org> <1504989250.32063.66.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 09, 2017 at 02:34:10PM -0600, Ian Lepore wrote: > Adding the AT_HWCAP stuff would be relatively easy. šI'm not as sure > what to do about getauxval(). šTo be maximally linux-compatible (which > would be good for ports) we'd put getauxval() in libc and make it work > just like the linux one. šThat's a bit at odds with the support we have > now, which isšprocstat_getauxv() in libprocstat. šIt's not very > compatible with how linux getauxval() works, so using just that might > lead to a lot of patches in ports. libprocstat is for accessing other processes information and address space. Our libc already has _elf_aux_info, but it is not exported. If you have a clear description of the desired API, I can add it (I do not want to read glibc code).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170909214606.GW1700>