/[path-sandbox]/trunk/scripts/gen_symbol_header.awk
Gentoo

Diff of /trunk/scripts/gen_symbol_header.awk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 212 Revision 213
1BEGIN { 1BEGIN {
2 COUNT = split(ENVIRON["SYMBOLS"], SYMBOLS); 2 COUNT = split(ENVIRON["SYMBOLS"], SYMBOLS);
3} 3}
4 4
5{ 5{
6 # Unstripped libc's have '.symtab' section as well, and
7 # we should stop processing when we hit that
8 if ($0 ~ "Symbol table '.symtab'")
9 nextfile;
10
6 for (x in SYMBOLS) { 11 for (x in SYMBOLS) {
7 sym_regex = "^" SYMBOLS[x] "(@|$)" 12 sym_regex = "^" SYMBOLS[x] "(@|$)"
8 if ($8 ~ sym_regex) { 13 if ($8 ~ sym_regex) {
9 split($8, symbol_array, /@|@@/); 14 split($8, symbol_array, /@|@@/);
10 15

Legend:
Removed from v.212  
changed lines
  Added in v.213

  ViewVC Help
Powered by ViewVC 1.1.20