aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>1997-06-18 01:57:18 +0000
committerMike Stump <mrs@gcc.gnu.org>1997-06-18 01:57:18 +0000
commit59ba1a3a6014045a93643db0ab65c10d3692947d (patch)
tree122356228bc075f5c8ae9edecffd7964238403b3 /gcc
parentb9550223b3152eb82ade6cea6abc1a64ea23d369 (diff)
downloadgcc-59ba1a3a6014045a93643db0ab65c10d3692947d.zip
gcc-59ba1a3a6014045a93643db0ab65c10d3692947d.tar.gz
gcc-59ba1a3a6014045a93643db0ab65c10d3692947d.tar.bz2
libgcc2.c (__eh_pcnthrow): Add support -fno-sjlj-exceptions -fPIC exception handling on the SPARC.
* libgcc2.c (__eh_pcnthrow): Add support -fno-sjlj-exceptions -fPIC exception handling on the SPARC. * sparc.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise. * libgcc2.c (__eh_ffetmnpc): Remove. From-SVN: r14252
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/sparc/sparc.h2
-rw-r--r--gcc/libgcc2.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index f0efe62..8cce6d3 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -3106,6 +3106,8 @@ do { \
/* The number of Pmode words for the setjmp buffer. */
#define JMP_BUF_SIZE 12
+#define DONT_ACCESS_GBLS_AFTER_EPILOGUE (flag_pic)
+
/* Declare functions defined in sparc.c and used in templates. */
extern char *singlemove_string ();
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index c32a7e0..2919511 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -3438,10 +3438,10 @@ void *__eh_pc;
/* See expand_builtin_throw for details. */
-void **__eh_ffetmnpc () {
+void **__eh_pcnthrow () {
static void *buf[2] = {
- &__find_first_exception_table_match,
- &__eh_pc
+ &__eh_pc,
+ &__throw
};
return buf;
}