| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
PR: bin/7943 bin/8293
Submitted by: Bill Fenner <fenner@parc.xerox.com>
Approved by: jkh
|
|
|
|
| |
loaded objects wasn't being maintained properly.
|
|
|
|
| |
Submitted by: Matthew Jacob <mjacob@nas.nasa.gov>
|
|
|
|
|
|
| |
mode. (i.e., not from inetd)
PR: bin/8212
|
|
|
|
|
| |
PR: 8094
Submitted by: Christoph Weber-Fahr <wefa@callcenter.systemhaus.net>
|
| |
|
| |
|
|
|
|
| |
Reviewed by: Kenneth D. Merry <ken@plutotech.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
References from GDB to "printf" and various other functions would
find the versions in the dynamic linker itself, rather than the
versions in the program's libc. This fix moves the GDB link map
entry for the dynamic linker to the end of the search list, where
its symbols will be found only if they are not found anywhere else.
It was suggested by Doug Rabson, though I implemented it a little
differently.
I personally would prefer to leave the dynamic linker's entry out
of the GDB search list altogether. But Doug argues that it is
handy there for such things as setting breakpoints on dlopen().
So it stays for now, at least.
Note, if we ever integrate the dynamic linker with libc (which has
several important benefits to recommend it), this whole problem
goes away.
|
|
|
|
|
|
| |
dynamic linker itself dynamically allocated. All of them are
supposed to be dynamically allocated, but we cheated before. It
made gdb unhappy under some circumstances.
|
|
|
|
|
| |
Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
mike@smith.net.au (Mike Smith)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
least 2 version numbers. This fixes the bug where the dynamic
linker would try to load an ELF shared library if it found one.
Note, this change also fixes the same thing in "ld", because the
code is shared.
For "ld" there is still a problem with ".a" libraries, which cannot
be distinguished by name. I haven't decided what, if anything, to
do about that.
|
|
|
|
| |
Remove a couple of unsupported machines.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
libraries on alpha!
|
|
|
|
|
| |
Submitted by: John Birrell <jb@cimlogic.com.au> (with extra hacks by me)
Obtained from: Probably NetBSD
|
| |
|
|
|
|
|
| |
because I moved some functions. Mr. Tidy likes them to be in
alphabetical order.
|
|
|
|
|
|
|
|
| |
shared object. Note, this searches _only_ that object, and not its
needed objects, in accordance with the documentation.
Also fix dlopen(NULL, ...) so that the executable's needed objects
are searched as well as the executable itself.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
it to sit right...
The __error() hack gave out the wrong address. It returned the address of
errno in ld.so instead of the address of errno in the main program. Oops.
The hack is now correct, just in time to be obsoleted by elf.
|
|
|
|
|
|
|
|
|
| |
or Elf64 based on the inclusion of the machine dependent header.
I've left the addition of the extra fields to handle the relocation
structures with addend for a separate commit after jdp has had a chance
to review what I've done. The current change is needed to compile
csu/alpha/crt1.c
|
|
|
|
|
| |
installworld dies at this point otherwise, leaving the system
without a dynamic linker.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
PR: 7280
Reviewed by: phk
Submitted by: Craig Leres <leres@ee.lbl.gov>
|
|
|
|
|
|
| |
PR: 5497
Submitted by: Jacob Bohn Lorensen <jacob@jblhome.ping.mk>
Obtained from: OpenBSD (indirectly it seems so just to be safe)
|
|
|
|
| |
PR: 5676
|
|
|
|
|
|
| |
Document dependency on current load average for starting new batch jobs.
PR: 7109
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
alternative, I present .. ta! da! .. the __error() hack.
This patch to the a.out dynamic loader provides old a.out binaries
with __error() if they are linked with an older libc that lacks it,
but are also linked against a library that needs it.
There is a smaller, tricker hack that takes advantage of the fact
that ld.so has __error() too, courtesy of the new libc, but this
hack is the straightforward version.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
PR: 6903
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
|
|
|
|
|
|
| |
contains no ``/''s.
Elf already searches it seems.
Mostly submitted by: Mike Smith <mike@smith.net.au>
|
|
|
|
|
|
|
|
| |
libc and libbind.
rpc.rstatd required libkvm.
Only try to build these on i386 for the time being.
|
|
|
|
| |
PR: 5287
|
|
|
|
| |
Otherwise the length of the name is limited to 32 characters only.
|