Age | Commit message (Collapse) | Author |
|
2002-10-22 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (struct filebuf): For buf element to have the
alignment of ElfXX_Ehdr since this is what will be stored in it.
2002-10-19 Art Haas <ahaas@neosoft.com>
|
|
this is what will be stored in it.
|
|
into pointer to locrec_offset.
(add_locale_to_archive): Adjust callers. Free normalized_name right
before returning, not immediately after add_locale, pass it to
add_alias if not NULL instead of name. Rename second normalized_name
occurence to nnormalized_codeset_name.
2002-10-21 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set
caller to EXTRA instead of execve, since the latter has a
higher-priority implementation in linuxthreads.
|
|
caller to EXTRA instead of execve, since the latter has a
higher-priority implementation in linuxthreads.
|
|
string_size is always a multiple of 4.
Reported by Andreas Schwab <schwab@suse.de>.
|
|
slotinfo list's len member to the proper size, not just 1.
Initialize static_map.l_tls_initimage.
* elf/dl-open.c (dl_open_worker): Fix loop searching for
dtv_slotinfo_list element containing new modules' l_tls_modid.
* elf/tst-tls9.c, elf/tst-tls9-static.c: New files.
* elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files.
* elf/Makefile (tests): Add tst-tls9.
(tests-static): Add tst-tls9-static.
(tst-tls9-static-ENV): New variable.
($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets.
* elf/dl-close.c (remove_slotinfo): Remove an assert; the number of
modids used by partially loaded modules being closed can't be known.
|
|
* elf/tst-tls9.c, elf/tst-tls9-static.c: New files.
* elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files.
* elf/Makefile (tests): Add tst-tls9.
(tests-static): Add tst-tls9-static.
(tst-tls9-static-ENV): New variable.
($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets.
|
|
2002-10-21 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/Makefile: Add a test case for the bug reported by Aharon
Robbins <arnold@skeeve.com>.
* posix/bug-regex13.c: New file.
* posix/regcomp.c (peek_token_bracket): Skip the byte already read.
2002-10-21 Ulrich Drepper <drepper@redhat.com>
* csu/gmon-start.c: Pretty printing.
* configure.in: Replace obsolete AC_OUTPUT syntax with
AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio.
* aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for
* configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
* sysdeps/alpha/elf/configure.in: Likewise.
* sysdeps/i386/elf/configure.in: Likewise.
* sysdeps/mach/hurd/configure.in: Likewise.
* sysdeps/x86_64/elf/configure.in: Likewise.
* sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
* sysdeps/generic/configure.in: Likewise.
* sysdeps/i386/elf/configure.in: Likewise.
* sysdeps/ia64/elf/configure.in: Likewise.
* sysdeps/mach/configure.in: Likewise.
* sysdeps/mach/hurd/configure.in: Likewise.
* sysdeps/unix/configure.in: Likewise.
* sysdeps/unix/common/configure.in: Likewise.
* sysdeps/unix/sysv/aix/configure.in: Likewise.
* sysdeps/unix/sysv/linux/configure.in: Likewise.
* sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
* sysdeps/x86_64/elf/configure.in: Likewise.
|
|
|
|
* configure.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS,
add AC_HELP_STRING to all AC_ARG_WITH and AC_ARG_ENABLE macros,
add autoconf quotes to the AC_CONFIG_AUX_DIR macro.
* configure: Regenerated.
|
|
and then set $subdirs directly, because the new Autoconf breaks
compatibility in every way imaginable and insists on whining
about usage that worked since the dawn of time.
* configure: Regenerated.
|
|
* sysdeps/alpha/elf/configure: Likewise.
* sysdeps/generic/configure: Likewise.
* sysdeps/i386/elf/configure: Likewise.
* sysdeps/ia64/elf/configure: Likewise.
* sysdeps/mach/hurd/configure: Likewise.
* sysdeps/mach/configure: Likewise.
* sysdeps/unix/configure: Likewise.
* sysdeps/unix/common/configure: Likewise.
* sysdeps/unix/sysv/aix/configure: Likewise.
* sysdeps/unix/sysv/linux/configure: Likewise.
* sysdeps/unix/sysv/linux/mips/configure: Likewise.
* sysdeps/x86_64/elf/configure: Likewise.
* config.make.in: Nix completely-soft nonsense.
* configure.in: Likewise. Under --without-fp, use nofpu subdirectory
of machine directories instead of fpu subdirectory.
* sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
* sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
* sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
* sysdeps/powerpc/nofpu/sim-full.c: ... here.
* sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
* sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
* sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
* sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
* sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
* sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
* sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
* sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
* sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
* sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
* sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
* sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
* sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
* sysdeps/powerpc/nofpu/fegetenv.c: ... here.
* sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
* sysdeps/powerpc/nofpu/fesetenv.c: ... here.
* sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
* sysdeps/powerpc/nofpu/fegetround.c: ... here.
* sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
* sysdeps/powerpc/nofpu/fesetround.c: ... here.
* sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
* sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
* sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
* sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
* sysdeps/powerpc/nofpu/fenv_const.c: ... here.
* sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
* sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
* sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
* sysdeps/powerpc/nofpu/soft-supp.h: ... here.
* sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
* sysdeps/powerpc/nofpu/Versions: ... here, new file.
2002-10-19 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file.
2002-10-18 Roland McGrath <roland@redhat.com>
* io/Makefile (routines): Add lchmod.
* io/sys/stat.h [__USE_BSD] (lchmod): Declare it.
* sysdeps/generic/lchmod.c: New file.
* sysdeps/mach/hurd/lchmod.c: New file.
* io/Versions (libc: GLIBC_2.3.2): New set, add lchmod.
|
|
AC_FD_MSG with AS_MESSAGE_FD.
|
|
typos: VALUE -> FINALADDR.
|
|
AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio.
|
|
(inline_syscall_clobbers, inline_syscall0, inline_syscall1)
(inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
(inline_syscall6): Move these macros ...
* sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
* aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for
_AS_PATH_SEPARATOR_PREPARE and _AS_TEST_PREPARE.
|
|
variables and the AC_LINK_FILES call.
* sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Fix last
change to put new symbols here instead of in GLIBC_2.2.
* sysdeps/powerpc/Subdirs: Move this file ...
* sysdeps/powerpc/soft-fp/Subdirs: ... here.
|
|
sysdeps/unix/sysv/linux/i386/bits/time.h file. All the following
files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID
and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these
macros is ok even for architectures that don't now implement them.
* sysdeps/mach/hurd/bits/time.h: File removed.
* sysdeps/unix/sysv/linux/bits/time.h: File removed.
* sysdeps/unix/sysv/linux/i386/bits/time.h: File removed.
* sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed.
* sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed.
|
|
* sysdeps/alpha/elf/configure.in: Likewise.
* sysdeps/i386/elf/configure.in: Likewise.
* sysdeps/mach/hurd/configure.in: Likewise.
* sysdeps/x86_64/elf/configure.in: Likewise.
|
|
|
|
* sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
* sysdeps/generic/configure.in: Likewise.
* sysdeps/i386/elf/configure.in: Likewise.
* sysdeps/ia64/elf/configure.in: Likewise.
* sysdeps/mach/configure.in: Likewise.
* sysdeps/mach/hurd/configure.in: Likewise.
* sysdeps/unix/configure.in: Likewise.
* sysdeps/unix/common/configure.in: Likewise.
* sysdeps/unix/sysv/aix/configure.in: Likewise.
* sysdeps/unix/sysv/linux/configure.in: Likewise.
* sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
* sysdeps/x86_64/elf/configure.in: Likewise.
|
|
GLIBC_PROVIDES. Use plain comment instead of HEADER-COMMENT so
that it's obvious when extra autoconf machinery is being dragged in.
|
|
2002-10-08 Aldy Hernandez <aldyh@redhat.com> change.
* configure: Regenerated.
|
|
(statfs_filesize_max): New function.
* sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
* sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
statfs_filesize_max.
* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
* sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
* sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
|
|
|
|
|
|
* sysdeps/powerpc/soft-fp/soft-supp.h: New file.
|
|
|
|
* configure: Regenerated.
* sysdeps/mach/configure.in (MIG): Do the AC_CHECK_TOOL here.
Adding final - argument to all AC_CHECK_HEADER uses for .defs files.
* sysdeps/mach/configure: Regenerated.
* aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_TR_SH_PREPARE])
and AC_PROVIDE([_AS_CR_PREPARE]).
|
|
Remove AC_LANG(C) call, instead just define([_AC_LANG], [C]).
* elf/dl-support.c: Move _dl_tls_* variables to ...
* sysdeps/generic/libc-tls.c: ... here.
* elf/dl-close.c (remove_slotinfo): Take new argument. If false,
allow IDX to be one past the current last slotinfo entry.
(_dl_close): Pass IMAP->l_init_called for that parameter.
|
|
* elf/dl-close.c (remove_slotinfo): Take new argument. If false,
allow IDX to be one past the current last slotinfo entry.
(_dl_close): Pass IMAP->l_init_called for that parameter.
|
|
2002-10-07 Andreas Schwab <schwab@suse.de>
* aclocal.m4: Fix for autoconf 2.53.
* configure.in: Likewise. Require autoconf 2.53.
|
|
2002-10-08 Richard Henderson <rth@redhat.com>
* soft-fp/op-4.h: Handle carry correctly in
__FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
__FP_FRAC_SUB_4, __FP_FRAC_DEC_3, __FP_FRAC_DEC_4.
* soft-fp/op-common.h: New macros _FP_DIV_MEAT_N_loop.
2002-10-08 Aldy Hernandez <aldyh@redhat.com>
* configure.in: Compute completely-soft.
* config.make.in: Make completely-soft available to sub-makes.
* sysdeps/powerpc/soft-fp/Makefile: Add gcc-single-routines and
gcc-double-routines. Add sim-full.c. Add fenv_const and
fe_nomask to libm-support.
* sysdeps/powerpc/soft-fp/sim-full.c: New file.
* sysdeps/powerpc/soft-fp/fraiseexcpt.c: New file.
* sysdeps/powerpc/soft-fp/fegetexcept.c: New file.
* sysdeps/powerpc/soft-fp/fclrexcpt.c: New file.
* sysdeps/powerpc/soft-fp/ftestexcept.c: New file.
* sysdeps/powerpc/soft-fp/fgetexcptflg.c: New file.
* sysdeps/powerpc/soft-fp/fsetexcptflg.c: New file.
* sysdeps/powerpc/soft-fp/fedisblxcpt.c: New file.
* sysdeps/powerpc/soft-fp/feenablxcpt.c: New file.
* sysdeps/powerpc/soft-fp/fegetenv.c: New file.
* sysdeps/powerpc/soft-fp/fesetenv.c: New file.
* sysdeps/powerpc/soft-fp/fegetround.c: New file.
* sysdeps/powerpc/soft-fp/fesetround.c: New file.
* sysdeps/powerpc/soft-fp/feupdateenv.c: New file.
* sysdeps/powerpc/soft-fp/feholdexcpt.c: New file.
* sysdeps/powerpc/soft-fp/fenv_const.c: New file.
* sysdeps/powerpc/soft-fp/libm-test-ulps: New file.
* sysdeps/powerpc/soft-fp/Versions: Add libgcc soft-float
symbols. Add __sim_disabled_exceptions, __sim_exceptions,
__sim_round_mode.
* sysdeps/powerpc/soft-float/Dist: Add sim-full.c, fenv_const.c.
* sysdeps/powerpc/soft-float/sfp-machine.h: Define
FP_HANDLE_EXCEPTIONS.
Define FP_ROUNDMODE.
Redefine FP_* macros to correspond to the FE_* bit positions.
Define FP_DIV_MEAT_S to _FP_DIV_MEAT_1_loop.
Define externs for __sim_exceptions, __sim_disabled_exceptions,
__sim_round_mode, __simulate_exceptions.
* sysdeps/powerpc/fpu/bits/fenv.h: Move file from here...
* sysdeps/powerpc/bits/fenv.h: ...to here.
2002-10-06 Jakub Jelinek <jakub@redhat.com>
* sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
Store R_PPC_UADDR32 and R_PPC_UADDR16 one byte at a time.
Use __builtin_expect for R_PPC_ADDR24 overflow check. Fix
R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use
__builtin_expect.
|
|
a time. Use __builtin_expect for R_PPC_ADDR24 overflow check. Fix R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use __builtin_expect.
|
|
|
|
* configure: Regenerated.
|
|
* configure.in: Grok --without-__thread and disable HAVE___THREAD.
* configure: Regenerated.
|
|
2002-10-15 Jakub Jelinek <jakub@redhat.com>
* include/resolv.h (__libc_res_nquery, __libc_res_nsearch,
__libc_res_nsend): New prototypes.
* resolv/res_query.c (QUERYSIZE): Define.
(__libc_res_nquery): Renamed from res_nquery. Added answerp
argument. Allocate only QUERYSIZE bytes first, if res_nmkquery
fails use MAXPACKET buffer. Call __libc_res_nsend instead of
res_nsend, pass answerp.
(res_nquery): Changed into wrapper around __libc_res_nquery.
(__libc_res_nsearch): Renamed from res_nsearch. Added answerp
argument. Call __libc_res_nquerydomain and __libc_res_nquery
instead of the non-__libc_ variants, pass them answerp.
(res_nsearch): Changed into wrapper around __libc_res_nsearch.
(__libc_res_nquerydomain): Renamed from res_nquerydomain.
Added answerp argument. Call __libc_res_nquery instead of
res_nquery, pass answerp.
(res_nquerydomain): Changed into wrapper around
__libc_res_nquerydomain.
* resolv/res_send.c: Include sys/ioctl.h.
(MAXPACKET): Define.
(send_vc): Change arguments. Reallocate answer buffer if it is
too small.
(send_dg): Likewise.
(__libc_res_nsend): Renamed from res_nsend. Added ansp argument.
Reallocate answer buffer if it is too small and hooks are in use.
Adjust calls to send_vc and send_dg.
(res_nsend): Changed into wrapper around __libc_res_nsend.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate
just 1K answer buffer on the stack, use __libc_res_nsearch instead
of res_nsearch.
(_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery.
* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
(_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch.
* resolv/gethnamaddr.c (gethostbyname2): Likewise.
(gethostbyaddr): Similarly with __libc_res_nquery.
* resolv/Versions (libresolv): Export __libc_res_nquery and
__libc_res_nsearch at GLIBC_PRIVATE.
|
|
|
|
|
|
before performing the reloc, not before.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
|
|
* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Do CHECK_STATIC_TLS
before performing the reloc, not before.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
|
|
2002-10-17 Ulrich Drepper <drepper@redhat.com>
* locale/programs/locale.c (write_locales): Use 'm' flag in fopen call.
* locale/programs/linereader.c (lr_open): Likewise.
* locale/programs/charmap-dir.c (charmap_open): Likewise.
* locale/programs/locarchive.c (add_locale_to_archive): Likewise.
|
|
2002-10-17 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/bug-regex11.c: Add a test case for the bug reported by
Paolo Bonzini <bonzini@gnu.org>.
* posix/regexec.c (sift_states_bkref): Use correct destination of
the back reference.
|
|
|
|
* elf/dl-reloc.c (_dl_relocate_object: CHECK_STATIC_TLS): New macro
to signal error if an IE-model TLS reloc resolved to a dlopen'd module.
* sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
Call it after performing TPOFF relocs.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
* elf/dl-conflict.c (CHECK_STATIC_TLS): New macro (no-op).
* elf/dl-close.c (remove_slotinfo): Change asserts so as not to crash
when closing a partially-initialized object.
* elf/dl-load.c (_dl_map_object_from_fd) [! USE_TLS]: Call lose
instead of _dl_fatal_printf when we see PT_TLS.
|
|
instead of $(libof-$<).
|
|
instead of += to append, to be sure $(lib) gets expanded at defn time.
(libof-$(cpp-src)): New variable, define this instead.
* extra-lib.mk (cpp-srcs-left): Reduce duplication in include setup.
(lib): Don't use override.
(CPPFLAGS-$(lib)): New variable, put -D's here.
* Makeconfig (CPPFLAGS): Use basename fn for CPPFLAGS-basename.
Also add $(CPPFLAGS-LIB) before the file-specific flags, for each
LIB found by $(libof-*) for basename, target, or source.
* Makerules (CPPFLAGS-nonlib): New variable.
* nscd/Makefile (lib): Set to nonlib when using cppflags-iterator.mk.
* locale/Makefile (lib): Likewise.
* sunrpc/Makefile (lib): Likewise.
* sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
* sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
* sysdeps/unix/sysv/linux/pathconf.h: New file.
(statfs_link_max): New function, guts from fpathconf.c.
* sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
* sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
to use the linux/pathconf.c code by #include rather than duplication.
* sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
2002-10-16 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
Use __libc_errno only for libc itself.
|
|
* sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
* sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
* sysdeps/unix/sysv/linux/pathconf.h: New file.
(statfs_link_max): New function, guts from fpathconf.c.
* sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
* sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
to use the linux/pathconf.c code by #include rather than duplication.
* sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
|
|
|