1. 01 Jan, 2019 1 commit
  2. 03 Jan, 2018 1 commit
  3. 01 Jan, 2017 1 commit
  4. 04 Jan, 2016 1 commit
  5. 05 Jan, 2015 1 commit
  6. 05 Sep, 2014 1 commit
    • Use -fbuilding-libgcc for more target macros used in libgcc. · 53d68b9f
      gcc/c-family:
      	* c-cppbuiltin.c (c_cpp_builtins): Also define
      	__LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__,
      	__LIBGCC_EH_FRAME_SECTION_NAME__, __LIBGCC_JCR_SECTION_NAME__,
      	__LIBGCC_CTORS_SECTION_ASM_OP__, __LIBGCC_DTORS_SECTION_ASM_OP__,
      	__LIBGCC_TEXT_SECTION_ASM_OP__, __LIBGCC_INIT_SECTION_ASM_OP__,
      	__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__,
      	__LIBGCC_STACK_GROWS_DOWNWARD__,
      	__LIBGCC_DONT_USE_BUILTIN_SETJMP__,
      	__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__,
      	__LIBGCC_DWARF_FRAME_REGISTERS__,
      	__LIBGCC_EH_RETURN_STACKADJ_RTX__, __LIBGCC_JMP_BUF_SIZE__,
      	__LIBGCC_STACK_POINTER_REGNUM__ and
      	__LIBGCC_VTABLE_USES_DESCRIPTORS__ for -fbuilding-libgcc.
      	(builtin_define_with_value): Handle backslash-escaping in string
      	macro values.
      
      libgcc:
      	* Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
      	* config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
      	uses to __LIBGCC_STACK_POINTER_REGNUM__.
      	(DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
      	__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
      	* config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
      	Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
      	* config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
      	uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
      	(DWARF_FRAME_REGISTERS): Change all uses to
      	__LIBGCC_DWARF_FRAME_REGISTERS__.
      	(EH_RETURN_STACKADJ_RTX): Change all uses to
      	__LIBGCC_EH_RETURN_STACKADJ_RTX__.
      	* config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
      	__LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
      	* config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
      	use to __LIBGCC_EH_FRAME_SECTION_NAME__.
      	(JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
      	* config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
      	to __LIBGCC_EH_FRAME_SECTION_NAME__.
      	(JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
      	* config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
      	__LIBGCC_STACK_POINTER_REGNUM__.
      	(DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
      	__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
      	* config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
      	to __LIBGCC_STACK_POINTER_REGNUM__.
      	* config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
      	all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
      	* config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
      	all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
      	* config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
      	Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
      	(STACK_POINTER_REGNUM): Change all uses to
      	__LIBGCC_STACK_POINTER_REGNUM__.
      	* config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
      	use to __LIBGCC_STACK_POINTER_REGNUM__.
      	* config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
      	uses to __LIBGCC_STACK_POINTER_REGNUM__.
      	* config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
      	to __LIBGCC_DWARF_FRAME_REGISTERS__.
      	* config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
      	to __LIBGCC_DWARF_FRAME_REGISTERS__.
      	* config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
      	to __LIBGCC_STACK_POINTER_REGNUM__.
      	* config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
      	Remove conditional definition.
      	* crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
      	__LIBGCC_TEXT_SECTION_ASM_OP__.
      	(EH_FRAME_SECTION_NAME): Change all uses to
      	__LIBGCC_EH_FRAME_SECTION_NAME__.
      	(EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
      	__LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
      	(CTORS_SECTION_ASM_OP): Change all uses to
      	__LIBGCC_CTORS_SECTION_ASM_OP__.
      	(DTORS_SECTION_ASM_OP): Change all uses to
      	__LIBGCC_DTORS_SECTION_ASM_OP__.
      	(JCR_SECTION_NAME): Change all uses to
      	__LIBGCC_JCR_SECTION_NAME__.
      	(INIT_SECTION_ASM_OP): Change all uses to
      	__LIBGCC_INIT_SECTION_ASM_OP__.
      	(INIT_ARRAY_SECTION_ASM_OP): Change all uses to
      	__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
      	* generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
      	__LIBGCC_STACK_GROWS_DOWNWARD__.
      	* libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
      	__LIBGCC_INIT_SECTION_ASM_OP__.
      	(INIT_ARRAY_SECTION_ASM_OP): Change all uses to
      	__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
      	(EH_FRAME_SECTION_NAME): Change all uses to
      	__LIBGCC_EH_FRAME_SECTION_NAME__.
      	* libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
      	definitions.  Change all uses to
      	__LIBGCC_VTABLE_USES_DESCRIPTORS__.
      	* unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
      	__LIBGCC_STACK_GROWS_DOWNWARD__.
      	(DWARF_FRAME_REGISTERS): Change all uses to
      	__LIBGCC_DWARF_FRAME_REGISTERS__.
      	(EH_RETURN_STACKADJ_RTX): Change all uses to
      	__LIBGCC_EH_RETURN_STACKADJ_RTX__.
      	* unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
      	definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
      	* unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
      	__LIBGCC_DONT_USE_BUILTIN_SETJMP__.
      	(JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
      
      From-SVN: r214954
      Joseph Myers committed
  7. 02 Jan, 2014 1 commit
  8. 04 Feb, 2013 1 commit
  9. 05 Aug, 2011 1 commit
    • Makefile.in (UNWIND_H): Remove. · 201cdb74
      	gcc:
      	* Makefile.in (UNWIND_H): Remove.
      	(LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Move to
      	../libgcc/Makefile.in.
      	(LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): Likewise.
      	(LIBUNWINDDEP): Remove.
      	(libgcc-support): Remove LIB2ADDEH, $(srcdir)/emutls.c dependencies.
      	(libgcc.mvars): Remove LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED,
      	LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL.
      	(stmp-int-hdrs): Remove $(UNWIND_H) dependency.
      	Don't copy $(UNWIND_H).
      	* config.gcc (ia64*-*-linux*): Remove with_system_libunwind
      	handling.
      	* configure.ac (GCC_CHECK_UNWIND_GETIPINFO): Remove.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
      	unwind-dw2-fde-compat.c, unwind-dw2-fde-glibc.c, unwind-dw2-fde.c,
      	unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
      	unwind-pe.h, unwind-sjlj.c, unwind.inc: Move to ../libgcc.
      	* unwind-dw2-fde-darwin.c: Move to ../libgcc/config.
      	* config/arm/libunwind.S, config/arm/pr-support.c,
      	config/arm/unwind-arm.c, config/arm/unwind-arm.h: Move to
      	../libgcc/config/arm.
      	* config/arm/t-bpabi (UNWIND_H, LIB2ADDEH): Remove.
      	* config/arm/t-symbian (UNWIND_H, LIB2ADDEH): Remove.
      	* config/frv/t-frv ($(T)frvbegin$(objext)): Use
      	$(srcdir)/../libgcc to refer to unwind-dw2-fde.h.
      	($(T)frvend$(objext)): Likewise.
      	* config/ia64/t-glibc (LIB2ADDEH): Remove.
      	* config/ia64/t-glibc-libunwind: Move to ../libgcc/config/ia64.
      	* config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
      	config/ia64/unwind-ia64.c, config/ia64/unwind-ia64.h: Move to
      	../libgcc/config/ia64.
      	* config/ia64/t-hpux (LIB2ADDEH): Remove.
      	* config/ia64/t-ia64 (LIB2ADDEH): Remove.
      	* config/ia64/t-vms (LIB2ADDEH): Remove.
      	* config/ia64/vms.h (UNW_IVMS_MODE,
      	MD_UNW_COMPATIBLE_PERSONALITY_P): Remove.
      	* config/picochip/t-picochip (LIB2ADDEH): Remove.
      	* config/rs6000/aix.h (R_LR, MD_FROB_UPDATE_CONTEXT): Remove.
      	* config/rs6000/t-darwin (LIB2ADDEH): Remove.
      	* config/rs6000/darwin-fallback.c: Move to ../libgcc/config/rs6000.
      	* config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): Use
      	$(srcdir)/../libgcc to refer to unwinder sources.
      	* config/spu/t-spu-elf (LIB2ADDEH): Remove.
      	* config/t-darwin (LIB2ADDEH): Remove.
      	* config/t-freebsd (LIB2ADDEH): Remove.
      	* config/t-libunwind (LIB2ADDEH, LIB2ADDEHSTATIC): Remove.
      	* config/t-libunwind-elf: Move to ../libgcc/config.
      	* config/t-linux (LIB2ADDEH): Remove.
      	* config/t-sol2 (LIB2ADDEH): Remove.
      	* config/xtensa/t-xtensa (LIB2ADDEH): Remove.
      	* system.h (MD_FROB_UPDATE_CONTEXT): Poison.
      
      	gcc/po:
      	* EXCLUDES (unwind-c.c, unwind-dw2-fde-darwin.c)
      	(unwind-dw2-fde-glibc.c, unwind-dw2-fde.c, unwind-dw2-fde.h)
      	(unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h): Remove.
      
      	libgcc:
      	* Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
      	variables.
      	(LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
      	(LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
      	(install-unwind_h): New target.
      	(all): Depend on it.
      	* config.host (unwind_header): New variable.
      	(*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
      	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
      	*-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
      	(*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
      	(arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
      	Set unwind_header.
      	(arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
      	Set unwind_header.
      	(arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
      	arm*-*-eabi*.
      	Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
      	Set unwind_header.
      	(ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
      	(ia64*-*-freebsd*): Likewise.
      	(ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
      	tmake_file.
      	Add t-libunwind-elf, ia64/t-glibc-libunwind unless
      	$with_system_libunwind.
      	(ia64*-*-hpux*): Set tmake_file.
      	(ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
      	(picochip-*-*): Set tmake_file.
      	(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
      	md_unwind_header.
      	(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
      	(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
      	(s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
      	(xtensa*-*-elf*): Set tmake_file.
      	(xtensa*-*-linux*): Likewise.
      	* configure.ac: Include ../config/unwind_ipinfo.m4.
      	Call GCC_CHECK_UNWIND_GETIPINFO.
      	Link unwind.h to $unwind_header.
      	* configure: Regenerate.
      	* emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
      	unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
      	unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
      	unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
      	* config/unwind-dw2-fde-darwin.c: New file.
      	* config/arm/libunwind.S, config/arm/pr-support.c,
      	config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
      	config/arm/unwind-arm.h,: New files.
      	* config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
      	config/ia64/t-eh-ia64, config/ia64/t-glibc,
      	config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
      	config/ia64/t-vms, config/ia64/unwind-ia64.c,
      	config/ia64/unwind-ia64.h: New files.
      	* config/picochip/t-picochip: New file.
      	* config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
      	files.
      	* config/rs6000/t-darwin (LIB2ADDEH): Set.
      	* config/s390/t-tpf (LIB2ADDEH): Remove.
      	* config/t-darwin (LIB2ADDEH): Set.
      	* config/t-eh-dw2-dip: New file.
      	* config/t-libunwind, config/t-libunwind-elf: New files.
      	* config/t-sol2 (LIB2ADDEH): Remove.
      	* config/xtensa/t-xtensa: New file.
      
      	gcc/ada:
      	* gcc-interface/Makefile.in (raise-gcc.o): Search
      	$(srcdir)/../libgcc.
      
      	libgo:
      	* Makefile.am (AM_CFLAGS): Search $(srcdir)/../libgcc.
      	* Makefile.in: Regenerate.
      
      	libjava:
      	* configure.ac (GCC_UNWIND_INCLUDE): Rename to
      	LIBGCC_UNWIND_INCLUDE.
      	Point to $(multi_basedir)/./libjava/../libgcc.
      	* configure: Regenerate.
      	* Makefile.am (GCC_UNWIND_INCLUDE): Reflect this.
      	* Makefile.in: Regenerate.
      
      	libobjc:
      	* Makefile.in (INCLUDES): Search
      	$(srcdir)/$(MULTISRCTOP)../libgcc.
      
      	libstdc++-v3:
      	* acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Point TOPLEVEL_INCLUDES
      	to $(toplevel_srcdir)/libgcc.
      	* configure: Regenerate.
      
      From-SVN: r177447
      Rainer Orth committed
  10. 09 Apr, 2009 1 commit
  11. 18 Jan, 2008 1 commit
    • unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc field and add signal_ra. · 6c633d45
      	* config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc
      	field and add signal_ra.
      	* config/xtensa/unwind-dw2-xtensa.c (uw_frame_state_for): Remove
      	assignments to frame state pc.  Move end of stack check after
      	MD_FALLBACK_FRAME_STATE_FOR.
      	(uw_update_context_1): Use frame state signal_regs if set, instead
      	of checking signal_frame flag.
      	(uw_update_context): Use frame state signal_ra if set.
      	* config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define.
      	* config/xtensa/linux-unwind.h: New file.
      
      From-SVN: r131622
      Bob Wilson committed
  12. 13 Nov, 2007 1 commit
    • unwind-dw2-xtensa.c: New. · 6eb065e6
      	* config/xtensa/unwind-dw2-xtensa.c: New.
      	* config/xtensa/unwind-dw2-xtensa.h: New.
      	* config/xtensa/xtensa.h (MUST_USE_SJLJ_EXCEPTIONS): Remove.
      	(DWARF2_UNWIND_INFO): Remove.
      	(DWARF_FRAME_REGISTERS): Define.
      	(EH_RETURN_DATA_REGNO): Define.
      	* config/xtensa/xtensa.md (UNSPECV_EH_RETURN): Define.
      	(eh_return): New.
      	* config/xtensa/t-xtensa (LIB2ADDEH): Define.
      
      Co-Authored-By: Bob Wilson <bob.wilson@acm.org>
      
      From-SVN: r130160
      Sterling Augustine committed
  13. 26 Oct, 2006 1 commit
    • unwind-dw2.h: Move cfa-related variables into struct frame_state_reg_info to ensure that the... · 6673f90b
      	* gcc/unwind-dw2.h: Move cfa-related variables into
      	struct frame_state_reg_info to ensure that the CFA is properly
      	handled when executing DW_CFA_{remember,restore}_state.
      	* gcc/unwind-dw2.c, gcc/config/alpha/linux-unwind.h,
      	gcc/config/alpha/vms-unwind.h, gcc/config/s390/tpf-unwind.h
      	gcc/config/s390/linux-unwind.h, gcc/config/sparc/linux-unwind.h
      	gcc/config/i386/linux-unwind.h, gcc/config/sh/linux-unwind.h
      	gcc/config/rs6000/linux-unwind.h,
      	gcc/config/rs6000/darwin-fallback.c, gcc/config/pa/linux-unwind.h,
      	gcc/config/pa/hpux-unwind.h, gcc/config/mips/linux-unwind.h:
      	Modify to use new cfa_* fields.
      
      From-SVN: r118068
      Nathan Froyd committed
  14. 04 Mar, 2006 1 commit
    • unwind-dw2.h (_Unwind_FrameState): Add REG_SAVED_VAL_OFFSET and REG_SAVED_VAL_EXP constants. · 4469af7a
      	* unwind-dw2.h (_Unwind_FrameState): Add REG_SAVED_VAL_OFFSET
      	and REG_SAVED_VAL_EXP constants.
      	* unwind-dw2.c (struct _Unwind_Context): Add by_value array.
      	(_Unwind_GetGR, _Unwind_SetGR, _Unwind_GetGRPtr, _Unwind_SetGRPtr):
      	Handle regs stored by value.
      	(_Unwind_SetGRValue, _Unwind_GRByValue): New functions.
      	(execute_cfa_program): Handle DW_CFA_val_offset,
      	DW_CFA_val_offset_sf and DW_CFA_val_expression.
      	(uw_update_context_1): Handle REG_SAVED_REG with regs stored by
      	value specially.  Handle REG_SAVED_VAL_OFFSET and REG_SAVED_VAL_EXP.
      	(uw_install_context_1): Handle target regs stored by value.
      
      	* gcc.target/i386/cleanup-1.c: New test.
      	* gcc.target/i386/cleanup-2.c: New test.
      
      From-SVN: r111705
      Jakub Jelinek committed
  15. 27 Feb, 2006 1 commit
    • re PR other/26208 (Serious problem with unwinding through signal frames) · 754e45a8
      	PR other/26208
      	* 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.
      
      From-SVN: r111488
      Jakub Jelinek committed
  16. 25 Jun, 2005 1 commit
  17. 01 Jul, 2004 1 commit
    • Index: gcc/ChangeLog · f8a57be8
      2004-06-28  Geoffrey Keating  <geoffk@apple.com>
      	    Andreas Tobler  <a.tobler@schweiz.ch>
      
      	PR 15813
      	* dwarf2out.c (reg_save): Output DW_CFA_same_value when a
      	register is saved in itself.
      	(initial_return_save): If the return address is a register,
      	it's already there, don't bother to mention it in the CFI.
      	(struct queued_reg_save): Add field saved_reg.
      	(struct reg_saved_in_data): New.
      	(regs_saved_in_regs): New.
      	(num_regs_saved_in_regs): New.
      	(queue_reg_save): Add extra parameter to specify register saved
      	in register.  Remove duplicate entries from queue.  Add comment
      	for function.
      	(flush_queued_reg_saves): Handle registers saved in registers.
      	Update regs_saved_in_regs.  Add comment for function.
      	(clobbers_queued_reg_save): Add comment for function.  Allow
      	for regs_saved_in_regs.
      	(reg_saved_in): New.
      	(dwarf2out_frame_debug_expr): Handle saving registers in other
      	registers.
      	(dwarf2out_frame_debug): Reset regs_saved_in_regs.
      	* unwind-dw2.c (execute_cfa_program): Correct handling of
      	DW_CFA_same_value.  Add FIXME comment about incorrect implementation
      	of DW_CFA_restore_extended.
      	* config/rs6000/rs6000.c (rs6000_emit_prologue): Let
      	dwarf2out_frame_debug_expr see instructions that save registers
      	in other registers or save those other registers in memory.
      
      	* unwind-dw2.c (DWARF_FRAME_REGISTERS): Move to unwind-dw2.h.
      	(_Unwind_FrameState): Likewise.
      	* unwind-dw2.h: New.
      	* Makefile.in (LIB2ADDEHDEP): Add unwind-dw2.h.
      	* config/rs6000/darwin-fallback.c: New file.
      	* config/rs6000/darwin.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
      	* config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Add darwin-fallback.o.
      
      Index: gcc/testsuite/ChangeLog
      2004-06-26  Geoffrey Keating  <geoffk@apple.com>
      	    Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* gcc.dg/cleanup-10.c: Run on all Linux platforms and powerpc-darwin.
      	Use SA_RESETHAND rather than SA_ONESHOT.  Trap SIGBUS as well
      	as SIGSEGV.
      	* gcc.dg/cleanup-11.c: Likewise.
      	* gcc.dg/cleanup-8.c: Likewise.
      	* gcc.dg/cleanup-9.c: Likewise.
      	* gcc.dg/cleanup-5.c: Run on all platforms.
      
      Index: libjava/ChangeLog
      2004-06-26  Geoffrey Keating  <geoffk@apple.com>
      	    Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* configure.host (powerpc-*-darwin*): New case, define
      	can_unwind_signal.
      	* configure.in (*-*-darwin*): New case, point to darwin-signal.h.
      	* configure: Regenerate.
      	* include/darwin-signal.h: New.
      
      Co-Authored-By: Andreas Tobler <a.tobler@schweiz.ch>
      
      From-SVN: r83953
      Geoffrey Keating committed