Blame nouveau/nouveau-symbol-check

Packit 631bab
#!/bin/sh
Packit 631bab
Packit 631bab
set -u
Packit 631bab
Packit 631bab
# The following symbols (past the first five) are taken from the public headers.
Packit 631bab
# A list of the latter should be available Makefile.sources/LIBDRM_NOUVEAU_H_FILES
Packit 631bab
Packit 631bab
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_nouveau.so} | awk '{print $3}'| while read func; do
Packit 631bab
( grep -q "^$func$" || echo $func )  <
Packit 631bab
__bss_start
Packit 631bab
_edata
Packit 631bab
_end
Packit 631bab
_fini
Packit 631bab
_init
Packit 631bab
nouveau_bo_map
Packit 631bab
nouveau_bo_name_get
Packit 631bab
nouveau_bo_name_ref
Packit 631bab
nouveau_bo_new
Packit 631bab
nouveau_bo_prime_handle_ref
Packit 631bab
nouveau_bo_ref
Packit 631bab
nouveau_bo_set_prime
Packit 631bab
nouveau_bo_wait
Packit 631bab
nouveau_bo_wrap
Packit 631bab
nouveau_bufctx_del
Packit 631bab
nouveau_bufctx_mthd
Packit 631bab
nouveau_bufctx_new
Packit 631bab
nouveau_bufctx_refn
Packit 631bab
nouveau_bufctx_reset
Packit 631bab
nouveau_client_del
Packit 631bab
nouveau_client_new
Packit 631bab
nouveau_device_del
Packit 631bab
nouveau_device_new
Packit 631bab
nouveau_device_open
Packit 631bab
nouveau_device_open_existing
Packit 631bab
nouveau_device_wrap
Packit 631bab
nouveau_drm_del
Packit 631bab
nouveau_drm_new
Packit 631bab
nouveau_getparam
Packit 631bab
nouveau_object_del
Packit 631bab
nouveau_object_mclass
Packit 631bab
nouveau_object_mthd
Packit 631bab
nouveau_object_new
Packit 631bab
nouveau_object_sclass_get
Packit 631bab
nouveau_object_sclass_put
Packit 631bab
nouveau_pushbuf_bufctx
Packit 631bab
nouveau_pushbuf_data
Packit 631bab
nouveau_pushbuf_del
Packit 631bab
nouveau_pushbuf_kick
Packit 631bab
nouveau_pushbuf_new
Packit 631bab
nouveau_pushbuf_refd
Packit 631bab
nouveau_pushbuf_refn
Packit 631bab
nouveau_pushbuf_reloc
Packit 631bab
nouveau_pushbuf_space
Packit 631bab
nouveau_pushbuf_validate
Packit 631bab
nouveau_setparam
Packit 631bab
EOF
Packit 631bab
done)
Packit 631bab
Packit 631bab
test ! -n "$FUNCS" || echo $FUNCS
Packit 631bab
test ! -n "$FUNCS"