/[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 210 Revision 211
48 # Defualt symbol have '@@' and not '@', so name it by 48 # Defualt symbol have '@@' and not '@', so name it by
49 # prepending '__' rather than the symbol version so 49 # prepending '__' rather than the symbol version so
50 # that we know what the name is in libsandbox.c ... 50 # that we know what the name is in libsandbox.c ...
51 # Also do this for non-versioned libc's ... 51 # Also do this for non-versioned libc's ...
52 if (sym_full_names[x] ~ /@@/ || !symbol_array[2]) { 52 if (sym_full_names[x] ~ /@@/ || !symbol_array[2]) {
53 sym_real_name = "__" sym_index; 53 sym_real_name = sym_index "_DEFAULT";
54 } else { 54 } else {
55 sym_real_name = sym_full_names[x]; 55 sym_real_name = sym_full_names[x];
56 gsub(/@|\./, "_", sym_real_name); 56 gsub(/@|\./, "_", sym_real_name);
57 } 57 }
58 58

Legend:
Removed from v.210  
changed lines
  Added in v.211

  ViewVC Help
Powered by ViewVC 1.1.20