Ulrich Drepper [Sun, 31 Aug 2003 17:24:25 +0000 (17:24 +0000)]
Update.
2003-08-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/sysdep.h (cfi_window_save, CFI_WINDOW_SAVE): Define.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Allow file to be
included multiple times.
* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Pass
ptid, tls, ctid arguments to the kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize):
Use INTERNAL_SYSCALL instead of __syscall_getpagesize.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
(__libc_sigaction): Use INLINE_SYSCALL instead of
__syscall_rt_sigaction.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(__syscall_getgroups, __syscall_getpagesize, __syscall__llseek,
__syscall_setfsgid, __syscall_setfsuid, __syscall_setgid,
__syscall_setgroups, __syscall_setregid, __syscall_setreuid,
__syscall_ipc, __syscall_setuid, __syscall_rt_sigaction,
__syscall_rt_sigpending, __syscall_rt_sigprocmask,
__syscall_rt_sigqueueinfo, __syscall_rt_sigsuspend,
__syscall_rt_sigtimedwait): Remove unneeded syscall stubs.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (sysdep_routines):
Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
rt_sigqueueinfo, rt_sigaction and rt_sigpending.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(__CLONE_SYSCALL_STRING): Define.
* sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Add
CFI directives.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(__CLONE_SYSCALL_STRING): Define.
* sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_CLONE_SYSCALL):
Define.
* sysdeps/unix/sysv/linux/sparc/system.c: New file.
* sunrpc/rpc/clnt.h: Remove a few __THROW.
* sunrpc/Makefile (CFLAGS-auth_unix.c): Add -fexceptions.
(CFLAGS-key_call.c): Likewise.
(CFLAGS-pmap_rmt.c): Likewise.
* sunrpc/rpc/auth.h: Remove serveral __THROW.
(CFLAGS-rcmd.c): Likewise.
Ulrich Drepper [Sat, 30 Aug 2003 18:51:25 +0000 (18:51 +0000)]
Update.
* inet/Makefile (CFLAGS-gethstbyad_r.c): Add -fexceptions.
(CFLAGS-gethstbynm_r.c): Likewise.
(CFLAGS-gethstbynm2_r.c): Likewise.
* resolv/Makefile (CFLAGS-res_hconf.c): Add -fexceptions.
Ulrich Drepper [Sat, 30 Aug 2003 18:30:23 +0000 (18:30 +0000)]
Update.
* argp/Makefile (CFLAGS-argp-help.c): Add -fexceptions.
(CFLAGS-argp-fmtstream.c): Likewise.
* argp/argp.h: Remove a number of __THROW.
Ulrich Drepper [Sat, 30 Aug 2003 09:32:23 +0000 (09:32 +0000)]
Update.
* misc/sys/syslog.h (vsyslog): Remove __THROW.
* posix/unistd.h: Remove __THROW from getpass prototype.
Ulrich Drepper [Sat, 30 Aug 2003 09:10:12 +0000 (09:10 +0000)]
Update.
* misc/Makefile (CFLAGS-getpass.c): Add -fexceptions.
* misc/getpass.c (getpass): Add cleanup handler to ensure the
stream is closed even if the thread is canceled.
(call_fclose): New function.
* posix/unistd.h: Remove __THROW from getpass prorotype.
* posix/Makefile (CFLAGS-getopt.c): Add -fexceptions.
* signal/signal.h (psignal): Remove __THROW.
* stdio-common/Makefile (CFLAGS-psignal.c): Add -fexceptions.
Ulrich Drepper [Sat, 30 Aug 2003 08:33:15 +0000 (08:33 +0000)]
Update.
* misc/Makefile (CFLAGS-error.c): Define.
Ulrich Drepper [Sat, 30 Aug 2003 08:31:39 +0000 (08:31 +0000)]
Update.
2003-08-30 Ulrich Drepper <drepper@redhat.com>
* misc/error.c (error): Disable cancellation handling around the
actual output. The message should in any case be printed.
(error_at_line): Likewise.
* misc/error.h: Protect parameter names with leading __.
Ulrich Drepper [Sat, 30 Aug 2003 00:24:07 +0000 (00:24 +0000)]
Update.
2003-08-28 Carlos O'Donell <carlos@baldric.uwo.ca>
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Add semtimedop.
2003-08-29 Jakub Jelinek <jakub@redhat.com>
* libio/iofgetpos64.c (_IO_new_fgetpos64): Move lock release to the
end.
2003-08-29 Ulrich Drepper <drepper@redhat.com>
* libio/stdio.h: Remove a few more __THROW.
* libio/iofputs.c (_IO_fputs): Likewise.
* libio/iofputws.c (fputws): Likewise.
Ulrich Drepper [Fri, 29 Aug 2003 19:58:49 +0000 (19:58 +0000)]
Update.
2003-08-29 Jakub Jelinek <jakub@redhat.com>
* libio/Makefile: Compile fputc.c, fputwc.c, freopen64.c, freopen.c,
fseek.c, fseeko64.c, fseeko.c, ftello64.c, ftello.c, fwide.c, getc.c,
getchar.c, getwc.c, getwchar.c, iofclose.c, iofflush.c, iofgetpos64.c,
iofgetpos.c, iofgets.c, iofgetws.c, iofputs.c, iofputws.c, iofread.c,
iofsetpos64.c, iofsetpos.c, ioftell.c, iofwrite.c, iogetdelim.c,
iogetline.c, iogets.c, iogetwline.c, ioputs.c, ioseekoff.c,
ioseekpos.c, iosetbuffer.c, iosetvbuf.c, ioungetc.c, ioungetwc.c,
oldfileops.c, oldiofclose.c, oldiofgetpos64.c, oldiofgetpos.c,
oldiofsetpos64.c, oldiofsetpos.c, peekc.c, putc.c, putchar.c, putwc.c,
putwchar.c and rewind.c with exceptions.
* sysdeps/generic/bits/stdio-lock.h (_IO_acquire_lock,
_IO_release_lock): Define.
* libio/fileops.c (_IO_new_file_underflow): Use it.
* libio/fputc.c (fputc): Likewise.
* libio/fputwc.c (fputwc): Likewise.
* libio/freopen64.c (freopen64):
* libio/freopen.c (freopen): Likewise.
* libio/fseek.c (fseek): Likewise.
* libio/fseeko64.c (fseeko64): Likewise.
* libio/fseeko.c (fseeko): Likewise.
* libio/ftello64.c (ftello64): Likewise.
* libio/ftello.c (ftello): Likewise.
* libio/fwide.c (fwide): Likewise.
* libio/getc.c (_IO_getc): Likewise.
* libio/getchar.c (getchar): Likewise.
* libio/getwc.c (_IO_getwc): Likewise.
* libio/getwchar.c (getwchar): Likewise.
* libio/iofclose.c (_IO_new_fclose):
* libio/iofflush.c (_IO_fflush): Likewise.
* libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
* libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
* libio/iofgets.c (_IO_fgets): Likewise.
* libio/iofgetws.c (fgetws): Likewise.
* libio/iofputs.c (_IO_fputs):
* libio/iofputws.c (_IO_fputs): Likewise.
* libio/iofread.c (_IO_fread): Likewise.
* libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
* libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
* libio/ioftell.c (_IO_ftell): Likewise.
* libio/iofwrite.c (_IO_fwrite): Likewise.
* libio/iogetdelim.c (_IO_getdelim): Likewise.
* libio/iogets.c (_IO_gets): Likewise.
* libio/ioputs.c (_IO_puts): Likewise.
* libio/ioseekoff.c (_IO_seekoff): Likewise.
* libio/ioseekpos.c (_IO_seekpos): Likewise.
* libio/iosetbuffer.c (_IO_setbuffer): Likewise.
* libio/iosetvbuf.c (_IO_setvbuf): Likewise.
* libio/ioungetc.c (_IO_ungetc): Likewise.
* libio/ioungetwc.c (ungetwc): Likewise.
* libio/oldiofclose.c (_IO_old_fclose): Likewise.
* libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
* libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
* libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
* libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
* libio/peekc.c (_IO_peekc_locked): Likewise.
* libio/putc.c (_IO_putc): Likewise.
* libio/putchar.c (putchar): Likewise.
* libio/putwc.c (putwc): Likewise.
* libio/putwchar.c (putwchar): Likewise.
* libio/rewind.c (rewind): Likewise.
* libio/wfileops.c (_IO_wfile_underflow): Likewise.
Ulrich Drepper [Fri, 29 Aug 2003 19:53:44 +0000 (19:53 +0000)]
Update.
2003-08-29 Jakub Jelinek <jakub@redhat.com>
* sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock,
_IO_release_lock): Define.
Ulrich Drepper [Fri, 29 Aug 2003 18:46:18 +0000 (18:46 +0000)]
Update.
2003-08-29 Ulrich Drepper <drepper@redhat.com>
* signal/signal.h: sighold, sigrelse, sigignore, sigset were
available in XPG4.2.
2003-08-27 Phil Knirsch <pknirsch@redhat.com>
Ulrich Drepper [Fri, 29 Aug 2003 18:45:35 +0000 (18:45 +0000)]
sighold, sigrelse, sigignore, sigset were available in XPG4.2.
Jakub Jelinek [Fri, 29 Aug 2003 15:02:55 +0000 (15:02 +0000)]
* tst-cancel.c (tf_sigwait, tf_sigwaitinfo, tf_sigtimedwait): Add
sigemptyset before sigaddset. Reported by jreiser@BitWagon.com.
Jakub Jelinek [Fri, 29 Aug 2003 15:02:43 +0000 (15:02 +0000)]
(tf_sigwait, tf_sigwaitinfo, tf_sigtimedwait): Add sigemptyset before sigaddset. Reported by jreiser@BitWagon.com.
Ulrich Drepper [Fri, 29 Aug 2003 07:46:40 +0000 (07:46 +0000)]
Update.
2003-08-27 Phil Knirsch <pknirsch@redhat.com>
Jakub Jelinek <jakub@redhat.com>
* sunrpc/svc.c (svc_getreqset): Fix fds_bits reading on 64-bit
big endian arches. Don't read beyond end of fds_bits array.
Ulrich Drepper [Fri, 29 Aug 2003 07:16:04 +0000 (07:16 +0000)]
Update.
2003-04-27 Bruno Haible <bruno@clisp.org>
* manual/message.texi (Advanced gettext functions): Add information
about Korean, Portuguese, Latvian. Gaeilge is also known as Irish.
Add section about Lithuanian, reported by Ricardas Cepas
<rch@richard.eu.org>.
Add information about Croatian.
Ukrainian is like Russian, reported by Andy Rysin <arysin@yahoo.com>.
Remove remark about continuation lines that is not true for PO files.
Fix formula for Slovenian, reported by Roman Maurer
<roman.maurer@amis.net>.
Ulrich Drepper [Thu, 28 Aug 2003 00:14:28 +0000 (00:14 +0000)]
Update.
* math/math_private.h: Declare __copysignf.
* sysdeps/ieee754/flt-32/s_scalbnf.c: Use __copysignf instead of
copysignf.
Ulrich Drepper [Thu, 28 Aug 2003 00:04:58 +0000 (00:04 +0000)]
Update.
2003-08-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/fpu/bits/mathinline.h: Define __signbitf,
__signbit, and __signbitl inline functions.
* sysdeps/unix/sysv/linux/x86_64/__start_context.S: Use
HIDDEN_JUMPTARGET instead of JUMPTARGET to call exit().
* sysdeps/x86_64/bsd-_setjmp.S [PIC]: Jump to __GI___sigsetjmp.
* sysdeps/x86_64/setjmp.S: Add libc_hidden_def for __sigsetjmp.
Ulrich Drepper [Wed, 27 Aug 2003 20:57:30 +0000 (20:57 +0000)]
Update.
2003-08-27 Jakub Jelinek <jakub@redhat.com>
* inet/inet_mkadr.c (inet_makeaddr): Optimize.
Ulrich Drepper [Wed, 27 Aug 2003 20:23:17 +0000 (20:23 +0000)]
Update.
2003-08-27 Ulrich Drepper <drepper@redhat.com>
* include/stdio.h: Add declarations for __builtin_fwrite and
__builtin_fwrite_unlocked.
Ulrich Drepper [Wed, 27 Aug 2003 19:20:24 +0000 (19:20 +0000)]
Update.
2003-08-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/pthread.h (pthread_exit): Remove __THROW.
(__pthread_cleanup_class): Add missing return types of member
functions.
Ulrich Drepper [Wed, 27 Aug 2003 16:54:04 +0000 (16:54 +0000)]
Update.
2003-08-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/opendir.c (__opendir): Make sure even struct dirent64
fits into allocation. Add padding on 32-bit arches so that
dirp->data is enough aligned for struct dirent64.
Avoid clearing of the buffer, just clear DIR structure.
Ulrich Drepper [Wed, 27 Aug 2003 05:54:50 +0000 (05:54 +0000)]
Update.
2003-08-26 Ulrich Drepper <drepper@redhat.com>
* nss/nsswitch.c: Add libc_hidden_def for __nss_lookup_function.
* nss/nsswitch.h: Add libc_hidden_proto for __nss_lookup_function.
Ulrich Drepper [Wed, 27 Aug 2003 04:36:23 +0000 (04:36 +0000)]
Update.
2003-08-26 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc64/elf/Makefile: New file.
Ulrich Drepper [Wed, 27 Aug 2003 04:03:12 +0000 (04:03 +0000)]
Update.
* login/programs/utmpdump.c (print_entry): Cast tv_usec to long
to match format string.
* sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (union semun): Add
__old_buf.
(__new_semctl): Shut up warning.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
(_dl_string_hwcap): Add __attribute__ ((always_inline)).
2003-08-26 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Tue, 26 Aug 2003 20:29:48 +0000 (20:29 +0000)]
Update.
2003-08-26 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
(lll_mutex_unlock_force): Add memory barrier between store and futex
syscall.
Ulrich Drepper [Tue, 26 Aug 2003 08:08:21 +0000 (08:08 +0000)]
Update.
2003-08-26 Jakub Jelinek <jakub@redhat.com>
* elf/ldconfig.c (search_dir): When checking for GNU-style .so
link file use the real file name, not the resolved name we got by
following the symlinks.
Ulrich Drepper [Mon, 25 Aug 2003 22:02:03 +0000 (22:02 +0000)]
Update.
2003-08-25 Ulrich Drepper <drepper@redhat.com>
* libio/oldfileops.c (_IO_old_file_init): Initialize _mode field
if the object size is large enough.
Ulrich Drepper [Mon, 25 Aug 2003 21:50:13 +0000 (21:50 +0000)]
Update.
2003-08-25 Jakub Jelinek <jakub@redhat.com>
* elf/ldconfig.c (search_dir): Treat symlink as regular file
if it won't point to itself unless it is .so symlink for the linker.
Ulrich Drepper [Mon, 25 Aug 2003 21:45:12 +0000 (21:45 +0000)]
Update.
2003-08-25 Ulrich Drepper <drepper@redhat.com>
* libio/libio.h (_IO_fwide): In the mode==0 optimization, don't
use _mode if _IO_fwide_maybe_incompatible.
* libio/iofwide.c (_IO_fwide): Move the test for mode == 0 after
the compatibility test.
Ulrich Drepper [Mon, 25 Aug 2003 19:24:09 +0000 (19:24 +0000)]
Update.
2003-08-25 Jakub Jelinek <jakub@redhat.com>
* elf/cache.c (save_cache): Don't write beyond end of file_entries
buffer.
Duplicate last old cache entry if the count would be odd.
Ulrich Drepper [Mon, 25 Aug 2003 19:20:28 +0000 (19:20 +0000)]
(_IO_seekoff_unlocked): Add glibc 2.0 compatibility in wide stream test.
Andreas Jaeger [Mon, 25 Aug 2003 18:51:40 +0000 (18:51 +0000)]
* sysdeps/unix/sysv/linux/posix_fadvise64.c: Cast arguments of
__LONG_LONG_PAIR to long.
2003-08-25 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/posix_fadvise64.c: Cast arguments of
__LONG_LONG_PAIR to long.
Ulrich Drepper [Mon, 25 Aug 2003 18:37:54 +0000 (18:37 +0000)]
(save_cache): Don't write beyond end of file_entries buffer. Duplicate last old cache entry if the count would be odd.
Ulrich Drepper [Mon, 25 Aug 2003 18:31:28 +0000 (18:31 +0000)]
Update.
2003-08-25 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_ERRVAL): Define.
(PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.
Ulrich Drepper [Mon, 25 Aug 2003 17:30:35 +0000 (17:30 +0000)]
Update.
2003-08-25 Ulrich Drepper <drepper@redhat.com>
* tst-cancel4.c (do_test): Also unlink tempfname and remove
tempmsg in first loop.
Ulrich Drepper [Mon, 25 Aug 2003 09:08:28 +0000 (09:08 +0000)]
Update.
2003-08-18 Alfred M. Szmidt <ams@kemisten.nu>
* sysdeps/generic/bits/libc-lock.h (__libc_cleanup_pop): Redefine
and use __libc_cleanup_region_end instead.
Ulrich Drepper [Mon, 25 Aug 2003 09:06:06 +0000 (09:06 +0000)]
Update.
2003-08-25 Ulrich Drepper <drepper@redhat.com>
* elf/ldconfig.c (search_dir): Revert patch of 2003-7-21.
Ulrich Drepper [Fri, 22 Aug 2003 18:11:32 +0000 (18:11 +0000)]
Update.
2003-08-22 Ulrich Drepper <drepper@redhat.com>
* io/fcntl.h (posix_fallocate): Change type of third parameter to
off_t.
(posix_fallocate64): Change type of third parameter to off64_t.
* sysdeps/generic/posix_fallocate.c: Adjust for type change.
* sysdeps/posix/posix_fallocate.c: Likewise.
* sysdeps/generic/posix_fallocate64.c: Likewise.
* sysdeps/posix/posix_fallocate64.c: Likewise. Add compatibility
code for 32-bit platforms.
* sysdeps/unix/sysv/linux/i386/Versions: Add new version for
posix_fallocate64.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
Ulrich Drepper [Wed, 20 Aug 2003 00:08:24 +0000 (00:08 +0000)]
Update.
* string/bits/string2.h (__STRING2_COPY_TYPE): Add attribute to
the type, not to name.
Ulrich Drepper [Tue, 19 Aug 2003 20:24:45 +0000 (20:24 +0000)]
Update.
* stdio-common/test-vfprintf.c (main): Don't write temporary file
into source directory.
Ulrich Drepper [Tue, 19 Aug 2003 09:30:22 +0000 (09:30 +0000)]
Update.
* malloc/malloc.c (_int_free): Add cheap test for some invalid
block sizes.
Ulrich Drepper [Tue, 19 Aug 2003 08:31:06 +0000 (08:31 +0000)]
Update.
2003-08-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo in
syscall name.
Ulrich Drepper [Tue, 19 Aug 2003 06:15:56 +0000 (06:15 +0000)]
Update.
2003-08-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/shm_open.c (shm_open): Fold EISDIR error
into EINVAL.
Ulrich Drepper [Tue, 19 Aug 2003 05:26:54 +0000 (05:26 +0000)]
Define _POSIX_THREAD_PRIORITY_SCHEDULING.
Roland McGrath [Mon, 18 Aug 2003 22:05:06 +0000 (22:05 +0000)]
* sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type.
(elf_machine_lazy_rel): Likewise.
Roland McGrath [Mon, 18 Aug 2003 22:04:56 +0000 (22:04 +0000)]
2003-08-18 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type.
(elf_machine_lazy_rel): Likewise.
Ulrich Drepper [Mon, 18 Aug 2003 18:13:38 +0000 (18:13 +0000)]
Update.
2003-08-18 Art Haas <ahaas@airmail.net>
* malloc/malloc.h: Remove unneeded ';' where closing the C++
extern block.
Ulrich Drepper [Mon, 18 Aug 2003 17:18:58 +0000 (17:18 +0000)]
Update.
2003-08-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/ia64/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Support
loading big binaries where @gprel(sym) cannot be handled in 'add'
but instead has to be used with 'movl'.
Ulrich Drepper [Mon, 18 Aug 2003 17:15:52 +0000 (17:15 +0000)]
(ELF_MACHINE_LOAD_ADDRESS): Support loading big binaries where @gprel(sym) cannot be handled in 'add' but instead has to be used with 'movl'.
Andreas Jaeger [Sun, 17 Aug 2003 06:33:15 +0000 (06:33 +0000)]
Update.
2003-08-17 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Sun, 17 Aug 2003 06:32:18 +0000 (06:32 +0000)]
Update.
2003-08-17 Juergen Kreileder <jk@blackdown.de>
Andreas Jaeger <aj@suse.de>
* sysdeps/x86_64/bits/byteswap.h: New file.
Andreas Jaeger [Sun, 17 Aug 2003 01:09:52 +0000 (01:09 +0000)]
Fix typo.
2003-08-17 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo.
Ulrich Drepper [Sun, 17 Aug 2003 00:37:19 +0000 (00:37 +0000)]
Update.
2003-08-16 Jakub Jelinek <jakub@redhat.com>
* sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_ERRVAL,
PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
* sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_ERRVAL,
PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
* sysdeps/unix/alpha/sysdep.h (PSEUDO_ERRVAL,
ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
* sysdeps/unix/mips/sysdep.h (PSEUDO_ERRVAL,
ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
* sysdeps/unix/sparc/sysdep.h (PSEUDO_ERRVAL,
ret_ERRVAL): Define.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_ERRVAL,
PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO_ERRVAL,
PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO_ERRVAL):
Define.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_ERRVAL,
PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
* sysdeps/unix/sysdep.h (PSEUDO_END_ERRVAL): Define.
* sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64,
posix_fadvise64_64): Remove.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (posix_fadvise64): Add
V flag.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (posix_fadvise64):
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
(posix_fadvise64): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list
(posix_fadvise64): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
(posix_fadvise64): Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (posix_fadvise64):
Likewise.
* sysdeps/unix/sysv/linux/i386/posix_fadvise64_64.S: Moved to...
* sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: ...here.
(__posix_fadvise64_l64): Fix a typo in fadvise64 syscall invocation.
(__posix_fadvise64_l32): New function.
* sysdeps/unix/sysv/linux/i386/Makefile: Revert last change.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Export
posix_fadvise64@@GLIBC_2.3.3.
* sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise.
* sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Return
error value.
* sysdeps/unix/sysv/linux/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(SYSCALL_ERROR_HANDLER): Use TLS errno/__libc_errno if USE___THREAD.
2003-08-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Remove.
(elf_machine_matches_host): Remove weak extern stuff.
Use GL(dl_hwcap) unconditionally and GL(dl_hwcap_mask) if SHARED.
(elf_machine_runtime_setup, sparc_fixup_plt): Remove weak extern
stuff. Use GL(dl_hwcap) unconditionally.
Ulrich Drepper [Sat, 16 Aug 2003 18:21:36 +0000 (18:21 +0000)]
Update.
2003-08-16 Alan Modra <amodra@bigpond.net.au>
* sysdeps/powerpc/powerpc64/elf/start.S: Add a nop after
__libc_start_main branch.
Ulrich Drepper [Sat, 16 Aug 2003 18:19:50 +0000 (18:19 +0000)]
Add a nop after __libc_start_main branch.
Andreas Jaeger [Sat, 16 Aug 2003 16:12:14 +0000 (16:12 +0000)]
* sysdeps/generic/posix_fadvise.c (posix_fadvise): Return ENOSYS
instead of setting errno.
* sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise.
2003-08-16 Jakub Jelinek <jakub@redhat.com>,
Andreas Jaeger <aj@suse.de>
* sysdeps/generic/posix_fadvise.c (posix_fadvise): Return ENOSYS
instead of setting errno.
* sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise.
Andreas Jaeger [Sat, 16 Aug 2003 09:17:57 +0000 (09:17 +0000)]
* sysdeps/generic/posix_fadvise.c (posix_fadvise): Adjust prototype.
* sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise.
2003-08-16 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/posix_fadvise.c (posix_fadvise): Adjust prototype.
* sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise.
Ulrich Drepper [Sat, 16 Aug 2003 08:10:06 +0000 (08:10 +0000)]
Update.
* sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.3.3]: Add
posix_fadvise64.
* sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (subdir_routines):
Add posix_fadvise64_64.
Ulrich Drepper [Sat, 16 Aug 2003 06:21:46 +0000 (06:21 +0000)]
Update.
2003-08-15 Ulrich Drepper <drepper@redhat.com>
* io/Versions [GLIBC_2.3.3]: Add posix_fadvise64.
* io/fcntl.h (posix_fadvise64): Change type of third parameter to
off_t.
* sysdeps/unix/sysv/linux/posix_fadvise.c: Adjust definition.
* sysdeps/unix/make-syscalls.sh: Recognize V prefix to the parameter
description indicating the error value is returned, not -1.
* sysdeps/unix/sysv/linux/Makefile [subdir=io] (subdir_routines): Add
posix_fadvise64_64.
* sysdeps/unix/sysv/linux/kernel-features.h: Add definition of
__ASSUME_FADVISE64_64_SYSCALL.
* sysdeps/unix/sysv/linux/syscalls.list: Don't define madvise and
posix_madvise in one file. Have posix_madvise defined with error
value returned.
Define posix_fadvise64_64 entry. Add version info to posix_fadvise64
entry.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Define
posix_fadvise64_64 entry. Add version info to posix_fadvise64 entry.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/i386/posix_fadvise.S: New file.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_ERRVAL,
PSEUDO_END_ERRVAL, and ret_ERRVAL.
* sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* posix/Makefile (routines): Add posix_madvise.
* sysdeps/generic/madvise.c: Don't define posix_madvise.
* sysdeps/generic/posix_madvise.c: New file.
* sysdeps/unix/sysv/aix/posix_madvise.c: New file.
Ulrich Drepper [Fri, 15 Aug 2003 17:55:25 +0000 (17:55 +0000)]
Update.
2003-08-15 Jakub Jelinek <jakub@redhat.com>
* assert/assert.h (assert_perror): Use __builtin_expect for gcc >=
3.0, not for !gcc or gcc < 3.0.
Ulrich Drepper [Fri, 15 Aug 2003 03:58:56 +0000 (03:58 +0000)]
Update.
2003-08-11 Carlos O'Donell <carlos@baldric.uwo.ca>
* dlfcn/default.c (main): Cast dlsym loaded value to same type as main.
Address passed to test_in_mod1 and test_in_mod2 without casting.
* dlfcn/defaultmod1.c: Change prototype of test_in_mod1.
(test_in_mod1): Cast dlsym loaded value to same type as mainp.
* dlfcn/defaultmod2.c: Change prototype of test_in_mod2.
(test_in_mod2): Cast dlsym loaded value to same type as mainp.
2003-08-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc32/elf/configure.in (libc_cv_sparc32_tls):
Change quotes before using [].
* sysdeps/unix/sysv/linux/sparc/sys/user.h: New file.
* sysdeps/sparc/sparc32/bits/atomic.h (__sparc32_atomic_lock):
Renamed to...
(__sparc32_atomic_locks): ...this. Change into 64-byte array.
(__sparc32_atomic_do_lock, __sparc32_atomic_do_unlock): Add addr
argument. Select one of 64 locks from address bits.
(atomic_compare_and_exchange_val_acq,
atomic_compare_and_exchange_bool_acq): Pass memory address to
__sparc32_atomic_do_{,un}lock.
Ulrich Drepper [Fri, 15 Aug 2003 03:54:01 +0000 (03:54 +0000)]
(libc_cv_sparc32_tls): Change quotes before using [].
Roland McGrath [Fri, 15 Aug 2003 00:23:43 +0000 (00:23 +0000)]
Remove files not actually removed in 2003-03-31 change
Ulrich Drepper [Thu, 14 Aug 2003 21:48:29 +0000 (21:48 +0000)]
Update.
* assert/assert.h (assert): Use !! in front of expression to allow
use of pointers.
Ulrich Drepper [Thu, 14 Aug 2003 08:49:16 +0000 (08:49 +0000)]
Update.
2003-08-14 Ulrich Drepper <drepper@redhat.com>
* iconvdata/cp932.c: Fixed checking of a few border of code areas.
Changed conversion of JIS X 0201 from using a table to calculating.
* iconvdata/euc-jp-ms.c: Fixed conversion table and rewrote
conversion routine. Changed CHARSET_NAME definition from EUCJP-MS to
EUC-JP-MS.
* iconvdata/tst-tables.sh: Add CP932 and EUC-JP-MS.
* iconvdata/CP932.irreversible: New file.
* iconvdata/EUC-JP-MS.irreversible: New file.
Patch by MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>.
Ulrich Drepper [Thu, 14 Aug 2003 00:14:43 +0000 (00:14 +0000)]
Update.
2003-08-13 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/syscalls.list: Add time syscall.
* elf/Makefile: Use LC_ALL=C in a few cases where we call external
text processing tools.
* sysdeps/pthread/aio_misc.h (struct waitlist): Don't add caller_pid
element unless BROKEN_THREAD_SIGNALS is defined.
(struct requestlist): Likewise.
* sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Don't fill in
caller_pid of new request unless BROKEN_THREAD_SIGNALS is defined.
* sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
* sysdeps/pthread/aio_notify.c (__aio_notify_only): Remove caller_pid
parameter unless BROKEN_THREAD_SIGNALS is defined. Adjust callers.
Pass current PID to __aio_sigqueue.
* sysdeps/pthread/lio_listio.c (lio_listio): Adjust __aio_notify_only
call. Don't initialize caller_pid field of waitlist element.
Ulrich Drepper [Tue, 12 Aug 2003 18:40:03 +0000 (18:40 +0000)]
Update.
2003-08-12 Jakub Jelinek <jakub@redhat.com>
* libio/libioP.h (_IO_vtable_offset): Define.
* libio/freopen.c (freopen): Use it.
* libio/ioputs.c (_IO_puts): Likewise.
* libio/freopen64.c (freopen64): Likewise.
* libio/genops.c (__underflow, __uflow, _IO_flush_all_lockp):
Likewise.
* libio/iofclose.c (_IO_new_fclose): Likewise.
* libio/iofputs.c (_IO_fputs): Likewise.
* libio/ioftell.c (_IO_ftell): Likewise.
* libio/iofwrite.c (_IO_fwrite): Likewise.
* libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
* libio/iosetbuffer.c (_IO_setbuffer): Likewise.
* stdio-common/vfprintf.c (ORIENT, vfprintf): Likewise.
* stdio-common/vfscanf.c (ORIENT): Likewise.
Ulrich Drepper [Tue, 12 Aug 2003 03:41:23 +0000 (03:41 +0000)]
Update.
2003-08-11 Ulrich Drepper <drepper@redhat.com>
* assert/assert.h: Use __builtin_expect in assert and
assert_perror definitions if possible.
Ulrich Drepper [Fri, 8 Aug 2003 07:43:03 +0000 (07:43 +0000)]
Update.
2003-08-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/ldsodefs.h (_rtld_global): Add
_dl_rtld_lock_recursive and _dl_rtld_unlock_recursive.
* elf/rtld.c (rtld_lock_default_lock_recursive,
rtld_lock_default_unlock_recursive): New functions.
(dl_main): Initialize _dl_rtld_lock_recursive and
_dl_rtld_unlock_recursive.
2003-08-05 Jakub Jelinek <jakub@redhat.com>
* elf/ldconfig.c (main): Append SLIBDIR and LIBDIR to
config_file directories instead of prepending.
Ulrich Drepper [Fri, 8 Aug 2003 07:11:21 +0000 (07:11 +0000)]
Update.
2003-08-06 Jakub Jelinek <jakub@redhat.com>
* tst-cancel17.c (do_test): Make len2 maximum of page size and
PIPE_BUF.
Ulrich Drepper [Fri, 8 Aug 2003 07:08:23 +0000 (07:08 +0000)]
Return __getpagesize () for _PC_PIPE_BUF if PIPE_BUF is not defined.
Jakub Jelinek [Thu, 7 Aug 2003 00:09:55 +0000 (00:09 +0000)]
* pthread_create.c (__pthread_create_2_0): Clear new_attr.cpuset.
Jakub Jelinek [Thu, 7 Aug 2003 00:09:47 +0000 (00:09 +0000)]
(__pthread_create_2_0): Clear new_attr.cpuset.
Ulrich Drepper [Mon, 4 Aug 2003 22:24:17 +0000 (22:24 +0000)]
Bump to 0.56.
Ulrich Drepper [Mon, 4 Aug 2003 21:53:09 +0000 (21:53 +0000)]
Update.
2003-08-03 Jakub Jelinek <jakub@redhat.com>
* sysdeps/pthread/createthread.c (do_clone): Move error handling
to first syscall error check. Move syscall error check for tkill
into __ASSUME_CLONE_STOPPED #ifdef.
Ulrich Drepper [Sun, 3 Aug 2003 06:47:02 +0000 (06:47 +0000)]
Update.
* sysdeps/pthread/createthread.c (do_clone): If __ASSUME_CLONE_STOPPED
is not defined, do explicit synchronization.
(create_thread): Do not lock pd->lock here. If __ASSUME_CLONE_STOPPED
is not defined also unlock pd->lock for non-debugging case in case
it is necessary.
* pthread_create.c (start_thread): Always get and release pd->lock
if __ASSUME_CLONE_STOPPED is not defined.
(start_thread_debug): Removed. Adjust users.
* allocatestack.c (allocate_stack): Always initialize lock if
__ASSUME_CLONE_STOPPED is not defined.
* Makefile (tests): Add tst-sched1.
* tst-sched1.c: New file.
Ulrich Drepper [Sun, 3 Aug 2003 05:23:52 +0000 (05:23 +0000)]
Update.
2003-08-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_CLONE_STOPPED.
Ulrich Drepper [Sat, 2 Aug 2003 22:31:52 +0000 (22:31 +0000)]
Update.
2003-08-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/createthread.c (do_clone): Only use
sched_setschduler and pass correct parameters.
Ulrich Drepper [Fri, 1 Aug 2003 18:13:17 +0000 (18:13 +0000)]
Update.
2003-08-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/bits/libc-lock.h
(__libc_cleanup_push,__libc_cleanup_pop): Define even here.
Ulrich Drepper [Fri, 1 Aug 2003 08:27:56 +0000 (08:27 +0000)]
Update.
Roland McGrath [Fri, 1 Aug 2003 08:20:00 +0000 (08:20 +0000)]
* sysdeps/mach/hurd/getdents.c: Just use sysdeps/generic/getdents.c.
Roland McGrath [Fri, 1 Aug 2003 08:14:26 +0000 (08:14 +0000)]
2003-08-01 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/getdents.c: Just use sysdeps/generic/getdents.c.
Ulrich Drepper [Fri, 1 Aug 2003 04:37:37 +0000 (04:37 +0000)]
Update.
* sysdeps/pthread/bits/typesizes.h (__SSIZE_T_TYPE): Define.
* sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__SSIZE_T_TYPE):
Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__SSIZE_T_TYPE):
Likewise.
* sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New file.
Ulrich Drepper [Thu, 31 Jul 2003 19:34:52 +0000 (19:34 +0000)]
Update.
* sysdeps/generic/bits/types.h (__ssize_t): Use __SSIZE_T_TYPE
instead of __SWORD_TYPE.
* sysdeps/generic/bits/typesizes.h (__SSIZE_T_TYPE): Define.
* sysdeps/mach/hurd/bits/typesizes.h (__SSIZE_T_TYPE): Define.
* sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h (__SSIZE_T_TYPE):
Define.
* sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__SSIZE_T_TYPE):
Define.
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__SSIZE_T_TYPE):
Define.
* sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New file.
Ulrich Drepper [Thu, 31 Jul 2003 19:26:38 +0000 (19:26 +0000)]
Update.
2003-07-31 Jakub Jelinek <jakub@redhat.com>
* dlfcn/dlerror.c (once): New.
(dlerror): Call __libc_once.
(_dlerror_run): Remove once.
2003-07-31 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
Sync with 2.5.7 and 2.5.73 kernel changes.
2003-07-31 Jakub Jelinek <jakub@redhat.com>
* dlfcn/eval.c (funcall): Add noinline attribute to shut up warnings.
* elf/rtld.c (dl_main): Cast ElfW(Addr) arguments with %Zx/%Zd
formats to size_t.
* elf/dl-lookup.c (_dl_debug_bindings): Likewise.
* elf/tst-tls6.c (do_test): Use %zd format for l_tls_modid.
* elf/tst-tls8.c (do_test): Use %zd format for modid1 and modid2.
* gmon/tst-sprofil.c (main): Add parens to shut up warning.
* iconv/tst-iconv3.c (main): Use %td instead of %zd for pointer
difference argument.
* stdio-common/tst-wc-printf.c (main): Cast arguments with %C
format to wint_t.
* stdlib/tst-limits.c (main): For WORD_BIT and LONG_BIT, use
%d format and cast expected value to int.
* sysdeps/generic/libc-start.c (STATIC): Add
__attribute__((always_inline) if LIBC_START_MAIN is already defined.
* sysdeps/powerpc/fpu/w_sqrt.c (a_nan, a_inf): Change from uint32_t
to ieee_float_shape_type.
(__sqrt): Avoid type punning.
* sysdeps/powerpc/fpu/w_sqrtf.c (a_nan, a_inf): Change from uint32_t
to ieee_float_shape_type.
(__sqrtf): Avoid type punning.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Don't define
refsym if in dl-conflict.c.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/unix/sysv/linux/i386/semctl.c (union semun): Add __old_buf.
(__new_semctl): Shut up warning.
* sysdeps/unix/sysv/linux/semctl.c (union semun): Add __old_buf.
(__new_semctl): Shut up warning.
* sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Wrap long lines.
Change old into union of __old_shmid_ds and __old_shminfo structs.
Adjust all users.
* wcsmbs/wcsmbs-tst1.c (main): Cast arguments with %C format to wint_t.
2003-07-31 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/utimes.c (__utimes): Fix actime and
modtime computation.
* sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
* sysdeps/posix/utimes.c (__utimes): Likewise.
Ulrich Drepper [Thu, 31 Jul 2003 09:25:54 +0000 (09:25 +0000)]
Update.
2003-07-31 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
(__pthread_cond_timedwait): Don't use cmov unless HAVE_CMOV is defined.
* sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
Define HAVE_CMOV.
Patch by Nicholas Miell <nmiell@attbi.com>.
Ulrich Drepper [Thu, 31 Jul 2003 07:42:20 +0000 (07:42 +0000)]
Update.
2003-07-30 Jakub Jelinek <jakub@redhat.com>
* elf/dl-reloc.c (_dl_allocate_static_tls): Don't return any value,
call dl_signal_error directly. If already relocated, call
GL(dl_init_static_tls) directly, otherwise queue it for later.
(CHECK_STATIC_TLS): Undo 2003-07-24 change.
* elf/rtld.c (dl_main): Initialize GL(dl_init_static_tls).
* elf/dl-open.c (dl_open_worker): Call GL_dl_init_static_tls
for all static TLS initializations delayed in _dl_allocate_static_tls.
* elf/dl-support.c (_dl_init_static_tls): New variable.
* include/link.h (struct link_map): Add l_need_tls_init.
* sysdeps/generic/ldsodefs.h (_rtld_global): Add _dl_init_static_tls.
(_dl_nothread_init_static_tls): New prototype.
(_dl_allocate_static_tls): Adjust prototype.
* elf/tls-macros.h (VAR_INT_DEF): Add alignment directive.
elf_machine_rela_relative): Adjust.
(CHECK_STATIC_TLS): _dl_allocate_static_tls can fail now.
Ulrich Drepper [Thu, 31 Jul 2003 07:34:08 +0000 (07:34 +0000)]
(_dl_allocate_static_tls): Don't return any value, call dl_signal_error directly. If already relocated, call GL(dl_init_static_tls) directly, otherwise queue it for later. (CHECK_STATIC_TLS): Undo 2003-07-24 change.
Alexandre Oliva [Thu, 31 Jul 2003 06:33:53 +0000 (06:33 +0000)]
* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela, elf_machine_rel_relative, elf_machine_rela_relative): Don't assume reloc_addr is aligned. * sysdeps/alpha/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): Adjust. * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela, elf_machine_rel_relative, elf_machine_rela_relative): Adjust. * sysdeps/cris/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): Adjust. * sysdeps/hppa/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): Adjust. * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela, elf_machine_rel_relative, elf_machine_rela_relative): Adjust. * sysdeps/ia64/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): Adjust. * sysdeps/m68k/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): Adjust. * sysdeps/mips/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): Adjust. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): Adjust. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela_relative, elf_machine_rela): Adjust. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): Adjust. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): * sysdeps/sh/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): Adjust. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): Adjust. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): Adjust. * sysdeps/x86_64/dl-machine.h (elf_machine_rela, elf_machine_rela_relative): Adjust.
2003-07-31 Alexandre Oliva <aoliva@redhat.com>
* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Don't assume
reloc_addr is aligned.
* sysdeps/alpha/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/cris/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/hppa/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/ia64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/m68k/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/mips/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc64/dl-machine.h
(elf_machine_rela_relative, elf_machine_rela): Adjust.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative):
* sysdeps/sh/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
Roland McGrath [Wed, 30 Jul 2003 07:06:00 +0000 (07:06 +0000)]
revert bogus commit
Ulrich Drepper [Wed, 30 Jul 2003 05:23:16 +0000 (05:23 +0000)]
Update.
2003-07-29 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Restore
alignment of TCB used before the last change so that it matches
ld's output for IE code.
Ulrich Drepper [Wed, 30 Jul 2003 05:21:00 +0000 (05:21 +0000)]
(_dl_determine_tlsoffset): Restore alignment of TCB used before the last change so that it matches ld's output for IE code.
Roland McGrath [Tue, 29 Jul 2003 23:48:35 +0000 (23:48 +0000)]
* include/ctype.h (__ctype_b_loc, __ctype_toupper_loc,
__ctype_tolower_loc): Avoid "dereferencing type-punned pointer will
break strict-aliasing rules" warnings.
Roland McGrath [Tue, 29 Jul 2003 21:28:19 +0000 (21:28 +0000)]
* elf/dl-support.c: Likewise.
Roland McGrath [Tue, 29 Jul 2003 21:14:31 +0000 (21:14 +0000)]
* elf/Makefile: Revert accidental changes in last commit.
Roland McGrath [Tue, 29 Jul 2003 09:32:03 +0000 (09:32 +0000)]
* rt/tst-timer2.c: New file.
* rt/Makefile (tests): Add it.
Roland McGrath [Tue, 29 Jul 2003 08:57:15 +0000 (08:57 +0000)]
* elf/dl-support.c (_dl_hwcap): Add nocommon attribute.
Roland McGrath [Tue, 29 Jul 2003 08:36:30 +0000 (08:36 +0000)]
* elf/Makefile (tests) [$(build-shared) = yes]:
Depend on $(test-modules).
* dlfcn/Makefile: Likewise.
Roland McGrath [Mon, 28 Jul 2003 22:29:47 +0000 (22:29 +0000)]
* sysdeps/generic/bits/types.h (__STD_TYPE): New macro.
Use that instead of `typedef' when using __*_TYPE macros in rhs.