aboutsummaryrefslogtreecommitdiff
path: root/libjava/sysdep/powerpc
AgeCommit message (Collapse)AuthorFilesLines
2016-09-30Makefile.def: Remove libjava.Andrew Haley2-82/+0
2016-09-30 Andrew Haley <aph@redhat.com> * Makefile.def: Remove libjava. * Makefile.tpl: Likewise. * Makefile.in: Regenerate. * configure.ac: Likewise. * configure: Likewise. * gcc/java: Remove. * libjava: Likewise. From-SVN: r240662
2012-06-20Fix typo.David Edelsohn1-1/+1
From-SVN: r188833
2012-06-20locks.h (compare_and_swap): Use GCC atomic intrinsics.David Edelsohn1-50/+26
2012-06-20 David Edelsohn <dje.gcc@gmail.com> Alan Modra <amodra@gmail.com> * sysdep/powerpc/locks.h (compare_and_swap): Use GCC atomic intrinsics. (release_set): Same. (compare_and_swap_release): Same. (read_barrier): Same. (write_barrier): Same. Co-Authored-By: Alan Modra <amodra@gmail.com> From-SVN: r188829
2008-10-23re PR java/35485 (libjava is disabled by default)David Edelsohn1-9/+7
PR target/35485 * configure.ac: AIX threads are Posix threads. Set signal handler to aix-signal.h * configure: Regenerate. * classpath/native/fdlibm/fdlibm.h: Undef hz. * include/aix-signal.h: New file. * sysdep/powerpc/locks.h: Avoid GNU Assembler syntax. From-SVN: r141335
2005-09-28locks.h: Use 64-bit versions of primitives when __LP64__ is defined rather ↵Geoffrey Keating1-3/+3
than... * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when __LP64__ is defined rather than __powerpc64__. (compare_and_swap): 'ret' is an obj_addr_t not just an int. (compare_and_swap_release): Likewise. From-SVN: r104746
2005-05-25re PR libgcj/21692 (unexpected java.lang.NoClassDefFoundError)Richard Henderson1-0/+9
PR libgcj/21692 * sysdep/descriptor-n.h: New file. * sysdep/descriptor-y.h: New file. * sysdep/powerpc/descriptor.h: New file. * configure.host: Set $descriptor_h appropriate for the host. * configure.ac: Link it. * configure: Regenerate. * stacktrace.cc: Include sysdep/descriptor.h. (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR. From-SVN: r100173
2004-07-07configure.host: Enable hash synchronization on Darwin.Andreas Tobler1-12/+12
2004-07-07 Andreas Tobler <a.tobler@schweiz.ch> * configure.host: Enable hash synchronization on Darwin. * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of ';', since this is a comment on Darwin. (compare_and_swap_release): Likewise. From-SVN: r84214
2002-07-30locks.h: Formatting.Alan Modra1-18/+31
* sysdep/powerpc/locks.h: Formatting. (_LARX): Define. (_STCX): Define. (compare_and_swap): Use _LARX and _STCX. (compare_and_swap_release): Likewise. From-SVN: r55855
2002-03-21posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier, not ↵Bryce McKinlay1-0/+8
release_set. * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier, not release_set. * sysdep/powerpc/locks.h (write_barrier): New function. * sysdep/i386/locks.h (write_barrier): New function. From-SVN: r51101
2002-03-10configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self.Bryce McKinlay1-0/+78
libjava: * configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self. Set up symlink for sysdeps directory. * configure.host: Document more shell variables. Set sysdeps_dir for most platforms. Set slow_pthread_self for i686. Set enable_hash_synchronization_default and slow_pthread_self for PowerPC. * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so that memory barrier is emitted where required. * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add read_barrier() to enforce ordering of reads. * sysdep/powerpc/locks.h: New file. Implementation of synchronization primitives for PowerPC. * sysdep/i386/locks.h: New file. Synchronization primitives for i386 moved from natObject.cc. * sysdep/alpha/locks.h: Likewise. * sysdep/ia64/locks.h: Likewise. * sysdep/generic/locks.h: Likewise. * java/lang/natObject.cc: Move thread synchronization primitives to system-dependent headers. gcc/java: * decl.c (java_init_decl_processing): Make sure class_type_node alignment is not less than 64 bits if hash synchronization is enabled. boehm-gc: * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ support is enabled, for hash synchronization. [[Split portion of a mixed commit.]] From-SVN: r50518.2