File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,10 +72,10 @@ if [ -z "$varlist" ]; then
7272 if [ ! -z " $execlist " ]; then
7373
7474# Get all undefined symbol names
75- varlist=` nm $execlist 2> /dev/null | fgrep ' U ' | sed -e " s/^[ ]*//g" | cut -d' ' -f2 | sort | uniq`
75+ varlist=` nm $execlist 2> /dev/null | grep -F ' U ' | sed -e " s/^[ ]*//g" | cut -d' ' -f2 | sort | uniq`
7676
7777# Get all defined symbol names
78- deflist=` nm $execlist 2> /dev/null | fgrep -v -e ' U ' -e ' :' | sed -e " s/^[0-9a-z]* //g" | cut -d' ' -f2 | sort | uniq`
78+ deflist=` nm $execlist 2> /dev/null | grep -F -v -e ' U ' -e ' :' | sed -e " s/^[0-9a-z]* //g" | cut -d' ' -f2 | sort | uniq`
7979
8080# Remove the intersection between them, and the remaining symbols are found in the main image
8181 common=` echo " $varlist " | tr ' ' ' \n' | grep -Fxf <( echo " $deflist " | tr ' ' ' \n' ) | tr ' \n' ' ' `
You can’t perform that action at this time.
0 commit comments