2 # SPDX-License-Identifier: BSD-3-Clause
3 # Copyright (c) 2019 Red Hat, Inc.
6 echo "Usage: $0 installdir"
11 if [ ! -d $installdir ]; then
12 echo "Error: install directory '$installdir' does not exist."
16 dumpdir=$installdir/dump
19 for f in $(find $installdir -name "*.so.*"); do
24 libname=$(basename $f)
25 abidw --out-file $dumpdir/${libname%.so*}.dump $f