diff options
Diffstat (limited to 'scripts/gen_symbol_header.awk')
-rw-r--r-- | scripts/gen_symbol_header.awk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/gen_symbol_header.awk b/scripts/gen_symbol_header.awk index 96d6e95..f87d891 100644 --- a/scripts/gen_symbol_header.awk +++ b/scripts/gen_symbol_header.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) { |