about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-29 12:46:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-29 12:46:22 +0000
commitdbb7600658d8ea633083ee99572622b04ef23a3f (patch)
tree41d2e39e7b943c26da29f40ce2307dcb8bf4451e /ChangeLog
parent58acfe6fa7b1e28ec15ce59c5a90fe36a9c11a85 (diff)
downloadglibc-dbb7600658d8ea633083ee99572622b04ef23a3f.tar.gz
glibc-dbb7600658d8ea633083ee99572622b04ef23a3f.tar.xz
glibc-dbb7600658d8ea633083ee99572622b04ef23a3f.zip
Use max_align_t from <stddef.h>.
Now that we build with -std=gnu11 and can rely on a compiler providing
max_align_t in <stddef.h>, we no longer need our own version
libc_max_align_t.  This patch removes it and replaces the single user
with a use of max_align_t.

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch for x86_64; for x86, I see
some code reordering of no significance).

	* include/libc-internal.h (libc_max_align_t): Remove typedef.
	* include/scratch_buffer.h: Include <stddef.h> instead of
	<libc-internal.h>.
	(struct scratch_buffer): Use max_align_t instead of
	libc_max_align_t.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9bab5e44bb..55c2a0d213 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-10-29  Joseph Myers  <joseph@codesourcery.com>
+
+	* include/libc-internal.h (libc_max_align_t): Remove typedef.
+	* include/scratch_buffer.h: Include <stddef.h> instead of
+	<libc-internal.h>.
+	(struct scratch_buffer): Use max_align_t instead of
+	libc_max_align_t.
+
 2015-10-29  Florian Weimer  <fweimer@redhat.com>
 
 	* elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array