mycroft
daf8118731
Remove an old comment.
2002-09-13 04:09:49 +00:00
mycroft
2f59687514
Almost all of the items in here are done.
2002-09-13 04:05:00 +00:00
thorpej
5aa3fde6fa
Delete a few things that appear in gcc 3.x's CPP output.
2002-09-13 03:41:54 +00:00
mycroft
777a2b8bb0
If we match a symbol name, but it's undefined, do not continue searching the
...
hash chain.
2002-09-13 03:40:40 +00:00
mycroft
bbe45a0623
Remove a dumb #ifdef -- if VARPSZ is not defined on sparc, the build will
...
bomb anyway.
2002-09-13 03:22:08 +00:00
mycroft
4de09f873b
Nuke an unneeded hack for the Alpha.
2002-09-13 03:17:21 +00:00
mycroft
807a6ace45
Nuke two frivolous assert()s.
2002-09-13 03:12:40 +00:00
mycroft
4b55da479c
_rtld_bind() is not used on MIPS. Should probably move it to MD code.
2002-09-13 03:09:38 +00:00
chuck
fa0cb6c277
increase sc_maxxfer from 63K to 64K. otherwise fsck fails for
...
file systems with larger block sizes.
2002-09-13 03:00:18 +00:00
itojun
a05a73b5b6
revert previous. wtmp{,x} entries need not be \0-terminated, so
...
strncpy is more proper.
2002-09-13 02:58:54 +00:00
simonb
f2721c1ee4
Fix indent botch.
2002-09-13 02:16:08 +00:00
simonb
7f4e82e47b
Add CPU_MIPS_DOUBLE_COUNT for the TX49xx cpus.
2002-09-13 01:27:46 +00:00
mycroft
f64e457cee
Remove one more `dodebug' argument.
2002-09-12 23:11:37 +00:00
mycroft
a3b892d178
Nuke -DRTLD_RELOCATE_SELF and `dodebug' from orbit.
2002-09-12 22:56:28 +00:00
mycroft
f13bdd9850
Add some consts.
2002-09-12 21:06:38 +00:00
augustss
614176bdc6
No trailing , in enum (from OpenBSD).
2002-09-12 21:00:42 +00:00
mycroft
5ad776fbd2
Move another declaration that doesn't belong in MI source.
2002-09-12 20:27:34 +00:00
mycroft
de4565ee93
Prototype different functions.
2002-09-12 20:24:03 +00:00
mycroft
547bc13b97
_rtld_bind_start() is not used in MI code, so declare it in the MD code.
2002-09-12 20:20:58 +00:00
mycroft
bf04efbfda
ld.elf_so has no textrels on arm, i386 or vax -- and shouldn't on any platform,
...
but that's beside the point.
2002-09-12 19:43:03 +00:00
ragge
683a9a8544
Add COMPAT_15 and COMPAT_16 and commented-out dmf.
2002-09-12 19:23:45 +00:00
mycroft
6530c89689
Slight tweak.
2002-09-12 18:43:17 +00:00
mycroft
326f270bfb
The GOT is Elf_Addr[], not Elf_Word[]...
2002-09-12 18:36:43 +00:00
mycroft
6f0bda739f
This ld script is now unnecessary.
2002-09-12 18:33:39 +00:00
mycroft
1165ce6f38
Clean up a little.
2002-09-12 18:28:53 +00:00
ragge
d1c2e581d6
Rename __sigtramp1.S to __sigtramp.S.
2002-09-12 18:28:52 +00:00
ragge
2e409d7d44
Fix a signal handler bug originally reported by Hugh Graham some year ago:
...
If two signals are sent after each other without the process being run in
userspace between them then the second one will overwrite part of the signal
info stored on the userstack.
Fixed by rewriting and simplifying both the signal delivery code and the
trampoline code. Also bump signal version number to 2.
Rename __sigtramp1.S to __sigtramp.S.
2002-09-12 18:28:22 +00:00
ragge
32923df5d6
Fix a signal handler bug originally reported by Hugh Graham some year ago:
...
If two signals are sent after each other without the process being run in
userspace between them then the second one will overwrite part of the signal
info stored on the userstack.
Fixed by rewriting and simplifying both the signal delivery code and the
trampoline code. Also bump signal version number to 2.
2002-09-12 18:22:23 +00:00
mycroft
2346aaad04
Move GOT relocation code from _rtld_setup_pltgot() to
...
_rtld_relocate_nonplt_objects(). Add GOT self-relocation in
_rtld_relocate_nonplt_self().
MIPS ld.elf_so can now relocate itself.
2002-09-12 18:21:18 +00:00
matt
25c3b57cd5
Don't emit R_VAX_GLOB_DAT for symbolic links. Eliminate all
...
local_got_offset cruft that's was still there. Change the way
got_entries were assigned. Now do it in elf_vax_size_dynamic_sections.
Add a routine elf_vax_instantiate_got_entries which assigns space in
the GOT or changes to normal PC32 references for static or symbolic links.
2002-09-12 17:51:33 +00:00
mycroft
2b2534febf
Add a `relocbase' argument to _rtld() and _rtld_init(), which is passed in
...
from the glue code in _rtld_start(). This is used to set objself.relocbase,
rather than assuming that it's the same as objself.mapbase (or 0 on MIPS).
Now -- with a bug fix to the kernel -- ld.elf_so can be linked at any VMA.
2002-09-12 17:45:41 +00:00
mycroft
d04429c6a7
Figure out the relocation offset and pass it to _rtld().
2002-09-12 17:43:30 +00:00
joda
88c01303c3
changes after importing kerberos
2002-09-12 17:18:48 +00:00
mycroft
ebf50cdfbc
Update comments.
2002-09-12 17:18:37 +00:00
joda
72be5e0769
invert detach flag to match previous NetBSD behaviour
2002-09-12 17:16:38 +00:00
mycroft
ac81e3266b
Snapshot of work to make MIPS ld.elf_so relocatable.
2002-09-12 17:08:32 +00:00
mycroft
5ee0e5e1c4
Pass the calculated relocation offset down to _rtld().
2002-09-12 17:07:25 +00:00
mycroft
30d477000a
The entry point address for the interpreter must be adjusted by the text
...
section VMA on all platforms. It just happens to 0 normally on everything but
MIPS.
2002-09-12 16:57:44 +00:00
tsutsui
48bddc7728
bus_dmamap_load() can't take BUS_DMA_COHERENT flag.
2002-09-12 16:01:06 +00:00
joda
cae4f88ee0
kill some warnings
2002-09-12 15:35:02 +00:00
joda
610c58a71a
fix typo in previous
2002-09-12 15:29:02 +00:00
joda
1fdc1a1e39
remove all traces of ktypes.h
2002-09-12 15:28:22 +00:00
joda
2c3a59b23a
krb5_socklen_t and krb5_ssize_t should not go here
2002-09-12 14:52:33 +00:00
joda
cd26173a60
krb5-types.h is no more; install more man pages
2002-09-12 14:50:31 +00:00
christos
d571f02f7d
Don't bother calling secure_path() is kernel == _PATH_UNIX. If you are going
...
to default to it and use it anyway, why do the security check?
2002-09-12 14:42:15 +00:00
joda
80917fea60
ktypes.h has gone
2002-09-12 14:28:33 +00:00
joda
91f0927074
make this actually do something
2002-09-12 14:12:18 +00:00
joda
58cc4c1950
alias dns functions so we don't have to bump major
2002-09-12 14:10:25 +00:00
joda
09bfa07e97
version 12.3
2002-09-12 13:39:53 +00:00
joda
651b9b45cc
version 18.1
2002-09-12 13:38:56 +00:00