2019-11-26 19:09:48 -07:00
|
|
|
#!/bin/sh
|
2015-08-21 17:55:36 -06:00
|
|
|
|
2018-11-01 02:22:36 -06:00
|
|
|
set -u
|
|
|
|
|
2015-08-21 17:55:36 -06:00
|
|
|
# The following symbols (past the first five) are taken from the public headers.
|
|
|
|
# A list of the latter should be available Makefile.am/libdrm_omap*HEADERS
|
|
|
|
|
2018-09-13 05:55:15 -06:00
|
|
|
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_omap.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
|
|
|
|
omap_bo_cpu_fini
|
|
|
|
omap_bo_cpu_prep
|
|
|
|
omap_bo_del
|
|
|
|
omap_bo_dmabuf
|
|
|
|
omap_bo_from_dmabuf
|
|
|
|
omap_bo_from_name
|
|
|
|
omap_bo_get_name
|
|
|
|
omap_bo_handle
|
|
|
|
omap_bo_map
|
|
|
|
omap_bo_new
|
|
|
|
omap_bo_new_tiled
|
|
|
|
omap_bo_ref
|
|
|
|
omap_bo_size
|
|
|
|
omap_device_del
|
|
|
|
omap_device_new
|
|
|
|
omap_device_ref
|
|
|
|
omap_get_param
|
|
|
|
omap_set_param
|
|
|
|
EOF
|
|
|
|
done)
|
|
|
|
|
|
|
|
test ! -n "$FUNCS" || echo $FUNCS
|
|
|
|
test ! -n "$FUNCS"
|