Roland McGrath [Thu, 5 Sep 2002 01:23:20 +0000 (01:23 +0000)]
* resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value
from 1024 to 65536, to avoid buffer overrun.
Roland McGrath [Thu, 5 Sep 2002 01:23:06 +0000 (01:23 +0000)]
2002-09-04 Roland McGrath <roland@redhat.com>
* resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value
from 1024 to 65536, to avoid buffer overrun.
Ulrich Drepper [Wed, 4 Sep 2002 23:40:45 +0000 (23:40 +0000)]
Update.
2002-09-03 Gerhard Tonn <ton@de.ibm.com>
* sysdeps/s390/s390/fpu/libm-test-ulps: Regenerate.
Ulrich Drepper [Wed, 4 Sep 2002 20:58:01 +0000 (20:58 +0000)]
Update.
2002-09-04 Ulrich Drepper <drepper@redhat.com>
* libio/tst-atime.c (do_test): Make sure noatime flag isn't set
for filesystem.
Ulrich Drepper [Wed, 4 Sep 2002 20:50:52 +0000 (20:50 +0000)]
(do_test): Make sure noatime flag isn't set for filesystem.
Roland McGrath [Wed, 4 Sep 2002 16:21:38 +0000 (16:21 +0000)]
* posix/bug-regex11.c: New test.
* posix/Makefile (tests): Add bug-regex11.
Roland McGrath [Wed, 4 Sep 2002 16:21:24 +0000 (16:21 +0000)]
2002-09-04 Jakub Jelinek <jakub@redhat.com>
* posix/bug-regex11.c: New test.
* posix/Makefile (tests): Add bug-regex11.
Ulrich Drepper [Tue, 3 Sep 2002 18:43:43 +0000 (18:43 +0000)]
Update.
2002-09-03 Jakub Jelinek <jakub@redhat.com>
* locale/tst-C_locale.c (run_test): Pass LC_ALL_MASK not LC_ALL to
newlocale.
Ulrich Drepper [Tue, 3 Sep 2002 03:14:59 +0000 (03:14 +0000)]
Update.
Ulrich Drepper [Tue, 3 Sep 2002 02:52:58 +0000 (02:52 +0000)]
(VERSION): Update from 2.3 release.
Roland McGrath [Tue, 3 Sep 2002 02:45:12 +0000 (02:45 +0000)]
* sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call
__pthread_initialize_minimal and __libc_check_standard_fds to
match the generic version.
* sysdeps/powerpc/Makefile (CFLAGS-pt-initfini.s): New variable.
* sysdeps/unix/sysv/linux/shmat.c (shmat): Add a cast to avoid a
warning when INLINE_SYSCALL macro uses the __syscall_ipc function.
* locale/localeconv.c (__localeconv): Cast -1 to char to avoid
warnings on platorms where char is unsigned.
Roland McGrath [Tue, 3 Sep 2002 02:33:03 +0000 (02:33 +0000)]
2002-09-02 Roland McGrath <roland@redhat.com>
* locale/localeconv.c (__localeconv): Cast -1 to char to avoid
warnings on platorms where char is unsigned.
Ulrich Drepper [Tue, 3 Sep 2002 01:44:19 +0000 (01:44 +0000)]
Update.
* sysdeps/unix/sysv/linux/x86_64/Dist: Add __start_context.S.
Ulrich Drepper [Tue, 3 Sep 2002 01:27:35 +0000 (01:27 +0000)]
Update.
2002-09-02 Ulrich Drepper <drepper@redhat.com>
* version.h (VERSION): Bump to 2.2.93.
Ulrich Drepper [Mon, 2 Sep 2002 23:46:49 +0000 (23:46 +0000)]
Update.
* elf/rtld.c (dl_main): If prelinking succeeded, mark all objects
as relocated.
Roland McGrath [Mon, 2 Sep 2002 20:19:26 +0000 (20:19 +0000)]
2002-09-02 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (dl_main): If prelinking succeeded, mark all objects
as relocated.
Roland McGrath [Mon, 2 Sep 2002 20:04:55 +0000 (20:04 +0000)]
* sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
Roland McGrath [Mon, 2 Sep 2002 19:34:39 +0000 (19:34 +0000)]
* locale/localeinfo.h (struct locale_data): Add private.ctype.
* wcsmbs/wcsmbsload.h (__wcsmbs_gconv_fcts, __wcsmbs_last_locale,
__wcsmbs_to_wc, update_conversion_ptrs): Removed.
(__wcsmbs_gconv_fcts_c, _nl_C_LC_CTYPE): New externs.
(__wcsmbs_load_conv): Remove const from argument.
(_nl_cleanup_ctype): New proto.
(get_gconv_fcts): New function.
* wcsmbs/wcsmbsload.c (__wcsmbs_last_locale): Removed.
(__wcsmbs_to_wc): Rename back to...
(to_wc): ... this.
(__wcsmbs_gconv_fcts): Rename to...
(__wcsmbs_gconv_fcts_c): ... this. Make const. Use to_wc.
(lock): Removed.
(__libc_setlocale_lock): New extern.
(__wcsmbs_load_conv): Remove const from argument.
Initialize new_category->private.ctype instead of a global
variable.
(__wcsmbs_clone_conv): Use get_gconv_fcts instead of
update_function_ptrs. No locking is necessary.
(_nl_cleanup_ctype): New function.
* wcsmbs/btowc.c (__btowc): Use get_gconv_fcts instead of
update_function_ptrs and a global __wcsmbs_gconv_fcts variable.
* wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
* wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
* wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
* wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
* wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
* wcsmbs/wctob.c (wctob): Likewise.
* stdlib/mblen.c (mblen): Likewise.
* stdlib/mbtowc.c (mbtowc): Likewise.
* stdlib/wctomb.c (wctomb): Likewise.
* wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
Remove calls to wcsmbs_get_towc_func and wcsmbs_free_funcs.
* wcsmbs/mbsrtowcs_l.c (wcsmbs_get_towc_func, wcsmbs_free_funcs):
Removed.
Roland McGrath [Mon, 2 Sep 2002 19:02:16 +0000 (19:02 +0000)]
* sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Add __fxstat64.
Roland McGrath [Mon, 2 Sep 2002 07:09:08 +0000 (07:09 +0000)]
* ctype/ctype.h (__ctype_b, __ctype_toupper, __ctype_tolower):
Variable declarations removed.
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Declare
these functions to replace them.
(__isctype, tolower, toupper, _tolower, _toupper): Use those accessor
functions plus an indirection rather than the old global variables.
* include/ctype.h (__isctype, tolower, _tolower, toupper, _toupper):
Macros removed.
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): New extern
inline functions.
* ctype/ctype-info.c: Revert last reversion back the other way.
Define tsd vars CTYPE_B, CTYPE_TOLOWER, CTYPE_TOUPPER.
Define real function versions of include/ctype.h inlines here.
* ctype/Versions (libc: GLIBC_2.3): Add __ctype_b_loc,
__ctype_tolower_loc, __ctype_toupper_loc.
* locale/lc-ctype.c: Revert last reversion back the other way.
(_nl_postload_ctype): If current thread uses the global locale,
update its tsd vars.
* locale/uselocale.c (__uselocale): Update tsd vars from new locale.
* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add CTYPE_B,
CTYPE_TOLOWER, CTYPE_TOUPPER.
* sysdeps/generic/bits/libc-tsd.h (__libc_tsd_address): New macro.
* sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_address): Renamed
from __libc_tsd_threadvar_location.
(__libc_tsd_set, __libc_tsd_get): Update uses.
Roland McGrath [Mon, 2 Sep 2002 07:08:20 +0000 (07:08 +0000)]
2002-09-01 Roland McGrath <roland@redhat.com>
* sysdeps/pthread/bits/libc-tsd.h (__libc_tsd_address): New macro.
(__libc_internal_tsd_address): Declare it.
* Versions (libc, ld, libpthread: GLIBC_PRIVATE): Add
__libc_internal_tsd_address.
* specific.c (libc_internal_tsd_address): New function.
(__libc_internal_tsd_address): New variable.
* no-tsd.c (__libc_internal_tsd_address): New variable.
Ulrich Drepper [Sun, 1 Sep 2002 20:30:19 +0000 (20:30 +0000)]
Update.
* ctype/ctype.h: Undo the patch before the last one. Put back the
macro definitions for the standard functions to access the
classification and mapping arrays.
* include/ctype.h: Partly revert last patch. Move the macro
definitions for the exported functions back to the public header.
#undef all the macros defined here before redefining.
* ctype/ctype-info.c: Revert last patch.
* locale/lc-ctype.c: Revert last patch.
Ulrich Drepper [Sun, 1 Sep 2002 18:27:42 +0000 (18:27 +0000)]
Update.
2002-09-01 Ulrich Drepper <drepper@redhat.com>
* ctype/Makefile (routines): Add isctype.
* ctype/Versions (libc): Export isctype and __isctype for GLIBC_2.3.
* ctype/ctype.h: Add declaration of isctype.
* include/ctype.h: Declare __isctype.
* ctype/isctype.c: New file.
Ulrich Drepper [Sun, 1 Sep 2002 18:23:10 +0000 (18:23 +0000)]
Declare __isctype.
Roland McGrath [Sun, 1 Sep 2002 12:39:40 +0000 (12:39 +0000)]
* sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass
TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN instead of 0, 1.
* include/getopt.h: Include <features.h> before <posix/getopt.h>.
* locale/findlocale.c (_nl_remove_locale): Don't search in
_nl_locale_file_list if DATA->alloc is ld_archive.
Use _nl_unload_locale to do the rest of the work.
* locale/loadarchive.c (_nl_load_locale_from_archive): Set usage_count
of new structure to UNDELETABLE.
* wctype/wctype.h (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower,
iswgraph, iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank,
towlower, towupper): Macros removed.
* ctype/ctype.h (__tobody): Put parens around macro argument.
(__isctype): Macro removed.
(__ctype_b, __ctype_tolower, __ctype_toupper): Decls removed.
(isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint,
ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper,
tolower, toupper): Macros and inlines removed.
* include/ctype.h [! NOT_IN_libc]
(isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint,
ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper,
tolower, toupper): Define here instead, using _NL_CURRENT.
* ctype/ctype.c (__ctype_tolower, __ctype_toupper): Define as macros
using _NL_CURRENT.
* ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Likewise.
* ctype/ctype-info.c (__ctype_b, __ctype_tolower, __ctype_toupper):
Renamed these to __ctype_old_*. Define old names only for SHLIB_COMPAT.
(__ctype32_b, __ctype32_tolower, __ctype32_toupper): Likewise.
(__ctype32_wctrans, __ctype32_wctrans, __ctype32_width): Removed.
* locale/lc-ctype.c (_nl_postload_ctype): Use renamed variables,
conditional on SHLIB_COMPAT. Don't set removed variables at all.
* wctype/wcfuncs.c: Use _NL_CURRENT instead of those globals.
* wcsmbs/wcwidth.h (internal_wcwidth): Likewise.
* resolv/res_init.c [RESOLVSORT] (sort_mask): Renamed sort_mask_chars.
(ISSORTMASK): Update use.
* intl/localealias.c [__GNUC__]: #undef alloca before #define.
* nss/nss_files/files-XXX.c (last_use): Rename `none' to `nouse'.
(_nss_files_getENTNAME_r): Likewise.
* nss/nss_files/files-alias.c (last_use, _nss_files_getaliasent_r):
Likewise.
* Makerules (all-nonlib): Renamed from all-tests.
Include $(others) here too.
* locale/Makefile (CPPFLAGS-locale, CPPFLAGS-localedef,
CPPFLAGS-ld-ctype, CPPFLAGS-ld-time, CPPFLAGS-ld-numeric,
CPPFLAGS-ld-monetary, CPPFLAGS-ld-collate, CPPFLAGS-ld-identification,
CPPFLAGS-charmap, CPPFLAGS-locarchive, CPPFLAGS-linereader,
CPPFLAGS-charmap-dir): Variables removed. Instead, catch all
the program modules via cppflags-iterator.mk.
* sunrpc/Makefile (CPPFLAGS-rpc_main): Variable removed.
Instead, catch all rpcgen-objs via cppflags-iterator.mk.
* posix/tst-getconf.sh: If no third arg, work with static linking.
Roland McGrath [Sat, 31 Aug 2002 21:09:35 +0000 (21:09 +0000)]
* locale/categories.def (LC_TIME): No more _nl_postload_time.
* locale/setlocale.c (_nl_category_postload): Use weak refs only under
[_NL_CURRENT_INDIRECT].
Roland McGrath [Sat, 31 Aug 2002 21:08:10 +0000 (21:08 +0000)]
2002-08-31 Roland McGrath <roland@redhat.com>
* locale/categories.def (LC_TIME): No more _nl_postload_time.
Ulrich Drepper [Sat, 31 Aug 2002 20:27:15 +0000 (20:27 +0000)]
Update.
2002-08-31 Ulrich Drepper <drepper@redhat.com>
* time/tst-ftime_l.c (main): Also test strftime with uselocale.
errlist-compat.c if versioning==yes.
Ulrich Drepper [Sat, 31 Aug 2002 20:15:31 +0000 (20:15 +0000)]
(main): Also test strftime with uselocale.
Roland McGrath [Sat, 31 Aug 2002 20:08:18 +0000 (20:08 +0000)]
* locale/newlocale.c (__newlocale): Don't use strdup for names.
Instead, make the single allocation of the structure larger to hold
the name strings.
* locale/duplocale.c (__duplocale): Don't strdup names individually.
Instead, calculate size for a single allocation and copy into it.
* locale/freelocale.c (__freelocale): Don't free names individually.
Roland McGrath [Sat, 31 Aug 2002 19:00:28 +0000 (19:00 +0000)]
* locale/newlocale.c (__newlocale): Don't leak old data or names.
* locale/xlocale.h (__locale_struct): Move __names member last,
for binary compatibility.
Roland McGrath [Sat, 31 Aug 2002 19:00:15 +0000 (19:00 +0000)]
2002-08-31 Roland McGrath <roland@redhat.com>
* locale/newlocale.c (__newlocale): Don't leak old data or names.
Ulrich Drepper [Sat, 31 Aug 2002 18:44:55 +0000 (18:44 +0000)]
Only depend on Versions.v.i for errlist-compat.c if versioning==yes.
Roland McGrath [Sat, 31 Aug 2002 18:29:52 +0000 (18:29 +0000)]
* locale/duplocale.c (__duplocale): Free names from the right array.
* locale/uselocale.c (__uselocale): Return previous locale when
setting a new one.
* locale/newlocale.c: Commit changes from 2002-08-30
batch where I failed to commit this file:
(__newlocale): Fill in __names array.
Roland McGrath [Sat, 31 Aug 2002 18:28:32 +0000 (18:28 +0000)]
2002-08-31 Roland McGrath <roland@redhat.com>
* locale/newlocale.c: Commit changes from 2002-08-30
batch where I failed to commit this file.
Ulrich Drepper [Sat, 31 Aug 2002 18:25:50 +0000 (18:25 +0000)]
Update.
2002-08-31 Ulrich Drepper <drepper@redhat.com>
* sysdeps/gnu/Makefile: Only depend on Versions.v.i for
errlist-compat.c if build-shared==yes.
Ulrich Drepper [Sat, 31 Aug 2002 18:23:37 +0000 (18:23 +0000)]
Only depend on Versions.v.i for errlist-compat.c if build-shared==yes.
Andreas Jaeger [Sat, 31 Aug 2002 17:45:33 +0000 (17:45 +0000)]
Update.
* sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Declare
external functions with hidden attribute.
(elf_machine_rela): Optimize.
* sysdeps/x86_64/memset.S: New file.
* sysdeps/x86_64/bzero.S: New file.
* sysdeps/x86_64/stpcpy.S: New file.
* sysdeps/x86_64/strcat.S: New file.
* sysdeps/x86_64/strchr.S: New file.
* sysdeps/x86_64/strcpy.S: New file.
* sysdeps/x86_64/strcspn.S: New file.
* sysdeps/x86_64/strlen.S: New file.
* sysdeps/x86_64/strpbrk.S: New file.
* sysdeps/x86_64/strspn.S: New file.
* sysdeps/x86_64/strcmp.S: New file.
* sysdeps/x86_64/strtok_r.S: New file.
* sysdeps/x86_64/strtok.S: New file.
* sysdeps/x86_64/memcpy.S: New file.
* sysdeps/x86_64/mempcpy.S: New file.
Andreas Jaeger [Sat, 31 Aug 2002 10:33:26 +0000 (10:33 +0000)]
Update.
2002-08-31 Andreas Jaeger <aj@suse.de>
* sysdeps/x86_64/fpu/s_copysign.S: Fix algorithm.
* sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for double tests.
Andreas Jaeger [Sat, 31 Aug 2002 10:32:59 +0000 (10:32 +0000)]
Add ulps for double tests.
Ulrich Drepper [Sat, 31 Aug 2002 09:43:13 +0000 (09:43 +0000)]
Update.
* stdio-common/Makefile (generated): Add errlist-compat.c.
* locale/Makefile (extra-objs): Add $(localedef-aux:=.o).
Ulrich Drepper [Sat, 31 Aug 2002 09:26:42 +0000 (09:26 +0000)]
Update.
2002-08-31 Ulrich Drepper <drepper@redhat.com>
* locale/localeinfo.h: Pretty printing.
* stdio-common/vfprintf.c (vfprintf): Remove duplicate ifs in
form_number handling.
(__aux_init_cache): New function.
(__aux_init_cache): New function.
* locale/programs/locarchive.c (struct oldlocrecent): New type.
(oldlocrecentcmp): New function.
* sysdeps/x86_64/fpu/bits/mathinline.h: New file.
* sysdeps/x86_64/fpu/s_copysign.S: New file.
* sysdeps/x86_64/fpu/s_copysignf.S: New file.
* sysdeps/x86_64/fpu/s_copysignl.S: New file.
* sysdeps/x86_64/fpu/s_finitel.S: New file.
* sysdeps/x86_64/fpu/s_fmax.S: New file.
* sysdeps/x86_64/fpu/s_fmaxf.S: New file.
* sysdeps/x86_64/fpu/s_fmaxl.S: New file.
* sysdeps/x86_64/fpu/s_fmin.S: New file.
* sysdeps/x86_64/fpu/s_fminf.S: New file.
* sysdeps/x86_64/fpu/s_fminl.S: New file.
* locale/programs/locarchive.c (struct nameent, struct dataent): New
types.
* sysdeps/unix/sysv/linux/x86_64/sys/io.h: New file.
* sysdeps/x86_64/fpu/s_llrint.S: New file.
* sysdeps/x86_64/fpu/s_llrintf.S: New file.
* sysdeps/x86_64/fpu/s_llrintl.S: New file.
* sysdeps/x86_64/fpu/s_lrint.S: New file.
* sysdeps/x86_64/fpu/s_lrintf.S: New file.
* sysdeps/x86_64/fpu/s_lrintl.S: New file.
* sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New macro.
(CAUSE_SHIFT): New macro.
* sysdeps/sparc/sparc64/configure.in: New file.
* sysdeps/unix/sysv/linux/x86_64/readelflib.c: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/socket.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: New file.
* sysdeps/x86_64/bits/setjmp.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/sem.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/resource.h: New file.
* elf/tst-tls1.c: Move #include "tls-macros.h" inside #ifdef USE_TLS.
* sysdeps/unix/sysv/linux/mips/sys/user.h: New file.
* config.h.in (HAVE_BUILTIN_MEMSET): New macro.
* elf/dl-deps.c (_dl_build_local_scope): New function.
* elf/dl-lookup.c (_dl_debug_bindings): New function.
(elf_machine_rela, elf_machine_rela_relative): New functions.
(elf_machine_rela, elf_machine_rela_relative): New functions.
* elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New
functions.
Ulrich Drepper [Sat, 31 Aug 2002 08:47:35 +0000 (08:47 +0000)]
Don't use rule for crt%.o, spell it out as rules for crti.o and crtn.o.
Andreas Jaeger [Sat, 31 Aug 2002 08:22:35 +0000 (08:22 +0000)]
Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for float and long
double tests.
Andreas Jaeger [Sat, 31 Aug 2002 08:06:48 +0000 (08:06 +0000)]
Update.
2002-08-31 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_routines): Add
__start_context.
* sysdeps/unix/sysv/linux/x86_64/__start_context.S: New file.
* sysdeps/unix/sysv/linux/x86_64/makecontext.c: New file.
* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Add defines for
registers used for passing args.
* sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Save and restore
all needed registers.
* sysdeps/unix/sysv/linux/x86_64/setcontext.S: Restore all
registers.
* sysdeps/unix/sysv/linux/x86_64/getcontext.S: Save all needed
registers.
Andreas Jaeger [Sat, 31 Aug 2002 08:04:45 +0000 (08:04 +0000)]
Linux/x86-64 makecontext implementation.
Roland McGrath [Sat, 31 Aug 2002 05:31:31 +0000 (05:31 +0000)]
* Makefile (extra-objs, omit-deps): Add crtn.
($(objpfx)libpthread.so): Depend on $(objpfx)crtn.o.
($(objpfx)libpthread.so: +postinit): Append $(objpfx)crtn.o.
($(objpfx)crtn.S): New target.
($(objpfx)crt%.o): Pattern rule replaces crti.o target.
(generated): Add crtn.S.
* sysdeps/unix/sysv/linux/x86_64/Makefile ($(objpfx)specs): Massage
crtn.o pathname too.
Roland McGrath [Sat, 31 Aug 2002 05:31:17 +0000 (05:31 +0000)]
2002-08-30 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/Makefile ($(objpfx)specs): Massage
crtn.o pathname too.
Ulrich Drepper [Sat, 31 Aug 2002 04:30:45 +0000 (04:30 +0000)]
Update.
2002-08-30 Ulrich Drepper <drepper@redhat.com>
* elf/dynamic-link.h (elf_get_dynamic_info): Mark with
always_inline attribute.
Ulrich Drepper [Sat, 31 Aug 2002 04:09:05 +0000 (04:09 +0000)]
(elf_get_dynamic_info): Mark with always_inline attribute.
Roland McGrath [Sat, 31 Aug 2002 03:21:56 +0000 (03:21 +0000)]
* stdlib/tst-setcontext.c (main): If makecontext does nothing,
presume it's the stub and bail without error.
Roland McGrath [Sat, 31 Aug 2002 00:02:18 +0000 (00:02 +0000)]
* nss/getnssent_r.c (__nss_getent_r): Return ENOENT if status is
neither SUCCESS nor TRYAGAIN (see 2002-08-25 change [PR libc/4259]).
* nss/getnssent_r.c (__nss_getent_r): Set *H_ERRNOP, not global one.
Roland McGrath [Fri, 30 Aug 2002 23:09:46 +0000 (23:09 +0000)]
* sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW, HP_TIMING_ACCUM): New
macros replace the i686 versions for 64-bit mode.
Roland McGrath [Fri, 30 Aug 2002 22:07:28 +0000 (22:07 +0000)]
* locale/duplocale.c: Include <string.h>.
Roland McGrath [Fri, 30 Aug 2002 19:36:12 +0000 (19:36 +0000)]
* intl/dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY.
[_LIBC] (category_to_name): Don't define the function. Instead
define a macro using _nl_category_names.
Roland McGrath [Fri, 30 Aug 2002 10:36:44 +0000 (10:36 +0000)]
* locale/xlocale.h (struct __locale_struct): New member `__names'.
* locale/xlocale.c (_nl_C_locobj): Update initializer.
* locale/global-locale.c (_nl_global_locale): Likewise.
* locale/duplocale.c (__duplocale): strdup __names elements.
* locale/freelocale.c (__freelocale): Free __names elements.
* locale/localename.c (_nl_current_names): Variable removed.
(__current_locale_name): Use _NL_CURRENT_LOCALE->__names instead.
* locale/localeinfo.h (_nl_current_names): Removed decl.
* locale/setlocale.c: Use _nl_global_locale->__names in place of
_nl_current_names throughout.
* locale/setlocale.c (setlocale): strdup -> __strdup (not ISO C).
* sysdeps/gnu/errlist-compat.awk: Emit link_warnings for sys_errlist
and sys_nerr in the output file.
* sunrpc/Makefile (rpcgen-cmd): Pass CPP in rpcgen's environment.
* scripts/cpp: Just use the environment variable.
* libio/tst-mmap-setvbuf.c (main): Use 'm' fopen flag.
* libio/tst-mmap-offend.c (do_test): Likewise.
* libio/tst-mmap-fflushsync.c (do_test): Likewise.
* libio/tst-mmap-eofsync.c (do_test): Likewise.
* libio/tst-mmap2-eofsync.c (do_test): Likewise.
Roland McGrath [Fri, 30 Aug 2002 08:11:12 +0000 (08:11 +0000)]
* locale/localename.c: If the current locale is the global locale, use
_nl_current_names; otherwise use the locale object.
2002-08-29 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/bits/local_lim.h (NAME_MAX): New macro.
2002-08-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 30 Aug 2002 08:09:29 +0000 (08:09 +0000)]
2002-08-29 Roland McGrath <roland@redhat.com>
* sysdeps/mach/hurd/bits/local_lim.h (NAME_MAX): New macro.
Ulrich Drepper [Fri, 30 Aug 2002 07:12:22 +0000 (07:12 +0000)]
Update I/O mmap entry.
Ulrich Drepper [Fri, 30 Aug 2002 07:07:16 +0000 (07:07 +0000)]
Update.
2002-08-29 Ulrich Drepper <drepper@redhat.com>
* libio/fileops.c (_IO_new_file_fopen): Recognize new mode specifier
'm' to enable mmap I/O.
* libio/libio.h (_IO_FILE): Rename _blksize field to _flags2. The
former wasn't used (anymore?).
(_IO_FLAGS2_MMAP): New define.
* libio/genops.c (_IO_no_init): Initialize _flags2 field.
* libio/iofopen.c (__fopen_maybe_mmap): Use mmap callbacks only if
_IO_FLAGS2_MMAP bit is set.
* libio/iofdopen.c (_IO_new_fdopen): Recognize 'm' mode specifier.
Enable mmap-using mode only if 'm' was set.
Ulrich Drepper [Fri, 30 Aug 2002 07:04:16 +0000 (07:04 +0000)]
(_IO_new_file_fopen): Recognize new mode specifier 'm' to enable mmap I/O.
Roland McGrath [Fri, 30 Aug 2002 01:51:11 +0000 (01:51 +0000)]
* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup: doinit):
Change argument type from int to intptr_t.
* locale/global-locale.c (__libc_tsd_LOCALE_data): Conditionalize the
initializer on [! _HURD_THREADVAR_H] (bad kludge).
* sysdeps/mach/hurd/i386/init-first.c (init): Initialize
_HURD_THREADVAR_LOCALE slot to &_nl_global_locale.
* hurd/hurdsig.c (_hurdsig_init): Likewise. Zero other slots.
Roland McGrath [Fri, 30 Aug 2002 01:31:18 +0000 (01:31 +0000)]
* sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def.
* sysdeps/mach/hurd/pwrite64.c: No libc_hidden_def (__libc_pwrite64).
* sysdeps/mach/hurd/dl-sysdep.c (__GI_abort): Define alias for abort.
* include/assert.h (__assert_perror_fail): Declare it, do hidden_proto.
* assert/assert-perr.c: Add libc_hidden_def.
* elf/dl-minimal.c [! NDEBUG] (__assert_perror_fail): New function.
* sysdeps/gnu/errlist-compat.awk: Don't fail if there are no versions
found at all.
* sysdeps/gnu/Versions: File removed. Moved all #errlist-compat
sys_errlist stuff to ...
* sysdeps/unix/sysv/linux/Versions: ... here.
* mach/mach.h: Include <features.h>.
Roland McGrath [Thu, 29 Aug 2002 23:24:40 +0000 (23:24 +0000)]
* elf/dl-runtime.c (IN_DL_RUNTIME): Define this macro first thing.
* sysdeps/i386/dl-machine.h: Only declare fixup, profile_fixup and
define ELF_MACHINE_RUNTIME_TRAMPOLINE under #ifdef IN_DL_RUNTIME.
Roland McGrath [Thu, 29 Aug 2002 20:39:40 +0000 (20:39 +0000)]
* sysdeps/generic/readelflib.c (process_elf_file): Fix typo.
* iconv/gconv_int.h: Include <stdlib.h> for alloca decl.
(norm_add_slashes): alloca -> __alloca
* sysdeps/generic/readelflib.c (process_elf_file): Make LOADADDR
p_vaddr/p_offset when computing LOADADDR.
Roland McGrath [Thu, 29 Aug 2002 20:39:24 +0000 (20:39 +0000)]
2002-08-29 Roland McGrath <roland@redhat.com>
* sysdeps/generic/readelflib.c (process_elf_file): Fix typo.
Ulrich Drepper [Thu, 29 Aug 2002 11:13:21 +0000 (11:13 +0000)]
(process_string_arg): Fix typo.
Ulrich Drepper [Thu, 29 Aug 2002 10:42:30 +0000 (10:42 +0000)]
Update.
2002-08-29 Jakub Jelinek <jakub@redhat.com>
* stdio-common/vfprintf.c (vfprintf): Add builtin_expect for
string_malloced, it is unlikely to be set.
Only call free with non-NULL workspace.
* sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Use
-mcpu=ultrasparc, not only tune for it.
(ASFLAGS*): Set unconditionally.
2002-08-29 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/readelflib.c (process_elf_file): Make loadaddr
ElfW(Addr). Don't mask upper 32-bits and lower 12 bits off from
p_vaddr/p_offset when computing loadaddr.
Ulrich Drepper [Thu, 29 Aug 2002 10:12:49 +0000 (10:12 +0000)]
Update.
* version.h (VERSION): Bump to 2.2.92.
* time/Makefile (tst-ftime_l-ENV): New variable.
Ulrich Drepper [Thu, 29 Aug 2002 10:07:47 +0000 (10:07 +0000)]
Update.
2002-08-29 Ulrich Drepper <drepper@redhat.com>
* iconvdata/ibm870.c: All bytes are now used, no holes anymore.
* localedata/charmaps/IBM870: Add correct mapping for <U017E>,
<U017A>, <U017D> and <U0179>. Add missing mappings.
Patch by Antonin Kopecky <akopecky@tajmac-zps.cz>.
* gmon/sys/gmon.h (ARCDENSITY): Bump to 3.
Define ARCINDEX. Bump MAXARCS to 1 << 20.
(struct tostruct): Use ACRINDEX as type for link field.
(statuc gmonparam): Likewise for froms.
* gmon/gmon.c (__monstartup): Use currect cast for assignments to
kcount and froms.
(write_call_graph): Use correct type for from_index and to_index.
* gmon/mcount.c: Use correct types for frompcindex and toindex
variables.
Patches by Dan Kegel <dank@kegel.com>.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Fix code to determine
canonical name.
* time/strptime.c (ISSPACE): New #define. Use isspace or
__isspace_l. Replace calls to isspace.
(match_string): Define variant for USE_IN_EXTENDED_LOCALE_MODEL.
Ulrich Drepper [Thu, 29 Aug 2002 09:45:29 +0000 (09:45 +0000)]
Add correct mapping for <U017E>, <U017A>, <U017D> and <U0179>. Add missing mappings.
Roland McGrath [Thu, 29 Aug 2002 09:28:34 +0000 (09:28 +0000)]
* string/tst-strxfrm.c: Remove __ from function names.
Ulrich Drepper [Thu, 29 Aug 2002 09:27:50 +0000 (09:27 +0000)]
Use correct types for frompcindex and toindex variables.
Ulrich Drepper [Thu, 29 Aug 2002 09:27:23 +0000 (09:27 +0000)]
(ARCDENSITY): Bump to 3. Define ARCINDEX. Bump MAXARCS to 1 << 20. (struct tostruct): Use ACRINDEX as type for link field. (statuc gmonparam): Likewise for froms.
Roland McGrath [Thu, 29 Aug 2002 09:26:30 +0000 (09:26 +0000)]
2002-08-29 Roland McGrath <roland@redhat.com>
* string/tst-strxfrm.c: Remove __ from function names.
Ulrich Drepper [Thu, 29 Aug 2002 08:51:26 +0000 (08:51 +0000)]
(gaih_inet): Fix code to determine canonical name.
Ulrich Drepper [Thu, 29 Aug 2002 06:50:10 +0000 (06:50 +0000)]
Update.
2002-08-28 Ulrich Drepper <drepper@redhat.com>
* include/wchar.h: Declare __mbsrtowcs_l.
* wcsmbs/Makefile (routines): Add mbsrtowcs_l.
* wcsmbs/mbsrtowcs.c: Add support for compilation with
USE_IN_EXTENDED_LOCALE_MODEL.
* wcsmbs/mbsrtowcs_l: New file.
* wcsmbs/wcsmbsload.c (__wcsmbs_to_wc): Renamed from to_wc. Don't
define as static. Change all uses.
(__wcsmbs_getfct): Renamed from getfct. Don't define as static.
Change all callers.
* wcsmbs/wcsmbsload.h: Declare __wcsmbs_to_wc and __wcsmbs_getfct.
* time/strftime.c: When translating for the extended locale model
use the _l functions.
* time/Makefile (tests): Add tst-ftime_l.
* time/tst-ftime_l.c: New file.
Ulrich Drepper [Thu, 29 Aug 2002 06:14:44 +0000 (06:14 +0000)]
Test for strftime_l and wcsftime_l.
Roland McGrath [Thu, 29 Aug 2002 05:57:16 +0000 (05:57 +0000)]
* locale/findlocale.c [NL_CURRENT_INDIRECT] (_nl_C): New variable.
* locale/setlocale.c (setlocale) [NL_CURRENT_INDIRECT]: Null return
from _nl_find_locale ok if for _nl_C_name.
Roland McGrath [Thu, 29 Aug 2002 02:18:11 +0000 (02:18 +0000)]
* locale/nl_langinfo.c [NL_CURRENT_INDIRECT]: Use a categories.def
iterator to refer to each category's _nl_current_LC_FOO symbol, so
we know they are all linked in.
Roland McGrath [Thu, 29 Aug 2002 01:42:29 +0000 (01:42 +0000)]
* NEWS: Added 2.2.6 text from 2.2 branch version.
Roland McGrath [Thu, 29 Aug 2002 01:33:55 +0000 (01:33 +0000)]
* time/strptime.c (strptime_internal): Remove spurious const.
Roland McGrath [Thu, 29 Aug 2002 01:33:42 +0000 (01:33 +0000)]
2002-08-28 Roland McGrath <roland@redhat.com>
* time/strptime.c (strptime_internal): Remove spurious const.
Ulrich Drepper [Thu, 29 Aug 2002 00:44:05 +0000 (00:44 +0000)]
Add dl-brk.S.
Ulrich Drepper [Thu, 29 Aug 2002 00:34:10 +0000 (00:34 +0000)]
Update.
* sysdeps/generic/ldsodefs.h (__rtld_global_attribute__): Define.
(_rtld_global): Use it.
* sysdeps/gnu/Dist: Remove errlist-compat.c.
* sysdeps/gnu/Makefile (errlist-compat.c): Build this file in the
object directory. Pass all Versions files to the awk script.
* sysdeps/gnu/errlist-compat.c: Removed.
* sysdeps/gnu/errlist.awk: Use #errlist-compat comments from the
first Versions file in the search path which has them.
Allow multiple errlist symbol versions to have the same count of
errors.
* sysdeps/gnu/errlist-compat.awk: Include <errlist-compat.c> instead
of "errlist-compat.c".
* sysdeps/gnu/errlist.c: Regenerated.
* sysdeps/unix/sysv/linux/mips/Versions (libc): Add #errlist-compat
comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
* sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
(librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3.
* sysdeps/unix/sysv/linux/hppa/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/Versions: New file.
* sysdeps/unix/sysv/linux/alpha/bits/errno.h: New file.
* sysdeps/unix/sysv/linux/hppa/bits/errno.h (ECANCELED): Define to
ECANCELLED if not defined by kernel headers.
* sysdeps/unix/sysv/linux/bits/errno.h: Don't redefine ECANCELED if
already defined by kernel headers.
* sysdeps/unix/sysv/linux/sparc/bits/errno.h: New file.
* sysdeps/pthread/aio_cancel.c: Don't include aio.h and its
aio_cancel64 renaming hack nor provide weak_alias if aio_cancel
is a macro.
* Versions.def (GLIBC_2.3) [librt]: Add.
* sysdeps/unix/sysv/linux/alpha/pipe.S: New file.
2002-08-28 Ulrich Drepper <drepper@redhat.com>
* include/libc-symbols.h [!__ASSEMBLER__] (declare_symbol_1): Add
missing comma to .type directive.
2002-08-28 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Wed, 28 Aug 2002 23:11:37 +0000 (23:11 +0000)]
[!__ASSEMBLER__] (declare_symbol_1): Add missing comma to .type directive.
Roland McGrath [Wed, 28 Aug 2002 23:11:21 +0000 (23:11 +0000)]
* locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry,
_nl_select_era_entry): Moved to ...
* time/era.c: ... here, new file.
(_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry):
Add internal_function to definitions. Take an additional argument
giving the `struct locale_data *' to use.
* locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit,
_nl_parse_alt_digit): Moved to ...
* time/alt_digit.c: ... here, new file.
* time/lc-time-cleanup.c: New file.
* locale/lc-time.c (_nl_postload_time, free_mem): Functions removed.
* locale/localeinfo.h (_nl_postload_time): Remove decl.
(_nl_cleanup_time): Declare it.
(_nl_get_era_entry, _nl_select_era_entry): Update decls.
(_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise.
* time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup.
* time/strftime.c: Pass locale data to helper functions.
* time/strptime.c: Likewise.
* locale/localeinfo.h (struct locale_data): New member `private'
* locale/loadlocale.c (_nl_intern_locale_data): Initialize it.
(_nl_unload_locale): Call LOCALE->private.cleanup if it is set.
* locale/C-collate.c: Update initializer.
* locale/C-identification.c: Likewise.
* locale/C-measurement.c: Likewise.
* locale/C-telephone.c: Likewise.
* locale/C-address.c: Likewise.
* locale/C-name.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-time.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-messages.c : Likewise.
* locale/C-ctype.c: Likewise.
* time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL] (_NL_CURRENT_WORD):
Redefine this too.
Roland McGrath [Wed, 28 Aug 2002 23:10:57 +0000 (23:10 +0000)]
2002-08-28 Roland McGrath <roland@redhat.com>
* locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry,
_nl_select_era_entry): Moved to ...
* time/era.c: ... here, new file.
(_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry):
Add internal_function to definitions. Take an additional argument
giving the `struct locale_data *' to use.
* locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit,
_nl_parse_alt_digit): Moved to ...
* time/alt_digit.c: ... here, new file.
* time/lc-time-cleanup.c: New file.
* locale/lc-time.c (_nl_postload_time, free_mem): Functions removed.
* locale/localeinfo.h (_nl_postload_time): Remove decl.
(_nl_cleanup_time): Declare it.
(_nl_get_era_entry, _nl_select_era_entry): Update decls.
(_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise.
* time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup.
* time/strftime.c: Pass locale data to helper functions.
* time/strptime.c: Likewise.
* time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL] (_NL_CURRENT_WORD):
Redefine this too.
Ulrich Drepper [Wed, 28 Aug 2002 22:37:20 +0000 (22:37 +0000)]
Update.
2002-08-28 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ia64/elf/configure.in (PI_STATIC_AND_HIDDEN): Define
unconditionally.
* sysdeps/alpha/elf/configure.in (libc_cv_alpha_hidden_gprel): New
check.
(PI_STATIC_AND_HIDDEN): Define if check succeeded.
2002-08-28 Jakub Jelinek <jakub@redhat.com>
* locale/loadarchive.c (_nl_load_locale_from_archive): Add fd >= 0
check to close_and_out close. Replace return NULL statements where
fd might be >= 0 with goto close_and_out. Close the file descriptor
when it is no longer needed.
Ulrich Drepper [Wed, 28 Aug 2002 21:32:56 +0000 (21:32 +0000)]
Update.
2002-08-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/s390/s390-64/dl-machine.h: Avoid unescaped newlines in
string constants.
* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
* sysdeps/arm/dl-machine.h: Likewise.
* sysdeps/cris/dl-machine.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
* sysdeps/unix/sysv/aix/gettimeofday.c: Likewise.
Ulrich Drepper [Wed, 28 Aug 2002 19:41:49 +0000 (19:41 +0000)]
Regenerated from source files
Roland McGrath [Wed, 28 Aug 2002 14:21:35 +0000 (14:21 +0000)]
* Makeconfig (default_cflags): Revert unintended change.
Roland McGrath [Wed, 28 Aug 2002 14:21:06 +0000 (14:21 +0000)]
2002-08-28 Roland McGrath <roland@redhat.com>
* Makeconfig (default_cflags): Revert unintended change.
Ulrich Drepper [Wed, 28 Aug 2002 12:00:53 +0000 (12:00 +0000)]
(open_archive): Replace using label 'again' with a loop to work around gcc 3.2 bug.
Ulrich Drepper [Wed, 28 Aug 2002 11:45:37 +0000 (11:45 +0000)]
Update.
2002-08-28 Ulrich Drepper <drepper@redhat.com>
* version.h (VERSION): Bump to 2.2.91.
* configure.in: Disable TLS support by default for now.
* sysdeps/i386/fpu/libm-test-ulps: Adjust ulp for yn for float.
* sysdeps/generic/strtol.c (strtol): Add some more casts to avoid
warnings.
* stdlib/strtod.c (STRTOF): Correct type in cast of last patch.
* stdlib/fmtmsg.c (fmtmsg): Use correct test for failure of
fprintf/fwprintf calls.
Ulrich Drepper [Wed, 28 Aug 2002 11:32:01 +0000 (11:32 +0000)]
Adjust ulp for yn for float.
Roland McGrath [Wed, 28 Aug 2002 11:08:46 +0000 (11:08 +0000)]
* Makeconfig (run-program-prefix): Fix bogus use of $(findstring ...)
to use $(filter ...) instead. Same bug fixed in aix conditionals.
* locale/setlocale.c: Declare postload functions weak.
Roland McGrath [Wed, 28 Aug 2002 10:42:59 +0000 (10:42 +0000)]
* elf/tst-tls1-static.c: New file.
* elf/tst-tls2-static.c: New file.
* elf/Makefile ($(tests-static):%=$(objfpx)%.o): Remove rule.
Roland McGrath [Wed, 28 Aug 2002 10:39:23 +0000 (10:39 +0000)]
Make uselocale support static linking.
* locale/xlocale.c: Revert changes putting _nl_global_locale here.
This file again just defines _nl_C_locobj.
(_nl_C_locobj): Use a categories.def iterator in the initializer.
* locale/global-locale.c: New file. Define _nl_global_locale here,
using all weak references in the initializer.
* locale/Makefile (aux): Add global-locale.
* locale/localeinfo.h (_nl_global_locale, _NL_CURRENT_LOCALE): Make
these unconditional, along with the tsd decl.
[!SHARED && HAVE___THREAD && HAVE_WEAK_SYMBOLS] (NL_CURRENT_INDIRECT):
Define it under these conditions.
[NL_CURRENT_INDIRECT]: Test this instead of [! SHARED].
Don't declare _nl_current. Declare _nl_current_LC_FOO as
`extern __thread struct locale_data *const *'.
[NL_CURRENT_INDIRECT]
(_NL_CURRENT_DATA, _NL_CURRENT, _NL_CURRENT_WSTR): Add indirection.
[NL_CURRENT_INDIRECT] (_NL_CURRENT_DEFINE): Rewritten. Define
the thread variable _nl_current_LC_FOO and also a special absolute
symbol _nl_current_LC_FOO_used.
* locale/uselocale.c (__uselocale) [NL_CURRENT_INDIRECT]:
Set each _nl_current_LC_FOO symbol to point into the new locale,
using weak references to test if _nl_current_LC_FOO_used was linked in.
* locale/setlocale.c [! SHARED]: Replace this conditional ...
[NL_CURRENT_INDIRECT]: ... with this one.
(_nl_current, _nl_C): Variables removed.
[NL_CURRENT_INDIRECT] (_nl_current_used): New variable, table of
weak references to _nl_current_LC_FOO_used.
[NL_CURRENT_INDIRECT] (CATEGORY_USED): Define using that table.
(free_category): New function, broken out of ...
(free_mem): ... here. Call that.
(free_mem) [NL_CURRENT_INDIRECT]: Use a categories.def iterator
instead of a loop.
__USING_NAMESPACE_C99 depending on _GLIBCPP_USE_NAMESPACES.
Roland McGrath [Wed, 28 Aug 2002 10:28:11 +0000 (10:28 +0000)]
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Don't check for
PT_LOAD program headers and don't try to relocate PT_TLS's p_vaddr;
it is already absolute.
* elf/Makefile (tests): List tst-tls1 and tst-tls2 unconditionally.
[$(build-static) = yes] (tests): Add tst-tls1-static, tst-tls2-static.
[$(build-static) = yes] (tests-static): New variable.
($(tests-static):%=$(objfpx)%.o)): New static pattern rule.