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.sources/LIBDRM_FREEDRENO_H_FILES 5 6 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_tegra.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 drm_tegra_bo_get_flags 14 drm_tegra_bo_get_handle 15 drm_tegra_bo_get_tiling 16 drm_tegra_bo_map 17 drm_tegra_bo_new 18 drm_tegra_bo_ref 19 drm_tegra_bo_set_flags 20 drm_tegra_bo_set_tiling 21 drm_tegra_bo_unmap 22 drm_tegra_bo_unref 23 drm_tegra_bo_wrap 24 drm_tegra_close 25 drm_tegra_new 26 EOF 27 done) 28 29 test ! -n "$FUNCS" || echo $FUNCS 30 test ! -n "$FUNCS" 31