+2011-08-23 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
+ (ASM_DIVZERO): Ditto.
+ (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
+
+2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
+
+ * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
+
+2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
+
+ PR target/50090
+ * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
+ instead of an assembly one.
+
+2011-08-12 Paolo Bonzini <bonzini@gnu.org>
+
+ PR bootstrap/50047
+ * Makefile.in (install-unwind_h): Create
+ $(gcc_objdir)/include/unwind.h atomically.
+
+2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * Makefile.in (install-unwind_h): Remove destination file first.
+
+2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * sync.c: New file.
+ * config/mips/t-mips16: New file.
+ * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
+ (mips*-*-linux*): Likewise.
+ (mips*-sde-elf*): Likewise.
+ (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
+ mipsisa64-*-elf*, mipsisa64r2-*-elf*.
+ Add mips/t-mips16 to tmake_file.
+ (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
+ (mips-*-elf*): Likewise.
+ (mips64-*-elf*): Likewise.
+ (mips64orion-*-elf*): Likewise.
+ (mips*-*-rtems*): Likewise.
+ (mipstx39-*-elf*): Likewise.
+ * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
+ ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
+ LIBGCC_SYNC_CFLAGS.
+ Use $(srcdir) to refer to sync.c.
+ Use $<.
+ ($(libgcc-sync-funcs-o)): Likewise.
+ ($(libgcc-sync-size-funcs-s-o)): Likewise.
+ ($(libgcc-sync-funcs-s-o)): Likewise.
+
+2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
+
+ * config.host (ia64*-*-linux*): Move ia64/t-glibc after
+ t-libunwind.
+
+2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR other/48007
+ * config/i386/value-unwind.h: New.
+
+2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
+ (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
+ Add to tmake_file rather than overriding it.
+
+2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config/t-softfp: Remove.
+ * soft-fp: Moved from ../gcc/config.
+ * soft-fp/README: Remove t-softfp reference.
+ * soft-fp/t-softfp: Move to config/t-softfp.
+ (softfp_machine_header): Remove.
+ (softfp_file_list): Remove config subdir.
+ (soft-fp-objects): New variable.
+ ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
+ (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
+ (SFP_MACHINE, $(SFP_MACHINE)): Remove.
+ * config/t-softfp-excl: New file.
+ * config/t-softfp-sfdf: New file.
+ * config/t-softfp-tf: New file.
+ * config/no-sfp-machine.h: New file.
+ * config/arm/sfp-machine.h: New file.
+ * config/arm/t-softfp: New file.
+ * config/c6x/sfp-machine.h: New file.
+ * config/i386/32/t-fprules-softfp: Rename to ...
+ * config/i386/32/t-softfp: ... this.
+ (tifunctions, LIB2ADD): Remove.
+ (softfp_int_modes): Override.
+ * config/i386/64/t-softfp-compat (tf-functions): Remove config
+ subdir.
+ * config/i386/64/eqtf2.c: Likewise.
+ * config/i386/64/getf2.c: Likewise.
+ * config/i386/64/letf2.c: Likewise.
+ * config/ia64/sft-machine.h: New file.
+ * config/ia64/t-fprules-softfp: Rename to ...
+ * config/ia64/t-softfp: ... this.
+ * config/lm32/sfp-machine.h: New file.
+ * config/moxie/t-moxie-softfp: Remove.
+ * config/rs6000/ibm-ldouble-format: New file.
+ * config/rs6000/ibm-ldouble.c: New file.
+ * config/rs6000/libgcc-ppc-glibc.ver: New file
+ * config/rs6000/libgcc-ppc64.ver: New file
+ * config/rs6000/sfp-machine.h: New file.
+ * config/rs6000/t-freebsd: New file.
+ * config/rs6000/t-ibm-ldouble: New file.
+ * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
+ libgcc-ppc-glibc.ver.
+ * config/rs6000/t-linux64: New file.
+ * config/rs6000/t-ppccomm (LIB2ADD): Add
+ $(srcdir)/config/rs6000/ibm-ldouble.c.
+ * config/rs6000/t-ppccomm-ldbl: New file.
+ * config/score/sfp-machine.h: New file.
+ * config.host (sfp_machine_header): Explain.
+ (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
+ t-softfp to tmake_file.
+ (arm*-*-uclinux*): Likewise.
+ (arm*-*-ecos-elf): Likewise.
+ (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
+ (arm*-*-rtems*): Likewise.
+ (arm*-*-elf): Likewise.
+ (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
+ in tmake_file.
+ Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
+ (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
+ (lm32-*-uclinux*): Likewise.
+ (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
+ t-softfp-excl, t-softfp.
+ (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
+ (powerpc64-*-darwin*): Likewise.
+ (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
+ to tmake_file.
+ (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
+ tmake_file.
+ (powerpc-*-eabisim*): Likewise.
+ (powerpc-*-elf*): Likewise.
+ (powerpc-*-eabialtivec*): Likewise.
+ (powerpc-xilinx-eabi*): Likewise.
+ (powerpc-*-rtems*): Likewise.
+ (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
+ t-softfp-excl, t-softfp to tmake_file.
+ (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
+ rs6000/t-ppccomm-ldbl to tmake_file.
+ (powerpcle-*-elf*): Likewise.
+ (powerpcle-*-eabisim*): Likewise.
+ (powerpcle-*-eabi*): Likewise.
+ (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
+ rs6000/t-ibm-ldouble to tmake_file.
+ (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
+ (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
+ (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
+ (tic6x-*-*): Likewise.
+ (i[34567]86-*-darwin*, x86_64-*-darwin*,
+ i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
+ i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
+ i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
+ i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
+ i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
+ t-softfp to tmake_file.
+ * configure.ac (sfp_machine_header): Provide default if unset.
+ Substitute.
+ Link sfp-machine.h to config/$sfp_machine_header.
+ * configure: Regenerate.
+
+2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * Makefile.in (double_type_size, long_double_type_size): Set.
+ Remove $(fpbit-in-libgcc) support.
+ (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
+ (fpbit-src): New variable.
+ ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
+ Compile with -DFLOAT $(FPBIT_CFLAGS).
+ Use $<.
+ ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
+ Compile with $(FPBIT_CFLAGS).
+ Use $<.
+ ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
+ Compile with -DFLOAT $(TPBIT_CFLAGS).
+ Use $<.
+ * configure.ac (double_type_size, long_double_type_size):
+ Determine and substitute.
+ * configure: Regenerate.
+ * fp-bit.c, fp-bit.h: New files.
+ * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
+ * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
+ * config/mips/t-mips: New file.
+ * config/mips/t-sdemtk: New file.
+ * config/rs6000/ppc64-fp.c: New file.
+ * config/rs6000/t-darwin (LIB2ADD): Add
+ $(srcdir)/config/rs6000/ppc64-fp.c.
+ * config/rs6000/t-ppc64-fp: New file.
+ * config/rx/rx-lib.h: New file.
+ * config/rx/t-rx (FPBIT): Set to true.
+ ($(gcc_objdir)/fp-bit.c): Remove.
+ (DPBIT): Set to true only with -m64bit-doubles.
+ ($(gcc_objdir)/dp-bit.c): Remove.
+ * config/sparc/t-softfp: Remove.
+ * config/spu/t-elf: New file.
+ * config/t-fdpbit, config/t-fpbit: New files.
+ * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
+ (mips*-*-*): Likewise.
+ (arm-wrs-vxworks): Likewise.
+ (arm*-*-freebsd*): Likewise.
+ (avr-*-rtems*): Add t-fpbit to tmake_file.
+ (avr-*-*): Likewise.
+ (bfin*-elf*): Add t-fdpbit to tmake_file.
+ (bfin*-uclinux*): Likewise.
+ (bfin*-linux-uclibc*): Likewise.
+ (bfin*-rtems*): New case.
+ Add t-fdpbit to tmake_file.
+ (bfin*-*): Add t-fdpbit to tmake_file.
+ (crisv32-*-elf): Likewise.
+ (cris-*-linux*): Likewise.
+ (fr30-*-elf): Likewise.
+ (frv-*-elf, frv-*-*linux*): Likewise.
+ (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
+ (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
+ (m32r-*-elf*): Likewise.
+ (m32rle-*-elf*): Likewise.
+ (m32r-*-linux*): Likewise.
+ (m32rle-*-linux*): Likewise.
+ (mcore-*-elf): Add t-fdpbit to tmake_file.
+ (microblaze*-*-*): Likewise.
+ (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
+ (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
+ (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
+ Fix typo.
+ Add mips/t-tpbit to tmake-file.
+ (mips*-*-linux*): Fix typo.
+ (mips*-sde-elf*): New case
+ Add mips/t-sdemtk unless using newlib.
+ (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
+ (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
+ (mn10300-*-*): Likewise.
+ (pdp11-*-*): Likewise.
+ (picochip-*-*): Add t-fpbit to tmake_file.
+ (powerpc-*-eabisimaltivec*): Likewise.
+ (powerpc-*-eabisim*): Likewise.
+ (powerpc-*-elf*): Likewise.
+ (powerpc-*-eabialtivec*): Likewise.
+ (powerpc-xilinx-eabi*): New case.
+ Add t-fdpbit to tmake_file.
+ (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
+ (powerpc-*-rtems*): Likewise.
+ (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
+ tmake_file.
+ (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
+ tmake_file.
+ (powerpc-*-lynxos*): Likewise.
+ (powerpcle-*-elf*): Likewise.
+ (powerpcle-*-eabisim*): Likewise.
+ (powerpcle-*-eabi*): Likewise.
+ (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
+ t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
+ (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
+ (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
+ (rx-*-elf): Add t-fdpbit to tmake_file.
+ (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
+ (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
+ (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
+ (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
+ sh*-*-netbsd*.
+ (sh-*-rtems*): Add t-fdpbit to tmake_file.
+ (sh-wrs-vxworks): Likewise.
+ (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
+ (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
+ (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
+ (sparc64-*-rtems*): ... new case.
+ (sparc-*-rtems*): Add t-fdpbit to tmake_file.
+ (spu-*-elf*): Likewise.
+ Add spu/t-elf to tmake_file.
+ (v850*-*-*): Add t-fdpbit to tmake_file.
+ (xstormy16-*-elf): Likewise.
+ (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
+ (mep*-*-*): Likewise.
+
+2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * 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.
+
+2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
+ (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
+ long long to check rt_sigreturn syscall.
+
+2011-08-02 Alan Modra <amodra@gmail.com>
+
+ * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
+ Restore for indirect call bcrtl from correct stack slot, and only
+ if cfa+40 isn't valid.
+
+2011-08-01 Julian Brown <julian@codesourcery.com>
+
+ * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
+ (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
+ * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
+
+2011-08-01 Julian Brown <julian@codesourcery.com>
+
+ * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
+ (libgcc-std.ver.in): Use above.
+ * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
+ LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
+ throughout file.
+ * config/t-fixedpoint-gnu-prefix: New file.
+ * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
+ * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
+ instead of __PFX__.
+
+2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
+ Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
+ for x86-64. Properly check __x86_64__ and __LP64__.
+
+2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
+ version.
+ (_FP_WS_TYPE): Likewise.
+ (_FP_I_TYPE): Likewise.
+
2011-07-28 Alan Modra <amodra@gmail.com>
* config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):