Roland McGrath
f85a9e6198
* sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to
...
rt_sigprocmask system call.
* sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value.
From Peter A. Buhr <pabuhr@plg2.math.uwaterloo.ca>.
2003-05-28 20:45:44 +00:00
Ulrich Drepper
bc4647a17c
Update.
...
2003-05-28 Ulrich Drepper <drepper@redhat.com>
* include/libc-symbols.h: Define hidden attribute for real also if
LIBC_NONSHARED is defined. Patch by Jakub Jelinek.
* csu/Makefile: Add rules to build Scrt1.o.
* sysdeps/i386/elf/start.S: Make code compilable with SHARED.
2003-05-28 19:56:24 +00:00
Ulrich Drepper
40a54e4d8d
Update.
...
2003-05-27 Jakub Jelinek <jakub@redhat.com>
* stdio-common/vfprintf.c (process_arg, process_string_arg): Use
pa_int/pa_u_int instead of pa_short_int, pa_u_short_int and pa_char.
* stdio-common/printf-parse.h (union printf_arg): Remove pa_char,
pa_short_int, pa_u_short_int and pa_float.
2003-05-26 Jakub Jelinek <jakub@redhat.com>
* libio/strops.c (_IO_str_init_static): Change into a wrapper around
_IO_str_init_static_internal.
(_IO_str_init_static_internal): Moved from _IO_str_init_static,
change size argument to _IO_size_t, don't limit sprintf to 64M.
(_IO_str_init_readonly): Call _IO_str_init_static_internal.
* libio/wstrops.c (_IO_wstr_init_static): Change size argument to
_IO_size_t, don't limit swprintf to 256M.
(_IO_wstr_init_readonly): Remove.
* libio/libioP.h (_IO_str_init_static_internal, _IO_wstr_init_static):
Adjust prototypes.
(_IO_wstr_init_readonly): Remove prototype.
* libio/iovsprintf.c (_IO_vsprintf): Use
_IO_str_init_static_internal instead of INTUSE(_IO_str_init_static).
* libio/iovsscanf.c (_IO_vsscanf): Likewise.
* libio/memstream.c (open_memstream): Likewise.
* libio/obprintf.c (_IO_obstack_vfprintf): Likewise.
* libio/vasprintf.c (_IO_vasprintf): Likewise.
* libio/vsnprintf.c (_IO_vsnprintf): Likewise.
* stdio-common/tst-sprintf.c (main): Add new test.
2003-05-27 08:03:32 +00:00
Ulrich Drepper
6458d81479
Update.
...
2003-05-26 Ulrich Drepper <drepper@redhat.com>
* stdio-common/vfprintf.c (vfprintf): Be bug-compatible with some
other implementation in respect of multiple uses of parameter with
different types.
2003-05-26 08:56:39 +00:00
Ulrich Drepper
69431c9a21
Update.
...
2003-05-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_FUTEX_REQUEUE for >= 2.5.70.
* math/test-fenv.c (feexcp_nomask_test): Fix comment.
2003-05-26 02:47:39 +00:00
Andreas Jaeger
5550a8faf4
Update.
...
2003-05-22 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Add CFI
directives.
* sysdeps/unix/sysv/linux/x86_64/time.S: Likewise.
* sysdeps/x86_64/strtok.S: Likewise.
2003-05-22 04:07:17 +00:00
Andreas Jaeger
3087604fc9
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-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
cca4aa58b5
Update.
...
2003-05-21 H.J. Lu <hongjiu.lu@intel.com>
* math/test-fenv.c (feexcp_nomask_test): Fix comment
(feexcp_mask_test): Likewise.
2003-05-22 02:09:54 +00:00
Ulrich Drepper
84c9409e9c
Update.
...
* locale/programs/locale.c (main): Fix typo in last patch.
2003-05-22 00:41:32 +00:00
Ulrich Drepper
6d1d0720b1
Update.
...
2003-05-21 Ulrich Drepper <drepper@redhat.com>
* csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end,
__init_array_start, __init_array_end, __fini_array_start, and
__fini_array_end as hidden.
2003-05-21 19:38:39 +00:00
Ulrich Drepper
2e1198646d
Update.
...
2003-05-21 Petter Reinholdtsen <pere@hungry.com>
* locale/programs/locale.c (main): Report an error if setlocale()
fails [PR libc/2254].
2003-05-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/s390/system.c: New file.
2003-05-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_0,
LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5,
LOADARGS_6): Don't error if syscall argument is a string literal.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_0,
LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5,
LOADARGS_6): Likewise.
2003-05-21 19:31:11 +00:00
Andreas Jaeger
5018956927
* sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc,
...
cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register,
cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define.
* sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives.
(ENTRY): Likewise.
(END): Likewise.
* configure.in: Test for asm cfi directives.
* config.h.in: Add HAVE_ASM_CFI_DIRECTIVES.
2003-05-21 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc,
cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register,
cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define.
* sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives.
(ENTRY): Likewise.
(END): Likewise.
* configure.in: Test for asm cfi directives.
* config.h.in: Add HAVE_ASM_CFI_DIRECTIVES.
2003-05-21 09:25:53 +00:00
Ulrich Drepper
479aa8ecb2
Update.Update.
...
2003-05-20 Jakub Jelinek <jakub@redhat.com>
* elf/dynamic-link.h (elf_get_dynamic_info): Add temp argument.
If temp != NULL, copy dynamic entries which need relocation to temp
array before relocating.
(DL_RO_DYN_TEMP_CNT): Define.
* elf/dl-load.c (_dl_map_object_from_fd): Adjust caller.
* elf/rtld.c (_dl_start): Likewise.
(dl_main): Likewise. Add dyn_temp static variable.
2003-05-20 22:36:38 +00:00
Andreas Jaeger
2384fe204b
Update.
...
* sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch.
2003-05-17 17:55:27 +00:00
Andreas Jaeger
4bd2d98c7e
Update.
...
2003-05-17 Andreas Jaeger <aj@suse.de>
* rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep.
2003-05-17 17:37:29 +00:00
Ulrich Drepper
0a8730cb83
Update.
...
* rt/Makefile (tests): Add tst-clock_nanosleep.
* rt/tst-clock_nanosleep.c: New file.
* posix/Makefile (tests): Add tst-nanosleep.
* posix/tst-nanosleep.c: New file.
2003-05-17 06:07:38 +00:00
Ulrich Drepper
a8078760d6
Update.
...
* sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition.
2003-05-17 02:53:39 +00:00
Ulrich Drepper
23ae645174
Update.
...
* include/features.h (__USE_XOPEN2K): Define also for
_POSIX_C_SOURCE>=200112L.
2003-05-17 00:38:41 +00:00
Ulrich Drepper
bc58c14e33
Update.
...
* sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold
SI_TKILL code into SI_USER.
* sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise.
2003-05-16 19:56:47 +00:00
Ulrich Drepper
7ffac51fb8
Update.
...
2003-05-16 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all.
2003-05-16 18:50:00 +00:00
Ulrich Drepper
63c7a7e8a9
Update.
...
2003-05-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow):
Remove sym argument, always use refsym.
(__process_machine_rela): Adjust callers.
* sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
Likewise.
* sysdeps/powerpc/powerpc32/dl-machine.h (_dl_reloc_overflow):
Adjust prototype.
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2003-05-16 04:22:23 +00:00
Ulrich Drepper
115a45a720
Update.
...
2003-05-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Fix typo
(DL_NEED_SYSINFO -> NEED_DL_SYSINFO). If aux value is not known
print numeric values.
2003-05-15 21:41:17 +00:00
Ulrich Drepper
b523afaec1
Update.
...
2003-05-12 Thorsten Kukuk <kukuk@suse.de>
* inet/netinet/igmp.h: Sync with Linux Kernel 2.5.69 and *BSD.
2003-05-15 03:31:18 +00:00
Ulrich Drepper
f0725b01cf
Update.
...
2003-05-14 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/ia64/umount.c: New file.
2003-05-15 00:27:35 +00:00
Ulrich Drepper
81f3ac4c9a
Update.
...
2003-05-14 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (dl_main): For LD_TRACE_PRELINKING print search scope
even if no DT_NEEDED is present.
2003-05-14 21:40:32 +00:00
Ulrich Drepper
c9300aefcd
Update.
...
2003-05-13 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix the fix from
2003-03-27: setjmp is NOT a leaf-routine (due to the call to
__sigjmp_save) so we can't keep the saved unat value in a scratch
register (r16). Use loc2 instead.
2003-05-14 20:44:11 +00:00
Ulrich Drepper
1ad318d369
Update.
...
* csu/Makefile: Do compile elf-init with PIC flag since in dynamic
binaries it has to be relocatable.
2003-05-14 06:29:32 +00:00
Ulrich Drepper
d7234d9fac
Update.
...
2003-05-13 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/waitpid.c: Use waitpid syscall is available.
2003-05-13 23:57:02 +00:00
Ulrich Drepper
7158eae4a8
Update.
...
2003-05-12 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/bits/atomic.h
(__arch_compare_and_exchange_bool_8_rel): Define.
(__arch_compare_and_exchange_bool_16_rel): Define.
(__ARCH_REL_INSTR): Define if not already defined.
(__arch_atomic_exchange_and_add_32): Add "memory" to clobber list.
(__arch_atomic_decrement_if_positive_32):
Add "memory" to clobber list.
(__arch_compare_and_exchange_val_32_acq): Remove release sync.
(__arch_compare_and_exchange_val_32_rel): Define.
(__arch_atomic_exchange_32): Remove.
(__arch_atomic_exchange_32_acq): Define.
(__arch_atomic_exchange_32_rel): Define.
(atomic_compare_and_exchange_val_rel): Define.
(atomic_exchange_acq): Use __arch_atomic_exchange_*_acq forms.
(atomic_exchange_rel): Define.
* sysdeps/powerpc/powerpc32/bits/atomic.h
(__arch_compare_and_exchange_bool_32_acq): Remove release sync.
(__arch_compare_and_exchange_bool_32_rel): Define.
(__arch_compare_and_exchange_bool_64_rel): Define.
(__arch_compare_and_exchange_val_64_rel): Define.
(__arch_atomic_exchange_64): Remove.
(__arch_atomic_exchange_64_acq): Define.
(__arch_atomic_exchange_64_rel): Define.
* sysdeps/powerpc/powerpc64/bits/atomic.h
(__arch_compare_and_exchange_bool_32_rel): Define.
(__arch_compare_and_exchange_bool_64_acq): Remove release sync.
(__arch_compare_and_exchange_bool_64_rel): Define.
(__arch_compare_and_exchange_val_64_acq): Remove release sync.
(__arch_compare_and_exchange_val_64_rel): Define.
(__arch_atomic_exchange_64): Remove.
(__arch_atomic_exchange_64_acq): Define.
(__arch_atomic_exchange_64_rel): Define.
(__arch_atomic_exchange_and_add_64): Add "memory" to clobber list.
(__arch_atomic_decrement_if_positive_64):
Add "memory" to clobber list.
[!UP](__ARCH_REL_INSTR): Define as lwsync.
the space-padded-by-default conversion specifiers, %e, %k, %l.
2003-05-13 21:14:28 +00:00
Ulrich Drepper
edf205d5ef
Update.
...
* io/Makefile ($(objpfx)ftwtest.out): Use absolute file names.
2003-05-11 Ulrich Drepper <drepper@redhat.com>
* time/tst-strftime.c (do_test): Add tests for - flag.
2003-05-11 Jim Meyering <jim@meyering.net>
* time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect
the space-padded-by-default conversion specifiers, %e, %k, %l.
2003-05-11 Andreas Schwab <schwab@suse.de>
2003-05-11 23:28:52 +00:00
Andreas Schwab
8403786bbf
* sysdeps/generic/sched_setaffinity.c: Fix parameter name.
2003-05-10 22:58:06 +00:00
Ulrich Drepper
0e563cd683
Update.
...
2003-05-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/bits/sched.h: Define cpu_set_t only if not
already defined and when really needed.
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2003-05-10 17:50:46 +00:00
Ulrich Drepper
d9997a45ee
Update.
...
2003-05-09 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/netinet/igmp.h: Don't include kernel
headers, add defines from kernel header, move it from here...
* inet/netinet/igmp.h: ... to here.
* inet/Makefile (headers): Add netinet/igmp.h.
* sysdeps/unix/sysv/linux/Makefile: Remove netinet/igmp.h.
* sysdeps/unix/sysv/linux/Dist: Remove netinet/igmp.h.
2003-05-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/lio_listio64.c (lio_listio64): If SIG == NULL,
use dummy sigevent structure with SIGEV_NONE [PR libc/5015].
2003-05-09 Thorsten Kukuk <kukuk@suse.de>
* libio/bits/stdio.h: Sync prototypes with libio/stdio.h
(remove __THROW from possible cancellation points).
2003-05-10 08:39:58 +00:00
Ulrich Drepper
d067c97eb5
Update.
...
* posix/sched.h (CPU_SETSIZE): Define.
2003-05-10 07:48:16 +00:00
Ulrich Drepper
de85d40b9c
Update.
...
2003-05-10 Ulrich Drepper <drepper@redhat.com>
* posix/sched.h (NCPUBITS): Define.
2003-05-10 07:17:50 +00:00
Ulrich Drepper
c7652699b1
Update.
...
* Makeconfig (gnulib): Remove -lgcc_eh again.
2003-05-10 06:33:37 +00:00
Ulrich Drepper
949ec76407
Update.
...
* posix/sched.h: Change prototypes of sched_getaffinity and
sched_setaffinity. Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO.
* sysdeps/generic/sched_getaffinity.c: Adjust definition.
* sysdeps/generic/sched_setaffinity.c: Likewise.
* sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS,
__CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET,
__CPU_CLR, and __CPU_ISSET.
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
* sysdeps/unix/sysv/linux/sched_getaffinity.c: New file.
* sysdeps/unix/sysv/linux/sched_setaffinity.c: New file.
* include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange.
(atomic_exchange_rel): New #define.
* sysdeps/ia64/bits/atomic.h: Likewise.
* sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from
atomic_exchange.
* sysdeps/m68k/m68020/bits/atomic.h: Likewise.
* sysdeps/powerpc/bits/atomic.h: Likewise.
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise.
* sysdeps/sparc/sparc64/bits/atomic.h: Likewise.
* sysdeps/x86_64/bits/atomic.h: Likewise.
* csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange.
2003-05-10 05:36:37 +00:00
Ulrich Drepper
880867a475
Update.
...
2003-05-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: New file.
2003-05-09 07:53:33 +00:00
Ulrich Drepper
92d83c725e
Update.
...
2003-05-08 Ulrich Drepper <drepper@redhat.com>
* malloc/thread-m.h: Remove special handling of thread_atfork if
HAVE_register_atfork_malloc is defined.
2003-05-09 03:17:42 +00:00
Andreas Jaeger
7618d44c9a
Update.
...
2003-05-07 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/syscall.S: Add DWARF2 unwind
information.
2003-05-07 13:38:57 +00:00
Ulrich Drepper
14a2bd4b6d
Update.
...
2003-05-06 Ulrich Drepper <drepper@redhat.com>
* libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init.
* libio/oldiofopen.c (_IO_old_fopen): Likewise.
* libio/libioP.h: Declare _IO_old_init.
* libio/genops.c (_IO_no_init): Split in two. New function
_IO_old_init.
2003-05-07 03:48:45 +00:00
Ulrich Drepper
be4d80380a
Update.
...
* sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New
variable.
(__libc_init_secure): Don't do anything if __libc_enable_secure_decided
is nonzero.
* include/unistd.h: Declare __libc_enable_secure_decided.
* elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID,
and AT_EGID. If all found, set __libc_enable_secure and
__libc_enable_secure_decided.
2003-05-06 06:34:21 +00:00
Ulrich Drepper
9946f75ad4
Update.
...
2003-05-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c [!SHARED]: Call
__libc_check_standard_fds after __libc_init_first.
2003-05-06 05:55:00 +00:00
Roland McGrath
955a703918
* Makerules (common-before-compile): New variable.
...
($(common-objpfx)%.make): Depend on that instead of $(before-compile).
($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. Move this rule
to after all setting of before-compile.
* sunrpc/Makefile (generated-dirs): New variable.
* resolv/Makefile (generated): New variable.
2003-05-05 19:14:13 +00:00
Ulrich Drepper
4661a15343
Update.
...
2003-05-05 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq,
__arch_compare_and_exchange_val_16_acq): Cast 0 to mem's type.
* sysdeps/powerpc/powerpc32/bits/atomic.h
(__arch_compare_and_exchange_val_64_acq): Likewise.
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
(__arch_compare_and_exchange_val_8_acq,
__arch_compare_and_exchange_val_16_acq,
__arch_compare_and_exchange_val_64_acq): Likewise.
* sysdeps/sparc/sparc64/bits/atomic.h
(__arch_compare_and_exchange_val_8_acq,
__arch_compare_and_exchange_val_16_acq): Likewise.
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq,
__arch_compare_and_exchange_val_16_acq,
__arch_compare_and_exchange_val_64_acq): Likewise.
* sysdeps/unix/sysv/linux/sh/bits/atomic.h
(__arch_compare_and_exchange_val_64_acq): Likewise.
* sysdeps/s390/s390-64/backtrace.c (__backtrace): Add cast to shut
up warning.
* sysdeps/s390/fpu/fegetenv.c (fegetenv): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
(INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0):
Return long instead of int.
(INTERNAL_SYSCALL_ERROR_P): Cast val to unsigned long, replace
0xfffff001u with -4095UL.
2003-05-05 18:24:09 +00:00
Andreas Jaeger
0696c2c0b5
Update.
...
* sunrpc/Makefile (generated-dirs): New.
* resolv/Makefile (generate): New.
2003-05-05 17:36:15 +00:00
Andreas Jaeger
c7c8ca9753
Update.
...
* sysdeps/x86_64/fpu_control.h: New from i386.
2003-05-05 13:25:41 +00:00
Andreas Jaeger
461e1ce057
Update.
...
2003-05-05 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_semtimedop):
Define if not defined.
2003-05-05 08:45:31 +00:00
Roland McGrath
c6696b7957
* csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.
...
Depend on $(before-compile).
2003-05-04 23:27:34 +00:00
Roland McGrath
4b0b588239
* csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static
...
pattern rule. The implicit rule could be ruled out when $(objpfx)
didn't exist at the time of its consideration (ugh!).
* Makerules (+make-deps): Fix target matching.
Use $(sed-remove-dotdot).
2003-05-04 23:06:08 +00:00
Ulrich Drepper
a12ce44f69
Update.
...
2003-05-03 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd.c (main): Parse config file right after parsing
parameters. Then, if get_stats is true, call receive_print_stats.
Drop parameter from nscd_init call.
(get_stats): New variable.
(parse_opt): Set get_stats, don't call receive_print_stats here.
* nscd/nscd.h: Declare dbs, stat_user, and stat_uid. Adjust nscd_init
prototype.
* nscd/connections.c (stat_user, stat_uid): New variables.
(dbs): Make global.
(nscd_init): Don't read configuration file here. Drop parameter.
(handle_request): Cleanup handling of non-database lookup requests.
* nscd/nscd_conf.c (nscd_parse_file): Recognize stat-user entry.
Get UID of the specified user. Use xstrdup instead of strdup.
* nscd/nscd_stat.c (receive_print_stats): Check UID. If not zero,
check stat_user.
* nscd/Makefile (nscd-modules): Add xstrdup.
* nscd/nscd.conf: Document stat-user entry.
2003-05-03 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_semtimedop): Define
if not defined.
2003-05-04 07:00:44 +00:00
Ulrich Drepper
f866314b89
Update.
...
2003-04-22 Roland McGrath <roland@redhat.com>
* elf/elf.h (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME.
* sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
dl_sysinfo_eh_frame member, add dl_sysinfo_dso member instead.
* elf/dl-support.c: Update defn.
* sysdeps/generic/libc-start.c: Don't call __register_frame_info_bases.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
Set GL(dl_sysinfo_dso) from AT_SYSINFO_EHDR.
(_dl_show_auxv): Grok AT_SYSINFO_EHDR, not AT_SYSINFO_EH_FRAME.
* elf/rtld.c (dl_main) [NEED_DL_SYSINFO]: If GL(dl_sysinfo_dso) is
set, set up a link_map for the preloaded, prelinked object.
2003-05-04 04:30:13 +00:00
Roland McGrath
05d3d580df
* sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ...
...
* stdio-common/Makefile: ... not here.
* csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile).
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2003-05-03 09:08:37 +00:00
Ulrich Drepper
ba080fa679
Update.
...
* sysdeps/unix/sysv/linux/s390/semtimedop.c: New file.
2003-05-03 00:29:56 +00:00
Ulrich Drepper
90a315b00e
Update.
...
* sysdeps/unix/sysv/linux/alpha/ipc_priv.h (IPCOP_semtimedop): Define.
2003-05-02 23:25:53 +00:00
Ulrich Drepper
f903b5155c
Update.
...
* sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for
comparing ftab elements.
(_dl_unmap): Fix typo in test.
2003-05-02 22:37:58 +00:00
Ulrich Drepper
ceb927c971
Update.
...
* sysdeps/generic/dl-fptr.c (_dl_unmap): Fix typo in test.
(_dl_make_fptr): Fix typos introduced in last change.
2003-05-02 22:33:15 +00:00
Ulrich Drepper
0a8fe08964
Update.
...
2003-05-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/dl-fptr.c: Put back one optimization from the
original patch. Use non-exported symbols. Mark translatable
strings. Pretty printing.
2003-05-02 08:21:14 +00:00
Roland McGrath
a0c8a2499e
* Makerules (do-stamp): Do $(make-target-directory).
2003-05-02 07:19:38 +00:00
Ulrich Drepper
a92026c98e
Update.
...
2003-04-07 H.J. Lu <hjl@gnu.org>
* sysdeps/generic/dl-fptr.c: Modify to remove the lock.
2003-04-03 H.J. Lu <hjl@gnu.org>
* sysdeps/ia64/dl-fptr.c: Moved to ...
* sysdeps/generic/dl-fptr.c: Here.
* sysdeps/generic/dl-fptr.h: New.
* sysdeps/ia64/dl-fptr.h: New.
* sysdeps/ia64/dl-symaddr.c: Moved to ...
* sysdeps/generic/dl-symaddr.c: here.
* sysdeps/ia64/dl-machine.h: Include <dl-fptr.h>.
(IA64_BOOT_FPTR_TABLE_LEN): Removed.
(ia64_fdesc): Likewise.
(ia64_fdesc_table): Likewise.
(__ia64_make_fptr): Likewise.
(__ia64_init_bootstrap_fdesc_table): Replace __ia64_boot_fptr_table
with _dl_boot_fptr_table.
(elf_machine_runtime_setup): Replace `struct ia64_fdesc' with
`struct fdesc'.
(elf_machine_rela): Replace __ia64_make_fptr with _dl_make_fptr.
2003-05-02 02:41:09 +00:00
Roland McGrath
362f5ae2c1
* sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__].
...
* sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
* sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h):
Use $(make-target-directory).
* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
* Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d.
(compile-command.S): Don't use ifndef. Append $(compile-mkdep-flags).
(compile-command.s, compile-command.c): Likewise.
($(objpfx)%.d): All such pattern rules removed.
($(+sysdir_pfx)sysd-rules): Don't generate them.
($(common-objpfx)dummy.d): Target removed.
(make-dummy-dep): Variable removed.
(generate-md5): Likewise.
(%.d: %.dt): New pattern rule.
(+depfiles): Use $(wildcard) function to get just existing *.d files
and .d files for existing *.dt files.
(common-clean): Remove all *.d and *.dt files.
(before-compile): Add $(objpfx). when it doesn't exist,
regardless of $(no_deps).
* elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed.
(rtld-depfiles): Use .os.d instead of .d names.
Include existing *.d files and .d files for existing *.dt files.
* Makerules ($(common-objpfx)%.make): Protect with [! subdir].
Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable.
* sysdeps/unix/Makefile ($(common-objpfx)s-%.d): Remove compat.h hack.
Do s-*.d includes only if we have some syscall routines in this subdir.
* include/libc-symbols.h (libc_freeres_ptr): Use %nobits instead of
@nobits. The former is accepted by gas on any ELF platform.
2003-05-02 02:21:25 +00:00
Ulrich Drepper
cf20f569ae
Update.
...
* sysdeps/unix/sysv/linux/semtimedop.c: New file.
2003-05-01 21:41:01 +00:00
Ulrich Drepper
a234e27dba
Update.
...
2003-05-01 Ulrich Drepper <drepper@redhat.com>
* malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary.
2003-04-29 Andreas Schwab <schwab@suse.de>
* string/test-strcat.c (do_one_test): Fix attribute name.
2003-05-01 07:38:32 +00:00
Alexandre Oliva
27b301e431
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make uc_flags long for all ABIs.
...
2003-04-30 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make
uc_flags long for all ABIs.
2003-04-30 23:22:09 +00:00
Andreas Jaeger
f545f1df00
Update.
...
2003-04-30 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h
(DR_CONTROL_RESERVED): Use correct value for 64-bit.
Reported by Andrew Derrick Balsa <andrebalsa@mailingaddress.org>.
Add bi-arch support.
2003-04-30 10:03:47 +00:00
Ulrich Drepper
f773ff644a
Update.
...
2003-04-30 Ulrich Drepper <drepper@redhat.com>
* malloc/malloc.c (mEMALIGn): Define alias __memalign_internal.
(__posix_memalign): Use __memalign_internal instead of memalign.
2003-04-30 08:11:33 +00:00
Roland McGrath
20792f9946
* configure.in: Search for AUTOCONF unconditionally.
...
Just don't complain about missing it under --without-cvs.
* configure: Regenerated.
* include/libc-symbols.h (__symbol_set_attribute): New macro,
give hidden for [SHARED] and weak for [! SHARED].
(symbol_set_declare): Use that. Never need weak_extern these days.
* Makerules ($(common-objpfx)shlib.lds): Go back to using PROVIDE.
Depend on $(..)Makerules.
2003-04-30 04:18:12 +00:00
Ulrich Drepper
153da5995c
Update.
...
* sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Use __ protected
variants of socket, bind, recvmsg, and sendto.
2003-04-29 23:49:37 +00:00
Ulrich Drepper
85dd100310
Update.
...
* sysdeps/i386/fpu/ftestexcept.c: Also check SSE status word.
* include/signal.h: Use libc_hidden_proto for sigaddset and sigdelset.
* signal/sigaddset.c: Add libc_hidden_def.
* signal/sigdelset.c: Likewise.
2003-04-29 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/i486/string-inlines.c (__memcpy_g, __strchr_g): Move
to the end of the file.
* configure.in: Change __oline__ to $LINENO.
(HAVE_BUILTIN_REDIRECTION): New check.
* config.h.in (HAVE_BUILTIN_REDIRECTION): Add.
* include/libc-symbols.h (libc_hidden_builtin_proto,
libc_hidden_builtin_def, libc_hidden_builtin_weak,
libc_hidden_builtin_ver): Define.
* include/string.h (memchr, memcpy, memmove, memset, strcat, strchr,
strcmp, strcpy, strcspn, strlen, strncmp, strncpy, strpbrk, strrchr,
strspn, strstr): Add libc_hidden_builtin_proto.
* intl/plural.y: Include string.h.
* sysdeps/alpha/alphaev6/memchr.S (memchr): Add
libc_hidden_builtin_def.
* sysdeps/alpha/alphaev6/memcpy.S (memcpy): Likewise.
* sysdeps/alpha/alphaev6/memset.S (memset): Likewise.
* sysdeps/alpha/alphaev67/strcat.S (strcat): Likewise.
* sysdeps/alpha/alphaev67/strchr.S (strchr): Likewise.
* sysdeps/alpha/alphaev67/strlen.S (strlen): Likewise.
* sysdeps/alpha/alphaev67/strrchr.S (strrchr): Likewise.
* sysdeps/alpha/memchr.S (memchr): Likewise.
* sysdeps/alpha/memset.S (memset): Likewise.
* sysdeps/alpha/strcat.S (strcat): Likewise.
* sysdeps/alpha/strchr.S (strchr): Likewise.
* sysdeps/alpha/strcmp.S (strcmp): Likewise.
* sysdeps/alpha/strcpy.S (strcpy): Likewise.
* sysdeps/alpha/strlen.S (strlen): Likewise.
* sysdeps/alpha/strncmp.S (strncmp): Likewise.
* sysdeps/alpha/strncpy.S (strncpy): Likewise.
* sysdeps/alpha/strrchr.S (strrchr): Likewise.
* sysdeps/arm/memset.S (memset): Likewise.
* sysdeps/arm/strlen.S (strlen): Likewise.
* sysdeps/generic/memchr.c (memchr): Likewise.
* sysdeps/generic/memcpy.c (memcpy): Likewise.
* sysdeps/generic/memmove.c (memmove): Likewise.
* sysdeps/generic/memset.c (memset): Likewise.
* sysdeps/generic/strcat.c (strcat): Likewise.
* sysdeps/generic/strchr.c (strchr): Likewise.
* sysdeps/generic/strcmp.c (strcmp): Likewise.
* sysdeps/generic/strcpy.c (strcpy): Likewise.
* sysdeps/generic/strcspn.c (strcspn): Likewise.
* sysdeps/generic/strlen.c (strlen): Likewise.
* sysdeps/generic/strncmp.c (strncmp): Likewise.
* sysdeps/generic/strncpy.c (strncpy): Likewise.
* sysdeps/generic/strpbrk.c (strpbrk): Likewise.
* sysdeps/generic/strrchr.c (strrchr): Likewise.
* sysdeps/generic/strspn.c (strspn): Likewise.
* sysdeps/generic/strstr.c (strstr): Likewise.
* sysdeps/i386/i486/strcat.S (strcat): Likewise.
* sysdeps/i386/i486/strlen.S (strlen): Likewise.
* sysdeps/i386/i586/memcpy.S (memcpy): Likewise.
* sysdeps/i386/i586/memset.S (memset): Likewise.
* sysdeps/i386/i586/strchr.S (strchr): Likewise.
* sysdeps/i386/i586/strcpy.S (strcpy): Likewise.
* sysdeps/i386/i586/strlen.S (strlen): Likewise.
* sysdeps/i386/i686/memcpy.S (memcpy): Likewise.
* sysdeps/i386/i686/memmove.S (memmove): Likewise.
* sysdeps/i386/i686/memset.S (memset): Likewise.
* sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
* sysdeps/i386/memchr.S (memchr): Likewise.
* sysdeps/i386/memset.c (memset): Likewise.
* sysdeps/i386/strchr.S (strchr): Likewise.
* sysdeps/i386/strcspn.S (strcspn): Likewise.
* sysdeps/i386/strlen.c (strlen): Likewise.
* sysdeps/i386/strpbrk.S (strpbrk): Likewise.
* sysdeps/i386/strrchr.S (strrchr): Likewise.
* sysdeps/i386/strspn.S (strspn): Likewise.
* sysdeps/ia64/memchr.S (memchr): Likewise.
* sysdeps/ia64/memcpy.S (memcpy): Likewise.
* sysdeps/ia64/memmove.S (memmove): Likewise.
* sysdeps/ia64/memset.S (memset): Likewise.
* sysdeps/ia64/strcat.S (strcat): Likewise.
* sysdeps/ia64/strchr.S (strchr): Likewise.
* sysdeps/ia64/strcmp.S (strcmp): Likewise.
* sysdeps/ia64/strcpy.S (strcpy): Likewise.
* sysdeps/ia64/strlen.S (strlen): Likewise.
* sysdeps/ia64/strncmp.S (strncmp): Likewise.
* sysdeps/ia64/strncpy.S (strncpy): Likewise.
* sysdeps/m68k/memchr.S (memchr): Likewise.
* sysdeps/m68k/strchr.S (strchr): Likewise.
* sysdeps/mips/mips64/memcpy.S (memcpy): Likewise.
* sysdeps/mips/mips64/memset.S (memset): Likewise.
* sysdeps/mips/memcpy.S (memcpy): Likewise.
* sysdeps/mips/memset.S (memset): Likewise.
* sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
* sysdeps/powerpc/powerpc32/strchr.S (strchr): Likewise.
* sysdeps/powerpc/powerpc32/strcmp.S (strcmp): Likewise.
* sysdeps/powerpc/powerpc32/strcpy.S (strcpy): Likewise.
* sysdeps/powerpc/powerpc32/strlen.S (strlen): Likewise.
* sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
* sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
* sysdeps/powerpc/powerpc64/strchr.S (strchr): Likewise.
* sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Likewise.
* sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Likewise.
* sysdeps/powerpc/powerpc64/strlen.S (strlen): Likewise.
* sysdeps/powerpc/strcat.c (strcat): Likewise.
* sysdeps/sparc/sparc32/memchr.S (memchr): Likewise.
* sysdeps/sparc/sparc32/memcpy.S (memcpy): Likewise.
* sysdeps/sparc/sparc32/memset.S (memset): Likewise.
* sysdeps/sparc/sparc32/strcat.S (strcat): Likewise.
* sysdeps/sparc/sparc32/strchr.S (strchr, strrchr): Likewise.
* sysdeps/sparc/sparc32/strcmp.S (strcmp): Likewise.
* sysdeps/sparc/sparc32/strcpy.S (strcpy): Likewise.
* sysdeps/sparc/sparc32/strlen.S (strlen): Likewise.
* sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy, memmove): Likewise.
* sysdeps/sparc/sparc64/memchr.S (memchr): Likewise.
* sysdeps/sparc/sparc64/memcpy.S (memcpy, memmove): Likewise.
* sysdeps/sparc/sparc64/memset.S (memset): Likewise.
* sysdeps/sparc/sparc64/strcat.S (strcat): Likewise.
* sysdeps/sparc/sparc64/strchr.S (strchr, strrchr): Likewise.
* sysdeps/sparc/sparc64/strcmp.S (strcmp): Likewise.
* sysdeps/sparc/sparc64/strcpy.S (strcpy): Likewise.
* sysdeps/sparc/sparc64/strcspn.S (strcspn): Likewise.
* sysdeps/sparc/sparc64/strlen.S (strlen): Likewise.
* sysdeps/sparc/sparc64/strncmp.S (strncmp): Likewise.
* sysdeps/sparc/sparc64/strncpy.S (strncpy): Likewise.
* sysdeps/sparc/sparc64/strpbrk.S (strpbrk): Likewise.
* sysdeps/sparc/sparc64/strspn.S (strspn): Likewise.
* sysdeps/sh/memcpy.S (memcpy): Likewise.
* sysdeps/sh/memset.S (memset): Likewise.
* sysdeps/sh/strlen.S (strlen): Likewise.
* sysdeps/s390/s390-32/memchr.S (memchr): Likewise.
* sysdeps/s390/s390-32/memcpy.S (memcpy): Likewise.
* sysdeps/s390/s390-32/memset.S (memset): Likewise.
* sysdeps/s390/s390-32/strcmp.S (strcmp): Likewise.
* sysdeps/s390/s390-32/strcpy.S (strcpy): Likewise.
* sysdeps/s390/s390-32/strncpy.S (strncpy): Likewise.
* sysdeps/s390/s390-64/memchr.S (memchr): Likewise.
* sysdeps/s390/s390-64/memcpy.S (memcpy): Likewise.
* sysdeps/s390/s390-64/memset.S (memset): Likewise.
* sysdeps/s390/s390-64/strcmp.S (strcmp): Likewise.
* sysdeps/s390/s390-64/strcpy.S (strcpy): Likewise.
* sysdeps/s390/s390-64/strncpy.S (strncpy): Likewise.
* sysdeps/x86_64/memcpy.S (memcpy): Likewise.
* sysdeps/x86_64/memset.S (memset): Likewise.
* sysdeps/x86_64/strcat.S (strcat): Likewise.
* sysdeps/x86_64/strchr.S (strchr): Likewise.
* sysdeps/x86_64/strcmp.S (strcmp): Likewise.
* sysdeps/x86_64/strcpy.S (strcpy): Likewise.
* sysdeps/x86_64/strcspn.S (strcspn): Likewise.
* sysdeps/x86_64/strlen.S (strlen): Likewise.
* sysdeps/x86_64/strspn.S (strspn): Likewise.
* string/string-inlines.c: Move...
* sysdeps/generic/string-inlines.c: ...here.
(__memcpy_g, __strchr_g): Remove.
(__NO_INLINE__): Define before including <string.h>,
undefine after. Include bits/string.h and bits/string2.h.
* sysdeps/i386/i486/string-inlines.c: New file.
* sysdeps/i386/string-inlines.c: New file.
* sysdeps/i386/i486/Versions: Remove.
All GLIBC_2.1.1 symbols moved...
* sysdeps/i386/Versions (libc): ...here.
2003-04-29 Ulrich Drepper <drepper@redhat.com>
2003-04-29 22:49:58 +00:00
Ulrich Drepper
e40468fa25
Update.
...
2003-04-29 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/fpu/Makefile: New file.
* sysdeps/i386/fpu/fedisblxcpt.c: Also set SSE control word.
* sysdeps/i386/fpu/feenablxcpt.c: Likewise.
* sysdeps/i386/fpu/feholdexcpt.c: Likewise.
* sysdeps/i386/fpu/fesetround.c: Also set SSE rounding mode
[PR libc/4987].
2003-04-29 07:18:57 +00:00
Ulrich Drepper
12c8051397
Update.
...
2003-04-28 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd_getgr_r.c: Compact code a bit. Add some __builtin_expect.
* nscd/nscd_getpw_r.c: Likewise.
* nscd/nscd_gethst_r.c: Likewise.
2003-04-28 08:17:29 +00:00
Ulrich Drepper
fe45381231
Update.
...
2003-04-27 Ulrich Drepper <drepper@redhat.com>
* nscd/pwdcache.c: Initialize .version element in result.
* nscd/grpcache.c: Likewise.
* nscd/pwdcache.c: Likewise.
2003-04-28 05:30:22 +00:00
Ulrich Drepper
a16e35856a
Update.
...
* nscd/connections.c (client_queued): New variable.
(nscd_run): Revamp the loop. Don't call poll except for cleanup
threads. Keep track of the number of delays caused because of busy
worker threads.
* nscd/nscd.h: Declare client_queued.
* nscd/nscd_stat.c: Transmit and print client_queued information.
2003-04-28 03:40:26 +00:00
Roland McGrath
bf7725a9bc
* Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in
...
subdirectory.
2003-04-27 Andreas Schwab <schwab@suse.de>
2003-04-27 18:36:27 +00:00
Andreas Schwab
26576375b4
* sysdeps/unix/sysv/linux/m68k/semtimedop.S: New file.
2003-04-27 17:08:55 +00:00
Ulrich Drepper
76352f64bb
Update.
...
* locale/programs/locale.c (show_info): Use '\177' instead of CHAR_MAX.
2003-04-27 09:02:51 +00:00
Ulrich Drepper
a7ed068ebc
Update.
...
2003-04-27 Ulrich Drepper <drepper@redhat.com>
* Makerules ($(common-objpfx)shlib.lds): Don't use PROVIDE to
define __start_libc_freeres_ptrs and __stop___libc_freeres_ptrs.
2003-04-27 08:18:54 +00:00
Ulrich Drepper
541765b6b4
Update.
...
2003-04-26 Ulrich Drepper <drepper@redhat.com>
* elf/dl-close.c [USE_TLS && TLS_TCB_AT_TP] (_dl_close): Reimplement
tracking of freed memory in static TLS block.
* elf/Makefile: Add rules to build and run tst-tls13.
* elf/tst-tls13.c: New file.
* elf/tst-tlsmod13.c: New file.
* elf/tst-tlsmod13a.c: New file.
* elf/tst-tls8.c: Adjust types of variables to avoid warnings.
* elf/dl-reloc.c: Pretty printing.
2003-04-27 06:20:14 +00:00
Roland McGrath
5ae340e35b
(LDSEDCMD-c.so): Variable removed.
2003-04-26 23:41:17 +00:00
Roland McGrath
358cad7c11
* Makerules ($(common-objpfx)shlib.lds): New target.
...
(common-generated): Add it.
(build-shlib, build-module): Use that instead of generating every time.
($(common-objpfx)libc.so): Depend on it.
(lib%.so rule): Likewise.
(build-module-helper-objlist): Remove %.lds.
* iconvdata/extra-module.mk ($(objpfx)$(mod).so):
Depend on $(common-objpfx)shlib.lds.
* dlfcn/Makefile ($(test-modules)): Likewise.
2003-04-26 23:38:49 +00:00
Roland McGrath
d3f063bc78
* sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals.
2003-04-26 22:32:58 +00:00
Ulrich Drepper
06a04e0924
Update.
...
2003-04-26 Andreas Schwab <schwab@suse.de>
* elf/dl-close.c (remove_slotinfo): Fix missing parens.
2003-04-26 20:14:27 +00:00
Ulrich Drepper
c86e6aec55
Update.
...
* nscd/cache.c (cache_search): Keep track of how many chain links
we searched and update table statistics.
(cache_add): Keep track of how many values are in the table.
(prune_cache): Likewise. Keep track of locking success.
Print messages about removed entries in separate pass.
* nscd/connections.c (handle_request): Don't print debug message here.
The caller will do it. Keep track of locking success.
(nscd_run): Print debug message. Also print PID of the client process.
* nscd/nscd.c (start_time): New variable.
(main): Remember start time.
* nscd/nscd.h: Declare start_time.
(struct database): Add more members for new statistics.
* nscd/nscd_stat.c: Add support for sending, receiving, and printing
of new statistics.
2003-04-26 04:15:50 +00:00
Ulrich Drepper
f24dca4829
Update.
...
2003-04-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/getaddrinfo.c: Include <stdbool.h>.
2003-04-25 17:54:19 +00:00
Ulrich Drepper
299601a1ef
Update.
...
2003-04-22 Jakub Jelinek <jakub@redhat.com>
* include/link.h (NO_TLS_OFFSET): Define to 0 if not defined.
* elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET.
* elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to
NO_TLS_OFFSET.
* elf/rtld.c (_dl_start_final, _dl_start): Likewise.
* elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET.
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise.
* sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract
TLS_TCB_SIZE.
2003-04-25 09:12:43 +00:00
Ulrich Drepper
29bfc9453e
Update.
...
* nss/getent.c: Implement alternative host database lookup via
getaddrinfo.
unbinding it.
2003-04-25 00:46:36 +00:00
Ulrich Drepper
925c3c5c71
Update.
...
2003-04-24 Ulrich Drepper <drepper@redhat.com>
* include/ifaddrs.h: New file.
* include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and
AI_ADDRCONFIG...
* resolv/netdb.h: ...here.
* sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate.
* sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
* sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and
AI_ADDRCONFIG.
2003-04-24 23:45:17 +00:00
Roland McGrath
4c51367922
* elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function.
...
* nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be !=
2003-04-24 17:18:42 +00:00
Roland McGrath
8e27f45e05
* elf/dl-reloc.c (allocate_static_tls): Rename to...
...
(_dl_allocate_static_tls): ... this function. No longer static.
(CHECK_STATIC_TLS): Adjust.
* sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype.
* sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela):
Add SYM_MAP argument.
(elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally.
Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit
TLS relocs here. #ifdef out relocs which never appear in
.gnu.conflict section from dl-conflict.c processing.
* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
Add SYM_MAP argument. Handle 16-bit TLS relocs here.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): #ifdef
out relocs which never appear in .gnu.conflict section from
dl-conflict.c processing.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
Use r_type in RESOLVE macro.
2003-04-24 17:11:08 +00:00
Ulrich Drepper
345d920835
Update.
...
* nis/ypclnt.c (__yp_bind): Expect ypdb parameter to always we !=
NULL. Remove code made redundant by this assumption.
(__yp_unbind): Add call to free. Adjust all callers.
2003-04-23 22:18:09 +00:00
Ulrich Drepper
47ae394214
Update.
...
* nis/ypclnt.c (yp_all): Free the dom_binding object after
unwinding it.
2003-04-23 22:06:25 +00:00
Ulrich Drepper
b9b9a51e49
Update.
...
2003-04-23 Ulrich Drepper <drepper@redhat.com>
* grp/initgroups.c (getgrouplist): Don't copy too much into the
user buffer if more groups are found than fit into it.
* nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use
extend_alloca.
2003-04-23 21:27:36 +00:00
Ulrich Drepper
370b4d44dc
Update.
...
* sysdeps/posix/getaddrinfo.c (gaih_inet): Check for rc == ERANGE,
not rc == errno. Use extend_alloca.
2003-04-23 17:21:02 +00:00
Roland McGrath
63af556fef
* elf/tst-tls12.c (main): Fix declaration.
...
* elf/tst-tls10.c (dummy): Make hidden instead of static.
* elf/tst-tlsmod7.c (dummy): Likewise.
* elf/tst-tlsmod8.c (dummy): Likewise.
* elf/tst-tlsmod9.c (dummy): Likewise.
2003-04-22 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args.
(open_not_cancel): Make last argument non-optional.
* sysdeps/generic/check_fds.c (check_one_fd): Update caller.
* sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
* iconv/gconv_cache.c (__gconv_load_cache): Likewise.
* include/tls.h: Protect against multiple inclusion.
2003-04-23 01:54:52 +00:00
Ulrich Drepper
4c5dd2a207
Update.
...
2003-04-22 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd-client.h: Add declaration for __nscd_open_socket.
* nscd/nscd_gethst_r.c (__nscd_open_socket): Renamed from
open_socket. Not static anymore.
(nscd_gethst_r): Use __nscd_open_socket.
* nscd/nscd_getgr_r.c (open_socket): Removed.
(nscd_getgr_r): Use __nscd_open_socket.
* nscd/nscd_getpw_r.c (open_socket): Removed.
(nscd_getpw_r): Use __nscd_open_socket.
* nscd/nscd.c (main): Change type of fdn to long int and use strtol.
* nscd/connections.c (handle_request): Add cast to avoid warning.
2003-04-22 19:52:59 +00:00
Ulrich Drepper
6a87ee1943
Update.
...
* signal/sigfillset.c: Moved to...
* sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined
do not set the corresponding bit.
2003-04-21 07:48:10 +00:00
Ulrich Drepper
e7608d7789
Update.
...
2003-04-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for
SIGCANCEL.
* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL.
* sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL.
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL.
* sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL.
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL.
first syscall parameter to const char*.
2003-04-21 07:39:20 +00:00
Ulrich Drepper
a4faf24354
Update.
...
* sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast
first syscall parameter to cnst char*.
2003-04-20 20:55:53 +00:00
Ulrich Drepper
680dd6f228
Update.
...
2003-04-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/check_fds.c (check_one_fd): Cast first parameter
of open_not_cancel explicitly to const char*.
2003-04-20 19:14:58 +00:00
Ulrich Drepper
40c90e006d
Update.
...
* intl/Makefile ($(objpfx)msgs.h): Use C locale for sed run.
2003-04-20 06:32:14 +00:00
Ulrich Drepper
58a7a3257f
Update.
...
* configure.in: Add AC_PROG_CXX.
* config.make.in (CXX): Define.
2003-04-19 20:15:36 +00:00
Ulrich Drepper
0b3df49e8d
Update.
...
2003-04-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of
__len to size_t to avoid warnings.
2003-04-19 19:19:11 +00:00
Ulrich Drepper
84a420c006
Update.
...
2003-04-18 Jes Sorensen <jes@wildopensource.com>
* libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Sync with Linux
2.5.67.
* libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
2003-04-19 18:32:56 +00:00
Ulrich Drepper
4e648ea3ad
Update.
...
* stdlib/cxa_finalize.c (__cxa_finalize): Don't call
UNREGISTER_ATFORK if d == NULL.
2003-04-19 18:26:10 +00:00
Ulrich Drepper
2c008571c3
Update.
...
2003-04-19 Ulrich Drepper <drepper@redhat.com>
* catgets/nl_types.h: Remove __THROW marker from cancellation points.
* dirent/dirent.h: Likewise.
* dlfcn/dlfcn.h: Likewise.
* grp/grp.h: Likewise.
* iconv/iconv.h: Likewise.
* io/fcntl.h: Likewise.
* io/ftw.h: Likewise.
* libio/stdio.h: Likewise.
* misc/sys/mman.h: Likewise.
* misc/sys/select.h: Likewise.
* misc/sys/syslog.h: Likewise.
* misc/sys/uio.h: Likewise.
* posix/spawn.h: Likewise.
* posix/unistd.h: Likewise.
* posix/sys/wait.h: Likewise.
* pwd/pwd.h: Likewise.
* resolv/netdb.h: Likewise.
* rt/aio.h: Likewise.
* shadow/shadow.h: Likewise.
* signal/signal.h: Likewise.
* socket/sys/socket.h: Likewise.
* stdlib/stdlib.h: Likewise.
* streams/stropts.h: Likewise.
* string/string.h: Likewise.
* sysdeps/gnu/utmpx.h: Likewise.
* sysvipc/sys/msg.h: Likewise.
* termios/termios.h: Likewise.
* time/time.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* iconv/gconv_cache.c: Include <not-cancel.h> and use non-cancelable
functions.
* misc/daemon.c: Likewise.
* sysdeps/generic/backtracesymsfd.c: Likewise.
* sysdeps/generic/check_fds.c: Likewise.
* sysdeps/unix/sysv/linux/gethostid.c: Likewise.
* sysdeps/unix/sysv/linux/not-cancel.h: New file.
* sysdeps/generic/not-cancel.h: New file.
* csu/Makefile (distribute): Add not-cancel.h.
* sysdeps/unix/sysv/linux/fatal-prepare.h: New file.
* sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE
for assert.c and assert-perr.c to include <fatal-prepare.h>.
* sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h.
* sysdeps/posix/remove.c (remove): Rewrite. No need to restore
errno and unlink first.
* io/ftw.c (ftw_dir): In all places assume fchdir is available.
2003-04-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use
INTERNAL_SYSCALL instead of INLINE_SYSCALL.
2003-04-19 16:57:17 +00:00
Ulrich Drepper
7c2842bfc5
Update.
...
* sysdeps/unix/sysv/linux/Makefile: Remove db2 directory handling.
* malloc/Makefile (CFLAGS-malloc.c): Define DEFAULT_TOP_PAD to 128k.
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-malloc.c): Add to, not
replace.
2003-04-18 00:36:59 +00:00
Ulrich Drepper
aae9d42b1a
Update.
...
2003-04-17 Ulrich Drepper <drepper@redhat.com>
* signal/Makefile (tests): Add tst-sigsimple.
* signal/tst-sigsimple.c: New file.
2003-04-17 23:30:20 +00:00
Ulrich Drepper
94c24227fc
Update.
...
2003-04-16 Jakub Jelinek <jakub@redhat.com>
* elf/Makefile (distribute): Add tst-tlsmod{[7-9],1[0-2]}.c and
tst-tls10.h.
(tests): Add tst-tls1[0-2].
(modules-names): Add tst-tlsmod{[7-8],1[0-2]}.
($(objpfx)tst-tlsmod8.so): Depend on tst-tlsmod7.so.
($(objpfx)tst-tlsmod10.so): Depend on tst-tlsmod9.so.
($(objpfx)tst-tlsmod12.so): Depend on tst-tlsmod11.so.
($(objpfx)tst-tls10): Depend on tst-tlsmod8.so.
($(objpfx)tst-tls11): Depend on tst-tlsmod10.so.
($(objpfx)tst-tls12): Depend on tst-tlsmod12.so.
* elf/tst-tls10.c: New test.
* elf/tst-tls11.c: New test.
* elf/tst-tls12.c: New test.
* elf/tst-tls10.h: New file.
* elf/tst-tlsmod7.c: New file.
* elf/tst-tlsmod8.c: New file.
* elf/tst-tlsmod9.c: New file.
* elf/tst-tlsmod10.c: New file.
* elf/tst-tlsmod11.c: New file.
* elf/tst-tlsmod12.c: New file.
2003-04-15 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/bits/atomic.h: Moved ppc32/64 specific code to ...
* sysdeps/powerpc/powerpc32/bits/atomic.h: New file.
* sysdeps/powerpc/powerpc64/bits/atomic.h: New file.
* posix/regex.h: Include <sys/types.h>.
2003-04-17 19:19:29 +00:00
Ulrich Drepper
66cd688c01
Update.
...
* signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset.
The signal number must be checked.
2003-04-17 18:39:26 +00:00
Ulrich Drepper
89e28f65b3
Update.
...
* signal/sighold.c (sighold): Use sigaddset and not __sigaddset.
The signal number must be checked [PR libc/5004].
2003-04-17 18:12:31 +00:00
Ulrich Drepper
c9df3df9d2
Update.
...
* string/test-memchr.c: Likewise.
* string/test-memcmp.c: Likewise.
* string/test-memcpy.c: Likewise.
* string/test-memmove.c: Likewise.
* string/test-memset.c: Likewise.
* string/test-strcat.c: Likewise.
* string/test-strchr.c: Likewise.
* string/test-strcmp.c: Likewise.
* string/test-strcpy.c: Likewise.
* string/test-strlen.c: Likewise.
* string/test-strncmp.c: Likewise.
* string/test-strpbrk.c: Likewise.
* string/test-strrchr.c: Likewise.
* string/test-strspn.c: Likewise.
2003-04-17 17:38:38 +00:00
Ulrich Drepper
9e9f1f159b
Update.
...
* sysdeps/unix/sysv/linux/system.c: If compiled without threads
don't do anything fancy.
* sysdeps/generic/bits/libc-lock.h: Define
__rtld_lock_define_initialized_recursive.
2003-04-17 16:34:08 +00:00
Ulrich Drepper
ef4d5b32b3
Update.
...
2003-04-17 Ulrich Drepper <drepper@redhat.com>
* nss/getXXbyYY_r.c [USE_NSCD] (REENTRANT_NAME): Only retry
contacting nscd if NOT_USENSCD_NAME > 0.
* nss/nsswitch.c (__nss_disable_nscd): New function.
* nss/nsswitch.h: Declare it.
* nss/Versions [GLIBC_PRIVATE]: Export __nss_disable_nscd.
* nscd/nscd.c (main): Call __nss_disable_nscd.
2003-04-17 08:42:06 +00:00
Ulrich Drepper
a4de377614
Update.
...
* stdio-common/perror.c (perror): We don't need to set the offset
to _IO_pos_bad, this is how streams are initialized.
2003-04-17 04:01:04 +00:00
Ulrich Drepper
86d273076c
Update.
...
* locale/programs/ld-time.c (TESTARR_ELEM): Make i unsigned.
(time_output): If necessary, allocate new buffer for .name string if
padding is required.
2003-04-17 02:55:45 +00:00
Ulrich Drepper
31dfab9e17
Update.
...
* sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths
before copying. This might leave holes in the list. Adjust
pointers if necessary.
(netlink_receive): Allocate only one block.
(free_netlink_handle): Adjust appropriately.
(getifaddrs): Lots of cleanups.
2003-04-17 01:08:57 +00:00
Ulrich Drepper
1dd42dfc72
Update.
...
* string/test-strncpy.c (do_one_test): Mark start and stop as
2003-04-16 17:22:45 +00:00
Ulrich Drepper
81641068cd
Update.
...
2003-04-16 Ulrich Drepper <drepper@redhat.com>
* string/test-strncpy.c (do_one_test): Makr start and stop as
possibly unused.
2003-04-16 17:15:30 +00:00
Roland McGrath
4ab6f47ce3
* libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.
...
* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for
INTUSE(__register_frame_info_bases).
2003-04-16 03:12:34 +00:00
Ulrich Drepper
dce3db5635
Update.
...
AT_SYSINFO_EH_FRAME. Adjust string width.
2003-04-15 23:56:32 +00:00
Ulrich Drepper
162434a682
Update.
...
2003-04-15 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h: Define AT_SYSINFO_EH_FRAME.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle
AT_SYSINFO_EH_FRAME.
(_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value.
* sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global):
Add _dl_sysinfo_eh_frame field.
* elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame.
* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj
variable.
[NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases
if _dl_sysinfo_eh_frame is non-NULL.
* Makeconfig (gnulib): Add -lgcc_eh.
* config.h.in: Define HAVE_FORCED_UNWIND.
2003-04-15 22:46:40 +00:00
Ulrich Drepper
482eb33c43
Update.
...
2003-04-15 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc64/strcmp.S: Convert to full 64-bit.
* sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2003-04-15 19:45:39 +00:00
Ulrich Drepper
aa3f24108d
Update.
...
2003-04-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid
checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is
against local symbol in conflict processing.
2003-04-15 19:42:49 +00:00
Ulrich Drepper
6087c4851c
Update.
...
2003-04-15 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/bits/atomic.h
[__powerpc64] (__arch_compare_and_exchange_val_64_acq): Define.
[! __powerpc64] (__arch_compare_and_exchange_val_64_acq): Defined
as abort stub.
(__arch_compare_and_exchange_val_32_acq): Define.
(atomic_compare_and_exchange_val_acq): Define.
2003-04-15 18:39:09 +00:00
Ulrich Drepper
a1b5424f50
Update.
...
2003-04-15 Ulrich Drepper <drepper@redhat.com>
* include/atomic.h: Pretty printing.
2003-04-15 18:29:40 +00:00
Ulrich Drepper
52a7f7c0c1
Update.
...
2003-04-14 Ulrich Drepper <drepper@redhat.com>
* stdio-common/vfscanf.c: Add casts to avoid warnings.
2003-04-15 02:36:10 +00:00
Ulrich Drepper
bd4f43b462
Update.
...
2003-04-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX.
* sysdeps/x86_64/bits/atomic.h: Likewise.
2003-04-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and
POPARGS_1 to emit labels for the mov instructions.
2003-04-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define.
2003-04-14 17:30:34 +00:00
Roland McGrath
8133a3fd77
* sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence
...
compiler warning.
* sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge.
2003-04-14 08:52:37 +00:00
Ulrich Drepper
39a46c42f5
Update.
...
2003-04-14 Ulrich Drepper <drepper@redhat.com>
* string/strxfrm.c (STRXFRM): Terminate rulearr at correct
position. Reported by jreiser@BitWagon.com .
2003-04-14 07:03:40 +00:00
Ulrich Drepper
a1fb9649b2
Update.
...
2003-04-13 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/unwind-dw2-fde.c: Update from recent gcc version.
* sysdeps/generic/unwind-dw2-fde.h: Likewise.
* sysdeps/generic/unwind-dw2.c: Likewise.
* sysdeps/generic/unwind-pe.h: Likewise.
2003-04-13 16:47:36 +00:00
Alexandre Oliva
6a1aff6912
* 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 Alexandre Oliva <aoliva@redhat.com>
* 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
7cc1894ca8
Update.
...
2003-04-12 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add cast to
avoid warning.
* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): If
__ASSUME_VSYSCALL is defined don't add restorer.
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_VSYSCALL for 2.5.53.
2003-04-13 02:05:36 +00:00
Ulrich Drepper
09d65ff393
Update.
...
2003-04-11 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling.
Remove HAVE_CANCELBUF code. Replace with code using the new
initializers for unwind-based cleanup handling.
* sysdeps/generic/unwind.h: Update from latest gcc version.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few
places to allow unwind data generation.
* sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times.
* sysdeps/x86_64/bits/setjmp.h: Likewise.
* sysdeps/sh/bits/setjmp.h: Likewise.
* sysdeps/powerpc/bits/setjmp.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
* sysdeps/alpha/bits/setjmp.h: Likewise.
2003-04-12 00:58:26 +00:00
Roland McGrath
0dc44b51cd
* csu/tst-empty.c: New file.
...
* csu/Makefile (tests, tests-static): Add it.
2003-04-12 00:17:14 +00:00
Roland McGrath
9fb0cae85c
* string/test-strcmp.c (do_random_tests): Test whether return value
...
has been promoted to wordsize if the ABI requires caller to do so.
* string/test-strncmp.c (do_random_tests): Likewise.
* string/test-memcmp.c (do_random_tests): Likewise.
* sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN
before returning.
2003-04-11 22:11:44 +00:00
Roland McGrath
b35fce97f8
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
...
(__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL
is not defined, but the prctl constants are.
2003-04-11 22:09:16 +00:00
Roland McGrath
52a5e9757e
* string/tester.c (test_strcmp): Fix a typo.
2003-04-11 22:07:03 +00:00
Ulrich Drepper
539f1d28ab
Update.
...
2003-04-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition.
* sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2003-04-09 07:46:32 +00:00
Alexandre Oliva
c9efbeda6f
* 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-08 Alexandre Oliva <aoliva@redhat.com>
* 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
Ulrich Drepper
cb4d04cd61
Update.
...
2003-04-07 Ulrich Drepper <drepper@redhat.com>
* elf/ldconfig.c (parse_conf): Ignore leading whitespace. Use
feof_unlocked instead of feof.
(add_dir): Ignore trailing whitespace.
2003-04-08 04:37:11 +00:00
Roland McGrath
0a7cfefb94
* posix/bug-regex4.c (main): Cap RANGE and STOP arguments to
...
sum of SIZE1 and SIZE2 arguments.
2003-04-08 01:23:38 +00:00
Ulrich Drepper
e8b0d4a143
Update.
...
2003-04-06 Ulrich Drepper <drepper@redhat.com>
* iconv/iconv_prog.c (process_block): Don't print message about
invalid input if the -c option is used.
(main): Correctly append IGNORE string for -c option.
arguments.
2003-04-06 22:18:48 +00:00
Roland McGrath
e87d07a003
* sysdeps/sh/bits/atomic.h: Moved to ...
...
* sysdeps/unix/sysv/linux/sh/bits/atomic.h: ... here. Add comments.
(__arch_compare_and_exchange_val_*_acq): Add parens around macro
arguments.
(atomic_bit_set, atomic_bit_test_set): Likewise.
(atomic_exchange_and_add): Likewise. Don't evaluate VALUE argument
twice.
(atomic_add, atomic_add_negative, atomic_add_zero): Likewise.
2003-04-06 21:04:05 +00:00
Roland McGrath
24ff64798c
* sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register
...
restoration as done for setcontext yesterday.
2003-04-06 20:59:56 +00:00
Ulrich Drepper
efedd9cf71
Update.
...
2003-04-06 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c: Revert 2003-03-14 change.
* elf/dl-conflict.c (_dl_resolve_conflicts): Move
#if ! ELF_MACHINE_NO_RELA conditional into the routine.
2003-04-06 18:58:09 +00:00
Ulrich Drepper
a9f17952b8
Update.
...
* sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999].
2003-04-05 22:24:12 +00:00
Ulrich Drepper
abefbc51f4
Update.
...
2003-04-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
Always initialize *signgamp before returning an error.
2003-04-05 22:13:31 +00:00
Ulrich Drepper
a5392bed09
Update.
...
2003-04-05 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/i386/setcontext.S: Rewrite to avoid writing
below the stack pointer even if switching to the same context we are
running right now.
* catgets/gencat.c (read_input_file): Make sure that \n is not
alone on the line before testing for continuation.
* math/test-tgmath.c (compile_test): Initialize c.
2003-04-05 22:03:35 +00:00
Ulrich Drepper
ee6bf14d9e
Update.
...
2003-04-05 Ulrich Drepper <drepper@redhat.com>
* math/test-tgmath.c (F): Initialize c.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why
2003-04-05 21:35:28 +00:00
Ulrich Drepper
b4068b0a94
Update.
...
* libio/fileops.c (_IO_new_file_fopen): Don't free step data right
after getting them.
2003-04-05 20:43:40 +00:00
Alexandre Oliva
743f1874ad
* 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 Alexandre Oliva <aoliva@redhat.com>
* 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
Ulrich Drepper
54e0138f7f
Update.
...
2003-04-05 Ulrich Drepper <drepper@redhat.com>
* malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If
HAVE_register_atfork_malloc is defined use __register_atfork_malloc
instead of __register_atfork.
2003-04-05 09:36:56 +00:00
Roland McGrath
d0f534e9a1
* stdio-common/reg-printf.c (__register_printf_function): Calloc
...
instead of malloc __printf_arginfo_table and __printf_function_table.
Reported by John Reiser <jreiser@BitWagon.com>.
2003-04-05 00:34:07 +00:00
Roland McGrath
beb03cee27
* sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations.
...
* sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations.
* sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before
defining.
2003-04-04 22:03:25 +00:00
Alexandre Oliva
26b54a6bca
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust for n64 abi.
...
2003-04-04 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust
for n64 abi.
2003-04-04 05:12:00 +00:00
Roland McGrath
ff084b8768
* configure.in: Fix up use of compilation flags to match the build:
...
For .s files, $ASFLAGS;
For .S files, $CPPFLAGS $ASFLAGS;
For .c files, $CFLAGS $CPPFLAGS;
when linking, add $LDFLAGS.
* configure: Regenerated.
2003-04-04 03:04:08 +00:00
Ulrich Drepper
dd59050d0a
Update.
...
2003-04-03 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test
for atomic_compare_and_exchange_bool_acq failure.
2003-04-03 19:33:35 +00:00
Ulrich Drepper
148bb057a0
Update.
...
2003-04-03 Ulrich Drepper <drepper@redhat.com>
* posix/unistd.h: Define _POSIX_VERSION, _POSIX2_VERSION,
_POSIX2_C_BIND, _POSIX2_C_DEV, _POSIX2_SW_DEV, and
_POSXI2_LOCALEDEF to 200112L. Remove _POSIX2_C_VERSION.
Remove declaration of pthread_atfork.
2003-04-03 08:22:06 +00:00
Ulrich Drepper
fab07ed651
Update.
...
* locale/iso-639.def: Add many more languages from the current ISO 639.
2003-04-03 04:55:51 +00:00
Ulrich Drepper
d903678ae9
Update.
...
2003-04-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ipc_priv.h: Define IPCOP_semtimedop.
* sysdeps/generic/semtimedop.c: New file.
* sysdeps/unix/sysv/linux/i386/semtimedop.S: New file.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add semtimedop.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysvipc/Makefile (routines): Add semtimedop.
* sysvipc/Versions [GLIBC_2.3.3] (glibc): Add semtimedop.
* sysvipc/sys/sem.h: Declare semtimedop.
2003-04-02 23:49:47 +00:00
Roland McGrath
426074293f
* configure.in: Check for __register_frame_info in both
...
-lgcc and -lgcc_eh.
* configure: Regenerated.
2003-04-02 20:03:30 +00:00
Roland McGrath
a95ced3e71
* scripts/abilist.awk: Allow dots in soname suffix.
...
* scripts/abilist.awk (emit): Fix bailout condition.
2003-04-02 04:00:15 +00:00
Roland McGrath
9a197dcc6a
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the
...
IA-64 version.
2003-04-02 00:11:05 +00:00
Ulrich Drepper
fbb7fc7523
Update.
...
* elf/tls-macros.h [__ia64__] (TLS_IE, TLS_LD, TLS_GD): Add gp
register as input to asm.
2003-04-01 Jakub Jelinek <jakub@redhat.com>
2003-04-01 20:11:20 +00:00
Ulrich Drepper
4b1a1328b1
Update.
...
2003-04-01 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (sigevent_t): Fix a typo.
2003-04-01 19:04:03 +00:00
Andreas Jaeger
735881750c
* configure.in: Output as/ld as name if version is too old.
...
2003-04-01 Andreas Jaeger <aj@suse.de>
* configure.in: Output as/ld as name if version is too old.
2003-04-01 06:53:27 +00:00
Roland McGrath
640f011927
* configure.in: Don't require an installed C library in the test
...
for ".set" assembler support.
* configure: Regenerated.
2003-03-31 Roland McGrath <roland@redhat.com>
* signal/tst-sigset.c: New file.
* signal/Makefile (tests): Add it.
2003-04-01 06:50:04 +00:00
Ulrich Drepper
582b54aa23
Update.
...
2003-03-31 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65.
* sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise.
* sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise.
(__SIGRTMAX): Adjust accordingly.
* sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define
second compatibility symbol set.
* sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define.
* intl/po2test.sed: Unify the transformations for msgid and msgstr
and remove a useless s/// command.
2003-04-01 06:20:33 +00:00
Andreas Schwab
0c2601faae
*** empty log message ***
...
2003-03-31 Andreas Schwab <schwab@suse.de>
* sysdeps/m68k/m68020/bits/atomic.h (atomic_increment_and_test):
Define.
(atomic_decrement_and_test): Fix test.
2003-03-31 16:01:18 +00:00
Roland McGrath
0a9d1b3b81
* sysdeps/sparc/sparc32/bits/atomic.h: New file.
...
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: New file.
* sysdeps/sparc/sparc64/bits/atomic.h: New file.
* sysdeps/sparc/sparc32/atomicity.h: Removed.
* sysdeps/sparc/sparc32/sparcv9/atomicity.h: Removed.
* sysdeps/sparc/sparc64/atomicity.h: Removed.
2003-03-30 23:36:53 +00:00
Roland McGrath
d692f3f8c3
* scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone.
2003-03-30 22:17:05 +00:00
Roland McGrath
9ec8bbb113
* intl/po2test.sed: Anchor substitution regexps to fix last change.
2003-03-30 21:55:55 +00:00
Roland McGrath
f8278d5d09
2003-03-29 Paolo Bonzini <bonzini@gnu.org>
...
* intl/po2test.sed: Unify the transformations for msgid and msgstr
and remove a useless s/// command.
2003-03-29 21:01:08 +00:00
Ulrich Drepper
266227abcb
Update.
...
2003-03-27 David Mosberger <davidm@hpl.hp.com>
* sysdeps/ia64/dl-machine.h (RTLD_START): Wrap ".save rp, r0"
directive into empty .prologue region to ensure that call-chain
is terminated even for the first instruction.
* sysdeps/ia64/elf/start.S (_start): Use ".save rp, r0" idiom
to terminate call-chain right from the get-go.
* sysdeps/unix/sysv/linux/ia64/fork.S (fork): Remove unnecessary
stop bit between compare & branch.
2003-03-29 19:20:17 +00:00
Ulrich Drepper
d8592d04fa
Update.
...
* stdlib/strtod.c (INTERNAL): Recognize first digit after decimal
point correctly [PR libc/4993].
2003-03-29 19:05:56 +00:00
Ulrich Drepper
ea473bad4c
Update.
...
2003-03-29 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid
netlink_open calls if netlink is known to not be available.
2003-03-29 09:24:03 +00:00
Alexandre Oliva
e077d10d0d
* 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.
...
* 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
c7da3ff8c5
* sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Re-introduce ENTRY.
...
2003-03-29 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/mips/clone.S (__thread_start):
Re-introduce ENTRY.
2003-03-29 08:01:57 +00:00
Ulrich Drepper
e0c09a4362
Update.
...
2003-03-28 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/ifaddrs.c: New file.
* inet/test-ifaddrs.c: Allow AF_PACKET.
* sysdeps/unix/sysv/linux/kernel-features.h: Add
__ASSUME_NETLINK_SUPPORT.
2003-03-29 07:26:59 +00:00
Ulrich Drepper
129422e1e8
Update.
...
2003-03-28 Ulrich Drepper <drepper@redhat.com>
* elf/vismain.c (do_test): Comment out tests which fail in the moment.
2003-03-29 06:51:48 +00:00
Roland McGrath
5972c58b0e
* elf/vismod.h (getvarlocal1): Return const char **.
...
(getvarinmod1): Likewise.
(getvaritcpt1): Likewise.
(getvarlocal2): Likewise.
(getvarinmod2): Likewise.
(getvaritcpt2): Likewise.
(getvaritcpt3): Likewise.
* elf/vismain.c (do_test): Adjusted.
* elf/vismod1.c (getvarlocal1): Return address.
(getvarinmod1): Likewise.
(getvaritcpt1): Likewise.
* elf/vismod2.c (getvarlocal2): Likewise.
(getvarinmod2): Likewise.
(getvaritcpt2): Likewise.
* elf/vismod3.c (getvaritcpt3): Likewise.
* elf/vismain.c (do_test): Print both addresses when they don't match.
2003-03-29 03:46:37 +00:00
Ulrich Drepper
dd731d53dc
Update.
...
2003-03-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
Return old value. Make asm output reg constraint earlyclobber.
Renamed from...
(__arch_compare_and_exchange_8_acq): ... this.
(__arch_compare_and_exchange_val_16_acq):
Return old value. Make asm output reg constraint earlyclobber.
Renamed from...
(__arch_compare_and_exchange_16_acq): ... this.
(__arch_compare_and_exchange_val_32_acq):
Return old value. Make asm output reg constraint earlyclobber.
Renamed from...
(__arch_compare_and_exchange_32_acq): ... this.
(__arch_compare_and_exchange_val_64_acq):
Renamed from...
(__arch_compare_and_exchange_64_acq): ... this.
(atomic_exchange_and_add): Use local variables and
__arch_compare_and_exchange_val_64_acq.
(atomic_add): Likewise.
(atomic_add_negative, atomic_add_zero): Use local variables.
* Makefile: Remove libmd5crypt goal.
2003-03-29 01:24:20 +00:00
Roland McGrath
f0248ca59c
* scripts/abilist.awk: If given -v filename_regexp and/or -v
...
libname_regexp when parsing names, then produce output only
for those matching the given regexps. In combine mode, save all
stanzas for a final sorting by stanza header at the end.
Emit a blank line between stanzas.
2003-03-28 22:25:57 +00:00
Roland McGrath
7e30918b78
* scripts/abilist.awk: When given -v combine=1, do parse_names and
...
emit a single output stream with lib name in stanza header lines.
* scripts/abilist.awk: Emit A for all *ABS* regardless of type.
2003-03-28 11:41:52 +00:00
Roland McGrath
c6acf1e304
* sysdeps/powerpc/bits/atomic.h [! __powerpc64__]
...
(__arch_atomic_decrement_if_positive_64): Fix bogus definition.
2003-03-28 07:17:12 +00:00
Alexandre Oliva
3e60b5f234
* sysdeps/unix/mips/sysdep.S: Include sys/asm.h.
...
* sysdeps/unix/mips/sysdep.S: Include sys/asm.h.
2003-03-28 07:02:35 +00:00
Alexandre Oliva
d270cb11f7
* sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
...
2003-03-28 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
2003-03-28 06:11:03 +00:00
Ulrich Drepper
a854f531aa
Update.
...
2003-03-27 Ulrich Drepper <drepper@redhat.com>
* Makefile: Remove libmd5script goal.
2003-03-28 01:16:08 +00:00
Roland McGrath
41bc895adf
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore
...
special handling of relocations against local symbols.
2003-03-28 00:31:59 +00:00
Ulrich Drepper
3171ae9909
Update.
...
2003-03-27 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/bits/atomic.h
(__arch_compare_and_exchange_bool_32_acq): Move to [!__powerpc64__].
[__powerpc64__] (__arch_compare_and_exchange_bool_32_acq):
Define PPC64 specific version.
[__powerpc64__] (__arch_compare_and_exchange_bool_64_acq):
Change (mem) constraint to "b".
[__powerpc64__] (__arch_atomic_exchange_and add_64):
Replace addi with add. Change (value) contraint to "r".
Change (mem) constraint to "b".
[__powerpc64__] (__arch_atomic_decrement_if_positive_64): New macro.
(__arch_atomic_exchange_32): Change (mem) constraint to "b".
(__arch_atomic_exchange_and_add_32): Change (mem) constraint to "b".
(__arch_atomic_decrement_if_positive_32): New macro.
(atomic_decrement_if_positive): Use __arch* macros.
2003-03-27 23:50:55 +00:00
Ulrich Drepper
d5527b1774
Update.
...
2003-03-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ia64/fpu/libm-test-ulps: Update.
2003-03-27 23:30:39 +00:00
Roland McGrath
c7356b6d3b
* scripts/rpm2dynsym.sh: New file.
...
* Makefile (distribute): Add it.
2003-03-27 22:48:58 +00:00
Ulrich Drepper
28cf305854
Update.
...
2003-03-27 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's
ar.unat before returning. Add missing .mem.offset directives
to ensure file gets assembled without warnings.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2003-03-27 19:51:26 +00:00
Ulrich Drepper
0d5420ec80
Update.
...
2003-03-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf) <_SC_MONOTONIC_CLOCK>:
Return -1 instead of 0 if clock_getres failed.
2003-03-27 17:56:19 +00:00
Roland McGrath
15a686af58
* scripts/abilist.awk: If variable `parse_names' is set, grok the file
...
header lines and write out foo.symlist files for each foo.so.NN listed.
* libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden.
This symbol is exported, and we don't want to hide it.
Add libc_hidden_proto instead.
(_IO_file_jumps): Add libc_hidden_proto.
* libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def.
Remove INTVARDEF.
* libio/fileops.c (_IO_file_jumps): Likewise.
* libio/stdfiles.c: Don't use INTUSE on them.
* libio/iofdopen.c (_IO_new_fdopen): Likewise.
* libio/iofopen.c (__fopen_internal): Likewise.
* libio/freopen.c (freopen): Likewise.
* libio/freopen64.c (freopen64): Likewise.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.
2003-03-27 11:54:09 +00:00
Roland McGrath
fd54683c97
* Makerules (check-abi) [$(enable-check-abi) = warn]:
...
Ignore exit status from diff.
* configure.in (enable_check_abi): Document possible value "warn".
Change default to no for now.
* configure: Regenerated.
* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning
macro calls and a #include <stub-tag.h> at the end.
* Makerules ($(objpfx)stubs): Tweak sed commands.
* sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in
caller column for *xattr syscalls, since they are in sysdeps/generic.
* sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid
* sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid
2003-03-26 Roland McGrath <roland@redhat.com>
* Makerules (check-abi-config): Use /thread instead of /tls when
use-thread and not just use-tls is set.
* Makerules (update-abi): Put quotes around $(update-abi-config).
* elf/Makefile (check-abi): Depend on check-abi-ld.
(update-abi): Depend on update-abi-ld.
2003-03-27 09:48:09 +00:00
Ulrich Drepper
8576351599
Update.
...
2003-03-26 GOTO Masanori <gotom@debian.or.jp>
* sysdeps/unix/sysv/linux/i386/setfsuid.c: Use INTERNAL_SYSCALL and
do not check for errors (unless testing for 32bit variant).
* sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2003-03-27 08:12:58 +00:00
Roland McGrath
312472fc4d
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use
...
unconditional mov. Remove nop.
* 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:58 +00:00
Ulrich Drepper
18ef464b2f
Update.
...
2003-03-26 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_COPY): Define to 2
only if DL_NO_COPY_RELOCS is not defined.
* sysdeps/ia64/dl-lookupcfg.h: Define DL_NO_COPY_RELOCS.
2003-03-27 01:16:50 +00:00
Ulrich Drepper
11d52c3193
Update.
...
* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (struct siginfo): Avoid
no-op padding element.
* sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2003-03-26 GOTO Masanori <gotom@debian.or.jp>
* sysdeps/unix/sysv/linux/i386/getgroups.c: Fix the error
condition check for the return value of getgroups32.
2003-03-26 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_NOERRNO):
Fix a typo.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_NOERRNO,
PSEUDO_END_NOERRNO): Define.
* sysdeps/unix/sysdep.h (PSEUDO_END_NOERRNO): Fix a typo.
Define to PSEUDO_END.
2003-03-26 Ulrich Drepper <drepper@redhat.com>
2003-03-26 23:46:46 +00:00
Roland McGrath
04676765f4
* sysdeps/unix/make-syscalls.sh: When an undefined syscall has
...
SOURCE=-, append its symbol names to make variable unix-stub-syscalls.
* sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls]
(sysdep_routines): Add stub-syscalls.
($(objpfx)stub-syscalls.c): New target.
(generated): Add stub-syscalls.c.
* tls.make.c: Also define use-tls according to USE_TLS macro.
2003-03-26 22:49:50 +00:00
Ulrich Drepper
f064e4c5d7
Update.
...
2003-03-26 Ulrich Drepper <drepper@redhat.com>
* abilist/librt.abilist: Add new timer interfaces for 64-bit archs.
2003-03-26 09:41:23 +00:00
Ulrich Drepper
bdb6126c2d
Update.
...
2003-03-25 Jiro SEKIBA <jir@yamato.ibm.com>
* iconvdata/euc-tw.c (from_euc_tw): Fix return value of TO_LOOP.
* iconvdata/bug-iconv4.c: New file.
* iconvdata/Makefile (tests): Add bug-iconv4.
2003-03-26 08:12:21 +00:00
Ulrich Drepper
697119d670
Update.
...
2003-03-25 H.J. Lu <hjl@gnu.org>
* elf/dl-lookup.c (_dl_lookup_symbol): Avoid looking up protected
symbols twice.
(_dl_lookup_versioned_symbol): Likewise.
2003-03-26 05:55:17 +00:00
Ulrich Drepper
42374865bc
Update.
...
Remove struct __pthread_attr_s forward declaration.
* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2003-03-26 05:25:58 +00:00
Roland McGrath
859e708f0e
* csu/tst-atomic.c (do_test): Add some new
...
atomic_compare_and_exchange_val_acq, atomic_add_zero,
atomic_compare_and_exchange_bool_acq and atomic_add_negative tests.
* include/atomic.h (atomic_add_negative, atomic_add_zero):
Prefix local variable so that it doesn't clash with the one
in atomic_exchange_and_add.
* sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void *
pointers.
(atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i.
* sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force
value into register.
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq):
Cast newval to long.
* sysdeps/x86_64/bits/atomic.h
(__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to
long.
(atomic_exchange): Cast newvalue to long if sizeof == 8.
(atomic_exchange_and_add): Cast value to long if sizeof == 8.
(atomic_add, atomic_add_negative, atomic_add_zero): Likewise.
(atomic_bit_set): Shift 1L up in all cases to shut up warnings.
2003-03-26 04:02:03 +00:00
Roland McGrath
dd410d4d45
* sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high order
...
bit from backtrace addresses.
2003-03-21 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned
__chown symbols.
2003-03-26 03:44:33 +00:00
Roland McGrath
6a1c6a1f18
* config.make.in (enable-check-abi): New variable from configure.
...
* configure.in (enable_check_abi): New substituted variable,
controlled by --{enable,disable}-check-abi (default yes).
* configure: Regenerated.
* Makerules [$(enable-check-abi) = yes] (tests): Put this condition
on check-abi dependency.
2003-03-26 01:15:16 +00:00
Andreas Schwab
9fdf211e68
*** empty log message ***
...
* sysdeps/m68k/m68020/bits/atomic.h: Fix typos.
* include/atomic.h: Likewise.
2003-03-25 23:41:38 +00:00
Andreas Schwab
fb0216ddd6
*** empty log message ***
...
2003-03-26 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Define ret_NOERRNO.
2003-03-25 23:17:14 +00:00
Roland McGrath
7456156f81
* sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro.
...
(__arch_atomic_exchange_64): New macro.
(atomic_exchange): Use them.
(__arch_atomic_exchange_and_add_32): New macro.
(__arch_atomic_exchange_and_add_64): New macro.
(atomic_exchange_and_add): Use them.
Original patch from Steven Munroe <sjmunroe@us.ibm.com>.
2003-03-25 22:40:43 +00:00
Ulrich Drepper
bacb02966f
Update.
...
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE):
Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE):
Likewise.
2003-03-25 22:05:41 +00:00
Alexandre Oliva
1b12060c5e
* 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 Alexandre Oliva <aoliva@redhat.com>
* 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
Ulrich Drepper
09402f5bc1
Update.
...
2003-03-25 Ulrich Drepper <drepper@redhat.com>
* csu/tst-atomic.c: Adjust tests to what atomic_add_negative and
atomic_add_zero were supposed to do.
* include/atomic.h: Adjust atomic_add_negative and atomic_add_zero
to x86 behavior.
* sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*.
This matches the new timer implementation.
* sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust
timer info for what the kernel provides these days.
(struct sigevent): Add _tid field.
Define SIGEV_THREAD_ID.
* Versions.def (librt): Add GLIBC_2.3.3.
* abilist/libpthread.abilist: Update for nptl.
2003-03-25 20:41:26 +00:00
Ulrich Drepper
5e826ab537
Update.
...
2003-03-24 Jon Grimm <jgrimm@us.ibm.com>
* inet/netinet/in.h: Add IPPROTO_SCTP.
2003-03-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define.
2003-03-25 01:14:36 +00:00
Ulrich Drepper
c6289757d6
Update.
...
2003-03-24 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL):
Remove a1 from clobber list.
2003-03-24 Ulrich Drepper <drepper@redhat.com>
* timezone/antarctica: Update from tzdata2003a.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
2003-03-24 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo.
2003-03-24 19:36:57 +00:00
Ulrich Drepper
6ea5c1036d
Update.
...
* sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid
unwanted expansion by definining to ret. Patch by Ian Wienand.
2003-03-24 07:57:09 +00:00
Ulrich Drepper
9eb88290df
Update.
...
2003-03-23 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of
the parameter description to denote no error checking. Generate
appropriate pseudo asm code.
* sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'.
* sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid,
getpgrp, and getppid with 'E'.
* sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO,
PSEUDO_END_NOERRNO, and ret_NOERRNO.
* sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
* sysdeps/unix/sysdep.h: Likewise.
* sysdeps/unix/alpha/sysdep.h: Likewise.
* sysdeps/unix/sparc/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2003-03-23 19:44:31 +00:00
Roland McGrath
3045a1fe89
* Makeconfig (+includes): Don't use $(last-includes).
2003-03-23 11:17:28 +00:00
Alexandre Oliva
ad551664ee
* sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns. * sysdeps/unix/sysv/linux/configure: Rebuilt.
...
2003-03-22 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns.
* sysdeps/unix/sysv/linux/configure: Rebuilt.
2003-03-23 02:10:04 +00:00
Roland McGrath
f92abad6b9
* 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:23 +00:00
Roland McGrath
fe4610b301
* include/atomic.h: Put parens around all macro arguments.
...
(__atomic_val_bysize, __atomic_bool_bysize): New macros.
(atomic_compare_and_exchange_val_acq): Use it.
(atomic_compare_and_exchange_bool_acq): Likewise.
(atomic_increment_and_test): Invert sense of test.
(atomic_decrement_and_test): Likewise.
* csu/tst-atomic.c: Update those tests to match.
2003-03-22 23:38:18 +00:00
Roland McGrath
d15851ec24
* include/atomic.h (atomic_increment_and_test): Invert sense of test.
...
Add comment.
(atomic_decrement_and_test): Add comment.
2003-03-22 Jakub Jelinek <jakub@redhat.com>
* include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment.
Don't define if __arch_compare_and_exchange_val_32_acq is not defined.
(atomic_compare_and_exchange_bool_acq): Add comment. Don't use
__oldval variable in the macro, since it might be macro argument.
(atomic_decrement_if_positive): Initialize __memp, remove setting
of non-existent variable.
(atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting.
* sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement
using atomic_compare_and_exchange_val_acq.
(atomic_decrement_if_positive, atomic_bit_test_set): Define.
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
Renamed from...
(__arch_compare_and_exchange_bool_8_acq): ... this.
(__arch_compare_and_exchange_val_16_acq): Renamed from...
(__arch_compare_and_exchange_bool_16_acq): ... this.
(__arch_compare_and_exchange_val_32_acq): Return old value. Renamed
from...
(__arch_compare_and_exchange_bool_32_acq): ... this.
(__arch_compare_and_exchange_val_64_acq): Return old value. Renamed
from...
(__arch_compare_and_exchange_bool_64_acq): ... this.
(__arch_compare_and_exchange_val_32_acq): Use __typeof for local
variables types instead of assuming int.
Change prefix of local variables to __arch.
* sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq):
Remove.
(atomic_compare_and_exchange_val_acq,
atomic_compare_and_exchange_bool_acq): Define.
* csu/tst-atomic.c: New test.
* csu/tst-atomic-long.c: New test.
* csu/Makefile (tests): Add tst-atomic and tst-atomic-long.
* malloc/memusagestat.c (main): Kill warning if uint64_t is ulong.
* sysdeps/s390/Versions: Add trailing newline.
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning
if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument.
2003-03-22 23:01:01 +00:00
Andreas Schwab
01e694fc20
* sysdeps/m68k/fpu/libm-test-ulps: Update.
2003-03-22 21:18:24 +00:00
Andreas Schwab
faa5805746
* sysdeps/m68k/m68020/bits/atomic.h: New file.
...
* sysdeps/m68k/m68020/atomicity.h: Removed.
2003-03-22 21:01:29 +00:00
Alexandre Oliva
dda8854aa5
* sysdeps/mips/elf/ldsodefs.h: Add mips-specific elf64 relocation data structures and macros. Protect from multiple inclusion.
...
* 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
039f839ca1
* sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Fix harmless typo in #if test.
...
2003-03-22 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Fix harmless
typo in #if test.
2003-03-22 12:50:46 +00:00
Andreas Jaeger
34f8ef1b4b
Update
...
2003-03-21 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/fpu/libm-test-ulps: Update.
* math/libm-test.inc (tgamma_test): Recompute some constants with
36 digits precision.
(lgamma_test): Likewise.
(ccos_test): Likewise.
(ccosh_test): Likewise.
(clog10_test): Likewise.
(csin_test): Likewise.
(csinh_test): Likewise.
(ctan_test): Likewise.
(ctanh_test): Likewise.
2003-03-19 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerated.
2003-03-22 06:14:37 +00:00
Roland McGrath
4baa087aff
* sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir"
...
constraint to permit non-constant BIT argument.
(atomic_bit_test_set): Likewise.
* sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise.
(atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32.
For quadword case, use "i" constraint if __builtin_constant_p and < 32
or "r" constraint otherwise.
* configure.in: Move AC_PROG_CC and other program-finding before all
the version checks.
* configure: Regenerated.
2003-03-22 00:07:21 +00:00
Alexandre Oliva
8f9fb0000e
* 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 Alexandre Oliva <aoliva@redhat.com>
* 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
88b3f3ede2
* sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon.
2003-03-21 20:52:12 +00:00
Alexandre Oliva
ee7b703635
* sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New. * sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments.
...
2003-03-21 Alexandre Oliva <aoliva@redhat.com>
* 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
Roland McGrath
5d13bfc0c0
.
2003-03-21 11:15:17 +00:00
Roland McGrath
a60581ad10
* sysdeps/i386/i486/bits/atomic.h
...
(__arch_compare_and_exchange_val_64_acq): Rewrite abort-calling
version of the macro to avoid compile-time warnings.
[! __PIC__] (__arch_compare_and_exchange_64_acq): Rename to above.
(__arch_compare_and_exchange_bool_64_acq): New macro.
(atomic_exchange_and_add, atomic_add): Fix name and usage of it.
(atomic_increment, atomic_decrement): Likewise.
2003-03-21 11:15:01 +00:00
Ulrich Drepper
4541b483a9
Update.
...
2003-03-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/bits/atomic.h: Don't use matching memory constraints.
* sysdeps/i386/i486/bits/atomic.h: Likewise.
2003-03-21 09:51:39 +00:00
Roland McGrath
2923c64407
* include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix.
2003-03-21 08:54:48 +00:00
Ulrich Drepper
9f07eae298
Update.
...
2003-03-20 Ulrich Drepper <drepper@redhat.com>
* include/atomic.h: Define atomic_compare_and_exchange_val_acq,
atomic_compare_and_exchange_val_rel,
atomic_compare_and_exchange_bool_acq, and
atomic_compare_and_exchange_bool_rel instead of
atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel.
* sysdeps/i386/i486/bits/atomic.h: Define
__arch_compare_and_exchange_val_*_acq instead of
__arch_compare_and_exchange_*_acq.
* sysdeps/x86_64/bits/atomic.h: Likewise.
* sysdeps/ia64/bits/atomic.h: Define
__arch_compare_and_exchange_bool_*_acq instead of
__arch_compare_and_exchange_*_acq.
* sysdeps/powerpc/bits/atomic.h: Likewise.
* sysdeps/s390/bits/atomic.h: Likewise.
* gmon/mcount.c: Adjust for new form of compare&exchange macros.
* malloc/set-freeres.c: Likewise.
* nscd/cache.c: Likewise.
* stdlib/cxa_finalize.c: Likewise.
* sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2003-03-21 08:13:51 +00:00
Alexandre Oliva
d20152e148
* 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.
...
* 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
4b5e1c5f0e
* 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 Alexandre Oliva <aoliva@redhat.com>
* 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
Ulrich Drepper
6848aba6c3
Update.
...
2003-03-20 Ulrich Drepper <drepper@redhat.com>
* include/atomic.h (atomic_decrement_if_positive): Adjust for the
correct atomic_compare_and_exchange_acq semantics.
2003-03-20 19:44:18 +00:00
Alexandre Oliva
f1f8a9ec6f
* sysdeps/mips/ieee754.h: Remove excess #endif.
...
2003-03-20 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/mips/ieee754.h: Remove excess #endif.
2003-03-20 17:59:45 +00:00
Roland McGrath
2ff16e041a
* sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unused
...
variable. Remove superfluous memory clobber.
* include/atomic.h: Syntax braino fix.
* posix/tst-nice.c (do_test): Use %m formats instead of printing errno
in decimal. Don't bail if niced at start. Just check that nice call
bumps the total at all.
2003-03-20 11:40:51 +00:00
Alexandre Oliva
53fcb88501
* 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 Alexandre Oliva <aoliva@redhat.com>
* 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
Ulrich Drepper
f79466a8e9
Update.
...
2003-03-20 Ulrich Drepper <drepper@redhat.com>
* include/atomic.h: Define atomic_exchange and
atomic_decrement_if_positive if not already defined. Add some
__builtin_expect.
* sysdeps/i386/i486/bits/atomic.h: Define atomic_exchange.
* sysdeps/x86_64/bits/atomic.h: Likewise.
* sysdeps/ia64/bits/atomic.h: Pretty printing. Define atomic_exchange.
* sysdeps/powerpc/bits/atomic.h: Pretty printing. Define
atomic_exchange, atomic_exchange_and_add, and
atomic_decrement_if_positive
2003-03-20 10:18:24 +00:00
Alexandre Oliva
bfd49d5558
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend with a single instruction.
...
* 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
50449bed17
* 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 Alexandre Oliva <aoliva@redhat.com>
* 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
Ulrich Drepper
4009bf4044
Update.
...
2003-03-19 Ulrich Drepper <drepper@redhat.com>
* Makefile (distribute): Add include/atomic.h and bits/atomic.h.
* include/atomic.h: New file.
* sysdeps/i386/i486/bits/atomic.h: New file.
* sysdeps/x86_64/bits/atomic.h: New file.
* sysdeps/s390/bits/atomic.h: New file.
* sysdeps/sh/bits/atomic.h: New file.
* sysdeps/ia64/bits/atomic.h: New file.
* sysdeps/powerpc/bits/atomic.h: New file.
* sysdeps/generic/bits/atomic.h: New file.
* sysdeps/i386/i486/atomicity.h: Removed.
* sysdeps/x86_64/atomicity.h: Removed.
* sysdeps/s390/s390-32/atomicity.h: Removed.
* sysdeps/s390/s390-64/atomicity.h: Removed.
* sysdeps/ia64/atomicity.h: Removed.
* sysdeps/powerpc/powerpc32/atomicity.h: Removed.
* sysdeps/powerpc/powerpc64/atomicity.h: Removed.
* elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust
use of macros from atomicity.h to new names and semantics.
* gmon_mcount.c: Likewise.
* malloc/set-freeres.c: Likewise.
* nscd/cache.c: Likewise.
* stdlib/cxa_finalize.c: Likewise.
* sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
* sysdeps/mips/ieee754.h: New file, suitable to replace both
* stdlib/strtod.c (INTERNAL): While eating trailing zeros handle
2003-03-20 07:19:17 +00:00
Ulrich Drepper
85b5767c57
Update.
...
* stdlib/strtod.c (INTERNAL): While eating trailing zeros handling
hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>.
* stdlib/tst-strtod.c: Add test for the bug.
2003-03-20 01:10:57 +00:00
Alexandre Oliva
ce3a4adf6d
* 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-19 Alexandre Oliva <aoliva@redhat.com>
* 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
Ulrich Drepper
8c937b8439
Update.
...
2003-03-19 Ulrich Drepper <drepper@redhat.com>
* posix/tst-nice.c (do_test): Remove invalid of return value.
Don't run test if initial level != 0.
2003-03-19 23:03:56 +00:00