diff options
-rw-r--r-- | scripts/gen_symbol_header.awk | 6 | ||||
-rw-r--r-- | scripts/gen_symbol_version_map.awk | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/scripts/gen_symbol_header.awk b/scripts/gen_symbol_header.awk index e7ee2ab..49e4540 100644 --- a/scripts/gen_symbol_header.awk +++ b/scripts/gen_symbol_header.awk @@ -43,6 +43,12 @@ BEGIN { } } + # No apparent need to handle weak __XXX symbols ... so disable + # until we have documentation on why ... + # If we do re-add this, need to update the `readelf` call in + # libsandbox/ to include the -h flag again. + continue; + sym_regex = "^__" SYMBOLS[x] "(@@|$)"; if (($5 == "WEAK") && ($NF ~ sym_regex)) { split($NF, symbol_array, /@@/); diff --git a/scripts/gen_symbol_version_map.awk b/scripts/gen_symbol_version_map.awk index a8818ee..a0a43c0 100644 --- a/scripts/gen_symbol_version_map.awk +++ b/scripts/gen_symbol_version_map.awk @@ -52,6 +52,12 @@ BEGIN { } } + # No apparent need to handle weak __XXX symbols ... so disable + # until we have documentation on why ... + # If we do re-add this, need to update the `readelf` call in + # libsandbox/ to include the -h flag again. + continue; + sym_regex = "^__" SYMBOLS[x] "(@@|$)"; if (($5 == "WEAK") && ($NF ~ sym_regex)) { split($NF, symbol_array, /@@/); |