simonb
14fe5254b3
Don't include <machine/regdef.h>.
1999-03-28 11:56:51 +00:00
bgrayson
085184c276
Avoid an open-file leak when not inetd-spawned: only call kvm_openfiles() once
1999-03-25 08:07:47 +00:00
bgrayson
3db12eddbc
Added description of argv[1] value interval (rpc.rstatd doesn\'t use getopt)
1999-03-25 01:56:13 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
garbled
f124765044
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:25:43 +00:00
thorpej
e278587d62
Move the link.h files for the different shlib formats via repository copy,
...
and rename them to match the executable format. Introduce a new link.h
file which automatically picks the correct header based on the target of
the toolchain.
1999-03-19 22:06:36 +00:00
kleink
34729a4b4f
Remove /usr/local/lib from RTLD_DEFAULT_LIBRARY_PATH; c.f. PR bin/7146.
1999-03-19 18:25:57 +00:00
mrg
3a4a79d477
add missing .Bl.
1999-03-17 01:51:04 +00:00
thorpej
18a3c92638
Reenable ld.elf_so on the Alpha. Mycroft fixed the binutils 2.9 problem
...
which prevented it from working.
1999-03-15 23:32:56 +00:00
drochner
8f59d4063a
work around egcs prints format warning on alpha
...
(XXX bad fix, but egcs doesn't like a "quad_t" here)
1999-03-14 11:43:25 +00:00
drochner
8ae646e9ae
work around printf format warnings on alpha
1999-03-14 11:39:28 +00:00
ragge
f285208477
Need a small prototype. (Where did it go?)
1999-03-13 22:15:25 +00:00
christos
3456da383e
Fix i386 problem, when we are relocating ourselves... We cannot depend
...
on the address of GOT or _DYNAMIC.
1999-03-13 20:00:14 +00:00
ragge
6831afc23a
unbalanced `#endif', pointed out by Ken Wellsch.
1999-03-13 17:09:51 +00:00
perseant
2c952176c1
Cleaner changes corresponding to in-kernel LFS changes. In particular, the
...
cleaner understands fragments; and it knows to change bi_bp to reflect a
change in bi_daddr, if lfs_bmapv says that there is one.
1999-03-10 00:57:16 +00:00
kleink
3b03384405
Update an i386-ismed comment.
1999-03-08 10:44:25 +00:00
drochner
90218b7032
make the mipse[lb]->mips translation really work,
...
thanks Izumi Tsutsui
1999-03-05 11:57:54 +00:00
tsubai
c2d83dc354
Make this compile.
1999-03-05 04:50:28 +00:00
christos
ec2edc19fd
Make this compile without -DRTLD_LOADER and fix printf format problems on
...
the alpha.
1999-03-03 21:18:00 +00:00
jonathan
1988441027
Not all ports use 'tmp'.
1999-03-03 12:20:00 +00:00
jonathan
3eeb52dee0
Makefile ${MACHINE_ARCH} changes for mips{eb,el}, as suggested by
...
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
1999-03-03 12:00:18 +00:00
christos
c346a6827a
fix rdbg macro args.
1999-03-01 18:59:31 +00:00
christos
26475619ed
KNF
1999-03-01 16:40:07 +00:00
christos
bc97a25328
Reality check.
1999-03-01 16:33:21 +00:00
christos
77aa6b2a64
- Use c style comments.
...
- & -> and
- align 4 in both functions for consistency.
1999-03-01 14:40:32 +00:00
kim
62b98a9670
Make mkdep succeed (use matching quotes in comment).
1999-03-01 03:39:39 +00:00
msaitoh
aade0aa230
sort SEE ALSO section by "sort |sort -n"
1999-02-28 20:15:50 +00:00
msaitoh
9d6a096335
sort SEE ALSO section by "sort | sort -n"
1999-02-28 20:13:41 +00:00
scottr
2b90737599
Replace local xva_arg() inline function with macros similar to those in
...
the stdio vfprintf() function. Fixes compilation errors on powerpc due
to differences in how va_list is implemented.
1999-02-27 21:52:23 +00:00
scottr
b69760be08
Fix typo introduced in rev 1.11
1999-02-27 21:38:04 +00:00
pk
e81b9ed433
* Make changing the PLT slot entry (lazy function binding) thread-safe.
...
* Insert `iflush' instructions for the patched words in PLT entries.
1999-02-27 17:12:13 +00:00
pk
4e7849055a
Add comment on the necessity of having to look at implicit memory addends
...
even though the sparc architecture uses `Elf_Rela' structures exclusively.
1999-02-27 11:36:02 +00:00
pk
1c13c70bab
Introduce pre-preocessor symbol RTLD_INHIBIT_COPY_RELOCS.
...
Currently, only mips does not include COPY_RELOCs code.
1999-02-27 10:44:26 +00:00
pk
a32bf0c1c2
Just initialize the stack-based temporary `rtld self' object.
1999-02-27 10:35:16 +00:00
pk
5c519e8777
Target bitmask for RELOC_RELATIVE should be a full word.
...
Also for RELOC_RELATIVEs, add in the memory contents in addition to r_addend.
1999-02-27 10:24:52 +00:00
tv
ff6c8ce557
Add ld.so hacks for arm32, and reenable ld.aout_so on arm32. As is well
...
known, XXX this needs a real fix.
1999-02-27 03:34:05 +00:00
christos
ddadb71e4e
Relative relocations should use addend.
1999-02-26 22:50:03 +00:00
pk
22001aee9c
Take care of `load address relative' relocations.
...
Ignore JMP_SLOTs in non-plt relocations.
1999-02-26 22:13:49 +00:00
pk
f6a359f27f
Completely construct the first PLT entry and correctly compute the
...
PC relative offset in the call insn.
1999-02-26 22:07:47 +00:00
pk
801d8e5b9d
Implement rtld_bind() stub.
...
Fix startup code.
1999-02-26 22:01:31 +00:00
tv
7255b47042
Partial fix for Alpha breakage. s/tmp_value/tmp/ in two places, and don't
...
try to check _rtld_objself when doing R_TYPE(RELATIVE) relocs, as the
Alpha ld.elf_so contains them!
I'm not sure the logic for the RELATIVE fix is quite right; it happens to
Work on alpha, but do we actually need to make sure we aren't relocating
ld.elf_so there?
XXX: I am working on making use of RTLD_RELOCATE_SELF on alpha, which may
make this hack of a fix moot.
1999-02-25 21:49:04 +00:00
christos
84cb65780e
Cleanup global variable access so rtld can be self relocating. Also KNF
...
reloc.c and move md sparc parts to arch/sparc/mdreloc.c
Now we don't need to load at address 0 on the i386 and the mips should be
trivial to fix.
1999-02-24 18:31:00 +00:00
christos
62926e7ee2
Work in progress (does not work yet).
1999-02-24 18:25:40 +00:00
explorer
b2f939ac51
Make this build with KERBEROS5 defined.
1999-02-24 16:45:13 +00:00
pk
4b4b099e87
Fix glitch in previous.
1999-02-24 12:20:30 +00:00
pk
4c7fbbb5c8
Add an approximation of the necessary sparc bits in here.
...
I've not followed the trend in this file by trying to wrench the MD
code into individual functions. Rather I,ve replaced several functions
wholesale. Anyway, this whole file needs to be re-done.
1999-02-22 17:06:11 +00:00
kleink
8e718db8de
Replace home-grown header file installation with INCS/INCSDIR; from Erik
...
Bertelsen in PR bin/6869.
1999-02-21 18:10:24 +00:00
christos
98619fe771
Remove unneeded args for rtld (kleink)
1999-02-19 10:22:14 +00:00
scottr
8481f548e2
Remove the crypto-related bits until such time as we have a fully-
...
integrated source tree. Export-controlled versions of these are now
built during the domestic build process.
1999-02-18 21:22:51 +00:00
lukem
868ca23db4
remove NOPROG (nothing uses it). however, set MKOBJ=no if appropriate
1999-02-13 23:53:56 +00:00
christos
abbd7cf487
tv is right; we don't need to specialcase the i386.
1999-02-13 16:35:14 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
tv
9209c9b03a
On everything but the i386, don't write new values into the GOT that are
...
not pointing to the PLT in _rtld_relocate_plt_object(). I'm not quite
sure why the i386 added the extra relocations, but it removed the `return
0' needed for other arches.
THIS DOES NOT YET FIX BUILDING LD.ELF_SO ON ALPHA. There are some other
binutils 2.9.1 related issues, but this does return build ability to
2.8.1 based as and ld. Will do more investigation later.
1999-02-12 17:52:07 +00:00
tv
4ce782a049
Something is making ld.elf_so lose on Alpha and I don't have time to
...
figure this out until tomorrow. Disable until myself or someone else
clobbers the problem.
1999-02-12 17:17:57 +00:00
christos
580ca245fd
Be consistant about the .rtld_start and _rtld_start
1999-02-12 17:15:52 +00:00
kleink
b75d68301e
<sys/fcntl.h> -> <fcntl.h>
1999-02-12 15:04:00 +00:00
dean
63f386cdd0
Fix for PR 5821
...
- s/SecurID/SECURELOGIN/g and define SECURELOGIN in Makefile
- update man page to reflect S/Key and Kerboros authentication used
not SecurID
1999-02-12 05:30:11 +00:00
christos
e8ae49d4af
Build depending on OBJECT_FMT not a list of MACHINE_ARCH's
1999-02-09 20:27:04 +00:00
augustss
e165b79030
Get rid of the annoying warning about NAMN not being a proper first .SH.
...
Do it by adding a table of allowed first SH tags.
1999-02-08 20:05:57 +00:00
aidan
9935ad76a5
Fix for bin/4637, mostly as discussed on current-users.
...
Allow relative file writes,
For relative file accesses, no longer continues searching dirlist once we find
_any_ file, even one for which we don't have access,
If no dirlist was given on the command line, apply same permissions check as
with 'absolute' requests before allowing access.
1999-02-07 21:38:44 +00:00
christos
73917056ff
Fixed for i386/elf.
1999-02-07 17:24:05 +00:00
christos
fed6586383
Support for {h,l,q,ll} modifiers and %p
1999-02-07 17:23:40 +00:00
christos
246b3960cd
Add -DRTLD_DEBUG_RELOC commented out.
1999-02-07 17:23:03 +00:00
lukem
00007d07d6
* actually commit the changes which add support for recognising RFC 2228
...
commands (even if we don't do anything with them)
* in logcmd(), syslog why realpath() failed (if it did).
1999-02-05 21:40:49 +00:00
mrg
f2130fd9fd
do not use LOG_CONS.
1999-01-31 08:51:53 +00:00
fvdl
0810c73a0e
Move the ldentry initialization up so that dl*() from init sections
...
works.
1999-01-28 23:58:49 +00:00
castor
82bc6ffe05
Avoid confusing various C preprocessors by avoiding # [0-9]
1999-01-18 06:49:57 +00:00
christos
d86bec83ec
PR/6824: Erik Bertelsen: Missed arch directory in recent move.
1999-01-16 14:59:03 +00:00
kml
ca59ae7c5c
Ensure that all of the initial message (im=) gets flushed to the
...
screen; previously, the last buffer worth of text would fail
to be printed.
1999-01-15 23:44:32 +00:00
tsarna
531aeb7c25
Add a "class" entry to ttyent. Closes PR#4638.
1999-01-15 18:47:48 +00:00
matthias
655a41ea73
Fix from Phil Budne (add missing prototypes) to make ld.so compile again
...
on the pc532.
1999-01-15 07:48:07 +00:00
fair
59e43c6946
Revise text about filenames as suggested by Geoff Wing in PR#6366.
...
Add reference in SEE ALSO to RFC 1350
1999-01-13 11:16:57 +00:00
thorpej
f821bc6d6b
Fixup some printf format argFixup some printf format argFixup some printf format argFixup some printf format argFixup some printf format argFixup some printf format argFixup some printf format argFixup some printf format argFixup some printf format args.
1999-01-11 23:12:16 +00:00
kleink
3ed4fcf61e
In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
...
of errno.
1999-01-11 22:39:59 +00:00
christos
9f77dc2e81
Add a few comments about the i386 and others.
1999-01-11 11:05:29 +00:00
christos
14d2402e4b
Add i386 bits. Only works with -fpic or -fPIC compiled binaries since
...
COPY relocations don't work.
1999-01-10 18:21:24 +00:00
christos
d72f81978d
Add i386 bits
1999-01-10 18:18:56 +00:00
christos
afb18a5077
Moved via repository copy to arch/powerpc
1999-01-10 17:34:42 +00:00
christos
86ef105de2
Moved via repository copy to arch/mips
1999-01-10 17:33:59 +00:00
christos
a12e7c4c86
Moved via repository copy to arch/alpha
1999-01-10 17:33:11 +00:00
christos
ab951f38e0
Add __attribute__ for printf like commands.
1999-01-10 17:19:01 +00:00
castor
dc6b4c42a3
Restore missing variable declaration with -DRTLD_DEBUG
1999-01-09 18:10:19 +00:00
itohy
85da239ef8
Fix byte order swapping for cross linker.
1999-01-05 10:02:20 +00:00
cjs
74f6e33bdf
Descend on obj, as well as clean, cleandir, etc.
1999-01-03 21:56:42 +00:00
lukem
32214ab926
rcsid police
1999-01-03 02:22:05 +00:00
nathanw
f315107074
Fix compile warning on alpha (%qd and off_t lossage).
1999-01-02 17:54:21 +00:00
tv
80710db636
Until such time that the arm32 hacks are added to ld.so, or at least
...
something is done about arm32 shlibs, do not build ld.aout_so on a vanilla
recursive make.
1998-12-30 15:07:08 +00:00
lukem
c984c19121
* replace LOG(CMD|BYTES) macros with logcmd(), which is a cleaner
...
solution with less code replication. use realpath() in logcmd() so
that all logged filenames are sane.
* support `REST STREAM' in `FEAT' reply (from draft-ietf-ftpext-mlst-05)
* in 'HELP', suffix unimplemented commands with `-' instead of `*'; the
former is easier to differentiate from `+'.
* deprecate curdir() now that logcmd() doesn't use it.
* ensure all filename buffers are at least MAXPATHLEN+1 in size.
* move jmp_buf errcatch out of extern.h, removing need to #include <setjmp.h>
in every file.
1998-12-28 04:54:00 +00:00
is
7871bc1564
Add a prototype for the _cachectl() trap call stup in mdprologue.S.
1998-12-21 12:16:16 +00:00
veego
4bf0cd6592
Include err.h to fix compile warnings.
1998-12-20 17:43:37 +00:00
pk
e35b4d9b30
Duh! Hang on to SUN_COMPAT.. something is bust.
1998-12-17 23:36:38 +00:00
pk
259f05dc84
Re-arrange to hide unneeded functions when building the run-time linker.
...
Pick up ld(1) implementation definitions.
1998-12-17 20:14:44 +00:00
pk
cdb9bd0327
Add ld.aout_so to SUBDIRS
1998-12-17 15:15:27 +00:00
pk
76ae27e1f8
Pick up ld(1) implementation definitions.
1998-12-17 14:29:50 +00:00
pk
d2db1ca59a
* Add header file containing definitions shared among all a.out
...
linker related utilities.
* Adjust makefile to new location in `src/libexec'
* Have rtld.c use the new shlib.h and ld.h headers.
1998-12-17 11:34:10 +00:00
pk
5f5db2f16f
Re-arrange to hide unneeded functions when building the run-time linker.
1998-12-17 10:54:34 +00:00
pk
4f32152ede
Export the common shared library search functions in its own header file.
1998-12-15 23:16:14 +00:00
pk
b53366509b
Deal with compiler warnings: format strings, prototypes, variable initialization.
1998-12-15 21:35:17 +00:00
pk
c03c29c0e4
Prototypes.
1998-12-15 21:33:00 +00:00
pk
f6f34d9c9f
Pull in <a.out.h>.
1998-12-15 21:28:28 +00:00