platform/upstream/glibc.git
22 years agoUpdate.
Ulrich Drepper [Mon, 8 Apr 2002 21:05:48 +0000 (21:05 +0000)]
Update.

2002-04-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>

* elf/elf.h: Define R_SH_TLS_xxx macros.
* elf/rtld.c: Remove an extra parenthesis.
* elf/tls-macros.h: Define SH version TLS_LE, TLS_IE, TLS_LD and
TLS_GD macros.
* sysdeps/generic/dl-tls.c: Add a missing semi-colon.
* sysdeps/sh/dl-lookupcfg.h: New file.
* sysdeps/sh/dl-tls.h: New file.
* sysdeps/sh/dl-machine.h (elf_machine_type_class): Set
ELF_RTYPE_CLASS_PLT also for the three TLS relocations.
(elf_machine_rela): Handle R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32 and
R_SH_TLS_TPOFF32 relocations.

22 years agoUpdate.
Ulrich Drepper [Mon, 8 Apr 2002 18:50:41 +0000 (18:50 +0000)]
Update.

2002-04-08  Ulrich Drepper  <drepper@redhat.com>

* cppflags-iterator.mk (cpp-srcs-left): Define NOT_IN_libc instead
of NOT_IN_LIBC.
* include/libintl.h: Test for NOT_IN_libc not NOT_IN_LIBC.
* include/stdlib.h: Likewise.

2002-04-08  Jakub Jelinek  <jakub@redhat.com>

* elf/Makefile (CFLAGS-.os): Define NOT_IN_libc and IS_IN_rtld
instead of _RTLD_LOCAL.
* elf/dl-dst.h: Use IS_IN_rtld instead of _RTLD_LOCAL.
* include/unistd.h: Likewise.
* sysdeps/generic/ldsodefs.h: Likewise.

* stdio-common/_itoa.h (_itoa_word): Only use internal digit arrays
if in libc or ld.so.

* include/stdlib.h: For libc itself replace MB_CUR_MAX definition
with one accessing the locale data structures directly.
* stdio-common/printf-prs.c: Include localeinfo.h for new
MB_CUR_MAX definition.

22 years agoFor libc itself replace MB_CUR_MAX definition with one accessing the locale data...
Ulrich Drepper [Mon, 8 Apr 2002 18:26:37 +0000 (18:26 +0000)]
For libc itself replace MB_CUR_MAX definition with one accessing the locale data structures directly.

22 years agoUpdate.
Andreas Jaeger [Mon, 8 Apr 2002 15:21:19 +0000 (15:21 +0000)]
Update.

2002-04-08  Andreas Jaeger  <aj@suse.de>

* elf/cache.c (print_entry): Support x86-64.

