mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-01 00:10:14 +01:00
It will make bugs like the one fixed with previous patch dead obvious. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
27 lines
530 B
Bash
Executable file
27 lines
530 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -u
|
|
|
|
# The following symbols (past the first five) are taken from the public headers.
|
|
# A list of the latter should be available Makefile.sources/LIBKMS_H_FILES
|
|
|
|
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libkms.so} | awk '{print $3}'| while read func; do
|
|
( grep -q "^$func$" || echo $func ) <<EOF
|
|
__bss_start
|
|
_edata
|
|
_end
|
|
_fini
|
|
_init
|
|
kms_bo_create
|
|
kms_bo_destroy
|
|
kms_bo_get_prop
|
|
kms_bo_map
|
|
kms_bo_unmap
|
|
kms_create
|
|
kms_destroy
|
|
kms_get_prop
|
|
EOF
|
|
done)
|
|
|
|
test ! -n "$FUNCS" || echo $FUNCS
|
|
test ! -n "$FUNCS"
|