summaryrefslogtreecommitdiff
path: root/gcc/config/ia64/unwind-ia64.c
Commit message (Collapse)AuthorAgeFilesLines
* PR other/26208jakub2006-02-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unwind-dw2.c (struct _Unwind_Context): Add signal_frame field. (extract_cie_info): Handle S flag in augmentation string. (execute_cfa_program): If context->signal_frame, execute also fs->pc == context->ra instructions. (uw_frame_state_for): If context->signal_frame, don't subtract one from context->ra to find FDE. (uw_update_context_1): Set context->signal_frame to fs->signal_frame. (_Unwind_GetIPInfo): New function. * unwind-dw2.h (_Unwind_FrameState): Add signal_frame field. * unwind-c.c (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead of _Unwind_GetIP. * unwind-sjlj.c (_Unwind_GetIPInfo): New function. * unwind-generic.h (_Unwind_GetIPInfo): New prototype. * unwind-compat.c (_Unwind_GetIPInfo): New function. * libgcc-std.ver (_Unwind_GetIPInfo): Export @@GCC_4.2.0. * config/ia64/unwind-ia64.c (_Unwind_GetIPInfo): New function. * config/arm/unwind-arm.h (_Unwind_GetIPInfo): Define. * config/i386/linux-unwind.h (x86_fallback_frame_state, x86_64_fallback_frame_state): Set fs->signal_frame. * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise. (MD_FROB_UPDATE_CONTEXT): Define unconditionally. (frob_update_context): Likewise. Workaround missing S flag in Linux 2.6.12 - 2.6.16 kernel vDSOs. * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise. Remove the psw_addr + 1 hack. libjava/ * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead of _Unwind_GetIP. * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro. (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through to throw. * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty macro. * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty macro. libstdc++-v3/ * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead of _Unwind_GetIP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111488 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-07 Alexandre Oliva <aoliva@redhat.com>jakub2006-02-071-2/+2
| | | | | | | | | | PR debug/24444 * config/ia64/unwind-ia64.c: Revert last change. * config/ia64/ia64.h (ARG_POINTER_CFA_OFFSET): Removed. (INCOMING_FRAME_SP_OFFSET): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110688 138bc75d-0d04-0410-961f-82ee72b054a4
* Add 2006 to copyright lineaoliva2006-02-041-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110595 138bc75d-0d04-0410-961f-82ee72b054a4
* PR debug/24444aoliva2006-02-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/ia64/ia64.c: Include debug.h. (MAX_ARTIFICIAL_LABEL_BYTES): New. (ia64_label_after_insn, ia64_dwarf2out_def_steady_cfa): New. (IA64_CHANGE_CFA_IN_EPILOGUE): Define to 0. (process_epilogue, process_set, process_for_unwind_directive): Output unwind info only if requested. Add CFA info if requested. Add new arguments as needed. Adjust callers. * config/ia64/ia64.h (ARG_POINTER_CFA_OFFSET): Override incorrect default. (DWARF2_FRAME_INFO): Define to zero. * config/ia64/unwind-ia64.c: Remove code that compensated for the CFA offset error fixed above. * config/ia64/t-ia64 (ia64.o): Depend on debug.h. * dwarf2out.c (DWARF2_FRAME_INFO): Define default. (dwarf2out_do_frame): Require nonzero DWARF2_UNWIND_INFO for -funwind-tables and -fexceptions to enable frame info. (dwarf2out_frame_init): Define initial CFA even if DWARF2_UNWIND_INFO is disabled. Call initial_return_save if DWARF2_UNWIND_INFO is nonzero, not just defined. (dwarf2out_frame_finish): Output non-EH call frame info only if DWARF2_FRAME_INFO is nonzero. (convert_cfa_to_loc_list, compute_frame_pointer_to_cfa_displacement): Define even if unwind info is not supported. (gen_subprogram_die): Use the above unconditionally. Remove legacy alternate code. * toplev.c (compile_file): Compile in call to dwarf2out_frame_finish if DWARF2_DEBUGGING_INFO is defined. (lang_dependent_init): Ditto for dwarf2out_frame_init. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110594 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/unwind-ia64.c (uw_advance_context): New. Calldrow2005-11-161-0/+6
| | | | | | | | | | | uw_update_context. * unwind-dw2.c (uw_advance_context): Likewise. * unwind-sjlj.c (uw_advance_context): Likewise. Also call _Unwind_SjLj_Unregister. * unwind.inc (_Unwind_ForcedUnwind_Phase2): Call uw_advance_context. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107103 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kcook2005-06-251-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101314 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-04-18 James A. Morrison <phython@gcc.gnu.org>phython2005-04-181-2/+2
| | | | | | | | | * config/ia64/unwind-ia64.c (emergency_reg_state_free): Make an unsigned int. (emergency_labeled_state_free): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98320 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix problem with FP reg r29 being corrupted on stack unwind.wilson2005-04-131-0/+2
| | | | | | | | PR target/20670 * unwind-ia64.c (uw_intall_context): Add missing load of r27. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98061 138bc75d-0d04-0410-961f-82ee72b054a4
* * hooks.c, hooks.h, intl.c, opts.h, prefix.c, tree-gimple.c,kazu2005-03-181-1/+1
| | | | | | | | | | | | | config/alpha/ev4.md, config/alpha/ev5.md, config/alpha/ev6.md, config/alpha/freebsd.h, config/alpha/linux.h, config/alpha/netbsd.h, config/alpha/osf5.h, config/alpha/vms.h, config/arc/arc.c, config/arc/arc.h, config/h8300/h8300-protos.h, config/h8300/h8300.c, config/h8300/h8300.h, config/ia64/unwind-ia64.c, doc/cppopts.texi: Update copyright. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96686 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-17 H.J. Lu <hongjiu.lu@intel.com>hjl2005-03-171-1/+0
| | | | | | | | PR target/18380 * config/ia64/unwind-ia64.c (_Unwind_FindTableEntry): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96619 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/darwin-c.c, config/arc/arc.c, config/arc/arc.md,kazu2004-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | config/arm/README-interworking, config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h, config/arm/pe.c, config/arm/vfp.md, config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h, config/fr30/fr30.c, config/fr30/fr30.h, config/fr30/fr30.md, config/frv/frv.c, config/frv/frv.md, config/i386/winnt.c, config/ia64/unwind-ia64.c, config/iq2000/iq2000.c, config/iq2000/iq2000.h, config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.md, config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.h, config/mn10300/mn10300.md, config/pa/pa.c, config/pa/pa64-regs.h, config/pdp11/pdp11.c, config/rs6000/rs6000.c, config/sh/symbian.c, config/sparc/sparc.h: Fix comment typos. Follow spelling conventions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87706 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/tm.texi (MD_UNWIND_SUPPORT): Document.amodra2004-09-081-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (MD_FALLBACK_FRAME_STATE_FOR): Update. * unwind-dw2.c (MD_UNWIND_SUPPORT): #include if defined. (uw_frame_state_for): Adjust MD_FALLBACK_FRAME_STATE_FOR invocation. (MD_FROB_UPDATE_CONTEXT): Remove default. (uw_update_context_1): Instead #ifdef invocation. * config/ia64/unwind-ia64.c (MD_UNWIND_SUPPORT): #include if defined. (uw_frame_state_for): Adjust MD_FALLBACK_FRAME_STATE_FOR invocation. * config/alpha/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Don't undef. (MD_UNWIND_SUPPORT): Undefine this instead. * config/i386/gnu.h: Likewise. * config/alpha/linux-unwind.h: New file, macro converted to function, extracted from.. * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): ..this. (MD_UNWIND_SUPPORT): Define. * config/alpha/vms-unwind.h, config/alpha/vms.h: Likewise. * config/i386/linux-unwind.h, config/i386/linux.h, config/i386/linux64.h: Likewise. * config/ia64/linux-unwind.h, config/ia64/linux.h: Likewise. MD_HANDLE_UNWABI too. * config/mips/linux-unwind.h, config/mips/linux.h: Likewise. * config/pa/linux-unwind.h, config/pa/pa32-linux.h: Likewise. * config/rs6000/darwin-unwind.h, config/rs6000/darwin.h: Likewise. * config/s390/linux-unwind.h, config/s390/linux.h: Likewise. * config/sparc/linux-unwind.h, config/sparc/linux.h, config/sparc/linux64.h: Likewise. * config/sh/linux-unwind.h, config/sh/linux.h: Likewise, but merge SH_FALLBACK_FRAME_FLOAT_STATE into sh_fallback_frame_state. * config/rs6000/linux-unwind.h, config/rs6000/linux.h, config/rs6000/linux64.h: Likewise. Split out get_sigcontext function. Use ARG_POINTER_REGNUM for 32-bit temp reg too. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87167 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-03 H.J. Lu <hongjiu.lu@intel.com>hjl2004-09-041-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR target/14925: Makefile.in (LIB2ADDEHSTATIC): New. (LIB2ADDEHSHARED): New. (LIBUNWIND): New. (LIBUNWINDDEP): New. (SHLIBUNWIND_LINK): New. (SHLIBUNWIND_INSTALL): New. (libgcc.mk): Pass LIB2ADDEHSTATIC, LIB2ADDEHSHARED, LIBUNWIND, LIBUNWINDDEP, SHLIBUNWIND_LINK and SHLIBUNWIND_INSTALL. (clean): Remove libunwind* (stage1-start): Remove and copy stage1/libunwind*. (stage2-start): Remove and copy stage2/libunwind*. (stage3-start): Remove and copy stage3/libunwind*. (stage4-start): Remove and copy stage4/libunwind*. (stageprofile-start): Remove and copy stageprofile/libunwind*. (stagefeedback-start): Remove and copy stagefeedback/libunwind*. * config.gcc (ia64*-*-linux*): Always add t-libunwind to tmake_file. Add t-libunwind-elf and ia64/t-glibc-libunwind to tmake_file if --with-system-libunwind isn't used. * config/ia64/t-glibc-libunwind: New file. * config/t-libunwind-elf: Likewise. * unwind-compat.c: Likewise. * unwind-compat.h: Likewise. * unwind-dw2-fde-compat.c: Likewise. * config/ia64/t-glibc (LIB2ADDEH): Updated. * config/ia64/t-hpux (T_CFLAGS): Add -DUSE_LIBUNWIND_EXCEPTIONS. * config/ia64/unwind-ia64.c: Include "unwind-compat.h". Define aliases if needed. * unwind-dw2-fde-glibc.c: Likewise. * unwind-dw2.c: Likewise. * config/t-libunwind (LIB2ADDEH): Updated. (LIB2ADDEHSTATIC): New. (T_CFLAGS): Add -DUSE_LIBUNWIND_EXCEPTIONS. (TARGET_LIBGCC2_CFLAGS): Set to -DUSE_GAS_SYMVER. * configure.ac: Change --enable-libunwind-exceptions to --with-system-libunwind. Don't define USE_LIBUNWIND_EXCEPTIONS. * configure: Regenerated. * config.in: Updated. * doc/install.texi (ia64-*-linux): Require libunwind 0.98 or above and mention --with-system-libunwind. (ia64-*-hpux*): Mention --enable-libunwind-exceptions is removed in gcc 3.4.3 and later. * gcc.c (init_spec): Add -lunwind to -lgcc_s if USE_LIBUNWIND_EXCEPTIONS is defined. * mklibgcc.in: Support libunwind. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87066 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/unwind-ia64.c (uw_frame_state_for): Don't assume ajakub2004-06-101-2/+4
| | | | | | | leaf function without unwind info at RP 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82906 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/kazu2004-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * c-incpath.c, c-incpath.h, c-pch.c, c.opt, cppexp.c, et-forest.h, genattr.c, ggc-none.c, hosthooks-def.h, hosthooks.h, params.h, ra-colorize.c, web.c, config/darwin-c.c, config/alpha/freebsd.h, config/arm/pe.c, config/avr/avr-protos.h, config/avr/avr.md, config/fr30/fr30-protos.h, config/fr30/fr30.md, config/h8300/fixunssfsi.c, config/i386/darwin.h, config/i386/freebsd.h, config/i386/freebsd64.h, config/ia64/hpux.h, config/ia64/unwind-ia64.c, config/ip2k/libgcc.S, config/m32r/xm-m32r.h, config/mmix/mmix-modes.def, config/ns32k/netbsd.h, config/ns32k/ns32k.md, config/pa/pa64-hpux.h, config/pa/pa64-regs.h, config/rs6000/aix41.h, config/rs6000/aix43.h, config/rs6000/host-darwin.c, config/sparc/aout.h, config/sparc/freebsd.h, config/sparc/litecoff.h, config/vax/vax-protos.h, doc/hostconfig.texi, doc/include/gcc-common.texi: Update copyright. gcc/cp/ * cp-lang.c, ptree.c: Update copyright. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79506 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c,kazu2004-02-041-1/+1
| | | | | | | | | | | | | config/i386/i386.c, config/i386/i386.h, config/i386/i386.md, config/ia64/ia64.c, config/ia64/unwind-ia64.c, config/m32r/m32r.c, config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c, config/rs6000/rs6000.c, config/sparc/sparc.c, config/vax/vax.c: Revert the replacements of "FALLTHRU" with "Fall through" done in the previous patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77269 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/alpha.c, config/arc/arc.c,kazu2004-02-041-1/+1
| | | | | | | | | | | | | | | | | | | config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h, config/arm/arm1026ejs.md, config/arm/arm1136jfs.md, config/arm/arm926ejs.md, config/arm/vfp.md, config/avr/avr.c, config/c4x/c4x.c, config/cris/cris.c, config/frv/frv.md, config/i386/i386.c, config/i386/i386.h, config/i386/i386.md, config/ia64/ia64.c, config/ia64/unwind-ia64.c, config/iq2000/iq2000.c, config/m32r/m32r.c, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c, config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c, config/vax/vax.c: Fix comment typos. Follow spelling conventions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77267 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/unwind-ia64.c (ia64_copy_rbs): New function.jakub2003-12-191-14/+107
| | | | | | | | | | | | | | | | | | | (unw_access_gr): Only call ia64_rse_rnat_addr if addr is above regstk_top. (uw_frame_state_for): Handle locations inside bundles. (uw_init_context_1): Initialize context->rnat. Set context->regstk_top to lowest rbs address which has nat collection in context->rnat. (uw_install_context): Fix rnat restoring. Restore ar.rsc to previous state. * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR, MD_HANDLE_UNWABI): Handle unwinding through SA_ONSTACK frames. * gcc.dg/cleanup-10.c: New test. * gcc.dg/cleanup-11.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74835 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/linux.h (IA64_GATE_AREA_END): Increase by 64K.jakub2003-12-121-12/+17
| | | | | | | | | | | | | | | | | | | | (MD_FALLBACK_FRAME_STATE_FOR): Set fpsr_loc, br_loc[6] and br_loc[7]. Update comment. (MD_HANDLE_UNWABI): Define. * config/ia64/unwind-ia64.c (struct unw_state_record): Add unwabi field. (struct _Unwind_Context): Increase br_loc array size to 8 entries. (desc_abi): Set unwabi. (uw_update_reg_address): Allow br up to 7. (uw_update_context): Invoke MD_HANDLE_UNWABI if defined. (uw_install_context): Load b1..b5 from correct locations. Fix insn loading ar.fpsr. * doc/tm.texi: Document MD_HANDLE_UNWABI. * g++.dg/eh/ia64-1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74575 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/libgcc-ia64.ver: Export _Unwind_GetBSP@@GCC_3.3.2.jakub2003-09-041-0/+8
| | | | | | | | | | | | * config/ia64/unwind-ia64.c (_Unwind_GetBSP): New function. * unwind.h (_Unwind_GetBSP): New prototype. * libgcc-std.ver: Add empty GCC_3.3.2 version. * mkmap-symver.awk: For symbol versions with no exported symbols, don't put anything into version script, just change all symbol versions which inherit from it to inherit from its ancestor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71057 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/unwind-ia64.c (_Unwind_GetCFA): New.rth2003-06-181-1/+18
| | | | | | | (_Unwind_FindEnclosingFunction): Implement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68168 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/unwind-ia64.c (uw_update_reg_address): Handlejakub2003-05-161-0/+10
| | | | | | | .save XX, r0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66861 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/fde-glibc.c, config/ia64/freebsd.h,neroden2003-03-131-4/+4
| | | | | | | | | | | | | config/ia64/hpux.h, config/ia64/hpux_longdouble.h, config/ia64/ia64-c.c, config/ia64/ia64-modes.def, config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h, config/ia64/ia64.md, config/ia64/itanium1.md, config/ia64/itanium2.md, config/ia64/quadlib.c, config/ia64/unwind-ia64.c, config/ia64/unwind-ia64.h: It's GCC, not GNU CC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64313 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-04 Hans Boehm <Hans.Boehm@hp.com>hboehm2003-02-051-0/+2
| | | | | | | | * config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get config/ia64/linux.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62448 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/fde-glibc.c: Fix comment typos.kazu2003-01-261-1/+1
| | | | | | | | | | * config/ia64/hpux.h: Likewise. * config/ia64/ia64.c: Likewise. * config/ia64/ia64.h: Likewise. * config/ia64/unwind-ia64.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61857 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-26 Andrew Haley <aph@redhat.com>aph2002-11-271-1/+1
| | | | | | | | | | | | | * unwind-sjlj.c (_Unwind_FindEnclosingFunction): Rename from_Unwind_Find_Enclosing_Function. * unwind-dw2.c (_Unwind_FindEnclosingFunction): Likewise. * config/ia64/unwind-ia64.c (_Unwind_FindEnclosingFunction): Likewise. * libgcc-std.ver (_Unwind_FindEnclosingFunction): Rename from _Unwind_Find_Enclosing_Function, export @@GCC_3.3. * unwind.h (_Unwind_FindEnclosingFunction): Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59568 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-25 Andrew Haley <aph@redhat.com>aph2002-11-251-0/+6
| | | | | | | | | | * libgcc-std.ver (_Unwind_Find_Enclosing_Function): Add. * config/ia64/unwind-ia64.c (_Unwind_Find_Enclosing_Function): New. * unwind-sjlj.c (_Unwind_Find_Enclosing_Function): Likewise. * unwind-dw2.c (_Unwind_Find_Enclosing_Function): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59460 138bc75d-0d04-0410-961f-82ee72b054a4
* * ChangeLog.4: Fix typos.kazu2002-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * ChangeLog.6: Likewise. * FSFChangeLog.10: Likewise. * genattrtab.c: Fix comment typos. * haifa-sched.c: Likewise. * real.c: Likewise. * tree.h: Likewise. * config/arm/arm.c: Likewise. * config/arm/crti.asm: Likewise. * config/arm/crtn.asm: Likewise. * config/frv/frv.c: Likewise. * config/frv/frv.md: Likewise. * config/h8300/h8300.md: Likewise. * config/i386/rtemself.h: Likewise. * config/ia64/unwind-ia64.c: Likewise. * config/ip2k/ip2k.h: Likewise. * config/m88k/m88k.c: Likewise. * config/m88k/m88k.md: Likewise. * config/mips/sr71k.md: Likewise. * config/mmix/mmix.c: Likewise. * config/rs6000/rs6000.c: Likewise. * config/sh/sh.md: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57614 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/unwind-ia64.c: Include ia64intrin.h.rth2002-04-011-32/+175
| | | | | | | | | | | | | | | | | (atomic_alloc, atomic_free): New. (SIZE, MASK_FOR, PTR_IN): New. (emergency_reg_state, emergency_reg_state_free): New. (emergency_labeled_state, emergency_labeled_state_free): New. (reg_state_alloced, labeled_state_alloced): New. (alloc_reg_state, free_reg_state): New. (alloc_label_state, free_label_state, free_label_states): New. (push, pop, dup_state_stack, free_state_stack): Use them. (desc_label_state): Likewise. (uw_frame_state_for): Free label states and state stack. (uw_update_reg_address): Eliminate warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51722 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.rth2002-04-011-3/+4
| | | | | | | (desc_frgr_mem): Fix reference to f16-f31. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51679 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):hboehm2002-03-261-4/+13
| | | | | | | | | | | | Restore more of the signal context. Set no_reg_stack_frame. * config/ia64/unwind-ia64.c (unw_state_record): Add no_reg_stack_frame, comments. (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER. (uw_update_context): Adjust bsp when unwinding from leaf, but not signal frame. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51407 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/unwind-ia64.c: Handle copy_state and label_statehboehm2002-03-151-23/+72
| | | | | | | descriptors correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50789 138bc75d-0d04-0410-961f-82ee72b054a4
* * c4x.c (c4x_fp_reglist): Const-ify.ghazi2002-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * cris.c (cris_print_operand): Likewise. * i386.c (ix86_va_arg): Likewise. * ia64/unwind-ia64.c (unw_decode_table): Likewise. * m32r.c (m32r_hard_regno_mode_ok): Likewise. * m32r.h (m32r_hard_regno_mode_ok): Likewise. * mcore.c (regno_reg_class, mcore_unique_section): Likewise. * mcore.h (regno_reg_class): Likewise. * mips.c (gen_int_relational): Likewise. * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise. * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise. * pdp11.c (pdp11_assemble_integer): Likewise. * pj.h (INITIALIZE_TRAMPOLINE): Likewise. * s390.c (s390_branch_condition_mnemonic, regclass_map): Likewise. * s390.h (regclass_map): Likewise. * sh.c (shift_amounts): Likewise. * sh.md (rot_tab): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50517 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/h8300/h8300.h: Fix comment formatting.kazu2002-01-211-3/+4
| | | | | | | | | | | | | | * config/ia64/aix.h: Likewise. * config/ia64/ia64-protos.h: Likewise. * config/ia64/ia64.c: Likewise. * config/ia64/ia64.h: Likewise. * config/ia64/ia64intrin.h: Likewise. * config/ia64/linux.h: Likewise. * config/ia64/unwind-aix.c: Likewise. * config/ia64/unwind-ia64.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49031 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) orzack2002-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | except.h. Remove commands to define USING_SJLJ_EXCEPTIONS. (cppinit.o): Depend on except.h. (gencheck.h, options.h, specs.h, s-gencheck, s-options, s-specs): New rules. * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION. Don't create specs.h/options.h/gencheck.h here. Remove unnecessary variable settings from last argument of AC_OUTPUT. * config.in, configure: Regenerate. * intl.c: Hardcode package name as "gcc". * cppinit.c: Include except.h. (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when appropriate. * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c: Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if (!)USING_SJLJ_EXCEPTIONS. * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48651 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.rth2001-12-281-22/+27
| | | | | | | | | | * config/ia64/unwind-ia64.c (uw_init_context_1): Redo sp, psp, bsp setup. Set pri_unat_loc to something reasonable. (uw_install_context): Add missing cast. (unw_access_gr): Fix off-by-1 indexing error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48352 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/unwind-ia64.c (UNW_REG_B0): New.rth2001-08-191-5/+23
| | | | | | | | | (struct _Unwind_Context): Expand br_loc to hold it. (uw_frame_state_for): Handle leaf functions better. (uw_update_reg_address): Update for br_loc change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45024 138bc75d-0d04-0410-961f-82ee72b054a4
* * defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.rth2001-05-121-0/+2015
* dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1, dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New. * dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype. (dw2_output_indirect_constants): Prototype. * dwarf2out.c (dwarf2out_begin_prologue): Generate current_function_func_begin_label if we'll need it for EH. Exit early for IA64_UNWIND_INFO. * except.c: Get DW_EH_PE_* defines from dwarf2.h. (eh_data_format_name): Update for indirect references. (output_function_exception_table): Care for IA64_UNWIND_INFO. Handle ASM_PREFERRED_EH_DATA_FORMAT. * except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't define HAVE_eh_return etc. * final.c (final_start_function): Always call dwarf2out_begin_prologue. (final_end_function): Don't call output_function_exception_table. * toplev.c (compile_file): Call dw2_output_indirect_constants. (rest_of_compilation): Invoke output_function_exception_table for ia64 before assemble_end_function. * tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document. (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document. * unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New. * unwind.h: Declare them. * libgcc-std.ver: Export them. * unwind-pe.h: New file. * config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New. * config/ia64/fde-glibc.c: Use "struct unw_table_entry" instead of "fde". (find_fde_for_dso): Extract DT_PLTGOT. (_Unwind_FindTableEntry): Rename from __ia64_find_fde; return the segment and gp as well. * config/ia64/frame-ia64.c: Remove file. * config/ia64/frame-ia64.h: Remove file. * config/ia64/unwind-ia64.c: New file. * config/ia64/unwind-ia64.h: New file. * config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove. (ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove. (ASM_OUTPUT_EH_DOUBLE_INT): Remove. (ASM_PREFERRED_EH_DATA_FORMAT): New. (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New. (IA64_UNWIND_INFO): Re-enable. (HANDLER_SECTION): Remove. (EH_RETURN_DATA_REGNO): New. * config/ia64/ia64.md (exception_receiver): Remove. * config/ia64/t-glibc (LIB2ADDEH): Re-enable. * config/ia64/t-ia64 (LIB2ADDEH): Re-enable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41981 138bc75d-0d04-0410-961f-82ee72b054a4