exported symbols may be weak, so allow symbols marked as W
authorMike Frysinger <vapier@gentoo.org>
Sun, 18 Nov 2007 06:13:58 +0000 (06:13 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 18 Nov 2007 06:13:58 +0000 (06:13 -0000)
examples/depmod.pl

index ca2e8f7..c356d27 100755 (executable)
@@ -177,7 +177,7 @@ sub build_ref_tables
        } else {
         # exporting all symbols
         foreach ( @$sym_ar ) {
-            / [ABCDGRST] (.*)$/ and do {
+            / [ABCDGRSTW] (.*)$/ and do {
                 warn "syma = $1\n" if $verbose;
                 $exp->{$1} = $name;
             };