mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-12 06:24:29 +08:00
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
This commit is contained in:
parent
b9550223b3
commit
59ba1a3a60
@ -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 ();
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user