libgcc2.c (__eh_pcnthrow): Add support -fno-sjlj-exceptions -fPIC exception handling...
authorMike Stump <mrs@gcc.gnu.org>
Wed, 18 Jun 1997 01:57:18 +0000 (01:57 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Wed, 18 Jun 1997 01:57:18 +0000 (01:57 +0000)
* 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

gcc/config/sparc/sparc.h
gcc/libgcc2.c

index f0efe62d09a3cda608ec68606ce1cdfa3643aa26..8cce6d3e8802a6e47103316a04af83c6f69723d9 100644 (file)
@@ -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 ();
index c32a7e03fa26d1ea45a784e10e0cb695555598a4..29195119e733be0ad9118b865f480fdbbbef77e3 100644 (file)
@@ -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;
 }