22 years agoUpdate.
Andreas Jaeger [Mon, 8 Apr 2002 11:15:19 +0000 (11:15 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Fix rewrite rule.

22 years agoFix rewrite rule.
Andreas Jaeger [Mon, 8 Apr 2002 11:14:01 +0000 (11:14 +0000)]
Fix rewrite rule.

22 years agoUpdate.
Ulrich Drepper [Mon, 8 Apr 2002 08:59:00 +0000 (08:59 +0000)]
Update.

2002-04-08  Ulrich Drepper  <drepper@redhat.com>

* Makeconfig (CPPFLAGS): Also add CPPFLAGS-<basename> where <basename>
is the name of the source file without extension.
* Makefile (distribute): Add cppflags-iterator.mk.
* cppflags-iterator.mk: New file.
* extra-lib.mk: For the sources of the library run
cppflags-iterator.mk.

* include/libintl.h: Declare __dcgettext_internal and
_libc_intl_domainname_internal.  Define __dcgettext using these
two symbols if used in libc itself.
* argp/argp-help.c: Define dgettext using __dcgettext_internal and
_libc_intl_domainname_internal.
* argp/argp-parse.c: Likewise.
* intl/dcgettext.c (__dcgettext): Use INTDEF to define alias.
* intl/dgettext.c: Call __dcgettext_internal instead of __dcgettext.
* intl/gettext.c: Likewise.
* locale/SYS_libc.c (_libc_intl_domainname): Use INTDEF to define
alias.
* posix/regcomp.c (gettext): Use __dcgettext_internal instead of
__dcgettext.
* posix/regex_internal.c (gettext): Likewise.

22 years ago(CPPFLAGS): Also add CPPFLAGS-<basename> where <basename> is the name of the source...
Ulrich Drepper [Mon, 8 Apr 2002 08:32:49 +0000 (08:32 +0000)]
(CPPFLAGS): Also add CPPFLAGS-<basename> where <basename> is the name of the source file without extension.

22 years agoUpdate.
Andreas Jaeger [Mon, 8 Apr 2002 08:15:30 +0000 (08:15 +0000)]
Update.

2002-04-08  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/fpu/s_llrint.S: New.
* sysdeps/x86_64/fpu/s_llrintf.S: New.
* sysdeps/x86_64/fpu/s_llrintl.S: New.
* sysdeps/x86_64/fpu/s_lrint.S: New.
* sysdeps/x86_64/fpu/s_lrintf.S: New
* sysdeps/x86_64/fpu/s_lrintl.S: New.

22 years agolrint and llrint implementation for x86-64.
Andreas Jaeger [Mon, 8 Apr 2002 08:14:22 +0000 (08:14 +0000)]
lrint and llrint implementation for x86-64.

22 years ago* sysdeps/mach/hurd/dl-sysdep.c (__mmap): Use MAP_FAILED instead of
Roland McGrath [Mon, 8 Apr 2002 07:11:55 +0000 (07:11 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (__mmap): Use MAP_FAILED instead of

widening __hurd_fail value.

22 years ago* sysdeps/mach/hurd/alpha/trampoline.c: Don't include
Roland McGrath [Mon, 8 Apr 2002 07:06:57 +0000 (07:06 +0000)]
* sysdeps/mach/hurd/alpha/trampoline.c: Don't include

<mach/machine/alpha_instruction.h>.
(_hurd_setup_sighandler): Take proper arguments for current decls.
Update code to use _hurdsig_catch_fault.
Use `callsys' instruction instead of `call_pal'.
* sysdeps/mach/hurd/alpha/intr-msg.h: New file.

* sysdeps/mach/alpha/sysdep.h: Include <mach/alpha/asm.h>.
(ALIGN, at, AT, fp): New macros.

22 years ago* mach/setup-thread.c (__mach_setup_thread): int -> natural_t
Roland McGrath [Mon, 8 Apr 2002 02:16:43 +0000 (02:16 +0000)]
* mach/setup-thread.c (__mach_setup_thread): int -> natural_t

* sysdeps/mach/hurd/dl-sysdep.c: Use ElfW(TYPE) in place of Elf32_TYPE.
(__mmap): Use MAP_FAILED instead of widening __hurd_fail value.

* sysdeps/mach/hurd/bind.c: Use prototype definition.
* sysdeps/mach/hurd/connect.c: Likewise.
* sysdeps/mach/hurd/getsockopt.c: Likewise.
* sysdeps/mach/hurd/setsockopt.c: Likewise.

* sysdeps/mach/hurd/alpha/sigreturn.c: Pass missing argument to
__msg_sig_post RPC.

* hurd/catch-exc.c: Use integer_t instead of int.
* hurd/hurdfault.c: Likewise.

* sysdeps/mach/hurd/alpha/exc2signal.c
(_hurd_exception2signal): Rewritten.
* sysdeps/mach/hurd/alpha/longjmp-ts.c
(_hurd_longjmp_thread_state): Rewritten.

22 years ago2002-04-06 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 8 Apr 2002 02:16:01 +0000 (02:16 +0000)]
2002-04-06  Roland McGrath  <roland@frob.com>

* hurd/catch-exc.c: Use integer_t instead of int.
* hurd/hurdfault.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sun, 7 Apr 2002 19:46:16 +0000 (19:46 +0000)]
Update.

* nss/getXXbyYY_r.c: If NSS_attribute_hidden is defined use it with the
DB_LOOKUP_FCT prototype.
* nss/getXXent_r.c: Likewise.
* inet/getaliasent_r.c: Define NSS_attribute_hidden.
* inet/getaliasname_r.c: Likewise.
* inet/getnetbyad_r.c: Likewise.
* inet/getnetbynm_r.c: Likewise.
* inet/getnetent_r.c: Likewise.
* inet/getproto_r.c: Likewise.
* inet/getprtent_r.c: Likewise.
* inet/getprtname_r.c: Likewise.
* inet/getrpcbyname_r.c: Likewise.
* inet/getrpcbynumber_r.c: Likewise.
* inet/getrpcent_r.c: Likewise.
* inet/getservent_r.c: Likewise.
* inet/getsrvbynm_r.c: Likewise.
* inet/getsrvbypt_r.c: Likewise.
* shadow/getspent_r.c: Likewise.
* shadow/getspnam_r.c: Likewise.

* malloc/thread-m.h: Define __libc_tsd_MALLOC_data as static.

* sysdeps/i386/elf/bsd-setjmp.S: Use GOTOFF for __sigjmp_save access.
Use i686-friendly PIC code.
* sysdeps/i386/elf/setjmp.S: Likewise.

* sysdeps/unix/sysv/linux/i386/sysdep.h: Use i686-friendly PIC code.

22 years agoUpdate.
Ulrich Drepper [Sun, 7 Apr 2002 17:30:05 +0000 (17:30 +0000)]
Update.

2002-04-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/mach/hurd/Versions: Add _dl_init_first to libc and ld export
list.
* elf/Versions: Remove it here.

22 years agoUpdate.
Ulrich Drepper [Sat, 6 Apr 2002 19:02:42 +0000 (19:02 +0000)]
Update.

2002-04-06  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/tcvn5712-1.c (MAX_NEEDED_INPUT): Define for from
direction.  Reported by H . J . Lu <hjl@lucon.org>.

22 years agoUpdate.
Ulrich Drepper [Sat, 6 Apr 2002 05:11:18 +0000 (05:11 +0000)]
Update.

* intl/tst-gettext.sh: Set GCONV_PATH and LOCPATH to values for the
test just before the test runs.
* intl/tst-translit.sh: Likewise.
* intl/tst-codeset.sh: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sat, 6 Apr 2002 04:05:41 +0000 (04:05 +0000)]
Update.

2002-04-05  Ulrich Drepper  <drepper@redhat.com>

* timezone/zic.c: Update from tzcode2002c.
* timezone/asia: Update from tzdata2002c.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/northamerica: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sat, 6 Apr 2002 02:32:55 +0000 (02:32 +0000)]
Update.

22 years agoUpdate.
Ulrich Drepper [Sat, 6 Apr 2002 01:45:15 +0000 (01:45 +0000)]
Update.

2002-03-23  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/brk.c (__curbrk): Declare.
* sysdeps/generic/dl-brk.c: Add attribute_hidden to __curbrk.
* sysdeps/generic/dl-sbrk.c: Likewise.
* sysdeps/unix/arm/dl-brk.S: New file.
* sysdeps/unix/bsd/hp/m68k/dl-brk.S: New file.
* sysdeps/unix/bsd/osf/alpha/dl-brk.S: New file.
* sysdeps/unix/bsd/sun/m68k/dl-brk.S: New file.
* sysdeps/unix/bsd/vax/dl-brk.S: New file.
* sysdeps/unix/i386/dl-brk.S: New file.
* sysdeps/unix/mips/dl-brk.S: New file.
* sysdeps/unix/sparc/dl-brk.S: New file.
* sysdeps/unix/sysv/linux/alpha/dl-brk.S: New file.
* sysdeps/unix/sysv/linux/ia64/dl-brk.S: New file.
* sysdeps/unix/sysv/linux/powerpc/dl-brk.S: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-brk.S: New file.
* sysdeps/unix/sysv/linux/i386/dl-brk.c: Remove.
* sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Remove.

2002-04-03  Andreas Schwab  <schwab@suse.de>

* Makefile (headers): Add gnu/lib-names.h here instead of
install-others.
($(inst_includedir)/gnu/lib-names.h): Remove explicit
installation rule.
(install-headers): Add dependency on install-headers-nosubdir.
* stdio-common/Makefile (headers): Add bits/stdio_lim.h here
instead of install-others.
($(inst_includedir)/bits/stdio_lim.h): Remove explicit
installation rule.

2002-04-05  Ulrich Drepper  <drepper@redhat.com>

