From 5fd996c4a4049a75c6d9e964f1a81c00ff191893 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 9 Apr 2014 16:38:26 -0700 Subject: [PATCH] Further adjust check-defs and check-symbols for mipsel Fixes https://bugs.freedesktop.org/show_bug.cgi?id=74491 --- src/check-defs.sh | 2 +- src/check-symbols.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/check-defs.sh b/src/check-defs.sh index d7a8ec281..357347f54 100755 --- a/src/check-defs.sh +++ b/src/check-defs.sh @@ -21,7 +21,7 @@ for def in $defs; do lib=`echo "$def" | sed 's/[.]def$//;s@.*/@@'` so=.libs/lib${lib}.so - EXPORTED_SYMBOLS="`nm "$so" | grep ' [BCDGINRSTVW] ' | grep -v ' _fini\>\| _init\>\| _fdata\>\| _ftext\>\| __bss_start\>\| __bss_start__\>\| __bss_end__\>\| _edata\>\| _end\>\| _bss_end__\>\| __end__\>' | cut -d' ' -f3`" + EXPORTED_SYMBOLS="`nm "$so" | grep ' [BCDGINRSTVW] ' | grep -v ' _fini\>\| _init\>\| _fdata\>\| _ftext\>\| _fbss\>\| __bss_start\>\| __bss_start__\>\| __bss_end__\>\| _edata\>\| _end\>\| _bss_end__\>\| __end__\>' | cut -d' ' -f3`" if test -f "$so"; then diff --git a/src/check-symbols.sh b/src/check-symbols.sh index 67bdf71e1..e000b01b8 100755 --- a/src/check-symbols.sh +++ b/src/check-symbols.sh @@ -18,7 +18,7 @@ echo "Checking that we are not exposing internal symbols" tested=false for so in `ls .libs/lib*.so .libs/lib*.dylib 2>/dev/null` ; do - EXPORTED_SYMBOLS="`nm "$so" | grep ' [BCDGINRSTVW] ' | grep -v ' _fini\>\| _init\>\| _fdata\>\| _ftext\>\| __bss_start\>\| __bss_start__\>\| __bss_end__\>\| _edata\>\| _end\>\| _bss_end__\>\| __end__\>' | cut -d' ' -f3`" + EXPORTED_SYMBOLS="`nm "$so" | grep ' [BCDGINRSTVW] ' | grep -v ' _fini\>\| _init\>\| _fdata\>\| _ftext\>\| _fbss\>\| __bss_start\>\| __bss_start__\>\| __bss_end__\>\| _edata\>\| _end\>\| _bss_end__\>\| __end__\>' | cut -d' ' -f3`" prefix=`basename "$so" | sed 's/libharfbuzz/hb/; s/-/_/g; s/[.].*//'` echo "Processing $so"