diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/rs6000/host-darwin.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f7b059a..eb5ac28 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/rs6000/host-darwin.c b/gcc/config/rs6000/host-darwin.c index 874d691..5caf50d 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) |
