This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[csl-arm] Unwind tables.


The patch below corrects the logic for generating arm eabi unwinding tables.  
These should be output when exceptions *or* unwind tables are requested, 
matching the logic for dwarf2 .eh_frame tables.

Tested with cross to arm-none-eabi.
Applied to csl-arm-branch.

Paul

2005-01-27  Paul Brook  <paul@codesourcery.com>

 * config/arm/arm.h (ARM_EABI_UNWIND_TABLES): Fix logic.
Index: config/arm/arm.h
===================================================================
RCS file: /var/cvsroot/gcc-cvs/gcc/gcc/config/arm/arm.h,v
retrieving revision 1.210.2.51
diff -u -p -r1.210.2.51 arm.h
--- config/arm/arm.h 26 Jan 2005 20:14:19 -0000 1.210.2.51
+++ config/arm/arm.h 27 Jan 2005 19:53:46 -0000
@@ -2182,7 +2182,7 @@ typedef struct
 
 #ifdef TARGET_UNWIND_INFO
 #define ARM_EABI_UNWIND_TABLES \
-  (!USING_SJLJ_EXCEPTIONS && flag_exceptions && flag_unwind_tables)
+  ((!USING_SJLJ_EXCEPTIONS && flag_exceptions) || flag_unwind_tables)
 #else
 #define ARM_EABI_UNWIND_TABLES 0
 #endif


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]