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