]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If errors occur during the loading of the shared libraries required by
authorJohn Polstra <jdp@FreeBSD.org>
Thu, 24 Oct 1996 16:24:19 +0000 (16:24 +0000)
committerJohn Polstra <jdp@FreeBSD.org>
Thu, 24 Oct 1996 16:24:19 +0000 (16:24 +0000)
commitab6c6377b3dfdb45f4a21f01cf545219f2b71dfe
tree8172a0f93356159b23474770da89e4d0a807a24f
parent124ccb3329240cf308d860fcbd3b4811f1d1a704
If errors occur during the loading of the shared libraries required by
the main program, report them directly from the dynamic linker and die
there, rather than returning an error message to crt0.o.  This enables
the printing of error messages even for old executables, whose version
of crt0.o is not able to print them.

This fix closes PR bin/1869.

The code in crt0.o for printing error messages from the dynamic linker
is no longer used, because of this change.  But it must remain, for
backward compatibility with older dynamic linkers.
gnu/usr.bin/ld/rtld/rtld.c
libexec/rtld-aout/rtld.c