This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/48007] Unwind library doesn't work with UNITS_PER_WORD > sizeof (void *)
- From: "hjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 6 Mar 2011 17:20:13 +0000
- Subject: [Bug other/48007] Unwind library doesn't work with UNITS_PER_WORD > sizeof (void *)
- Auto-submitted: auto-generated
- References: <bug-48007-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48007
--- Comment #1 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-03-06 17:20:01 UTC ---
Author: hjl
Date: Sun Mar 6 17:19:57 2011
New Revision: 170716
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170716
Log:
Save call frame hard registers as _Unwind_Word.
2011-03-06 H.J. Lu <hongjiu.lu@intel.com>
PR other/48007
* unwind-dw2.c (_Unwind_Context): Save call frame hard registers
as _Unwind_Word.
(_Unwind_GetGR): Get GR value as _Unwind_Word.
(_Unwind_SetGR): Set GR value as _Unwind_Word.
(_Unwind_SetGRValue): Likewise.
(_Unwind_GetGRPtr): Cast return to "void *".
(_Unwind_SetGRPtr): Cast pointer to _Unwind_Word.
(uw_install_context_1): Cast pointer to "void *".
Modified:
branches/x32/gcc/ChangeLog.x32
branches/x32/gcc/unwind-dw2.c