summaryrefslogtreecommitdiffstats
path: root/make/scripts/check-glibc-build-arm.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-11-17 05:25:30 +0100
committerSven Gothel <[email protected]>2013-11-17 05:25:30 +0100
commite0877095c24f08fe1e5fc0391edf26392d1b6206 (patch)
treeed11edf4cb753d7e05c642429006238529fe9d90 /make/scripts/check-glibc-build-arm.sh
parent0f9227a597e5f8e828dfbb3ab0bdc1d9d8691ed8 (diff)
Add generic 'check-glibc.sh' script / rename old script
Diffstat (limited to 'make/scripts/check-glibc-build-arm.sh')
-rw-r--r--make/scripts/check-glibc-build-arm.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/make/scripts/check-glibc-build-arm.sh b/make/scripts/check-glibc-build-arm.sh
new file mode 100644
index 0000000..9773449
--- /dev/null
+++ b/make/scripts/check-glibc-build-arm.sh
@@ -0,0 +1,22 @@
+#! /bin/bash
+
+SDIR=`dirname $0`
+XDIR=$SDIR/../../make/lib/toolchain
+RDIR=$SDIR/../../..
+
+function check_glibc() {
+ OBJDUMP=$1/bin/objdump
+
+ echo "------------------------------------------------------------"
+ echo $2 via $OBJDUMP
+ echo
+ $OBJDUMP -T $2 | grep GLIBC | awk ' { print $5 " " $6 } ' | sort
+ echo "------------------------------------------------------------"
+}
+
+check_glibc $XDIR/armsf-linux-gnueabi $SDIR/../ $RDIR/gluegen/build-linux-armv6/obj/libgluegen-rt.so
+check_glibc $XDIR/armhf-linux-gnueabi $RDIR/gluegen/build-linux-armv6hf/obj/libgluegen-rt.so
+check_glibc $XDIR/armsf-linux-gnueabi $RDIR/joal/build-linux-armv6/obj/libopenal.so
+check_glibc $XDIR/armsf-linux-gnueabi $RDIR/joal/build-linux-armv6/obj/libjoal.so
+check_glibc $XDIR/armhf-linux-gnueabi $RDIR/joal/build-linux-armv6hf/obj/libopenal.so
+check_glibc $XDIR/armhf-linux-gnueabi $RDIR/joal/build-linux-armv6hf/obj/libjoal.so