diff options
Diffstat (limited to 'tools/apbuild/buildlist.x86_64')
-rwxr-xr-x | tools/apbuild/buildlist.x86_64 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/apbuild/buildlist.x86_64 b/tools/apbuild/buildlist.x86_64 index 65682254..8735721e 100755 --- a/tools/apbuild/buildlist.x86_64 +++ b/tools/apbuild/buildlist.x86_64 @@ -16,17 +16,17 @@ done # get a list of all symbol versions only available in 2.3+ -grep @GLIBC_ syms | awk ' { print $8 } ' | sed 's/@/ /; /GLIBC_P/d; s/GLIBC_//' | awk ' { if ($2 > 2.3) print $1 " " $2 } ' | column -t >glibc2.4.syms +grep @GLIBC_ syms | awk ' { print $8 } ' | sed 's/@\+/ /; /GLIBC_P/d; s/GLIBC_//' | awk ' { split($2, Ver, "."); if (Ver[2] > 3) print $1 " " $2 } ' | column -t >glibc2.4.syms # select the symbols that already existed, but were obsoleted by 2.2+ versions cat glibc2.4.syms | awk '{print $1}' | while read; do grep $REPLY allsym; done | sed '/2\.4/d' >syms-to-header # select the latest symbols of that set # build a header from them -cat syms-to-header | awk '{print $2 " " $1 }' | sort | uniq >output -cat glibc2.4.syms | sort | uniq >> output +cat syms-to-header | awk '{print $2 " " $1 }' | sort -V | uniq >output +cat glibc2.4.syms | sort -V | uniq >> output -cat output | sort | uniq | awk '{print $2 " " $1}' | sort -k2,1 | awk '{ if ($1 <= 2.3) print $1 " " $2 }' | column -t | sort -k2 | uniq -f1 >output2 +cat output | sort | uniq | awk '{print $2 " " $1}' | sort -k2,1 | awk '{ split($1, Ver, "."); if (Ver[2] <= 3) print $1 " " $2 }' | column -t | sort -k2 | uniq -f1 >output2 # output the symbols that are brand new to 2.3+, ie not the ones that had earlier versions cat glibc2.4.syms | awk '{ print $1 }' | while read; do if ! grep "$REPLY" output2 >/dev/null; then echo "DONT_USE_THIS_SYMBOL $REPLY" >>output2; fi; done; |