Searched hist:e0dfecadf5946b6a8ad423be4eb1c14017b3a8a7 (Results 1 – 4 of 4) sorted by relevance
/freebsd/sbin/ldconfig/ |
H A D | ldconfig.h | diff e0dfecadf5946b6a8ad423be4eb1c14017b3a8a7 Wed Feb 28 18:49:29 CET 2024 Stefan Eßer <se@FreeBSD.org> ldconfig: support hints files of either byte-order
Make the ldconfig program accept hints files in little-endian and big-endian format on all architectures.
The default format is the native byte-order of the respective host. This is expected to change when a version of the pkg command is available that implements support for either byte-order in its internal ldconfig function. (Already committed in the development tree of the pkg utility, a release is expected at the end of Q1/2024).
This update adds the -B option to the ldconfig program. It enforces the creation of a big-endian hints file on a little-endian host. The main purpose to is support of tests with non-native byte-order files on little-endian hosts. It will be removed when all supported FreeBSD releases use little-endian hints files by default.
When little-endian hints files are generally used, support of either byte-order in libexec/rtld can also be removed.
When support for big-endian hints files is no longer required, the COND_SWAP macro in ldconfig and rtld shall be replaced by le32toh(), which just return their argument on little-endian architectures.
Approved by: kib MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D44093
|
H A D | elfhints.c | diff e0dfecadf5946b6a8ad423be4eb1c14017b3a8a7 Wed Feb 28 18:49:29 CET 2024 Stefan Eßer <se@FreeBSD.org> ldconfig: support hints files of either byte-order
Make the ldconfig program accept hints files in little-endian and big-endian format on all architectures.
The default format is the native byte-order of the respective host. This is expected to change when a version of the pkg command is available that implements support for either byte-order in its internal ldconfig function. (Already committed in the development tree of the pkg utility, a release is expected at the end of Q1/2024).
This update adds the -B option to the ldconfig program. It enforces the creation of a big-endian hints file on a little-endian host. The main purpose to is support of tests with non-native byte-order files on little-endian hosts. It will be removed when all supported FreeBSD releases use little-endian hints files by default.
When little-endian hints files are generally used, support of either byte-order in libexec/rtld can also be removed.
When support for big-endian hints files is no longer required, the COND_SWAP macro in ldconfig and rtld shall be replaced by le32toh(), which just return their argument on little-endian architectures.
Approved by: kib MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D44093
|
H A D | ldconfig.8 | diff e0dfecadf5946b6a8ad423be4eb1c14017b3a8a7 Wed Feb 28 18:49:29 CET 2024 Stefan Eßer <se@FreeBSD.org> ldconfig: support hints files of either byte-order
Make the ldconfig program accept hints files in little-endian and big-endian format on all architectures.
The default format is the native byte-order of the respective host. This is expected to change when a version of the pkg command is available that implements support for either byte-order in its internal ldconfig function. (Already committed in the development tree of the pkg utility, a release is expected at the end of Q1/2024).
This update adds the -B option to the ldconfig program. It enforces the creation of a big-endian hints file on a little-endian host. The main purpose to is support of tests with non-native byte-order files on little-endian hosts. It will be removed when all supported FreeBSD releases use little-endian hints files by default.
When little-endian hints files are generally used, support of either byte-order in libexec/rtld can also be removed.
When support for big-endian hints files is no longer required, the COND_SWAP macro in ldconfig and rtld shall be replaced by le32toh(), which just return their argument on little-endian architectures.
Approved by: kib MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D44093
|
H A D | ldconfig.c | diff e0dfecadf5946b6a8ad423be4eb1c14017b3a8a7 Wed Feb 28 18:49:29 CET 2024 Stefan Eßer <se@FreeBSD.org> ldconfig: support hints files of either byte-order
Make the ldconfig program accept hints files in little-endian and big-endian format on all architectures.
The default format is the native byte-order of the respective host. This is expected to change when a version of the pkg command is available that implements support for either byte-order in its internal ldconfig function. (Already committed in the development tree of the pkg utility, a release is expected at the end of Q1/2024).
This update adds the -B option to the ldconfig program. It enforces the creation of a big-endian hints file on a little-endian host. The main purpose to is support of tests with non-native byte-order files on little-endian hosts. It will be removed when all supported FreeBSD releases use little-endian hints files by default.
When little-endian hints files are generally used, support of either byte-order in libexec/rtld can also be removed.
When support for big-endian hints files is no longer required, the COND_SWAP macro in ldconfig and rtld shall be replaced by le32toh(), which just return their argument on little-endian architectures.
Approved by: kib MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D44093
|