mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jeff V. Merkey" <jmerkey@vger.timpanogas.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] modutils 2.3.20 and beyond
Date: Sun, 26 Nov 2000 16:36:55 -0700	[thread overview]
Message-ID: <20001126163655.A1637@vger.timpanogas.org> (raw)

[-- 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;

             reply	other threads:[~2000-11-26 23:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-26 23:36 Jeff V. Merkey [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001126163655.A1637@vger.timpanogas.org \
    --to=jmerkey@vger.timpanogas.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®