2015-03-31 13:14:58 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-03-29 16:24:24 -06:00
|
|
|
# The following symbols (past the first nine) are taken from tegra.h.
|
2015-03-31 13:14:58 -06:00
|
|
|
|
2018-02-19 08:13:15 -07:00
|
|
|
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_tegra.so} | awk '{print $3}'| while read func; do
|
2015-03-31 13:14:58 -06:00
|
|
|
( grep -q "^$func$" || echo $func ) <<EOF
|
2017-03-29 16:24:24 -06:00
|
|
|
__bss_end__
|
|
|
|
__bss_start__
|
2015-03-31 13:14:58 -06:00
|
|
|
__bss_start
|
2017-03-29 16:24:24 -06:00
|
|
|
__end__
|
|
|
|
_bss_end__
|
2015-03-31 13:14:58 -06:00
|
|
|
_edata
|
|
|
|
_end
|
|
|
|
_fini
|
|
|
|
_init
|
|
|
|
drm_tegra_bo_get_flags
|
|
|
|
drm_tegra_bo_get_handle
|
|
|
|
drm_tegra_bo_get_tiling
|
|
|
|
drm_tegra_bo_map
|
|
|
|
drm_tegra_bo_new
|
|
|
|
drm_tegra_bo_ref
|
|
|
|
drm_tegra_bo_set_flags
|
|
|
|
drm_tegra_bo_set_tiling
|
|
|
|
drm_tegra_bo_unmap
|
|
|
|
drm_tegra_bo_unref
|
|
|
|
drm_tegra_bo_wrap
|
|
|
|
drm_tegra_close
|
|
|
|
drm_tegra_new
|
|
|
|
EOF
|
|
|
|
done)
|
|
|
|
|
|
|
|
test ! -n "$FUNCS" || echo $FUNCS
|
|
|
|
test ! -n "$FUNCS"
|