projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
625453d
)
Merge in irix support.
author
Stu Grossman
<grossman@cygnus>
Sat, 31 Aug 1991 00:43:36 +0000
(
00:43
+0000)
committer
Stu Grossman
<grossman@cygnus>
Sat, 31 Aug 1991 00:43:36 +0000
(
00:43
+0000)
gdb/munch
patch
|
blob
|
history
diff --git
a/gdb/munch
b/gdb/munch
index 8b59ed00682845bef932c31957dded80b54a5244..92929eada19229b9689be91fe839c6b3ea0a7cb7 100755
(executable)
--- 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;