From d2e75f652a390452b59c557708cc49e1ae2893fc Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 31 Aug 2004 06:17:48 +0000 Subject: [PATCH] * 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). --- ChangeLog | 9 +++++++++ Makerules | 1 + linuxthreads/ChangeLog | 4 ++++ linuxthreads/Makefile | 1 + scripts/extract-abilist.awk | 3 +++ 5 files changed, 18 insertions(+) diff --git a/ChangeLog b/ChangeLog index 14d7891..63c0394 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2004-08-30 Roland McGrath + + * 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 * posix/bits/posix1_lim.h (_POSIX_CHILD_MAX, _POSIX_OPEN_MAX): If diff --git a/Makerules b/Makerules index 01c9861..09a6b1f 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 2932af7..90ad1f5 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,7 @@ +2004-08-30 Roland McGrath + + * Makefile (libpthread-abi-frozen): New variable. + 2004-08-26 Roland McGrath * configure.in: New file. If nptl add-on is also selected, barf if diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile index d416aa5..926de32 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 e4f466e..c9adec4 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; } } -- 2.7.4