Ulrich Drepper
0be7f50d10
AIX posix_madvise implementation.
2003-08-16 06:13:49 +00:00
Ulrich Drepper
591ef241f8
(__SSIZE_T_TYPE): Define.
2003-07-31 19:34:16 +00:00
Ulrich Drepper
ab69220d3c
(PT_EI): Add __attribute__((always_inline)).
2003-07-31 19:15:42 +00:00
Alexandre Oliva
5027ae109a
* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
...
elf_machine_rel_relative, elf_machine_rela_relative): Don't assume
reloc_addr is aligned.
* sysdeps/alpha/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/cris/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/hppa/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/ia64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/m68k/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/mips/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc64/dl-machine.h
(elf_machine_rela_relative, elf_machine_rela): Adjust.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative):
* sysdeps/sh/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
2003-07-31 06:33:52 +00:00
Ulrich Drepper
775a8c02e1
Header with a.out binary format definitions.
2003-07-25 09:04:57 +00:00
Ulrich Drepper
ff46117d2f
(PROCINFO_CLASS): Define if not yet defined. Use it instead of EXTERN.
...
Undefine at the end of the file.
2003-07-22 22:07:18 +00:00
Andreas Jaeger
f8d826fc85
2003-07-16 Daniel Jacobowitz <drow@mvista.com>
...
Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to
256K, remove unneeded declaration of __getpagesize.
2003-07-16 07:39:07 +00:00
Ulrich Drepper
85d3b8cbf5
(_STATFS_F_FRSIZE): Define.
2003-07-12 19:30:54 +00:00
Ulrich Drepper
4bdf10e334
Remove CLFAGS-.oS addition.
2003-07-10 09:22:13 +00:00
Ulrich Drepper
dc7d6605c8
(lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On
...
success return actual return value from the syscall, not 0.
2003-07-08 03:42:27 +00:00
Ulrich Drepper
16fc430a76
Avoid .ent/.end.
2003-07-08 03:41:53 +00:00
Richard Henderson
ee13e79fc8
* sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
...
* sysdeps/alpha/elf/pt-initfini.c: Avoid .ent/.end.
2003-07-05 22:56:39 +00:00
Ulrich Drepper
5400aba699
Asm macros for definition of cancelable syscall wrappers for nptl on Alpha.
2003-07-01 20:22:49 +00:00
Ulrich Drepper
22c9b5efb9
sem_post implementation for nptl on Alpha.
2003-07-01 20:22:23 +00:00
Ulrich Drepper
3b47913dc8
pthread_once implementation for nptl on Alpha.
2003-07-01 20:22:10 +00:00
Ulrich Drepper
a06fb001ba
vfork implementation for nptl on Alpha.
2003-07-01 20:21:45 +00:00
Ulrich Drepper
92f7ea1cbc
Low level lock definitions for nptl on Alpha.
2003-07-01 20:21:32 +00:00
Ulrich Drepper
f34839aa4d
Alpha specific fork in nptl on Alpha.
2003-07-01 20:20:57 +00:00
Ulrich Drepper
877333746e
Alpha specific nptl code to start thread.
2003-07-01 20:20:36 +00:00
Ulrich Drepper
707cd6ca79
Public semaphore type definitions for Alpha.
2003-07-01 20:20:19 +00:00
Ulrich Drepper
77e4ae304e
Public type definitions for nptl on Alpha.
2003-07-01 20:20:04 +00:00
Ulrich Drepper
10578c2ed3
Makefile for nptl on Alpha.
2003-07-01 20:19:46 +00:00
Ulrich Drepper
690359671c
TLS access definitions for Alpha.
2003-07-01 19:25:45 +00:00
Ulrich Drepper
cb9d4969c9
libthread_db interface to map LWP ID to thread for Alpha.
2003-07-01 19:25:32 +00:00
Ulrich Drepper
c1b42f8052
General definition for libpthread on Alpha.
2003-07-01 19:25:02 +00:00
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
Roland McGrath
44acff5d04
2003-03-27 Philip Blundell <philb@gnu.org>
...
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use
unconditional mov. Remove nop.
2003-03-27 02:45:49 +00:00
Roland McGrath
227de9dd23
2003-03-27 Philip Blundell <philb@gnu.org>
...
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm.
* sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code
when __ASSUME_VFORK_SYSCALL is defined.
* sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for
__ASSUME_MMAP2_SYSCALL.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for
__ASSUME_REALTIME_SIGNALS.
2003-03-27 02:45:46 +00:00
Ulrich Drepper
49d354ccdc
(struct siginfo): Avoid no-op padding element.
2003-03-26 23:41:57 +00:00
Ulrich Drepper
8eecb601ef
(struct siginfo): Adjust timer info for what the kernel provides these days.
...
(struct sigevent): Add _tid field.
Define SIGEV_THREAD_ID.
Remove struct __pthread_attr_s forward declaration.
2003-03-26 04:48:10 +00:00
Andreas Schwab
97b729d379
Fix typos.
2003-03-25 23:40:18 +00:00
Andreas Schwab
64928a8889
Define ret_NOERRNO.
2003-03-25 23:15:40 +00:00
Ulrich Drepper
f30a759d97
(__TIMER_T_TYPE): Define as void*.
2003-03-25 21:59:17 +00:00
Alexandre Oliva
f4e9c08c59
* sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64):
...
Define.
* sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all
ISA tests.
(ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA.
(PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
to decide whether to add padding.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
to decide whether to add padding.
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct
old_kernel_sigaction): Likewise.
2003-03-25 21:51:53 +00:00
Roland McGrath
e0dc73c1e3
2003-03-24 Daniel Jacobowitz <drow@mvista.com>
...
* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
(DOARGS_5, DOARGS_6, DOARGS_7): Rewritten.
2003-03-25 09:44:29 +00:00
Ulrich Drepper
cf666e4bf9
INTERNAL_SYSCALL): Remove a1 from clobber list.
2003-03-24 19:00:28 +00:00
Ulrich Drepper
98f7320f07
Define PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, and ret_NOERRNO.
2003-03-23 19:42:23 +00:00
Roland McGrath
fad367110e
2003-03-23 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/alpha/fpu/libm-test-ulps: Update.
* sysdeps/arm/libm-test-ulps: Update.
* sysdeps/hppa/fpu/libm-test-ulps: Update.
* sysdeps/ia64/fpu/libm-test-ulps: Update.
* sysdeps/mips/fpu/libm-test-ulps: Update.
* sysdeps/powerpc/nofpu/libm-test-ulps: Update.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
* sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
* sysdeps/s390/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
2003-03-23 00:52:10 +00:00
Andreas Schwab
c33a5b5124
Update.
2003-03-22 21:17:47 +00:00
Andreas Schwab
be1628459d
Superceded by atomic.h.
2003-03-22 21:00:48 +00:00
Andreas Schwab
d9a3227e9c
Atomic operations for m68020 and up.
2003-03-22 20:59:49 +00:00
Alexandre Oliva
cfd77e42b8
* sysdeps/mips/elf/ldsodefs.h: Add mips-specific elf64 relocation
...
data structures and macros. Protect from multiple inclusion.
2003-03-22 15:07:05 +00:00
Alexandre Oliva
721e2474d6
* sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Fix harmless
...
typo in #if test.
2003-03-22 12:50:46 +00:00
Alexandre Oliva
2b15a21180
* sysdeps/mips/mips64/memcpy.S: Fix porting bug that broke
...
unaligned copying of 8-15 bytes. From Chris Demetriou
<cgd@broadcom.com>. Fix label names.
* sysdeps/mips/mips64/memset.S: Fix label names. Make similar
change as to memcpy.S.
* sysdeps/mips/memcpy.S: Formatting changes.
* sysdeps/mips/memset.S: Likewise.
2003-03-21 21:39:39 +00:00
Roland McGrath
4208b5c771
2003-03-21 Roland McGrath <roland@redhat.com>
...
* sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon.
2003-03-21 20:51:59 +00:00
Roland McGrath
2f15520df9
2003-03-21 Daniel Jacobowitz <drow@mvista.com>
...
* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
(SINGLE_THREAD_P_PIC): Use "reg" instead of "lr".
2003-03-21 20:49:58 +00:00
Alexandre Oliva
500308e11d
* sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New.
...
* sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments.
2003-03-21 19:44:24 +00:00
Alexandre Oliva
a5b668cc8a
* sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs.
...
* sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust.
* sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2003-03-20 22:29:44 +00:00
Alexandre Oliva
fe638fda3c
* sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset
...
into high and low halves on n64.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2003-03-20 20:58:02 +00:00
Alexandre Oliva
1a58876cc7
* sysdeps/mips/ieee754.h: Remove excess #endif.
2003-03-20 17:59:45 +00:00
Alexandre Oliva
19ca28fb3f
* sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers,
...
including pc, gp, sp and fp, as long long.
* sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux.
* sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments.
Add gp argument, and set gp in the jmpbuf to it.
* sysdeps/mips/setjmp_aux.c: Revert to o32-only.
2003-03-20 10:27:55 +00:00
Alexandre Oliva
a8a1e840a1
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
...
with a single instruction.
2003-03-20 07:54:56 +00:00
Alexandre Oliva
3d06657c53
* sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define
...
properly for n64.
(elf_machine_runtime_setup): Cast link_map pointer to Elf Addr
type.
(elf_machine_rel, elf_machine_rel_relative): Cast symidx to Elf
Word before comparing with gotsym. Take reloc_addr argument as
void*. Remove the code added for the compiler to drop any
alignment assumptions.
2003-03-20 07:54:21 +00:00
Alexandre Oliva
79bd056457
* sysdeps/mips/ieee754.h: New file, suitable to replace both
...
../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept
mips-specific for now.
2003-03-20 00:39:32 +00:00
Alexandre Oliva
be1222911f
* sysdeps/mips/mips64/Implies: Move wordsize-64 to...
...
* sysdeps/mips/mips64/n64/Implies: New file.
* sysdeps/mips/mips64/n64/Makefile: New file.
* sysdeps/mips/mips64/n64/el/bits/endian.h: New file.
* sysdeps/mips/mips64/n32/Implies: New file.
* sysdeps/mips/mips64/n32/Makefile: New file.
* sysdeps/mips/mips64/n32/el/bits/endian.h: New file.
* sysdeps/unix/mips/mips64/n32/sysdep.h: New file.
* sysdeps/unix/mips/mips64/n64/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file.
* sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/send.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file.
* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file.
2003-03-17 16:20:44 +00:00
Alexandre Oliva
d5510eee99
* sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use
...
lib64 for mips64/n64 and lib32 for mips64/n32.
(ldd_rewrite_script): Needed for all mips64 configurations.
* sysdeps/unix/sysv/linux/configure: Rebuilt.
* sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file.
* sysdeps/unix/sysv/linux/mips/mips64/Dist: New file.
2003-03-17 15:57:19 +00:00
Alexandre Oliva
7b44519fbc
* sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as
...
well.
2003-03-17 15:53:37 +00:00
Alexandre Oliva
bb4002d601
* sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process
...
asm/unistd.h into asm-unistd.h.
* sysdeps/unix/sysv/linux/mips/configure: Generated.
* sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing
of syscall list.
* sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file.
* sysdeps/unix/sysv/linux/mips/clone.S: Don't include
asm/unistd.h.
2003-03-17 15:50:05 +00:00
Alexandre Oliva
77f047e8a4
* sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file.
...
* sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long
long type for registers on n32.
2003-03-17 15:48:52 +00:00
Alexandre Oliva
ca2b264c24
* sysdeps/mips/bits/wordsize.h: New file, appropriate for all
...
3 ABIs.
* sysdeps/mips/mips64/gmp-mparam.h: New file. Define
BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs.
* sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros.
(__sigsetjmp_aux): Use them. Adjust for all 3 ABIs.
* sysdeps/mips/elf/start.S: Adjust for all 3 ABIs.
* sysdeps/unix/mips/brk.S: Likewise.
* sysdeps/unix/mips/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
* sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise.
* sysdeps/mips/sys/ucontext.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
* sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
* sysdeps/mips/mips64/setjmp.S: Likewise.
* sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete.
* sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for
64-bit types.
2003-03-17 15:47:13 +00:00
Alexandre Oliva
e6631ae1ac
* sysdeps/mips/fpu/bits/mathdef.h: New.
...
(__NO_LONG_DOUBLE_MATH): Define for o32.
2003-03-14 15:30:43 +00:00
Alexandre Oliva
b1a0b02eb4
* sysdeps/mips/sys/asm.h: Formatting changes.
...
(PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs.
(CPADD): Define for all of them.
(SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64,
SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP,
NARGSAVE): Define per ABI spec.
(END): Don't redefine.
(LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA,
LONG_SRAV): Remove duplicate definitions.
(PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI,
PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL,
PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32.
(PTR_LA): Define for all 3 ABIs.
2003-03-14 11:06:32 +00:00
Alexandre Oliva
0d5b725772
* sysdeps/mips/dl-machine.h: Include sys/asm.h.
...
(elf_machine_matches_host): Prevent linking of o32 and n32
together.
(elf_machine_dynamic): Document assumption on $gp.
(STRINGXP, STRINGXV, STRINGV_): New macros.
(elf_machine_load_address): Use them to stringize PTR_LA and
PTR_SUBU.
(ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS,
ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in...
(_dl_runtime_resolve): Adjust it for all 3 ABIs.
(__dl_runtime_resolve): Cast the symtab initializer to the
right type.
(RTLD_START): Use it. Adjust it for all 3 ABIs.
(elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP.
Handle 64-bit R_MIPS_REL composite relocation and accept
R_MIPS_64 relocations to shift addend size to 64 bits.
Document assumption regarding local GOT entries. Document
backward-compatibility departing from the ABI behavior in
applying relocations that reference section symbols, no longer
used. Support relocations to mis-aligned offsets.
* sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete.
2003-03-14 08:43:13 +00:00
Alexandre Oliva
d2e29db722
* sysdeps/unix/sysv/linux/mips/readelflib.c: New file.
2003-03-14 07:52:05 +00:00
Alexandre Oliva
ab35974e21
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
...
(_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and
restore_rt functions. Use them.
2003-03-14 07:49:05 +00:00
Alexandre Oliva
1dd24665be
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
...
.set mips2 on new abis.
2003-03-14 07:03:36 +00:00
Alexandre Oliva
2b2c3a2a04
* sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
...
* sysdeps/mips/memset.S: Likewise.
* sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11
depending on the ABI.
2003-03-14 05:31:28 +00:00
Alexandre Oliva
04a8368845
* 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 05:30:31 +00:00
Roland McGrath
3e9a97580a
2003-03-13 Alexandre Oliva <aoliva@redhat.com>
...
* sysdeps/mips/add_n.S: Use L macro for local labels.
* sysdeps/mips/addmul_1.S: Likewise.
* sysdeps/mips/lshift.S: Likewise.
* sysdeps/mips/memcpy.S: Likewise.
* sysdeps/mips/memset.S: Likewise.
* sysdeps/mips/mul_1.S: Likewise.
* sysdeps/mips/rshift.S: Likewise.
* sysdeps/mips/sub_n.S: Likewise.
* sysdeps/mips/submul_1.S: Likewise.
* sysdeps/mips/mips64/add_n.S: Likewise.
* sysdeps/mips/mips64/addmul_1.S: Likewise.
* sysdeps/mips/mips64/lshift.S: Likewise.
* sysdeps/mips/mips64/mul_1.S: Likewise.
* sysdeps/mips/mips64/rshift.S: Likewise.
* sysdeps/mips/mips64/sub_n.S: Likewise.
* sysdeps/mips/mips64/submul_1.S: Likewise.
* sysdeps/unix/mips/sysdep.h: Define L() according to ABI
conventions. Define END as in sys/asm.h.
* sysdeps/unix/mips/sysdep.S: Likewise.
* sysdeps/unix/mips/wait.S: Likewise.
* sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2003-03-14 03:59:37 +00:00
Andreas Jaeger
28a8f69901
Introduce and use local
...
label .Lthread_start since current binutils don't allow branches
to globally visible symbols.
2003-03-13 15:07:13 +00:00
Ulrich Drepper
ced89ec318
(__thread_start): Use jal instead of jalr to invoke subroutine so
...
restoring the $gp register will work properly.
2003-03-12 01:04:51 +00:00
Andreas Jaeger
3347c3ad39
2003-03-04 Guido Guenther <agx@sigxcpu.org>
...
* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
stubs, we have INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
MAP_NONBLOCK.
2003-03-07 09:46:33 +00:00
Ulrich Drepper
aca56a7fa5
Define MAP_POPULATE and MAP_NONBLOCK.
2003-03-03 09:58:55 +00:00
Andreas Schwab
a25ef3f286
(_dl_start_user): Access
...
__libc_stack_end through GOT since it is a global symbol.
2003-03-01 15:33:11 +00:00
Roland McGrath
6fa6c0ca31
Revert unintentional commits.
2003-02-26 00:01:15 +00:00
Roland McGrath
b6562e8149
linuxthreads/ChangeLog
2003-02-25 23:45:16 +00:00
Ulrich Drepper
cc6a3664ff
Add soft-supp.h.
2003-02-21 06:59:04 +00:00
Ulrich Drepper
2b6aa9b399
(init_iosys): Yield ENODEV on unknown systems.
2003-02-20 22:22:35 +00:00
Ulrich Drepper
2299417ee1
Extra files to distribute for powerpc/nofpu.
2003-02-20 22:19:28 +00:00
Ulrich Drepper
114e7d5005
(INLINE_SYSCALL): Add missing arguments to INTERNAL_SYSCALL_ERROR_P and
...
INTERNAL_SYSCALL_ERRNO.
2003-02-20 20:22:20 +00:00
Andreas Schwab
e96c2b656b
Add MADV_* and POSIX_MADV_* constants.
2003-02-20 13:23:24 +00:00
Ulrich Drepper
6e5bb2d534
(elf_machine_rela): Add instead of subtracting map->l_tls_offset.
2003-02-14 06:02:01 +00:00
Ulrich Drepper
c157224cb8
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix masking of version index.
2003-02-12 09:42:48 +00:00
Ulrich Drepper
28445fd3b2
Add posix_fadvise64 syscall.
2003-02-05 23:29:25 +00:00
Ulrich Drepper
94b1e5e52f
Remove __GI_* aliases, already added by make-syscalls.sh.
2003-01-31 03:40:10 +00:00
Andreas Schwab
7495bfa600
(sysdep-CFLAGS): Don't define, not needed any more.
2003-01-30 23:52:52 +00:00
Ulrich Drepper
c25d936b99
(SYSCALL_ERROR_LABEL): Define.
2003-01-27 20:15:03 +00:00
Ulrich Drepper
4f211d1748
Don't set errno in the _LIBC_REENTRANT case, use register names consistently.
2003-01-27 19:01:25 +00:00
Ulrich Drepper
ca0eea4226
Add support for cancellation handling and handle both __NR_pwrite64 and
...
__NR_pwrite.
2003-01-27 19:01:03 +00:00
Ulrich Drepper
8c5a1c7889
Add support for cancellation handling and handle both __NR_pread64 and
...
__NR_pread.
2003-01-27 19:00:40 +00:00
Andreas Schwab
fab80146ed
(_dl_start_user): Use pc-relative addressing to save GOT entries.
2003-01-25 23:07:04 +00:00
Roland McGrath
3de1f4af04
2003-01-21 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/unix/alpha/sysdep.h (inline_syscall0,
inline_syscall1, inline_syscall2, inline_syscall3,
inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
__attribute__((unused)) to ChEcK.
2003-01-22 02:07:54 +00:00
Ulrich Drepper
af215add0a
(EPILOGUE, GPSAVEREG): New.
...
(LOADGP) [!PIC]: Rewrite to preserve caller's gp.
2003-01-17 19:19:55 +00:00
Ulrich Drepper
2c7ba672ef
Helper code for TLS setup in static libc.
2003-01-17 19:19:37 +00:00
Ulrich Drepper
6edfd8f2f6
(elf_machine_type_class): Add TLS relocs for class PLT.
2003-01-17 19:18:51 +00:00
Ulrich Drepper
0aced2c569
(__vfork): Conditionally branch to __fork even if __NR_vfork is not defined.
2003-01-15 01:06:06 +00:00
Ulrich Drepper
9da3df1021
(INTERNAL_SYSCALL, INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
...
INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
2003-01-15 01:02:03 +00:00
Ulrich Drepper
259eb5cdb8
(INLINE_SYSCALL): Undefined before defining.
2003-01-14 01:23:59 +00:00
Ulrich Drepper
aaadd842d8
Add inline syscall definitions.
...
(PSEUDO_LOADGP): Remove.
(PSEUDO_PROLOGUE): Load GP in non-pic case.
(SYSCALL_ERROR_LABEL): New.
(PSEUDO): Use it in error branch.
(PSEUDO_END): Add $syscall_error label.
2003-01-12 19:25:52 +00:00
Ulrich Drepper
411c121bce
Move inline syscall bits to sysdeps/unix/alpha/sysdep.h.
2003-01-12 19:23:41 +00:00
Ulrich Drepper
df162e7602
Use correct definition of errno for NOT_IN_libc.
2003-01-12 19:23:03 +00:00
Ulrich Drepper
a48dbdf044
(elf_machine_rela): Compute DTPREL64 and TPREL64 without loadbase applied.
2003-01-12 19:22:32 +00:00
Ulrich Drepper
f5e2ab0edb
vfork implementation for LinuxThreads/Arm.
2003-01-12 09:16:06 +00:00
Ulrich Drepper
e62ed29b3b
(PSEUDO_RET): Correctly unstack lr.
...
(UNDOARGS_5): Fix ordering of pushes and pops.
(SINGLE_THREAD_P_PIC): New.
(SINGLE_THREAD_P_INT): Likewise.
(SINGLE_THREAD_P): Implement in terms of above. Restore lr if it was stacked.
(PSEUDO): Use SINGLE_THREAD_P_INT.
2003-01-12 09:14:25 +00:00
Ulrich Drepper
191cbebf58
Add cancellation support.
2003-01-12 09:06:28 +00:00
Ulrich Drepper
6ad3dd03b3
(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.
2003-01-12 08:47:37 +00:00
Andreas Jaeger
9cc157d474
* sysdeps/unix/mips/fork.S: add PSEUDO_END.
...
* sysdeps/unix/mips/brk.S: Likewise.
* sysdeps/unix/mips/pipe.S: Likewise.
2003-01-11 15:26:35 +00:00
Andreas Schwab
c7aa3cacfc
GET_NPROCS_PARSER for m68k.
2003-01-10 15:36:20 +00:00
Andreas Schwab
defd0faa3f
(JUMPTARGET): Undefine before defining it.
2003-01-10 14:08:16 +00:00
Andreas Schwab
2eb7464224
Optimize for kernels which are known to have the vfork syscall.
2003-01-10 14:05:26 +00:00
Andreas Schwab
f3555d4089
Regenerated.
2003-01-09 15:30:03 +00:00
Ulrich Drepper
aeeec7fb5e
(INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
...
Add err argument.
(INTERNAL_SYSCALL_DECL): Define.
2003-01-09 04:09:26 +00:00
Ulrich Drepper
51c050b0f7
Add INTERNAL_SYSCALL_DECL, add err argument to INTERNAL_SYSCALL* macros.
2003-01-09 04:06:05 +00:00
Ulrich Drepper
c05bc2ca7b
(__socket): Use SYSCALL_ERROR in place of __syscall_error.
2003-01-08 00:15:33 +00:00
Ulrich Drepper
2f0910ca96
(PSEUDO): Remove .type directive.
...
(PSEUDO_RET): Use SYSCALL_ERROR in place of __syscall_error.
(SYSCALL_ERROR): New.
(SYSCALL_ERROR_HANDLER) [NOT_IN_libc]: Provide local copy of error
handling code.
(INTERNAL_SYSCALL): Define.
(INLINE_SYSCALL): Use it.
(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.
2003-01-08 00:15:07 +00:00
Ulrich Drepper
721fe4656c
(syscall_error): Optimise a little.
...
[__LIBC_REENTRANT]: Unify PIC and non-PIC cases.
2003-01-08 00:14:43 +00:00
Ulrich Drepper
b8cce412d2
(ntp_adjtime): New weak alias.
2003-01-07 23:51:48 +00:00
Ulrich Drepper
2e2b5f5622
Add cancellation handling.
2003-01-07 00:48:34 +00:00
Ulrich Drepper
7d983cbb36
(PSEUDO): Use PSEUDO_PREPARE_ARGS.
2003-01-07 00:47:52 +00:00
Ulrich Drepper
ddf42be0e2
Syscall cancellation handling for Arm.
2003-01-07 00:39:17 +00:00
Ulrich Drepper
d45a8f827e
(inline_syscall_r0_constraint): Rename to...
...
(inline_syscall_r0_out_constraint): ... this. Add =.
(inline_syscall[0-6]): Use inline_syscall_r0_out_constraint.
2003-01-06 23:52:06 +00:00
Andreas Schwab
eff2079d51
(sysdep-CFLAGS): Increase inline limit.
2003-01-06 18:11:24 +00:00
Andreas Schwab
a89c56aac4
(elf_machine_runtime_setup): Make sure this is always inlined.
...
(elf_machine_rela): Likewise.
2003-01-06 18:10:46 +00:00
Andreas Schwab
c0713cc0e0
(CFLAGS-.oS): Append -fPIC.
2003-01-05 17:14:17 +00:00
Andreas Schwab
2bf8a54e87
Add nanosecond fields.
2003-01-04 22:51:16 +00:00
Ulrich Drepper
d0a6689abf
(inline_syscall_r0_asm): New.
...
(inline_syscall_r0_constraint): New.
(inline_syscall[0-6]): Use them.
2003-01-03 21:59:45 +00:00
Ulrich Drepper
eb22472e6f
(__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with
...
#ifndef LIBC_SIGACTION.
2003-01-03 00:42:10 +00:00
Ulrich Drepper
7de021d588
(__GI_accept): New alias to accept.
2002-12-31 20:44:02 +00:00
Ulrich Drepper
40efe6690b
(accept): Add libc_hidden_def.
2002-12-31 20:41:23 +00:00
Ulrich Drepper
ff1d023da3
(__lseek): Add libc_hidden_def.
2002-12-31 20:40:18 +00:00
Ulrich Drepper
db16023193
Use libc_hidden_def(name) instead of strong_alias (name, __GI_name).
2002-12-31 20:37:32 +00:00
Andreas Jaeger
7922283928
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
...
with Linux kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
__unused[1-3] since they're needed by some platforms. Handle
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
for structs stat and stat64.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2002-12-31 13:24:33 +00:00
Ulrich Drepper
c505de0a40
Add __GI___vfork alias.
2002-12-31 11:10:33 +00:00
Ulrich Drepper
7e587d1822
Add __GI___fork alias.
2002-12-31 11:07:26 +00:00
Ulrich Drepper
7a077bd196
Add libc_hidden_def for __fork.
2002-12-31 11:05:04 +00:00
Ulrich Drepper
c63e402a12
Add libc_hidden_def for __nanosleep.
2002-12-31 10:22:40 +00:00
Ulrich Drepper
044758323b
Add __GI__setjmp alias.
2002-12-31 09:35:36 +00:00
Andreas Schwab
e88c122c4f
Add cancellation support.
2002-12-27 22:15:18 +00:00
Andreas Schwab
4b5b9a0718
Fix thinko.
2002-12-21 21:05:31 +00:00
Andreas Schwab
9d3831f374
(SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
2002-12-21 20:08:15 +00:00
Andreas Schwab
fb9016614d
Fix warning.
2002-12-21 20:07:49 +00:00
Andreas Schwab
5d384858ff
(INTERNAL_SYSCALL): Define.
...
(INLINE_SYSCALL): Use it.
(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.
2002-12-21 19:36:50 +00:00
Andreas Schwab
d68f861c07
Use INTERNAL_SYSCALL.
2002-12-21 19:36:29 +00:00
Ulrich Drepper
c025bbf609
Elide compatibility cruft when new enough kernel is assumed.
2002-12-21 18:37:16 +00:00
Ulrich Drepper
5b52ee1753
Small optimisation.
2002-12-21 18:36:55 +00:00
Ulrich Drepper
a16ce997aa
(_start): Optimise a little. Push stack top as seventh arg to
...
__libc_start_main.
2002-12-21 18:36:32 +00:00
Ulrich Drepper
9526f1fb77
Define SHM_HUGETLB.
2002-12-20 10:31:10 +00:00
Ulrich Drepper
762566f73f
(msgrcv, msgsnd): Make cancelable.
2002-12-18 01:27:42 +00:00
Ulrich Drepper
519d2b2e9f
Convert GCC extension initializer syntax to C99.
2002-12-16 23:17:43 +00:00
Roland McGrath
5a9c848490
2002-12-16 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/syscalls.list: Add getpmsg, putpmsg.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove s_getpmsg,
s_putpmsg.
* sysdeps/unix/sysv/linux/i386/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/i386/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/m68k/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/m68k/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/mips/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/mips/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/powerpc/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/powerpc/putpmsg.c: File removed.
2002-12-16 10:25:34 +00:00
Andreas Schwab
e81a170b78
Make inline syscall to _exit.
2002-12-15 21:39:21 +00:00
Ulrich Drepper
8ea965156d
(accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto): Make
...
cancelable.
2002-12-15 00:52:49 +00:00
Ulrich Drepper
9de983ba90
(llseek, pread, pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
...
sendto, osf_select): Make cancelable.
2002-12-15 00:49:51 +00:00
Ulrich Drepper
3bfd489bb9
(__libc_sigsuspend): Likewise.
2002-12-10 20:33:27 +00:00
Ulrich Drepper
b344de66b6
(__libc_select): New alias.
2002-12-10 20:33:12 +00:00
Roland McGrath
f8a26bed6f
2002-12-08 Roland McGrath <roland@redhat.com>
...
* elf/Makefile (tests): Uncomment tst-array[123].
* Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1.
* csu/elf-init.c: New file.
* csu/Makefile (routines, static-only-routines): Add elf-init.
* sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init
and __libc_csu_fini in place of _fini.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/cris/elf/start.S: Likewise.
* sysdeps/hppa/elf/start.S: Likewise.
* sysdeps/i386/elf/start.S: Likewise.
* sysdeps/ia64/elf/start.S: Likewise.
* sysdeps/m68k/elf/start.S: Likewise.
* sysdeps/mach/hurd/powerpc/static-start.S: Likewise.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
* sysdeps/s390/s390-32/elf/start.S: Likewise.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
* sysdeps/sh/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/x86_64/elf/start.S: Likewise.
2002-12-09 20:37:24 +00:00
Ulrich Drepper
99c37bc7d8
Added SHMLBA #define.
2002-12-08 22:53:46 +00:00
Roland McGrath
fec78d3f4e
2002-12-05 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change
args to i:iipi.
(readahead): Change args to i:iii.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead):
Change args to i:iii.
* sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change
args to i:iiii.
2002-12-05 23:46:39 +00:00
Ulrich Drepper
3a56243bb0
(struct sigevent): Change type of _attribute to void*.
2002-12-05 00:23:59 +00:00
Roland McGrath
3c49a7f2c2
2002-12-02 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change
caller from EXTRA to -.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2002-12-03 07:28:08 +00:00
Roland McGrath
b7d5c13d9d
2002-12-02 Carlos O'Donell <carlos@baldric.uwo.ca>
...
* sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
bits of RM are cleared.
2002-12-03 02:50:52 +00:00
Ulrich Drepper
8545e2d25e
(inline_syscall*): Avoid "=v" constraints.
2002-11-28 22:47:27 +00:00
Ulrich Drepper
ab18ecf4a7
Change defined(USE___THREAD) to USE___THREAD.
2002-11-28 22:47:04 +00:00
Andreas Schwab
0798f1ad5e
Support inline syscall with six arguments.
2002-11-24 19:41:42 +00:00
Roland McGrath
859f3bbf75
2002-11-11 Randolf Chung <tausq@debian.org>
...
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
(F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
* sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.
2002-11-19 09:26:56 +00:00
Roland McGrath
c4eca64005
2002-11-11 Randolf Chung <tausq@debian.org>
...
* sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable.
Set -mdisable-fpregs for this file.
2002-11-19 06:41:05 +00:00
Roland McGrath
4d1f248e71
2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
...
* sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
Define mcontext_t as a sigcontext.
2002-11-19 06:41:02 +00:00
Roland McGrath
1a65a64534
2002-11-11 Randolf Chung <tausq@debian.org>
...
* sysdeps/hppa/fpu/libm-test-ulps: New file (generated).
2002-11-19 06:40:57 +00:00
Roland McGrath
d15c9a7856
2002-11-15 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
* sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.
2002-11-15 22:51:20 +00:00
Roland McGrath
b53661761b
2002-09-22 H.J. Lu <hjl@gnu.org>
...
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
* sysdeps/unix/sysv/linux/mmap64.c: ... here.
* sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,
2002-11-09 00:36:04 +00:00
Roland McGrath
fbd3097515
2002-11-07 Richard Henderson <rth@redhat.com>
...
* configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
* configure: Regenerated.
* config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
(RTLD_START): Likewise. Access _dl_skip_args, _rtld_local, and
_dl_fini via gp-relative relocations.
* sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.
* elf/tls-macros.h: Add alpha versions.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
* sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
* sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
* sysdeps/unix/sysv/linux/alpha/clone.S: 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/ieee_get_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.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/sigsuspend.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2002-11-08 02:19:00 +00:00
Roland McGrath
18fefdbe94
2002-11-07 Richard Henderson <rth@redhat.com>
...
* configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
* configure: Regenerated.
* config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
(RTLD_START): Likewise. Access _dl_skip_args, _rtld_local, and
_dl_fini via gp-relative relocations.
* sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.
2002-11-08 02:18:58 +00:00
Roland McGrath
d0d0df1dd3
2002-11-07 Richard Henderson <rth@redhat.com>
...
* linuxthreads/sysdeps/alpha/tls.h: New file.
* sysdeps/alpha/dl-tls.h: New file.
2002-11-08 02:18:51 +00:00
Roland McGrath
543d2ed9aa
2002-11-07 Richard Henderson <rth@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect.
Kill argument registers across the inline syscall.
2002-11-08 02:18:49 +00:00
Roland McGrath
d5a256add3
2002-11-07 Richard Henderson <rth@redhat.com>
...
* elf/tls-macros.h: Add alpha versions.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
* sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
* sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
* sysdeps/unix/sysv/linux/alpha/clone.S: 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/ieee_get_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.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/sigsuspend.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2002-11-08 02:18:48 +00:00
Roland McGrath
e8b06fdf73
2002-11-07 Richard Henderson <rth@redhat.com>
...
* elf/tls-macros.h: Add alpha versions.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
* sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
* sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
* sysdeps/unix/sysv/linux/alpha/clone.S: 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/ieee_get_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.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/sigsuspend.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args.
2002-11-08 02:18:45 +00:00
Roland McGrath
598b541b8c
2002-11-06 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/mips/configure.in: File removed.
* sysdeps/unix/sysv/linux/mips/configure: Likewise.
2002-11-06 22:14:25 +00:00
Roland McGrath
9752ed23d7
2002-11-05 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
From Johannes Stezenbach <js@convergence.de>.
2002-11-06 03:19:47 +00:00
Roland McGrath
f732ef26a8
2002-11-05 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change
#errlist-compat magic comment to give 123 as size.
(libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ...
(libc: GLIBC_2.2): ... here.
(libc: GLIBC_2.3): Likewise.
2002-11-06 02:53:24 +00:00
Roland McGrath
9cd89c3a1f
2002-11-02 H.J. Lu <hjl@gnu.org>
...
* sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set
caller to EXTRA instead of execve.
2002-11-02 23:13:16 +00:00
Roland McGrath
db8eb98510
2002-10-29 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
(__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
declare_symbol.
* sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
(OLD_SIGLIST_SIZE): Define.
* sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
(OLD_SIGLIST_SIZE): Define.
* sysdeps/unix/sysv/linux/arm/siglist.c: Remove.
2002-11-01 20:48:33 +00:00
Roland McGrath
8b995f35b9
2002-10-25 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
conditional from __libc_multiple_libcs access. Remove kludge for weak
symbol access with old compilers we no longer support.
* sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
* sysdeps/generic/libc-start.c (__libc_start_main): Likewise.
2002-10-25 19:41:24 +00:00
Roland McGrath
35ebee609c
2002-10-24 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here.
* sysdeps/unix/sysv/linux/init-first.c: Not here.
* sysdeps/powerpc/elf/libc-start.c: Or here.
* sysdeps/unix/sysv/aix/libc-start.c: Or here.
* sysdeps/unix/sysv/aix/start-libc.c: Or here.
* sysdeps/unix/sysv/aix/init-first.c: Or here.
* sysdeps/generic/libc-start.c: Or here.
* sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up
access with [! SHARED].
* sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
2002-10-24 19:13:38 +00:00
Roland McGrath
c71e9ba7e7
2002-10-23 Roland McGrath <roland@redhat.com>
...
* sysvipc/Makefile (headers): Add bits/ipctypes.h here.
* sysdeps/generic/bits/ipctypes.h: New file.
* sysdeps/mips/bits/ipctypes.h: New file.
* sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
* sysdeps/gnu/bits/msq.h: Likewise.
* sysvipc/sys/ipc.h: Likewise.
2002-10-23 23:49:01 +00:00
Roland McGrath
7bee643fff
2002-10-23 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
* sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
(ST_NODIRATIME): Restore fixed value of 2048.
* sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
* sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.
2002-10-23 23:48:58 +00:00
Roland McGrath
70c6be6165
2002-10-23 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
Use __SWORD_TYPE instead of int for member types.
(struct statfs64): Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
* sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
* sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
* sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.
2002-10-23 23:48:55 +00:00
Roland McGrath
c537c91430
2002-10-23 Roland McGrath <roland@redhat.com>
...
Rearranged <bits/types.h> definitions to reduce duplication.
* sysdeps/generic/bits/types.h: Rewritten, using macros from
<bits/wordsize.h> and new header <bits/typesizes.h>.
* posix/Makefile (headers): Add bits/typesizes.h here.
* sysdeps/generic/bits/typesizes.h: New file.
* sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
* sysdeps/mach/hurd/bits/typesizes.h: New file.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
* posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
<bits/pthreadtypes.h> here, not in <bits/types.h>.
* signal/signal.h: Likewise.
2002-10-23 23:48:50 +00:00
Roland McGrath
10fdbe1a5b
2002-10-19 Roland McGrath <roland@redhat.com>
...
* config.make.in: Nix completely-soft nonsense.
* configure.in: Likewise. Under --without-fp, use nofpu subdirectory
of machine directories instead of fpu subdirectory.
* sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
* sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
* sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
* sysdeps/powerpc/nofpu/sim-full.c: ... here.
* sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
* sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
* sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
* sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
* sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
* sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
* sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
* sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
* sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
* sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
* sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
* sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
* sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
* sysdeps/powerpc/nofpu/fegetenv.c: ... here.
* sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
* sysdeps/powerpc/nofpu/fesetenv.c: ... here.
* sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
* sysdeps/powerpc/nofpu/fegetround.c: ... here.
* sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
* sysdeps/powerpc/nofpu/fesetround.c: ... here.
* sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
* sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
* sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
* sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
* sysdeps/powerpc/nofpu/fenv_const.c: ... here.
* sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
* sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
* sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
* sysdeps/powerpc/nofpu/soft-supp.h: ... here.
* sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
* sysdeps/powerpc/nofpu/Versions: ... here, new file.
2002-10-19 20:06:29 +00:00
Roland McGrath
69211cccc6
2002-10-19 Roland McGrath <roland@redhat.com>
...
* configure: Regenerated (using Autoconf 2.54).
* sysdeps/alpha/elf/configure: Likewise.
* sysdeps/generic/configure: Likewise.
* sysdeps/i386/elf/configure: Likewise.
* sysdeps/ia64/elf/configure: Likewise.
* sysdeps/mach/hurd/configure: Likewise.
* sysdeps/mach/configure: Likewise.
* sysdeps/unix/configure: Likewise.
* sysdeps/unix/common/configure: Likewise.
* sysdeps/unix/sysv/aix/configure: Likewise.
* sysdeps/unix/sysv/linux/configure: Likewise.
* sysdeps/unix/sysv/linux/mips/configure: Likewise.
* sysdeps/x86_64/elf/configure: Likewise.
2002-10-19 20:03:50 +00:00
Roland McGrath
ea5a0c9530
2002-10-19 Roland McGrath <roland@redhat.com>
...
* config.make.in: Nix completely-soft nonsense.
* configure.in: Likewise. Under --without-fp, use nofpu subdirectory
of machine directories instead of fpu subdirectory.
* sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
* sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
* sysdeps/powerpc/soft-fp/sim-full.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fegetround.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fesetround.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
* sysdeps/powerpc/nofpu/Versions: ... here, new file.
2002-10-19 20:03:40 +00:00
Roland McGrath
54df0cf57d
2002-10-18 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1)
(inline_syscall_clobbers, inline_syscall0, inline_syscall1)
(inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
(inline_syscall6): Move these macros ...
* sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
2002-10-18 22:37:29 +00:00
Roland McGrath
6474e421d6
2002-10-18 Jeff Bailey <jbailey@gnu.org>
...
* sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
* sysdeps/generic/configure.in: Likewise.
* sysdeps/i386/elf/configure.in: Likewise.
* sysdeps/ia64/elf/configure.in: Likewise.
* sysdeps/mach/configure.in: Likewise.
* sysdeps/mach/hurd/configure.in: Likewise.
* sysdeps/unix/configure.in: Likewise.
* sysdeps/unix/common/configure.in: Likewise.
* sysdeps/unix/sysv/aix/configure.in: Likewise.
* sysdeps/unix/sysv/linux/configure.in: Likewise.
* sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
* sysdeps/x86_64/elf/configure.in: Likewise.
2002-10-18 22:15:36 +00:00
Roland McGrath
12e56cf46d
2002-10-18 Jeff Bailey <jbailey@gnu.org>
...
* configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
* sysdeps/alpha/elf/configure.in: Likewise.
* sysdeps/i386/elf/configure.in: Likewise.
* sysdeps/mach/hurd/configure.in: Likewise.
* sysdeps/x86_64/elf/configure.in: Likewise.
2002-10-18 20:27:53 +00:00
Roland McGrath
aa858c3e99
2002-10-18 Jeff Bailey <jbailey@gnu.org>
...
* sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
* sysdeps/generic/configure.in: Likewise.
* sysdeps/i386/elf/configure.in: Likewise.
* sysdeps/ia64/elf/configure.in: Likewise.
* sysdeps/mach/configure.in: Likewise.
* sysdeps/mach/hurd/configure.in: Likewise.
* sysdeps/unix/configure.in: Likewise.
* sysdeps/unix/common/configure.in: Likewise.
* sysdeps/unix/sysv/aix/configure.in: Likewise.
* sysdeps/unix/sysv/linux/configure.in: Likewise.
* sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
* sysdeps/x86_64/elf/configure.in: Likewise.
2002-10-18 19:38:00 +00:00
Roland McGrath
ccc5fdb26b
2002-10-18 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
(statfs_filesize_max): New function.
* sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
* sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
statfs_filesize_max.
* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
* sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
* sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
2002-10-18 19:03:49 +00:00
Roland McGrath
cfe08a2c2a
2002-10-16 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
* sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
* sysdeps/unix/sysv/linux/pathconf.h: New file.
(statfs_link_max): New function, guts from fpathconf.c.
* sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
* sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
to use the linux/pathconf.c code by #include rather than duplication.
* sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
2002-10-16 22:09:41 +00:00
Roland McGrath
a527394147
2002-10-15 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t
instead of int for msg_iovlen, instead of socklen_t for msg_controllen.
Other than the previously incorrect sign of msg_iovlen, this is a
no-op on 32-bit platforms. On 64-bit platforms it makes this header
match their layouts as well, so the following are now identical to it.
* sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed.
* sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed.
* sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed.
* sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
2002-10-16 01:02:28 +00:00
Roland McGrath
ac33e75b3e
2002-10-15 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents
of the sysdeps/unix/sysv/linux/i386/bits/resource.h file.
All the following files were identical or equivalent to it.
* sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
2002-10-16 01:02:24 +00:00
Ulrich Drepper
cd4fba2b2b
(__fpathconf): Add support for reiserfs and xfs.
2002-10-16 00:36:59 +00:00
Ulrich Drepper
75380e2be2
(profil_counter): Add hack to prevent the compiler from clobbering the signal
...
context.
2002-10-14 17:26:14 +00:00
Andreas Jaeger
f51d253191
Regenerated.
2002-10-14 08:59:01 +00:00
Roland McGrath
506ee216c4
2002-10-13 Roland McGrath <roland@frob.com>
...
* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
setresgid): Declare them.
* NEWS: Mention it.
* include/unistd.h
(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
add libc_hidden_proto.
* posix/Versions (libc: GLIBC_2.3.2): New set. Add
getresuid, getresgid, setresuid, setresgid here.
* Versions.def (libc): Define GLIBC_2.3.2 set.
* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
Add libc_hidden_def.
* sysdeps/generic/getresgid.c (__getresgid): Likewise.
* sysdeps/generic/setresgid.c: New file.
* sysdeps/generic/setresuid.c: New file.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add getresuid and getresgid here.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add setresuid and setresgid here.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* posix/Makefile (routines): Add them all here instead.
* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
__getresuid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
__getresgid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
__setresgid. Add libc_hidden_def for that, and weak alias to old name.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
Caller is - now, not EXTRA.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(setresuid, setresgid, getresuid, getresgid): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
Add these calls here.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2002-10-14 01:03:03 +00:00
Roland McGrath
0a26934100
2002-10-13 Roland McGrath <roland@frob.com>
...
* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
setresgid): Declare them.
* NEWS: Mention it.
* include/unistd.h
(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
add libc_hidden_proto.
* posix/Versions (libc: GLIBC_2.3.2): New set. Add
getresuid, getresgid, setresuid, setresgid here.
* Versions.def (libc): Define GLIBC_2.3.2 set.
* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
Add libc_hidden_def.
* sysdeps/generic/getresgid.c (__getresgid): Likewise.
* sysdeps/generic/setresgid.c: New file.
* sysdeps/generic/setresuid.c: New file.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add getresuid and getresgid here.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add setresuid and setresgid here.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* posix/Makefile (routines): Add them all here instead.
* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
__getresuid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
__getresgid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
__setresgid. Add libc_hidden_def for that, and weak alias to old name.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
Caller is - now, not EXTRA.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(setresuid, setresgid, getresuid, getresgid): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
Add these calls here.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Add setfsuid and setfsgid here.
* sysdeps/unix/sysv/linux/arm/Makefile: Not here.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2002-10-14 01:02:53 +00:00
Roland McGrath
d030d52da2
2002-10-07 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/errno.c: New file.
* csu/Makefile (aux): New variable, list errno.
* sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
* sysdeps/unix/alpha/sysdep.S: Likewise.
* sysdeps/generic/start.c: Likewise.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/arm/start.c: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
2002-10-11 10:51:31 +00:00
Ulrich Drepper
402dbb2e81
(__writev): Rename to __libc_writev and make old name an alias.
2002-10-09 09:35:00 +00:00
Ulrich Drepper
c45957343f
(waitid): Rename to __waitid and make old name an alias.
2002-10-09 09:28:58 +00:00
Ulrich Drepper
ce9fa295f0
(__readv): Rename to __libc_readv and make old name an alias.
2002-10-09 09:25:29 +00:00
Ulrich Drepper
d78045b1a2
Don't access memory beyond the source buffer.
2002-10-03 09:14:46 +00:00
Ulrich Drepper
96408c1d8c
Not needed anymore. The generic version is sufficient.
2002-10-03 08:57:30 +00:00
Ulrich Drepper
5a0ab8474e
Remove net/route.h.
2002-10-03 08:54:48 +00:00
Ulrich Drepper
01c4c1c9aa
Avoid unterminated string literals.
2002-10-03 00:17:29 +00:00
Ulrich Drepper
d044736b27
Temporarily enable R_*_NONE relocs in ld.so.
2002-10-02 20:24:20 +00:00
Andreas Jaeger
5e2fa76de2
* sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition.
...
* sysdeps/mips/fpu/fesetenv.c: Likewise.
2002-10-02 11:01:06 +00:00
Ulrich Drepper
91bd985838
Regenerated: autoconf sysdeps/unix/sysv/aix/configure.in
2002-10-02 05:08:36 +00:00
Ulrich Drepper
cf16933e96
Regenerated: autoconf sysdeps/alpha/elf/configure.in
2002-10-02 05:07:46 +00:00
Roland McGrath
692e7ab8e1
2002-02-08 Randolph Chung <tausq@debian.org>
...
* sysdeps/hppa/elf/start.S: Define __data_start.
2002-10-01 19:42:02 +00:00
Roland McGrath
700494fc4b
2002-10-01 Carlos O'Donell <carlos@baldric.uwo.ca>
...
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
[__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros.
[__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME,
DN_ATTRIB, DN_MULTISHOT): New macros.
2002-10-01 19:42:01 +00:00
Roland McGrath
a30e09230b
2002-09-28 Roland McGrath <roland@redhat.com>
...
* sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE for
_dl_signal_error.
* sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise.
* sysdeps/powerpc/powerpc64/dl-machine.c
(_dl_reloc_overflow): Likewise.
* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_rela): Likewise.
2002-09-28 19:45:29 +00:00
Ulrich Drepper
9fe8d7ced1
Update comment and remove stdio=libio setting.
2002-09-28 18:03:10 +00:00
Ulrich Drepper
8ee7624e87
Not needed anymore.
2002-09-28 18:02:05 +00:00
Andreas Jaeger
b1cbca217e
Fix number of args to syscall.
2002-09-28 13:40:10 +00:00
Ulrich Drepper
926092e807
Define macro DO_ELF_MACHINE_REL_RELATIVE for 'elf_machine_rel_relative' with
...
extra map parameter required by HPPA.
(elf_machine_rela_relative): Add plt relocation changes.
2002-09-28 04:34:00 +00:00
Ulrich Drepper
0a398af98d
SysV shared memory definitions for Linux/PA.
2002-09-28 04:05:23 +00:00
Ulrich Drepper
895185c62e
SysV semaphore definitions for Linux/PA.
2002-09-28 04:04:44 +00:00
Ulrich Drepper
535cdc5140
SysV message queue definitions for Linux/PA.
2002-09-28 04:03:54 +00:00
Ulrich Drepper
53c72cc1d6
IPC definitions for Linux/PA.
2002-09-28 04:02:56 +00:00
Andreas Jaeger
dafc949f65
Add syscall_exit.
2002-09-25 11:09:55 +00:00
Roland McGrath
20f7e3e794
2002-09-24 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed.
It was indentical to the linux/bits/time.h file.
2002-09-25 01:57:50 +00:00
Roland McGrath
e6697827c9
2002-09-21 Carlos O'Donell <carlos@baldric.uwo.ca>
...
* sysdeps/hppa/abort-instr.h: New file.
2002-09-23 03:30:34 +00:00
Andreas Schwab
0220ef788b
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal)
...
(isless, islessequal, islessgreater, isunordered) [GCC >= 3.1]:
Use GCC builtins.
2002-09-22 16:47:55 +00:00
Roland McGrath
93697b95eb
2002-09-20 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/gmp-mparam.h: Include <bits/wordsize.h>.
(BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB, BITS_PER_LONGINT): Define in
terms of __WORDSIZE.
* sysdeps/x86_64/gmp-mparam.h: File removed.
* sysdeps/sparc/gmp-mparam.h: File removed.
* sysdeps/mips/mips64/gmp-mparam.h: File removed.
* sysdeps/ia64/gmp-mparam.h: File removed.
* sysdeps/alpha/gmp-mparam.h: File removed.
2002-09-20 21:49:06 +00:00
Ulrich Drepper
f4a4647bce
(sysdep_routines, shared-only-routines): Don't add divdi3 here.
2002-09-19 06:46:37 +00:00
Ulrich Drepper
f756cedbff
Not needed anymore.
2002-09-19 06:44:24 +00:00
Roland McGrath
ce8a8f74e4
2002-09-18 Roland McGrath <roland@redhat.com>
...
* elf/do-rel.h (elf_dynamic_do_rel): Mask off 0x8000 bit (hidden flag)
from the value taken from the DT_VERSYM table.
* elf/dl-runtime.c (fixup, profile_fixup): Likewise.
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Likewise.
(RESOLVE_GOTSYM): Likewise.
2002-09-18 18:28:43 +00:00
Roland McGrath
c5947147ec
2002-09-18 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
Add libc_hidden_def.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2002-09-18 17:45:53 +00:00
Andreas Jaeger
ad9dff54b0
Add readahead syscall.
2002-09-13 07:12:28 +00:00
Andreas Jaeger
0752643673
Cleaned up the FPU exception stuff - was
...
not functional before. Also removed all SHLIB_COMPAT stuff.
2002-09-10 11:24:50 +00:00
Andreas Jaeger
af43a56542
MIPS specific optimizations.
2002-09-10 11:23:00 +00:00
Ulrich Drepper
280ad607c7
Add libm_hidden_ver.
2002-09-10 01:26:37 +00:00
Ulrich Drepper
fd8d18b3d8
(__isnanl): Add hidden_def.
2002-09-10 01:14:47 +00:00
Ulrich Drepper
d9a08fdfeb
(__expm1l): Add libm_hidden_def.
2002-09-10 01:12:49 +00:00
Ulrich Drepper
ce73ae2db2
(__fpclassifyl): Add libm_hidden_def.
2002-09-10 01:11:47 +00:00
Ulrich Drepper
059d7143ed
(INTDEFX): Remove.
...
(hidden_defx): Define and use.
2002-09-10 01:10:41 +00:00
Ulrich Drepper
f3a580877e
(__isinfl): Remove INTDEF. Add hidden_def.
2002-09-10 01:05:50 +00:00
Roland McGrath
e699500013
2002-09-04 Bruno Haible <bruno@clisp.org>
...
* sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Turn into inline functions.
* sysdeps/unix/sysv/aix/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Likewise.
* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Likewise.
2002-09-05 18:51:44 +00:00
Ulrich Drepper
0d272f7da5
pipe implementation for Linux/Alpha.
2002-08-29 00:00:38 +00:00
Ulrich Drepper
d86c4cf889
(ECANCELED): Define to ECANCELLED if not defined by kernel headers.
2002-08-28 23:58:20 +00:00
Ulrich Drepper
50d9769d4b
Error codes for Linux/Alpha.
2002-08-28 23:58:00 +00:00
Ulrich Drepper
6735862339
(libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
...
(librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3.
2002-08-28 23:55:01 +00:00
Ulrich Drepper
0c605f5013
(libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
2002-08-28 23:53:22 +00:00
Ulrich Drepper
efd36212eb
Regenerated.
2002-08-28 22:15:36 +00:00
Ulrich Drepper
9d131243df
(libc_cv_alpha_hidden_gprel): New check.
...
(PI_STATIC_AND_HIDDEN): Define if check succeeded.
2002-08-28 22:15:22 +00:00
Ulrich Drepper
bbb3856d85
Avoid unescaped newlines in string constants.
2002-08-28 21:26:20 +00:00
Ulrich Drepper
48fa58aa12
Add dl-brk.S.
2002-08-28 08:54:42 +00:00
Ulrich Drepper
658e7fb4a4
Extra files to distribute for SunOS <= 4.
2002-08-28 08:39:11 +00:00
Ulrich Drepper
bbc364a939
Extra files to distribute for OSF.
2002-08-28 08:36:00 +00:00
Ulrich Drepper
00167bfefd
Extra files to distribute on HP.
2002-08-28 08:35:02 +00:00
Ulrich Drepper
2547aab14a
Additional files to distribute for Unix on Arm.
2002-08-28 08:30:53 +00:00
Ulrich Drepper
b45f281680
Add sys/user.h.
2002-08-27 16:06:03 +00:00
Ulrich Drepper
5e1676a5fd
Extra files to distribute for Hurd/Alpha.
2002-08-27 15:52:10 +00:00
Ulrich Drepper
bc2a913308
Add bits/link.h.
2002-08-27 12:07:22 +00:00
Roland McGrath
0a59ce67bf
2002-08-26 Roland McGrath <roland@redhat.com>
...
* sysdeps/gnu/Versions: New file.
* sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.1): Remove
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr; from here.
* sysdeps/gnu/Makefile ($(..)sysdeps/gnu/errlist-compat.c): New target.
($(objpfx)errlist.d): Depend on $(..)sysdeps/gnu/errlist-compat.c.
* sysdeps/gnu/errlist.awk: Make output define _sys_errlist_internal
and _sys_nerr_internal instead of anything else. Make it include
"errlist-compat.c" if [!NOT_IN_libc && !ERRLIST_NO_COMPAT].
Make it emit some asm magic if [EMIT_ERR_MAX].
* sysdeps/gnu/errlist.c: Regenerated.
* sysdeps/gnu/errlist-compat.awk: New file.
* sysdeps/gnu/errlist-compat.c: New file (generated).
* sysdeps/mach/hurd/errlist.c (ERRLIST_NO_COMPAT): New macro.
(_sys_errlist_internal): Define this as a macro for _hurd_errlist.
(_sys_nerr_internal): Define this is a macro for _hurd_nerr.
(SYS_ERRLIST, SYS_NERR): Macros removed.
(sys_nerr, _sys_nerr): Remove these weak aliases.
* sysdeps/unix/sysv/linux/errlist.c: File removed.
* sysdeps/unix/sysv/linux/errlist.h: File removed.
* sysdeps/unix/sysv/linux/arm/errlist.c: File removed.
2002-08-27 09:22:36 +00:00
Roland McGrath
1717fd72fb
2002-08-26 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Replace
macro with inline function.
(sigset_get_old_mask): Likewise.
* sysdeps/posix/sigblock.c (__sigblock): Update callers.
* sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
* sysdeps/posix/sigpause.c (__sigpause): Likewise.
* sysdeps/posix/sigvec.c (__sigvec, sigvec_wrapper_handler): Likewise.
* sysdeps/unix/sysv/aix/sigset-cvt-mask.h
(sigset_set_old_mask, sigset_get_old_mask): Make these macros return
values.
* sysdeps/unix/sysv/linux/sigset-cvt-mask.h: Likewise.
* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: Likewise.
2002-08-27 02:43:04 +00:00
Roland McGrath
f22dc06d3d
2002-08-26 Brian Youmans <3diff@gnu.org>
...
* crypt/crypt.c: Changed copying permission notice to Lesser GPL
from Library GPL.
* crypt/crypt_util.c: Likewise.
* crypt/ufc.c: Likewise.
* elf/dl-conflict.c: Likewise.
* elf/dl-iteratephdr.c: Likewise.
* iconv/iconvconfig.h: Likewise.
* linuxthreads/Examples/ex10.c: Likewise.
* linuxthreads/Examples/ex11.c: Likewise.
* linuxthreads/Examples/ex13.c: Likewise.
* linuxthreads/Examples/ex8.c: Likewise.
* linuxthreads/Examples/ex9.c: Likewise.
* linuxthreads/barrier.c: Likewise.
* linuxthreads/events.c: Likewise.
* linuxthreads/lockfile.c: Likewise.
* linuxthreads/no-tsd.c: Likewise.
* linuxthreads/pt-machine.c: Likewise.
* linuxthreads/ptclock_gettime.c: Likewise.
* linuxthreads/ptclock_settime.c: Likewise.
* linuxthreads/rwlock.c: Likewise.
* linuxthreads/sysdeps/alpha/pspinlock.c: Likewise.
* linuxthreads/sysdeps/alpha/pt-machine.h: Likewise.
* linuxthreads/sysdeps/arm/pspinlock.c: Likewise.
* linuxthreads/sysdeps/arm/pt-machine.h: Likewise.
* linuxthreads/sysdeps/cris/pspinlock.c: Likewise.
* linuxthreads/sysdeps/cris/pt-machine.h: Likewise.
* linuxthreads/sysdeps/hppa/pspinlock.c: Likewise.
* linuxthreads/sysdeps/hppa/pt-machine.h: Likewise.
* linuxthreads/sysdeps/i386/i686/pt-machine.h: Likewise.
* linuxthreads/sysdeps/i386/pspinlock.c: Likewise.
* linuxthreads/sysdeps/i386/pt-machine.h: Likewise.
* linuxthreads/sysdeps/i386/useldt.h: Likewise.
* linuxthreads/sysdeps/ia64/pspinlock.c: Likewise.
* linuxthreads/sysdeps/ia64/pt-machine.h: Likewise.
* linuxthreads/sysdeps/m68k/pspinlock.c: Likewise.
* linuxthreads/sysdeps/m68k/pt-machine.h: Likewise.
* linuxthreads/sysdeps/mips/pspinlock.c: Likewise.
* linuxthreads/sysdeps/mips/pt-machine.h: Likewise.
* linuxthreads/sysdeps/powerpc/pspinlock.c: Likewise.
* linuxthreads/sysdeps/powerpc/pt-machine.h: Likewise.
* linuxthreads/sysdeps/pthread/bits/initspin.h: Likewise.
* linuxthreads/sysdeps/pthread/bits/libc-lock.h: Likewise.
* linuxthreads/sysdeps/pthread/bits/libc-tsd.h: Likewise.
* linuxthreads/sysdeps/pthread/getcpuclockid.c: Likewise.
* linuxthreads/sysdeps/pthread/posix-timer.h: Likewise.
* linuxthreads/sysdeps/pthread/timer_create.c: Likewise.
* linuxthreads/sysdeps/pthread/timer_delete.c: Likewise.
* linuxthreads/sysdeps/pthread/timer_getoverr.c: Likewise.
* linuxthreads/sysdeps/pthread/timer_gettime.c: Likewise.
* linuxthreads/sysdeps/pthread/timer_routines.c: Likewise.
* linuxthreads/sysdeps/pthread/timer_settime.c: Likewise.
* linuxthreads/sysdeps/pthread/tst-timer.c: Likewise.
* linuxthreads/sysdeps/s390/pspinlock.c: Likewise.
* linuxthreads/sysdeps/s390/s390-32/pt-machine.h: Likewise.
* linuxthreads/sysdeps/s390/s390-64/pt-machine.h: Likewise.
* linuxthreads/sysdeps/sh/pspinlock.c: Likewise.
* linuxthreads/sysdeps/sh/pt-machine.h: Likewise.
* linuxthreads/sysdeps/sparc/sparc32/pspinlock.c: Likewise.
* linuxthreads/sysdeps/sparc/sparc32/pt-machine.h: Likewise.
* linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c: Likewise.
* linuxthreads/sysdeps/sparc/sparc64/pspinlock.c: Likewise.
* linuxthreads/sysdeps/sparc/sparc64/pt-machine.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/hppa/bits/initspin.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* linuxthreads/tststack.c: Likewise.
* linuxthreads/unload.c: Likewise.
* linuxthreads/weaks.c: Likewise.
* linuxthreads/wrapsyscall.c: Likewise.
* malloc/arena.c: Likewise.
* malloc/hooks.c: Likewise.
* malloc/malloc.c: Likewise.
* posix/glob/Makefile.am: Likewise.
* posix/glob/Makefile.in: Likewise.
* stdlib/gmp-impl.h: Likewise.
* stdlib/gmp.h: Likewise.
* sysdeps/generic/dl-iteratephdr-static.c: Likewise.
* sysdeps/generic/strnlen.c: Likewise.
* sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/recvmsg.c: Likewise.
* sysdeps/mach/hurd/sendmsg.c: Likewise.
* sysdeps/mach/hurd/spawni.c: Likewise.
* sysdeps/mach/powerpc/machine-sp.h: Likewise.
* sysdeps/mach/powerpc/sysdep.h: Likewise.
* sysdeps/mach/powerpc/thread_state.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: Likewise.
* sysdeps/x86_64/gmp-mparam.h: Likewise.
2002-08-26 22:39:52 +00:00
Roland McGrath
ae287b1900
2002-07-06 Bruno Haible <bruno@clisp.org>
...
* sysdeps/unix/fork.S: Fix PSEUDO_END argument.
* sysdeps/unix/arm/fork.S: Likewise.
2002-08-26 11:37:38 +00:00
Roland McGrath
12ddb09b0a
2002-07-06 Bruno Haible <bruno@clisp.org>
...
* sysdeps/alpha/fpu/fpu_control.h: Comment fix.
2002-08-26 11:37:35 +00:00
Roland McGrath
13d6ef283d
2002-07-06 Bruno Haible <bruno@clisp.org>
...
* sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ...
* sysdeps/unix/alpha/pipe.S: ... here.
* sysdeps/unix/bsd/osf/alpha/pipe.S: File removed.
2002-08-26 11:37:32 +00:00
Roland McGrath
631d94cb30
2002-07-06 Bruno Haible <bruno@clisp.org>
...
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
2002-08-26 11:37:24 +00:00
Ulrich Drepper
564fb196d6
SysV message queue definitions for Linux/MIPS.
2002-08-26 01:49:55 +00:00
Ulrich Drepper
9c3c87e2ec
Update comment regarding placement of errno definition.
2002-08-24 23:26:47 +00:00
Ulrich Drepper
28fdb447c1
Define SHMLBA.
2002-08-23 22:26:25 +00:00
Andreas Jaeger
1077d52cfb
Remove *xattr syscalls.
2002-08-23 09:29:00 +00:00
Andreas Jaeger
978d532dd9
Regenerate.
2002-08-19 07:41:58 +00:00
Andreas Jaeger
074a6e5efa
Add *xattr syscalls with version 2.3.
2002-08-15 09:01:52 +00:00
Roland McGrath
94a376cc2c
2002-08-12 Roland McGrath <roland@redhat.com>
...
* include/grp.h (setgroups): Add libc_hidden_proto.
* sysdeps/generic/setgroups.c: Add libc_hidden_def.
* sysdeps/mach/hurd/setgroups.c: Likewise.
* sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2002-08-13 01:07:58 +00:00
Roland McGrath
84091b65ff
2002-08-12 Roland McGrath <roland@redhat.com>
...
* include/sys/wait.h (__waitpid): Add libc_hidden_proto.
* sysdeps/unix/sysv/sco3.2.4/waitpid.S: Add libc_hidden_def.
* sysdeps/unix/sysv/sysv4/waitpid.c: Add libc_hidden_weak.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
* sysdeps/unix/sysv/aix/waitpid.c: Likewise.
* sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
* sysdeps/generic/waitpid.c: Likewise.
2002-08-13 01:07:52 +00:00
Roland McGrath
f994831e93
2002-08-13 Jakub Jelinek <jakub@redhat.com>
...
* include/sys/stat.h (__fxstat_internal, __fxstat64_internal,
__lxstat_internal, __lxstat64_internal): Remove.
(__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64):
Add hidden_proto.
* sysdeps/generic/fxstat.c (__fxstat): Add hidden_def.
Remove INTDEF where present, remove #undef at the beginning.
* sysdeps/generic/fxstat64.c (__fxstat64): Likewise.
* sysdeps/generic/lxstat.c (__lxstat): Likewise.
* sysdeps/generic/lxstat64.c (__lxstat64): Likewise.
* sysdeps/generic/xstat.c (__xstat): Likewise.
* sysdeps/generic/xstat64.c (__xstat64): Likewise.
* sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise.
* sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
* sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
* sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
* sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
* sysdeps/mach/hurd/xstat.c (__xstat): Likewise.
* sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/common/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise.
* sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/xstat.c (__xstat): Likewise.
2002-08-13 00:23:09 +00:00
Roland McGrath
9c1cc5c52c
2002-08-13 Jakub Jelinek <jakub@redhat.com>
...
* include/unistd.h (tcgetpgrp): Add libc_hidden_proto.
* include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise.
* sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def.
* sysdeps/generic/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed):
Likewise.
* sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.
2002-08-13 00:23:01 +00:00
Roland McGrath
e0acc021ce
2002-08-13 Jakub Jelinek <jakub@redhat.com>
...
* include/unistd.h (seteuid, setegid): Add libc_hidden_proto.
* sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def.
* sysdeps/generic/setegid.c (setegid): Likewise.
* sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
* sysdeps/mach/hurd/setegid.c (setegid): Likewise.
* sysdeps/unix/bsd/seteuid.c (seteuid): Likewise.
* sysdeps/unix/bsd/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
Remove fallback if __ASSUME_SETRESUID_SYSCALL.
2002-08-13 00:22:48 +00:00
Ulrich Drepper
488003cd6b
Makefile for arm.
2002-08-12 19:36:38 +00:00
Roland McGrath
216e12e222
2002-08-03 Roland McGrath <roland@redhat.com>
...
* include/sys/resource.h: Use libc_hidden_proto for getpriority,
setpriority.
* sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
* sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
* sysdeps/mach/hurd/setpriority.c: Likewise.
* sysdeps/mach/hurd/getpriority.c: Likewise.
* sysdeps/generic/setpriority.c: Likewise.
* sysdeps/generic/getpriority.c: Likewise.
2002-08-05 02:18:11 +00:00
Ulrich Drepper
28b5d5afc6
(glob, globfree, globfree64): Add libc_hidden_ver.
2002-08-05 00:31:32 +00:00
Ulrich Drepper
9b4c30e300
Add _sys_siglist_internal alias.
2002-08-04 23:26:50 +00:00
Ulrich Drepper
a42044dc37
(__xmknod): Add libc_hidden_def.
2002-08-04 09:23:46 +00:00
Ulrich Drepper
1d343348c1
(__sysconf): Add libc_hidden_def.
2002-08-04 09:16:35 +00:00
Roland McGrath
e38327be06
2002-08-03 Roland McGrath <roland@redhat.com>
...
* include/sys/resource.h: Use libc_hidden_proto for getpriority,
setpriority.
* sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
* sysdeps/mach/hurd/setpriority.c: Likewise.
* sysdeps/mach/hurd/getpriority.c: Likewise.
* sysdeps/generic/setpriority.c: Likewise.
* sysdeps/generic/getpriority.c: Likewise.
2002-08-04 03:50:10 +00:00
Roland McGrath
237b9f1c7b
2002-08-03 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/x86_64/clone.S (thread_start): Use
HIDDEN_JUMPTARGET for _exit.
* sysdeps/unix/sysv/linux/m68k/clone.S (thread_start): Likewise.
* sysdeps/unix/sysv/linux/i386/clone.S (thread_start): Likewise.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/_exit.S (_exit): Add libc_hidden_def.
2002-08-04 01:28:09 +00:00
Ulrich Drepper
e5d48d74e6
(__stpcpy): Add libc_hidden_def.
2002-08-04 01:22:10 +00:00
Roland McGrath
6af0779175
2002-08-03 Roland McGrath <roland@redhat.com>
...
* include/signal.h: Use libc_hidden_proto for raise, sigemptyset,
sigfillset, sigismember, __sigpause, __libc_current_sigrtmin,
and __libc_current_sigrtmax.
* signal/sigismem.c: Add libc_hidden_def.
* signal/sigfillset.c: Likewise.
* signal/sigempty.c: Likewise.
* sysdeps/generic/sigpause.c (__sigpause): Likewise.
* sysdeps/posix/sigpause.c (__sigpause): Likewise.
* sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
2002-08-03 22:26:02 +00:00
Ulrich Drepper
9f0c7fbd18
Remove all __GI_* aliases.
2002-08-03 19:44:44 +00:00
Ulrich Drepper
78413eec88
Add __GI_ aliases.
2002-08-03 06:58:54 +00:00
Ulrich Drepper
da5f5f7986
Add libc_hidden_def. Remove undef and INTDEF.
2002-08-03 06:57:53 +00:00
Ulrich Drepper
b8daff95dd
(__rawmemchr): Add libc_hidden_def.
2002-08-03 06:41:33 +00:00
Ulrich Drepper
d8c656cee5
(__stpncpy): Add libc_hidden_def.
2002-08-03 06:30:45 +00:00
Ulrich Drepper
4def79b563
(__adjtimex_internal): Add alias.
2002-07-27 08:40:18 +00:00
Ulrich Drepper
31db6c4d74
(PUSHARGS_1): Use more efficient instruction.
...
(__socket): Optimize return sequence.
2002-07-24 17:36:44 +00:00
Ulrich Drepper
541ee34198
Improve schedule.
2002-07-24 17:36:14 +00:00
Ulrich Drepper
b24fa78c3b
Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist
...
as strong alias.
2002-07-24 11:17:01 +00:00
Ulrich Drepper
841f536f46
Remove __set_errno definition.
2002-07-20 01:02:01 +00:00
Ulrich Drepper
d7fafc1a39
Sign extend offset.
2002-07-17 20:42:56 +00:00
Ulrich Drepper
176b5726d7
Don't include <sgidefs.h>. Always use ll/sc.
2002-07-16 00:58:07 +00:00