]> sourceware.org Git - glibc.git/blame - ChangeLog
* posix/bug-regex13.c: Include <string.h>.
[glibc.git] / ChangeLog
CommitLineData
dde2652b
RM
12002-12-01 Roland McGrath <roland@redhat.com>
2
6d342318
RM
3 * posix/bug-regex13.c: Include <string.h>.
4
dde2652b
RM
5 * sysdeps/generic/libc-start.c (__libc_start_main): Do
6 DL_SYSDEP_OSCHECK here.
7 * sysdeps/unix/sysv/linux/init-first.c (init): Not here.
8 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <fcntl.h>.
9
10 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Bail if
11 argument TCBSIZE <= TLS_INIT_TCB_SIZE, not just if it's zero.
12
13 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Check l_tls_offset
14 instead of l_type to decide whether to use TLS_DTV_UNALLOCATED.
15
16 * include/link.h: Comment typo fix.
17
182002-12-01 Roland McGrath <roland@frob.com>
19
20 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_FSYNC): Set to 200112L.
21 (_POSIX_SPAWN, _POSIX_MAPPED_FILES, _POSIX_MEMLOCK_RANGE,
22 _POSIX_MEMORY_PROTECTION): Likewise.
23 (_POSIX_POLL, _POSIX_SELECT): Removed.
24
cb0e76b4
UD
252002-11-28 Ulrich Drepper <drepper@redhat.com>
26
27 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define macros which
28 require it to 200112L. Remove _POSIX_POLL and _POSIX_SELECT.
29
ddf4ffad
UD
302002-11-28 Jakub Jelinek <jakub@redhat.com>
31
32 * sysdeps/unix/alpha/sysdep.S: Change defined(USE___THREAD) to
33 USE___THREAD.
34 * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall*): Avoid
35 "=v" constraints.
36
acd42b78
UD
372002-11-28 Ulrich Drepper <drepper@redhat.com>
38
39 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Don't trash the CPU's
40 branch prediction buffers by using unpaired call/ret.
41
d08bef80
UD
422002-11-27 Ulrich Drepper <drepper@redhat.com>
43
44 * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Fix typo in
45 first parameters constraint string.
46 (ASMFMT_3): Likewise. Patch by stefan.lauterbach@mincom.de.
47
6291ee3c
UD
482002-11-27 Isamu Hasegawa <isamu@yamato.ibm.com>
49
50 * posix/regcomp.c (parse_expression): Set the bit since the back
51 reference is used in the regular expression.
52 * posix/regex_internal.c (re_node_set_init_1): Make it clean in case
53 of malloc failure.
54 (re_node_set_init_copy): Likewise.
55 * posix/regex_internal.h (state_array_t): New structure.
56 (re_sub_match_last_t): Likewise.
57 (re_sub_match_top_t): Likewise.
58 (re_match_context_t): Add new members.
59 (re_dfa_t): Likewise.
60 * posix/regexec.c (re_search_internal): Invoke prune_impossible_nodes
61 to check the matching is really correct, and retry if failed.
62 Move the routin pruning the impossible nodes from here, ...
63 (prune_impossible_nodes): To this function.
64 (check_matching): Invoke check_subexp_matching_top, and replace
65 redundant checking with transit_state_bkref invocation.
66 (proceed_next_node): Replace strncmp with memcmp. Reported by
67 Paolo Bonzini <bonzini@gnu.org>.
68 (update_cur_sifted_state): Remove search_subexp invocation.
69 (search_subexp): Remove this function.
70 (check_dst_limits_calc_pos): Use search_cur_bkref_entry for
71 optimization.
72 (sift_states_bkref): Use search_cur_bkref_entry for optimization.
73 Remove unused invocation of match_ctx_add_entry.
74 (transit_state): Invoke check_subexp_matching_top.
75 (check_subexp_matching_top): New function.
76 (transit_state_bkref): Remove unused array.
77 Merge transit_state_bkref_loop.
78 (transit_state_bkref_loop): Use get_subexp instead of
79 sift_states_backward. Use search_cur_bkref_entry for optimization.
80 Merge this function to transit_state_bkref.
81 (get_subexp): New function.
82 (get_subexp_sub): Likewise.
83 (find_subexp_node): Likewise.
84 (check_arrival): Likewise.
85 (check_arrival_expand_ecl): Likewise.
86 (check_arrival_expand_ecl_sub): Likewise.
87 (expand_bkref_cache): Likewise.
88 (match_ctx_init): Initialize new members.
89 (match_ctx_clean): New function.
90 (match_ctx_free): Release new members.
91 (match_ctx_free_subtops): New function.
92 (match_ctx_add_entry): Fix indent.
93 (search_cur_bkref_entry): New function.
94 (match_ctx_add_subtop): Likewise.
95 (match_ctx_add_sublast): Likewise.
96
9b1a4ec3
UD
972002-11-25 Ulrich Drepper <drepper@redhat.com>
98
99 * iconv/Makefile (tests): Remove tst-iconv4.c
100 * iconv/tst-iconv4.c: Moved to...
101 * iconvdata/tst-iconv4.c: ...here. New file.
102 * iconvdata/Makefile (tests): Add tst-iconv4. Add dependencies.
103
832fd8e8
RM
1042002-11-25 Roland McGrath <roland@redhat.com>
105
6938e63f
RM
106 * inet/test-ifaddrs.c (main: addr_string): Handle null SA.
107 Grok AF_LINK if defined.
108 From Momchil Velikov <velco@fadata.bg>.
109
110 * sysdeps/gnu/ifaddrs.c (getifaddrs): If ioctl fails for netmask,
111 brdaddr, or dstaddr, just set those pointers to null and don't fail.
112 Reported by Momchil Velikov <velco@fadata.bg>.
113
114 * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: If sa_len
115 is > sizeof IFR->ifa_addr, advance past the whole longer length.
116 (__ifreq): Count up NIFS that way too.
117 Reported by Momchil Velikov <velco@fadata.bg>.
118
119 * sysdeps/mach/hurd/lchmod.c: Include <fcntl.h>.
120
832fd8e8
RM
121 * sysdeps/mach/hurd/i386/init-first.c: Include <ldsodefs.h>
122 and <fpu_control.h>.
123
e195fbaf
UD
1242002-11-24 Ulrich Drepper <drepper@redhat.com>
125
126 * elf/elf.h (EM_ST19): Fix typo.
127
983d597e
RM
1282002-11-25 Jakub Jelinek <jakub@redhat.com>
129
130 * include/errno.h (__set_errno): Define as errno = val
131 unconditionally.
132
13a571a7
RM
1332002-11-24 Roland McGrath <roland@redhat.com>
134
bf2cc5fb
RM
135 * sysdeps/posix/readv.c: Include <errno.h>, use __set_errno macro.
136 * sysdeps/posix/writev.c: Likewise.
137 From Momchil Velikov <velco@fadata.bg>.
138
139 * elf/dl-error.c [! _LIBC_REENTRANT]: Use a static variable instead of
140 calling *GL(dl_error_catch_tsd) for a thread-local location.
141 * elf/rtld.c (startup_error_tsd): Conditionalize on [_LIBC_REENTRANT].
142 (dl_main): Same for GL(dl_error_catch_tsd) initialization.
143 * elf/dl-tsd.c: Conditionalize contents on [_LIBC_REENTRANT].
144
145 * libio/iofflush.c: Add libc_hidden_def.
146 * libio/iofwrite.c: Likewise.
147 * sysdeps/generic/sigtimedwait.c: Likewise.
148 * sysdeps/generic/sigwaitinfo.c: Likewise.
149 * sysdeps/posix/sigwait.c: Likewise.
150 Reported by Momchil Velikov <velco@fadata.bg>.
151
152 * inet/inet_lnaof.c (inet_lnaof): Change return type to in_addr_t
153 to match <arpa/inet.h> declaration.
154 * inet/inet_netof.c (inet_netof): Likewise.
155 * inet/inet_mkadr.c (inet_makeaddr): Likewise for argument types.
156 Reported by Momchil Velikov <velco@fadata.bg>.
157
13a571a7
RM
158 * configure.in: Skip AUTOCONF check under --without-cvs.
159 * configure: Regenerated.
160
161 * posix/Makefile (headers): Add bits/pthreadtypes.h.
162 * sysdeps/unix/sysv/linux/Makefile (sysdep_heaers): Don't add it here.
163 * sysdeps/unix/sysv/linux/Dist: Remove it from the list.
164
d7a5c7e7
AS
1652002-11-24 Andreas Schwab <schwab@suse.de>
166
167 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Support inline syscall
168 with six arguments.
169
93ed04cc
UD
1702002-11-19 Jim Meyering <jim@meyering.net>
171
172 * time/mktime.c (__mon_yday, __mktime_internal) [!_LIBC]: Declare
173 as `static'.
174 * time/strptime.c (__mon_yday) [!_LIBC]: Declare as `static'.
175
f069a143
RM
1762002-11-23 Roland McGrath <roland@redhat.com>
177
56c71d45
RM
178 * scripts/abilist.awk: Avoid strtonum function, not there in mawk.
179 Just produce hex output for datum sizes.
180
f069a143
RM
181 * elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp.
182 Reported by Luca Barbieri <ldb@ldb.ods.org>.
183
a2413106 1842002-11-20 Steven Munroe <sjmunroe@us.ibm.com>
54789f38 185
4a32f19d
RM
186 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds)
187 [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
188 and __unused3 fields.
189 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds)
190 [__WORDSIZE == 32]: Only PPC32 requires __unused1
191 and __unused2 fields.
192 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds)
193 [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
8faa165f 194 __unused3, and __unused4 fields.
4a32f19d 195
a2413106
RM
196 * csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to
197 obtain lowest address for profiling in __monstartup call.
54789f38 198
1c120cb8
RM
1992002-11-21 Roland McGrath <roland@redhat.com>
200
a2413106
RM
201 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove redunant
202 $(calls) $(calls:=f) $(long-c-$(long-double-fcts)).
203
54789f38
RM
204 * locale/localeinfo.h (struct locale_data): Revert last change.
205
1c120cb8
RM
206 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
207 From Ian Wienand <ianw@gelato.unsw.edu.au>.
208
209 * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to
210 __NR_pread64 if not defined.
211 (__NR_pwrite): Define to __NR_pwrite64 if not defined.
212 From Ian Wienand <ianw@gelato.unsw.edu.au>.
213
a2413106
RM
2142002-11-21 Roland McGrath <roland@frob.com>
215
216 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set
217 __libc_multiple_libcs here. Call __setfpucw.
218
755e51be
UD
2192002-11-21 Ulrich Drepper <drepper@redhat.com>
220
5982aa10
UD
221 * elf/Makefile (tests): Don't run test-arrayX tests for now.
222
755e51be
UD
223 * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags.
224 * sysdeps/unix/sysv/linux/i386/clone.S: Add support for
225 CLONE_CHILD_*TID flags.
226
714a17c3
AJ
2272002-11-20 Andreas Jaeger <aj@suse.de>
228
229 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
230 We pass struct ucontext on x86-64.
231 (GET_PC): Adjust.
232 (GET_FRAME): Adjust.
233 (GET_STACK): Adjust.
234
5d0bbaaf
RM
2352002-11-20 Roland McGrath <roland@redhat.com>
236
ab9ba655
RM
237 * sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further
238 conditionalize [! DO_VERSIONING] #error.
239
5d0bbaaf
RM
240 * scripts/abilist.awk: Grok function descriptor symbols.
241
242 * intl/tst-gettext.c (main): Check return values from setlocale.
243 Add necessary unsetenv's to make LANG=existing-locale check work.
244
245 * intl/tst-gettext.sh: Use mkdir -p. Copy test files unconditionally,
246 so aborted prior runs don't confuse things.
247
248 * locale/localeinfo.h (struct locale_data: union locale_data_value):
249 Use uintptr_t instead of unsigned int for `word' member.
250 (_NL_CURRENT_WORD): Cast to uint32_t.
251
252 * posix/bug-regex5.c (main): Use union to extract _NL_COLLATE_NRULES
253 value.
254
218d76e0
UD
2552002-11-20 Ulrich Drepper <drepper@redhat.com>
256
eec62f42
UD
257 * elf/tls-macros.h: Add IA-64 definitions.
258 Patch by Ian Wienand <ianw@gelato.unsw.edu.au>.
259
d84e7efa
UD
260 * iconv/Makefile (tests): Add tst-iconv4.
261 * iconv/tst-iconv4.c: New file.
262
eb9dc2a2
UD
263 * iconv/gconv_simple.c (internal_ucs4le_loop_unaligned): Return
264 __GCONV_EMPTY_INPUT only if input is really empty. Otherwise
265 __GCONV_INCOMPLETE_INPUT.
266 (ucs4le_internal_loop): Likewise.
267 (ucs4le_internal_loop_unaligned): Likewise.
268 * iconvdata/unicode.c (PREPARE_LOOP): Likewise.
269 * iconvdata/utf-16.c (PREPARE_LOOP): Likewise.
270 * iconvdata/utf-32.c (PREPARE_LOOP): Likewise.
271
272 * iconv/loop.c (LOOPFCT): First test for empty input then for full
273 output buffer.
274
218d76e0
UD
275 * inet/getnameinfo.c: Use extend_alloca where appropriate.
276 * sysdeps/posix/getaddrinfo.c: Likewise.
277
278 * include/alloca.h (extend_alloca): New define. Based on stack
279 direction it'll try to append to the previouls allocated buffer.
280
2812002-11-07 Thorsten Kukuk <kukuk@suse.de>
282
283 * sysdeps/posix/getaddrinfo.c (gaih_inet): If AF_UNSPEC is set,
284 use the same service for AF_INET and AF_INET6.
285
2862002-11-19 Ulrich Drepper <drepper@redhat.com>
287
288 * intl/localealias.c (read_alias_file): Use only about 400 bytes
289 of stack space instead of 16k.
290
7f1b7f03
RM
2912002-11-18 Wolfram Gloger <wg@malloc.de>
292
293 * malloc/arena.c
294 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do
295 nothing if not initialized. Bug report from Marcus Brinkmann
296 <Marcus.Brinkmann@ruhr-uni-bochum.de>.
297
8d4d2833
RM
2982002-11-19 Roland McGrath <roland@redhat.com>
299
f0ddeeb5
RM
300 * posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity and
301 sched_setaffinity.
302
8d4d2833
RM
303 * configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries
304 `-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for
305 test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed.
306 * configure: Regenerated.
307
3c857306
UD
3082002-11-19 Ulrich Drepper <drepper@redhat.com>
309
310 * include/dlfcn.h: __libc_dlopen is now a macro calling
311 __libc_dlopen_mode with the extra parameter RTLD_LAZY.
312 (__libc_dlopen_mode): New prototype.
313 * elf/dl-libc.c (__libc_dlopen_mode): Renamed from __libc_dlopen. Add
314 new parameter. Store new parameter in mode field of structure passed
315 to do_dlopen.
316 (struct do_dlopen_args): Add new field mode.
317 (do_dlopen): Pass mode from parameter structure to _dl_open.
318
0bf5c050
RM
3192002-11-11 Randolf Chung <tausq@debian.org>
320
2674f2a3
RM
321 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
322 (F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
323 * sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.
324
0bf5c050
RM
325 * sysdeps/hppa/fpu/libm-test-ulps: New file (generated).
326
327 * sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable.
328 Set -mdisable-fpregs for this file.
329
3302002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
331
332 * sysdeps/unix/sysv/linux/configure.in:
333 Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols
334 from gcc-3.0 era for backwards compatibility.
335 * sysdeps/unix/sysv/linux/configure: Regenerate.
336
3c857306
UD
337 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
338 Define mcontext_t as a sigcontext.
0bf5c050 339
c27af28e
RM
3402002-11-18 Roland McGrath <roland@redhat.com>
341
0bf5c050
RM
342 * dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)).
343 Free memory in `last_result' if it was used.
344
345 * resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search
346 all aliases for one that matches the "<dotted-quad>.IN-ADDR.ARPA" form.
347 Do the parsing inline instead of copying strings and calling
348 inet_network, and properly skip all alias names not matching the form.
349
c27af28e
RM
350 * manual/pattern.texi (Variable Substitution): Fix # and ## examples.
351
a185f478
UD
3522002-11-17 Ulrich Drepper <drepper@redhat.com>
353
c27af28e
RM
354 * manual/pattern.texi (Wordexp Example): Fix sample code.
355
a185f478
UD
356 * sysdeps/unix/sysv/linux/i386/clone.S: Initialize word in the
357 childs stack which will be loaded into the %esi register.
358
c27af28e 3592002-11-14 Paul Eggert <eggert@twinsun.com>
9b57c1c1 360
a185f478
UD
361 * resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer
362 overflow when skipping the question part and when unpacking aliases.
9b57c1c1 363
502328b2
RM
3642002-11-15 Roland McGrath <roland@redhat.com>
365
366 * math/Makefile (libm-calls): Remove s_copysign, s_isinf, s_isnan,
367 s_finite, s_modf, s_scalbn, s_frexp, m_ldexp, s_signbit.
368 Instead add $(calls:s_%=m_%) to get m_* versions of them all.
369
92712dee
RM
3702002-11-15 Jakub Jelinek <jakub@redhat.com>
371
372 * sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
373 * sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.
374
3752002-11-15 Roland McGrath <roland@redhat.com>
376
377 * math/Makefile (libm-calls): Change s_ldexp to m_ldexp.
378 * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc]
379 from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep).
380 (+make-include-of-dep): New canned sequence.
381
382 * stdlib/canonicalize.c (__realpath): Check for malloc failure.
383 From Dmitry V. Levin <ldv@altlinux.org>.
384
d8b8842b
RM
3852002-11-14 Roland McGrath <roland@redhat.com>
386
53da80ab
RM
387 * sysdeps/generic/errno.c (__libc_errno): Remove alias.
388 * inet/herrno.c (__libc_h_errno): Likewise.
389 * resolv/res_libc.c (__libc_res): Likewise.
390 [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD].
391 (__res_state) [! USE___THREAD]: Don't define as weak.
392 * csu/Versions: Revert last change.
393 * resolv/Versions: Revert last change.
394
395 * Makerules ($(common-objpfx)%.make): New pattern rule.
396 * tls.make.c: New file.
397 * Makefile (distribute): Add it.
398
d8b8842b
RM
399 * sysdeps/generic/errno.c [! USE___THREAD]
400 [HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these
401 with compat_symbol so they are not link-time visible.
402 [! USE___THREAD] (__libc_errno): New alias for errno.
403 * csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
404 Add __libc_errno here.
405 * inet/herrno.c [USE___THREAD]: Use this conditional
406 in place of [USE_TLS && HAVE___THREAD].
407 [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING]
408 (h_errno, _h_errno): Declare these with compat_symbol so they are not
409 link-time visible.
410 [! USE___THREAD] (__libc_h_errno): New alias for h_errno.
411 * resolv/res_libc.c [! USE___THREAD]
412 [HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise.
413 (_res): Use __attribute__ ((section (".bss"))) so we can have an alias.
414 (__libc_res): Define as alias for _res.
415 * resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
416 Add __libc_h_errno and __libc_res here.
417
4182002-11-14 Jakub Jelinek <jakub@redhat.com>
419
420 * csu/Versions (errno): Move STT_TLS symbol to GLIBC_PRIVATE for now.
421 * resolv/Versions (h_errno, _res): Likewise.
422
6c0b2972
RM
4232002-11-14 Roland McGrath <roland@redhat.com>
424
425 * Makerules (%.dynsym): Remove $(objpfx) from target and dep.
426 (%.symlist): Likewise.
427
cdedcc79
RM
4282002-11-13 Roland McGrath <roland@redhat.com>
429
6e3d59bc
RM
430 * scripts/abilist.awk: New file.
431 * Makefile (distribute): Add it.
432 * Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules.
433 (tests): Depend on .symlist file for each $(install-lib.so-versioned).
c9e032d5
RM
434 [$(subdir) = elf] (tests): Depend on libc.symlist.
435 (generated, common-generated): Add those files.
436
6e3d59bc
RM
437 * aclocal.m4 (LIBC_PROG_BINUTILS): Check for objdump, set OBJDUMP.
438 * configure: Regenerated.
439 * config.make.in (OBJDUMP): New variable, substituted by configure.
440
441 * malloc/mcheck.c (struct hdr): New members `block' and `magic2'.
442 (mallochook, reallochook): Set them up.
443 (checkhdr): Check HDR->magic2 value.
444 (freehook): Reset HDR->magic2.
445 (memalignhook): New static function.
446 (old_memalign_hook): New static variable.
447 (mcheck, reallochook): Set __memalign_hook to memalignhook.
448
cdedcc79
RM
449 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the space
450 for the new TCB.
451
ba441d2c
AJ
4522002-11-13 Andreas Jaeger <aj@suse.de>
453
454 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Check for visibility
455 attribute.
456 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
457
be1960c6
RM
4582002-11-11 Paul Eggert <eggert@twinsun.com>
459
3c857306
UD
460 * manual/crypt.texi (Cryptographic Functions): Mention that
461 the MD5 one-way algorithm is compatible with BSD's.
be1960c6 462
1843975c
RM
4632002-11-11 Isamu Hasegawa <isamu@yamato.ibm.com>
464
465 * posix/regex_internal.c (re_string_skip_chars): Also return the last
466 wide character.
467 (re_string_reconstruct): Calculate the context by itself when the
468 offset points out of the valid range.
469 (re_string_context_at): Use wide character when MB_CUR_MAX > 1.
470 * posix/regex_internal.h (WIDE_NEWLINE_CHAR): New macro.
471 (IS_WIDE_WORD_CHAR): New macro.
472 (IS_WIDE_NEWLINE): New macro.
473
44df0cea
AJ
4742002-11-12 Andreas Jaeger <aj@suse.de>
475
6e14793d
AJ
476 * sysdeps/x86_64/strchr.S: Don't use one register for two
477 purposes, this fixes a bug noticed by test-strchr.c.
478
44df0cea
AJ
479 * sysdeps/x86_64/strcat.S: Fix algorithm to align source pointer
480 correctly.
481
7ceef50e
RM
4822002-11-12 Roland McGrath <roland@redhat.com>
483
43317e8e
RM
484 * libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]
485 (_G_IO_NO_BACKWARD_COMPAT): Define it.
486
7ceef50e
RM
487 * sysdeps/ia64/dl-fptr.c [_LIBC_REENTRANT]: Include <ia64intrin.h>
488 instead of <pt-machine.h>.
489 [_LIBC_REENTRANT] (lock, unlock): Use __sync_lock_* macros instead of
490 testandset.
491 From Ian Wienand <ianw@gelato.unsw.edu.au>.
492
adee0e1f
RM
4932002-11-10 Roland McGrath <roland@redhat.com>
494
1ab9366d
RM
495 * libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos.
496 Call fputs instead of fwprintf (simpler to follow in debugger).
497
4483f2c0
RM
498 * crypt/md5-crypt.c: Doc fix.
499
adee0e1f
RM
500 * sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at
501 the beginning of generated target commands.
502
503 * csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit
504 dependencies for these in case implicit rule search skipped the
505 nonexistent source directory.
506 * sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the
507 files with $(object-suffixes) as targets too.
508 * Makerules [no_deps && objpfx] (before-compile): Add $(objpfx).
509 and a target for it using $(make-target-directory).
510
511 * Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h.
512
8bbd8b0b
RM
5132002-11-10 Roland McGrath <roland@frob.com>
514
adee0e1f
RM
515 * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ...
516 * sysdeps/generic/bits/pthreadtypes.h: ... here.
517
8bbd8b0b
RM
518 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Treat a struct flock with
519 l_start == 0 and l_len == 1 as we do l_len == 0.
520
7fa0e180
UD
5212002-11-10 Ulrich Drepper <drepper@redhat.com>
522
523 * po/da.po: Update from translation team.
524
daf4e2bc
RM
5252002-11-10 Roland McGrath <roland@redhat.com>
526
527 * config.make.in (includedir): New variable, substituted by configure.
528 Reported missing by Jocelyn Fournier <joc@presence-pc.com>.
529 * Makeconfig (includedir): Use $(prefix), not $(exec_prefix).
530
2deea078
AJ
5312002-11-10 Andreas Jaeger <aj@suse.de>
532
09b4d75f
AJ
533 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add
534 REG_OLDMASK and REG_CR2 to synch with kernel header.
535 (NGREG): Increase.
536
2deea078
AJ
537 * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict
538 aliasing problem.
539 * nss/getXXbyYY_r.c (INTERNAL): Likewise.
540 * nss/getnssent_r.c (__nss_getent_r): Likewise.
541 (__nss_setent): Likewise.
542 (__nss_getent_r): Likewise.
543 * inet/getnetgrent_r.c (innetgr): Likewise.
544 (__internal_setnetgrent_reuse): Likewise.
545 (internal_getnetgrent_r): Likewise.
546 * inet/ether_hton.c (ether_hostton): Likewise.
547 * inet/ether_ntoh.c (ether_ntohost): Likewise.
548 * sunrpc/netname.c (netname2user): Likewise.
549 * sunrpc/publickey.c (getpublickey): Likewise.
550 (getsecretkey): Likewise.
551
55c303ac
RM
5522002-11-09 Marcus Brinkmann <marcus@gnu.org>
553
7fa0e180
UD
554 * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one
555 error in range calculation.
55c303ac 556
9372c958
RM
5572002-10-09 Jakub Jelinek <jakub@redhat.com>
558
559 * string/test-strspn.c (do_test): Ensure zero termination.
560 * string/test-strpbrk.c (do_test): Likewise.
561 * string/test-strncmp.c (stupid_strncmp): Use strnlen, not strlen.
562 * string/test-strncpy.c (stupid_strncpy): Likewise.
563 * string/test-stpncpy.c (stupid_stpncpy): Likewise.
564
5652002-10-08 Roland McGrath <roland@redhat.com>
566
567 * string/test-string.h (test_init): Fill BUF1 and BUF2 with
568 nonzero characters.
569
5702002-09-22 H.J. Lu <hjl@gnu.org>
571
572 * sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed
573 from PAGE_SHIFT. Define if not defined. Check MMAP2_PAGE_SHIFT
574 only if __NR_mmap2 is defined.
575
576 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
577 * sysdeps/unix/sysv/linux/mmap64.c: ... here.
578 * sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
579 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,
580
e8c1660f
RM
5812002-11-08 Jakub Jelinek <jakub@redhat.com>
582
2b497443
RM
583 * posix/bug-regex13.c (tests): Add new test.
584
e8c1660f
RM
585 * string/test-strchr.c (stupid_strchr): New function.
586 (do_random_tests): Make sure the string is zero terminated.
587 * string/test-strpbrk.c (stupid_strpbrk): New function.
588 (do_random_tests): Make sure the string is zero terminated.
589 * string/test-strcmp.c (stupid_strcmp): New function.
590 (do_random_tests): Make sure the strings are zero terminated.
591 * string/test-strspn.c (stupid_strspn): New function.
592 (simple_strspn): Rename rej argument to acc.
593 (do_random_tests): Make sure the string is zero terminated.
594 * string/test-strcspn.c (stupid_strcspn): New function.
595 * string/test-strncpy.c (stupid_strncpy): New function.
596 * string/test-stpncpy.c (stupid_stpncpy): New function.
597 * string/test-strncmp.c (stupid_strncmp): New function.
598 (do_random_tests): Make sure the strings are zero terminated.
599 * string/test-string.h (impl_t): Change test into long.
600 (IMPL): Add __attribute__((aligned (sizeof (void *)))).
601
e0bc9a8d
RM
6022002-11-08 Roland McGrath <roland@redhat.com>
603
604 * sysdeps/ia64/elf/configure.in: Add TLS check.
605 From Ian Wienand <ianw@cse.unsw.edu.au>.
606 * sysdeps/ia64/elf/configure: Regenerated.
607
6082002-11-07 Roland McGrath <roland@redhat.com>
609
610 * libio/fileops.c (_IO_new_file_overflow): Use INTUSE(_IO_do_write) in
611 place of _IO_new_do_write.
612 [_LIBC] (_IO_do_write): Define as macro for _IO_new_do_write and
613 #undef before versioned_symbol use.
614
c6481412
RM
6152002-11-07 Richard Henderson <rth@redhat.com>
616
617 * configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
618 * configure: Regenerated.
619 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
620 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
621 (RTLD_START): Likewise. Access _dl_skip_args, _rtld_local, and
622 _dl_fini via gp-relative relocations.
623 * sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.
624
625 * elf/tls-macros.h: Add alpha versions.
626 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
627 * sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
628 * sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER.
629 * sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
630 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
631 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
632 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
633 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
634 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
635 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
636 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
637 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
638 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
639 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
640 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
641 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
642 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
643 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
644
645 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect.
646 Kill argument registers across the inline syscall.
647
648 * sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args.
649
650 * linuxthreads/sysdeps/alpha/tls.h: New file.
651 * sysdeps/alpha/dl-tls.h: New file.
652
dfe4c900
RM
6532002-10-29 David Mosberger <davidm@hpl.hp.com>
654
655 * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY]
656 (gmon_initializer): New function.
657 (.init prologue): If HAVE_INITFINI_ARRAY is true, don't call
658 __gmon_start__ here. Call it from gmon_initializer() instead.
659
6602002-03-12 H.J. Lu <hjl@gnu.org>
661
662 * elf/Makefile [$(have-initfini-array) = yes] (tests): Add tst-array1,
663 tst-array2, and tst-array3.
664 [$(have-initfini-array) = yes] (tests-static): Add tst-array3.
665 [$(have-initfini-array) = yes] (modules-names): Add tst-array2dep.
666 ($(objpfx)tst-array1.out): New target.
667 ($(objpfx)tst-array2): Likewise.
668 ($(objpfx)tst-array2.out): Likewise.
669 ($(objpfx)tst-array3.out): Likewise.
670 * elf/tst-array1.c: New file.
671 * elf/tst-array1.exp: Likewise.
672 * elf/tst-array2.c: Likewise.
673 * elf/tst-array2dep.c: Likewise.
674 * elf/tst-array2.exp: Likewise.
675 * elf/tst-array3.c: Likewise.
676
1d8a0fd9
RM
6772002-10-28 David Mosberger <davidm@hpl.hp.com>
678
679 * elf/dl-fini.c (_dl_fini): Invoke fini_array in _reverse_ order.
680 Don't add L->l_addr to array entry values.
681
58ef9ef7
RM
6822002-11-07 Jakub Jelinek <jakub@redhat.com>
683
684 * string/test-string.h: New file.
685 * string/test-strlen.c: New file.
686 * string/test-string.h: New file.
687 * string/test-strcmp.c: New file.
688 * string/test-strchr.c: New file.
689 * string/test-strrchr.c: New file.
690 * string/test-strcpy.c: New file.
691 * string/test-stpcpy.c: New file.
692 * string/test-strncpy.c: New file.
693 * string/test-stpncpy.c: New file.
694 * string/test-strpbrk.c: New file.
695 * string/test-strcspn.c: New file.
696 * string/test-strspn.c: New file.
697 * string/test-strcat.c: New file.
698 * string/test-strncmp.c: New file.
699 * string/test-memchr.c: New file.
700 * string/test-memcmp.c: New file.
701 * string/test-memset.c: New file.
702 * string/test-memcpy.c: New file.
703 * string/test-mempcpy.c: New file.
704 * string/test-memmove.c: New file.
705 * string/Makefile (strop-tests): New variable.
706 (tests): Add strop-tests.
707 (distribute): Add test-string.h.
708
15a7d175
UD
7092002-11-06 Ulrich Drepper <drepper@redhat.com>
710
711 * posix/regcomp.c: Use tabs instead of spaces.
712 * posix/regexec.c: Likewise.
713 * posix/regex_internal.h: Likewise.
714
715 * posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb.
716
1b2c2628
UD
7172002-11-06 Jakub Jelinek <jakub@redhat.com>
718
719 * posix/regcomp.c (re_compile_pattern): Don't set regs_allocated
720 here.
721 (regcomp): Don't set can_be_null here.
722 (re_comp): Clear whole re_comp_buf with the exception of fastmap.
723 (re_compile_internal): Clear can_be_null, set regs_allocated.
724
725 * posix/regcomp.c (re_set_fastmap): New function.
726 (re_compile_fastmap_iter): Use it. Remove redundant type ==
727 COMPLEX_BRACKET check.
728 * posix/regexec.c (re_search_internal): Optimize searching with
729 fastmap. Call re_string_reconstruct even if match_first is
730 smaller than raw_mbs_idx.
731
7322002-11-06 Isamu Hasegawa <isamu@yamato.ibm.com>
733
734 * posix/regcomp (free_dfa_content): Use free_state.
735 * posix/regex_internal.c (re_string_realloc_buffers): Don't edit
736 pointers in case that realloc failed.
737 (re_node_set_merge): Likewise.
738 (register_state): Likewise.
739 (create_newstate_common): Invoke memory release functions in case of
740 error conditions.
741 (create_ci_newstate): Likewise.
742 (create_cd_newstate): Likewise.
743 (free_state): New function.
744 * posix/regexec.c (re_search_internal): Invoke memory release
745 functions in case of error conditions.
746 (sift_states_backward): Likewise.
747 (merge_state_array): Likewise.
748 (add_epsilon_src_nodes): Likewise.
749 (sub_epsilon_src_nodes): Likewise.
750 (search_subexp): Likewise.
751 (sift_states_bkref): Likewise.
752 (transit_state_sb): Likewise.
753 (transit_state_mb): Likewise.
754 (transit_state_bkref_loop): Likewise.
755 (group_nodes_into_DFAstates): Likewise.
756 (push_fail_stack): Don't edit pointers in case that realloc failed.
757 (extend_buffers): Likewise.
758 (match_ctx_add_entry): Likewise.
759
c4dd0bac
RM
7602002-11-06 Roland McGrath <roland@redhat.com>
761
cbf900b4
RM
762 * sysdeps/unix/sysv/linux/mips/configure.in: File removed.
763 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
764
c4dd0bac
RM
765 * configure.in: Add checks on as and ld for binutils 2.13 or later.
766 * configure: Regenerated.
767
71ccd330
UD
7682002-11-06 Ulrich Drepper <drepper@redhat.com>
769
770 * posix/regcomp.c (regcomp): __re_compile_fastmap can never fail.
771 If re_compile_internal failed free fastmap buffer.
772 (free_dfa_content): Broken out of regfree function. Frees all dfa
773 related data.
774 (regfree): Add free_dfa_content.
775 (re_compile_internal): If any of the called functions fails free
776 all dfa related memory.
777
d97426b7
UD
7782002-11-05 Ulrich Drepper <drepper@redhat.com>
779
780 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add ugly hacks to prevent
781 warnings from the kernel headers.
782
df5391ff
RM
7832002-11-05 Roland McGrath <roland@redhat.com>
784
be280d0e
RM
785 * sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
786 From Johannes Stezenbach <js@convergence.de>.
787
df5391ff
RM
788 * sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change
789 #errlist-compat magic comment to give 123 as size.
790 (libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ...
791 (libc: GLIBC_2.2): ... here.
792 (libc: GLIBC_2.3): Likewise.
793
51859074
UD
7942002-11-05 Ulrich Drepper <drepper@redhat.com>
795
a2d80f9a
UD
796 * elf/dl-fini.c (_dl_fini): Correct the increment of l_opencount
797 which happens at the beginning so that we can unload modules in
798 __libc_freeres.
51859074 799
e791bd95
RM
8002002-11-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>
801
802 * sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only
803 under [__USE_MISC || _ASM].
804
805 * elf/elf.h: Remove the obsolete SH TLS relocations.
806
0c2ee21c
UD
8072002-11-05 Ulrich Drepper <drepper@redhat.com>
808
809 * posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero.
810
5bfed16d
UD
8112002-11-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
812
813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Handle
814 __NR_pread64 and __NR_pwrite64.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
816 * sysdeps/unix/sysv/linux/powerpc/pread.c: Remove __NR_pread64
817 and __NR_pwrite64.
818 Revert change to use INLINE_SYSCALL.
819 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
820 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
821 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
822 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Revert change to use
823 INLINE_SYSCALL.
824 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
825
826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
827 Update clobber list and add a comment about the syscall ABI.
828
0c2ee21c
UD
829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_pread64,
830 s_pwrite64, s_ftruncate, s_truncate): Re-add.
831
f6e50e66
UD
8322002-11-05 Jakub Jelinek <jakub@redhat.com>
833
834 * iconv/gconv_dl.c (free_mem): Clear loaded.
835 * locale/loadarchive.c (_nl_archive_subfreeres): Call locale_data's
836 cleanup if any.
837
52a16e58
UD
8382002-11-05 Ulrich Drepper <drepper@redhat.com>
839
f6e50e66
UD
840 * sysdeps/unix/sysv/linux/fexecve.c: Include <stdio.h>.
841
52a16e58
UD
842 * libio/ioseekoff.c: Remove INTDEF. Define _IO_seekoff_unlocked. Same
843 as old code without locking. _IO_seekoff calls this function after
844 locking the stream.
845 * libio/ioseekpos.c: Likewise for _IO_seekpos.
846 * libio/libioP.h: Replace _IO_seekoff_internal and _IO_seekpos_internal
847 prototypes with _IO_seekoff_unlocked and _IO_seekpos_unlocked
848 prototypes.
849 * libio/iolibio.h (_IO_fseek): Call _IO_seekoff_unlocked instead
850 of _IO_seekoff_internal.
851 (_IO_rewind): Likewise.
852 * libio/ioftell.c: Likewise.
853 * libio/ftello.c: Likewise.
854 * libio/ftello64.c: Likewise.
855 * libio/iofgetpos.c: Likewise.
856 * libio/iofgetpos64.c: Likewise.
857 * libio/oldiofgetpos.c: Likewise.
858 * libio/oldiofgetpos64.c: Likewise.
859 * libio/iofsetpos.c: Call _IO_seekpos_unlocked instead of
860 _IO_seekpos_internal.
861 * libio/iofsetpos64.c: Likewise.
862 * libio/oldiofsetpos.c: Likewise.
863 * libio/oldiofsetpos64.c: Likewise.
864
0f0d786f
RM
8652002-11-04 Roland McGrath <roland@redhat.com>
866
867 * sysdeps/unix/sysv/linux/powerpc/chown.c: Use INLINE_SYSCALL macro.
868 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
869 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise.
870 * sysdeps/unix/sysv/linux/powerpc/pread.c: Likewise.
871 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
872 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
873 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
874 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Likewise.
875 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
876 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ioctl,
878 s_chown, s_ftruncate64, s_mmap2, s_pread64, s_pwrite64, s_truncate64,
879 sys_fstat, sys_lstat, sys_mknod, sys_readv, sys_stat, sys_writev):
880 Remove these, no longer used.
881
8822002-11-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
883
884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ipc,
885 s_llseek, s_readahead, s_execve, s_fcntl, s_fcntl64, s_fstat64,
886 s_getcwd, s_getdents, s_getdents64, s_getpmsg, s_getpriority,
887 s_getrlimit, s_lstat64, s_poll, s_ptrace, s_putpmsg, s_reboot,
888 s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
889 s_stat64, s_sysctl, s_ugetrlimit, s_ustat, s_vfork): Remove now unused
890 syscall stubs.
891
892 * sysdeps/unix/sysv/linux/pwrite.c: Fix typo.
893 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
894 * sysdeps/unix/sysv/linux/powerpc/pread.c: Handle both __NR_pread64
895 and __NR_pread.
896 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
897 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Handle both __NR_pwrite64
898 and __NR_pwrite.
899 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
900
9012002-11-03 Roland McGrath <roland@redhat.com>
902
903 * sysdeps/generic/ldsodefs.h (struct rtld_global): New member
904 `_dl_tls_static_used'.
905 * sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable.
906 (__libc_setup_tls): Initialize it. Let the initial value of
907 _dl_tls_static_size indicate some surplus space in the computed value.
908 * elf/dl-open.c (_dl_tls_static_size): New variable.
909 * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Initialize
910 _dl_tls_static_used. Add some surplus space into _dl_tls_static_size.
911 * elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function.
912 (CHECK_STATIC_TLS): Use it.
913 * elf/dl-close.c (_dl_close): Adjust _dl_tls_static_used when the
914 closed objects occupied a trailing contiguous chunk of static TLS area.
915
9162002-10-18 Bruno Haible <bruno@clisp.org>
917
918 * charmaps/ISO_5428: Use Greek characters introduced in Unicode 3.0.
919
8e96ae1a
UD
9202002-11-04 Ulrich Drepper <drepper@redhat.com>
921
52a16e58
UD
922 * libio/wfileops.c (_IO_wfile_seekoff): Don't modify _offset and
923 _wide_data->_IO_read_end if adjustment can be made in the current
924 buffer.
925
2f0f157e
UD
926 * sysdeps/unix/sysv/linux/fexecve.c: New file.
927
c7e56cbe
UD
928 * libio/bug-wfflush.c (do_test): Using fseek is not allowed when
929 wide oriented streams are used.
930
226e9fda
UD
931 * nss/getXXent_r.c (ENDFUNC_NAME): Don't do anything if the
932 service hasn't been used [PR libc/4744].
933
12518320
UD
934 * include/features.h: Use __STDC_VERSION__ not __STDC_VERSION.
935 Reported by Miloslav Trmac <mitr@volny.cz> [PR libc/4766].
936
8e96ae1a
UD
937 * manual/examples/dir.c: Don't include <stddef.h>.
938 * manual/examples/select.c: Include <errno.h> for TEMP_FAILURE_RETRY.
939