aboutsummaryrefslogtreecommitdiffstats
path: root/tegra
diff options
context:
space:
mode:
authorErik Faye-Lund2017-03-29 17:24:24 -0500
committerEmil Velikov2017-04-03 11:51:13 -0500
commite5053343de6f910882a43214ce5c7b69a9b07927 (patch)
tree629c017d283b212d5bffa7ffb13bbb6b0e8936e2 /tegra
parent51a514c43f607c7f3c1231d1fcac15d450f98e5c (diff)
downloadexternal-libgbm-e5053343de6f910882a43214ce5c7b69a9b07927.tar.gz
external-libgbm-e5053343de6f910882a43214ce5c7b69a9b07927.tar.xz
external-libgbm-e5053343de6f910882a43214ce5c7b69a9b07927.zip
tegra: update symbol-check
I get a few more symbols in my build tegra-libraries, so let's include these in the whitelist as well. While we're at it, update the comment at the top. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'tegra')
-rwxr-xr-xtegra/tegra-symbol-check7
1 files changed, 5 insertions, 2 deletions
diff --git a/tegra/tegra-symbol-check b/tegra/tegra-symbol-check
index 40208311..420469f4 100755
--- a/tegra/tegra-symbol-check
+++ b/tegra/tegra-symbol-check
@@ -1,11 +1,14 @@
1#!/bin/bash 1#!/bin/bash
2 2
3# The following symbols (past the first five) are taken from the public headers. 3# The following symbols (past the first nine) are taken from tegra.h.
4# A list of the latter should be available Makefile.sources/LIBDRM_FREEDRENO_H_FILES
5 4
6FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_tegra.so} | awk '{print $3}'| while read func; do 5FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_tegra.so} | awk '{print $3}'| while read func; do
7( grep -q "^$func$" || echo $func ) <<EOF 6( grep -q "^$func$" || echo $func ) <<EOF
7__bss_end__
8__bss_start__
8__bss_start 9__bss_start
10__end__
11_bss_end__
9_edata 12_edata
10_end 13_end
11_fini 14_fini