[RFA:] cp/except.c: Delete #if 0:d EXCEPTION_SECTION_ASM_OP default and users
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Tue Sep 19 10:50:00 GMT 2000
Rather than just update the unused EXCEPT_SECTION_ASM_OP to prepend a "\t.",
I'd like to delete it. These are *all* the EXCEPTION_SECTION_ASM_OP users
in this file. If it was there as some kind of documentation, I believe it
was in the wrong place.
Ok to commit?
2000-09-19 Hans-Peter Nilsson <hp@axis.com>
* except.c: Delete #if 0:d EXCEPTION_SECTION_ASM_OP default and
users.
Index: except.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/except.c,v
retrieving revision 1.114
diff -p -c -r1.114 except.c
*** except.c 2000/09/17 07:38:20 1.114
--- except.c 2000/09/19 17:38:51
*************** static void initialize_handler_parm PARA
*** 60,97 ****
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"
--- 60,65 ----
brgds, H-P
More information about the Gcc-patches
mailing list