Roland McGrath [Sun, 31 Oct 2004 20:49:54 +0000 (20:49 +0000)]
[BZ #187, BZ #337, BZ #421]
Change contact address from bug-glibc@gnu.org to libc-locales@sources.redhat.com.
2004-10-31 Petter Reinholdtsen <pere@hungry.com>
[BZ #337]
* SUPPORTED: Update bug reporting comment.
* locales/af_ZA: Change contact address from bug-glibc@gnu.org
to libc-locales@sources.redhat.com.
* locales/an_ES: Likewise.
* locales/ar_AE: Likewise.
* locales/ar_BH: Likewise.
* locales/ar_DZ: Likewise.
* locales/ar_EG: Likewise.
* locales/ar_IN: Likewise.
* locales/ar_IQ: Likewise.
* locales/ar_JO: Likewise.
* locales/ar_KW: Likewise.
* locales/ar_LB: Likewise.
* locales/ar_LY: Likewise.
* locales/ar_MA: Likewise.
* locales/ar_OM: Likewise.
* locales/ar_QA: Likewise.
* locales/ar_SA: Likewise.
* locales/ar_SD: Likewise.
* locales/ar_SY: Likewise.
* locales/ar_TN: Likewise.
* locales/ar_YE: Likewise.
* locales/be_BY: Likewise.
* locales/bn_IN: Likewise.
* locales/br_FR@euro: Likewise.
* locales/ca_ES: Likewise.
* locales/ca_ES@euro: Likewise.
* locales/cs_CZ: Likewise.
* locales/da_DK: Likewise.
* locales/de_AT: Likewise.
* locales/de_AT@euro: Likewise.
* locales/de_BE: Likewise.
* locales/de_BE@euro: Likewise.
* locales/de_CH: Likewise.
* locales/de_DE: Likewise.
* locales/de_DE@euro: Likewise.
* locales/de_LU: Likewise.
* locales/de_LU@euro: Likewise.
* locales/el_GR: Likewise.
* locales/el_GR@euro: Likewise.
* locales/en_AU: Likewise.
* locales/en_BW: Likewise.
* locales/en_CA: Likewise.
* locales/en_DK: Likewise.
* locales/en_GB: Likewise.
* locales/en_HK: Likewise.
* locales/en_IE: Likewise.
* locales/en_IE@euro: Likewise.
* locales/en_IN: Likewise.
* locales/en_NZ: Likewise.
* locales/en_PH: Likewise.
* locales/en_SG: Likewise.
* locales/en_US: Likewise.
* locales/en_ZW: Likewise.
* locales/es_AR: Likewise.
* locales/es_BO: Likewise.
* locales/es_CL: Likewise.
* locales/es_CO: Likewise.
* locales/es_CR: Likewise.
* locales/es_DO: Likewise.
* locales/es_EC: Likewise.
* locales/es_ES: Likewise.
* locales/es_ES@euro: Likewise.
* locales/es_GT: Likewise.
* locales/es_HN: Likewise.
* locales/es_MX: Likewise.
* locales/es_NI: Likewise.
* locales/es_PA: Likewise.
* locales/es_PE: Likewise.
* locales/es_PR: Likewise.
* locales/es_PY: Likewise.
* locales/es_SV: Likewise.
* locales/es_US: Likewise.
* locales/es_UY: Likewise.
* locales/es_VE: Likewise.
* locales/et_EE: Likewise.
* locales/eu_ES: Likewise.
* locales/eu_ES@euro: Likewise.
* locales/fi_FI: Likewise.
* locales/fi_FI@euro: Likewise.
* locales/fo_FO: Likewise.
* locales/fr_BE: Likewise.
* locales/fr_BE@euro: Likewise.
* locales/fr_CA: Likewise.
* locales/fr_CH: Likewise.
* locales/fr_FR: Likewise.
* locales/fr_FR@euro: Likewise.
* locales/fr_LU: Likewise.
* locales/fr_LU@euro: Likewise.
* locales/ga_IE: Likewise.
* locales/ga_IE@euro: Likewise.
* locales/gl_ES: Likewise.
* locales/gl_ES@euro: Likewise.
* locales/gu_IN: Likewise.
* locales/gv_GB: Likewise.
* locales/he_IL: Likewise.
* locales/hi_IN: Likewise.
* locales/hr_HR: Likewise.
* locales/hu_HU: Likewise.
* locales/id_ID: Likewise.
* locales/is_IS: Likewise.
* locales/it_CH: Likewise.
* locales/it_IT: Likewise.
* locales/it_IT@euro: Likewise.
* locales/iw_IL: Likewise.
* locales/ja_JP: Likewise.
* locales/kk_KZ: Likewise.
* locales/kl_GL: Likewise.
* locales/kn_IN: Likewise.
* locales/ko_KR: Likewise.
* locales/kw_GB: Likewise.
* locales/lo_LA: Likewise.
* locales/lt_LT: Likewise.
* locales/lv_LV: Likewise.
* locales/ml_IN: Likewise.
* locales/mn_MN: Likewise.
* locales/mr_IN: Likewise.
* locales/ms_MY: Likewise.
* locales/mt_MT: Likewise.
* locales/nb_NO: Likewise.
* locales/nl_BE: Likewise.
* locales/nl_BE@euro: Likewise.
* locales/nl_NL: Likewise.
* locales/nl_NL@euro: Likewise.
* locales/nn_NO: Likewise.
* locales/pa_IN: Likewise.
* locales/pl_PL: Likewise.
* locales/pt_BR: Likewise.
* locales/pt_PT: Likewise.
* locales/pt_PT@euro: Likewise.
* locales/ro_RO: Likewise.
* locales/ru_RU: Likewise.
* locales/ru_UA: Likewise.
* locales/sk_SK: Likewise.
* locales/sl_SI: Likewise.
* locales/sq_AL: Likewise.
* locales/sv_FI: Likewise.
* locales/sv_FI@euro: Likewise.
* locales/sv_SE: Likewise.
* locales/ta_IN: Likewise.
* locales/te_IN: Likewise.
* locales/th_TH: Likewise.
* locales/tr_TR: Likewise.
* locales/uk_UA: Likewise.
* locales/ur_PK: Likewise.
* locales/vi_VN: Likewise.
* locales/wa_BE@euro: Likewise.
* locales/zh_CN: Likewise.
* locales/zh_HK: Likewise.
* locales/zh_SG: Likewise.
* locales/zh_TW: Likewise.
[BZ #187]
* locales/tr_TR: Add 'yY' and 'nN' to yesexpr and noexpr, to avoid
surprises when using untranslated program.
* locales/tr_TR: Remove trailing '.*' from yesexpr and noexpr to
make it more like the structure of the POSIX locale values.
* locales/tr_TR: Correct numeric decimal point to use comma, and
correct grouping.
Based on patches from Deniz Akkus Kanca and Nilgün Belma Bugüner.
[BZ #421]
* locales/tr_TR: Update with new currency symbol valid from
2005-01-01. Patch from Nilgün Belma Bugüner.
* locales/tr_TR: Convert UTF-8 comment to <U#> notation.
Roland McGrath [Sun, 31 Oct 2004 20:48:21 +0000 (20:48 +0000)]
[BZ #337]
2004-10-31 Petter Reinholdtsen <pere@hungry.com>
[BZ #337]
* locales/af_ZA: Change contact address from bug-glibc@gnu.org
to libc-locales@sources.redhat.com.
* locales/an_ES: Likewise.
* locales/ar_AE: Likewise.
* locales/ar_BH: Likewise.
* locales/ar_DZ: Likewise.
* locales/ar_EG: Likewise.
* locales/ar_IN: Likewise.
* locales/ar_IQ: Likewise.
* locales/ar_JO: Likewise.
* locales/ar_KW: Likewise.
* locales/ar_LB: Likewise.
* locales/ar_LY: Likewise.
* locales/ar_MA: Likewise.
* locales/ar_OM: Likewise.
* locales/ar_QA: Likewise.
* locales/ar_SA: Likewise.
* locales/ar_SD: Likewise.
* locales/ar_SY: Likewise.
* locales/ar_TN: Likewise.
* locales/ar_YE: Likewise.
* locales/be_BY: Likewise.
* locales/bn_IN: Likewise.
* locales/br_FR@euro: Likewise.
* locales/ca_ES: Likewise.
* locales/ca_ES@euro: Likewise.
* locales/cs_CZ: Likewise.
* locales/da_DK: Likewise.
* locales/de_AT: Likewise.
* locales/de_AT@euro: Likewise.
* locales/de_BE: Likewise.
* locales/de_BE@euro: Likewise.
* locales/de_CH: Likewise.
* locales/de_DE: Likewise.
* locales/de_DE@euro: Likewise.
* locales/de_LU: Likewise.
* locales/de_LU@euro: Likewise.
* locales/el_GR: Likewise.
* locales/el_GR@euro: Likewise.
* locales/en_AU: Likewise.
* locales/en_BW: Likewise.
* locales/en_CA: Likewise.
* locales/en_DK: Likewise.
* locales/en_GB: Likewise.
* locales/en_HK: Likewise.
* locales/en_IE: Likewise.
* locales/en_IE@euro: Likewise.
* locales/en_IN: Likewise.
* locales/en_NZ: Likewise.
* locales/en_PH: Likewise.
* locales/en_SG: Likewise.
* locales/en_US: Likewise.
* locales/en_ZW: Likewise.
* locales/es_AR: Likewise.
* locales/es_BO: Likewise.
* locales/es_CL: Likewise.
* locales/es_CO: Likewise.
* locales/es_CR: Likewise.
* locales/es_DO: Likewise.
* locales/es_EC: Likewise.
* locales/es_ES: Likewise.
* locales/es_ES@euro: Likewise.
* locales/es_GT: Likewise.
* locales/es_HN: Likewise.
* locales/es_MX: Likewise.
* locales/es_NI: Likewise.
* locales/es_PA: Likewise.
* locales/es_PE: Likewise.
* locales/es_PR: Likewise.
* locales/es_PY: Likewise.
* locales/es_SV: Likewise.
* locales/es_US: Likewise.
* locales/es_UY: Likewise.
* locales/es_VE: Likewise.
* locales/et_EE: Likewise.
* locales/eu_ES: Likewise.
* locales/eu_ES@euro: Likewise.
* locales/fi_FI: Likewise.
* locales/fi_FI@euro: Likewise.
* locales/fo_FO: Likewise.
* locales/fr_BE: Likewise.
* locales/fr_BE@euro: Likewise.
* locales/fr_CA: Likewise.
* locales/fr_CH: Likewise.
* locales/fr_FR: Likewise.
* locales/fr_FR@euro: Likewise.
* locales/fr_LU: Likewise.
* locales/fr_LU@euro: Likewise.
* locales/ga_IE: Likewise.
* locales/ga_IE@euro: Likewise.
* locales/gl_ES: Likewise.
* locales/gl_ES@euro: Likewise.
* locales/gu_IN: Likewise.
* locales/gv_GB: Likewise.
* locales/he_IL: Likewise.
* locales/hi_IN: Likewise.
* locales/hr_HR: Likewise.
* locales/hu_HU: Likewise.
* locales/id_ID: Likewise.
* locales/is_IS: Likewise.
* locales/it_CH: Likewise.
* locales/it_IT: Likewise.
* locales/it_IT@euro: Likewise.
* locales/iw_IL: Likewise.
* locales/ja_JP: Likewise.
* locales/kk_KZ: Likewise.
* locales/kl_GL: Likewise.
* locales/kn_IN: Likewise.
* locales/ko_KR: Likewise.
* locales/kw_GB: Likewise.
* locales/lo_LA: Likewise.
* locales/lt_LT: Likewise.
* locales/lv_LV: Likewise.
* locales/ml_IN: Likewise.
* locales/mn_MN: Likewise.
* locales/mr_IN: Likewise.
* locales/ms_MY: Likewise.
* locales/mt_MT: Likewise.
* locales/nb_NO: Likewise.
* locales/nl_BE: Likewise.
* locales/nl_BE@euro: Likewise.
* locales/nl_NL: Likewise.
* locales/nl_NL@euro: Likewise.
* locales/nn_NO: Likewise.
* locales/pa_IN: Likewise.
* locales/pl_PL: Likewise.
* locales/pt_BR: Likewise.
* locales/pt_PT: Likewise.
* locales/pt_PT@euro: Likewise.
* locales/ro_RO: Likewise.
* locales/ru_RU: Likewise.
* locales/ru_UA: Likewise.
* locales/sk_SK: Likewise.
* locales/sl_SI: Likewise.
* locales/sq_AL: Likewise.
* locales/sv_FI: Likewise.
* locales/sv_FI@euro: Likewise.
* locales/sv_SE: Likewise.
* locales/ta_IN: Likewise.
* locales/te_IN: Likewise.
* locales/th_TH: Likewise.
* locales/tr_TR: Likewise.
* locales/uk_UA: Likewise.
* locales/ur_PK: Likewise.
* locales/vi_VN: Likewise.
* locales/wa_BE@euro: Likewise.
* locales/zh_CN: Likewise.
* locales/zh_HK: Likewise.
* locales/zh_SG: Likewise.
* locales/zh_TW: Likewise.
Andreas Schwab [Sat, 30 Oct 2004 21:45:34 +0000 (21:45 +0000)]
*** empty log message ***
* sysdeps/m68k/dl-machine.h (elf_machine_rela)
(elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto
instead of static.
2004-10-30 Andreas Schwab <schwab@suse.de>
Andreas Schwab [Sat, 30 Oct 2004 21:44:13 +0000 (21:44 +0000)]
(elf_machine_rela) (elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto instead of static.
Ulrich Drepper [Sat, 30 Oct 2004 18:04:21 +0000 (18:04 +0000)]
Update.
2004-10-30 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/waitid.c: Include <stddef.h> for NULL.
2004-10-30 Ulrich Drepper <drepper@redhat.com>
* malloc/malloc.c (_int_free): Use unique comments for the error
cases.
Ulrich Drepper [Fri, 29 Oct 2004 21:53:26 +0000 (21:53 +0000)]
Update.
2004-10-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S (sem_timedwait):
Set ETIMEDOUT to errno when time is up. Tweak to avoid
assembler warning.
Ulrich Drepper [Fri, 29 Oct 2004 21:10:51 +0000 (21:10 +0000)]
(sem_timedwait): Set ETIMEDOUT to errno when time is up. Tweak to avoid assembler warning.
Roland McGrath [Fri, 29 Oct 2004 01:25:24 +0000 (01:25 +0000)]
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_fork): Use i386_thread_state
instead of machine_thread_state.
Roland McGrath [Thu, 28 Oct 2004 23:25:37 +0000 (23:25 +0000)]
* sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot.
Roland McGrath [Thu, 28 Oct 2004 23:25:33 +0000 (23:25 +0000)]
2004-10-28 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot.
Ulrich Drepper [Thu, 28 Oct 2004 23:11:43 +0000 (23:11 +0000)]
Update.
2004-10-28 Ulrich Drepper <drepper@redhat.com>
* elf/dl-open.c (dl_open_worker): Remove reference to glibcbug script.
Ulrich Drepper [Thu, 28 Oct 2004 19:09:21 +0000 (19:09 +0000)]
Update.
2004-10-28 Jakub Jelinek <jakub@redhat.com>
* pthread_create.c (__pthread_create_2_1): Avoid leaking stacks
if sched_priority is not between minprio and maxprio.
Ulrich Drepper [Thu, 28 Oct 2004 06:53:20 +0000 (06:53 +0000)]
Update.
2004-10-27 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (_dl_map_object): Use cache_rpath to check for
existing rpath in main executable, not explicit test.
Ulrich Drepper [Wed, 27 Oct 2004 21:33:40 +0000 (21:33 +0000)]
Update.
2004-10-27 Jakub Jelinek <jakub@redhat.com>
* include/resolv.h (_res_opcodes): New extern.
Add libresolv_hidden_proto.
* resolv/res_debug.c (_res_opcodes): Remove.
(__p_class_syms, __p_type_syms): Add libresolv_hidden_proto
and libresolv_hidden_data_def. Remove attribute_hidden.
* resolv/res_mkquery (_res_opcodes): Remove.
* resolv/res_data.c (_res_opcodes): Remove attribute_hidden.
Add libresolv_hidden_data_def.
* elf/dl-open.c (_dl_open): Don't allow explicitly opening a DSO
into an empty namespace.
Ulrich Drepper [Wed, 27 Oct 2004 20:27:40 +0000 (20:27 +0000)]
Update.
2004-10-27 Ulrich Drepper <drepper@redhat.com>
* elf/dl-fini.c (_dl_fini): Fix search for map in maps array.
Reverse order of namespaces.
* elf/Makefile: Add rules to build and run tst-dlmopen3.
* elf/tst-dlmopen3.c: New file.
* elf/tst-dlmopen1mod.c: Add check whether constructor runs.
Ulrich Drepper [Wed, 27 Oct 2004 18:23:53 +0000 (18:23 +0000)]
Update.
2004-10-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/glob.c (globfree): Clear gl_pathv after freeing it.
* posix/Makefile: Add rules to build and run bug-glob2 test.
* posix/bug-glob2.c: New test.
Ulrich Drepper [Wed, 27 Oct 2004 18:18:56 +0000 (18:18 +0000)]
Test of globfree after failed glob call.
Roland McGrath [Wed, 27 Oct 2004 07:48:08 +0000 (07:48 +0000)]
* sysdeps/mach/hurd/i386/tls.h (HURD_TLS_DESC_DECL): New macro.
(_hurd_tls_init): Use it.
(_hurd_tls_fork): New function.
* sysdeps/mach/hurd/fork.c (__fork) [USE_TLS]: Call it.
Roland McGrath [Wed, 27 Oct 2004 00:55:39 +0000 (00:55 +0000)]
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Initialize TCB->tcb.
Roland McGrath [Tue, 26 Oct 2004 18:11:31 +0000 (18:11 +0000)]
* sysdeps/gnu/netinet/udp.h (struct udphdr): Use u_int16_t
type instead of uint16_t. Formatting.
Roland McGrath [Tue, 26 Oct 2004 02:36:52 +0000 (02:36 +0000)]
* login/openpty.c (openpty): Add libutil_hidden_def.
Roland McGrath [Tue, 26 Oct 2004 02:30:36 +0000 (02:30 +0000)]
either libc_hidden_def or libnss_files_hidden_def, not hidden_def.
This file is also compiled into libnss_hesiod by #include.
Roland McGrath [Tue, 26 Oct 2004 02:15:42 +0000 (02:15 +0000)]
* sysdeps/unix/bsd/hp: Directory and all files removed.
These are now in the ports repository.
* sysdeps/unix/bsd/osf: Likewise.
* sysdeps/unix/bsd/sequent: Likewise.
* sysdeps/unix/bsd/sony: Likewise.
* sysdeps/unix/bsd/ultrix4: Likewise.
* sysdeps/unix/sysv/aix: Likewise.
* sysdeps/unix/sysv/hpux: Likewise.
* sysdeps/unix/sysv/irix4: Likewise.
* sysdeps/unix/sysv/isc2.2: Likewise.
* sysdeps/unix/sysv/minix: Likewise.
* sysdeps/unix/sysv/sco3.2.4: Likewise.
* sysdeps/unix/sysv/sco3.2: Likewise.
* sysdeps/unix/sysv/sysv4: Likewise.
Roland McGrath [Tue, 26 Oct 2004 01:55:51 +0000 (01:55 +0000)]
* nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define to
libnss_files_hidden_def, not hidden_def. This file is also compiled
into libnss_hesiod by #include.
Roland McGrath [Tue, 26 Oct 2004 01:35:59 +0000 (01:35 +0000)]
* configure.in (ASM_LINE_SEP): Move this setting to ...
* sysdeps/hppa/configure.in: ... here, new file.
* sysdeps/hppa/configure: New generated file.
* configure: Regenerated.
Roland McGrath [Tue, 26 Oct 2004 01:35:54 +0000 (01:35 +0000)]
2004-10-25 Roland McGrath <roland@frob.com>
* configure.in (ASM_LINE_SEP): Move this setting to ...
* sysdeps/hppa/configure.in: ... here, new file.
* sysdeps/hppa/configure: New generated file.
* configure: Regenerated.
Ulrich Drepper [Tue, 26 Oct 2004 01:14:11 +0000 (01:14 +0000)]
(first_shoot): Fix typo.
Ulrich Drepper [Mon, 25 Oct 2004 19:07:36 +0000 (19:07 +0000)]
Update.
2004-10-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/dl-machine.h: Include sysdep.h.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Add CFI directives.
(elf_machine_runtime_setup): Add always_inline attribute.
(_dl_start_user): Pass the correct environ.
(elf_machine_rela): Replace static inline by auto inline, add
always_inline attribute.
(elf_machine_rela_relative): Likewise.
(elf_machine_lazy_rel): Likewise.
Ulrich Drepper [Mon, 25 Oct 2004 03:33:05 +0000 (03:33 +0000)]
Update.
* nis/nis_call.c: Pretty printing. Minor cleanups.
Ulrich Drepper [Mon, 25 Oct 2004 03:16:46 +0000 (03:16 +0000)]
Update.
* nis/nis_addmember.c (nis_addmember): Add assert to check buffer
bounds.
Ulrich Drepper [Sun, 24 Oct 2004 23:02:46 +0000 (23:02 +0000)]
Update.
* resolv/nss_dns/dns-host.c: Avoid using PLTs.
Ulrich Drepper [Sun, 24 Oct 2004 21:29:41 +0000 (21:29 +0000)]
Update.
* include/libc-symbols.h: Define hidden attribute macros for
libnss_nisplus and libutil.
* include/utmp.h: Add libutil_hidden_proto for login_tty.
* login/login_tty.c: Add libutil_hidden_def.
* nis/nisplus-parser.h: Add libnss_nisplus_hidden_proto for parsers.
* nis/nss_nisplus/nisplus-parser.c: Add libnss_nisplus_hidden_def.
* include/pty.h: New file.
* include/rpcsvc/yp.h: New file.
* include/rpcsvc/ypclnt.h: New file.
* include/rpcsvc/ypupd.h: New file.
Ulrich Drepper [Sun, 24 Oct 2004 20:29:20 +0000 (20:29 +0000)]
Update.
* include/libc-symbols.h: Define hidden attribute macros for libnsl.
* include/rpcsvc/nislib.h: Use libnsl_hidden_proto for various
functions.
* nis/nis_add.c: Add libnsl_hidden_def. Minor optimizations.
* nis/nis_call.c: Likewise.
* nis/nis_clone_obj.c: Likewise.
* nis/nis_defaults.c: Likewise.
* nis/nis_domain_of_r.c: Likewise.
* nis/nis_error.c: Likewise.
* nis/nis_file.c: Likewise.
* nis/nis_free.c: Likewise.
* nis/nis_local_names.c: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_modify.c: Likewise.
* nis/nis_print.c: Likewise.
* nis/nis_remove.c: Likewise.
* nis/nis_subr.c: Likewise.
* nis/nis_table.c: Likewise.
* nis/nis_util.c: Likewise.
* nis/yp_xdr.c: Likewise.
* nis/ypclnt.c: Likewise.
* nis/ypupdate_xdr.c: Likewise.
Ulrich Drepper [Sun, 24 Oct 2004 20:24:30 +0000 (20:24 +0000)]
Define hidden attribute macros for libnsl.
Roland McGrath [Sun, 24 Oct 2004 19:23:43 +0000 (19:23 +0000)]
Ancient files moved to ports repository
Ulrich Drepper [Sun, 24 Oct 2004 09:20:14 +0000 (09:20 +0000)]
Update.
* resolv/res_send.c (send_dg): Cope with failures.
Ulrich Drepper [Sun, 24 Oct 2004 09:06:50 +0000 (09:06 +0000)]
Update.
2004-10-24 Ulrich Drepper <drepper@redhat.com>
* include/libc-symbols.h: Define hidden attribute macros for
libnss_files.
* include/netdb.h: Use libnss_files_hidden_proto for the parsers
defined in libnss_files, not libc_hidden_proto.
* include/netinet/ether.h: Likewise.
* include/rpc/netdb.h: Likewise.
* nss/nss_files/files-parse.c: Use hidden_def in parser definitions
instead of libc_hidden_def.
* nss/nss_files/files-netgrp.c: Add libnss_files_hidden_def to
_nss_netgroup_parseline definition.
Ulrich Drepper [Sun, 24 Oct 2004 09:04:03 +0000 (09:04 +0000)]
Define hidden attribute macros for libnss_files.
Roland McGrath [Sun, 24 Oct 2004 01:59:26 +0000 (01:59 +0000)]
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Don't return early
after an RPC succeeds.
Roland McGrath [Sat, 23 Oct 2004 21:38:39 +0000 (21:38 +0000)]
Moved ancient files to ports repository
* sysdeps/cris, sysdeps/unix/sysv/linux/cris: Likewise.
* sysdeps/am29k, sysdeps/i860, sysdeps/i960, sysdeps/m88k: Likewise.
* sysdeps/standalone, sysdeps/z8000: Likewise.
Roland McGrath [Sat, 23 Oct 2004 21:03:03 +0000 (21:03 +0000)]
Moved tahoe files to ports repository
* sysdeps/tahoe, sysdeps/unix/bsd/tahoe: Likewise.
Roland McGrath [Sat, 23 Oct 2004 20:39:12 +0000 (20:39 +0000)]
Moved vax files to ports repository
2004-10-23 Roland McGrath <roland@frob.com>
* sysdeps/vax, sysdeps/unix/bsd/vax: Directories and all files removed.
These are now in the ports repository.
Roland McGrath [Sat, 23 Oct 2004 20:10:46 +0000 (20:10 +0000)]
* Makefile (%.bz2, %.gz): Move these pattern rules ...
* Makerules: ... to here.
Roland McGrath [Sat, 23 Oct 2004 20:10:40 +0000 (20:10 +0000)]
2004-10-22 Roland McGrath <roland@frob.com>
* Makefile (%.bz2, %.gz): Move these pattern rules ...
* Makerules: ... to here.
Ulrich Drepper [Sat, 23 Oct 2004 08:22:29 +0000 (08:22 +0000)]
Update.
2004-10-23 Ulrich Drepper <drepper@redhat.com>
* resolv/res_send.c (send_dg): Combine write and read to socket
into one loop.
Ulrich Drepper [Sat, 23 Oct 2004 06:45:30 +0000 (06:45 +0000)]
Update.
* resolv/res_send.c: Remove compatibility code which is unused in
glibc and probably bitrotten.
Ulrich Drepper [Sat, 23 Oct 2004 06:12:20 +0000 (06:12 +0000)]
Remove compatibility code which is unused in glibc and probably bitrotten.
Roland McGrath [Sat, 23 Oct 2004 02:52:41 +0000 (02:52 +0000)]
* elf/elf.h: Add R_MN10300_* relocation numbers.
Roland McGrath [Fri, 22 Oct 2004 22:24:08 +0000 (22:24 +0000)]
[BZ #471] Fix imported from gnulib.
* time/mktime.c (leapyear, ydms_tm_diff): Year is of type
long int, not int, to avoid problems when tm_year == INT_MAX
and tm_mon > 12.
(__mktime_intenral): Compute year using long int arithmetic,
not int arithmetic, to avoid problems on hosts where time_t
and long are 64 bits but int is 32.
Roland McGrath [Fri, 22 Oct 2004 22:21:36 +0000 (22:21 +0000)]
[BZ #468] Import a fix from gnulib.
* time/mktime.c [! DEBUG]: Do not include <string.h>.
It's needed only if DEBUG is nonzero.
Roland McGrath [Fri, 22 Oct 2004 22:17:48 +0000 (22:17 +0000)]
[BZ #470] Import fix from gnulib.
* time/mktime.c [!_LIBC] (__mktime_internal): Define to
mktime_internal, to avoid clashes with any __mktime_internal
function defined in the standard library.
Roland McGrath [Fri, 22 Oct 2004 22:15:54 +0000 (22:15 +0000)]
[BZ #469] Imported from gnulib.
* time/mktime.c (__isleap): Remove; all uses replaced by:
(leapyear): New function, which avoids overflow by not adding
1900 to year before testing whether it is a leap year.
Roland McGrath [Fri, 22 Oct 2004 22:11:00 +0000 (22:11 +0000)]
[BZ #472]
2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
[BZ #472] Imported from gnulib.
* time/mktime.c (Local Variables): Remove -DHAVE_TIME_R_POSIX;
no longer used.
Roland McGrath [Fri, 22 Oct 2004 22:10:39 +0000 (22:10 +0000)]
[BZ #472]
2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
[BZ #472] Imported from gnulib.
* time/mktime.c (Local Variables): Remove -DHAVE_TIME_R_POSIX;
no longer used.
Ulrich Drepper [Fri, 22 Oct 2004 21:08:43 +0000 (21:08 +0000)]
Update.
* debug/execinfo.h: Remove __THROW from backtrace prototype.
2004-10-22 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/Makefile (CFLAGS-backtrace.c): Add -fexceptions.
* sysdeps/i386/backtrace.c: Include <bits/libc-lock.h>, <dlfcn.h>,
<stdlib.h> and <unwind.h>. Remove <bp-checks.h> include.
(struct trace_arg): New type.
(unwind_backtrace, unwind_getip, unwind_getcfa, unwind_getgr): New
fn pointers resp. macros.
(init, backtrace_helper): New functions.
(__backtrace): Rewritten to use _Unwind_Backtrace first and fall
back to frame pointer walking.
2004-10-22 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Fri, 22 Oct 2004 19:58:34 +0000 (19:58 +0000)]
Update.
2004-10-22 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/Versions: Things are still in flux, it
seems. Undo last additions.
Ulrich Drepper [Fri, 22 Oct 2004 06:27:54 +0000 (06:27 +0000)]
Update.
2004-10-21 Ulrich Drepper <drepper@redhat.com>
* posix/execvp.c (execvp): Also ignore ENODEV and ETIMEDOUT errno
values.
Ulrich Drepper [Thu, 21 Oct 2004 09:00:31 +0000 (09:00 +0000)]
Update.
2004-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/lowlevellock.S
(__lll_mutex_timedlock_wait): If woken but cannot get the lock,
make sure 2 is stored in the futex and we looked at the old value.
Fix a few other problems to return the correct value.
Ulrich Drepper [Thu, 21 Oct 2004 08:59:36 +0000 (08:59 +0000)]
(__lll_mutex_timedlock_wait): If woken but cannot get the lock, make sure 2 is stored in the futex and we looked at the old value. Fix a few other problems to return the correct value.
Roland McGrath [Thu, 21 Oct 2004 01:29:31 +0000 (01:29 +0000)]
* Makeconfig ($(common-objpfx)shlib-versions.v.i): Check also
$(config-sysdirs) for shlib-versions files.
* Makeconfig ($(common-objpfx)soversions.i): Replace shell loop with
use of ...
* scripts/soversions.awk: ... this new file. Collect lib info and
match any DEFAULT line before emitting anything, so DEFAULT can come
later in the concatenation of shlib-versions files.
Roland McGrath [Wed, 20 Oct 2004 10:05:07 +0000 (10:05 +0000)]
* manual/errno.texi (Error Codes): Add ENOKEY, EKEYEXPIRED,
EKEYREVOKED, EKEYREJECTED.
* sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.3.4): New errlist.
* sysdeps/gnu/errlist.c: Regenerated
* sysdeps/gnu/errlist-compat.awk: Don't bail if Versions gives a count
higher than ERR_MAX reports. Instead, emit a #define ERR_MAX.
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.h): New target.
(generated): Add errlist-compat.h.
* sysdeps/gnu/errlist.awk: Make output #include <errlist-compat.h> to
define ERR_MAX and use that for table size.
Roland McGrath [Wed, 20 Oct 2004 10:04:57 +0000 (10:04 +0000)]
2004-10-20 Roland McGrath <roland@redhat.com>
* sysdeps/gnu/errlist-compat.awk: Don't bail if Versions gives a count
higher than ERR_MAX reports. Instead, emit a #define ERR_MAX.
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.h): New target.
(generated): Add errlist-compat.h.
* sysdeps/gnu/errlist.awk: Make output #include <errlist-compat.h> to
define ERR_MAX and use that for table size.
Ulrich Drepper [Wed, 20 Oct 2004 07:09:15 +0000 (07:09 +0000)]
Update.
2004-10-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/syscalls.list: Add entries for setaltroot,
key_add, key_request, and keyctl syscalls.
* sysdeps/unix/sysv/linux/Versions: Export them.
Ulrich Drepper [Wed, 20 Oct 2004 07:00:30 +0000 (07:00 +0000)]
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi
Roland McGrath [Wed, 20 Oct 2004 06:43:19 +0000 (06:43 +0000)]
* sysdeps/mach/readonly-area.c: New file.
Roland McGrath [Wed, 20 Oct 2004 06:43:15 +0000 (06:43 +0000)]
2004-10-19 Roland McGrath <roland@frob.com>
* sysdeps/mach/readonly-area.c: New file.
Ulrich Drepper [Wed, 20 Oct 2004 06:29:15 +0000 (06:29 +0000)]
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi
Roland McGrath [Wed, 20 Oct 2004 06:20:16 +0000 (06:20 +0000)]
typo
* sysdeps/generic/ldsodefs.h (_dl_debug_state): Don't mark as
Ulrich Drepper [Tue, 19 Oct 2004 22:21:46 +0000 (22:21 +0000)]
Update.
2004-10-19 Ulrich Drepper <drepper@redhat.com>
* elf/Versions [ld, GLIBC_PRIVATE]: Add _dl_debug_state.
* elf/dl-debug.c (_dl_debug_state): Add rtld_hidden_def.
* sysdeps/generic/ldsodefs.h (_dl_debug_state): Don't maek as
hidden but use rtld_hidden_proto.
Ulrich Drepper [Tue, 19 Oct 2004 21:45:14 +0000 (21:45 +0000)]
Update.
2004-10-19 Alfred M. Szmidt <ams@gnu.org>
* sysdeps/generic/readonly-area.c (__readonly_str): Renamed to ...
(__readonly_area): ... this.
Ulrich Drepper [Tue, 19 Oct 2004 21:21:42 +0000 (21:21 +0000)]
Update.
2004-10-18 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/strcpy_chk.c (__strcpy_chk): Speed up by checking
destlen only every 4 bytes.
Ulrich Drepper [Tue, 19 Oct 2004 21:11:32 +0000 (21:11 +0000)]
Update.
2004-10-19 Ulrich Drepper <drepper@redhat.com>
* nss/getent.c (hosts_keys): Let inet_pton decide whether the
string is an address or not.
Ulrich Drepper [Tue, 19 Oct 2004 16:44:56 +0000 (16:44 +0000)]
Update.
* elf/dl-addr.c (_dl_addr): Don't look at STT_TLS symbols.
Use DL_SYMBOL_ADDRESS to set dli_saddr.
Ulrich Drepper [Tue, 19 Oct 2004 16:05:21 +0000 (16:05 +0000)]
Update.
2004-10-19 Jakub Jelinek <jakub@redhat.com>
* debug/Makefile (catchsegv): Prefix $LIB with a backslash.
Ulrich Drepper [Tue, 19 Oct 2004 10:36:18 +0000 (10:36 +0000)]
Update.
2004-10-19 Ulrich Drepper <drepper@redhat.com>
* debug/Makefile ($(objpfx)catchsegv): To support multilib
platforms, use $LIB in path to slibdir.
2004-10-19 Jakub Jelinek <jakub@redhat.com>
* debug/catchsegv.sh: Update copyright year.
Use mktemp to create segv_output file.
Ulrich Drepper [Tue, 19 Oct 2004 10:34:20 +0000 (10:34 +0000)]
Update copyright year. Use mktemp to create segv_output file.
Roland McGrath [Tue, 19 Oct 2004 05:13:11 +0000 (05:13 +0000)]
[BZ #406]
2004-10-18 Roland McGrath <roland@redhat.com>
[BZ #406]
* Makefile (linuxthreads-CPPFLAGS): New variable;
adds -DIS_IN_linuxthreads=1.
* sysdeps/i386/tls.h: Protect "useldt.h" with
[!IS_IN_linuxthreads && !DO_MODIFY_LDT].
* sysdeps/i386/i686/pt-machine.h: Revert last change.
Roland McGrath [Tue, 19 Oct 2004 05:12:59 +0000 (05:12 +0000)]
[BZ #406]
2004-10-18 Roland McGrath <roland@redhat.com>
[BZ #406]
* Makefile (linuxthreads-CPPFLAGS): New variable;
adds -DIS_IN_linuxthreads=1.
* sysdeps/i386/tls.h: Protect "useldt.h" with
[!IS_IN_linuxthreads && !DO_MODIFY_LDT].
* sysdeps/i386/i686/pt-machine.h: Revert last change.
Ulrich Drepper [Mon, 18 Oct 2004 23:17:46 +0000 (23:17 +0000)]
Update.
2004-10-18 Jakub Jelinek <jakub@redhat.com>
* elf/dl-libc.c (__libc_dlsym_private, __libc_register_dl_open_hook):
New functions.
(__libc_dlopen_mode): Call __libc_register_dl_open_hook and
__libc_register_dlfcn_hook.
* dlfcn/Makefile (routines, elide-routines.os): Set.
Add rules to build and test tststatic2.
* dlfcn/tststatic2.c: New test.
* dlfcn/modstatic2.c: New test module.
* dlfcn/dladdr.c: Call _dlfcn_hook from libdl.so if not NULL.
Define __ prefixed routine in libc.a and in libdl.a just call it.
* dlfcn/dladdr1.c: Likewise.
* dlfcn/dlclose.c: Likewise.
* dlfcn/dlerror.c: Likewise.
* dlfcn/dlinfo.c: Likewise.
* dlfcn/dlmopen.c: Likewise.
* dlfcn/dlopen.c: Likewise.
* dlfcn/dlopenold.c: Likewise.
* dlfcn/dlsym.c: Likewise.
* dlfcn/dlvsym.c: Likewise.
* dlfcn/sdladdr.c: New file.
* dlfcn/sdladdr1.c: New file.
* dlfcn/sdlclose.c: New file.
* dlfcn/sdlerror.c: New file.
* dlfcn/sdlinfo.c: New file.
* dlfcn/sdlopen.c: New file.
* dlfcn/sdlsym.c: New file.
* dlfcn/sdlvsym.c: New file.
* dlfcn/Versions (libdl): Export _dlfcn_hook@GLIBC_PRIVATE.
* include/dlfcn.h (DL_CALLER_DECL, DL_CALLER RETURN_ADDRESS): Define.
(struct dlfcn_hook): New type.
(_dlfcn_hook): New extern decl.
(__dlopen, __dlclose, __dlsym, __dlerror, __dladdr, __dladdr1,
__dlinfo, __dlmopen, __libc_dlsym_private,
__libc_register_dl_open_hook, __libc_register_dlfcn_hook): New
prototypes.
(__dlvsym): Use DL_CALLER_DECL.
* include/libc-symbols.h: Define libdl_hidden_proto and friends.
* malloc/arena.c (_dl_open_hook): Extern decl.
(ptmalloc_init): Don't call _dl_addr when dlopened from statically
linked programs but don't use brk for them either.
Ulrich Drepper [Mon, 18 Oct 2004 23:07:59 +0000 (23:07 +0000)]
(__libc_dlsym_private, __libc_register_dl_open_hook): New functions. (__libc_dlopen_mode): Call __libc_register_dl_open_hook and __libc_register_dlfcn_hook.
Roland McGrath [Mon, 18 Oct 2004 18:54:06 +0000 (18:54 +0000)]
* dlfcn/bug-dlsym1.c (main): Remove bogus setenv call.
Roland McGrath [Mon, 18 Oct 2004 18:53:53 +0000 (18:53 +0000)]
2004-10-18 Roland McGrath <roland@redhat.com>
* dlfcn/bug-dlsym1.c (main): Remove bogus setenv call.
Ulrich Drepper [Mon, 18 Oct 2004 15:44:52 +0000 (15:44 +0000)]
Update.
2004-10-18 Ulrich Drepper <drepper@redhat.com>
* elf/dl-open.c (dl_open_worker): Avoid dereferencing map in
statically linked code if there might none be found.
Ulrich Drepper [Mon, 18 Oct 2004 15:37:14 +0000 (15:37 +0000)]
(dl_open_worker): Avoid dereferencing map in statically linked code if there might none be found.
Andreas Jaeger [Mon, 18 Oct 2004 05:17:42 +0000 (05:17 +0000)]
Update.
2004-10-06 Maciej W. Rozycki <macro@mips.com>
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
(__SYSCALL_CLOBBERS): Add "memory".
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
(__SYSCALL_CLOBBERS): Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
(__SYSCALL_CLOBBERS): Likewise.
Andreas Jaeger [Mon, 18 Oct 2004 05:16:08 +0000 (05:16 +0000)]
(__SYSCALL_CLOBBERS): Add "memory".
Ulrich Drepper [Mon, 18 Oct 2004 05:10:37 +0000 (05:10 +0000)]
Update.
2004-10-17 Ulrich Drepper <drepper@redhat.com>
* include/libc-symbols.h: Define libresolv_hidden_proto and friends.
* include/resolv.h: Add libresolv_hidden_proto for symbols defined,
used, and exported in libresolv.
* resolv/base64.c: Add libresolv_hidden_def.
* resolv/gethnamaddr.c: Likewise.
* resolv/ns_name.c: Likewise.
* resolv/ns_netint.c: Likewise.
* resolv/res_comp.c: Likewise.
* resolv/res_data.c: Likewise.
* resolv/res_debug.c: Likewise.
* resolv/res_mkquery.c: Likewise.
* resolv/res_query.c: Likewise.
* resolv/res_send.c: Likewise.
Ulrich Drepper [Mon, 18 Oct 2004 04:19:48 +0000 (04:19 +0000)]
Pretty printing.
Ulrich Drepper [Mon, 18 Oct 2004 04:17:19 +0000 (04:17 +0000)]
2004-10-15 Jakub Jelinek <jakub@redhat.com>
* elf/dl-minimal.c (__chk_fail): New. Add rtld_hidden_def.
* sysdeps/unix/sysv/linux/readonly-area.c: New file.
* sysdeps/i386/i686/memmove.S (__memmove_chk): Add checking
routine.
* sysdeps/i386/i686/memcpy.S (__memcpy_chk): Likewise.
* sysdeps/i386/i686/mempcpy.S (__mempcpy_chk): Likewise.
* sysdeps/i386/i686/memset.S (__memset_chk): Likewise.
* sysdeps/i386/i686/memmove-chk.S: New file.
* sysdeps/i386/i686/memcpy-chk.S: Likewise.
* sysdeps/i386/i686/mempcpy-chk.S: Likewise.
* sysdeps/i386/i686/memset-chk.S: Likewise.
* sysdeps/generic/strcat-chk.c (__strcat_chk): Don't __chk_fail
if exactly fitting into buffer.
* sysdeps/generic/strncat-chk.c (__strncat_chk): Likewise.
* sysdeps/generic/readonly-area.c: New file.
* sysdeps/generic/strncpy-chk.c (__strncpy_chk): Only test
destlen once.
* sysdeps/x86_64/memset.S (__memset_chk): Add checking routine.
* sysdeps/x86_64/memcpy.S (__memcpy_chk): Likewise.
* sysdeps/x86_64/mempcpy.S (__memcpy_chk): Define to __mempcpy_chk.
* sysdeps/x86_64/memcpy-chk.S: New file.
* sysdeps/x86_64/mempcpy-chk.S: Likewise.
* sysdeps/x86_64/memset-chk.S: Likewise.
* sysdeps/x86_64/strcpy-chk.S: Likewise.
* sysdeps/x86_64/stpcpy-chk.S: Likewise.
* argp/argp-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing.
* argp/argp-fs-xinl.c (__OPTIMIZE__): Likewise.
* debug/tst-chk1.c: New test.
* debug/tst-chk2.c: Likewise.
* debug/tst-chk3.c: Likewise.
* debug/test-strcpy_chk.c: Likewise.
* debug/test-stpcpy_chk.c: Likewise.
* debug/vsprintf_chk.c (__vsprintf_chk): If flags > 0, request
_IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def.
* debug/Makefile (routines): Add printf_chk, fprintf_chk, vprintf_chk,
vfprintf_chk, gets_chk and readonly-area.
(CFLAGS-*_chk.c): Set.
(tests): Add tst-chk1, tst-chk2, tst-chk3, test-strcpy_chk and
test-stpcpy_chk.
* debug/vprintf_chk.c: New file.
* debug/printf_chk.c: Likewise.
* debug/vfprintf_chk.c: Likewise.
* debug/fprintf_chk.c: Likewise.
* debug/gets_chk.c: Likewise.
* debug/chk_fail.c (__chk_fail): Add libc_hidden_def.
* debug/snprintf_chk.c (__snprintf_chk): Fix order of arguments
passed to __vsnprintf_chk.
* debug/Versions (libc): Export __printf_chk, __fprintf_chk,
__vprintf_chk, __vfprintf_chk and __gets_chk @GLIBC_2.3.4.
* debug/vsnprintf_chk.c (__vsnprintf_chk): Don't call
__vsnprintf, instead create a temporary file with
_IO_strn_jumps jumptable. If flags > 0, request
_IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def.
* libio/Makefile (headers): Add bits/stdio2.h.
* libio/stdio.h: Include <bits/stdio2.h> if __USE_FORTIFY_LEVEL.
(sprintf, snprintf, vsprintf, vsnprintf): Remove defines.
* libio/strfile.h (_IO_strnfile): New type.
(_IO_strn_jumps): New extern.
* libio/vsnprintf.c (_IO_strnfile): Remove.
(_IO_strn_jumps): Remove static.
* libio/bits/stdio2.h: New file.
* libio/vswprintf.c (_IO_strnfile): Rename type to...
(_IO_wstrnfile): ...this. Adjust all uses.
* libio/libio.h (_IO_FLAGS2_CHECK_PERCENT_N): Define.
* stdio-common/vfprintf.c (STR_LEN): Define.
(vfprintf): Add readonly_format variable.
Handle _IO_FLAGS2_CHECK_PERCENT_N.
(buffered_vfprintf): Copy _flags2.
* include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk,
__vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk,
__vfprintf_chk): New prototypes.
(__vsprintf_chk, __vsnprintf_chk): Add libc_hidden_proto.
* include/string.h (__memcpy_chk, __memmove_chk, __mempcpy_chk,
__memset_chk, __strcpy_chk, __stpcpy_chk, __strncpy_chk, __strcat_chk,
__strncat_chk): New prototypes.
* include/bits/string3.h: New file.
* include/sys/cdefs.h (__chk_fail): Add libc_hidden_proto
and rtld_hidden_proto.
* string/Makefile (headers): Add bits/string3.h.
* string/bits/string3.h (bcopy, bzero): New defines.
(memset, memcpy, memmove, strcpy, strncpy, strcat, strncat): Change
macros so that inlines are used only if unknown destination size
or side-effects in destination argument.
(mempcpy, stpcpy): Likewise. Protect with #ifdef __USE_GNU.
2004-09-16 Ulrich Drepper <drepper@redhat.com>
* debug/Makefile (routines): Add *_chk.
* debug/Versions (libc): Export __chk_fail, __memcpy_chk,
__memmove_chk, __mempcpy_chk, __memset_chk, __stpcpy_chk,
__strcat_chk, __strcpy_chk, __strncat_chk, __strncpy_chk,
__sprintf_chk, __vsprintf_chk, __snprintf_chk, __vsnprintf_chk
@GLIBC_2.3.4.
* debug/chk_fail.c: New file.
* debug/snprintf_chk.c: Likewise.
* debug/sprintf_chk.c: Likewise.
* debug/vsnprintf_chk.c: Likewise.
* debug/vsprintf_chk.c: Likewise.
* include/features.h (_FORTIFY_SOURCE): Document, handle.
(__USE_FORTIFY_LEVEL): Define.
(__GNUC_PREREQ): Move to earlier location.
* include/sys/cdefs.h (__chk_fail): New prototype.
* libio/bits/stdio.h (sprintf, vsprintf, snprintf, vsnprintf):
Define if __USE_FORTIFY_LEVEL.
* misc/sys/cdefs.h (__bos, __bos0): Define.
* string/string.h: Include <bits/string3.h> if __USE_FORTIFY_LEVEL.
* bits/string/string3.h: New header.
* sysdeps/generic/memcpy_chk.c: New file.
* sysdeps/generic/memmove_chk.c: Likewise.
* sysdeps/generic/mempcpy_chk.c: Likewise.
* sysdeps/generic/memset_chk.c: Likewise.
* sysdeps/generic/stpcpy_chk.c: Likewise.
* sysdeps/generic/strcat_chk.c: Likewise.
* sysdeps/generic/strcpy_chk.c: Likewise.
* sysdeps/generic/strncat_chk.c: Likewise.
* sysdeps/generic/strncpy_chk.c: Likewise.
2004-10-15 Jakub Jelinek <jakub@redhat.com>
* elf/dl-minimal.c (__chk_fail): New. Add rtld_hidden_def.
* sysdeps/unix/sysv/linux/readonly-area.c: New file.
* sysdeps/i386/i686/memmove.S (__memmove_chk): Add checking
routine.
* sysdeps/i386/i686/memcpy.S (__memcpy_chk): Likewise.
* sysdeps/i386/i686/mempcpy.S (__mempcpy_chk): Likewise.
* sysdeps/i386/i686/memset.S (__memset_chk): Likewise.
* sysdeps/i386/i686/memmove-chk.S: New file.
* sysdeps/i386/i686/memcpy-chk.S: Likewise.
* sysdeps/i386/i686/mempcpy-chk.S: Likewise.
* sysdeps/i386/i686/memset-chk.S: Likewise.
* sysdeps/generic/strcat-chk.c (__strcat_chk): Don't __chk_fail
if exactly fitting into buffer.
* sysdeps/generic/strncat-chk.c (__strncat_chk): Likewise.
* sysdeps/generic/readonly-area.c: New file.
* sysdeps/generic/strncpy-chk.c (__strncpy_chk): Only test
destlen once.
* sysdeps/x86_64/memset.S (__memset_chk): Add checking routine.
* sysdeps/x86_64/memcpy.S (__memcpy_chk): Likewise.
* sysdeps/x86_64/mempcpy.S (__memcpy_chk): Define to __mempcpy_chk.
* sysdeps/x86_64/memcpy-chk.S: New file.
* sysdeps/x86_64/mempcpy-chk.S: Likewise.
* sysdeps/x86_64/memset-chk.S: Likewise.
* sysdeps/x86_64/strcpy-chk.S: Likewise.
* sysdeps/x86_64/stpcpy-chk.S: Likewise.
* argp/argp-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing.
* argp/argp-fs-xinl.c (__OPTIMIZE__): Likewise.
* debug/tst-chk1.c: New test.
* debug/tst-chk2.c: Likewise.
* debug/tst-chk3.c: Likewise.
* debug/test-strcpy_chk.c: Likewise.
* debug/test-stpcpy_chk.c: Likewise.
* debug/vsprintf_chk.c (__vsprintf_chk): If flags > 0, request
_IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def.
* debug/Makefile (routines): Add printf_chk, fprintf_chk, vprintf_chk,
vfprintf_chk, gets_chk and readonly-area.
(CFLAGS-*_chk.c): Set.
(tests): Add tst-chk1, tst-chk2, tst-chk3, test-strcpy_chk and
test-stpcpy_chk.
* debug/vprintf_chk.c: New file.
* debug/printf_chk.c: Likewise.
* debug/vfprintf_chk.c: Likewise.
* debug/fprintf_chk.c: Likewise.
* debug/gets_chk.c: Likewise.
* debug/chk_fail.c (__chk_fail): Add libc_hidden_def.
* debug/snprintf_chk.c (__snprintf_chk): Fix order of arguments
passed to __vsnprintf_chk.
* debug/Versions (libc): Export __printf_chk, __fprintf_chk,
__vprintf_chk, __vfprintf_chk and __gets_chk @GLIBC_2.3.4.
* debug/vsnprintf_chk.c (__vsnprintf_chk): Don't call
__vsnprintf, instead create a temporary file with
_IO_strn_jumps jumptable. If flags > 0, request
_IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def.
* libio/Makefile (headers): Add bits/stdio2.h.
* libio/stdio.h: Include <bits/stdio2.h> if __USE_FORTIFY_LEVEL.
(sprintf, snprintf, vsprintf, vsnprintf): Remove defines.
* libio/strfile.h (_IO_strnfile): New type.
(_IO_strn_jumps): New extern.
* libio/vsnprintf.c (_IO_strnfile): Remove.
(_IO_strn_jumps): Remove static.
* libio/bits/stdio2.h: New file.
* libio/vswprintf.c (_IO_strnfile): Rename type to...
(_IO_wstrnfile): ...this. Adjust all uses.
* libio/libio.h (_IO_FLAGS2_CHECK_PERCENT_N): Define.
* stdio-common/vfprintf.c (STR_LEN): Define.
(vfprintf): Add readonly_format variable.
Handle _IO_FLAGS2_CHECK_PERCENT_N.
(buffered_vfprintf): Copy _flags2.
* include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk,
__vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk,
__vfprintf_chk): New prototypes.
(__vsprintf_chk, __vsnprintf_chk): Add libc_hidden_proto.
* include/string.h (__memcpy_chk, __memmove_chk, __mempcpy_chk,
__memset_chk, __strcpy_chk, __stpcpy_chk, __strncpy_chk, __strcat_chk,
__strncat_chk): New prototypes.
* include/bits/string3.h: New file.
* include/sys/cdefs.h (__chk_fail): Add libc_hidden_proto
and rtld_hidden_proto.
* string/Makefile (headers): Add bits/string3.h.
* string/bits/string3.h (bcopy, bzero): New defines.
(memset, memcpy, memmove, strcpy, strncpy, strcat, strncat): Change
macros so that inlines are used only if unknown destination size
or side-effects in destination argument.
(mempcpy, stpcpy): Likewise. Protect with #ifdef __USE_GNU.
2004-09-16 Ulrich Drepper <drepper@redhat.com>
* debug/Makefile (routines): Add *_chk.
* debug/Versions (libc): Export __chk_fail, __memcpy_chk,
__memmove_chk, __mempcpy_chk, __memset_chk, __stpcpy_chk,
__strcat_chk, __strcpy_chk, __strncat_chk, __strncpy_chk,
__sprintf_chk, __vsprintf_chk, __snprintf_chk, __vsnprintf_chk
@GLIBC_2.3.4.
* debug/chk_fail.c: New file.
* debug/snprintf_chk.c: Likewise.
* debug/sprintf_chk.c: Likewise.
* debug/vsnprintf_chk.c: Likewise.
* debug/vsprintf_chk.c: Likewise.
* include/features.h (_FORTIFY_SOURCE): Document, handle.
(__USE_FORTIFY_LEVEL): Define.
(__GNUC_PREREQ): Move to earlier location.
* include/sys/cdefs.h (__chk_fail): New prototype.
* libio/bits/stdio.h (sprintf, vsprintf, snprintf, vsnprintf):
Define if __USE_FORTIFY_LEVEL.
* misc/sys/cdefs.h (__bos, __bos0): Define.
* string/string.h: Include <bits/string3.h> if __USE_FORTIFY_LEVEL.
* bits/string/string3.h: New header.
* sysdeps/generic/memcpy_chk.c: New file.
* sysdeps/generic/memmove_chk.c: Likewise.
* sysdeps/generic/mempcpy_chk.c: Likewise.
* sysdeps/generic/memset_chk.c: Likewise.
* sysdeps/generic/stpcpy_chk.c: Likewise.
* sysdeps/generic/strcat_chk.c: Likewise.
* sysdeps/generic/strcpy_chk.c: Likewise.
* sysdeps/generic/strncat_chk.c: Likewise.
* sysdeps/generic/strncpy_chk.c: Likewise.
Roland McGrath [Mon, 18 Oct 2004 00:53:16 +0000 (00:53 +0000)]
* manual/memory.texi (Page Lock Functions): Typo fix.
Reported by Carlos Maziero <maziero@ppgia.pucpr.br>
Roland McGrath [Sun, 17 Oct 2004 20:00:34 +0000 (20:00 +0000)]
* sysdeps/mach/hurd/Makefile (link-libc-static): Use
`$(static-gnulib') instead of `$(gnulib)'.
Roland McGrath [Sun, 17 Oct 2004 20:00:25 +0000 (20:00 +0000)]
2004-10-16 Alfred M. Szmidt <ams@kemisten.nu>
* sysdeps/mach/hurd/Makefile (link-libc-static): Use
`$(static-gnulib') instead of `$(gnulib)'.
Ulrich Drepper [Sun, 17 Oct 2004 15:00:17 +0000 (15:00 +0000)]
Update.
2004-10-17 Ulrich Drepper <drepper@redhat.com>
* sunrpc/rpc_clntout.c: Avoid including rcsid into binary.
* sunrpc/rpc_cout.c: Likewise.
* sunrpc/rpc_hout.c: Likewise.
* sunrpc/rpc_main.c: Likewise.
* sunrpc/rpc_parse.c: Likewise.
* sunrpc/rpc_sample.c: Likewise.
* sunrpc/rpc_scan.c: Likewise.
* sunrpc/rpc_svcout.c: Likewise.
* sunrpc/rpc_tblout.c: Likewise.
* sunrpc/rpc_util.c: Likewise.
Ulrich Drepper [Fri, 15 Oct 2004 21:31:29 +0000 (21:31 +0000)]
Update.
2004-10-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep.h (PUSHARGS_6, DOARGS_6,
POPARGS_6, _PUSHARGS_6, _DOARGS_6, _POPARGS_6): Define.
* sysdeps/unix/sysv/linux/i386/syscall.S (syscall): Handle 6 argument
syscalls.
Ulrich Drepper [Fri, 15 Oct 2004 21:20:11 +0000 (21:20 +0000)]
Update.
2004-10-15 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd.h (_PATH_NSCD_PASSWD_DB): Move to /var/db.
(_PATH_NSCD_GROUP_DB): Likewise.
(_PATH_NSCD_HOSTS_DB): Likewise.
(_PATH_NSCD_XYZ_DB_TMP): New #define, point to /var/run.
* nscd/connections.c (nscd_init): Non-persistent database files
are created with the _PATH_NSCD_XYZ_DB_TMP path.
* nscd/nscd.init: Create /var/db/nscd if necessary.
Ulrich Drepper [Fri, 15 Oct 2004 21:12:15 +0000 (21:12 +0000)]
(nscd_init): Non-persistent database files are created with the _PATH_NSCD_XYZ_DB_TMP path.
Richard Henderson [Fri, 15 Oct 2004 09:34:45 +0000 (09:34 +0000)]
* sysdeps/unix/sysv/linux/alpha/register-dump.h: New file. * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h (SIGCONTEXT): Add _code argument, pass sigcontext by pointer. (SIGCONTEXT_EXTRA_ARGS): Likewise. (GET_PC, GET_FRAME, GET_STACK): Expect ctx as pointer.
2004-10-15 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/register-dump.h: New file.
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h (SIGCONTEXT): Add
_code argument, pass sigcontext by pointer.
(SIGCONTEXT_EXTRA_ARGS): Likewise.
(GET_PC, GET_FRAME, GET_STACK): Expect ctx as pointer.
Richard Henderson [Fri, 15 Oct 2004 07:07:57 +0000 (07:07 +0000)]
* sysdeps/alpha/tcb-offsets.sym (thread_offsetof): Redefine to make gcc4 happy.
2004-10-14 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/tcb-offsets.sym (thread_offsetof): Redefine to
make gcc4 happy.
Richard Henderson [Fri, 15 Oct 2004 07:06:56 +0000 (07:06 +0000)]
* sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype style definition. * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If __ASSUME_TIMEVAL64, define __adjtime directly rather than via strong_alias.
2004-10-14 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto
instead of static.
* sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype
style definition.
* sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If
__ASSUME_TIMEVAL64, define __adjtime directly rather than
via strong_alias.
Richard Henderson [Fri, 15 Oct 2004 07:06:11 +0000 (07:06 +0000)]
* sysdeps/alpha/dl-machine.h (elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto instead of static.