public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/fw/libdl] scripts/versions.awk: Add local: * to all version nodes
@ 2021-06-01 12:55 Florian Weimer
0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2021-06-01 12:55 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a29bd124fd74810fd41650d1cc96bdc973e66c9f
commit a29bd124fd74810fd41650d1cc96bdc973e66c9f
Author: Florian Weimer <fweimer@redhat.com>
Date: Mon May 31 16:08:32 2021 +0200
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).
Diff:
---
scripts/versions.awk | 6 +-----
1 file changed, 1 insertion(+), 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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-01 12:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 12:55 [glibc/fw/libdl] scripts/versions.awk: Add local: * to all version nodes Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).