On Tue, 4 Oct 2022 at 12:33, John Baldwin <j...@freebsd.org> wrote:
>
> Yes, that's normally how that works (you link libc last, not first).  lld is 
> just
> a bit different as it will look in earlier libraries to resolve symbols 
> (backwards
> references) not just forward references.  ld.bfd only does forward references 
> by
> default.

If anyone wants more info, the IMPLEMENTATION NOTES section in
ld.lld(1) has a reasonably detailed description of lld's behaviour.

Reply via email to