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]

[Committed] Fix PR libobjc/30731 warnings due to read_uleb128/read_sleb128 changes


Hi,
  After:
2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>

        * unwind-dw2-fde.c (get_cie_encoding): Replaced _Unwind_Word with
        _uleb128_t and _Unwind_SWord with _sleb128_t.
        * unwind-dw2.c (extract_cie_info, execute_stack_op,
        execute_cfa_program, uw_frame_state_for, uw_update_context_1):
        Likewise.
        * unwind-c.c (parse_lsda_header, PERSONALITY_FUNCTION): Likewise.
        * unwind-pe.h (read_uleb128, read_sleb128,
        read_encoded_value_with_base): Likewise.
        * unwind-generic.h: Define _sleb128_t and _uleb128_t types.

buiding libobjc generates warnings due to _Unwind_Word not being
compatiable with  _uleb128_t/_sleb128_t.  This patch fixes the
warnings by using _uleb128_t/_sleb128_t.

Committed after a bootstrap/test on i386-apple-darwin8.10 with no regressions.

Thanks,
Andrew Pinski

ChangeLog:
* exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
of _Unwind_Word for variables which are used in
read_uleb128/read_sleb128.
(PERSONALITY_FUNCTION): Likewise.

Attachment: fixpr30731.diff.txt
Description: Text document


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