aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-09-20 10:33:05 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2000-09-20 10:33:05 +0000
commit0370fea18d5dd67baf054f40772ef848aa6bfb42 (patch)
tree6680d3c97bf6e88b66c084b72c07aba96067ab42 /gcc/cp
parent22b9554ccd5e0f2390d058c19d142d0e2bb747bb (diff)
downloadgcc-0370fea18d5dd67baf054f40772ef848aa6bfb42.zip
gcc-0370fea18d5dd67baf054f40772ef848aa6bfb42.tar.gz
gcc-0370fea18d5dd67baf054f40772ef848aa6bfb42.tar.bz2
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
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/except.c32
2 files changed, 5 insertions, 32 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index c29b295..d71c9d7 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-20 Hans-Peter Nilsson <hp@axis.com>
+
+ * except.c: Delete #if 0:d EXCEPTION_SECTION_ASM_OP-default and
+ users.
+
2000-09-18 Mark Mitchell <mark@codesourcery.com>
* decl.c (start_function): Robustify.
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index ee2cf44..a26cb1a 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"