From a693fbb9f7f6ef094ce36b344027c1ce5d8dab75 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Tue, 11 Feb 2003 20:39:07 +0000 Subject: [PATCH] * config/rs6000/host-darwin.c: Fix comment. From-SVN: r62715 --- gcc/ChangeLog | 4 ++++ gcc/config/rs6000/host-darwin.c | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f7b059acc06..eb5ac2837ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-02-11 Geoffrey Keating + + * config/rs6000/host-darwin.c: Fix comment. + 2003-02-11 David Edelsohn * config/rs6000/rs6000.md (divmodsi4): Use register_operand diff --git a/gcc/config/rs6000/host-darwin.c b/gcc/config/rs6000/host-darwin.c index 874d691cf3c..5caf50d66ef 100644 --- a/gcc/config/rs6000/host-darwin.c +++ b/gcc/config/rs6000/host-darwin.c @@ -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) -- 2.30.2