From 56c71d451fbec9e02ffdadefd7a2272d04e19ada Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 24 Nov 2002 01:54:06 +0000 Subject: * scripts/abilist.awk: Avoid strtonum function, not there in mawk. Just produce hex output for datum sizes. --- ChangeLog | 3 +++ scripts/abilist.awk | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9b541214ba..fe7565f652 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-11-23 Roland McGrath + * scripts/abilist.awk: Avoid strtonum function, not there in mawk. + Just produce hex output for datum sizes. + * elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp. Reported by Luca Barbieri . diff --git a/scripts/abilist.awk b/scripts/abilist.awk index cd030e4c9d..97818344d4 100644 --- a/scripts/abilist.awk +++ b/scripts/abilist.awk @@ -15,7 +15,9 @@ $2 == "l" { next } $2 == "g" || $2 == "w" && NF == 7 { weak = ($2 == "w") ? "weak" : "strong"; type = $3; - size = strtonum("0x" $5); + size = $5; + sub(/^0*/, "", size); + size = "0x" size; version = $6; symbol = $7; gsub(/[()]/, "", version); -- cgit v1.2.3