2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
* sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
* misc/tst-dirname.c (main): Add more tests, derived from a bug
report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2001-04-01 Andreas Jaeger <aj@suse.de>
* debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
is installed there.
* malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
2001-04-01 H.J. Lu <hjl@gnu.org>
* posix/annexc.c (macrofile): Renamed from TMPFILE and set to
tmpnam (NULL).
* stdlib/isomac.c (macrofile): Likewise.
2001-03-30 Thorsten Kukuk <kukuk@suse.de>
* inet/rcmd.c: Allow AF_UNSPEC as parameter.
* nis/ypclnt.c (yp_all): Print error message only at last try,
check for protocoll error only if we don't have a network error.
options after $(build-module), which is no longer a single command.
(LDFLAGS-link-rpcuserlibs): New variable to hold those options.
(LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
2001-03-11 Roland McGrath <roland@frob.com>
* elf/rtld.c (dl_main): Add cast to quiet warning.
* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
* iconv/gconv_conf.c (__gconv_get_path): Likewise.
(__gconv_read_conf): Likewise.
* iconv/gconv_db.c (gen_steps): Likewise.
(__gconv_find_transform): Likewise.
* locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
(fopen_uncompressed): Use const in second argument's type.
2001-03-11 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
* mach/mach_error.h: Fix ancient #endif syntax.
* hurd/hurdmalloc.c: Likewise.
* sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
compare_and_swap): Add volatile qualifier to first arg, to bring
these prototypes in line with all the other implementations.
Add a #warning to remind the builder that these are not atomic.
2001-03-04 Roland McGrath <roland@frob.com>
* hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
member of TEMP_F so its type is _IO_FILE * as expected.
* hurd/fopenport.c (seekio): Conditionalize type of POS argument
on [USE_IN_LIBIO]. Check the value for overflow, since for libio
it might exceed off_t's range.
2001-02-25 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
* sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
* sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
macro instead of an inline function,
(MSG_EXAMINE): Likewise.
* hurd/get-host.c: Include <string.h> for decls of built-ins.
* hurd/hurdchdir.c: Likewise.
* sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
* sysdeps/mach/hurd/opendir.c: Likewise.
* mach/mach_init.c: Include <unistd.h> for _exit decl.
* mach/errsystems.awk: Give output file a trailing newline.
* mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
the script will use our compiler for the cpp stage.
With --enable-all-warnings we get a whole bunch of warnings,
and these are just a few fixes; there are more needed to silence it.
* mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
decls before extern inline defns to quiet gcc warning.
* hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
* sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
Roland McGrath [Sun, 1 Apr 2001 05:02:48 +0000 (05:02 +0000)]
2001-03-11 Roland McGrath <roland@frob.com>
* sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
compare_and_swap): Add volatile qualifier to first arg, to bring
these prototypes in line with all the other implementations.
Add a #warning to remind the builder that these are not atomic.
Andreas Jaeger [Sat, 31 Mar 2001 19:56:57 +0000 (19:56 +0000)]
Update.
2001-03-31 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
(ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
(ARPHRD_CISCO): New.
Changes from Linux 2.4.3.
* include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
* stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
.
2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/regex.c: Fix typo and add a sentinel.
2001-03-29 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
O_NOFOLLOW. Suggested by Christoph Roland.
Ulrich Drepper [Mon, 26 Mar 2001 05:17:47 +0000 (05:17 +0000)]
Update.
Add changes which were in this form in the original patch by
Eric Norum <eric.norum@usask.ca>.
* include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
svc_max_pollfd.
* sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
__rpc_thread_createerr, __rpc_thread_svc_pollfd, and
__rpc_thread_svc_max_pollfd.
Define svc_fdset, get_rpc_createerr, svc_pollfd, and
svc_max_pollfd.
* sunrpc/rpc_thread.c: Handle first thread special, it uses the
global variables.
Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
__rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
* sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
__rpc_thread_createerr, __rpc_thread_svc_pollfd, and
__rpc_thread_svc_max_pollfd.
* sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
get_rpc_createerr.
* sunrpc/clnt_perr.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/clnt_tcp.c: Likewise.
* sunrpc/clnt_udp.c: Likewise.
* sunrpc/clnt_unix.c: Likewise.
* sunrpc/pm_getport.c: Likewise.
Ulrich Drepper [Tue, 20 Mar 2001 01:00:20 +0000 (01:00 +0000)]
Update.
2001-03-17 Bruno Haible <haible@clisp.cons.org>
* intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
2001-03-17 Bruno Haible <haible@clisp.cons.org>
* intl/gettextP.h (struct expression): Add operators lnot, less_than,
greater_than, less_or_equal, greater_or_equal. Replace args2/args3
union by a 'nargs' counter and an 'args[]' array.
* intl/plural.y: Don't include stdarg.h.
(new_exp): Take an array of arguments instead of varargs.
(new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
('?' ':'): Make right-associative.
(EQUOP2): New token, replaces '=' and '!'.
(CMPOP2): New token.
(ADDOP2): New token, replaces '+' and '-'.
(MULOP2): New token, replaces '*', '/' and '%'.
('!'): New token.
(exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
(start): Call YYABORT here.
(FREE_EXPRESSION): Update.
(yylex): Don't skip "\\n". Recognize comparison and '!' operators.
Update for new token symbols.
* intl/loadmsgcat.c (plvar, plone, germanic_plural,
init_germanic_plural): Update.
* intl/dcigettext.c (_nl_find_msg): Optimize for space.
(plural_eval): Recognize comparison and '!' operators. Optimize for
space.
2001-03-10 Bruno Haible <haible@clisp.cons.org>
* intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
NULL any more.
2001-01-05 Bruno Haible <haible@clisp.cons.org>
* intl/loadmsgcat.c: Include headers needed for alloca().
(freea): New macro.
(_nl_load_domain): Add fallback code for platforms lacking alloca.
* intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
(freea): New macro.
(read_alias_file): Simplify fallback code for platforms lacking
alloca.
2001-01-07 Bruno Haible <haible@clisp.cons.org>
* intl/gettextP.h (__gettextdebug): Remove declaration.
(__gettext_free_exp, __gettextparse): Convert prototype to K&R C
syntax.
(gettext_free_exp__, gettextparse__): New non-libc declarations.
* intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
not __gettextparse, __gettext_free_exp.
* intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
2001-02-24 Bruno Haible <haible@clisp.cons.org>
* intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
2001-01-05 Bruno Haible <haible@clisp.cons.org>
* intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
lacking strtoul, like SunOS4.
2001-01-05 Bruno Haible <haible@clisp.cons.org>
* intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
2001-01-05 Bruno Haible <haible@clisp.cons.org>
* intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
syntax.
* intl/dcigettext.c (transcmp): Convert to K&R C syntax.
* intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
* intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
syntax.
2001-01-07 Bruno Haible <haible@clisp.cons.org>
* intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
bindtextdomain__, bind_textdomain_codeset__): New declarations, from
old libgettext.h.
* intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
* intl/dcgettext.c: Likewise.
* intl/dcigettext.c: Likewise.
* intl/dcngettext.c: Likewise.
* intl/dngettext.c: Likewise.
* intl/finddomain.c: Likewise.
* intl/ngettext.c: Likewise.
* intl/textdomain.c: Likewise.
* intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
Include gettextP.h.
* intl/gettext.c: Likewise. Don't include locale.h.
2001-03-17 Bruno Haible <haible@clisp.cons.org>
* intl/gettextP.h (ZERO): New macro.
(struct binding): Always use ZERO.
* intl/bindtextdom.c (offsetof): Provide fallback for platforms that
lack it, like SunOS4.
(set_binding_values): Use offsetof, not sizeof.
* intl/dcigettext.c (offsetof): Provide fallback for platforms that
lack it, like SunOS4.
(ZERO): Remove macro.
(struct transmem_list): Use ZERO.
(DCIGETTEXT): Use offsetof, not sizeof.
2001-03-17 Bruno Haible <haible@clisp.cons.org>
* intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
nls_uint32.
* intl/bindtextdom.c: Don't include gettext.h.
* intl/dcgettext.c: Likewise.
* intl/dcigettext.c: Likewise.
* intl/dcngettext.c: Likewise.
* intl/dngettext.c: Likewise.
* intl/finddomain.c: Likewise.
* intl/localealias.c: Likewise.
* intl/ngettext.c: Likewise.
* intl/plural.y: Likewise.
* intl/textdomain.c: Likewise.
2001-03-17 Bruno Haible <haible@clisp.cons.org>
* intl/gettext.h: Don't include <stdio.h>.
2001-03-17 Bruno Haible <haible@clisp.cons.org>
* intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
* intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
Ulrich Drepper [Mon, 19 Mar 2001 23:34:54 +0000 (23:34 +0000)]
Update.
* sysdeps/unix/i386/i686/tempname.c: New file.
* sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
defined use this macro to get some bits of randomness instead of
the usual gettimeofday or time calls.
2001-03-16 Paul Eggert <eggert@twinsun.com>
* sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
not defined, and if UINT64_MAX is not defined.
Ulrich Drepper [Mon, 19 Mar 2001 22:08:34 +0000 (22:08 +0000)]
Update.
* elf/cache.c: Mark and have translated a few more messages.
2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* elf/cache.c: Add case for FLAG_S390_LIB64.
* sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
* sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
* sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
* posix/unistd.h: Change type of second parameter back to size_t
as per upcoming XPG6.
* sysdeps/unix/sysv/aix/gethostname.c: Change type of second
parameter back to size_t as per upcoming XPG6.
* sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
* sysdeps/unix/sysv/gethostname.c: Likewise.
* sysdeps/mach/hurd/gethostname.c: Likewise.
* sysdeps/generic/gethostname.c: Likewise.
Ulrich Drepper [Fri, 16 Mar 2001 21:07:22 +0000 (21:07 +0000)]
Update.
2001-03-16 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
Drop hack that was needed for 2.1.1 kernel headers.
* sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
* sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
overlay with kernel's "struct sigcontext".
* sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
sys/rse.h for "misc" subdir.
(sysdep_routines): Add __start_context for "stdlib" subdir.
* sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
kernel file of the same name).
* stdlib/Makefile (tests): Add tst-setcontext.
* stdlib/tst-setcontext.c: New file (based on a sample program by
Uli Drepper).
* sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
* sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
* sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
* sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
* sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
instead of shift & and.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
* sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/s390-64/Dist: New file.
* sysdeps/s390/s390-64/Implies: New file.
* sysdeps/s390/s390-64/Makefile: New file.
* sysdeps/s390/s390-64/__longjmp.c: New file.
* sysdeps/s390/s390-64/add_n.S: New file.
* sysdeps/s390/s390-64/atomicity.h: New file.
* sysdeps/s390/s390-64/backtrace.c: New file.
* sysdeps/s390/s390-64/bcopy.S: New file.
* sysdeps/s390/s390-64/bits/byteswap.h: New file.
* sysdeps/s390/s390-64/bits/huge_val.h: New file.
* sysdeps/s390/s390-64/bits/setjmp.h: New file.
* sysdeps/s390/s390-64/bits/string.h: New file.
* sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
* sysdeps/s390/s390-64/bsd-setjmp.S: New file.
* sysdeps/s390/s390-64/bzero.S: New file.
* sysdeps/s390/s390-64/dl-machine.h: New file.
* sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
* sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
* sysdeps/s390/s390-64/elf/setjmp.S: New file.
* sysdeps/s390/s390-64/elf/start.S: New file.
* sysdeps/s390/s390-64/ffs.c: New file.
* sysdeps/s390/s390-64/initfini.c: New file.
* sysdeps/s390/s390-64/memchr.S: New file.
* sysdeps/s390/s390-64/memcpy.S: New file.
* sysdeps/s390/s390-64/memset.S: New file.
* sysdeps/s390/s390-64/s390x-mcount.S: New file.
* sysdeps/s390/s390-64/setjmp.S: New file.
* sysdeps/s390/s390-64/strcpy.S: New file.
* sysdeps/s390/s390-64/strncpy.S: New file.
* sysdeps/s390/s390-64/sub_n.S: New file.
* sysdeps/s390/s390-64/sysdep.h: New file.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* scripts/config.guess: Add support for Linux on 64 bit S/390.
* scripts/config.sub: Likewise.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* configure.in: Add support for 64 bit S/390.
* elf/elf.h: Add new relocations for 64 bit S/390.
* shlib-versions: Add rules for Linux on 64 bit S/390.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/__longjmp.c: Move to...
* sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
to load the floating point registers that should be saved
according to the ABI.
* sysdeps/s390/bits/setjmp.h: Move to...
* sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
the use of long long in the __jmp_buf type definition.
* sysdeps/s390/dl-machine.h: Move to...
* sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
executables EI_CLASS in elf_machine_matches_host.
* sysdeps/s390/elf/setjmp.S: Move to...
* sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
branches to globally defined symbol __sigsetjmp by branches to
a local label (this avoids the generation of a R_390_PC16DBL
relocation in -fpic code).
* sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
* sysdeps/s390/setjmp.S: Move to...
* sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
floating point registers that should be saved according to the ABI.
* sysdeps/s390/sys/ucontext.h: Remove since it is unused.
* sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* configure.in: Change machine=s390 to machine=s390/s390-32.
Ulrich Drepper [Fri, 16 Mar 2001 08:53:02 +0000 (08:53 +0000)]
Update.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* shlib-versions: Add rule for Linux on 64 bit S/390.
* sysdeps/s390/s390-64/pt-machine.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/pt-initfini.c: New file.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/pt-machine.h: Move to...
* sysdeps/s390/s390-32/pt-machine.h: ...here.
Add defines for FLOATING_STACK and ARCH_STACK_MAX_SIZE.
Ulrich Drepper [Fri, 16 Mar 2001 07:40:05 +0000 (07:40 +0000)]
Update.
2001-03-12 Jakub Jelinek <jakub@redhat.com>
* csu/Makefile (abi-tag.h): Define OS and version separately, allow
version to be overriden from config.h.
* csu/abi-note.S: Use OS and version separately, include config.h.
* elf/dl-load.c (_dl_osversion): New.
(_dl_map_object_from_fd): Kill some warnings.
(open_verify): Check .note.ABI-tag of the library if present.
* elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
* elf/cache.c (struct cache_entry): Add osversion.
(print_entry): Print osversion.
(print_cache): Pass osversion to it.
(compare): Sort according to osversion.
(save_cache): Set osversion.
(add_to_cache): Add osversion argument.
* sysdeps/generic/ldconfig.h (add_to_cache, process_file,
process_elf_file): Add osversion argument.
* elf/readlib.c (process_file): Likewise.
* sysdeps/generic/readelflib.c (process_elf_file): Likewise.
* sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
process_elf32_file, process_elf64_file): Likewise.
* sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
process_elf32_file, process_elf64_file): Likewise.
* sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
process_elf32_file, process_elf64_file): Likewise.
* elf/ldconfig.c (manual_link): Pass it.
(search_dir): Issue diagnostic if two libs with the same soname in
the same directory have different .note.ABI-tag. Record osversion in
dlib_entry and use it from there.
(struct lib_entry): Remove.
(struct dlib_entry): Add osversion.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
osversion.
* sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
field with osversion.
* sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
* sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
* sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
version in _dl_osversion.
* sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
* Makerules (build-shlib-helper, build-module-helper): New.
(build-shlib, build-module-helper): Make sure .note.ABI-tag comes
early.
* config.h.in (__ABI_TAG_VERSION): Add.
* elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
Handle LD_ASSUME_KERNEL.
* sysdeps/unix/sysv/linux/dl-librecon.h: New.
* gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
writing arc structures.
2001-03-15 H.J. Lu <hjl@gnu.org>
* elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
cross-compiling.
2001-03-13 Andreas Schwab <schwab@suse.de>
* posix/PTESTS2C.sed: Replace literal CRs by `\r'.
2001-03-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
for control message fitting into message data.
Patch by James Antill <james@and.org>.
Ulrich Drepper [Thu, 15 Mar 2001 20:04:25 +0000 (20:04 +0000)]
Update.
* posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
FNM_EXTMATCH.
* posix/fnmatch_loop.c: Optimize handling of ?() and @().
* posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
* posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
* posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
avoid running binaries with libc versions without FNM_EXTMATCH support.
* include/wchar.h: Add prototype for __wcscat.
* wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.