Joseph Myers
9a9863b435
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
...
FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
2008-12-03 23:37:48 +00:00
Joseph Myers
10d461b558
* sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
...
__THROW vs. __nonnull order for C++.
2008-11-25 16:45:39 +00:00
Daniel Jacobowitz
f6e40d3894
* sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
...
* sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
2008-10-15 19:37:36 +00:00
Daniel Jacobowitz
63fb881a04
2008-10-01 Mark Shinwell <shinwell@codesourcery.com>
...
Daniel Jacobowitz <dan@codesourcery.com>
Richard Sandiford <rdsandiford@googlemail.com>
* sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
* sysdeps/mips/dl-lookup.c: New.
* sysdeps/mips/do-lookup.h: New.
* sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
definition.
(STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
if needed.
(ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
(elf_machine_type_class): Likewise.
(ELF_MACHINE_PLT_REL): Define.
(elf_machine_fixup_plt): New.
(elf_machine_plt_value): New.
(elf_machine_reloc): Handle jump slot and copy relocations.
(elf_machine_lazy_rel): Point relocation place at PLT if
required.
(RESOLVE_GOTSYM): Take a relocation type argument.
(elf_machine_got_rel): Bind lazy stubs directly to their target if
!lazy. Skip lazy binding for PLT symbols.
(elf_machine_runtime_setup): Fill in .got.plt header.
* sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
(ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
ELF_DL_PLT_RESTORE_ARG_REGS): Define.
(_dl_runtime_pltresolve): New.
* sysdeps/mips/bits/linkmap.h: New file.
* sysdeps/mips/tls-macros.h: Load $gp as required. Merge 32-bit and
64-bit versions.
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
Delete definition.
* sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
(PSEUDO): Use them. Move outside __PIC__.
(PSEUDO_JMP): New.
(CENABLE, CDISABLE): Use it.
2008-10-01 13:28:14 +00:00
Joseph Myers
a961a11ea2
* sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
...
to epoll_create1.
2008-08-19 16:53:11 +00:00
Joseph Myers
72e2fdef91
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
...
SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
* sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
2008-08-19 16:12:35 +00:00
Joseph Myers
606c1b1771
* sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
...
volatile.
2008-08-19 15:54:50 +00:00
Daniel Jacobowitz
e2570f301f
* sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
...
type.
2008-07-18 13:24:21 +00:00
Daniel Jacobowitz
83d53ff1aa
2008-05-21 Joseph Myers <joseph@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
(SOCK_DCCP): Define.
2008-05-21 17:50:58 +00:00
Daniel Jacobowitz
098cab74db
2008-05-01 Joseph Myers <joseph@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
RUSAGE_THREAD and RUSAGE_LWP.
2008-05-01 12:34:13 +00:00
Daniel Jacobowitz
89e412f535
* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
...
shmid_ds.
* sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
shmid_ds.
2008-04-21 15:45:00 +00:00
Daniel Jacobowitz
93ae511928
2008-04-21 Khem Raj <kraj@mvista.com>
...
* sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
2008-04-21 15:41:06 +00:00
Daniel Jacobowitz
7221ac034c
2008-04-02 Aurelien Jarno <aurelien@aurel32.net>
...
* sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
truncate and ftruncate systems calls.
* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
empty file.
* sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
2008-04-02 12:58:39 +00:00
Daniel Jacobowitz
560bab7691
* sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
...
ARG_MAX if <linux/limits.h> has defined it.
2008-03-28 17:43:50 +00:00
Daniel Jacobowitz
625680f978
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
...
barriers to enforce strict ordering on weakly ordered systems.
2008-03-28 17:41:20 +00:00
Daniel Jacobowitz
af7eda0ff6
* sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
...
* sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
* sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2008-03-26 13:21:26 +00:00
Andreas Jaeger
2af06d0d3e
[BZ #5753 ]
...
* sysdeps/mips/ieee754.h: Use protected namespace
__BIG_ENDIAN/__LITTLE_ENDIAN.
Patch by Aurelien Jarno <aurelien@aurel32.net>.
2008-03-10 06:20:30 +00:00
Daniel Jacobowitz
7812cbad41
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
...
Reorganize to match other architectures. Replace _timer._timer1
and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
_timer.si_sigval. Correct the type of _sigpoll.si_band.
(si_timerid, si_overrun): Define.
(__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
(__pthread_attr_s): Remove declaration.
(struct sigevent): Remove XXX. Add _tid.
2008-03-04 19:39:30 +00:00
Daniel Jacobowitz
7e0bd9eb99
Define F_DUPFD_CLOEXEC.
2007-10-22 13:11:49 +00:00
Daniel Jacobowitz
017cc6330d
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Correct return value
...
type and __THROW marker of splice, vmsplice, and tee.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
type and __THROW marker of splice, vmsplice, and tee.
2007-09-25 12:04:54 +00:00
Daniel Jacobowitz
8c2766740d
* sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
...
LLL_PRIVATE argument to lll_futex_wake.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
* sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
comment.
(PF_IUCV, PF_RXRPC): Define.
(PF_MAX): Update.
(AF_IUCV, AF_RXRPC): Define.
(MSG_CMSG_CLOEXEC): Define.
(_EXTERN_INLINE): Define to __extern_inline.
* sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
UTIME_OMIT): Define.
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
resp. lll_robust_*. Renamed all LLL_MUTEX_LOCK_* macros to
LLL_LOCK_*. Include <kernel-features.h>.
(LLL_LOCK_INITIALIZER): Remove duplicate definition.
(LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
* sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
(clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
lll_futex_wait.
(lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
private arguments.
(__lll_robust_trylock): Convert to macro.
(__lll_robust_lock_wait): Add private argument.
(__lll_lock_wait_private, __lll_lock_wait): Declare.
(__lll_lock): Convert to macro. Take private argument.
(__lll_cond_lock): Likewise.
(lll_lock, lll_cond_lock): Take private arguments.
(__lll_robust_lock): Take private argument. Convert to macro.
(lll_robust_lock, __lll_cond_lock, lll_cond_lock,
lll_robust_cond_lock): Take private arguments.
(__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
arguments.
(__lll_timedlock, __lll_robust_timedlock): Take private arguments.
(lll_timedlock, lll_robust_timedlock): Take private arguments.
(__lll_unlock, __lll_robust_unlock): Convert to macros. Take
private arguments.
(lll_unlock, lll_robust_unlock): Take private arguments.
(__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
(lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
(__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
__lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
lll_cond_wake, lll_cond_broadcast): Remove.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
to __extern_inline.
2007-09-12 12:57:41 +00:00
Daniel Jacobowitz
d45a636877
* sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
...
New macros for the (n)64 and n32 ABIs.
(_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
2007-08-06 17:45:09 +00:00
Daniel Jacobowitz
391da2016b
2007-07-13 Carlos O'Donell <carlos@codesourcery.com>
...
* sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
Define __WORDSIZE_COMPAT32 as 1.
2007-07-13 12:48:34 +00:00
Daniel Jacobowitz
2b4095f394
2007-07-13 Joseph Myers <joseph@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h. Increase
PTHREAD_STACK_MIN.
2007-07-13 12:46:12 +00:00
Daniel Jacobowitz
8323b1abc6
* sysdeps/arm/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Use
...
lll_private_futex_wake.
* sysdeps/unix/sysv/linux/arm/check_pf.c: Update from generic version.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-forcedunwind.c
(pthread_cancel_init): Add noinline and barriers.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c
(__lll_timedlock_wait): Update call to lll_futex_timed_wait.
(__lll_timedwait_tid): Likewise.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h (LLL_PRIVATE,
LLL_SHARED): Define.
(lll_futex_wait): Use lll_futex_timed_wait.
(lll_futex_timed_wait, lll_futex_wake, lll_futex_wake_unlock): Take a
PRIVATE argument.
(lll_private_futex_wait, lll_private_futex_timed_wait,
lll_private_futex_wake): New.
(lll_robust_mutex_dead, __lll_mutex_lock, __lll_mutex_cond_lock,
__lll_mutex_unlock, __lll_robust_mutex_unlock,
__lll_mutex_unlock_force, lll_wait_tid): Update calls.
* sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c (clear_once_control,
__pthread_once): Use private futexes.
* sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c
(pthread_cancel_init): Add noinline and barriers.
* sysdeps/unix/sysv/aix/bits/fcntl.h,
sysdeps/unix/sysv/linux/am33/bits/fcntl.h,
sysdeps/unix/sysv/linux/arm/bits/fcntl.h,
sysdeps/unix/sysv/linux/cris/bits/fcntl.h,
sysdeps/unix/sysv/linux/m68k/bits/fcntl.h,
sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
* sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h (SEM_VALUE_MAX):
Delete.
* sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
Delete.
2007-07-10 13:35:30 +00:00
Daniel Jacobowitz
ffd3982334
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
...
(internal_syscall1, internal_syscall2, internal_syscall3,
internal_syscall4, internal_syscall5, internal_syscall6): Use it.
2007-06-07 14:40:24 +00:00
Daniel Jacobowitz
30efab519e
* sysdeps/arm/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
...
THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
(THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
THREAD_GSCOPE_WAIT): Define.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c
(lll_unlock_wake_cb): Delete.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
(FUTEX_PRIVATE_FLAG): Define.
(lll_unlock_wake_cb): Delete prototype.
* sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Include
<endian.h>.
(pthread_rwlock_t): Shrink __flags and add __shared.
* sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
(RTLD_SINGLE_THREAD_P): Define.
* sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
(THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
THREAD_GSCOPE_WAIT): Define.
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
(FUTEX_PRIVATE_FLAG): Define.
(lll_unlock_wake_cb): Delete prototype.
* sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
<endian.h>.
(pthread_rwlock_t): Shrink __flags and add __shared.
2007-06-06 17:27:04 +00:00
Daniel Jacobowitz
92fa63ee30
* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
...
(posix_fadvise): Fix high word of len argument.
2007-05-24 16:18:27 +00:00
Daniel Jacobowitz
7a30cb8323
* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
...
* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
* sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
2007-05-23 17:26:13 +00:00
Daniel Jacobowitz
384fa30ddd
* sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
...
* sysdeps/mips/mips64/n64/Implies: Likewise.
* sysdeps/mips/mips64/soft-fp/Makefile: New.
* sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
* sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
<fpu_control.h>. Use hardware exception and rounding mode
settings.
2007-05-23 17:13:59 +00:00
Daniel Jacobowitz
388fc51bf4
Use commit date in changelog.
2007-05-23 16:50:43 +00:00
Daniel Jacobowitz
9077d4dc20
* sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
...
r_info argument to ElfW(Addr).
2007-05-23 16:50:14 +00:00
Daniel Jacobowitz
f50c692c20
* sysdeps/mips/bits/mathdef.h (float_t): Change to float.
2007-02-01 15:43:00 +00:00
Daniel Jacobowitz
eb96755bb8
* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
...
shmctl, and semctl.
* sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
2007-01-25 13:08:14 +00:00
Daniel Jacobowitz
908afa831c
* sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE, PTR_DEMANGLE):
...
Define.
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
PTR_DEMANGLE): Define.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
PTR_DEMANGLE): Define.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
PTR_DEMANGLE): Define.
2007-01-23 16:47:28 +00:00
Daniel Jacobowitz
e309780059
* sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
...
(cfi_same_value): Delete definition.
2007-01-23 14:48:27 +00:00
Daniel Jacobowitz
cb5bcf7412
* sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
...
(elf_machine_reloc): New function, retaining the body of
elf_machine_rel. Take the reloc's r_info field as an argument,
not the reloc itself. Add extra r_addend and inplace_p arguments.
When inplace_p is false, use r_addend as the addend, not the contents
of the relocation field. Hoist the conversion of reloc_addr to
"ELFW(Addr) *". Don't try to apply TLS relocations against
undefined symbols. Add R_MIPS_GLOB_DAT support.
(elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
(elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
to ElfW(Rela).
2007-01-08 15:34:50 +00:00
Daniel Jacobowitz
2caa93e206
* sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h. Correct
...
multiple inclusion guard.
* sysdeps/mips/elf/ldsodefs.h: Delete file.
2007-01-08 15:26:51 +00:00
Daniel Jacobowitz
84f3ca6e49
* sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
...
to match the kernel.
2007-01-05 02:21:54 +00:00
Daniel Jacobowitz
3ed8d993f9
* sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
...
(RTLD_SINGLE_THREAD_P): Define.
* sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
2006-10-31 17:39:15 +00:00
Daniel Jacobowitz
a7d03b9189
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
...
prototype.
2006-10-31 17:17:46 +00:00
Daniel Jacobowitz
6ea630251e
* sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
...
code.
(__xstat_conv): Use memset to clear padding arrays. Check for
overflow.
(__xstat64_conv): Use memset to clear padding arrays.
(__xstat32_conv): New function.
* sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
2006-09-22 17:36:23 +00:00
Daniel Jacobowitz
6b4d184dc9
* sysdeps/mips/fpu_control.h: If soft-float, don't use
...
floating-point registers.
* sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
Likewise.
2006-09-21 21:01:02 +00:00
Daniel Jacobowitz
0ad4d3b0cb
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
...
FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
2006-08-04 18:54:56 +00:00
Daniel Jacobowitz
74321891c1
* sysdeps/mips/mips64/n32/libm-test-ulps,
...
sysdeps/mips/mips64/n64/libm-test-ulps: New.
2006-07-24 15:51:50 +00:00
Daniel Jacobowitz
bb600a60fb
* sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
...
defined, include the named file.
2006-07-24 15:42:07 +00:00
Daniel Jacobowitz
02678e17f9
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
...
(SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
Define.
2006-06-08 17:16:29 +00:00
Daniel Jacobowitz
bd34510699
* sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
...
RLIM64_INFINITY): Define appropriately for N64. Use unsigned
types.
2006-06-02 15:37:27 +00:00
Daniel Jacobowitz
d7f9cd89c2
* sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
...
Don't use struct timespec.
* sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
__xstat64_conv): Copy individual timespec fields.
2006-06-02 15:29:03 +00:00
Daniel Jacobowitz
c6e2897b1c
* sysdeps/mips/Makefile (ASFLAGS-.os): Define.
2006-06-02 15:09:39 +00:00
Daniel Jacobowitz
37896d3980
* sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
...
* sysdeps/mips/fpu/fesetround.c: Likewise.
2006-06-02 15:06:07 +00:00
Daniel Jacobowitz
42e36d16b3
* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
...
dump sc_cause, sc_status or sc_badvaddr.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite. Update
structure definitions after DSP kernel changes.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
after the same DSP changes.
2006-05-10 18:57:03 +00:00
Daniel Jacobowitz
dab7578866
* sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
...
st_atim, st_mtim and st_ctim interface.
(struct stat64): Likewise.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
Replace st_atime and its padding field with st_atim. Likewise
st_mtime/st_mtim and st_ctime/st_ctim.
* sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
after above changes.
(__xstat64_conv): Likewise.
2006-05-08 19:23:37 +00:00
Daniel Jacobowitz
19723bdded
* sysdeps/mips/ldsodefs.h: New file.
...
* sysdeps/mips/tst-audit.h: New file.
2006-05-08 19:19:56 +00:00
Daniel Jacobowitz
075f1edd06
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
...
for consistency with other ports.
(MADV_REMOVE): Correct value.
(MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
POSIX_MADV_DONTNEED): Define.
2006-05-05 14:17:22 +00:00
Daniel Jacobowitz
142b51e416
2006-05-05 Lior Balkohen <balkohen@gmail.com>
...
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
and SYNC_FILE_RANGE_WAIT_AFTER.
Declare sync_file_range, vmsplice, splice and tee.
2006-05-05 Lior Balkohen <balkohen@gmail.com>
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Remove
LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
and SYNC_FILE_RANGE_WAIT_AFTER.
Declare sync_file_range, vmsplice, splice and tee.
2006-05-05 14:03:22 +00:00
Daniel Jacobowitz
f3fb78ec4e
2006-03-27 Lior Balkohen <balkohen@gmail.com>
...
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. Add readahead
prototype.
2006-03-28 04:32:14 +00:00
Daniel Jacobowitz
bfc23f5a36
* sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
...
Define.
2006-03-28 04:25:50 +00:00
Daniel Jacobowitz
b415b963c2
2006-03-27 Denis Barbier <barbier@linuxfr.org>
...
* sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
typo.
2006-03-28 04:13:22 +00:00
Daniel Jacobowitz
712619d7b6
* sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
...
i386/fork.c.
2006-03-11 16:20:03 +00:00
Daniel Jacobowitz
aea6074434
* sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
...
libc_cv_localedir, libdir, arch_minimum_kernel, and
libc_cv_gcc_unwind_find_fde.
* sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
* sysdeps/unix/sysv/linux/mips/configure: Regenerated.
* sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
2006-03-11 16:18:41 +00:00
Daniel Jacobowitz
13d7881aeb
2006-03-02 Lior Balkohen <balkohen@gmail.com>
...
* sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
(__pthread_list_t, __pthread_slist_t): New typedefs.
(pthread_mutex_t): Replace __next and __prev fields with __list.
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
(lll_futex_wake_unlock): Define.
(lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
lll_robust_mutex_unlock): New macros.
(__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
* sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
vfork.S.
* sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
2006-03-03 01:16:30 +00:00
Daniel Jacobowitz
7320480770
* sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
...
* sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
2006-03-03 01:13:52 +00:00
Daniel Jacobowitz
6428ce3cda
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
...
(INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
(INTERNAL_SYSCALL_NCS): New.
(internal_syscall0, internal_syscall1, internal_syscall2,
internal_syscall3, internal_syscall4, internal_syscall5,
internal_syscall6): Take ncs_init, cs_init, and input arguments.
Use them. Correct types for registers.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
(INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
(INTERNAL_SYSCALL_NCS): New.
(internal_syscall0, internal_syscall1, internal_syscall2,
internal_syscall3, internal_syscall4, internal_syscall5,
internal_syscall6): Take ncs_init, cs_init, and input arguments.
Use them.
* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
recvfrom and sendto. Mark lseek, msgrcv, and msgsnd as cancellation
points.
* sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
Use Elf(Addr) for TLS relocation targets.
* sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
futexp to long for n64.
* sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
2006-03-03 01:06:48 +00:00
Roland McGrath
2575768d0b
.
2006-02-21 02:13:02 +00:00