/usr/share/gluegen2/make/scripts/check-elf.sh is in libgluegen2-build-java 2.3.2-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | #! /bin/bash
SDIR=`dirname $0`
RDIR=$SDIR/../../..
function check_arm_elf_sub() {
echo $1
echo
readelf -A $1
}
function check_arm_elf() {
echo "============================================================"
check_arm_elf_sub $1
echo "============================================================"
}
function check_jogl_arm_elf() {
echo "============================================================"
echo JOGL $1
echo "------------------------------------------------------------"
check_arm_elf_sub $1/libjogl_desktop.so
echo "------------------------------------------------------------"
check_arm_elf_sub $1/libjogl_mobile.so
echo "------------------------------------------------------------"
check_arm_elf_sub $1/libnativewindow_awt.so
echo "------------------------------------------------------------"
check_arm_elf_sub $1/libnativewindow_x11.so
echo "------------------------------------------------------------"
check_arm_elf_sub $1/libnewt.so
echo "============================================================"
}
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo "Test Android ARMv6 -> ARMv6"
check_arm_elf $RDIR/gluegen/build-android-armv6/obj/libgluegen-rt.so
check_arm_elf $RDIR/joal/build-android-armv6/obj/libopenal.so
check_jogl_arm_elf $RDIR/jogl/build-android-armv6/lib
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo "Test Linux ARMv6 -> ARMv5te"
check_arm_elf $RDIR/gluegen/build-linux-armv6/obj/libgluegen-rt.so
check_arm_elf $RDIR/joal/build-linux-armv6/obj/libopenal.so
check_arm_elf $RDIR/joal/build-linux-armv6/obj/libjoal.so
check_jogl_arm_elf $RDIR/jogl/build-linux-armv6/lib
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo "Test Android ARMv6 Hard-Float -> ARMv6 Hard-Float"
check_arm_elf $RDIR/gluegen/build-linux-armv6hf/obj/libgluegen-rt.so
check_arm_elf $RDIR/joal/build-linux-armv6hf/obj/libopenal.so
check_arm_elf $RDIR/joal/build-linux-armv6hf/obj/libjoal.so
check_jogl_arm_elf $RDIR/jogl/build-linux-armv6hf/lib
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
|