| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
bptypes.h originally defined int32 to be of type long. This obviously
doesn't work on the Alpha. By defining int32 (and u_int32) in terms of
int32_t (and u_int32_t) it now is what it says it should be.
Two occurrences of 'unsigned int32' have been changed to 'u_int32' for
consistency.
Submitted by: Wilko Bulte <wilko@yedi.iaf.nl>
|
|
|
|
| |
This has proved useful in real life installations.
|
| |
|
|
|
|
| |
Pointed out by: David A. Holland
|
|
|
|
| |
apropos(1) now knows about rtld(1) manpage.
|
|
|
|
|
|
| |
PR: docs/13702
Submitted by: Stephen J. Roznowski <sjr@home.com>
Reviewed by: mpp
|
| |
|
|
|
|
|
|
|
|
| |
a file transfer, the command was mishandled on every other receipt of the
command.
PR: 13261
Submitted by: Ian Lepore <ian@plutotech.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libjava peeks into the dynamic linker's private Obj_Entry structures.
My recent changes introduced some new members near the front of
the structures, causing libjava to get the wrong fields. This commit
moves the new members toward the end of the structure so that the
layout of the portion that is relevant to JDK remains the same as
before.
I will work with the JDK porting team to see if we can come up with
a less fragile way for them to do what they need to do. I understand
the current approach was necessary in order to work around some
limitations of the dynamic linker. Maybe it's not necessary any
more.
|
| |
|
|
|
|
|
|
|
| |
to a debug message which is disabled in production builds of the
dynamic linker. The condition warned about is normally harmless.
PR: bin/12849
|
|
|
|
|
|
|
| |
up first -- before the dlopened DAGs containing the referencing
object.
This makes dynamically loaded perl modules work properly again.
|
|
|
|
|
|
|
| |
PT_INTERP program header entry, to ensure that gdb always finds
the right dynamic linker.
Use obj->relocbase to simplify a few calculations where appropriate.
|
|
|
|
| |
a device/inode match if no pathname match is found.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
loaded separately by dlopen that have global symbols with identical
names. Viewing each dlopened object as a DAG which is linked by its
DT_NEEDED entries in the dynamic table, the search order is as
follows:
* If the referencing object was linked with -Bsymbolic, search it
internally.
* Search all dlopened DAGs containing the referencing object.
* Search all objects loaded at program start up.
* Search all objects which were dlopened() using the RTLD_GLOBAL
flag (which is now supported too).
The search terminates as soon as a strong definition is found.
Lacking that, the first weak definition is used.
These rules match those of Solaris, as best I could determine them
from its vague manual pages and the results of experiments I performed.
PR: misc/12438
|
|
|
|
| |
definition was found in the referencing object.
|
| |
|
|
|
|
|
|
|
| |
easier for translation teams.
PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>
|
| |
|
|
|
|
|
| |
really dislikes this, we could add a switch to disable it at runtime and
check in popen.c.
|
|
|
|
|
|
| |
my last three successful make buildworlds...
Noticed by: phk
|
|
|
|
|
|
|
| |
set permissions.
Bug not fixed:
We silently ignore failures of chflags, chmod and chown.
|
|
|
|
|
|
|
| |
violations in certain obscure cases involving failed dlopens. Many
thanks to Archie Cobbs for providing me with a good test case.
Eliminate a block that existed only to localize a declaration.
|
|
|
|
| |
the queue macros.
|
| |
|
| |
|
|
|
|
|
| |
user requests. Note that nothing can be said about the value of 'user'
unless User != NULL.
|
|
|
|
|
|
| |
caused by invalid shared objects rather than by internal errors.
Enable format string mismatch checking for _rtld_error().
|
|
|
|
|
| |
from "end" to "_end". The former does not exist in most shared
libraries. This fixes problems in dladdr() and dlsym(RTLD_NEXT, ...).
|
|
|
|
|
| |
PR: 12610
Submitted by: Seth <seth@freebie.dp.ny.frb.org>
|
| |
|
|
|
|
| |
control the horizontal.
|
|
|
|
|
|
|
|
|
|
| |
the dynamic linker didn't clean up properly. A subsequent dlopen()
of the same object would appear to succeed.
Another excellent fix from Max Khon.
PR: bin/12471
Submitted by: Max Khon <fjoe@iclub.nsu.ru>
|
|
|
|
|
|
| |
debug the init functions.
Submitted by: dfr
|
|
|
|
|
|
| |
more than once.
Pointed-out-by: sheldonh
|
|
|
|
| |
PR: bin/12129
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
discovered by Hidetoshi Shimokawa. Large programs need multiple
GOTs. The lazy binding stub in the PLT can be reached from any of
these GOTs, but the dynamic linker only has enough information to
fix up the first GOT entry. Thus calls through the other GOTs went
through the time-consuming lazy binding process on every call.
This fix rewrites the PLT entries themselves to bypass the lazy
binding.
Tested by Hidetoshi Shimokawa and Steve Price.
Reviewed by: Doug Rabson <dfr@freebsd.org>
|
| |
|
|
|
|
| |
Patch submitted by: Dan Nelson <dnelson@emsphone.com>
|
|
|
|
| |
PR: docs/10771
|
|
|
|
|
|
|
|
|
|
| |
o main returns int not void
o use return 0 at end of main when needed
o use braces to avoid potentially ambiguous else
o don't default to type int (and also remove a useless register
modifier).
Reviewed by: obrien and chuckr
|
|
|
|
|
|
|
| |
function. It was an ill-considered feature. It didn't solve the
problem I wanted it to solve. And it added Yet Another Version
Number that would have to be maintained at every release point.
I'm nuking it now before anybody grows too fond of it.
|
|
|
|
|
|
| |
_init() functions, initialize the global variables "__progname" and
"environ". This makes it possible for the _init() functions to call
things like getenv() and err().
|
|
|
|
|
| |
shared object takes precedence over LD_LIBRARY_PATH. Make the
dynamic linker do it that way.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the Makefile, and move it down into the architecture-specific
subdirectories.
Eliminate an asm() statement for the i386.
Make the dynamic linker work if it is built as an executable instead
of as a shared library. See i386/Makefile.inc to find out how to
do it. Note, this change is not enabled and it might never be
enabled. But it might be useful in the future. Building the
dynamic linker as an executable should make it start up faster,
because it won't have any relocations. But in practice I suspect
the difference is negligible.
|
|
|
|
|
|
|
|
|
| |
MAXHOSTNAMELEN and call trimdomain() before implementing
the -u option.
This allows local hosts of a lan with a long domain name to
appear properly in utmp by base host name (w/o domain) rather
than by IP number.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
friends are terminated and allow for a maximum
host name length of MAXHOSTNAMELEN - 1.
Put parenthesis around sizeof args.
Make some variables static.
Fix telnetd -u (broken by my last commit)
Prompted by: bde
|