summaryrefslogtreecommitdiff
path: root/test/plt/check-plt.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-28 20:29:21 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-28 20:31:55 +0200
commit99ef2719fb3d703fe38c4113cd7f5adec516dd3a (patch)
tree2c1f77cb41b60ccbf8faa77a3640491a3546b546 /test/plt/check-plt.sh
parent543308f6c46cf2edf8a524bc9c631e472570fe72 (diff)
test: remove test suite
The test suite is now a developed in a separate git repository. See here: http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng-test.git The test suite should be just like every other software compiled with the cross-toolchain. In the past strange problems where found when the test suite got build in the toolchain creation step.
Diffstat (limited to 'test/plt/check-plt.sh')
-rwxr-xr-xtest/plt/check-plt.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/test/plt/check-plt.sh b/test/plt/check-plt.sh
deleted file mode 100755
index bedc8fd35..000000000
--- a/test/plt/check-plt.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-allowed="
-calloc
-free
-malloc
-memalign
-realloc
-"
-
-${OBJDUMP:-objdump} -d ${top_builddir:-../..}/lib/libc.so.? | \
-gawk -v allowed="${allowed}" '
-BEGIN {
- COUNT = split(" " allowed, ALLOWED);
-}
-
-# Strip away the noise. The name will be like:
-# <brk>:
-# <foo@plt>
-function symstrip(name) {
- return gensub(/.*<([^>@]*).*/, "\\1", "", name);
-}
-
-{
-# Match the start of the symbol disassembly
-# 00009720 <brk>:
-if ($2 ~ />:$/) {
- f = symstrip($2);
-
-} else if ($NF ~ /@plt>/) {
- rf = symstrip($NF);
- for (a in ALLOWED) {
- a = ALLOWED[a];
- if (a == rf)
- next;
- }
- print "Func " f " references " rf;
-}
-}' | sort -u