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