summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-08-31 06:17:48 +0000
committerRoland McGrath <roland@gnu.org>2004-08-31 06:17:48 +0000
commitd2e75f652a390452b59c557708cc49e1ae2893fc (patch)
tree1a7115650e063277fd34fc0180d33152f701b1ac
parentc743bd58eb3eb6d1c5af52f3d0443c0a76689def (diff)
* scripts/extract-abilist.awk: If `lastversion' variable defined, omit
later sets from output. * Makerules (check-abi): Pass option to set that with value of LIB-abi-frozen variable if one is set. * abilist/libcidn.abilist: New file (empty).
-rw-r--r--ChangeLog9
-rw-r--r--Makerules1
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/Makefile1
-rw-r--r--scripts/extract-abilist.awk3
5 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 14d7891433..63c0394edb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2004-08-30 Roland McGrath <roland@frob.com>
+
+ * scripts/extract-abilist.awk: If `lastversion' variable defined, omit
+ later sets from output.
+ * Makerules (check-abi): Pass option to set that with value of
+ LIB-abi-frozen variable if one is set.
+
+ * abilist/libcidn.abilist: New file (empty).
+
2004-08-30 Jakub Jelinek <jakub@redhat.com>
* posix/bits/posix1_lim.h (_POSIX_CHILD_MAX, _POSIX_OPEN_MAX): If
diff --git a/Makerules b/Makerules
index 01c9861169..09a6b1fef7 100644
--- a/Makerules
+++ b/Makerules
@@ -1190,6 +1190,7 @@ check-abi-%: $(..)scripts/extract-abilist.awk $(common-objpfx)config.make \
define check-abi
LC_ALL=C \
$(AWK) -f $< -v 'config=$(check-abi-config)' \
+ $(patsubst %,-v 'lastversion=%',$($*-abi-frozen)) \
$(filter %.abilist,$^) \
| { diff -p -U 0 - $(filter %.symlist,$^) $(check-abi-warn) ; }
endef
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 2932af739b..90ad1f5907 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-30 Roland McGrath <roland@frob.com>
+
+ * Makefile (libpthread-abi-frozen): New variable.
+
2004-08-26 Roland McGrath <roland@redhat.com>
* configure.in: New file. If nptl add-on is also selected, barf if
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index d416aa5d38..926de32913 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -25,6 +25,7 @@ all: # Make this the default target; it will be defined in Rules.
linuxthreads-version := $(shell sed -n 's/^.*$(subdir)-\([0-9.]*\).*$$/\1/p' \
Banner)
+libpthread-abi-frozen := GLIBC_2.3.2
headers := pthread.h semaphore.h
distribute := internals.h queue.h restart.h spinlock.h smp.h tst-signal.sh \
diff --git a/scripts/extract-abilist.awk b/scripts/extract-abilist.awk
index e4f466e6a9..c9adec4359 100644
--- a/scripts/extract-abilist.awk
+++ b/scripts/extract-abilist.awk
@@ -91,5 +91,8 @@ END {
outpipe = "sort";
print versions[version] | outpipe;
close(outpipe);
+
+ if (version == lastversion)
+ break;
}
}