From 7ff2db1dd63bf7654a163a85e6cb207bd797108e Mon Sep 17 00:00:00 2001 From: Arun Thomas Date: Fri, 10 Dec 2010 15:18:30 +0000 Subject: [PATCH] unstack: ELF support --- commands/unstack/unstack.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/unstack/unstack.sh b/commands/unstack/unstack.sh index 1be8c93c4..e26347f77 100644 --- a/commands/unstack/unstack.sh +++ b/commands/unstack/unstack.sh @@ -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 -- 2.44.0