]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ld-elf.so: make LD_DEBUG always functional.
authorkib <kib@FreeBSD.org>
Sun, 14 Apr 2019 18:04:53 +0000 (18:04 +0000)
committerkib <kib@FreeBSD.org>
Sun, 14 Apr 2019 18:04:53 +0000 (18:04 +0000)
commitb652ed5f59bd723663f5cdaffe5dbbf7910cee59
tree10c3d028aa7839355220c666f656d2b65131ff1b
parent38aaab3a997b22a7f4046f855e9dd4fc8cb5b98d
ld-elf.so: make LD_DEBUG always functional.

This causes some increase of the dynamic linker size, but benefits of
avoiding compiling private copy or the linker when debugging is
required. definitely worth it.

The dbg() calls can be compiled out by defining LD_NO_DEBUG symbol.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
libexec/rtld-elf/Makefile
libexec/rtld-elf/debug.h