diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-12-02 12:32:53 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-12-02 12:32:53 +0000 |
commit | 173c7b5774e9cd464f83f92e4532e31e351ccd5d (patch) | |
tree | 9566b234630a5b2562d1e6ef3f115b1278883b9b | |
parent | Do not add unversioned symbols if we have a versioned libc. (diff) | |
download | sandbox-173c7b5774e9cd464f83f92e4532e31e351ccd5d.tar.gz sandbox-173c7b5774e9cd464f83f92e4532e31e351ccd5d.tar.bz2 sandbox-173c7b5774e9cd464f83f92e4532e31e351ccd5d.zip |
Do not re-set VERSIONED_LIBC if already set.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
-rw-r--r-- | scripts/gen_symbol_header.awk | 2 | ||||
-rw-r--r-- | scripts/gen_symbol_version_map.awk | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/scripts/gen_symbol_header.awk b/scripts/gen_symbol_header.awk index c73e634..52b6c8b 100644 --- a/scripts/gen_symbol_header.awk +++ b/scripts/gen_symbol_header.awk @@ -13,7 +13,7 @@ BEGIN { continue; # We have a versioned libc - if (symbol_array[2]) + if (symbol_array[2] && !VERSIONED_LIBC) VERSIONED_LIBC = 1; ADD = 1; diff --git a/scripts/gen_symbol_version_map.awk b/scripts/gen_symbol_version_map.awk index d81fcd1..268b74b 100644 --- a/scripts/gen_symbol_version_map.awk +++ b/scripts/gen_symbol_version_map.awk @@ -15,8 +15,9 @@ BEGIN { # Handle non-versioned libc's like uClibc ... if (!symbol_array[2]) symbol_array[2] = ""; - else - # We have a versioned libc + + # We have a versioned libc + if (symbol_array[2] && !VERSIONED_LIBC) VERSIONED_LIBC = 1; ADD = 1; |