From faaaea3c2a0a207ab88f0995a5fee36e42b91084 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Sat, 31 Aug 1991 00:43:36 +0000 Subject: [PATCH] Merge in irix support. --- gdb/munch | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/munch b/gdb/munch index 8b59ed0068..92929eada1 100755 --- a/gdb/munch +++ b/gdb/munch @@ -5,8 +5,14 @@ echo '/* Do not modify this file. It is created automatically by "munch". */' echo 'void initialize_all_files () {' +NMOPT="" +case $1 in +-*) NMOPT=$1; shift ;; +esac + # make it easy to use a different nm, e.g. for cross-developing -MUNCH_NM=${MUNCH_NM-nm} + +MUNCH_NM="nm $NMOPT" if test "`$MUNCH_NM main.o | egrep 'T _?main$'`" = "" ; then # System V style nm shift; -- 2.34.1