* manual/users.tex (Enable/Disable Setuid): Fix typo in example.
Reported by Sam Roberts <sroberts@uniserve.com>.

2002-04-03  Jakub Jelinek  <jakub@redhat.com>

* elf/do-rel.h (elf_dynamic_do_rel): Skip relative relocs if
l_addr == 0 and ELF_MACHINE_REL_RELATIVE.
* sysdeps/alpha/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define.
* sysdeps/ia64/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define.

2002-04-03  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind info.
(RTLD_START): Ditto.
(__ia64_init_bootstrap_fdesc_table): Insert stop bit to avoid RAW
dependency violation.

22 years agoUpdate.
Ulrich Drepper [Fri, 5 Apr 2002 16:53:00 +0000 (16:53 +0000)]
Update.

2002-04-05  Jakub Jelinek  <jakub@redhat.com>

* time/mktime.c (__mktime_internal): Move check for year < 70 below
all variable declarations.

2002-04-04  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/ia64/pipe.S: Don't overwrite r8 on error.

* sysdeps/unix/sysv/linux/x86_64/time.c: Removed.
* sysdeps/mips/dec/bits/endian.h: Removed since arch is not supported.

22 years agoDon't overwrite r8 on error.
Ulrich Drepper [Fri, 5 Apr 2002 16:41:13 +0000 (16:41 +0000)]
Don't overwrite r8 on error.

22 years agoUpdate.
Andreas Jaeger [Thu, 4 Apr 2002 09:04:37 +0000 (09:04 +0000)]
Update.

2002-04-04  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/fpu/e_sqrt.c: New file.
* sysdeps/x86_64/fpu/e_sqrtf.c: New file.

* sysdeps/x86_64/fpu/s_fabs.c: New file.
* sysdeps/x86_64/fpu/s_fabsf.c: New file.
* sysdeps/x86_64/fpu/s_fabsl.c: New file.

* sysdeps/unix/sysv/linux/x86_64/time.S: New file.

* sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: New file.

* sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/time.S: Removed.

* configure.in: Handle all mips entries the same.

