Carlos O'Donell
5b455ff91e
2007-02-02 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.
(PTR_DEMANGLE): Define.
2007-02-02 21:52:32 +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
3c916dad5b
* sysdeps/unix/sysv/linux/arm/check_pf.c: New file.
...
* sysdeps/unix/sysv/linux/arm/eabi/check_pf.c: New file.
2007-01-08 15:06:00 +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
Carlos O'Donell
3ad1f14c7a
2006-12-03 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove non-atomic
versions. Adjust jump target to '0b'.
2006-12-03 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/Makefile: Set long-double-fcts to `no'.
* sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
* sysdeps/hppa/fpu/bits/mathdef.h: New file.
2006-12-03 23:03:20 +00:00
Andreas Schwab
5dde01821a
* sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)
...
(UNDOARGS_6): Define for 6-argument syscall stubs.
2006-11-27 23:03:17 +00:00
Daniel Jacobowitz
3de1043772
2006-10-05 Steven Munroe <sjmunroe@us.ibm.com>
...
[BZ #2749 ]
* sysdeps/powerpc/nofpu/Makefile
[subdirs-soft-fp] (sysdep_routines): Remove gcc-quad-routines.
[subdirs-math] (CPPFLAGS): Add -I../soft-fp.
[subdirs-math] (CFLAGS-e_powl.c): Add -fno-builtin-fabsl.
[subdirs-math] (CFLAGS-s_ccoshl.c): Likewise.
[subdirs-math] (CFLAGS-s_csinhl.c): Likewise.
[subdirs-math] (CFLAGS-s_clogl.c): Likewise.
[subdirs-math] (CFLAGS-s_clog10l.c): Likewise.
[subdirs-math] (CFLAGS-s_csinl.c): Likewise.
[subdirs-math] (CFLAGS-s_csqrtl.c): Likewise.
* sysdeps/powerpc/nofpu/Versions (GLIBC_2.3.2): Remove __fixtfdi,
__fixtfsi, and __trunctfsf2.
(GLIBC_2.4): Remove __floatunditf, __floatunsitf, and __unordtf2.
Add __nedf2, __nesf2, __gtdf2, __gtsf2, __ltdf2, __ltsf2.
* sysdeps/powerpc/nofpu/libm-test-ulps: Update for soft-fp.
* sysdeps/powerpc/soft-fp/sfp-machine.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S:
New file.
2006-11-22 15:13:11 +00:00
Carlos O'Donell
d396ccd5ec
2006-11-10 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/hppa/nptl/pthread_spin_init.c: New file.
* sysdeps/hppa/nptl/pthread_spin_unlock.c: Remove strong alias
to pthread_spin_init.
* sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Define
RTLD_SINGLE_THREAD_P.
2006-09-20 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (splice): Add offin
and offout arguments to the prototype.
2006-11-11 14:33:27 +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
80d6637fd2
* sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h
...
(RTLD_SINGLE_THREAD_P): Define.
2006-10-31 17:39:02 +00:00
Daniel Jacobowitz
c1d7a56c38
* sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h
...
(DOCARGS_6): Change ".pad #20 " to ".pad #16 ".
2006-10-31 17:21:40 +00:00
Daniel Jacobowitz
57ba32a810
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h (splice): Update
...
prototype.
2006-10-31 17:18:09 +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
d2ff5a57f9
* sysdeps/unix/sysv/linux/arm/kernel-features.h: Remove __i386__
...
conditional.
2006-10-31 17:09:24 +00:00
Ulrich Drepper
cf0494f3e7
(RTLD_SINGLE_THREAD_P): Define.
...
(SINGLE_THREAD_P): Define to 1 if IS_IN_rtld.
2006-10-29 21:48:06 +00:00
Ulrich Drepper
7985141bdc
(SINGLE_THREAD_P): Define to THREAD_SELF->header.multiple_threads.
2006-10-27 15:16:00 +00:00
Ulrich Drepper
3d32d78584
Remove SEM_VALUE_MAX.
2006-10-12 21:35:06 +00:00
Ulrich Drepper
b24bde2d1b
Add SEM_VALUE_MAX.
2006-10-12 21:30:42 +00:00
Andreas Schwab
4b32aae99b
* sysdeps/unix/sysv/linux/m68k/mremap.S: Accept fifth parameter.
2006-10-03 15:49:06 +00:00
Andreas Schwab
9c986f878a
2006-10-03 Richard Sandiford <richard@codesourcery.com>
...
* sysdeps/m68k/bits/mathdef.h: Moved from sysdeps/m68k to
sysdeps/m68k/m680x0.
* sysdeps/m68k/m68020/submul_1.S: Likewise.
* sysdeps/m68k/m68020/Makefile: Likewise.
* sysdeps/m68k/m68020/mul_1.S: Likewise.
* sysdeps/m68k/m68020/wordcopy.S: Likewise.
* sysdeps/m68k/m68020/addmul_1.S: Likewise.
* sysdeps/m68k/m68020/bits/string.h: Likewise.
* sysdeps/m68k/m68020/bits/atomic.h: Likewise.
* sysdeps/m68k/sub_n.S: Likewise.
* sysdeps/m68k/add_n.S: Likewise.
* sysdeps/m68k/s_isnanl.c: Likewise.
* sysdeps/m68k/fpu/s_log1p.c: Likewise.
* sysdeps/m68k/fpu/e_asinf.c: Likewise.
* sysdeps/m68k/fpu/s_cosl.c: Likewise.
* sysdeps/m68k/fpu/s_isinff.c: Likewise.
* sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
* sysdeps/m68k/fpu/s_ccos.c: Likewise.
* sysdeps/m68k/fpu/s_expm1.c: Likewise.
* sysdeps/m68k/fpu/slowexp.c: Likewise.
* sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
* sysdeps/m68k/fpu/s_ccoshf.c: Likewise.
* sysdeps/m68k/fpu/s_ilogbl.c: Likewise.
* sysdeps/m68k/fpu/Makefile: Likewise.
* sysdeps/m68k/fpu/s_expm1f.c: Likewise.
* sysdeps/m68k/fpu/s_significandf.c: Likewise.
* sysdeps/m68k/fpu/e_pow.c: Likewise.
* sysdeps/m68k/fpu/s_csinh.c: Likewise.
* sysdeps/m68k/fpu/e_exp.c: Likewise.
* sysdeps/m68k/fpu/s_remquof.c: Likewise.
* sysdeps/m68k/fpu/s_ilogbf.c: Likewise.
* sysdeps/m68k/fpu/s_truncl.c: Likewise.
* sysdeps/m68k/fpu/s_frexpf.c: Likewise.
* sysdeps/m68k/fpu/s_cos.c: Likewise.
* sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
* sysdeps/m68k/fpu/branred.c: Likewise.
* sysdeps/m68k/fpu/s_frexpl.c: Likewise.
* sysdeps/m68k/fpu/s_atan.c: Likewise.
* sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
* sysdeps/m68k/fpu/e_scalbl.c: Likewise.
* sysdeps/m68k/fpu/e_exp2.c: Likewise.
* sysdeps/m68k/fpu/s_cexpf.c: Likewise.
* sysdeps/m68k/fpu/mplog.c: Likewise.
* sysdeps/m68k/fpu/s_rintf.c: Likewise.
* sysdeps/m68k/fpu/s_tanh.c: Likewise.
* sysdeps/m68k/fpu/e_scalbf.c: Likewise.
* sysdeps/m68k/fpu/s_csinhl.c: Likewise.
* sysdeps/m68k/fpu/s_floorl.c: Likewise.
* sysdeps/m68k/fpu/k_tanf.c: Likewise.
* sysdeps/m68k/fpu/k_tanl.c: Likewise.
* sysdeps/m68k/fpu/e_fmodf.c: Likewise.
* sysdeps/m68k/fpu/e_atanhf.c: Likewise.
* sysdeps/m68k/fpu/s_isnanf.c: Likewise.
* sysdeps/m68k/fpu/s_fpclassifyl.c: Likewise.
* sysdeps/m68k/fpu/s_modf.c: Likewise.
* sysdeps/m68k/fpu/e_log2.c: Likewise.
* sysdeps/m68k/fpu/e_acosf.c: Likewise.
* sysdeps/m68k/fpu/s_log1pl.c: Likewise.
* sysdeps/m68k/fpu/e_log2f.c: Likewise.
* sysdeps/m68k/fpu/mpa.c: Likewise.
* sysdeps/m68k/fpu/t_exp.c: Likewise.
* sysdeps/m68k/fpu/e_acos.c: Likewise.
* sysdeps/m68k/fpu/s_expm1l.c: Likewise.
* sysdeps/m68k/fpu/s_ccoshl.c: Likewise.
* sysdeps/m68k/fpu/s_sinf.c: Likewise.
* sysdeps/m68k/fpu/k_tan.c: Likewise.
* sysdeps/m68k/fpu/k_cosl.c: Likewise.
* sysdeps/m68k/fpu/e_remainder.c: Likewise.
* sysdeps/m68k/fpu/s_trunc.c: Likewise.
* sysdeps/m68k/fpu/s_sincos.c: Likewise.
* sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
* sysdeps/m68k/fpu/s_finitef.c: Likewise.
* sysdeps/m68k/fpu/s_tanhl.c: Likewise.
* sysdeps/m68k/fpu/s_lrintl.c: Likewise.
* sysdeps/m68k/fpu/slowpow.c: Likewise.
* sysdeps/m68k/fpu/mpexp.c: Likewise.
* sysdeps/m68k/fpu/s_isnanl.c: Likewise.
* sysdeps/m68k/fpu/e_expf.c: Likewise.
* sysdeps/m68k/fpu/s_significand.c: Likewise.
* sysdeps/m68k/fpu/e_sinhf.c: Likewise.
* sysdeps/m68k/fpu/s_tanl.c: Likewise.
* sysdeps/m68k/fpu/s_tanhf.c: Likewise.
* sysdeps/m68k/fpu/s_cexp.c: Likewise.
* sysdeps/m68k/fpu/e_sqrtf.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/m68k/fpu/s_nearbyint.c: Likewise.
* sysdeps/m68k/fpu/e_fmod.c: Likewise.
* sysdeps/m68k/fpu/sincos32.c: Likewise.
* sysdeps/m68k/fpu/e_sqrtl.c: Likewise.
* sysdeps/m68k/fpu/s_sincosl.c: Likewise.
* sysdeps/m68k/fpu/e_atan2f.c: Likewise.
* sysdeps/m68k/fpu/s_nearbyintf.c: Likewise.
* sysdeps/m68k/fpu/e_fmodl.c: Likewise.
* sysdeps/m68k/fpu/e_coshf.c: Likewise.
* sysdeps/m68k/fpu/s_csinf.c: Likewise.
* sysdeps/m68k/fpu/s_ccosl.c: Likewise.
* sysdeps/m68k/fpu/e_sqrt.c: Likewise.
* sysdeps/m68k/fpu/s_sin.c: Likewise.
* sysdeps/m68k/fpu/e_asin.c: Likewise.
* sysdeps/m68k/fpu/mptan.c: Likewise.
* sysdeps/m68k/fpu/e_exp10f.c: Likewise.
* sysdeps/m68k/fpu/e_scalb.c: Likewise.
* sysdeps/m68k/fpu/s_finitel.c: Likewise.
* sysdeps/m68k/fpu/e_log10.c: Likewise.
* sysdeps/m68k/fpu/k_sinl.c: Likewise.
* sysdeps/m68k/fpu/e_remainderl.c: Likewise.
* sysdeps/m68k/fpu/s_remquol.c: Likewise.
* sysdeps/m68k/fpu/s_scalblnf.c: Likewise.
* sysdeps/m68k/fpu/s_llrint.c: Likewise.
* sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
* sysdeps/m68k/fpu/e_asinl.c: Likewise.
* sysdeps/m68k/fpu/e_logl.c: Likewise.
* sysdeps/m68k/fpu/s_cosf.c: Likewise.
* sysdeps/m68k/fpu/s_rint.c: Likewise.
* sysdeps/m68k/fpu/s_ceill.c: Likewise.
* sysdeps/m68k/fpu/s_modfl.c: Likewise.
* sysdeps/m68k/fpu/s_csinl.c: Likewise.
* sysdeps/m68k/fpu/s_tan.c: Likewise.
* sysdeps/m68k/fpu/s_sincosf.c: Likewise.
* sysdeps/m68k/fpu/dosincos.c: Likewise.
* sysdeps/m68k/fpu/e_powl.c: Likewise.
* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
* sysdeps/m68k/fpu/s_llrintl.c: Likewise.
* sysdeps/m68k/fpu/e_expl.c: Likewise.
* sysdeps/m68k/fpu/libm-test-ulps: Likewise.
* sysdeps/m68k/fpu/s_tanf.c: Likewise.
* sysdeps/m68k/fpu/mpsqrt.c: Likewise.
* sysdeps/m68k/fpu/s_sinl.c: Likewise.
* sysdeps/m68k/fpu/mathimpl.h: Likewise.
* sysdeps/m68k/fpu/e_acosl.c: Likewise.
* sysdeps/m68k/fpu/e_cosh.c: Likewise.
* sysdeps/m68k/fpu/s_cexpl.c: Likewise.
* sysdeps/m68k/fpu/s_fabsl.c: Likewise.
* sysdeps/m68k/fpu/halfulp.c: Likewise.
* sysdeps/m68k/fpu/s_modff.c: Likewise.
* sysdeps/m68k/fpu/s_isnan.c: Likewise.
* sysdeps/m68k/fpu/e_atan2.c: Likewise.
* sysdeps/m68k/fpu/s_fabs.c: Likewise.
* sysdeps/m68k/fpu/e_log10f.c: Likewise.
* sysdeps/m68k/fpu/k_cosf.c: Likewise.
* sysdeps/m68k/fpu/e_sinh.c: Likewise.
* sysdeps/m68k/fpu/s_truncf.c: Likewise.
* sysdeps/m68k/fpu/s_ceil.c: Likewise.
* sysdeps/m68k/fpu/s_log1pf.c: Likewise.
* sysdeps/m68k/fpu/e_logf.c: Likewise.
* sysdeps/m68k/fpu/mpatan.c: Likewise.
* sysdeps/m68k/fpu/s_csin.c: Likewise.
* sysdeps/m68k/fpu/e_exp2l.c: Likewise.
* sysdeps/m68k/fpu/e_sinhl.c: Likewise.
* sysdeps/m68k/fpu/e_atan2l.c: Likewise.
* sysdeps/m68k/fpu/s_scalbn.c: Likewise.
* sysdeps/m68k/fpu/s_floorf.c: Likewise.
* sysdeps/m68k/fpu/e_log2l.c: Likewise.
* sysdeps/m68k/fpu/s_atanl.c: Likewise.
* sysdeps/m68k/fpu/s_llrintf.c: Likewise.
* sysdeps/m68k/fpu/k_sinf.c: Likewise.
* sysdeps/m68k/fpu/s_csinhf.c: Likewise.
* sysdeps/m68k/fpu/s_frexp.c: Likewise.
* sysdeps/m68k/fpu/s_atanf.c: Likewise.
* sysdeps/m68k/fpu/s_floor.c: Likewise.
* sysdeps/m68k/fpu/e_exp10l.c: Likewise.
* sysdeps/m68k/fpu/doasin.c: Likewise.
* sysdeps/m68k/fpu/s_rintl.c: Likewise.
* sysdeps/m68k/fpu/e_atanhl.c: Likewise.
* sysdeps/m68k/fpu/e_remainderf.c: Likewise.
* sysdeps/m68k/fpu/s_scalbln.c: Likewise.
* sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
* sysdeps/m68k/fpu/e_exp10.c: Likewise.
* sysdeps/m68k/fpu/s_lrintf.c: Likewise.
* sysdeps/m68k/fpu/k_cos.c: Likewise.
* sysdeps/m68k/fpu/s_lrint.c: Likewise.
* sysdeps/m68k/fpu/s_ccosf.c: Likewise.
* sysdeps/m68k/fpu/s_scalblnl.c: Likewise.
* sysdeps/m68k/fpu/switch/Makefile: Likewise.
* sysdeps/m68k/fpu/switch/switch.c: Likewise.
* sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
* sysdeps/m68k/fpu/switch/bits/mathinline.h: Likewise.
* sysdeps/m68k/fpu/e_log.c: Likewise.
* sysdeps/m68k/fpu/s_nextafterl.c: Likewise.
* sysdeps/m68k/fpu/s_nearbyintl.c: Likewise.
* sysdeps/m68k/fpu/mpatan2.c: Likewise.
* sysdeps/m68k/fpu/k_sin.c: Likewise.
* sysdeps/m68k/fpu/e_atanh.c: Likewise.
* sysdeps/m68k/fpu/s_remquo.c: Likewise.
* sysdeps/m68k/fpu/e_log10l.c: Likewise.
* sysdeps/m68k/fpu/s_ceilf.c: Likewise.
* sysdeps/m68k/fpu/s_fabsf.c: Likewise.
* sysdeps/m68k/fpu/s_significandl.c: Likewise.
* sysdeps/m68k/fpu/s_ccosh.c: Likewise.
* sysdeps/m68k/fpu/e_coshl.c: Likewise.
* sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
* sysdeps/m68k/fpu/s_finite.c: Likewise.
* sysdeps/m68k/fpu/e_exp2f.c: Likewise.
* sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
* sysdeps/m68k/fpu/s_isinfl.c: Likewise.
* sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
* sysdeps/m68k/fpu/e_powf.c: Likewise.
* sysdeps/m68k/rshift.S: Likewise.
* sysdeps/m68k/lshift.S: Likewise.
* sysdeps/m68k/strtold_l.c: Likewise.
* sysdeps/m68k/printf_fphex.c: Likewise.
* sysdeps/m68k/s_isinfl.c: Likewise.
* sysdeps/m68k/bits/huge_vall.h: Likewise.
* sysdeps/m68k/asm-syntax.h (andw, andl, subqw, tstw, tstl): New.
* sysdeps/m68k/bits/byteswap.h (__bswap32): Don't define for
Coldfire targets.
* sysdeps/m68k/bits/setjmp.h (__jmp_buf): Add a 64-byte
__fpregs field for Coldfire FPUs.
* sysdeps/m68k/dl-machine.h: Include sysdep.h.
(elf_machine_load_address): Use PCREL_OP.
(_dl_start_user): Likewise.
* sysdeps/m68k/dl-trampoline.S (_dl_runtime_resolve): Avoid jmp (%dN)
on Coldfire; push the target address and use rts instead.
(_dl_runtime_profile): Likewise. Round up the frame size to longword
rather than word alignment. Avoid dbra on Coldfire. Avoid using
jsr (%d0) on Coldfire; push the return address and target address
and use rts instead. Use fmovem.l rather than fmovem.x on Coldfire.
Add missing initialization of lrv_a0 and restore a0 from it after
calling _dl_call_pltexit. Adjust the stack offsets of later data
accordingly, fixing a previously incorrect offset for the inregs
parameter.
* sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Save the control
registers individually on Coldfire targets.
* sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
Add missing libm_hidden_def.
* sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Save and restore the
control registers individually on Coldfire targets.
* sysdeps/m68k/fpu/fesetround.c (fesetround): Add missing
libm_hidden_def.
* sysdeps/m68k/fpu_control.h: Add the Coldfire bit assignments to
the main comment.
(_FPU_DOUBLE): Define to 0 for Coldfire.
(_FPU_EXTENDED): Don't define for Coldfire.
(_FPU_RESERVED): Include bit 15 for Coldfire.
* sysdeps/m68k/Implies: Remove ieee754/ldbl-96.
* sysdeps/m68k/m680x0/Implies: Add it to this new file instead.
* sysdeps/m68k/ldsodefs.h: New file.
* sysdeps/m68k/__longjmp.c (__longjmp): Restore the floating-point
registers when using a Coldfire FPU.
* sysdeps/m68k/Makefile (long-double-fcts): Delete.
* sysdeps/m68k/m680x0/Makefile: Add it to this new file instead.
* sysdeps/m68k/memchr.S (__memchr): Add Coldfire code. Avoid
unnecessary moves.
* sysdeps/m68k/preconfigure (m680?0): Add "m680x0" to $machine.
(m68k): Use the compiler to decide whether $machine should be
set to m68k/coldfire or m68k/m680x0/m68020.
* sysdeps/m68k/rawmemchr.S (__rawmemchr): Add Coldfire code. Avoid
unnecessary moves.
* sysdeps/m68k/setjmp.c (__sigsetjmp): Save the floating-point
registers when using a Coldfire FPU. Use libc_hidden_def rather
than hidden_def.
* sysdeps/m68k/strchrnul.S (__strchrnul): Add Coldfire code. Avoid
unnecessary moves.
* sysdeps/m68k/strchr.S (strchr): Likewise.
* sysdeps/m68k/sysdep.h (PCREL_OP): Define.
* sysdeps/m68k/tst-audit.h: New file.
* sysdeps/m68k/wcpcpy.c: Likewise.
* sysdeps/m68k/wcpcpy_chk.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/configure.in: New file.
* sysdeps/unix/sysv/linux/m68k/configure: Likewise.
* sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Add Coldfire code.
* sysdeps/unix/sysv/linux/m68k/register-dump.h (real_catch_segfault):
Do not define on Coldfire.
(catch_segfault): Likewise.
(register_dump): Use the Coldfire-specific sigcontext fields to
display call-saved data and address registers (rather than the
data stored in sc_fpstate by real_catch_segfault). Display 8-byte
floating-point registers on Coldfire.
* sysdeps/unix/sysv/linux/m68k/socket.S (__socket): Pass a temporary
register to SINGLE_THREAD_P.
* sysdeps/unix/sysv/linux/m68k/sys/reg.h (PT_FP0): Redefine for
Coldfire.
(PT_FP1, PT_FP2, PT_FP3, PT_FP4, PT_FP5, PT_FP6, PT_FP7): Likewise.
* sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset): Sync field
order with linux. Make f_fpregs an 8*2 array on Coldfire.
(ucontext): Sync field order with linux.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Guard against multiple
inclusion.
(SYSCALL_ERROR_HANDLER): Use PCREL_OP.
* sysdeps/unix/sysv/linux/m68k/syscalls.list (oldgetrlimit): Delete.
(oldsetrlimit): Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: New file.
List oldgetrlimit and oldsetrlimit here instead.
* sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: New file.
* sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Likewise.
* sysdeps/m68k/coldfire/bits/atomic.h: Likewise.
* sysdeps/m68k/coldfire/fpu/e_sqrt.c: Likewise.
* sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Likewise.
* sysdeps/m68k/coldfire/fpu/fraiseexcpt.c: Likewise.
* sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
* sysdeps/m68k/coldfire/fpu/s_fabs.c: Likewise.
* sysdeps/m68k/coldfire/fpu/s_fabsf.c: Likewise.
* sysdeps/m68k/coldfire/fpu/s_lrint.c: Likewise.
* sysdeps/m68k/coldfire/fpu/s_lrintf.c: Likewise.
* sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
* sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
* sysdeps/m68k/coldfire/shlib-versions: Likewise.
2006-10-03 14:44:27 +00:00
Daniel Jacobowitz
a852b06d97
* sysdeps/unix/sysv/linux/arm/fxstatat.c: New file.
2006-09-22 17:40:26 +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
4b860fb9c0
* sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
...
Add "java" and "iwmmxt".
* sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Use <sysdep.h> for
HWCAP values.
(_DL_HWCAP_COUNT): Increase to 10.
* sysdeps/unix/sysv/linux/arm/sysdep.h (HWCAP_ARM_SWP,
HWCAP_ARM_HALF, HWCAP_ARM_THUMB, HWCAP_ARM_26BIT,
HWCAP_ARM_FAST_MULT, HWCAP_ARM_FPA, HWCAP_ARM_VFP, HWCAP_ARM_EDSP,
HWCAP_ARM_JAVA, HWCAP_ARM_IWMMXT): Define.
* sysdeps/arm/eabi/setjmp.S (__sigsetjmp): Save iWMMXt registers
if HWCAP_ARM_IWMMXT set. Don't include <asm/procinfo.h>. Use
HWCAP_ARM_VFP instead of HWCAP_VFP.
* sysdeps/arm/eabi/__longjmp.S (__longjmp): Restore iWMMXt
registers if HWCAP_ARM_IWMMXT set. Don't include
<asm/procinfo.h>. Use HWCAP_ARM_VFP instead of HWCAP_VFP.
2006-09-21 18:39:51 +00:00
Carlos O'Donell
7cad09f90b
2006-09-15 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/hppa/nptl/tcb-offsets.sym: Define TID_THREAD_OFFSET.
* sysdeps/unix/sysv/linux/hppa/clone.S: Handle RESET_PID, and
restore r19 before call to _exit.
* sysdeps/unix/sysv/linux/hppa/nptl/clone.S: New file.
2006-09-16 00:46:19 +00:00
Carlos O'Donell
0daa050021
2006-09-07 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Remove
lvalue cast.
* sysdeps/hppa/dl-trampoline.S (_dl_fixup): Correct stack usage.
(_dl_runtime_profile): LA fixups.
* sysdeps/unix/sysv/linux/hppa/clone.S: Correct stack usage. Return
-1 on error. Use branch and link for error handler funciton.
* sysdeps/unix/sysv/linux/hppa/sysdep.h: Correct stack usage.
Avoid register shuffling.
* sysdeps/unix/sysv/linux/hppa/bits/atomic.h (ASM_EAGAIN): Define
as -EAGAIN.
* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Adjust definitions to
match required standards.
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
(lll_futex_wait): Return __ret.
(lll_futex_timed_wait): Likewise.
(lll_futex_wake): Likewise.
(lll_futex_requeue): Likewise.
* sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Correct stack
usage and adjust error return.
* sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Adjust
stack usage for gdb, and avoid extra register loads.
* sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Copy
nptl/sysdeps/pthread/unwind-forcedunwind.c.
(LIBGCC_SO): Define and use.
* sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Copy
nptl/sysdeps/pthread/unwind-resume.c.
(LIBGCC_SO): Define and use.
2006-09-07 16:34:43 +00:00
Ulrich Drepper
34cb4e8082
(splice): Add offin and offout arguments to the prototype.
2006-08-30 15:04:43 +00:00
Daniel Jacobowitz
557df9aaca
* sysdeps/unix/sysv/linux/arm/eabi/syscalls.list: Remove msgctl,
...
shmctl, and semctl.
* sysdeps/unix/sysv/linux/arm/eabi/semctl.c,
sysdeps/unix/sysv/linux/arm/eabi/shmctl.c,
sysdeps/unix/sysv/linux/arm/eabi/msgctl.c: New files.
2006-08-21 20:07:33 +00:00
Carlos O'Donell
6e0b72525b
2006-08-13 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (FUTEX_LOCK_PI,
FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
2006-08-13 18:26:45 +00:00
Daniel Jacobowitz
0700eb7046
Reported by Joseph Myers <joseph@codesourcery.com>:
...
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h (FUTEX_LOCK_PI,
FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
2006-08-04 18:56:15 +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
Ulrich Drepper
e0fccb665e
Define FUTEX_LOCK_PI, FUTEX_UNLOCK_PI, and FUTEX_TRYLOCK_PI.
2006-07-29 05:06:07 +00:00
Ulrich Drepper
2361f0b82a
Fix comment.
2006-07-26 01:27:06 +00:00
Carlos O'Donell
259437280c
2006-07-24 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
__SIZEOF_PTHREAD_COND_T is 64 bytes. Remove __PAD_ATOMIC_LOCK_T.
2006-07-25 01:58:10 +00:00
Daniel Jacobowitz
f4151d899d
* sysdeps/unix/sysv/linux/arm/sigaction.c: If WRAPPER_INCLUDE is
...
defined, include the named file.
2006-07-24 15:43:02 +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
Carlos O'Donell
da1ea0f056
2006-07-13 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/unix/sysv/linux/hppa/xstat.c: New file.
* sysdeps/unix/sysv/linux/hppa/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/hppa/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/hppa/fxstatat.c: Likewise.
2006-07-13 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/nptl/Makefile: New file
* sysdeps/hppa/nptl/jmpbuf-unwind.h: Likewise
* sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise
* sysdeps/hppa/nptl/pthread_spin_trylock.c: Likewise
* sysdeps/hppa/nptl/pthread_spin_unlock.c: Likewise
* sysdeps/hppa/nptl/pthreaddef.h: Likewise
* sysdeps/hppa/nptl/tcb-offsets.sym: Likewise
* sysdeps/hppa/nptl/tls.h: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/bits: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/fork.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Likewise
2006-07-14 13:51:24 +00:00
Carlos O'Donell
b725f54b9a
2006-07-13 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/unix/sysv/linux/hppa/Versions: new errlist compat entry
for up to 256 errnos
2006-07-13 16:24:19 +00:00
Daniel Jacobowitz
7a11d626a7
* sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include
...
<bits/sigcontext.h>.
(NGREG, mcontext_t, struct ucontext): Update to match the kernel.
2006-07-05 16:58:01 +00:00
Carlos O'Donell
6752404e77
2006-06-08 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128.
* sysdeps/unix/sysv/linux/hppa/kernel-features.h
[__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS.
* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file.
2006-06-09 01:25:30 +00:00
Carlos O'Donell
26be3bf7de
2006-06-08 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
(SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
Define.
2006-06-09 00:48:17 +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
b395a209f1
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Reformat.
...
(SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
Define.
2006-06-08 17:16:08 +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
023a0de155
* sysdeps/unix/sysv/linux/arm/kernel-features.h: Add conditionals
...
for __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
__ASSUME_STAT64_SYSCALL, __ASSUME_FCNTL64, and
__ASSUME_VFORK_SYSCALL.
2006-05-30 15:12:30 +00:00
Carlos O'Donell
31e69e34ab
2006-05-24 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest
is a label.
2006-05-24 15:33:28 +00:00
Carlos O'Donell
2c2f8f84c7
2006-05-24 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/hppa/ldsodefs.h: New file.
* sysdeps/unix/sysv/linux/hppa/bits/mman.h:
Only define MADV_* macros when __USE_BSD is present.
(MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
2006-05-24 15:31:25 +00:00
Carlos O'Donell
a29e6e84ed
2006-05-15 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/unix/sysv/linux/hppa/clone.S: Accept extra arguments
required for NPTL.
* sysdeps/unix/sysv/linux/hppa/sysdep.c: Use var args for 6 arg
syscall.
* sysdeps/unix/sysv/linux/hppa/sysdep.h: Move DOARGS and UNDOARGS
into PSEUDO_*'s.
(ENTRY_LEAF): Define.
(PSEUDO_NOERRNO, PSEUDO_ERRVAL): Use ENTRY_LEAF.
(DO_CALL): Create frame.
2006-05-15 00:44:14 +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
Ulrich Drepper
18436f584f
Define SPLICE_F_*.
2006-05-05 19:09:15 +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
23d0322571
* sysdeps/unix/sysv/linux/arm/bits/mman.h: Update error message
...
for consistency with other ports.
(MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
2006-05-05 14:17:13 +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
Ulrich Drepper
290806a914
Fix MADV_REMOVE value.
2006-05-02 14:33:44 +00:00
Carlos O'Donell
1593583d58
2006-04-27 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and
define vmsplice.
2006-04-27 15:49:46 +00:00
Ulrich Drepper
a122819861
Declare vmsplice.
2006-04-26 22:28:15 +00:00
Carlos O'Donell
cb16361524
2006-04-19 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]:
Define MMAP_FIXED.
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]:
Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
SYNC_FILE_RANGE_WAIT_AFTER, sync_file_range, splice, tee.
2006-04-19 05:43:52 +00:00
Carlos O'Donell
8e86e37a90
2006-04-19 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
2006-04-19 05:37:33 +00:00
Carlos O'Donell
5d3b4a7723
2006-04-19 Carlos O'Donell <carlos@systemhalted.org>
...
* sysdeps/hppa/linuxthreads/pspinlock.c: New file.
* sysdeps/hppa/linuxthreads/pt-machine.h: Likewise.
* sysdeps/hppa/linuxthreads/tls.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Likewise.
* sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h:
Likewise.
* sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Likewise.
* sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h:
Likewise.
2006-04-19 05:35:34 +00:00
Ulrich Drepper
44f4e76726
Add prototype for tee.
2006-04-14 21:55:00 +00:00
Ulrich Drepper
111e56f80c
Remove LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
...
Declare sync_file_range and splice.
2006-03-31 21:45:38 +00:00
Daniel Jacobowitz
711daa3092
2006-03-27 Lior Balkohen <balkohen@gmail.com>
...
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Define
LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
2006-03-28 04:32:41 +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
Ulrich Drepper
ea5f32769e
Define LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
2006-03-24 16:36:38 +00:00
Daniel Jacobowitz
ebabc882d0
* sysdeps/unix/sysv/linux/arm/kernel-features.h: New file.
2006-03-21 21:00:16 +00:00
Daniel Jacobowitz
e5b5ba471f
* sysdeps/unix/sysv/linux/arm/eabi/socket.S: Delete.
...
* sysdeps/unix/sysv/linux/arm/eabi/syscalls.list,
sysdeps/unix/sysv/linux/arm/eabi/umount.c: New files.
* sysdeps/unix/sysv/linux/arm/eabi/linuxthreads/sysdep-cancel.h
(DOCARGS_6, UNDOCARGS_6, RESTORE_LR_6): Define.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h
(DOCARGS_6, UNDOCARGS_6, RESTORE_LR_6): Define.
* sysdeps/unix/sysv/linux/arm/eabi/sysdep.h: Undefine
__NR_stime and __NR_alarm.
2006-03-21 20:54:56 +00:00
Roland McGrath
0353e641e9
2006-03-16 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/getcontext.S (__getcontext_x):
Use .set noat to quiet assembler warning.
2006-03-16 23:27:45 +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
Daniel Jacobowitz
43b83c6fe1
* sysdeps/unix/sysv/linux/arm/linuxthreads/sysdep-cancel.h
...
(PSEUDO): Inline correct versions of PSEUDO_RET_MOV and MAYBE_SAVE_LR.
(PSEUDO_RET_MOV, MAYBE_SAVE_LR): Don't define.
2006-03-02 15:23:41 +00:00
Daniel Jacobowitz
33ca998a4f
* sysdeps/unix/sysv/linux/arm/eabi/Makefile (arm-using-eabi): Set.
...
* sysdeps/unix/sysv/linux/arm/nptl/Makefile: New file.
2006-03-02 15:19:51 +00:00
Daniel Jacobowitz
16c82ad715
* sysdeps/unix/arm/sysdep.h, sysdeps/unix/sysv/linux/arm/sysdep.S,
...
sysdeps/unix/sysv/linux/arm/sysdep.h: Remove ports/ from include
paths.
2006-02-28 19:26:36 +00:00
Roland McGrath
5c67709f59
2006-02-27 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/sleep.c: Use #include_next after #include of
self to get main source tree's file.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
* sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2006-02-28 07:09:47 +00:00
Daniel Jacobowitz
a883978723
* sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
...
(struct __pthread_internal_slist): New.
(union pthread_mutex_t): Give struct a tag. Add __list
in an anonymous union.
(union pthread_cond_t): Use __extension__.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
(__lll_mutex_lock_outlined, __lll_mutex_timedlock_outlined): Remove
prototypes.
(lll_robust_mutex_dead, __lll_robust_mutex_trylock,
lll_robust_mutex_trylock, __lll_robust_mutex_lock,
lll_robust_mutex_lock, lll_robust_mutex_cond_lock,
__lll_robust_mutex_timedlock, lll_robust_mutex_timedlock,
__lll_robust_mutex_unlock, lll_robust_mutex_unlock): New.
(__lll_robust_lock_wait, __lll_robust_timedlock_wait): New
prototypes.
2006-02-27 15:36:07 +00:00
Daniel Jacobowitz
8e674bfd64
* sysdeps/unix/sysv/linux/arm/eabi/ftruncate64.c: Don't use
...
sysdeps/generic/.
* sysdeps/unix/sysv/linux/arm/eabi/truncate64.c: Likewise.
2006-02-27 15:22:31 +00:00
Roland McGrath
92724ebc20
2006-02-20 Roland McGrath <roland@redhat.com>
...
* sysdeps/mips/shlib-versions: New file.
* sysdeps/mips/preconfigure: New file.
* sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.
2006-02-21 02:12:56 +00:00
Richard Henderson
143006bf1d
* sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include
...
to math subdir.
* sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h.
(__ieee754_sqrtl): Add _round local variable.
* sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs.
2006-02-20 22:51:48 +00:00
Ulrich Drepper
26d77dc296
(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.
2006-02-17 18:44:32 +00:00
Ulrich Drepper
e112446e01
Correct MADV_DO{,NOT}FORK values.
2006-02-16 00:15:09 +00:00
Ulrich Drepper
ab28c061e9
Define MADV_DONTFORK and MADV_DOFORK.
2006-02-15 18:12:03 +00:00
Ulrich Drepper
b5876a1aa6
(__pthread_list_t): New typedef.
...
(pthread_mutex_t): Replace __next and __prev fields with __list.
2006-02-15 17:13:30 +00:00
Roland McGrath
87a694c9bc
2006-01-31 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: New file.
* sysdeps/unix/sysv/linux/alpha/Implies: Add ieee754/ldbl-64-128,
ieee754/ldbl-opt.
* sysdeps/alpha/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
* sysdeps/unix/sysv/linux/alpha/nldbl-abi.h: New file.
* sysdeps/unix/sysv/linux/alpha/Makefile
[$(subdir) = math] (libm-routines): Add multc3, divtc3.
2006-02-01 03:13:49 +00:00
Roland McGrath
92ed9d7ad1
2006-01-31 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
* sysdeps/alpha/fpu/s_ceil.c: Include math_ldbl_opt.h, add
compat_symbol if LONG_DOUBLE_COMPAT.
* sysdeps/alpha/fpu/s_copysign.c: Likewise.
* sysdeps/alpha/fpu/s_fabs.c: Likewise.
* sysdeps/alpha/fpu/s_floor.c: Likewise.
* sysdeps/alpha/fpu/s_rint.c: Likewise.
* sysdeps/alpha/soft-fp/e_sqrtl.c: New file.
* sysdeps/alpha/Implies: Add ieee754/ldbl-128.
2006-02-01 03:13:45 +00:00
Roland McGrath
123d009b4c
2006-01-29 Daniel Jacobowitz <dan@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_REMOVE): Define.
2006-01-31 01:26:05 +00:00
Roland McGrath
f44dd9a312
2006-01-29 Daniel Jacobowitz <dan@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/bits/socket.h (struct msghdr): Use
size_t for msg_controllen.
(__cmsg_nxthdr): Correct test.
(__SCM_CONNECT): Delete.
2006-01-31 01:26:02 +00:00
Roland McGrath
8f5c49a543
2006-01-29 Daniel Jacobowitz <dan@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED,
EOWNERDEAD, ENOTRECOVERABLE): Define.
2006-01-31 01:26:00 +00:00
Andreas Jaeger
3398852b27
[BZ #2167 ]
...
* sysdeps/unix/sysv/linux/mips/bits/pthreadtypes.h
(pthread_mutex_t): Follow changes for other archs. Based on patch
by Jim Gifford <patches@jg555.com>.
2006-01-18 08:41:47 +00:00
Ulrich Drepper
fffa8a0775
Define __GI___fxstatat64.
2006-01-13 21:47:54 +00:00
Ulrich Drepper
f22d954bd7
(PTR_MANGLE, PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move to
...
sysdeps/unix/alpha/sysdep.h.
2006-01-13 21:40:37 +00:00
Ulrich Drepper
53d1d237fc
(PTR_MANGLE): Define.
...
(PTR_MANGLE2): Define.
2006-01-11 22:16:27 +00:00
Roland McGrath
3e1470fba7
2006-01-08 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_mutex_t):
Don't give the union a name because it changes the mangled name.
Instead name the struct for __data.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h (pthread_mutex_t):
Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h (pthread_mutex_t):
Likewise.
2006-01-09 23:38:27 +00:00
Roland McGrath
44422d1130
2006-01-08 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in
#include for kernel-features.h.
* sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
* sysdeps/unix/sysv/linux/check_pf.c: Likewise.
* sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
* sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
* sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
* sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
* sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
* sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
* sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
* sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/futimes.c: Likewise.
* sysdeps/unix/sysv/linux/futimesat.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
* sysdeps/unix/sysv/linux/getcwd.c: Likewise.
* sysdeps/unix/sysv/linux/getdents.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/ifreq.c: Likewise.
* sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/fchownat.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mmap64.c: Likewise.
* sysdeps/unix/sysv/linux/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
* sysdeps/unix/sysv/linux/opendir.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/setegid.c: Likewise.
* sysdeps/unix/sysv/linux/seteuid.c: Likewise.
* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
* sysdeps/unix/sysv/linux/syslog.c: Likewise.
* sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/utimes.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
* sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2006-01-08 08:21:17 +00:00