| f221df65 | 19-Apr-2024 |
Stefan Eßer <se@FreeBSD.org> |
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 b
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
show more ...
|
| 3ede04c7 | 19-Nov-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
ldconfig(8): check for no-args command line after options are parsed
Default action for ldconfig is specified as -R AKA 'append', and for no-args (without options changing default actions), ldconfig
ldconfig(8): check for no-args command line after options are parsed
Default action for ldconfig is specified as -R AKA 'append', and for no-args (without options changing default actions), ldconfig should append empty list of directories to current list. But because the check was done before options were parsed out, presence of any option turned off default rescan.
As result, innocently-looked commands like `ldconfig -v' were interpreted as setting directory hints list to one specified on the command line, i.e. empty.
Reported by: https://github.com/mesonbuild/meson/issues/9592 Reviewed by: emaste Tested by: jbeich Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33058
show more ...
|
| af911587 | 19-Nov-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
ldconfig: use libexec/rtld-elf/rtld_paths.h
instead of duplicating definitions using slighly different macro names.
Reviewed by: emaste Tested by: jbeich Sponsored by: The FreeBSD Foundation MFC af
ldconfig: use libexec/rtld-elf/rtld_paths.h
instead of duplicating definitions using slighly different macro names.
Reviewed by: emaste Tested by: jbeich Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33058
show more ...
|
| b828161d | 19-Nov-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
ldconfig(8): nostd/-s does nothing
Remove the option from man page and summary. Silently ignore it when parsing command line for backward compatibility.
Reviewed by: emaste Tested by: jbeich Spons
ldconfig(8): nostd/-s does nothing
Remove the option from man page and summary. Silently ignore it when parsing command line for backward compatibility.
Reviewed by: emaste Tested by: jbeich Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33058
show more ...
|
| 3f2c6f55 | 19-Nov-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
ldconfig: start of cleanup
Use bool. Use local variables instead of static. Remove non-functional debugging override of hints file path. Use explicit exit() instead of return from main. Minor style
ldconfig: start of cleanup
Use bool. Use local variables instead of static. Remove non-functional debugging override of hints file path. Use explicit exit() instead of return from main. Minor style tweaks.
Reviewed by: emaste Tested by: jbeich Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33058
show more ...
|