| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The -v option used to print useful information when operating on a.out
format libraries. After the removal of a.out support, it was accepted
but did not have any effect.
Remove the option and update the man-page.
While here mention the set of historic options that are accepted but
ignored: "-elf", "-s", and "-v".
The FILES section contained outdated information and did not mention
the way library directories of optional ports and packages are
included in the library search path recorded in the hints file.
The description of the "-B" option was incorrect (described a planned
change) for big-endian platforms (powerpc64). These do still default
to big-endian hints files, since the current version of the "pkg"
program expects the hints file to be in native byte-order.
Reviewed by: kib
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D44139
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
ELF ldconfig only maintains the search list, there is no hints
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D30272
|
|
|
|
|
|
|
|
|
|
|
|
| |
aout support in ldconfig hasn't been required since FreeBSD 2.x.
If someone needs to use FreeBSD 2 shared libraries they will be best
served by using a FreeBSD 2 ldconfig as well.
In aa5e1b42e6e3 we removed the ldconfig a.out invocation from rc.d but
left the support in ldconfig itself. Remove it now.
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27481
|
|
|
|
|
|
|
|
|
|
|
| |
aout support in ldconfig hasn't been required since FreeBSD 2.x.
Anyone still using FreeBSD 2 shared libraries can also use a FreeBSD 2
ldconfig to generate aout ldconfig hints.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=359037
|
|
|
|
| |
Notes:
svn path=/head/; revision=327719
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous language did not make it clear that 'Files' are
the files specified above. Clarify it.
Reported by: dana <dana@dana.is>
Reviewed by: dana <dana@dana.is>
MFC After: 1 week
Notes:
svn path=/head/; revision=327671
|
|
|
|
|
|
|
| |
Submitted by: db
Notes:
svn path=/head/; revision=248496
|
|
|
|
| |
Notes:
svn path=/head/; revision=153256
|
|
|
|
| |
Notes:
svn path=/head/; revision=152568
|
|
|
|
|
|
|
|
| |
Submitted by: Steve Kargl sgk at troutmask dot apl dot washington dot edu
MFC after: 1 week
Notes:
svn path=/head/; revision=152321
|
|
|
|
| |
Notes:
svn path=/head/; revision=131488
|
|
|
|
|
|
|
|
|
|
| |
file.
PR: 46271
Approved by: re (blanket)
Notes:
svn path=/head/; revision=114844
|
|
|
|
|
|
|
|
|
|
|
|
| |
noting that the restrictions do not apply if the user invoking the
program is also the owner of the program.
Also, capitalize a section header properly.
PR: misc/41180
Notes:
svn path=/head/; revision=102070
|
|
|
|
| |
Notes:
svn path=/head/; revision=99501
|
|
|
|
| |
Notes:
svn path=/head/; revision=79530
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=77924
|
|
|
|
| |
Notes:
svn path=/head/; revision=71895
|
|
|
|
| |
Notes:
svn path=/head/; revision=70152
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directories in addition to world-writable directories. As before,
this check can be disabled with the "-i" option, which in turn can
be made the default for boot-up by setting "ldconfig_insecure=YES"
in "/etc/rc.conf".
Also fix an mdoc nit in the manual page.
Submitted by: Maxime Henrion <mux@qualys.com>
Notes:
svn path=/head/; revision=70121
|
|
|
|
| |
Notes:
svn path=/head/; revision=68960
|
|
|
|
| |
Notes:
svn path=/head/; revision=68716
|
|
|
|
|
|
|
|
|
|
| |
root ownership, etc. I will soon commit a companion knob for
"/etc/rc.conf".
Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
Notes:
svn path=/head/; revision=64360
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and emit a warning. This is a security measure since ldconfig
influences the shared libraries used by all programs.
I think the check should be made even more stringent by also
ignoring group-writable directories. I will make that change soon
unless we encounter a good reason not to do it.
Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
Notes:
svn path=/head/; revision=63872
|
|
|
|
|
|
|
| |
Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
Notes:
svn path=/head/; revision=62858
|
|
|
|
| |
Notes:
svn path=/head/; revision=57782
|
|
|
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
Notes:
svn path=/head/; revision=57668
|
|
|
|
| |
Notes:
svn path=/head/; revision=50476
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a different file than the a.out hints, namely, "/var/run/ld-elf.so.hints".
These hints consist only of the directory search path. There is
no hash table as in the a.out hints, because ELF doesn't have to
search for the file with the highest minor version number. (It
doesn't have minor version numbers at all.)
A single run of ldconfig updates either the a.out hints or the ELF
hints, but not both. The set of hints to process is selected in
the usual way, via /etc/objformat, or ${OBJFORMAT}, or the "-aout"
or "-elf" command line option. The rationale is that you probably
want to search different directories for ELF than for a.out.
"ldconfig -r" is faked up to produce output like we are used to,
except that for ELF there are no minor version numbers. This should
enable "ldconfig -r" to be used for checking LIB_DEPENDS in ports
even for ELF.
I implemented the ELF functionality in a new source file, with an
eye toward eliminating the a.out code entirely at some point in
the future.
Notes:
svn path=/head/; revision=38836
|
|
|
|
|
|
|
|
|
|
| |
confused when they can't find it), but leave the reference to it
as being a standard filename (which doesn't imply that it exists).
Discussed with: jkh
Notes:
svn path=/head/; revision=32147
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
file based on the previous list of directories stored there which
should overcome a weakness of the '-m' switch which can only add
libs. This is an ideal way of updating the hints list after adding
or removing a shlib since it will remove entries that are gone and
doesn't need to have all the directories spelled out each time.
(eg: rm -f /usr/lib/libtcl75*; ldconfig -R) This only works for
version 2 hints files (which we've been generating for a year or
so) which store the path.
Notes:
svn path=/head/; revision=28559
|
|
|
|
|
|
|
|
|
| |
directory paths.
Reviewed by: jkh & jdp
Submitted by: Hans Zuidam <hans@brandinnovators.com>
Notes:
svn path=/head/; revision=27334
|
|
|
|
| |
Notes:
svn path=/head/; revision=22996
|
|
|
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Notes:
svn path=/head/; revision=21673
|
|
|
|
|
|
|
|
|
|
| |
entered into the hints file, in addition to the directories named
on the command line.
2.2 Candidate.
Notes:
svn path=/head/; revision=19584
|
|
|
|
|
|
|
|
|
|
| |
"/var/run/ld.so.hints".
Delete an incorrect statement about LD_LIBRARY_PATH from the manual
page.
Notes:
svn path=/head/; revision=18859
|
|
|
|
|
|
|
|
|
| |
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
Notes:
svn path=/head/; revision=15135
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
now safely add a line like
ldconfig -m ${PREFIX}/lib
in ports' Makefiles and packing lists without throwing away some
directories the user may have added.
Submitted by: Mostly by Paul Kranenburg <pk@cs.few.eur.nl>
Notes:
svn path=/head/; revision=9290
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
warning handling and allows for link-time warnings with a modified
version of gas.
Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=5205
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handling of errors through the standard err() and warn()
more fixes for Geoff Rehmet's NULL pointer bug.
fixes NULL pointer bugs when linking mono and nested X servers.
supports a `-nostdlib' option.
accept object files without a symbol table
don't attempt dynamic linking when `-A' is given
a few variable names have chaged (desc -> fd), and the formatting has
changed which should make it much easier to track his sources.
I tested 'make world' for /usr/src and X twice with these changes.
Notes:
svn path=/head/; revision=1741
|
|
|
|
|
|
|
|
| |
by Satoshi Asami ( asami@cs.berkeley.edu ). Fixed also a minor typo
problem.
Notes:
svn path=/head/; revision=1336
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
late stage due to the fact that link.h was copyright Sun Microsystems.
This version of ld sync's us up with NetBSD's ld and supports compatablily
with NetBSD's -[zZ] flags (which we had reversed). Compiling with this
new ld will give you RRS warnings for libraries which do not contain .type
infomation - these wsarnings are harmless and will go away as soon as you
recompile your libraries (cd /usr/src; make libraries).
Notes:
svn path=/head/; revision=1153
|
|
|
|
| |
Notes:
svn path=/head/; revision=1146
|
|
Notes:
svn path=/head/; revision=696
|