public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/48007] Unwind library doesn't work with UNITS_PER_WORD > sizeof (void *)
Date: Tue, 07 Jun 2011 17:33:00 -0000	[thread overview]
Message-ID: <bug-48007-4-aM1DPFgnmL@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-48007-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48007

--- Comment #4 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-06-07 17:33:08 UTC ---
Author: hjl
Date: Tue Jun  7 17:33:05 2011
New Revision: 174760

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174760
Log:
Support UNIQUE_UNWIND_CONTEXT.

2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>

    PR other/48007
    * unwind-dw2.c (UNIQUE_UNWIND_CONTEXT): New.
    (_Unwind_Context): If UNIQUE_UNWIND_CONTEXT is defined, add
    dwarf_reg_size_table and value, remove version and by_value.
    (EXTENDED_CONTEXT_BIT): Don't define if UNIQUE_UNWIND_CONTEXT
    is defined.
    (_Unwind_IsExtendedContext): Likewise.
    (_Unwind_GetGR): Support UNIQUE_UNWIND_CONTEXT.
    (_Unwind_SetGR): Likewise.
    (_Unwind_GetGRPtr): Likewise.
    (_Unwind_SetGRPtr): Likewise.
    (_Unwind_SetGRValue): Likewise.
    (_Unwind_GRByValue): Likewise.
    (__frame_state_for): Initialize dwarf_reg_size_table field if
    UNIQUE_UNWIND_CONTEXT is defined.
    (uw_install_context_1): Likewise.  Support UNIQUE_UNWIND_CONTEXT.

2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>

    PR other/48007
    * unwind-dw2.c (_Unwind_Context): Revert saving call frame hard
    registers as _Unwind_Word.
    (_Unwind_GetGR): Don't get GR value as _Unwind_Word.
    (_Unwind_SetGR): Don't set GR value as _Unwind_Word.
    (_Unwind_SetGRValue): Likewise.
    (_Unwind_GetGRPtr): Don't cast return to "void *".
    (_Unwind_SetGRPtr): Don't cast pointer to _Unwind_Word.
    (uw_install_context_1): Don't cast pointer to "void *".

Added:
    branches/x32/gcc/ChangeLog.unwind
Modified:
    branches/x32/gcc/unwind-dw2.c


  parent reply	other threads:[~2011-06-07 17:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 15:24 [Bug other/48007] New: " hjl.tools at gmail dot com
2011-03-06 17:20 ` [Bug other/48007] " hjl at gcc dot gnu.org
2011-03-06 21:13 ` pinskia at gcc dot gnu.org
2011-03-06 21:21 ` hjl.tools at gmail dot com
2011-06-07 17:33 ` hjl at gcc dot gnu.org [this message]
2011-08-08 13:27 ` [Bug other/48007] [x32] " hjl at gcc dot gnu.org
2011-08-08 13:31 ` hjl.tools at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-48007-4-aM1DPFgnmL@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).