omap: convert to new symbols check
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>main
parent
574778100e
commit
0cfa21d55e
|
@ -47,8 +47,11 @@ pkg.generate(
|
|||
)
|
||||
|
||||
test(
|
||||
'omap-symbol-check',
|
||||
find_program('omap-symbol-check'),
|
||||
env : env_test,
|
||||
args : libdrm_omap,
|
||||
'omap-symbols-check',
|
||||
symbols_check,
|
||||
args : [
|
||||
'--lib', libdrm_omap,
|
||||
'--symbols-file', files('omap-symbols.txt'),
|
||||
'--nm', prog_nm.path(),
|
||||
],
|
||||
)
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -u
|
||||
|
||||
# The following symbols (past the first five) are taken from the public headers.
|
||||
# A list of the latter should be available Makefile.am/libdrm_omap*HEADERS
|
||||
|
||||
FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_omap.so} | awk '{print $3}'| while read func; do
|
||||
( grep -q "^$func$" || echo $func ) <<EOF
|
||||
__bss_start
|
||||
_edata
|
||||
_end
|
||||
_fini
|
||||
_init
|
||||
omap_bo_cpu_fini
|
||||
omap_bo_cpu_prep
|
||||
omap_bo_del
|
||||
omap_bo_dmabuf
|
||||
omap_bo_from_dmabuf
|
||||
omap_bo_from_name
|
||||
omap_bo_get_name
|
||||
omap_bo_handle
|
||||
omap_bo_map
|
||||
omap_bo_new
|
||||
omap_bo_new_tiled
|
||||
omap_bo_ref
|
||||
omap_bo_size
|
||||
omap_device_del
|
||||
omap_device_new
|
||||
omap_device_ref
|
||||
omap_get_param
|
||||
omap_set_param
|
||||
EOF
|
||||
done)
|
||||
|
||||
test ! -n "$FUNCS" || echo $FUNCS
|
||||
test ! -n "$FUNCS"
|
|
@ -0,0 +1,18 @@
|
|||
omap_bo_cpu_fini
|
||||
omap_bo_cpu_prep
|
||||
omap_bo_del
|
||||
omap_bo_dmabuf
|
||||
omap_bo_from_dmabuf
|
||||
omap_bo_from_name
|
||||
omap_bo_get_name
|
||||
omap_bo_handle
|
||||
omap_bo_map
|
||||
omap_bo_new
|
||||
omap_bo_new_tiled
|
||||
omap_bo_ref
|
||||
omap_bo_size
|
||||
omap_device_del
|
||||
omap_device_new
|
||||
omap_device_ref
|
||||
omap_get_param
|
||||
omap_set_param
|
Loading…
Reference in New Issue