diff options
author | Per Bothner <per@bothner.com> | 1992-04-03 20:25:57 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1992-04-03 20:25:57 +0000 |
commit | 556f3d9029f10733007a87814d7a46ea0c480be2 (patch) | |
tree | d49cfb64b711f5e0bcee96b33870230c5a074101 /gdb/munch | |
parent | 677ff947296b08717519768157973e57ba31b3cb (diff) | |
download | gdb-556f3d9029f10733007a87814d7a46ea0c480be2.zip gdb-556f3d9029f10733007a87814d7a46ea0c480be2.tar.gz gdb-556f3d9029f10733007a87814d7a46ea0c480be2.tar.bz2 |
* munch: Must pre-pend "_" to "initialize" for SYSV style nm.
* tm-rs6000.h, xcoffexec.c, xcoffread.c, xm-rs6000.h:
Merge in more patches for rs6000 from Metin Ozisik.
* utils.c: Fix typo in comment.
Diffstat (limited to 'gdb/munch')
-rwxr-xr-x | gdb/munch | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,8 +23,8 @@ if test "`$MUNCH_NM main.o | egrep main | egrep FUNC | egrep GLOB`" != "" ; then elif test "`$MUNCH_NM main.o | egrep '[TD] _?main$'`" = "" ; then # System V style nm shift; - $MUNCH_NM $* | egrep '^(.*[^a-zA-Z_]_|_)_?initialize_.*' | egrep '\.text'|\ - sed -e 's/^.*\(_initialize_[a-zA-Z0-9_]*\)/ {extern void \1 (); \1 ();}/' + $MUNCH_NM $* | egrep '_initialize_.*' | egrep '\.text'|\ + sed -e 's/^.*\(_initialize_[a-zA-Z0-9_]*\).*/ {extern void \1 (); \1 ();}/' else # BSD style nm # We now accept either text or data symbols, since the RT/PC uses data. |