Blame omap/omap-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.am/libdrm_omap*HEADERS
|
|
Packit |
631bab |
|
|
Packit |
631bab |
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_omap.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 |
omap_bo_cpu_fini
|
|
Packit |
631bab |
omap_bo_cpu_prep
|
|
Packit |
631bab |
omap_bo_del
|
|
Packit |
631bab |
omap_bo_dmabuf
|
|
Packit |
631bab |
omap_bo_from_dmabuf
|
|
Packit |
631bab |
omap_bo_from_name
|
|
Packit |
631bab |
omap_bo_get_name
|
|
Packit |
631bab |
omap_bo_handle
|
|
Packit |
631bab |
omap_bo_map
|
|
Packit |
631bab |
omap_bo_new
|
|
Packit |
631bab |
omap_bo_new_tiled
|
|
Packit |
631bab |
omap_bo_ref
|
|
Packit |
631bab |
omap_bo_size
|
|
Packit |
631bab |
omap_device_del
|
|
Packit |
631bab |
omap_device_new
|
|
Packit |
631bab |
omap_device_ref
|
|
Packit |
631bab |
omap_get_param
|
|
Packit |
631bab |
omap_set_param
|
|
Packit |
631bab |
EOF
|
|
Packit |
631bab |
done)
|
|
Packit |
631bab |
|
|
Packit |
631bab |
test ! -n "$FUNCS" || echo $FUNCS
|
|
Packit |
631bab |
test ! -n "$FUNCS"
|