| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
1) Include string.h for strcpy.
2) Don't make duplicate declaration of dump_file, we now include extern.h.
3) Help out with some constness.
4) Cast to slightly better types in some comparisons.
|
|
|
|
| |
Add FreeBSD Id tag where missing.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
even if there was no error occured (when trying to dlopen(3) object that
already linked into executable which does dlopen(3) call). This is more
proper fix for `ldd /usr/lib/libc.so' problem, because the new behaviour
conforms to documentation.
Remove workaround from ldd.c (rev.1.32).
PR: 35099
Submitted by: Nathan Hawkins <utsl@quic.net>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.
Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.
Tested on: i386 (extensively), alpha
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
returns, exit gracefully with 0.
This fixes the behavior you see when you specify libc.so. It occurs
because ldd(1) itself is linked with libc.so.
$ ldd /usr/lib/libc.so
/usr/lib/libc.so:
ldd: /usr/lib/libc.so: (null)
/usr/lib/libc.so: exit status 1
Reviewed by: silence of audit@
|
| |
|
| |
|
|
|
|
| |
macro.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
non-empty string in the environment; we indicate which objects caused
each object to be loaded.
PR: 30908
Submitted-by: Mike Meyer <mwm@mired.org>
|
|
|
|
| |
MFC after: 2 weeks
|
| |
|
|
|
|
| |
MFC after: 3 days
|
| |
|
| |
|
|
|
|
| |
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
|
|
|
|
|
|
|
| |
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.
This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
|
|
|
|
|
|
|
|
| |
Catch and report lseek errors too
While reading header don't attempt to continue reading
if some IO operation fails
PR: 23549
|
|
|
|
| |
with warn().
|
| |
|
|
|
|
| |
getopt returns -1 not EOF.
|
|
|
|
| |
e.
|
| |
|
|
|
|
|
|
|
|
| |
removed an erroneous cross-reference to ld.so(1), which doesn't
exist in FreeBSD.
PR: 17468
Submitted by: Randall Hopper <aa8vb@ipass.net>
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
|
|
|
|
|
|
| |
easier for translation teams.
PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
line, instead of skipping them.
Also make a few minor cleanups.
PR: bin/7783
|
|
|
|
| |
from <link.h>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
writeable -> writable (recall prior debate over this? :-)
initialise -> initialize
recognise -> recognize
Merry Christmas! :)
|
|
|
|
|
| |
symbol. It indicates whether the symbol refers to a function or a
data object.
|
|
|
|
|
|
|
| |
Bring the style of sods.c into better conformance. Add code to
print the contents of each datum being relocated. Correct the logic
that distinguishes between programs, shared libraries, and object
files. Make the entire program "-Wall" clean.
|
|
|
|
|
|
|
|
| |
Submitted by: Josh Gilliam
Closes PR's: 4429, 4431-4438
PS: He has agreed to submit all contrib fixes back to the original author.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
now treats empty "LD_*" environment variables as if they were unset, per
the standard SVR4 conventions.
|
|
|
|
|
| |
pathnames (rather than as "-lfoo") correctly.
Closes PR bin/2404.
|
|
|
|
|
|
| |
Made the usage message conform to the style guide.
Don't use the implementation variable `__progname'.
|
|
|
|
| |
Submitted by: faried nawaz <fn@uidaho.edu>, PR#2075
|
|
|
|
| |
Submitted by: Masafumi NAKANE <max@wide.ad.jp>, PR#1920
|
|
|
|
|
| |
dynamic linking information in the executable. It's quite extensive.
It's connected to ldd's (new) -v option.
|
|
|
|
|
|
|
| |
as present in the new rtld version.
Obtained from: NetBSD
Reviewed by: nate, jdp
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Reported by John Lind.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|