]> sourceware.org Git - glibc.git/blob - ChangeLog
ed27d72673548fcf74f1448e1656b9ca9354346a
[glibc.git] / ChangeLog
1 2000-07-29 Greg McGary <greg@mcgary.org>
2
3 * Rules (test-bp-inputs, make-test-out): New variables.
4 ($(objpfx)%-bp.out): New rule.
5 ($(objpfx)%.out): Rewrite in terms of new variables.
6
7 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
8 internal function that uses vtable.
9 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10 * libio/vswprintf.c (_IO_vswprintf): Likewise.
11
12 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
13 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
14 (chunk_align): Likewise.
15
16 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
17 in a way that conforms to decl, and avoids spurious bounds violation.
18
19 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
20 * sysdeps/generic/frame.h: Likewise.
21 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
22 around return value.
23 (__backtrace): Qualify frame-pointer chain and return address
24 pointers as __unbounded. Wrap bounds around variable `current'.
25 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
26 around return value.
27 (catch_segfault): Qualify frame-pointer chain and return address
28 pointers as __unbounded. Wrap bounds around variable `current'.
29 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
30 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
31 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers __unbounded.
32 (__backtrace): Qualify frame-pointer chain and return address
33 pointers as __unbounded. Wrap bounds around variable `current'.
34
35 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
36 * sysdeps/i386/mul_1.S: Likewise.
37 * sysdeps/i386/submul_1.S: Likewise.
38 * sysdeps/i386/i586/addmul_1.S: Likewise.
39 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
40 * sysdeps/i386/i586/submul_1.S: Likewise.
41
42 2000-07-27 Andreas Jaeger <aj@suse.de>
43
44 * libio/Depend: New file, libio needs localedata for tests.
45 * posix/Depend: Likewise.
46
47 2000-07-28 Ulrich Drepper <drepper@redhat.com>
48
49 * stdio-common/_i18n_itoa.c: Removed.
50 * stdio-common/_i18n_itoa.h: Removed.
51 * stdio-common/_i18n_itowa.c: Removed.
52 * stdio-common/_i18n_itowa.h: Removed.
53 * stdio-common/_i18n_number.h: New file.
54 * stdio-common/Depend: New file.
55 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
56 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
57 printing. Change printing of numbers with locale specific digits to
58 use new code in _i18n_number.h.
59 * stdio-common/Makefile (routines): Remove _i18n_itoa and
60 _i18n_itowa.
61
62 * stdio-common/bug13.c: Improve messages.
63
64 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
65 (set_class_defaults): Always search also for Uxxxx names.
66 Detect insufficient number of outdigits.
67
68 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
69
70 2000-07-27 Bruno Haible <haible@clisp.cons.org>
71
72 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
73 _NL_CTYPE_MAP_NAMES.
74 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
75 * wctype/wcfuncs.c (towlower, towupper): Use them.
76 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
77 * wctype/wctrans.c (wctrans): Likewise.
78 * wctype/wctrans_l.c (__wctrans_l): Likewise.
79
80 2000-07-27 Bruno Haible <haible@clisp.cons.org>
81
82 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
83 Use the optimized version of this function outside glibc as well.
84
85 2000-07-27 Jakub Jelinek <jakub@redhat.com>
86
87 * locale/indigits.h (indigit_value): Correct.
88 * locale/indigitswc.h (indigitwc_value): Correct.
89 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
90 conversion, add GROUP checking for it, fix GROUP number
91 conversion with strlen(thousands) > 1.
92 Honour width correctly in the presence of floating
93 decimal points and thousands separators.
94 * stdio-common/tst-sscanf.c: New test.
95 * stdio-common/Makefile: Add it to tests.
96 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
97 thousands separators and group argument is non-zero.
98
99 2000-07-25 Bruno Haible <haible@clisp.cons.org>
100
101 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
102 starts at GLIBC_2.2.
103
104 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
105
106 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
107 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
108 _test_and_set.
109 (headers): Add sys/tas.h.
110 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
111 GLIBC_2.2 from libc.
112 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
113 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
114 _test_and_set.
115
116 2000-07-28 Andreas Jaeger <aj@suse.de>
117
118 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
119
120 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
121 ($(objpfx)tst-dladdr.out): new.
122 (tests): Add tst-dladdr.
123 ($(objpfx)glrefmain): Use libdl.
124
125 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
126 <vs@caldera.de>.
127
128 2000-07-27 Jes Sorensen <jes@linuxcare.com>
129
130 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
131 ftruncate(64) calls.
132
133 2000-07-27 Jes Sorensen <jes@linuxcare.com>
134
135 * intl/tst-translit.c: Include string.h to get prototype for
136 strcmp().
137
138 2000-07-27 Jes Sorensen <jes@linuxcare.com>
139
140 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
141 name and add weak alias for __fork.
142
143 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
144 & pwrite to use __libc_<name> as strong names instead of
145 __syscall_<name>.
146
147 * include/sched.h: Add clone2 prototype.
148
149 2000-07-26 Jes Sorensen <jes@linuxcare.com>
150
151 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
152 procedure name twice.
153
154 2000-07-27 Philip Blundell <philb@gnu.org>
155
156 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
157
158 2000-07-27 Andreas Jaeger <aj@suse.de>
159
160 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
161 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
162 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
163 Reported by Andi Kleen <ak@suse.de>.
164
165 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
166 (do_wait): Test requests with aio_return64.
167 (do_test): Change callers of do_wait.
168
169 2000-07-26 Andreas Jaeger <aj@suse.de>
170
171 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
172 (do_wait): Test requests with aio_return.
173 (do_test): Change callers of do_wait.
174
175 2000-07-27 Ulrich Drepper <drepper@redhat.com>
176
177 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
178 from request list. Don't do the list handling here, call
179 __aio_remove_request.
180 * rt/aio_misc.h: Add prototype for __aio_remove_request.
181 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
182 request might already be processed. Don't do the list handling
183 here, call __aio_remove_request.
184
185 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
186 LIO_DSYNC.
187
188 * rt/aio_misc.c: Add comment explaining why writer memory barriers
189 are missing.
190
191 2000-07-27 Greg McGary <greg@mcgary.org>
192
193 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
194 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
195 in union init. Pass zero for ignored semnum arg to semctl.
196 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
197
198 2000-07-26 Greg McGary <greg@mcgary.org>
199
200 * sysdeps/gnu/bits/msq.h: Qualify kernel's
201 data structure pointers as __unbounded.
202 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
203 * sysdeps/generic/bp-semctl.h: New file.
204 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
205 pointers as __unbounded. Check bounds of syscall args.
206 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
207 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
208 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
209 * sysdeps/unix/sysv/linux/semop.c: Likewise.
210 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
211 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
212 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
213 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
214 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
215 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
216 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
217 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
218 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
219 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
220 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
221 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
222
223 2000-07-26 Ulrich Drepper <drepper@redhat.com>
224
225 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
226 by default.
227 * locale/C-ctype.c: Likewise.
228 * wcsmbs/wcsmbsload.c: Likewise.
229
230 2000-07-26 Greg McGary <greg@mcgary.org>
231
232 * Makeconfig (+link-bounded, link-libc-bounded,
233 link-extra-libs-bounded): New variables.
234 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
235 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
236 * Rules (tests-bp.out): New variable.
237 (tests): Conditionally add BP tests.
238 (binaries-bounded): Add variable and associated rule.
239 * csu/Makefile [build-bounded] (extra-objs, install-lib):
240 Move conditional stuff after place where condition is defined.
241
242 * malloc/malloc.c (bp-checks.h): Add #include.
243 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
244 (_bin_at): Add unbounded version of bin_at.
245 (IAV, chunk_alloc): Use unbounded _bin_at.
246 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
247 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
248 Wrap BOUNDED_N around return value.
249 (chunk_realloc): Adjust oldsize once.
250
251 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
252 (__ubp_memchr): Add correct decl.
253 (_CHECK_STRING): Use __ubp_memchr.
254 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
255 New alias for unbounded-pointer __memchr.
256 * sysdeps/i386/memchr.S: Likewise.
257 * sysdeps/ia64/memchr.S: Likewise.
258 * sysdeps/m68k/memchr.S: Likewise.
259 * sysdeps/sparc/sparc32/memchr.S: Likewise.
260 * sysdeps/sparc/sparc64/memchr.S: Likewise.
261 * sysdeps/vax/memchr.s: Likewise.
262
263 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
264 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
265 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
266 * sysdeps/i386/i686/strtok.S: Likewise.
267 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
268 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
269
270 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
271 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
272
273 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
274 bounds of copy_result to mount_proc.
275
276 2000-07-25 Bruno Haible <haible@clisp.cons.org>
277
278 * wctype/wctype.h (__wctrans_l): New declaration.
279 * wctype/wctrans_l.c: New file.
280 * wctype/Makefile (routines): Add wctrans_l.
281
282 2000-07-26 Ulrich Drepper <drepper@redhat.com>
283
284 * posix/fnmatch_loop.c: Fixes for use outside glibc.
285 Patch by MacGyver <macgyver@tos.net>.
286
287 2000-07-26 Andreas Jaeger <aj@suse.de>
288
289 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
290 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
291 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
292
293 * rt/tst-aio.c (test_file): Fix typo.
294 * rt/tst-aio64.c (test_file): Likewise.
295
296 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
297 * rt/Makefile: Add rules to build and run tst-aio3.
298
299 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
300 it's not needed and confuses only.
301
302 2000-07-26 Ulrich Drepper <drepper@redhat.com>
303
304 * resolv/res_init.c: Add support for nameserver communication with
305 IPv6.
306 * resolv/res_send.c: Likewise.
307 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
308 in nsaddrs field.
309 Patch by <venaas@nvg.ntnu.no>.
310
311 2000-07-25 Bruno Haible <haible@clisp.cons.org>
312
313 * locale/programs/ld-ctype.c (wctype_table_get): New function.
314 (wcwidth_table_get): New function.
315 (wcwidth_table_add): Call it.
316 (wctrans_table_get): New function.
317 (wctrans_table_add): Call it.
318
319 2000-07-25 Ulrich Drepper <drepper@redhat.com>
320
321 * rt/lio_listio.c (lio_listio): Always disable individual
322 notification.
323 * rt/Makefile: Add rules to build and run tst-aio2.
324 * rt/tst-aio2.c: New file.
325
326 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
327 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
328
329 2000-07-25 Mark Kettenis <kettenis@gnu.org>
330
331 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
332 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
333 leading and trailing spaces from host, user and domain name.
334
335 2000-07-25 Jes Sorensen <jes@linuxcare.com>
336
337 * csu/defs.awk: Add support for need_endp.
338
339 2000-07-25 Mark Kettenis <kettenis@gnu.org>
340
341 * resolv/resolv.h: Remove __P from res_send_qhook and
342 res_send_rhook typedefs.
343
344 2000-07-25 Bruno Haible <haible@clisp.cons.org>
345
346 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
347
348 2000-07-25 Ulrich Drepper <drepper@redhat.com>
349
350 * iconv/gconv_builtin.h: Add WCHAR_T alias.
351
352 2000-07-25 Mark Kettenis <kettenis@gnu.org>
353
354 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
355 calling thread, set the cancellation flag and return success
356 instead of EINTR.
357
358 2000-07-25 Ulrich Drepper <drepper@redhat.com>
359
360 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
361 * libio/tst-widetext.c: New file.
362 * libio/tst-widetext.input: New file.
363
364 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
365
366 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
367 empty external buffer correctly.
368
369 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
370
371 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
372 __STRING(entry) and not #entry.
373 (_RTLD_EPILOGUE): Likewise.
374 * sysdeps/mips/mips64/dl-machine.h: Likewise.
375
376 2000-07-25 Andreas Jaeger <aj@suse.de>
377
378 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
379 according to changes in test program, run also with static only
380 builds.
381 ($(objpfx)tst-printf.out): Likewise.
382
383 * stdio-common/tst-unbputc.sh: Likewise.
384 * stdio-common/tst-printf.sh: Likewise.
385
386 2000-07-25 Ulrich Drepper <drepper@redhat.com>
387
388 * libio/wfileops.c (_IO_wdo_write): Correct return value.
389
390 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
391 loop.
392
393 * libio/fileops.c: Pretty print.
394
395 2000-07-23 Bruno Haible <haible@clisp.cons.org>
396
397 * wctype/wchar-lookup.h: New file.
398 * wctype/iswctype.c: Include "wchar-lookup.h".
399 (__iswctype): Support alternate locale format with 3-level tables.
400 * wctype/iswctype_l.c (__iswctype_l): Likewise.
401 * wctype/towctrans.c (__towctrans): Likewise.
402 * wctype/towctrans_l.c (__towctrans_l): Likewise.
403 * wctype/wcfuncs.c: Include "wchar-lookup.h".
404 (__ctype32_wctype, __ctype32_wctrans): Declare external.
405 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
406 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
407 __iswxdigit, towlower, towupper): Support alternate locale format
408 with 3-level tables.
409 * wctype/wcextra.c (iswblank): Likewise.
410 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
411 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
412 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
413 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
414 format with 3-level tables.
415 * wctype/wcextra_l.c (__iswblank_l): Likewise.
416 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
417 format, return a 3-level table pointer.
418 * wctype/wctype_l.c (__wctype_l): Likewise.
419 * wctype/wctrans.c (wctrans): Likewise.
420 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
421 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
422 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
423 (iswctype): Remove macro definition.
424 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
425 (internal_wcwidth): Support alternate locale format with 3-level
426 tables.
427 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
428 New nl_items.
429 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
430 Define them as being type "word".
431 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
432 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
433 __ctype32_width): New exported variables.
434 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
435 alternate locale format. Don't initialize __ctype_names and
436 __ctype_width in the alternate locale format.
437 * locale/programs/localedef.h (oldstyle_tables): New declaration.
438 * locale/programs/localedef.c (oldstyle_tables): New variable.
439 (OPT_OLDSTYLE): New macro.
440 (options): Add --old-style option.
441 (parse_opt): Handle --old-style option.
442 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
443 map_offset, class_3level, map_3level, width_3level members.
444 (ctype_output): Support for alternate locale format: Computation of
445 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
446 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
447 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
448 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
449 now contain both class and map tables.
450 (struct wctype_table): New type.
451 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
452 functions.
453 (struct wcwidth_table): New type.
454 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
455 functions.
456 (struct wctrans_table): New type.
457 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
458 functions.
459 (allocate_arrays): Support for alternate locale format: Set
460 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
461 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
462 to the first 256 characters. Compute ctype->map_3level. Set
463 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
464 instead of ctype->width.
465
466 2000-07-24 Ulrich Drepper <drepper@redhat.com>
467
468 * libio/iogetwline.c (_IO_getwline_info): Use wide character
469 string functions.
470
471 2000-07-24 Jakub Jelinek <jakub@redhat.com>
472
473 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
474 in wide characters, not bytes.
475 * libio/tst_putwc.c (do_test): Add test for writing lots of data
476 into file.
477
478 2000-07-22 Bruno Haible <haible@clisp.cons.org>
479
480 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
481 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
482 LC_MEASUREMENT, LC_IDENTIFICATION.
483
484 * locale/xlocale.h (struct __locale_struct): Increase size of
485 __locales array.
486 * locale/duplocale.c (__duplocale): Copy newly added categories as
487 well.
488 * locale/freelocale.c (__freelocale): Free newly added categories.
489 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
490 If a base is given, use it, don't simply return it.
491
492 2000-07-22 Bruno Haible <haible@clisp.cons.org>
493
494 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
495 variables, copied_key and copied_salt, instead of boolean variables.
496
497 2000-07-24 Andreas Jaeger <aj@suse.de>
498
499 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
500 check for offset.
501
502 * grp/initgroups.c (initgroups_dyn_function): Renamed from
503 initgroups_function, adopted prototype for change from 2000-07-23.
504 (initgroups): Follow type change.
505
506 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
507 & PAGE_MASK case, reformat.
508
509 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
510 from stdin and setup environment.
511
512 2000-07-24 Andreas Schwab <schwab@suse.de>
513
514 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
515
516 2000-07-23 Ulrich Drepper <drepper@redhat.com>
517
518 * string/endian.h: Explain the _*_ENDIAN constant values a bit
519 more. Patch by scarlet@mit.edu [PR libc/1799].
520
521 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
522 [PR libc/1792].
523
524 * argp/argp-parse.c (parser_finalize): Reverse order in which
525 parsers are run for ARGP_KEY_END. [PR libc/1755].
526
527 * grp/initgroups.c (initgroups): Don't limit the possible number
528 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
529 the setgroups call while the call fails and descrease the number
530 of groups each round.
531 The name of the initgroups function in the NSS modules changed.
532 (compat_call): Adapt for dynamic resizing.
533 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
534 Implement dynamic resizing.
535 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
536 Likewise.
537 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
538 * hesiod/Versions: Change exported interface name.
539 * nis/Versions: Change exported interface name.
540
541 2000-07-23 Ulrich Drepper <drepper@redhat.com>
542
543 * locale/iso-639.def: Some errors corrected.
544 Patch by Keld Simonsen.
545
546 * include/limits.h: Update non-gcc portion.
547 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
548
549 2000-07-22 Mark Kettenis <kettenis@gnu.org>
550
551 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
552 program's data space, reallocate only the space that was just
553 deallocated to release its backing space.
554
555 2000-07-23 Ulrich Drepper <drepper@redhat.com>
556
557 * stdio-common/vfprintf.c (process_string_arg): For wide character
558 version, handle precision also correctly.
559
560 * nss/nss_files/files-hosts.c: Correct problem with three or more
561 entries with the same name.
562
563 * nss/nss_files/files-hosts.c: Implement multi handling.
564 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
565
566 2000-07-22 Ulrich Drepper <drepper@redhat.com>
567
568 * nss/nss_files/files-parse.c: Don't pollute namespace by using
569 strcasecmp.
570
571 * grp/Makefile: Change Makefiles and tests to run only when necessary.
572 * malloc/Makefile: Likewise.
573 * malloc/tst-mtrace.sh: Likewise.
574 * posix/Makefile: Likewise.
575 * posix/globtest.sh: Likewise.
576 * posix/wordexp-tst.sh: Likewise.
577 * string/Makefile: Likewise.
578
579 2000-07-22 Mark Kettenis <kettenis@gnu.org>
580
581 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
582 size instead of LC_ALL to take into account the new locale
583 categories.
584
585 2000-07-22 Ulrich Drepper <drepper@redhat.com>
586
587 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
588 remainders of hash table.
589 * locale/categories.def: Remove remainders of transliteration
590 hash table.
591 * locale/langinfo.h: Likewise.
592 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
593 transliteration tables.
594
595 * locale/gen-translit.pl: New file.
596 * locale/C-translit.h.in: New file.
597 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
598 data pointers with data from this file.
599 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
600 and gen-translit.pl.
601 Add rule to generate C-translit.h.
602 * intl/tst-translit.c (main): Update for now performed
603 transliteration.
604
605 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
606 (it's no input error).
607 * stdio-common/tstscanf.c: Add test case for format %f with input --.
608 * stdio-common/scanf12.c: Correct expected result for first scanf.
609
610 * stdio-common/vfprintf.c (process_string_arg): Correct handling
611 of multibyte character strings in %s format with precision.
612
613 2000-07-21 Ulrich Drepper <drepper@redhat.com>
614
615 * locale/programs/ld-collate.c (collate_read): Allow collating
616 symbols and elements be named in reorder-after instructions.
617 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
618
619 * locale/programs/ld-collate.c (handle_ellipsis): Test for
620 duplication with generated name, not the name of the first
621 character.
622 Patch by Yong Li <yong.li@asu.edu>.
623
624 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
625 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
626
627 2000-07-21 Wolfram Gloger <wg@malloc.de>
628
629 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
630 allocations only if a non-main arena cannot be extended.
631
632 2000-07-21 Ulrich Drepper <drepper@redhat.com>
633
634 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
635 in DF_1_NODEFLIB handling.
636
637 2000-07-21 Andreas Jaeger <aj@suse.de>
638
639 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
640 own rule.
641
642 * libio/fwide.c: Include <wchar.h> for prototype.
643
644 2000-07-21 Greg McGary <greg@mcgary.org>
645
646 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
647 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
648 Define in terms of chunk_at_offset.
649 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
650 (next_bin, prev_bin): offset by size of real array elements.
651 (chunk_align): Make `m' a scalar, since that's how it's used.
652
653 2000-07-21 Greg McGary <greg@mcgary.org>
654
655 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
656 UNCHECK_BOUNDS.
657 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
658 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
659 Wrap bounds around argv & envp and each of their string members.
660 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
661 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
662 symbol in BP_SYM (). Discard bounds of address arg.
663 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
664 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
665 Discard bounds on address arg, add bounds to return value.
666
667 2000-07-20 Ulrich Drepper <drepper@redhat.com>
668
669 * elf/Makefile (tests): Add filter. Add rules to generate filter.
670 * elf/filter.c: New file.
671 * elf/filtmod1.c: New file.
672 * elf/filtmod2.c: New file.
673
674 * elf/rtld.c: Define _dl_bind_not variable.
675 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
676 * elf/dl-support.c: Likewise.
677 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
678 * elf/dl-runtime.c (fixup): Don't remember looked up value if
679 _dl_bind_not.
680 (profile_fixup): Likewise.
681
682 * libio/Makefile (routines): Add fwide.
683 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
684 fwide now. Internal calls to _IO_fwide must do locking themselves
685 or don't need locking.
686 * libio/fwide.c: New file.
687
688 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
689
690 * elf/Makefile: Add no modules for nodelete test.
691 * elf/nodelmod3.c: New file.
692 * elf/nodelmod4.c: New file.
693 * elf/nodelete.c: Also test case where dependency of dlopen() object
694 is marked nodelete.
695
696 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
697 * elf/nodlopen.c: New file.
698 * elf/nodlopenmod.c: New file.
699 * include/dlfcn.h: Define __RTLD_DLOPEN.
700 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
701 and this is a dlopen() call, do not load the binary.
702 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
703 * dlfcn/dlopenold.c: Likewise.
704 * configure.in: Add test for -z nodelete option.
705 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
706
707 2000-07-20 Mark Kettenis <kettenis@gnu.org>
708
709 Make Hesiod NSS module thread-safe.
710
711 * hesiod/README.hesiod: Update.
712
713 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
714 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
715 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
716 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
717 hesiod-proto.
718 * hesiod/nss_hesiod/hesiod-init.c: New file.
719 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
720 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
721 * hesiod/nss_hesiod/nss_hesiod.h: New file.
722 * hesiod/nss_hesiod/hesiod-service.c
723 (_nss_hesiod_getservbyport_r): New function. Provide support for
724 looking up services by port number.
725 * hesiod/nss_hesiod/hesiod-proto.c: New file.
726
727 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
728 * hesiod/hesiod.h: Likewise.
729 * hesiod/hesiod_p.h: Likewise.
730
731 2000-07-20 Mark Kettenis <kettenis@gnu.org>
732
733 Fix problems with `struct __res_state' getting too big.
734 * resolv/resolv.h (struct __sockaddr_in): New definition.
735 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
736 the private parts of the structure to save some space.
737 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
738 (struct sockaddr_in *) in call to sock_eq.
739 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
740
741 2000-07-20 Ulrich Drepper <drepper@redhat.com>
742
743 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
744 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
745 with nodelete.
746 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
747 to _dl_map_object. Return immediately if no object loaded.
748 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
749 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
750 if it exists into l_flags_1 word.
751 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
752 it to determine whether loading is wanted or not.
753 (_dl_map_object): Likewise.
754 Call _dl_map_object_from_fd with new parameter.
755 * sysdeps/generic/ldsodefs.h: Update prototype.
756 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
757 * elf/rtld.c: Likewise.
758 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
759 * elf/Makefile (tests): Add noload. Add rules to generate noload.
760 * elf/noload.c: New file.
761 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
762 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
763 * sysdeps/mips/bits/dlfcn.h: Likewise.
764 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
765 (tests-nodelete-yes): Define.
766 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
767 Add rules to build nodelete and modules.
768 * elf/nodelete.c: New file.
769 * elf/nodelmod1.c: New file.
770 * elf/nodelmod2.c: New file.
771 * configure.in: Add test for -z nodelete option.
772 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
773
774 * libio/Makefile (tests): Add tst_wprintf2.
775 (tst_wprintf2-ARGS): Define.
776 * libio/tst_wprintf2.c: New file.
777 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
778
779 * libio/wfiledoalloc.c: Only allocate external buffer if this
780 hasn't happened yet.
781
782 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
783 something in the buffer. gconv call can write up to end of the
784 buffer, not only _IO_write_end.
785 (_IO_wfile_overflow): Allocate also external buffer.
786
787 2000-07-19 Ulrich Drepper <drepper@redhat.com>
788
789 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
790 strings with precision in vfwprintf correctly.
791 * stdio-common/vfprintf.c: Fix completely broken handling of
792 unbuffered wide character streams.
793 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
794
795 * resolv/Makefile (distribute): Add README.
796
797 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
798
799 2000-07-18 Mark Kettenis <kettenis@gnu.org>
800
801 Update resolver code to BIND 8.2.3-T5B.
802
803 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
804 __res_nclose.
805 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
806 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
807 __res_search.
808 * resolv/Banner: BIND-8.2.3-T5B.
809
810 * resolv/base64.c: Update from BIND 8.2.3-T5B.
811 * resolv/herror.c: Likewise.
812 * resolv/inet_addr.c: Likewise.
813 * resolv/inet_net_ntop.c: Likewise.
814 * resolv/inet_net_pton.c: Likewise.
815 * resolv/inet_neta.c: Likewise.
816 * resolv/inet_ntop.c: Likewise.
817 * resolv/nsap_addr.c: Likewise.
818 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
819 IPv6 addresses (ISC bug #520).
820
821 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
822 * resolv/ns_parse.c: Likewise.
823 * resolv/ns_netint.c: Likewise.
824 * resolv/ns_samedomain.c: Likewise.
825 * resolv/ns_ttl.c: Likewise.
826 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
827 RCS ID in object file.
828
829 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
830 * resolv/res_mkquery.c: Likewise.
831 * resolv/res_query.c: Likewise.
832 * resolv/res_init.c: Likewise.
833 (res_setoptions): Mark internal.
834 * resolv/res_send.c: Likewise.
835 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
836 by using poll instead.
837 * resolv/res_comp.c: Likewise.
838 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
839 weak alias for __dn_expand.
840 * resolv/res_data.c: Likewise.
841 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
842 in _res.options. Avoids a potential security risk by avoiding a
843 close (0).
844 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
845 res_mkquery, res_query, res_querydomain adn res_search weak
846 aliases for __res_mkquery, __res_query, __res_querydomain and
847 __res_search.
848 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
849 instead to avoid close(0).
850 (res_init): Always use the static resolver context.
851 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
852 alias for __res_init.
853
854 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
855 RES_SET_H_ERRNO and accompanying comment to...
856 * include/resolv.h: ... here.
857
858 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
859 * resolv/arpa/nameser_compat.h: Likewise.
860
861 2000-07-18 Ulrich Drepper <drepper@redhat.com>
862
863 * nss/makedb.c (main): Compare result of load_db with
864 NSS_STATUS_SUCCESS and not 0.
865 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
866
867 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
868
869 2000-07-18 Greg McGary <greg@mcgary.org>
870
871 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
872 (EXTEND_BUFFER): Use it.
873
874 2000-07-18 Ulrich Drepper <drepper@redhat.com>
875
876 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
877 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
878 __builtin_return_address.
879 * dlfcn/dlopenold.c: Likewise.
880 * dlfcn/dlsym.c: Likewise.
881 * dlfcn/dlvsym.c: Likewise.
882 * elf/dl-profstub.c: Likewise.
883 * malloc/malloc.c: Likewise.
884 * sysdeps/generic/machine-gmon.h: Likewise.
885 Based on a patch by schwidefsky@de.ibm.com.
886
887 2000-07-18 Andreas Jaeger <aj@suse.de>
888
889 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
890 NULL to elf_machine_fixup_plt t argument to silence GCC.
891
892 * include/string.h: Add prototype for __memchr.
893
894 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
895
896 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
897 instead of memrchr.
898
899 2000-07-18 Ulrich Drepper <drepper@redhat.com>
900
901 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
902
903 * locale/C-ctype.c: Add initializers for gap elements.
904 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
905 for gap elements.
906
907 2000-07-16 Ulrich Drepper <drepper@redhat.com>
908
909 * nscd/nscd.c (print_version): Update copyright year.
910
911 2000-07-17 Greg McGary <greg@mcgary.org>
912
913 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
914 keyletters F, I, S, W. Remove unused keyletter V. Surround
915 signature argnames with angle-brackets for use as word delimiters,
916 and to induce syntax errors for any args not handled. Split
917 multi-echo echoes and comment each stage.
918 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
919 * sysdeps/unix/inet/syscalls.list: Likewise.
920 * sysdeps/unix/mman/syscalls.list: Likewise.
921 * sysdeps/unix/syscalls.list: Likewise.
922 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
923 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
924 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
925 * sysdeps/unix/sysv/syscalls.list: Likewise.
926 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
927
928 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
929 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
930 qualifiers. Don't check NULL-terminator of argv & envp.
931 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
932 unbounded pointer type in word-size assertion.
933 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
934 cases to stifle warnings.
935
936 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
937 _IO_file_attach.
938 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
939
940 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
941 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
942 ptr as __unbouned.
943
944 * Makerules (o-objects): Supplement with $(o-objects$o).
945 * string/Makefile (o-objects.ob): Add variable to pull
946 unbounded versions of memcpy, memset and memchr into libc_b.
947
948 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
949 rather than non-existent __ubp_memchr.
950 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
951 (_CHECK_STRING, _CHECK_N): New macros.
952 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
953 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
954 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
955 Add weak alias "memchr".
956 * sysdeps/generic/memchr.c: Likewise.
957 * sysdeps/i386/memchr.S: Likewise.
958 * sysdeps/ia64/memchr.S: Likewise.
959 * sysdeps/m68k/memchr.S: Likewise.
960 * sysdeps/sparc/sparc32/memchr.S: Likewise.
961 * sysdeps/sparc/sparc64/memchr.S: Likewise.
962 * sysdeps/vax/memchr.s: Likewise.
963
964 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
965
966 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
967 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
968 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
969 __BOUNDED_POINTERS__.
970 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
971 for __BOUNDED_POINTERS__.
972
973 2000-07-17 Bruno Haible <haible@clisp.cons.org>
974
975 * iconv/gconv_open.c (__gconv_open): Initialize the __data
976 field of struct __gconv_trans_data differently. Don't pass NULL to
977 trans_init_fct. Simplify list append operation.
978
979 2000-07-14 Bruno Haible <haible@clisp.cons.org>
980
981 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
982 not only those having tsearch.
983
984 2000-07-17 Ulrich Drepper <drepper@redhat.com>
985
986 * locale/langinfo.h: Add placeholder values in enum for removed
987 LC_CTYPE entries.
988
989 2000-07-17 Jakub Jelinek <jakub@redhat.com>
990
991 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
992 chain if the PHDR check fails.
993
994 2000-07-17 Mark Kettenis <kettenis@gnu.org>
995
996 * nss/getent.c (print_hosts): Make sure we always print a space
997 between numeric addresses and hostnames.
998
999 2000-07-17 Wolfram Gloger <wg@malloc.de>
1000
1001 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
1002 i.e. if n_mmaps_max>0.
1003
1004 2000-07-16 Mark Kettenis <kettenis@gnu.org>
1005
1006 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
1007 values to remove possible clash with other AI_* constants.
1008 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
1009 hexadecimal constants to stress the fact they're in fact
1010 bit flags.
1011
1012 2000-07-15 Mark Kettenis <kettenis@gnu.org>
1013
1014 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
1015 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
1016 instead of res_init.
1017
1018 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1019
1020 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
1021 parameters of memset calls to avoid warnings.
1022
1023 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1024
1025 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
1026 necessary.
1027
1028 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
1029 Patch by Greg McGary <greg@mcgary.org>.
1030
1031 * io/Makefile (tests): Add tst-getcwd.
1032 * io/tst-getcwd.c: New file.
1033
1034 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
1035
1036 2000-07-15 Jakub Jelinek <jakub@redhat.com>
1037
1038 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
1039 structure.
1040
1041 2000-07-13 Jakub Jelinek <jakub@redhat.com>
1042
1043 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
1044 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
1045
1046 2000-07-12 H.J. Lu <hjl@gnu.org>
1047
1048 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
1049 GLIBC_2.2.
1050 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
1051 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
1052 (sysdep-routines): Add clone2.
1053 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
1054
1055 2000-07-13 Jes Sorensen <jes@linuxcare.com>
1056
1057 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
1058 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
1059
1060 2000-06-05 David Mosberger <davidm@hpl.hp.com>
1061
1062 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
1063 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
1064 Change type of si_band from "int" to "long".
1065 (si_imm) [USE_GNU]: Define
1066 (si_isr) [USE_GNU]: Ditto.
1067 (ILL_BREAK) [USE_GNU]: Ditto.
1068 (FPE_DECOVF) [USE_GNU]: Ditto.
1069 (FPE_DECDIV) [USE_GNU]: Ditto.
1070 (FPE_DECERR) [USE_GNU]: Ditto.
1071 (FPE_INVASC) [USE_GNU]: Ditto.
1072 (FPE_INVDEC) [USE_GNU]: Ditto.
1073 (TRAP_BRANCH) [USE_GNU]: Ditto.
1074 (TRAP_HWBKPT) [USE_GNU]: Ditto.
1075
1076 2000-07-06 Jes Sorensen <jes@linuxcare.com>
1077
1078 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1079 bits/sigcontext as struct mcontext does not depend on it.
1080
1081 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
1082
1083 2000-07-04 Jes Sorensen <jes@linuxcare.com>
1084
1085 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
1086
1087 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
1088
1089 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
1090
1091 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1092
1093 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
1094
1095 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1096
1097 * intl/Makefile (test-srcs): Add tst-translit.
1098 (tests): Likewise.
1099 Add rules to build and run tst-translit.
1100 * intl/tst-translit.c: New file.
1101 * intl/tst-translit.sh: New file.
1102 * intl/translit.po: New file.
1103
1104 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1105
1106 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
1107 transliteration function did its job, continue, don't stop.
1108
1109 * iconvdata/iso646.c: Little optimizations in body for conversion
1110 from UCS4.
1111
1112 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1113
1114 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
1115
1116 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1117
1118 * configure.in: Check for pwd binary.
1119 * config.make.in: Add PWD_P to be subsituted.
1120 * Makerules: Use $(PWD_P) instead of /bin/pwd.
1121
1122 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1123
1124 * iconvdata/Makefile (modules): Add GB18030.
1125 (distribute): Add gb18030.c.
1126 * iconvdata/gconv-modules: Add entries for GB18030 module.
1127 * iconvdata/gb18030.c: New file.
1128 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
1129 and Wu Jian.
1130
1131 2000-07-13 Andreas Jaeger <aj@suse.de>
1132
1133 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
1134 patch.
1135
1136 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
1137 * inet/getnetgrent.c (free_mem): Likewise.
1138 * misc/mntent.c (free_mem): Likewise.
1139 * nss/getXXbyYY.c (free_mem): Likewise.
1140 * nss/getXXent.c (free_mem): Likewise.
1141 * pwd/fgetpwent.c (free_mem): Likewise.
1142 * shadow/fgetspent.c (free_mem): Likewise.
1143
1144 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1145
1146 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
1147 64-bit architecture correctly [PR libc/1794].
1148
1149 2000-07-13 Ulrich Drepper <drepper@redhat.com>
1150
1151 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
1152 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
1153 report that we are out of memory.
1154 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1155 * elf/dl-libc.c (dlerror_run): Likewise.
1156 * elf/dl-open.c (_dl_open): Likewise.
1157 * elf/rtld.c (dl_main): Likewise.
1158 * elf/dl-error.c: Define _dl_out_of_memory.
1159 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
1160 the error string.
1161 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
1162 [PR libc/1813].
1163
1164 * dlfcn/dlerror.c (free_key_mem): Also free error string.
1165
1166 * iconv/loop.c: Fix comment.
1167
1168 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
1169
1170 2000-07-13 Andreas Jaeger <aj@suse.de>
1171
1172 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
1173 getcwd (NULL, size) with size > 0.
1174 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
1175
1176 2000-07-13 Andreas Jaeger <aj@suse.de>
1177
1178 * posix/Makefile: Remove build rules for libposix.
1179
1180 2000-07-13 Andreas Schwab <schwab@suse.de>
1181
1182 * sysdeps/generic/glob.c (glob): Fix memory leak.
1183 [SHELL]: Remove reference to undefined variable `files'.
1184 Fixes PR libc/1782.
1185
1186 2000-07-13 Andreas Jaeger <aj@suse.de>
1187
1188 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
1189 functions.
1190
1191 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
1192 memory if it was allocated.
1193
1194 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1195
1196 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
1197 step.
1198
1199 * iconv/gconv_open.c (__gconv_open): Reapply
1200 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1201
1202 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1203
1204 * iconv/gconv_open.c: Undo last two changes for now. They break
1205 everything.
1206
1207 2000-07-12 Andreas Jaeger <aj@suse.de>
1208
1209 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
1210 compiler.
1211 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
1212 (CFLAGS-dl-cache.c): Likewise.
1213 (CFLAGS-ldconfig.c): Added, passes directory locations.
1214
1215 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
1216 locate cache.
1217 * elf/ldconfig.c (LD_SO_CONF): Likewise.
1218 (main): Use configured LIBDIR and SLIBDIR.
1219
1220 2000-07-11 Jakub Jelinek <jakub@redhat.com>
1221
1222 * math/bits/cmathcalls.h (cimag): Add __THROW.
1223 (creal, conj): Likewise.
1224 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
1225 by negative value.
1226
1227 2000-07-12 H.J. Lu <hjl@gnu.org>
1228
1229 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
1230 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
1231
1232 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1233
1234 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
1235 it is wrong.
1236
1237 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1238
1239 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1240
1241 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1242
1243 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1244 __modname.
1245
1246 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1247
1248 * iconv/gconv_open.c (__gconv_open): Initialize
1249 result->__steps[cnt].__data.
1250
1251 2000-07-12 Mark Kettenis <kettenis@gnu.org>
1252
1253 * nss/getent.c (services_keys): Pass port number in network byte
1254 order in call to getservbyport.
1255
1256 2000-07-11 Andreas Jaeger <aj@suse.de>
1257
1258 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
1259 source dir.
1260 * intl/Makefile (do-gettext-test): Likewise.
1261 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
1262
1263 2000-07-11 Andreas Schwab <schwab@suse.de>
1264
1265 * Makeconfig (run-program-prefix): New rule.
1266 (built-program-cmd): Use run-program-prefix.
1267
1268 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1269
1270 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
1271 and NOEXPR unconditionally available.
1272
1273 2000-07-12 Greg McGary <greg@mcgary.org>
1274
1275 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
1276 * sysdeps/posix/open64.c: Likewise.
1277 * sysdeps/generic/fegetenv.c: Likewise.
1278 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1279 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1280 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1281 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1282 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1283 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1284
1285 2000-07-11 Greg McGary <greg@mcgary.org>
1286
1287 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
1288 Add extra level of macro expansion.
1289 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
1290 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
1291 is available at the time `select' prototype is declared.
1292 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
1293 Collect non-versioned weak aliases. Consider only non-versioned
1294 aliases for the user-visible systemcall name. Do checks inline with
1295 call to primitive system call.
1296 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
1297 stand-alone bounds checks to suppress unused value warnings.
1298 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1299
1300 2000-07-10 Mark Kettenis <kettenis@gnu.org>
1301
1302 * sysdeps/mach/hurd/check_fds.c: New file. Implements
1303 file descriptor checking in SUID programs for the Hurd.
1304
1305 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
1306 res_hostalias instead of __hostalias for thread-safety.
1307
1308 2000-07-09 Mark Kettenis <kettenis@gnu.org>
1309
1310 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
1311 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
1312
1313 2000-07-10 Ulrich Drepper <drepper@redhat.com>
1314
1315 * include/features.h: Include ISO C99 features if the compiler used
1316 is an ISO C99 compiler.
1317 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1318
1319 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1320
1321 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
1322
1323 2000-07-10 Andreas Jaeger <aj@suse.de>
1324
1325 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
1326 it's overridden by libpthreads.
1327 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1328 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1329 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1330 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1331 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1332
1333 * malloc/Makefile: Run tst-mtrace only with shared libs.
1334
1335 * stdio-common/Makefile: Run unbputc and tst-printf tests only
1336 with shared libs.
1337
1338 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1339
1340 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
1341 that gpreg really points to the GOT section of the calling object.
1342 Scan all PT_LOAD segments of objects for stub_pc, instead of only
1343 checking a start address of first one.
1344 Fix typos.
1345 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
1346 Likewise.
1347
1348 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
1349
1350 2000-07-10 Andreas Jaeger <aj@suse.de>
1351
1352 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
1353 (string_alias->strong_alias).
1354
1355 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1356
1357 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
1358
1359 2000-07-07 Greg McGary <greg@mcgary.org>
1360
1361 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
1362 have no names without leading underscores.
1363
1364 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1365
1366 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
1367 U007E.
1368
1369 * stdio-common/Makefile (tests): Remove tst-printf here...
1370 (tests-srcs): ...and add it here.
1371 (distribute): Add tst-unbputc.sh and tst-printf.sh.
1372 Add rules to run tst-printf.sh.
1373 * stdio-common/tst-printf.c: Move code around so that there is really
1374 no further output where it's stated.
1375 * stdio-common/tst-printf.sh: New file.
1376
1377 2000-07-07 Mark Kettenis <kettenis@gnu.org>
1378
1379 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
1380 (do_write): Renamed from pwrite.
1381 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
1382 `struct _IO_cookie_file'.
1383
1384 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1385
1386 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1387 detected.
1388 * malloc/tst-mtrace.sh: Run mtrace script.
1389
1390 2000-07-07 Greg McGary <greg@mcgary.org>
1391
1392 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1393 Move all three components of a bounded pointer.
1394
1395 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1396
1397 * locale/programs/locale.c (write_locales): Don't simply add all
1398 directories found in the subdir, test whether at least the
1399 LC_CTYPE file is in there.
1400
1401 2000-07-06 Ulrich Drepper <drepper@redhat.com>
1402
1403 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1404 * iconvdata/euc-kr.c: Likewise.
1405
1406 * stdio-common/vfprintf.c (process_string_arg): Check result of
1407 wcrtomb call and bail out if it failed.
1408
1409 * malloc/Makefile (test-srcs): Add tst-mtrace.
1410 (distribute): Add tst-mtrace.sh.
1411 Add rule to run tst-mtrace.sh.
1412 * malloc/tst-mtrace.c: New file.
1413 * malloc/tst-mtrace.sh: New file.
1414
1415 * include/signal.h: Declare __libc_sigaction.
1416 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1417 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1418 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1419 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1420 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1421 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1422 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1423
1424 * configure.in: Fix CFLAGS-memprofstat.c definition after
1425 2000-06-19 change.
1426 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1427
1428 2000-07-06 Jakub Jelinek <jakub@redhat.com>
1429
1430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1431 instead of NULL to elf_machine_fixup_plt t argument.
1432 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1433 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1434 cast.
1435
1436 2000-07-06 Andreas Jaeger <aj@suse.de>
1437
1438 * crypt/Makefile (LDLIBS-cert): Removed.
1439 (LDLIBS-md5c-test): Removed.
1440 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1441 ($(objpfx)md5c-test): Likewise for md5c-test.out.
1442
1443 2000-07-06 Andreas Jaeger <aj@suse.de>
1444
1445 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1446 of the proc system is "proc".
1447
1448 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1449 thread library for static programs.
1450
1451 2000-07-06 Greg McGary <greg@mcgary.org>
1452
1453 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1454 New macros.
1455 * sysdeps/generic/strcpy.c: Add bounds checks.
1456 * sysdeps/unix/fxstat.c: Likewise.
1457 * sysdeps/unix/xstat.c: Likewise.
1458 * sysdeps/unix/common/lxstat.c: Likewise.
1459 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1460 * sysdeps/unix/sysv/linux/execve.c: Likewise.
1461 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1462 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1463 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1464 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1465 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1466 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1467 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1468 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1469 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1470 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1471 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1472 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1473 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1474 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1475 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1476 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1477 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1478 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1479 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1480 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1481 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1482 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1483 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1484 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1485 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1486 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1487 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1488 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1489 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1490 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1491 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1492 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1493 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1494 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1495 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1496 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1497 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1498 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1499 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1500 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1501 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1502 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1503 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
1504 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
1505 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1506 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
1507 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1508 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
1509 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
1510 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1511 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1512 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1513 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1514 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1515 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1516 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1517 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1518 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
1519 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1520 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1521 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1522 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
1523
1524 * string/endian.h (__LONG_LONG_PAIR): New macro.
1525 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
1526 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1527 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1528 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1529 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1530 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1531 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1532 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1533 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1534 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1535 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1536 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1537
1538 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
1539
1540 2000-07-06 Andreas Jaeger <aj@suse.de>
1541
1542 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1543 Initialize result.
1544
1545 * math/test-fpucw.c: Include <stdio.h> for printf.
1546
1547 2000-07-05 Greg McGary <greg@mcgary.org>
1548
1549 * sysdeps/generic/bp-checks.h: New file.
1550 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
1551 with list of #include files.
1552 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1553 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
1554 Don't generate BP thunk if `V' appears in signature.
1555 Generate thunks with complete bounds checks.
1556 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
1557 * sysdeps/unix/inet/syscalls.list: Likewise.
1558 * sysdeps/unix/mman/syscalls.list: Likewise.
1559 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1560 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1561 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1562 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1563
1564 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1565
1566 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
1567 result. Search first in /etc/mtab (proc/mounts would be stupid).
1568 If mount not in the file fall back on /proc.
1569
1570 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
1571 string got copied in.
1572 Patch by Solar Designer <solar@false.com>.
1573
1574 2000-07-05 Andreas Jaeger <aj@suse.de>
1575
1576 * manual/install.texi (Installation): Update information about
1577 add-ons.
1578 (Configuring and compiling): Update for glibc 2.2.
1579
1580 2000-07-04 Andreas Jaeger <aj@suse.de>
1581
1582 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1583 (_FPU_IEEE): Likewise.
1584
1585 * math/Makefile (tests): Add test-fpucw.
1586
1587 * math/test-fpucw.c (main): New file.
1588
1589 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1590
1591 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
1592
1593 * locale/programs/ld-collate.c (collate_output): Also write out the
1594 collation sequence values and the wide character string for the
1595 collation symbol table.
1596
1597 * posix/fnmatch.c: Include "../locale/elem-hash.h".
1598 * posix/fnmatch_loop.c: Implement collating symbol handling.
1599 * posix/tst-fnmatch.input: Add more tests, especially for collating
1600 symbol handling.
1601
1602 * posix/regex.c: Fix comment.
1603
1604 2000-07-05 Andreas Jaeger <aj@suse.de>
1605
1606 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
1607 (_FPU_GETCW): Remove extra colon.
1608 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1609
1610 * posix/fnmatch_loop.c (FCT): Only declare len if
1611 !WIDE_CHAR_VERSION to silence GCC.
1612
1613 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
1614 prototype.
1615 * sysdeps/generic/strchrnul.c: Likewise.
1616 * sysdeps/generic/strlen.c: Likewise.
1617 * sysdeps/generic/strchr.c: Likewise.
1618 * sysdeps/generic/memchr.c: Likewise.
1619
1620 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1621
1622 * posix/fnmatch_loop.c: Implement equivalence class handling.
1623 * posix/tst-fnmatch.input: Add tests for equivalence class
1624 handling.
1625
1626 * posix/fnmatch_loop.c: Improve performance for single-byte
1627 character sets by not using btowc.
1628
1629 * posix/tst-fnmatch.input: Add tests for locale dependent
1630 behaviour.
1631 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
1632
1633 * posix/tst-fnmatch.input: Add more test cases.
1634
1635 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
1636 are not aligned to alignof(md5_uint32) do it before calling
1637 __md5_process_bytes.
1638 * crypt/md5.c: Make sure buffers are aligned.
1639 * crypt/md5.h: Likewise.
1640 Reported by Solar Designer <solar@false.com>.
1641
1642 * crypt/Makefile: Add dependencies for test programs.
1643
1644 * Rules: Define LC_ALL=C in environments of all programs we run.
1645
1646 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
1647
1648 2000-07-03 H.J. Lu <hjl@gnu.org>
1649
1650 * locale/programs/ld-ctype.c (ctype_output): The size of iov
1651 is 2 + elem + offset, not 2 + elem + offset + 2.
1652
1653 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1654
1655 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
1656 suite.
1657 * posix/Makefile (tests): Add tst-fnmatch.
1658 (tst-fnmatch-ENV): Define.
1659 * posix/tst-fnmatch.c: New file.
1660 * posix/tst-fnmatch.sh: New file.
1661
1662 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
1663
1664 * locale/programs/charmap.c (charmap_read): Prepend
1665 the condition filename == NULL.
1666
1667 2000-07-03 Greg McGary <greg@mcgary.org>
1668
1669 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
1670
1671 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
1672 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
1673
1674 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
1675 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
1676 (FILEBUF_LITERAL): Add cast for CHAIN init.
1677 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
1678 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1679 Revert type of `fp' to _IO_FILE*.
1680 (_IO_iter_file): Remove cast.
1681 (_IO_iter_next): Elide intermediate member reference.
1682
1683 * sysdeps/powerpc/strchr.S: Check bounds.
1684 Wrap extern symbols in BP_SYM ().
1685
1686 2000-07-03 Andreas Jaeger <aj@suse.de>
1687
1688 * dlfcn/Makefile (generated): New.
1689
1690 2000-07-03 Ulrich Drepper <drepper@redhat.com>
1691
1692 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
1693 (__uflow): Likewise.
1694 (__underflow): Likewise.
1695 * libio/wgenops.c (__wunderflow): Likewise.
1696 * stdio-common/tst-unbputc.c: New file.
1697 * stdio-common/tst-unbputc.sh: New file.
1698 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
1699
1700 * po/en_GB.po: New file.
1701 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
1702
1703 2000-07-01 Andreas Jaeger <aj@suse.de>
1704
1705 * intl/Makefile (generated-dirs): New.
1706
1707 * elf/Makefile (generated): trusted-dirs.h is always generated,
1708 move out of build-shared condition.
1709 (generated): Merge the two entries for build-shared.
1710
1711 2000-07-01 Ulrich Drepper <drepper@redhat.com>
1712
1713 * debug/Makefile (distribute): Add xtrace.sh.
1714
1715 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1716
1717 * version.h (VERSION): Bump to 2.1.91.
1718
1719 * configure.in: Update warning comment. glibc should not be
1720 broken anymore.
1721
1722 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
1723 ioperm.c, sys/procfs.h, and sys/io.h.
1724
1725 * sysdeps/powerpc/Dist: Add bp-asm.h.
1726
1727 * assert/Depend: Add localedata.
1728 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
1729 (test-assert-perr-ENV): New. Define LANGUAGE=C.
1730
1731 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
1732 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
1733 relocation address to prevent unaligned trap.
1734 Suggested by Richard Henderson <rth@cygnus.com>.
1735
1736 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1737
1738 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
1739 if redirecting and either redirection is done using defines or
1740 not optimizing.
1741
1742 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1743
1744 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
1745 generated expressions.
1746 Patch by Darren McClelland <dmcclell@zetec.com>.
1747
1748 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
1749 since zic uses setlocale and gettext but we cannot make it use the
1750 new locale data since zic calls a shell which might not use the
1751 new libc.
1752
1753 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
1754 handling the internation currency symbol. POSIX says that the
1755 fourth character is used to separate the currency symbol from the
1756 value. Therefore it does not have to be printed. But we cannot
1757 remove the space if the currency symbol is printed before the
1758 number since this is what many locales expect.
1759
1760 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
1761 whether this information is available.
1762
1763 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
1764 buffers in case the translation is too large. Remember allocated
1765 memory blocks in a list.
1766 (free_mem): Free memory for translations.
1767
1768 * intl/tst-gettext.c: Use correct locale. Improve error messages.
1769
1770 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
1771 information is available set the string length to zero.
1772
1773 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
1774
1775 2000-06-30 Greg McGary <greg@mcgary.org>
1776
1777 * sysdeps/powerpc/bp-asm.h: New file.
1778 * sysdeps/powerpc/__longjmp.S: Check bounds.
1779 Wrap extern symbols in BP_SYM ().
1780 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
1781 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
1782 * sysdeps/powerpc/setjmp.S: Likewise.
1783 * sysdeps/powerpc/add_n.S: Likewise.
1784 * sysdeps/powerpc/addmul_1.S: Likewise.
1785 * sysdeps/powerpc/lshift.S: Likewise.
1786 * sysdeps/powerpc/rshift.S: Likewise.
1787 * sysdeps/powerpc/mul_1.S: Likewise.
1788 * sysdeps/powerpc/sub_n.S: Likewise.
1789 * sysdeps/powerpc/submul_1.S: Likewise.
1790 * sysdeps/powerpc/strlen.S: Likewise.
1791 * sysdeps/powerpc/memset.S: Likewise.
1792 * sysdeps/powerpc/stpcpy.S: Likewise.
1793 * sysdeps/powerpc/strcmp.S: Likewise.
1794 * sysdeps/powerpc/strcpy.S: Likewise.
1795 * sysdeps/powerpc/elf/bzero.S: Likewise.
1796
1797 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
1798 Line up operands column with tabs.
1799
1800 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1801
1802 * elf/Makefile (LDFLAGS-origtest): Actually add it.
1803
1804 * sysdeps/ia64/htonl.S: New file.
1805 * sysdeps/ia64/htons.S: New file.
1806 * sysdeps/ia64/memcpy.S: Replace with version which does not use
1807 floating point registers.
1808 Patches by Dan Pop <Dan.Pop@cern.ch>.
1809
1810 2000-06-30 Andreas Jaeger <aj@suse.de>
1811
1812 * posix/Makefile (tests): tst-exec and tst-spawn only work with
1813 shared libraries.
1814
1815 * io/Makefile (CFLAGS-test-lfs.c): New.
1816 (tests): Add test-lfs.
1817
1818 * io/test-lfs.c: New file.
1819
1820 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1821
1822 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
1823 instruction.
1824
1825 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
1826
1827 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
1828
1829 2000-06-29 Jes Sorensen <jes@linuxcare.com>
1830
1831 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
1832 alias to the fstatfs call.
1833
1834 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
1835 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
1836
1837 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
1838 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
1839
1840 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
1841 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
1842 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
1843 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
1844
1845 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
1846 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
1847
1848 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
1849 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
1850
1851 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
1852 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
1853
1854 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
1855
1856 2000-06-29 Andreas Jaeger <aj@suse.de>
1857
1858 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
1859 with syslog.
1860 (print_err_message): Likewise.
1861 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1862
1863 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1864
1865 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
1866 used as words is properly aligned.
1867
1868 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
1869 data files.
1870
1871 2000-06-29 Greg McGary <greg@mcgary.org>
1872
1873 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
1874 * sysdeps/unix/make-syscalls.sh: Handle signatures of
1875 length 7..9, just in case...
1876 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
1877
1878 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
1879 (POP_ERRNO_LOCATION_RETURN): Fold insns.
1880 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
1881 (PUSH_SIGNAL_MASK): New macro.
1882 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
1883 LEAVE is unnecessary. Check bounds of jmp_buf.
1884 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
1885 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
1886 immediately before tail-call.
1887 * sysdeps/i386/setjmp.S: Likewise.
1888 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1889 * sysdeps/i386/bsd-setjmp.S: Likewise.
1890
1891 2000-06-29 Jakub Jelinek <jakub@redhat.com>
1892
1893 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
1894 versioned_symbol.
1895 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
1896 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
1897 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
1898 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1899 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
1900 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
1901 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
1902 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
1903
1904 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1905
1906 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
1907 we later need to calling free().
1908 Patch by Matt Wilson <msw@redhat.com>.
1909
1910 * stdio-common/tst-printf.c: Add test for above problem.
1911
1912 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
1913
1914 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
1915 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
1916
1917 2000-06-28 Jes Sorensen <jes@linuxcare.com>
1918
1919 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
1920 prototype for abs().
1921 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
1922
1923 2000-06-23 Andreas Jaeger <aj@suse.de>
1924
1925 * config.h.in: Don't use regparm with bounded pointers.
1926
1927 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1928
1929 * stdlib/grouping.h: Correctly handle multibyte thousands
1930 separator and decimal point.
1931 * stdlib/stdtod.c: Likewise.
1932 * sysdeps/generic/strtol.c: Likewise.
1933
1934 * locale/categories.def: Add entries for wide character decimal point
1935 and thousands separator in numeric and monetary category.
1936
1937 2000-06-28 Ulrich Drepper <drepper@redhat.com>
1938
1939 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
1940 second definition and initialization of decimal.
1941
1942 2000-06-28 Greg McGary <greg@mcgary.org>
1943
1944 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
1945 out.
1946 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
1947 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
1948 in.
1949 (_IO_JUMPS): Don't cast THIS--expect arg to be a
1950 (struct _IO_FILE_plus *).
1951 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
1952 THIS, since _IO_JUMPS no longer does it implicitly.
1953 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
1954 arg type as (struct _IO_FILE_plus *).
1955 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
1956 arg as (_IO_strfile *).
1957 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
1958 Declare 1st arg as (_IO_strfile *).
1959 * libio/fileops.c (_IO_new_file_init): Declare
1960 arg type as (struct _IO_FILE_plus *).
1961 * libio/oldfileops.c (_IO_old_file_init): Likewise.
1962 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
1963 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1964 Declare iteration pointer as (struct _IO_FILE_plus *).
1965 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
1966 (struct _IO_FILE_plus *).
1967 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
1968 * libio/oldstdfiles.c (_IO_list_all): Likewise.
1969 (_IO_check_libio): Set user-visible handles to
1970 (struct _IO_FILE_plus *).
1971 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
1972 to (struct _IO_FILE_plus *).
1973
1974 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
1975 whose high bound includes vtable to all functions that will use
1976 vtable. For streambufs, pass pointer whose bounds include struct
1977 _IO_strfile.
1978 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
1979 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1980 * libio/iofopen.c (_IO_new_fopen): Likewise.
1981 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1982 * libio/iofopen64.c (_IO_fopen64): Likewise.
1983 * libio/iopopen.c (_IO_new_popen): Likewise.
1984 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1985 * libio/memstream.c (open_memstream): Likewise.
1986 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1987 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
1988 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1989 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1990 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
1991 * libio/vasprintf.c (_IO_vasprintf): Likewise.
1992 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1993 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1994 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
1995 * stdlib/strfmon.c (__strfmon_l): Likewise.
1996 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
1997 (vfprintf): Qualify computed-goto targets as unbounded.
1998
1999 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2000
2001 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
2002 thousands separator correctly.
2003
2004 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
2005 * stdio-common/vfwscanf.c: Likewise.
2006
2007 2000-06-27 Jes Sorensen <jes@linuxcare.com>
2008
2009 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
2010 count into signatures for most calls.
2011
2012 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2013
2014 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
2015 the generic parser now.
2016
2017 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2018
2019 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
2020 table entries are 32 bit on the ia64 (as specified by the ABI),
2021 not 64 bit as on the Alpha.
2022
2023 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
2024 change of objects to use 32 bit hash table indices (see above).
2025
2026 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2027
2028 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
2029 prototype for abs().
2030
2031 2000-06-28 Wolfram Gloger <wg@malloc.de>
2032
2033 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
2034 fails, try mmap_chunk() as a last resort even though n_mmaps_max
2035 may have been reached.
2036
2037 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2038
2039 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
2040 symbols in multi-character weights correctly.
2041
2042 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
2043 depending on whether the input string is empty or not.
2044
2045 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
2046 given state and not avoiding this by modifying a local object.
2047 * wcsmbs/wcrtomb.c: Likewise.
2048
2049 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
2050 object since some incomplete characters might be in there.
2051
2052 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
2053 sequences with first byte 0x8e correctly.
2054
2055 * iconvdata/jis0208.h: Remove redundant test.
2056
2057 2000-06-27 Ulrich Drepper <drepper@redhat.com>
2058
2059 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
2060 Add it where it is needed now.
2061
2062 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
2063 the input charset into account when generating the hash table.
2064 (allocate_arrays): Correct setting default width. Not all empty slots
2065 in the table are filled, only those not covert explicitly by the
2066 locale description and in the charset.
2067
2068 * wctype/towctrans.c (__towctrans): Be graceful and accept error
2069 return values from the wctrans function.
2070
2071 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
2072 wide character version.
2073 For %C handling, test correct pointer variable for NULL.
2074
2075 * wcsmbs/wctob.c: Handle WEOF special.
2076
2077 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
2078
2079 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
2080 always-true test to avoid warning.
2081
2082 2000-06-27 Greg McGary <greg@mcgary.org>
2083
2084 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
2085 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
2086 (symbol_version, default_symbol_version): Factor redundant
2087 definitions out of conditional.
2088
2089 2000-06-27 Jakub Jelinek <jakub@redhat.com>
2090
2091 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
2092 not obstack_blank.
2093
2094 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2095
2096 * include/libc-symbols.h (symbol_version): Add extra level of
2097 macro expansion.
2098 (default_symbol_version): Likewise.
2099
2100 2000-06-26 Greg McGary <greg@mcgary.org>
2101
2102 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
2103 for BP return value & push implicit struct-return pointer to
2104 __errno_location.
2105 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2106 (SYSCALL_ERROR_HANDLER): Likewise.
2107 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2108 (SYSCALL_ERROR_HANDLER): Likewise.
2109
2110 * Makeconfig: Add missing comment.
2111 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
2112 BP-flavored startup object.
2113 ($(objpfx)b$(start-installed-name)): New rule.
2114 * include/libc-symbols.h (symbol_set_declare): Change type
2115 of `__start_##set' and `__stop_##set' to pointer-to-function.
2116 (symbol_set_declare): Change type of `set' to array of
2117 pointer-to-function.
2118 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
2119 pointer-to-function.
2120
2121 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
2122
2123 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
2124 Remove clock_* and timer_* entries.
2125 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
2126 arg-count with signatures.
2127
2128 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
2129 Check bounds of arguments.
2130 * sysdeps/i386/addmul_1.S: Likewise.
2131 * sysdeps/i386/lshift.S: Likewise.
2132 * sysdeps/i386/mul_1.S: Likewise.
2133 * sysdeps/i386/rshift.S: Likewise.
2134 * sysdeps/i386/sub_n.S: Likewise.
2135 * sysdeps/i386/submul_1.S: Likewise.
2136 * sysdeps/i386/i586/add_n.S: Likewise.
2137 * sysdeps/i386/i586/addmul_1.S: Likewise.
2138 * sysdeps/i386/i586/lshift.S: Likewise.
2139 * sysdeps/i386/i586/rshift.S: Likewise.
2140 * sysdeps/i386/i586/sub_n.S: Likewise.
2141 * sysdeps/i386/i686/add_n.S: Likewise.
2142
2143 * sysdeps/i386/memchr.S: Likewise.
2144 * sysdeps/i386/memcmp.S: Likewise.
2145 * sysdeps/i386/rawmemchr.S: Likewise.
2146 * sysdeps/i386/i586/bzero.S: Likewise.
2147 * sysdeps/i386/i586/memcpy.S: Likewise.
2148 * sysdeps/i386/i586/mempcpy.S: Likewise.
2149 * sysdeps/i386/i586/memset.S: Likewise.
2150 * sysdeps/i386/i686/bzero.S: Likewise.
2151 * sysdeps/i386/i686/memcpy.S: Likewise.
2152 * sysdeps/i386/i686/mempcpy.S: Likewise.
2153 * sysdeps/i386/i686/memset.S: Likewise.
2154
2155 * sysdeps/i386/stpcpy.S: Likewise.
2156 * sysdeps/i386/stpncpy.S: Likewise.
2157 * sysdeps/i386/strchr.S: Likewise.
2158 * sysdeps/i386/strchrnul.S: Likewise.
2159 * sysdeps/i386/strcspn.S: Likewise.
2160 * sysdeps/i386/strpbrk.S: Likewise.
2161 * sysdeps/i386/strrchr.S: Likewise.
2162 * sysdeps/i386/strspn.S: Likewise.
2163 * sysdeps/i386/strtok.S: Likewise.
2164 * sysdeps/i386/strtok_r.S: Likewise.
2165 * sysdeps/i386/i486/strcat.S: Likewise.
2166 * sysdeps/i386/i486/strlen.S: Likewise.
2167 * sysdeps/i386/i586/strchr.S: Likewise.
2168 * sysdeps/i386/i586/strcpy.S: Likewise.
2169 * sysdeps/i386/i586/strlen.S: Likewise.
2170 * sysdeps/i386/i686/strcmp.S: Likewise.
2171 * sysdeps/i386/i686/strtok.S: Likewise.
2172 * sysdeps/i386/i686/strtok_r.S: Likewise.
2173
2174 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
2175 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2176 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2177 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2178 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2179
2180 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
2181 * sysdeps/i386/mul_1.S: Likewise.
2182 * sysdeps/i386/submul_1.S: Likewise.
2183 * sysdeps/i386/i586/add_n.S: Likewise.
2184 * sysdeps/i386/i586/addmul_1.S: Likewise.
2185 * sysdeps/i386/i586/lshift.S: Likewise.
2186 * sysdeps/i386/i586/mul_1.S: Likewise.
2187 * sysdeps/i386/i586/rshift.S: Likewise.
2188 * sysdeps/i386/i586/sub_n.S: Likewise.
2189 * sysdeps/i386/i586/submul_1.S: Likewise.
2190
2191 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2192
2193 * rt/Makefile (librt-routines): Add clock_nanosleep.
2194 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
2195 * sysdeps/generic/clock_nanosleep.c: New file.
2196 * sysdeps/unix/clock_nanosleep.c: New file.
2197 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
2198 * time/time.h: Declare clock_nanosleep.
2199
2200 2000-06-26 Greg McGary <greg@mcgary.org>
2201
2202 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
2203 INSN1, INSN2, TEXT, GLOBL): Remove macros.
2204 (ALIGN): Cleanup surrounding conditionals.
2205
2206 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
2207 Call ENTER/LEAVE macros.
2208 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
2209 * sysdeps/i386/submul_1.S: Likewise.
2210
2211 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
2212 syntax. Define & use symbolic argument stack offsets. Call
2213 ENTER/LEAVE macros.
2214 * sysdeps/i386/i586/mul_1.S: Likewise.
2215 * sysdeps/i386/i586/submul_1.S: Likewise.
2216
2217 2000-06-25 Greg McGary <greg@mcgary.org>
2218
2219 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
2220 not as bcopy.
2221
2222 2000-06-25 Ulrich Drepper <drepper@redhat.com>
2223
2224 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
2225 * iconvdata/gen-8bit-gap.sh: Likewise.
2226 * iconvdata/gen-8bit.sh: Likewise.
2227
2228 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
2229
2230 * locale/programs/ld-collate.c (collate_read): Don't actually read
2231 the copy locale if we are ignoring the content.
2232
2233 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
2234 unknown character.
2235
2236 * locale/programs/ld-collate.c: Correct handling of different
2237 collation sections.
2238 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
2239 as extra parameter from which to copy category information.
2240 Change all callers.
2241 (load_locale): Likewise.
2242 * locale/programs/localedef.h: Update prototypes of add_to_readlist
2243 and load_locale.
2244 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
2245 * locale/programs/locfile.h: Likewise.
2246 * locale/programs/locfile-kw.gperf: Add entry for script.
2247 * locale/programs/locfile-token.h: Add tok_script.
2248
2249 * locale/programs/locale.c: Update copyright year.
2250 * locale/programs/localedef.c: Likewise.
2251
2252 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
2253
2254 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
2255 Jens Moeller <jens.moeller@waii.com>.
2256
2257 2000-06-24 Ulrich Drepper <drepper@redhat.com>
2258
2259 * locale/programs/ld-name.c (name_finish): Add missing format
2260 specifier to test for name_fmt.
2261
2262 * locale/programs/ld-address.c (iso639): Correct length of string
2263 elements.
2264 (iso3166): Likewise.
2265
2266 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
2267
2268 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
2269 Define.
2270
2271 * elf/elf.h (NT_PRFPXREG): Define.
2272
2273 2000-06-23 Ulrich Drepper <drepper@redhat.com>
2274
2275 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
2276 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
2277
2278 2000-06-23 Andreas Schwab <schwab@suse.de>
2279
2280 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
2281 with signatures.
2282
2283 2000-06-23 Andreas Jaeger <aj@suse.de>
2284
2285 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
2286
2287 * io/test-stat.c: Add copyright header, mention Maciej.
2288
2289 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
2290 SYS_mincore, SYS_madvise): Added.
2291
2292 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
2293 execve.
2294
2295 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2296
2297 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
2298 (CFLAGS-tst_putwc.c): New definition.
2299 * libio/tst_getwc.c: New file.
2300 * libio/tst_getwc.input: New file.
2301 * libio/tst_putwc.c: New file.
2302
2303 * include/string.h: Add prototype for __strdup.
2304
2305 2000-06-22 Greg McGary <greg@mcgary.org>
2306
2307 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
2308 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
2309 Fix signatures.
2310
2311 2000-06-23 Jes Sorensen <jes@linuxcare.com>
2312
2313 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
2314
2315 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2316
2317 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
2318
2319 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2320
2321 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
2322 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
2323
2324 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2325
2326 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
2327 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
2328 and __S_TYPEISSHM.
2329 * sysdeps/mach/hurd/bits/stat.h: Likewise.
2330 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2331 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2332 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2333 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2334 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
2335 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2336 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2337 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2338 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2339 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2340 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2341 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
2342 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
2343 S_TYPEISSHM.
2344
2345 2000-06-22 Andreas Jaeger <aj@suse.de>
2346
2347 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
2348 with signatures.
2349
2350 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
2351
2352 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
2353
2354 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2355
2356 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
2357 ahead.
2358
2359 2000-06-21 Greg McGary <greg@mcgary.org>
2360
2361 * Makerules (elide-routines.*, elide-bp-thunks):
2362 Define unconditionally.
2363
2364 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2365
2366 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2367
2368 2000-06-21 Andreas Jaeger <aj@suse.de>
2369
2370 * io/Makefile (tests): Add test-stat.
2371 (CFLAGS-test-stat.c): New.
2372
2373 * io/test-stat.c: New file from Maciej W. Rozycki
2374 <macro@ds2.pg.gda.pl>.
2375
2376 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2377
2378 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
2379 in __rlimit_resource to make them match the kernel order.
2380 rlim_t is always 64 bit, use __rlim64_t to declare it
2381 unconditionally.
2382
2383 2000-05-04 Jes Sorensen <jes@linuxcare.com>
2384
2385 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2386 RLIM_INFINITY before defining it to avoid clash with kernel header
2387
2388 2000-05-03 Jes Sorensen <jes@linuxcare.com>
2389
2390 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2391
2392 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2393
2394 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2395
2396 2000-06-21 Andreas Jaeger <aj@suse.de>
2397
2398 * stdio-common/temptest.c: Include <stdlib.h>.
2399 * stdio-common/tst-fileno.c: Likewise.
2400 * stdio-common/scanf4.c: Likewise.
2401 * stdio-common/scanf5.c: Likewise.
2402 * time/clocktest.c: Likewise.
2403 * posix/test-vfork.c: Likewise.
2404 * posix/globtest.c: Likewise.
2405 * io/test-utime.c: Likewise.
2406 * wctype/test_wcfuncs.c: Likewise.
2407 * crypt/cert.c: Likewise.
2408
2409 * stdio-common/tst-printfsz.c: Include <string.h>.
2410 * libio/tst_swscanf.c: Likewise.
2411 * libio/tst_wscanf.c: Likewise.
2412 * posix/runtests.c: Likewise.
2413 * posix/tst-getaddrinfo.c: Likewise.
2414 * posix/wordexp-test.c: Likewise.
2415 * misc/tst-efgcvt.c: Likewise.
2416
2417 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2418 * nss/test-netdb.c: Likewise.
2419
2420 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2421 supported kernel for MIPS.
2422
2423 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2424 * rt/aio_suspend.c: Likewise.
2425
2426 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2427
2428 * math/libm-test.inc: Include <string.h>.
2429
2430 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2431
2432 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2433
2434 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2435
2436 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2437 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2438
2439 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
2440
2441 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2442
2443 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2444
2445 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2446
2447 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2448
2449 * locale/programs/ld-collate.c (insert_value): Now take string and
2450 length instead of struct token* parameter. Adjust use of token.
2451 (handle_ellipsis): Likewise.
2452 (collate_read): Allow <Uxxxx> names and transform them into names
2453 to be passed to insert_value and handle_ellipsis.
2454
2455 * locale/programs/ld-ctype.c (uninames): New array with names of
2456 digits in <Uxxxxxxxx> format.
2457 (ctype_finish): Correct search for space character value. Likewise
2458 for default outdigits values.
2459
2460 2000-06-20 Greg McGary <greg@mcgary.org>
2461
2462 * Makerules (objects): Add BP thunks.
2463
2464 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2465
2466 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2467 in width definitions.
2468
2469 2000-06-20 Andreas Jaeger <aj@suse.de>
2470
2471 * sysdeps/mips/fpu/libm-test-ulps: New file.
2472
2473 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2474 first.
2475
2476 * sysdeps/mips/fpu/feholdexcpt.c: New file.
2477
2478 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2479
2480 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2481
2482 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2483 change in gconv_builtin.h.
2484
2485 * malloc/Makefile: Change all references to memprof into memusage.
2486 * malloc/memprof.c: Rename to...
2487 * malloc/memusage.c: ...this. New file.
2488 * malloc/memprof.sh: Rename to...
2489 * malloc/memusage.sh: ...this. New file.
2490 * malloc/memprofstat.c: Rename to...
2491 * malloc/memusagestat.c: ...this. New file.
2492 * sysdeps/alpha/memprof.h: Rename to..
2493 * sysdeps/alpha/memusage.h: ...this. New file.
2494 * sysdeps/arm/memprof.h: Rename to..
2495 * sysdeps/arm/memusage.h: ...this. New file.
2496 * sysdeps/generic/memprof.h: Rename to..
2497 * sysdeps/generic/memusage.h: ...this. New file.
2498 * sysdeps/i386/memprof.h: Rename to..
2499 * sysdeps/i386/memusage.h: ...this. New file.
2500 * sysdeps/ia64/memprof.h: Rename to..
2501 * sysdeps/ia64/memusage.h: ...this. New file.
2502 * sysdeps/m68k/memprof.h: Rename to..
2503 * sysdeps/m68k/memusage.h: ...this. New file.
2504 * sysdeps/mips/memprof.h: Rename to..
2505 * sysdeps/mips/memusage.h: ...this. New file.
2506 * sysdeps/powerpc/memprof.h: Rename to..
2507 * sysdeps/powerpc/memusage.h: ...this. New file.
2508 * sysdeps/sparc/memprof.h: Rename to..
2509 * sysdeps/sparc/memusage.h: ...this. New file.
2510 * sysdeps/sh/memprof.h: Rename to..
2511 * sysdeps/sh/memusage.h: ...this. New file.
2512
2513 * elf/sprof.c (print_version): Update year.
2514
2515 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
2516 table entry values. Use D_PTR.
2517 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
2518 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
2519
2520 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2521
2522 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2523 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
2524 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
2525 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
2526
2527 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2528
2529 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
2530
2531 2000-06-16 Jes Sorensen <jes@linuxcare.com>
2532
2533 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
2534 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
2535 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
2536
2537 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
2538
2539 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
2540 kernel change.
2541
2542 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
2543 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
2544 structure.
2545 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2546 implementation.
2547
2548 2000-06-15 Jes Sorensen <jes@linuxcare.com>
2549
2550 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2551
2552 2000-06-08 Jes Sorensen <jes@linuxcare.com>
2553
2554 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2555
2556 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2557
2558 * iconv/gconv_int.h (strict gconv_module): Remove all members
2559 associated with regular expressions. Use a simple string as the
2560 from name.
2561 * iconv/gconv_db.c: Remove code handling regular expressions.
2562 * iconv/gconv_conf.c: Likewise.
2563 * iconv/iconv_prog.c: Likewise.
2564 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2565
2566 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
2567 General namespace cleanup.
2568 (struct __gconv_trans_data): Add next field.
2569 (struct __gconv_step_data): Make __trans a pointer.
2570 * iconv/gconv_conf.c: Split out code to find gconv directories from
2571 __gconv_read_conf in new functions.
2572 * iconv/gconv_int.h: Define new data structure and declare new
2573 functions for handling of gconv directory list.
2574 * iconv/gconv_open.c: Allow more than one error handling step being
2575 used. Call function to load error handling module if it is none
2576 of the builtin transformations.
2577 * iconv/gconv_close.c: Add code to free transliteration data.
2578 * iconv/gconv_trans.c: Add functions to load and unload modules
2579 implementing transliteration etc.
2580 * iconv/skeleton.c: Call all context functions now that more than
2581 one module is allowed.
2582 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
2583 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
2584 where the full error handling using transliteration is needed.
2585 * iconvdata/8bit-gap.c: Likewise.
2586 * iconvdata/8bit-generic.c: Likewise.
2587 * iconvdata/ansi_x3.110.c: Likewise.
2588 * iconvdata/big5.c: Likewise.
2589 * iconvdata/big5hkscs.c: Likewise.
2590 * iconvdata/euc-cn.c: Likewise.
2591 * iconvdata/euc-jp.c: Likewise.
2592 * iconvdata/euc-kr.c: Likewise.
2593 * iconvdata/euc-tw.c: Likewise.
2594 * iconvdata/gbgbk.c: Likewise.
2595 * iconvdata/gbk.c: Likewise.
2596 * iconvdata/iso-2022-cn.c: Likewise.
2597 * iconvdata/iso-2022-jp.c: Likewise.
2598 * iconvdata/iso-2022-kr.c: Likewise.
2599 * iconvdata/iso646.c: Likewise.
2600 * iconvdata/iso8859-1.c: Likewise.
2601 * iconvdata/iso_6937-2.c: Likewise.
2602 * iconvdata/iso_6937.c: Likewise.
2603 * iconvdata/johab.c: Likewise.
2604 * iconvdata/sjis.c: Likewise.
2605 * iconvdata/t.61.c: Likewise.
2606 * iconvdata/uhc.c: Likewise.
2607 * iconvdata/unicode.c: Likewise.
2608 * iconvdata/utf-16.c: Likewise.
2609 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
2610 structure correctly after last change.
2611 * wcsmbs/btowc.c: Likewise.
2612 * wcsmbs/mbrtowc.c: Likewise.
2613 * wcsmbs/mbsnrtowcs.c: Likewise.
2614 * wcsmbs/mbsrtowcs.c: Likewise.
2615 * wcsmbs/wcrtomb.c: Likewise.
2616 * wcsmbs/wcsnrtombs.c: Likewise.
2617 * wcsmbs/wcsrtombs.c: Likewise.
2618 * wcsmbs/wctob.c: Likewise.
2619
2620 * localedata/Makefile: Set -Wno-format for some files since gcc does
2621 not know all the format specifiers.
2622
2623 2000-06-18 Ulrich Drepper <drepper@redhat.com>
2624
2625 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
2626 unneeded code.
2627 * locale/lc-time.c (_nl_init_era_entries): Likewise.
2628
2629 2000-06-18 Andreas Jaeger <aj@suse.de>
2630
2631 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
2632 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2633
2634 2000-06-17 Ulrich Drepper <drepper@redhat.com>
2635
2636 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
2637 LINUX_LINK_MAX.
2638 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2639
2640 * locale/programs/ld-ctype.c (ctype_output): Really write out
2641 mboutdigits information.
2642 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
2643 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
2644 * localedata/tests/trans.def: Add outdigit information.
2645
2646 * localedata/tst-mbswcs3.c: Remove comment.
2647
2648 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
2649 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
2650 * libio/tst_wprintf.c (main): Add test for I flag.
2651
2652 * iconv/gconv_trans.c: Implement handling if translit_ignore.
2653 * locale/langinfo.h: Add entries for translit_ignore information.
2654 * locale/categories.def: Add entries for new LC_CTYPE elements.
2655 * locale/C-ctype.c: Add initializers for new fields. Use NULL
2656 pointer instead of "" where possible.
2657 * locale/programs/ld-ctype.c: Write out translit_ignore information.
2658 * intl/Depend: Add localedata.
2659 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
2660 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
2661
2662 2000-06-16 Ulrich Drepper <drepper@redhat.com>
2663
2664 * locale/langinfo.h: Add entries for default_missing information.
2665 * locale/C-ctype.c: Add initializers for new fields.
2666 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
2667 information.
2668 * locale/categories.h: Add entries for all LC_CTYPE values.
2669 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
2670 information.
2671
2672 * localedata/tst-trans.c: Write out an error message if class is
2673 not found.
2674
2675 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
2676 * iconv/gconv_open.c: Remove error handling specification from `from'
2677 character set name.
2678 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
2679 new parameter to always enable transliteration.
2680 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
2681 change.
2682 (struct locale_data): Add new members use_translit and options.
2683 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
2684 character set name contained modifier TRANSLIT.
2685 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
2686 and options fields.
2687 (_nl_unload_locale): Free options string if necessary.
2688 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
2689 the locale names suggested this.
2690 * locale/C-address.c: Add two new initialilzers to adjust data
2691 structure for new format.
2692 * locale/C-collate.c: Likewise.
2693 * locale/C-ctype.c: Likewise.
2694 * locale/C-identification.c: Likewise.
2695 * locale/C-measurement.c: Likewise.
2696 * locale/C-messages.c: Likewise.
2697 * locale/C-monetary.c: Likewise.
2698 * locale/C-name.c: Likewise.
2699 * locale/C-numeric.c: Likewise.
2700 * locale/C-paper.c: Likewise.
2701 * locale/C-telephone.c: Likewise.
2702 * locale/C-time.c: Likewise.
2703
2704 * locale/setlocale.c: Add some more __builtin_expect.
2705
2706 2000-06-15 Ulrich Drepper <drepper@redhat.com>
2707
2708 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
2709 unsigned char **.
2710 (__gconv_init_fct): Remove two parameters.
2711 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
2712 gconv_transliterate. Remove two parameters.
2713 Change prototypes of builtin functions according to __gconv_fct change.
2714 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
2715 != NULL only during error handling. Stop in this case after the
2716 conversion.
2717 * iconv/gconv_trans.c: Replace with real implementation for
2718 __gconv_transliterate.
2719 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
2720 * iconv/gconv.c: Change calls to downstream functions once again.
2721 Use NULL for the fifth parameter instead of pointer to output buffer.
2722 * libio/iofwide.c: Likewise.
2723 * wcsmbs/btowc.c: Likewise.
2724 * wcsmbs/mbrtowc.c: Likewise.
2725 * wcsmbs/mbsnrtowcs.c: Likewise.
2726 * wcsmbs/mbsrtowcs.c: Likewise.
2727 * wcsmbs/wcrtomb.c: Likewise.
2728 * wcsmbs/wcsnrtombs.c: Likewise.
2729 * wcsmbs/wcsrtombs.c: Likewise.
2730 * wcsmbs/wctob.c: Likewise.
2731 * iconv/gconv_simple.c: Remove two parameters from error handling
2732 function call.
2733 * iconvdata/8bit-gap.c: Likewise.
2734 * iconvdata/8bit-generic.c: Likewise.
2735 * iconvdata/ansi_x3.110.c: Likewise.
2736 * iconvdata/big5.c: Likewise.
2737 * iconvdata/big5hkscs.c: Likewise.
2738 * iconvdata/euc-cn.c: Likewise.
2739 * iconvdata/euc-jp.c: Likewise.
2740 * iconvdata/euc-kr.c: Likewise.
2741 * iconvdata/euc-tw.c: Likewise.
2742 * iconvdata/gbgbk.c: Likewise.
2743 * iconvdata/gbk.c: Likewise.
2744 * iconvdata/iso-2022-cn.c: Likewise.
2745 * iconvdata/iso-2022-jp.c: Likewise.
2746 * iconvdata/iso-2022-kr.c: Likewise.
2747 * iconvdata/iso646.c: Likewise.
2748 * iconvdata/iso8859-1.c: Likewise.
2749 * iconvdata/iso_6937-2.c: Likewise.
2750 * iconvdata/iso_6937.c: Likewise.
2751 * iconvdata/johab.c: Likewise.
2752 * iconvdata/sjis.c: Likewise.
2753 * iconvdata/t.61.c: Likewise.
2754 * iconvdata/uhc.c: Likewise.
2755 * iconvdata/unicode.c: Likewise.
2756 * iconvdata/utf-16.c: Likewise.
2757
2758 2000-06-15 Greg McGary <greg@mcgary.org>
2759
2760 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
2761 of callnum assignment. Tolerate callnum expressions containing
2762 parens.
2763
2764 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2765
2766 * login/Makefile (utmpd): Remove rule to build utmpd.
2767
2768 * csu/Versions: Move libgcc frame handling functions from here...
2769 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
2770 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
2771 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
2772 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
2773 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
2774 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
2775 New file.
2776 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
2777
2778 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
2779
2780 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
2781
2782 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2783
2784 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
2785 compatibility.
2786 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
2787 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
2788 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
2789 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
2790
2791 2000-06-14 Jakub Jelinek <jakub@redhat.com>
2792
2793 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
2794 defined, terminate quotes and read them after the comment char.
2795 * configure.in (HAVE_SECTION_QUOTES): Test whether
2796 __attribute__((section ("x"))) puts quotes around x or not.
2797 * config.h.in (HAVE_SECTION_QUOTES): Add.
2798 * configure: Rebuilt.
2799
2800 2000-06-14 Andreas Jaeger <aj@suse.de>
2801
2802 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
2803 depending on the configure option --sysconfdir.
2804 Closes PR libc/1762.
2805 Patch by Andreas Schwab <schwab@suse.de>.
2806
2807 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
2808 entry point.
2809 Reported by Jim Pick <jim@jimpick.com>.
2810
2811 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2812
2813 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
2814 crashing the application. Emit some simple error message.
2815 Reported by mju@panasas.com [PR libc/1769].
2816
2817 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2818
2819 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
2820
2821 * crypt/Makefile (distribute): Add md5.h.
2822
2823 * Makefile (distribute): Add include/shlib-compat.h.
2824
2825 * Make-dist: Search for tests also in sysdeps hierachy.
2826
2827 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
2828 ufc.c, speeds.c, README.ufc-crypt, and Banner.
2829
2830 * sysdeps/sparc/Subdirs: New file.
2831
2832 * locale/Makefile (distribute): Add weightwc.h and
2833 programs/localedef.h.
2834
2835 * time/Makefile (distribute): Add datemsk.
2836
2837 * sysdeps/ia64/Dist: Add softpipe.h.
2838
2839 * sysdeps/unix/sysv/aix/Dist: New file.
2840
2841 * posix/setpgrp.c: Moved to...
2842 * sysdeps/generic/setpgrp.c: ...here. New file.
2843 * io/mknod.c: Moved to...
2844 * sysdeps/generic/mknod.c: ...here. New file.
2845
2846 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
2847
2848 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
2849
2850 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
2851
2852 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
2853 gprsave0.S, gprrest1.S, and gprrest0.S.
2854
2855 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
2856
2857 * posix/Makefile (routines): Add spawnattr_getsigmask,
2858 spawnattr_getschedpolicy, spawnattr_getschedparam,
2859 spawnattr_setsigmask, spawnattr_setschedpolicy, and
2860 spawnattr_setschedparam.
2861 * posix/Versions: Add posix_spawnattr_getschedpolicy,
2862 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
2863 posix_spawnattr_setschedparam.
2864
2865 * posix/spawnattr_setschedparam.c: Fix typo.
2866
2867 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
2868 Correct typo.
2869
2870 * login/programs/utmpd.c: Removed.
2871 * login/programs/utmpd.h: Removed.
2872 * login/programs/utmpd-private.h: Removed.
2873
2874 * Makefile (distribute): Add include/db_185.h and include/db.h.
2875
2876 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
2877 iso-ir-165.h.
2878
2879 * elf/Makefile (distribute): Add missing files.
2880
2881 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
2882 * elf/eval.c: Moved to...
2883 * dlfcn/eval.c: ...here. New file.
2884
2885 * Makefile (distribute): Also distribute ChangeLog.1?.
2886
2887 * Make-dist (+tsrcs): Remove .args handling here as well.
2888
2889 * rt/Makefile (tests): Add tst-timer.
2890 * sysdeps/generic/tst-timer.c: New file.
2891
2892 * Makerules (sources): Don't add BP sources here.
2893
2894 * login/Makefile (distribute): Remove xtmp.h.
2895
2896 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
2897 is true. Reported by Bruno Haible <haible@ilog.fr>.
2898
2899 2000-06-13 Andreas Jaeger <aj@suse.de>
2900
2901 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
2902 Patch by Ralf Baechle <ralf@gnu.org>.
2903
2904 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2905
2906 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
2907 for mincore syscall.
2908
2909 * misc/sys/cdefs.h: Define __bounded and __unbounded if
2910 __BOUNDED_POINTERS__ is not defined.
2911
2912 2000-06-07 Greg McGary <greg@mcgary.org>
2913
2914 * sysdeps/generic/bp-sym.h: New file.
2915 * sysdeps/generic/bp-start.h: New file.
2916 * sysdeps/i386/elf/start.S: Designate BP symbols.
2917 * sysdeps/generic/libc-start.c: Wrap bounds around
2918 argv & envp and each of their string members.
2919
2920 2000-06-07 Greg McGary <greg@mcgary.org>
2921
2922 * sysdeps/unix/make-syscalls.sh: Add comments to
2923 output that aid debugging & comprehension.
2924 Map simple syscall signatures to number of args.
2925 Generate BP syscall thunk definitions.
2926 * sysdeps/generic/bp-thunks.h: New file.
2927 * sysdeps/unix/syscalls.list: Replace arg-count with
2928 simple return+arg signature.
2929 * sysdeps/unix/common/syscalls.list: Likewise.
2930 * sysdeps/unix/inet/syscalls.list: Likewise.
2931 * sysdeps/unix/mman/syscalls.list: Likewise.
2932 * sysdeps/unix/sysv/syscalls.list: Likewise.
2933 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2934 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2935
2936 2000-06-07 Greg McGary <greg@mcgary.org>
2937
2938 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
2939 for all files *.[cS].
2940 (CFLAGS-.ob): Don't optimize sibling calls.
2941 (bppfx): New variable.
2942 * Makerules (elide-bp-thunks): New variable.
2943 (elide-routines.*): Elide BP-* files for all but *.ob.
2944 (sources): Include bp-thunks.
2945
2946 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2947
2948 * iconv/gconv_simple.c: Remove unnecessary prototype.
2949
2950 * iconv/gconv_trans.c: Pretty print.
2951
2952 * elf/elf.h (R_SH_NUM): Got accidently dropped.
2953
2954 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
2955 minimal kernel versions. Add information about IA-64 kernel.
2956
2957 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
2958 specific minimal supported kernel versions to be specified.
2959
2960 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
2961 step data structure.
2962 * wcsmbs/btowc.c: Likewise.
2963 * wcsmbs/mbrtowc.c: Likewise.
2964 * wcsmbs/mbsnrtowcs.c: Likewise.
2965 * wcsmbs/mbsrtowcs.c: Likewise.
2966 * wcsmbs/wcrtomb.c: Likewise.
2967 * wcsmbs/wcsnrtombs.c: Likewise.
2968 * wcsmbs/wcsrtombs.c: Likewise.
2969 * wcsmbs/wctob.c: Likewise.
2970
2971 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
2972 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
2973
2974 * shlib-versions: Earliest backward compatible version for SH is 2.2.
2975
2976 * misc/sys/cdefs.h: Remove one more __P.
2977
2978 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
2979 Reported by HJ Lu.
2980
2981 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
2982 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
2983 * sysdeps/sh/bits/setjmp.h: ...here. New file.
2984
2985 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2986 Yutaka Niibe <gniibe@chroot.org>
2987
2988 * configure.in: Add machine sh3, sh4.
2989 * elf/elf.h: Add SH specific declarations of relocations.
2990 * shlib-versions: Add sh*-*-linux* cases.
2991
2992 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2993
2994 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
2995 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
2996 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
2997 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
2998 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
2999 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
3000
3001 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
3002 instead of KERNEL_MATH_EMULATION.
3003 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
3004 KERNEL_MATH_EMULATION.
3005
3006 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
3007 * sysdeps/sh/sh3/dl-machine.h: Moved to...
3008 * sysdeps/sh/dl-machine.h: ...here. New file.
3009 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
3010 and include generic SH version.
3011 * sysdeps/sh/sh3/bits/endian.h: Move to...
3012 * sysdeps/sh/bits/endian.h: ...here. New file.
3013 * sysdeps/sh/sh4/bits/endian.h: Removed.
3014 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
3015 * sysdeps/sh/bits/huge_val.h: ...here. New file.
3016 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
3017
3018 * include/libc-symbols.h (link_warning): Work around a change in
3019 GAS which warns about changing section attributes.
3020 Proposed by Nick Clifton <nickc@redhat.com>.
3021
3022 2000-06-12 H.J. Lu <hjl@gnu.org>
3023
3024 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
3025
3026 2000-06-11 H.J. Lu <hjl@gnu.org>
3027
3028 * sysdeps/i386/fpu/Versions: New file.
3029
3030 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3031
3032 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
3033 parameters.
3034 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
3035 exists.
3036
3037 2000-06-12 Jes Sorensen <jes@linuxcare.com>
3038
3039 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
3040 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
3041 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
3042
3043 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
3044 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
3045 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
3046
3047 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3048 Yutaka Niibe <gniibe@chroot.org>
3049
3050 * sysdeps/sh/Dist: New file.
3051 * sysdeps/sh/Implies: New file.
3052 * sysdeps/sh/elf/initfini.c: New file.
3053 * sysdeps/sh/gmp-mparam.h: New file.
3054 * sysdeps/sh/init-first.c: New file.
3055 * sysdeps/sh/machine-gmon.h: New file.
3056 * sysdeps/sh/memcpy.S: New file.
3057 * sysdeps/sh/memprof.h: New file.
3058 * sysdeps/sh/memset.S: New file.
3059 * sysdeps/sh/sh3/__longjmp.S: New file.
3060 * sysdeps/sh/sh3/bits/endian.h: New file.
3061 * sysdeps/sh/sh3/bits/huge_val.h: New file.
3062 * sysdeps/sh/sh3/bits/setjmp.h: New file.
3063 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
3064 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
3065 * sysdeps/sh/sh3/dl-machine.h: New file.
3066 * sysdeps/sh/sh3/setjmp.S: New file.
3067 * sysdeps/sh/sh4/__longjmp.S: New file.
3068 * sysdeps/sh/sh4/bits/endian.h: New file.
3069 * sysdeps/sh/sh4/bits/huge_val.h: New file.
3070 * sysdeps/sh/sh4/bits/setjmp.h: New file.
3071 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
3072 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
3073 * sysdeps/sh/sh4/dl-machine.h: New file.
3074 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
3075 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
3076 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
3077 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
3078 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
3079 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
3080 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
3081 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
3082 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
3083 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
3084 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
3085 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
3086 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
3087 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
3088 * sysdeps/sh/sh4/setjmp.S: New file.
3089 * sysdeps/sh/elf/start.S: New file.
3090 * sysdeps/sh/sys/ucontext.h: New file.
3091 * sysdeps/sh/strlen.S: New file.
3092 * sysdeps/sh/sysdep.h: New file.
3093 * sysdeps/unix/sh/sysdep.S: New file.
3094 * sysdeps/unix/sh/sysdep.h: New file.
3095 * sysdeps/unix/sysv/linux/sh/Dist: New file.
3096 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
3097 * sysdeps/unix/sysv/linux/sh/Versions: New file.
3098 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
3099 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
3100 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
3101 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
3102 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
3103 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
3104 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
3105 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
3106 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
3107 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
3108 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
3109 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
3110 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
3111 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
3112 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
3113 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
3114 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
3115 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
3116 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
3117 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
3118 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
3119 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
3120 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
3121 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
3122 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
3123 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
3124 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
3125 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
3126 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
3127 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
3128 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
3129 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
3130 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
3131 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
3132 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
3133 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
3134 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
3135 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
3136 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
3137 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
3138 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3139 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
3140 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
3141 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
3142 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
3143 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
3144 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
3145
3146 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3147
3148 * Rules (%.out): Define GCONV_PATH in the environment.
3149 * assert/Depend: New file.
3150 * iconvdata/Depend: New file.
3151 * intl/Depend: New file.
3152 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
3153 * intl/tst-gettext.sh: Likewise.
3154 * iconv/Makefile (routines): Add gconv_trans.
3155 * iconv/gconv_trans.c: New file.
3156 * iconv/gconv.h (struct __gconv_trans_data): New type.
3157 (__gconv_fct): New parameter with starting position in output buffer.
3158 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
3159 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
3160 (struct __gconv_step): Add new member __trans.
3161 * iconv/gconv_int.h: Pretty print prototypes.
3162 (gconv_transliterate): New prototype.
3163 (__BUILTIN_TRANS): Update for new conversion function interface.
3164 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
3165 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
3166 in names, find appropriate function, and install in the conversion
3167 steps it can be used.
3168 * iconv/skeleton.c: Add additional parameter for beginning of output
3169 buffer. Change calls of downstream functions.
3170 * iconv/loop.c: Change loop function interface completely. Pass in
3171 step and step_data structure. Remove optimization for BODY with
3172 NEED_LENGTH_TEST == 0.
3173 * iconv/gconv_simple.c: Update interfaces of functions. Insert
3174 appropriate error handling code to use transliteration steps. Remove
3175 optimization for BODY with NEED_LENGTH_TEST == 0.
3176 * iconvdata/8bit-gap.c: Likewise.
3177 * iconvdata/8bit-generic.c: Likewise.
3178 * iconvdata/ansi_x3.110.c: Likewise.
3179 * iconvdata/big5.c: Likewise.
3180 * iconvdata/big5hkscs.c: Likewise.
3181 * iconvdata/euc-cn.c: Likewise.
3182 * iconvdata/euc-jp.c: Likewise.
3183 * iconvdata/euc-kr.c: Likewise.
3184 * iconvdata/euc-tw.c: Likewise.
3185 * iconvdata/gbgbk.c: Likewise.
3186 * iconvdata/gbk.c: Likewise.
3187 * iconvdata/iso-2022-cn.c: Likewise.
3188 * iconvdata/iso-2022-jp.c: Likewise.
3189 * iconvdata/iso-2022-kr.c: Likewise.
3190 * iconvdata/iso646.c: Likewise.
3191 * iconvdata/iso8859-1.c: Likewise.
3192 * iconvdata/iso_6937-2.c: Likewise.
3193 * iconvdata/iso_6937.c: Likewise.
3194 * iconvdata/johab.c: Likewise.
3195 * iconvdata/sjis.c: Likewise.
3196 * iconvdata/t.61.c: Likewise.
3197 * iconvdata/uhc.c: Likewise.
3198 * iconvdata/unicode.c: Likewise.
3199 * iconvdata/utf-16.c: Likewise.
3200 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
3201 DL_CALL_FCT.
3202 * wcsmbs/btowc.c: Likewise.
3203 * wcsmbs/mbrtowc.c: Likewise.
3204 * wcsmbs/mbsnrtowcs.c: Likewise.
3205 * wcsmbs/mbsrtowcs.c: Likewise.
3206 * wcsmbs/wcrtomb.c: Likewise.
3207 * wcsmbs/wcsnrtombs.c: Likewise.
3208 * wcsmbs/wcsrtombs.c: Likewise.
3209 * wcsmbs/wctob.c: Likewise.
3210
3211 2000-04-11 Geoff Keating <geoffk@cygnus.com>
3212
3213 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
3214 other header files. Mention about 128-byte cache line sizes.
3215 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
3216 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
3217 for current calling sequence.
3218 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
3219
3220 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
3221 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3222
3223 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
3224 and setrlimit syscalls for backwards compatibility.
3225
3226 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3227
3228 * iconv/skeleton.c: Rename converted written to correcter name
3229 irreversible.
3230 * iconv/gconv.c: Rename converted variable to correcter name
3231 irreversible.
3232 * iconv/gconv_int.h: Likewise.
3233 * iconv/gconv_simple.c: Likewise.
3234 * iconv/iconv.c: Likewise.
3235 * iconv/loop.c: Likewise.
3236 * iconvdata/8bit-gap.c: Likewise.
3237 * iconvdata/8bit-generic.c: Likewise.
3238 * iconvdata/ansi_x3.110.c: Likewise.
3239 * iconvdata/big5.c: Likewise.
3240 * iconvdata/big5hkscs.c: Likewise.
3241 * iconvdata/euc-cn.c: Likewise.
3242 * iconvdata/euc-jp.c: Likewise.
3243 * iconvdata/euc-kr.c: Likewise.
3244 * iconvdata/gbgbk.c: Likewise.
3245 * iconvdata/gbk.c: Likewise.
3246 * iconvdata/iso-2022-cn.c: Likewise.
3247 * iconvdata/iso-2022-jp.c: Likewise.
3248 * iconvdata/iso-2022-kr.c: Likewise.
3249 * iconvdata/iso646.c: Likewise.
3250 * iconvdata/iso8859-1.c: Likewise.
3251 * iconvdata/iso_6937-2.c: Likewise.
3252 * iconvdata/iso_6937.c: Likewise.
3253 * iconvdata/johab.c: Likewise.
3254 * iconvdata/sjis.c: Likewise.
3255 * iconvdata/t.61.c: Likewise.
3256 * iconvdata/uhc.c: Likewise.
3257 * iconvdata/unicode.c: Likewise.
3258 * iconvdata/utf-16.c: Likewise.
3259
3260 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
3261 __cmsg_data field with __extension__.
3262
3263 2000-06-10 David Mosberger <davidm@hpl.hp.com>
3264
3265 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
3266
3267 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3268
3269 * iconv/gconv_simple.c: Fix various small bugs in several
3270 functions.
3271
3272 * iconv/loop.c: Fix comment.
3273
3274 2000-06-10 Jakub Jelinek <jakub@redhat.com>
3275
3276 * elf/link.h: Remove libc internal declarations.
3277 * include/link.h: Move them here.
3278
3279 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3280
3281 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
3282 Patch by Dan Pop <Dan.Pop@cern.ch>.
3283
3284 Rewrite error message handling.
3285 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
3286 _dl_catch_error.
3287 * elf/dl-error (struct catch): Add objname member.
3288 (_dl_signal_error): Take new parameter with object name. When
3289 passing message on simply store object name and duplicate error
3290 message.
3291 (_dl_catch_error): Take new parameter. Store object name in the
3292 place pointed to.
3293 * include/dlfcn.h: Adjust _dl_catch_error prototype.
3294 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
3295 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
3296 (dlerror): Add objname to asprintf() parameters.
3297 (_dl_error_run): Pass new parameter to _dl_catch_error.
3298 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
3299 * elf/dl-open.c (_dl_open): Likewise.
3300 * elf/rtld.c (dl_main): Likewise.
3301 * elf/dl-close.c: Mark error messages with N_().
3302 * elf/dl-deps.c: Likewise.
3303 * elf/dl-error.c: Likewise.
3304 * elf/dl-load.c: Likewise.
3305 * elf/dl-open.c: Likewise.
3306 * elf/dl-reloc.c: Likewise.
3307 * elf/dl-support.c: Likewise.
3308 * elf/dl-sym.c: Likewise.
3309 * elf/dl-version.c: Likewise.
3310 * elf/dl-lookup.c: Add comments about problems with error message
3311 translations.
3312 * elf/dl-reloc.c: Likewise.
3313 * elf/dl-version.c: Likewise.
3314
3315 2000-06-09 H.J. Lu <hjl@gnu.org>
3316
3317 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
3318 after freeing it.
3319
3320 * dlfcn/Makefile (distribute): Add failtestmod.c.
3321 (tests): Add failtest.
3322 Add rules to build and run failtest.
3323 * dlfcn/failtest.c: New file.
3324 * dlfcn/failtestmod.c: New file.
3325
3326 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
3327
3328 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
3329 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
3330 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
3331 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
3332 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
3333
3334 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3335
3336 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
3337 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
3338
3339 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3340 Ulrich Drepper <drepper@redhat.com>
3341
3342 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
3343 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
3344 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
3345 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
3346 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
3347 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
3348
3349 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3350
3351 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
3352 to find correct mount point despite wrong information from the
3353 kernel.
3354
3355 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3356
3357 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
3358 the address of a symbol so function pointers are handled properly.
3359
3360 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3361
3362 * sysdeps/i386/Dist: Add bp-asm.h.
3363
3364 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
3365 defaultdir variable instead of "/var/shm" everywhere.
3366 (defaultdir): Change to /dev/shm/.
3367
3368 2000-06-08 Greg McGary <greg@mcgary.org>
3369
3370 * sysdeps/i386/bp-asm.h: New file.
3371 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
3372 offsets. Add ENTER/LEAVE macros for optionally maintaining
3373 frame-pointer chain when debugging.
3374 * sysdeps/i386/add_n.S: Likewise.
3375 * sysdeps/i386/addmul_1.S: Likewise.
3376 * sysdeps/i386/lshift.S: Likewise.
3377 * sysdeps/i386/memchr.S: Likewise.
3378 * sysdeps/i386/memcmp.S: Likewise.
3379 * sysdeps/i386/mul_1.S: Likewise.
3380 * sysdeps/i386/rawmemchr.S: Likewise.
3381 * sysdeps/i386/rshift.S: Likewise.
3382 * sysdeps/i386/stpcpy.S: Likewise.
3383 * sysdeps/i386/stpncpy.S: Likewise.
3384 * sysdeps/i386/strchr.S: Likewise.
3385 * sysdeps/i386/strchrnul.S: Likewise.
3386 * sysdeps/i386/strcspn.S: Likewise.
3387 * sysdeps/i386/strpbrk.S: Likewise.
3388 * sysdeps/i386/strrchr.S: Likewise.
3389 * sysdeps/i386/strspn.S: Likewise.
3390 * sysdeps/i386/strtok.S: Likewise.
3391 * sysdeps/i386/sub_n.S: Likewise.
3392 * sysdeps/i386/submul_1.S: Likewise.
3393 * sysdeps/i386/elf/setjmp.S: Likewise.
3394 * sysdeps/i386/i486/strcat.S: Likewise.
3395 * sysdeps/i386/i486/strlen.S: Likewise.
3396 * sysdeps/i386/i586/add_n.S: Likewise.
3397 * sysdeps/i386/i586/lshift.S: Likewise.
3398 * sysdeps/i386/i586/memcpy.S: Likewise.
3399 * sysdeps/i386/i586/memset.S: Likewise.
3400 * sysdeps/i386/i586/rshift.S: Likewise.
3401 * sysdeps/i386/i586/strchr.S: Likewise.
3402 * sysdeps/i386/i586/strcpy.S: Likewise.
3403 * sysdeps/i386/i586/strlen.S: Likewise.
3404 * sysdeps/i386/i586/sub_n.S: Likewise.
3405 * sysdeps/i386/i686/add_n.S: Likewise.
3406 * sysdeps/i386/i686/memcpy.S: Likewise.
3407 * sysdeps/i386/i686/mempcpy.S: Likewise.
3408 * sysdeps/i386/i686/memset.S: Likewise.
3409 * sysdeps/i386/i686/strcmp.S: Likewise.
3410
3411 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3412
3413 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3414
3415 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3416 256 and don't use OPEN_MAX.
3417
3418 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3419 use it instead of LINK_MAX.
3420 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3421
3422 2000-06-08 Andreas Jaeger <aj@suse.de>
3423
3424 * libio/genops.c (_IO_list_lock): Only compile body if we're
3425 thread safe.
3426 (_IO_list_unlock): Likewise.
3427 (_IO_list_resetlock): Likewise.
3428
3429 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3430
3431 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3432 unless user defined it.
3433
3434 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3435 if not defined by the user.
3436
3437 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3438 * libio/iofwrite.c (_IO_fwrite): Likewise.
3439
3440 * time/time.h: Add missing __THROW for clock_getcpuclockid
3441 prototype.
3442
3443 * elf/Makefile (distribute): Add dl-dtprocnum.h.
3444 * include/elf.h: Include also <dl-dtprocnum.h>.
3445 * elf/dl-deps.c: Likewise.
3446 * elf/dl-lookup.c: Likewise.
3447 * elf/dl-runtime.c: Likewise.
3448 * elf/dl-version.c: Likewise.
3449 * elf/do-rel.h: Likewise.
3450 * elf/dynamic-link.h: Likewise.
3451 * elf/link.h: Likewise.
3452 * elf/rtld.c: Likewise.
3453 * sysdeps/generic/dl-dtprocnum.h: New file.
3454 * sysdeps/ia64/dl-dtprocnum.h: New file.
3455 * sysdeps/mips/dl-dtprocnum.h: New file.
3456 * sysdeps/sparc/dl-dtprocnum.h: New file.
3457
3458 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3459
3460 * elf/do-lookup.h: Add some __builtin_expect.
3461
3462 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3463
3464 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3465 (_dl_dynamic_weak): New variable.
3466 * elf/dl-support.c: Likewise.
3467 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3468 * elf/do-lookup.h: If we find a weak definition treat it like a
3469 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
3470 case treat it like before.
3471
3472 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3473 is in main program.
3474 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3475
3476 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3477 using l_map_start and l_map_end.
3478
3479 * elf/dl-version.c: Add __builtin_expect in many places.
3480
3481 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3482 Update.
3483
3484 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
3485
3486 Lock for stdio stream list becomes global, for use in LinuxThreads.
3487
3488 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3489 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3490 _IO_list_resetlock): New interface for iterating global list of
3491 streams without accessing the _IO_list_all global variable,
3492 and for manipulating the lock which protects this list.
3493 * libio/libioP.h: Likewise.
3494 * libio/Version: Add entries for the new functions.
3495
3496 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3497 pointer to _IO_FILE.
3498
3499 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3500
3501 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3502 BIT() must actually be BITw().
3503
3504 * locale/programs/ld-ctype.c: Handle SP and space consistently.
3505
3506 * locale/programs/charmap.c: Allow string arguments for
3507 code_set_name and repertoiremap.
3508
3509 2000-06-07 Andreas Jaeger <aj@suse.de>
3510
3511 * elf/Makefile: Build ldconfig only when building shared libraries.
3512
3513 2000-06-07 Jakub Jelinek <jakub@redhat.com>
3514
3515 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3516 __USE_ISOC99.
3517 (fdimf, __fdim, fdim): Likewise.
3518
3519 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3520
3521 * locale/findlocale.c: Add __builtin_expect in many places.
3522 * locale/loadlocale.c: Likewise.
3523
3524 2000-06-06 Greg McGary <greg@mcgary.org>
3525
3526 * sysdeps/mips/elf/start.S: Trim redundant code.
3527
3528 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
3529 Use C comments throughout. Line up operands column with tabs.
3530 * sysdeps/powerpc/strchr.S: Likewise.
3531 * sysdeps/powerpc/strcmp.S: Likewise.
3532 * sysdeps/powerpc/strcpy.S: Likewise.
3533 * sysdeps/powerpc/strlen.S: Likewise.
3534
3535 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
3536 Get low part of &__curbrk with @l.
3537
3538 2000-06-06 Ulrich Drepper <drepper@redhat.com>
3539
3540 * iconvdata/utf-16.c: Add __builtin_expect in many places.
3541 * iconvdata/unicode.c: Likewise.
3542 * iconvdata/uhc.c: Likewise.
3543 * iconvdata/t.61.c: Likewise.
3544 * iconvdata/sjis.c: Likewise.
3545 * iconvdata/johab.c: Likewise.
3546 * iconvdata/iso_6937.c: Likewise.
3547 * iconvdata/iso_6937-2.c: Likewise.
3548 * iconvdata/iso8859-1.c: Likewise.
3549 * iconvdata/iso646.c: Likewise.
3550 * iconvdata/iso-2022-kr.c: Likewise.
3551 * iconvdata/iso-2022-jp.c: Likewise.
3552 * iconvdata/iso-2022-cn.c: Likewise.
3553 * iconvdata/gbgbk.c: Likewise.
3554 * iconvdata/gbk.c: Likewise.
3555 * iconvdata/euc-kr.c: Likewise.
3556 * iconvdata/euc-jp.c: Likewise.
3557 * iconvdata/euc-cn.c: Likewise.
3558
3559 2000-06-05 Ulrich Drepper <drepper@redhat.com>
3560
3561 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
3562 * iconvdata/big5.c: Likewise.
3563 * iconvdata/ansi_x3.110.c: Likewise.
3564 * iconvdata/8bit-generic.c: Likewise.
3565 * iconvdata/8bit-gap.c: Likewise.
3566 * iconv/loop.c: Likewise.
3567 * iconv/gconv_db.c: Likewise.
3568 * iconv/gconv_dl.c: Likewise.
3569 * iconv/gconv_simple.c: Likewise.
3570 * iconv/skeleton.c: Likewise.
3571
3572 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
3573 (struct __gconv_step_data): Rename __is_last to __flags.
3574 * iconv/gconv_close.c: Change all uses of __is_last.
3575 * iconv/skeleton.c: Likewise.
3576 * iconvdata/iso-2022-cn.c: Likewise.
3577 * iconvdata/iso-2022-jp.c: Likewise.
3578 * iconvdata/iso-2022-kr.c: Likewise.
3579 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
3580 Recognize IGNORE error handling, set flag, and remove from name.
3581 * iconv/loop.c (ignore_errors_p): Define.
3582 Add flags parameter to both functions.
3583 * iconv/skeleton.c: Pass flags to all conversion functions.
3584 * iconv/gconv_simple.c: Add flags parameter to all functions.
3585 Don't return error for invald error if ignore flag is set.
3586 (ucs4_internal_loop_single): Add missing pointer increment.
3587 (internal_ucs4le_loop_single): Likewise.
3588 * iconv/iconv_prog.c: Implement handling of -c parameter.
3589 * iconvdata/8bit-gap.c: Don't return error for invald error if
3590 ignore flag is set.
3591 * iconvdata/8bit-generic.c: Likewise.
3592 * iconvdata/ansi_x3.110.c: Likewise.
3593 * iconvdata/big5.c: Likewise.
3594 * iconvdata/big5hkscs.c: Likewise.
3595 * iconvdata/euc-cn.c: Likewise.
3596 * iconvdata/euc-jp.c: Likewise.
3597 * iconvdata/euc-kr.c: Likewise.
3598 * iconvdata/gbgbk.c: Likewise.
3599 * iconvdata/gbk.c: Likewise.
3600 * iconvdata/iso-2022-cn.c: Likewise.
3601 * iconvdata/iso-2022-jp.c: Likewise.
3602 * iconvdata/iso-2022-kr.c: Likewise.
3603 * iconvdata/iso646.c: Likewise.
3604 * iconvdata/iso8859-1.c: Likewise.
3605 * iconvdata/iso_6937-2.c: Likewise.
3606 * iconvdata/iso_6937.c: Likewise.
3607 * iconvdata/johab.c: Likewise.
3608 * iconvdata/sjis.c: Likewise.
3609 * iconvdata/t.61.c: Likewise.
3610 * iconvdata/uhc.c: Likewise.
3611 * iconvdata/unicode.c: Likewise.
3612 * iconvdata/utf-16.c: Likewise.
3613 * libio/fileops.c: Likewise.
3614 * libio/iofwide.c: Likewise.
3615 * wcsmbs/btowc.c: Likewise.
3616 * wcsmbs/mbrtowc.c: Likewise.
3617 * wcsmbs/mbsnrtowcs.c: Likewise.
3618 * wcsmbs/mbsrtowcs.c: Likewise.
3619 * wcsmbs/wcrtomb.c: Likewise.
3620 * wcsmbs/wcsnrtombs.c: Likewise.
3621 * wcsmbs/wcsrtombs.c: Likewise.
3622 * wcsmbs/wctob.c: Likewise.
3623
3624 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
3625 an error.
3626
3627 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3628
3629 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
3630 counter for the object we are releasing, just decrement it.
3631 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
3632
3633 2000-06-04 Jakub Jelinek <jakub@redhat.com>
3634
3635 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
3636 if -ffast-math.
3637
3638 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3639
3640 * iconvdata/big5hkscs.c: New file.
3641 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
3642
3643 * iconvdata/gconv-modules: Add entry for new module.
3644 * iconvdata/Makefile (modules): Add BIG5HKSCS.
3645 (distribute): Add big5hkscs.c.
3646
3647 2000-06-01 Jakub Jelinek <jakub@redhat.com>
3648
3649 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
3650 inlines to match prototypes in mathcalls.h.
3651 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3652 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3653 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
3654 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3655
3656 2000-06-03 Ulrich Drepper <drepper@redhat.com>
3657
3658 * elf/elf.h (SHT_SUNW_move): Define.
3659
3660 * elf/elf.h: Add more Solaris compatiblity definitions.
3661
3662 2000-06-03 Andreas Jaeger <aj@suse.de>
3663
3664 * sysdeps/powerpc/dl-start.S: Close open comment.
3665
3666 2000-06-03 Jakub Jelinek <jakub@redhat.com>
3667
3668 * inet/Versions: Fix typo in rresvport_af export.
3669
3670 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3671
3672 * math/tgmath.h: Pretty print.
3673
3674 2000-06-02 Andreas Jaeger <aj@suse.de>
3675
3676 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
3677 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3678
3679 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3680
3681 * elf/rtld.c (process_envvars): Test for = after variable name.
3682
3683 2000-06-01 Ulrich Drepper <drepper@redhat.com>
3684
3685 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
3686 have extra call to __gmon_start__, use the pointer we already have.
3687
3688 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
3689 shifting.
3690
3691 * sysdeps/i386/elf/setjmp.S: Work around change is recent
3692 binutils. gas now emits a jump through the PLT instead of a
3693 relative jump if the jump target is an exported symbol.
3694
3695 2000-05-31 Ulrich Drepper <drepper@redhat.com>
3696
3697 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
3698
3699 2000-05-31 Andreas Jaeger <aj@suse.de>
3700
3701 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
3702 gregset_t.
3703
3704 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
3705 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3706
3707 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
3708 syscall.
3709 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3710
3711 2000-05-30 Ulrich Drepper <drepper@redhat.com>
3712
3713 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
3714
3715 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
3716 * locale/localeconv.c: Make function versioned (with same definition).
3717
3718 * elf/Makefile (modules-names): Strip before using it.
3719
3720 2000-05-30 Andreas Jaeger <aj@suse.de>
3721
3722 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
3723 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
3724 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
3725 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
3726 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
3727 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
3728
3729 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3730
3731 * Makefile: Add GNU make magic.
3732
3733 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
3734 Removed.
3735 * inet/rcmd.c: Remove __P. Remove unused variables.
3736 (iruserfopen): Make first parameter const.
3737 (ruserok_sa): Return result of ruserok2_sa.
3738 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
3739 * inet/rexec.c: Remove unused variables. Other small cleanups.
3740 * inet/ruserpass.c: Remove __P. Remove unused variables.
3741 (ruserpass): Check results of memory allocation.
3742 * include/netdb.h: Add prototype for ruserpass.
3743
3744 2000-05-29 Andreas Jaeger <aj@suse.de>
3745
3746 * elf/readlib.c (interpreters): Use LD_SO since this is supported
3747 for all platforms.
3748
3749 2000-05-29 Jakub Jelinek <jakub@redhat.com>
3750
3751 * inet/rcmd.c (rresvport_af): Use correct port number.
3752
3753 2000-05-26 Andreas Schwab <schwab@suse.de>
3754
3755 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
3756 entries in all-sonames.
3757 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
3758 preserving the old name if different for compatibility.
3759
3760 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3761
3762 * posix/Makefile (tests): Add tst-spawn.
3763 (tst-spawn-ARGS): New variable.
3764 * posix/tst-spawn.c: New file.
3765
3766 * posix/spawn_faction_addclose.c: Correctly account for new entry.
3767 * posix/spawn_faction_adddup2.c: Likewise.
3768 * posix/spawn_faction_addopen.c: Likewise.
3769 * posix/spawni.c: Correctly test for success of dup2 calls.
3770
3771 * posix/tst-preadwrite.c: Check success of malloc call.
3772
3773 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3774
3775 * posix/Makefile (tests): Add tst-exec.
3776 (tst-exec-ARGS): New variable.
3777 * posix/tst-exec.c: New file.
3778
3779 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
3780
3781 2000-05-04 Andreas Jaeger <aj@suse.de>
3782
3783 * string/string.h: Remove __strdup prototype, it's not needed in
3784 this file anymore.
3785
3786 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3787
3788 * posix/Makefile (tests): Add tst-fork.
3789 * posix/tst-fork.c: New file.
3790
3791 * resolv/inet_pton.c: Loose __P.
3792
3793 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3794
3795 * libio/libioP.h (_IO_CHECK_WIDE): Define.
3796 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
3797 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3798 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
3799 _IO_CHECK_WIDE fails.
3800
3801 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3802
3803 * po/da.po: New file.
3804
3805 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
3806 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
3807
3808 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
3809 (Other iconv Implementations): Fix typo.
3810 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
3811
3812 2000-05-27 Andreas Jaeger <aj@suse.de>
3813
3814 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
3815 normal version now.
3816 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3817 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3818 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3819 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3820 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
3821 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
3822
3823 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
3824 endianness to decide how to pass arguments.
3825 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3826
3827 * elf/vismain.c: Use test-skeleton interface.
3828 (TEST_FUNCTION): New macro.
3829 (do_test): Renamed from main.
3830
3831 2000-05-27 Ulrich Drepper <drepper@redhat.com>
3832
3833 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
3834 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
3835
3836 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
3837 handling of AI_V4MAPPED flag.
3838
3839 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
3840 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
3841 perform lookup for T_A type and tell getanswer_r to convert the
3842 result with new argument.
3843 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
3844 Don't convert addresses from IPv4 to IPv6 here.
3845 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
3846 IPv6 is wanted. Allow qtype and type from reply to disagree if
3847 IPv4 mapping has to be done. Perform mappings if required by the
3848 caller and not if RES_USE_INET6 bit in _res.options is set.
3849 Add several __builtin_expect.
3850
3851 2000-05-26 Ulrich Drepper <drepper@redhat.com>
3852
3853 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
3854
3855 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
3856 NULL.
3857
3858 * posix/tst-preadwrite.c: Allow parallel execution of
3859 tst-preadwrite and tst-preadwrite64.
3860
3861 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
3862 * posix/tst-truncate.c: New file.
3863 * posix/tst-truncate64.c: New file.
3864
3865 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
3866 was switched.
3867
3868 * posix/Makefile (tests): Add tst-preadwrite64.
3869 * posix/tst-preadwrite.c: Alloc file being used also for testing
3870 pread64 and pwrite64.
3871 * posix/tst-preadwrite64.c: New file.
3872
3873 2000-05-26 Andreas Jaeger <aj@suse.de>
3874
3875 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
3876 of arguments dependend on endianness.
3877 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3878
3879 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
3880 normal version now.
3881 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3882 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3883 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3884 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3885
3886 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
3887 endianness to check how to pass argument.
3888 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3889
3890 * elf/ldconfig.h: Update parameter list for process_elf_file.
3891
3892 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
3893 Add parameter file_length and pass it ot process_elf*file.
3894
3895 * sysdeps/generic/readelflib.c (check_ptr): New.
3896 (process_elf_file): Use check_ptr to check all accesses to the
3897 mmapped file. Add parameter file_length.
3898
3899 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
3900 library names.
3901
3902 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
3903 Closes PR libc/1573, reported by Bradley White
3904 <bww@laurelnetworks.com>.
3905
3906 2000-05-25 Ulrich Drepper <drepper@redhat.com>
3907
3908 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
3909 __FAST_MATH__ is defined.
3910
3911 2000-05-22 Andreas Jaeger <aj@suse.de>
3912
3913 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
3914 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
3915
3916 * manual/math.texi (FP Function Optimizations): Document gcc
3917 -ffast-math behaviour with mathinlines.
3918
3919 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
3920 functions unless -ffast-math is given to gcc.
3921
3922 2000-05-23 Jakub Jelinek <jakub@redhat.com>
3923
3924 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
3925 __sincosl): Guard with __USE_GNU.
3926
3927 2000-05-24 Ulrich Drepper <drepper@redhat.com>
3928
3929 * csu/Makefile (routines): Add check_fds.
3930 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
3931 binaries. Add various __builtin_expect.
3932 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
3933 * sysdeps/generic/check_fds.c: ...here. New file.
3934
3935 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
3936 binaries if file /etc/suid-debug is available.
3937
3938 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
3939 and wcseqorder members.
3940 (struct locale_collate_t): Likewise.
3941 (collate_finish): Assign collation sequence value to each character.
3942 Create tables for output.
3943 (collate_output): Write out tables with collation sequence information.
3944 * locale/C-collate.c: Provide C locale data for collation sequence
3945 table.
3946 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
3947 _NL_COLLATE_COLLSEQWC.
3948 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
3949 _NL_COLLATE_COLLSEQWC.
3950 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
3951 include fnmatch_loop.c.
3952 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
3953 character is matched by range expression. Use collation sequence
3954 table. Outside glibc fall back on simple character value comparison.
3955
3956 2000-05-24 Andreas Jaeger <aj@suse.de>
3957
3958 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
3959 words.
3960
3961 * intl/Makefile: Run gettext-test only if msgfmt is available.
3962
3963 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
3964 Define it for newer kernels.
3965
3966 2000-05-23 Ulrich Drepper <drepper@redhat.com>
3967
3968 * elf/dl-sym.c: Minor cleanups.
3969
3970 * configure.in: Add test for .protected.
3971 * config.make.in: Add have-protected variable.
3972 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
3973 (tests-vis-yes): Add vismain.
3974 (modules-names): Add $(modules-vis-$(have-protected)).
3975 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
3976 Add rules to generate and run vismain.
3977 * elf/vismain.c: New file.
3978 * elf/vismod1.c: New file.
3979 * elf/vismod2.c: New file.
3980 * elf/vismod3.c: New file.
3981
3982 2000-05-23 Andreas Jaeger <aj@suse.de>
3983
3984 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
3985
3986 * manual/search.texi (Array Sort Function): Document that qsort is
3987 not necessarily in-place.
3988
3989 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3990 Closes PR libc/1731.
3991
3992 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
3993 * dirent/scandir64.c: Likewise.
3994 * pwd/getpw.c: Likewise.
3995 * stdlib/bsearch.c (bsearch): Likewise.
3996 * stdlib/tst-strtoll.c: Likewise.
3997 * localedata/collate-test.c: Likewise.
3998 * localedata/xfrm-test.c: Likewise.
3999 * posix/bsd-getpgrp.c: Likewise.
4000 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4001 * sysdeps/generic/bits/siginfo.h: Likewise.
4002 * sysdeps/generic/bits/sockaddr.h: Likewise.
4003 * sysdeps/generic/sys/swap.h: Likewise.
4004 * sysdeps/generic/sys/sysinfo.h: Likewise.
4005 * sysdeps/generic/vfork.c: Likewise.
4006 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
4007 * sysdeps/mach/hurd/fdopen.c: Likewise.
4008 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
4009 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4010 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4011 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4012 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4013 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4014 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4015
4016 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
4017 * shadow/lckpwdf.c: Likewise.
4018 * stdlib/tst-strtol.c: Likewise.
4019 * sysdeps/generic/tcsetattr.c: Likewise.
4020 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4021 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4022
4023 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4024
4025 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
4026 free it and set to (void *) -1.
4027
4028 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4029
4030 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
4031 not the second character in the range.
4032 * stdio-common/tstscanf.c (main): Add testcase for the above.
4033 Reported by jik@kamens.brookline.ma.us.
4034
4035 2000-05-21 H.J. Lu <hjl@gnu.org>
4036
4037 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
4038 with noexec and noplt parameter.
4039 (do_lookup): Likewise.
4040
4041 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
4042 do_lookup. Support STV_PROTECTED.
4043 (_dl_lookup_symbol_skip): Likewise.
4044 (_dl_lookup_versioned_symbol): Likewise.
4045 (_dl_lookup_versioned_symbol_skip): Likewise.
4046
4047 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
4048
4049 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
4050
4051 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4052
4053 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
4054 * sysdeps/i386/bits/huge_val.h: Likewise.
4055 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4056 * sysdeps/m68k/bits/huge_val.h: Likewise.
4057 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
4058 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
4059
4060 2000-05-22 Andreas Jaeger <aj@suse.de>
4061
4062 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
4063 change in iconv.h.
4064
4065 2000-05-19 Andreas Jaeger <aj@suse.de>
4066
4067 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4068 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
4069 breaks compilation without linuxthreads.
4070
4071 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4072
4073 * sysdeps/ia64/memccpy.S: New file.
4074 * sysdeps/ia64/memchr.S: New file.
4075 * sysdeps/ia64/memcmp.S: New file.
4076 * sysdeps/ia64/memcpy.S: New file.
4077 * sysdeps/ia64/memmove.S: New file.
4078 * sysdeps/ia64/memset.S: New file.
4079 * sysdeps/ia64/strcat.S: New file.
4080 * sysdeps/ia64/strchr.S: New file.
4081 * sysdeps/ia64/strcmp.S: New file.
4082 * sysdeps/ia64/strcpy.S: New file.
4083 * sysdeps/ia64/strlen.S: New file.
4084 * sysdeps/ia64/strncmp.S: New file.
4085 * sysdeps/ia64/strncpy.S: New file.
4086 * sysdeps/ia64/softpipe.h: New file.
4087 Patches by Dan Pop <Dan.Pop@cern.ch>.
4088
4089 * manual/memory.texi: Document memory handling functions (mlock,
4090 munlock, mlockall, munlockall, brk, and sbrk)
4091 * manual/time.texi: Document timespec and friends.
4092 * manual/conf.texi: Fix references.
4093 * manual/ctype.texi: Likewise.
4094 * manual/errno.texi: Likewise.
4095 * manual/intro.texi: Likewise.
4096 * manual/locale.texi: Likewise.
4097 * manual/sysinfo.texi: Likewise.
4098 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4099
4100 2000-05-09 Jes Sorensen <jes@linuxcare.com>
4101
4102 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
4103 * sysdeps/ia64/dl-lookupcfg.h: ...here.
4104
4105 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4106
4107 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
4108 dxfer_direction.
4109
4110 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4111
4112 * locale/locale.h (struct lconv): Add new elements from ISO C99.
4113 * locale/localeconv.c: Initialize new elements from ISO C99.
4114 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
4115 new standard elements.
4116 * locale/categories.def: Adjust accordingly.
4117
4118 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
4119 * iconv/iconv.c: Likewise.
4120 * conform/data/iconv.h-data: Likewise.
4121 * iconv/iconv_prog.c (process_block): Remove const from second
4122 parameter.
4123 (main): Remove const from addr definition.
4124 * manual/charset.texi (Generic Conversion Interface): Remove from
4125 inbuf parameter of iconv.
4126
4127 * intl/dcigettext.c: Fix typo in comment.
4128
4129 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
4130
4131 * resolv/res_libc.c (_res): Initialize _sock to -1.
4132
4133 2000-05-18 Jakub Jelinek <jakub@redhat.com>
4134
4135 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
4136 (fopencookie@@GLIBC_2.2): New.
4137 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
4138 (fopencookie@GLIBC_2.0): New.
4139 * libio/Versions: Add fopencookie to GLIBC_2.2.
4140
4141 2000-05-18 Andreas Jaeger <aj@suse.de>
4142
4143 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4144 Closes PR libc/1731.
4145
4146 * manual/arith.texi (Parsing of Integers): Fix typo.
4147 Closes PR libc/1744, reported by blp@gnu.org.
4148
4149 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4150
4151 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
4152 __extension__ to hexadecimal floating constant notation.
4153 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4154 Likewise.
4155 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
4156 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4157 Likewise.
4158 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4159 HUGE_VALL): Likewise.
4160 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4161 HUGE_VALL): Likewise.
4162 (HUGE_VALL): Set to HUGE_VAL on sparc32.
4163
4164 2000-05-17 Andreas Jaeger <aj@suse.de>
4165
4166 * string/envz.h: Add pure attributes if possible.
4167
4168 * string/argz.h: argz_count is a pure function.
4169
4170 * string/strings.h: Add pure and const attributes if possible.
4171
4172 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
4173 possibly searching through the whole memory.
4174 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
4175
4176 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4177
4178 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
4179 not yet defined.
4180 (_dl_cache_check_flags): Likewise.
4181 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
4182 dl-cache.h.
4183
4184 2000-05-17 Andreas Jaeger <aj@suse.de>
4185
4186 * manual/creature.texi (Feature Test Macros): Remove paragraph
4187 since the description is wrong.
4188 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
4189
4190 * scripts/config.sub: New version.
4191 * scripts/config.guess: Likewise.
4192 * manual/texinfo.tex: Likewise.
4193
4194 * time/test_time.args: Removed.
4195 * time/Makefile (test_time-ARGS): Added contents here instead.
4196
4197 * posix/tstgetopt.args: Removed.
4198 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
4199
4200 * Rules: Allow arguments for test files to be specified in
4201 Makefile with testname-ARGS; remove rules with .args in it.
4202
4203 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
4204 remove old bogus rule for opendir-tst1.args.
4205
4206 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
4207
4208 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
4209 into objdir. This allows a readonly sourcetree.
4210 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
4211
4212 2000-05-16 Andreas Jaeger <aj@suse.de>,
4213 David Huggins-Daines <dhd@linuxcare.com>
4214
4215 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
4216 cache_data in case of only new cache format correctly.
4217
4218 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
4219 cache_file_new.
4220
4221 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
4222 struct cache_file_new.
4223
4224 * elf/cache.c (save_cache): Fix str_offset if only new cache is
4225 present.
4226
4227 * elf/cache.c (save_cache): Align struct new_file_cache.
4228 (print_cache): Likewise.
4229
4230 2000-05-13 Jakub Jelinek <jakub@redhat.com>
4231
4232 * elf/soinit.c (__libc_global_ctors): Move
4233 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
4234 * resolv/resolv.h (__res_state): Added __attribute__((const)).
4235 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
4236 variable, don't define it to __res_state call.
4237
4238 2000-05-13 Andreas Jaeger <aj@suse.de>
4239
4240 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
4241 Linux 2.3.99pre7.
4242 (AF_PPPOX): Likewise.
4243 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
4244 (AF_PPPOX): Likewise.
4245
4246 2000-05-12 Andreas Jaeger <aj@suse.de>
4247
4248 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
4249 Reported by tmoestl@gmx.net, closes PR libc/1732.
4250
4251 2000-05-11 Jan Hubicka <jh@suse.cz>
4252
4253 * misc/sys/cdefs.h: Add support for pure attribute.
4254
4255 * include/string.h: Add __attribute_pure__ to various functions.
4256 * string/string.h: Likewise.
4257
4258 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4259
4260 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
4261 argument.
4262 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4263 R_SPARC_UA64.
4264 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
4265
4266 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4267
4268 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
4269 at proper place. Compute the high nibble correctly.
4270
4271 2000-05-09 Jakub Jelinek <jakub@redhat.com>
4272
4273 * elf/ldconfig.c: Include elf.h.
4274
4275 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
4276 (_dl_vsym): Likewise.
4277 Reported by Owen Taylor <otaylor@redhat.com>.
4278
4279 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
4280 always.
4281
4282 2000-05-08 Andreas Jaeger <aj@suse.de>
4283
4284 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
4285
4286 * intl/bindtextdom.c (set_binding_values): Add prototype.
4287
4288 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4289
4290 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
4291 call to elf_machine_fixup_plt.
4292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4293 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4294
4295 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4296
4297 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
4298 they are not dlclose'd from underneath us.
4299
4300 2000-05-08 Andreas Schwab <schwab@suse.de>
4301
4302 * posix/execle.c: Fix size parameter of memcpy.
4303
4304 2000-05-08 Andreas Schwab <schwab@suse.de>
4305
4306 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
4307 getpagesize syscall if available.
4308
4309 2000-05-08 Andreas Jaeger <aj@suse.de>
4310
4311 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
4312 set errno.
4313
4314 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4315
4316 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
4317 sizeof(struct link_map *) chunks, not in bytes.
4318
4319 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4320
4321 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
4322 only needed for locale.
4323 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
4324 It's only needed for catgets.
4325 Patches by Greg McGary <gkm@eng.ascend.com>.
4326
4327 2000-05-07 Mark Kettenis <kettenis@gnu.org>
4328
4329 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
4330 Remove duplicate <errno.h> include. Remove inclusion of
4331 <libintl.h> and "nsswitch.h".
4332 (set_cloexec_flag): New function, broken out of dbopen.
4333 (dbopen): Changed return type to `enum
4334 nss_status'. Mostly rewritten to make sure that we do not report
4335 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
4336 (internal_setent): Change return type to nss_status.
4337 Document, and make sure that the function
4338 behaves accordingly. Make dynamically loading the database
4339 library really thread-safe and return NSS_STATUS_UNAVAIL if it
4340 failed.
4341 (db_cursor): Return ENOMEM is memory allocation failed. Remove
4342 unecessary casts.
4343 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
4344 documentation.
4345 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
4346 c_get function member.
4347 * nss/nss_db/nss_db.h: Add and tweak some comments.
4348 (DBT): Move typedef before NSS_DBC typedef.
4349 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
4350
4351 2000-05-07 H.J. Lu <hjl@gnu.org>
4352
4353 * csu/initfini.c: Moved to ....
4354 * sysdeps/generic/initfini.c: ...here.
4355
4356 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
4357
4358 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4359
4360 * manual/resource.texi: Document POSIX scheduling functions.
4361 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4362
4363 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
4364 reading anything. Reported by Andries.Brouwer@cwi.nl.
4365
4366 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
4367 for x since promotion in comparison might leads to unexpected
4368 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
4369
4370 * iconv/Makefile (tests): Add tst-iconv1.
4371 * iconv/tst-iconv1.c: New file.
4372 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
4373 empty input buffer over full output buffer.
4374 (ucs4_internal_loop): Likewise.
4375 (ucs4_internal_loop_unaligned): Likewise.
4376 (internal_ucs4le_loop): Likewise.
4377 (internal_ucs4le_loop_unaligned): Likewise.
4378 (ucs4le_internal_loop): Likewise.
4379 (ucs4le_internal_loop_unaligned): Likewise.
4380 Reported by yaoz@nih.gov.
4381
4382 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4383
4384 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4385 returned != __GCONV_OK, there is nothing to clean up.
4386
4387 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4388
4389 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4390 OUTPUT_CHARSET environment variables.
4391
4392 2000-05-06 Andreas Jaeger <aj@suse.de>
4393
4394 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4395 (struct cache_file_new): New.
4396 (struct file_entry): New (moved from cache.c).
4397 (struct cache_file): New (moved from cache.c).
4398
4399 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4400 from _dl_load_cache_lookup.
4401 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4402 the different cache formats.
4403 New variable cache_new for new format.
4404
4405 * elf/ldconfig.h: Change according to changes in cache.c and
4406 ldconfig.c; remove cache_libcmp; add opt_format.
4407
4408 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4409 stuff that's defined in those headers.
4410 Add hwcap to struct lib_entry.
4411 (opt_format): New variable to select cache format.
4412 (options): Add format parameter.
4413 (is_hwcap): New function.
4414 (path_hwcap): New function.
4415 (parse_opt): Handle new format parameter.
4416 (search_dir): Handle hwcap, search also subdirectories with hwcap.
4417
4418 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
4419 ldconfig is part of glibc.
4420 Include dl-cache.h and remove stuff that's defined there.
4421 (struct cache_entry): Add new member hwcap.
4422 (print_entry): Print hwcap, cleanup a bit.
4423 (print_cache): Print new and old formats.
4424 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4425 (save_cache): Save new and old formats.
4426 (add_to_cache): Handle hwcap.
4427
4428 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4429 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4430 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4431 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4432 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4433 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4434
4435 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4436
4437 * intl/dcigettext.c (alignof): New macro.
4438 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4439 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4440 freemem_size to 0.
4441
4442 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4443
4444 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4445 return value.
4446
4447 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4448
4449 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4450 (mempcpy): Correct typo is parameter list.
4451
4452 2000-05-06 Andreas Jaeger <aj@suse.de>
4453
4454 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4455 functions unless -ffast-math is given to gcc.
4456
4457 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4458
4459 * po/ko.po: Update from translation team.
4460
4461 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4462
4463 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4464 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4465 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4466 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4467 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4468 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4469
4470 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4471 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4472 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4473
4474 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4475 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4476 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4477 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4478
4479 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4480 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4481
4482 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4483
4484 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4485 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4486
4487 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4488 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4489
4490 * sysdeps/ia64/Implies: New file.
4491 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
4492 * sysdeps/ia64/Makefile: New file.
4493 * sysdeps/ia64/gmp-mparam.h: New file,
4494
4495 * sysdeps/ia64/elf/start.S: New file.
4496
4497 * sysdeps/ia64/bits/fenv.h: New file.
4498
4499 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
4500
4501 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4502
4503 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
4504
4505 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
4506 ia64 has 64 bit .hash entries just as the Alpha.
4507
4508 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4509
4510 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
4511
4512 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
4513
4514 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
4515 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
4516 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
4517 * sysdeps/ia64/fpu/fegetenv.c: New file.
4518 * sysdeps/ia64/fpu/fegetexcept.c: New file.
4519 * sysdeps/ia64/fpu/fegetround.c: New file.
4520 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
4521 * sysdeps/ia64/fpu/fesetenv.c: New file.
4522 * sysdeps/ia64/fpu/fesetround.c: New file.
4523 * sysdeps/ia64/fpu/feupdateenv.c: New file.
4524 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
4525 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
4526 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
4527 * sysdeps/ia64/fpu/ftestexcept.c: New file.
4528
4529 2000-05-05 Andreas Jaeger <aj@suse.de>
4530
4531 * misc/tst-tsearch.c (main): Correct type for initstate argument.
4532
4533 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4534 (_dl_string_hwcap): New, does nothing.
4535
4536 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4537 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4538 (_dl_string_hwcap): New function, converts from string to hwcap
4539 encoding.
4540 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4541 (_DL_HWCAP_COUNT): New.
4542 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4543 (_dl_string_hwcap): New function, converts from string to hwcap
4544 encoding.
4545 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
4546 (_DL_HWCAP_COUNT): New.
4547 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4548 (_dl_string_hwcap): New function, converts from string to hwcap
4549 encoding.
4550
4551 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4552
4553 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4554 * sysdeps/ia64/Dist: New file.
4555
4556 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4557 parameter to mprotect and for variable assignments.
4558
4559 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4560
4561 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4562 validity of map before dereferencing it.
4563
4564 * elf/dl-reloc.c (RESOLVE_MAP): Define.
4565
4566 2000-05-02 Jes Sorensen <jes@linuxcare.com>
4567
4568 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4569 lookup to the arguments to elf_machine_fixup_plt().
4570
4571 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
4572 of the symbol being resolved to input argument list and make the
4573 function return the pointer to the reloc.
4574
4575 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
4576 return valuie to lookup_t and return the value.
4577 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
4578 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
4579 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
4580 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
4581 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
4582 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
4583
4584 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
4585 Make it an inline function returning value after calling
4586 __elf_machine_fixup_plt().
4587
4588 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4589 symbol address.
4590
4591 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4592 obtain the symbol address.
4593
4594 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
4595 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
4596
4597 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
4598 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
4599 inline on non ia64.
4600
4601 2000-04-28 Jes Sorensen <jes@linuxcare.com>
4602
4603 * elf/dl-runtime.c (fixup): Use the portable macros to get the
4604 symbol address of an object.
4605
4606 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
4607 the symbol address of an object.
4608
4609 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
4610 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
4611 (_dl_lookup_symbol_skip): Likewise.
4612 (_dl_lookup_versioned_symbol): Likewise.
4613 (_dl_lookup_versioned_symbol_skip): Likewise.
4614
4615 2000-04-27 Jes Sorensen <jes@linuxcare.com>
4616
4617 * elf/rtld.c (_dl_start): Get the function pointer return address
4618 via _dl_start_address for architectures that need a function
4619 pointer descriptor rather than just a pointer (ia64).
4620
4621 * sysdeps/generic/dl-lookupcfg.h: New file.
4622 * sysdeps/ia64/dl-lookupcfg.h: New file.
4623 * sysdeps/ia64/dl-machine.h: New file.
4624 * sysdeps/ia64/dl-symaddr.c: New file.
4625 * sysdeps/ia64/dl-fptr.c: New file.
4626
4627 * elf/elf.h: Add IA-64 specific definitions.
4628
4629 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4630
4631 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
4632 end of enum.
4633
4634 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4635
4636 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
4637 happy.
4638
4639 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4640
4641 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
4642 symbol. Call _dl_init rather than the old way.
4643
4644 2000-05-04 Ulrich Drepper <drepper@redhat.com>
4645
4646 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
4647 test for pointer in range of DSO address space.
4648
4649 2000-05-04 Andreas Jaeger <aj@suse.de>
4650
4651 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
4652
4653 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4654
4655 * locale/findlocale.c (_nl_find_locale): Add new parameter to
4656 calls of _nl_make_l10nflist.
4657
4658 * libio/stdio.h: Make fseeko and ftello prototypes available is
4659 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
4660
4661 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
4662 real unsetenv implementation from 1999-07-29 [PR libc/1714].
4663
4664 2000-05-03 Bruno Haible <haible@clisp.cons.org>
4665
4666 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
4667 before calling tfind.
4668
4669 2000-03-05 Jakub Jelinek <jakub@redhat.com>
4670
4671 * resolv/resolv.h (res_querydomain): Remove redefinition to
4672 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
4673
4674 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4675
4676 * po/gl.po: Update from translation team.
4677
4678 * manual/intro.texi (Program Basics): Change section title.
4679 * manual/process.texi: Fix reference.
4680 (Executing a File): Add reference exec in other section.
4681 * manual/signal.texi: Fix reference.
4682 * manual/startup.texi: Document syscall function.
4683 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4684
4685 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4686
4687 * intl/libintl.h (bind_textdomain_codeset): New declaration.
4688 * intl/bindtextdom.c (set_binding_values): New function.
4689 (bindtextdomain): Call it.
4690 (bind_textdomain_codeset): New function.
4691 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
4692 (free_mem): Free each binding's codeset.
4693 * intl/gettextP.h (struct binding): Add codeset field.
4694 (_nl_find_domain): Add domainbinding argument.
4695 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
4696 Pass it to _nl_make_l10nflist.
4697 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
4698 (_nl_make_l10nflist): Add domainbinding argument.
4699 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
4700 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
4701 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
4702 locale_charset().
4703 * manual/message.texi: New node "Charset conversion in gettext".
4704
4705 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4706
4707 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
4708 appropriate. Handle possible __read error.
4709
4710 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4711
4712 * intl/gettextP.h (__builtin_expect): Define as empty if not a
4713 compiler builtin.
4714 * intl/loadinfo.h (__builtin_expect): Likewise.
4715 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
4716 __builtin_expect where appropriate.
4717 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4718 * intl/localealias.c (extend_alias_table): Return an error indicator.
4719 (read_alias_file): Bail out if extend_alias_table fails.
4720
4721 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4722
4723 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
4724 * intl/localealias.c: Likewise.
4725
4726 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4727
4728 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
4729 Initialize domain->plural and domain->nplurals even if there is no
4730 nullentry.
4731
4732 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4733
4734 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
4735 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
4736 In case of failure, goto converted.
4737
4738 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4739
4740 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
4741 * iconv/gconv_int.h (norm_add_slashes): Move to here.
4742 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
4743 __gconv_open.
4744
4745 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4746
4747 * intl/dcigettext.c (transcmp): Compare the domains as well.
4748 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
4749 not before.
4750 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
4751 <errno.h>.
4752
4753 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4754
4755 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
4756 Reported by Bruno Haible.
4757
4758 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4759
4760 * manual/arith.texi: Remove @w from @itemize.
4761
4762 2000-05-02 Andreas Jaeger <aj@suse.de>
4763
4764 * conform/data/tar.h-data: Add some checks for specific values.
4765
4766 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
4767 and RAND_MAX.
4768
4769 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
4770 FOPEN_MAX.
4771
4772 * conform/data/netinet/in.h-data: Add exact checks for the values
4773 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
4774
4775 * conform/data/float.h-data: Add some minimal values.
4776
4777 * conform/conformtest.pl: Test for macros with string constants,
4778 check for minimum and maximum values.
4779 Add limits.h to headers.
4780
4781 * conform/data/cpio.h-data: Test for value of MAGIC.
4782
4783 * conform/data/limits.h-data: New file.
4784
4785 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4786
4787 * math/Makefile (headers): Add bits/fenvinline.h.
4788
4789 2000-05-01 Ulrich Drepper <drepper@redhat.com>
4790
4791 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
4792 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
4793
4794 * posix/Versions: Change posix_spawnattr_getdefault and
4795 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
4796 and posix_spawnattr_setsigdefault respectively.
4797 * posix/spawn.h: Likewise.
4798 * posix/spawnattr_getdefault.h: Likewise.
4799 * posix/spawnattr_setdefault.h: Likewise.
4800 * conform/data/spawn.h-data: Likewise.
4801
4802 2000-05-01 Andreas Jaeger <aj@suse.de>
4803
4804 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
4805
4806 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4807
4808 * manual/sysinfo.texi: Document getdomainname, setdomainname
4809 and sysctl.
4810 * manual/string.texi: Fix typo.
4811 * manual/terminal.texi: Document gtty and stty.
4812 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4813
4814 2000-04-30 Andreas Jaeger <aj@suse.de>
4815
4816 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
4817 accordance with Austin Draft.
4818
4819 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4820
4821 * catgets/gencat.c (read_input_file): Use isblank and not isspace
4822 to recognize second character in comment line.
4823
4824 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
4825 ENOBUFS if we are out of memory.
4826
4827 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
4828 available if __USE_XOPEN2K.
4829 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4830 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4831 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4832 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4833 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4835 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
4836 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4837
4838 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4839
4840 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
4841 Recognize option -s, -c, and -l.
4842
4843 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
4844
4845 * nscd/nscd.c: Start new session for nscd, drop privilegs
4846 to configured user if requested and no -S parameter are used.
4847 * nscd/nscd.conf: Add new option "server-user".
4848 * nscd/nscd_conf.c: Add support for new "server-user" option.
4849 * nscd/nscd.h: Add declaration for server_user variable.
4850 Based on patch by Chris Wing <wingc@engin.umich.edu>
4851
4852 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4853
4854 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
4855 that changing the __restore and __restore_rt signal return code
4856 will break GDB.
4857
4858 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4859
4860 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
4861 <sys/user.h>.
4862
4863 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4864
4865 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
4866
4867 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4868
4869 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
4870 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
4871 arpa/inet.h.
4872 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
4873 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
4874 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
4875 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
4876 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
4877 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
4878 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
4879 posix_fallocate, and posix_madvise.
4880 * conform/data/netdb.h-data: New file.
4881 * conform/data/pthread.h-data: Add pthread_barrier_t,
4882 pthread_barrierattr_t, pthread_barrier_destroy,
4883 pthread_barrier_init, pthread_barrier_wait,
4884 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
4885 pthread_barrierattr_init, pthread_barrierattr_setpshared,
4886 pthread_condattr_getclock, pthread_condattr_setclock,
4887 pthread_getcpuclockid, pthread_mutex_timedlock,
4888 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
4889 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
4890 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
4891 * conform/data/sched.h-data: Add sched_ss_low_priority,
4892 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
4893 SCHED_SPORADIC.
4894 * conform/data/semaphore.h-data: Add sem_timedwait.
4895 * conform/data/signal.h-data: Add SIGIO.
4896 * conform/data/spawn.h-data: New file.
4897 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
4898 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
4899 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
4900 Fix typo in gmtime_r definition.
4901 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
4902 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
4903 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
4904 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
4905 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
4906 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
4907 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
4908 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
4909 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
4910 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
4911 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
4912 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
4913 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
4914 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
4915 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
4916 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
4917 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
4918 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
4919 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4920 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
4921 typo in off_t definition.
4922 * conform/data/net/if.h-data: New file.
4923 * conform/data/netinet/in.h-data: New file.
4924 * conform/data/netinet/tcp.h-data: New file.
4925 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
4926 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
4927 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
4928 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
4929 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
4930 and posix_typed_mem_open.
4931 * conform/data/sys/socket.h-data: New file.
4932 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
4933 * conform/data/sys/types.h-data: Add pthread_barrier_t,
4934 pthread_barrierattr_t, and pthread_spinlock_t.
4935 * conform/data/sys/un.h-data: New file.
4936 * conform/data/sys/utsname.h-data: New file.
4937
4938 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
4939 parameter.
4940 * inet/gethstbyad.c (gethostbyname): Likewise.
4941 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
4942 * inet/getipnodebyad.c (getipnodebyad): Likewise.
4943 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
4944 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
4945 Likewise.
4946 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
4947 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
4948 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
4949 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
4950 * resolv/gethnamaddr.c (gethostbyname): Likewise.
4951 * resolv/netdb.h (struct hostent): Fix type of h_length member.
4952 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
4953 and second parameter.
4954
4955 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
4956 == NULL.
4957
4958 2000-04-29 Andreas Jaeger <aj@suse.de>
4959
4960 * conform/data/arpa/inet.h-data: New file.
4961
4962 2000-04-28 Geoff Clare <gwc@unisoft.com>
4963
4964 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
4965 path passed to ftw() or nftw() is an empty string.
4966 Closes PR libc/1710.
4967
4968 2000-04-27 Ulrich Drepper <drepper@redhat.com>
4969
4970 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
4971 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
4972 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
4973 * localedata/tst-mbswcs4.c: New file.
4974 * localedata/tst-mbswcs5.c: New file.
4975
4976 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
4977 == NULL. Little optimization.
4978
4979 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
4980 DT_PREINIT_ARRAYSZ).
4981 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
4982
4983 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
4984 overflows in conversion from ASCII.
4985
4986 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4987
4988 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
4989 * Makerules (full_config_sysdirs): Likewise.
4990 * MakeTAGS (full_config_sysdirs): Likewise.
4991
4992 2000-04-26 Jakub Jelinek <jakub@redhat.com>
4993
4994 * .cvsignore: Remove linuxthreads.
4995 * po/.cvsignore: Remove *.pot.
4996 * posix/glob/.cvsignore: Removed.
4997 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
4998
4999 2000-04-25 Andreas Jaeger <aj@suse.de>
5000
5001 * conform/Makefile (distribute): Also distribute contents of
5002 subdirectories.
5003
5004 * Makerules (no_deps): Remove abi-versions.h.
5005
5006 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
5007
5008 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5009
5010 * sysdeps/sparc/sparc64/elf/Dist: Remove.
5011 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
5012 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
5013 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
5014 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
5015 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
5016 objects.
5017
5018 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
5019
5020 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
5021
5022 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5023
5024 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
5025 * intl/l10nflist.c: Likewise.
5026
5027 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5028
5029 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
5030 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
5031 * intl/textdomain.c [!_LIBC]: Likewise.
5032 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
5033 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
5034 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
5035 syntax error.
5036
5037 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5038
5039 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
5040 character set conversion also in the case the translation was found
5041 after a hash collision or through binary search. Store the maximum
5042 index together with the converted message. Use iconv() when available.
5043 In case of out of memory during conversion, return the unconverted
5044 translated string, not NULL.
5045
5046 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
5047
5048 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
5049 to avoid name clashes with the ia32 linker.
5050
5051 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5052
5053 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
5054 handling.
5055
5056 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5057
5058 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
5059 strtoumax, strfry, and memfrob.
5060 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
5061 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5062
5063 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
5064 if this function is available.
5065
5066 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
5067 all values.
5068
5069 2000-04-27 Jakub Jelinek <jakub@redhat.com>
5070
5071 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
5072
5073 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5074
5075 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
5076 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
5077 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
5078 * localedata/tst-mbswcs3.c: New file.
5079
5080 2000-04-26 Ulrich Drepper <drepper@redhat.com>
5081
5082 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
5083 characters. Don't handle incomplete characters as errors.
5084 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
5085 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
5086 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
5087 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
5088 * localedata/tst-mbswcs2.c: New file.
5089
5090 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
5091 stored character in state in UNPACK_BYTES macro.
5092 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
5093 test for available characters, handle result of BODY code correctly.
5094 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
5095 (distribute): Add tst-mbswcs.sh.
5096 Add rule to run tst-mbswcs.sh.
5097 * localedata/tst-mbswcs.sh: New file.
5098 * localedata/tst-mbswcs1.c: New file.
5099
5100 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5101
5102 * nis/nis_callback.c (__nis_create_callback): Do failed memory
5103 allocation fixups centrally, fix __builtin_expect call, return NULL
5104 on failure, not NIS_NOMEMORY.
5105
5106 2000-04-27 Bruno Haible <haible@clisp.cons.org>
5107
5108 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
5109
5110 * intl/loadinfo.h (internal_function): Define if not already defined.
5111
5112 2000-04-27 Andreas Jaeger <aj@suse.de>
5113
5114 * intl/libintl.h: Fix typo, reported by Bruno Haible
5115 <haible@clisp.cons.org>.
5116
5117 2000-04-25 Ulrich Drepper <drepper@redhat.com>
5118
5119 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
5120 setting the state to GMON_PROF_BUSY.
5121
5122 2000-04-24 Ulrich Drepper <drepper@redhat.com>
5123
5124 * elf/dl-profile.c (_dl_start_profile): define all variables which
5125 do not have to be global as local variables.
5126
5127 * nis/nis_callback.c (__nis_create_callback): Partially undo last
5128 patch. Keep needed tests for failed memory allocation.
5129
5130 * elf/dl-reloc.c (_dl_relocate_object): Add one more
5131 __builtin_expect saying that we don't normally expect to profile.
5132
5133 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
5134 __builtin_expect where desirable.
5135
5136 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5137
5138 * manual/Makefile (chapters): Add syslog.
5139 * manual/syslog.texi: New file.
5140 * manual/math.texi: Fix references.
5141 * manual/terminal.texi: Likewise.
5142 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5143
5144 2000-04-18 Jakub Jelinek <jakub@redhat.com>
5145
5146 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
5147 stdlib.h was not included or __USE_XOPEN not defined.
5148
5149 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5150
5151 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
5152 Patch by Zack Weinberg <zack@wolery.cumb.org>.
5153
5154 2000-04-22 Ulrich Drepper <drepper@redhat.com>
5155
5156 * manual/examples/subopt.c (mount_opts): Add missing terminating
5157 entry.
5158 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5159
5160 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
5161 * libio/ftello.c: Likewise.
5162 * libio/ftello64.c: Likewise.
5163 * libio/ioftell.c: Likewise.
5164 * sysdeps/generic/memrchr.c: Likewise.
5165 * sysdeps/posix/libc_fatal.c: Likewise.
5166 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5167 * misc/fstab.c: Include <string.h> for strcmp prototype.
5168 * sysdeps/generic/ldsodefs.h: Likewise.
5169 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5170 Patch by Kurt Roeckx <Q@ping.be>.
5171
5172 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
5173 Remove db-open. Change all uses.
5174 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
5175
5176 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5177
5178 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
5179 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
5180 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
5181 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
5182 with .set noat/at to shut up warnings.
5183 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
5184 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
5185 compilation if __NR_pciconfig_iobase is not defined.
5186 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
5187 Add alias.
5188
5189 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5190
5191 * manual/sysinfo.texi: Fix typo.
5192 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
5193 Replace "high precision time" with "high accuracy clock".
5194 Fix language.
5195 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5196
5197 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
5198 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
5199 instead of malloc.
5200 * nis/nis_subr.c: Use __builtin_expect.
5201 * nis/ypclnt.c: Likewise.
5202 * nis/nis_getservlist.c: Likewise.
5203 * nis/nis_creategroup.c: Likewise.
5204
5205 * nis/nis_callback.c (__nis_create_callback): Check result of
5206 memory allocation. Fix memory leaks. Use __builtin_expect.
5207 (__nis_destroy_callback): Fix memory leaks.
5208
5209 2000-04-21 Andreas Jaeger <aj@suse.de>
5210
5211 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
5212 * sysdeps/mips/mips64/add_n.S: Likewise.
5213 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
5214 * sysdeps/mips/mips64/lshift.S: Likewise.
5215 * sysdeps/mips/mips64/mul_1.S: Likewise.
5216 * sysdeps/mips/mips64/rshift.S: Likewise.
5217 * sysdeps/mips/mips64/setjmp.S: Likewise.
5218 * sysdeps/mips/mips64/sub_n.S: Likewise.
5219 * sysdeps/mips/mips64/submul_1.S: Likewise
5220 * sysdeps/unix/mips/sysdep.S: Likewise.
5221
5222 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
5223 and update comment. The strtab from _dl_relocate_object can be
5224 used.
5225
5226 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5227
5228 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
5229 * iconv/iconv_close.c (iconv_close): Likewise.
5230 * iconv/iconv_open.c (iconv_open): Likewise.
5231
5232 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
5233 __builtin_expect where useful.
5234
5235 * grp/initgroups.c (initgroups): Test for result of memory
5236 allocation and punt if it fails.
5237
5238 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
5239 * grp/fgetgrent.c (fgetfrent): Likewise.
5240 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5241
5242 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5243
5244 * libio/vasprintf.c: Include string.h to get memcpy prototype.
5245
5246 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5247
5248 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
5249 don't search for NUL byte to decrement counter.
5250 Reported by Ulrich.Brink@sap.com.
5251
5252 * iconv/gconv_simple.c: Define separate functions to convert from
5253 UCS4/UCS4-LE to the internal encoding.
5254 * iconv/gconv_builtin.h: Use separate functions to convert from
5255 UCS4/UCS4-LE to the internal encoding.
5256 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
5257 __gconv_transform_ucs4le_internal.
5258
5259 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
5260 output buffer overflow. Reported by Ulrich.Brink@sap.com.
5261
5262 * iconv/skeleton.c: Add some more __builtin_expect.
5263 * iconv/loop.c: Likewise.
5264
5265 2000-03-08 H.J. Lu <hjl@gnu.org>
5266
5267 * posix/regex.c (regex_compile): Correctly handle "\{" when
5268 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
5269
5270 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5271
5272 * manual/stdio.texi: Give advise about handling error when using
5273 stream functions.
5274 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
5275
5276 2000-04-19 Jakub Jelinek <jakub@redhat.com>
5277
5278 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
5279 field to nelems * sizeof (uint32_t).
5280 * locale/programs/ld-address.c (address_output): Align word fields
5281 properly.
5282 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5283 Don't restart idx pointers to idx end at the duo_int_curr_symbol
5284 field.
5285 Avoid giving arbitrary garbage in the crncystr field.
5286 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
5287 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
5288 fields.
5289 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5290 Don't restart idx pointers to idx end at the decimal_point_wc field.
5291 * locale/programs/ld-time.c (time_output): week_1stday should be
5292 word, not byte. Align it properly.
5293
5294 2000-04-19 H.J. Lu <hjl@gnu.org>
5295
5296 * csu/gmon-start.c (_start): Declared as "extern void".
5297 (etext): Likewise.
5298
5299 2000-04-18 Andreas Jaeger <aj@suse.de>
5300
5301 * manual/install.texi (Running make install): Don't mention utmpd
5302 anymore.
5303
5304 2000-04-18 Andreas Jaeger <aj@suse.de>
5305
5306 * linuxthreads/Versions: Use ld instead of ld.so.
5307
5308 * elf/Makefile (ld-map): Use ld.map.
5309
5310 * Versions.def: Use ld instead of ld.so.
5311 * elf/Versions: Likewise.
5312 * sysdeps/mach/hurd/Versions: Likewise.
5313
5314 2000-04-20 Andreas Jaeger <aj@suse.de>
5315
5316 * elf/rtld.c (print_statistics): Move ifndef further up.
5317 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
5318 (dl_main): Likewise.
5319
5320 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5321
5322 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
5323 * gmon/Versions: Move moncontrol to GLIBC_2.2.
5324
5325 * po/cs.po: Update from translation team.
5326
5327 * sysdeps/generic/updwtmp.c: Remove daemon support.
5328
5329 * login/Makefile (routines): Remove utmp_daemon.
5330
5331 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
5332 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
5333 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
5334 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
5335
5336 * elf/rtld.c: Display statitics option also if hp timing is not
5337 available.
5338
5339 * login/programs/connection.c: Removed.
5340 * login/programs/database.c Removed.
5341 * login/programs/error.c: Removed.
5342 * login/programs/request.c: Removed.
5343 * login/programs/xtmp.c: Removed.
5344 * login/programs/xtmp.h: Removed.
5345 * login/Makefile: Remove rules for utmpd.
5346 * login/README.utmpd: Removed.
5347 * login/utmp_daemon.c: Removed.
5348 * login/getutent_r.c: Remove references to daemon functions.
5349 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
5350 declaration.
5351
5352 2000-04-18 Andreas Jaeger <aj@suse.de>
5353
5354 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5355 2.2 for libnsl, libresolv, librt, libnss_*.
5356
5357 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
5358
5359 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
5360
5361 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5362
5363 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
5364 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
5365 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
5366 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
5367 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
5368 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
5369 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
5370 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
5371 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
5372 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
5373 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
5374 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
5375 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
5376 it here.
5377 * sysdeps/unix/sysv/aix/msync.c: New file.
5378 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
5379 * sysdeps/unix/sysv/aix/net/if.h: New file.
5380 * sysdeps/unix/sysv/aix/pipe.c: New file.
5381 * sysdeps/unix/sysv/aix/poll.c: New file.
5382 * sysdeps/unix/sysv/aix/rename.c: New file.
5383 * sysdeps/unix/sysv/aix/rmdir.c: New file.
5384 * sysdeps/unix/sysv/aix/select.c: New file.
5385 * sysdeps/unix/sysv/aix/semctl.c: New file.
5386 * sysdeps/unix/sysv/aix/semget.c: New file.
5387 * sysdeps/unix/sysv/aix/semop.c: New file.
5388 * sysdeps/unix/sysv/aix/sendto.c: New file.
5389 * sysdeps/unix/sysv/aix/setgroups.c: New file.
5390 * sysdeps/unix/sysv/aix/setpgid.c: New file.
5391 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5392 * sysdeps/unix/sysv/aix/setpriority.c: New file.
5393 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5394 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5395 * sysdeps/unix/sysv/aix/setsid.c: New file.
5396 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5397 * sysdeps/unix/sysv/aix/shmat.c: New file.
5398 * sysdeps/unix/sysv/aix/shmctl.c: New file.
5399 * sysdeps/unix/sysv/aix/shmdt.c: New file.
5400 * sysdeps/unix/sysv/aix/shmget.c: New file.
5401 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5402 * sysdeps/unix/sysv/aix/sigstack.c: New file.
5403 * sysdeps/unix/sysv/aix/socket.c: New file.
5404 * sysdeps/unix/sysv/aix/socketpair.c: New file.
5405 * sysdeps/unix/sysv/aix/speed.c: New file.
5406 * sysdeps/unix/sysv/aix/symlink.c: New file.
5407 * sysdeps/unix/sysv/aix/sync.c: New file.
5408 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5409 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5410 * sysdeps/unix/sysv/aix/times.c: New file.
5411 * sysdeps/unix/sysv/aix/ulimit.c: New file.
5412 * sysdeps/unix/sysv/aix/umask.c: New file.
5413 * sysdeps/unix/sysv/aix/unlink.c: New file.
5414 * sysdeps/unix/sysv/aix/ustat.c: New file.
5415 * sysdeps/unix/sysv/aix/utimes.c: New file.
5416
5417 2000-04-18 Andreas Jaeger <aj@suse.de>
5418
5419 * manual/startup.texi (Environment Access): Fix putenv prototype
5420 according to recent changes.
5421 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5422 PR libc/1692.
5423
5424 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5425 needed.
5426
5427 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5428
5429 * posix/Makefile (tests): Add tst-getaddrinfo.
5430 * posix/tst-getaddrinfo.c: New file.
5431
5432 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5433
5434 * manual/sysinfo.texi: Document that umount2 is not widely available.
5435
5436 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5437 signal timing is not really implemented.
5438
5439 2000-04-17 Andreas Jaeger <aj@suse.de>
5440
5441 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5442
5443 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5444
5445 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5446 and inst_libdir.
5447
5448 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5449
5450 * manual/intro.texi: Change reference from System Information to
5451 System Management.
5452 * manual/users.texi: Likewise.
5453 * manual/conf.texi: Likewise.
5454 * manual/sysinfo.texi: Document mount, umount, and umount2.
5455 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5456
5457 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5458
5459 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5460 Create wnumstr as well as numstr to support wide character output
5461 correctly.
5462
5463 2000-04-15 Jakub Jelinek <jakub@redhat.com>
5464
5465 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5466 modification and move it...
5467 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5468 Add -melf64_sparc switch to $(LD) on sparc64-linux.
5469 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5470 switch to $(LD) on sparc-linux.
5471
5472 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
5473
5474 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5475 and setresuid from sysdep_routines.
5476
5477 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5478
5479 * manual/Makefile (chapters): Add resource.
5480
5481 * manual/time.texi: Move section on resources to...
5482 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
5483 and vtimes.
5484 * manual/setjmp.texi: Adjust back reference.
5485 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5486
5487 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5488 definition.
5489 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5490 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5491 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5492 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5493 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5494 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5495 * sysdeps/unix/sysv/aix/close.c: Add copyright.
5496 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
5497 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
5498 * sysdeps/unix/sysv/aix/access.c: Add copyright.
5499 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
5500 * sysdeps/unix/sysv/aix/Implies: New file.
5501 * sysdeps/unix/sysv/aix/Versions: New file.
5502 * sysdeps/unix/sysv/aix/bind.c: New file.
5503 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
5504 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
5505 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
5506 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
5507 * sysdeps/unix/sysv/aix/chdir.c: New file.
5508 * sysdeps/unix/sysv/aix/chmod.c: New file.
5509 * sysdeps/unix/sysv/aix/chroot.c: New file.
5510 * sysdeps/unix/sysv/aix/creat.c: New file.
5511 * sysdeps/unix/sysv/aix/dl-close.c: New file.
5512 * sysdeps/unix/sysv/aix/dl-open.c: New file.
5513 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
5514 * sysdeps/unix/sysv/aix/fchdir.c: New file.
5515 * sysdeps/unix/sysv/aix/fchmod.c: New file.
5516 * sysdeps/unix/sysv/aix/getgroups.c: New file.
5517 * sysdeps/unix/sysv/aix/gethostname.c: New file.
5518 * sysdeps/unix/sysv/aix/getpriority.c: New file.
5519 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
5520 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
5521 * sysdeps/unix/sysv/aix/getrusage.c: New file.
5522 * sysdeps/unix/sysv/aix/link.c: New file.
5523 * sysdeps/unix/sysv/aix/madvise.c: New file.
5524 * sysdeps/unix/sysv/aix/mkdir.c: New file.
5525 * sysdeps/unix/sysv/aix/mknod.c: New file.
5526 * sysdeps/unix/sysv/aix/mprotect.c: New file.
5527 * sysdeps/unix/sysv/aix/msgctl.c: New file.
5528 * sysdeps/unix/sysv/aix/msgget.c: New file.
5529 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
5530
5531 2000-04-17 Andreas Jaeger <aj@suse.de>
5532
5533 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
5534 as suggested by Ulrich Drepper.
5535 (__dl_runtime_resolve): Remove unused variable, initialize sym
5536 directly.
5537 (RTLD_START): Document OFFSET_GP_GOT.
5538 (OFFSET_GP_GOT): New magic value.
5539 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
5540 (elf_machine_got_rel): Only declare strtab if needed.
5541 (elf_machine_relplt): Removed, it's not needed.
5542 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
5543
5544 * sysdeps/mips/add_n.S: Add newline at EOF.
5545 * sysdeps/mips/rshift.S: Likewise.
5546 * sysdeps/mips/mul_1.S: Likewise.
5547 * sysdeps/mips/lshift.S: Likewise.
5548 * sysdeps/mips/addmul_1.S: Likewise.
5549
5550 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5551
5552 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
5553
5554 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
5555 * elf/dl-lookup.c: Likewise.
5556 * elf/dl-init.c (_dl_init): Likewise.
5557 * elf/dl-fini.c (_dl_fini): Likewise.
5558 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5559 * elf/dl-close.c (_dl_close): Likewise.
5560 * elf/rtld.c (_dl_start_final): Likewise.
5561
5562 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5563
5564 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5565
5566 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5567 only fall back on using Linux.
5568
5569 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
5570 Before testing versions check that we actually loaded the object
5571 and whether we are in trace mode. If not loaded during tracing don't
5572 test versions in this object.
5573 (_dl_check_all_versions): Take new parameter and pass to
5574 _dl_check_map_versions.
5575 * sysdeps/generic/ldsodefs.h: Update prototypes for
5576 _dl_check_all_versions and _dl_check_map_versions.
5577 * elf/rtld.c (struct version_check_args): Add dotrace.
5578 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
5579 (dl_main): Pass info about trace mode to version_check_doit.
5580 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
5581 _dl_check_all_versions.
5582
5583 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5584 and getutmpx.
5585 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5586
5587 * manual/argp.texi: Document index parameter of argp_parse.
5588 Fix typo.
5589 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5590
5591 2000-04-14 Andreas Jaeger <aj@suse.de>
5592
5593 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
5594 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
5595
5596 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
5597
5598 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5599
5600 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
5601 compat_symbol call for old adjtime.
5602
5603 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
5604 function interface. Patch by Richard Henderson <rth@cygnus.com>.
5605
5606 * posix/Makefile (headers): Add spawn.h.
5607 (distribute): Add spawn_int.h.
5608 (routines): Add spawn_faction_init, spawn_faction_destroy,
5609 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
5610 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
5611 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
5612 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
5613 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
5614 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
5615 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
5616 posix_spawnattr_init, posix_spawnattr_destroy,
5617 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
5618 posix_spawnattr_getflags, posix_spawnattr_setflags,
5619 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
5620 and posix_spawnp.
5621 * posix/spawn.c: New file.
5622 * posix/spawn.h: New file.
5623 * posix/spawn_faction_addclose.c: New file.
5624 * posix/spawn_faction_adddup2.c: New file.
5625 * posix/spawn_faction_addopen.c: New file.
5626 * posix/spawn_faction_destroy.c: New file.
5627 * posix/spawn_faction_init.c: New file.
5628 * posix/spawn_int.h: New file.
5629 * posix/spawnattr_destroy.c: New file.
5630 * posix/spawnattr_getdefault.c: New file.
5631 * posix/spawnattr_getflags.c: New file.
5632 * posix/spawnattr_getpgroup.c: New file.
5633 * posix/spawnattr_getschedparam.c: New file.
5634 * posix/spawnattr_getschedpolicy.c: New file.
5635 * posix/spawnattr_getsigmask.c: New file.
5636 * posix/spawnattr_init.c: New file.
5637 * posix/spawnattr_setdefault.c: New file.
5638 * posix/spawnattr_setflags.c: New file.
5639 * posix/spawnattr_setpgroup.c: New file.
5640 * posix/spawnattr_setschedparam.c: New file.
5641 * posix/spawnattr_setschedpolicy.c: New file.
5642 * posix/spawnattr_setsigmask.c: New file.
5643 * posix/spawni.c: New file.
5644 * posix/spawnp.c: New file.
5645
5646 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
5647 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5648
5649 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5650
5651 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
5652 * malloc/malloc.c: Implement posix_memalign for glibc.
5653 * include/stdlib.h: Add prototype for __posix_memalign.
5654 * stdlib/stdlib.h: Add prototype for posix_memalign.
5655
5656 2000-04-14 Andreas Jaeger <aj@suse.de>
5657
5658 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
5659 symidx correctly.
5660 (elf_machine_got_rel): Cast sym correctly.
5661
5662 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
5663 * sysdeps/mips/addmul_1.S: Likewise.
5664 * sysdeps/mips/lshift.S: Likewise.
5665 * sysdeps/mips/mul_1.S: Likewise.
5666 * sysdeps/mips/rshift.S: Likewise.
5667 * sysdeps/mips/sub_n.S: Likewise.
5668 * sysdeps/mips/submul_1.S: Likewise.
5669
5670 * stdlib/stdlib.h: Fix typo in comment.
5671
5672 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5673 2.2 for libdl, ld and libm.
5674
5675 * sysdeps/generic/madvise.c: Fix typos.
5676
5677 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
5678
5679 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
5680
5681 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
5682 warnings.
5683
5684 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5685
5686 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
5687 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
5688 Make old name weak alias.
5689 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5690 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
5691 Make old name weak alias.
5692 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5693
5694 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
5695 posix_fallocate, and posix_fallocate64.
5696 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
5697 posix_fallocate, and posix_fallocate64.
5698 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
5699 posix_fallocate, and posix_fallocate64.
5700 * sysdeps/generic/fadvise.c: New file.
5701 * sysdeps/generic/fadvise64.c: New file.
5702 * sysdeps/generic/fallocate.c: New file.
5703 * sysdeps/generic/fallocate64.c: New file.
5704 * sysdeps/posix/fallocate.c: New file.
5705 * sysdeps/posix/fallocate64.c: New file.
5706 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
5707 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
5708 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
5709 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5710 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5711 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5712 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5713 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5715
5716 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
5717 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5718
5719 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5720
5721 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
5722 * misc/sys/mman.h (posix_madvise): Add prototype.
5723 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
5724 old name and posix_madvise weak aliases.
5725 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5726 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
5727 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5728 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5729 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
5730 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5731 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5732
5733 2000-04-13 Andreas Jaeger <aj@suse.de>
5734
5735 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
5736 versioning.
5737 (elf_machine_got_rel): Only add runtime display if needed.
5738 (elf_machine_got_rel): Handle symbol versioning.
5739
5740 2000-04-13 Andreas Jaeger <aj@suse.de>
5741
5742 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
5743
5744 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
5745 default.
5746
5747 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
5748 with some applications.
5749 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
5750
5751 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
5752 * sysdeps/mips/bsd-_setjmp.S: Likewise.
5753 * sysdeps/mips/setjmp.S: Likewise.
5754
5755 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
5756
5757 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5758
5759 * posix/globtest.sh: Work around inconsistency with expanding ~/
5760 in shell (PR libc/1690). Reported by patsmith@pobox.com.
5761
5762 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5763
5764 * posix/getconf.c: Add support for many more POSIX options.
5765 * sysdeps/posix/sysconf.c: Likewise.
5766 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
5767 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
5768 _POSIX_SHELL.
5769 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5770 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
5771 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
5772 CLOCK_THREAD_CPUTIME_ID.
5773 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
5774 CLOCK_PROCESS_CPUTIME_ID.
5775 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
5776 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
5777 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
5778 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5779
5780 * malloc/Makefile (tests): Add tst-calloc.
5781 * malloc/tst-calloc.c: New file.
5782
5783 * sysdeps/arm/libm-test-ulps: New file.
5784
5785 * malloc/malloc.c: Undo all of today's changes.
5786
5787 * locale/programs/locale.c (show_info): Don't try to look into
5788 data for LC_ALL (there is none).
5789
5790 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
5791 avoid writing over boundary.
5792 Patch by Greg McGary <gkm@eng.ascend.com>.
5793
5794 * sysdeps/arm/memprof.h: New file.
5795
5796 2000-04-12 Andreas Jaeger <aj@suse.de>
5797
5798 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
5799
5800 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
5801 for memmem declaration.
5802
5803 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5804
5805 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
5806 to -1.
5807 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5808
5809 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
5810 mode is invalid.
5811 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5812 Patch by Bart Veer <bartv@redhat.com>.
5813
5814 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
5815 function interface.
5816
5817 2000-04-11 Andreas Jaeger <aj@suse.de>
5818
5819 * sysdeps/mips/dl-machine.h: Update some comments.
5820 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
5821
5822 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5823
5824 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
5825 _POSIX_SHARED_MEMORY_OBJECTS.
5826
5827 * rt/Makefile (tests): Add tst-shm.
5828 Add rules to generate tst-shm.
5829 * rt/tst-shm.c: New file.
5830
5831 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
5832 for descriptor.
5833
5834 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
5835 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
5836 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
5837 * sysdeps/generic/shm_open.c: New file.
5838 * sysdeps/generic/shm_unlink.c: New file.
5839 * sysdeps/unix/sysv/linux/shm_open.c: New file.
5840 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
5841 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
5842 __endmntent, __getmntent_r, __setmntent, and __statfs.
5843
5844 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
5845 fragmentation by allocating new memory at the end instead of
5846 reallocating.
5847
5848 * posix/globtest.sh: Fix last change.
5849
5850 2000-04-10 Philip Blundell <philb@gnu.org>
5851
5852 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
5853 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
5854 IPV6_DROP_MEMBERSHIP.
5855 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
5856 Likewise.
5857
5858 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5859
5860 * elf/readlib (process_file): Close streams in case of an error.
5861
5862 2000-04-09 Andreas Jaeger <aj@suse.de>
5863
5864 * elf/readlib.c (process_file): Check if file is big enough to
5865 contain aout and ELF headers.
5866 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
5867
5868 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
5869
5870 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
5871
5872 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5873
5874 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
5875 stream unbuffered.
5876 * rt/Makefile (tests): Add tst-clock.
5877 Add rules to build tst-clock.
5878 * rt/tst-clock.c: New file.
5879 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
5880 about initialization of nsec.
5881 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
5882 about initialization of freq. Set retval to zero if successful.
5883 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
5884
5885 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5886
5887 * Versions.def (librt): Add GLIBC_2.2.
5888 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
5889 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
5890 timer_getoverr, timer_gettime, and timer_settime.
5891 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
5892 clock_settime, timer_create, timer_delete, timer_getoverrun,
5893 timer_gettime, and timer_settime.
5894 * sysdeps/generic/clock_getcpuclockid.c: New file.
5895 * sysdeps/generic/get_clockfreq.c: New file.
5896 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
5897 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
5898 * sysdeps/mach/hurd/i386/bits/time.h: New file.
5899 * sysdeps/unix/i386/i586/clock_getres.c: New file.
5900 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
5901 * sysdeps/unix/i386/i686/Implies: New file.
5902 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
5903 * time/Makefile (routines): Move clock_getres, clock_gettime,
5904 clock_settime, timer_create, timer_delete, timer_getoverr,
5905 timer_gettime, and timer_settime to rt/Makefile.
5906 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
5907 clock_settime, timer_create, timer_delete, timer_getoverrun,
5908 timer_gettime, and timer_settime.
5909 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
5910
5911 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
5912 and not const as attribute name.
5913
5914 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
5915
5916 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
5917
5918 2000-04-10 Andreas Schwab <schwab@suse.de>
5919
5920 * posix/globtest.sh: Skip tests that depend on unreadable
5921 directories if run as root.
5922
5923 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5924
5925 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
5926 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
5927
5928 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5929
5930 * sysdeps/unix/clock_gettime.c: New file.
5931 * sysdeps/unix/clock_settime.c: New file.
5932 * sysdeps/posix/clock_getres.c: New file.
5933
5934 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
5935
5936 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
5937 lseek call be passing in a buffer which never allow a successful
5938 first getdents syscall if not at leas the initial entry can be
5939 stored in the user buffer.
5940
5941 * localedata/Makefile: Add rules to clean up directories created by
5942 new strfmon tests.
5943
5944 2000-04-09 Geoff Clare <gwc@unisoft.com>
5945
5946 * localedata/tst-fmon.data: Added new tests for strfmon()
5947 using test locales with all combinations of cs_precedes,
5948 sign_posn and sep_by_space.
5949 * localedata/tst-fmon.sh: Updated to support the new tests.
5950 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
5951 the localedef source for the new strfmon() test locale.
5952 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
5953 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
5954 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
5955 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
5956 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
5957 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
5958 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
5959 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
5960 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
5961 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
5962 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
5963 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
5964 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
5965 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
5966
5967 * stdlib/strfmon.c: Correct problems with missing or extra
5968 spaces for unusual combinations of sign_posn and sep_by_space.
5969 Improved left-precision alignment code.
5970
5971 2000-04-07 Andreas Jaeger <aj@suse.de>
5972
5973 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
5974
5975 2000-04-10 Andreas Jaeger <aj@suse.de>
5976
5977 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
5978
5979 2000-04-09 Ulrich Drepper <drepper@redhat.com>
5980
5981 Implement handling of restartable conversion functions according to
5982 ISO C.
5983 * iconv/gconv.h (__gconv_fct): Add additional parameter.
5984 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
5985 * iconv/gconv.c: Pass additional parameter to conversion function.
5986 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
5987 (internal_ucs4le_loop_single): New function.
5988 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
5989 (__gconv_transform_internal_ascii): Likewise.
5990 (__gconv_transform_internal_utf8): Likewise.
5991 (__gconv_transform_utf8_internal): Likewise.
5992 (__gconv_transform_ucs2_internal): Likewise.
5993 (__gconv_transform_internal_ucs2): Likewise.
5994 (__gconv_transform_ucs2reverse_internal): Likewise.
5995 (__gconv_transform_internal_ucs2reverse): Likewise.
5996 (internal_ucs4le_loop_unaligned): Before return
5997 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
5998 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
5999 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
6000 * iconv/loop.c: Fit in definition of function to convert one character
6001 for processing of left-over bytes from the state object.
6002 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
6003 inend to match names in loop functions.
6004 (RESET_INPUT_BUFFER): Change apprpriately.
6005 (gconv): If needed, call function to process bytes from the state
6006 object. Similar at the end: store left over bytes if input is
6007 incomplete.
6008 Take extra argument and add new argument to all calls of the
6009 conversion function.
6010 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
6011 information in the state object to not conflict with length count.
6012 * iconvdata/iso-2022-jp.c: Likewise.
6013 * iconvdata/iso-2022-kr.c: Likewise.
6014 * iconvdata/unicode.c: Adjust for change change in parameters of
6015 skeleton function.
6016 * iconvdata/utf-16.c: Likewise.
6017 * libio/iofwide.c: Add new parameter to all calls of conversion
6018 function.
6019 * wcsmbs/btowc.c: Likewise.
6020 * wcsmbs/mbrtowc.c: Likewise.
6021 * wcsmbs/mbsnrtowcs.c: Likewise.
6022 * wcsmbs/mbsrtowcs.c: Likewise.
6023 * wcsmbs/wcrtomb.c: Likewise.
6024 * wcsmbs/wcsnrtombs.c: Likewise.
6025 * wcsmbs/wcsrtombs.c: Likewise.
6026 * wcsmbs/wctob.c: Likewise.
6027
6028 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
6029 MAX_NEEDED_INPUT.
6030
6031 2000-04-07 Andreas Jaeger <aj@suse.de>
6032
6033 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
6034 newer kernels.
6035
6036 2000-04-07 Ulrich Drepper <drepper@redhat.com>
6037
6038 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
6039 element a union to allow byte access.
6040 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
6041 mbstate_t.
6042 * iconvdata/iso-2022-jp.c: Likewise.
6043 * iconvdata/iso-2022-kr.c: Likewise.
6044 * wcsmbs/mbsinit.c: Likewise.
6045 * stdlib/mblen.c: Likewise.
6046 * stdio-common/printf-parse.h: Likewise.
6047
6048 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6049
6050 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
6051 kernel does not allow relative seeks on descriptors associated
6052 with directories. Go back to get the position in the directory
6053 every time we enter the function. Return -1 and set errno if one
6054 entry could be read from the kernel but does not fit into the
6055 buffer passed in by the user.
6056
6057 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
6058 Support ..(2).. ellipsis.
6059 (parse_charmap): Recognize ..(2).. etc and pass step down.
6060 Correctly generate names for UCS4 characters.
6061
6062 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
6063 (ctype_finish): We know the wide character value for <SP>,
6064 don't search.
6065 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
6066 (charclass_ucs4_ellipsis): Likewise.
6067 (read_translit_ignore_entry): Store ellipsis step.
6068 (ctype_read): Recognize ..(2).. etc and pass step down.
6069
6070 * locale/programs/linereader.c (lr_token): When seeing comment
6071 character ignore only rest of line in sources but stop at escaped
6072 newline.
6073 Recognize ..(2).. and ....(2).....
6074
6075 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
6076 and tok_ellipsis4_2.
6077
6078 2000-04-06 Andreas Jaeger <aj@suse.de>
6079
6080 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
6081 removed, remove it here also.
6082 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
6083 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
6084 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
6085 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
6086
6087 2000-04-06 Jakub Jelinek <jakub@redhat.com>
6088
6089 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
6090 include bits/sigcontext.h.
6091 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6092
6093 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6094
6095 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
6096 collation symbol definition. Value in quivalence definition must
6097 be defined, don't check that it is not.
6098
6099 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
6100 values as character names.
6101
6102 * locale/programs/ld-ctype.c (get_character): Handle missing
6103 repertoire map correctly.
6104
6105 2000-04-05 Cristian Gafton <gafton@redhat.com>
6106
6107 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
6108 because it is used in generic code.
6109 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
6110 * wcsmbs/wcwidth.h: Declare __ctype32_b.
6111 * intl/gettext.c: Include <locale.h>.
6112 * intl/ngettext.c: Likewise.
6113
6114 2000-04-05 Jakub Jelinek <jakub@redhat.com>
6115
6116 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
6117 socklen_t type for size.
6118 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
6119 init function interface.
6120 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6121 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
6122 sys/ucontext.h.
6123 (__jmp_buf): Declare the whole type structure here, don't use
6124 ucontext.
6125
6126 2000-04-05 Ulrich Drepper <drepper@redhat.com>
6127
6128 * iconv/skeleton.c (put16u): Fix typo.
6129 Reported by Bruno Haible <haible@ilog.fr>.
6130
6131 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
6132 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
6133 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
6134 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
6135 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
6136 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
6137
6138 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
6139 * Makefile (distribute): Add abi-versions.awk and
6140 firstversions.awk.
6141 Patches by Torsten Duwe <duwe@caldera.de>.
6142
6143 2000-04-05 Andreas Schwab <schwab@suse.de>
6144
6145 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
6146
6147 2000-04-05 Andreas Schwab <schwab@suse.de>
6148
6149 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
6150 entry point, used on Hurd.
6151
6152 2000-04-04 Andreas Jaeger <aj@suse.de>
6153
6154 * intl/Makefile: Only run the gettext test with shared libraries.
6155
6156 2000-03-16 Mark Kettenis <kettenis@gnu.org>
6157
6158 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6159 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6160
6161 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
6162
6163 * Makeconfig: Undo last change.
6164 * configure.in: If --disable-shared was given, don't set VERSIONING,
6165 don't define DO_VERSIONING, and don't give scare warning for no
6166 versioning.
6167 * configure: Regenerated.
6168
6169 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
6170
6171 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
6172
6173 2000-04-04 Andreas Jaeger <aj@suse.de>
6174
6175 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
6176
6177 2000-04-04 Ulrich Drepper <drepper@redhat.com>
6178
6179 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
6180 STV_HIDDEN and STV_INTERNAL during lookup.
6181 (profile_fixup): Likewise.
6182 * elf/dl-reloc.c (RESOLVE): Likewise.
6183
6184 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
6185 unaligned so that it compiles for system which need unaligned
6186 access handling.
6187
6188 2000-04-04 Andreas Schwab <schwab@suse.de>
6189
6190 * elf/cache.c (print_entry): Only look at the type field when
6191 printing the type.
6192
6193 2000-04-04 Andreas Schwab <schwab@suse.de>
6194
6195 * iconvdata/big5.c (BODY): Fix typo.
6196
6197 2000-04-04 Andreas Schwab <schwab@suse.de>
6198
6199 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
6200 function interface. Remove unused _dl_start_user entry point.
6201
6202 2000-04-03 Andreas Jaeger <aj@suse.de>
6203
6204 * include/arpa/inet.h (__inet_aton): Add protoype.
6205
6206 2000-04-01 Andreas Jaeger <aj@suse.de>
6207
6208 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
6209
6210 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
6211 * sysdeps/mach/mips/thread_state.h: Likewise.
6212
6213 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
6214 * sysdeps/generic/fegetenv.c: Likewise.
6215 * sysdeps/generic/fesetenv.c: Likewise.
6216 * sysdeps/generic/feupdateenv.c: Likewise.
6217 * sysdeps/generic/fraiseexcpt.c: Likewise.
6218 * sysdeps/generic/fsetexcptflg.c: Likewise.
6219 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
6220 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6221 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6222 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6223
6224 2000-04-02 H.J. Lu <hjl@gnu.org>
6225
6226 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
6227
6228 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6229
6230 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
6231 (add_name_to_object): Add cast in malloc call.
6232 (fillin_rpath): Optimize loop to initialize ->status a bit.
6233
6234 * sysdeps/i386/dl-machine.h: Undo last change.
6235 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
6236 Restore %edx register after call here.
6237
6238 * sysdeps/arm/atomicity.h: New file.
6239 Contributed by Jesper Skov <jskov@redhat.com>.
6240
6241 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
6242
6243 * Makeconfig (preprocess-versions): Undo last change.
6244 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
6245
6246 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
6247 here, before we might move the stack.
6248 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
6249 (init1): And not here.
6250
6251 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
6252 change, to restore argc value in call-clobbered register after
6253 RTLD_START_SPECIAL_INIT, which will contain a call.
6254
6255 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
6256 allocating and initializing L->l_initfini.
6257
6258 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
6259
6260 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6261
6262 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
6263 RUNPATH, RPATH, and LD_LIBRARY_PATH.
6264 (open_path): Change type of fourth parameter. Make pointer to array
6265 of pointers. Create variable dirs with original type.
6266 Track whether any directory for the object exists and if not,
6267 change *DIRSP to (void*) -1 to signal there is no such search path.
6268 (_dl_map_object): Change all calls of open_path.
6269 Rewrite decompose_rpath calls.
6270
6271 2000-03-31 Andreas Schwab <schwab@suse.de>
6272
6273 * string/strfry.c: Declare STATE as array of char instead of int
6274 and do not initialize it (done by initstate_r). Pass correct
6275 size.
6276
6277 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6278
6279 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
6280
6281 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
6282 instruction out of the code.
6283
6284 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6285
6286 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
6287 element at this position.
6288
6289 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
6290 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
6291 l_reldeps elements.
6292 * elf/dl-lookup.c (add_dependency): New function.
6293 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
6294 dynamically loaded object.
6295 (_dl_lookup_symbol_skip): Likewise.
6296 (_dl_lookup_versioned_symbol): Likewise.
6297 (_dl_lookup_versioned_symbol_skip): Likewise.
6298 * elf/dl-open.c: Don't define _dl_load_lock here...
6299 * elf/rtld.c: ...but here...
6300 * elf/dl-support.c: ...and here.
6301 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
6302 through relocation.
6303 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
6304 relocations.
6305 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
6306 anymore.
6307 * dlfcn/glrefmain.c: Add one more debug message.
6308
6309 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
6310 command line.
6311 * Makerules (sysd-versions): Use ( ) instead of { }.
6312
6313 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
6314 optimize for the non-debugging case.
6315 * elf/dl-lookup.c: Likewise.
6316 * sysdeps/generic/libc-start.c: Likewise.
6317
6318 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
6319
6320 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
6321 (init1): Don't initialize __environ here, since init already does it.
6322 (first_init): New function, broken out of _init.
6323 (_hurd_stack_setup): Use it.
6324 [SHARED] (_dl_init_first): New function, renamed from old _init.
6325 (init1) [SHARED]: Don't call posixland_init here.
6326 (posixland_init): Take ENVP arg, so signature is usual for initializer.
6327 [SHARED] (_init): Define as alias for posixland_init.
6328 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
6329 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
6330 RTLD_START_SPECIAL_INIT before calling initializers.
6331 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
6332 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
6333 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
6334 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
6335
6336 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
6337 since we define the function with the name `tmpfile'.
6338
6339 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
6340 * hurd/Versions: Likewise.
6341
6342 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6343
6344 * elf/dl-runtime.c (fixup): Fix typo in comment.
6345
6346 * resolv/netdb.h (getnameinfo): All length parameters are of type
6347 socklen_t.
6348 * inet/getnameinfo.c: Likewise.
6349
6350 2000-04-01 Ulrich Drepper <drepper@redhat.com>
6351
6352 * posix/unistd.h (socklen_t): Define if it has not yet happened.
6353 (gethostname): Change type of second parameter to socklen_t.
6354 * include/unistd.h (__gethostname): Change type of second
6355 parameter to socklen_t.
6356 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
6357 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6358 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
6359 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
6360 Likewise.
6361 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
6362 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
6363 Allow definition elsewhere.
6364 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6365 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6366 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6367 * sysdeps/generic/bits/types.h: Define __socklen_t.
6368 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6369 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6370 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6371 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6372 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6373 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6374 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6375
6376 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
6377 (inet_lnaof): Likewise.
6378 (inet_netof): Likewise.
6379 (inet_network): Likewise.
6380 (inet_aton): Likewise.
6381 (inet_makeaddr): Change parameter types to in_addr_t.
6382 (inet_neta): Likewise.
6383 (inet_ntop): Change type of last parameter to socklen_t.
6384 (inet_aton): Only make available if __USE_MISC.
6385 (inet_neta): Likewise.
6386 (inet_net_ntop): Likewise.
6387 (inet_net_pton): Likewise.
6388 (inet_nsap_ntoa): Likewise.
6389
6390 * inet/in.h: Define in_port_t type.
6391 Define in_addr_t type.
6392 (struct in_addr): Use in_addr_t in definition.
6393 (IN_CLASSA): Use cast to in_addr_t.
6394 (IN_CLASSB): Likewise.
6395 (IN_CLASSC): Likewise.
6396 (IN_CLASSD): Likewise.
6397 (IN_EXPERIMENTAL): Likewise.
6398 (IN_BADCLASS): Likewise.
6399 (INADDR_ANY): Likewise.
6400 (INADDR_BROADCAST): Likewise.
6401 (INADDR_NONE): Likewise.
6402 (INADDR_LOOPBACK): Likewise.
6403 (INADDR_UNSPEC_GROUP): Likewise.
6404 (INADDR_ALLHOSTS_GROUP): Likewise.
6405 (INADDR_ALLRTRS_GROUP): Likewise.
6406 (INADDR_MAX_LOCAL_GROUP): Likewise.
6407 (struct sockaddr_in): Use in_port_t for sin_port element.
6408 (struct sockaddr_in6): Use in_port_t for sin6_port element.
6409 Use uint8_t instead of u_int8_t.
6410
6411 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6412 Call __inet_aton instead of inet_aton.
6413 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
6414
6415 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6416 (innetgr): Likewise.
6417 (struct addrinfo): Use socklen_t for ai_addrlen element.
6418
6419 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6420 IPV6_RECVERR): New defines.
6421
6422 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6423 * inet/getnetbyad.c: Likewise.
6424 * inet/getnetbyad_r.c: Likewise.
6425 * nis/nss_nis/nis-network.c: Likewise.
6426 * nis/nssplus_nis/nisplus-network.c: Likewise.
6427 * nss/nss_files/files-network.c: Likewise.
6428 * resolv/netdb.h: Define uint32_t if not already happened.
6429 Include bits/netdb.h. Remove definition of struct netent.
6430 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6431 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6432 * sysdeps/generic/bits/netdb.h: New file.
6433 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6434
6435 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6436 (tests): Add glrefmain.
6437 Add rules to build modules and run tests. Ignore result of glrefmain
6438 for now since it fails.
6439 * dlfcn/glrefmain.c: New file.
6440 * dlfcn/glreflib1.c: New file.
6441 * dlfcn/glreflib2.c: New file.
6442
6443 * test-skeleton.c: Include <string.h> for strsignal prototype.
6444
6445 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6446 to be missing.
6447
6448 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6449 former init-first.h. Initialize __libc_multiple_libcs.
6450
6451 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6452
6453 * iconv/skeleton.c: Define access macros with u suffix. Adjust
6454 #if expression for use of unaligned function to the one used in
6455 the definition of these functions.
6456 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6457 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6458 (internal_ucs4le_loop_unaligned): New function.
6459
6460 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6461 (tests): Add order.
6462 (module-names): Add dep1, dep2, dep3, and dep4.
6463 Add dependencies for dep* modules and order.
6464 Define rule for order.out which checks the result.
6465 * elf/dep1.c: New file.
6466 * elf/dep2.c: New file.
6467 * elf/dep3.c: New file.
6468 * elf/dep4.c: New file.
6469 * elf/order.c: New file.
6470
6471 * elf/dl-init.c: Fix typo in comment.
6472
6473 2000-03-31 Andreas Jaeger <aj@suse.de>
6474
6475 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6476 init function interface.
6477 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6478
6479 2000-03-31 Andreas Jaeger <aj@suse.de>
6480
6481 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6482 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6483 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6484 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6485 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6486
6487 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6488 anymore, update comment.
6489
6490 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6491
6492 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6493 SHLIB_COMPAT - the struct is always needed.
6494
6495 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6496
6497 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6498 * elf/dl-support.c: Define _dl_starting_up.
6499
6500 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6501
6502 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
6503 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
6504
6505 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
6506
6507 * elf/Makefile (dl-routines): Remove preinit.
6508 * elf/Versions: Remove _dl_preinit.
6509 * elf/dl-preinit.c: Removed. Move content into...
6510 * elf/dl-init.c: ...here.
6511 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
6512
6513 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6514 elements.
6515
6516 2000-03-29 Geoff Clare <gwc@unisoft.com>
6517
6518 * stdlib/strfmon.c: Corrected problems with the code that
6519 sets default values for [np]_sep_by_space and
6520 [np]_sign_posn; also the new positive/negative alignment
6521 code from the previous patch was not quite right for
6522 [np]_sign_posn = 0.
6523
6524 * localedata/tst-fmon.data: Changes corresponding to the
6525 two sets of fixes made to stdlib/strfmon.c.
6526
6527 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
6528
6529 * malloc/malloc.c: Declare bit flags UL so that they will not
6530 default to int size when being inverted.
6531
6532 2000-03-29 Andreas Jaeger <aj@suse.de>
6533
6534 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
6535 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6536
6537 2000-03-29 Andreas Jaeger <aj@suse.de>,
6538 Ralf Baechle <ralf@uni-koblenz.de>
6539
6540 * Makeconfig: Introduce new variable SHARED to mark code used in
6541 the shared library.
6542 * elf/dl-close.c: Use it instead of PIC.
6543 * elf/dl-load.c: Likewise.
6544 * elf/dl-open.c: Likewise.
6545 * hurd/geteuids.c: Likewise.
6546 * include/libc-symbols.h: Likewise.
6547 * include/shlib-compat.h: Likewise.
6548 * libio/freopen.c: Likewise.
6549 * linuxthreads/cancel.c: Likewise.
6550 * linuxthreads/pthread.c: Likewise.
6551 * linuxthreads/wrapsyscall.c: Likewise.
6552 * nss/nsswitch.c: Likewise.
6553 * stdio-common/vfprintf.c: Likewise.
6554 * sysdeps/arm/init-first.c: Likewise.
6555 * sysdeps/i386/init-first.c: Likewise
6556 * sysdeps/generic/init-first.c: Likewise.
6557 * sysdeps/generic/libc-start.c: Likewise.
6558 * sysdeps/mips/init-first.c: Likewise.
6559 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6560 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6561 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6562 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6563 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6564
6565 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6566
6567 2000-03-29 Andreas Jaeger <aj@suse.de>
6568
6569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6570 Use D_PTR to access relocated entries in l_info.
6571 (elf_machine_rela): Likewise.
6572
6573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6574 Likewise.
6575 (elf_machine_rela): Likewise.
6576
6577 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6578 Likewise.
6579 (__elf_machine_fixup_plt): Likewise.
6580 (__process_machine_rela): Likewise.
6581
6582 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6583 (elf_machine_rela): Likewise.
6584
6585 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6586 (elf_machine_rel): Likewise.
6587
6588 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6589 (elf_machine_fixup_plt): Likewise.
6590 (elf_machine_rela): Likewise.
6591
6592 2000-03-29 Andreas Jaeger <aj@suse.de>
6593
6594 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
6595 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6596 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6597 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6598 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6599 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
6600 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6601 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
6602 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6603 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
6604 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
6605 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
6606 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
6607 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6608 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6609
6610 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
6611 macros, remove K&R prototypes.
6612
6613 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6614
6615 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
6616 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
6617 (PR libc/1677).
6618
6619 2000-03-30 Andreas Jaeger <aj@suse.de>
6620
6621 * misc/sys/cdefs.h: Remove K&R support.
6622
6623 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6624
6625 * iconv/skeleton.c: Avoid compiling unaligned versions in some
6626 more cases.
6627 * iconv/loop.c: Likewise.
6628
6629 2000-03-29 Bruno Haible <haible@clisp.cons.org>
6630
6631 * iconv/loop.c (put16): Remove __const. Fix access index.
6632 (put32): Remove __const. Use uint32_t instead of uint16_t.
6633 * iconv/skeleton.c: Likewise.
6634
6635 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
6636
6637 * mach/Versions (libc: GLIBC_2.0)
6638 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
6639 __vm_allocate on this.
6640 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
6641 mutex- and spinlock-related symbols on this.
6642 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6643 New version set. Lock-related symbols go here instead in this case.
6644 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
6645 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
6646 cthread_getspecific, cthread_setspecific, __libc_getspecific.
6647 * hurd/Versions
6648 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
6649 Put them here instead.
6650 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6651 New version set. Those cthreads symbols go here instead in this case.
6652 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
6653
6654 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6655
6656 * elf/dl-init.c (_dl_init): We don't need to call constructors
6657 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
6658
6659 Implement dynamic determination of constructor/destructor order in
6660 the dynamic linker.
6661 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
6662 (GLIBC_2.2): Add _dl_init.
6663 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
6664 r_duplist is not anymore allocated separately. l_initfini is and
6665 therefore free it if necessary.
6666 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
6667 malloc block. Otherwise allocate l_initfini list only.
6668 Put dependencies for the object in l_initfini list.
6669 Sort dependencies for the object to be loaded topologically.
6670 * elf/dl-fini.c: Before running the destructors sort the topologically.
6671 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
6672 call constructors instead of iterating over the pointers. Get list of
6673 objects for which to run constructors from l_initfini element. Accept
6674 argc, argv, and env as parameters and pass them to the constructors.
6675 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
6676 with size of dynamic section.
6677 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
6678 _dl_init_next and calling constructors ourself.
6679 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
6680 Take argc, argv, and env as parameters and pass them to the
6681 constructors. Rewrite to call all constructors and not iterate over
6682 the pointers.
6683 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
6684 precompute l_initcount and l_preinitcount.
6685 * elf/link.h (struct link_map): Add l_ldnum member.
6686 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
6687 l_initcount, and l_preinitcount. Add l_initfini.
6688 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
6689 one for _dl_init.
6690 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
6691 function interface.
6692 * sysdeps/unix/sysv/linux/init-first.h: Removed.
6693 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
6694 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
6695 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
6696 conventions now match.
6697
6698 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
6699 effect for shared objects. Don't emit message and call only for
6700 static library.
6701
6702 2000-03-29 Ulrich Drepper <drepper@redhat.com>
6703
6704 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
6705 CSA_Z243.4-1985-1..UCS2.
6706 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
6707 ISO-8859-10..UCS2.
6708
6709 2000-03-29 Andreas Jaeger <aj@suse.de>
6710
6711 * include/unistd.h: Remove duplicate entry for __rmdir.
6712 Remove declaration of __mkdir since __mkdir is declared in
6713 sys/stat.h.
6714
6715 * manual/creature.texi (Feature Test Macros): Fix typo, reported
6716 by Michael Deutschmann <michael@talamasca.ocis.net>.
6717
6718 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
6719 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6720 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6721 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6722 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
6723
6724 2000-03-28 Andreas Jaeger <aj@suse.de>
6725
6726 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
6727 declaration, the prototype is defined via bits/mathcalls.h.
6728 (__sincosf): Likewise.
6729 (__sincosl): Likewise.
6730 (ldexp): Likewise.
6731 (ldexpf): Likewise.
6732 (ldexpl): Likewise.
6733 (__finite): Likewise.
6734 (__inline_mathcodeNP): New macro without prototype
6735 declarations.
6736 (__inline_mathcodeNP2): Likewise.
6737 (__inline_mathcodeNP3): Likewise.
6738 (__inline_mathcodeNP_): Likewise.
6739 (__inline_mathcodeNP2_): Likewise.
6740 (__inline_mathcodeNP3_): Likewise.
6741 (__inline_mathopNP): Likewise.
6742 (__inline_mathop_declNP): Likewise.
6743 (__inline_mathop_declNP_): Likewise.
6744 (__inline_mathcode_): Use __inline_mathcodeNP_.
6745 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
6746 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
6747 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
6748 (__expm1l): Don't define prototype, the prototype is defined via
6749 bits/mathcalls.h.
6750 (exp): Likewise.
6751 (__expl): Likewise.
6752 (tan): Likewise.
6753 (atan2): Likewise.
6754 (__atan2l): Likewise.
6755 (fmod): Likewise.
6756 (pow): Likewise.
6757 (fabsf): Likewise.
6758 (fabsl): Likewise.
6759 (__fabsl): Likewise.
6760 (asin): Likewise.
6761 (acos): Likewise.
6762 (sinh): Likewise.
6763 (cosh): Likewise.
6764 (tanh): Likewise.
6765 (floor): Likewise.
6766 (ceil): Likewise.
6767 (expm1): Likewise.
6768 (log1p): Likewise.
6769 (asinh): Likewise.
6770 (acosh): Likewise.
6771 (atanh): Likewise.
6772 (hypot): Likewise.
6773 (logb): Likewise.
6774 (fma): Likewise.
6775 (drem): Likewise.
6776 (sqrt): Likewise.
6777 (__sqrtl): Likewise.
6778 (sin): Likewise.
6779 (cos): Likewise.
6780 (atan): Likewise.
6781 (log): Likewise.
6782 (log10): Likewise.
6783 (asinh): Likewise.
6784 (log2): Likewise.
6785 (rint): Likewise.
6786
6787 2000-03-28 Ulrich Drepper <drepper@redhat.com>
6788
6789 * Makerules: If make variable md5 is defined to yes after
6790 generating dependencies generate MD5 sum for the object.
6791
6792 * iconv/gconv_builtin.h: Fix length in transformation definition
6793 for UNICODEBIG.
6794
6795 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
6796
6797 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
6798 allow as well reading from/writing to unaligned addresses on machines
6799 which don't support this in hardware. Use FCTNAME macro to define
6800 function name. Include the file a second time for platforms which
6801 need special unaligned handling.
6802 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
6803 to access potentially unaligned addresses. These macros are intended
6804 to be used only outside the loops.
6805 (unaligned): New definition. In case the machine can handle unaligned
6806 access define as zero. Otherwise as a variable which is initialized
6807 as nonzero in case the buffer passed in at runtime is unaligned with
6808 respect to the character set encoding involved.
6809 Call aligned or unaligned looop functions according to unaligned
6810 variable.
6811 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
6812 of direct casting pointer to potentially handle unaligned memory
6813 accesses.
6814 * iconvdata/8bit-generic.c: Likewise.
6815 * iconvdata/ansi_x3.110.c: Likewise.
6816 * iconvdata/big5.c: Likewise.
6817 * iconvdata/euc-cn.c: Likewise.
6818 * iconvdata/euc-jp.c: Likewise.
6819 * iconvdata/euc-kr.c: Likewise.
6820 * iconvdata/euc-tw.c: Likewise.
6821 * iconvdata/gbk.c: Likewise.
6822 * iconvdata/iso-2022-cn.c: Likewise.
6823 * iconvdata/iso-2022-jp.c: Likewise.
6824 * iconvdata/iso-2022-kr.c: Likewise.
6825 * iconvdata/iso646.c: Likewise.
6826 * iconvdata/iso_6937-2.c: Likewise.
6827 * iconvdata/iso_6937.c: Likewise.
6828 * iconvdata/johab.c: Likewise.
6829 * iconvdata/sjis.c: Likewise.
6830 * iconvdata/t.61.c: Likewise.
6831 * iconvdata/uhc.c: Likewise.
6832 * iconvdata/unicode.c: Likewise.
6833 * iconvdata/utf-16.c: Likewise.
6834
6835 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
6836 prototypes.
6837
6838 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
6839 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
6840 public.
6841 * malloc/mcheck.h (mcheck_check_all): Declare.
6842
6843 * stdio-common/Makefile (tests): Add tst-obprintf.
6844
6845 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
6846
6847 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
6848 Declare pthread_sigmask.
6849
6850 * csu/version.c: Add 2000 to copyright years.
6851 Remove Emacs local variables section.
6852
6853 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6854
6855 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
6856 __gconv_transform_internal_ucs2little): Remove declarations.
6857 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
6858 __gconv_transform_internal_ucs2): Never need to bswap_16.
6859 (__gconv_transform_ucs2reverse_internal,
6860 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
6861
6862 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6863
6864 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
6865 obsoleting version not being defined at all, in which case the
6866 result is always true.
6867
6868 * Makeconfig (preprocess-versions): New canned sequence for running
6869 cpp on shlib-versions and the like.
6870 (soversions.i): Use it.
6871 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
6872 Versions.def and Versions files.
6873
6874 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6875
6876 * stdio-common/tst-obprintf.c (main): Add another check to see
6877 obstack_printf handling all possible beginnings of the block
6878 inside an obstack chunk.
6879
6880 * locale/programs/localedef.c: Use __malloc_initialize_hook to
6881 install mcheck handler.
6882
6883 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
6884 handling problem.
6885
6886 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6887
6888 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
6889
6890 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
6891 on [HAVE_ELF && DO_VERSIONING].
6892
6893 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6894
6895 * stdio-common/tst-obprintf.c: New file.
6896
6897 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6898
6899 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
6900 _IO_OVERFLOW directly instead through __overflow.
6901
6902 * locale/programs/localedef.c (construct_output_path): If path
6903 contains a / compute the end of the directory name correctly.
6904
6905 * include/features.h: Undef and document __USE_XOPEN2K.
6906
6907 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
6908 whenever a function is called. Initiated by calling mcheck_pedantic
6909 instead of mcheck.
6910 * malloc/mcheck.h: Declare mcheck_pedantic.
6911 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
6912 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
6913 for now.
6914
6915 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6916
6917 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
6918 * dlfcn/dlopenold.c: Likewise.
6919 * nss/getXXbyYY_r.c: Likewise.
6920 * nss/getXXent_r.c: Likewise.
6921 * hurd/hurdinit.c: Likewise.
6922 * hurd/compat-20.c: Likewise.
6923 * libio/oldiofopen.c: Likewise.
6924 * libio/oldiofclose.c: Likewise.
6925 * libio/oldiofdopen.c: Likewise.
6926 * libio/oldfileops.c: Likewise.
6927 * libio/oldstdfiles.c: Likewise.
6928 * libio/oldiofsetpos.c: Likewise.
6929 * libio/oldiofgetpos.c: Likewise.
6930 * libio/oldiofgetpos64.c: Likewise.
6931 * libio/oldiofsetpos64.c: Likewise.
6932 * libio/oldiopopen.c: Likewise.
6933 * libio/oldpclose.c: Likewise.
6934 * libio/oldtmpfile.c: Likewise.
6935 * libio/freopen.c (freopen): Likewise.
6936 * libio/iofclose.c (_IO_new_fclose): Likewise.
6937
6938 * sysdeps/mach/sys/reboot.h: Include <features.h>.
6939 (reboot): Declare it.
6940
6941 * libio/Makefile (headers): Add bits/stdio-lock.h here.
6942
6943 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
6944
6945 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
6946
6947 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
6948 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
6949 We need this for the sbrk decl, which can be included without Unix98.
6950
6951 2000-03-20 Richard Henderson <rth@cygnus.com>
6952
6953 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
6954 argument to yperr2nss is an int, not size_t.
6955 * posix/regex.c (print_partial_compiled_pattern): Cast all
6956 ptrdiff_t to long for printing.
6957 (print_compiled_pattern): Use Z for printing size_t.
6958 * posix/testfnm.c (tests): Avoid trigraphs.
6959 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6960 Use a C comment, not an assembly comment.
6961
6962 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
6963 of __ASSUME_32BITUIDS.
6964
6965 2000-03-26 Ulrich Drepper <drepper@redhat.com>
6966
6967 * libio/iofopncook.c: Remove K&R prototypes.
6968
6969 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
6970
6971 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
6972 an initial value of 1024 instead of RLIM_INFINITY.
6973
6974 * Versions.def (libmachuser, libhurduser): Remove these sections,
6975 since these libraries do not presently use symbol versions.
6976
6977 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
6978 is RLIM_INFINITY, return -1 instead.
6979
6980 2000-03-24 Andreas Jaeger <aj@suse.de>
6981
6982 * Makefile (postclean): Added soversions.i.
6983
6984 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6985
6986 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
6987 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
6988 and _FPU_IEEE. Change _FPU_RESERVED.
6989
6990 2000-03-24 Scott Bambrough <scottb@netwinder.org>
6991
6992 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
6993
6994 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
6995
6996 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
6997 (gaih_inet): Remove unused duplicate variable.
6998
6999 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
7000 Don't use __libc_sa_len, which only exists for Linux. Just handle
7001 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
7002 only flavors supported by this function anyway.
7003
7004 2000-03-24 Geoff Clare <gwc@unisoft.com>
7005
7006 * stdlib/strfmon.c: Corrected problems with missing signs and
7007 missing or extra spaces; allow for sign strings longer than
7008 one character; add padding to ensure positive and negative
7009 formats are aligned when a left precision is used.
7010
7011 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7012
7013 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
7014 Patch by John Mizel <John.Mizel@msdw.com>.
7015
7016 2000-03-25 Ulrich Drepper <drepper@redhat.com>
7017
7018 * manual/install.texi: Remove references to crypt add-on.
7019
7020 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
7021
7022 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
7023 section while taking the _hurd_rlimit_lock.
7024 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7025
7026 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7027
7028 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
7029 using $(LN_S).
7030
7031 * sysdeps/mach/hurd/if_index.c: New file.
7032
7033 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
7034 * sysdeps/gnu/net/if.h: here.
7035 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
7036 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
7037 * sysdeps/generic/net/if.h: New file. Declares just the standard
7038 functions and `struct if_nameindex' type.
7039 * socket/Makefile (headers): Add net/if.h here.
7040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
7041 * sysdeps/mach/hurd/Dist: Remove it here.
7042 * sysdeps/unix/sysv/linux/Dist: And here.
7043 * sysdeps/generic/if_index.c: Include <net/if.h>.
7044
7045 2000-03-24 Andreas Jaeger <aj@suse.de>
7046
7047 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
7048 access relocated entries in l_info.
7049 (elf_machine_got_rel): Likewise.
7050 (elf_machine_runtime_setup): Likewise.
7051 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
7052 (elf_machine_runtime_setup): Likewise.
7053 (__dl_runtime_resolve): Likewise.
7054
7055 2000-03-23 Ulrich Drepper <drepper@redhat.com>
7056
7057 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
7058 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
7059 according to RFC 2553.
7060 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
7061 * inet/getnameinfo.c: Likewise.
7062 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7063
7064 2000-03-23 Bruno Haible <haible@clisp.cons.org>
7065
7066 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
7067 Remove no-op pointer increment.
7068
7069 2000-03-23 Andreas Jaeger <aj@suse.de>
7070
7071 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
7072 follow change for libio.h from 2000-03-10.
7073
7074 2000-03-23 Andreas Jaeger <aj@suse.de>
7075
7076 * elf/dl-addr.c: Adjust include paths for ldsodefs location
7077 change.
7078 * elf/dl-debug.c: Likewise.
7079 * elf/dl-deps.c: Likewise.
7080 * elf/dl-error.c: Likewise.
7081 * elf/dl-fini.c: Likewise.
7082 * elf/dl-init.c: Likewise.
7083 * elf/dl-load.c: Likewise.
7084 * elf/dl-lookup.c: Likewise.
7085 * elf/dl-minimal.c: Likewise.
7086 * elf/dl-object.c: Likewise.
7087 * elf/dl-open.c: Likewise.
7088 * elf/dl-preinit.c: Likewise.
7089 * elf/dl-profile.c: Likewise.
7090 * elf/dl-profstub.c: Likewise.
7091 * elf/dl-reloc.c: Likewise.
7092 * elf/dl-runtime.c: Likewise.
7093 * elf/dl-support.c: Likewise.
7094 * elf/dl-symbol.c: Likewise.
7095 * elf/dl-version.c: Likewise.
7096 * elf/rtld.c: Likewise.
7097 * elf/sprof.c: Likewise.
7098 * sysdeps/generic/dl-cache.c: Likewise.
7099 * sysdeps/generic/dl-origin.c: Likewise.
7100 * sysdeps/generic/dl-sysdep.c: Likewise.
7101 * sysdeps/generic/elf/backtracesyms.c: Likewise.
7102 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7103 * sysdeps/generic/libc-start.c: Likewise.
7104 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7105 * sysdeps/powerpc/dl-machine.c: Likewise.
7106 * sysdeps/powerpc/elf/libc-start.c: Likewise.
7107 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7108 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7109 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
7110
7111 * elf/ldsodefs.h: Move file to ...
7112 * sysdeps/generic/ldsodefs.h: ... here.
7113
7114 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7115
7116 * sysdeps/mips/elf/ldsodefs.h: New file.
7117
7118 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
7119 entries in l_info.
7120 (_dl_check_map_versions): Likewise.
7121 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7122 * elf/dl-load.c (_dl_init_paths): Likewise.
7123 (_dl_map_object): Likewise.
7124 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
7125 (elf_get_dynamic_info): Likewise.
7126 * elf/do-lookup.h (FCT): Likewise.
7127 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
7128 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7129 * elf/dl-addr.c (_dl_addr): Likewise.
7130 * elf/dl-runtime.c (profile_fixup): Likewise.
7131 (fixup): Likewise.
7132 * elf/dl-init.c (_dl_init_next): Likewise.
7133 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
7134 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7135 (DISTINGUISH_LIB_VERSIONS): Likewise.
7136 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
7137 (elf_machine_rel): Likewise.
7138
7139 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
7140 for writable dynamic section.
7141
7142 2000-03-22 Ulrich Drepper <drepper@redhat.com>
7143
7144 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
7145 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7146
7147 2000-03-22 Andreas Jaeger <aj@suse.de>
7148
7149 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
7150 from latest Linux kernel.
7151
7152 2000-03-21 Andreas Jaeger <aj@suse.de>
7153
7154 * Versions.def: Add version 2.1.4.
7155
7156 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7157
7158 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
7159 * libio/oldiofopen.c: Likewise.
7160 * libio/oldiofclose.c: Likewise.
7161 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7162
7163 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
7164
7165 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
7166 indicating the first version set to obsolete the conditionalized code.
7167 (compat_symbol): New macro.
7168 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
7169 rhs be the ABI_* macro for the subsuming version. Assign increasing
7170 integer values to the ABI_* macros for supported versions.
7171 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
7172 compat_symbol macro.
7173
7174 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7175
7176 * nscd/connections.c (nscd_run): Pretty print.
7177 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
7178
7179 * manual/charset.texi: Fix typos. Rephrase.
7180 * manual/process.texi: Likewise.
7181 * manual/signal.texi: Likewise.
7182 Patches by Mike Coleman <mkc@kc.net>.
7183
7184 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
7185 versions.
7186 * libio/iofdopen.c: Likewise.
7187 * libio/iofgetpos.c: Likewise.
7188 * libio/iofgetpos64.c: Likewise.
7189 * libio/iofopen.c: Likewise.
7190 * libio/iofsetpos.c: Likewise.
7191 * libio/iofsetpos64.c: Likewise.
7192 * libio/iopopen.c: Likewise.
7193 * libio/oldiofopen.c: Likewise.
7194 * libio/pclose.c: Likewise.
7195 * sysdeps/gnu/siglist.c: Likewise.
7196 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7197
7198 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
7199 chance to expand VERSION_##lib##_##version.
7200
7201 * libio/fileops.c: Use new macros from shlib-compat.h to define
7202 versions.
7203 * libio/iofclose.c: Likewise.
7204 * libio/oldiofclose.c: Likewise.
7205 Patch by Roland McGrath <roland@frob.com>.
7206
7207 2000-03-21 Jakub Jelinek <jakub@redhat.com>
7208
7209 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
7210 Lay out struct sigcontext according to what really gets passed on
7211 the stack.
7212 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
7213 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
7214 (prgregset_t, prfpregset_t): Define to elf_* types.
7215 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
7216 Define to correct value.
7217 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
7218 sigcontext.
7219 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
7220
7221 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
7222
7223 * scripts/firstversions.awk: Allow multiple version sets in the
7224 "earliest version" specification, meaning that version sets in the
7225 gaps between listed versions should be folded into the earliest later
7226 version that is explicitly listed.
7227 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
7228 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
7229
7230 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7231
7232 * iconv/gconv_builtin.c: Include <endian.h>.
7233 * iconv/gconv_builtin.h: Add UCS-BE aliases.
7234 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
7235 according to current platform.
7236 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
7237 __gconv_transform_internal_ucs2reverse, and
7238 __gconv_transform_internal_ucs4le.
7239 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
7240 __gconv_transform_ucs2reverse_internal and
7241 __gconv_transform_internal_ucs2reverse.
7242 * iconvdata/Makefile (modules): Add UNICODE.
7243 (distribute): Add unicode.c.
7244 * iconvdata/gconv-modules: Add definitions for UNICODE module.
7245 * iconvdata/unicode.c: New file.
7246
7247 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
7248 determine byte order of input and convert accordingly.
7249
7250 * iconvdata/utf-16.c (gconv_init): Fix typo.
7251
7252 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7253
7254 * iconvdata/gconv-modules: Fix typo.
7255
7256 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
7257 more messages.
7258
7259 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
7260
7261 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7262
7263 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
7264
7265 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7266
7267 * misc/Makefile (routines): Add mincore.
7268
7269 2000-03-20 Andreas Jaeger <aj@suse.de>
7270
7271 * sysdeps/generic/mincore.c: New stub file.
7272
7273 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
7274 from latest Linux kernel.
7275
7276 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7277
7278 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
7279 _SC_GETPW_R_SIZE_MAX.
7280
7281 2000-03-20 Richard Henderson <rth@cygnus.com>
7282
7283 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
7284 in GLIBC_2.1.4.
7285
7286 2000-03-20 Richard Henderson <rth@cygnus.com>
7287
7288 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
7289 of arithmetic instructions.
7290
7291 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
7292 with the fpcr. Protect from INV exception.
7293 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
7294 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
7295 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
7296
7297 * sysdeps/alpha/fpu/s_copysign.c: New.
7298 * sysdeps/alpha/fpu/s_copysignf.c: New.
7299 * sysdeps/alpha/fpu/s_fabs.c: New.
7300 * sysdeps/alpha/fpu/s_fabsf.c: New.
7301 * sysdeps/alpha/fpu/s_rint.c: New.
7302 * sysdeps/alpha/fpu/s_rintf.c: New.
7303
7304 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
7305
7306 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7307 Kill sethae.
7308 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
7309 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
7310 Use physical addresses not KSEG addresses.
7311 (io_system): Add PYXIS.
7312 (io): Remove hae.reg, sys, hae_shift.
7313 (stb_mb, stw_mb, stl_mb, __sethae): New.
7314 (inline_outb, inline_outw, inline_outl): Don't set hae.
7315 (inline_inb, inline_inw, inline_inl): Likewise.
7316 (dense_sethae): New null function.
7317 (struct cpuinfo_data): New.
7318 (process_cpuinfo): Use local and stack variables, not static.
7319 Move readlink check here from init_iosys.
7320 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
7321 (_iopl): Simplify.
7322 (_hae_shift): Calculate it here.
7323 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
7324 add pciconfig_iobase.
7325
7326 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
7327
7328 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
7329 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
7330
7331 * scripts/versions.awk: Fixed version renaming code to distinguish
7332 libraries properly.
7333
7334 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7335
7336 * include/stdlib.h: Add prototype for __cxa_atexit.
7337
7338 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
7339 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
7340
7341 2000-03-17 Cristian Gafton <gafton@redhat.com>
7342
7343 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
7344 existing rtld-installed-name.
7345 ($(rtld-installed-name)): Request libc-$(version) be installed too.
7346 replace existing rtld-installed-name using $(symbolic-link-prog).
7347
7348 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7349
7350 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
7351 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
7352 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
7353 but not the former.
7354
7355 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7356
7357 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
7358 glob64. Since there is no glob64 in the LFS proposal applications
7359 can assume that glob handles LFS situations. glob64 is only needed
7360 if alternative filesystem functions are used.
7361
7362 2000-03-19 Geoff Clare <gwc@unisoft.com>
7363
7364 * sysdeps/generic/glob.c: Correct gl_pathc value returned
7365 when GLOB_DOOFFS is set; correct handling of patterns
7366 containing escaped wildcards (and no unescaped ones);
7367 GLOB_ERR flag was being ignored in some situations.
7368
7369 * posix/globtest.c, posix/globtest.sh: Updated to include
7370 tests for the problems fixed by the above changes to glob.c.
7371
7372 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
7373
7374 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
7375
7376 * Makeconfig (soversion.i): Use only first match for each lib.
7377
7378 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
7379
7380 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
7381 rather than $(sysd-dirs-done) to protect these rules.
7382
7383 * Makerules (version-renames.def): Target removed.
7384 (Versions.all): Depend on soversions.i directly and parse it.
7385
7386 * Makeconfig (soversions.i): New target, input-reading parts of
7387 soversions.mk generation moved here; result is a canonicalized
7388 list "LIB VERSION [SET]" for this configuration.
7389 (soversions.mk): Use that as input. Don't emit map-firstversions.
7390 * Makerules (version-renames.def): New target, generated from
7391 soversions.i with contents that was in $(map-firstversions).
7392 (Versions.all): Don't depend on soversions.mk, depend on
7393 version-renames.def instead; just cat it into the input.
7394
7395 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7396 for $(map-firstversions), which better handles it being empty.
7397
7398 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7399 supported version for libc 0.2.90.libio to GLIBC_2.2.
7400
7401 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7402 and use it to emit new variable `map-firstversions'.
7403 * scripts/firstversions.awk: New file.
7404 * Makerules (Versions.all): Use scripts/firstversions.awk and
7405 the $(map-firstversions) value to generate a modified versions list
7406 that includes renames in "A = B" syntax for each version set earlier
7407 than the "earliest symbol version" named in shlib-versions.
7408 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7409 rename version set A to B in the output to the intermediate file.
7410 * scripts/abi-versions.awk: New file.
7411 * Makerules (abi-versions.h): New target, generated by that script.
7412 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7413 * include/shlib-compat.h: New file, uses that generated header.
7414
7415 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
7416
7417 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7418 after stripping # comments, and then run it through cpp.
7419 This allows things like "%ifdef FOO" based on config.h settings.
7420 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7421
7422 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7423 and other errors that indicate a pseudo-receive happened, grok through
7424 the message buffer for port rights that need references fixed up.
7425
7426 2000-03-16 Andreas Jaeger <aj@suse.de>
7427
7428 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7429
7430 * sysdeps/unix/sysv/linux/madvise.c: Remove.
7431
7432 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7433 from latest Linux kernel.
7434 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7435
7436 * misc/sys/mman.h: Add prototype for mincore.
7437
7438 2000-03-17 Ulrich Drepper <drepper@redhat.com>
7439
7440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7441 entry for GLIBC_2.0 version of setrlimit.
7442 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7443
7444 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7445
7446 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7447 * nis/nss_compat/compat-initgroups.c: Likewise.
7448 * nis/nss_nis/nis-initgroups.c: Likewise.
7449 * nis/nss_nis/nis-netgrp.c: Likewise.
7450 * nis/nss_nis/nis-proto.c: Likewise.
7451 * nis/nss_nis/nis-rpc.c: Likewise.
7452 * nis/nss_nis/nis-service.c: Likewise.
7453 * nis/ypclnt.c: Likewise.
7454
7455 2000-03-16 Andreas Jaeger <aj@suse.de>
7456
7457 * manual/Makefile: MAKEINFO is set to `:' from configure if it
7458 doesn't exist, correct checks. Fixes PR libc/1649.
7459
7460 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7461
7462 * nscd/hstcache.c: Restore correct UID.
7463 * nscd/pwdcache.c: Likewise.
7464 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7465
7466 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7467
7468 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7469 macros for register names, in line with 2000-03-14 linux change.
7470
7471 * sysdeps/mach/sched_yield.c: New file.
7472
7473 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
7474
7475 * sysdeps/generic/lockfile.c: Include <stdio.h>
7476 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7477 case <libio.h> defined them.
7478 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7479 from __internal_*.
7480 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7481 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7482
7483 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7484 for more pleasing parse error.
7485
7486 2000-03-16 Ulrich Drepper <drepper@redhat.com>
7487
7488 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7489 memory for eras.
7490 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7491
7492 * elf/Makefile: Add rules to compile and run constload1 test.
7493 * elf/constload1.c: New file.
7494 * elf/constload2.c: New file.
7495 * elf/constload3.c: New file.
7496
7497 2000-03-15 Ulrich Drepper <drepper@redhat.com>
7498
7499 * sysdeps/posix/open64.c: Make __open64 weak alias.
7500 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
7501 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7502 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7503 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7504 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
7505 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
7506 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7507 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7508 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7509 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
7510
7511 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7512
7513 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7514 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7515
7516 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7517
7518 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7519 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7520
7521 2000-03-08 Andreas Jaeger <aj@suse.de>
7522
7523 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
7524
7525 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7526
7527 * timezone/africa: Update from tzdata2000d.
7528 * timezone/asia: Likewise.
7529 * timezone/australasia: Likewise.
7530 * timezone/europe: Likewise.
7531 * timezone/northamerica: Likewise.
7532 * timezone/southamerica: Likewise.
7533
7534 * po/fr.po: Update from translation team.
7535 * po/de.po: Likewise.
7536
7537 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
7538 last parameter. Move code to add map to global scope from here...
7539 * elf/dl-open.c (dl_open_worker): ...here.
7540 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
7541 * elf/rtld.c: Adjust call to _dl_map_object_deps.
7542
7543 * locale/programs/ld-collate.c (collate_read): Fix warning.
7544
7545 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
7546 values and macros for register names.
7547
7548 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7549 returned by seek cookie function is -1.
7550
7551 2000-03-14 Andreas Jaeger <aj@suse.de>
7552
7553 * locale/localeconv.c (localeconv): Fix typo.
7554 Reported by Andre Charbonneau <andrec@corel.com>.
7555
7556 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7557
7558 * iconv/skeleton.c: Increment __invocation_counter in inner loop
7559 since modules depend on it counting the number of times the conversion
7560 function got called.
7561
7562 * iconv/gconv_open.c: Optimize loop to setup step data structure.
7563
7564 * iconv/gconv.h: Pretty print.
7565
7566 2000-03-04 Ulrich Drepper <drepper@redhat.com>
7567
7568 * posix/wordexp-test.c: Correct one of the tests added in the last
7569 change. Really get the root passwd entry to check again ~root.
7570
7571 2000-03-10 Andreas Jaeger <aj@suse.de>
7572
7573 * manual/filesys.texi (Working Directory): Fix last patch.
7574 Patch by Martin Buchholz <martin@xemacs.org>.
7575
7576 2000-03-10 Andreas Jaeger <aj@suse.de>
7577
7578 * manual/creature.texi (Feature Test Macros): Fix language.
7579
7580 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
7581
7582 * mach/devstream.c (devstream_write, devstream_read): New functions.
7583 (input, output): Functions removed.
7584 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
7585 using only the vanilla fopencookie interface.
7586
7587 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
7588 as macro for __io_functions.
7589 (funcsio): Use cookie_io_functions_t type name.
7590 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
7591
7592 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7593 fopencookie.
7594 (fopencookie): Use it.
7595 * libio/libio.h: Declare _IO_cookie_init.
7596 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
7597 _IO_cookie_init.
7598
7599 * libio/libio.h (__io_seek_fn): Fix second argument type
7600 to be a pointer, in line with the manual and the old stdio.
7601 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
7602
7603 * sysdeps/generic/bits/stdio-lock.h: New file.
7604 This is a stub with #error, but that's better than no file at all.
7605
7606 2000-03-09 Martin Buchholz <martin@xemacs.org>
7607
7608 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
7609 * manual/message.texi (Using gettextized software): Doc Fixes.
7610 * manual/message.texi (Message Translation): Doc Fixes.
7611 * manual/filesys.texi (File Size): Doc Fixes.
7612 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
7613 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
7614 * iconv/gconv_db.c (find_derivation): Doc Fixes.
7615 * manual/install.texi: Doc Fixes.
7616 * manual/search.texi (Hash Search Function): Doc Fixes.
7617 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
7618 * FAQ.in: Doc Fixes.
7619 * config.h.in: Doc Fixes.
7620 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
7621 Doc Fixes. `allows to' is not correct English.
7622
7623 * elf/rtld.c: Doc fixes.
7624 * manual/creature.texi (Feature Test Macros): Doc fixes.
7625 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
7626
7627 * manual/filesys.texi (Working Directory): Check for ERANGE to
7628 avoid infloop.
7629
7630 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7631
7632 * string/argz-stringify.c (__argz_stringify): Fix loop termination
7633 conditions so as not to clobber the final '\0' when there is only one
7634 element in the vector.
7635
7636 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7637
7638 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
7639 broken by 2000-02-27 change.
7640
7641 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
7642
7643 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7644
7645 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
7646 argument type, for 2000-02-22 change in signal/signal.h declaration.
7647
7648 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7649
7650 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
7651 to getdirentries64 (no __), since the Linux implementation
7652 has no __ name, and there is no declaration for the __ name.
7653
7654 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
7655
7656 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
7657 sed regexp so as not to break directory names including /../ within.
7658
7659 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
7660 The sysdeps/generic file is right for BSD. This file was in fact the
7661 Hurd file, but the only difference was the WNOREAP flag that was never
7662 actually implemented or used anywhere.
7663
7664 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
7665 since AC_PATH_PROG already does it for us.
7666 (PERL): Rewrite check added in 2000-02-29 change for syntactic
7667 correctness and sh portability. I replaced the broken check
7668 with a more sensible implementation of the apparently intended
7669 semantics, which might still be questionable. Using expr causes
7670 a non-numeric value for `perl -V:apiversion` to be accepted,
7671 refusing to use only a perl that reports a number less than 5;
7672 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
7673 * configure: Regenerated.
7674
7675 2000-03-08 Andreas Jaeger <aj@suse.de>
7676
7677 * manual/crypt.texi: Fix paths.
7678
7679 2000-03-07 Andreas Jaeger <aj@suse.de>
7680
7681 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
7682 were swapped.
7683 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
7684 libc/1636.
7685
7686 2000-03-06 Andreas Jaeger <aj@suse.de>
7687
7688 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
7689 in __sgn1l, otherwise g++ fails to parse this.
7690 Reported by Sean Chen <sean.chen@turbolinux.com>.
7691
7692 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7693
7694 * configure.in: Compute sizeof-long-double.
7695 * configure: Regenerated.
7696 * config.make.in: Make sizeof-long-double available to sub-makes.
7697
7698 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7699
7700 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7701 call.
7702
7703 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7704
7705 * Makeconfig (rpath-dirs): Add crypt.
7706 (all-subdirs): Remove md5crypt.
7707 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
7708 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
7709 * sysdeps/generic/crypt-entry.c: Delete.
7710 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
7711 * sysdeps/generic/crypt.h: Delete.
7712 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
7713 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
7714 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
7715 * sysdeps/generic/des_impl.c: Delete.
7716 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
7717 * crypt/sysdeps: Delete.
7718 * crypt/crypt_util.c: Don't use `patchlevel.h'.
7719 * md5-crypt/Versions: Move to crypt/.
7720 * md5-crypt/md5-crypt.c: Move to crypt/.
7721 * md5-crypt/md5.c: Move to crypt/.
7722 * md5-crypt/md5c-test.c: Move to crypt/.
7723 * md5-crypt/md5test.c: Move to crypt/.
7724 * md5-crypt: Delete.
7725 * crypt/Makefile: Adjust for new structure.
7726
7727 2000-03-03 Paul Eggert <eggert@twinsun.com>
7728
7729 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
7730 define to 1 if not defined.
7731
7732 2000-03-03 Andreas Jaeger <aj@suse.de>
7733
7734 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
7735
7736 2000-03-03 Andreas Jaeger <aj@suse.de>
7737
7738 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
7739 cases.
7740 (xdr_int64_t): Correctly handle lower half.
7741 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
7742
7743 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7744
7745 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7746 call.
7747
7748 2000-03-02 Andreas Jaeger <aj@suse.de>
7749
7750 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
7751 2.3.43.
7752
7753 2000-03-02 Andreas Jaeger <aj@suse.de>
7754
7755 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
7756
7757 2000-03-01 Andreas Jaeger <aj@suse.de>
7758
7759 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
7760 (tests): Added tst-getdate.
7761
7762 * time/tst-getdate.c: New file.
7763
7764 * time/datemsk: New file, needed for tst-getdate.
7765
7766 2000-02-29 Cristian Gafton <gafton@redhat.com>
7767
7768 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
7769
7770 2000-02-17 H.J. Lu <hjl@gnu.org>
7771
7772 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
7773
7774 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
7775 available.
7776 (svcudp_recv): Set up message with the new "xp_pad" field for
7777 IP_PKTINFO.
7778 (svcudp_reply): Support IP_PKTINFO if available.
7779
7780 2000-03-01 Andreas Jaeger <aj@suse.de>
7781
7782 * time/getdate.c (check_mday): Fix check for february.
7783 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
7784 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
7785
7786 2000-03-02 Andreas Jaeger <aj@suse.de>
7787
7788 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
7789 g++ fails to parse this.
7790 Reported by Sean Chen <sean.chen@turbolinux.com>.
7791
7792 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7793
7794 * io/creat.c: Moved to...
7795 * sysdeps/generic/creat.c: ...here.
7796 * io/creat64.c: Moved to...
7797 * sysdeps/generic/creat64.c: ...here.
7798 * io/lockf.c: Moved to...
7799 * sysdeps/generic/lockf.c: ...here.
7800
7801 * crypt/crypt.texi: Moved to...
7802 * manual/crypt.texi: ...here.
7803 * crypt/examples/genpass.c: Moved to...
7804 * manual/examples/genpass.c: ...here.
7805 * crypt/examples/mygenpass.c: Moved to...
7806 * manual/examples/mygenpass.c: ...here.
7807 * crypt/examples/testpass.c: Moved to...
7808 * manual/examples/testpass.c: ...here.
7809
7810 * manual/Makefile (chapters): Add crypt.
7811 * manual/conf.texi: Add usual header for not-last chapter.
7812 * manual/crypt.texi: Add special header for last chapter.
7813
7814 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7815
7816 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
7817 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
7818 complain if there is no crypt add-on.
7819 * crypt/configure: Removed.
7820
7821 * crypt/crypt.texi: Update documentation of US export restrictions
7822 to match the 14 Jan 2000 regulations.
7823
7824 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7825
7826 * crypt: New subdirectory, merged in from the crypt add-on.
7827
7828 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7829
7830 * include/unistd.h: Add __rmdir and __mkdir prototypes.
7831
7832
7833 See ChangeLog.10 for earlier changes.
This page took 0.365404 seconds and 4 git commands to generate.