summaryrefslogtreecommitdiff
path: root/libitm
Commit message (Collapse)AuthorAgeFilesLines
* libitm: Use ml_wt as default TM methods for >1 thread.torvald2012-02-242-1/+6
| | | | | | | | libitm/ * retry.cc (GTM::gtm_thread::number_of_threads_changed): Change default dispatch for more than 1 thread to ml_wt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184547 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Put gl_wt global lock on separate cache line.torvald2012-02-202-2/+6
| | | | | | | libitm/ * method-gl.cc (gl_wt_dispatch::orec): Put on separate cacheline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184403 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Optimize synchronization in gl_wt rollback.torvald2012-02-202-12/+20
| | | | | | | libitm/ * method-gl.cc (gl_wt_dispatch::rollback): Optimize memory orders. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184402 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Remove obsolete handling of prior serial lock corner cases in gl_wt.torvald2012-02-202-28/+11
| | | | | | | | | libitm/ * method-gl.cc (gl_wt_dispatch::trycommit): Remove handling of serial mode corner cases made obsolete by prior gtm_rwlock changes. (gl_wt_dispatch.rollback): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184401 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Optimize memory order requiremens in gl_wt pre_write.torvald2012-02-202-3/+18
| | | | | | | libtim/ * method-gl.cc (gl_wt_dispatch::pre_write): Optimize memory orders. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184400 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Add missing undo-logging of RfW src regions in gl_wt memtransfer.torvald2012-02-202-8/+16
| | | | | | | | libitm/ * method-gl.cc (gl_wt_dispatch::memtransfer_static): Add missing undo for RfW src. Optimize number of calls to gtm_thr. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184399 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Fix race condition in dispatch choice at transaction begin.torvald2012-02-203-40/+96
| | | | | | | | | | | | | | | libitm/ * beginend.cc (GTM::gtm_thread::begin_transaction): Move serial lock acquisition to ... * retry.cc (GTM::gtm_thread::decide_begin_dispatch): ... here. (default_dispatch): Make atomic. (GTM::gtm_thread::set_default_dispatch): Access atomically. (GTM::gtm_thread::decide_retry_strategy): Access atomically and use decide_begin_dispatch() if default_dispatch might have changed. (GTM::gtm_thread::number_of_threads_changed): Initialize default_dispatch here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184392 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm/pmarlier2012-02-153-2/+9
| | | | | | | | | | | | | | | | | | | | 2012-02-15 Iain Sandoe <iains@gcc.gnu.org> Patrick Marlier <patrick.marlier@gmail.com> PR libitm/52220 * alloc_cpp.cc: No dummy definitions for darwin. * eh_cpp.cc: Likewise. libgcc/ 2012-02-15 Iain Sandoe <iains@gcc.gnu.org> Patrick Marlier <patrick.marlier@gmail.com> PR libitm/52220 * config/darwin-crt-tm.c: Generate dummy functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184293 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/x86/target.h (GTM_longjmp): Correct the .cfi corrections.rth2012-02-142-5/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184227 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/x86/target.h (GTM_longjmp): Correct .cfi directives.uros2012-02-142-3/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184220 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Add multi-lock, write-through TM method.torvald2012-02-146-6/+639
| | | | | | | | | | | | | libitm/ * libitm_i.h (GTM::gtm_rwlog_entry): New. (GTM::gtm_thread): Add read and write logs. (GTM::dispatch_ml_wt): Declare. * retry.cc (parse_default_method): Support ml_wt. * method-ml.cc: New file. * Makefile.am: Add method-ml.cc. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184212 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Improve method reinit and choice.torvald2012-02-143-13/+32
| | | | | | | | | | | libitm/ * dispatch.h (GTM::abi_dispatch::supports): New. (GTM::method_group::reinit): New. * retry.cc (GTM::gtm_thread::decide_retry_strategy): Use reinit(). (GTM::gtm_thread::number_of_threads_changed): Check that the method supports the current situation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184211 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Add xcalloc.torvald2012-02-143-0/+19
| | | | | | | | libitm/ * util.cc (GTM::xcalloc): New. * common.h (GTM::xcalloc): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184210 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sparc/target.h (cpu_relax): Read from CC register.ebotcazou2012-02-143-9/+14
| | | | | | | * config/sparc/sjlj.S (GTM_longjmp): Restore %fp atomically. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184202 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/x86/target.h (GTM_longjmp): Jump indirect from memory address.uros2012-02-142-6/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184198 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.tgt (target_cpu): Handle sparc and sparc64 & sparcv9.ebotcazou2012-02-136-1/+282
| | | | | | | | | | * config/sparc/cacheline.h: New file. * config/sparc/target.h: Likewise. * config/sparc/sjlj.S: Likewise. * config/linux/sparc/futex_bits.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184177 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ebotcazou2012-02-134-3/+8
| | | | | | | | | | | | | | | | | * gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm. (GTM_SELF_SPECS): Define if not already defined. (driver_self_specs): Add GTM_SELF_SPECS. * config/darwin.h (LINK_COMMAND_SPEC_A): Deal with -fgnu-tm. (GTM_SELF_SPECS): Define. * config/i386/cygwin.h (GTM_SELF_SPECS): Likewise. * config/i386/mingw32.h (GTM_SELF_SPECS): Likewise. libitm/ * configure.ac (link_itm): Fix comment. * configure: Regenerate. * testsuite/lib/libitm.exp: Do not pass -litm for the link. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184174 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed PR reference.ro2012-01-311-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183755 138bc75d-0d04-0410-961f-82ee72b054a4
* Link C++ tests with -shared-libgcc (PR libitm/51822)ro2012-01-312-3/+14
| | | | | | | | | PR libstdc++/51296 * testsuite/libitm.c++/c++.exp (lang_link_flags): Add -shared-libgcc. Correct libgomp references. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183754 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Fix wake-up of readers in futex-based serial lock.torvald2012-01-242-3/+11
| | | | | | | | libitm/ * config/linux/rwlock.cc (GTM::gtm_rwlock::write_unlock): Fix reader wake-up. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183488 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/x86/target.h (gtm_jmpbuf) [__x86_64__]: Move rip to theuros2012-01-243-19/+26
| | | | | | | | | | | | end of structure. * config/x86/sjlj.S (_ITM_beginTransaction) [__x86_64__]: Update offset values. Do not copy return address. Decrement stack by 56 bytes only. (GTM_longjump) [__x86_64__]: Update offset values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183467 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libitm/51830uros2012-01-232-0/+7
| | | | | | | | | | | | | | | * builtin-types.def (BT_FN_UINT_UINT_VAR): New. * gtm-builtins.def (BUILT_IN_TM_START): Declare as BT_FN_UINT_UINT_VAR. libitm/ChangeLog: PR libitm/51830 * config/x86/sjlj.S (_ITM_beginTransaction) [!__x86_64__]: Load the first function argument to %eax. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183435 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove _ITM_getThreadnumro2012-01-233-4/+6
| | | | | | | * libitm.h (_ITM_getThreadnum): Remove. * libitm.map (_ITM_getThreadnum): Remove from LIBITM_1.0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183431 138bc75d-0d04-0410-961f-82ee72b054a4
* Clear hardware capabilities on libitm.so with Sun ldro2012-01-238-9/+177
| | | | | | | | | | | | | * clearcap.map: New file. * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): New test. * configure.ac: Call it. Clear HWCAP_LDFLAGS if defaulting to -mavx. * Makefile.am (AM_LDFLAGS): Add $(HWCAP_LDFLAGS) * configure: Regenerate. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183430 138bc75d-0d04-0410-961f-82ee72b054a4
* Skip static_ctor.C test (PR libitm/51173)ro2012-01-172-1/+7
| | | | | | | | PR libitm/51173 * testsuite/libitm.c++/static_ctor.C: Skip test, note PR, remove include, exclude options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183253 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Truncate undo log after rolling back.torvald2012-01-133-0/+8
| | | | | | | | | libitm/ * local.cc (GTM::gtm_undolog::rollback): Truncate undo log after rolling back. * containers.h (GTM::vector::set_size): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183173 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Filter out undo writes that overlap with the libitm stack.torvald2012-01-137-6/+84
| | | | | | | | | | | | | | PR libitm/51855 * config/generic/tls.h (GTM::mask_stack_top): New. (GTM::mask_stack_bottom): Declare. * config/generic/tls.c (GTM::mask_stack_bottom): New. * local.cc (gtm_undolog::rollback): Filter out any updates that overlap the libitm stack. Add current transaction as parameter. * libitm_i.h (GTM::gtm_undolog::rollback): Adapt. * beginend.cc (GTM::gtm_thread::rollback): Adapt. * testsuite/libitm.c/stackundo.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183172 138bc75d-0d04-0410-961f-82ee72b054a4
* * libitm_i.h (_Unwind_DeleteException): Declare weak.rth2012-01-103-1/+12
| | | | | | | * eh_cpp.cc (_Unwind_DeleteException): Define for !HAVE_ELF_STYLE_WEAKREF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183049 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Optimize undo log.torvald2012-01-087-88/+83
| | | | | | | | | | | | | | | | | | | | | | libitm/ * local.cc (GTM_LB): Use GTM::gtm_undolog. (GTM::gtm_thread::drop_references_undolog): Remove. (GTM::gtm_thread::commit_undolog, GTM::gtm_thread::rollback_undolog): Move to ... * libitm_i.h (GTM::gtm_undolog): ...here. New. (GTM::gtm_undolog_entry): Remove. (GTM::gtm_thread): Adapt. * beginend.cc (GTM::gtm_thread::rollback): Adapt. (GTM::gtm_thread::trycommit): Adapt. * method-serial.cc (serial_dispatch::log): Adapt. * method-gl.cc (gl_wt_dispatch::pre_write): Adapt. (gl_wt_dispatch::store): Fix likely/unlikely. * containers.h (GTM::vector::resize): Add additional_capacity parameter and handle it. (GTM::vector::resize_noinline): New/adapt. (GTM::vector::push): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182992 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: PowerPC support.rth2012-01-057-4/+590
| | | | | | | | | | | | * configure.tgt: Support powerpc-linux and powerpc-darwin. * config/linux/powerpc/futex_bits.h: New file. * config/powerpc/cacheline.h: New file. * config/powerpc/sjlj.S: New file. * config/powerpc/target.h: New file. * config/generic/asmcfi.h (cfi_offset): New. (cfi_restore, cfi_undefined): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182930 138bc75d-0d04-0410-961f-82ee72b054a4
* Add Patrick Marlier to ChangeLog entry.aldyh2012-01-051-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182912 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/51171aldyh2012-01-052-2/+8
| | | | | | | | | * testsuite/libitm.c/reentrant.c: Remove xfail. (thread): Pass x to pure(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182911 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Don't enforce privatization safety if already in serial mode.torvald2011-12-242-1/+11
| | | | | | | | libitm/ * beginend.cc (GTM::gtm_thread::trycommit): Don't enforce privatization safety if already in serial mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182676 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Fix privatization safety during upgrades to serial mode.torvald2011-12-248-23/+65
| | | | | | | | | | | | | | | | | | libitm/ * beginend.cc (GTM::gtm_thread::restart): Add and handle finish_serial_upgrade parameter. * libitm.h (GTM::gtm_thread::restart): Adapt declaration. * config/linux/rwlock.cc (GTM::gtm_rwlock::write_lock_generic): Don't unset reader flag. (GTM::gtm_rwlock::write_upgrade_finish): New. * config/posix/rwlock.cc: Same. * config/linux/rwlock.h (GTM::gtm_rwlock::write_upgrade_finish): Declare. * config/posix/rwlock.h: Same. * method-serial.cc (GTM::gtm_thread::serialirr_mode): Unset reader flag after commit or after rollback when restarting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182675 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Fixed conversion to C++11 atomics.torvald2011-12-2413-90/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libitm/ * beginend.cc (GTM::gtm_thread::begin_transaction): Add comment. (GTM::gtm_thread::try_commit): Changed memory order. * config/linux/alpha/futex_bits.h (sys_futex0): Take atomic int as parameter. * config/linux/x86/futex_bits.h (sys_futex0): Same. * config/linux/sh/futex_bits.h (sys_futex0): Same. * config/linux/futex_bits.h (sys_futex0): Same. * config/linux/futex.cc (futex_wait, futex_wake): Same. * config/linux/futex.h (futex_wait, futex_wake): Same. * config/linux/rwlock.h (gtm_rwlock::writers, gtm_rwlock::writer_readers, gtm_rwlock::readers): Change to atomic ints. * config/linux/rwlock.cc (gtm_rwlock::read_lock, gtm_rwlock::write_lock_generic, gtm_rwlock::read_unlock, gtm_rwlock::write_unlock): Fix memory orders and fences. * config/posix/rwlock.cc (gtm_rwlock::read_lock, gtm_rwlock::write_lock_generic, gtm_rwlock::read_unlock, gtm_rwlock::write_unlock): Same. * config/linux/rwlock.h (gtm_rwlock::summary): Change to atomic int. * method-gl.cc (gl_mg::init, gl_wt_dispatch::memtransfer_static, gl_wt_dispatch::memset_static, gl_wt_dispatch::begin_or_restart): Add comments. (gl_wt_dispatch::pre_write, gl_wt_dispatch::validate, gl_wt_dispatch::load, gl_wt_dispatch::store, gl_wt_dispatch::try_commit, gl_wt_dispatch::rollback): Fix memory orders and fences. Add comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182674 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (AM_CXXFLAGS): Put $(XCFLAGS) first.jakub2011-12-213-4/+9
| | | | | | | * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182593 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.tgt: Add sh* case.kkojima2011-12-175-0/+232
| | | | | | | | | | * config/sh/target.h: New file. * config/sh/sjlj.S: New file. * config/linux/sh/futex_bits.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182429 138bc75d-0d04-0410-961f-82ee72b054a4
* arm-linux: Add libitm support.rth2011-12-1514-17/+422
| | | | | | | | | | | | | | | | * config/arm/hwcap.h, config/arm/hwcap.cc: New files. * config/arm/sjlj.S, config/arm/target.h: New files. * config/generic/asmcfi.h (cfi_adjust_cfa_offset): New. (cfi_rel_offset): New. * config/linux/futex_bits.h: New file. * config/linux/futex.cc: Include futex_bits.h here... * config/linux/futex.h: ... not here. * Makefile.am (libitm_la_SOURCES) <ARCH_ARM>: Add hwcap.cc. * configure.ac (ARCH_AM): New conditional. * Makefile.in, configure: Rebuild. * configure.tgt: Handle ARM. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182355 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/posix/rwlock.cc (gtm_rwlock::write_lock_generic): Fixrth2011-12-132-1/+4
| | | | | | | signed/unsigned comparison werror. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182302 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Conversion to c++11 atomics.rth2011-12-1310-102/+1996
| | | | | | | | | | | | | | | | | | | | | | | | | * local_atomic: New file. * libitm_i.h: Include it. (gtm_thread::shared_state): Use atomic template. * beginend.cc (GTM::gtm_clock): Use atomic template. (global_tid): Use atomic template if 64-bit atomics available. (gtm_thread::gtm_thread): Update shared_state access. (gtm_thread::trycommit): Likewise. (choose_code_path): Update global_tid access. * method-gl.cc (gl_mg::orec): Use atomic template. Update all users. * stmlock.h (GTM::gtm_clock): Use atomic template. (gtm_get_clock, gtm_inc_clock): Update accesses. * config/linux/rwlock.cc (gtm_rwlock::read_lock): Remove redundant __sync_synchronize after atomic shared_state access. * config/posix/rwlock.cc (gtm_rwlock::read_lock): Likewise. (gtm_rwlock::write_lock_generic): Likewise. (gtm_rwlock::read_unlock): Likewise. * config/alpha/target.h (atomic_read_barrier): Remove. (atomic_write_barrier): Remove. * config/x86/target.h (atomic_read_barrier): Remove. (atomic_write_barrier): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182294 138bc75d-0d04-0410-961f-82ee72b054a4
* Swap the action and jmpbuf arguments to GTM_longjmprth2011-11-305-39/+46
| | | | | | | | | | | | | | On several ABIs, the first register parameter is the same as the return value register. Moving the action parameter first avoids the need for register shuffling on these targets. * libitm_i.h (GTM_longjmp): Swap first and second arguments. * beginend.c (_ITM_abortTransaction): Update to match. (GTM::gtm_thread::restart): Likewise. * config/alpha/sjlj.S (GTM_longjmp): Likewise. * config/x86/sjlj.S (GTM_longjmp): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181863 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm:iains2011-11-233-5/+7
| | | | | | | | | * Makefile.am (libitm_la_LDFLAGS): Remove "-no-undefined". * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181654 138bc75d-0d04-0410-961f-82ee72b054a4
* config:iains2011-11-229-14/+87
| | | | | | | | | | | | | | | | | | | | * weakref.m4: New file. libitm: * configure.ac: Use GCC_CHECK_ELF_STYLE_WEAKREF. * alloc_cpp.cc: Generate dummy functions if we don't HAVE_ELF_STYLE_WEAKREF. * eh_cpp.cc: Likewise. * configure: Regenerate. * aclocal.m4: Likewise. * config.h.in: Likewise. * Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181618 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm:iains2011-11-223-19/+57
| | | | | | | | | | | | | | | * config/x86/sjlj.S (CONCAT1, CONCAT2, SYM): Respond to __USER_LABEL_PREFIX__ for targets that use it. TYPE, SIZE, HIDDEN): New macros to assist on non-elf targets. (_ITM_beginTransaction): Use SYM, TYPE, SIZE macros to assist in portability to non-elf targets. (GTM_longjmp): LIkewise. * libitm_i.h (begin_transaction): Apply __USER_LABEL_PREFIX__ where required. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181612 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm:iains2011-11-223-0/+17
| | | | | | | | | * testsuite/libitm.c/memcpy-1.c: Allow for MAP_ANON spelling. * testsuite/libitm.c/memset-1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181611 138bc75d-0d04-0410-961f-82ee72b054a4
* Additional fixes for FreeBSD-10 build:andreast2011-11-212-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | /: * libtool.m4: Additional FreeBSD 10 fixes. boehm-gc/: * configure: Regenerate. gcc/: * configure: Regenerate. libffi/: * configure: Regenerate. libgfortran/: * configure: Regenerate. libgomp/: * configure: Regenerate. libitm/: * configure: Regenerate. libjava/: * configure.ac: Fix some more FreeBSD 10 issues.. * configure: Regenerate. libjava/libltdl/: * acinclude.m4: Additional FreeBSD 10 fixes. * configure: Regenerate. libmudflap/: * configure: Regenerate. libobjc/: * configure: Regenerate. libquadmath/: * configure: Regenerate. libssp/: * configure: Regenerate. libstdc++-v3/: * configure: Regenerate. lto-plugin/: * configure: Regenerate. zlib/: * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181593 138bc75d-0d04-0410-961f-82ee72b054a4
* Support sun symbol versioning in libitmro2011-11-215-29/+176
| | | | | | | | | | | | | | | libitm: * acinclude.m4 (LIBITM_CHECK_LINKER_FEATURES): Handle gold. (LIBITM_ENABLE_SYMVERS): Handle sun style. * Makefile.am: Handle sun style versioning. (libitm_la_LINK): Add $(libitm_la_LDFLAGS). * configure: Regenerate. * Makefile.in: Regenerate. contrib: * make_sunver.pl: Convert '?' in glob patterns to '.'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181588 138bc75d-0d04-0410-961f-82ee72b054a4
* Support libitm on Solaris 8 and 9/x86 with Sun asro2011-11-183-1/+21
| | | | | | | | | | * config/generic/asmcfi.h: Fix comment. * config/x86/sjlj.S (_ITM_beginTransaction): Provide ELF PIC code sequence without .hidden support, error for non-ELF targets. (GTM_longjmp) [__ELF__]: Only use .hidden if HAVE_ATTRIBUTE_VISIBILITY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181481 138bc75d-0d04-0410-961f-82ee72b054a4
* Provide all dummy functions in alloc_cpp.cc, eh_cpp.ccro2011-11-173-5/+25
| | | | | | | | | | * alloc_cpp.cc [__osf__] (_ZnwX, _ZdlPv, _ZnaX, _ZdaPv, _ZnwXRKSt9nothrow_t, _ZdlPvRKSt9nothrow_t, _ZdaPvRKSt9nothrow_t): Dummy functions. * eh_cpp.cc [__osf__] (__cxa_allocate_exception, __cxa_throw, __cxa_begin_catch, __cxa_end_catch, __cxa_tm_cleanup): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181442 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/51098uros2011-11-163-2/+8
| | | | | | | | | * acinclude.m4 (LIBITM_CHECK_AS_AVX): Fix target selector. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181408 138bc75d-0d04-0410-961f-82ee72b054a4