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