diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-02 07:32:19 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-02 07:32:44 +0200 |
commit | d32ee64df750c2a1ebfffaccc1c02251a73d0532 (patch) | |
tree | 153e33dbacd4f161b2049e5298d49f81e2ae70eb | |
parent | 186cd80b1eb0c28f42c052bbaa9b37a7f66ee662 (diff) | |
download | glibc-d32ee64df750c2a1ebfffaccc1c02251a73d0532.tar glibc-d32ee64df750c2a1ebfffaccc1c02251a73d0532.tar.gz glibc-d32ee64df750c2a1ebfffaccc1c02251a73d0532.tar.bz2 glibc-d32ee64df750c2a1ebfffaccc1c02251a73d0532.zip |
scripts/versions.awk: Add local: * to all version nodes
This requires that all exported symbol versions are listed in
Versions files. It results in more consistent behavior across
architectures because previously, symbols could be exported
via explicit versioned_symbol and compat_symbol macros if the
version node existed in some Versions file (without listing the
symbol), and it was not the base version for the library (which
already had the local: * directive).
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rw-r--r-- | scripts/versions.awk | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/versions.awk b/scripts/versions.awk index 3291123666..a7154480e3 100644 --- a/scripts/versions.awk +++ b/scripts/versions.awk @@ -95,10 +95,7 @@ function ord(c) { function closeversion(name, oldname) { - if (firstinfile) { - printf(" local:\n *;\n") > outfile; - firstinfile = 0; - } + printf(" local:\n *;\n") > outfile; # This version inherits from the last one only if they # have the same nonnumeric prefix, i.e. GLIBC_x.y and GLIBC_x.z # or FOO_x and FOO_y but not GLIBC_x and FOO_y. @@ -157,7 +154,6 @@ END { oldlib = $1; real_outfile = buildroot oldlib ".map"; outfile = real_outfile "T"; - firstinfile = 1; veryoldver = ""; printf(" %s.map", oldlib); } |