On Mon, 8 Feb 2021, 19:37 Jessica Clarke, <jrt...@freebsd.org> wrote:

> On 8 Feb 2021, at 19:15, Mateusz Guzik <m...@freebsd.org> wrote:
> >
> > The branch main has been updated by mjg:
> >
> > URL:
> https://cgit.FreeBSD.org/src/commit/?id=81e074d57dfcd86f152e2848dc44b77087ee7a2d
> >
> > commit 81e074d57dfcd86f152e2848dc44b77087ee7a2d
> > Author:     Mateusz Guzik <m...@freebsd.org>
> > AuthorDate: 2021-02-07 19:50:25 +0000
> > Commit:     Mateusz Guzik <m...@freebsd.org>
> > CommitDate: 2021-02-08 19:15:21 +0000
> >
> >    libkern: use compiler builtins for strcpy, strcmp and strlen
>
> Why?
>


I guess because the kernel uses -ffreestanding, so the libcall inlining
optimization requires explicit uses of __builtin_foo

Alex

>
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to