summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-03-26 09:16:21 -0700
committerRichard Henderson <rth@twiddle.net>2010-03-26 09:16:21 -0700
commitb1c1949e60e7c61bcd9f40f712d07494596491b2 (patch)
tree84648ee4af35a882c7885d9cc6634d3c1639458b /ChangeLog
parent07f9ca32a96891c90cb80aee780c8cee2c9504e4 (diff)
downloadglibc-b1c1949e60e7c61bcd9f40f712d07494596491b2.tar.gz
glibc-b1c1949e60e7c61bcd9f40f712d07494596491b2.tar.xz
glibc-b1c1949e60e7c61bcd9f40f712d07494596491b2.zip
Don't take the address of a void object.
GCC 4.5 warns about "extern void _end; &end;".
Use char[] instead, as that also doesn't fall foul
of a target's .sdata optimizations.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8117882671..72cbef6681 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-03-26  Richard Henderson  <rth@redhat.com>
+
+	* csu/gmon-start.c (ENTRY_POINT, etext): Declare as char[], not void.
+	* elf/dl-sysdep.c (_end): Likewise.
+	* sysdeps/unix/sysv/dl-sysdep.c (frob_brk): Likewise with locally
+	declared _end, and associated variables.
+
 2010-03-26  Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't assume success always