Merge remote-tracking branch 'origin/cmetcalf/tile_firstversions'

Conflicts:
	ChangeLog
This commit is contained in:
Roland McGrath 2012-01-30 09:48:55 -08:00
commit 53fb8811fd
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
* scripts/firstversions.awk: Fix bug in version range handling.
* sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2012-01-28 Ulrich Drepper <drepper@gmail.com>

View File

@ -54,9 +54,13 @@ $1 == "}" {
while (vers_compare($1, v) >= 0) {
delete firstversion[thislib, idx[thislib]];
idx[thislib]++;
if ((thislib, idx[thislib]) in firstversion)
if ((thislib, idx[thislib]) in firstversion) {
# If we're skipping a referenced version to jump ahead to a
# later version, synthesize the earlier referenced version now.
if (v != $1 && (thislib, v) in usedversion)
print " " v;
v = firstversion[thislib, idx[thislib]];
else
} else
break;
}
if ($1 == v || $1 == f)