aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/check-glibc-build-arm.sh
blob: 9773449f3efd8aadf2793f9f02fab6bf5569aa5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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