Changeset 26337 in vbox for trunk/src/bldprogs/checkUndefined.sh
- Timestamp:
- Feb 8, 2010 11:17:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/checkUndefined.sh
r20962 r26337 1 1 #! /bin/sh 2 2 3 # Copyright (C) 2006-2007 Sun Microsystems, Inc. 3 # 4 # Copyright (C) 2006-2010 Sun Microsystems, Inc. 4 5 # 5 6 # This file is part of VirtualBox Open Source Edition (OSE), as … … 16 17 # 17 18 19 # 18 20 # Compare undefined symbols in a shared or static object against a new-line 19 21 # separated list of grep patterns in a text file. … … 22 24 # 23 25 # Currently only works for native objects on Linux platforms 26 # 24 27 25 28 echoerr() … … 74 77 fi 75 78 76 undefined=`$objdumpbin $command $target | $grepbin '*UND*' | $grepbin -v -f $symbols | sed -e 's/^.*[]\(.*\)/\1/'`79 undefined=`$objdumpbin $command $target | $grepbin '*UND*' | $grepbin -v -f $symbols | kmk_sed -e 's/^.*[[:blank:]]\(.*\)/\1/'` 77 80 num_undef=`echo $undefined | wc -w` 78 81 … … 85 88 exit 0 86 89 87
Note:
See TracChangeset
for help on using the changeset viewer.