pooka
87a8e425d5
make usrdevicenames match reality better
...
from Ilpo Ruotsalainen
2002-09-13 14:29:15 +00:00
mycroft
7a962f974a
Kill the sparc64 argc conversion hack.
2002-09-13 14:23:07 +00:00
christos
9c59710333
Move humanize_number(9) to the ifdef _KERNEL section, because it conflicts
...
with humanize_number(3). In reality, the kernel version should be changed
to more closely match the userland version so that there are no prototype
conflicts.
2002-09-13 14:16:48 +00:00
ad
ca0ac2c78c
Driver for the Sun ZX/Leo framebuffer. This would be called leo, but the
...
amiga port already has a driver by that name.
2002-09-13 14:03:52 +00:00
mycroft
a18c524897
Figure out obj->pltrel(a) after the dynamic section is parsed, so the relative
...
order of DT_PLTREL and DT_JMPREL is irrelevant. Removes the need for yet
another weird #ifdef.
Also, be slightly more careful with the rel(a)lim trimming.
2002-09-13 13:28:43 +00:00
gehenna
a1d78935eb
overload block/character into u_long field.
...
kern/18234: slightly modified
2002-09-13 13:08:53 +00:00
tron
57a909560e
Adapt to changes in "rtld.h".
2002-09-13 08:40:05 +00:00
mycroft
c74fdd7069
Use the addend on GLOB_DAT relocs (same as ABS32).
2002-09-13 05:45:46 +00:00
mycroft
c65330320a
Do not use the implicit addend on REFQUAD relocs (same as GLOB_DAT).
2002-09-13 05:45:13 +00:00
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