lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | 2002-11-19 Ulrich Drepper <drepper@redhat.com> |
| 2 | |
| 3 | * intl/localealias.c (read_alias_file): Use only about 400 bytes |
| 4 | of stack space instead of 16k. |
| 5 | |
| 6 | 2002-11-18 Wolfram Gloger <wg@malloc.de> |
| 7 | |
| 8 | * malloc/arena.c |
| 9 | (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do |
| 10 | nothing if not initialized. Bug report from Marcus Brinkmann |
| 11 | <Marcus.Brinkmann@ruhr-uni-bochum.de>. |
| 12 | |
| 13 | 2002-11-19 Roland McGrath <roland@redhat.com> |
| 14 | |
| 15 | * posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity and |
| 16 | sched_setaffinity. |
| 17 | |
| 18 | * configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries |
| 19 | `-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for |
| 20 | test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed. |
| 21 | * configure: Regenerated. |
| 22 | |
| 23 | 2002-11-19 Ulrich Drepper <drepper@redhat.com> |
| 24 | |
| 25 | * include/dlfcn.h: __libc_dlopen is now a macro calling |
| 26 | __libc_dlopen_mode with the extra parameter RTLD_LAZY. |
| 27 | (__libc_dlopen_mode): New prototype. |
| 28 | * elf/dl-libc.c (__libc_dlopen_mode): Renamed from __libc_dlopen. Add |
| 29 | new parameter. Store new parameter in mode field of structure passed |
| 30 | to do_dlopen. |
| 31 | (struct do_dlopen_args): Add new field mode. |
| 32 | (do_dlopen): Pass mode from parameter structure to _dl_open. |
| 33 | |
| 34 | 2002-11-11 Randolf Chung <tausq@debian.org> |
| 35 | |
| 36 | * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64] |
| 37 | (F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions. |
| 38 | * sysdeps/unix/sysv/linux/hppa/fcntl.c: New file. |
| 39 | |
| 40 | * sysdeps/hppa/fpu/libm-test-ulps: New file (generated). |
| 41 | |
| 42 | * sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable. |
| 43 | Set -mdisable-fpregs for this file. |
| 44 | |
| 45 | 2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca> |
| 46 | |
| 47 | * sysdeps/unix/sysv/linux/configure.in: |
| 48 | Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols |
| 49 | from gcc-3.0 era for backwards compatibility. |
| 50 | * sysdeps/unix/sysv/linux/configure: Regenerate. |
| 51 | |
| 52 | * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: |
| 53 | Define mcontext_t as a sigcontext. |
| 54 | |
| 55 | 2002-11-18 Roland McGrath <roland@redhat.com> |
| 56 | |
| 57 | * dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)). |
| 58 | Free memory in `last_result' if it was used. |
| 59 | |
| 60 | * resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search |
| 61 | all aliases for one that matches the "<dotted-quad>.IN-ADDR.ARPA" form. |
| 62 | Do the parsing inline instead of copying strings and calling |
| 63 | inet_network, and properly skip all alias names not matching the form. |
| 64 | |
| 65 | * manual/pattern.texi (Variable Substitution): Fix # and ## examples. |
| 66 | |
| 67 | 2002-11-17 Ulrich Drepper <drepper@redhat.com> |
| 68 | |
| 69 | * manual/pattern.texi (Wordexp Example): Fix sample code. |
| 70 | |
| 71 | * sysdeps/unix/sysv/linux/i386/clone.S: Initialize word in the |
| 72 | childs stack which will be loaded into the %esi register. |
| 73 | |
| 74 | 2002-11-14 Paul Eggert <eggert@twinsun.com> |
| 75 | |
| 76 | * resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer |
| 77 | overflow when skipping the question part and when unpacking aliases. |
| 78 | |
| 79 | 2002-11-15 Roland McGrath <roland@redhat.com> |
| 80 | |
| 81 | * math/Makefile (libm-calls): Remove s_copysign, s_isinf, s_isnan, |
| 82 | s_finite, s_modf, s_scalbn, s_frexp, m_ldexp, s_signbit. |
| 83 | Instead add $(calls:s_%=m_%) to get m_* versions of them all. |
| 84 | |
| 85 | 2002-11-15 Jakub Jelinek <jakub@redhat.com> |
| 86 | |
| 87 | * sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY. |
| 88 | * sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY. |
| 89 | |
| 90 | 2002-11-15 Roland McGrath <roland@redhat.com> |
| 91 | |
| 92 | * math/Makefile (libm-calls): Change s_ldexp to m_ldexp. |
| 93 | * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc] |
| 94 | from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep). |
| 95 | (+make-include-of-dep): New canned sequence. |
| 96 | |
| 97 | * stdlib/canonicalize.c (__realpath): Check for malloc failure. |
| 98 | From Dmitry V. Levin <ldv@altlinux.org>. |
| 99 | |
| 100 | 2002-11-14 Roland McGrath <roland@redhat.com> |
| 101 | |
| 102 | * sysdeps/generic/errno.c (__libc_errno): Remove alias. |
| 103 | * inet/herrno.c (__libc_h_errno): Likewise. |
| 104 | * resolv/res_libc.c (__libc_res): Likewise. |
| 105 | [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD]. |
| 106 | (__res_state) [! USE___THREAD]: Don't define as weak. |
| 107 | * csu/Versions: Revert last change. |
| 108 | * resolv/Versions: Revert last change. |
| 109 | |
| 110 | * Makerules ($(common-objpfx)%.make): New pattern rule. |
| 111 | * tls.make.c: New file. |
| 112 | * Makefile (distribute): Add it. |
| 113 | |
| 114 | * sysdeps/generic/errno.c [! USE___THREAD] |
| 115 | [HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these |
| 116 | with compat_symbol so they are not link-time visible. |
| 117 | [! USE___THREAD] (__libc_errno): New alias for errno. |
| 118 | * csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE): |
| 119 | Add __libc_errno here. |
| 120 | * inet/herrno.c [USE___THREAD]: Use this conditional |
| 121 | in place of [USE_TLS && HAVE___THREAD]. |
| 122 | [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING] |
| 123 | (h_errno, _h_errno): Declare these with compat_symbol so they are not |
| 124 | link-time visible. |
| 125 | [! USE___THREAD] (__libc_h_errno): New alias for h_errno. |
| 126 | * resolv/res_libc.c [! USE___THREAD] |
| 127 | [HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise. |
| 128 | (_res): Use __attribute__ ((section (".bss"))) so we can have an alias. |
| 129 | (__libc_res): Define as alias for _res. |
| 130 | * resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE): |
| 131 | Add __libc_h_errno and __libc_res here. |
| 132 | |
| 133 | 2002-11-14 Jakub Jelinek <jakub@redhat.com> |
| 134 | |
| 135 | * csu/Versions (errno): Move STT_TLS symbol to GLIBC_PRIVATE for now. |
| 136 | * resolv/Versions (h_errno, _res): Likewise. |
| 137 | |
| 138 | 2002-11-14 Roland McGrath <roland@redhat.com> |
| 139 | |
| 140 | * Makerules (%.dynsym): Remove $(objpfx) from target and dep. |
| 141 | (%.symlist): Likewise. |
| 142 | |
| 143 | 2002-11-13 Roland McGrath <roland@redhat.com> |
| 144 | |
| 145 | * scripts/abilist.awk: New file. |
| 146 | * Makefile (distribute): Add it. |
| 147 | * Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules. |
| 148 | (tests): Depend on .symlist file for each $(install-lib.so-versioned). |
| 149 | [$(subdir) = elf] (tests): Depend on libc.symlist. |
| 150 | (generated, common-generated): Add those files. |
| 151 | |
| 152 | * aclocal.m4 (LIBC_PROG_BINUTILS): Check for objdump, set OBJDUMP. |
| 153 | * configure: Regenerated. |
| 154 | * config.make.in (OBJDUMP): New variable, substituted by configure. |
| 155 | |
| 156 | * malloc/mcheck.c (struct hdr): New members `block' and `magic2'. |
| 157 | (mallochook, reallochook): Set them up. |
| 158 | (checkhdr): Check HDR->magic2 value. |
| 159 | (freehook): Reset HDR->magic2. |
| 160 | (memalignhook): New static function. |
| 161 | (old_memalign_hook): New static variable. |
| 162 | (mcheck, reallochook): Set __memalign_hook to memalignhook. |
| 163 | |
| 164 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the space |
| 165 | for the new TCB. |
| 166 | |
| 167 | 2002-11-13 Andreas Jaeger <aj@suse.de> |
| 168 | |
| 169 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Check for visibility |
| 170 | attribute. |
| 171 | * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. |
| 172 | |
| 173 | 2002-11-11 Paul Eggert <eggert@twinsun.com> |
| 174 | |
| 175 | * manual/crypt.texi (Cryptographic Functions): Mention that |
| 176 | the MD5 one-way algorithm is compatible with BSD's. |
| 177 | |
| 178 | 2002-11-11 Isamu Hasegawa <isamu@yamato.ibm.com> |
| 179 | |
| 180 | * posix/regex_internal.c (re_string_skip_chars): Also return the last |
| 181 | wide character. |
| 182 | (re_string_reconstruct): Calculate the context by itself when the |
| 183 | offset points out of the valid range. |
| 184 | (re_string_context_at): Use wide character when MB_CUR_MAX > 1. |
| 185 | * posix/regex_internal.h (WIDE_NEWLINE_CHAR): New macro. |
| 186 | (IS_WIDE_WORD_CHAR): New macro. |
| 187 | (IS_WIDE_NEWLINE): New macro. |
| 188 | |
| 189 | 2002-11-12 Andreas Jaeger <aj@suse.de> |
| 190 | |
| 191 | * sysdeps/x86_64/strchr.S: Don't use one register for two |
| 192 | purposes, this fixes a bug noticed by test-strchr.c. |
| 193 | |
| 194 | * sysdeps/x86_64/strcat.S: Fix algorithm to align source pointer |
| 195 | correctly. |
| 196 | |
| 197 | 2002-11-12 Roland McGrath <roland@redhat.com> |
| 198 | |
| 199 | * libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] |
| 200 | (_G_IO_NO_BACKWARD_COMPAT): Define it. |
| 201 | |
| 202 | * sysdeps/ia64/dl-fptr.c [_LIBC_REENTRANT]: Include <ia64intrin.h> |
| 203 | instead of <pt-machine.h>. |
| 204 | [_LIBC_REENTRANT] (lock, unlock): Use __sync_lock_* macros instead of |
| 205 | testandset. |
| 206 | From Ian Wienand <ianw@gelato.unsw.edu.au>. |
| 207 | |
| 208 | 2002-11-10 Roland McGrath <roland@redhat.com> |
| 209 | |
| 210 | * libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos. |
| 211 | Call fputs instead of fwprintf (simpler to follow in debugger). |
| 212 | |
| 213 | * crypt/md5-crypt.c: Doc fix. |
| 214 | |
| 215 | * sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at |
| 216 | the beginning of generated target commands. |
| 217 | |
| 218 | * csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit |
| 219 | dependencies for these in case implicit rule search skipped the |
| 220 | nonexistent source directory. |
| 221 | * sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the |
| 222 | files with $(object-suffixes) as targets too. |
| 223 | * Makerules [no_deps && objpfx] (before-compile): Add $(objpfx). |
| 224 | and a target for it using $(make-target-directory). |
| 225 | |
| 226 | * Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h. |
| 227 | |
| 228 | 2002-11-10 Roland McGrath <roland@frob.com> |
| 229 | |
| 230 | * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ... |
| 231 | * sysdeps/generic/bits/pthreadtypes.h: ... here. |
| 232 | |
| 233 | * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Treat a struct flock with |
| 234 | l_start == 0 and l_len == 1 as we do l_len == 0. |
| 235 | |
| 236 | 2002-11-10 Ulrich Drepper <drepper@redhat.com> |
| 237 | |
| 238 | * po/da.po: Update from translation team. |
| 239 | |
| 240 | 2002-11-10 Roland McGrath <roland@redhat.com> |
| 241 | |
| 242 | * config.make.in (includedir): New variable, substituted by configure. |
| 243 | Reported missing by Jocelyn Fournier <joc@presence-pc.com>. |
| 244 | * Makeconfig (includedir): Use $(prefix), not $(exec_prefix). |
| 245 | |
| 246 | 2002-11-10 Andreas Jaeger <aj@suse.de> |
| 247 | |
| 248 | * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add |
| 249 | REG_OLDMASK and REG_CR2 to synch with kernel header. |
| 250 | (NGREG): Increase. |
| 251 | |
| 252 | * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict |
| 253 | aliasing problem. |
| 254 | * nss/getXXbyYY_r.c (INTERNAL): Likewise. |
| 255 | * nss/getnssent_r.c (__nss_getent_r): Likewise. |
| 256 | (__nss_setent): Likewise. |
| 257 | (__nss_getent_r): Likewise. |
| 258 | * inet/getnetgrent_r.c (innetgr): Likewise. |
| 259 | (__internal_setnetgrent_reuse): Likewise. |
| 260 | (internal_getnetgrent_r): Likewise. |
| 261 | * inet/ether_hton.c (ether_hostton): Likewise. |
| 262 | * inet/ether_ntoh.c (ether_ntohost): Likewise. |
| 263 | * sunrpc/netname.c (netname2user): Likewise. |
| 264 | * sunrpc/publickey.c (getpublickey): Likewise. |
| 265 | (getsecretkey): Likewise. |
| 266 | |
| 267 | 2002-11-09 Marcus Brinkmann <marcus@gnu.org> |
| 268 | |
| 269 | * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one |
| 270 | error in range calculation. |
| 271 | |
| 272 | 2002-10-09 Jakub Jelinek <jakub@redhat.com> |
| 273 | |
| 274 | * string/test-strspn.c (do_test): Ensure zero termination. |
| 275 | * string/test-strpbrk.c (do_test): Likewise. |
| 276 | * string/test-strncmp.c (stupid_strncmp): Use strnlen, not strlen. |
| 277 | * string/test-strncpy.c (stupid_strncpy): Likewise. |
| 278 | * string/test-stpncpy.c (stupid_stpncpy): Likewise. |
| 279 | |
| 280 | 2002-10-08 Roland McGrath <roland@redhat.com> |
| 281 | |
| 282 | * string/test-string.h (test_init): Fill BUF1 and BUF2 with |
| 283 | nonzero characters. |
| 284 | |
| 285 | 2002-09-22 H.J. Lu <hjl@gnu.org> |
| 286 | |
| 287 | * sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed |
| 288 | from PAGE_SHIFT. Define if not defined. Check MMAP2_PAGE_SHIFT |
| 289 | only if __NR_mmap2 is defined. |
| 290 | |
| 291 | * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ... |
| 292 | * sysdeps/unix/sysv/linux/mmap64.c: ... here. |
| 293 | * sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed. |
| 294 | * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed, |
| 295 | |
| 296 | 2002-11-08 Jakub Jelinek <jakub@redhat.com> |
| 297 | |
| 298 | * posix/bug-regex13.c (tests): Add new test. |
| 299 | |
| 300 | * string/test-strchr.c (stupid_strchr): New function. |
| 301 | (do_random_tests): Make sure the string is zero terminated. |
| 302 | * string/test-strpbrk.c (stupid_strpbrk): New function. |
| 303 | (do_random_tests): Make sure the string is zero terminated. |
| 304 | * string/test-strcmp.c (stupid_strcmp): New function. |
| 305 | (do_random_tests): Make sure the strings are zero terminated. |
| 306 | * string/test-strspn.c (stupid_strspn): New function. |
| 307 | (simple_strspn): Rename rej argument to acc. |
| 308 | (do_random_tests): Make sure the string is zero terminated. |
| 309 | * string/test-strcspn.c (stupid_strcspn): New function. |
| 310 | * string/test-strncpy.c (stupid_strncpy): New function. |
| 311 | * string/test-stpncpy.c (stupid_stpncpy): New function. |
| 312 | * string/test-strncmp.c (stupid_strncmp): New function. |
| 313 | (do_random_tests): Make sure the strings are zero terminated. |
| 314 | * string/test-string.h (impl_t): Change test into long. |
| 315 | (IMPL): Add __attribute__((aligned (sizeof (void *)))). |
| 316 | |
| 317 | 2002-11-08 Roland McGrath <roland@redhat.com> |
| 318 | |
| 319 | * sysdeps/ia64/elf/configure.in: Add TLS check. |
| 320 | From Ian Wienand <ianw@cse.unsw.edu.au>. |
| 321 | * sysdeps/ia64/elf/configure: Regenerated. |
| 322 | |
| 323 | 2002-11-07 Roland McGrath <roland@redhat.com> |
| 324 | |
| 325 | * libio/fileops.c (_IO_new_file_overflow): Use INTUSE(_IO_do_write) in |
| 326 | place of _IO_new_do_write. |
| 327 | [_LIBC] (_IO_do_write): Define as macro for _IO_new_do_write and |
| 328 | #undef before versioned_symbol use. |
| 329 | |
| 330 | 2002-11-07 Richard Henderson <rth@redhat.com> |
| 331 | |
| 332 | * configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test. |
| 333 | * configure: Regenerated. |
| 334 | * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef. |
| 335 | * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp. |
| 336 | (RTLD_START): Likewise. Access _dl_skip_args, _rtld_local, and |
| 337 | _dl_fini via gp-relative relocations. |
| 338 | * sysdeps/alpha/fpu/e_sqrt.c: Use !samegp. |
| 339 | |
| 340 | * elf/tls-macros.h: Add alpha versions. |
| 341 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs. |
| 342 | * sysdeps/unix/alpha/sysdep.S: Support USE___THREAD. |
| 343 | * sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER. |
| 344 | * sysdeps/unix/sysv/linux/alpha/brk.S: Use it. |
| 345 | * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise. |
| 346 | * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise. |
| 347 | * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise. |
| 348 | * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise. |
| 349 | * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise. |
| 350 | * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. |
| 351 | * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise. |
| 352 | * sysdeps/unix/sysv/linux/alpha/select.S: Likewise. |
| 353 | * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise. |
| 354 | * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise. |
| 355 | * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise. |
| 356 | * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise. |
| 357 | * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise. |
| 358 | * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise. |
| 359 | |
| 360 | * sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect. |
| 361 | Kill argument registers across the inline syscall. |
| 362 | |
| 363 | * sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args. |
| 364 | |
| 365 | * linuxthreads/sysdeps/alpha/tls.h: New file. |
| 366 | * sysdeps/alpha/dl-tls.h: New file. |
| 367 | |
| 368 | 2002-10-29 David Mosberger <davidm@hpl.hp.com> |
| 369 | |
| 370 | * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY] |
| 371 | (gmon_initializer): New function. |
| 372 | (.init prologue): If HAVE_INITFINI_ARRAY is true, don't call |
| 373 | __gmon_start__ here. Call it from gmon_initializer() instead. |
| 374 | |
| 375 | 2002-03-12 H.J. Lu <hjl@gnu.org> |
| 376 | |
| 377 | * elf/Makefile [$(have-initfini-array) = yes] (tests): Add tst-array1, |
| 378 | tst-array2, and tst-array3. |
| 379 | [$(have-initfini-array) = yes] (tests-static): Add tst-array3. |
| 380 | [$(have-initfini-array) = yes] (modules-names): Add tst-array2dep. |
| 381 | ($(objpfx)tst-array1.out): New target. |
| 382 | ($(objpfx)tst-array2): Likewise. |
| 383 | ($(objpfx)tst-array2.out): Likewise. |
| 384 | ($(objpfx)tst-array3.out): Likewise. |
| 385 | * elf/tst-array1.c: New file. |
| 386 | * elf/tst-array1.exp: Likewise. |
| 387 | * elf/tst-array2.c: Likewise. |
| 388 | * elf/tst-array2dep.c: Likewise. |
| 389 | * elf/tst-array2.exp: Likewise. |
| 390 | * elf/tst-array3.c: Likewise. |
| 391 | |
| 392 | 2002-10-28 David Mosberger <davidm@hpl.hp.com> |
| 393 | |
| 394 | * elf/dl-fini.c (_dl_fini): Invoke fini_array in _reverse_ order. |
| 395 | Don't add L->l_addr to array entry values. |
| 396 | |
| 397 | 2002-11-07 Jakub Jelinek <jakub@redhat.com> |
| 398 | |
| 399 | * string/test-string.h: New file. |
| 400 | * string/test-strlen.c: New file. |
| 401 | * string/test-string.h: New file. |
| 402 | * string/test-strcmp.c: New file. |
| 403 | * string/test-strchr.c: New file. |
| 404 | * string/test-strrchr.c: New file. |
| 405 | * string/test-strcpy.c: New file. |
| 406 | * string/test-stpcpy.c: New file. |
| 407 | * string/test-strncpy.c: New file. |
| 408 | * string/test-stpncpy.c: New file. |
| 409 | * string/test-strpbrk.c: New file. |
| 410 | * string/test-strcspn.c: New file. |
| 411 | * string/test-strspn.c: New file. |
| 412 | * string/test-strcat.c: New file. |
| 413 | * string/test-strncmp.c: New file. |
| 414 | * string/test-memchr.c: New file. |
| 415 | * string/test-memcmp.c: New file. |
| 416 | * string/test-memset.c: New file. |
| 417 | * string/test-memcpy.c: New file. |
| 418 | * string/test-mempcpy.c: New file. |
| 419 | * string/test-memmove.c: New file. |
| 420 | * string/Makefile (strop-tests): New variable. |
| 421 | (tests): Add strop-tests. |
| 422 | (distribute): Add test-string.h. |
| 423 | |
| 424 | 2002-11-06 Ulrich Drepper <drepper@redhat.com> |
| 425 | |
| 426 | * posix/regcomp.c: Use tabs instead of spaces. |
| 427 | * posix/regexec.c: Likewise. |
| 428 | * posix/regex_internal.h: Likewise. |
| 429 | |
| 430 | * posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb. |
| 431 | |
| 432 | 2002-11-06 Jakub Jelinek <jakub@redhat.com> |
| 433 | |
| 434 | * posix/regcomp.c (re_compile_pattern): Don't set regs_allocated |
| 435 | here. |
| 436 | (regcomp): Don't set can_be_null here. |
| 437 | (re_comp): Clear whole re_comp_buf with the exception of fastmap. |
| 438 | (re_compile_internal): Clear can_be_null, set regs_allocated. |
| 439 | |
| 440 | * posix/regcomp.c (re_set_fastmap): New function. |
| 441 | (re_compile_fastmap_iter): Use it. Remove redundant type == |
| 442 | COMPLEX_BRACKET check. |
| 443 | * posix/regexec.c (re_search_internal): Optimize searching with |
| 444 | fastmap. Call re_string_reconstruct even if match_first is |
| 445 | smaller than raw_mbs_idx. |
| 446 | |
| 447 | 2002-11-06 Isamu Hasegawa <isamu@yamato.ibm.com> |
| 448 | |
| 449 | * posix/regcomp (free_dfa_content): Use free_state. |
| 450 | * posix/regex_internal.c (re_string_realloc_buffers): Don't edit |
| 451 | pointers in case that realloc failed. |
| 452 | (re_node_set_merge): Likewise. |
| 453 | (register_state): Likewise. |
| 454 | (create_newstate_common): Invoke memory release functions in case of |
| 455 | error conditions. |
| 456 | (create_ci_newstate): Likewise. |
| 457 | (create_cd_newstate): Likewise. |
| 458 | (free_state): New function. |
| 459 | * posix/regexec.c (re_search_internal): Invoke memory release |
| 460 | functions in case of error conditions. |
| 461 | (sift_states_backward): Likewise. |
| 462 | (merge_state_array): Likewise. |
| 463 | (add_epsilon_src_nodes): Likewise. |
| 464 | (sub_epsilon_src_nodes): Likewise. |
| 465 | (search_subexp): Likewise. |
| 466 | (sift_states_bkref): Likewise. |
| 467 | (transit_state_sb): Likewise. |
| 468 | (transit_state_mb): Likewise. |
| 469 | (transit_state_bkref_loop): Likewise. |
| 470 | (group_nodes_into_DFAstates): Likewise. |
| 471 | (push_fail_stack): Don't edit pointers in case that realloc failed. |
| 472 | (extend_buffers): Likewise. |
| 473 | (match_ctx_add_entry): Likewise. |
| 474 | |
| 475 | 2002-11-06 Roland McGrath <roland@redhat.com> |
| 476 | |
| 477 | * sysdeps/unix/sysv/linux/mips/configure.in: File removed. |
| 478 | * sysdeps/unix/sysv/linux/mips/configure: Likewise. |
| 479 | |
| 480 | * configure.in: Add checks on as and ld for binutils 2.13 or later. |
| 481 | * configure: Regenerated. |
| 482 | |
| 483 | 2002-11-06 Ulrich Drepper <drepper@redhat.com> |
| 484 | |
| 485 | * posix/regcomp.c (regcomp): __re_compile_fastmap can never fail. |
| 486 | If re_compile_internal failed free fastmap buffer. |
| 487 | (free_dfa_content): Broken out of regfree function. Frees all dfa |
| 488 | related data. |
| 489 | (regfree): Add free_dfa_content. |
| 490 | (re_compile_internal): If any of the called functions fails free |
| 491 | all dfa related memory. |
| 492 | |
| 493 | 2002-11-05 Ulrich Drepper <drepper@redhat.com> |
| 494 | |
| 495 | * sysdeps/unix/sysv/linux/sys/sysctl.h: Add ugly hacks to prevent |
| 496 | warnings from the kernel headers. |
| 497 | |
| 498 | 2002-11-05 Roland McGrath <roland@redhat.com> |
| 499 | |
| 500 | * sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump. |
| 501 | From Johannes Stezenbach <js@convergence.de>. |
| 502 | |
| 503 | * sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change |
| 504 | #errlist-compat magic comment to give 123 as size. |
| 505 | (libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ... |
| 506 | (libc: GLIBC_2.2): ... here. |
| 507 | (libc: GLIBC_2.3): Likewise. |
| 508 | |
| 509 | 2002-11-05 Ulrich Drepper <drepper@redhat.com> |
| 510 | |
| 511 | * elf/dl-fini.c (_dl_fini): Correct the increment of l_opencount |
| 512 | which happens at the beginning so that we can unload modules in |
| 513 | __libc_freeres. |
| 514 | |
| 515 | 2002-11-06 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
| 516 | |
| 517 | * sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only |
| 518 | under [__USE_MISC || _ASM]. |
| 519 | |
| 520 | * elf/elf.h: Remove the obsolete SH TLS relocations. |
| 521 | |
| 522 | 2002-11-05 Ulrich Drepper <drepper@redhat.com> |
| 523 | |
| 524 | * posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero. |
| 525 | |
| 526 | 2002-11-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
| 527 | |
| 528 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Handle |
| 529 | __NR_pread64 and __NR_pwrite64. |
| 530 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. |
| 531 | * sysdeps/unix/sysv/linux/powerpc/pread.c: Remove __NR_pread64 |
| 532 | and __NR_pwrite64. |
| 533 | Revert change to use INLINE_SYSCALL. |
| 534 | * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. |
| 535 | * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. |
| 536 | * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. |
| 537 | * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Revert change to use |
| 538 | INLINE_SYSCALL. |
| 539 | * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise. |
| 540 | |
| 541 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): |
| 542 | Update clobber list and add a comment about the syscall ABI. |
| 543 | |
| 544 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_pread64, |
| 545 | s_pwrite64, s_ftruncate, s_truncate): Re-add. |
| 546 | |
| 547 | 2002-11-05 Jakub Jelinek <jakub@redhat.com> |
| 548 | |
| 549 | * iconv/gconv_dl.c (free_mem): Clear loaded. |
| 550 | * locale/loadarchive.c (_nl_archive_subfreeres): Call locale_data's |
| 551 | cleanup if any. |
| 552 | |
| 553 | 2002-11-05 Ulrich Drepper <drepper@redhat.com> |
| 554 | |
| 555 | * sysdeps/unix/sysv/linux/fexecve.c: Include <stdio.h>. |
| 556 | |
| 557 | * libio/ioseekoff.c: Remove INTDEF. Define _IO_seekoff_unlocked. Same |
| 558 | as old code without locking. _IO_seekoff calls this function after |
| 559 | locking the stream. |
| 560 | * libio/ioseekpos.c: Likewise for _IO_seekpos. |
| 561 | * libio/libioP.h: Replace _IO_seekoff_internal and _IO_seekpos_internal |
| 562 | prototypes with _IO_seekoff_unlocked and _IO_seekpos_unlocked |
| 563 | prototypes. |
| 564 | * libio/iolibio.h (_IO_fseek): Call _IO_seekoff_unlocked instead |
| 565 | of _IO_seekoff_internal. |
| 566 | (_IO_rewind): Likewise. |
| 567 | * libio/ioftell.c: Likewise. |
| 568 | * libio/ftello.c: Likewise. |
| 569 | * libio/ftello64.c: Likewise. |
| 570 | * libio/iofgetpos.c: Likewise. |
| 571 | * libio/iofgetpos64.c: Likewise. |
| 572 | * libio/oldiofgetpos.c: Likewise. |
| 573 | * libio/oldiofgetpos64.c: Likewise. |
| 574 | * libio/iofsetpos.c: Call _IO_seekpos_unlocked instead of |
| 575 | _IO_seekpos_internal. |
| 576 | * libio/iofsetpos64.c: Likewise. |
| 577 | * libio/oldiofsetpos.c: Likewise. |
| 578 | * libio/oldiofsetpos64.c: Likewise. |
| 579 | |
| 580 | 2002-11-04 Roland McGrath <roland@redhat.com> |
| 581 | |
| 582 | * sysdeps/unix/sysv/linux/powerpc/chown.c: Use INLINE_SYSCALL macro. |
| 583 | * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise. |
| 584 | * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise. |
| 585 | * sysdeps/unix/sysv/linux/powerpc/pread.c: Likewise. |
| 586 | * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. |
| 587 | * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise. |
| 588 | * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. |
| 589 | * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Likewise. |
| 590 | * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise. |
| 591 | * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise. |
| 592 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ioctl, |
| 593 | s_chown, s_ftruncate64, s_mmap2, s_pread64, s_pwrite64, s_truncate64, |
| 594 | sys_fstat, sys_lstat, sys_mknod, sys_readv, sys_stat, sys_writev): |
| 595 | Remove these, no longer used. |
| 596 | |
| 597 | 2002-11-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
| 598 | |
| 599 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ipc, |
| 600 | s_llseek, s_readahead, s_execve, s_fcntl, s_fcntl64, s_fstat64, |
| 601 | s_getcwd, s_getdents, s_getdents64, s_getpmsg, s_getpriority, |
| 602 | s_getrlimit, s_lstat64, s_poll, s_ptrace, s_putpmsg, s_reboot, |
| 603 | s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend, |
| 604 | s_stat64, s_sysctl, s_ugetrlimit, s_ustat, s_vfork): Remove now unused |
| 605 | syscall stubs. |
| 606 | |
| 607 | * sysdeps/unix/sysv/linux/pwrite.c: Fix typo. |
| 608 | * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. |
| 609 | * sysdeps/unix/sysv/linux/powerpc/pread.c: Handle both __NR_pread64 |
| 610 | and __NR_pread. |
| 611 | * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise. |
| 612 | * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Handle both __NR_pwrite64 |
| 613 | and __NR_pwrite. |
| 614 | * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise. |
| 615 | |
| 616 | 2002-11-03 Roland McGrath <roland@redhat.com> |
| 617 | |
| 618 | * sysdeps/generic/ldsodefs.h (struct rtld_global): New member |
| 619 | `_dl_tls_static_used'. |
| 620 | * sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable. |
| 621 | (__libc_setup_tls): Initialize it. Let the initial value of |
| 622 | _dl_tls_static_size indicate some surplus space in the computed value. |
| 623 | * elf/dl-open.c (_dl_tls_static_size): New variable. |
| 624 | * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Initialize |
| 625 | _dl_tls_static_used. Add some surplus space into _dl_tls_static_size. |
| 626 | * elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function. |
| 627 | (CHECK_STATIC_TLS): Use it. |
| 628 | * elf/dl-close.c (_dl_close): Adjust _dl_tls_static_used when the |
| 629 | closed objects occupied a trailing contiguous chunk of static TLS area. |
| 630 | |
| 631 | 2002-10-18 Bruno Haible <bruno@clisp.org> |
| 632 | |
| 633 | * charmaps/ISO_5428: Use Greek characters introduced in Unicode 3.0. |
| 634 | |
| 635 | 2002-11-04 Ulrich Drepper <drepper@redhat.com> |
| 636 | |
| 637 | * libio/wfileops.c (_IO_wfile_seekoff): Don't modify _offset and |
| 638 | _wide_data->_IO_read_end if adjustment can be made in the current |
| 639 | buffer. |
| 640 | |
| 641 | * sysdeps/unix/sysv/linux/fexecve.c: New file. |
| 642 | |
| 643 | * libio/bug-wfflush.c (do_test): Using fseek is not allowed when |
| 644 | wide oriented streams are used. |
| 645 | |
| 646 | * nss/getXXent_r.c (ENDFUNC_NAME): Don't do anything if the |
| 647 | service hasn't been used [PR libc/4744]. |
| 648 | |
| 649 | * include/features.h: Use __STDC_VERSION__ not __STDC_VERSION. |
| 650 | Reported by Miloslav Trmac <mitr@volny.cz> [PR libc/4766]. |
| 651 | |
| 652 | * manual/examples/dir.c: Don't include <stddef.h>. |
| 653 | * manual/examples/select.c: Include <errno.h> for TEMP_FAILURE_RETRY. |
| 654 | Reported by Frédéric Delanoy <delanoy_f@yahoo.com>. |
| 655 | |
| 656 | 2002-11-02 H.J. Lu <hjl@gnu.org> |
| 657 | |
| 658 | * stdio-common/reg-printf.c: Include <stddef.h>. |
| 659 | |
| 660 | 2002-11-03 Ulrich Drepper <drepper@redhat.com> |
| 661 | |
| 662 | * sysdeps/generic/libc-tls.c: Define _dl_tls_static_used. |
| 663 | |
| 664 | * po/ca.po: Update from translation team. |
| 665 | * po/es.po: Likewise. |
| 666 | |
| 667 | * sysdeps/generic/segfault.c (catch_segfault): If HAVE_PROC_SELF |
| 668 | is defined write out memory map. |
| 669 | * sysdeps/unix/sysv/linux/segfault.c: New file. |
| 670 | |
| 671 | 2002-11-02 Roland McGrath <roland@redhat.com> |
| 672 | |
| 673 | * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use union type for |
| 674 | pointers that can alias. |
| 675 | Reported by Daniel Jacobowitz <drow@mvista.com>. |
| 676 | |
| 677 | * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: New file. |
| 678 | |
| 679 | 2002-11-02 Roland McGrath <roland@redhat.com> |
| 680 | |
| 681 | * manual/filesys.texi (Reading/Closing Directory): Rewrite readdir_r |
| 682 | description to be clearer and to say that *RESULT is set to ENTRY. |
| 683 | |
| 684 | 2002-10-30 Jakub Jelinek <jakub@redhat.com> |
| 685 | |
| 686 | * posix/regexec.c (build_trtable): Alloca or malloc dests_node and |
| 687 | dests_ch arrays together. Alloca or malloc dest_states, |
| 688 | dest_states_word and dest_states_nl arrays together. Free memory on |
| 689 | error exit. |
| 690 | |
| 691 | 2002-10-29 Daniel Jacobowitz <drow@mvista.com> |
| 692 | |
| 693 | * crypt/crypt_util.c (__init_des_r): Initialize current_salt |
| 694 | and current_saltbits. |
| 695 | |
| 696 | 2002-11-02 Roland McGrath <roland@redhat.com> |
| 697 | |
| 698 | * stdio-common/reg-printf.c: Include <stdlib.h>. |
| 699 | |
| 700 | 2002-11-02 H.J. Lu <hjl@gnu.org> |
| 701 | |
| 702 | * sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set |
| 703 | caller to EXTRA instead of execve. |
| 704 | |
| 705 | 2002-11-01 Roland McGrath <roland@redhat.com> |
| 706 | |
| 707 | * sysdeps/generic/errno-loc.c [! USE___THREAD]: Use this conditional |
| 708 | in place of [!(USE_TLS && HAVE___THREAD)]. |
| 709 | (__errno_location) [! USE___THREAD]: Define as strong, not weak. |
| 710 | |
| 711 | 2002-10-31 Roger Sayle <roger@eyesopen.com> |
| 712 | |
| 713 | * sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q): |
| 714 | New macros. |
| 715 | * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. |
| 716 | |
| 717 | * soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST |
| 718 | without defining FP_ROUNDMODE. |
| 719 | |
| 720 | 2002-10-29 Jakub Jelinek <jakub@redhat.com> |
| 721 | |
| 722 | * sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove. |
| 723 | (__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and |
| 724 | declare_symbol. |
| 725 | * sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove. |
| 726 | (OLD_SIGLIST_SIZE): Define. |
| 727 | * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove. |
| 728 | (OLD_SIGLIST_SIZE): Define. |
| 729 | * sysdeps/unix/sysv/linux/arm/siglist.c: Remove. |
| 730 | |
| 731 | 2002-11-01 Jakub Jelinek <jakub@redhat.com> |
| 732 | |
| 733 | * sysdeps/ia64/strncpy.S: Fix recovery code. |
| 734 | |
| 735 | 2002-10-30 Jakub Jelinek <jakub@redhat.com> |
| 736 | |
| 737 | * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): |
| 738 | New macros. |
| 739 | * elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove |
| 740 | text_set_element. |
| 741 | * elf/dl-libc.c (free_mem): Likewise. |
| 742 | * iconv/gconv_conf.c (free_mem): Likewise. |
| 743 | * iconv/gconv_db.c (free_mem): Likewise. |
| 744 | * iconv/gconv_dl.c (free_mem): Likewise. |
| 745 | * iconv/gconv_cache.c (free_mem): Likewise. |
| 746 | * intl/finddomain.c (free_mem): Likewise. |
| 747 | * intl/dcigettext.c (free_mem): Likewise. |
| 748 | * locale/setlocale.c (free_mem): Likewise. |
| 749 | * misc/fstab.c (fstab_free): Likewise. |
| 750 | * nss/nsswitch.c (free_mem): Likewise. |
| 751 | * posix/regcomp.c (free_mem): Likewise. |
| 752 | * resolv/gai_misc.c (free_res): Likewise. |
| 753 | * stdlib/fmtmsg.c (free_mem): Likewise. |
| 754 | * sunrpc/clnt_perr.c (free_mem): Likewise. |
| 755 | * sysdeps/generic/setenv.c (free_mem): Likewise. |
| 756 | * sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise. |
| 757 | * sysdeps/pthread/aio_misc.c (free_res): Likewise. |
| 758 | * time/tzset.c (free_mem): Likewise. |
| 759 | * malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section. |
| 760 | * locale/loadarchive.c (_nl_archive_subfreeres): Likewise. |
| 761 | * malloc/set-freeres.c (__libc_freeres): Likewise. |
| 762 | |
| 763 | * login/getutent.c: Include stdlib.h instead of stddef.h. |
| 764 | (buffer): Change into pointer to utmp, add libc_freeres_ptr. |
| 765 | (__getutent): Allocate buffer the first time it is run. |
| 766 | * login/getutid.c: Include stdlib.h instead of stddef.h. |
| 767 | (buffer): Change into pointer to utmp, add libc_freeres_ptr. |
| 768 | (__getutid): Allocate buffer the first time it is run. |
| 769 | * login/getutline.c: Include stdlib.h instead of stddef.h. |
| 770 | (buffer): Change into pointer to utmp, add libc_freeres_ptr. |
| 771 | (__getutline): Allocate buffer the first time it is run. |
| 772 | * malloc/mtrace.c (malloc_trace_buffer): Change into char *. |
| 773 | (mtrace): Allocate malloc_trace_buffer. |
| 774 | * resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf. |
| 775 | * resolv/ns_print.c (ns_sprintrrf): Decrease size of t. |
| 776 | * string/strerror.c: Include libintl.h and errno.h. |
| 777 | (buf): New variable. |
| 778 | (strerror): Only allocate buffer if actually needed (unknown error). |
| 779 | * time/tzfile.c (transitions): Add libc_freeres_ptr. |
| 780 | (freeres): Remove. |
| 781 | |
| 782 | 2002-10-25 Jakub Jelinek <jakub@redhat.com> |
| 783 | |
| 784 | * include/libc-symbols.h (libc_freeres_ptr): New macro. |
| 785 | * malloc/set-freeres.c (__libc_freeres_ptrs): Define using |
| 786 | symbol_set_define. |
| 787 | (__libc_freeres): Free all pointers in that section. |
| 788 | * Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed |
| 789 | commands when creating .lds script. |
| 790 | (LDSEDCMD-c.so): New variable. |
| 791 | * inet/rcmd.c (ahostbuf): Change into char *. Add libc_freeres_ptr. |
| 792 | (rcmd_af): Use strdup to allocate ahostbuf. |
| 793 | * inet/rexec.c (ahostbuf): Change into char *. Add libc_freeres_ptr. |
| 794 | (rexec_af): Use strdup to allocate ahostbuf. |
| 795 | * stdio-common/reg-printf.c (printf_funcs): Remove. |
| 796 | (__printf_arginfo_table): Change into printf_arginfo_function **. |
| 797 | Add libc_freeres_ptr. |
| 798 | (__register_printf_function): Allocate __printf_arginfo_table |
| 799 | and __printf_function_table the first time it is called. |
| 800 | * stdio-common/printf-parse.h (__printf_arginfo_table): Change into |
| 801 | printf_arginfo_function **. |
| 802 | (parse_one_spec): Add __builtin_expect. |
| 803 | * grp/fgetgrent.c (buffer): Add libc_freeres_ptr. |
| 804 | (free_mem): Remove. |
| 805 | * inet/getnetgrent.c (buffer): Add libc_freeres_ptr. |
| 806 | (free_mem): Remove. |
| 807 | * intl/localealias.c (libc_freeres_ptr): Define if !_LIBC. |
| 808 | (string_space, map): Add libc_freeres_ptr. |
| 809 | (free_mem): Remove. |
| 810 | * misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr. |
| 811 | (free_mem): Remove. |
| 812 | * misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr. |
| 813 | (free_mem): Remove. |
| 814 | * crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC. |
| 815 | (buffer): Add libc_freeres_ptr. |
| 816 | (free_mem): Remove for _LIBC. |
| 817 | * nss/getXXbyYY.c (buffer): Add libc_freeres_ptr. |
| 818 | (free_mem): Remove. |
| 819 | * nss/getXXent.c (buffer): Add libc_freeres_ptr. |
| 820 | (free_mem): Remove. |
| 821 | * pwd/fgetpwent.c (buffer): Add libc_freeres_ptr. |
| 822 | (free_mem): Remove. |
| 823 | * resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr. |
| 824 | (free_mem): Remove. |
| 825 | * shadow/fgetspent.c (buffer): Add libc_freeres_ptr. |
| 826 | (free_mem): Remove. |
| 827 | * sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr. |
| 828 | (free_mem): Remove. |
| 829 | * sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add |
| 830 | libc_freeres_ptr. |
| 831 | (free_mem): Remove. |
| 832 | * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add |
| 833 | libc_freeres_ptr. |
| 834 | (free_mem): Remove. |
| 835 | |
| 836 | 2002-10-30 Jakub Jelinek <jakub@redhat.com> |
| 837 | |
| 838 | * malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias |
| 839 | instead of duplicating the whole function in libc. |
| 840 | |
| 841 | 2002-10-31 Roland McGrath <roland@redhat.com> |
| 842 | |
| 843 | * sysdeps/i386/bits/byteswap.h [__GNUC__ < 2] (__bswap_32): |
| 844 | Renamed from __bswap_16 (typo fix). Reported by <dens@stl.sarov.ru>. |
| 845 | |
| 846 | 2002-10-30 Jakub Jelinek <jakub@redhat.com> |
| 847 | |
| 848 | * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each |
| 849 | 32bit-predefine when creating .new32 list and -U for each |
| 850 | 32bit-predefine when creating .new64 list. |
| 851 | * sysdeps/unix/sysv/linux/x86_64/Makefile (32bit-predefine): New. |
| 852 | |
| 853 | 2002-10-29 Andreas Schwab <schwab@suse.de> |
| 854 | |
| 855 | * sysdeps/generic/allocrtsig.c: Include <testrtsig.h>, not |
| 856 | "testrtsig.h". Reported by Daniel Jacobowitz <dan@debian.org>. |
| 857 | |
| 858 | 2002-10-25 Roland McGrath <roland@redhat.com> |
| 859 | |
| 860 | * sysdeps/unix/sysv/linux/configure.in: Fix typo in last change. |
| 861 | * sysdeps/unix/sysv/linux/configure: Regenerated. |
| 862 | |
| 863 | * sysdeps/generic/ldsodefs.h: Remove [! SHARED] conditional from |
| 864 | _dl_starting_up decl. |
| 865 | |
| 866 | 2002-10-20 H.J. Lu <hjl@gnu.org> |
| 867 | |
| 868 | * sysdeps/unix/sysv/linux/configure.in: Don't check |
| 869 | /lib/modules/`uname -r`/build/include for kernel headers if |
| 870 | cross compiling. |
| 871 | * sysdeps/unix/sysv/linux/configure: Regenerated. |
| 872 | |
| 873 | 2002-10-25 Roland McGrath <roland@redhat.com> |
| 874 | |
| 875 | * math/math.h (M_LOG2El): Correct the value. |
| 876 | From Stephen L Moshier <steve@moshier.net>. |
| 877 | |
| 878 | * sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED] |
| 879 | conditional from __libc_multiple_libcs access. Remove kludge for weak |
| 880 | symbol access with old compilers we no longer support. |
| 881 | * sysdeps/unix/sysv/aix/init-first.c (init): Likewise. |
| 882 | * sysdeps/generic/libc-start.c (__libc_start_main): Likewise. |
| 883 | |
| 884 | 2002-10-25 Roland McGrath <roland@redhat.com> |
| 885 | |
| 886 | * sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and |
| 887 | implement SV_RESETHAND by translating it to SA_RESETHAND. |
| 888 | |
| 889 | 2002-10-23 Alexandre Oliva <aoliva@redhat.com> |
| 890 | |
| 891 | * elf/dl-reloc.c (_dl_reloc_bad_use): Print the full 32-bit relocation |
| 892 | type on ELF64 platforms. |
| 893 | |
| 894 | 2002-10-24 Ulrich Drepper <drepper@redhat.com> |
| 895 | |
| 896 | * elf/elf.h (R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF. |
| 897 | |
| 898 | * elf/elf.h: Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT. |
| 899 | |
| 900 | 2002-10-24 Jakub Jelinek <jakub@redhat.com> |
| 901 | |
| 902 | * elf/dl-misc.c: Include <sysdep.h>. |
| 903 | (_dl_debug_vdprintf): Only take dl_load_lock if not _dl_starting_up. |
| 904 | |
| 905 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL, |
| 906 | INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros. |
| 907 | (INLINE_SYSCALL): Use that. |
| 908 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL, |
| 909 | INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros. |
| 910 | (INLINE_SYSCALL): Use that. |
| 911 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL, |
| 912 | INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros. |
| 913 | (INLINE_SYSCALL): Use that. |
| 914 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Include |
| 915 | dl-sysdep.h. |
| 916 | (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant. |
| 917 | (__INTERNAL_SYSCALL_STRING): Define. |
| 918 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include |
| 919 | dl-sysdep.h. |
| 920 | (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant. |
| 921 | (__INTERNAL_SYSCALL_STRING): Define. |
| 922 | * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): Pass |
| 923 | __SYSCALL_STRING to inline_syscall*. |
| 924 | (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): |
| 925 | New macros. |
| 926 | (inline_syscall0, inline_syscall1, inline_syscall2, inline_syscall3, |
| 927 | inline_syscall4, inline_syscall5, inline_syscall6): Add string |
| 928 | argument. |
| 929 | |
| 930 | 2002-10-24 Roland McGrath <roland@redhat.com> |
| 931 | |
| 932 | * sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here. |
| 933 | * sysdeps/unix/sysv/linux/init-first.c: Not here. |
| 934 | * sysdeps/powerpc/elf/libc-start.c: Or here. |
| 935 | * sysdeps/unix/sysv/aix/libc-start.c: Or here. |
| 936 | * sysdeps/unix/sysv/aix/start-libc.c: Or here. |
| 937 | * sysdeps/unix/sysv/aix/init-first.c: Or here. |
| 938 | * sysdeps/generic/libc-start.c: Or here. |
| 939 | * sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up |
| 940 | access with [! SHARED]. |
| 941 | * sysdeps/unix/sysv/aix/init-first.c (init): Likewise. |
| 942 | |
| 943 | * libio/bug-wfflush.c: New file. |
| 944 | * libio/Makefile (tests): Add bug-wfflush. |
| 945 | |
| 946 | 2002-10-23 Roland McGrath <roland@redhat.com> |
| 947 | |
| 948 | * stdio-common/tst-fphex.c: New file. |
| 949 | * stdio-common/Makefile (tests): Add tst-fphex. |
| 950 | * sysdeps/generic/printf_fphex.c (__printf_fphex): Fix initialization |
| 951 | of WNUMEND. Fix counting of decimal point in WIDTH. Print '0' pad |
| 952 | chars always before the value digits. |
| 953 | Reported by James Antill <james.antill@redhat.com>. |
| 954 | |
| 955 | 2002-10-24 Jakub Jelinek <jakub@redhat.com> |
| 956 | |
| 957 | * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf. |
| 958 | (free_mem): New function. |
| 959 | * posix/Makefile (tests): Add bug-regex14. Add bug-regex14-mem |
| 960 | if not cross compiling. |
| 961 | (generated): Add bug-regex14-mem and bug-regex14.mtrace. |
| 962 | (bug-regex14-ENV): Set. |
| 963 | (bug-regex14-mem): New target. |
| 964 | * posix/bug-regex14.c: New file. |
| 965 | |
| 966 | 2002-10-23 Roland McGrath <roland@redhat.com> |
| 967 | |
| 968 | * elf/Makefile ($(objpfx)librtld.map): Use temporary file for output |
| 969 | target, so we don't touch it when the link fails. |
| 970 | |
| 971 | * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. |
| 972 | Check for the result overflowing off_t and fail with EOVERFLOW. |
| 973 | * libio/ioftell.c (_IO_ftell): Likewise. |
| 974 | * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. |
| 975 | |
| 976 | * login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval, |
| 977 | use a temporary timeval on the stack for gettimeofday and copy it. |
| 978 | * login/logout.c (logout): Likewise. |
| 979 | Reported by Steven Munroe <sjmunroe@us.ibm.com>. |
| 980 | |
| 981 | * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): |
| 982 | Use __SWORD_TYPE instead of int for member types. |
| 983 | (struct statfs64): Likewise. |
| 984 | * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file. |
| 985 | * sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file. |
| 986 | * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed. |
| 987 | * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed. |
| 988 | * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed. |
| 989 | |
| 990 | * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ... |
| 991 | * sysdeps/unix/sysv/linux/bits/statvfs.h: ... here. |
| 992 | (ST_NODIRATIME): Restore fixed value of 2048. |
| 993 | * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed. |
| 994 | * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed. |
| 995 | |
| 996 | Rearranged <bits/types.h> definitions to reduce duplication. |
| 997 | * sysdeps/generic/bits/types.h: Rewritten, using macros from |
| 998 | <bits/wordsize.h> and new header <bits/typesizes.h>. |
| 999 | * posix/Makefile (headers): Add bits/typesizes.h here. |
| 1000 | * sysdeps/generic/bits/typesizes.h: New file. |
| 1001 | * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file. |
| 1002 | * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file. |
| 1003 | * sysdeps/mach/hurd/bits/typesizes.h: New file. |
| 1004 | * sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed. |
| 1005 | * sysdeps/unix/sysv/linux/bits/types.h: File removed. |
| 1006 | * sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed. |
| 1007 | * sysdeps/unix/sysv/linux/mips/bits/types.h: File removed. |
| 1008 | * sysdeps/unix/sysv/linux/s390/bits/types.h: File removed. |
| 1009 | * sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed. |
| 1010 | * sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed. |
| 1011 | * posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include |
| 1012 | <bits/pthreadtypes.h> here, not in <bits/types.h>. |
| 1013 | * signal/signal.h: Likewise. |
| 1014 | |
| 1015 | * streams/stropts.h: Include <bits/xtitypes.h>. |
| 1016 | * streams/Makefile (headers): Add bits/xtitypes.h here. |
| 1017 | * sysdeps/generic/bits/xtitypes.h: New file. |
| 1018 | * sysdeps/s390/bits/xtitypes.h: New file. |
| 1019 | * sysdeps/ia64/bits/xtitypes.h: New file. |
| 1020 | * sysdeps/x86_64/bits/xtitypes.h: New file. |
| 1021 | |
| 1022 | * sysvipc/Makefile (headers): Add bits/ipctypes.h here. |
| 1023 | * sysdeps/generic/bits/ipctypes.h: New file. |
| 1024 | * sysdeps/mips/bits/ipctypes.h: New file. |
| 1025 | * sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>. |
| 1026 | * sysdeps/gnu/bits/msq.h: Likewise. |
| 1027 | * sysvipc/sys/ipc.h: Likewise. |
| 1028 | |
| 1029 | 2002-10-22 Ulrich Drepper <drepper@redhat.com> |
| 1030 | |
| 1031 | * elf/dl-load.c (struct filebuf): For buf element to have the |
| 1032 | alignment of ElfXX_Ehdr since this is what will be stored in it. |
| 1033 | |
| 1034 | 2002-10-22 Jakub Jelinek <jakub@redhat.com> |
| 1035 | |
| 1036 | * locale/programs/locarchive.c (add_alias): Change locrec_offset arg |
| 1037 | into pointer to locrec_offset. |
| 1038 | (add_locale_to_archive): Adjust callers. Free normalized_name right |
| 1039 | before returning, not immediately after add_locale, pass it to |
| 1040 | add_alias if not NULL instead of name. Rename second normalized_name |
| 1041 | occurence to nnormalized_codeset_name. |
| 1042 | |
| 1043 | * locale/programs/locarchive.c (enlarge_archive): Make sure |
| 1044 | string_size is always a multiple of 4. |
| 1045 | Reported by Andreas Schwab <schwab@suse.de>. |
| 1046 | |
| 1047 | 2002-10-21 Andreas Schwab <schwab@suse.de> |
| 1048 | |
| 1049 | * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set |
| 1050 | caller to EXTRA instead of execve, since the latter has a |
| 1051 | higher-priority implementation in linuxthreads. |
| 1052 | |
| 1053 | 2002-10-21 Roland McGrath <roland@redhat.com> |
| 1054 | |
| 1055 | * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize the static |
| 1056 | slotinfo list's len member to the proper size, not just 1. |
| 1057 | Initialize static_map.l_tls_initimage. |
| 1058 | |
| 1059 | * elf/dl-open.c (dl_open_worker): Fix loop searching for |
| 1060 | dtv_slotinfo_list element containing new modules' l_tls_modid. |
| 1061 | |
| 1062 | * elf/tst-tls9.c, elf/tst-tls9-static.c: New files. |
| 1063 | * elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files. |
| 1064 | * elf/Makefile (tests): Add tst-tls9. |
| 1065 | (tests-static): Add tst-tls9-static. |
| 1066 | (tst-tls9-static-ENV): New variable. |
| 1067 | ($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets. |
| 1068 | |
| 1069 | * elf/dl-close.c (remove_slotinfo): Remove an assert; the number of |
| 1070 | modids used by partially loaded modules being closed can't be known. |
| 1071 | |
| 1072 | 2002-10-21 Isamu Hasegawa <isamu@yamato.ibm.com> |
| 1073 | |
| 1074 | * posix/Makefile: Add a test case for the bug reported by Aharon |
| 1075 | Robbins <arnold@skeeve.com>. |
| 1076 | * posix/bug-regex13.c: New file. |
| 1077 | * posix/regcomp.c (peek_token_bracket): Skip the byte already read. |
| 1078 | |
| 1079 | 2002-10-21 Ulrich Drepper <drepper@redhat.com> |
| 1080 | |
| 1081 | * csu/gmon-start.c: Pretty printing. |
| 1082 | |
| 1083 | 2002-10-19 Art Haas <ahaas@neosoft.com> |
| 1084 | |
| 1085 | * configure.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS, |
| 1086 | add AC_HELP_STRING to all AC_ARG_WITH and AC_ARG_ENABLE macros, |
| 1087 | add autoconf quotes to the AC_CONFIG_AUX_DIR macro. |
| 1088 | * configure: Regenerated. |
| 1089 | |
| 1090 | 2002-10-19 Roland McGrath <roland@redhat.com> |
| 1091 | |
| 1092 | * configure.in: Call AC_CONFIG_SUBDIRS with empty argument |
| 1093 | and then set $subdirs directly, because the new Autoconf breaks |
| 1094 | compatibility in every way imaginable and insists on whining |
| 1095 | about usage that worked since the dawn of time. |
| 1096 | * configure: Regenerated. |
| 1097 | |
| 1098 | * configure: Regenerated (using Autoconf 2.54). |
| 1099 | * sysdeps/alpha/elf/configure: Likewise. |
| 1100 | * sysdeps/generic/configure: Likewise. |
| 1101 | * sysdeps/i386/elf/configure: Likewise. |
| 1102 | * sysdeps/ia64/elf/configure: Likewise. |
| 1103 | * sysdeps/mach/hurd/configure: Likewise. |
| 1104 | * sysdeps/mach/configure: Likewise. |
| 1105 | * sysdeps/unix/configure: Likewise. |
| 1106 | * sysdeps/unix/common/configure: Likewise. |
| 1107 | * sysdeps/unix/sysv/aix/configure: Likewise. |
| 1108 | * sysdeps/unix/sysv/linux/configure: Likewise. |
| 1109 | * sysdeps/unix/sysv/linux/mips/configure: Likewise. |
| 1110 | * sysdeps/x86_64/elf/configure: Likewise. |
| 1111 | |
| 1112 | * config.make.in: Nix completely-soft nonsense. |
| 1113 | * configure.in: Likewise. Under --without-fp, use nofpu subdirectory |
| 1114 | of machine directories instead of fpu subdirectory. |
| 1115 | * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change. |
| 1116 | * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead. |
| 1117 | * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ... |
| 1118 | * sysdeps/powerpc/nofpu/sim-full.c: ... here. |
| 1119 | * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ... |
| 1120 | * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here. |
| 1121 | * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ... |
| 1122 | * sysdeps/powerpc/nofpu/fegetexcept.c: ... here. |
| 1123 | * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ... |
| 1124 | * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here. |
| 1125 | * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ... |
| 1126 | * sysdeps/powerpc/nofpu/ftestexcept.c: ... here. |
| 1127 | * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ... |
| 1128 | * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here. |
| 1129 | * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ... |
| 1130 | * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here. |
| 1131 | * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ... |
| 1132 | * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here. |
| 1133 | * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ... |
| 1134 | * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here. |
| 1135 | * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ... |
| 1136 | * sysdeps/powerpc/nofpu/fegetenv.c: ... here. |
| 1137 | * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ... |
| 1138 | * sysdeps/powerpc/nofpu/fesetenv.c: ... here. |
| 1139 | * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ... |
| 1140 | * sysdeps/powerpc/nofpu/fegetround.c: ... here. |
| 1141 | * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ... |
| 1142 | * sysdeps/powerpc/nofpu/fesetround.c: ... here. |
| 1143 | * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ... |
| 1144 | * sysdeps/powerpc/nofpu/feupdateenv.c: ... here. |
| 1145 | * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ... |
| 1146 | * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here. |
| 1147 | * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ... |
| 1148 | * sysdeps/powerpc/nofpu/fenv_const.c: ... here. |
| 1149 | * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ... |
| 1150 | * sysdeps/powerpc/nofpu/libm-test-ulps: ... here. |
| 1151 | * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ... |
| 1152 | * sysdeps/powerpc/nofpu/soft-supp.h: ... here. |
| 1153 | * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ... |
| 1154 | * sysdeps/powerpc/nofpu/Versions: ... here, new file. |
| 1155 | |
| 1156 | 2002-10-19 Bruno Haible <bruno@clisp.org> |
| 1157 | |
| 1158 | * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file. |
| 1159 | |
| 1160 | 2002-10-18 Roland McGrath <roland@redhat.com> |
| 1161 | |
| 1162 | * io/Makefile (routines): Add lchmod. |
| 1163 | * io/sys/stat.h [__USE_BSD] (lchmod): Declare it. |
| 1164 | * sysdeps/generic/lchmod.c: New file. |
| 1165 | * sysdeps/mach/hurd/lchmod.c: New file. |
| 1166 | * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod. |
| 1167 | |
| 1168 | 2002-10-18 Art Haas <ahaas@neosoft.com> |
| 1169 | |
| 1170 | * configure.in: Remove remaining AC_FD_CC macros, and replace |
| 1171 | AC_FD_MSG with AS_MESSAGE_FD. |
| 1172 | |
| 1173 | 2002-10-18 Roland McGrath <roland@redhat.com> |
| 1174 | |
| 1175 | * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Fix |
| 1176 | typos: VALUE -> FINALADDR. |
| 1177 | |
| 1178 | * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1) |
| 1179 | (inline_syscall_clobbers, inline_syscall0, inline_syscall1) |
| 1180 | (inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5) |
| 1181 | (inline_syscall6): Move these macros ... |
| 1182 | * sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here. |
| 1183 | |
| 1184 | * configure.in (libc_link_dests, libc_link_sources): Remove these |
| 1185 | variables and the AC_LINK_FILES call. |
| 1186 | |
| 1187 | * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Fix last |
| 1188 | change to put new symbols here instead of in GLIBC_2.2. |
| 1189 | * sysdeps/powerpc/Subdirs: Move this file ... |
| 1190 | * sysdeps/powerpc/soft-fp/Subdirs: ... here. |
| 1191 | |
| 1192 | 2002-10-07 Roland McGrath <roland@redhat.com> |
| 1193 | |
| 1194 | * sysdeps/generic/bits/time.h: Replaced with contents of the |
| 1195 | sysdeps/unix/sysv/linux/i386/bits/time.h file. All the following |
| 1196 | files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID |
| 1197 | and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these |
| 1198 | macros is ok even for architectures that don't now implement them. |
| 1199 | * sysdeps/mach/hurd/bits/time.h: File removed. |
| 1200 | * sysdeps/unix/sysv/linux/bits/time.h: File removed. |
| 1201 | * sysdeps/unix/sysv/linux/i386/bits/time.h: File removed. |
| 1202 | * sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed. |
| 1203 | * sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed. |
| 1204 | * sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed. |
| 1205 | |
| 1206 | 2002-10-18 Jeff Bailey <jbailey@gnu.org> |
| 1207 | |
| 1208 | * configure.in: Replace obsolete AC_OUTPUT syntax with |
| 1209 | AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio. |
| 1210 | |
| 1211 | * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for |
| 1212 | _AS_PATH_SEPARATOR_PREPARE and _AS_TEST_PREPARE. |
| 1213 | |
| 1214 | * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD. |
| 1215 | * sysdeps/alpha/elf/configure.in: Likewise. |
| 1216 | * sysdeps/i386/elf/configure.in: Likewise. |
| 1217 | * sysdeps/mach/hurd/configure.in: Likewise. |
| 1218 | * sysdeps/x86_64/elf/configure.in: Likewise. |
| 1219 | |
| 1220 | * configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax. |
| 1221 | |
| 1222 | * sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement. |
| 1223 | * sysdeps/generic/configure.in: Likewise. |
| 1224 | * sysdeps/i386/elf/configure.in: Likewise. |
| 1225 | * sysdeps/ia64/elf/configure.in: Likewise. |
| 1226 | * sysdeps/mach/configure.in: Likewise. |
| 1227 | * sysdeps/mach/hurd/configure.in: Likewise. |
| 1228 | * sysdeps/unix/configure.in: Likewise. |
| 1229 | * sysdeps/unix/common/configure.in: Likewise. |
| 1230 | * sysdeps/unix/sysv/aix/configure.in: Likewise. |
| 1231 | * sysdeps/unix/sysv/linux/configure.in: Likewise. |
| 1232 | * sysdeps/unix/sysv/linux/mips/configure.in: Likewise. |
| 1233 | * sysdeps/x86_64/elf/configure.in: Likewise. |
| 1234 | |
| 1235 | * aclocal.m4: Use just the bits from AS_INIT that are needed for the |
| 1236 | GLIBC_PROVIDES. Use plain comment instead of HEADER-COMMENT so |
| 1237 | that it's obvious when extra autoconf machinery is being dragged in. |
| 1238 | |
| 1239 | 2002-10-18 Roland McGrath <roland@redhat.com> |
| 1240 | |
| 1241 | * configure.in: Remove bogus echo included in |
| 1242 | 2002-10-08 Aldy Hernandez <aldyh@redhat.com> change. |
| 1243 | * configure: Regenerated. |
| 1244 | |
| 1245 | 2002-10-18 Jakub Jelinek <jakub@redhat.com> |
| 1246 | |
| 1247 | * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline. |
| 1248 | (statfs_filesize_max): New function. |
| 1249 | * sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC, |
| 1250 | JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC, |
| 1251 | ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define. |
| 1252 | * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use |
| 1253 | statfs_filesize_max. |
| 1254 | * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise. |
| 1255 | * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed. |
| 1256 | * sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed. |
| 1257 | |
| 1258 | 2002-10-17 Roland McGrath <roland@redhat.com> |
| 1259 | |
| 1260 | * configure.in (MIG): Just AC_SUBST it here. |
| 1261 | * configure: Regenerated. |
| 1262 | * sysdeps/mach/configure.in (MIG): Do the AC_CHECK_TOOL here. |
| 1263 | Adding final - argument to all AC_CHECK_HEADER uses for .defs files. |
| 1264 | * sysdeps/mach/configure: Regenerated. |
| 1265 | |
| 1266 | * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_TR_SH_PREPARE]) |
| 1267 | and AC_PROVIDE([_AS_CR_PREPARE]). |
| 1268 | |
| 1269 | * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_ECHO_N_PREPARE]). |
| 1270 | Remove AC_LANG(C) call, instead just define([_AC_LANG], [C]). |
| 1271 | |
| 1272 | * elf/dl-support.c: Move _dl_tls_* variables to ... |
| 1273 | * sysdeps/generic/libc-tls.c: ... here. |
| 1274 | |
| 1275 | * elf/dl-close.c (remove_slotinfo): Take new argument. If false, |
| 1276 | allow IDX to be one past the current last slotinfo entry. |
| 1277 | (_dl_close): Pass IMAP->l_init_called for that parameter. |
| 1278 | |
| 1279 | 2002-10-07 Andreas Schwab <schwab@suse.de> |
| 1280 | |
| 1281 | * aclocal.m4: Fix for autoconf 2.53. |
| 1282 | * configure.in: Likewise. Require autoconf 2.53. |
| 1283 | |
| 1284 | 2002-10-08 Richard Henderson <rth@redhat.com> |
| 1285 | |
| 1286 | * soft-fp/op-4.h: Handle carry correctly in |
| 1287 | __FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3, |
| 1288 | __FP_FRAC_SUB_4, __FP_FRAC_DEC_3, __FP_FRAC_DEC_4. |
| 1289 | * soft-fp/op-common.h: New macros _FP_DIV_MEAT_N_loop. |
| 1290 | |
| 1291 | 2002-10-08 Aldy Hernandez <aldyh@redhat.com> |
| 1292 | |
| 1293 | * configure.in: Compute completely-soft. |
| 1294 | * config.make.in: Make completely-soft available to sub-makes. |
| 1295 | * sysdeps/powerpc/soft-fp/Makefile: Add gcc-single-routines and |
| 1296 | gcc-double-routines. Add sim-full.c. Add fenv_const and |
| 1297 | fe_nomask to libm-support. |
| 1298 | * sysdeps/powerpc/soft-fp/sim-full.c: New file. |
| 1299 | * sysdeps/powerpc/soft-fp/fraiseexcpt.c: New file. |
| 1300 | * sysdeps/powerpc/soft-fp/fegetexcept.c: New file. |
| 1301 | * sysdeps/powerpc/soft-fp/fclrexcpt.c: New file. |
| 1302 | * sysdeps/powerpc/soft-fp/ftestexcept.c: New file. |
| 1303 | * sysdeps/powerpc/soft-fp/fgetexcptflg.c: New file. |
| 1304 | * sysdeps/powerpc/soft-fp/fsetexcptflg.c: New file. |
| 1305 | * sysdeps/powerpc/soft-fp/fedisblxcpt.c: New file. |
| 1306 | * sysdeps/powerpc/soft-fp/feenablxcpt.c: New file. |
| 1307 | * sysdeps/powerpc/soft-fp/fegetenv.c: New file. |
| 1308 | * sysdeps/powerpc/soft-fp/fesetenv.c: New file. |
| 1309 | * sysdeps/powerpc/soft-fp/fegetround.c: New file. |
| 1310 | * sysdeps/powerpc/soft-fp/fesetround.c: New file. |
| 1311 | * sysdeps/powerpc/soft-fp/feupdateenv.c: New file. |
| 1312 | * sysdeps/powerpc/soft-fp/feholdexcpt.c: New file. |
| 1313 | * sysdeps/powerpc/soft-fp/fenv_const.c: New file. |
| 1314 | * sysdeps/powerpc/soft-fp/libm-test-ulps: New file. |
| 1315 | * sysdeps/powerpc/soft-fp/soft-supp.h: New file. |
| 1316 | * sysdeps/powerpc/soft-fp/Versions: Add libgcc soft-float |
| 1317 | symbols. Add __sim_disabled_exceptions, __sim_exceptions, |
| 1318 | __sim_round_mode. |
| 1319 | * sysdeps/powerpc/soft-float/Dist: Add sim-full.c, fenv_const.c. |
| 1320 | * sysdeps/powerpc/soft-float/sfp-machine.h: Define |
| 1321 | FP_HANDLE_EXCEPTIONS. |
| 1322 | Define FP_ROUNDMODE. |
| 1323 | Redefine FP_* macros to correspond to the FE_* bit positions. |
| 1324 | Define FP_DIV_MEAT_S to _FP_DIV_MEAT_1_loop. |
| 1325 | Define externs for __sim_exceptions, __sim_disabled_exceptions, |
| 1326 | __sim_round_mode, __simulate_exceptions. |
| 1327 | * sysdeps/powerpc/fpu/bits/fenv.h: Move file from here... |
| 1328 | * sysdeps/powerpc/bits/fenv.h: ...to here. |
| 1329 | |
| 1330 | 2002-10-06 Jakub Jelinek <jakub@redhat.com> |
| 1331 | |
| 1332 | * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): |
| 1333 | Store R_PPC_UADDR32 and R_PPC_UADDR16 one byte at a time. |
| 1334 | Use __builtin_expect for R_PPC_ADDR24 overflow check. Fix |
| 1335 | R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use |
| 1336 | __builtin_expect. |
| 1337 | |
| 1338 | 2002-10-15 Jakub Jelinek <jakub@redhat.com> |
| 1339 | |
| 1340 | * include/resolv.h (__libc_res_nquery, __libc_res_nsearch, |
| 1341 | __libc_res_nsend): New prototypes. |
| 1342 | * resolv/res_query.c (QUERYSIZE): Define. |
| 1343 | (__libc_res_nquery): Renamed from res_nquery. Added answerp |
| 1344 | argument. Allocate only QUERYSIZE bytes first, if res_nmkquery |
| 1345 | fails use MAXPACKET buffer. Call __libc_res_nsend instead of |
| 1346 | res_nsend, pass answerp. |
| 1347 | (res_nquery): Changed into wrapper around __libc_res_nquery. |
| 1348 | (__libc_res_nsearch): Renamed from res_nsearch. Added answerp |
| 1349 | argument. Call __libc_res_nquerydomain and __libc_res_nquery |
| 1350 | instead of the non-__libc_ variants, pass them answerp. |
| 1351 | (res_nsearch): Changed into wrapper around __libc_res_nsearch. |
| 1352 | (__libc_res_nquerydomain): Renamed from res_nquerydomain. |
| 1353 | Added answerp argument. Call __libc_res_nquery instead of |
| 1354 | res_nquery, pass answerp. |
| 1355 | (res_nquerydomain): Changed into wrapper around |
| 1356 | __libc_res_nquerydomain. |
| 1357 | * resolv/res_send.c: Include sys/ioctl.h. |
| 1358 | (MAXPACKET): Define. |
| 1359 | (send_vc): Change arguments. Reallocate answer buffer if it is |
| 1360 | too small. |
| 1361 | (send_dg): Likewise. |
| 1362 | (__libc_res_nsend): Renamed from res_nsend. Added ansp argument. |
| 1363 | Reallocate answer buffer if it is too small and hooks are in use. |
| 1364 | Adjust calls to send_vc and send_dg. |
| 1365 | (res_nsend): Changed into wrapper around __libc_res_nsend. |
| 1366 | * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate |
| 1367 | just 1K answer buffer on the stack, use __libc_res_nsearch instead |
| 1368 | of res_nsearch. |
| 1369 | (_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery. |
| 1370 | * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. |
| 1371 | (_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch. |
| 1372 | * resolv/gethnamaddr.c (gethostbyname2): Likewise. |
| 1373 | (gethostbyaddr): Similarly with __libc_res_nquery. |
| 1374 | * resolv/Versions (libresolv): Export __libc_res_nquery and |
| 1375 | __libc_res_nsearch at GLIBC_PRIVATE. |
| 1376 | |
| 1377 | 2002-10-17 Roland McGrath <roland@redhat.com> |
| 1378 | |
| 1379 | * configure.in: Grok --without-__thread and disable HAVE___THREAD. |
| 1380 | * configure: Regenerated. |
| 1381 | |
| 1382 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Do CHECK_STATIC_TLS |
| 1383 | before performing the reloc, not after. |
| 1384 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. |
| 1385 | |
| 1386 | 2002-10-17 Ulrich Drepper <drepper@redhat.com> |
| 1387 | |
| 1388 | * locale/programs/locale.c (write_locales): Use 'm' flag in fopen call. |
| 1389 | * locale/programs/linereader.c (lr_open): Likewise. |
| 1390 | * locale/programs/charmap-dir.c (charmap_open): Likewise. |
| 1391 | * locale/programs/locarchive.c (add_locale_to_archive): Likewise. |
| 1392 | |
| 1393 | 2002-10-17 Isamu Hasegawa <isamu@yamato.ibm.com> |
| 1394 | |
| 1395 | * posix/bug-regex11.c: Add a test case for the bug reported by |
| 1396 | Paolo Bonzini <bonzini@gnu.org>. |
| 1397 | * posix/regexec.c (sift_states_bkref): Use correct destination of |
| 1398 | the back reference. |
| 1399 | |
| 1400 | 2002-10-17 Roland McGrath <roland@redhat.com> |
| 1401 | |
| 1402 | * elf/dl-load.c (_dl_map_object_from_fd): Don't check DF_STATIC_TLS. |
| 1403 | * elf/dl-reloc.c (_dl_relocate_object: CHECK_STATIC_TLS): New macro |
| 1404 | to signal error if an IE-model TLS reloc resolved to a dlopen'd module. |
| 1405 | * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela): |
| 1406 | Call it after performing TPOFF relocs. |
| 1407 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. |
| 1408 | * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. |
| 1409 | * elf/dl-conflict.c (CHECK_STATIC_TLS): New macro (no-op). |
| 1410 | |
| 1411 | * elf/dl-close.c (remove_slotinfo): Change asserts so as not to crash |
| 1412 | when closing a partially-initialized object. |
| 1413 | |
| 1414 | * elf/dl-load.c (_dl_map_object_from_fd) [! USE_TLS]: Call lose |
| 1415 | instead of _dl_fatal_printf when we see PT_TLS. |
| 1416 | |
| 1417 | * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$(<F)) |
| 1418 | instead of $(libof-$<). |
| 1419 | |
| 1420 | 2002-10-16 Roland McGrath <roland@redhat.com> |
| 1421 | |
| 1422 | * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed. |
| 1423 | instead of += to append, to be sure $(lib) gets expanded at defn time. |
| 1424 | (libof-$(cpp-src)): New variable, define this instead. |
| 1425 | * extra-lib.mk (cpp-srcs-left): Reduce duplication in include setup. |
| 1426 | (lib): Don't use override. |
| 1427 | (CPPFLAGS-$(lib)): New variable, put -D's here. |
| 1428 | * Makeconfig (CPPFLAGS): Use basename fn for CPPFLAGS-basename. |
| 1429 | Also add $(CPPFLAGS-LIB) before the file-specific flags, for each |
| 1430 | LIB found by $(libof-*) for basename, target, or source. |
| 1431 | * Makerules (CPPFLAGS-nonlib): New variable. |
| 1432 | * nscd/Makefile (lib): Set to nonlib when using cppflags-iterator.mk. |
| 1433 | * locale/Makefile (lib): Likewise. |
| 1434 | * sunrpc/Makefile (lib): Likewise. |
| 1435 | |
| 1436 | * sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ... |
| 1437 | * sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here. |
| 1438 | * sysdeps/unix/sysv/linux/pathconf.h: New file. |
| 1439 | (statfs_link_max): New function, guts from fpathconf.c. |
| 1440 | * sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that. |
| 1441 | * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise. |
| 1442 | * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten |
| 1443 | to use the linux/pathconf.c code by #include rather than duplication. |
| 1444 | * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise. |
| 1445 | |
| 1446 | 2002-10-16 Jakub Jelinek <jakub@redhat.com> |
| 1447 | |
| 1448 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): |
| 1449 | Use __libc_errno only for libc itself. |
| 1450 | |
| 1451 | 2002-10-16 Andreas Jaeger <aj@suse.de> |
| 1452 | |
| 1453 | * sysdeps/x86_64/_mcount.S: Fix off-by-1 error in argument access. |
| 1454 | |
| 1455 | 2002-10-16 Ulrich Drepper <drepper@redhat.com> |
| 1456 | |
| 1457 | * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): |
| 1458 | Use __libc_errno only for libc itself. |
| 1459 | |
| 1460 | 2002-10-15 Roland McGrath <roland@redhat.com> |
| 1461 | Jakub Jelinek <jakub@redhat.com> |
| 1462 | |
| 1463 | * sysdeps/unix/sysv/linux/Makefile |
| 1464 | ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Take code from |
| 1465 | sparc/Makefile to produce a bi-arch file as needed. |
| 1466 | That's now parameterized by the variable $(64bit-predefine). |
| 1467 | Use LC_ALL=C for `comm' commands in that rule. |
| 1468 | No longer conditional on [$(no_syscall_list_h)]. |
| 1469 | * sysdeps/unix/sysv/linux/sparc/Makefile: Remove replacement rules. |
| 1470 | (64bit-predefine): New variable. |
| 1471 | * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise. |
| 1472 | * sysdeps/unix/sysv/linux/s390/Makefile: New file. |
| 1473 | * sysdeps/unix/sysv/linux/powerpc/Makefile |
| 1474 | (64bit-predefine): New variable. |
| 1475 | |
| 1476 | 2002-10-15 Roland McGrath <roland@redhat.com> |
| 1477 | |
| 1478 | * sysdeps/unix/sysv/linux/Makefile |
| 1479 | ($(objpfx)syscall-%.h $(objpfx)syscall-%.d) |
| 1480 | |
| 1481 | * login/utmp-private.h: Declare __libc_utmp_lock. |
| 1482 | * sysdeps/unix/getlogin_r.c (getlogin_r): Take __libc_utmp_lock once |
| 1483 | and call __libc_utmp_jump_table functions directly, instead of using |
| 1484 | __setutent et al. |
| 1485 | |
| 1486 | * sysdeps/unix/sysv/linux/configure.in: Use case instead of if. |
| 1487 | * sysdeps/unix/sysv/linux/configure: Regenerated. |
| 1488 | |
| 1489 | * sysdeps/gnu/bits/utmp.h: Include <bits/wordsize.h>. |
| 1490 | (struct lastlog) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: |
| 1491 | Use int32_t for ll_time. |
| 1492 | (struct utmp) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: |
| 1493 | Use int32_t instead of long int for ut_session. |
| 1494 | Use an anonymous struct with 32-bit fields for ut_tv. |
| 1495 | * sysdeps/gnu/bits/utmpx.h: Include <bits/wordsize.h>. |
| 1496 | (struct utmpx) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Do the same |
| 1497 | here as in utmp.h for `struct utmp'. |
| 1498 | * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: File removed. |
| 1499 | * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: File removed. |
| 1500 | * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: File removed. |
| 1501 | * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: File removed. |
| 1502 | * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: File removed. |
| 1503 | * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: File removed. |
| 1504 | |
| 1505 | * sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents |
| 1506 | of the sysdeps/unix/sysv/linux/i386/bits/resource.h file. |
| 1507 | All the following files were identical or equivalent to it. |
| 1508 | * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed. |
| 1509 | * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed. |
| 1510 | * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed. |
| 1511 | * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed. |
| 1512 | * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed. |
| 1513 | * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed. |
| 1514 | * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed. |
| 1515 | * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed. |
| 1516 | * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed. |
| 1517 | * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed. |
| 1518 | |
| 1519 | * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t |
| 1520 | instead of int for msg_iovlen, instead of socklen_t for msg_controllen. |
| 1521 | Other than the previously incorrect sign of msg_iovlen, this is a |
| 1522 | no-op on 32-bit platforms. On 64-bit platforms it makes this header |
| 1523 | match their layouts as well, so the following are now identical to it. |
| 1524 | * sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed. |
| 1525 | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed. |
| 1526 | * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed. |
| 1527 | * sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed. |
| 1528 | * sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed. |
| 1529 | |
| 1530 | 2002-10-15 Ulrich Drepper <drepper@redhat.com> |
| 1531 | |
| 1532 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): |
| 1533 | Define for 2.4+ kernels. |
| 1534 | |
| 1535 | * sysdeps/unix/sysv/linux/i386/vfork.S: Optimize for kernels which |
| 1536 | are known to have the vfork syscall. Don't confuse the CPUs |
| 1537 | branch prediction unit by jumping to the return address. |
| 1538 | |
| 1539 | * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__fpathconf): Add |
| 1540 | support for reiserfs and xfs. |
| 1541 | |
| 1542 | * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Add case for |
| 1543 | XFS link count. |
| 1544 | * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define XFS_SUPER_MAGIC |
| 1545 | and XFS_LINK_MAX. |
| 1546 | Patch by Eric Sandeen <sandeen@sgi.com> [PR libc/4706]. |
| 1547 | |
| 1548 | 2002-10-16 Jakub Jelinek <jakub@redhat.com> |
| 1549 | |
| 1550 | * include/libc-symbols.h (attribute_tls_model_ie): Define. |
| 1551 | * include/errno.h (errno): Define to __libc_errno in libc.so. |
| 1552 | Add attribute_tls_model_ie. |
| 1553 | * include/netdb.h (h_errno): Define to __libc_h_errno in libc.so. |
| 1554 | Add attribute_tls_model_ie. |
| 1555 | * include/resolv.h (_res): Define to __libc_res in libc.so. Add |
| 1556 | attribute_tls_model_ie. |
| 1557 | * inet/herrno.c (__libc_h_errno): Add hidden alias to h_errno. |
| 1558 | (h_errno): Define. |
| 1559 | * resolv/res_libc.c (__libc_res): Add hidden alias to _res. |
| 1560 | (_res): Define. |
| 1561 | * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_define): Add |
| 1562 | attribute_tls_model_ie. |
| 1563 | * sysdeps/generic/errno-loc.c (errno): Only undefine if not using |
| 1564 | __thread. |
| 1565 | * sysdeps/generic/errno.c (__libc_errno): Add hidden alias to errno. |
| 1566 | * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): Use |
| 1567 | __libc_errno in USE___THREAD case. |
| 1568 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): |
| 1569 | Likewise. |
| 1570 | * configure.in (HAVE_TLS_MODEL_ATTRIBUTE): Check for |
| 1571 | __attribute__((tls_model (""))). |
| 1572 | * configure: Rebuilt. |
| 1573 | * config.h.in (HAVE_TLS_MODEL_ATTRIBUTE): Add. |
| 1574 | |
| 1575 | 2002-10-15 Ulrich Drepper <drepper@redhat.com> |
| 1576 | |
| 1577 | * timezone/asia: Update from tzdata2002d. |
| 1578 | * timezone/australasia: Likewise. |
| 1579 | * timezone/iso3166.tab: Likewise. |
| 1580 | * timezone/southamerica: Likewise. |
| 1581 | * timezone/zone-tab: Likewise. |
| 1582 | |
| 1583 | 2002-10-15 Roland McGrath <roland@redhat.com> |
| 1584 | |
| 1585 | * sysdeps/generic/dl-tls.c (_dl_deallocate_tls) [TLS_TCB_AT_TP]: |
| 1586 | Adjust TCB pointer before calling free, so we get the whole block. |
| 1587 | |
| 1588 | 2002-10-14 Roland McGrath <roland@redhat.com> |
| 1589 | |
| 1590 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c |
| 1591 | [HAVE_HIDDEN && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]: Declare restore_rt |
| 1592 | extern using attribute_hidden instead of static, avoids warning. |
| 1593 | |
| 1594 | 2002-10-09 Jakub Jelinek <jakub@redhat.com> |
| 1595 | |
| 1596 | * sysdeps/unix/sysv/linux/configure.in: Use */lib64 for s390x too. |
| 1597 | * sysdeps/unix/sysv/linux/configure: Rebuilt. |
| 1598 | |
| 1599 | 2002-10-14 Ulrich Drepper <drepper@redhat.com> |
| 1600 | |
| 1601 | * po/sv.po: Update from translation team. |
| 1602 | |
| 1603 | 2002-10-12 H.J. Lu <hjl@gnu.org> |
| 1604 | |
| 1605 | * sunrpc/thrsvc.c (PROCQUIT): New. |
| 1606 | (struct rpc_arg): New. |
| 1607 | (dispatch): Call exit (0) if request->rq_proc == PROCQUIT. |
| 1608 | (test_one_call): Take struct rpc_arg * instead of CLIENT *c. |
| 1609 | (thread_wrapper): Modified for struct rpc_arg * and call PROCQUIT. |
| 1610 | (main): Modified for struct rpc_arg *. |
| 1611 | |
| 1612 | 2002-10-14 Ulrich Drepper <drepper@redhat.com> |
| 1613 | |
| 1614 | * dirent/scandir.c: Rearrange code a bit to reduce binary size. |
| 1615 | |
| 1616 | 2002-10-14 Jakub Jelinek <jakub@redhat.com> |
| 1617 | |
| 1618 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Include tls.h. |
| 1619 | (SYSCALL_ERROR_HANDLER): Use RTLD_PRIVATE_ERRNO sequence |
| 1620 | in ld.so even if __thread is supported. |
| 1621 | |
| 1622 | 2002-10-13 Jakub Jelinek <jakub@redhat.com> |
| 1623 | |
| 1624 | * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter): |
| 1625 | Add hack to prevent the compiler from clobbering the signal context. |
| 1626 | * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter): |
| 1627 | Likewise. |
| 1628 | * sysdeps/unix/sysv/linux/x86_64/profil-counter.h (profil_counter): |
| 1629 | Likewise. |
| 1630 | |
| 1631 | 2002-10-14 Andreas Jaeger <aj@suse.de> |
| 1632 | |
| 1633 | * sysdeps/mips/fpu/libm-test-ulps: Regenerated by |
| 1634 | Guido Guenther <agx@sigxcpu.org>. |
| 1635 | |
| 1636 | 2002-10-14 Ulrich Drepper <drepper@redhat.com> |
| 1637 | |
| 1638 | * po/sk.po: Update from translation team. |
| 1639 | |
| 1640 | 2002-09-26 Roland McGrath <roland@redhat.com> |
| 1641 | |
| 1642 | * elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB |
| 1643 | dynamic string tag. |
| 1644 | * elf/Makefile ($(objpfx)trusted-dirs.st): Make the output define |
| 1645 | DL_DST_LIB based on $(slibdir). |
| 1646 | |
| 1647 | 2002-10-13 Roland McGrath <roland@frob.com> |
| 1648 | |
| 1649 | * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command. |
| 1650 | |
| 1651 | * sysdeps/mach/hurd/getresuid.c: New file. |
| 1652 | * sysdeps/mach/hurd/getresgid.c: New file. |
| 1653 | * sysdeps/mach/hurd/setresuid.c: New file. |
| 1654 | * sysdeps/mach/hurd/setresgid.c: New file. |
| 1655 | |
| 1656 | * posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid, |
| 1657 | setresgid): Declare them. |
| 1658 | * NEWS: Mention it. |
| 1659 | * include/unistd.h |
| 1660 | (__getresuid, __getresgid, __setresuid, __setresgid): Declare them, |
| 1661 | add libc_hidden_proto. |
| 1662 | * posix/Versions (libc: GLIBC_2.3.2): New set. Add |
| 1663 | getresuid, getresgid, setresuid, setresgid here. |
| 1664 | * Versions.def (libc): Define GLIBC_2.3.2 set. |
| 1665 | * sysdeps/generic/getresuid.c (__getresuid): Fix argument types. |
| 1666 | Add libc_hidden_def. |
| 1667 | * sysdeps/generic/getresgid.c (__getresgid): Likewise. |
| 1668 | * sysdeps/generic/setresgid.c: New file. |
| 1669 | * sysdeps/generic/setresuid.c: New file. |
| 1670 | * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] |
| 1671 | (sysdep_routines): Don't add getresuid and getresgid here. |
| 1672 | * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc] |
| 1673 | (sysdep_routines): Don't add setresuid and setresgid here. |
| 1674 | * sysdeps/unix/sysv/linux/cris/Makefile: Likewise. |
| 1675 | * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. |
| 1676 | * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. |
| 1677 | * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise. |
| 1678 | * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. |
| 1679 | * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. |
| 1680 | * posix/Makefile (routines): Add them all here instead. |
| 1681 | * sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to |
| 1682 | __getresuid. Add libc_hidden_def for that, and weak alias to old name. |
| 1683 | * sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to |
| 1684 | __getresgid. Add libc_hidden_def for that, and weak alias to old name. |
| 1685 | * sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def. |
| 1686 | [! __NR_setresuid]: Include generic file. |
| 1687 | * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to |
| 1688 | __setresgid. Add libc_hidden_def for that, and weak alias to old name. |
| 1689 | [! __NR_setresuid]: Include generic file. |
| 1690 | * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid): |
| 1691 | Caller is - now, not EXTRA. |
| 1692 | * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list |
| 1693 | (setresuid, setresgid, getresuid, getresgid): Likewise. |
| 1694 | * sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid): |
| 1695 | Add these calls here. |
| 1696 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here. |
| 1697 | * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. |
| 1698 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. |
| 1699 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. |
| 1700 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. |
| 1701 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise. |
| 1702 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. |
| 1703 | * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. |
| 1704 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. |
| 1705 | |
| 1706 | * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] |
| 1707 | (sysdep_routines): Add setfsuid and setfsgid here. |
| 1708 | * sysdeps/unix/sysv/linux/arm/Makefile: Not here. |
| 1709 | * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise. |
| 1710 | * sysdeps/unix/sysv/linux/cris/Makefile: Likewise. |
| 1711 | * sysdeps/unix/sysv/linux/sh/Makefile: Likewise. |
| 1712 | * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise. |
| 1713 | * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise. |
| 1714 | * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. |
| 1715 | * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. |
| 1716 | |
| 1717 | * hurd/errno.c: Renamed to ... |
| 1718 | * hurd/errno-loc.c: ... this. |
| 1719 | * hurd/Makefile (routines): errno -> errno-loc |
| 1720 | |
| 1721 | 2002-10-13 Ulrich Drepper <drepper@redhat.com> |
| 1722 | |
| 1723 | * po/de.po: Update from translation team. |
| 1724 | |
| 1725 | * MakeTAGS: Add -E flag to xgettext runs. |
| 1726 | |
| 1727 | 2002-10-12 Ulrich Drepper <drepper@redhat.com> |
| 1728 | |
| 1729 | * po/fr.po: Update from translation team. |
| 1730 | |
| 1731 | * sysdeps/posix/system.c: Remove support for old and buggy SCO systems. |
| 1732 | Optimize a bit for use in glibc. |
| 1733 | |
| 1734 | 2002-10-12 Roland McGrath <roland@redhat.com> |
| 1735 | |
| 1736 | * stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds. |
| 1737 | Some machines are slow. Guido Guenther <agx@sigxcpu.org> has one. |
| 1738 | |
| 1739 | 2002-10-12 Ulrich Drepper <drepper@redhat.com> |
| 1740 | |
| 1741 | * po/sv.po: Update from translation team. |
| 1742 | |
| 1743 | 2002-10-11 Isamu Hasegawa <isamu@yamato.ibm.com> |
| 1744 | |
| 1745 | * posix/regcomp.c (re_compile_fastmap_iter): Remove the handling |
| 1746 | OP_CONTEXT_NODE. |
| 1747 | (regfree): Likewise. |
| 1748 | (create_initial_state): Likewise. |
| 1749 | (analyze): Remove the substitutions which became useless. |
| 1750 | (calc_first): Likewise. |
| 1751 | (calc_epsdest): Use edests of OP_BACK_REF in case that it has |
| 1752 | epsilon destination. |
| 1753 | (duplicate_node_closure): New function. |
| 1754 | (duplicate_node): Remove the handling OP_CONTEXT_NODE. |
| 1755 | (calc_inveclosure): Likewise. |
| 1756 | (calc_eclosure): Likewise. |
| 1757 | (calc_eclosure_iter): Invoke duplicate_node_closure instead of |
| 1758 | direct invocation of duplicate_node. |
| 1759 | (parse): Don't use comma operator in the return to avoid compiler |
| 1760 | warning. |
| 1761 | (parse_reg_exp): Likewise. |
| 1762 | (parse_branch): Likewise. |
| 1763 | (parse_expression): Likewise. |
| 1764 | (parse_sub_exp): Likewise. |
| 1765 | (parse_dup_op): Likewise. |
| 1766 | * posix/regex_internal.c (re_dfa_add_node): Remove the substitutions |
| 1767 | which became useless. |
| 1768 | (create_ci_newstate): Remove the handling OP_CONTEXT_NODE. |
| 1769 | (create_cd_newstate): Likewise. |
| 1770 | * posix/regex_internal.h (re_token_type_t): Remove the obsolete type. |
| 1771 | (re_token_t): Likewise. |
| 1772 | (re_dfa_t): Likewise. |
| 1773 | (re_node_set_remove): New macro. |
| 1774 | * posix/regexec.c (check_matching): Remove the handling |
| 1775 | OP_CONTEXT_NODE. |
| 1776 | (check_halt_node_context): Likewise. |
| 1777 | (proceed_next_node): Likewise. |
| 1778 | (pop_fail_stack): Fix the memory leak. |
| 1779 | (set_regs): Likewise. |
| 1780 | (free_fail_stack_return): New function. |
| 1781 | (sift_states_backward): Fix the memory leak. Remove the handling |
| 1782 | OP_CONTEXT_NODE. |
| 1783 | (update_cur_sifted_state): Append some if clause to avoid redundant |
| 1784 | call. |
| 1785 | (sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a |
| 1786 | back reference. |
| 1787 | (check_dst_limits): Remove the handling OP_CONTEXT_NODE. |
| 1788 | (check_subexp_limits): Likewise. |
| 1789 | (search_subexp): Likewise. |
| 1790 | (sift_states_bkref): Likewise. |
| 1791 | (transit_state_mb): Likewise. |
| 1792 | (transit_state_bkref_loop): Likewise. |
| 1793 | (transit_state_bkref_loop): Likewise. |
| 1794 | (group_nodes_into_DFAstates): Likewise. |
| 1795 | (check_node_accept): Likewise. |
| 1796 | (sift_ctx_init): Add initializing. |
| 1797 | |
| 1798 | 2002-10-12 Ulrich Drepper <drepper@redhat.com> |
| 1799 | |
| 1800 | * sysdeps/unix/sysv/linux/i386/sysdep.h (INLINE_SYSCALL): Use |
| 1801 | __builtin_expect. |
| 1802 | |
| 1803 | 2002-10-11 Ulrich Drepper <drepper@redhat.com> |
| 1804 | |
| 1805 | * elf/dl-load.c (_dl_map_object_from_fd): Remove unnecessarily |
| 1806 | duplicated variable c. |
| 1807 | |
| 1808 | * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use INTERNAL_SYSCALL |
| 1809 | if possible. |
| 1810 | |
| 1811 | * sysdeps/unix/sysv/linux/i386/sysdep.h |
| 1812 | (INTERNAL_SYSCALL_ERROR_P): New define. |
| 1813 | (INTERNAL_SYSCALL_ERRNO): Likewise. |
| 1814 | |
| 1815 | * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): |
| 1816 | Add hack to prevent the compiler from clobbering the signal context. |
| 1817 | |
| 1818 | 2002-10-11 Roland McGrath <roland@redhat.com> |
| 1819 | |
| 1820 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): |
| 1821 | Fix typos. |
| 1822 | |
| 1823 | * sysdeps/generic/dl-lookupcfg.h: Include <tls.h>. |
| 1824 | * sysdeps/sh/dl-lookupcfg.h: File removed. |
| 1825 | * sysdeps/i386/dl-lookupcfg.h: File removed. |
| 1826 | |
| 1827 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add |
| 1828 | missing labels and ; from last change. |
| 1829 | |
| 1830 | * stdio-common/tst-sscanf.c (val_double): Append .0 to large whole |
| 1831 | number literals, so they are doubles instead of ints. |
| 1832 | |
| 1833 | 2002-10-09 Roland McGrath <roland@redhat.com> |
| 1834 | |
| 1835 | * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional |
| 1836 | changed from [USE_TLS && HAVE___THREAD]. |
| 1837 | |
| 1838 | * sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel): |
| 1839 | Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD]. |
| 1840 | * sysdeps/x86_64/dl-machine.h |
| 1841 | (elf_machine_type_class, elf_machine_rela): Likewise. |
| 1842 | * sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela): |
| 1843 | Likewise. |
| 1844 | |
| 1845 | * include/link.h (struct link_map): Remove member l_tls_tp_initialized. |
| 1846 | * elf/rtld.c (_dl_start_final, dl_main): Don't use it. |
| 1847 | (_dl_start): Conditionalize PT_TLS check on [USE___THREAD]. |
| 1848 | |
| 1849 | * sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal |
| 1850 | instead of ___tls_get_addr. |
| 1851 | (___tls_get_addr_internal): Add attribute_hidden to decl. |
| 1852 | |
| 1853 | * sysdeps/generic/ldsodefs.h (struct rtld_global): New variable |
| 1854 | _dl_error_catch_tsd. |
| 1855 | * elf/rtld.c (startup_error_tsd): New function. |
| 1856 | (dl_main): Point _dl_error_catch_tsd at that. |
| 1857 | * elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR, |
| 1858 | use new function pointer instead. |
| 1859 | * elf/dl-tsd.c: New file. |
| 1860 | * elf/Makefile (routines): Add it. |
| 1861 | |
| 1862 | 2002-10-07 Roland McGrath <roland@redhat.com> |
| 1863 | |
| 1864 | * elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for |
| 1865 | writev if it's available. Otherwise if [RTLD_PRIVATE_ERRNO] then |
| 1866 | take _dl_load_lock around calling __writev. |
| 1867 | |
| 1868 | * sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro. |
| 1869 | (INLINE_SYSCALL): Use that. |
| 1870 | |
| 1871 | * sysdeps/generic/dl-sysdep.h: New file. |
| 1872 | * sysdeps/mach/hurd/dl-sysdep.h: New file. |
| 1873 | * sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>. |
| 1874 | * include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ... |
| 1875 | [RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and |
| 1876 | access it directly. |
| 1877 | * elf/dl-minimal.c (__errno_location): Removed. |
| 1878 | * sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]: |
| 1879 | Use GOTOFF access for errno. |
| 1880 | * sysdeps/unix/sysv/linux/i386/sysdep.h |
| 1881 | [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise. |
| 1882 | |
| 1883 | * sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]: |
| 1884 | Use PC-relative access for errno. |
| 1885 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h |
| 1886 | [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise. |
| 1887 | |
| 1888 | * include/tls.h: New file. |
| 1889 | (USE___THREAD): New macro. |
| 1890 | Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling |
| 1891 | libc or libpthread. |
| 1892 | * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional |
| 1893 | changed from [USE_TLS && HAVE___THREAD]. |
| 1894 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. |
| 1895 | * sysdeps/unix/i386/sysdep.S: Likewise. |
| 1896 | * sysdeps/unix/x86_64/sysdep.S: Likewise. |
| 1897 | * include/errno.h: Likewise. |
| 1898 | * include/netdb.h: Likewise. |
| 1899 | * include/resolv.h: Likewise. |
| 1900 | |
| 1901 | * sysdeps/generic/errno.c: New file. |
| 1902 | * csu/Makefile (aux): New variable, list errno. |
| 1903 | * sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns. |
| 1904 | * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise. |
| 1905 | * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise. |
| 1906 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. |
| 1907 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. |
| 1908 | * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise. |
| 1909 | * sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise. |
| 1910 | * sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise. |
| 1911 | * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise. |
| 1912 | * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise. |
| 1913 | * sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise. |
| 1914 | * sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise. |
| 1915 | * sysdeps/unix/alpha/sysdep.S: Likewise. |
| 1916 | * sysdeps/generic/start.c: Likewise. |
| 1917 | * sysdeps/unix/start.c: Likewise. |
| 1918 | * sysdeps/unix/arm/start.c: Likewise. |
| 1919 | * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. |
| 1920 | * sysdeps/unix/sparc/start.c: Likewise. |
| 1921 | * sysdeps/unix/sysv/irix4/start.c: Likewise. |
| 1922 | * sysdeps/unix/sysv/linux/mips/sysdep.S: File removed. |
| 1923 | |
| 1924 | * manual/search.texi (Tree Search Function, Hash Search Function): |
| 1925 | Mention search.h clearly. |
| 1926 | |
| 1927 | 2002-10-05 Roland McGrath <roland@redhat.com> |
| 1928 | |
| 1929 | * elf/dl-fxstat64.c: File removed. |
| 1930 | * elf/dl-xstat64.c: File removed. |
| 1931 | * elf/Makefile (rtld-routines): Remove them. |
| 1932 | * sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals. |
| 1933 | Instead, use strong_alias instead of versioned_symbol in the |
| 1934 | !SHLIB_COMPAT case. |
| 1935 | * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. |
| 1936 | * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. |
| 1937 | |
| 1938 | * include/shlib-compat.h |
| 1939 | (SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero. |
| 1940 | [! NOT_IN_libc] (IS_IN_libc): Define it. |
| 1941 | * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx. |
| 1942 | * elf/Makefile (CPPFLAGS-.os): Likewise. |
| 1943 | |
| 1944 | * sunrpc/rpc_main.c (main): Don't declare with noreturn attribute. |
| 1945 | Return the status instead of calling exit. |
| 1946 | |
| 1947 | * Makeconfig (CFLAGS): Prepend -std=gnu99. |
| 1948 | * Makerules (+make-deps): Use $(CFLAGS) only for .c sources. |
| 1949 | Remove superfluous rm command, whose @ plus make bugs hid |
| 1950 | all these commands from the make output. |
| 1951 | |
| 1952 | * include/stubs-prologue.h: New file. Give #error under #ifdef _LIBC. |
| 1953 | * Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it. |
| 1954 | Use that file's contents instead of literal echo's for the prologue. |
| 1955 | * include/features.h: Include <gnu/stubs.h> unconditionally. |
| 1956 | * include/gnu/stubs.h: New file. |
| 1957 | |
| 1958 | 2002-09-30 Roland McGrath <roland@redhat.com> |
| 1959 | |
| 1960 | * elf/rtld-Rules: New file. |
| 1961 | * elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk, |
| 1962 | $(objpfx)rtld-libc.a): New targets. |
| 1963 | (generated): Add them. |
| 1964 | (reloc-link): Remove -o $@ from the variable. |
| 1965 | ($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link). |
| 1966 | (distribute): Add rtld-Rules. |
| 1967 | (CPPFLAGS-.os): Define this instead of CFLAGS-.os. |
| 1968 | * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets. |
| 1969 | (common-mostlyclean, common-clean): Clean up rtld-* files. |
| 1970 | * sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules. |
| 1971 | |
| 1972 | 2003-05-20 Jakub Jelinek <jakub@redhat.com> |
| 1973 | |
| 1974 | * elf/dynamic-link.h (elf_get_dynamic_info): Add temp argument. |
| 1975 | If temp != NULL, copy dynamic entries which need relocation to temp |
| 1976 | array before relocating. |
| 1977 | (DL_RO_DYN_TEMP_CNT): Define. |
| 1978 | * elf/dl-load.c (_dl_map_object_from_fd): Adjust caller. |
| 1979 | * elf/rtld.c (_dl_start): Likewise. |
| 1980 | (dl_main): Likewise. Add dyn_temp static variable. |
| 1981 | |
| 1982 | 2002-10-11 Roland McGrath <roland@redhat.com> |
| 1983 | |
| 1984 | * sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in |
| 1985 | now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED. |
| 1986 | |
| 1987 | * elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the |
| 1988 | proper set of no-op insn prefixes. |
| 1989 | |
| 1990 | * elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members. |
| 1991 | |
| 1992 | 2002-10-11 Ulrich Drepper <drepper@redhat.com> |
| 1993 | |
| 1994 | * sysdeps/unix/sysv/linux/execve.c: Don't try calling |
| 1995 | __pthread_kill_other_threads_np. |
| 1996 | |
| 1997 | * sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls. |
| 1998 | |
| 1999 | 2002-10-08 Roland McGrath <roland@redhat.com> |
| 2000 | |
| 2001 | * locale/newlocale.c (__newlocale): If setting all categories to "C", |
| 2002 | just return &_nl_C_locobj instead of copying it. |
| 2003 | * locale/freelocale.c (__freelocale): Check for &_nl_C_locobj. |
| 2004 | * locale/duplocale.c (__duplocale): Likewise. |
| 2005 | |
| 2006 | 2002-10-07 Roland McGrath <roland@frob.com> |
| 2007 | |
| 2008 | * config.h.in (HAVE_I386_SET_GDT): New #undef. |
| 2009 | * sysdeps/mach/configure.in: Define it with new check for i386_set_gdt. |
| 2010 | * sysdeps/mach/configure: Regenerated. |
| 2011 | |
| 2012 | 2002-10-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
| 2013 | |
| 2014 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): |
| 2015 | Add all necessary register outputs for syscall-clobbered registers. |
| 2016 | |
| 2017 | 2002-10-02 David Mosberger <davidm@hpl.hp.com> |
| 2018 | |
| 2019 | * sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for |
| 2020 | Itanium 2 (and Itanium). |
| 2021 | Fix unwind directives and make it fit in 80 columns. |
| 2022 | * sysdeps/ia64/memset.S: Likewise. |
| 2023 | * sysdeps/ia64/memcpy.S: Likewise. |
| 2024 | Move jump table to .rodata section. |
| 2025 | |
| 2026 | 2002-10-03 Roland McGrath <roland@frob.com> |
| 2027 | |
| 2028 | * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add |
| 2029 | clobbers to asm. |
| 2030 | |
| 2031 | 2002-10-10 Andreas Jaeger <aj@suse.de> |
| 2032 | |
| 2033 | * sysdeps/x86_64/_mcount.S: Restore correct registers. |
| 2034 | |
| 2035 | 2002-10-10 Ulrich Drepper <drepper@redhat.com> |
| 2036 | |
| 2037 | * posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect. |
| 2038 | |
| 2039 | 2002-10-09 Ulrich Drepper <drepper@redhat.com> |
| 2040 | |
| 2041 | * sysdeps/generic/ldsodefs.h: Remove attribute_hidden from |
| 2042 | _dl_allocate_tls_init. Add rtld_hidden_proto. |
| 2043 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add |
| 2044 | rtld_hidden_def. |
| 2045 | * elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init. |
| 2046 | |
| 2047 | * version.h (VERSION): Bump to 2.3.1. |
| 2048 | |
| 2049 | * Make-dist: Add back one of the tar invocations removed before. |
| 2050 | |
| 2051 | * stdlib/Makefile (distribute): Add allocalim.h. |
| 2052 | |
| 2053 | * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)] |
| 2054 | (__libc_tsd_address): Use correct variable name. |
| 2055 | Patch by Stefan Jones <stefan.jones@multigig.com>. |
| 2056 | |
| 2057 | * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;. |
| 2058 | Reported by edwardsg@sgi.com [PR libc/4678]. |
| 2059 | |
| 2060 | * Versions.def (libc): Add GLIBC_2.3.1. |
| 2061 | (libpthread): Add GLIBC_2.3.1. |
| 2062 | |
| 2063 | * include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo, |
| 2064 | and __sigtimedwait. |
| 2065 | * signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo. |
| 2066 | * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add |
| 2067 | libc_hidden_def. |
| 2068 | * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise. |
| 2069 | * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise. |
| 2070 | |
| 2071 | * include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd. |
| 2072 | * sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv |
| 2073 | and make old name an alias. |
| 2074 | * sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd |
| 2075 | and make old name an alias. |
| 2076 | * sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and |
| 2077 | __libc_msgsnd. |
| 2078 | |
| 2079 | * include/sys/uio.h: Declare __libc_readv and __libc_writev. |
| 2080 | * misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and |
| 2081 | __libc_writev. |
| 2082 | * sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make |
| 2083 | old name an alias. |
| 2084 | * sysdeps/posix/readv.c: Likewise |
| 2085 | * sysdeps/unix/sysv/aix/readv.c: Likewise. |
| 2086 | * sysdeps/unix/sysv/linux/readv.c: Likewise. |
| 2087 | * sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make |
| 2088 | old name an alias. |
| 2089 | * sysdeps/posix/writev.c: Likewise |
| 2090 | * sysdeps/unix/sysv/aix/writev.c: Likewise. |
| 2091 | * sysdeps/unix/sysv/linux/writev.c: Likewise. |
| 2092 | |
| 2093 | * include/sys/wait.h: Declare __waitid. |
| 2094 | * posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid. |
| 2095 | * sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old |
| 2096 | name an alias. |
| 2097 | * sysdeps/posix/waitid.c: Likewise. |
| 2098 | * sysdeps/unix/sysv/aix/waitid.c: Likewise. |
| 2099 | |
| 2100 | * sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall. |
| 2101 | |
| 2102 | 2002-10-07 Jakub Jelinek <jakub@redhat.com> |
| 2103 | |
| 2104 | * include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New |
| 2105 | prototypes. |
| 2106 | (__MAX_ALLOCA_CUTOFF): Define. |
| 2107 | Include allocalim.h. |
| 2108 | * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r, |
| 2109 | _nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate |
| 2110 | host_buffer depending on __libc_use_alloca. |
| 2111 | * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r, |
| 2112 | _nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate |
| 2113 | net_buffer depending on __libc_use_alloca. |
| 2114 | * resolv/res_query.c (res_nquery): Use alloca or malloc to allocate |
| 2115 | buf depending on __libc_use_alloca. |
| 2116 | * resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise. |
| 2117 | * stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca |
| 2118 | instead of hardcoded constants. |
| 2119 | Pass proper size argument to alloca and compute end for wide char |
| 2120 | version. |
| 2121 | * stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca |
| 2122 | instead of hardcoded constants. |
| 2123 | * string/strcoll.c (strcoll): Likewise. |
| 2124 | * string/strxfrm.c (strxfrm): Likewise. |
| 2125 | * sysdeps/posix/readv.c (__readv): Likewise. |
| 2126 | * sysdeps/posix/writev.c (__writev): Likewise. |
| 2127 | * sysdeps/generic/allocalim.h: New file. |
| 2128 | |
| 2129 | 2002-10-08 Roland McGrath <roland@redhat.com> |
| 2130 | |
| 2131 | * configure.in (aux_missing warning): Change "too old" to |
| 2132 | "incompatible versions", since for autoconf it's "too new" right now. |
| 2133 | * configure: Regenerated. |
| 2134 | |
| 2135 | * configure.in (AUTOCONF): New check to set it. Set to "no" if the |
| 2136 | one found doesn't work on our configure.in. |
| 2137 | * configure: Regenerated. |
| 2138 | * config.make.in (AUTOCONF): New substituted variable. |
| 2139 | * Makefile (autoconf-it-cvs): New canned sequence, broken out of ... |
| 2140 | (autoconf-it): ... here, use that instead of defining conditionally. |
| 2141 | Use $(AUTOCONF) instead of literal autoconf. |
| 2142 | [$(AUTOCONF) != no] (configure, %/configure): Protect these rules |
| 2143 | with this condition. |
| 2144 | * Make-dist (autoconf-it, configure, %/configure): Copy those changes. |
| 2145 | |
| 2146 | 2002-10-08 Ulrich Drepper <drepper@redhat.com> |
| 2147 | |
| 2148 | * Make-dist (dist): Cleanup a bit. We are not interested in the |
| 2149 | 14 char filename limit anymore. Remove intermediate files and |
| 2150 | symlinks. |
| 2151 | |
| 2152 | 2002-10-05 Ulrich Drepper <drepper@redhat.com> |
| 2153 | |
| 2154 | * po/sk.po: Update from translation team. |
| 2155 | * po/tr.po: Likewise. |
| 2156 | * po/gl.po: Likewise. |
| 2157 | |
| 2158 | 2002-10-05 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
| 2159 | |
| 2160 | * elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax. |
| 2161 | |
| 2162 | 2002-10-03 Ulrich Drepper <drepper@redhat.com> |
| 2163 | |
| 2164 | * version.h (RELEASE): Change to stable. |
| 2165 | |
| 2166 | 2002-10-03 Jakub Jelinek <jakub@redhat.com> |
| 2167 | |
| 2168 | * sysdeps/unix/sysv/linux/_exit.c (__syscall_exit, |
| 2169 | __syscall_exit_group): New prototypes. |
| 2170 | |
| 2171 | 2002-10-03 Ulrich Drepper <drepper@redhat.com> |
| 2172 | |
| 2173 | * glibc 2.3 released. |
| 2174 | |
| 2175 | |
| 2176 | See ChangeLog.13 for earlier changes. |