| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
compat2x, which is still in use, as evidence by recent bug reports.
|
|
|
|
| |
Submitted by: db
|
|
|
|
| |
(Why is aout support still there?)
|
|
|
|
| |
Submitted by: Ulrich Spörlein
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Requested by: ru
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: Steve Kargl sgk at troutmask dot apl dot washington dot edu
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
their sizeof(*p) instead of explicitlly specifying their types.
Suggested by: nectar
|
|
|
|
|
|
| |
of the meaning.
Suggested by: stefanf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Convert the (char *) cast+cast backs magic to
memcpy(3). Without this, the resulting code
is potentially risky with higher optimization
levels.
- Avoid same name when calling local variables,
as well as global symbols. This reduces
confusion for both human and compiler.
- Add necessary casts, consts
- Use new style function defination.
- Minor style.Makefile(5) tweak
- Bump WARNS?= from 0 to 6
** for the aout code: changes are intentionally limited
to ease maintaince.
|
|
|
|
| |
PR: 56653
|
| |
|
|
|
|
|
|
|
| |
ld-elf.so.1 on 64 bit systems. Most of this involves using alternate
paths, environment variables and diagnostic messages.
The build glue is seperate.
|
|
|
|
|
|
|
|
| |
PR: bin/43930
Submitted by: Alan Barrett
Approved by: rwatson (mentor)
MFNetBSD: revision 1.35
MFC after: 3 days
|
|
|
|
| |
Use WARNS?= instead of WARNS=.
|
|
|
|
|
|
|
| |
file.
PR: 46271
Approved by: re (blanket)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
o main prototype removed
|
|
|
|
|
|
| |
It does not help modern compilers, and some may take some hit from it.
(I also found several functions that listed *every* of its 10 local vars with
"register" -- just how many free registers do people think machines have?)
|
|
|
|
|
|
| |
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
|
| |
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
|
|
|
| |
Reviewed by: peter
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
|
|
|
| |
root ownership, etc. I will soon commit a companion knob for
"/etc/rc.conf".
Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
|
| |
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
|
|
|
|
|
|
| |
and proceed rather than quitting with a fatal error message.
PR: bin/16056
Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
|
|
|
|
| |
Reviewed by: audit@freebsd.org
|
| |
|
|
|
|
| |
OK'd by: bde
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
standard places ("/etc/objformat", ${OBJFORMAT}, argv) for an
indication of the user's preferred object file format. This
consolidates some code that was starting to be duplicated in more
and more places.
Use the new function in ldconfig.
Note: I don't think that gcc should use getobjformat(), even though
it could. The compiler should limit itself to functions that are
widespread, to ease porting and cross-compilation.
|
|
|
|
|
|
|
|
|
|
|
| |
MAP_FAILED.
Don't try to extend the mapping in place if it is too short.
There's no guarantee it will be possible. Remap the file instead.
Put in a few style fixes.
Submitted by: Bruce Evans <bde>
|
|
|
|
| |
version numbers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|