* config/rs6000.mh: Update (for Fred's new mmalloc)

flags to disable use of GNU malloc/mmalloc.
	* munch:  Change SYSV rule to allow .text before the label,
	as well as after, to work for AIX.
	* gdbtypes.h:  Minor clarifiction.
This commit is contained in:
Per Bothner 1992-03-24 22:54:21 +00:00
parent be1384b056
commit 5c8d3927e3
4 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,11 @@
Tue Mar 24 13:26:25 1992 Per Bothner (bothner@rtl.cygnus.com)
* config/rs6000.mh: Update (for Fred's new mmalloc)
flags to disable use of GNU malloc/mmalloc.
* munch: Change SYSV rule to allow .text before the label,
as well as after, to work for AIX.
* gdbtypes.h: Minor clarifiction.
Tue Mar 24 07:26:19 1992 Michael Tiemann (tiemann@cygnus.com) Tue Mar 24 07:26:19 1992 Michael Tiemann (tiemann@cygnus.com)
* buildsym.c (read_struct_type): Handle cretinous dbx symbol name * buildsym.c (read_struct_type): Handle cretinous dbx symbol name

View File

@ -22,6 +22,6 @@ XM_FILE= xm-rs6000.h
XM_CFLAGS = -bnodelcsect XM_CFLAGS = -bnodelcsect
# Because of shared libraries, we risk ending up with *two* # Because of shared libraries, we risk ending up with *two*
# versions of malloc if we use GNU malloc ... # incompatible versions of malloc if we use GNU malloc ...
GNU_MALLOC = MMALLOC_LIB =
MALLOC_CFLAGS = -DNO_MALLOC_CHECK MMALLOC_DISABLE = -DNO_MMALLOC

View File

@ -130,7 +130,7 @@ struct type
/* For a pointer type, describes the type of object pointed to. /* For a pointer type, describes the type of object pointed to.
For an array type, describes the type of the elements. For an array type, describes the type of the elements.
For a function or method type, describes the type of the value. For a function or method type, describes the type of the return value.
For a range type, describes the type of the full range. For a range type, describes the type of the full range.
Unused otherwise. */ Unused otherwise. */

View File

@ -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 elif test "`$MUNCH_NM main.o | egrep '[TD] _?main$'`" = "" ; then
# System V style nm # System V style nm
shift; shift;
$MUNCH_NM $* | egrep '^(.*[^a-zA-Z_]_|_)_?initialize_.*\.text' | \ $MUNCH_NM $* | egrep '^(.*[^a-zA-Z_]_|_)_?initialize_.*' | egrep '\.text'|\
sed -e 's/^.*\(_initialize_[a-zA-Z0-9_]*\)[^a-zA-Z0-9_].*$/ {extern void \1 (); \1 ();}/' sed -e 's/^.*\(_initialize_[a-zA-Z0-9_]*\)/ {extern void \1 (); \1 ();}/'
else else
# BSD style nm # BSD style nm
# We now accept either text or data symbols, since the RT/PC uses data. # We now accept either text or data symbols, since the RT/PC uses data.