aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2011-08-08 13:26:06 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2011-08-08 06:26:06 -0700
commitcca2207a2dedd90d904e15094e02df0529daacd0 (patch)
treebede109f33fbea8f1ab9d058c05444a8addae8ba /gcc/system.h
parentb6ee5bef6e5105339c907c68e1885971a8c0c500 (diff)
downloadgcc-cca2207a2dedd90d904e15094e02df0529daacd0.zip
gcc-cca2207a2dedd90d904e15094e02df0529daacd0.tar.gz
gcc-cca2207a2dedd90d904e15094e02df0529daacd0.tar.bz2
Fix Dwarf unwind library for UNITS_PER_WORD > sizeof (void *)
gcc/ 2011-08-08 H.J. Lu <hongjiu.lu@intel.com> PR other/48007 * config.gcc (libgcc_tm_file): Add i386/value-unwind.h for Linux/x86. * system.h (REG_VALUE_IN_UNWIND_CONTEXT): Poisoned. (ASSUME_EXTENDED_UNWIND_CONTEXT): Likewise. * unwind-dw2.c (ASSUME_EXTENDED_UNWIND_CONTEXT): New. (_Unwind_Context_Reg_Val): Likewise. (_Unwind_Get_Unwind_Word): Likewise. (_Unwind_Get_Unwind_Context_Reg_Val): Likewise. (_Unwind_Context): Use _Unwind_Context_Reg_Val on the reg field. (_Unwind_IsExtendedContext): Check ASSUME_EXTENDED_UNWIND_CONTEXT for EXTENDED_CONTEXT_BIT. (__frame_state_for): Likewise. (uw_init_context_1): Likewise. (_Unwind_GetGR): Updated. (_Unwind_SetGR): Likewise. (_Unwind_GetGRPtr): Likewise. (_Unwind_SetGRPtr): Likewise. (_Unwind_SetGRValue): Likewise. (_Unwind_GRByValue): Likewise. (uw_install_context_1): Likewise. * doc/tm.texi.in: Document REG_VALUE_IN_UNWIND_CONTEXT and ASSUME_EXTENDED_UNWIND_CONTEXT. * doc/tm.texi: Regenerated. libgcc/ 2011-08-08 H.J. Lu <hongjiu.lu@intel.com> PR other/48007 * config/i386/value-unwind.h: New. From-SVN: r177563
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h
index a7db6f5..9698c61 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -802,7 +802,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
/* Target macros only used for code built for the target, that have
moved to libgcc-tm.h or have never been present elsewhere. */
#pragma GCC poison DECLARE_LIBRARY_RENAMES LIBGCC2_GNU_PREFIX \
- MD_UNWIND_SUPPORT MD_FROB_UPDATE_CONTEXT ENABLE_EXECUTE_STACK
+ MD_UNWIND_SUPPORT MD_FROB_UPDATE_CONTEXT ENABLE_EXECUTE_STACK \
+ REG_VALUE_IN_UNWIND_CONTEXT ASSUME_EXTENDED_UNWIND_CONTEXT
/* Other obsolete target macros, or macros that used to be in target
headers and were not used, and may be obsolete or may never have