2015-03-31 12:51:45 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-09-06 08:50:59 -06:00
|
|
|
set -u
|
|
|
|
|
2015-03-31 12:51:45 -06:00
|
|
|
# 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
|
|
|
|
|
2018-02-19 08:13:15 -07:00
|
|
|
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libkms.so} | awk '{print $3}'| while read func; do
|
2015-03-31 12:51:45 -06:00
|
|
|
( 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"
|