diff options
author | 2005-12-05 07:17:51 +0000 | |
---|---|---|
committer | 2005-12-05 07:17:51 +0000 | |
commit | cf4fe536164216d02a937dd46ded3340d3264534 (patch) | |
tree | 0734ee7f9af0bb75f75b69fd91a0ae7161ee027e /scripts/gen_symbol_version_map.awk | |
parent | Do not check for compatible malloc(), as we do not care. (diff) | |
download | sandbox-cf4fe536164216d02a937dd46ded3340d3264534.tar.gz sandbox-cf4fe536164216d02a937dd46ded3340d3264534.tar.bz2 sandbox-cf4fe536164216d02a937dd46ded3340d3264534.zip |
Stop processing when we get to the '.symtab' section.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
Diffstat (limited to 'scripts/gen_symbol_version_map.awk')
-rw-r--r-- | scripts/gen_symbol_version_map.awk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/gen_symbol_version_map.awk b/scripts/gen_symbol_version_map.awk index 268b74b..d13efaf 100644 --- a/scripts/gen_symbol_version_map.awk +++ b/scripts/gen_symbol_version_map.awk @@ -3,6 +3,11 @@ BEGIN { } { + # Unstripped libc's have '.symtab' section as well, and + # we should stop processing when we hit that + if ($0 ~ "Symbol table '.symtab'") + nextfile; + for (x in SYMBOLS) { sym_regex = "^" SYMBOLS[x] "(@|$)" if ($8 ~ sym_regex) { |