aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-02-06 14:04:33 -0500
committerMike Frysinger <vapier@gentoo.org>2011-02-14 12:06:58 -0500
commitc0aa27ef328190646116e23fe82b64a606ae39fa (patch)
tree027689b418217b6b2581ea71d41dabf058474e1f /src/test
parent11fcb0217e952fc9597ddfdb3d6ea110c3b37fcc (diff)
tests: filter valid parisc relocs
Parisc generates a few relocs against internal symbols which are OK. X-Gentoo-Bug: 258913 X-Gentoo-Bug-URL: http://bugs.gentoo.org/258913 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'src/test')
-rwxr-xr-xsrc/test/runtests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/runtests.sh b/src/test/runtests.sh
index f913820f..4731bd7e 100755
--- a/src/test/runtests.sh
+++ b/src/test/runtests.sh
@@ -57,6 +57,7 @@ sed -n '/^librc_hidden_proto/s:.*(\(.*\))$:\1:p' ${librc_srcdir}/librc.h \
| LC_ALL=C sort -u \
> librc.funcs.hidden.list
readelf -Wr $(grep -l '#include[[:space:]]"librc\.h"' ${librc_srcdir}/*.c | sed 's:\.c$:.o:') \
+ | egrep -v -e 'R_PARISC_(DP|SEG)REL' \
| awk '$5 ~ /^rc_/ {print $5}' \
| LC_ALL=C sort -u \
| egrep -v '^rc_environ_fd$' \