diff options
author | Geoffrey Keating <geoffk@apple.com> | 2003-02-11 20:39:07 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2003-02-11 20:39:07 +0000 |
commit | a693fbb9f7f6ef094ce36b344027c1ce5d8dab75 (patch) | |
tree | 610993507596b5c539ad7ec2b4bbc90ec0ffe6e5 | |
parent | bb157ff4ee5ca91bb222bdbb60b0cbf6ba615454 (diff) | |
download | gcc-a693fbb9f7f6ef094ce36b344027c1ce5d8dab75.zip gcc-a693fbb9f7f6ef094ce36b344027c1ce5d8dab75.tar.gz gcc-a693fbb9f7f6ef094ce36b344027c1ce5d8dab75.tar.bz2 |
* config/rs6000/host-darwin.c: Fix comment.
From-SVN: r62715
-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) |