summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-16 07:32:48 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-16 07:32:48 +0000
commit778e0ef71de6430ca6af4410453e675bd96b040f (patch)
treea83bd35f37465b24654ae211e61f668092a3822a /malloc
parent3c204435e91ba20fbfef438e52fdc147e679ca58 (diff)
downloadglibc-778e0ef71de6430ca6af4410453e675bd96b040f.tar.gz
glibc-778e0ef71de6430ca6af4410453e675bd96b040f.tar.xz
glibc-778e0ef71de6430ca6af4410453e675bd96b040f.zip
Update.
2001-07-15  Ulrich Drepper  <drepper@redhat.com>

	* malloc/obstack.c: Define __attribute__ for non-gcc compilers.
	Patch by Jim Meyering <jim@meyering.net>.

2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
	fields in the sigaction struct to match the definition in the kernel.

2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
	test for ENOSYS.

2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
	to the entries in the __jmp_buf structure.
	* sysdeps/s390/s390-64/bits/setjmp.h: Likewise.

2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
	(> 64K) and a mvc loop for small blocks.
	* sysdeps/s390/s390-32/memcpy.S: Likewise.
	* sysdeps/s390/s390-64/bcopy.S: Likewise.
	* sysdeps/s390/s390-64/memcpy.S: Likewise.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/obstack.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/malloc/obstack.c b/malloc/obstack.c
index 30e908d981..dcc5cce386 100644
--- a/malloc/obstack.c
+++ b/malloc/obstack.c
@@ -470,6 +470,13 @@ _obstack_memory_used (h)
 # define fputs(s, f) _IO_fputs (s, f)
 #endif
 
+#ifndef __attribute__
+/* This feature is available in gcc versions 2.5 and later.  */
+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
+#  define __attribute__(Spec) /* empty */
+# endif
+#endif
+
 static void
 __attribute__ ((noreturn))
 print_and_abort ()