mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-10 05:03:06 +03:00
2003-04-01 Roland McGrath <roland@redhat.com>
* scripts/abilist.awk: Allow dots in soname suffix. * scripts/abilist.awk (emit): Fix bailout condition.
This commit is contained in:
@@ -9,7 +9,7 @@ BEGIN {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Per-file header.
|
# Per-file header.
|
||||||
/[^ :]+\.so\.[0-9]+:[ ]+.file format .*$/ {
|
/[^ :]+\.so\.[0-9.]+:[ ]+.file format .*$/ {
|
||||||
emit(0);
|
emit(0);
|
||||||
|
|
||||||
seen_opd = 0;
|
seen_opd = 0;
|
||||||
@@ -18,7 +18,7 @@ BEGIN {
|
|||||||
sub(/:$/, "", sofullname);
|
sub(/:$/, "", sofullname);
|
||||||
soname = sofullname;
|
soname = sofullname;
|
||||||
sub(/^.*\//, "", soname);
|
sub(/^.*\//, "", soname);
|
||||||
sub(/\.so\.[0-9]+$/, "", soname);
|
sub(/\.so\.[0-9.]+$/, "", soname);
|
||||||
|
|
||||||
suppress = ((filename_regexp != "" && sofullname !~ filename_regexp) \
|
suppress = ((filename_regexp != "" && sofullname !~ filename_regexp) \
|
||||||
|| (libname_regexp != "" && soname !~ libname_regexp));
|
|| (libname_regexp != "" && soname !~ libname_regexp));
|
||||||
@@ -106,11 +106,9 @@ NF == 0 || /DYNAMIC SYMBOL TABLE/ || /file format/ { next }
|
|||||||
}
|
}
|
||||||
|
|
||||||
function emit(end) {
|
function emit(end) {
|
||||||
if (! parse_names || soname == "")
|
if (!end && (combine || ! parse_names || soname == ""))
|
||||||
return;
|
return;
|
||||||
if (combine && !end)
|
tofile = parse_names && !combine;
|
||||||
return;
|
|
||||||
tofile = !combine;
|
|
||||||
|
|
||||||
nverslist = 0;
|
nverslist = 0;
|
||||||
for (version in versions) {
|
for (version in versions) {
|
||||||
|
Reference in New Issue
Block a user