Sat Apr 25 23:48:15 IDT 1998 Alon Ziv * insmod/modinfo.c (show_parameter): Search the value for min/max. Fix null termination errors. (main): Process all listed files. Sat Apr 25 13:21:30 PDT 1998 Richard Henderson * include/kerneld.h: New file imported from old kernel sources. * kerneld/kdsend.c: Include local kerneld.h. * kerneld/kerneld.c, kerneld/kdstat.c: Likewise. Patch from Krzysztof G. Baranowski . Sat Apr 25 13:07:46 PDT 1998 Richard Henderson * insmod/insmod.c (old_process_module_arguments): Balk if the symbol found was resolved from the kernel. (new_process_module_arguments): Likewise. Suggested by Paul Mackerras . Sat Apr 25 12:56:43 PDT 1998 Richard Henderson * insmod/insmod.c (add_symbols_from): Only add kernel symbols for the undef globals. Fri Apr 3 12:20:33 +0200 1998 Jakub Jelinek * include/module.h: new_module_symbol is not made of tgt_long. * insmod/modinfo.c: Add fc4 to module path. Wed Mar 25 17:35:11 MET 1998 Jakub Jelinek * include/elf_sparc64.h: Handle both old deprecated EM_SPARC64 and new EM_SPARCV9. Fri Feb 6 01:15:23 PST 1998 Richard Henderson * Release version 2.1.85. Fri Feb 6 00:38:56 PST 1998 Richard Henderson * depmod/conf_file.c (translate_alias): Translate til closure. * obj/obj_reloc.c (obj_allocate_commons): Properly allocate NOBITS even with no commons to instantiate. Sat Jan 31 00:47:55 EST 1998 Randy McCaskill * depmod/conf_file.c (translate_alias): Use fnmatch instead of strcmp. (locate_mod_obj): Translate before looking for separators. Fri Jan 23 01:48:18 PST 1998 Richard Henderson * Makefile (TARGETS): New. (clean): Rename distclean. Fri Jan 23 01:28:04 PST 1998 Richard Henderson * insmod/ksyms.c (old_ksyms): Call lseek not llseek. * insmod/test/Makefile: New file. * insmod/test/t1a.c, insmod/test/t1b.c: New files. * include/obj.h (struct obj_file): Add local_symtab entries. * obj/obj_common.c (obj_add_symbol): Add SYMIDX argument. Handle local symbols into the local_symtab. * obj/obj_load.c (obj_load): Allocate local_symtab. Update obj_add_symbol call. * obj/obj_reloc.c (obj_allocate_commons_and_check_undefineds): Split. (obj_allocate_commons): Search local_symtab. (obj_relocate): Look for locals in the local_symtab. Delete redundant NOBITS->PROGBITS code. * insmod/insmod.c: Update all calls to obj_add_symbol. * configure.in: Dike out Tom's Jan 14 change. Fri Jan 16 14:42:13 MET 1998 Jakub Jelinek * insmod/insmod.c (default_module_path): Add fc4 directory. Thu Jan 15 13:40:20 MET 1998 Jakub Jelinek * insmod/insmod.c (new_init_module): Add support for initial sections and their removal after init_module exits. * include/module.h (struct new_module): Add runsize entry for the above support. * obj/obj_common.c (obj_load_order_prio): New function, used in sorting sections, take into account .*.init sections. (obj_insert_section_load_order): Optimize sorting of sections. Wed Jan 14 19:48:37 1998 Tom Dyas * configure.in: Check for 2.1.x kernel includes. Wed Jan 7 00:50:32 PST 1998 Richard Henderson * depmod/depmod.c (load_obj_file) Reword last change to remove comment-in-comment warning. Sun Jan 4 23:28:36 +0100 1998 Daniel Bergstrom * Makefile (lex.o): Play well with make -j. * insmod/Makefile (install-insmod-rmmod): Succeed if /sbin/rmmod exists. * kerneld/Makefile (kerneld): Add LDLIBS to link line. * man/depmod.1: Sync paths with reality. Sun Jan 4 15:05:46 -0600 1998 Michael Chastain * depmod/conf_file.c (default_types): Add sound. * insmod/insmod.c (default_path): Likewise. * insmod/modinfo.c (default_path): Likewise. Sat Jan 3 16:18:24 +0100 1998 Florian La Roche * depmod/alias.h: Disable RTC. * depmod/depmod.c (load_obj_file): Don't fail to create modules.dep if an unreadable file is found in the hierarchy. Mon Dec 8 22:28:39 PST 1997 Richard Henderson * Release version 2.1.71. * insmod/Makefile: Clean modinfo. Mon Dec 8 22:06:29 PST 1997 Richard Henderson * depmod/alias.h: Add net-pf-[12]. Requested by Kirk Petersen . * Makefile (realclean): Alternate target for clean. Sun Nov 30 16:48:34 PST 1997 Richard Henderson * insmod/insmod.c (old_process_module_arguments): Recognize quoted strings in 2.0 as well. Requested by Leonard N. Zubkoff . Sat Nov 15 00:48:23 EST 1997 Tom Dyas * README: Update build instructions. * NEWS: New file. Tue Nov 11 11:54:41 EST 1997 Tom Dyas * man/modinfo.1: New file. * TODO: Don't mention modinfo since it now exists. Tue Oct 21 18:10:45 PST 1997 Richard Henderson * configure.in: Correct axp-broken-gas pattern match. * insmod/Makefile: When combining insmod+rmmod, install a link not two binaries. Reported by . Mon Oct 20 12:41:10 EST 1997 Tom Dyas * configure.in: Translate powerpc -> ppc for ARCH. Patch from Ralph E. Bugg . Fri Oct 17 01:58:47 EST 1997 Tom Dyas * configure.in: Default --exec-prefix to '', if not given. * Makeconfig.in: Added macros for install dirs. * depmod/Makefile (install): Use dir macros. * genksyms/Makefile (install): Use dir macros. * insmod/Makefile (install): Use dir macros. * kerneld/Makefile (install): Use dir macros. * man/Makefile (install): Use dir macros. Fri Oct 17 00:38:44 EST 1997 Tom Dyas * configure.in: $build_cpu should be $target_cpu * insmod/insmod.c (main): Support long options. Moved usage info to function usage(). Sun Oct 5 21:54:07 PDT 1997 Richard Henderson * Makefile: Let make -k do more work. Sun Oct 5 21:38:50 PDT 1997 Richard Henderson * kerneld/kerneld.c (handle_child): Loop on waitpid, so as not to loose children. Patch from Mike McLagan . Sun Oct 5 21:22:57 PDT 1997 Richard Henderson * configure.in: Detect AXP_BROKEN_GAS. Get the architecture from AC_CANONICAL_SYSTEM, not uname. * Makeconfig.in: Substitute DEFS & ARCH. * Makefile (clean): Rid ourselves of autoconf droppings. Mon Oct 6 01:30:03 +0000 1997 Tom Dyas * configure.in, configure, install-sh, Makeconfig.in: New files. * Makeconfig: Removed. * insmod/modinfo.c: New file. Displays information about a module. * insmod/Makefile: Add modinfo. Tue Sep 16 20:43:53 +0200 1997 Alain Knaff * insmod/insmod.c (new_process_module_arguments): Properly null-terminate string patches when they are quoted. Thu Sep 11 08:43:03 PDT 1997 Richard Henderson * Release version 2.1.55. Wed Sep 10 16:34:41 PDT 1997 Richard Henderson * genksyms/genksyms.c (crc_prefix): New variable. (export_symbol): Use it. (main): New option -p sets it. * man/genksyms.8: Update documentation. Idea from Jacques Gelinas . Wed Sep 10 16:09:37 PDT 1997 Richard Henderson * insmod/Makefile: Allow insmod & rmmod to run as a combined binary. * insmod/main.c: New file. * Makeconfig (COMBINE_INSMOD_RMMOD): New define. Requested by Erik Troan . Wed Sep 10 15:41:16 PDT 1997 Richard Henderson * depmod/depmod.c (load_obj_file): Print error if fopen fails. (main): Continue processing on errors, so that we see all errors all at once. Reported by Gunther Mayer . Tue Aug 26 11:14:36 -0400 1997 Telly Mavroidis * util/sys_qm.c [__sparc__]: Fix typo. Tue Jul 29 23:02:04 PDT 1997 Richard Henderson * include/module.h: Rename sizeof_type to tgt_sizeof_type. Kill the struct duplication by defining a tgt_long. * insmod/insmod.c: Propogate sizeof_type change. Tue Jul 29 22:23:16 PDT 1997 Jakub Jelinek * insmod/insmod.c (search_module_path): Add ipv6. Tue Jul 29 22:23:16 PDT 1997 Jakub Jelinek Sparc64 support: * depmod/Makefile (DEFS): Pass in ARCH as well. * insmod/Makefile: Likewise. * obj/Makefile: Likewise. * insmod/insmod.c: Don't use native sizeof(type), use constants sizeof_type that correspond to the target. * include/module.h: Detect and cope with sparc64 target and sparc32 host. * include/obj.h: libc5 doesn't declare ELF64_ST_INFO either. * include/elf_sparc64.h: New file. * obj/obj_sparc64.c: New file. Sat Jul 19 23:56:02 +0200 1997 Florian La Roche * depmod/misc.c (resolve_string): Kill assignment warning. * genksyms/genksyms.h: Extern outfile and debugfile properly. * man/modprobe.1: New file. Wed Apr 16 15:27:17 +1000 1997 Paul Mackerras * include/elf_ppc.h, obj/obj_ppc.c: New files. Mon Apr 14 20:33:56 CDT 1997 Richard Henderson * depmod/depmod.c (print_deps_file): Fix initial array allocation size. Sat Apr 12 19:23:25 CDT 1997 Richard Henderson * obj/obj_reloc.c (obj_relocate): If AXP_BROKEN_GAS, work around the old gas local symbol LITERAL reloc bug. Mon Mar 31 23:03:12 EST 1997 David S. Miller * genksyms/lex.l (yylex) [case ST_TABLE_5]: Missing break. Tue Mar 25 21:41:00 CST 1997 Richard Henderson * depmod/depmod.c (old_read_kernel_syms): Get symbols via get_kernel_syms syscall rather than /proc/ksyms. * depmod/modprobe.c (is_removable): Final arg to query_module is a size_t, not an int. Sat Mar 15 19:34:07 PST 1997 H.J. Lu * depmod/conf_file.c (release_all_sets): Set mod_set to NULL. (read_config_file): only call release_all_sets () once. call resolve_string () to expand string. * depmod/misc.c (resolve_string): New function that resolves string with `foo`. (what_command): New function that returns the known commands. (expand_command): New funtion that expands pattern or command. Only `uname -r` is supported this time. * depmod/misc.h: New prototype for resolve_string (). * depmod/modprobe.c (read_deps_file): call resolve_string () to expand string. * man/depmod.1: Fix typos. The syntax should be "path[TAG]=PATHNAME" means TAG is appended to PATHNAME. Thu Mar 13 13:38:12 CST 1997 Richard Henderson * insmod/insmod.c (ncv_strcmp): New function that combines old m_strcmp and k_strcmp -- it's not a simple matter to always have the versioned symbol as the first or second argument. (main): Install ncv_strcmp instead. Reported by David Bourgin . * insmod/insmod.c (get_kernel_version): Take an extra argument to return the full uname string. (old_get_module_version): Likewise. (new_get_module_version): Likewise. (main): Record and compare the full uname string, to handle suffixes like "-ISS" and "-SMP". Sun Mar 9 23:52:18 CST 1997 Richard Henderson * genksyms/lex.l (yylex): Only use the file component of the input path when generating the output filename. Reported by Markus Dickebohm . * depmod/Makefile (clean): Remove modprobe and depmod. Sun Mar 9 13:55:27 MET 1997 Eddie C. Dost * obj/obj_sparc.c (arch_apply_relocation): Handle lots more relocation types. Tue Mar 4 08:12:58 CST 1997 Richard Henderson * Merge new depmod from Marcin Dalecki . * insmod/insmod.c (get_kernel_version): Don't assert that the last number of the version be followed by a NUL. (old_get_module_version, new_get_module_version): Likewise. Reported by Keith Owens * insmod/insmod.c: Merge character and string array patches from Jean Tourrilhes . * kerneld/kerneld.c (kerneld_error): Add missing va_end; use vsnprintf. Sun Feb 2 13:21:39 CST 1997 Richard Henderson * genksyms/lex.l (yylex): Update documentation on 2.0.x symbol table processing. Generate phrases for asm blocks as well, as it is more efficient to do it in the lexer. * genksyms/parse.y (opt_asm_phrase, asm_declaration): Recognise the ASM_PHRASE token rather than trying to work it out ourselves. Sun Feb 2 07:44:00 CST 1997 Richard Henderson * man/kerneld.8: Format for section 8. * man/genksyms.8: Renamed from genksyms.1 to match how it formats. Reported by Martin von Loewis . Tue Jan 28 21:10:07 MET 1997 Janos Farkas * depmod/load_obj.cc (load_obj): Close the file when finished. Mon Jan 27 10:39:21 MET 1997 Geert Uytterhoeven * depmod/config.cc (aliaslist): Add entries for m68k binfmt_aout, atarimouse and amigamouse. Sun Jan 26 14:26:00 CST 1997 Richard Henderson Release version 2.1.23. Wed Jan 22 16:13:54 CST 1997 Richard Henderson * insmod/insmod.c (main): Don't call create_module at all if noload. * insmod/insmod.c (ncv_symbol_hash): New function to not hash the crc portion of the symbol for when the kernel and object file don't agree about symbol versioning. (main): Install it with the special compare functions. * obj/obj_common.c: Move obj_symbol_cmp into obj_file. (obj_elf_hash_n): New function derived from old elf_hash. (obj_add_symbol): Call the functions in obj_file. (obj_find_symbol): Likewise. (obj_set_symbol_compare): Accept a new argument `hash' and if set, rehash all of the existing symbols with the new function. Wed Jan 22 15:08:33 CST 1997 Richard Henderson * obj/obj_common.c: Split off all of the relocation bits into ... * obj/obj_reloc.c: here. (obj_allocate_commons_and_check_undefineds): Allocate data for NOBITS sections, so that argument initialization and string patching works properly. Reported by . (obj_create_image): Don't treat NOBITS specially. * obj/Makefile (LIBOBJ_OBJS): Add obj_reloc.o. Fri Jan 17 12:56:58 CST 1997 Richard Henderson * genksyms/parse.y (init_declarator): Use new asm_phrase_opt instead of asm_definition_opt, as the later eats a semicolon. Fri Jan 17 10:55:31 EST 1997 David Miller * genksyms/genksyms.c (print_list): Don't assume alloca returns consecutive chunks of down-growing stack. (expand_and_crc_list): Likewise. * obj/obj_sparc.c (arch_apply_relocation): Do R_SPARC_WDISP22. Wed Jan 15 14:04:35 CST 1997 Richard Henderson * insmod/insmod.c (old_init_module): Or in OLD_MOD_AUTOCLEAN when appropriate. * insmod/lsmod.c (new_lsmod): Display module use count. Mon Jan 6 16:06:49 CST 1997 Richard Henderson * obj/obj_m68k.c: #include for size_t. * obj/obj_sparc.c: Likewise. * insmod/rmmod.c (old_get_modules): Fix error check from read. Sat Jan 4 16:46:09 CST 1997 Richard Henderson * insmod/insmod.c (main): Check that we did find the module's kernel version rather than reporting version 255.255.255. Reorder obj_load call to remove `may be used uninialized' warning. * util/xstrdup.c (xstrdup): Fix `return discards const' warning. * insmod/lsmod.c (old_lsmod): Fix error check from read. * insmod/ksyms.c (old_ksyms): Initialize kmem_fd. * depmod/Makefile (modprobe): Link with $(CC) so that we don't pull in a dependancy for libg++.so etc. Sat Jan 4 16:27:11 EST 1997 Jacques Gelinas * insmod/insmod.c (old_init_module): Fix comparison against ksymidx. The 2.0.x init_module syscall expects the submitted module image to skip the mod_use_count_ variable. * depmod/config.cc (aliaslist): Add entries for ide-probe and ide-tape. Fri Jan 3 02:43:00 CST 1997 Richard Henderson Snapshot looking towards a 2.1.21 release.