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_exynos*_HEADERS 5 6 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_exynos.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 exynos_bo_create 14 exynos_bo_destroy 15 exynos_bo_from_name 16 exynos_bo_get_info 17 exynos_bo_get_name 18 exynos_bo_handle 19 exynos_bo_map 20 exynos_device_create 21 exynos_device_destroy 22 exynos_prime_fd_to_handle 23 exynos_prime_handle_to_fd 24 exynos_vidi_connection 25 exynos_handle_event 26 g2d_blend 27 g2d_copy 28 g2d_copy_with_scale 29 g2d_exec 30 g2d_config_event 31 g2d_fini 32 g2d_init 33 g2d_move 34 g2d_scale_and_blend 35 g2d_solid_fill 36 EOF 37 done) 38 39 test ! -n "$FUNCS" || echo $FUNCS 40 test ! -n "$FUNCS" 41