EH patch for stormy16

Geoffrey Keating geoffk@thief.cygnus.com
Sat Sep 1 11:31:00 GMT 2001


This forces stormy16 to use sjlj exceptions, because the dwarf2 stuff
expects that program counter values are the same size as 'void *',
which is not true for this ABI.

Tested on stormy16-elf.

-- 
Geoff Keating <geoffk@redhat.com>

===File ~/patches/gcc-stormysjljeh.patch====================
2001-09-01  Geoffrey Keating  <geoffk@redhat.com>

	* config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.

Index: config/stormy16/stormy16.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/stormy16/stormy16.h,v
retrieving revision 1.2
diff -p -u -p -r1.2 stormy16.h
--- stormy16.h	2001/08/31 07:57:54	1.2
+++ stormy16.h	2001/09/01 18:29:25
@@ -4534,7 +4534,7 @@ do {									\
 
    If this macro is defined to anything, the DWARF 2 unwinder will be used
    instead of inline unwinders and __unwind_function in the non-setjmp case.  */
-/* #define DWARF2_UNWIND_INFO */
+#define DWARF2_UNWIND_INFO 0
 
 
 /* Assembler Commands for Alignment.  */
============================================================



More information about the Gcc-patches mailing list