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 6 FUNCS=$(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 13 omap_bo_cpu_fini 14 omap_bo_cpu_prep 15 omap_bo_del 16 omap_bo_dmabuf 17 omap_bo_from_dmabuf 18 omap_bo_from_name 19 omap_bo_get_name 20 omap_bo_handle 21 omap_bo_map 22 omap_bo_new 23 omap_bo_new_tiled 24 omap_bo_ref 25 omap_bo_size 26 omap_device_del 27 omap_device_new 28 omap_device_ref 29 omap_get_param 30 omap_set_param 31 EOF 32 done) 33 34 test ! -n "$FUNCS" || echo $FUNCS 35 test ! -n "$FUNCS" 36