This is the mail archive of the gcc-bugs@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]

[Bug other/48007] Unwind library doesn't work with UNITS_PER_WORD > sizeof (void *)


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


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