From 9f8fb4686282cee0d54fb48f50772595fd4eedd3 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 31 Mar 2015 20:04:54 +0100 Subject: exynos: add symbols test Signed-off-by: Emil Velikov --- exynos/exynos-symbol-check | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 exynos/exynos-symbol-check (limited to 'exynos/exynos-symbol-check') diff --git a/exynos/exynos-symbol-check b/exynos/exynos-symbol-check new file mode 100755 index 00000000..1a1be89e --- /dev/null +++ b/exynos/exynos-symbol-check @@ -0,0 +1,37 @@ +#!/bin/bash + +# The following symbols (past the first five) are taken from the public headers. +# A list of the latter should be available Makefile.am/libdrm_exynos*_HEADERS + +FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_exynos.so} | awk '{print $3}'| while read func; do +( grep -q "^$func$" || echo $func ) <