diff options
author | Andrey Ponomarenko <andrewponomarenko@yandex.ru> | 2016-02-27 19:11:14 +0300 |
---|---|---|
committer | Andrey Ponomarenko <andrewponomarenko@yandex.ru> | 2016-02-27 19:11:14 +0300 |
commit | 2dfc57d9b8918b8568d0055bef4567085e8df7e0 (patch) | |
tree | 820ffe3d00288a1140a8cda7babceb9517d076a2 | |
parent | 9369a8da2d5408d98018d11b16fc7320178125ba (diff) | |
download | abi-dumper-2dfc57d9b8918b8568d0055bef4567085e8df7e0.tar.gz |
Fixed -kernel-export option.
-rw-r--r-- | abi-dumper.pl | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/abi-dumper.pl b/abi-dumper.pl index 1b08fa1..0f57a86 100644 --- a/abi-dumper.pl +++ b/abi-dumper.pl @@ -651,6 +651,21 @@ sub read_Symbols($) next; } + if(defined $KernelExport) + { + if($Bind ne "LOCAL") + { + if(index($Symbol, "sys_")==0 + or index($Symbol, "SyS_")==0) { + $KSymTab{$Symbol} = 1; + } + } + + if(not defined $KSymTab{$Symbol}) { + next; + } + } + if($Bind ne "LOCAL") { $Library_Symbol{$TargetName}{$Symbol} = ($Type eq "OBJECT")?-$Size:1; } @@ -668,17 +683,6 @@ sub read_Symbols($) } } } - - if(defined $KernelExport) - { - if($Bind ne "LOCAL") - { - if(index($Symbol, "sys_")==0 - or index($Symbol, "SyS_")==0) { - $KSymTab{$Symbol} = 1; - } - } - } } else { |