Commit Graph

101940 Commits

Author SHA1 Message Date
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
joda
fc15dce1ae need emalloc from roken 2002-09-12 13:35:56 +00:00
joda
3e5b5df667 version 6.1 2002-09-12 13:34:50 +00:00
joda
a8826a31ce update to newer versions 2002-09-12 13:32:37 +00:00
joda
da086653ff resolve import conflicts 2002-09-12 13:18:49 +00:00
abs
4bebaafe44 Protect extern zstty_cd with (NKBD > 0) || (NMS > 0) 2002-09-12 12:51:37 +00:00
minoura
a0b98a781b #include <string.h> for memset() prototype. 2002-09-12 12:50:04 +00:00
scw
a9c1bc6c83 Add code to deal with the "Cache Purge/Invalidate can cause TLB Miss"
problem, such that a TLB miss no longer occurs.

With the above, it is now safe to enable write-back caching for userland
mappings.

TODO: Deal with cache issues for shared mappings with different VAs.
2002-09-12 12:44:13 +00:00
joda
0444766465 import heimdal 0.5 2002-09-12 12:41:31 +00:00
scw
7e0aa6fcfc sh5_setasid() now returns the original ASID value. 2002-09-12 12:39:34 +00:00
scw
a73ea332f6 Adapt to new cacheops requirements. 2002-09-12 12:38:42 +00:00
scw
22569e09ed The cacheops functions now need the physical address of the region
to be purged/invalidated.
2002-09-12 12:37:49 +00:00
martin
fddb94e533 Fix synopsis to include the pcmcia* attaching at nell. 2002-09-12 12:37:27 +00:00
joda
5146dc79e7 import helper 2002-09-12 12:35:03 +00:00