xenocara/lib/libdrm/exynos/exynos-symbol-check

41 lines
816 B
Plaintext
Raw Normal View History

2015-08-21 17:55:36 -06:00
#!/bin/bash
# The following symbols (past the first five) are taken from the public headers.
# A list of the latter should be available Makefile.am/libdrm_exynos*_HEADERS
2018-09-13 05:55:15 -06:00
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_exynos.so} | awk '{print $3}'| while read func; do
2015-08-21 17:55:36 -06:00
( grep -q "^$func$" || echo $func ) <<EOF
__bss_start
_edata
_end
_fini
_init
exynos_bo_create
exynos_bo_destroy
exynos_bo_from_name
exynos_bo_get_info
exynos_bo_get_name
exynos_bo_handle
exynos_bo_map
exynos_device_create
exynos_device_destroy
exynos_prime_fd_to_handle
exynos_prime_handle_to_fd
exynos_vidi_connection
2016-03-20 04:19:44 -06:00
exynos_handle_event
2015-08-21 17:55:36 -06:00
g2d_blend
g2d_copy
g2d_copy_with_scale
g2d_exec
2016-03-20 04:19:44 -06:00
g2d_config_event
2015-08-21 17:55:36 -06:00
g2d_fini
g2d_init
2016-03-20 04:19:44 -06:00
g2d_move
2015-08-21 17:55:36 -06:00
g2d_scale_and_blend
g2d_solid_fill
EOF
done)
test ! -n "$FUNCS" || echo $FUNCS
test ! -n "$FUNCS"