From aa6973e6110541d0a6642072f763f550341ed9b3 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 11 Oct 2018 14:43:35 +0100 Subject: [PATCH] gbm: use new symbols check script Note: the list in gbm-symbols.txt is the same as the one that was in gbm-symbols-check, I just took the opportunity to sort it. Signed-off-by: Eric Engestrom Reviewed-by Dylan Baker Reviewed-by: Emil Velikov --- .../{gbm-symbols-check => gbm-symbols.txt} | 19 ------------------- src/gbm/meson.build | 9 ++++++--- 2 files changed, 6 insertions(+), 22 deletions(-) rename src/gbm/{gbm-symbols-check => gbm-symbols.txt} (72%) diff --git a/src/gbm/gbm-symbols-check b/src/gbm/gbm-symbols.txt similarity index 72% rename from src/gbm/gbm-symbols-check rename to src/gbm/gbm-symbols.txt index e28c52d44c8..84ab1886253 100755 --- a/src/gbm/gbm-symbols-check +++ b/src/gbm/gbm-symbols.txt @@ -1,15 +1,3 @@ -#!/bin/sh -set -eu - -LIB=${1-.libs/libgbm.so} - -if ! [ -f "$LIB" ] -then - exit 1 -fi - -FUNCS=$($NM -D --defined-only $LIB | grep -o "T .*" | cut -c 3- | while read func; do -( grep -q "^$func$" || echo $func ) <