simonb
da75d51b40
Add support for using an optional linker script (/usr/lkm/ldscript if
...
found, and overridable by the -T option).
2002-10-10 01:57:10 +00:00
simonb
99f05800ca
Use "type *" instead of "type*".
2002-10-07 02:33:55 +00:00
simonb
c3bdd6ef09
ANSIfy, KNF, declare externs in headers only.
2002-10-06 13:23:00 +00:00
lha
4fa2032edc
uppercase the lkm kernel-userspace dev macros and prefix them with LKM_
...
make modload print the bdev and cdev major when its a dev lkm
2002-09-18 22:59:36 +00:00
gehenna
a5ac3deb40
Split the overload block/character device major.
...
The 3rd argument is character device major and
the 4th argument is block device major.
2002-09-13 15:30:36 +00:00
christos
522d8e170c
PR/14498: Wesley Chen: Support symbol loading on elf lkms.
2001-11-08 15:33:15 +00:00
jdolecek
de45f5a902
couple cosmetic stylistic changes
2001-09-29 21:15:11 +00:00
assar
1a56bc85de
(usage): add -s and -S
2001-09-17 01:40:08 +00:00
jdolecek
dd42da9e90
correct getopt() optstring: -A gets a parameter!
2000-03-16 17:33:04 +00:00
deberg
c0541f24c2
-S isn't supposed to take an argument
2000-02-27 00:20:20 +00:00
mrg
72a64c5437
add ELF support, mostly from joda@pdc.kth.se (Johan Danielsson) in PR#6149,
...
updated for the symtab support for a.out (non for ELF yet) and other cleanup
by myself. should work on the alpha as well as other ELF ports...
remove the ld(1) output by default, rather than leaving little binary turds
across the filesystem...
1999-06-13 12:54:40 +00:00
ross
855480012b
Invert the meaning of -s, from "don't load symbols" to "load symbols".
...
Document that this is expensive (and why) in the BUGS section.
1999-04-30 18:32:01 +00:00
abs
4a22f0e03d
Fix entry point parsing if output file specified to modload (PR7352)
1999-04-23 17:47:02 +00:00
sommerfe
0c70fedcac
Allow modload to load symbols for use by DDB.
1999-01-13 23:07:30 +00:00
mycroft
519d858510
__AUDIT__ cleanup.
1998-07-28 19:22:54 +00:00
mycroft
0c4d98ae35
const poisoning.
1998-07-26 17:53:10 +00:00
mjacob
c84aa13b30
Mods for alpha: doesn't work yet, but this is as good a placeholder as
...
any to note the ld flags to actually use. Still to do: elf loading.
1997-12-01 19:30:59 +00:00
mrg
52ff5d8fee
make these compile on the alpha after WARNS=1.
1997-09-16 08:37:01 +00:00
lukem
c6bd18f2fe
use memset() not bcopy()
1997-09-15 12:51:44 +00:00
darrenr
5867f60b50
if xxxinit is not found in the module, look for <modname>_lkmentry as an
...
alternate entry point (used in provided modules). Mention this on man page
too.
1997-09-15 09:27:52 +00:00
lukem
526ce12987
* cleanup for WARNS=1
...
* getopt returns -1 not EOF
* use .Nm correctly
1997-09-15 03:55:25 +00:00
jtc
e66e318757
Check for .o extension after the *last* . in a file name.
...
Reported by Micheal Graff in PR #1868 .
1996-01-17 02:30:44 +00:00
jtc
afea82ff3c
<sys/errno.h> -> <errno.h>
1995-05-28 05:21:58 +00:00
cgd
0114e805ce
convert to new RCS Id conventions; reduce my headache
1995-03-18 14:54:19 +00:00
cgd
c9117f53b5
-Wall cleanups from Jim Jegers
1994-12-18 00:15:01 +00:00
mycroft
55e0e1d12a
Bug fixes from John Kohl:
...
modload didn't honor its -p argument.
It also would destroy the input file when you didn't specify an output
symbol file with -o.
1994-09-18 19:53:44 +00:00
cgd
ba346cac3f
kill (bogus) multiple inclusions
1994-05-23 05:42:41 +00:00
cgd
3b59599485
kill stupidity
1994-05-05 06:35:50 +00:00
mycroft
8d1ace8b21
Stylistic cleanup; use err*() and atexit().
1994-03-31 23:26:15 +00:00
ws
ae6a7139ac
Support BSS in LKMs
1994-03-31 20:29:58 +00:00
cgd
b9c5c66af3
while documentation is nice, including SunOS man pages in your source isn't!
1994-02-10 02:06:05 +00:00
deraadt
feb763311e
i love ansi
1993-12-03 10:37:14 +00:00
cgd
1fecf22389
update for present reality
1993-11-23 04:43:06 +00:00
cgd
950f32bf2a
open device for read/write, so we can actually load
...
devices w/new checks in kern_lkm.c
1993-06-07 23:10:34 +00:00
cgd
57d3a6d525
add support for terry lambert's loadable kernel modules.
...
needs a bit of cleanup, but overall: SLICK!
1993-06-07 19:51:59 +00:00