about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-11-14 10:00:21 +0000
committerRoland McGrath <roland@gnu.org>1995-11-14 10:00:21 +0000
commit9199ec6eb2511cf2babee622ae64db7a579b837e (patch)
tree1d876bc2bf50eacdc62f9a7c8d24ae240eaeb892
parentaccc07a981d919a8f592285011fb2b6a417db001 (diff)
downloadglibc-cvs/libc-951114.tar.gz
glibc-cvs/libc-951114.tar.xz
glibc-cvs/libc-951114.zip
Mon Nov 13 15:23:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> cvs/libc-951114
	* malloc/malloc.c (morecore): Fix inverted test in allocating new
	info table.

	* malloc/malloc.c (align): Fix assertion.

	* malloc/malloc.c: Include assert.h.

	* libc-symbols.h: Use __attribute__ for GCC 2.8, not 2.7.

	* malloc/malloc.h [emacs] (emacs_loser_valloc): Macro removed.
	(valloc): Protect decl with [! (_MALLOC_INTERNAL && emacs)].
-rw-r--r--ChangeLog14
-rw-r--r--libc-symbols.h6
2 files changed, 17 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f84171251f..6ea0e0f5b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+Mon Nov 13 15:23:01 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
+
+	* malloc/malloc.c (morecore): Fix inverted test in allocating new
+	info table.
+
+	* malloc/malloc.c (align): Fix assertion.
+
+	* malloc/malloc.c: Include assert.h.
+
+	* libc-symbols.h: Use __attribute__ for GCC 2.8, not 2.7.
+
+	* malloc/malloc.h [emacs] (emacs_loser_valloc): Macro removed.
+	(valloc): Protect decl with [! (_MALLOC_INTERNAL && emacs)].
+
 Fri Nov 10 14:15:21 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
 	* malloc/malloc.c (align): Assert that space for alignment
diff --git a/libc-symbols.h b/libc-symbols.h
index 50631d164a..b08f06151e 100644
--- a/libc-symbols.h
+++ b/libc-symbols.h
@@ -156,8 +156,8 @@ extern const char _libc_intl_domainname[];
 
 
 #if (!defined (ASSEMBLER) && \
-     (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)))
-/* GCC 2.7 and later has special syntax for weak symbols and aliases.
+     (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)))
+/* GCC 2.8 and later has special syntax for weak symbols and aliases.
    Using that is better when possible, because the compiler and assembler
    are better clued in to what we are doing.  */
 #undef	strong_alias
@@ -172,7 +172,7 @@ extern const char _libc_intl_domainname[];
 #define weak_alias(name, aliasname) \
   extern __typeof (name) aliasname __attribute__ ((weak, alias (#name)));
 #endif	/* HAVE_WEAK_SYMBOLS.  */
-#endif	/* Not ASSEMBLER, and GCC 2.7 or later.  */
+#endif	/* Not ASSEMBLER, and GCC 2.8 or later.  */