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