* sysdeps/mips/dec/bits/endian.h: Removed since arch is not
supported.
* sysdeps/mips/mips3/*: Likewise.
* sysdeps/mips/p40/bits/endian.h: Likewise.

22 years agoRemove files. Use assembler implementation instead.
Andreas Jaeger [Thu, 4 Apr 2002 08:42:21 +0000 (08:42 +0000)]
Remove files.  Use assembler implementation instead.

22 years agoUpdate.
Ulrich Drepper [Thu, 4 Apr 2002 08:12:33 +0000 (08:12 +0000)]
Update.

2002-04-04  Ulrich Drepper  <drepper@redhat.com>

* misc/dirname.c (dirname): Ignore trailing slashes at end of
non-null result [PR libc/2600].

* misc/tst-dirname.c: Add more tests.

22 years agoUpdate.
Ulrich Drepper [Thu, 4 Apr 2002 05:10:14 +0000 (05:10 +0000)]
Update.

2002-04-03  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/charmap.c (charmap_read): If the charmap doesn't
define a code_set_name provide one based on the filename.

* malloc/hooks.c: Define weak_variable correctly for _LIBC.

2001-12-28  Andreas Jaeger  <aj@suse.de>

* time/mktime.c (__mktime_internal): Check for year < 70
[PR libc/2738].

* sysdeps/generic/w_lgamma.c: Initialized local_signgam.
* sysdeps/generic/w_lgammaf.c: Likewise.
* sysdeps/generic/w_lgammal.c: Likewise [PR libc/2854].

* debug/catchsegv.sh (exval): Quote [ in pattern [PR libc/2902].
Adjust for new output format of the backtrace functions.

* misc/syslog.c (vsyslog): Only use cleanup handler if
_LIBC_REENTRANT is defined [PR libc/2924].

* sysdeps/s390/s390-64/bits/byteswap.h: Likewise [PR libc/2757].

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 18:14:54 +0000 (18:14 +0000)]
Update.

2002-04-03  Ulrich Drepper  <drepper@redhat.com>

* locales/es_ES: Define int_frac_digits and frac_digits as 2.

22 years agoDefine int_frac_digits and frac_digits as 2.
Ulrich Drepper [Wed, 3 Apr 2002 18:13:46 +0000 (18:13 +0000)]
Define int_frac_digits and frac_digits as 2.

22 years agoUpdate.
Andreas Jaeger [Wed, 3 Apr 2002 15:35:50 +0000 (15:35 +0000)]
Update.

2002-04-03  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments for
shmat.
Reported by Andi Kleen <ak@suse.de>.

22 years agoFix arguments for shmat.
Andreas Jaeger [Wed, 3 Apr 2002 15:33:29 +0000 (15:33 +0000)]
Fix arguments for shmat.

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 09:26:58 +0000 (09:26 +0000)]
Update.

* libio/Makefile (tests): Add bug-ungetwc2.
* libio/bug-ungetwc2.c: New file.

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 09:17:17 +0000 (09:17 +0000)]
Update.

* manual/install.texi: Typographical and grammatical cleanup.
Patch by Dennis Grace <dgrace@us.ibm.com>.

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 08:57:21 +0000 (08:57 +0000)]
Update.

* sunrpc/rpc_svcout.c (write_real_program): Write "result, "
parameter if mtflag.  Patch by <jeongyun@innovay.com>.

* sysdeps/unix/sysv/linux/x86_64/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/x86_64/getcontext.S: New file.
* sysdeps/unix/sysv/linux/x86_64/setcontext.S: New file.
* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: New file.

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 08:31:07 +0000 (08:31 +0000)]
Update.

2002-04-03  Ulrich Drepper  <drepper@redhat.com>

* sunrpc/rpc_svcout.c (printif): Remove third parameter.  It was
always "&".  Adjust callers.
Add "_" prefix to several generated definitions.
Patch by paul@serice.net [PR libc/3158].

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 06:59:37 +0000 (06:59 +0000)]
Update.

* sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Completely specify
size of _dl_arm_cap_flags.
Patch by enrico.scholz@informatik.tu-chemnitz.de [PR libc/3155].

* sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
Define as 8.

2002-03-22  H.J. Lu  <hjl@gnu.org>

* scripts/firstversions.awk: Check the first version.

2002-04-02  Ulrich Drepper  <drepper@redhat.com>

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 06:18:49 +0000 (06:18 +0000)]
Update.

* elf/dl-deps.c (_dl_map_object_deps): The sorting of the
dependencies must be stable to work correctly.
Reported by martin.lubich@datacon.at.

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 05:18:32 +0000 (05:18 +0000)]
Update.

* libio/bug-ungetwc1.c: New file.
* libio/Makefile (tests): Add bug-ungetwc1.

* libio/fileops.c (_IO_new_file_close_it): Only call _IO_do_flush
if stream was last used for writing.

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 04:11:00 +0000 (04:11 +0000)]
Update.

number [PR libc/3111].

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 04:05:59 +0000 (04:05 +0000)]
Update.

* elf/do-lookup.h (do_lookup): 2 is the first user-defined version
number.

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 03:12:43 +0000 (03:12 +0000)]
Update.

2002-04-02  Ulrich Drepper  <drepper@redhat.com>

* libio/iofclose.c (_IO_new_fclose): Move freeing of backup buffer
to ...
* libio/fileops.c (_IO_new_file_close_it): ...here [PR libc/3190].

22 years agoUpdate.
Ulrich Drepper [Wed, 3 Apr 2002 00:36:12 +0000 (00:36 +0000)]
Update.

2002-04-02  Jakub Jelinek  <jakub@redhat.com>

* inet/ether_ntoh.c (__nss_ethers_lookup): Add internal_function.
* inet/ether_hton.c (__nss_ethers_lookup): Likewise.
* inet/getnetgrent_r.c (__nss_netgroup_lookup): Likewise.
* sunrpc/netname.c (__nss_publickey_lookup): Likewise.
* sunrpc/publickey.c (__nss_publickey_lookup): Likewise.

2002-03-30  Jakub Jelinek  <jakub@redhat.com>

* elf/dynamic-link.h (elf_get_dynamic_info): Don't abort on unknown
dynamic tags.

2002-03-29  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/fpu/s_fabs.S: New file.
* sysdeps/i386/fpu/s_fabsf.S: New file.
* sysdeps/i386/fpu/s_fabsl.S: New file.
* sysdeps/sparc/sparc64/fpu/s_fabs.c: New file.
* sysdeps/sparc/sparc64/fpu/s_fabsf.c: New file.
* sysdeps/sparc/sparc64/fpu/s_fabsl.c: New file.

2002-04-02  Ulrich Drepper  <drepper@redhat.com>

* rt/tst-shm.c (do_test): Add one more test for size of shared
memory object.

2002-03-29  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c: Add short description and prototypes for
malloc_get_state, malloc_set_state and posix_memalign, for
consistency and to avoid warnings with -Wstrict-prototypes.
Reported by Andreas Jaeger <aj@suse.de>.

2002-04-02  Ulrich Drepper  <drepper@redhat.com>

* po/gl.po: Update from translation team.

22 years agoUpdate.
Ulrich Drepper [Tue, 2 Apr 2002 22:29:51 +0000 (22:29 +0000)]
Update.

2002-04-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ia64/pt-machine.h (MEMORY_BARRIER): Define.

22 years ago(MEMORY_BARRIER): Define.
Ulrich Drepper [Tue, 2 Apr 2002 22:28:27 +0000 (22:28 +0000)]
(MEMORY_BARRIER): Define.

22 years ago* hurd/hurdselect.c (_hurd_select): Fix
Roland McGrath [Tue, 2 Apr 2002 04:43:06 +0000 (04:43 +0000)]
* hurd/hurdselect.c (_hurd_select): Fix

MACH_MSG_TYPE_INTEGER_T -> integer_t in sizeof.
Use a union rather than casts to compare mach_msg_type_t as int.

2002-03-25  Roland McGrath  <roland@frob.com>

* hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't
check off the end of NAME when it's shorter than 2 chars.
Reported by Ognyan Kulev <ogi@fmi.uni-sofia.bg>.

2002-03-17  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/sys/io.h: New file.
* sysdeps/mach/hurd/i386/ioperm.c: New file.
* sysdeps/mach/hurd/i386/Dist: Add them.
* sysdeps/mach/hurd/i386/Versions
(libc: GLIBC_2.2.6): New set, add ioperm.
* sysdeps/mach/configure.in: New check to set HAVE_I386_IO_PERM_MODIFY.
(mach_interface_list): Check for mach_i386.defs.
* config.h.in (HAVE_I386_IO_PERM_MODIFY): #undef it.
* sysdeps/mach/configure: Regenerated.

22 years ago2002-03-25 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 2 Apr 2002 04:41:43 +0000 (04:41 +0000)]
2002-03-25  Roland McGrath  <roland@frob.com>

* hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't
check off the end of NAME when it's shorter than 2 chars.
Reported by Ognyan Kulev <ogi@fmi.uni-sofia.bg>.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Mar 2002 23:49:09 +0000 (23:49 +0000)]
Update.

2002-03-22  Ulrich Drepper  <drepper@redhat.com>

* po/fr.po: Update from translation team.

2002-03-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Remove
getpriority from syscalls list.

22 years agoUpdate.
Andreas Jaeger [Thu, 28 Mar 2002 19:07:58 +0000 (19:07 +0000)]
Update.

2002-03-28  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/swapcontext.S: New.
* sysdeps/unix/sysv/linux/x86_64/getcontext.S: New.
* sysdeps/unix/sysv/linux/x86_64/setcontext.S: New.
* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: New.

22 years agoUpdate.
Andreas Jaeger [Wed, 27 Mar 2002 11:08:02 +0000 (11:08 +0000)]
Update.

2002-03-27  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
sigcontext): Follow further kernel change.

* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Follow further
kernel change.

* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (GET_STACK):
Change for struct sigcontext change.

* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
Follow changes in struct sigcontext.

* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Remove ptrace
sysycall, use wrapper instead.

22 years agoUpdate.
Andreas Jaeger [Tue, 26 Mar 2002 19:45:43 +0000 (19:45 +0000)]
Update.

* sysdeps/i386/i486/bits/string.h (__memcpy_by4): Describe memory
read and write accesses as detailed as possible.
(__memcpy_by2): Likewise.
(__memcpy_g): Likewise.
(memmove): Likewise.
(memcmp): Likewise.
(__memset_ccn_by4): Likewise.
(__memset_ccn_by2): Likewise.
(__memset_gcn_by4): Likewise.
(__memset_gcn_by2): Likewise.
(memchr): Likewise.
(__memrchr): Likewise.
(rawmemchr): Likewise.
(__strlen_g): Likewise.
(__strcpy_g): Likewise.
(__mempcpy_by4): Likewise.
(__mempcpy_by2): Likewise.
(__mempcpy_byn): Likewise.
(__stpcpy_g): Likewise.
(__strncpy_by4): Likewise.
(__strncpy_by2): Likewise.
(__strncpy_byn): Likewise.
(__strncpy_gg): Likewise.
(__strcat_c): Likewise.
(__strcat_g): Likewise.
(__strncat_g): Likewise.
(__strcmp_gg): Likewise.
(__strncmp_g): Likewise.
(__strchr_c): Likewise.
(__strchr_g): Likewise.
(__strchrnul_c): Likewise.
(__strchrnul_g): Likewise.
(__strrchr_c): Likewise.
(__strrchr_g): Likewise.
(__strrchr_c): Likewise.
(__strrchr_g): Likewise.
(__strcspn_c1): Likewise.
(__strcspn_cg): Likewise.
(__strcspn_g): Likewise.
(__strcspn_g): Likewise.
(__strspn_c1): Likewise.
(__strspn_cg): Likewise.
(__strspn_g): Likewise.
(__strspn_g): Likewise.
(__strpbrk_cg): Likewise.
(__strpbrk_g): Likewise.
(__strstr_cg): Likewise.
(__strstr_g): Likewise.

22 years agoUpdate.
Andreas Jaeger [Tue, 26 Mar 2002 16:52:39 +0000 (16:52 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Fix typo.  Reported by
Michal Ludvig <mludvig@suse.cz>.

22 years agoUpdate.
Andreas Jaeger [Tue, 26 Mar 2002 12:38:27 +0000 (12:38 +0000)]
Update.

2002-03-26  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Add 32-bit
compatibilty, adjust for kernel changes.

* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
sigcontext): Adjust for kernel changes.

22 years agoUpdate.
Andreas Jaeger [Mon, 25 Mar 2002 17:07:27 +0000 (17:07 +0000)]
Update.

2002-03-25  Andreas Jaeger  <aj@suse.de>

* iconv/gconv_simple.c (ucs4le_internal_loop_single): Handle
little endian.
Reported by Artur Zaprzala <zybi@talex.com.pl>.

22 years ago(ucs4le_internal_loop_single): Handle little endian.
Andreas Jaeger [Mon, 25 Mar 2002 17:07:14 +0000 (17:07 +0000)]
(ucs4le_internal_loop_single): Handle little endian.

22 years agoFix bogus regeneration.
Roland McGrath [Sun, 24 Mar 2002 22:43:02 +0000 (22:43 +0000)]
Fix bogus regeneration.

22 years agoUpdate.
Andreas Jaeger [Sun, 24 Mar 2002 13:03:01 +0000 (13:03 +0000)]
Update.

2002-03-24  Andreas Jaeger  <aj@suse.de>

* manual/memory.texi (Aligned Memory Blocks): Fix typo.

* stdio-common/tst-fdopen.c (main): Remove unused variable.

* iconv/tst-iconv3.c (main): Use correct printf strings.

22 years ago(Aligned Memory Blocks): Fix typo.
Andreas Jaeger [Sun, 24 Mar 2002 12:58:23 +0000 (12:58 +0000)]
(Aligned Memory Blocks): Fix typo.

22 years ago* sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsgcred): New type.
Roland McGrath [Sun, 24 Mar 2002 03:44:57 +0000 (03:44 +0000)]
* sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsgcred): New type.

(CMGROUP_MAX): New macro.

22 years ago* sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm
Roland McGrath [Sun, 24 Mar 2002 02:05:40 +0000 (02:05 +0000)]
* sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm

* sysdeps/posix/shm_unlink.c: Likewise.

22 years ago* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Make 2.2.6 default.
Roland McGrath [Sun, 24 Mar 2002 01:59:44 +0000 (01:59 +0000)]
* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Make 2.2.6 default.

* sysdeps/mach/hurd/configure.in: Default oldest ABI is 2.2.6
under --enable-libio.
* sysdeps/mach/hurd/configure: Regenerated.

22 years ago* sysdeps/mach/hurd/i386/Makefile
Roland McGrath [Sun, 24 Mar 2002 01:56:33 +0000 (01:56 +0000)]
* sysdeps/mach/hurd/i386/Makefile

(sysdep_routines, shared-only-routines): Don't add framestate,
reverting 2001-10-02 change.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
Do it here instead, only if [$(unwind-find-fde) = yes].

22 years ago2002-03-23 Roland McGrath <roland@frob.com>
Roland McGrath [Sun, 24 Mar 2002 01:55:18 +0000 (01:55 +0000)]
2002-03-23  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/Makefile
(sysdep_routines, shared-only-routines): Don't add framestate,
reverting 2001-10-02 change.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
Do it here instead, only if [$(unwind-find-fde) = yes].

22 years agoUpdate.
Andreas Jaeger [Sat, 23 Mar 2002 18:59:09 +0000 (18:59 +0000)]
Update.

2002-03-23  Andreas Jaeger  <aj@suse.de>

* signal/signal.h: Fix typo. Patch by Steve Kemp
<skx@tardis.ed.ac.uk>.

22 years agoUpdate
Andreas Jaeger [Fri, 22 Mar 2002 12:59:21 +0000 (12:59 +0000)]
Update

* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add getresgid and
getresuid.

_fpstate): Rename fwd to ftw, use _fpxreg and _xmmreg.
* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
user_fpregs_struct): Rename fwd.

22 years agoUpdate
Andreas Jaeger [Fri, 22 Mar 2002 12:17:21 +0000 (12:17 +0000)]
Update

* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
_fpstate): Rename fwd to ftw.
* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct user_fpregs_struct): Likewise.

* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
Follow sigcontext changes.

2002-03-22  Andreas Jaeger  <aj@suse.de>

22 years agoUpdate.
Andreas Jaeger [Fri, 22 Mar 2002 10:09:55 +0000 (10:09 +0000)]
Update.

2002-03-22  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/bits/nan.h: New file.  Copy from generic one with
changes for NaNs on MIPS.
Patch by Hartvig Ekner <hartvige@mips.com>.

22 years ago(Aligned Memory Blocks): Correct description of where memalign is declared [PR libc...
Ulrich Drepper [Fri, 22 Mar 2002 09:39:21 +0000 (09:39 +0000)]
(Aligned Memory Blocks): Correct description of where memalign is declared [PR libc/3127].

22 years agoUpdate.
Ulrich Drepper [Fri, 22 Mar 2002 08:40:35 +0000 (08:40 +0000)]
Update.

2002-03-22  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/mips/pt-machine.h (MEMORY_BARRIER): Remove.

22 years agoUpdate.
Ulrich Drepper [Fri, 22 Mar 2002 08:29:10 +0000 (08:29 +0000)]
Update.

2002-03-22  Ulrich Drepper  <drepper@redhat.com>

* internals.h (MEMORY_BARRIER): Define as asm with memory as clobber.

22 years agoUpdate.
Ulrich Drepper [Fri, 22 Mar 2002 07:17:03 +0000 (07:17 +0000)]
Update.

2002-03-21  Ulrich Drepper  <drepper@redhat.com>

* nscd/grpcache.c (addgrbyname): Improve buffer allocate with alloca.
Use realloc if too large.
(addgrbyid): Likewise.
* nscd/hstcache.c (addhstbyname): Likewise.
(addhstbyaddr): Likewise.
(addhstbynamev6): Likewise.
(addhstbyaddrv6): Likewise.
* nscd/pwdcache.c (addpwbyname): Likewise.
(addpwbyuid): Likewise.

22 years ago(addgrbyname): Improve buffer allocate with alloca. Use realloc if too large. (addgr...
Ulrich Drepper [Fri, 22 Mar 2002 07:03:30 +0000 (07:03 +0000)]
(addgrbyname): Improve buffer allocate with alloca.  Use realloc if too large. (addgrbyid): Likewise.

22 years agoFix comment.
Andreas Jaeger [Thu, 21 Mar 2002 16:11:18 +0000 (16:11 +0000)]
Fix comment.

22 years agoUpdate.
Andreas Jaeger [Thu, 21 Mar 2002 16:04:46 +0000 (16:04 +0000)]
Update.

2002-03-21  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
_fpstate): Add separate struct for x86-64.

* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
user_fpregs_struct): Change member names to follow kernel.

22 years ago(struct _fpstate): Add separate struct for x86-64.
Andreas Jaeger [Thu, 21 Mar 2002 16:03:56 +0000 (16:03 +0000)]
(struct _fpstate): Add separate struct for x86-64.

22 years agoUpdate.
Ulrich Drepper [Thu, 21 Mar 2002 00:45:32 +0000 (00:45 +0000)]
Update.

2002-03-20  Ulrich Drepper  <drepper@redhat.com>

* nis/ypclnt.c (yp_all): Remove the hack introduced on 1998-09-29.
Correctly close the UDP connection right away [PR libc/3120].

22 years ago(yp_all): Remove the hack introduced on 1998-09-29. Correctly close the UDP connecti...
Ulrich Drepper [Thu, 21 Mar 2002 00:43:13 +0000 (00:43 +0000)]
(yp_all): Remove the hack introduced on 1998-09-29.  Correctly close the UDP connection right away.

22 years agoUpdate.
Andreas Jaeger [Wed, 20 Mar 2002 10:18:29 +0000 (10:18 +0000)]
Update.

2002-03-20  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
user_fpregs_struct): Fix for changed kernel struct.
(struct user_regs_struct): Likewise.
(struct user): Likewise.
Add 32-bit x86 compatibility.

* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Add more registers.

22 years agoUpdate.
Andreas Jaeger [Tue, 19 Mar 2002 09:46:21 +0000 (09:46 +0000)]
Update.

2002-03-19  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/bits/types.h: Cleanup x86 types.

22 years agoCleanup x86 types.
Andreas Jaeger [Tue, 19 Mar 2002 09:45:56 +0000 (09:45 +0000)]
Cleanup x86 types.

22 years agoUpdate.
Ulrich Drepper [Mon, 18 Mar 2002 23:40:37 +0000 (23:40 +0000)]
Update.

* sysdeps/generic/unwind-dw2-fde-glibc.c: Add prototypes.
* sysdeps/generic/unwind-pe.h: Likewise.
* libio/iofdopen.c (_IO_new_fdopen): Pass parameter of correct
type to _IO_setb.
* include/aliases.h: Declare __getaliasent_r as hidden.

22 years agoDeclare __getaliasent_r as hidden.
Ulrich Drepper [Mon, 18 Mar 2002 23:38:37 +0000 (23:38 +0000)]
Declare __getaliasent_r as hidden.

22 years agoUpdate.
Andreas Jaeger [Mon, 18 Mar 2002 08:28:33 +0000 (08:28 +0000)]
Update.

2002-03-18  Andreas Jaeger  <aj@suse.de>

* iconvdata/Makefile: Only run tests when shared libs are
available.

22 years ago* sysdeps/i386/pt-machine.h: Add testandset and __compare_and_swap
Andreas Jaeger [Sun, 17 Mar 2002 12:10:08 +0000 (12:10 +0000)]
* sysdeps/i386/pt-machine.h: Add testandset and __compare_and_swap

prototpyes.
* sysdeps/alpha/pt-machine.h: Likewise.
* sysdeps/arm/pt-machine.h: Likewise.
* sysdeps/cris/pt-machine.h: Likewise.
* sysdeps/hppa/pt-machine.h: Likewise.
* sysdeps/i386/i686/pt-machine.h: Likewise.
* sysdeps/ia64/pt-machine.h: Likewise.
* sysdeps/m68k/pt-machine.h: Likewise.
* sysdeps/mips/pt-machine.h: Likewise.
* sysdeps/powerpc/pt-machine.h: Likewise.
* sysdeps/s390/s390-32/pt-machine.h: Likewise.
* sysdeps/s390/s390-64/pt-machine.h: Likewise.
* sysdeps/sh/pt-machine.h: Likewise.
* sysdeps/sparc/sparc32/pt-machine.h: Likewise.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
* sysdeps/x86_64/pt-machine.h: Likewise.
* internals.h: Move testandset and __compare_and_swap prototypes
to pt-machine.h.
2002-03-17  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/pt-machine.h: Add testandset and __compare_and_swap
prototpyes.
* sysdeps/alpha/pt-machine.h: Likewise.
* sysdeps/arm/pt-machine.h: Likewise.
* sysdeps/cris/pt-machine.h: Likewise.
* sysdeps/hppa/pt-machine.h: Likewise.
* sysdeps/i386/i686/pt-machine.h: Likewise.
* sysdeps/ia64/pt-machine.h: Likewise.
* sysdeps/m68k/pt-machine.h: Likewise.
* sysdeps/mips/pt-machine.h: Likewise.
* sysdeps/powerpc/pt-machine.h: Likewise.
* sysdeps/s390/s390-32/pt-machine.h: Likewise.
* sysdeps/s390/s390-64/pt-machine.h: Likewise.
* sysdeps/sh/pt-machine.h: Likewise.
* sysdeps/sparc/sparc32/pt-machine.h: Likewise.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
* sysdeps/x86_64/pt-machine.h: Likewise.

* internals.h: Move testandset and __compare_and_swap prototypes
to pt-machine.h.

22 years agoUpdate.
Andreas Jaeger [Sun, 17 Mar 2002 12:09:12 +0000 (12:09 +0000)]
Update.

2002-03-17  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits.

* sysdeps/mips/fpu/fgetexcptflg.c (__fegetexceptflag): Add comment.

* sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause
bits.

* sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New.
(CAUSE_SHIFT): New.
Patch by Hartvig Ekner <hartvige@mips.com>.

        * sysdeps/generic/unwind-dw2-fde-glibc.c: Add prototypes.
        * sysdeps/generic/unwind-pe.h: Likewise.

        * libio/iofdopen.c (_IO_new_fdopen): Pass parameter of correct
        type to _IO_setb.

* libio/stdio.c (AL2): Define variant when visibility attribute is
not supported.

* include/libc-symbols.h (_INTVARDEF): Define variant when
visibility attribute is not supported.

22 years ago* sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits.
Andreas Jaeger [Sun, 17 Mar 2002 12:07:44 +0000 (12:07 +0000)]
* sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits.

* sysdeps/mips/fpu/fgetexcptflg.c (__fegetexceptflag): Add comment.

* sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause
bits.

* sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New.
(CAUSE_SHIFT): New.

22 years agoUpdate.
Ulrich Drepper [Sun, 17 Mar 2002 03:02:56 +0000 (03:02 +0000)]
Update.

2002-03-16  Ulrich Drepper  <drepper@redhat.com>

* po/fr.po: Update from translation team.

22 years agoUpdate.
Ulrich Drepper [Sat, 16 Mar 2002 06:58:44 +0000 (06:58 +0000)]
Update.

2002-02-25  Bruno Haible  <bruno@clisp.org>

* MakeTAGS (extract): Use --sort-by-file instead of --sort-output.

22 years agoUpdate.
Ulrich Drepper [Sat, 16 Mar 2002 04:00:20 +0000 (04:00 +0000)]
Update.

2002-03-15  Ulrich Drepper  <drepper@redhat.com>

* libio/iofdopen.c (_IO_new_fdopen): Call _IO_setb to deallocate
buffers if _IO_file_attach failed.

* libio/fileops.c (_IO_file_open): Close file descriptor if
_IO_SEEKOFF call failed.

* iconv/gconv_conf.c: Add internal_function to __gconv_get_path

22 years agoUpdate.
Ulrich Drepper [Sat, 16 Mar 2002 02:47:08 +0000 (02:47 +0000)]
Update.

2002-03-15  H.J. Lu  <hjl@gnu.org>
            Ulrich Drepper  <drepper@redhat.com>

* configure.in: Check for availability of
init_array/fini_array/preinit_array handling in binutils.
* config.h.in (HAVE_INITFINI_ARRAY): New macro.
* config.make.in (have-initfini-array): New variable.

22 years agoUpdate.
Ulrich Drepper [Fri, 15 Mar 2002 22:08:18 +0000 (22:08 +0000)]
Update.

* stdio-common/tst-printf.c (main): Comment out one test which
checked the compiler's ability to fold floating-point constants
but not really printf.
(rfg3): Make s const.
* stdio-common/tst-printf.sh: Adjust for removed test.

22 years agoUpdate.
Ulrich Drepper [Fri, 15 Mar 2002 09:30:44 +0000 (09:30 +0000)]
Update.

2002-03-15  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/i386-mcount.S: Just call __mcount_internal, it is an
internal function.  Adjust for internal_function calling convention.
* sysdeps/i386/machine-gmon.h: Declare and define __mcount_internal
as internal_function.

* sysdeps/generic/framestate.c: Declare fallback_frame_state_for as
hidden.

* nss/XXX-lookup.c (DB_LOOKUP_FCT): Add internal_function to
declaration and definition.
* nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Add internal_function to
declaration.
* nss/getXXent_r.c: Likewise.
* nss/nsswitch.h (db_lookup_function): Add internal_function to
definition.

* include/time.h: Declare __localtime_r as hidden.

* include/grp.h: Declare __getgrent_r as hidden.
* include/netdb.h: Declare __gethostent_r, __getnetent_r,
__getservent_r, and __getprotoent_r as hidden.
* include/pwd.h: Declare __getpwent_r as hidden.
* include/shadow.h: Declare __getspent_r as hidden.
* include/rpc/netdb.h: Declare __getrpcent_r as hidden.

* iconv/gconv_int.h: Declare __gconv_read_conf, __gconv_alias_compare,
and __gconv_transliterate as hidden.
Add internal_function to __gconv_get_path declaration.
* iconv/gconv_int.h: Add internal_function to __gconv_get_path
definition.  Add attribute_hidden to __gconv_read_conf definition.

22 years agoUpdate.
Ulrich Drepper [Fri, 15 Mar 2002 05:20:35 +0000 (05:20 +0000)]
Update.

* elf/rtld.c: Declare _environ as hidden.
* sysdeps/generic/dl-environ.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.

* sysdeps/generic/ldsodefs.h: Declare _dl_debug_state_internal and
_dl_mcount_internal as hidden.

* elf/Makefile (rtld-routines): Add dl-sbrk and dl-brk.
* sysdeps/generic/dl-brk.c: New file.
* sysdeps/generic/dl-sbrk.c: New file.
* sysdeps/unix/sysv/linux/i386/dl-brk.c: New file.
* sysdeps/unix/sysv/linux/i386/dl-sbrk.c: New file.

22 years agoUpdate.
Ulrich Drepper [Fri, 15 Mar 2002 03:16:52 +0000 (03:16 +0000)]
Update.

2002-03-14  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-minimal.c (malloc): Declare _end as hidden.
(__errno_location): New function.  Declare errno as hidden.
* elf/rtld.c (_dl_argc): Define as hidden.
(_dl_skip_args): Define as hidden.
(_begin, _end): Declare as hidden.
* sysdeps/generic/dl-sysdep.c (_end): Declare as hidden.
* sysdeps/generic/entry.h (_start): Declare as hidden.
* sysdeps/generic/ldsodefs.h (_dl_argc): Declare as hidden.
* sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Declare
_dl_runtime_resolve and _dl_runtime_profile as hidden.
(RTLD_START): Use GOTOFF to access _dl_skip_args and _dl_fini.

22 years ago(malloc): Declare _end as hidden. (__errno_location): New function. Declare errno...
Ulrich Drepper [Fri, 15 Mar 2002 03:09:42 +0000 (03:09 +0000)]
(malloc): Declare _end as hidden. (__errno_location): New function.  Declare errno as hidden.

22 years agorevert accidental check-in
Roland McGrath [Thu, 14 Mar 2002 23:35:43 +0000 (23:35 +0000)]
revert accidental check-in

22 years ago* Makerules ($(common-objpfx)Versions.v.i): Depend on abi-versions.h.
Roland McGrath [Thu, 14 Mar 2002 23:33:10 +0000 (23:33 +0000)]
* Makerules ($(common-objpfx)Versions.v.i): Depend on abi-versions.h.

* Makeconfig (%.v.i, %.v): New implicit rules.
(preprocess-versions): Variable removed.
($(common-objpfx)shlib-versions.v.i): New target giving just the
shlib-versions input files as dependencies.
($(common-objpfx)soversions.i): Depend on that instead of the input
files.  Use it as input instead of using a pipeline.
(postclean-generated): Append soversions.i, shlib-versions.v, and
shlib-versions.v.i here.
* Makerules ($(common-objpfx)Versions.def.v.i): New target giving just
the Versions.def input files as dependencies.
($(common-objpfx)Versions.v.i): Likewise for Versions files.
($(common-objpfx)Versions.all): Depend on that instead of the input
files.  Use it as input instead of using a pipeline.
($(common-objpfx)sysd-versions): Likewise with Versions.v.i.
(postclean-generated): Append those .v and .v.i files here.

22 years ago2002-03-14 Roland McGrath <roland@frob.com>
Roland McGrath [Thu, 14 Mar 2002 23:32:50 +0000 (23:32 +0000)]
2002-03-14  Roland McGrath  <roland@frob.com>

* Makerules ($(common-objpfx)Versions.v.i): Depend on abi-versions.h.
* Makeconfig (%.v.i, %.v): New implicit rules.
(preprocess-versions): Variable removed.
($(common-objpfx)shlib-versions.v.i): New target giving just the
shlib-versions input files as dependencies.
($(common-objpfx)soversions.i): Depend on that instead of the input
files.  Use it as input instead of using a pipeline.
(postclean-generated): Append soversions.i, shlib-versions.v, and
shlib-versions.v.i here.
* Makerules ($(common-objpfx)Versions.def.v.i): New target giving just
the Versions.def input files as dependencies.
($(common-objpfx)Versions.v.i): Likewise for Versions files.
($(common-objpfx)Versions.all): Depend on that instead of the input
files.  Use it as input instead of using a pipeline.
($(common-objpfx)sysd-versions): Likewise with Versions.v.i.
(postclean-generated): Append those .v and .v.i files here.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Mar 2002 20:48:50 +0000 (20:48 +0000)]
Update.

2002-03-14  Jakub Jelinek  <jakub@redhat.com>

* locale/broken_cur_max.c (__ctype_get_mb_cur_max): Use nl_langinfo.
* locale/Versions (_nl_current_LC_COLLATE, _nl_current_LC_CTYPE):
Remove.

2002-03-14  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/mp_clz_tab.c: New file.
* sysdeps/i386/mp_clz_tab.c: New file.
* sysdeps/hppa/mp_clz_tab.c: New file.
* sysdeps/powerpc/mp_clz_tab.c: New file.
* stdlib/Makefile (aux): Revert last patch.
* math/Makefile (gmp-objs): Likewise.

2002-03-13  Paul Eggert  <eggert@twinsun.com>

* time/strftime.c: Comment fixes for references to obsolescent
standards, In most cases the simplest fix is to remove the
confusing comments.  Cross-referencing all the standards properly
is a bit of a pain, and it should be enough to put that info in
the documentation as I did in my recent time.texi patch.

2002-03-13  Paul Eggert  <eggert@twinsun.com>

* manual/time.texi (Formatting Calendar Time):
ISO C99 also specifies the E and O modifiers.
%P is a GNU extension, and is not in ISO C99.
Mention that %r is equivalent to %I:%M:%S %p in the POSIX locale.
%T is also in ISO C99.
The RFC 822 example is not valid in arbitrary locales.
Reword the POSIX.2 wording slightly, to make it a bit clearer
that POSIX.2 formats are also supported by later POSIX versions.
If a format was introduced in ISO C99 it is also required by
POSIX.1-2001.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Mar 2002 00:57:10 +0000 (00:57 +0000)]
Update.

* sysdeps/gnu/errlist.awk: Define _sys_errlist_internal and
_sys_nerr_internal with INTVARDEF2.
* include/libc-symbols.h (INTVARDEF2): New macro.
* include/stdio.h (_sys_errlist_internal): Declare as hidden.
(_sys_nerr_internal): Library.

* sysdeps/posix/signal.c (_sigintr): Define as hidden.
* sysdeps/posix/sigintr.c (_sigintr): Declare as hidden.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Mar 2002 23:44:36 +0000 (23:44 +0000)]
Update.

2002-03-13  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/tst-printf.sh: Adjust for last change in tst-printf.c.