public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] modutils 2.3.20 and beyond
@ 2000-11-26 23:36 Jeff V. Merkey
  2000-11-26 22:46 ` Alan Cox
  2000-11-26 23:23 ` Keith Owens
  0 siblings, 2 replies; 18+ messages in thread
From: Jeff V. Merkey @ 2000-11-26 23:36 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]



Keith,

Please consider the attached patch for inclusion in all future versions
of the modutils depmod program for compatiblity with RedHat and 
RedHat derived Linux distributions.  This patch only requires 
4 very short changes to depmod.c as opposed to thousands of
changes necessary in anaconda and other RedHat compatible 
programs and scripts to work with your standard depmod
programs without these changes.  

Thanks

Jeff

 

[-- Attachment #2: modutils-2.3.20.patch --]
[-- Type: text/plain, Size: 1127 bytes --]

--- modutils-2.3.20/depmod/depmod.c.chmou	Thu Nov 16 01:40:09 2000
+++ modutils-2.3.20/depmod/depmod.c	Wed Nov 22 05:18:09 2000
@@ -188,6 +188,7 @@
 static SYMBOL *symavail;
 static SYMBOL *maxsyms;
 static LIST_SYMBOL *chunk;
+static int ignore_symbol_versions;

 static int quiet;	/* Don't print errors */
 static int showerror;	/* Shows undefined symbols */
@@ -1098,7 +1099,9 @@
 		{"errsyms", 0, 0, 'e'},
 		{"filesyms", 1, 0, 'F'},
 		{"help", 0, 0, 'h'},
+		{"ignore-versions", 0, 0, 'i'},
 		{"show", 0, 0, 'n'},
+		{"system-map", 1, 0, 'm'}, /* backward compatibility, same as 'F' */
 		{"quiet", 0, 0, 'q'},
 		{"syslog", 0, 0, 's'},
 		{"verbose", 0, 0, 'v'},
@@ -1109,7 +1112,7 @@
 
 	error_file = "depmod";
 
-	while ((o = getopt_long(argc, argv, "aAb:C:eF:hnqsvVr",
+	while ((o = getopt_long(argc, argv, "aAb:C:eF:him:nqsvVr",
 				&long_opts[0], NULL)) != EOF) {
 		switch (o) {
 		case 'A':
@@ -1132,11 +1135,16 @@
 			return 0;
 			break;
 
+		case 'i':
+			ignore_symbol_versions = 1;
+			break;
+
 		case 'C':
 			conf_file = optarg;
 			break;
 
 		case 'F':
+		case 'm':
 			file_syms = optarg;
 			break;

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2000-11-27 17:30 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-26 23:36 [PATCH] modutils 2.3.20 and beyond Jeff V. Merkey
2000-11-26 22:46 ` Alan Cox
2000-11-26 23:27   ` H. Peter Anvin
2000-11-26 23:45   ` Jeff V. Merkey
2000-11-26 23:02     ` Mohammad A. Haque
2000-11-27  0:03       ` Jeff V. Merkey
2000-11-26 23:15         ` Tom Rini
2000-11-27  2:39           ` Jeff V. Merkey
2000-11-27  0:16         ` David Ford
2000-11-27  2:46           ` Jeff V. Merkey
2000-11-27  1:58             ` Tom Rini
2000-11-27  0:13     ` David Ford
2000-11-27  2:11       ` Alan Cox
2000-11-27  3:33         ` Jeff V. Merkey
2000-11-26 23:23 ` Keith Owens
2000-11-27  2:43   ` Jeff V. Merkey
2000-11-27 16:48   ` Jes Sorensen
2000-11-27 16:59     ` Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox