1#!/bin/bash 2 3# The following symbols (past the first five) are taken from the public headers. 4# A list of the latter should be available Makefile.am/libdrm_omap*HEADERS 5 6FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_omap.so} | awk '{print $3}'| while read func; do 7( grep -q "^$func$" || echo $func ) <<EOF 8__bss_start 9_edata 10_end 11_fini 12_init 13omap_bo_cpu_fini 14omap_bo_cpu_prep 15omap_bo_del 16omap_bo_dmabuf 17omap_bo_from_dmabuf 18omap_bo_from_name 19omap_bo_get_name 20omap_bo_handle 21omap_bo_map 22omap_bo_new 23omap_bo_new_tiled 24omap_bo_ref 25omap_bo_size 26omap_device_del 27omap_device_new 28omap_device_ref 29omap_get_param 30omap_set_param 31EOF 32done) 33 34test ! -n "$FUNCS" || echo $FUNCS 35test ! -n "$FUNCS" 36