]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ldconfig: use little-endian hints file on all architectures
authorStefan Eßer <se@FreeBSD.org>
Fri, 19 Apr 2024 14:49:57 +0000 (16:49 +0200)
committerStefan Eßer <se@FreeBSD.org>
Fri, 19 Apr 2024 14:49:57 +0000 (16:49 +0200)
commitf221df6597df6b606102b329f36e20e0257308de
tree593737b01b0ad71fbe646a5a640d7c0203450b04
parent6b13e4cb3da28be82f9d3b8bd98e229ae107c73a
ldconfig: use little-endian hints file on all architectures

Remove the test for building on a big-endian architecture, which
preserved the previous default of creating the ELF hints file in
native byte-order of the respective architecture.

Support for little-endian hints files has been added to the
run-time linker and the pkg command.

This is a step towards architecture independent little-endian hints
files, but support for big-endian hints files shall only be removed
from the run-time linker (and ldconfig and pkg) when the last release
that defaulted to hints files in host-byte has been declared EOL.

Reviewed by:    kib
Tested by: tuexen
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D44734
sbin/ldconfig/elfhints.c