unstack: ELF support
This commit is contained in:
parent
691030d5ce
commit
7ff2db1dd6
1 changed files with 4 additions and 0 deletions
|
@ -34,9 +34,13 @@ then GNM=gnm
|
|||
else GNM=nm
|
||||
fi
|
||||
|
||||
ELFNM=/usr/gnu_cross/bin/i386-pc-minix3-nm
|
||||
|
||||
# Invoke gnu nm or ack nm?
|
||||
if file $executable | grep NSYM >/dev/null 2>&1
|
||||
then NM="$GNM --radix=d"
|
||||
elif file $executable | grep ELF >/dev/null 2>&1
|
||||
then NM="$ELFNM --radix=d"
|
||||
else NM="acknm -d"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue