From: Hans-Peter Nilsson Date: Wed, 20 Sep 2000 10:33:05 +0000 (+0000) Subject: except.c: Delete #if 0:d EXCEPTION_SECTION_ASM_OP-default and users. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0370fea18d5dd67baf054f40772ef848aa6bfb42;p=gcc.git except.c: Delete #if 0:d EXCEPTION_SECTION_ASM_OP-default and users. * except.c: Delete #if 0:d EXCEPTION_SECTION_ASM_OP-default and users. From-SVN: r36551 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c29b29565e4..d71c9d78789 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2000-09-20 Hans-Peter Nilsson + + * except.c: Delete #if 0:d EXCEPTION_SECTION_ASM_OP-default and + users. + 2000-09-18 Mark Mitchell * decl.c (start_function): Robustify. diff --git a/gcc/cp/except.c b/gcc/cp/except.c index ee2cf44675c..a26cb1a6580 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -60,38 +60,6 @@ static void initialize_handler_parm PARAMS ((tree)); static tree expand_throw PARAMS ((tree)); static int decl_is_java_type PARAMS ((tree decl, int err)); -#if 0 -/* This is the startup, and finish stuff per exception table. */ - -/* XXX - Tad: exception handling section */ -#ifndef EXCEPT_SECTION_ASM_OP -#define EXCEPT_SECTION_ASM_OP "section\t.gcc_except_table,\"a\",@progbits" -#endif - -#ifdef EXCEPT_SECTION_ASM_OP - - /* on machines which support it, the exception table lives in another section, - but it needs a label so we can reference it... This sets up that - label! */ -asm (EXCEPT_SECTION_ASM_OP); -exception_table __EXCEPTION_TABLE__[1] = { (void*)0, (void*)0, (void*)0 }; -asm (TEXT_SECTION_ASM_OP); - -#endif /* EXCEPT_SECTION_ASM_OP */ - -#ifdef EXCEPT_SECTION_ASM_OP - - /* we need to know where the end of the exception table is... so this - is how we do it! */ - -asm (EXCEPT_SECTION_ASM_OP); -exception_table __EXCEPTION_END__[1] = { (void*)-1, (void*)-1, (void*)-1 }; -asm (TEXT_SECTION_ASM_OP); - -#endif /* EXCEPT_SECTION_ASM_OP */ - -#endif - #include "decl.h" #include "insn-flags.h" #include "obstack.h"