diff options
author | John Gilmore <gnu@cygnus> | 1990-09-05 17:54:31 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1990-09-05 17:54:31 +0000 |
commit | 831c851165e112139af1265f294e198401814c1f (patch) | |
tree | 5f155fecb9b690be9c428e822d519c2710fefd47 /gdb/munch | |
parent | 7a67dd45ca1c191a0220697a3ec9fa92993caf8c (diff) | |
download | fsf-binutils-gdb-831c851165e112139af1265f294e198401814c1f.zip fsf-binutils-gdb-831c851165e112139af1265f294e198401814c1f.tar.gz fsf-binutils-gdb-831c851165e112139af1265f294e198401814c1f.tar.bz2 |
Initial revision
Diffstat (limited to 'gdb/munch')
-rwxr-xr-x | gdb/munch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/munch b/gdb/munch deleted file mode 100755 index eef3927..0000000 --- a/gdb/munch +++ /dev/null @@ -1,17 +0,0 @@ -#! /bin/sh - -# create an initialization procedure from a list of .o files - -echo '/* Do not modify this file. It is created automatically by "munch". */' -echo 'void initialize_all_files () {' - -if test "$1" = "-DSYSV" ; then - shift; - nm $* | egrep '^(.*[^a-zA-Z_]_|_)initialize_' | \ - sed -e 's/^.*\(_initialize_[a-zA-Z0-9_]*\)[^a-zA-Z0-9_].*$/ \1 ();/' -else - nm -p $* | egrep 'T *__initialize_' | \ - sed -e 's/^.*T *_*\(.*\)/ _\1 ();/' -fi - -echo '}' |