From 62b35fb2756ef37ff4bf3ac2eb5761d1fc95c089 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 31 Mar 2015 20:12:06 +0100 Subject: omap: add symbols test Signed-off-by: Emil Velikov --- omap/omap-symbol-check | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 omap/omap-symbol-check (limited to 'omap/omap-symbol-check') diff --git a/omap/omap-symbol-check b/omap/omap-symbol-check new file mode 100755 index 00000000..759c84bd --- /dev/null +++ b/omap/omap-symbol-check @@ -0,0 +1,35 @@ +#!/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_omap*HEADERS + +FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_omap.so} | awk '{print $3}'| while read func; do +( grep -q "^$func$" || echo $func ) <