Ulrich Drepper
29da0ceb72
Spinlock trylock implementation for Alpha.
2003-07-01 19:24:47 +00:00
Ulrich Drepper
81b6201ae0
Spinlock implementation for Alpha.
2003-07-01 19:24:33 +00:00
Ulrich Drepper
bba28b0ec0
Initialization code for libpthread on Alpha.
2003-07-01 19:23:36 +00:00
Richard Henderson
4feb1bb5b6
* sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.
2003-06-30 23:21:49 +00:00
Richard Henderson
b7978e8d84
* sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int):
...
Invert the sense of the return value.
(__arch_exchange_16_int): Fix paste-o.
(__arch_exchange_{32,64}_int): Fix think-o.
2003-06-30 23:21:38 +00:00
Andreas Jaeger
b8ba6f0633
2003-06-17 Guido Guenther <agx@sigxcpu.org>
...
* sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT
case.
(xstat_conv): Rename to __xstat_conv and remove static inline.
(xstat64_conv): Likewise.
2003-06-30 09:33:13 +00:00
Roland McGrath
00dedb1574
2003-06-27 Jeroen Dekkers <jeroen@dekkers.cx>
...
* sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.
* sysdeps/mach/hurd/i386/init-first.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
2003-06-27 20:58:22 +00:00
Ulrich Drepper
66f558e194
Define _STATBUF_ST_NSEC.
2003-06-26 17:00:37 +00:00
Andreas Schwab
fbdd196b52
* sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.
...
* sysdeps/m68k/fpu/s_frexp.c: Put implementation here.
* sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.
2003-06-26 16:18:13 +00:00
Ulrich Drepper
fba1515d24
(INLINE_SYSCALL): Cast result to long int.
2003-06-25 08:18:08 +00:00
Ulrich Drepper
50b45ef61c
ld.so cache deifnitions for mips.
2003-06-25 08:03:24 +00:00
Ulrich Drepper
e31adc6532
(struct statfs): Add f_frsize field.
...
(struct statfs64): Likewise.
2003-06-24 17:13:44 +00:00
Richard Henderson
adaab7298a
* sysdeps/alpha/bits/atomic.h: New file.
2003-06-24 17:03:59 +00:00
Richard Henderson
1fbb61a95d
* sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET.
...
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use
libc_hidden_def.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto
on them.
2003-06-24 16:38:45 +00:00
Richard Henderson
981e63c822
* sysdeps/alpha/fpu/bits/mathinline.h: Honor
...
__LIBC_INTERNAL_MATH_INLINES. Implement __signbitf, __signbit.
2003-06-24 16:33:49 +00:00
Richard Henderson
1bb08f1582
* sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue.
2003-06-24 16:29:21 +00:00
Richard Henderson
4f6923e1f5
* sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use
...
the 64-bit syscall name.
2003-06-24 16:26:34 +00:00
Andreas Schwab
0fadfc223d
Update.
2003-06-24 11:06:57 +00:00
Richard Henderson
2002663413
* sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.
...
* sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New.
2003-06-20 19:24:17 +00:00
Richard Henderson
ebcd2cd199
* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.
...
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT)
Unset for alpha.
(__ASSUME_TIMEVAL64): Set for alpha.
* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
adjtimex, osf_sigprocmask, old_adjtimex.
* sysdeps/unix/sysv/linux/alpha/adjtime.c: Use INLINE_SYSCALL,
__ASSUME_TIMEVAL64. Reorg tv64 functions to avoid uninit variable.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Use __ASSUME_TIMEVAL64.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Streamline
PIC code sequence.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigaction.c: New file.
* sysdeps/unix/sysv/linux/alpha/sigprocmask.c: Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove osf_sigprocmask,
sys_ustat, sys_mknod, adjtimex, old_adjtimex.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): Don't
defer to __syscall_name; error for rt_sigaction.
* sysdeps/unix/sysv/linux/alpha/xstatconv.c: Include kernel_stat.h.
2003-06-20 16:24:36 +00:00
Andreas Jaeger
e650efca31
2003-06-15 Guido Guenther <agx@sigxcpu.org>
...
* sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and
create $(objpfx).
2003-06-15 14:41:02 +00:00
Ulrich Drepper
e6e14c55d3
Fix handling of syscalls with more than four parameters.
2003-06-12 16:18:11 +00:00
Ulrich Drepper
c27758e9c6
Don't inline the function. Export them. Prepend __ to name.
2003-06-11 22:37:05 +00:00
Ulrich Drepper
1ca4471f97
New sequences for 5+ arg syscalls only needed for PIC.
2003-06-06 17:31:40 +00:00
Richard Henderson
48e0ec3c48
* sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.
...
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/alpha/elf/start.S: Likewise. Remove pointless allocation.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp
entry sequence and explicit relocs. Add unwind info for sigreturn
and rt_sigreturn.
* configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state.
* configure: Regenerate.
2003-06-06 05:54:15 +00:00
Richard Henderson
a382880a4c
* sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.
...
Annotate some parameters.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.
2003-06-06 05:52:52 +00:00
Richard Henderson
44774a1c27
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.
2003-06-06 05:51:53 +00:00
Andreas Jaeger
784c002b10
2003-05-30 Guido Guenther <agx@sigxcpu.org>
...
* sysdeps/mips/mips64/bsd-_setjmp.S: Include <sys/asm.h> for
SETUP_GP64 and friends.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register
names in internal_syscall{6,7}.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix
number of syscall arguments.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2003-05-30 17:41:46 +00:00
Roland McGrath
489797ebf0
2003-05-11 Andreas Schwab <schwab@suse.de>
...
* Makerules: Always use -MP together with -MD.
(sed-remove-dotot): Substitute $(..) also at start of line.
($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES.
Generated defines with a single compiler call.
Use $(sed-remove-dotdot).
* mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead
of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx).
* sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h):
Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx).
* sysdeps/unix/sysv/linux/mips/Makefile
($(objpfx)syscall-%.h): Likewise.
2003-05-28 21:05:12 +00:00
Andreas Jaeger
a99b4fcf5a
2003-05-20 Guido Guenther <agx@sigxcpu.org>
...
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL
to -60 and define SI_TKILL.
2003-05-22 02:26:29 +00:00
Ulrich Drepper
25e5f254ab
(atomic_exchange_acq): Renamed from atomic_exchange.
2003-05-10 05:29:30 +00:00
Ulrich Drepper
9219434c89
(IPCOP_semtimedop): Define.
2003-05-02 23:24:56 +00:00
Alexandre Oliva
fefdd2a630
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make
...
uc_flags long for all ABIs.
2003-04-30 23:22:09 +00:00
Ulrich Drepper
79b7c8634d
Add libc_hidden_builtin_def.
2003-04-29 22:47:20 +00:00
Andreas Schwab
9d90f5e569
semtimedop implementation for Linux/m68k.
2003-04-27 17:08:00 +00:00
Ulrich Drepper
c3e16ef8ed
Define SI_TKILL.
2003-04-21 07:27:10 +00:00
Ulrich Drepper
4a05f4cc08
Sync with Linux 2.5.67.
2003-04-19 18:31:57 +00:00
Alexandre Oliva
d25102aa73
* sysdeps/unix/sysv/linux/mips/profil-counter: New.
...
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64.
(mcontext_t): Make it match the 32-bit mips kernel in o32.
* sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from
the mips and mips64 headers.
(struct user): Port to n32/n64.
2003-04-13 11:36:32 +00:00
Ulrich Drepper
4caa0b1c3e
Allow file to be included multiple times.
2003-04-12 00:51:50 +00:00
Ulrich Drepper
be3abeade2
Remove FLT_EVAL_METHOD definition.
2003-04-09 07:39:17 +00:00
Alexandre Oliva
96c095cf0d
* sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on
...
NewABI.
(ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on
NewABI.
* sysdeps/mips/mips64/memcpy.S: Adjust register naming
conventions.
* sysdeps/mips/mips64/memset.S: Likewise.
* sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]:
Use t0 instead of t4 as temporary.
2003-04-09 02:51:04 +00:00
Alexandre Oliva
e635cc8cc2
* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New.
...
* sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New.
* sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available
on mips n32.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why
XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data
structure on n32 as well.
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant
data types on n32 and n64.
2003-04-05 19:57:35 +00:00
Alexandre Oliva
f7277ebafe
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust
...
for n64 abi.
2003-04-04 05:12:00 +00:00
Ulrich Drepper
97012650e2
(PSEUDO): Add missing ; after ENTRY use.
2003-04-03 19:32:34 +00:00
Ulrich Drepper
614ba8f749
(_NSIG): Define to 65.
2003-04-01 06:16:53 +00:00
Andreas Schwab
28d6ca4b60
(atomic_increment_and_test): Define.
...
(atomic_decrement_and_test): Fix test.
2003-03-31 16:01:09 +00:00
Alexandre Oliva
ef055a744e
* configure.in: Add mips64* support.
...
* configure: Rebuilt.
* sysdeps/mips/bits/endian.h: Make it bi-endian.
* sysdeps/mips/mipsel/bits/endian.h: Removed.
* sysdeps/mips/mips64/n32/el/bits/endian.h: Removed.
* sysdeps/mips/mips64/n64/el/bits/endian.h: Removed.
* sysdeps/mips/mips32/Makefile (CC): Add -mabi=32.
* sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32.
* sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64.
* sysdeps/mips/Implies: Moved wordsize-32 to...
* sysdeps/mips/mips32/Implies: New file.
* sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO,
ret_NOERRNO): New.
(ret, PSEUDO_END): Moved past END.
(PSEUDO): Moved to...
* sysdeps/unix/mips/mips32/sysdep.h: New file.
* sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO.
* sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep.h: Move to...
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file.
2003-03-29 08:15:29 +00:00
Alexandre Oliva
7f3bcde0d1
* sysdeps/unix/sysv/linux/mips/clone.S (__thread_start):
...
Re-introduce ENTRY.
2003-03-29 08:01:57 +00:00
Alexandre Oliva
a9b0e91911
* sysdeps/unix/mips/sysdep.S: Include sys/asm.h.
2003-03-28 07:02:35 +00:00
Alexandre Oliva
faef8a3c25
* sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
2003-03-28 06:11:03 +00:00