diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-09-15 08:39:50 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-09-15 08:39:50 +0000 |
commit | a3972dc7082c1e4fad7692d631783cc33a3e3db1 (patch) | |
tree | de3dadb529870e178095a6bad5764dfadafe46c2 /kernel | |
parent | f77d4213f859017eb73312eb7b857765eba0022c (diff) | |
download | drakx-backup-do-not-use-a3972dc7082c1e4fad7692d631783cc33a3e3db1.tar drakx-backup-do-not-use-a3972dc7082c1e4fad7692d631783cc33a3e3db1.tar.gz drakx-backup-do-not-use-a3972dc7082c1e4fad7692d631783cc33a3e3db1.tar.bz2 drakx-backup-do-not-use-a3972dc7082c1e4fad7692d631783cc33a3e3db1.tar.xz drakx-backup-do-not-use-a3972dc7082c1e4fad7692d631783cc33a3e3db1.zip |
fix strip
Diffstat (limited to 'kernel')
-rwxr-xr-x | kernel/strip_modules | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/strip_modules b/kernel/strip_modules index 5badbea40..98e4f4496 100755 --- a/kernel/strip_modules +++ b/kernel/strip_modules @@ -71,12 +71,12 @@ function strip_module(object, # t static label/procedures if ($1 ~ /[bdrt]/) to_strip[$2] = ""; - else if ($1 != "?") - keep_symbol[$2] = ""; - else if ($0 ~ /\? __ksymtab_/) + else if ($2 ~ /R __ksymtab_/) keep_symbol[substr($2, 11)] = ""; - else if ($0 ~ /\? __module_parm_/) + else if ($0 ~ /R __module_parm_/) keep_symbol[substr($2, 15)] = ""; + else if ($1 != "?") + keep_symbol[$2] = ""; if ($2 ~ /__module/) new_module_format = 1; } |