* config/rs6000/host-darwin.c: Fix comment.
authorGeoffrey Keating <geoffk@apple.com>
Tue, 11 Feb 2003 20:39:07 +0000 (20:39 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Tue, 11 Feb 2003 20:39:07 +0000 (20:39 +0000)
From-SVN: r62715

gcc/ChangeLog
gcc/config/rs6000/host-darwin.c

index f7b059acc066d77cb792e24c495a35dd84bd35e8..eb5ac2837abdb7dbed83aed2d10f3eb1bdec4a2a 100644 (file)
@@ -1,3 +1,7 @@
+2003-02-11  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/rs6000/host-darwin.c: Fix comment.
+
 2003-02-11  David Edelsohn  <edelsohn@gnu.org>
 
        * config/rs6000/rs6000.md (divmodsi4): Use register_operand
index 874d691cf3c9796a337189e834f2461c523df6cd..5caf50d66ef7612d5efa15ef5321038a3dda5bde 100644 (file)
@@ -38,11 +38,11 @@ extern int sigaltstack(const stack_t *, stack_t *);
 #undef HOST_HOOKS_EXTRA_SIGNALS
 #define HOST_HOOKS_EXTRA_SIGNALS darwin_rs6000_extra_signals
 
-/* On Darwin/powerpc, a stack fault can be detected as a SIGSEGV that
-   faulted on an instruction that's either
-   or
-   stwux %r1,xxx,%r1
-*/
+/* On Darwin/powerpc, hitting the stack limit turns into a SIGSEGV.
+   This code detects the difference between hitting the stack limit and
+   a true wild pointer dereference by looking at the instruction that
+   faulted; only a few kinds of instruction are used to access below
+   the previous bottom of the stack.  */
 
 static void
 segv_crash_handler (sig)