* scripts/extract-abilist.awk: If `lastversion' variable defined, omit
authorRoland McGrath <roland@gnu.org>
Tue, 31 Aug 2004 06:17:48 +0000 (06:17 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 31 Aug 2004 06:17:48 +0000 (06:17 +0000)
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).

ChangeLog
Makerules
linuxthreads/ChangeLog
linuxthreads/Makefile
scripts/extract-abilist.awk

index 14d78914332d77dde032b720f69fc47953c28575..63c0394edbf6e10446244326c216a89da6410fb2 100644 (file)
--- 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
index 01c98611696803224b222b545fe0858736edc424..09a6b1fef7db0a64f59660f1a30ade220c591e2f 100644 (file)
--- 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
index 2932af739b438e0a7104dae3004238f28f28ef57..90ad1f59073275ba07d76a687ccefe8d79927189 100644 (file)
@@ -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
index d416aa5d380eaa9fb409e23315ffe991541db689..926de32913386b928d4b6e77c12c40d00a827cb0 100644 (file)
@@ -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 \
index e4f466e6a922c9fe58c2981ba5b532f33d3b0647..c9adec435945c461246591a98603e9ffa6953eb0 100644 (file)
@@ -91,5 +91,8 @@ END {
     outpipe = "sort";
     print versions[version] | outpipe;
     close(outpipe);
+
+    if (version == lastversion)
+      break;
   }
 }