about summary refs log tree commit diff
path: root/sysdeps/mips/atomicity.h
Commit message (Collapse)AuthorAgeFilesLines
* Update.Andreas Jaeger2004-11-241-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-05 Maciej W. Rozycki <macro@mips.com> * sysdeps/mips/dl-machine.h: Include <sgidefs.h>. Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout. * sysdeps/mips/elf/start.S: Likewise. * sysdeps/mips/mips64/__longjmp.c: Likewise. * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. * sysdeps/mips/mips64/bsd-setjmp.S: Likewise. * sysdeps/mips/mips64/setjmp.S: Likewise. * sysdeps/mips/mips64/setjmp_aux.c: Likewise. * sysdeps/mips/sys/regdef.h: Likewise. * sysdeps/mips/sys/ucontext.h: Likewise. * sysdeps/unix/mips/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/kernel-features.h: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. * sysdeps/mips/atomicity.h: Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout. * sysdeps/mips/bits/setjmp.h: Likewise. * sysdeps/mips/fpu/bits/mathdef.h: Likewise. * sysdeps/mips/machine-gmon.h: Likewise. * sysdeps/mips/sys/asm.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise. * sysdeps/mips/sgidefs.h: Prevent <asm/sgidefs.h> from being included by kernel headers and undo its settings if already included. Define _ABIO32, _ABIN32 and _ABI64 if missing and use them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and _MIPS_SIM_ABI64 for compatibility. * sysdeps/unix/sysv/linux/mips/Makefile: Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated syscall-list.h * sysdeps/unix/sysv/linux/mips/configure.in: Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated asm-unistd.h. * sysdeps/unix/sysv/linux/mips/configure: Regenerate. * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Correct an inverted _MIPS_SIM conditional.
* UPdate.Andreas Jaeger2004-07-201-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): Sort by syscalls. Make sure we get headers such as sgidefs.h from the build tree before just-installed ones. * sysdeps/mips/atomicity.h, sysdeps/mips/dl-machine.h, sysdeps/mips/machine-gmon.h, sysdeps/mips/bits/setjmp.h, sysdeps/mips/fpu/bits/mathdef.h, sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c, sysdeps/unix/sysv/linux/mips/kernel_stat.h, sysdeps/unix/sysv/linux/mips/pread.c, sysdeps/unix/sysv/linux/mips/pread64.c, sysdeps/unix/sysv/linux/mips/ptrace.c, sysdeps/unix/sysv/linux/mips/pwrite.c, sysdeps/unix/sysv/linux/mips/pwrite64.c, sysdeps/unix/sysv/linux/mips/sigaction.c, sysdeps/unix/sysv/linux/mips/sigcontextinfo.h, sysdeps/unix/sysv/linux/mips/bits/fcntl.h, sysdeps/unix/sysv/linux/mips/bits/sigcontext.h, sysdeps/unix/sysv/linux/mips/bits/stat.h, sysdeps/unix/sysv/linux/mips/sys/procfs.h, sysdeps/unix/sysv/linux/mips/sys/ptrace.h, sysdeps/unix/sysv/linux/mips/sys/tas.h, sysdeps/unix/sysv/linux/mips/sys/ucontext.h, sysdeps/unix/sysv/linux/mips/sys/user.h: Use standard names for ABI macros, include sgidefs.h where appropriate. sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): Likewise. sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Likewise. sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
* * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add): Don't .set mips2 ↵Alexandre Oliva2003-03-141-1/+15
| | | | | | | | | | on new abi. (compare_and_swap): Likewise. Support 64-bit longs on n64. * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add): Don't .set mips2 on new abi. (compare_and_swap): Likewise. Support 64-bit longs on n64. 2003-03-14 Alexandre Oliva <aoliva@redhat.com>
* Update.Ulrich Drepper2002-07-161-36/+9
| | | | | | | | | | | | | 2002-07-02 H.J. Lu <hjl@gnu.org> * sysdeps/mips/atomicity.h: Don't include <sgidefs.h>. Always use ll/sc. * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. * sysdeps/unix/sysv/linux/configure.in: Set arch_minimum_kernel to 2.4.0 for mips. TLS fail if USE_TLS is not defined.
* * sysdeps/mips/atomicity.h (compare_and_swap): RemoveAndreas Jaeger2002-02-081-4/+1
| | | | | | ".set noreorder". * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
* Do not use branch likely.Andreas Jaeger2002-02-071-20/+11
| | | | | | | | | | | 2002-02-05 H.J. Lu <hjl@gnu.org> * sysdeps/mips/pspinlock.c (__pthread_spin_lock): Not use branch likely. * sysdeps/mips/pt-machine.h (testandset): Likewise. (__compare_and_swap): Likewise. >>>>>>> 1.469
* Update.Ulrich Drepper2002-02-031-13/+23
| | | | | | | | | | | | | | | | | | | | | 2002-02-01 H.J. Lu <hjl@gnu.org> * sysdeps/mips/atomicity.h (exchange_and_add): Use branch likely. (atomic_add): Likewise. (compare_and_swap): Return 0 only when failed to compare. Use branch likely. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Use branch likely. 2002-02-03 kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix a typo. 2002-02-02 Ulrich Drepper <drepper@redhat.com> * elf/dl-minimal.c (__strsep): New minimal implementation.
* Update to LGPL v2.1.Andreas Jaeger2001-07-061-9/+8
| | | | | | | | | | | | | | 2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
* Update.Andreas Jaeger2001-05-271-0/+128
2001-05-27 Andreas Jaeger <aj@suse.de> * manual/stdio.texi (String Streams): Fix fmemopen description. Reported by Michal Kochanowicz <michal@michal.waw.pl>.