summaryrefslogtreecommitdiff
path: root/.topmsg
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2011-07-22 15:46:11 +0200
committerLudovic Courtès <ludo@gnu.org>2011-07-22 17:49:00 +0200
commit53b56b1101fc9bb4f295f23f54e7e19f8da8da16 (patch)
treefc68e27b0cca8a919abba8f7b421f8bde56bd835 /.topmsg
parentb23750a7f4117cba2c4eb57bdbbf51697cdd9262 (diff)
Fix stack switching at initialization time.
Diffstat (limited to '.topmsg')
-rw-r--r--.topmsg16
1 files changed, 11 insertions, 5 deletions
diff --git a/.topmsg b/.topmsg
index 51c5335821..d392db4c8e 100644
--- a/.topmsg
+++ b/.topmsg
@@ -1,16 +1,22 @@
From: Thomas Schwinge <thomas@schwinge.name>
-Subject: [PATCH] init-first.c
+Subject: [PATCH] Avoiding `init-first.c' miscompilations.
-init-first.c vs. GCC 4.1.
+Needed when (cross-)compiling with GCC 4.5.1.
-Needed for HEAD and glibc-2_7-branch.
+2011-07-22 Ludovic Courtès <ludo@gnu.org>
-For building with GCC 4.1 (and newer, most probably).
+ * sysdeps/mach/hurd/i386/init-first.c (init): Use
+ `__builtin_return_address' and `__builtin_frame_address' instead
+ of making assumptions about the location of the return address
+ relative to DATA.
+
+The patch below Was needed for when building with GCC 4.1, perhaps
+because of a compiler bug in handling `__builtin_return_address'.
+This may be unnecessary with newer GCCs.
Reported at <http://savannah.gnu.org/bugs/?17647>. Continued at
<http://lists.gnu.org/archive/html/bug-hurd/2006-11/msg00249.html>.
-
2007-07-22 Thomas Schwinge <tschwinge@gnu.org>
* sysdeps/mach/hurd/i386/init-first.c: Undo parts of Roland's `r 1.43'