]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
1 2000-09-10 Ulrich Drepper <drepper@redhat.com>
2
3 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
4
5 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
6 ugly GMON_WEAK_START hack.
7 Patch by Philip Blundell <philb@gnu.org>.
8
9 * sysdeps/i386/i486/bits/string.h: Pretty printing.
10
11 2000-09-09 Ulrich Drepper <drepper@redhat.com>
12
13 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
14 and PPC_ICBI asm for broken compilers.
15 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
16
17 2000-09-09 Andreas Jaeger <aj@suse.de>
18
19 * manual/message.texi (Advanced gettext functions): Fix typo.
20
21 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
22 strncpy prototype.
23
24 2000-09-09 Ulrich Drepper <drepper@redhat.com>
25
26 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
27 warnings.
28 * sysdeps/ia64/memccpy.S: Likewise.
29 Patches by Jim Wilson <wilson@redhat.com>.
30
31 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
32 before trying to read /proc.
33 Patch by Matt Wilson <msw@redhat.com>.
34 * include/sys/utsname.h: Declare __uname.
35 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
36 * sysdeps/mach/hurd/uname.c: Likewise.
37 * sysdeps/unix/syscalls.list: Likewise.
38
39 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
40 unloading a bit.
41
42 2000-09-08 Ulrich Drepper <drepper@redhat.com>
43
44 * posix/getopt.c (_getopt_internal): When long_only is set always
45 recognize conflicts just like before.
46
47 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
48
49 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
50
51 2000-09-08 Greg McGary <greg@mcgary.org>
52
53 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
54 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
55 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
56
57 2000-09-08 Andreas Jaeger <aj@suse.de>
58
59 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
60
61 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
62
63 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
64 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
65 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
66
67 2000-09-07 Ulrich Drepper <drepper@redhat.com>
68
69 * iconvdata/tst-tables.sh: Enable EUC-KR test.
70
71 * elf/dl-load.c (lose): Decrement _nl_loaded.
72 (_dl_map_object_from_fd): Don't try to dlopen executables.
73
74 * iconvdata/tst-tables.sh: Actually return with an error if
75 something goes wrong.
76 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
77 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
78
79 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
80
81 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
82 * iconvdata/tst-table-from.c: Include <string.h>.
83 (try): Correct cast in iconv call.
84
85 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
86 too.
87 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
88 (sysdep_routines): Remove dl-start.
89 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
90
91 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
92
93 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
94 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
95
96 2000-09-06 Andreas Schwab <schwab@suse.de>
97
98 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
99
100 2000-09-07 Ulrich Drepper <drepper@redhat.com>
101
102 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
103
104 * scripts/config.sub: Strip out -unknown for Linux targets.
105 Patch by Scott Bambrough <scottb@netwinder.org>.
106
107 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
108 add one more test.
109
110 2000-09-07 Andreas Jaeger <aj@suse.de>
111
112 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
113
114 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
115 syscalls.
116
117 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
118
119 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
120 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
121
122 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
123
124 * stdlib/tst-bsearch.c (main): Add more test cases.
125
126 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
127 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
128 Reported by GOTO Masanori <gotom@debian.or.jp>.
129
130 2000-09-07 Ulrich Drepper <drepper@redhat.com>
131
132 * posix/Makefile (tests): Add tst-dir.
133 (tst-dir-ARGS): New variable.
134 * posix/tst-dir.c: New file.
135
136 2000-09-07 Andreas Jaeger <aj@suse.de>
137
138 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
139 (SYS_fcntl64): New.
140
141 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
142
143 2000-09-06 Ulrich Drepper <drepper@redhat.com>
144
145 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
146 use the hack with tryopen_o_directory to determine at runtime
147 whether it works.
148 * sysdeps/unix/sysv/linux/opendir.c: New file.
149 * sysdeps/unix/sysv/linux/kernel-features.h: Define
150 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
151
152 * catgets/Depend: New file. Add intl.
153 * catgets/Makefile (tests): Add tst-catgets.
154 (generated): Remove de.msg.
155 (generated-dirs): Add de.
156 Add dependency if tst-catgets output on de/libc.cat.
157 * catgets/tst-catgets.c: New file.
158
159 * po/ja.po: New file.
160 * po/el.po: Update from translation team.
161
162 * wcsmbs/Depend: New file.
163 * wcsmbs/Makefile (tests): Add tst-btowc.
164 (tst-btowc-ENV): Define.
165 * wcsmbs/tst-btowc.c: New file.
166
167 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
168 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
169
170 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
171
172 * stdlib/Makefile (tests): Add tst-bsearch.
173 * stdlib/tst-bsearch.c: New file.
174
175 * posix/getopt.c (_getopt_internal): Don't recognize an option
176 name as ambiguous if it's a prefix for more than one name but the
177 other struct option values are identical.
178
179 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
180 Don't depend on visual inspection of the output file to recognize
181 errors.
182 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
183
184 2000-09-06 Andreas Jaeger <aj@suse.de>
185
186 * sysdeps/alpha/soft-fp/Dist: New file.
187 * sysdeps/i386/soft-fp/Dist: New file.
188 * sysdeps/mips/mips64/soft-fp/Dist: New file.
189 * sysdeps/mips/soft-fp/Dist: New file.
190 * sysdeps/powerpc/soft-fp/Dist: New file.
191 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
192 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
193
194 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
195 Use sysdep_routines instead of routines to fix make dist failure.
196 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
197 out code).
198 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
199
200 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
201 sysdep_headers instead of headers for make dist.
202
203 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
204 Likewise.
205
206 2000-09-06 Andreas Schwab <schwab@suse.de>
207
208 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
209
210 2000-09-06 Andreas Jaeger <aj@suse.de>
211
212 * soft-fp/Makefile (distribute): Remove ChangeLog.
213
214 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
215 sysdep_routines instead of routines for make dist.
216
217 2000-09-05 Ulrich Drepper <drepper@redhat.com>
218
219 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
220 compatibility check for old stream and call _IO_wide in doubt.
221 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
222 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
223 needed tst for such an old structure and don't do anything.
224 * libio/freopen.c: Remove declaration of _IO_stdin_used.
225
226 2000-09-06 Andreas Jaeger <aj@suse.de>
227
228 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
229 sysdep-dl-routines and sysdep_routines instead of rtld-routines
230 and dl-routines.
231
232 * soft-fp/ChangeLog: Merged with this file.
233
234 2000-06-13 Ulrich Drepper <drepper@redhat.com>
235
236 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
237
238 * soft-fp/Makefile (distribute): Add the math functions, too.
239
240 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
241
242 2000-03-03 Geoff Keating <geoffk@cygnus.com>
243
244 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
245 as a statement.
246
247 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
248 * soft-fp/sysdeps/powerpc/q_*: New files.
249
250 2000-09-05 Ulrich Drepper <drepper@redhat.com>
251
252 * stdio-common/vfprintf.c (process_string_arg): Handle precision
253 in wide char case correctly. Don't allocate too long temporary
254 strings with alloca.
255
256 * stdio-common/Makefile (tests): Add tst-swprintf.
257 (tst-swprintf-ENV): New variable.
258 * stdio-common/tst-swprintf.c: New file.
259
260 2000-09-05 Andreas Jaeger <aj@suse.de>
261
262 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
263 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
264 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
265
266 2000-09-05 Ulrich Drepper <drepper@redhat.com>
267
268 * configure.in: Strip out "unknown" from configuration names.
269
270 2000-09-05 Andreas Jaeger <aj@suse.de>
271
272 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
273
274 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
275 * sysdeps/sparc/sparc32/Implies: Likewise.
276 * sysdeps/powerpc/Implies: Likewise.
277
278 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
279 * libio/oldiofgetpos64.c: Likewise.
280
281 * soft-fp/Makefile (distribute): Remove configure.
282
283 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
284
285 * soft-fp/configure: Remove.
286
287 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
288 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
289
290 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
291 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
292
293 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
294 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
295
296 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
297 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
298
299 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
300 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
301
302 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
303 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
304
305 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
306 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
307
308 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
309 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
310
311 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
312 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
313
314 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
315 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
316
317 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
318 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
319
320 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
321 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
322
323 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
324 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
325
326 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
327 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
328
329 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
330 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
331
332 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
333 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
334
335 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
336 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
337
338 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
339 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
340
341 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
342 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
343
344 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
345 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
346
347 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
348 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
349
350 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
351 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
352
353 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
354 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
355
356 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
357 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
358
359 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
360 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
361
362 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
363 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
364
365 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
366 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
367
368 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
369 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
370
371 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
372 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
373
374 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
375 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
376
377 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
378 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
379
380 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
381 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
382
383 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
384 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
385
386 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
387 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
388
389 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
390 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
391
392 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
393 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
394
395 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
396 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
397
398 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
399 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
400
401 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
402 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
403
404 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
405 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
406
407 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
408 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
409
410 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
411 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
412
413 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
414 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
415
416 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
417 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
418
419 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
420 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
421
422 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
423 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
424
425 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
426 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
427
428 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
429 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
430
431 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
432 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
433
434 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
435 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
436
437 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
438 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
439
440 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
441 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
442
443 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
444 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
445
446 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
447 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
448
449 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
450 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
451
452 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
453 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
454
455 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
456 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
457
458 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
459 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
460
461 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
462 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
463
464 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
465 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
466
467 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
468 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
469
470 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
471 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
472
473 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
474 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
475
476 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
477 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
478
479 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
480 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
481
482 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
483 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
484
485 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
486 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
487
488 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
489 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
490
491 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
492 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
493
494 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
495 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
496
497 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
498 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
499
500 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
501 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
502
503 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
504 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
505
506 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
507 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
508
509 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
510 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
511
512 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
513 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
514
515 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
516 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
517
518 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
519 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
520
521 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
522 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
523
524 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
525 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
526
527 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
528 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
529
530 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
531 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
532
533 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
534 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
535
536 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
537 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
538
539 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
540 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
541
542 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
543 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
544
545 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
546 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
547
548 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
549 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
550
551 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
552 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
553
554 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
555 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
556
557 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
558 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
559
560 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
561 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
562
563 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
564 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
565
566 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
567 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
568
569 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
570 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
571
572 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
573 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
574
575 * soft-fp/sysdeps/powerpc/Versions: Move from here...
576 * sysdeps/powerpc/soft-fp/Versions: ... to here.
577
578 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
579 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
580
581 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
582 change symbol version.
583 * libio/oldiofgetpos64.c: Likewise.
584 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
585
586 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
587 typo.
588 Reported by dyky@kondara.org, closes PR libc/1886.
589
590 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
591 libc/1880.
592
593 2000-09-04 Ulrich Drepper <drepper@redhat.com>
594
595 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
596 script when ^C is hit.
597
598 * locale/programs/localedef.c (construct_output_path): Correct
599 computation of endp after asprintf.
600 * locale/programs/locfile.c (write_locale_data): Don't add extra
601 slash in filename.
602
603 2000-09-05 Andreas Jaeger <aj@suse.de>
604
605 * scripts/config.guess: New upstream version.
606 * scripts/config.sub: Likewise.
607 * manual/texinfo.tex: Likewise.
608
609 2000-09-04 Andreas Schwab <schwab@suse.de>
610
611 * elf/Makefile (all-dl-routines): New variable.
612 (elide-routines.os): Use it instead of $(dl-routines).
613 (all-rtld-routines): New variable.
614 (extra-objs): Use it instead of $(rtld-routines).
615 ($(objpfx)dl-allobjs.os): Likewise.
616 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
617 sysdep-dl-routines and sysdep_routines instead of rtld-routines
618 and dl-routines.
619
620 2000-09-03 Bruno Haible <haible@clisp.cons.org>
621
622 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
623 Set fname to NULL if the module wasn't found.
624
625 2000-09-03 Bruno Haible <haible@clisp.cons.org>
626
627 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
628 true if trans->name already ends in ".so".
629
630 2000-09-03 Bruno Haible <haible@clisp.cons.org>
631
632 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
633 void.
634 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
635 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
636 (__gconv_release_shlib): Change return type to void.
637 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
638 step->__counter here.
639 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
640 if the reference is zero.
641 (release_step): New function.
642 (gen_steps): Always initialize the __counter to 1. Use release_step.
643 Don't call the destructor on the step whose initializer failed.
644 (increment_counter): Use release_step. Don't normally run destructors
645 here.
646 (__gconv_close_transform): Use release_step.
647
648 2000-09-03 Bruno Haible <haible@clisp.cons.org>
649
650 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
651 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
652
653 2000-09-03 Bruno Haible <haible@clisp.cons.org>
654
655 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
656 If the first byte is 0x8E, don't ask for 4 bytes until it has been
657 verified that the second byte is valid. Leave it to cns11643_to_ucs4
658 to check for incomplete input.
659 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
660 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
661 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
662 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
663 0x9f9d..0x9fa5.
664 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
665 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
666 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
667 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
668 upto index 0x0052.
669
670 2000-09-03 Bruno Haible <haible@clisp.cons.org>
671
672 * iconv/gconv_db.c (find_derivation): Always use the least-cost
673 solution.
674
675 2000-09-03 Bruno Haible <haible@clisp.cons.org>
676
677 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
678 are invalid.
679
680 2000-09-03 Bruno Haible <haible@clisp.cons.org>
681
682 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
683 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
684 U+007E.
685
686 2000-09-03 Bruno Haible <haible@clisp.cons.org>
687
688 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
689
690 2000-09-03 Bruno Haible <haible@clisp.cons.org>
691
692 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
693
694 2000-09-03 Bruno Haible <haible@clisp.cons.org>
695
696 * iconvdata/tst-tables.sh: New file.
697 * iconvdata/tst-table.sh: New file.
698 * iconvdata/tst-table-from.c: New file.
699 * iconvdata/tst-table-to.c: New file.
700 * iconvdata/tst-table-charmap.sh: New file.
701 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
702 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
703 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
704 ISIRI-3342.irreversible, SJIS.irreversible.
705 (tests): Add dependency on tst-tables.out.
706 (tst-tables.out, tst-tables-clean): New rules.
707 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
708 * iconvdata/ISIRI-3342.irreversible: New file.
709 * iconvdata/EUC-JP.irreversible: New file.
710 * iconvdata/SJIS.irreversible: New file.
711
712 2000-09-04 Ulrich Drepper <drepper@redhat.com>
713
714 * manual/locale.texi (General Numeric): Update description of
715 representation of the grouping information in the locale data.
716 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
717
718 2000-09-04 Andreas Jaeger <aj@suse.de>
719
720 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
721 * iconv/iconv_prog.c (options): Fix typo.
722 Reported by dyky@kondara.org, closes PR libc/1885.
723
724 2000-09-04 Andreas Jaeger <aj@suse.de>
725
726 * sysdeps/generic/fegetenv.c: It's __fegetenv.
727 Reported by Rob Levin <lilo@transvirtual.com>.
728
729 2000-09-03 Ulrich Drepper <drepper@redhat.com>
730
731 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
732 to the typedefs of __timezone_ptr_t.
733 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
734
735 2000-09-02 Jakub Jelinek <jakub@redhat.com>
736
737 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
738 the loop.
739
740 2000-09-01 H.J. Lu <hjl@gnu.org>
741
742 * Makeconfig (built-program-cmd): Don't use the dynamic linker
743 to run a binary if it is in $(tests-static).
744
745 * Rules (binaries-static): Add $(tests-static).
746
747 2000-09-02 Andreas Jaeger <aj@suse.de>
748
749 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
750
751 * libio/fmemopen.c (fmemopen_close): Revert one part of last
752 patch.
753
754 2000-09-01 Ulrich Drepper <drepper@redhat.com>
755
756 * iconvdata/big5hkscs.c: Regenerated from charmap.
757 * iconvdata/testdata/BIG5HKSCS: Regenerated.
758 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
759
760 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
761 statement. General cleanup.
762
763 2000-08-31 Bruno Haible <haible@clisp.cons.org>
764
765 * wctype/wcfuncs.c (iswblank): New function.
766 * wctype/wcfuncs_l.c (__iswblank_l): New function.
767 * wctype/wcextra.c: Remove file.
768 * wctype/wcextra_l.c: Remove file.
769 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
770
771 2000-08-31 Bruno Haible <haible@clisp.cons.org>
772
773 * locale/programs/ld-collate.c (collate_output): Remove redundant
774 assert call.
775 * string/strcoll.c: Likewise.
776 * string/strxfrm.c: Include assert.h. Add assert calls like in
777 string/strcoll.c.
778
779 2000-08-31 Bruno Haible <haible@clisp.cons.org>
780
781 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
782 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
783 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
784 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
785 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
786 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
787 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
788 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
789 _NL_CTYPE_GAP5/6 respectively.
790
791 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
792 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
793 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
794 Don't initialize __ctype_names and __ctype_width.
795 * wctype/cname-lookup.h: Remove file.
796 * wctype/Makefile (distribute): Remove cname-lookup.h.
797 * wctype/wchar-lookup.h: Include stdint.h.
798 * wctype/wctype.c (__wctype): Assume new locale format.
799 * wctype/wctype_l.c (__wctype_l): Likewise.
800 * wctype/iswctype.c: Don't include cname-lookup.h.
801 (__iswctype): Assume new locale format.
802 * wctype/iswctype_l.c: Don't include cname-lookup.h.
803 (__iswctype_l): Assume new locale format.
804 * wctype/wctrans.c: Don't include ctype.h.
805 (wctrans): Assume new locale format.
806 * wctype/wctrans_l.c (__wctrans_l): Likewise.
807 * wctype/towctrans.c: Don't include cname-lookup.h.
808 (__towctrans): Assume new locale format.
809 * wctype/towctrans_l.c: Don't include cname-lookup.h.
810 (__towctrans_l): Assume new locale format.
811 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
812 localeinfo.h instead.
813 (__NO_WCTYPE): Remove unused macro.
814 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
815 declarations.
816 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
817 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
818 (towlower, towupper): Likewise.
819 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
820 localeinfo.h instead.
821 (__NO_WCTYPE): Remove unused macro.
822 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
823 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
824 __iswxdigit_l): Assume new locale format.
825 (__towlower_l, __towupper_l): Likewise.
826 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
827 (__ctype32_b): Remove declaration.
828 (internal_wcwidth): Assume new locale format.
829 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
830 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
831 to map32_b, rename width_3level to width.
832 (ctype_output): Always create new locale format. Don't emit
833 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
834 (allocate_arrays): Always create new locale format.
835
836 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
837 * locale/weightwc.h (findidx): Assume new locale format.
838 * string/strcoll.c (wcscoll): Remove local variables size, layers,
839 names.
840 * string/strxfrm.c (wcsxfrm): Likewise.
841 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
842 local variable collseq to 'const char *'.
843 (SUFFIX): Don't use, don't undefine.
844 * posix/fnmatch.c: Remove SUFFIX definition.
845 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
846 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
847 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
848 (collate_finish): Always create new locale format. Remove local
849 variables min_total, act_size.
850 (collate_output): Always create new locale format. Remove local
851 variables table_size, names, tablewc. Rename tablewc_3level to
852 tablewc.
853
854 2000-08-31 Bruno Haible <haible@clisp.cons.org>
855
856 * locale/programs/ld-collate.c (obstack_int32_grow,
857 obstack_int32_grow_fast): New inline functions.
858 (output_weightwc, collate_output): Use them where possible.
859
860 2000-09-01 Ulrich Drepper <drepper@redhat.com>
861
862 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
863 patch (_mode -> _flags).
864
865 * libio/Makefile (headers): Add stdio_ext.h.
866 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
867 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
868 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
869 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
870 __fsetlocking, and _flushlbf.
871 * libio/__fbufsize.c: New file.
872 * libio/__flbf.c: New file.
873 * libio/__fpending.c: New file.
874 * libio/__fpurge.c: New file.
875 * libio/__freadable.c: New file.
876 * libio/__freading.c: New file.
877 * libio/__fsetlocking.c: New file.
878 * libio/__fwritable.c: New file.
879 * libio/__fwriting.c: New file.
880 * libio/stdio_ext.h: New file.
881 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
882 * libio/libio.h (_IO_USER_LOCK): Define.
883 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
884 test _IO_USER_LOCK flag first.
885
886 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
887 malloc fails.
888
889 2000-09-01 Andreas Jaeger <aj@suse.de>
890
891 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
892
893 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
894
895 2000-08-31 Ulrich Drepper <drepper@redhat.com>
896
897 * math/Makefile (tests): Add tst-defintions.
898 * math/tst-definitions.c: New file.
899
900 * stdlib/Makefile (headers): Add bits/wchar.h.
901 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
902 * sysdeps/generic/bits/wchar.h: New file.
903 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
904 file to define WCHAR_MIN and WCHAR_MAX.
905 Change UINT*8_MAX and UIN*16_MAX value to type int.
906 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
907 file to define WCHAR_MIN and WCHAR_MAX.
908 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
909 int values.
910 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
911 * sysdeps/generic/bits/mathdef.h: Likewise.
912 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
913 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
914 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
915 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
916 * locale/locale.h (struct lconv): Add __ prefix to the new members
917 if not C99.
918 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
919 imaxdiv optimizations.
920 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
921 * sysdeps/wordsize-64/ldiv.c: Likewise.
922 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
923 const fenv_t*.
924 * sysdeps/generic/bits/fenv.h: Likewise.
925 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
926 * sysdeps/ia64/bits/fenv.h: Likewise.
927 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
928 * sysdeps/mips/bits/fenv.h: Likewise.
929 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
930 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
931 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
932
933 * inet/rcmd.c: Use *stat64 instead of *stat internally.
934 * inet/ruserpass.c: Likewise.
935 * catgets/open_catalog.c: Likewise.
936 * intl/loadmsgcat.c: Likewise.
937 * io/getdirname.c: Likewise.
938 * locale/loadlocale.c: Likewise.
939 * misc/getusershell.c: Likewise.
940 * stdlib/canonicalize.c: Likewise.
941 * sysdeps/posix/euidaccess.c: Likewise.
942 * sysdeps/posix/isfdtype.c: Likewise.
943 * sysdeps/posix/posix_fallocate.c: Likewise.
944 * sysdeps/posix/tempname.c: Likewise.
945 * sysdeps/unix/grantpt.c: Likewise.
946 * sysdeps/unix/opendir.c: Likewise.
947 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
948 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
949 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
950 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
951 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
952 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
953 * sysvipc/ftok.c: Likewise.
954 * time/getdate.c: Likewise.
955
956 * time/getdate.c: Add extra access test.
957
958 2000-08-31 Ulrich Drepper <drepper@redhat.com>
959
960 * version.h (VERSION): Bump to 2.1.93.
961
962 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
963 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
964
965 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
966 Make this a new rule depending on tst-gettext.out and run mtrace.
967 * intl/tst-gettext.c: Call mtrace.
968 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
969
970 * elf/dl-reloc.c: Add a few more __builtin_expect.
971
972 * configure.in: Remove --with-gettext option.
973
974 * intl/dcigettext.c (free_mem): Correct freeing of
975 _nl_domain_bindings list.
976
977 * sysdeps/generic/setenv.c (free_mem): New function. Free all
978 allocated memory.
979
980 * intl/locale.alias: Add aliases for bokmal and nynorsk.
981
982 * locale/iso-639.def: Fix 639-1 code for Bokmal.
983
984 * stdio-common/itoa-digits.c: Move upper digits to...
985 * stdio-common/itoa-udigits.c: ...here. New file.
986 * stdio-common/Makefile (routines): Add itoa-udigits.
987
988 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
989 relocate ld.so don't add supprt for relocations which should not
990 appear in ld.so.
991
992 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
993 __secure_getenv. Instead test __libc_enable_secure once.
994
995 * io/pwd.c (main): Provide a good example, use *_unlocked function.
996
997 2000-08-30 Ulrich Drepper <drepper@redhat.com>
998
999 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1000 whether the new record should be freed if it's a duplicate.
1001 (add_module): Adjust insert_module call.
1002 (__gconv_read_conf): Likewise.
1003 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1004 mtrace-tst-loading.
1005 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1006
1007 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1008 _dl_all_init_dirs.
1009 * include/link.h (struct r_search_path_struct): New.
1010 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1011 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1012 _dl_all_init_dirs.
1013 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1014 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1015 added at startup time.
1016 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1017 contains element to remember fact that we can free memory.
1018 (all_dirs): Renamed to _dl_all_dirs. Made global.
1019 (_dl_init_all_dirs): New variable.
1020 (fillin_rpath): Save one malloc call.
1021 (decompose_rpath): Change interface. New first parameter points to
1022 r_search_path_struct.
1023 (_dl_init_paths): Adjust for changes. Mark all memory as not
1024 deletable. Set _dl_init_all_paths value.
1025 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1026 parameter replaced with r_search_path_struct *. Information about
1027 freeing now contained in r_search_path_struct.
1028 (_dl_map_object): Adjust for above changes.
1029
1030 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1031
1032 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1033 when adding new entries.
1034
1035 * elf/dl-load.c (fillin_rpath): Make local copy of where string
1036 since the object being loaded can be unloaded.
1037
1038 * iconvdata/Makefile (tests): Add tst-loading.
1039 * iconvdata/tst-loading.c: New file.
1040
1041 2000-08-29 Bruno Haible <haible@clisp.cons.org>
1042
1043 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1044 When comparing a char with an int, always cast the char to
1045 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1046 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1047
1048 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1049
1050 * time/strftime.c (my_strftime): Add compatibility code for use
1051 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
1052
1053 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
1054 return 0 for success but always < 0 on failure.
1055
1056 * nss/getXXbyYY_r.c: Define result to *result before including
1057 digits_dots.c.
1058
1059 2000-08-30 Andreas Jaeger <aj@suse.de>
1060
1061 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
1062
1063 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1064
1065 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
1066 official file.
1067 * iconvdata/TESTS: Add BIG5HKSCS entry.
1068 * iconvdata/testdata/BIG5HKSCS: New file.
1069 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1070
1071 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1072 always true.
1073
1074 * libio/iogetline.c: Set mode before the loop in case n==0.
1075 * libio/iogetwline.c: Likewise.
1076
1077 2000-08-29 H.J. Lu <hjl@gnu.org>
1078
1079 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1080 of fp->_mode < 0.
1081 (_IO_new_file_overflow): Likewise.
1082 * libio/genops.c (_IO_flush_all): Likewise.
1083 * libio/ioftell.c (_IO_ftell): Likewise.
1084
1085 2000-08-29 Akira Higuchi <a@kondara.org>
1086
1087 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1088 and __end_fct fields of struct __gconv_step.
1089 * iconv/Makefile (tests): Add iconv-bug2.
1090 * iconv/iconv-bug2.c: New file.
1091
1092 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1093 instead of 'inptr - inend' to ksc5601_to_ucs4.
1094
1095 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1096
1097 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1098 character or shift sequence is found at the end of the input
1099 string, return__GCONV_INCOMPLETE_INPUT instead of
1100 __GCONV_EMPTY_INPUT.
1101 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1102 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1103
1104 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1105 __GCONV_ILLEGAL_INPUT for 8bit characters.
1106
1107 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1108
1109 * signal/signal.h (sigpause): Move __THROW before __asm__.
1110
1111 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1112 names don't match don't return.
1113 Patch by Olaf Kirch <okir@flash.lst.de>.
1114
1115 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1116
1117 * time/strftime.c (my_strftime): Handle # flag for %b as well.
1118
1119 2000-08-27 H.J. Lu <hjl@gnu.org>
1120
1121 * posix/Makefile (otherlibs): Add for building with static-nss
1122 for "make check".
1123
1124 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1125
1126 * libio/stdio.h: Add fmemopen prototype.
1127
1128 2000-08-25 Andreas Jaeger <aj@suse.de>
1129
1130 * libio/Makefile (routines): Add fmemopen.
1131 (tests): Add test-fmemopen.
1132 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1133 * libio/test-fmemopen.c: New file.
1134 * libio/fmemopen.c: New file.
1135 Patches by Hanno Mueller <kontakt@hanno.de>.
1136
1137 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1138
1139 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1140 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
1141
1142 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1143 to avoid crashing statically linked applications.
1144
1145 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1146
1147 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1148 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1149
1150 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1151 If the result is fits in the buffer, copy only as many bytes as needed.
1152
1153 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1154 buffer after copying numbuf into it.
1155 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1156
1157 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1158
1159 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1160 the result. When string_len < len, don't clear the rest of the buffer.
1161
1162 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1163
1164 Support for new LC_COLLATE format.
1165 * locale/coll-lookup.h: New file.
1166 * locale/weightwc.h (findidx): When size == 0, call
1167 collidx_table_lookup.
1168 * wcsmbs/wcscoll.c: Include coll-lookup.h.
1169 * wcsmbs/wcsxfrm.c: Likewise.
1170 * posix/fnmatch.c: Likewise.
1171 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1172 collseq_table_lookup.
1173 * locale/programs/3level.h: New file.
1174 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1175 by including "3level.h".
1176 * locale/programs/ld-collate.c (wchead_table, collidx_table,
1177 collseq_table): New types, defined by including "3level.h".
1178 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1179 (encoding_mask, encoding_byte): Remove.
1180 (utf8_encode): Use simple shifts instead.
1181 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1182 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1183 (collate_output): New local variable tablewc_3level. When
1184 !oldstyle_tables, set table_size to 0 and names to NULL and fill
1185 tablewc_3level instead of tablewc. Change format of TABLEWC and
1186 COLLSEQWC entries written to the file.
1187 * locale/C-collate.c (collseqwc): Change format.
1188 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1189 of COLLSEQWC.
1190 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1191
1192 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1193
1194 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1195 (locale_ctype_t): New charnames_idx field.
1196 (ctype_startup): Initialize charnames_idx field.
1197 (find_idx): Speed up dramatically by using charnames_idx inverse table.
1198
1199 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1200
1201 * locale/C-ctype.c: Switch to new locale format.
1202 (_nl_C_LC_CTYPE_names): Remove array.
1203 (STRUCT_CTYPE_CLASS): New macro.
1204 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1205 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1206 New three-level tables.
1207 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1208 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1209 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1210 12 class tables and 2 map tables at the end.
1211 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1212 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1213 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1214 New declarations.
1215 (b): Remove trailing semicolon.
1216 (__ctype_names, __ctype_width): Don't initialize.
1217 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1218
1219 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1220
1221 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1222 is guaranteed to be allocated with the same malloc() and may be
1223 passed to free().
1224 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1225 been set to empty by an earlier open_path call, don't pass it again.
1226
1227 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1228
1229 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1230 we are not optimizing.
1231
1232 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1233 inclusion.
1234
1235 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1236 really match EOF.
1237 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1238
1239 2000-08-28 Andreas Jaeger <aj@suse.de>
1240
1241 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1242
1243 2000-08-28 Mark Kettenis <kettenis@gnu.org>
1244
1245 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1246 getpeername. Use ISO C style function definition.
1247 (getpeername): Provide weak alias.
1248 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1249 setrlimit. Use ISO C style function definition.
1250 (setrlimit): Provide weak alias.
1251
1252 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1253
1254 * shlib-versions: Add a rule for S/390 to the libm version list.
1255 * sysdeps/s390/Versions: New file.
1256 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1257 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1258 * sysdeps/unix/sysv/linux/s390/Versions: New file.
1259 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1260 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1261 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1262 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1263 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1264 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1265 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1266 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1267 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1268 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1269 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1270 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1271 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1272 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1273 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1274
1275 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1276
1277 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1278 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1279
1280 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1281 * elf/dl-close.c (_dl_close): Print debug message if object is not
1282 unloaded.
1283 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1284 returning to caller.
1285
1286 * po/zh.po: Renamed to...
1287 * po/zh_TW.po: ...this.
1288
1289 2000-08-27 Geoff Keating <geoffk@cygnus.com>
1290
1291 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1292
1293 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1294 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1295 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1296 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1297
1298 2000-08-27 Ulrich Drepper <drepper@redhat.com>
1299
1300 * locale/programs/ld-collate.c (insert_weights): Also update
1301 backpointer of next element.
1302 (collate_read): Allow definition of new collation symbols in stage 2.
1303 Symbol after reorder-after can be UCS4 value.
1304 Allow reordering of collation symbols and elements.
1305 Do not only move reorder entry in new position. Instead call
1306 insert_weight to do this and read the weights.
1307
1308 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1309
1310 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1311 to determine invalid locale name.
1312 * locale/findlocale.c (_nl_find_locale): Likewise.
1313
1314 * posix/annexc.c: Correct test for unavailable feature.
1315
1316 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1317 __inline.
1318
1319 2000-08-26 Ulrich Drepper <drepper@redhat.com>
1320
1321 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1322 syscall.
1323
1324 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1325 (sysdep_routines): Add oldgetrlimit64.
1326
1327 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1328 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1329 (tests): Add unload, reldep, reldep2, and reldep3.
1330 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1331 and reldepmod4.
1332 Add rules to build and run unload, reldep, reldep2, and reldep3.
1333 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1334 Don't create relocation dependency if it is nonzero.
1335 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1336 can never happen here.
1337 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1338 Don't create relocation dependency if it is nonzero.
1339 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1340 stuff. This can never happen here.
1341 * sysdeps/generic/ldsodefs.h: Change prototypes.
1342 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1343 _dl_lookup_up and _dl_lookup_versioned_symbol.
1344 (RESOLV): Likewise.
1345 * elf/dl-runtime.c (fixup): Likewise.
1346 (profile_fixup): Likewise.
1347 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1348 _dl_lookup_symbol.
1349 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1350 * elf/rtld.c (dl_main): Likewise.
1351 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1352 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1353 and pass down the caller map.
1354 (_dl_vsym): Likewise.
1355 * elf/reldep.c: New file.
1356 * elf/reldep2.c: New file.
1357 * elf/reldep3.c: New file.
1358 * elf/reldepmod1.c: New file.
1359 * elf/reldepmod2.c: New file.
1360 * elf/reldepmod3.c: New file.
1361 * elf/reldepmod4.c: New file.
1362 * elf/unload.c: New file.
1363 * elf/unloadmod.c: New file.
1364
1365 * elf/do-lookup.h: Remove unused undef_name parameter.
1366 * elf/dl-lookup.c: Adjust callers.
1367
1368 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1369
1370 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1371 irreversible in recursive call of conversion function to signal that
1372 no error handling is wanted.
1373 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1374 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1375 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1376 recursive error handling call, otherwise to &lirreversible. Use it
1377 for calls to conversion functions.
1378 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1379 transliterating.
1380 (ucs4_internal_loop_unaligned): Likewise.
1381 (ucs4le_internal_loop): Likewise.
1382 (ucs4le_internal_loop_unaligned): Likewise.
1383
1384 2000-08-25 Greg McGary <greg@mcgary.org>
1385
1386 * sysdeps/i386/memchr.S: Check high bound against chars
1387 actually scanned.
1388 * sysdeps/i386/memcmp.S: Likewise.
1389 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1390 account for pointers that lie one beyond end-of-buffer.
1391
1392 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1393
1394 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1395 * elf/nodelete.c (fini_ran): New global variable.
1396 (do_test): Before every dlclose call clear fini_ran and test
1397 afterwards that it is not set by the destructors.
1398 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1399 * elf/nodelmod2.c: Likewise.
1400 * elf/nodelmod4.c: Likewise.
1401
1402 2000-08-21 Jes Sorensen <jes@linuxcare.com>
1403
1404 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1405 getrlimit to the list.
1406
1407 2000-08-18 Jes Sorensen <jes@linuxcare.com>
1408
1409 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1410 long double format so use ldbl-96 instead of ldbl-128.
1411
1412 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1413
1414 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1415 even if bits 10 a 11 are non-zero.
1416 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1417
1418 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1419 included before building gnu/lib-names.h
1420 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1421
1422 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1423 marked DF_1_NODELETE.
1424
1425 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1426 since we call sigaction in the child.
1427
1428 2000-08-25 Andreas Jaeger <aj@suse.de>
1429
1430 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1431 gconv-modules.
1432
1433 2000-08-25 Andreas Jaeger <aj@suse.de>
1434
1435 * manual/arith.texi (Control Functions): Clarify possible
1436 arguments. Closes PR libc/1856.
1437
1438 2000-08-24 H.J. Lu <hjl@gnu.org>
1439
1440 * stdio-common/Makefile (tests): Don't do it for cross compiling.
1441 * malloc/Makefile (tests): Likewise.
1442
1443 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1444
1445 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1446
1447 2000-08-24 Andreas Jaeger <aj@suse.de>
1448
1449 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1450 only if LIBGD is available.
1451
1452 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1453
1454 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1455 problems with now restrict parameter types.
1456 (convaddr4to6): Likewise.
1457
1458 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
1459
1460 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1461 * sysdeps/s390/fpu/feenablxcpt.c: New file.
1462 * sysdeps/s390/fpu/fegetexcept.c: New file.
1463 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1464 FPC_VALID_MASK.
1465
1466 2000-08-24 Andreas Jaeger <aj@suse.de>
1467
1468 * malloc/Makefile (extra-objs): Add memusagestat.o.
1469 (generated): Added memusage and memusagestat for make clean.
1470
1471 * libio/tst_putwc.c (do_test): Delete temporary file.
1472 Move inclusion of test-skeleton to front to have prototype for
1473 add_temp_file.
1474
1475 * posix/Makefile (generated): Add wordexp-tst.out.
1476
1477 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1478
1479 * resolv/res_hconf.c (free_mem): Remove not needed if.
1480
1481 * time/tzset.c (free_mem): New function.
1482 * string/strsignal.c (free_mem): New function.
1483 * inet/inet_ntoa.c (free_mem): New function.
1484 * sunrpc/clnt_perr.c (free_mem): New function.
1485
1486 2000-08-24 Andreas Jaeger <aj@suse.de>
1487
1488 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
1489 * sysdeps/unix/sysv/syscalls.list: Likewise.
1490
1491 * posix/unistd.h: Move internal prototypes from here ...
1492 * include/unistd.h: ... to here.
1493
1494 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1495
1496 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1497
1498 * grp/initgroups.c (initgroups): Deallocate groups array.
1499 Reported by jani.raiha@sonera.com [PR libc/1868].
1500
1501 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1502 * sysdeps/alpha/Dist: Likewise.
1503
1504 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1505
1506 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1507 destructor). Reported by Solar Designer <solar@false.com>.
1508
1509 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1510 avoid adding double slashes.
1511
1512 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1513
1514 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1515 out of the __REDIRECT macro.
1516
1517 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1518
1519 * stdio-common/vfscanf.c: Add %F format support.
1520
1521 * locale/programs/ld-ctype.c (ctype_output): Make sure
1522 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1523 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1524 (ctype_read): Enable returning of wide character strings for reading
1525 transliteration information.
1526
1527 2000-08-23 Andreas Jaeger <aj@suse.de>
1528
1529 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1530 Use static __inline instead of _EXTERN_INLINE.
1531
1532 * misc/sys/select.h: Move prototypes of __select from here ...
1533 * include/sys/select.h: ... to here.
1534
1535 * socket/sys/socket.h: Move prototypes of __send and __connect
1536 from here....
1537 * include/sys/socket.h: ... to here.
1538
1539 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1540 lr_error.
1541
1542 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1543
1544 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1545 __setrlimit as strong name. Takes only 2 arguments.
1546
1547 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1548 takes only 2 arguments.
1549
1550 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1551
1552 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1553
1554 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1555
1556 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1557
1558 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1559 default_missing character being specified, pick the first
1560 representable.
1561
1562 2000-08-23 Andreas Jaeger <aj@suse.de>
1563
1564 * include/wchar.h: Add some pure attributes.
1565
1566 * time/time.h: Add const attribute for dysize.
1567
1568 * include/stdlib.h: Add malloc attribute to __posix memalign.
1569
1570 * stdlib/stdlib.h: Add some pure and malloc attributes.
1571 * wcsmbs/wchar.h: Likewise.
1572
1573 * dirent/dirent.h: Add some pure attributes.
1574 * include/dirent.h: Likewise.
1575
1576 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1577
1578 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
1579 on 64bit arches.
1580
1581 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1582
1583 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
1584 missing buffer size checks.
1585
1586 2000-08-23 Andreas Jaeger <aj@suse.de>
1587
1588 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
1589 strong name.
1590 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1591
1592 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
1593 otherwise __LINUX_KERNEL_VERSION might not be defined.
1594 (MIN): Define if not already defined.
1595
1596 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1597
1598 * stdio-common/vfprintf.c: Handle %F format.
1599 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
1600 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1601
1602 * stdio-common/tstdiomisc.c: Add test for %F printf format.
1603
1604 * po/zh.po: New file.
1605
1606 * iconvdata/sjis.c: In conversion from UCS4, correct test for
1607 enough room in target buffer.
1608 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
1609 * iconvdata/bug-iconv1.c: New file.
1610 * iconvdata/Makefile (tests): Add bug-iconv1.
1611
1612 * locale/iso-4217.def: Update entry for Nicaragua.
1613
1614 2000-08-22 Mark Kettenis <kettenis@gnu.org>
1615
1616 * hurd/hurdsig.c: Rearrange headers a bit.
1617 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
1618 when cthreads is being used.
1619
1620 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1621
1622 * elf/Makefile (distribute): Add dl-osinfo.h.
1623 * sysdeps/generic/dl-osinfo.h: New file.
1624 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
1625 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
1626 if defined.
1627 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
1628 only for !SHARED case. Get the code from dl-osinfo.h.
1629
1630 * stdlib/random_r.c: Cleanups.
1631 * stdlib/tst-random.c: New file.
1632 * stdlib/Makefile (tests): Add tst-random.
1633 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
1634
1635 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1636
1637 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
1638 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
1639 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
1640 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
1641
1642 2000-08-22 Jakub Jelinek <jakub@redhat.com>
1643
1644 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
1645 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
1646 (__syscall__sysctl): Add.
1647
1648 2000-08-21 Andreas Jaeger <aj@suse.de>
1649
1650 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
1651 libc/1864).
1652 * stdlib/tst-strtoll.c: Likewise.
1653
1654 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1655
1656 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
1657 correctly.
1658 (__initstate_r): Set errno on error.
1659 (__random_r): Likewise.
1660 (__setstate_r): Correct offset when computing
1661 new rptr and fptr. Test for arg_state being NULL.
1662 Reported by Michael Fischer <fischer@cs.yale.edu>.
1663
1664 * posix/regex.h: Add macro definitions to allow compiling outside
1665 glibc.
1666
1667 * sysdeps/i370/Implies: Removed.
1668 * sysdeps/mvs/Implies: Removed.
1669
1670 * catgets/catgets.c (catopen): Filter out env_var values with / if
1671 necessary.
1672
1673 * locale/findlocale.c (_nl_find_locale): Move test for unusable
1674 locale name after all getenvs.
1675
1676 * configure.in: Allow sed versions like 3.02.8.
1677 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
1678
1679 2000-08-21 Marko Myllynen <myllynen@lut.fi>
1680
1681 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
1682
1683 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1684
1685 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
1686 of gethostbyname2_r call.
1687
1688 * intl/locale.alias: Add aliases for Korean.
1689
1690 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1691
1692 * sysdeps/s390/__longjmp.c: Remove unused variable result.
1693 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
1694 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
1695 * sysdeps/s390/fpu/fegetenv.c: New file.
1696 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
1697 * sysdeps/s390/fpu/feholdexcpt.c: New file.
1698 * sysdeps/s390/fpu/fenv_libc.h: New file.
1699 * sysdeps/s390/fpu/fesetenv.c: New file.
1700 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
1701 * sysdeps/s390/fpu/feupdateenv.c: New file.
1702 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
1703 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
1704 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
1705 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
1706 * sysdeps/s390/fpu/ftestexcept.c: New file.
1707 * sysdeps/s390/fpu/libm-test-ulps: New file.
1708 * sysdeps/s390/gmp-mparam.h: Add end of comment.
1709 * sysdeps/s390/initfini.c: New file.
1710 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
1711 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
1712 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
1713 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
1714 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
1715 sys/procfs.h as proposed by Mark Kettenis.
1716 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
1717
1718 2000-08-21 Andreas Jaeger <aj@suse.de>
1719
1720 * include/poll.h: Include include/sys/poll.h to get __poll
1721 declaration.
1722
1723 * io/sys/poll.h: Move __poll declaration from here...
1724 * include/sys/poll.h: ...to here.
1725
1726 * include/sys/socket.h (__getpeername): Add declaration.
1727
1728 * include/wchar.h (__vswprintf): Add declaration.
1729
1730 * include/stdio.h (__flockfile): Add declaration.
1731 (__funlockfile): Likewise.
1732
1733 2000-08-20 Ulrich Drepper <drepper@redhat.com>
1734
1735 * misc/sys/cdefs.h: Define __restrict_arr.
1736 * include/sys/time.h: Add restrict where required by AGd4.
1737 * inet/arpa/inet.h: Likewise.
1738 * io/sys/stat.h: Likewise.
1739 * io/sys/statvfs.h: Likewise.
1740 * misc/search.h: Likewise.
1741 * misc/sys/select.h: Likewise.
1742 * posix/glob.h: Likewise.
1743 * posix/regex.h: Likewise.
1744 * posix/spawn.h: Likewise.
1745 * posix/unistd.h: Likewise.
1746 * rt/aio.h: Likewise.
1747 * signal/signal.h: Likewise.
1748 * socket/sys/socket.h: Likewise.
1749 * stdlib/ucontext.h: Likewise.
1750 * streams/stropts.h: Likewise.
1751 * string/string.h: Likewise.
1752 * time/time.h: Likewise.
1753 * time/sys/time.h: Likewise.
1754
1755 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
1756 and posix_spawnattr_setscheparam.
1757
1758 * libio/stdio.h: Make cuserid prototype again available for all
1759 XPG versions.
1760
1761 * argp/argp-help.c: Unify use of function aliases to make more compact
1762 PLT.
1763 * include/libintl.h: Likewise.
1764 * inet/rcmd.c: Likewise.
1765 * intl/dcigettext.c: Likewise.
1766 * libio/iofputws.c: Likewise.
1767 * libio/iofputws_u.c: Likewise.
1768 * libio/iogetwline.c: Likewise.
1769 * libio/swprintf.c: Likewise.
1770 * malloc/malloc.c: Likewise.
1771 * nss/digits_dots.c: Likewise.
1772 * posix/fnmatch.c: Likewise.
1773 * posix/spawn_faction_addclose.c: Likewise.
1774 * posix/spawn_faction_adddup2.c: Likewise.
1775 * posix/spawn_faction_addopen.c: Likewise.
1776 * posix/spawni.c: Likewise.
1777 * posix/wordexp.c: Likewise.
1778 * posix/spawni.c: Likewise.
1779 * resolv/res_hconf.c: Likewise.
1780 * resolv/res_init.c: Likewise.
1781 * shadow/lckpwdf.c: Likewise.
1782 * signal/sighold.c: Likewise.
1783 * signal/sigrelse.c: Likewise.
1784 * stdio-common/printf-parse.h: Likewise.
1785 * stdio-common/printf-prs.c: Likewise.
1786 * stdio-common/printf_fp.c: Likewise.
1787 * stdio-common/vfprintf.c: Likewise.
1788 * stdio-common/vfscanf.c: Likewise.
1789 * stdlib/rpmatch.c: Likewise.
1790 * sunrpc/create_xid.c: Likewise.
1791 * sunrpc/key_call.c: Likewise.
1792 * sysdeps/generic/setrlimit64.c: Likewise.
1793 * sysdeps/generic/utmp_file.c: Likewise.
1794 * sysdeps/generic/vlimit.c: Likewise.
1795 * sysdeps/posix/posix_fallocate.c: Likewise.
1796 * sysdeps/posix/posix_fallocate64.c: Likewise.
1797 * sysdeps/posix/sigpause.c: Likewise.
1798 * sysdeps/posix/sigset.c: Likewise.
1799 * sysdeps/unix/grantpt.c: Likewise.
1800 * sysdeps/unix/bsd/ualarm.c: Likewise.
1801 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1802 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
1803 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1804 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1805 * time/strftime.c: Likewise.
1806 * wcsmbs/wcscoll.c: Likewise.
1807 * wcsmbs/wcsxfrm.c: Likewise.
1808
1809 * time/tst-getdate.c (main): Make error messages more human readable.
1810
1811 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
1812 postinc/predec instruction.
1813 (_FPU_SETCW): Likewise.
1814 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1815
1816 2000-08-20 Andreas Jaeger <aj@suse.de>
1817
1818 * time/tst-getdate.c (main): Increase error in case of wrong
1819 conversion.
1820 Fix typo in test case.
1821
1822 2000-08-20 Ulrich Drepper <drepper@redhat.com>
1823
1824 * ctype/ctype.h (isblank): Make available if ISO C99.
1825 * wctype/wctype.h (iswblank): Make available if ISO C99.
1826 * math/math.h (signgam): Don't make available if ISO C99.
1827 * math/tgmath.h (tgamma): Renamed from gamma.
1828 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1829
1830 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
1831 Pretty printing.
1832 * intl/plural.y (new_exp): Take number of optional parameters in
1833 second parameter. Test for correct number of parameters and free
1834 correctly in case of failure. Adjust all callers.
1835 (yylex): Allow ';' as terminator character.
1836
1837 2000-08-19 Ulrich Drepper <drepper@redhat.com>
1838
1839 * locale/lc-time.c (free_mem): New function. Free alt_digits and
1840 walt_digits.
1841
1842 * locale/findlocale.c (free_mem): Also free here->filename.
1843
1844 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
1845
1846 * math/test-fenv.c (feenv_tests): Clear all exceptions before
1847 first test.
1848 (feexcp_nomask_test): Correct printf args.
1849 (feexcp_mask_test): Likewise.
1850
1851 2000-08-19 Andreas Jaeger <aj@suse.de>
1852
1853 * inet/tst-gethnm.c: Include string.h to provide prototype for
1854 strcmp.
1855
1856 * malloc/mtrace.pl (usage): Inform about --help.
1857
1858 2000-08-19 Wolfram Gloger <wg@malloc.de>
1859
1860 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
1861 size HEAP_MAX_SIZE.
1862
1863 2000-08-19 Andreas Jaeger <aj@suse.de>
1864
1865 * shlib-versions: Remove libnss_db, libdb and libdb1.
1866
1867 2000-08-19 Jakub Jelinek <jakub@redhat.com>
1868
1869 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
1870 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
1871 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
1872 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
1873 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
1874 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
1875 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
1876 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
1877 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
1878 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
1879 getdents.
1880 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
1881 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1882
1883 2000-08-18 Jakub Jelinek <jakub@redhat.com>
1884
1885 * include/glob.h (__glob64): Add prototype.
1886 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
1887 define glob and glob_in_dir.
1888 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
1889 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
1890 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
1891 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
1892 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
1893 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
1894 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
1895 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
1896
1897 2000-08-18 Jakub Jelinek <jakub@redhat.com>
1898
1899 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
1900
1901 2000-08-17 Andreas Jaeger <aj@suse.de>
1902
1903 * math/test-fenv.c (fe_single_test): New function.
1904 (fe_env_tests): Use fe_single_test.
1905 (feenable_test): New tests for feenable/fedisable and
1906 fegetexcpetions.
1907 (feexcp_mask_test): New function.
1908 (feexcp_nomask_test): New function.
1909
1910 2000-08-19 Richard Henderson <rth@cygnus.com>
1911
1912 * sysdeps/alpha/fpu/fenv_libc.h: New file.
1913 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
1914 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1915 * sysdeps/alpha/fpu/fesetround.c: Likewise.
1916 * sysdeps/alpha/fpu/fegetround.c: Likewise.
1917 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1918 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1919 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
1920 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
1921 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
1922 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
1923 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
1924 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1925 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1926 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1927 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
1928 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
1929
1930 2000-08-19 Andreas Jaeger <aj@suse.de>
1931
1932 * elf/constload1.c: Include <stdio.h> for puts prototype.
1933
1934 2000-08-19 Ulrich Drepper <drepper@redhat.com>
1935
1936 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
1937 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
1938 a dynamically loaded object remove old l_initfini list.
1939 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
1940 remove some dynamically allocated memory blocks in the dynamic
1941 loading data structures.
1942 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
1943 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
1944 Instead call _dl_check_map_versions only for the dependencies.
1945 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
1946 information of initial objects as not free-able.
1947 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
1948 element.
1949
1950 * elf/filter.c: Call mtrace.
1951 * elf/restest1.c: Likewise. Close the objects.
1952 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
1953 debug information.
1954
1955 * elf/constload1.c: Add comment explaining not freed memory.
1956
1957 2000-08-18 Andreas Jaeger <aj@suse.de>
1958
1959 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
1960 alignment for structs stat and stat64.
1961 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1962
1963 2000-08-17 Ulrich Drepper <drepper@redhat.com>
1964
1965 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
1966 handling. Patch by Richard Henderson <rth@twiddle.net>.
1967
1968 * nss/Versions: Remove libnss_db information.
1969
1970 2000-08-16 Jakub Jelinek <jakub@redhat.com>
1971
1972 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
1973 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
1974 * sysdeps/sparc/fpu/fegetexcept.c: New file.
1975 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
1976
1977 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
1978 to match Solaris.
1979
1980 2000-08-17 Ulrich Drepper <drepper@redhat.com>
1981
1982 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
1983 (_FPU_SETCW): Likewise.
1984 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1985
1986 * stdio-common/printf_fp.c: Fix chars_needed computation.
1987 Patch by Greg McGary <greg@mcgary.org>.
1988
1989 2000-08-17 Jakub Jelinek <jakub@redhat.com>
1990
1991 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
1992 _dl_loaded are NULL.
1993
1994 2000-08-17 Jakub Jelinek <jakub@redhat.com>
1995
1996 * manual/arith.texi (feholdexcept): Returns 0 on success.
1997
1998 2000-08-17 Andreas Jaeger <aj@suse.de>
1999
2000 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2001 (ifr_newname): New.
2002 Reported by Andi Kleen <ak@suse.de>.
2003
2004 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2005
2006 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2007 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2008 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2009
2010 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2011
2012 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2013 of buf->st_ino and kbuf->st_ino, not __st_ino.
2014 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2015 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2016 directive so that only linux/getdents.c is used, not some
2017 architecture specific one.
2018
2019 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2020
2021 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2022 enabled, not disabled exceptions.
2023 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2024 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2025
2026 2000-08-17 Greg McGary <greg@mcgary.org>
2027
2028 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2029 from test program name when constructing suffix for $(LDLIBS-*).
2030 (bounded-thread-library): New variable.
2031 * crypt/Makefile
2032 [build-shared, build-static] (libcrypt-dep): Remove variable.
2033 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2034 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2035 * linuxthreads/Makefile (libpthread, librt): Remove variables.
2036 (librt-tests): Add variable. (tests): Use it.
2037 [build-shared, build-static]
2038 ($(addprefix $(objpfx),$(tests)),
2039 $(addprefix $(objpfx),$(librt-tests))):
2040 Consolidate individual dependencies.
2041 [build-bounded]
2042 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2043 Add dependencies.
2044 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2045 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2046 * misc/Makefile
2047 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2048 * rt/Makefile
2049 [build-shared, build-static]
2050 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2051 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2052
2053 2000-08-17 Greg McGary <greg@mcgary.org>
2054
2055 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
2056 * sysdeps/unix/make-syscalls.sh: Likewise.
2057 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2058 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2059 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2060 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2061 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2062
2063 2000-08-17 Greg McGary <greg@mcgary.org>
2064
2065 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
2066 Wrap extern symbols in BP_SYM ().
2067 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2068 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2069 * sysdeps/i386/fpu/s_remquo.S: Likewise.
2070 * sysdeps/i386/fpu/s_remquof.S: Likewise.
2071 * sysdeps/i386/fpu/s_remquol.S: Likewise.
2072 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2073 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2074 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2075 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2076 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2077
2078 2000-08-16 Andreas Schwab <schwab@suse.de>
2079
2080 * sysdeps/m68k/fpu/fegetexcept.c: New file.
2081 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2082 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2083
2084 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2085
2086 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2087 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2088 * elf/dl-support.c: Define _nl_nloaded.
2089 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
2090 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2091 object to global list.
2092 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2093 from _dl_loaded list.
2094 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2095 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2096 number here.
2097
2098 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2099 unmask, exceptions.
2100 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2101 exceptions.
2102 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2103
2104 2000-08-16 Andreas Jaeger <aj@suse.de>
2105
2106 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2107
2108 2000-08-15 Marko Myllynen <myllynen@lut.fi>
2109
2110 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2111
2112 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2113
2114 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2115 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2116 (sysdep_routines): Add oldgetrlimit64.
2117 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2118 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2119
2120 * include/link.h: Undo last patches. Hurd now has stat64.
2121 * elf/Makefile: Likewise.
2122 * elf/dl-load.c: Likewise.
2123 * elf/dl-misc.c: Likewise.
2124 * elf/dl-profile.c: Likewise.
2125 * sysdeps/generic/sysd-link.h: Removed.
2126 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2127
2128 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2129 thread event callback function.
2130 (__aio_notify_only): Use function above.
2131 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2132
2133 2000-08-16 Mark Kettenis <kettenis@gnu.org>
2134
2135 * sysdeps/mach/hurd/lseek64.c: New file.
2136
2137 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2138
2139 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2140 Remove typedefs.
2141 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2142 typedefs.
2143 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2144 typedefs.
2145 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2146
2147 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2148
2149 * sysdeps/mach/hurd/xstatconv.c: New file.
2150 * sysdeps/mach/hurd/fxstat64.c: New file.
2151 * sysdeps/mach/hurd/lxstat64.c: New file.
2152 * sysdeps/mach/hurd/xstat64.c: New file.
2153 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2154
2155 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2156
2157 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2158 Initialize, needed for change in common symbol handling in newer
2159 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2160
2161 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2162
2163 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
2164 * elf/constload2.c: Add destructor to unload constload3.
2165
2166 * include/link.h: Include sysd-link.h.
2167 * sysdeps/generic/sysd-link.h: New file.
2168 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2169 * elf/Makefile (distribute): Add sysd-link.h.
2170 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2171 types and functions directly.
2172 * elf/dl-misc.c: Likewise.
2173 * elf/dl-profile.c: Likewise.
2174
2175 * elf/loadfail.c (main): Close all successfully loaded objects.
2176
2177 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
2178 free wd.
2179 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2180 there is already one.
2181
2182 * elf/dl-close.c: Pretty print.
2183
2184 2000-08-14 Ulrich Drepper <drepper@redhat.com>
2185
2186 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2187 global (with file scope). Add __libc_subfreeres function to free the
2188 string.
2189 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
2190 in ttyname function.
2191
2192 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2193
2194 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2195
2196 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2197 mapping them to /x5c and /x7e respectively.
2198
2199 * locale/programs/ld-ctype.c: Add support for more definitions after
2200 copy statement.
2201
2202 2000-08-14 Jakub Jelinek <jakub@redhat.com>
2203
2204 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2205 * sysdeps/unix/sysv/linux/kernel-features.h
2206 (__ASSUME_GETDENTS64_SYSCALL): Define.
2207 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2208 syscall if available to get d_type fields.
2209 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2210 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2211 __lxstat64): Export at GLIBC_2.2.
2212 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2213 Likewise.
2214 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2215 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2216 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2217 getdirentries64, versionsort64): Remove.
2218 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2219 getdirentries64, versionsort64): Remove.
2220
2221 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2222
2223 * posix/Makefile: Remove rules to generate glob package.
2224
2225 * posix/Makefile (tests): Add tst-regexloc.
2226 (tst-regexloc-ENV): Add LOCPATH.
2227 * posix/tst-regexloc.c: New file.
2228
2229 2000-08-12 Andreas Jaeger <aj@suse.de>
2230
2231 * include/features.h (__STDC_ISO_10646__): Define.
2232 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2233
2234 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2235
2236 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2237
2238 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2239 for revision 6 and up).
2240
2241 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2242 including <time.h>.
2243 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2244 to get definitions of just these types.
2245
2246 * signal/signal.h: Define thread signal handling functions also for
2247 POSIX95.
2248
2249 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2250 POSIX95.
2251 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2252 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2253 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2254 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2255
2256 * sysvipc/sys/shm.h: Define pid_t for XPG.
2257
2258 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2259 they are not anymore required here.
2260
2261 * wcsmbs/wchar.h: Make the various wide char string and stream
2262 functions available for the respective XPG versions.
2263
2264 * nss/Makefile: Remove rules to build and distribute nss_db.
2265
2266 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2267 * sysdeps/generic/scandir64.c: Likewise.
2268 * sysdeps/generic/versionsort64.c: Likewise.
2269
2270 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2271 Benjamin Koznik <bkoz@redhat.com>
2272
2273 * libio/fileops.c: Merge with libstdc++-v3.
2274 * libio/genops.c: Likewise.
2275 * libio/iofclose.c: Likewise.
2276 * libio/iofopen.c: Likewise.
2277 * libio/iofwide.c: Likewise.
2278 * libio/libio.h: Likewise.
2279 * libio/libioP.h: Likewise.
2280 * libio/stdfiles.c: Likewise.
2281 * libio/stdio.c: Likewise.
2282 * libio/wfileops.c: Likewise.
2283 * libio/wgenops.c: Likewise.
2284
2285 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2286
2287 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2288
2289 * locale/programs/localedef.c: Implement --prefix option to allow
2290 writing in standard places of alternative install directories.
2291
2292 * posix/regex.c (compile_range): Implement collation sequence
2293 handling for glibc. Use simple character ordering otherwise and
2294 not strcoll.
2295
2296 2000-08-12 Mark Kettenis <kettenis@gnu.org>
2297
2298 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2299
2300 2000-08-12 Andreas Jaeger <aj@suse.de>
2301
2302 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2303 __USE_FILE_OFFSET64 correctly for locking.
2304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2305
2306 2000-08-12 Jakub Jelinek <jakub@redhat.com>
2307
2308 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2309 Define for 2.4.1 on sparc as well.
2310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2311 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2312 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2313 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2314
2315 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2316
2317 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2318 defined.
2319
2320 2000-08-12 Andreas Jaeger <aj@suse.de>
2321
2322 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2323 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2324
2325 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2326 mips2 for assembler.
2327
2328 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2329 if fnctl64 is not available for F_*LK*64.
2330
2331 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2332
2333 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2334
2335 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2336 Define for 2.4.1 on x86.
2337 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2338 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2339 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2340
2341 * dirent/dirent.h: Define DT_WHT.
2342
2343 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2344 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2345 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2346 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2347 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2348 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2349
2350 2000-08-11 Ulrich Drepper <drepper@redhat.com>
2351
2352 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2353 lookup, pass pointer to array with NULL pointer [PR libc/1858].
2354 * inet/Makefile (tests): Add tst-gethnm.
2355 * inet/tst-gethnm.c: New file.
2356
2357 * rt/aio_cancel.c: If canceling a specific request which is running
2358 *really* do nothing.
2359 * rt/aio_misc.h: Add `done' to states of a request.
2360 * rt/aio_misc.c: Add several tests for the correct state.
2361 Simplify request table memory handling.
2362
2363 2000-08-10 Jakub Jelinek <jakub@redhat.com>
2364
2365 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2366 * dirent/scandir64.c: Move...
2367 * sysdeps/generic/scandir64.c: ...here.
2368 * dirent/alphasort64.c: Move...
2369 * sysdeps/generic/alphasort64.c: ...here.
2370 * dirent/versionsort64.c: Move...
2371 * sysdeps/generic/versionsort64.c: ...here.
2372 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2373 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2374 Export symbols at GLIBC_2.2.
2375 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2376 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2377 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2378 __versionsort64): Add prototypes.
2379 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2380 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2381 unused prototype.
2382 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2383 and GLIBC_2.2.
2384 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2385 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2386 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2387 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2388 __u_quad_t.
2389 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2390 Adjust for kernel-2.4.0-test6 layout.
2391 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2392 GLIBC_2.1 and GLIBC_2.2.
2393 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2394 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2395 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2396 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2397 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2398 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2399 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2400 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2401 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2402 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2403 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2404 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2405 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2406 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2407 __u_quad_t.
2408 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2409 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2410 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2411 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2412 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2413 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2414 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2415 __u_quad_t.
2416 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2417 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2418 Define.
2419 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2420 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2421 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2422 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2423 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2424 Define.
2425 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2426 alpha/readdir.c.
2427 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2428 alpha/readdir_r.c
2429 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2430 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2431 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2432 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2433 st_ino from __st_ino.
2434 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2435 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2436 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2437 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2438 set __st_ino in addition to st_ino.
2439 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2440 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2441 __old_getdents64 as well.
2442 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2443 getdirentries64 and old_getdirentries64 as well.
2444 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2445 __GETDENTS): Define.
2446 (GETDENTS64): Remove.
2447 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2448 Define.
2449 (GETDENTS64): Remove.
2450 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2451 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2452 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2453 as well.
2454 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2455 __old_readdir64_r as well.
2456 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2457 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2458
2459 2000-08-08 Jes Sorensen <jes@linuxcare.com>
2460
2461 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2462 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2463 define of the kernel.
2464 Add missing __SEG_PSTKOVF definition.
2465 Adjust the padding of struct siginfo and struct sigevent to
2466 match the fact that sigval_t is 64 bit.
2467
2468 2000-08-10 Ulrich Drepper <drepper@redhat.com>
2469
2470 * timezone/zic.c: Update from tzcode2000f.
2471 * timezone/australasia: Update from tzdata2000f.
2472 * timezone/europe: Likewise.
2473 * timezone/southamerica: Likewise.
2474 * timezone/yearistype: Likewise.
2475
2476 2000-08-10 Andreas Jaeger <aj@suse.de>
2477
2478 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2479 stat with current MIPS kernel.
2480
2481 2000-08-01 Mark Kettenis <kettenis@gnu.org>
2482
2483 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2484 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2485 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2486 Remove the junk that's only relevant in the Linux kernel itself.
2487 Add a warning saying that this file is now obsolete, and include
2488 <sys/procfs.h>.
2489 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2490 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2491 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
2492 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
2493 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
2494 and add the notice that the file is primarily there for GDB.
2495 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2496
2497 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2498
2499 * time/tzfile.c (__tzfile_compute): __tzstring zones
2500 from zone_names.
2501
2502 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2503
2504 * resolv/resolv.h (__res_state): Surround prototype with
2505 __BEGIN_DECLS/__END_DECLS.
2506 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2507
2508 2000-08-04 Jes Sorensen <jes@linuxcare.com>
2509
2510 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2511 Make independant of asm/resource.h from the Linux kernel.
2512
2513 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2514
2515 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2516
2517 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2518
2519 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2520 * locale/Makefile (locale-CPPFLAGS): Likewise.
2521
2522 2000-08-09 Ulrich Drepper <drepper@redhat.com>
2523
2524 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2525 for AMD processors.
2526
2527 2000-08-03 Jakub Jelinek <jakub@redhat.com>
2528
2529 * misc/Versions (mincore): Export at GLIBC_2.2.
2530
2531 2000-08-03 Bruno Haible <haible@clisp.cons.org>
2532
2533 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2534
2535 2000-08-02 Mark Kettenis <kettenis@gnu.org>
2536
2537 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2538 socketpair. Made socketpair a weak alias.
2539 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2540 __socketpair. Use S_IFIFO protocol to make pipes POSIX
2541 conforming, but fall back on the old protocol if the socket server
2542 doesn't support it.
2543 * include/sys/socket.h: Add prototype for __socketpair.
2544
2545 2000-08-09 Andreas Schwab <schwab@suse.de>
2546
2547 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2548 long long modifier is seen.
2549
2550 * elf/nodelete.c (do_test): Remove reference to undefined member
2551 sa_restorer.
2552 * rt/tst-aio4.c (do_test): Likewise.
2553
2554 * configure.in: Add `-lm' when checking for libgd.
2555 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2556 linking.
2557
2558 2000-08-09 Andreas Jaeger <aj@suse.de>
2559
2560 * configure.in: Change required make versions.
2561
2562 * manual/install.texi (Tools for Compilation): Document required
2563 make version.
2564 (Supported Configurations): Update list of supported
2565 configurations.
2566
2567 2000-08-08 Ulrich Drepper <drepper@redhat.com>
2568
2569 * locale/linereader.c (get_string): Don't print an error is a string
2570 contains an unknown character.
2571
2572 2000-08-06 Ulrich Drepper <drepper@redhat.com>
2573
2574 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
2575 (new_symbol): Take new parameters with name of the symbol.
2576 Adjust callers.
2577 (handle_ellipsis): Don't only allow character symbols.
2578 (collate_read): Allow string of collating elements contain invalid
2579 characters; ignore entry in this case.
2580 Handle ellipsis of collating symbols before first order_start.
2581 Allow ellipsis in state 0.
2582
2583 2000-08-04 Ulrich Drepper <drepper@redhat.com>
2584
2585 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
2586 error message.
2587 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2588
2589 2000-08-04 Greg McGary <greg@mcgary.org>
2590
2591 * posix/regex.c (SET_HIGH_BOUND): New macro.
2592 (MOVE_BUFFER_POINTER): Use it.
2593 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
2594 (EXTEND_BUFFER): Use it.
2595
2596 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2597
2598 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
2599 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
2600 _wide_data but from _IO_FILE directly.
2601 * libio/iofclose.c: Likewise.
2602 * libio/wfileops.c: Likewise.
2603
2604 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
2605 * libio/libioP.h: Change prototypes.
2606
2607 2000-08-03 Greg McGary <greg@mcgary.org>
2608
2609 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
2610 frame pointer early so that we save caller's frame pointer.
2611 * sysdeps/i386/elf/setjmp.S: Likewise.
2612
2613 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
2614 * io/test-utime.c: Test passing NULL as utimbuf* arg.
2615
2616 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
2617 (MOVE_BUFFER_POINTER): Handle high_bound properly.
2618 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
2619
2620 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2621
2622 * iconvdata/big5.c: Updated.
2623 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2624
2625 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2626
2627 * Makeconfig (all-subdirs): Add conform.
2628 * conform/Makefile: Include ../Rules.
2629
2630 * Makefile (README): Add rules to generate here as well.
2631
2632 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2633
2634 * version.h (VERSION): Bump to 2.1.92.
2635
2636 * sysdeps/ia64/Dist: Add _mcount.S.
2637
2638 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
2639
2640 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
2641
2642 * elf/Makefile (distribute): Add missing modules.
2643
2644 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
2645
2646 * posix/regex.c (compile_range): Translate range start and end
2647 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
2648
2649 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
2650 asm/resource.h.
2651
2652 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
2653
2654 2000-08-02 Andreas Jaeger <aj@suse.de>
2655
2656 * elf/elf.h (EM_S390): Added.
2657 (R_390_*): New relocs for S390.
2658
2659 * sysdeps/unix/sysv/linux/s390/Dist: New file.
2660 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
2661 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
2662 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
2663 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
2664 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2665 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
2666 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
2667 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
2668 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
2669 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
2670 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
2671 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
2672 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
2673 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
2674 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
2675 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
2676 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
2677 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
2678 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
2679 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
2680 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
2681 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
2682 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
2683 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
2684 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
2685 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
2686 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
2687 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
2688 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
2689 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
2690 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
2691 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
2692 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
2693 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
2694 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
2695 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
2696 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
2697 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
2698 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
2699 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
2700 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
2701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
2702 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
2703 * sysdeps/s390/sysdep.h: New file.
2704 * sysdeps/s390/sys/ucontext.h: New file.
2705 * sysdeps/s390/sub_n.S: New file.
2706 * sysdeps/s390/strncpy.S: New file.
2707 * sysdeps/s390/strcpy.S: New file.
2708 * sysdeps/s390/stackinfo.h: New file.
2709 * sysdeps/s390/setjmp.S: New file.
2710 * sysdeps/s390/s390-mcount.S: New file.
2711 * sysdeps/s390/mul_1.S: New file.
2712 * sysdeps/s390/memusage.h: New file.
2713 * sysdeps/s390/memset.S: New file.
2714 * sysdeps/s390/memcpy.S: New file.
2715 * sysdeps/s390/memchr.S: New file.
2716 * sysdeps/s390/machine-gmon.h: New file.
2717 * sysdeps/s390/ldbl2mpn.c: New file.
2718 * sysdeps/s390/gmp-mparam.h: New file.
2719 * sysdeps/s390/fpu/fpu_control.h: New file.
2720 * sysdeps/s390/fpu/fesetround.c: New file.
2721 * sysdeps/s390/fpu/fegetround.c: New file.
2722 * sysdeps/s390/fpu/fclrexcpt.c: New file.
2723 * sysdeps/s390/fpu/bits/fenv.h: New file.
2724 * sysdeps/s390/ffs.c: New file.
2725 * sysdeps/s390/elf/start.S: New file.
2726 * sysdeps/s390/elf/setjmp.S: New file.
2727 * sysdeps/s390/elf/bsd-setjmp.S: New file.
2728 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
2729 * sysdeps/s390/dl-machine.h: New file.
2730 * sysdeps/s390/bzero.S: New file.
2731 * sysdeps/s390/bsd-setjmp.S: New file.
2732 * sysdeps/s390/bsd-_setjmp.S: New file.
2733 * sysdeps/s390/bits/string.h: New file.
2734 * sysdeps/s390/bits/setjmp.h: New file.
2735 * sysdeps/s390/bits/huge_val.h: New file.
2736 * sysdeps/s390/bits/endian.h: New file.
2737 * sysdeps/s390/bits/byteswap.h: New file.
2738 * sysdeps/s390/bcopy.S: New file.
2739 * sysdeps/s390/backtrace.c: New file.
2740 * sysdeps/s390/atomicity.h: New file.
2741 * sysdeps/s390/asm-syntax.h: New file.
2742 * sysdeps/s390/addmul_1.S: New file.
2743 * sysdeps/s390/add_n.S: New file.
2744 * sysdeps/s390/abort-instr.h: New file.
2745 * sysdeps/s390/__longjmp.c: New file.
2746 * sysdeps/s390/Makefile: New file.
2747 * sysdeps/s390/Implies: New file.
2748 * sysdeps/s390/Dist: New file.
2749 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2750
2751 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2752
2753 Remove incompatible IPv6 extension of RPC.
2754 * sunrpc/Makefile: Undo changes.
2755 * sunrpc/rpc_main.c: Likewise.
2756 * sunrpc/rpc/clnt.h: Likewise.
2757 * sunrpc/rpc/svc.h: Likewise.
2758 * sunrpc/bindrsvprt6.c: Removed.
2759 * sunrpc/clnt_tcp6.c: Removed.
2760 * sunrpc/clnt_udp6.c: Removed.
2761 * sunrpc/svc_tcp6.c: Removed.
2762 * sunrpc/svc_udp6.c: Removed.
2763
2764 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
2765 dgettext, and dcgettetxt.
2766
2767 * intl/locale.alias: Update japanese aliases.
2768
2769 * sysdeps/ia64/bits/byteswap.h: New file.
2770 Patch by Dan Pop <Dan.Pop@cern.ch>.
2771
2772 * misc/sys/cdefs.h: Define __attribute_format_arg__.
2773 * intl/libintl.h: Use it here instead of using __attribute__ directly.
2774
2775 2000-07-13 H.J. Lu <hjl@gnu.org>
2776
2777 * posix/regex.c (re_max_failures): Set to 4000.
2778
2779 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2780
2781 * gnulib/Makefile (tests): Add tst-gcc.
2782 * gnulib/tst-gcc.c: New file.
2783
2784 * assert/Makefile (routines): Add __assert.
2785 * assert/Versions: Export __assert for glibc 2.2.
2786 * assert/__assert.c: New file.
2787 * assert/assert.h: Declare __assert.
2788
2789 2000-07-27 Bruno Haible <haible@clisp.cons.org>
2790
2791 * locale/localeinfo.h (_ISCTYPE): New macro.
2792 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
2793 LC_CTYPE locale format.
2794 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
2795 (ctype_output): Output class_b[nr] right before class_3level[nr].
2796 (allocate_arrays): Fill class_b, similarly to class_3level.
2797
2798 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2799 Joseph S. Myers <jsm28@cam.ac.uk>
2800
2801 * math/tgmath.h: Make standard compliant. Don't ask how.
2802
2803 2000-07-04 H.J. Lu <hjl@gnu.org>
2804
2805 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
2806 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
2807 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
2808
2809 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2810
2811 * include/features.h (_XOPEN_SOURCE): Update the explanation.
2812 (__USE_LARGEFILE): Add an explanation.
2813 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
2814 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
2815
2816 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2817
2818 * libio/Makefile: Enable exception handling for genops, wgenops,
2819 fileops, and wfileops.
2820
2821 2000-07-29 Mark Kettenis <kettenis@gnu.org>
2822
2823 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
2824 acount that elf/rtld's main program might remove some varibales
2825 from the environment if we're trying to be secure. Move the Hurd
2826 startup data if necessary, or, if we there is no startup data,
2827 make sure the magical convention that ARGV[0] is stored just after
2828 the environment list.
2829
2830 2000-08-01 Philip Blundell <philb@gnu.org>
2831
2832 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
2833 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
2834 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
2835 oldsetrlimit for GLIBC_2.0.
2836
2837 2000-08-01 Andreas Jaeger <aj@suse.de>
2838
2839 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
2840 (LINE_PARSER): Allow any number of spaces between ip address and
2841 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
2842
2843 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
2844
2845 * include/netdb.h: Remove getipnodebyaddr and friends, leave
2846 constants in.
2847
2848 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
2849 _nss_nisplus_getipnodebyname_r.
2850
2851 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
2852 now, getipnodebyname is deprecated.
2853 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
2854 Likewise.
2855
2856 * inet/Makefile (routines): Don't build getipnodebyaddr and
2857 friends.
2858
2859 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
2860
2861 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
2862
2863 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
2864
2865 * wctype/Makefile (distribute): Add wchar-lookup.h.
2866
2867 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
2868
2869 * iconvdata/Makefile (distribute): Add isiri-3342.h.
2870
2871 2000-08-01 Andreas Schwab <schwab@suse.de>
2872
2873 * Make-dist (dist): Resolve `..' in file names.
2874
2875 2000-08-01 Andreas Jaeger <aj@suse.de>
2876
2877 * stdio-common/Makefile (distribute): Remove removed files, add
2878 new files.
2879
2880 * Makefile (distribute): Remove include/db_185.h and db.h.
2881
2882 * include/db_185.h: Remove, it's not needed anymore.
2883 * include/db.h: Likewise.
2884
2885 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2886
2887 * inet/Makefile (tests): Remove tst-ipnode.
2888 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
2889 now.
2890
2891 2000-07-31 Jes Sorensen <jes@linuxcare.com>
2892
2893 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
2894 endp statements have already been added.
2895
2896 2000-04-18 David Mosberger <davidm@hpl.hp.com>
2897
2898 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
2899 <sysdeps/ia64/sysdep.h>.
2900
2901 * sysdeps/ia64/_mcount.S: New file.
2902
2903 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
2904 __gmon_start__. Fix up extraneous whitespace.
2905
2906 2000-01-12 H.J. Lu <hjl@gnu.org>
2907
2908 * sysdeps/ia64/elf/initfini.c: New file.
2909
2910 2000-07-31 Jes Sorensen <jes@linuxcare.com>
2911
2912 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
2913 dependency between branch and ar.pfs write.
2914
2915 2000-07-31 H.J. Lu <hjl@gnu.org>
2916
2917 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
2918 handle the wchar_t array.
2919
2920 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2921
2922 * iconvdata/gb18030.c: Don't map to and from positions in ISO
2923 10646 which are not yet assigned.
2924 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
2925
2926 2000-07-31 Andreas Jaeger <aj@suse.de>
2927
2928 * inet/Versions: Remove getipnodebyaddr and friends from
2929 GLIBC_2.2.
2930
2931 * resolv/netdb.h: Remove getipnodebyaddr and friends.
2932
2933 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2934
2935 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
2936 ch >= 0x81 && ch2 < 0x40 as invalid.
2937
2938 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2939
2940 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
2941 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
2942
2943 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2944
2945 * iconvdata/johab.c (BODY for TO_LOOP): After calling
2946 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
2947
2948 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2949
2950 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
2951 0xb8.
2952 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
2953
2954 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2955
2956 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
2957
2958 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2959
2960 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
2961 (from_ucs4): Change values of U+00A4 and U+00ED.
2962 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
2963
2964 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2965
2966 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
2967 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
2968
2969 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2970
2971 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
2972 * iconvdata/isiri-3342.h: New file.
2973 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
2974 treat 0x80 as a gap.
2975
2976 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2977
2978 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
2979 (utf8_encode): Use simple shifts instead. Fix return value.
2980
2981 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2982
2983 * timezone/private.h: Update from tzcode2000e.
2984 * timezone/asia: Update from tzdata2000e.
2985 * timezone/australasia: Likewise.
2986 * timezone/europe: Likewise.
2987 * timezone/northamerica: Likewise.
2988 * timezone/zone-tab: Likewise.
2989
2990 2000-07-30 Ralf Baechle <ralf@gnu.org>
2991
2992 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
2993 the order of struct sigaltstack members is different.
2994
2995 2000-07-26 Philip Blundell <philb@gnu.org>
2996
2997 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
2998
2999 2000-07-29 Ulrich Drepper <drepper@redhat.com>
3000
3001 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3002 * locale/programs/ld-ctype.c: Adjust for this.
3003
3004 * locale/programs/ld-collate.c: Add more alignment checks.
3005 * locale/string/strcoll.c: Likewise.
3006
3007 2000-07-30 Mark Kettenis <kettenis@gnu.org>
3008
3009 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3010 outside USE_IN_LIBIO block.
3011
3012 2000-07-26 Philip Blundell <philb@gnu.org>
3013
3014 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3015 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3016
3017 2000-07-28 Philip Blundell <philb@gnu.org>
3018
3019 * math/test-fpucw.c: Ignore reserved bits in control word.
3020
3021 2000-07-28 Philip Blundell <philb@gnu.org>
3022
3023 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3024 (ret): Redefine to PSEUDO_RET.
3025 (PSEUDO): Remove jump to syscall_error.
3026
3027 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3028
3029 * resolv/README: Add some information about using the resolver in
3030 multi-threaded code and with C++. Spelling fixes.
3031
3032 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3033
3034 * resolv/resolv.h (struct __sockaddr_in): Remove.
3035 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3036
3037 2000-07-29 Greg McGary <greg@mcgary.org>
3038
3039 * Rules (test-bp-inputs, make-test-out): New variables.
3040 ($(objpfx)%-bp.out): New rule.
3041 ($(objpfx)%.out): Rewrite in terms of new variables.
3042
3043 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3044 internal function that uses vtable.
3045 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3046 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3047
3048 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3049 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3050 (chunk_align): Likewise.
3051
3052 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
3053 in a way that conforms to decl, and avoids spurious bounds violation.
3054
3055 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
3056 * sysdeps/generic/frame.h: Likewise.
3057 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
3058 around return value.
3059 (__backtrace): Qualify frame-pointer chain and return address
3060 pointers as __unbounded. Wrap bounds around variable `current'.
3061 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
3062 around return value.
3063 (catch_segfault): Qualify frame-pointer chain and return address
3064 pointers as __unbounded. Wrap bounds around variable `current'.
3065 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
3066 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
3067 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3068 __unbounded.
3069 (__backtrace): Qualify frame-pointer chain and return address
3070 pointers as __unbounded. Wrap bounds around variable `current'.
3071
3072 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3073 * sysdeps/i386/mul_1.S: Likewise.
3074 * sysdeps/i386/submul_1.S: Likewise.
3075 * sysdeps/i386/i586/addmul_1.S: Likewise.
3076 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3077 * sysdeps/i386/i586/submul_1.S: Likewise.
3078
3079 2000-07-27 Andreas Jaeger <aj@suse.de>
3080
3081 * libio/Depend: New file, libio needs localedata for tests.
3082 * posix/Depend: Likewise.
3083
3084 2000-07-28 Ulrich Drepper <drepper@redhat.com>
3085
3086 * stdio-common/_i18n_itoa.c: Removed.
3087 * stdio-common/_i18n_itoa.h: Removed.
3088 * stdio-common/_i18n_itowa.c: Removed.
3089 * stdio-common/_i18n_itowa.h: Removed.
3090 * stdio-common/_i18n_number.h: New file.
3091 * stdio-common/Depend: New file.
3092 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
3093 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3094 printing. Change printing of numbers with locale specific digits to
3095 use new code in _i18n_number.h.
3096 * stdio-common/Makefile (routines): Remove _i18n_itoa and
3097 _i18n_itowa.
3098
3099 * stdio-common/bug13.c: Improve messages.
3100
3101 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3102 (set_class_defaults): Always search also for Uxxxx names.
3103 Detect insufficient number of outdigits.
3104
3105 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3106
3107 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3108
3109 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3110 _NL_CTYPE_MAP_NAMES.
3111 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3112 * wctype/wcfuncs.c (towlower, towupper): Use them.
3113 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3114 * wctype/wctrans.c (wctrans): Likewise.
3115 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3116
3117 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3118
3119 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
3120 Use the optimized version of this function outside glibc as well.
3121
3122 2000-07-27 Jakub Jelinek <jakub@redhat.com>
3123
3124 * locale/indigits.h (indigit_value): Correct.
3125 * locale/indigitswc.h (indigitwc_value): Correct.
3126 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3127 conversion, add GROUP checking for it, fix GROUP number
3128 conversion with strlen(thousands) > 1.
3129 Honour width correctly in the presence of floating
3130 decimal points and thousands separators.
3131 * stdio-common/tst-sscanf.c: New test.
3132 * stdio-common/Makefile: Add it to tests.
3133 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3134 thousands separators and group argument is non-zero.
3135
3136 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3137
3138 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3139 starts at GLIBC_2.2.
3140
3141 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3142
3143 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3144 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3145 _test_and_set.
3146 (headers): Add sys/tas.h.
3147 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3148 GLIBC_2.2 from libc.
3149 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3150 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3151 _test_and_set.
3152
3153 2000-07-28 Andreas Jaeger <aj@suse.de>
3154
3155 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3156
3157 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3158 ($(objpfx)tst-dladdr.out): new.
3159 (tests): Add tst-dladdr.
3160 ($(objpfx)glrefmain): Use libdl.
3161
3162 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
3163 <vs@caldera.de>.
3164
3165 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3166
3167 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3168 ftruncate(64) calls.
3169
3170 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3171
3172 * intl/tst-translit.c: Include string.h to get prototype for
3173 strcmp().
3174
3175 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3176
3177 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3178 name and add weak alias for __fork.
3179
3180 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3181 & pwrite to use __libc_<name> as strong names instead of
3182 __syscall_<name>.
3183
3184 * include/sched.h: Add clone2 prototype.
3185
3186 2000-07-26 Jes Sorensen <jes@linuxcare.com>
3187
3188 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3189 procedure name twice.
3190
3191 2000-07-27 Philip Blundell <philb@gnu.org>
3192
3193 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3194
3195 2000-07-27 Andreas Jaeger <aj@suse.de>
3196
3197 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3198 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3199 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3200 Reported by Andi Kleen <ak@suse.de>.
3201
3202 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3203 (do_wait): Test requests with aio_return64.
3204 (do_test): Change callers of do_wait.
3205
3206 2000-07-26 Andreas Jaeger <aj@suse.de>
3207
3208 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3209 (do_wait): Test requests with aio_return.
3210 (do_test): Change callers of do_wait.
3211
3212 2000-07-27 Ulrich Drepper <drepper@redhat.com>
3213
3214 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
3215 from request list. Don't do the list handling here, call
3216 __aio_remove_request.
3217 * rt/aio_misc.h: Add prototype for __aio_remove_request.
3218 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3219 request might already be processed. Don't do the list handling
3220 here, call __aio_remove_request.
3221
3222 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3223 LIO_DSYNC.
3224
3225 * rt/aio_misc.c: Add comment explaining why writer memory barriers
3226 are missing.
3227
3228 2000-07-27 Greg McGary <greg@mcgary.org>
3229
3230 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3231 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3232 in union init. Pass zero for ignored semnum arg to semctl.
3233 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3234
3235 2000-07-26 Greg McGary <greg@mcgary.org>
3236
3237 * sysdeps/gnu/bits/msq.h: Qualify kernel's
3238 data structure pointers as __unbounded.
3239 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3240 * sysdeps/generic/bp-semctl.h: New file.
3241 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3242 pointers as __unbounded. Check bounds of syscall args.
3243 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3244 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3245 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3246 * sysdeps/unix/sysv/linux/semop.c: Likewise.
3247 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3248 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3249 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3250 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3251 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3252 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3253 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3254 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3255 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3256 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3257 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3258 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3259
3260 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3261
3262 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3263 by default.
3264 * locale/C-ctype.c: Likewise.
3265 * wcsmbs/wcsmbsload.c: Likewise.
3266
3267 2000-07-26 Greg McGary <greg@mcgary.org>
3268
3269 * Makeconfig (+link-bounded, link-libc-bounded,
3270 link-extra-libs-bounded): New variables.
3271 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3272 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3273 * Rules (tests-bp.out): New variable.
3274 (tests): Conditionally add BP tests.
3275 (binaries-bounded): Add variable and associated rule.
3276 * csu/Makefile [build-bounded] (extra-objs, install-lib):
3277 Move conditional stuff after place where condition is defined.
3278
3279 * malloc/malloc.c (bp-checks.h): Add #include.
3280 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3281 (_bin_at): Add unbounded version of bin_at.
3282 (IAV, chunk_alloc): Use unbounded _bin_at.
3283 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3284 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3285 Wrap BOUNDED_N around return value.
3286 (chunk_realloc): Adjust oldsize once.
3287
3288 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3289 (__ubp_memchr): Add correct decl.
3290 (_CHECK_STRING): Use __ubp_memchr.
3291 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3292 New alias for unbounded-pointer __memchr.
3293 * sysdeps/i386/memchr.S: Likewise.
3294 * sysdeps/ia64/memchr.S: Likewise.
3295 * sysdeps/m68k/memchr.S: Likewise.
3296 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3297 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3298 * sysdeps/vax/memchr.s: Likewise.
3299
3300 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3301 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3302 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3303 * sysdeps/i386/i686/strtok.S: Likewise.
3304 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3305 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3306
3307 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3308 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3309
3310 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3311 bounds of copy_result to mount_proc.
3312
3313 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3314
3315 * wctype/wctype.h (__wctrans_l): New declaration.
3316 * wctype/wctrans_l.c: New file.
3317 * wctype/Makefile (routines): Add wctrans_l.
3318
3319 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3320
3321 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3322 Patch by MacGyver <macgyver@tos.net>.
3323
3324 2000-07-26 Andreas Jaeger <aj@suse.de>
3325
3326 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3327 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3328 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3329
3330 * rt/tst-aio.c (test_file): Fix typo.
3331 * rt/tst-aio64.c (test_file): Likewise.
3332
3333 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3334 * rt/Makefile: Add rules to build and run tst-aio3.
3335
3336 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3337 it's not needed and confuses only.
3338
3339 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3340
3341 * resolv/res_init.c: Add support for nameserver communication with
3342 IPv6.
3343 * resolv/res_send.c: Likewise.
3344 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3345 in nsaddrs field.
3346 Patch by <venaas@nvg.ntnu.no>.
3347
3348 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3349
3350 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3351 (wcwidth_table_get): New function.
3352 (wcwidth_table_add): Call it.
3353 (wctrans_table_get): New function.
3354 (wctrans_table_add): Call it.
3355
3356 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3357
3358 * rt/lio_listio.c (lio_listio): Always disable individual
3359 notification.
3360 * rt/Makefile: Add rules to build and run tst-aio2.
3361 * rt/tst-aio2.c: New file.
3362
3363 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3364 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3365
3366 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3367
3368 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3369 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3370 leading and trailing spaces from host, user and domain name.
3371
3372 2000-07-25 Jes Sorensen <jes@linuxcare.com>
3373
3374 * csu/defs.awk: Add support for need_endp.
3375
3376 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3377
3378 * resolv/resolv.h: Remove __P from res_send_qhook and
3379 res_send_rhook typedefs.
3380
3381 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3382
3383 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3384
3385 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3386
3387 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3388
3389 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3390
3391 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3392 calling thread, set the cancellation flag and return success
3393 instead of EINTR.
3394
3395 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3396
3397 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3398 * libio/tst-widetext.c: New file.
3399 * libio/tst-widetext.input: New file.
3400
3401 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3402
3403 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3404 empty external buffer correctly.
3405
3406 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3407
3408 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3409 __STRING(entry) and not #entry.
3410 (_RTLD_EPILOGUE): Likewise.
3411 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3412
3413 2000-07-25 Andreas Jaeger <aj@suse.de>
3414
3415 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3416 according to changes in test program, run also with static only
3417 builds.
3418 ($(objpfx)tst-printf.out): Likewise.
3419
3420 * stdio-common/tst-unbputc.sh: Likewise.
3421 * stdio-common/tst-printf.sh: Likewise.
3422
3423 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3424
3425 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3426
3427 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3428 loop.
3429
3430 * libio/fileops.c: Pretty print.
3431
3432 2000-07-23 Bruno Haible <haible@clisp.cons.org>
3433
3434 * wctype/wchar-lookup.h: New file.
3435 * wctype/iswctype.c: Include "wchar-lookup.h".
3436 (__iswctype): Support alternate locale format with 3-level tables.
3437 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3438 * wctype/towctrans.c (__towctrans): Likewise.
3439 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3440 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3441 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3442 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3443 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3444 __iswxdigit, towlower, towupper): Support alternate locale format
3445 with 3-level tables.
3446 * wctype/wcextra.c (iswblank): Likewise.
3447 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3448 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3449 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3450 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3451 format with 3-level tables.
3452 * wctype/wcextra_l.c (__iswblank_l): Likewise.
3453 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
3454 format, return a 3-level table pointer.
3455 * wctype/wctype_l.c (__wctype_l): Likewise.
3456 * wctype/wctrans.c (wctrans): Likewise.
3457 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3458 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3459 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3460 (iswctype): Remove macro definition.
3461 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3462 (internal_wcwidth): Support alternate locale format with 3-level
3463 tables.
3464 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3465 New nl_items.
3466 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3467 Define them as being type "word".
3468 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3469 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3470 __ctype32_width): New exported variables.
3471 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3472 alternate locale format. Don't initialize __ctype_names and
3473 __ctype_width in the alternate locale format.
3474 * locale/programs/localedef.h (oldstyle_tables): New declaration.
3475 * locale/programs/localedef.c (oldstyle_tables): New variable.
3476 (OPT_OLDSTYLE): New macro.
3477 (options): Add --old-style option.
3478 (parse_opt): Handle --old-style option.
3479 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3480 map_offset, class_3level, map_3level, width_3level members.
3481 (ctype_output): Support for alternate locale format: Computation of
3482 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3483 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3484 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3485 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3486 now contain both class and map tables.
3487 (struct wctype_table): New type.
3488 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3489 functions.
3490 (struct wcwidth_table): New type.
3491 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3492 functions.
3493 (struct wctrans_table): New type.
3494 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3495 functions.
3496 (allocate_arrays): Support for alternate locale format: Set
3497 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3498 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3499 to the first 256 characters. Compute ctype->map_3level. Set
3500 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3501 instead of ctype->width.
3502
3503 2000-07-24 Ulrich Drepper <drepper@redhat.com>
3504
3505 * libio/iogetwline.c (_IO_getwline_info): Use wide character
3506 string functions.
3507
3508 2000-07-24 Jakub Jelinek <jakub@redhat.com>
3509
3510 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3511 in wide characters, not bytes.
3512 * libio/tst_putwc.c (do_test): Add test for writing lots of data
3513 into file.
3514
3515 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3516
3517 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3518 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3519 LC_MEASUREMENT, LC_IDENTIFICATION.
3520
3521 * locale/xlocale.h (struct __locale_struct): Increase size of
3522 __locales array.
3523 * locale/duplocale.c (__duplocale): Copy newly added categories as
3524 well.
3525 * locale/freelocale.c (__freelocale): Free newly added categories.
3526 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3527 If a base is given, use it, don't simply return it.
3528
3529 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3530
3531 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3532 variables, copied_key and copied_salt, instead of boolean variables.
3533
3534 2000-07-24 Andreas Jaeger <aj@suse.de>
3535
3536 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3537 check for offset.
3538
3539 * grp/initgroups.c (initgroups_dyn_function): Renamed from
3540 initgroups_function, adopted prototype for change from 2000-07-23.
3541 (initgroups): Follow type change.
3542
3543 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3544 & PAGE_MASK case, reformat.
3545
3546 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3547 from stdin and setup environment.
3548
3549 2000-07-24 Andreas Schwab <schwab@suse.de>
3550
3551 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3552
3553 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3554
3555 * string/endian.h: Explain the _*_ENDIAN constant values a bit
3556 more. Patch by scarlet@mit.edu [PR libc/1799].
3557
3558 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3559 [PR libc/1792].
3560
3561 * argp/argp-parse.c (parser_finalize): Reverse order in which
3562 parsers are run for ARGP_KEY_END. [PR libc/1755].
3563
3564 * grp/initgroups.c (initgroups): Don't limit the possible number
3565 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
3566 the setgroups call while the call fails and descrease the number
3567 of groups each round.
3568 The name of the initgroups function in the NSS modules changed.
3569 (compat_call): Adapt for dynamic resizing.
3570 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3571 Implement dynamic resizing.
3572 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3573 Likewise.
3574 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
3575 * hesiod/Versions: Change exported interface name.
3576 * nis/Versions: Change exported interface name.
3577
3578 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3579
3580 * locale/iso-639.def: Some errors corrected.
3581 Patch by Keld Simonsen.
3582
3583 * include/limits.h: Update non-gcc portion.
3584 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3585
3586 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3587
3588 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
3589 program's data space, reallocate only the space that was just
3590 deallocated to release its backing space.
3591
3592 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3593
3594 * stdio-common/vfprintf.c (process_string_arg): For wide character
3595 version, handle precision also correctly.
3596
3597 * nss/nss_files/files-hosts.c: Correct problem with three or more
3598 entries with the same name.
3599
3600 * nss/nss_files/files-hosts.c: Implement multi handling.
3601 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
3602
3603 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3604
3605 * nss/nss_files/files-parse.c: Don't pollute namespace by using
3606 strcasecmp.
3607
3608 * grp/Makefile: Change Makefiles and tests to run only when necessary.
3609 * malloc/Makefile: Likewise.
3610 * malloc/tst-mtrace.sh: Likewise.
3611 * posix/Makefile: Likewise.
3612 * posix/globtest.sh: Likewise.
3613 * posix/wordexp-tst.sh: Likewise.
3614 * string/Makefile: Likewise.
3615
3616 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3617
3618 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
3619 size instead of LC_ALL to take into account the new locale
3620 categories.
3621
3622 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3623
3624 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
3625 remainders of hash table.
3626 * locale/categories.def: Remove remainders of transliteration
3627 hash table.
3628 * locale/langinfo.h: Likewise.
3629 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
3630 transliteration tables.
3631
3632 * locale/gen-translit.pl: New file.
3633 * locale/C-translit.h.in: New file.
3634 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
3635 data pointers with data from this file.
3636 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
3637 and gen-translit.pl.
3638 Add rule to generate C-translit.h.
3639 * intl/tst-translit.c (main): Update for now performed
3640 transliteration.
3641
3642 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
3643 (it's no input error).
3644 * stdio-common/tstscanf.c: Add test case for format %f with input --.
3645 * stdio-common/scanf12.c: Correct expected result for first scanf.
3646
3647 * stdio-common/vfprintf.c (process_string_arg): Correct handling
3648 of multibyte character strings in %s format with precision.
3649
3650 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3651
3652 * locale/programs/ld-collate.c (collate_read): Allow collating
3653 symbols and elements be named in reorder-after instructions.
3654 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3655
3656 * locale/programs/ld-collate.c (handle_ellipsis): Test for
3657 duplication with generated name, not the name of the first
3658 character.
3659 Patch by Yong Li <yong.li@asu.edu>.
3660
3661 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
3662 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3663
3664 2000-07-21 Wolfram Gloger <wg@malloc.de>
3665
3666 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
3667 allocations only if a non-main arena cannot be extended.
3668
3669 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3670
3671 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
3672 in DF_1_NODEFLIB handling.
3673
3674 2000-07-21 Andreas Jaeger <aj@suse.de>
3675
3676 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
3677 own rule.
3678
3679 * libio/fwide.c: Include <wchar.h> for prototype.
3680
3681 2000-07-21 Greg McGary <greg@mcgary.org>
3682
3683 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
3684 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
3685 Define in terms of chunk_at_offset.
3686 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
3687 (next_bin, prev_bin): offset by size of real array elements.
3688 (chunk_align): Make `m' a scalar, since that's how it's used.
3689
3690 2000-07-21 Greg McGary <greg@mcgary.org>
3691
3692 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
3693 UNCHECK_BOUNDS.
3694 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
3695 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
3696 Wrap bounds around argv & envp and each of their string members.
3697 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
3698 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
3699 symbol in BP_SYM (). Discard bounds of address arg.
3700 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3701 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
3702 Discard bounds on address arg, add bounds to return value.
3703
3704 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3705
3706 * elf/Makefile (tests): Add filter. Add rules to generate filter.
3707 * elf/filter.c: New file.
3708 * elf/filtmod1.c: New file.
3709 * elf/filtmod2.c: New file.
3710
3711 * elf/rtld.c: Define _dl_bind_not variable.
3712 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
3713 * elf/dl-support.c: Likewise.
3714 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
3715 * elf/dl-runtime.c (fixup): Don't remember looked up value if
3716 _dl_bind_not.
3717 (profile_fixup): Likewise.
3718
3719 * libio/Makefile (routines): Add fwide.
3720 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
3721 fwide now. Internal calls to _IO_fwide must do locking themselves
3722 or don't need locking.
3723 * libio/fwide.c: New file.
3724
3725 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
3726
3727 * elf/Makefile: Add no modules for nodelete test.
3728 * elf/nodelmod3.c: New file.
3729 * elf/nodelmod4.c: New file.
3730 * elf/nodelete.c: Also test case where dependency of dlopen() object
3731 is marked nodelete.
3732
3733 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
3734 * elf/nodlopen.c: New file.
3735 * elf/nodlopenmod.c: New file.
3736 * include/dlfcn.h: Define __RTLD_DLOPEN.
3737 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
3738 and this is a dlopen() call, do not load the binary.
3739 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
3740 * dlfcn/dlopenold.c: Likewise.
3741 * configure.in: Add test for -z nodelete option.
3742 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3743
3744 2000-07-20 Mark Kettenis <kettenis@gnu.org>
3745
3746 Make Hesiod NSS module thread-safe.
3747
3748 * hesiod/README.hesiod: Update.
3749
3750 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
3751 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
3752 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
3753 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
3754 hesiod-proto.
3755 * hesiod/nss_hesiod/hesiod-init.c: New file.
3756 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
3757 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
3758 * hesiod/nss_hesiod/nss_hesiod.h: New file.
3759 * hesiod/nss_hesiod/hesiod-service.c
3760 (_nss_hesiod_getservbyport_r): New function. Provide support for
3761 looking up services by port number.
3762 * hesiod/nss_hesiod/hesiod-proto.c: New file.
3763
3764 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
3765 * hesiod/hesiod.h: Likewise.
3766 * hesiod/hesiod_p.h: Likewise.
3767
3768 2000-07-20 Mark Kettenis <kettenis@gnu.org>
3769
3770 Fix problems with `struct __res_state' getting too big.
3771 * resolv/resolv.h (struct __sockaddr_in): New definition.
3772 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
3773 the private parts of the structure to save some space.
3774 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
3775 (struct sockaddr_in *) in call to sock_eq.
3776 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
3777
3778 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3779
3780 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
3781 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
3782 with nodelete.
3783 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
3784 to _dl_map_object. Return immediately if no object loaded.
3785 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
3786 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
3787 if it exists into l_flags_1 word.
3788 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
3789 it to determine whether loading is wanted or not.
3790 (_dl_map_object): Likewise.
3791 Call _dl_map_object_from_fd with new parameter.
3792 * sysdeps/generic/ldsodefs.h: Update prototype.
3793 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
3794 * elf/rtld.c: Likewise.
3795 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3796 * elf/Makefile (tests): Add noload. Add rules to generate noload.
3797 * elf/noload.c: New file.
3798 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
3799 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
3800 * sysdeps/mips/bits/dlfcn.h: Likewise.
3801 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
3802 (tests-nodelete-yes): Define.
3803 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
3804 Add rules to build nodelete and modules.
3805 * elf/nodelete.c: New file.
3806 * elf/nodelmod1.c: New file.
3807 * elf/nodelmod2.c: New file.
3808 * configure.in: Add test for -z nodelete option.
3809 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3810
3811 * libio/Makefile (tests): Add tst_wprintf2.
3812 (tst_wprintf2-ARGS): Define.
3813 * libio/tst_wprintf2.c: New file.
3814 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
3815
3816 * libio/wfiledoalloc.c: Only allocate external buffer if this
3817 hasn't happened yet.
3818
3819 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
3820 something in the buffer. gconv call can write up to end of the
3821 buffer, not only _IO_write_end.
3822 (_IO_wfile_overflow): Allocate also external buffer.
3823
3824 2000-07-19 Ulrich Drepper <drepper@redhat.com>
3825
3826 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
3827 strings with precision in vfwprintf correctly.
3828 * stdio-common/vfprintf.c: Fix completely broken handling of
3829 unbuffered wide character streams.
3830 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3831
3832 * resolv/Makefile (distribute): Add README.
3833
3834 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
3835
3836 2000-07-18 Mark Kettenis <kettenis@gnu.org>
3837
3838 Update resolver code to BIND 8.2.3-T5B.
3839
3840 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
3841 __res_nclose.
3842 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
3843 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
3844 __res_search.
3845 * resolv/Banner: BIND-8.2.3-T5B.
3846
3847 * resolv/base64.c: Update from BIND 8.2.3-T5B.
3848 * resolv/herror.c: Likewise.
3849 * resolv/inet_addr.c: Likewise.
3850 * resolv/inet_net_ntop.c: Likewise.
3851 * resolv/inet_net_pton.c: Likewise.
3852 * resolv/inet_neta.c: Likewise.
3853 * resolv/inet_ntop.c: Likewise.
3854 * resolv/nsap_addr.c: Likewise.
3855 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
3856 IPv6 addresses (ISC bug #520).
3857
3858 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
3859 * resolv/ns_parse.c: Likewise.
3860 * resolv/ns_netint.c: Likewise.
3861 * resolv/ns_samedomain.c: Likewise.
3862 * resolv/ns_ttl.c: Likewise.
3863 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
3864 RCS ID in object file.
3865
3866 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
3867 * resolv/res_mkquery.c: Likewise.
3868 * resolv/res_query.c: Likewise.
3869 * resolv/res_init.c: Likewise.
3870 (res_setoptions): Mark internal.
3871 * resolv/res_send.c: Likewise.
3872 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
3873 by using poll instead.
3874 * resolv/res_comp.c: Likewise.
3875 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
3876 weak alias for __dn_expand.
3877 * resolv/res_data.c: Likewise.
3878 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
3879 in _res.options. Avoids a potential security risk by avoiding a
3880 close (0).
3881 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
3882 res_mkquery, res_query, res_querydomain adn res_search weak
3883 aliases for __res_mkquery, __res_query, __res_querydomain and
3884 __res_search.
3885 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
3886 instead to avoid close(0).
3887 (res_init): Always use the static resolver context.
3888 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
3889 alias for __res_init.
3890
3891 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
3892 RES_SET_H_ERRNO and accompanying comment to...
3893 * include/resolv.h: ... here.
3894
3895 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
3896 * resolv/arpa/nameser_compat.h: Likewise.
3897
3898 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3899
3900 * nss/makedb.c (main): Compare result of load_db with
3901 NSS_STATUS_SUCCESS and not 0.
3902 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
3903
3904 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
3905
3906 2000-07-18 Greg McGary <greg@mcgary.org>
3907
3908 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
3909 (EXTEND_BUFFER): Use it.
3910
3911 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3912
3913 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
3914 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
3915 __builtin_return_address.
3916 * dlfcn/dlopenold.c: Likewise.
3917 * dlfcn/dlsym.c: Likewise.
3918 * dlfcn/dlvsym.c: Likewise.
3919 * elf/dl-profstub.c: Likewise.
3920 * malloc/malloc.c: Likewise.
3921 * sysdeps/generic/machine-gmon.h: Likewise.
3922 Based on a patch by schwidefsky@de.ibm.com.
3923
3924 2000-07-18 Andreas Jaeger <aj@suse.de>
3925
3926 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
3927 NULL to elf_machine_fixup_plt t argument to silence GCC.
3928
3929 * include/string.h: Add prototype for __memchr.
3930
3931 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
3932
3933 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
3934 instead of memrchr.
3935
3936 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3937
3938 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
3939
3940 * locale/C-ctype.c: Add initializers for gap elements.
3941 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
3942 for gap elements.
3943
3944 2000-07-16 Ulrich Drepper <drepper@redhat.com>
3945
3946 * nscd/nscd.c (print_version): Update copyright year.
3947
3948 2000-07-17 Greg McGary <greg@mcgary.org>
3949
3950 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
3951 keyletters F, I, S, W. Remove unused keyletter V. Surround
3952 signature argnames with angle-brackets for use as word delimiters,
3953 and to induce syntax errors for any args not handled. Split
3954 multi-echo echoes and comment each stage.
3955 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
3956 * sysdeps/unix/inet/syscalls.list: Likewise.
3957 * sysdeps/unix/mman/syscalls.list: Likewise.
3958 * sysdeps/unix/syscalls.list: Likewise.
3959 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3960 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3961 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3962 * sysdeps/unix/sysv/syscalls.list: Likewise.
3963 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
3964
3965 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
3966 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
3967 qualifiers. Don't check NULL-terminator of argv & envp.
3968 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
3969 unbounded pointer type in word-size assertion.
3970 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
3971 cases to stifle warnings.
3972
3973 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
3974 _IO_file_attach.
3975 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3976
3977 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
3978 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
3979 ptr as __unbouned.
3980
3981 * Makerules (o-objects): Supplement with $(o-objects$o).
3982 * string/Makefile (o-objects.ob): Add variable to pull
3983 unbounded versions of memcpy, memset and memchr into libc_b.
3984
3985 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
3986 rather than non-existent __ubp_memchr.
3987 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
3988 (_CHECK_STRING, _CHECK_N): New macros.
3989 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
3990 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
3991 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
3992 Add weak alias "memchr".
3993 * sysdeps/generic/memchr.c: Likewise.
3994 * sysdeps/i386/memchr.S: Likewise.
3995 * sysdeps/ia64/memchr.S: Likewise.
3996 * sysdeps/m68k/memchr.S: Likewise.
3997 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3998 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3999 * sysdeps/vax/memchr.s: Likewise.
4000
4001 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4002
4003 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4004 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4005 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4006 __BOUNDED_POINTERS__.
4007 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4008 for __BOUNDED_POINTERS__.
4009
4010 2000-07-17 Bruno Haible <haible@clisp.cons.org>
4011
4012 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4013 field of struct __gconv_trans_data differently. Don't pass NULL to
4014 trans_init_fct. Simplify list append operation.
4015
4016 2000-07-14 Bruno Haible <haible@clisp.cons.org>
4017
4018 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4019 not only those having tsearch.
4020
4021 2000-07-17 Ulrich Drepper <drepper@redhat.com>
4022
4023 * locale/langinfo.h: Add placeholder values in enum for removed
4024 LC_CTYPE entries.
4025
4026 2000-07-17 Jakub Jelinek <jakub@redhat.com>
4027
4028 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4029 chain if the PHDR check fails.
4030
4031 2000-07-17 Mark Kettenis <kettenis@gnu.org>
4032
4033 * nss/getent.c (print_hosts): Make sure we always print a space
4034 between numeric addresses and hostnames.
4035
4036 2000-07-17 Wolfram Gloger <wg@malloc.de>
4037
4038 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4039 i.e. if n_mmaps_max>0.
4040
4041 2000-07-16 Mark Kettenis <kettenis@gnu.org>
4042
4043 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4044 values to remove possible clash with other AI_* constants.
4045 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4046 hexadecimal constants to stress the fact they're in fact
4047 bit flags.
4048
4049 2000-07-15 Mark Kettenis <kettenis@gnu.org>
4050
4051 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
4052 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
4053 instead of res_init.
4054
4055 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4056
4057 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
4058 parameters of memset calls to avoid warnings.
4059
4060 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4061
4062 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
4063 necessary.
4064
4065 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
4066 Patch by Greg McGary <greg@mcgary.org>.
4067
4068 * io/Makefile (tests): Add tst-getcwd.
4069 * io/tst-getcwd.c: New file.
4070
4071 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4072
4073 2000-07-15 Jakub Jelinek <jakub@redhat.com>
4074
4075 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
4076 structure.
4077
4078 2000-07-13 Jakub Jelinek <jakub@redhat.com>
4079
4080 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4081 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4082
4083 2000-07-12 H.J. Lu <hjl@gnu.org>
4084
4085 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4086 GLIBC_2.2.
4087 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4088 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4089 (sysdep-routines): Add clone2.
4090 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4091
4092 2000-07-13 Jes Sorensen <jes@linuxcare.com>
4093
4094 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4095 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4096
4097 2000-06-05 David Mosberger <davidm@hpl.hp.com>
4098
4099 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4100 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4101 Change type of si_band from "int" to "long".
4102 (si_imm) [USE_GNU]: Define
4103 (si_isr) [USE_GNU]: Ditto.
4104 (ILL_BREAK) [USE_GNU]: Ditto.
4105 (FPE_DECOVF) [USE_GNU]: Ditto.
4106 (FPE_DECDIV) [USE_GNU]: Ditto.
4107 (FPE_DECERR) [USE_GNU]: Ditto.
4108 (FPE_INVASC) [USE_GNU]: Ditto.
4109 (FPE_INVDEC) [USE_GNU]: Ditto.
4110 (TRAP_BRANCH) [USE_GNU]: Ditto.
4111 (TRAP_HWBKPT) [USE_GNU]: Ditto.
4112
4113 2000-07-06 Jes Sorensen <jes@linuxcare.com>
4114
4115 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4116 bits/sigcontext as struct mcontext does not depend on it.
4117
4118 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4119
4120 2000-07-04 Jes Sorensen <jes@linuxcare.com>
4121
4122 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4123
4124 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4125
4126 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4127
4128 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4129
4130 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4131
4132 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4133
4134 * intl/Makefile (test-srcs): Add tst-translit.
4135 (tests): Likewise.
4136 Add rules to build and run tst-translit.
4137 * intl/tst-translit.c: New file.
4138 * intl/tst-translit.sh: New file.
4139 * intl/translit.po: New file.
4140
4141 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4142
4143 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4144 transliteration function did its job, continue, don't stop.
4145
4146 * iconvdata/iso646.c: Little optimizations in body for conversion
4147 from UCS4.
4148
4149 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4150
4151 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4152
4153 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4154
4155 * configure.in: Check for pwd binary.
4156 * config.make.in: Add PWD_P to be subsituted.
4157 * Makerules: Use $(PWD_P) instead of /bin/pwd.
4158
4159 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4160
4161 * iconvdata/Makefile (modules): Add GB18030.
4162 (distribute): Add gb18030.c.
4163 * iconvdata/gconv-modules: Add entries for GB18030 module.
4164 * iconvdata/gb18030.c: New file.
4165 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4166 and Wu Jian.
4167
4168 2000-07-13 Andreas Jaeger <aj@suse.de>
4169
4170 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4171 patch.
4172
4173 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4174 * inet/getnetgrent.c (free_mem): Likewise.
4175 * misc/mntent.c (free_mem): Likewise.
4176 * nss/getXXbyYY.c (free_mem): Likewise.
4177 * nss/getXXent.c (free_mem): Likewise.
4178 * pwd/fgetpwent.c (free_mem): Likewise.
4179 * shadow/fgetspent.c (free_mem): Likewise.
4180
4181 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4182
4183 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4184 64-bit architecture correctly [PR libc/1794].
4185
4186 2000-07-13 Ulrich Drepper <drepper@redhat.com>
4187
4188 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4189 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4190 report that we are out of memory.
4191 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4192 * elf/dl-libc.c (dlerror_run): Likewise.
4193 * elf/dl-open.c (_dl_open): Likewise.
4194 * elf/rtld.c (dl_main): Likewise.
4195 * elf/dl-error.c: Define _dl_out_of_memory.
4196 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4197 the error string.
4198 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4199 [PR libc/1813].
4200
4201 * dlfcn/dlerror.c (free_key_mem): Also free error string.
4202
4203 * iconv/loop.c: Fix comment.
4204
4205 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4206
4207 2000-07-13 Andreas Jaeger <aj@suse.de>
4208
4209 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4210 getcwd (NULL, size) with size > 0.
4211 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4212
4213 2000-07-13 Andreas Jaeger <aj@suse.de>
4214
4215 * posix/Makefile: Remove build rules for libposix.
4216
4217 2000-07-13 Andreas Schwab <schwab@suse.de>
4218
4219 * sysdeps/generic/glob.c (glob): Fix memory leak.
4220 [SHELL]: Remove reference to undefined variable `files'.
4221 Fixes PR libc/1782.
4222
4223 2000-07-13 Andreas Jaeger <aj@suse.de>
4224
4225 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4226 functions.
4227
4228 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4229 memory if it was allocated.
4230
4231 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4232
4233 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4234 step.
4235
4236 * iconv/gconv_open.c (__gconv_open): Reapply
4237 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4238
4239 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4240
4241 * iconv/gconv_open.c: Undo last two changes for now. They break
4242 everything.
4243
4244 2000-07-12 Andreas Jaeger <aj@suse.de>
4245
4246 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4247 compiler.
4248 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4249 (CFLAGS-dl-cache.c): Likewise.
4250 (CFLAGS-ldconfig.c): Added, passes directory locations.
4251
4252 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4253 locate cache.
4254 * elf/ldconfig.c (LD_SO_CONF): Likewise.
4255 (main): Use configured LIBDIR and SLIBDIR.
4256
4257 2000-07-11 Jakub Jelinek <jakub@redhat.com>
4258
4259 * math/bits/cmathcalls.h (cimag): Add __THROW.
4260 (creal, conj): Likewise.
4261 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4262 by negative value.
4263
4264 2000-07-12 H.J. Lu <hjl@gnu.org>
4265
4266 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4267 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4268
4269 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4270
4271 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4272 it is wrong.
4273
4274 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4275
4276 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4277
4278 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4279
4280 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4281 __modname.
4282
4283 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4284
4285 * iconv/gconv_open.c (__gconv_open): Initialize
4286 result->__steps[cnt].__data.
4287
4288 2000-07-12 Mark Kettenis <kettenis@gnu.org>
4289
4290 * nss/getent.c (services_keys): Pass port number in network byte
4291 order in call to getservbyport.
4292
4293 2000-07-11 Andreas Jaeger <aj@suse.de>
4294
4295 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4296 source dir.
4297 * intl/Makefile (do-gettext-test): Likewise.
4298 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4299
4300 2000-07-11 Andreas Schwab <schwab@suse.de>
4301
4302 * Makeconfig (run-program-prefix): New rule.
4303 (built-program-cmd): Use run-program-prefix.
4304
4305 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4306
4307 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4308 and NOEXPR unconditionally available.
4309
4310 2000-07-12 Greg McGary <greg@mcgary.org>
4311
4312 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4313 * sysdeps/posix/open64.c: Likewise.
4314 * sysdeps/generic/fegetenv.c: Likewise.
4315 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4316 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4317 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4318 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4319 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4320 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4321
4322 2000-07-11 Greg McGary <greg@mcgary.org>
4323
4324 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4325 Add extra level of macro expansion.
4326 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4327 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4328 is available at the time `select' prototype is declared.
4329 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4330 Collect non-versioned weak aliases. Consider only non-versioned
4331 aliases for the user-visible systemcall name. Do checks inline with
4332 call to primitive system call.
4333 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4334 stand-alone bounds checks to suppress unused value warnings.
4335 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4336
4337 2000-07-10 Mark Kettenis <kettenis@gnu.org>
4338
4339 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4340 file descriptor checking in SUID programs for the Hurd.
4341
4342 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4343 res_hostalias instead of __hostalias for thread-safety.
4344
4345 2000-07-09 Mark Kettenis <kettenis@gnu.org>
4346
4347 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4348 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4349
4350 2000-07-10 Ulrich Drepper <drepper@redhat.com>
4351
4352 * include/features.h: Include ISO C99 features if the compiler used
4353 is an ISO C99 compiler.
4354 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4355
4356 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4357
4358 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4359
4360 2000-07-10 Andreas Jaeger <aj@suse.de>
4361
4362 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4363 it's overridden by libpthreads.
4364 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4365 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4366 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4367 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4368 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4369
4370 * malloc/Makefile: Run tst-mtrace only with shared libs.
4371
4372 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4373 with shared libs.
4374
4375 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4376
4377 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4378 that gpreg really points to the GOT section of the calling object.
4379 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4380 checking a start address of first one.
4381 Fix typos.
4382 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4383 Likewise.
4384
4385 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4386
4387 2000-07-10 Andreas Jaeger <aj@suse.de>
4388
4389 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4390 (string_alias->strong_alias).
4391
4392 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4393
4394 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4395
4396 2000-07-07 Greg McGary <greg@mcgary.org>
4397
4398 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4399 have no names without leading underscores.
4400
4401 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4402
4403 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4404 U007E.
4405
4406 * stdio-common/Makefile (tests): Remove tst-printf here...
4407 (tests-srcs): ...and add it here.
4408 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4409 Add rules to run tst-printf.sh.
4410 * stdio-common/tst-printf.c: Move code around so that there is really
4411 no further output where it's stated.
4412 * stdio-common/tst-printf.sh: New file.
4413
4414 2000-07-07 Mark Kettenis <kettenis@gnu.org>
4415
4416 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4417 (do_write): Renamed from pwrite.
4418 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4419 `struct _IO_cookie_file'.
4420
4421 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4422
4423 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4424 detected.
4425 * malloc/tst-mtrace.sh: Run mtrace script.
4426
4427 2000-07-07 Greg McGary <greg@mcgary.org>
4428
4429 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4430 Move all three components of a bounded pointer.
4431
4432 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4433
4434 * locale/programs/locale.c (write_locales): Don't simply add all
4435 directories found in the subdir, test whether at least the
4436 LC_CTYPE file is in there.
4437
4438 2000-07-06 Ulrich Drepper <drepper@redhat.com>
4439
4440 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4441 * iconvdata/euc-kr.c: Likewise.
4442
4443 * stdio-common/vfprintf.c (process_string_arg): Check result of
4444 wcrtomb call and bail out if it failed.
4445
4446 * malloc/Makefile (test-srcs): Add tst-mtrace.
4447 (distribute): Add tst-mtrace.sh.
4448 Add rule to run tst-mtrace.sh.
4449 * malloc/tst-mtrace.c: New file.
4450 * malloc/tst-mtrace.sh: New file.
4451
4452 * include/signal.h: Declare __libc_sigaction.
4453 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4454 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4455 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4456 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4457 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4458 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4459 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4460
4461 * configure.in: Fix CFLAGS-memprofstat.c definition after
4462 2000-06-19 change.
4463 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4464
4465 2000-07-06 Jakub Jelinek <jakub@redhat.com>
4466
4467 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4468 instead of NULL to elf_machine_fixup_plt t argument.
4469 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4470 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4471 cast.
4472
4473 2000-07-06 Andreas Jaeger <aj@suse.de>
4474
4475 * crypt/Makefile (LDLIBS-cert): Removed.
4476 (LDLIBS-md5c-test): Removed.
4477 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4478 ($(objpfx)md5c-test): Likewise for md5c-test.out.
4479
4480 2000-07-06 Andreas Jaeger <aj@suse.de>
4481
4482 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4483 of the proc system is "proc".
4484
4485 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
4486 thread library for static programs.
4487
4488 2000-07-06 Greg McGary <greg@mcgary.org>
4489
4490 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4491 New macros.
4492 * sysdeps/generic/strcpy.c: Add bounds checks.
4493 * sysdeps/unix/fxstat.c: Likewise.
4494 * sysdeps/unix/xstat.c: Likewise.
4495 * sysdeps/unix/common/lxstat.c: Likewise.
4496 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4497 * sysdeps/unix/sysv/linux/execve.c: Likewise.
4498 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4499 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4500 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4501 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4502 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4503 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4504 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4505 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4506 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4507 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4508 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4509 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4510 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4511 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4512 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4513 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4514 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4515 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4516 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4517 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4518 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4519 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4520 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4521 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4522 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4523 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4524 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4525 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4526 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4527 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4528 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4529 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4530 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4531 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4532 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4533 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4534 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4535 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4536 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4537 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4538 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4539 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4540 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4541 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4542 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4543 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4544 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4545 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4546 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4547 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4548 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4549 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4550 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4551 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4552 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4553 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4554 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4555 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4556 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4557 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4558 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4559 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4560
4561 * string/endian.h (__LONG_LONG_PAIR): New macro.
4562 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4563 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4564 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4565 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4566 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4567 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4568 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4569 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4570 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4571 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4572 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4573 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4574
4575 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
4576
4577 2000-07-06 Andreas Jaeger <aj@suse.de>
4578
4579 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4580 Initialize result.
4581
4582 * math/test-fpucw.c: Include <stdio.h> for printf.
4583
4584 2000-07-05 Greg McGary <greg@mcgary.org>
4585
4586 * sysdeps/generic/bp-checks.h: New file.
4587 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
4588 with list of #include files.
4589 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4590 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
4591 Don't generate BP thunk if `V' appears in signature.
4592 Generate thunks with complete bounds checks.
4593 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
4594 * sysdeps/unix/inet/syscalls.list: Likewise.
4595 * sysdeps/unix/mman/syscalls.list: Likewise.
4596 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4597 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4598 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4599 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4600
4601 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4602
4603 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
4604 result. Search first in /etc/mtab (proc/mounts would be stupid).
4605 If mount not in the file fall back on /proc.
4606
4607 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
4608 string got copied in.
4609 Patch by Solar Designer <solar@false.com>.
4610
4611 2000-07-05 Andreas Jaeger <aj@suse.de>
4612
4613 * manual/install.texi (Installation): Update information about
4614 add-ons.
4615 (Configuring and compiling): Update for glibc 2.2.
4616
4617 2000-07-04 Andreas Jaeger <aj@suse.de>
4618
4619 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
4620 (_FPU_IEEE): Likewise.
4621
4622 * math/Makefile (tests): Add test-fpucw.
4623
4624 * math/test-fpucw.c (main): New file.
4625
4626 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4627
4628 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
4629
4630 * locale/programs/ld-collate.c (collate_output): Also write out the
4631 collation sequence values and the wide character string for the
4632 collation symbol table.
4633
4634 * posix/fnmatch.c: Include "../locale/elem-hash.h".
4635 * posix/fnmatch_loop.c: Implement collating symbol handling.
4636 * posix/tst-fnmatch.input: Add more tests, especially for collating
4637 symbol handling.
4638
4639 * posix/regex.c: Fix comment.
4640
4641 2000-07-05 Andreas Jaeger <aj@suse.de>
4642
4643 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
4644 (_FPU_GETCW): Remove extra colon.
4645 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4646
4647 * posix/fnmatch_loop.c (FCT): Only declare len if
4648 !WIDE_CHAR_VERSION to silence GCC.
4649
4650 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
4651 prototype.
4652 * sysdeps/generic/strchrnul.c: Likewise.
4653 * sysdeps/generic/strlen.c: Likewise.
4654 * sysdeps/generic/strchr.c: Likewise.
4655 * sysdeps/generic/memchr.c: Likewise.
4656
4657 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4658
4659 * posix/fnmatch_loop.c: Implement equivalence class handling.
4660 * posix/tst-fnmatch.input: Add tests for equivalence class
4661 handling.
4662
4663 * posix/fnmatch_loop.c: Improve performance for single-byte
4664 character sets by not using btowc.
4665
4666 * posix/tst-fnmatch.input: Add tests for locale dependent
4667 behaviour.
4668 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
4669
4670 * posix/tst-fnmatch.input: Add more test cases.
4671
4672 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
4673 are not aligned to alignof(md5_uint32) do it before calling
4674 __md5_process_bytes.
4675 * crypt/md5.c: Make sure buffers are aligned.
4676 * crypt/md5.h: Likewise.
4677 Reported by Solar Designer <solar@false.com>.
4678
4679 * crypt/Makefile: Add dependencies for test programs.
4680
4681 * Rules: Define LC_ALL=C in environments of all programs we run.
4682
4683 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
4684
4685 2000-07-03 H.J. Lu <hjl@gnu.org>
4686
4687 * locale/programs/ld-ctype.c (ctype_output): The size of iov
4688 is 2 + elem + offset, not 2 + elem + offset + 2.
4689
4690 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4691
4692 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
4693 suite.
4694 * posix/Makefile (tests): Add tst-fnmatch.
4695 (tst-fnmatch-ENV): Define.
4696 * posix/tst-fnmatch.c: New file.
4697 * posix/tst-fnmatch.sh: New file.
4698
4699 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
4700
4701 * locale/programs/charmap.c (charmap_read): Prepend
4702 the condition filename == NULL.
4703
4704 2000-07-03 Greg McGary <greg@mcgary.org>
4705
4706 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
4707
4708 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
4709 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
4710
4711 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
4712 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
4713 (FILEBUF_LITERAL): Add cast for CHAIN init.
4714 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
4715 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4716 Revert type of `fp' to _IO_FILE*.
4717 (_IO_iter_file): Remove cast.
4718 (_IO_iter_next): Elide intermediate member reference.
4719
4720 * sysdeps/powerpc/strchr.S: Check bounds.
4721 Wrap extern symbols in BP_SYM ().
4722
4723 2000-07-03 Andreas Jaeger <aj@suse.de>
4724
4725 * dlfcn/Makefile (generated): New.
4726
4727 2000-07-03 Ulrich Drepper <drepper@redhat.com>
4728
4729 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
4730 (__uflow): Likewise.
4731 (__underflow): Likewise.
4732 * libio/wgenops.c (__wunderflow): Likewise.
4733 * stdio-common/tst-unbputc.c: New file.
4734 * stdio-common/tst-unbputc.sh: New file.
4735 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
4736
4737 * po/en_GB.po: New file.
4738 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
4739
4740 2000-07-01 Andreas Jaeger <aj@suse.de>
4741
4742 * intl/Makefile (generated-dirs): New.
4743
4744 * elf/Makefile (generated): trusted-dirs.h is always generated,
4745 move out of build-shared condition.
4746 (generated): Merge the two entries for build-shared.
4747
4748 2000-07-01 Ulrich Drepper <drepper@redhat.com>
4749
4750 * debug/Makefile (distribute): Add xtrace.sh.
4751
4752 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4753
4754 * version.h (VERSION): Bump to 2.1.91.
4755
4756 * configure.in: Update warning comment. glibc should not be
4757 broken anymore.
4758
4759 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
4760 ioperm.c, sys/procfs.h, and sys/io.h.
4761
4762 * sysdeps/powerpc/Dist: Add bp-asm.h.
4763
4764 * assert/Depend: Add localedata.
4765 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
4766 (test-assert-perr-ENV): New. Define LANGUAGE=C.
4767
4768 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
4769 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
4770 relocation address to prevent unaligned trap.
4771 Suggested by Richard Henderson <rth@cygnus.com>.
4772
4773 2000-06-30 Jakub Jelinek <jakub@redhat.com>
4774
4775 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
4776 if redirecting and either redirection is done using defines or
4777 not optimizing.
4778
4779 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4780
4781 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
4782 generated expressions.
4783 Patch by Darren McClelland <dmcclell@zetec.com>.
4784
4785 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
4786 since zic uses setlocale and gettext but we cannot make it use the
4787 new locale data since zic calls a shell which might not use the
4788 new libc.
4789
4790 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
4791 handling the internation currency symbol. POSIX says that the
4792 fourth character is used to separate the currency symbol from the
4793 value. Therefore it does not have to be printed. But we cannot
4794 remove the space if the currency symbol is printed before the
4795 number since this is what many locales expect.
4796
4797 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
4798 whether this information is available.
4799
4800 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
4801 buffers in case the translation is too large. Remember allocated
4802 memory blocks in a list.
4803 (free_mem): Free memory for translations.
4804
4805 * intl/tst-gettext.c: Use correct locale. Improve error messages.
4806
4807 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
4808 information is available set the string length to zero.
4809
4810 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
4811
4812 2000-06-30 Greg McGary <greg@mcgary.org>
4813
4814 * sysdeps/powerpc/bp-asm.h: New file.
4815 * sysdeps/powerpc/__longjmp.S: Check bounds.
4816 Wrap extern symbols in BP_SYM ().
4817 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4818 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4819 * sysdeps/powerpc/setjmp.S: Likewise.
4820 * sysdeps/powerpc/add_n.S: Likewise.
4821 * sysdeps/powerpc/addmul_1.S: Likewise.
4822 * sysdeps/powerpc/lshift.S: Likewise.
4823 * sysdeps/powerpc/rshift.S: Likewise.
4824 * sysdeps/powerpc/mul_1.S: Likewise.
4825 * sysdeps/powerpc/sub_n.S: Likewise.
4826 * sysdeps/powerpc/submul_1.S: Likewise.
4827 * sysdeps/powerpc/strlen.S: Likewise.
4828 * sysdeps/powerpc/memset.S: Likewise.
4829 * sysdeps/powerpc/stpcpy.S: Likewise.
4830 * sysdeps/powerpc/strcmp.S: Likewise.
4831 * sysdeps/powerpc/strcpy.S: Likewise.
4832 * sysdeps/powerpc/elf/bzero.S: Likewise.
4833
4834 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
4835 Line up operands column with tabs.
4836
4837 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4838
4839 * elf/Makefile (LDFLAGS-origtest): Actually add it.
4840
4841 * sysdeps/ia64/htonl.S: New file.
4842 * sysdeps/ia64/htons.S: New file.
4843 * sysdeps/ia64/memcpy.S: Replace with version which does not use
4844 floating point registers.
4845 Patches by Dan Pop <Dan.Pop@cern.ch>.
4846
4847 2000-06-30 Andreas Jaeger <aj@suse.de>
4848
4849 * posix/Makefile (tests): tst-exec and tst-spawn only work with
4850 shared libraries.
4851
4852 * io/Makefile (CFLAGS-test-lfs.c): New.
4853 (tests): Add test-lfs.
4854
4855 * io/test-lfs.c: New file.
4856
4857 2000-06-30 Jakub Jelinek <jakub@redhat.com>
4858
4859 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
4860 instruction.
4861
4862 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
4863
4864 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
4865
4866 2000-06-29 Jes Sorensen <jes@linuxcare.com>
4867
4868 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
4869 alias to the fstatfs call.
4870
4871 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
4872 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
4873
4874 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
4875 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
4876
4877 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
4878 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
4879 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
4880 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
4881
4882 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
4883 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
4884
4885 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
4886 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
4887
4888 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
4889 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
4890
4891 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
4892
4893 2000-06-29 Andreas Jaeger <aj@suse.de>
4894
4895 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
4896 with syslog.
4897 (print_err_message): Likewise.
4898 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
4899
4900 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4901
4902 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
4903 used as words is properly aligned.
4904
4905 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
4906 data files.
4907
4908 2000-06-29 Greg McGary <greg@mcgary.org>
4909
4910 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
4911 * sysdeps/unix/make-syscalls.sh: Handle signatures of
4912 length 7..9, just in case...
4913 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
4914
4915 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
4916 (POP_ERRNO_LOCATION_RETURN): Fold insns.
4917 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
4918 (PUSH_SIGNAL_MASK): New macro.
4919 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
4920 LEAVE is unnecessary. Check bounds of jmp_buf.
4921 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
4922 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
4923 immediately before tail-call.
4924 * sysdeps/i386/setjmp.S: Likewise.
4925 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4926 * sysdeps/i386/bsd-setjmp.S: Likewise.
4927
4928 2000-06-29 Jakub Jelinek <jakub@redhat.com>
4929
4930 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
4931 versioned_symbol.
4932 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
4933 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
4934 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
4935 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4936 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
4937 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
4938 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
4939 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
4940
4941 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4942
4943 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
4944 we later need to calling free().
4945 Patch by Matt Wilson <msw@redhat.com>.
4946
4947 * stdio-common/tst-printf.c: Add test for above problem.
4948
4949 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
4950
4951 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
4952 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
4953
4954 2000-06-28 Jes Sorensen <jes@linuxcare.com>
4955
4956 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
4957 prototype for abs().
4958 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
4959
4960 2000-06-23 Andreas Jaeger <aj@suse.de>
4961
4962 * config.h.in: Don't use regparm with bounded pointers.
4963
4964 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4965
4966 * stdlib/grouping.h: Correctly handle multibyte thousands
4967 separator and decimal point.
4968 * stdlib/stdtod.c: Likewise.
4969 * sysdeps/generic/strtol.c: Likewise.
4970
4971 * locale/categories.def: Add entries for wide character decimal point
4972 and thousands separator in numeric and monetary category.
4973
4974 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4975
4976 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
4977 second definition and initialization of decimal.
4978
4979 2000-06-28 Greg McGary <greg@mcgary.org>
4980
4981 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
4982 out.
4983 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
4984 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
4985 in.
4986 (_IO_JUMPS): Don't cast THIS--expect arg to be a
4987 (struct _IO_FILE_plus *).
4988 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
4989 THIS, since _IO_JUMPS no longer does it implicitly.
4990 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
4991 arg type as (struct _IO_FILE_plus *).
4992 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
4993 arg as (_IO_strfile *).
4994 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
4995 Declare 1st arg as (_IO_strfile *).
4996 * libio/fileops.c (_IO_new_file_init): Declare
4997 arg type as (struct _IO_FILE_plus *).
4998 * libio/oldfileops.c (_IO_old_file_init): Likewise.
4999 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5000 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5001 Declare iteration pointer as (struct _IO_FILE_plus *).
5002 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5003 (struct _IO_FILE_plus *).
5004 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5005 * libio/oldstdfiles.c (_IO_list_all): Likewise.
5006 (_IO_check_libio): Set user-visible handles to
5007 (struct _IO_FILE_plus *).
5008 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5009 to (struct _IO_FILE_plus *).
5010
5011 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5012 whose high bound includes vtable to all functions that will use
5013 vtable. For streambufs, pass pointer whose bounds include struct
5014 _IO_strfile.
5015 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5016 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5017 * libio/iofopen.c (_IO_new_fopen): Likewise.
5018 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5019 * libio/iofopen64.c (_IO_fopen64): Likewise.
5020 * libio/iopopen.c (_IO_new_popen): Likewise.
5021 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5022 * libio/memstream.c (open_memstream): Likewise.
5023 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5024 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5025 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5026 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5027 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5028 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5029 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5030 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5031 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5032 * stdlib/strfmon.c (__strfmon_l): Likewise.
5033 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5034 (vfprintf): Qualify computed-goto targets as unbounded.
5035
5036 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5037
5038 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5039 thousands separator correctly.
5040
5041 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5042 * stdio-common/vfwscanf.c: Likewise.
5043
5044 2000-06-27 Jes Sorensen <jes@linuxcare.com>
5045
5046 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5047 count into signatures for most calls.
5048
5049 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5050
5051 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
5052 the generic parser now.
5053
5054 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5055
5056 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
5057 table entries are 32 bit on the ia64 (as specified by the ABI),
5058 not 64 bit as on the Alpha.
5059
5060 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
5061 change of objects to use 32 bit hash table indices (see above).
5062
5063 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5064
5065 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
5066 prototype for abs().
5067
5068 2000-06-28 Wolfram Gloger <wg@malloc.de>
5069
5070 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5071 fails, try mmap_chunk() as a last resort even though n_mmaps_max
5072 may have been reached.
5073
5074 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5075
5076 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5077 symbols in multi-character weights correctly.
5078
5079 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5080 depending on whether the input string is empty or not.
5081
5082 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5083 given state and not avoiding this by modifying a local object.
5084 * wcsmbs/wcrtomb.c: Likewise.
5085
5086 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5087 object since some incomplete characters might be in there.
5088
5089 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
5090 sequences with first byte 0x8e correctly.
5091
5092 * iconvdata/jis0208.h: Remove redundant test.
5093
5094 2000-06-27 Ulrich Drepper <drepper@redhat.com>
5095
5096 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5097 Add it where it is needed now.
5098
5099 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5100 the input charset into account when generating the hash table.
5101 (allocate_arrays): Correct setting default width. Not all empty slots
5102 in the table are filled, only those not covert explicitly by the
5103 locale description and in the charset.
5104
5105 * wctype/towctrans.c (__towctrans): Be graceful and accept error
5106 return values from the wctrans function.
5107
5108 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5109 wide character version.
5110 For %C handling, test correct pointer variable for NULL.
5111
5112 * wcsmbs/wctob.c: Handle WEOF special.
5113
5114 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5115
5116 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
5117 always-true test to avoid warning.
5118
5119 2000-06-27 Greg McGary <greg@mcgary.org>
5120
5121 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5122 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5123 (symbol_version, default_symbol_version): Factor redundant
5124 definitions out of conditional.
5125
5126 2000-06-27 Jakub Jelinek <jakub@redhat.com>
5127
5128 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5129 not obstack_blank.
5130
5131 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5132
5133 * include/libc-symbols.h (symbol_version): Add extra level of
5134 macro expansion.
5135 (default_symbol_version): Likewise.
5136
5137 2000-06-26 Greg McGary <greg@mcgary.org>
5138
5139 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5140 for BP return value & push implicit struct-return pointer to
5141 __errno_location.
5142 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5143 (SYSCALL_ERROR_HANDLER): Likewise.
5144 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5145 (SYSCALL_ERROR_HANDLER): Likewise.
5146
5147 * Makeconfig: Add missing comment.
5148 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5149 BP-flavored startup object.
5150 ($(objpfx)b$(start-installed-name)): New rule.
5151 * include/libc-symbols.h (symbol_set_declare): Change type
5152 of `__start_##set' and `__stop_##set' to pointer-to-function.
5153 (symbol_set_declare): Change type of `set' to array of
5154 pointer-to-function.
5155 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5156 pointer-to-function.
5157
5158 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5159
5160 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5161 Remove clock_* and timer_* entries.
5162 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5163 arg-count with signatures.
5164
5165 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5166 Check bounds of arguments.
5167 * sysdeps/i386/addmul_1.S: Likewise.
5168 * sysdeps/i386/lshift.S: Likewise.
5169 * sysdeps/i386/mul_1.S: Likewise.
5170 * sysdeps/i386/rshift.S: Likewise.
5171 * sysdeps/i386/sub_n.S: Likewise.
5172 * sysdeps/i386/submul_1.S: Likewise.
5173 * sysdeps/i386/i586/add_n.S: Likewise.
5174 * sysdeps/i386/i586/addmul_1.S: Likewise.
5175 * sysdeps/i386/i586/lshift.S: Likewise.
5176 * sysdeps/i386/i586/rshift.S: Likewise.
5177 * sysdeps/i386/i586/sub_n.S: Likewise.
5178 * sysdeps/i386/i686/add_n.S: Likewise.
5179
5180 * sysdeps/i386/memchr.S: Likewise.
5181 * sysdeps/i386/memcmp.S: Likewise.
5182 * sysdeps/i386/rawmemchr.S: Likewise.
5183 * sysdeps/i386/i586/bzero.S: Likewise.
5184 * sysdeps/i386/i586/memcpy.S: Likewise.
5185 * sysdeps/i386/i586/mempcpy.S: Likewise.
5186 * sysdeps/i386/i586/memset.S: Likewise.
5187 * sysdeps/i386/i686/bzero.S: Likewise.
5188 * sysdeps/i386/i686/memcpy.S: Likewise.
5189 * sysdeps/i386/i686/mempcpy.S: Likewise.
5190 * sysdeps/i386/i686/memset.S: Likewise.
5191
5192 * sysdeps/i386/stpcpy.S: Likewise.
5193 * sysdeps/i386/stpncpy.S: Likewise.
5194 * sysdeps/i386/strchr.S: Likewise.
5195 * sysdeps/i386/strchrnul.S: Likewise.
5196 * sysdeps/i386/strcspn.S: Likewise.
5197 * sysdeps/i386/strpbrk.S: Likewise.
5198 * sysdeps/i386/strrchr.S: Likewise.
5199 * sysdeps/i386/strspn.S: Likewise.
5200 * sysdeps/i386/strtok.S: Likewise.
5201 * sysdeps/i386/strtok_r.S: Likewise.
5202 * sysdeps/i386/i486/strcat.S: Likewise.
5203 * sysdeps/i386/i486/strlen.S: Likewise.
5204 * sysdeps/i386/i586/strchr.S: Likewise.
5205 * sysdeps/i386/i586/strcpy.S: Likewise.
5206 * sysdeps/i386/i586/strlen.S: Likewise.
5207 * sysdeps/i386/i686/strcmp.S: Likewise.
5208 * sysdeps/i386/i686/strtok.S: Likewise.
5209 * sysdeps/i386/i686/strtok_r.S: Likewise.
5210
5211 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5212 * sysdeps/i386/fpu/fesetenv.c: Likewise.
5213 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5214 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5215 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5216
5217 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5218 * sysdeps/i386/mul_1.S: Likewise.
5219 * sysdeps/i386/submul_1.S: Likewise.
5220 * sysdeps/i386/i586/add_n.S: Likewise.
5221 * sysdeps/i386/i586/addmul_1.S: Likewise.
5222 * sysdeps/i386/i586/lshift.S: Likewise.
5223 * sysdeps/i386/i586/mul_1.S: Likewise.
5224 * sysdeps/i386/i586/rshift.S: Likewise.
5225 * sysdeps/i386/i586/sub_n.S: Likewise.
5226 * sysdeps/i386/i586/submul_1.S: Likewise.
5227
5228 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5229
5230 * rt/Makefile (librt-routines): Add clock_nanosleep.
5231 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5232 * sysdeps/generic/clock_nanosleep.c: New file.
5233 * sysdeps/unix/clock_nanosleep.c: New file.
5234 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5235 * time/time.h: Declare clock_nanosleep.
5236
5237 2000-06-26 Greg McGary <greg@mcgary.org>
5238
5239 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5240 INSN1, INSN2, TEXT, GLOBL): Remove macros.
5241 (ALIGN): Cleanup surrounding conditionals.
5242
5243 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5244 Call ENTER/LEAVE macros.
5245 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5246 * sysdeps/i386/submul_1.S: Likewise.
5247
5248 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5249 syntax. Define & use symbolic argument stack offsets. Call
5250 ENTER/LEAVE macros.
5251 * sysdeps/i386/i586/mul_1.S: Likewise.
5252 * sysdeps/i386/i586/submul_1.S: Likewise.
5253
5254 2000-06-25 Greg McGary <greg@mcgary.org>
5255
5256 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5257 not as bcopy.
5258
5259 2000-06-25 Ulrich Drepper <drepper@redhat.com>
5260
5261 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5262 * iconvdata/gen-8bit-gap.sh: Likewise.
5263 * iconvdata/gen-8bit.sh: Likewise.
5264
5265 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5266
5267 * locale/programs/ld-collate.c (collate_read): Don't actually read
5268 the copy locale if we are ignoring the content.
5269
5270 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5271 unknown character.
5272
5273 * locale/programs/ld-collate.c: Correct handling of different
5274 collation sections.
5275 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5276 as extra parameter from which to copy category information.
5277 Change all callers.
5278 (load_locale): Likewise.
5279 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5280 and load_locale.
5281 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5282 * locale/programs/locfile.h: Likewise.
5283 * locale/programs/locfile-kw.gperf: Add entry for script.
5284 * locale/programs/locfile-token.h: Add tok_script.
5285
5286 * locale/programs/locale.c: Update copyright year.
5287 * locale/programs/localedef.c: Likewise.
5288
5289 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
5290
5291 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5292 Jens Moeller <jens.moeller@waii.com>.
5293
5294 2000-06-24 Ulrich Drepper <drepper@redhat.com>
5295
5296 * locale/programs/ld-name.c (name_finish): Add missing format
5297 specifier to test for name_fmt.
5298
5299 * locale/programs/ld-address.c (iso639): Correct length of string
5300 elements.
5301 (iso3166): Likewise.
5302
5303 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5304
5305 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5306 Define.
5307
5308 * elf/elf.h (NT_PRFPXREG): Define.
5309
5310 2000-06-23 Ulrich Drepper <drepper@redhat.com>
5311
5312 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5313 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5314
5315 2000-06-23 Andreas Schwab <schwab@suse.de>
5316
5317 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5318 with signatures.
5319
5320 2000-06-23 Andreas Jaeger <aj@suse.de>
5321
5322 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5323
5324 * io/test-stat.c: Add copyright header, mention Maciej.
5325
5326 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5327 SYS_mincore, SYS_madvise): Added.
5328
5329 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5330 execve.
5331
5332 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5333
5334 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5335 (CFLAGS-tst_putwc.c): New definition.
5336 * libio/tst_getwc.c: New file.
5337 * libio/tst_getwc.input: New file.
5338 * libio/tst_putwc.c: New file.
5339
5340 * include/string.h: Add prototype for __strdup.
5341
5342 2000-06-22 Greg McGary <greg@mcgary.org>
5343
5344 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5345 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5346 Fix signatures.
5347
5348 2000-06-23 Jes Sorensen <jes@linuxcare.com>
5349
5350 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5351
5352 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5353
5354 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5355
5356 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5357
5358 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5359 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5360
5361 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5362
5363 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5364 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5365 and __S_TYPEISSHM.
5366 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5367 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5368 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5369 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5370 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5371 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5372 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5373 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5374 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5375 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5376 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5377 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5378 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5379 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5380 S_TYPEISSHM.
5381
5382 2000-06-22 Andreas Jaeger <aj@suse.de>
5383
5384 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5385 with signatures.
5386
5387 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5388
5389 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5390
5391 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5392
5393 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5394 ahead.
5395
5396 2000-06-21 Greg McGary <greg@mcgary.org>
5397
5398 * Makerules (elide-routines.*, elide-bp-thunks):
5399 Define unconditionally.
5400
5401 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5402
5403 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5404
5405 2000-06-21 Andreas Jaeger <aj@suse.de>
5406
5407 * io/Makefile (tests): Add test-stat.
5408 (CFLAGS-test-stat.c): New.
5409
5410 * io/test-stat.c: New file from Maciej W. Rozycki
5411 <macro@ds2.pg.gda.pl>.
5412
5413 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5414
5415 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5416 in __rlimit_resource to make them match the kernel order.
5417 rlim_t is always 64 bit, use __rlim64_t to declare it
5418 unconditionally.
5419
5420 2000-05-04 Jes Sorensen <jes@linuxcare.com>
5421
5422 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5423 RLIM_INFINITY before defining it to avoid clash with kernel header
5424
5425 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5426
5427 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5428
5429 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5430
5431 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5432
5433 2000-06-21 Andreas Jaeger <aj@suse.de>
5434
5435 * stdio-common/temptest.c: Include <stdlib.h>.
5436 * stdio-common/tst-fileno.c: Likewise.
5437 * stdio-common/scanf4.c: Likewise.
5438 * stdio-common/scanf5.c: Likewise.
5439 * time/clocktest.c: Likewise.
5440 * posix/test-vfork.c: Likewise.
5441 * posix/globtest.c: Likewise.
5442 * io/test-utime.c: Likewise.
5443 * wctype/test_wcfuncs.c: Likewise.
5444 * crypt/cert.c: Likewise.
5445
5446 * stdio-common/tst-printfsz.c: Include <string.h>.
5447 * libio/tst_swscanf.c: Likewise.
5448 * libio/tst_wscanf.c: Likewise.
5449 * posix/runtests.c: Likewise.
5450 * posix/tst-getaddrinfo.c: Likewise.
5451 * posix/wordexp-test.c: Likewise.
5452 * misc/tst-efgcvt.c: Likewise.
5453
5454 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5455 * nss/test-netdb.c: Likewise.
5456
5457 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5458 supported kernel for MIPS.
5459
5460 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5461 * rt/aio_suspend.c: Likewise.
5462
5463 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5464
5465 * math/libm-test.inc: Include <string.h>.
5466
5467 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5468
5469 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5470
5471 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5472
5473 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5474 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5475
5476 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
5477
5478 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5479
5480 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5481
5482 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5483
5484 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5485
5486 * locale/programs/ld-collate.c (insert_value): Now take string and
5487 length instead of struct token* parameter. Adjust use of token.
5488 (handle_ellipsis): Likewise.
5489 (collate_read): Allow <Uxxxx> names and transform them into names
5490 to be passed to insert_value and handle_ellipsis.
5491
5492 * locale/programs/ld-ctype.c (uninames): New array with names of
5493 digits in <Uxxxxxxxx> format.
5494 (ctype_finish): Correct search for space character value. Likewise
5495 for default outdigits values.
5496
5497 2000-06-20 Greg McGary <greg@mcgary.org>
5498
5499 * Makerules (objects): Add BP thunks.
5500
5501 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5502
5503 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5504 in width definitions.
5505
5506 2000-06-20 Andreas Jaeger <aj@suse.de>
5507
5508 * sysdeps/mips/fpu/libm-test-ulps: New file.
5509
5510 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5511 first.
5512
5513 * sysdeps/mips/fpu/feholdexcpt.c: New file.
5514
5515 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5516
5517 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5518
5519 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5520 change in gconv_builtin.h.
5521
5522 * malloc/Makefile: Change all references to memprof into memusage.
5523 * malloc/memprof.c: Rename to...
5524 * malloc/memusage.c: ...this. New file.
5525 * malloc/memprof.sh: Rename to...
5526 * malloc/memusage.sh: ...this. New file.
5527 * malloc/memprofstat.c: Rename to...
5528 * malloc/memusagestat.c: ...this. New file.
5529 * sysdeps/alpha/memprof.h: Rename to..
5530 * sysdeps/alpha/memusage.h: ...this. New file.
5531 * sysdeps/arm/memprof.h: Rename to..
5532 * sysdeps/arm/memusage.h: ...this. New file.
5533 * sysdeps/generic/memprof.h: Rename to..
5534 * sysdeps/generic/memusage.h: ...this. New file.
5535 * sysdeps/i386/memprof.h: Rename to..
5536 * sysdeps/i386/memusage.h: ...this. New file.
5537 * sysdeps/ia64/memprof.h: Rename to..
5538 * sysdeps/ia64/memusage.h: ...this. New file.
5539 * sysdeps/m68k/memprof.h: Rename to..
5540 * sysdeps/m68k/memusage.h: ...this. New file.
5541 * sysdeps/mips/memprof.h: Rename to..
5542 * sysdeps/mips/memusage.h: ...this. New file.
5543 * sysdeps/powerpc/memprof.h: Rename to..
5544 * sysdeps/powerpc/memusage.h: ...this. New file.
5545 * sysdeps/sparc/memprof.h: Rename to..
5546 * sysdeps/sparc/memusage.h: ...this. New file.
5547 * sysdeps/sh/memprof.h: Rename to..
5548 * sysdeps/sh/memusage.h: ...this. New file.
5549
5550 * elf/sprof.c (print_version): Update year.
5551
5552 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5553 table entry values. Use D_PTR.
5554 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5555 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
5556
5557 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5558
5559 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5560 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5561 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5562 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5563
5564 2000-05-05 Jes Sorensen <jes@linuxcare.com>
5565
5566 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
5567
5568 2000-06-16 Jes Sorensen <jes@linuxcare.com>
5569
5570 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
5571 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
5572 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
5573
5574 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
5575
5576 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
5577 kernel change.
5578
5579 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
5580 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
5581 structure.
5582 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
5583 implementation.
5584
5585 2000-06-15 Jes Sorensen <jes@linuxcare.com>
5586
5587 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
5588
5589 2000-06-08 Jes Sorensen <jes@linuxcare.com>
5590
5591 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
5592
5593 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5594
5595 * iconv/gconv_int.h (strict gconv_module): Remove all members
5596 associated with regular expressions. Use a simple string as the
5597 from name.
5598 * iconv/gconv_db.c: Remove code handling regular expressions.
5599 * iconv/gconv_conf.c: Likewise.
5600 * iconv/iconv_prog.c: Likewise.
5601 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
5602
5603 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
5604 General namespace cleanup.
5605 (struct __gconv_trans_data): Add next field.
5606 (struct __gconv_step_data): Make __trans a pointer.
5607 * iconv/gconv_conf.c: Split out code to find gconv directories from
5608 __gconv_read_conf in new functions.
5609 * iconv/gconv_int.h: Define new data structure and declare new
5610 functions for handling of gconv directory list.
5611 * iconv/gconv_open.c: Allow more than one error handling step being
5612 used. Call function to load error handling module if it is none
5613 of the builtin transformations.
5614 * iconv/gconv_close.c: Add code to free transliteration data.
5615 * iconv/gconv_trans.c: Add functions to load and unload modules
5616 implementing transliteration etc.
5617 * iconv/skeleton.c: Call all context functions now that more than
5618 one module is allowed.
5619 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
5620 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
5621 where the full error handling using transliteration is needed.
5622 * iconvdata/8bit-gap.c: Likewise.
5623 * iconvdata/8bit-generic.c: Likewise.
5624 * iconvdata/ansi_x3.110.c: Likewise.
5625 * iconvdata/big5.c: Likewise.
5626 * iconvdata/big5hkscs.c: Likewise.
5627 * iconvdata/euc-cn.c: Likewise.
5628 * iconvdata/euc-jp.c: Likewise.
5629 * iconvdata/euc-kr.c: Likewise.
5630 * iconvdata/euc-tw.c: Likewise.
5631 * iconvdata/gbgbk.c: Likewise.
5632 * iconvdata/gbk.c: Likewise.
5633 * iconvdata/iso-2022-cn.c: Likewise.
5634 * iconvdata/iso-2022-jp.c: Likewise.
5635 * iconvdata/iso-2022-kr.c: Likewise.
5636 * iconvdata/iso646.c: Likewise.
5637 * iconvdata/iso8859-1.c: Likewise.
5638 * iconvdata/iso_6937-2.c: Likewise.
5639 * iconvdata/iso_6937.c: Likewise.
5640 * iconvdata/johab.c: Likewise.
5641 * iconvdata/sjis.c: Likewise.
5642 * iconvdata/t.61.c: Likewise.
5643 * iconvdata/uhc.c: Likewise.
5644 * iconvdata/unicode.c: Likewise.
5645 * iconvdata/utf-16.c: Likewise.
5646 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
5647 structure correctly after last change.
5648 * wcsmbs/btowc.c: Likewise.
5649 * wcsmbs/mbrtowc.c: Likewise.
5650 * wcsmbs/mbsnrtowcs.c: Likewise.
5651 * wcsmbs/mbsrtowcs.c: Likewise.
5652 * wcsmbs/wcrtomb.c: Likewise.
5653 * wcsmbs/wcsnrtombs.c: Likewise.
5654 * wcsmbs/wcsrtombs.c: Likewise.
5655 * wcsmbs/wctob.c: Likewise.
5656
5657 * localedata/Makefile: Set -Wno-format for some files since gcc does
5658 not know all the format specifiers.
5659
5660 2000-06-18 Ulrich Drepper <drepper@redhat.com>
5661
5662 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
5663 unneeded code.
5664 * locale/lc-time.c (_nl_init_era_entries): Likewise.
5665
5666 2000-06-18 Andreas Jaeger <aj@suse.de>
5667
5668 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
5669 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5670
5671 2000-06-17 Ulrich Drepper <drepper@redhat.com>
5672
5673 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
5674 LINUX_LINK_MAX.
5675 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
5676
5677 * locale/programs/ld-ctype.c (ctype_output): Really write out
5678 mboutdigits information.
5679 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
5680 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
5681 * localedata/tests/trans.def: Add outdigit information.
5682
5683 * localedata/tst-mbswcs3.c: Remove comment.
5684
5685 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
5686 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
5687 * libio/tst_wprintf.c (main): Add test for I flag.
5688
5689 * iconv/gconv_trans.c: Implement handling if translit_ignore.
5690 * locale/langinfo.h: Add entries for translit_ignore information.
5691 * locale/categories.def: Add entries for new LC_CTYPE elements.
5692 * locale/C-ctype.c: Add initializers for new fields. Use NULL
5693 pointer instead of "" where possible.
5694 * locale/programs/ld-ctype.c: Write out translit_ignore information.
5695 * intl/Depend: Add localedata.
5696 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
5697 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
5698
5699 2000-06-16 Ulrich Drepper <drepper@redhat.com>
5700
5701 * locale/langinfo.h: Add entries for default_missing information.
5702 * locale/C-ctype.c: Add initializers for new fields.
5703 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
5704 information.
5705 * locale/categories.h: Add entries for all LC_CTYPE values.
5706 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
5707 information.
5708
5709 * localedata/tst-trans.c: Write out an error message if class is
5710 not found.
5711
5712 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
5713 * iconv/gconv_open.c: Remove error handling specification from `from'
5714 character set name.
5715 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
5716 new parameter to always enable transliteration.
5717 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
5718 change.
5719 (struct locale_data): Add new members use_translit and options.
5720 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
5721 character set name contained modifier TRANSLIT.
5722 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
5723 and options fields.
5724 (_nl_unload_locale): Free options string if necessary.
5725 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
5726 the locale names suggested this.
5727 * locale/C-address.c: Add two new initialilzers to adjust data
5728 structure for new format.
5729 * locale/C-collate.c: Likewise.
5730 * locale/C-ctype.c: Likewise.
5731 * locale/C-identification.c: Likewise.
5732 * locale/C-measurement.c: Likewise.
5733 * locale/C-messages.c: Likewise.
5734 * locale/C-monetary.c: Likewise.
5735 * locale/C-name.c: Likewise.
5736 * locale/C-numeric.c: Likewise.
5737 * locale/C-paper.c: Likewise.
5738 * locale/C-telephone.c: Likewise.
5739 * locale/C-time.c: Likewise.
5740
5741 * locale/setlocale.c: Add some more __builtin_expect.
5742
5743 2000-06-15 Ulrich Drepper <drepper@redhat.com>
5744
5745 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
5746 unsigned char **.
5747 (__gconv_init_fct): Remove two parameters.
5748 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
5749 gconv_transliterate. Remove two parameters.
5750 Change prototypes of builtin functions according to __gconv_fct change.
5751 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
5752 != NULL only during error handling. Stop in this case after the
5753 conversion.
5754 * iconv/gconv_trans.c: Replace with real implementation for
5755 __gconv_transliterate.
5756 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
5757 * iconv/gconv.c: Change calls to downstream functions once again.
5758 Use NULL for the fifth parameter instead of pointer to output buffer.
5759 * libio/iofwide.c: Likewise.
5760 * wcsmbs/btowc.c: Likewise.
5761 * wcsmbs/mbrtowc.c: Likewise.
5762 * wcsmbs/mbsnrtowcs.c: Likewise.
5763 * wcsmbs/mbsrtowcs.c: Likewise.
5764 * wcsmbs/wcrtomb.c: Likewise.
5765 * wcsmbs/wcsnrtombs.c: Likewise.
5766 * wcsmbs/wcsrtombs.c: Likewise.
5767 * wcsmbs/wctob.c: Likewise.
5768 * iconv/gconv_simple.c: Remove two parameters from error handling
5769 function call.
5770 * iconvdata/8bit-gap.c: Likewise.
5771 * iconvdata/8bit-generic.c: Likewise.
5772 * iconvdata/ansi_x3.110.c: Likewise.
5773 * iconvdata/big5.c: Likewise.
5774 * iconvdata/big5hkscs.c: Likewise.
5775 * iconvdata/euc-cn.c: Likewise.
5776 * iconvdata/euc-jp.c: Likewise.
5777 * iconvdata/euc-kr.c: Likewise.
5778 * iconvdata/euc-tw.c: Likewise.
5779 * iconvdata/gbgbk.c: Likewise.
5780 * iconvdata/gbk.c: Likewise.
5781 * iconvdata/iso-2022-cn.c: Likewise.
5782 * iconvdata/iso-2022-jp.c: Likewise.
5783 * iconvdata/iso-2022-kr.c: Likewise.
5784 * iconvdata/iso646.c: Likewise.
5785 * iconvdata/iso8859-1.c: Likewise.
5786 * iconvdata/iso_6937-2.c: Likewise.
5787 * iconvdata/iso_6937.c: Likewise.
5788 * iconvdata/johab.c: Likewise.
5789 * iconvdata/sjis.c: Likewise.
5790 * iconvdata/t.61.c: Likewise.
5791 * iconvdata/uhc.c: Likewise.
5792 * iconvdata/unicode.c: Likewise.
5793 * iconvdata/utf-16.c: Likewise.
5794
5795 2000-06-15 Greg McGary <greg@mcgary.org>
5796
5797 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
5798 of callnum assignment. Tolerate callnum expressions containing
5799 parens.
5800
5801 2000-06-14 Ulrich Drepper <drepper@redhat.com>
5802
5803 * login/Makefile (utmpd): Remove rule to build utmpd.
5804
5805 * csu/Versions: Move libgcc frame handling functions from here...
5806 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
5807 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
5808 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
5809 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
5810 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
5811 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
5812 New file.
5813 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
5814
5815 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
5816
5817 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
5818
5819 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5820
5821 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
5822 compatibility.
5823 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
5824 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
5825 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
5826 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
5827
5828 2000-06-14 Jakub Jelinek <jakub@redhat.com>
5829
5830 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
5831 defined, terminate quotes and read them after the comment char.
5832 * configure.in (HAVE_SECTION_QUOTES): Test whether
5833 __attribute__((section ("x"))) puts quotes around x or not.
5834 * config.h.in (HAVE_SECTION_QUOTES): Add.
5835 * configure: Rebuilt.
5836
5837 2000-06-14 Andreas Jaeger <aj@suse.de>
5838
5839 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
5840 depending on the configure option --sysconfdir.
5841 Closes PR libc/1762.
5842 Patch by Andreas Schwab <schwab@suse.de>.
5843
5844 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
5845 entry point.
5846 Reported by Jim Pick <jim@jimpick.com>.
5847
5848 2000-06-14 Ulrich Drepper <drepper@redhat.com>
5849
5850 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
5851 crashing the application. Emit some simple error message.
5852 Reported by mju@panasas.com [PR libc/1769].
5853
5854 2000-06-13 Ulrich Drepper <drepper@redhat.com>
5855
5856 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
5857
5858 * crypt/Makefile (distribute): Add md5.h.
5859
5860 * Makefile (distribute): Add include/shlib-compat.h.
5861
5862 * Make-dist: Search for tests also in sysdeps hierachy.
5863
5864 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
5865 ufc.c, speeds.c, README.ufc-crypt, and Banner.
5866
5867 * sysdeps/sparc/Subdirs: New file.
5868
5869 * locale/Makefile (distribute): Add weightwc.h and
5870 programs/localedef.h.
5871
5872 * time/Makefile (distribute): Add datemsk.
5873
5874 * sysdeps/ia64/Dist: Add softpipe.h.
5875
5876 * sysdeps/unix/sysv/aix/Dist: New file.
5877
5878 * posix/setpgrp.c: Moved to...
5879 * sysdeps/generic/setpgrp.c: ...here. New file.
5880 * io/mknod.c: Moved to...
5881 * sysdeps/generic/mknod.c: ...here. New file.
5882
5883 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
5884
5885 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
5886
5887 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
5888
5889 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
5890 gprsave0.S, gprrest1.S, and gprrest0.S.
5891
5892 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
5893
5894 * posix/Makefile (routines): Add spawnattr_getsigmask,
5895 spawnattr_getschedpolicy, spawnattr_getschedparam,
5896 spawnattr_setsigmask, spawnattr_setschedpolicy, and
5897 spawnattr_setschedparam.
5898 * posix/Versions: Add posix_spawnattr_getschedpolicy,
5899 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
5900 posix_spawnattr_setschedparam.
5901
5902 * posix/spawnattr_setschedparam.c: Fix typo.
5903
5904 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
5905 Correct typo.
5906
5907 * login/programs/utmpd.c: Removed.
5908 * login/programs/utmpd.h: Removed.
5909 * login/programs/utmpd-private.h: Removed.
5910
5911 * Makefile (distribute): Add include/db_185.h and include/db.h.
5912
5913 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
5914 iso-ir-165.h.
5915
5916 * elf/Makefile (distribute): Add missing files.
5917
5918 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
5919 * elf/eval.c: Moved to...
5920 * dlfcn/eval.c: ...here. New file.
5921
5922 * Makefile (distribute): Also distribute ChangeLog.1?.
5923
5924 * Make-dist (+tsrcs): Remove .args handling here as well.
5925
5926 * rt/Makefile (tests): Add tst-timer.
5927 * sysdeps/generic/tst-timer.c: New file.
5928
5929 * Makerules (sources): Don't add BP sources here.
5930
5931 * login/Makefile (distribute): Remove xtmp.h.
5932
5933 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
5934 is true. Reported by Bruno Haible <haible@ilog.fr>.
5935
5936 2000-06-13 Andreas Jaeger <aj@suse.de>
5937
5938 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
5939 Patch by Ralf Baechle <ralf@gnu.org>.
5940
5941 2000-06-13 Ulrich Drepper <drepper@redhat.com>
5942
5943 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
5944 for mincore syscall.
5945
5946 * misc/sys/cdefs.h: Define __bounded and __unbounded if
5947 __BOUNDED_POINTERS__ is not defined.
5948
5949 2000-06-07 Greg McGary <greg@mcgary.org>
5950
5951 * sysdeps/generic/bp-sym.h: New file.
5952 * sysdeps/generic/bp-start.h: New file.
5953 * sysdeps/i386/elf/start.S: Designate BP symbols.
5954 * sysdeps/generic/libc-start.c: Wrap bounds around
5955 argv & envp and each of their string members.
5956
5957 2000-06-07 Greg McGary <greg@mcgary.org>
5958
5959 * sysdeps/unix/make-syscalls.sh: Add comments to
5960 output that aid debugging & comprehension.
5961 Map simple syscall signatures to number of args.
5962 Generate BP syscall thunk definitions.
5963 * sysdeps/generic/bp-thunks.h: New file.
5964 * sysdeps/unix/syscalls.list: Replace arg-count with
5965 simple return+arg signature.
5966 * sysdeps/unix/common/syscalls.list: Likewise.
5967 * sysdeps/unix/inet/syscalls.list: Likewise.
5968 * sysdeps/unix/mman/syscalls.list: Likewise.
5969 * sysdeps/unix/sysv/syscalls.list: Likewise.
5970 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5971 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5972
5973 2000-06-07 Greg McGary <greg@mcgary.org>
5974
5975 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
5976 for all files *.[cS].
5977 (CFLAGS-.ob): Don't optimize sibling calls.
5978 (bppfx): New variable.
5979 * Makerules (elide-bp-thunks): New variable.
5980 (elide-routines.*): Elide BP-* files for all but *.ob.
5981 (sources): Include bp-thunks.
5982
5983 2000-06-12 Ulrich Drepper <drepper@redhat.com>
5984
5985 * iconv/gconv_simple.c: Remove unnecessary prototype.
5986
5987 * iconv/gconv_trans.c: Pretty print.
5988
5989 * elf/elf.h (R_SH_NUM): Got accidently dropped.
5990
5991 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
5992 minimal kernel versions. Add information about IA-64 kernel.
5993
5994 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
5995 specific minimal supported kernel versions to be specified.
5996
5997 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
5998 step data structure.
5999 * wcsmbs/btowc.c: Likewise.
6000 * wcsmbs/mbrtowc.c: Likewise.
6001 * wcsmbs/mbsnrtowcs.c: Likewise.
6002 * wcsmbs/mbsrtowcs.c: Likewise.
6003 * wcsmbs/wcrtomb.c: Likewise.
6004 * wcsmbs/wcsnrtombs.c: Likewise.
6005 * wcsmbs/wcsrtombs.c: Likewise.
6006 * wcsmbs/wctob.c: Likewise.
6007
6008 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6009 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6010
6011 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6012
6013 * misc/sys/cdefs.h: Remove one more __P.
6014
6015 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6016 Reported by HJ Lu.
6017
6018 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6019 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6020 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6021
6022 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6023 Yutaka Niibe <gniibe@chroot.org>
6024
6025 * configure.in: Add machine sh3, sh4.
6026 * elf/elf.h: Add SH specific declarations of relocations.
6027 * shlib-versions: Add sh*-*-linux* cases.
6028
6029 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6030
6031 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6032 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
6033 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6034 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6035 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
6036 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6037
6038 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6039 instead of KERNEL_MATH_EMULATION.
6040 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6041 KERNEL_MATH_EMULATION.
6042
6043 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
6044 * sysdeps/sh/sh3/dl-machine.h: Moved to...
6045 * sysdeps/sh/dl-machine.h: ...here. New file.
6046 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6047 and include generic SH version.
6048 * sysdeps/sh/sh3/bits/endian.h: Move to...
6049 * sysdeps/sh/bits/endian.h: ...here. New file.
6050 * sysdeps/sh/sh4/bits/endian.h: Removed.
6051 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
6052 * sysdeps/sh/bits/huge_val.h: ...here. New file.
6053 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
6054
6055 * include/libc-symbols.h (link_warning): Work around a change in
6056 GAS which warns about changing section attributes.
6057 Proposed by Nick Clifton <nickc@redhat.com>.
6058
6059 2000-06-12 H.J. Lu <hjl@gnu.org>
6060
6061 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
6062
6063 2000-06-11 H.J. Lu <hjl@gnu.org>
6064
6065 * sysdeps/i386/fpu/Versions: New file.
6066
6067 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6068
6069 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6070 parameters.
6071 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6072 exists.
6073
6074 2000-06-12 Jes Sorensen <jes@linuxcare.com>
6075
6076 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6077 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6078 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6079
6080 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6081 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6082 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6083
6084 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6085 Yutaka Niibe <gniibe@chroot.org>
6086
6087 * sysdeps/sh/Dist: New file.
6088 * sysdeps/sh/Implies: New file.
6089 * sysdeps/sh/elf/initfini.c: New file.
6090 * sysdeps/sh/gmp-mparam.h: New file.
6091 * sysdeps/sh/init-first.c: New file.
6092 * sysdeps/sh/machine-gmon.h: New file.
6093 * sysdeps/sh/memcpy.S: New file.
6094 * sysdeps/sh/memprof.h: New file.
6095 * sysdeps/sh/memset.S: New file.
6096 * sysdeps/sh/sh3/__longjmp.S: New file.
6097 * sysdeps/sh/sh3/bits/endian.h: New file.
6098 * sysdeps/sh/sh3/bits/huge_val.h: New file.
6099 * sysdeps/sh/sh3/bits/setjmp.h: New file.
6100 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6101 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6102 * sysdeps/sh/sh3/dl-machine.h: New file.
6103 * sysdeps/sh/sh3/setjmp.S: New file.
6104 * sysdeps/sh/sh4/__longjmp.S: New file.
6105 * sysdeps/sh/sh4/bits/endian.h: New file.
6106 * sysdeps/sh/sh4/bits/huge_val.h: New file.
6107 * sysdeps/sh/sh4/bits/setjmp.h: New file.
6108 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6109 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6110 * sysdeps/sh/sh4/dl-machine.h: New file.
6111 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6112 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6113 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6114 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6115 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6116 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6117 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6118 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6119 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6120 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6121 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6122 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6123 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6124 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6125 * sysdeps/sh/sh4/setjmp.S: New file.
6126 * sysdeps/sh/elf/start.S: New file.
6127 * sysdeps/sh/sys/ucontext.h: New file.
6128 * sysdeps/sh/strlen.S: New file.
6129 * sysdeps/sh/sysdep.h: New file.
6130 * sysdeps/unix/sh/sysdep.S: New file.
6131 * sysdeps/unix/sh/sysdep.h: New file.
6132 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6133 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6134 * sysdeps/unix/sysv/linux/sh/Versions: New file.
6135 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6136 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6137 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6138 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6139 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6140 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6141 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6142 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6143 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6144 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6145 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6146 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6147 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6148 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6149 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6150 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6151 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6152 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6153 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6154 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6155 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6156 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6157 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6158 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6159 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6160 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6161 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6162 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6163 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6164 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6165 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6166 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6167 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6168 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6169 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6170 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6171 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6172 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6173 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6174 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6175 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6176 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6177 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6178 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6179 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6180 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6181 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6182
6183 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6184
6185 * Rules (%.out): Define GCONV_PATH in the environment.
6186 * assert/Depend: New file.
6187 * iconvdata/Depend: New file.
6188 * intl/Depend: New file.
6189 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6190 * intl/tst-gettext.sh: Likewise.
6191 * iconv/Makefile (routines): Add gconv_trans.
6192 * iconv/gconv_trans.c: New file.
6193 * iconv/gconv.h (struct __gconv_trans_data): New type.
6194 (__gconv_fct): New parameter with starting position in output buffer.
6195 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6196 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6197 (struct __gconv_step): Add new member __trans.
6198 * iconv/gconv_int.h: Pretty print prototypes.
6199 (gconv_transliterate): New prototype.
6200 (__BUILTIN_TRANS): Update for new conversion function interface.
6201 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6202 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6203 in names, find appropriate function, and install in the conversion
6204 steps it can be used.
6205 * iconv/skeleton.c: Add additional parameter for beginning of output
6206 buffer. Change calls of downstream functions.
6207 * iconv/loop.c: Change loop function interface completely. Pass in
6208 step and step_data structure. Remove optimization for BODY with
6209 NEED_LENGTH_TEST == 0.
6210 * iconv/gconv_simple.c: Update interfaces of functions. Insert
6211 appropriate error handling code to use transliteration steps. Remove
6212 optimization for BODY with NEED_LENGTH_TEST == 0.
6213 * iconvdata/8bit-gap.c: Likewise.
6214 * iconvdata/8bit-generic.c: Likewise.
6215 * iconvdata/ansi_x3.110.c: Likewise.
6216 * iconvdata/big5.c: Likewise.
6217 * iconvdata/big5hkscs.c: Likewise.
6218 * iconvdata/euc-cn.c: Likewise.
6219 * iconvdata/euc-jp.c: Likewise.
6220 * iconvdata/euc-kr.c: Likewise.
6221 * iconvdata/euc-tw.c: Likewise.
6222 * iconvdata/gbgbk.c: Likewise.
6223 * iconvdata/gbk.c: Likewise.
6224 * iconvdata/iso-2022-cn.c: Likewise.
6225 * iconvdata/iso-2022-jp.c: Likewise.
6226 * iconvdata/iso-2022-kr.c: Likewise.
6227 * iconvdata/iso646.c: Likewise.
6228 * iconvdata/iso8859-1.c: Likewise.
6229 * iconvdata/iso_6937-2.c: Likewise.
6230 * iconvdata/iso_6937.c: Likewise.
6231 * iconvdata/johab.c: Likewise.
6232 * iconvdata/sjis.c: Likewise.
6233 * iconvdata/t.61.c: Likewise.
6234 * iconvdata/uhc.c: Likewise.
6235 * iconvdata/unicode.c: Likewise.
6236 * iconvdata/utf-16.c: Likewise.
6237 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
6238 DL_CALL_FCT.
6239 * wcsmbs/btowc.c: Likewise.
6240 * wcsmbs/mbrtowc.c: Likewise.
6241 * wcsmbs/mbsnrtowcs.c: Likewise.
6242 * wcsmbs/mbsrtowcs.c: Likewise.
6243 * wcsmbs/wcrtomb.c: Likewise.
6244 * wcsmbs/wcsnrtombs.c: Likewise.
6245 * wcsmbs/wcsrtombs.c: Likewise.
6246 * wcsmbs/wctob.c: Likewise.
6247
6248 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6249
6250 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6251 other header files. Mention about 128-byte cache line sizes.
6252 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6253 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6254 for current calling sequence.
6255 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6256
6257 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6258 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6259
6260 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6261 and setrlimit syscalls for backwards compatibility.
6262
6263 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6264
6265 * iconv/skeleton.c: Rename converted written to correcter name
6266 irreversible.
6267 * iconv/gconv.c: Rename converted variable to correcter name
6268 irreversible.
6269 * iconv/gconv_int.h: Likewise.
6270 * iconv/gconv_simple.c: Likewise.
6271 * iconv/iconv.c: Likewise.
6272 * iconv/loop.c: Likewise.
6273 * iconvdata/8bit-gap.c: Likewise.
6274 * iconvdata/8bit-generic.c: Likewise.
6275 * iconvdata/ansi_x3.110.c: Likewise.
6276 * iconvdata/big5.c: Likewise.
6277 * iconvdata/big5hkscs.c: Likewise.
6278 * iconvdata/euc-cn.c: Likewise.
6279 * iconvdata/euc-jp.c: Likewise.
6280 * iconvdata/euc-kr.c: Likewise.
6281 * iconvdata/gbgbk.c: Likewise.
6282 * iconvdata/gbk.c: Likewise.
6283 * iconvdata/iso-2022-cn.c: Likewise.
6284 * iconvdata/iso-2022-jp.c: Likewise.
6285 * iconvdata/iso-2022-kr.c: Likewise.
6286 * iconvdata/iso646.c: Likewise.
6287 * iconvdata/iso8859-1.c: Likewise.
6288 * iconvdata/iso_6937-2.c: Likewise.
6289 * iconvdata/iso_6937.c: Likewise.
6290 * iconvdata/johab.c: Likewise.
6291 * iconvdata/sjis.c: Likewise.
6292 * iconvdata/t.61.c: Likewise.
6293 * iconvdata/uhc.c: Likewise.
6294 * iconvdata/unicode.c: Likewise.
6295 * iconvdata/utf-16.c: Likewise.
6296
6297 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6298 __cmsg_data field with __extension__.
6299
6300 2000-06-10 David Mosberger <davidm@hpl.hp.com>
6301
6302 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6303
6304 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6305
6306 * iconv/gconv_simple.c: Fix various small bugs in several
6307 functions.
6308
6309 * iconv/loop.c: Fix comment.
6310
6311 2000-06-10 Jakub Jelinek <jakub@redhat.com>
6312
6313 * elf/link.h: Remove libc internal declarations.
6314 * include/link.h: Move them here.
6315
6316 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6317
6318 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6319 Patch by Dan Pop <Dan.Pop@cern.ch>.
6320
6321 Rewrite error message handling.
6322 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6323 _dl_catch_error.
6324 * elf/dl-error (struct catch): Add objname member.
6325 (_dl_signal_error): Take new parameter with object name. When
6326 passing message on simply store object name and duplicate error
6327 message.
6328 (_dl_catch_error): Take new parameter. Store object name in the
6329 place pointed to.
6330 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6331 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6332 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6333 (dlerror): Add objname to asprintf() parameters.
6334 (_dl_error_run): Pass new parameter to _dl_catch_error.
6335 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6336 * elf/dl-open.c (_dl_open): Likewise.
6337 * elf/rtld.c (dl_main): Likewise.
6338 * elf/dl-close.c: Mark error messages with N_().
6339 * elf/dl-deps.c: Likewise.
6340 * elf/dl-error.c: Likewise.
6341 * elf/dl-load.c: Likewise.
6342 * elf/dl-open.c: Likewise.
6343 * elf/dl-reloc.c: Likewise.
6344 * elf/dl-support.c: Likewise.
6345 * elf/dl-sym.c: Likewise.
6346 * elf/dl-version.c: Likewise.
6347 * elf/dl-lookup.c: Add comments about problems with error message
6348 translations.
6349 * elf/dl-reloc.c: Likewise.
6350 * elf/dl-version.c: Likewise.
6351
6352 2000-06-09 H.J. Lu <hjl@gnu.org>
6353
6354 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6355 after freeing it.
6356
6357 * dlfcn/Makefile (distribute): Add failtestmod.c.
6358 (tests): Add failtest.
6359 Add rules to build and run failtest.
6360 * dlfcn/failtest.c: New file.
6361 * dlfcn/failtestmod.c: New file.
6362
6363 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6364
6365 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6366 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6367 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6368 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6369 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6370
6371 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6372
6373 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6374 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6375
6376 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6377 Ulrich Drepper <drepper@redhat.com>
6378
6379 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6380 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6381 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6382 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6383 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6384 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6385
6386 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6387
6388 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6389 to find correct mount point despite wrong information from the
6390 kernel.
6391
6392 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6393
6394 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6395 the address of a symbol so function pointers are handled properly.
6396
6397 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6398
6399 * sysdeps/i386/Dist: Add bp-asm.h.
6400
6401 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6402 defaultdir variable instead of "/var/shm" everywhere.
6403 (defaultdir): Change to /dev/shm/.
6404
6405 2000-06-08 Greg McGary <greg@mcgary.org>
6406
6407 * sysdeps/i386/bp-asm.h: New file.
6408 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6409 offsets. Add ENTER/LEAVE macros for optionally maintaining
6410 frame-pointer chain when debugging.
6411 * sysdeps/i386/add_n.S: Likewise.
6412 * sysdeps/i386/addmul_1.S: Likewise.
6413 * sysdeps/i386/lshift.S: Likewise.
6414 * sysdeps/i386/memchr.S: Likewise.
6415 * sysdeps/i386/memcmp.S: Likewise.
6416 * sysdeps/i386/mul_1.S: Likewise.
6417 * sysdeps/i386/rawmemchr.S: Likewise.
6418 * sysdeps/i386/rshift.S: Likewise.
6419 * sysdeps/i386/stpcpy.S: Likewise.
6420 * sysdeps/i386/stpncpy.S: Likewise.
6421 * sysdeps/i386/strchr.S: Likewise.
6422 * sysdeps/i386/strchrnul.S: Likewise.
6423 * sysdeps/i386/strcspn.S: Likewise.
6424 * sysdeps/i386/strpbrk.S: Likewise.
6425 * sysdeps/i386/strrchr.S: Likewise.
6426 * sysdeps/i386/strspn.S: Likewise.
6427 * sysdeps/i386/strtok.S: Likewise.
6428 * sysdeps/i386/sub_n.S: Likewise.
6429 * sysdeps/i386/submul_1.S: Likewise.
6430 * sysdeps/i386/elf/setjmp.S: Likewise.
6431 * sysdeps/i386/i486/strcat.S: Likewise.
6432 * sysdeps/i386/i486/strlen.S: Likewise.
6433 * sysdeps/i386/i586/add_n.S: Likewise.
6434 * sysdeps/i386/i586/lshift.S: Likewise.
6435 * sysdeps/i386/i586/memcpy.S: Likewise.
6436 * sysdeps/i386/i586/memset.S: Likewise.
6437 * sysdeps/i386/i586/rshift.S: Likewise.
6438 * sysdeps/i386/i586/strchr.S: Likewise.
6439 * sysdeps/i386/i586/strcpy.S: Likewise.
6440 * sysdeps/i386/i586/strlen.S: Likewise.
6441 * sysdeps/i386/i586/sub_n.S: Likewise.
6442 * sysdeps/i386/i686/add_n.S: Likewise.
6443 * sysdeps/i386/i686/memcpy.S: Likewise.
6444 * sysdeps/i386/i686/mempcpy.S: Likewise.
6445 * sysdeps/i386/i686/memset.S: Likewise.
6446 * sysdeps/i386/i686/strcmp.S: Likewise.
6447
6448 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6449
6450 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6451
6452 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6453 256 and don't use OPEN_MAX.
6454
6455 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6456 use it instead of LINK_MAX.
6457 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
6458
6459 2000-06-08 Andreas Jaeger <aj@suse.de>
6460
6461 * libio/genops.c (_IO_list_lock): Only compile body if we're
6462 thread safe.
6463 (_IO_list_unlock): Likewise.
6464 (_IO_list_resetlock): Likewise.
6465
6466 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6467
6468 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6469 unless user defined it.
6470
6471 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6472 if not defined by the user.
6473
6474 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6475 * libio/iofwrite.c (_IO_fwrite): Likewise.
6476
6477 * time/time.h: Add missing __THROW for clock_getcpuclockid
6478 prototype.
6479
6480 * elf/Makefile (distribute): Add dl-dtprocnum.h.
6481 * include/elf.h: Include also <dl-dtprocnum.h>.
6482 * elf/dl-deps.c: Likewise.
6483 * elf/dl-lookup.c: Likewise.
6484 * elf/dl-runtime.c: Likewise.
6485 * elf/dl-version.c: Likewise.
6486 * elf/do-rel.h: Likewise.
6487 * elf/dynamic-link.h: Likewise.
6488 * elf/link.h: Likewise.
6489 * elf/rtld.c: Likewise.
6490 * sysdeps/generic/dl-dtprocnum.h: New file.
6491 * sysdeps/ia64/dl-dtprocnum.h: New file.
6492 * sysdeps/mips/dl-dtprocnum.h: New file.
6493 * sysdeps/sparc/dl-dtprocnum.h: New file.
6494
6495 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6496
6497 * elf/do-lookup.h: Add some __builtin_expect.
6498
6499 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6500
6501 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6502 (_dl_dynamic_weak): New variable.
6503 * elf/dl-support.c: Likewise.
6504 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6505 * elf/do-lookup.h: If we find a weak definition treat it like a
6506 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
6507 case treat it like before.
6508
6509 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6510 is in main program.
6511 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6512
6513 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6514 using l_map_start and l_map_end.
6515
6516 * elf/dl-version.c: Add __builtin_expect in many places.
6517
6518 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6519 Update.
6520
6521 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
6522
6523 Lock for stdio stream list becomes global, for use in LinuxThreads.
6524
6525 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6526 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6527 _IO_list_resetlock): New interface for iterating global list of
6528 streams without accessing the _IO_list_all global variable,
6529 and for manipulating the lock which protects this list.
6530 * libio/libioP.h: Likewise.
6531 * libio/Version: Add entries for the new functions.
6532
6533 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6534 pointer to _IO_FILE.
6535
6536 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6537
6538 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6539 BIT() must actually be BITw().
6540
6541 * locale/programs/ld-ctype.c: Handle SP and space consistently.
6542
6543 * locale/programs/charmap.c: Allow string arguments for
6544 code_set_name and repertoiremap.
6545
6546 2000-06-07 Andreas Jaeger <aj@suse.de>
6547
6548 * elf/Makefile: Build ldconfig only when building shared libraries.
6549
6550 2000-06-07 Jakub Jelinek <jakub@redhat.com>
6551
6552 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6553 __USE_ISOC99.
6554 (fdimf, __fdim, fdim): Likewise.
6555
6556 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6557
6558 * locale/findlocale.c: Add __builtin_expect in many places.
6559 * locale/loadlocale.c: Likewise.
6560
6561 2000-06-06 Greg McGary <greg@mcgary.org>
6562
6563 * sysdeps/mips/elf/start.S: Trim redundant code.
6564
6565 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
6566 Use C comments throughout. Line up operands column with tabs.
6567 * sysdeps/powerpc/strchr.S: Likewise.
6568 * sysdeps/powerpc/strcmp.S: Likewise.
6569 * sysdeps/powerpc/strcpy.S: Likewise.
6570 * sysdeps/powerpc/strlen.S: Likewise.
6571
6572 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
6573 Get low part of &__curbrk with @l.
6574
6575 2000-06-06 Ulrich Drepper <drepper@redhat.com>
6576
6577 * iconvdata/utf-16.c: Add __builtin_expect in many places.
6578 * iconvdata/unicode.c: Likewise.
6579 * iconvdata/uhc.c: Likewise.
6580 * iconvdata/t.61.c: Likewise.
6581 * iconvdata/sjis.c: Likewise.
6582 * iconvdata/johab.c: Likewise.
6583 * iconvdata/iso_6937.c: Likewise.
6584 * iconvdata/iso_6937-2.c: Likewise.
6585 * iconvdata/iso8859-1.c: Likewise.
6586 * iconvdata/iso646.c: Likewise.
6587 * iconvdata/iso-2022-kr.c: Likewise.
6588 * iconvdata/iso-2022-jp.c: Likewise.
6589 * iconvdata/iso-2022-cn.c: Likewise.
6590 * iconvdata/gbgbk.c: Likewise.
6591 * iconvdata/gbk.c: Likewise.
6592 * iconvdata/euc-kr.c: Likewise.
6593 * iconvdata/euc-jp.c: Likewise.
6594 * iconvdata/euc-cn.c: Likewise.
6595
6596 2000-06-05 Ulrich Drepper <drepper@redhat.com>
6597
6598 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
6599 * iconvdata/big5.c: Likewise.
6600 * iconvdata/ansi_x3.110.c: Likewise.
6601 * iconvdata/8bit-generic.c: Likewise.
6602 * iconvdata/8bit-gap.c: Likewise.
6603 * iconv/loop.c: Likewise.
6604 * iconv/gconv_db.c: Likewise.
6605 * iconv/gconv_dl.c: Likewise.
6606 * iconv/gconv_simple.c: Likewise.
6607 * iconv/skeleton.c: Likewise.
6608
6609 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
6610 (struct __gconv_step_data): Rename __is_last to __flags.
6611 * iconv/gconv_close.c: Change all uses of __is_last.
6612 * iconv/skeleton.c: Likewise.
6613 * iconvdata/iso-2022-cn.c: Likewise.
6614 * iconvdata/iso-2022-jp.c: Likewise.
6615 * iconvdata/iso-2022-kr.c: Likewise.
6616 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
6617 Recognize IGNORE error handling, set flag, and remove from name.
6618 * iconv/loop.c (ignore_errors_p): Define.
6619 Add flags parameter to both functions.
6620 * iconv/skeleton.c: Pass flags to all conversion functions.
6621 * iconv/gconv_simple.c: Add flags parameter to all functions.
6622 Don't return error for invald error if ignore flag is set.
6623 (ucs4_internal_loop_single): Add missing pointer increment.
6624 (internal_ucs4le_loop_single): Likewise.
6625 * iconv/iconv_prog.c: Implement handling of -c parameter.
6626 * iconvdata/8bit-gap.c: Don't return error for invald error if
6627 ignore flag is set.
6628 * iconvdata/8bit-generic.c: Likewise.
6629 * iconvdata/ansi_x3.110.c: Likewise.
6630 * iconvdata/big5.c: Likewise.
6631 * iconvdata/big5hkscs.c: Likewise.
6632 * iconvdata/euc-cn.c: Likewise.
6633 * iconvdata/euc-jp.c: Likewise.
6634 * iconvdata/euc-kr.c: Likewise.
6635 * iconvdata/gbgbk.c: Likewise.
6636 * iconvdata/gbk.c: Likewise.
6637 * iconvdata/iso-2022-cn.c: Likewise.
6638 * iconvdata/iso-2022-jp.c: Likewise.
6639 * iconvdata/iso-2022-kr.c: Likewise.
6640 * iconvdata/iso646.c: Likewise.
6641 * iconvdata/iso8859-1.c: Likewise.
6642 * iconvdata/iso_6937-2.c: Likewise.
6643 * iconvdata/iso_6937.c: Likewise.
6644 * iconvdata/johab.c: Likewise.
6645 * iconvdata/sjis.c: Likewise.
6646 * iconvdata/t.61.c: Likewise.
6647 * iconvdata/uhc.c: Likewise.
6648 * iconvdata/unicode.c: Likewise.
6649 * iconvdata/utf-16.c: Likewise.
6650 * libio/fileops.c: Likewise.
6651 * libio/iofwide.c: Likewise.
6652 * wcsmbs/btowc.c: Likewise.
6653 * wcsmbs/mbrtowc.c: Likewise.
6654 * wcsmbs/mbsnrtowcs.c: Likewise.
6655 * wcsmbs/mbsrtowcs.c: Likewise.
6656 * wcsmbs/wcrtomb.c: Likewise.
6657 * wcsmbs/wcsnrtombs.c: Likewise.
6658 * wcsmbs/wcsrtombs.c: Likewise.
6659 * wcsmbs/wctob.c: Likewise.
6660
6661 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
6662 an error.
6663
6664 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6665
6666 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
6667 counter for the object we are releasing, just decrement it.
6668 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
6669
6670 2000-06-04 Jakub Jelinek <jakub@redhat.com>
6671
6672 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
6673 if -ffast-math.
6674
6675 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6676
6677 * iconvdata/big5hkscs.c: New file.
6678 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
6679
6680 * iconvdata/gconv-modules: Add entry for new module.
6681 * iconvdata/Makefile (modules): Add BIG5HKSCS.
6682 (distribute): Add big5hkscs.c.
6683
6684 2000-06-01 Jakub Jelinek <jakub@redhat.com>
6685
6686 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
6687 inlines to match prototypes in mathcalls.h.
6688 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6689 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
6690 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
6691 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6692
6693 2000-06-03 Ulrich Drepper <drepper@redhat.com>
6694
6695 * elf/elf.h (SHT_SUNW_move): Define.
6696
6697 * elf/elf.h: Add more Solaris compatiblity definitions.
6698
6699 2000-06-03 Andreas Jaeger <aj@suse.de>
6700
6701 * sysdeps/powerpc/dl-start.S: Close open comment.
6702
6703 2000-06-03 Jakub Jelinek <jakub@redhat.com>
6704
6705 * inet/Versions: Fix typo in rresvport_af export.
6706
6707 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6708
6709 * math/tgmath.h: Pretty print.
6710
6711 2000-06-02 Andreas Jaeger <aj@suse.de>
6712
6713 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
6714 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6715
6716 2000-06-02 Ulrich Drepper <drepper@redhat.com>
6717
6718 * elf/rtld.c (process_envvars): Test for = after variable name.
6719
6720 2000-06-01 Ulrich Drepper <drepper@redhat.com>
6721
6722 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
6723 have extra call to __gmon_start__, use the pointer we already have.
6724
6725 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
6726 shifting.
6727
6728 * sysdeps/i386/elf/setjmp.S: Work around change is recent
6729 binutils. gas now emits a jump through the PLT instead of a
6730 relative jump if the jump target is an exported symbol.
6731
6732 2000-05-31 Ulrich Drepper <drepper@redhat.com>
6733
6734 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
6735
6736 2000-05-31 Andreas Jaeger <aj@suse.de>
6737
6738 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
6739 gregset_t.
6740
6741 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
6742 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6743
6744 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
6745 syscall.
6746 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6747
6748 2000-05-30 Ulrich Drepper <drepper@redhat.com>
6749
6750 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
6751
6752 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
6753 * locale/localeconv.c: Make function versioned (with same definition).
6754
6755 * elf/Makefile (modules-names): Strip before using it.
6756
6757 2000-05-30 Andreas Jaeger <aj@suse.de>
6758
6759 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
6760 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
6761 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
6762 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
6763 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
6764 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
6765
6766 2000-05-29 Ulrich Drepper <drepper@redhat.com>
6767
6768 * Makefile: Add GNU make magic.
6769
6770 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
6771 Removed.
6772 * inet/rcmd.c: Remove __P. Remove unused variables.
6773 (iruserfopen): Make first parameter const.
6774 (ruserok_sa): Return result of ruserok2_sa.
6775 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
6776 * inet/rexec.c: Remove unused variables. Other small cleanups.
6777 * inet/ruserpass.c: Remove __P. Remove unused variables.
6778 (ruserpass): Check results of memory allocation.
6779 * include/netdb.h: Add prototype for ruserpass.
6780
6781 2000-05-29 Andreas Jaeger <aj@suse.de>
6782
6783 * elf/readlib.c (interpreters): Use LD_SO since this is supported
6784 for all platforms.
6785
6786 2000-05-29 Jakub Jelinek <jakub@redhat.com>
6787
6788 * inet/rcmd.c (rresvport_af): Use correct port number.
6789
6790 2000-05-26 Andreas Schwab <schwab@suse.de>
6791
6792 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
6793 entries in all-sonames.
6794 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
6795 preserving the old name if different for compatibility.
6796
6797 2000-05-29 Ulrich Drepper <drepper@redhat.com>
6798
6799 * posix/Makefile (tests): Add tst-spawn.
6800 (tst-spawn-ARGS): New variable.
6801 * posix/tst-spawn.c: New file.
6802
6803 * posix/spawn_faction_addclose.c: Correctly account for new entry.
6804 * posix/spawn_faction_adddup2.c: Likewise.
6805 * posix/spawn_faction_addopen.c: Likewise.
6806 * posix/spawni.c: Correctly test for success of dup2 calls.
6807
6808 * posix/tst-preadwrite.c: Check success of malloc call.
6809
6810 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6811
6812 * posix/Makefile (tests): Add tst-exec.
6813 (tst-exec-ARGS): New variable.
6814 * posix/tst-exec.c: New file.
6815
6816 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
6817
6818 2000-05-04 Andreas Jaeger <aj@suse.de>
6819
6820 * string/string.h: Remove __strdup prototype, it's not needed in
6821 this file anymore.
6822
6823 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6824
6825 * posix/Makefile (tests): Add tst-fork.
6826 * posix/tst-fork.c: New file.
6827
6828 * resolv/inet_pton.c: Loose __P.
6829
6830 2000-05-21 Jakub Jelinek <jakub@redhat.com>
6831
6832 * libio/libioP.h (_IO_CHECK_WIDE): Define.
6833 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
6834 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6835 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
6836 _IO_CHECK_WIDE fails.
6837
6838 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6839
6840 * po/da.po: New file.
6841
6842 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
6843 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
6844
6845 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
6846 (Other iconv Implementations): Fix typo.
6847 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
6848
6849 2000-05-27 Andreas Jaeger <aj@suse.de>
6850
6851 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
6852 normal version now.
6853 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
6854 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6855 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6856 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6857 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
6858 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
6859
6860 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
6861 endianness to decide how to pass arguments.
6862 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6863
6864 * elf/vismain.c: Use test-skeleton interface.
6865 (TEST_FUNCTION): New macro.
6866 (do_test): Renamed from main.
6867
6868 2000-05-27 Ulrich Drepper <drepper@redhat.com>
6869
6870 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
6871 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
6872
6873 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
6874 handling of AI_V4MAPPED flag.
6875
6876 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
6877 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
6878 perform lookup for T_A type and tell getanswer_r to convert the
6879 result with new argument.
6880 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
6881 Don't convert addresses from IPv4 to IPv6 here.
6882 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
6883 IPv6 is wanted. Allow qtype and type from reply to disagree if
6884 IPv4 mapping has to be done. Perform mappings if required by the
6885 caller and not if RES_USE_INET6 bit in _res.options is set.
6886 Add several __builtin_expect.
6887
6888 2000-05-26 Ulrich Drepper <drepper@redhat.com>
6889
6890 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
6891
6892 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
6893 NULL.
6894
6895 * posix/tst-preadwrite.c: Allow parallel execution of
6896 tst-preadwrite and tst-preadwrite64.
6897
6898 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
6899 * posix/tst-truncate.c: New file.
6900 * posix/tst-truncate64.c: New file.
6901
6902 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
6903 was switched.
6904
6905 * posix/Makefile (tests): Add tst-preadwrite64.
6906 * posix/tst-preadwrite.c: Alloc file being used also for testing
6907 pread64 and pwrite64.
6908 * posix/tst-preadwrite64.c: New file.
6909
6910 2000-05-26 Andreas Jaeger <aj@suse.de>
6911
6912 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
6913 of arguments dependend on endianness.
6914 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6915
6916 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
6917 normal version now.
6918 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6919 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6920 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6921 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6922
6923 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
6924 endianness to check how to pass argument.
6925 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6926
6927 * elf/ldconfig.h: Update parameter list for process_elf_file.
6928
6929 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
6930 Add parameter file_length and pass it ot process_elf*file.
6931
6932 * sysdeps/generic/readelflib.c (check_ptr): New.
6933 (process_elf_file): Use check_ptr to check all accesses to the
6934 mmapped file. Add parameter file_length.
6935
6936 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
6937 library names.
6938
6939 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
6940 Closes PR libc/1573, reported by Bradley White
6941 <bww@laurelnetworks.com>.
6942
6943 2000-05-25 Ulrich Drepper <drepper@redhat.com>
6944
6945 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
6946 __FAST_MATH__ is defined.
6947
6948 2000-05-22 Andreas Jaeger <aj@suse.de>
6949
6950 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
6951 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
6952
6953 * manual/math.texi (FP Function Optimizations): Document gcc
6954 -ffast-math behaviour with mathinlines.
6955
6956 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
6957 functions unless -ffast-math is given to gcc.
6958
6959 2000-05-23 Jakub Jelinek <jakub@redhat.com>
6960
6961 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
6962 __sincosl): Guard with __USE_GNU.
6963
6964 2000-05-24 Ulrich Drepper <drepper@redhat.com>
6965
6966 * csu/Makefile (routines): Add check_fds.
6967 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
6968 binaries. Add various __builtin_expect.
6969 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
6970 * sysdeps/generic/check_fds.c: ...here. New file.
6971
6972 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
6973 binaries if file /etc/suid-debug is available.
6974
6975 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
6976 and wcseqorder members.
6977 (struct locale_collate_t): Likewise.
6978 (collate_finish): Assign collation sequence value to each character.
6979 Create tables for output.
6980 (collate_output): Write out tables with collation sequence information.
6981 * locale/C-collate.c: Provide C locale data for collation sequence
6982 table.
6983 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
6984 _NL_COLLATE_COLLSEQWC.
6985 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
6986 _NL_COLLATE_COLLSEQWC.
6987 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
6988 include fnmatch_loop.c.
6989 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
6990 character is matched by range expression. Use collation sequence
6991 table. Outside glibc fall back on simple character value comparison.
6992
6993 2000-05-24 Andreas Jaeger <aj@suse.de>
6994
6995 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
6996 words.
6997
6998 * intl/Makefile: Run gettext-test only if msgfmt is available.
6999
7000 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7001 Define it for newer kernels.
7002
7003 2000-05-23 Ulrich Drepper <drepper@redhat.com>
7004
7005 * elf/dl-sym.c: Minor cleanups.
7006
7007 * configure.in: Add test for .protected.
7008 * config.make.in: Add have-protected variable.
7009 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7010 (tests-vis-yes): Add vismain.
7011 (modules-names): Add $(modules-vis-$(have-protected)).
7012 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7013 Add rules to generate and run vismain.
7014 * elf/vismain.c: New file.
7015 * elf/vismod1.c: New file.
7016 * elf/vismod2.c: New file.
7017 * elf/vismod3.c: New file.
7018
7019 2000-05-23 Andreas Jaeger <aj@suse.de>
7020
7021 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7022
7023 * manual/search.texi (Array Sort Function): Document that qsort is
7024 not necessarily in-place.
7025
7026 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7027 Closes PR libc/1731.
7028
7029 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7030 * dirent/scandir64.c: Likewise.
7031 * pwd/getpw.c: Likewise.
7032 * stdlib/bsearch.c (bsearch): Likewise.
7033 * stdlib/tst-strtoll.c: Likewise.
7034 * localedata/collate-test.c: Likewise.
7035 * localedata/xfrm-test.c: Likewise.
7036 * posix/bsd-getpgrp.c: Likewise.
7037 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7038 * sysdeps/generic/bits/siginfo.h: Likewise.
7039 * sysdeps/generic/bits/sockaddr.h: Likewise.
7040 * sysdeps/generic/sys/swap.h: Likewise.
7041 * sysdeps/generic/sys/sysinfo.h: Likewise.
7042 * sysdeps/generic/vfork.c: Likewise.
7043 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7044 * sysdeps/mach/hurd/fdopen.c: Likewise.
7045 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7046 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7047 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7048 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7049 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7050 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7051 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7052
7053 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
7054 * shadow/lckpwdf.c: Likewise.
7055 * stdlib/tst-strtol.c: Likewise.
7056 * sysdeps/generic/tcsetattr.c: Likewise.
7057 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7058 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7059
7060 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7061
7062 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
7063 free it and set to (void *) -1.
7064
7065 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7066
7067 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7068 not the second character in the range.
7069 * stdio-common/tstscanf.c (main): Add testcase for the above.
7070 Reported by jik@kamens.brookline.ma.us.
7071
7072 2000-05-21 H.J. Lu <hjl@gnu.org>
7073
7074 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7075 with noexec and noplt parameter.
7076 (do_lookup): Likewise.
7077
7078 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7079 do_lookup. Support STV_PROTECTED.
7080 (_dl_lookup_symbol_skip): Likewise.
7081 (_dl_lookup_versioned_symbol): Likewise.
7082 (_dl_lookup_versioned_symbol_skip): Likewise.
7083
7084 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7085
7086 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7087
7088 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7089
7090 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7091 * sysdeps/i386/bits/huge_val.h: Likewise.
7092 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7093 * sysdeps/m68k/bits/huge_val.h: Likewise.
7094 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7095 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7096
7097 2000-05-22 Andreas Jaeger <aj@suse.de>
7098
7099 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7100 change in iconv.h.
7101
7102 2000-05-19 Andreas Jaeger <aj@suse.de>
7103
7104 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7105 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7106 breaks compilation without linuxthreads.
7107
7108 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7109
7110 * sysdeps/ia64/memccpy.S: New file.
7111 * sysdeps/ia64/memchr.S: New file.
7112 * sysdeps/ia64/memcmp.S: New file.
7113 * sysdeps/ia64/memcpy.S: New file.
7114 * sysdeps/ia64/memmove.S: New file.
7115 * sysdeps/ia64/memset.S: New file.
7116 * sysdeps/ia64/strcat.S: New file.
7117 * sysdeps/ia64/strchr.S: New file.
7118 * sysdeps/ia64/strcmp.S: New file.
7119 * sysdeps/ia64/strcpy.S: New file.
7120 * sysdeps/ia64/strlen.S: New file.
7121 * sysdeps/ia64/strncmp.S: New file.
7122 * sysdeps/ia64/strncpy.S: New file.
7123 * sysdeps/ia64/softpipe.h: New file.
7124 Patches by Dan Pop <Dan.Pop@cern.ch>.
7125
7126 * manual/memory.texi: Document memory handling functions (mlock,
7127 munlock, mlockall, munlockall, brk, and sbrk)
7128 * manual/time.texi: Document timespec and friends.
7129 * manual/conf.texi: Fix references.
7130 * manual/ctype.texi: Likewise.
7131 * manual/errno.texi: Likewise.
7132 * manual/intro.texi: Likewise.
7133 * manual/locale.texi: Likewise.
7134 * manual/sysinfo.texi: Likewise.
7135 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7136
7137 2000-05-09 Jes Sorensen <jes@linuxcare.com>
7138
7139 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7140 * sysdeps/ia64/dl-lookupcfg.h: ...here.
7141
7142 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7143
7144 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7145 dxfer_direction.
7146
7147 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7148
7149 * locale/locale.h (struct lconv): Add new elements from ISO C99.
7150 * locale/localeconv.c: Initialize new elements from ISO C99.
7151 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7152 new standard elements.
7153 * locale/categories.def: Adjust accordingly.
7154
7155 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7156 * iconv/iconv.c: Likewise.
7157 * conform/data/iconv.h-data: Likewise.
7158 * iconv/iconv_prog.c (process_block): Remove const from second
7159 parameter.
7160 (main): Remove const from addr definition.
7161 * manual/charset.texi (Generic Conversion Interface): Remove from
7162 inbuf parameter of iconv.
7163
7164 * intl/dcigettext.c: Fix typo in comment.
7165
7166 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
7167
7168 * resolv/res_libc.c (_res): Initialize _sock to -1.
7169
7170 2000-05-18 Jakub Jelinek <jakub@redhat.com>
7171
7172 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7173 (fopencookie@@GLIBC_2.2): New.
7174 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7175 (fopencookie@GLIBC_2.0): New.
7176 * libio/Versions: Add fopencookie to GLIBC_2.2.
7177
7178 2000-05-18 Andreas Jaeger <aj@suse.de>
7179
7180 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7181 Closes PR libc/1731.
7182
7183 * manual/arith.texi (Parsing of Integers): Fix typo.
7184 Closes PR libc/1744, reported by blp@gnu.org.
7185
7186 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7187
7188 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7189 __extension__ to hexadecimal floating constant notation.
7190 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7191 Likewise.
7192 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7193 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7194 Likewise.
7195 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7196 HUGE_VALL): Likewise.
7197 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7198 HUGE_VALL): Likewise.
7199 (HUGE_VALL): Set to HUGE_VAL on sparc32.
7200
7201 2000-05-17 Andreas Jaeger <aj@suse.de>
7202
7203 * string/envz.h: Add pure attributes if possible.
7204
7205 * string/argz.h: argz_count is a pure function.
7206
7207 * string/strings.h: Add pure and const attributes if possible.
7208
7209 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7210 possibly searching through the whole memory.
7211 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7212
7213 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7214
7215 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7216 not yet defined.
7217 (_dl_cache_check_flags): Likewise.
7218 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7219 dl-cache.h.
7220
7221 2000-05-17 Andreas Jaeger <aj@suse.de>
7222
7223 * manual/creature.texi (Feature Test Macros): Remove paragraph
7224 since the description is wrong.
7225 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7226
7227 * scripts/config.sub: New version.
7228 * scripts/config.guess: Likewise.
7229 * manual/texinfo.tex: Likewise.
7230
7231 * time/test_time.args: Removed.
7232 * time/Makefile (test_time-ARGS): Added contents here instead.
7233
7234 * posix/tstgetopt.args: Removed.
7235 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7236
7237 * Rules: Allow arguments for test files to be specified in
7238 Makefile with testname-ARGS; remove rules with .args in it.
7239
7240 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7241 remove old bogus rule for opendir-tst1.args.
7242
7243 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7244
7245 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7246 into objdir. This allows a readonly sourcetree.
7247 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7248
7249 2000-05-16 Andreas Jaeger <aj@suse.de>,
7250 David Huggins-Daines <dhd@linuxcare.com>
7251
7252 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7253 cache_data in case of only new cache format correctly.
7254
7255 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7256 cache_file_new.
7257
7258 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7259 struct cache_file_new.
7260
7261 * elf/cache.c (save_cache): Fix str_offset if only new cache is
7262 present.
7263
7264 * elf/cache.c (save_cache): Align struct new_file_cache.
7265 (print_cache): Likewise.
7266
7267 2000-05-13 Jakub Jelinek <jakub@redhat.com>
7268
7269 * elf/soinit.c (__libc_global_ctors): Move
7270 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7271 * resolv/resolv.h (__res_state): Added __attribute__((const)).
7272 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7273 variable, don't define it to __res_state call.
7274
7275 2000-05-13 Andreas Jaeger <aj@suse.de>
7276
7277 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7278 Linux 2.3.99pre7.
7279 (AF_PPPOX): Likewise.
7280 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7281 (AF_PPPOX): Likewise.
7282
7283 2000-05-12 Andreas Jaeger <aj@suse.de>
7284
7285 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7286 Reported by tmoestl@gmx.net, closes PR libc/1732.
7287
7288 2000-05-11 Jan Hubicka <jh@suse.cz>
7289
7290 * misc/sys/cdefs.h: Add support for pure attribute.
7291
7292 * include/string.h: Add __attribute_pure__ to various functions.
7293 * string/string.h: Likewise.
7294
7295 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7296
7297 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7298 argument.
7299 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7300 R_SPARC_UA64.
7301 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7302
7303 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7304
7305 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7306 at proper place. Compute the high nibble correctly.
7307
7308 2000-05-09 Jakub Jelinek <jakub@redhat.com>
7309
7310 * elf/ldconfig.c: Include elf.h.
7311
7312 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7313 (_dl_vsym): Likewise.
7314 Reported by Owen Taylor <otaylor@redhat.com>.
7315
7316 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7317 always.
7318
7319 2000-05-08 Andreas Jaeger <aj@suse.de>
7320
7321 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7322
7323 * intl/bindtextdom.c (set_binding_values): Add prototype.
7324
7325 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7326
7327 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7328 call to elf_machine_fixup_plt.
7329 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7330 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7331
7332 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7333
7334 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7335 they are not dlclose'd from underneath us.
7336
7337 2000-05-08 Andreas Schwab <schwab@suse.de>
7338
7339 * posix/execle.c: Fix size parameter of memcpy.
7340
7341 2000-05-08 Andreas Schwab <schwab@suse.de>
7342
7343 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7344 getpagesize syscall if available.
7345
7346 2000-05-08 Andreas Jaeger <aj@suse.de>
7347
7348 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7349 set errno.
7350
7351 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7352
7353 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7354 sizeof(struct link_map *) chunks, not in bytes.
7355
7356 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7357
7358 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7359 only needed for locale.
7360 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7361 It's only needed for catgets.
7362 Patches by Greg McGary <gkm@eng.ascend.com>.
7363
7364 2000-05-07 Mark Kettenis <kettenis@gnu.org>
7365
7366 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7367 Remove duplicate <errno.h> include. Remove inclusion of
7368 <libintl.h> and "nsswitch.h".
7369 (set_cloexec_flag): New function, broken out of dbopen.
7370 (dbopen): Changed return type to `enum
7371 nss_status'. Mostly rewritten to make sure that we do not report
7372 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7373 (internal_setent): Change return type to nss_status.
7374 Document, and make sure that the function
7375 behaves accordingly. Make dynamically loading the database
7376 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7377 failed.
7378 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7379 unecessary casts.
7380 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7381 documentation.
7382 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7383 c_get function member.
7384 * nss/nss_db/nss_db.h: Add and tweak some comments.
7385 (DBT): Move typedef before NSS_DBC typedef.
7386 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7387
7388 2000-05-07 H.J. Lu <hjl@gnu.org>
7389
7390 * csu/initfini.c: Moved to ....
7391 * sysdeps/generic/initfini.c: ...here.
7392
7393 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7394
7395 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7396
7397 * manual/resource.texi: Document POSIX scheduling functions.
7398 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7399
7400 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7401 reading anything. Reported by Andries.Brouwer@cwi.nl.
7402
7403 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7404 for x since promotion in comparison might leads to unexpected
7405 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7406
7407 * iconv/Makefile (tests): Add tst-iconv1.
7408 * iconv/tst-iconv1.c: New file.
7409 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7410 empty input buffer over full output buffer.
7411 (ucs4_internal_loop): Likewise.
7412 (ucs4_internal_loop_unaligned): Likewise.
7413 (internal_ucs4le_loop): Likewise.
7414 (internal_ucs4le_loop_unaligned): Likewise.
7415 (ucs4le_internal_loop): Likewise.
7416 (ucs4le_internal_loop_unaligned): Likewise.
7417 Reported by yaoz@nih.gov.
7418
7419 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7420
7421 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7422 returned != __GCONV_OK, there is nothing to clean up.
7423
7424 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7425
7426 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7427 OUTPUT_CHARSET environment variables.
7428
7429 2000-05-06 Andreas Jaeger <aj@suse.de>
7430
7431 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7432 (struct cache_file_new): New.
7433 (struct file_entry): New (moved from cache.c).
7434 (struct cache_file): New (moved from cache.c).
7435
7436 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7437 from _dl_load_cache_lookup.
7438 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7439 the different cache formats.
7440 New variable cache_new for new format.
7441
7442 * elf/ldconfig.h: Change according to changes in cache.c and
7443 ldconfig.c; remove cache_libcmp; add opt_format.
7444
7445 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7446 stuff that's defined in those headers.
7447 Add hwcap to struct lib_entry.
7448 (opt_format): New variable to select cache format.
7449 (options): Add format parameter.
7450 (is_hwcap): New function.
7451 (path_hwcap): New function.
7452 (parse_opt): Handle new format parameter.
7453 (search_dir): Handle hwcap, search also subdirectories with hwcap.
7454
7455 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
7456 ldconfig is part of glibc.
7457 Include dl-cache.h and remove stuff that's defined there.
7458 (struct cache_entry): Add new member hwcap.
7459 (print_entry): Print hwcap, cleanup a bit.
7460 (print_cache): Print new and old formats.
7461 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7462 (save_cache): Save new and old formats.
7463 (add_to_cache): Handle hwcap.
7464
7465 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7466 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7467 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7468 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7469 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7470 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7471
7472 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7473
7474 * intl/dcigettext.c (alignof): New macro.
7475 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7476 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7477 freemem_size to 0.
7478
7479 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7480
7481 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7482 return value.
7483
7484 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7485
7486 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7487 (mempcpy): Correct typo is parameter list.
7488
7489 2000-05-06 Andreas Jaeger <aj@suse.de>
7490
7491 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7492 functions unless -ffast-math is given to gcc.
7493
7494 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7495
7496 * po/ko.po: Update from translation team.
7497
7498 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7499
7500 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7501 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7502 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7503 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7504 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7505 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7506
7507 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7508 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7509 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7510
7511 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7512 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7513 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7514 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7515
7516 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
7517 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7518
7519 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7520
7521 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7522 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7523
7524 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7525 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7526
7527 * sysdeps/ia64/Implies: New file.
7528 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
7529 * sysdeps/ia64/Makefile: New file.
7530 * sysdeps/ia64/gmp-mparam.h: New file,
7531
7532 * sysdeps/ia64/elf/start.S: New file.
7533
7534 * sysdeps/ia64/bits/fenv.h: New file.
7535
7536 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
7537
7538 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7539
7540 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
7541
7542 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
7543 ia64 has 64 bit .hash entries just as the Alpha.
7544
7545 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7546
7547 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
7548
7549 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
7550
7551 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7552 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7553 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7554 * sysdeps/ia64/fpu/fegetenv.c: New file.
7555 * sysdeps/ia64/fpu/fegetexcept.c: New file.
7556 * sysdeps/ia64/fpu/fegetround.c: New file.
7557 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7558 * sysdeps/ia64/fpu/fesetenv.c: New file.
7559 * sysdeps/ia64/fpu/fesetround.c: New file.
7560 * sysdeps/ia64/fpu/feupdateenv.c: New file.
7561 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7562 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7563 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7564 * sysdeps/ia64/fpu/ftestexcept.c: New file.
7565
7566 2000-05-05 Andreas Jaeger <aj@suse.de>
7567
7568 * misc/tst-tsearch.c (main): Correct type for initstate argument.
7569
7570 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7571 (_dl_string_hwcap): New, does nothing.
7572
7573 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7574 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7575 (_dl_string_hwcap): New function, converts from string to hwcap
7576 encoding.
7577 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7578 (_DL_HWCAP_COUNT): New.
7579 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7580 (_dl_string_hwcap): New function, converts from string to hwcap
7581 encoding.
7582 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
7583 (_DL_HWCAP_COUNT): New.
7584 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7585 (_dl_string_hwcap): New function, converts from string to hwcap
7586 encoding.
7587
7588 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7589
7590 * elf/Makefile (distribute): Add dl-lookupcfg.h.
7591 * sysdeps/ia64/Dist: New file.
7592
7593 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7594 parameter to mprotect and for variable assignments.
7595
7596 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7597
7598 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
7599 validity of map before dereferencing it.
7600
7601 * elf/dl-reloc.c (RESOLVE_MAP): Define.
7602
7603 2000-05-02 Jes Sorensen <jes@linuxcare.com>
7604
7605 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
7606 lookup to the arguments to elf_machine_fixup_plt().
7607
7608 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
7609 of the symbol being resolved to input argument list and make the
7610 function return the pointer to the reloc.
7611
7612 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
7613 return valuie to lookup_t and return the value.
7614 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
7615 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
7616 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
7617 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
7618 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
7619 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
7620
7621 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
7622 Make it an inline function returning value after calling
7623 __elf_machine_fixup_plt().
7624
7625 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
7626 symbol address.
7627
7628 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
7629 obtain the symbol address.
7630
7631 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
7632 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
7633
7634 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
7635 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
7636 inline on non ia64.
7637
7638 2000-04-28 Jes Sorensen <jes@linuxcare.com>
7639
7640 * elf/dl-runtime.c (fixup): Use the portable macros to get the
7641 symbol address of an object.
7642
7643 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
7644 the symbol address of an object.
7645
7646 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
7647 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
7648 (_dl_lookup_symbol_skip): Likewise.
7649 (_dl_lookup_versioned_symbol): Likewise.
7650 (_dl_lookup_versioned_symbol_skip): Likewise.
7651
7652 2000-04-27 Jes Sorensen <jes@linuxcare.com>
7653
7654 * elf/rtld.c (_dl_start): Get the function pointer return address
7655 via _dl_start_address for architectures that need a function
7656 pointer descriptor rather than just a pointer (ia64).
7657
7658 * sysdeps/generic/dl-lookupcfg.h: New file.
7659 * sysdeps/ia64/dl-lookupcfg.h: New file.
7660 * sysdeps/ia64/dl-machine.h: New file.
7661 * sysdeps/ia64/dl-symaddr.c: New file.
7662 * sysdeps/ia64/dl-fptr.c: New file.
7663
7664 * elf/elf.h: Add IA-64 specific definitions.
7665
7666 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7667
7668 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
7669 end of enum.
7670
7671 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7672
7673 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
7674 happy.
7675
7676 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7677
7678 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
7679 symbol. Call _dl_init rather than the old way.
7680
7681 2000-05-04 Ulrich Drepper <drepper@redhat.com>
7682
7683 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
7684 test for pointer in range of DSO address space.
7685
7686 2000-05-04 Andreas Jaeger <aj@suse.de>
7687
7688 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
7689
7690 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7691
7692 * locale/findlocale.c (_nl_find_locale): Add new parameter to
7693 calls of _nl_make_l10nflist.
7694
7695 * libio/stdio.h: Make fseeko and ftello prototypes available is
7696 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
7697
7698 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
7699 real unsetenv implementation from 1999-07-29 [PR libc/1714].
7700
7701 2000-05-03 Bruno Haible <haible@clisp.cons.org>
7702
7703 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
7704 before calling tfind.
7705
7706 2000-03-05 Jakub Jelinek <jakub@redhat.com>
7707
7708 * resolv/resolv.h (res_querydomain): Remove redefinition to
7709 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
7710
7711 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7712
7713 * po/gl.po: Update from translation team.
7714
7715 * manual/intro.texi (Program Basics): Change section title.
7716 * manual/process.texi: Fix reference.
7717 (Executing a File): Add reference exec in other section.
7718 * manual/signal.texi: Fix reference.
7719 * manual/startup.texi: Document syscall function.
7720 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7721
7722 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7723
7724 * intl/libintl.h (bind_textdomain_codeset): New declaration.
7725 * intl/bindtextdom.c (set_binding_values): New function.
7726 (bindtextdomain): Call it.
7727 (bind_textdomain_codeset): New function.
7728 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
7729 (free_mem): Free each binding's codeset.
7730 * intl/gettextP.h (struct binding): Add codeset field.
7731 (_nl_find_domain): Add domainbinding argument.
7732 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
7733 Pass it to _nl_make_l10nflist.
7734 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
7735 (_nl_make_l10nflist): Add domainbinding argument.
7736 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
7737 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
7738 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
7739 locale_charset().
7740 * manual/message.texi: New node "Charset conversion in gettext".
7741
7742 2000-04-30 Bruno Haible <haible@clisp.cons.org>
7743
7744 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
7745 appropriate. Handle possible __read error.
7746
7747 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7748
7749 * intl/gettextP.h (__builtin_expect): Define as empty if not a
7750 compiler builtin.
7751 * intl/loadinfo.h (__builtin_expect): Likewise.
7752 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
7753 __builtin_expect where appropriate.
7754 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7755 * intl/localealias.c (extend_alias_table): Return an error indicator.
7756 (read_alias_file): Bail out if extend_alias_table fails.
7757
7758 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7759
7760 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
7761 * intl/localealias.c: Likewise.
7762
7763 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7764
7765 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
7766 Initialize domain->plural and domain->nplurals even if there is no
7767 nullentry.
7768
7769 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7770
7771 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
7772 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
7773 In case of failure, goto converted.
7774
7775 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7776
7777 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
7778 * iconv/gconv_int.h (norm_add_slashes): Move to here.
7779 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
7780 __gconv_open.
7781
7782 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7783
7784 * intl/dcigettext.c (transcmp): Compare the domains as well.
7785 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
7786 not before.
7787 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
7788 <errno.h>.
7789
7790 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7791
7792 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
7793 Reported by Bruno Haible.
7794
7795 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7796
7797 * manual/arith.texi: Remove @w from @itemize.
7798
7799 2000-05-02 Andreas Jaeger <aj@suse.de>
7800
7801 * conform/data/tar.h-data: Add some checks for specific values.
7802
7803 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
7804 and RAND_MAX.
7805
7806 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
7807 FOPEN_MAX.
7808
7809 * conform/data/netinet/in.h-data: Add exact checks for the values
7810 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
7811
7812 * conform/data/float.h-data: Add some minimal values.
7813
7814 * conform/conformtest.pl: Test for macros with string constants,
7815 check for minimum and maximum values.
7816 Add limits.h to headers.
7817
7818 * conform/data/cpio.h-data: Test for value of MAGIC.
7819
7820 * conform/data/limits.h-data: New file.
7821
7822 2000-04-30 Bruno Haible <haible@clisp.cons.org>
7823
7824 * math/Makefile (headers): Add bits/fenvinline.h.
7825
7826 2000-05-01 Ulrich Drepper <drepper@redhat.com>
7827
7828 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
7829 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
7830
7831 * posix/Versions: Change posix_spawnattr_getdefault and
7832 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
7833 and posix_spawnattr_setsigdefault respectively.
7834 * posix/spawn.h: Likewise.
7835 * posix/spawnattr_getdefault.h: Likewise.
7836 * posix/spawnattr_setdefault.h: Likewise.
7837 * conform/data/spawn.h-data: Likewise.
7838
7839 2000-05-01 Andreas Jaeger <aj@suse.de>
7840
7841 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
7842
7843 2000-04-30 Ulrich Drepper <drepper@redhat.com>
7844
7845 * manual/sysinfo.texi: Document getdomainname, setdomainname
7846 and sysctl.
7847 * manual/string.texi: Fix typo.
7848 * manual/terminal.texi: Document gtty and stty.
7849 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7850
7851 2000-04-30 Andreas Jaeger <aj@suse.de>
7852
7853 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
7854 accordance with Austin Draft.
7855
7856 2000-04-30 Ulrich Drepper <drepper@redhat.com>
7857
7858 * catgets/gencat.c (read_input_file): Use isblank and not isspace
7859 to recognize second character in comment line.
7860
7861 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
7862 ENOBUFS if we are out of memory.
7863
7864 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
7865 available if __USE_XOPEN2K.
7866 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7867 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7868 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7869 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7870 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7871 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7872 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
7873 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7874
7875 2000-04-29 Ulrich Drepper <drepper@redhat.com>
7876
7877 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
7878 Recognize option -s, -c, and -l.
7879
7880 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
7881
7882 * nscd/nscd.c: Start new session for nscd, drop privilegs
7883 to configured user if requested and no -S parameter are used.
7884 * nscd/nscd.conf: Add new option "server-user".
7885 * nscd/nscd_conf.c: Add support for new "server-user" option.
7886 * nscd/nscd.h: Add declaration for server_user variable.
7887 Based on patch by Chris Wing <wingc@engin.umich.edu>
7888
7889 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7890
7891 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
7892 that changing the __restore and __restore_rt signal return code
7893 will break GDB.
7894
7895 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7896
7897 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
7898 <sys/user.h>.
7899
7900 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7901
7902 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
7903
7904 2000-04-29 Ulrich Drepper <drepper@redhat.com>
7905
7906 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
7907 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
7908 arpa/inet.h.
7909 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
7910 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
7911 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
7912 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
7913 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
7914 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
7915 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
7916 posix_fallocate, and posix_madvise.
7917 * conform/data/netdb.h-data: New file.
7918 * conform/data/pthread.h-data: Add pthread_barrier_t,
7919 pthread_barrierattr_t, pthread_barrier_destroy,
7920 pthread_barrier_init, pthread_barrier_wait,
7921 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
7922 pthread_barrierattr_init, pthread_barrierattr_setpshared,
7923 pthread_condattr_getclock, pthread_condattr_setclock,
7924 pthread_getcpuclockid, pthread_mutex_timedlock,
7925 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
7926 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
7927 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
7928 * conform/data/sched.h-data: Add sched_ss_low_priority,
7929 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
7930 SCHED_SPORADIC.
7931 * conform/data/semaphore.h-data: Add sem_timedwait.
7932 * conform/data/signal.h-data: Add SIGIO.
7933 * conform/data/spawn.h-data: New file.
7934 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
7935 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
7936 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
7937 Fix typo in gmtime_r definition.
7938 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
7939 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
7940 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
7941 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
7942 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
7943 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
7944 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
7945 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
7946 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
7947 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
7948 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
7949 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
7950 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
7951 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
7952 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
7953 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
7954 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
7955 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
7956 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7957 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
7958 typo in off_t definition.
7959 * conform/data/net/if.h-data: New file.
7960 * conform/data/netinet/in.h-data: New file.
7961 * conform/data/netinet/tcp.h-data: New file.
7962 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
7963 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
7964 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
7965 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
7966 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
7967 and posix_typed_mem_open.
7968 * conform/data/sys/socket.h-data: New file.
7969 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
7970 * conform/data/sys/types.h-data: Add pthread_barrier_t,
7971 pthread_barrierattr_t, and pthread_spinlock_t.
7972 * conform/data/sys/un.h-data: New file.
7973 * conform/data/sys/utsname.h-data: New file.
7974
7975 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
7976 parameter.
7977 * inet/gethstbyad.c (gethostbyname): Likewise.
7978 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
7979 * inet/getipnodebyad.c (getipnodebyad): Likewise.
7980 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
7981 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
7982 Likewise.
7983 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
7984 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
7985 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
7986 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
7987 * resolv/gethnamaddr.c (gethostbyname): Likewise.
7988 * resolv/netdb.h (struct hostent): Fix type of h_length member.
7989 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
7990 and second parameter.
7991
7992 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
7993 == NULL.
7994
7995 2000-04-29 Andreas Jaeger <aj@suse.de>
7996
7997 * conform/data/arpa/inet.h-data: New file.
7998
7999 2000-04-28 Geoff Clare <gwc@unisoft.com>
8000
8001 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8002 path passed to ftw() or nftw() is an empty string.
8003 Closes PR libc/1710.
8004
8005 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8006
8007 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8008 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8009 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8010 * localedata/tst-mbswcs4.c: New file.
8011 * localedata/tst-mbswcs5.c: New file.
8012
8013 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8014 == NULL. Little optimization.
8015
8016 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8017 DT_PREINIT_ARRAYSZ).
8018 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8019
8020 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8021 overflows in conversion from ASCII.
8022
8023 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8024
8025 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8026 * Makerules (full_config_sysdirs): Likewise.
8027 * MakeTAGS (full_config_sysdirs): Likewise.
8028
8029 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8030
8031 * .cvsignore: Remove linuxthreads.
8032 * po/.cvsignore: Remove *.pot.
8033 * posix/glob/.cvsignore: Removed.
8034 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8035
8036 2000-04-25 Andreas Jaeger <aj@suse.de>
8037
8038 * conform/Makefile (distribute): Also distribute contents of
8039 subdirectories.
8040
8041 * Makerules (no_deps): Remove abi-versions.h.
8042
8043 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8044
8045 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8046
8047 * sysdeps/sparc/sparc64/elf/Dist: Remove.
8048 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8049 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8050 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
8051 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
8052 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
8053 objects.
8054
8055 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
8056
8057 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
8058
8059 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8060
8061 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
8062 * intl/l10nflist.c: Likewise.
8063
8064 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8065
8066 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
8067 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8068 * intl/textdomain.c [!_LIBC]: Likewise.
8069 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8070 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8071 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8072 syntax error.
8073
8074 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8075
8076 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8077 character set conversion also in the case the translation was found
8078 after a hash collision or through binary search. Store the maximum
8079 index together with the converted message. Use iconv() when available.
8080 In case of out of memory during conversion, return the unconverted
8081 translated string, not NULL.
8082
8083 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8084
8085 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8086 to avoid name clashes with the ia32 linker.
8087
8088 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8089
8090 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8091 handling.
8092
8093 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8094
8095 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8096 strtoumax, strfry, and memfrob.
8097 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8098 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8099
8100 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8101 if this function is available.
8102
8103 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8104 all values.
8105
8106 2000-04-27 Jakub Jelinek <jakub@redhat.com>
8107
8108 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8109
8110 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8111
8112 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8113 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8114 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8115 * localedata/tst-mbswcs3.c: New file.
8116
8117 2000-04-26 Ulrich Drepper <drepper@redhat.com>
8118
8119 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8120 characters. Don't handle incomplete characters as errors.
8121 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8122 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8123 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8124 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8125 * localedata/tst-mbswcs2.c: New file.
8126
8127 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8128 stored character in state in UNPACK_BYTES macro.
8129 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8130 test for available characters, handle result of BODY code correctly.
8131 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8132 (distribute): Add tst-mbswcs.sh.
8133 Add rule to run tst-mbswcs.sh.
8134 * localedata/tst-mbswcs.sh: New file.
8135 * localedata/tst-mbswcs1.c: New file.
8136
8137 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8138
8139 * nis/nis_callback.c (__nis_create_callback): Do failed memory
8140 allocation fixups centrally, fix __builtin_expect call, return NULL
8141 on failure, not NIS_NOMEMORY.
8142
8143 2000-04-27 Bruno Haible <haible@clisp.cons.org>
8144
8145 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8146
8147 * intl/loadinfo.h (internal_function): Define if not already defined.
8148
8149 2000-04-27 Andreas Jaeger <aj@suse.de>
8150
8151 * intl/libintl.h: Fix typo, reported by Bruno Haible
8152 <haible@clisp.cons.org>.
8153
8154 2000-04-25 Ulrich Drepper <drepper@redhat.com>
8155
8156 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8157 setting the state to GMON_PROF_BUSY.
8158
8159 2000-04-24 Ulrich Drepper <drepper@redhat.com>
8160
8161 * elf/dl-profile.c (_dl_start_profile): define all variables which
8162 do not have to be global as local variables.
8163
8164 * nis/nis_callback.c (__nis_create_callback): Partially undo last
8165 patch. Keep needed tests for failed memory allocation.
8166
8167 * elf/dl-reloc.c (_dl_relocate_object): Add one more
8168 __builtin_expect saying that we don't normally expect to profile.
8169
8170 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8171 __builtin_expect where desirable.
8172
8173 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8174
8175 * manual/Makefile (chapters): Add syslog.
8176 * manual/syslog.texi: New file.
8177 * manual/math.texi: Fix references.
8178 * manual/terminal.texi: Likewise.
8179 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8180
8181 2000-04-18 Jakub Jelinek <jakub@redhat.com>
8182
8183 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8184 stdlib.h was not included or __USE_XOPEN not defined.
8185
8186 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8187
8188 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8189 Patch by Zack Weinberg <zack@wolery.cumb.org>.
8190
8191 2000-04-22 Ulrich Drepper <drepper@redhat.com>
8192
8193 * manual/examples/subopt.c (mount_opts): Add missing terminating
8194 entry.
8195 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8196
8197 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8198 * libio/ftello.c: Likewise.
8199 * libio/ftello64.c: Likewise.
8200 * libio/ioftell.c: Likewise.
8201 * sysdeps/generic/memrchr.c: Likewise.
8202 * sysdeps/posix/libc_fatal.c: Likewise.
8203 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8204 * misc/fstab.c: Include <string.h> for strcmp prototype.
8205 * sysdeps/generic/ldsodefs.h: Likewise.
8206 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8207 Patch by Kurt Roeckx <Q@ping.be>.
8208
8209 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8210 Remove db-open. Change all uses.
8211 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8212
8213 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8214
8215 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8216 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8217 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8218 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8219 with .set noat/at to shut up warnings.
8220 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8221 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8222 compilation if __NR_pciconfig_iobase is not defined.
8223 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8224 Add alias.
8225
8226 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8227
8228 * manual/sysinfo.texi: Fix typo.
8229 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8230 Replace "high precision time" with "high accuracy clock".
8231 Fix language.
8232 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8233
8234 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8235 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8236 instead of malloc.
8237 * nis/nis_subr.c: Use __builtin_expect.
8238 * nis/ypclnt.c: Likewise.
8239 * nis/nis_getservlist.c: Likewise.
8240 * nis/nis_creategroup.c: Likewise.
8241
8242 * nis/nis_callback.c (__nis_create_callback): Check result of
8243 memory allocation. Fix memory leaks. Use __builtin_expect.
8244 (__nis_destroy_callback): Fix memory leaks.
8245
8246 2000-04-21 Andreas Jaeger <aj@suse.de>
8247
8248 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8249 * sysdeps/mips/mips64/add_n.S: Likewise.
8250 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8251 * sysdeps/mips/mips64/lshift.S: Likewise.
8252 * sysdeps/mips/mips64/mul_1.S: Likewise.
8253 * sysdeps/mips/mips64/rshift.S: Likewise.
8254 * sysdeps/mips/mips64/setjmp.S: Likewise.
8255 * sysdeps/mips/mips64/sub_n.S: Likewise.
8256 * sysdeps/mips/mips64/submul_1.S: Likewise
8257 * sysdeps/unix/mips/sysdep.S: Likewise.
8258
8259 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8260 and update comment. The strtab from _dl_relocate_object can be
8261 used.
8262
8263 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8264
8265 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8266 * iconv/iconv_close.c (iconv_close): Likewise.
8267 * iconv/iconv_open.c (iconv_open): Likewise.
8268
8269 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
8270 __builtin_expect where useful.
8271
8272 * grp/initgroups.c (initgroups): Test for result of memory
8273 allocation and punt if it fails.
8274
8275 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8276 * grp/fgetgrent.c (fgetfrent): Likewise.
8277 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8278
8279 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8280
8281 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8282
8283 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8284
8285 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8286 don't search for NUL byte to decrement counter.
8287 Reported by Ulrich.Brink@sap.com.
8288
8289 * iconv/gconv_simple.c: Define separate functions to convert from
8290 UCS4/UCS4-LE to the internal encoding.
8291 * iconv/gconv_builtin.h: Use separate functions to convert from
8292 UCS4/UCS4-LE to the internal encoding.
8293 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8294 __gconv_transform_ucs4le_internal.
8295
8296 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8297 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8298
8299 * iconv/skeleton.c: Add some more __builtin_expect.
8300 * iconv/loop.c: Likewise.
8301
8302 2000-03-08 H.J. Lu <hjl@gnu.org>
8303
8304 * posix/regex.c (regex_compile): Correctly handle "\{" when
8305 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8306
8307 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8308
8309 * manual/stdio.texi: Give advise about handling error when using
8310 stream functions.
8311 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8312
8313 2000-04-19 Jakub Jelinek <jakub@redhat.com>
8314
8315 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8316 field to nelems * sizeof (uint32_t).
8317 * locale/programs/ld-address.c (address_output): Align word fields
8318 properly.
8319 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8320 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8321 field.
8322 Avoid giving arbitrary garbage in the crncystr field.
8323 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8324 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8325 fields.
8326 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8327 Don't restart idx pointers to idx end at the decimal_point_wc field.
8328 * locale/programs/ld-time.c (time_output): week_1stday should be
8329 word, not byte. Align it properly.
8330
8331 2000-04-19 H.J. Lu <hjl@gnu.org>
8332
8333 * csu/gmon-start.c (_start): Declared as "extern void".
8334 (etext): Likewise.
8335
8336 2000-04-18 Andreas Jaeger <aj@suse.de>
8337
8338 * manual/install.texi (Running make install): Don't mention utmpd
8339 anymore.
8340
8341 2000-04-18 Andreas Jaeger <aj@suse.de>
8342
8343 * linuxthreads/Versions: Use ld instead of ld.so.
8344
8345 * elf/Makefile (ld-map): Use ld.map.
8346
8347 * Versions.def: Use ld instead of ld.so.
8348 * elf/Versions: Likewise.
8349 * sysdeps/mach/hurd/Versions: Likewise.
8350
8351 2000-04-20 Andreas Jaeger <aj@suse.de>
8352
8353 * elf/rtld.c (print_statistics): Move ifndef further up.
8354 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8355 (dl_main): Likewise.
8356
8357 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8358
8359 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8360 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8361
8362 * po/cs.po: Update from translation team.
8363
8364 * sysdeps/generic/updwtmp.c: Remove daemon support.
8365
8366 * login/Makefile (routines): Remove utmp_daemon.
8367
8368 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8369 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8370 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8371 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8372
8373 * elf/rtld.c: Display statitics option also if hp timing is not
8374 available.
8375
8376 * login/programs/connection.c: Removed.
8377 * login/programs/database.c Removed.
8378 * login/programs/error.c: Removed.
8379 * login/programs/request.c: Removed.
8380 * login/programs/xtmp.c: Removed.
8381 * login/programs/xtmp.h: Removed.
8382 * login/Makefile: Remove rules for utmpd.
8383 * login/README.utmpd: Removed.
8384 * login/utmp_daemon.c: Removed.
8385 * login/getutent_r.c: Remove references to daemon functions.
8386 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8387 declaration.
8388
8389 2000-04-18 Andreas Jaeger <aj@suse.de>
8390
8391 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8392 2.2 for libnsl, libresolv, librt, libnss_*.
8393
8394 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8395
8396 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8397
8398 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8399
8400 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8401 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8402 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8403 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8404 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8405 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8406 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8407 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8408 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8409 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8410 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8411 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8412 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8413 it here.
8414 * sysdeps/unix/sysv/aix/msync.c: New file.
8415 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8416 * sysdeps/unix/sysv/aix/net/if.h: New file.
8417 * sysdeps/unix/sysv/aix/pipe.c: New file.
8418 * sysdeps/unix/sysv/aix/poll.c: New file.
8419 * sysdeps/unix/sysv/aix/rename.c: New file.
8420 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8421 * sysdeps/unix/sysv/aix/select.c: New file.
8422 * sysdeps/unix/sysv/aix/semctl.c: New file.
8423 * sysdeps/unix/sysv/aix/semget.c: New file.
8424 * sysdeps/unix/sysv/aix/semop.c: New file.
8425 * sysdeps/unix/sysv/aix/sendto.c: New file.
8426 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8427 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8428 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8429 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8430 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8431 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8432 * sysdeps/unix/sysv/aix/setsid.c: New file.
8433 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8434 * sysdeps/unix/sysv/aix/shmat.c: New file.
8435 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8436 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8437 * sysdeps/unix/sysv/aix/shmget.c: New file.
8438 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8439 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8440 * sysdeps/unix/sysv/aix/socket.c: New file.
8441 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8442 * sysdeps/unix/sysv/aix/speed.c: New file.
8443 * sysdeps/unix/sysv/aix/symlink.c: New file.
8444 * sysdeps/unix/sysv/aix/sync.c: New file.
8445 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8446 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8447 * sysdeps/unix/sysv/aix/times.c: New file.
8448 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8449 * sysdeps/unix/sysv/aix/umask.c: New file.
8450 * sysdeps/unix/sysv/aix/unlink.c: New file.
8451 * sysdeps/unix/sysv/aix/ustat.c: New file.
8452 * sysdeps/unix/sysv/aix/utimes.c: New file.
8453
8454 2000-04-18 Andreas Jaeger <aj@suse.de>
8455
8456 * manual/startup.texi (Environment Access): Fix putenv prototype
8457 according to recent changes.
8458 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8459 PR libc/1692.
8460
8461 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8462 needed.
8463
8464 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8465
8466 * posix/Makefile (tests): Add tst-getaddrinfo.
8467 * posix/tst-getaddrinfo.c: New file.
8468
8469 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8470
8471 * manual/sysinfo.texi: Document that umount2 is not widely available.
8472
8473 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8474 signal timing is not really implemented.
8475
8476 2000-04-17 Andreas Jaeger <aj@suse.de>
8477
8478 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8479
8480 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8481
8482 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8483 and inst_libdir.
8484
8485 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8486
8487 * manual/intro.texi: Change reference from System Information to
8488 System Management.
8489 * manual/users.texi: Likewise.
8490 * manual/conf.texi: Likewise.
8491 * manual/sysinfo.texi: Document mount, umount, and umount2.
8492 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8493
8494 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8495
8496 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8497 Create wnumstr as well as numstr to support wide character output
8498 correctly.
8499
8500 2000-04-15 Jakub Jelinek <jakub@redhat.com>
8501
8502 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8503 modification and move it...
8504 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8505 Add -melf64_sparc switch to $(LD) on sparc64-linux.
8506 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8507 switch to $(LD) on sparc-linux.
8508
8509 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
8510
8511 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
8512 and setresuid from sysdep_routines.
8513
8514 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8515
8516 * manual/Makefile (chapters): Add resource.
8517
8518 * manual/time.texi: Move section on resources to...
8519 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
8520 and vtimes.
8521 * manual/setjmp.texi: Adjust back reference.
8522 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8523
8524 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8525 definition.
8526 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8527 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8528 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8529 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8530 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8531 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8532 * sysdeps/unix/sysv/aix/close.c: Add copyright.
8533 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8534 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8535 * sysdeps/unix/sysv/aix/access.c: Add copyright.
8536 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8537 * sysdeps/unix/sysv/aix/Implies: New file.
8538 * sysdeps/unix/sysv/aix/Versions: New file.
8539 * sysdeps/unix/sysv/aix/bind.c: New file.
8540 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8541 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8542 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8543 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8544 * sysdeps/unix/sysv/aix/chdir.c: New file.
8545 * sysdeps/unix/sysv/aix/chmod.c: New file.
8546 * sysdeps/unix/sysv/aix/chroot.c: New file.
8547 * sysdeps/unix/sysv/aix/creat.c: New file.
8548 * sysdeps/unix/sysv/aix/dl-close.c: New file.
8549 * sysdeps/unix/sysv/aix/dl-open.c: New file.
8550 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8551 * sysdeps/unix/sysv/aix/fchdir.c: New file.
8552 * sysdeps/unix/sysv/aix/fchmod.c: New file.
8553 * sysdeps/unix/sysv/aix/getgroups.c: New file.
8554 * sysdeps/unix/sysv/aix/gethostname.c: New file.
8555 * sysdeps/unix/sysv/aix/getpriority.c: New file.
8556 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8557 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8558 * sysdeps/unix/sysv/aix/getrusage.c: New file.
8559 * sysdeps/unix/sysv/aix/link.c: New file.
8560 * sysdeps/unix/sysv/aix/madvise.c: New file.
8561 * sysdeps/unix/sysv/aix/mkdir.c: New file.
8562 * sysdeps/unix/sysv/aix/mknod.c: New file.
8563 * sysdeps/unix/sysv/aix/mprotect.c: New file.
8564 * sysdeps/unix/sysv/aix/msgctl.c: New file.
8565 * sysdeps/unix/sysv/aix/msgget.c: New file.
8566 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
8567
8568 2000-04-17 Andreas Jaeger <aj@suse.de>
8569
8570 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
8571 as suggested by Ulrich Drepper.
8572 (__dl_runtime_resolve): Remove unused variable, initialize sym
8573 directly.
8574 (RTLD_START): Document OFFSET_GP_GOT.
8575 (OFFSET_GP_GOT): New magic value.
8576 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
8577 (elf_machine_got_rel): Only declare strtab if needed.
8578 (elf_machine_relplt): Removed, it's not needed.
8579 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
8580
8581 * sysdeps/mips/add_n.S: Add newline at EOF.
8582 * sysdeps/mips/rshift.S: Likewise.
8583 * sysdeps/mips/mul_1.S: Likewise.
8584 * sysdeps/mips/lshift.S: Likewise.
8585 * sysdeps/mips/addmul_1.S: Likewise.
8586
8587 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8588
8589 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
8590
8591 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
8592 * elf/dl-lookup.c: Likewise.
8593 * elf/dl-init.c (_dl_init): Likewise.
8594 * elf/dl-fini.c (_dl_fini): Likewise.
8595 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8596 * elf/dl-close.c (_dl_close): Likewise.
8597 * elf/rtld.c (_dl_start_final): Likewise.
8598
8599 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
8600
8601 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8602
8603 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
8604 only fall back on using Linux.
8605
8606 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
8607 Before testing versions check that we actually loaded the object
8608 and whether we are in trace mode. If not loaded during tracing don't
8609 test versions in this object.
8610 (_dl_check_all_versions): Take new parameter and pass to
8611 _dl_check_map_versions.
8612 * sysdeps/generic/ldsodefs.h: Update prototypes for
8613 _dl_check_all_versions and _dl_check_map_versions.
8614 * elf/rtld.c (struct version_check_args): Add dotrace.
8615 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
8616 (dl_main): Pass info about trace mode to version_check_doit.
8617 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
8618 _dl_check_all_versions.
8619
8620 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
8621 and getutmpx.
8622 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8623
8624 * manual/argp.texi: Document index parameter of argp_parse.
8625 Fix typo.
8626 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
8627
8628 2000-04-14 Andreas Jaeger <aj@suse.de>
8629
8630 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
8631 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
8632
8633 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
8634
8635 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8636
8637 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
8638 compat_symbol call for old adjtime.
8639
8640 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
8641 function interface. Patch by Richard Henderson <rth@cygnus.com>.
8642
8643 * posix/Makefile (headers): Add spawn.h.
8644 (distribute): Add spawn_int.h.
8645 (routines): Add spawn_faction_init, spawn_faction_destroy,
8646 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
8647 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
8648 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
8649 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
8650 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
8651 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
8652 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
8653 posix_spawnattr_init, posix_spawnattr_destroy,
8654 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
8655 posix_spawnattr_getflags, posix_spawnattr_setflags,
8656 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
8657 and posix_spawnp.
8658 * posix/spawn.c: New file.
8659 * posix/spawn.h: New file.
8660 * posix/spawn_faction_addclose.c: New file.
8661 * posix/spawn_faction_adddup2.c: New file.
8662 * posix/spawn_faction_addopen.c: New file.
8663 * posix/spawn_faction_destroy.c: New file.
8664 * posix/spawn_faction_init.c: New file.
8665 * posix/spawn_int.h: New file.
8666 * posix/spawnattr_destroy.c: New file.
8667 * posix/spawnattr_getdefault.c: New file.
8668 * posix/spawnattr_getflags.c: New file.
8669 * posix/spawnattr_getpgroup.c: New file.
8670 * posix/spawnattr_getschedparam.c: New file.
8671 * posix/spawnattr_getschedpolicy.c: New file.
8672 * posix/spawnattr_getsigmask.c: New file.
8673 * posix/spawnattr_init.c: New file.
8674 * posix/spawnattr_setdefault.c: New file.
8675 * posix/spawnattr_setflags.c: New file.
8676 * posix/spawnattr_setpgroup.c: New file.
8677 * posix/spawnattr_setschedparam.c: New file.
8678 * posix/spawnattr_setschedpolicy.c: New file.
8679 * posix/spawnattr_setsigmask.c: New file.
8680 * posix/spawni.c: New file.
8681 * posix/spawnp.c: New file.
8682
8683 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
8684 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8685
8686 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8687
8688 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
8689 * malloc/malloc.c: Implement posix_memalign for glibc.
8690 * include/stdlib.h: Add prototype for __posix_memalign.
8691 * stdlib/stdlib.h: Add prototype for posix_memalign.
8692
8693 2000-04-14 Andreas Jaeger <aj@suse.de>
8694
8695 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
8696 symidx correctly.
8697 (elf_machine_got_rel): Cast sym correctly.
8698
8699 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
8700 * sysdeps/mips/addmul_1.S: Likewise.
8701 * sysdeps/mips/lshift.S: Likewise.
8702 * sysdeps/mips/mul_1.S: Likewise.
8703 * sysdeps/mips/rshift.S: Likewise.
8704 * sysdeps/mips/sub_n.S: Likewise.
8705 * sysdeps/mips/submul_1.S: Likewise.
8706
8707 * stdlib/stdlib.h: Fix typo in comment.
8708
8709 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8710 2.2 for libdl, ld and libm.
8711
8712 * sysdeps/generic/madvise.c: Fix typos.
8713
8714 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
8715
8716 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
8717
8718 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
8719 warnings.
8720
8721 2000-04-14 Ulrich Drepper <drepper@redhat.com>
8722
8723 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
8724 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
8725 Make old name weak alias.
8726 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
8727 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
8728 Make old name weak alias.
8729 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
8730
8731 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
8732 posix_fallocate, and posix_fallocate64.
8733 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
8734 posix_fallocate, and posix_fallocate64.
8735 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
8736 posix_fallocate, and posix_fallocate64.
8737 * sysdeps/generic/fadvise.c: New file.
8738 * sysdeps/generic/fadvise64.c: New file.
8739 * sysdeps/generic/fallocate.c: New file.
8740 * sysdeps/generic/fallocate64.c: New file.
8741 * sysdeps/posix/fallocate.c: New file.
8742 * sysdeps/posix/fallocate64.c: New file.
8743 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
8744 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
8745 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
8746 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8747 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8748 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8749 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8750 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8752
8753 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
8754 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8755
8756 2000-04-13 Ulrich Drepper <drepper@redhat.com>
8757
8758 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
8759 * misc/sys/mman.h (posix_madvise): Add prototype.
8760 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
8761 old name and posix_madvise weak aliases.
8762 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8763 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
8764 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8765 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8766 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8768 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8769
8770 2000-04-13 Andreas Jaeger <aj@suse.de>
8771
8772 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
8773 versioning.
8774 (elf_machine_got_rel): Only add runtime display if needed.
8775 (elf_machine_got_rel): Handle symbol versioning.
8776
8777 2000-04-13 Andreas Jaeger <aj@suse.de>
8778
8779 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
8780
8781 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
8782 default.
8783
8784 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
8785 with some applications.
8786 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
8787
8788 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
8789 * sysdeps/mips/bsd-_setjmp.S: Likewise.
8790 * sysdeps/mips/setjmp.S: Likewise.
8791
8792 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8793
8794 2000-04-13 Ulrich Drepper <drepper@redhat.com>
8795
8796 * posix/globtest.sh: Work around inconsistency with expanding ~/
8797 in shell (PR libc/1690). Reported by patsmith@pobox.com.
8798
8799 2000-04-12 Ulrich Drepper <drepper@redhat.com>
8800
8801 * posix/getconf.c: Add support for many more POSIX options.
8802 * sysdeps/posix/sysconf.c: Likewise.
8803 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
8804 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
8805 _POSIX_SHELL.
8806 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8807 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
8808 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
8809 CLOCK_THREAD_CPUTIME_ID.
8810 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
8811 CLOCK_PROCESS_CPUTIME_ID.
8812 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
8813 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
8814 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
8815 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8816
8817 * malloc/Makefile (tests): Add tst-calloc.
8818 * malloc/tst-calloc.c: New file.
8819
8820 * sysdeps/arm/libm-test-ulps: New file.
8821
8822 * malloc/malloc.c: Undo all of today's changes.
8823
8824 * locale/programs/locale.c (show_info): Don't try to look into
8825 data for LC_ALL (there is none).
8826
8827 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
8828 avoid writing over boundary.
8829 Patch by Greg McGary <gkm@eng.ascend.com>.
8830
8831 * sysdeps/arm/memprof.h: New file.
8832
8833 2000-04-12 Andreas Jaeger <aj@suse.de>
8834
8835 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
8836
8837 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
8838 for memmem declaration.
8839
8840 2000-04-12 Ulrich Drepper <drepper@redhat.com>
8841
8842 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
8843 to -1.
8844 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8845
8846 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
8847 mode is invalid.
8848 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8849 Patch by Bart Veer <bartv@redhat.com>.
8850
8851 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
8852 function interface.
8853
8854 2000-04-11 Andreas Jaeger <aj@suse.de>
8855
8856 * sysdeps/mips/dl-machine.h: Update some comments.
8857 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
8858
8859 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8860
8861 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
8862 _POSIX_SHARED_MEMORY_OBJECTS.
8863
8864 * rt/Makefile (tests): Add tst-shm.
8865 Add rules to generate tst-shm.
8866 * rt/tst-shm.c: New file.
8867
8868 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
8869 for descriptor.
8870
8871 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
8872 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
8873 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
8874 * sysdeps/generic/shm_open.c: New file.
8875 * sysdeps/generic/shm_unlink.c: New file.
8876 * sysdeps/unix/sysv/linux/shm_open.c: New file.
8877 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
8878 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
8879 __endmntent, __getmntent_r, __setmntent, and __statfs.
8880
8881 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
8882 fragmentation by allocating new memory at the end instead of
8883 reallocating.
8884
8885 * posix/globtest.sh: Fix last change.
8886
8887 2000-04-10 Philip Blundell <philb@gnu.org>
8888
8889 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
8890 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
8891 IPV6_DROP_MEMBERSHIP.
8892 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
8893 Likewise.
8894
8895 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8896
8897 * elf/readlib (process_file): Close streams in case of an error.
8898
8899 2000-04-09 Andreas Jaeger <aj@suse.de>
8900
8901 * elf/readlib.c (process_file): Check if file is big enough to
8902 contain aout and ELF headers.
8903 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
8904
8905 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
8906
8907 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
8908
8909 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8910
8911 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
8912 stream unbuffered.
8913 * rt/Makefile (tests): Add tst-clock.
8914 Add rules to build tst-clock.
8915 * rt/tst-clock.c: New file.
8916 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
8917 about initialization of nsec.
8918 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
8919 about initialization of freq. Set retval to zero if successful.
8920 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
8921
8922 2000-04-10 Ulrich Drepper <drepper@redhat.com>
8923
8924 * Versions.def (librt): Add GLIBC_2.2.
8925 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
8926 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
8927 timer_getoverr, timer_gettime, and timer_settime.
8928 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
8929 clock_settime, timer_create, timer_delete, timer_getoverrun,
8930 timer_gettime, and timer_settime.
8931 * sysdeps/generic/clock_getcpuclockid.c: New file.
8932 * sysdeps/generic/get_clockfreq.c: New file.
8933 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
8934 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
8935 * sysdeps/mach/hurd/i386/bits/time.h: New file.
8936 * sysdeps/unix/i386/i586/clock_getres.c: New file.
8937 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
8938 * sysdeps/unix/i386/i686/Implies: New file.
8939 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
8940 * time/Makefile (routines): Move clock_getres, clock_gettime,
8941 clock_settime, timer_create, timer_delete, timer_getoverr,
8942 timer_gettime, and timer_settime to rt/Makefile.
8943 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
8944 clock_settime, timer_create, timer_delete, timer_getoverrun,
8945 timer_gettime, and timer_settime.
8946 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
8947
8948 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
8949 and not const as attribute name.
8950
8951 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
8952
8953 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
8954
8955 2000-04-10 Andreas Schwab <schwab@suse.de>
8956
8957 * posix/globtest.sh: Skip tests that depend on unreadable
8958 directories if run as root.
8959
8960 2000-04-10 Ulrich Drepper <drepper@redhat.com>
8961
8962 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
8963 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
8964
8965 2000-04-09 Ulrich Drepper <drepper@redhat.com>
8966
8967 * sysdeps/unix/clock_gettime.c: New file.
8968 * sysdeps/unix/clock_settime.c: New file.
8969 * sysdeps/posix/clock_getres.c: New file.
8970
8971 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
8972
8973 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
8974 lseek call be passing in a buffer which never allow a successful
8975 first getdents syscall if not at leas the initial entry can be
8976 stored in the user buffer.
8977
8978 * localedata/Makefile: Add rules to clean up directories created by
8979 new strfmon tests.
8980
8981 2000-04-09 Geoff Clare <gwc@unisoft.com>
8982
8983 * localedata/tst-fmon.data: Added new tests for strfmon()
8984 using test locales with all combinations of cs_precedes,
8985 sign_posn and sep_by_space.
8986 * localedata/tst-fmon.sh: Updated to support the new tests.
8987 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
8988 the localedef source for the new strfmon() test locale.
8989 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
8990 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
8991 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
8992 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
8993 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
8994 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
8995 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
8996 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
8997 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
8998 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
8999 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9000 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9001 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9002 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9003
9004 * stdlib/strfmon.c: Correct problems with missing or extra
9005 spaces for unusual combinations of sign_posn and sep_by_space.
9006 Improved left-precision alignment code.
9007
9008 2000-04-07 Andreas Jaeger <aj@suse.de>
9009
9010 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9011
9012 2000-04-10 Andreas Jaeger <aj@suse.de>
9013
9014 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9015
9016 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9017
9018 Implement handling of restartable conversion functions according to
9019 ISO C.
9020 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9021 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9022 * iconv/gconv.c: Pass additional parameter to conversion function.
9023 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9024 (internal_ucs4le_loop_single): New function.
9025 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9026 (__gconv_transform_internal_ascii): Likewise.
9027 (__gconv_transform_internal_utf8): Likewise.
9028 (__gconv_transform_utf8_internal): Likewise.
9029 (__gconv_transform_ucs2_internal): Likewise.
9030 (__gconv_transform_internal_ucs2): Likewise.
9031 (__gconv_transform_ucs2reverse_internal): Likewise.
9032 (__gconv_transform_internal_ucs2reverse): Likewise.
9033 (internal_ucs4le_loop_unaligned): Before return
9034 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9035 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
9036 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9037 * iconv/loop.c: Fit in definition of function to convert one character
9038 for processing of left-over bytes from the state object.
9039 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9040 inend to match names in loop functions.
9041 (RESET_INPUT_BUFFER): Change apprpriately.
9042 (gconv): If needed, call function to process bytes from the state
9043 object. Similar at the end: store left over bytes if input is
9044 incomplete.
9045 Take extra argument and add new argument to all calls of the
9046 conversion function.
9047 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9048 information in the state object to not conflict with length count.
9049 * iconvdata/iso-2022-jp.c: Likewise.
9050 * iconvdata/iso-2022-kr.c: Likewise.
9051 * iconvdata/unicode.c: Adjust for change change in parameters of
9052 skeleton function.
9053 * iconvdata/utf-16.c: Likewise.
9054 * libio/iofwide.c: Add new parameter to all calls of conversion
9055 function.
9056 * wcsmbs/btowc.c: Likewise.
9057 * wcsmbs/mbrtowc.c: Likewise.
9058 * wcsmbs/mbsnrtowcs.c: Likewise.
9059 * wcsmbs/mbsrtowcs.c: Likewise.
9060 * wcsmbs/wcrtomb.c: Likewise.
9061 * wcsmbs/wcsnrtombs.c: Likewise.
9062 * wcsmbs/wcsrtombs.c: Likewise.
9063 * wcsmbs/wctob.c: Likewise.
9064
9065 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9066 MAX_NEEDED_INPUT.
9067
9068 2000-04-07 Andreas Jaeger <aj@suse.de>
9069
9070 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9071 newer kernels.
9072
9073 2000-04-07 Ulrich Drepper <drepper@redhat.com>
9074
9075 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
9076 element a union to allow byte access.
9077 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9078 mbstate_t.
9079 * iconvdata/iso-2022-jp.c: Likewise.
9080 * iconvdata/iso-2022-kr.c: Likewise.
9081 * wcsmbs/mbsinit.c: Likewise.
9082 * stdlib/mblen.c: Likewise.
9083 * stdio-common/printf-parse.h: Likewise.
9084
9085 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9086
9087 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9088 kernel does not allow relative seeks on descriptors associated
9089 with directories. Go back to get the position in the directory
9090 every time we enter the function. Return -1 and set errno if one
9091 entry could be read from the kernel but does not fit into the
9092 buffer passed in by the user.
9093
9094 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9095 Support ..(2).. ellipsis.
9096 (parse_charmap): Recognize ..(2).. etc and pass step down.
9097 Correctly generate names for UCS4 characters.
9098
9099 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9100 (ctype_finish): We know the wide character value for <SP>,
9101 don't search.
9102 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9103 (charclass_ucs4_ellipsis): Likewise.
9104 (read_translit_ignore_entry): Store ellipsis step.
9105 (ctype_read): Recognize ..(2).. etc and pass step down.
9106
9107 * locale/programs/linereader.c (lr_token): When seeing comment
9108 character ignore only rest of line in sources but stop at escaped
9109 newline.
9110 Recognize ..(2).. and ....(2).....
9111
9112 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9113 and tok_ellipsis4_2.
9114
9115 2000-04-06 Andreas Jaeger <aj@suse.de>
9116
9117 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9118 removed, remove it here also.
9119 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9120 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9121 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9122 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9123
9124 2000-04-06 Jakub Jelinek <jakub@redhat.com>
9125
9126 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9127 include bits/sigcontext.h.
9128 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9129
9130 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9131
9132 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9133 collation symbol definition. Value in quivalence definition must
9134 be defined, don't check that it is not.
9135
9136 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9137 values as character names.
9138
9139 * locale/programs/ld-ctype.c (get_character): Handle missing
9140 repertoire map correctly.
9141
9142 2000-04-05 Cristian Gafton <gafton@redhat.com>
9143
9144 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9145 because it is used in generic code.
9146 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9147 * wcsmbs/wcwidth.h: Declare __ctype32_b.
9148 * intl/gettext.c: Include <locale.h>.
9149 * intl/ngettext.c: Likewise.
9150
9151 2000-04-05 Jakub Jelinek <jakub@redhat.com>
9152
9153 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9154 socklen_t type for size.
9155 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9156 init function interface.
9157 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9158 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9159 sys/ucontext.h.
9160 (__jmp_buf): Declare the whole type structure here, don't use
9161 ucontext.
9162
9163 2000-04-05 Ulrich Drepper <drepper@redhat.com>
9164
9165 * iconv/skeleton.c (put16u): Fix typo.
9166 Reported by Bruno Haible <haible@ilog.fr>.
9167
9168 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9169 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9170 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9171 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9172 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9173 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9174
9175 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9176 * Makefile (distribute): Add abi-versions.awk and
9177 firstversions.awk.
9178 Patches by Torsten Duwe <duwe@caldera.de>.
9179
9180 2000-04-05 Andreas Schwab <schwab@suse.de>
9181
9182 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9183
9184 2000-04-05 Andreas Schwab <schwab@suse.de>
9185
9186 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9187 entry point, used on Hurd.
9188
9189 2000-04-04 Andreas Jaeger <aj@suse.de>
9190
9191 * intl/Makefile: Only run the gettext test with shared libraries.
9192
9193 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9194
9195 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9196 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9197
9198 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
9199
9200 * Makeconfig: Undo last change.
9201 * configure.in: If --disable-shared was given, don't set VERSIONING,
9202 don't define DO_VERSIONING, and don't give scare warning for no
9203 versioning.
9204 * configure: Regenerated.
9205
9206 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
9207
9208 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9209
9210 2000-04-04 Andreas Jaeger <aj@suse.de>
9211
9212 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9213
9214 2000-04-04 Ulrich Drepper <drepper@redhat.com>
9215
9216 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9217 STV_HIDDEN and STV_INTERNAL during lookup.
9218 (profile_fixup): Likewise.
9219 * elf/dl-reloc.c (RESOLVE): Likewise.
9220
9221 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9222 unaligned so that it compiles for system which need unaligned
9223 access handling.
9224
9225 2000-04-04 Andreas Schwab <schwab@suse.de>
9226
9227 * elf/cache.c (print_entry): Only look at the type field when
9228 printing the type.
9229
9230 2000-04-04 Andreas Schwab <schwab@suse.de>
9231
9232 * iconvdata/big5.c (BODY): Fix typo.
9233
9234 2000-04-04 Andreas Schwab <schwab@suse.de>
9235
9236 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9237 function interface. Remove unused _dl_start_user entry point.
9238
9239 2000-04-03 Andreas Jaeger <aj@suse.de>
9240
9241 * include/arpa/inet.h (__inet_aton): Add protoype.
9242
9243 2000-04-01 Andreas Jaeger <aj@suse.de>
9244
9245 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9246
9247 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9248 * sysdeps/mach/mips/thread_state.h: Likewise.
9249
9250 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9251 * sysdeps/generic/fegetenv.c: Likewise.
9252 * sysdeps/generic/fesetenv.c: Likewise.
9253 * sysdeps/generic/feupdateenv.c: Likewise.
9254 * sysdeps/generic/fraiseexcpt.c: Likewise.
9255 * sysdeps/generic/fsetexcptflg.c: Likewise.
9256 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9257 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9258 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9259 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9260
9261 2000-04-02 H.J. Lu <hjl@gnu.org>
9262
9263 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9264
9265 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9266
9267 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9268 (add_name_to_object): Add cast in malloc call.
9269 (fillin_rpath): Optimize loop to initialize ->status a bit.
9270
9271 * sysdeps/i386/dl-machine.h: Undo last change.
9272 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9273 Restore %edx register after call here.
9274
9275 * sysdeps/arm/atomicity.h: New file.
9276 Contributed by Jesper Skov <jskov@redhat.com>.
9277
9278 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
9279
9280 * Makeconfig (preprocess-versions): Undo last change.
9281 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9282
9283 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9284 here, before we might move the stack.
9285 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9286 (init1): And not here.
9287
9288 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9289 change, to restore argc value in call-clobbered register after
9290 RTLD_START_SPECIAL_INIT, which will contain a call.
9291
9292 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9293 allocating and initializing L->l_initfini.
9294
9295 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9296
9297 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9298
9299 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9300 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9301 (open_path): Change type of fourth parameter. Make pointer to array
9302 of pointers. Create variable dirs with original type.
9303 Track whether any directory for the object exists and if not,
9304 change *DIRSP to (void*) -1 to signal there is no such search path.
9305 (_dl_map_object): Change all calls of open_path.
9306 Rewrite decompose_rpath calls.
9307
9308 2000-03-31 Andreas Schwab <schwab@suse.de>
9309
9310 * string/strfry.c: Declare STATE as array of char instead of int
9311 and do not initialize it (done by initstate_r). Pass correct
9312 size.
9313
9314 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9315
9316 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9317
9318 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9319 instruction out of the code.
9320
9321 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9322
9323 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9324 element at this position.
9325
9326 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9327 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9328 l_reldeps elements.
9329 * elf/dl-lookup.c (add_dependency): New function.
9330 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9331 dynamically loaded object.
9332 (_dl_lookup_symbol_skip): Likewise.
9333 (_dl_lookup_versioned_symbol): Likewise.
9334 (_dl_lookup_versioned_symbol_skip): Likewise.
9335 * elf/dl-open.c: Don't define _dl_load_lock here...
9336 * elf/rtld.c: ...but here...
9337 * elf/dl-support.c: ...and here.
9338 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9339 through relocation.
9340 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9341 relocations.
9342 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9343 anymore.
9344 * dlfcn/glrefmain.c: Add one more debug message.
9345
9346 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9347 command line.
9348 * Makerules (sysd-versions): Use ( ) instead of { }.
9349
9350 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9351 optimize for the non-debugging case.
9352 * elf/dl-lookup.c: Likewise.
9353 * sysdeps/generic/libc-start.c: Likewise.
9354
9355 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9356
9357 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9358 (init1): Don't initialize __environ here, since init already does it.
9359 (first_init): New function, broken out of _init.
9360 (_hurd_stack_setup): Use it.
9361 [SHARED] (_dl_init_first): New function, renamed from old _init.
9362 (init1) [SHARED]: Don't call posixland_init here.
9363 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9364 [SHARED] (_init): Define as alias for posixland_init.
9365 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9366 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9367 RTLD_START_SPECIAL_INIT before calling initializers.
9368 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9369 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9370 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9371 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9372
9373 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9374 since we define the function with the name `tmpfile'.
9375
9376 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9377 * hurd/Versions: Likewise.
9378
9379 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9380
9381 * elf/dl-runtime.c (fixup): Fix typo in comment.
9382
9383 * resolv/netdb.h (getnameinfo): All length parameters are of type
9384 socklen_t.
9385 * inet/getnameinfo.c: Likewise.
9386
9387 2000-04-01 Ulrich Drepper <drepper@redhat.com>
9388
9389 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9390 (gethostname): Change type of second parameter to socklen_t.
9391 * include/unistd.h (__gethostname): Change type of second
9392 parameter to socklen_t.
9393 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9394 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9395 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9396 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9397 Likewise.
9398 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9399 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9400 Allow definition elsewhere.
9401 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9402 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9403 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9404 * sysdeps/generic/bits/types.h: Define __socklen_t.
9405 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9406 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9407 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9408 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9409 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9410 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9411 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9412
9413 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9414 (inet_lnaof): Likewise.
9415 (inet_netof): Likewise.
9416 (inet_network): Likewise.
9417 (inet_aton): Likewise.
9418 (inet_makeaddr): Change parameter types to in_addr_t.
9419 (inet_neta): Likewise.
9420 (inet_ntop): Change type of last parameter to socklen_t.
9421 (inet_aton): Only make available if __USE_MISC.
9422 (inet_neta): Likewise.
9423 (inet_net_ntop): Likewise.
9424 (inet_net_pton): Likewise.
9425 (inet_nsap_ntoa): Likewise.
9426
9427 * inet/in.h: Define in_port_t type.
9428 Define in_addr_t type.
9429 (struct in_addr): Use in_addr_t in definition.
9430 (IN_CLASSA): Use cast to in_addr_t.
9431 (IN_CLASSB): Likewise.
9432 (IN_CLASSC): Likewise.
9433 (IN_CLASSD): Likewise.
9434 (IN_EXPERIMENTAL): Likewise.
9435 (IN_BADCLASS): Likewise.
9436 (INADDR_ANY): Likewise.
9437 (INADDR_BROADCAST): Likewise.
9438 (INADDR_NONE): Likewise.
9439 (INADDR_LOOPBACK): Likewise.
9440 (INADDR_UNSPEC_GROUP): Likewise.
9441 (INADDR_ALLHOSTS_GROUP): Likewise.
9442 (INADDR_ALLRTRS_GROUP): Likewise.
9443 (INADDR_MAX_LOCAL_GROUP): Likewise.
9444 (struct sockaddr_in): Use in_port_t for sin_port element.
9445 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9446 Use uint8_t instead of u_int8_t.
9447
9448 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9449 Call __inet_aton instead of inet_aton.
9450 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
9451
9452 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9453 (innetgr): Likewise.
9454 (struct addrinfo): Use socklen_t for ai_addrlen element.
9455
9456 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9457 IPV6_RECVERR): New defines.
9458
9459 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9460 * inet/getnetbyad.c: Likewise.
9461 * inet/getnetbyad_r.c: Likewise.
9462 * nis/nss_nis/nis-network.c: Likewise.
9463 * nis/nssplus_nis/nisplus-network.c: Likewise.
9464 * nss/nss_files/files-network.c: Likewise.
9465 * resolv/netdb.h: Define uint32_t if not already happened.
9466 Include bits/netdb.h. Remove definition of struct netent.
9467 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9468 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9469 * sysdeps/generic/bits/netdb.h: New file.
9470 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9471
9472 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9473 (tests): Add glrefmain.
9474 Add rules to build modules and run tests. Ignore result of glrefmain
9475 for now since it fails.
9476 * dlfcn/glrefmain.c: New file.
9477 * dlfcn/glreflib1.c: New file.
9478 * dlfcn/glreflib2.c: New file.
9479
9480 * test-skeleton.c: Include <string.h> for strsignal prototype.
9481
9482 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9483 to be missing.
9484
9485 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9486 former init-first.h. Initialize __libc_multiple_libcs.
9487
9488 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9489
9490 * iconv/skeleton.c: Define access macros with u suffix. Adjust
9491 #if expression for use of unaligned function to the one used in
9492 the definition of these functions.
9493 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
9494 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9495 (internal_ucs4le_loop_unaligned): New function.
9496
9497 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9498 (tests): Add order.
9499 (module-names): Add dep1, dep2, dep3, and dep4.
9500 Add dependencies for dep* modules and order.
9501 Define rule for order.out which checks the result.
9502 * elf/dep1.c: New file.
9503 * elf/dep2.c: New file.
9504 * elf/dep3.c: New file.
9505 * elf/dep4.c: New file.
9506 * elf/order.c: New file.
9507
9508 * elf/dl-init.c: Fix typo in comment.
9509
9510 2000-03-31 Andreas Jaeger <aj@suse.de>
9511
9512 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9513 init function interface.
9514 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9515
9516 2000-03-31 Andreas Jaeger <aj@suse.de>
9517
9518 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9519 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9520 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9521 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9522 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9523
9524 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
9525 anymore, update comment.
9526
9527 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9528
9529 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9530 SHLIB_COMPAT - the struct is always needed.
9531
9532 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9533
9534 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9535 * elf/dl-support.c: Define _dl_starting_up.
9536
9537 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9538
9539 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
9540 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9541
9542 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
9543
9544 * elf/Makefile (dl-routines): Remove preinit.
9545 * elf/Versions: Remove _dl_preinit.
9546 * elf/dl-preinit.c: Removed. Move content into...
9547 * elf/dl-init.c: ...here.
9548 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
9549
9550 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9551 elements.
9552
9553 2000-03-29 Geoff Clare <gwc@unisoft.com>
9554
9555 * stdlib/strfmon.c: Corrected problems with the code that
9556 sets default values for [np]_sep_by_space and
9557 [np]_sign_posn; also the new positive/negative alignment
9558 code from the previous patch was not quite right for
9559 [np]_sign_posn = 0.
9560
9561 * localedata/tst-fmon.data: Changes corresponding to the
9562 two sets of fixes made to stdlib/strfmon.c.
9563
9564 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
9565
9566 * malloc/malloc.c: Declare bit flags UL so that they will not
9567 default to int size when being inverted.
9568
9569 2000-03-29 Andreas Jaeger <aj@suse.de>
9570
9571 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
9572 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9573
9574 2000-03-29 Andreas Jaeger <aj@suse.de>,
9575 Ralf Baechle <ralf@uni-koblenz.de>
9576
9577 * Makeconfig: Introduce new variable SHARED to mark code used in
9578 the shared library.
9579 * elf/dl-close.c: Use it instead of PIC.
9580 * elf/dl-load.c: Likewise.
9581 * elf/dl-open.c: Likewise.
9582 * hurd/geteuids.c: Likewise.
9583 * include/libc-symbols.h: Likewise.
9584 * include/shlib-compat.h: Likewise.
9585 * libio/freopen.c: Likewise.
9586 * linuxthreads/cancel.c: Likewise.
9587 * linuxthreads/pthread.c: Likewise.
9588 * linuxthreads/wrapsyscall.c: Likewise.
9589 * nss/nsswitch.c: Likewise.
9590 * stdio-common/vfprintf.c: Likewise.
9591 * sysdeps/arm/init-first.c: Likewise.
9592 * sysdeps/i386/init-first.c: Likewise
9593 * sysdeps/generic/init-first.c: Likewise.
9594 * sysdeps/generic/libc-start.c: Likewise.
9595 * sysdeps/mips/init-first.c: Likewise.
9596 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9597 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9598 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9599 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9600 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9601
9602 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
9603
9604 2000-03-29 Andreas Jaeger <aj@suse.de>
9605
9606 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9607 Use D_PTR to access relocated entries in l_info.
9608 (elf_machine_rela): Likewise.
9609
9610 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9611 Likewise.
9612 (elf_machine_rela): Likewise.
9613
9614 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9615 Likewise.
9616 (__elf_machine_fixup_plt): Likewise.
9617 (__process_machine_rela): Likewise.
9618
9619 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9620 (elf_machine_rela): Likewise.
9621
9622 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
9623 (elf_machine_rel): Likewise.
9624
9625 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9626 (elf_machine_fixup_plt): Likewise.
9627 (elf_machine_rela): Likewise.
9628
9629 2000-03-29 Andreas Jaeger <aj@suse.de>
9630
9631 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
9632 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9633 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9634 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
9635 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9636 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
9637 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9638 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
9639 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9640 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
9641 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
9642 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
9643 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
9644 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
9645 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9646
9647 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
9648 macros, remove K&R prototypes.
9649
9650 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9651
9652 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
9653 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
9654 (PR libc/1677).
9655
9656 2000-03-30 Andreas Jaeger <aj@suse.de>
9657
9658 * misc/sys/cdefs.h: Remove K&R support.
9659
9660 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9661
9662 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9663 more cases.
9664 * iconv/loop.c: Likewise.
9665
9666 2000-03-29 Bruno Haible <haible@clisp.cons.org>
9667
9668 * iconv/loop.c (put16): Remove __const. Fix access index.
9669 (put32): Remove __const. Use uint32_t instead of uint16_t.
9670 * iconv/skeleton.c: Likewise.
9671
9672 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
9673
9674 * mach/Versions (libc: GLIBC_2.0)
9675 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
9676 __vm_allocate on this.
9677 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
9678 mutex- and spinlock-related symbols on this.
9679 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9680 New version set. Lock-related symbols go here instead in this case.
9681 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
9682 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
9683 cthread_getspecific, cthread_setspecific, __libc_getspecific.
9684 * hurd/Versions
9685 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
9686 Put them here instead.
9687 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9688 New version set. Those cthreads symbols go here instead in this case.
9689 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
9690
9691 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9692
9693 * elf/dl-init.c (_dl_init): We don't need to call constructors
9694 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
9695
9696 Implement dynamic determination of constructor/destructor order in
9697 the dynamic linker.
9698 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
9699 (GLIBC_2.2): Add _dl_init.
9700 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
9701 r_duplist is not anymore allocated separately. l_initfini is and
9702 therefore free it if necessary.
9703 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
9704 malloc block. Otherwise allocate l_initfini list only.
9705 Put dependencies for the object in l_initfini list.
9706 Sort dependencies for the object to be loaded topologically.
9707 * elf/dl-fini.c: Before running the destructors sort the topologically.
9708 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
9709 call constructors instead of iterating over the pointers. Get list of
9710 objects for which to run constructors from l_initfini element. Accept
9711 argc, argv, and env as parameters and pass them to the constructors.
9712 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
9713 with size of dynamic section.
9714 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
9715 _dl_init_next and calling constructors ourself.
9716 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
9717 Take argc, argv, and env as parameters and pass them to the
9718 constructors. Rewrite to call all constructors and not iterate over
9719 the pointers.
9720 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
9721 precompute l_initcount and l_preinitcount.
9722 * elf/link.h (struct link_map): Add l_ldnum member.
9723 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
9724 l_initcount, and l_preinitcount. Add l_initfini.
9725 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
9726 one for _dl_init.
9727 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
9728 function interface.
9729 * sysdeps/unix/sysv/linux/init-first.h: Removed.
9730 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
9731 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
9732 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
9733 conventions now match.
9734
9735 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
9736 effect for shared objects. Don't emit message and call only for
9737 static library.
9738
9739 2000-03-29 Ulrich Drepper <drepper@redhat.com>
9740
9741 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
9742 CSA_Z243.4-1985-1..UCS2.
9743 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
9744 ISO-8859-10..UCS2.
9745
9746 2000-03-29 Andreas Jaeger <aj@suse.de>
9747
9748 * include/unistd.h: Remove duplicate entry for __rmdir.
9749 Remove declaration of __mkdir since __mkdir is declared in
9750 sys/stat.h.
9751
9752 * manual/creature.texi (Feature Test Macros): Fix typo, reported
9753 by Michael Deutschmann <michael@talamasca.ocis.net>.
9754
9755 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
9756 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9757 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9758 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9759 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
9760
9761 2000-03-28 Andreas Jaeger <aj@suse.de>
9762
9763 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
9764 declaration, the prototype is defined via bits/mathcalls.h.
9765 (__sincosf): Likewise.
9766 (__sincosl): Likewise.
9767 (ldexp): Likewise.
9768 (ldexpf): Likewise.
9769 (ldexpl): Likewise.
9770 (__finite): Likewise.
9771 (__inline_mathcodeNP): New macro without prototype
9772 declarations.
9773 (__inline_mathcodeNP2): Likewise.
9774 (__inline_mathcodeNP3): Likewise.
9775 (__inline_mathcodeNP_): Likewise.
9776 (__inline_mathcodeNP2_): Likewise.
9777 (__inline_mathcodeNP3_): Likewise.
9778 (__inline_mathopNP): Likewise.
9779 (__inline_mathop_declNP): Likewise.
9780 (__inline_mathop_declNP_): Likewise.
9781 (__inline_mathcode_): Use __inline_mathcodeNP_.
9782 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
9783 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
9784 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
9785 (__expm1l): Don't define prototype, the prototype is defined via
9786 bits/mathcalls.h.
9787 (exp): Likewise.
9788 (__expl): Likewise.
9789 (tan): Likewise.
9790 (atan2): Likewise.
9791 (__atan2l): Likewise.
9792 (fmod): Likewise.
9793 (pow): Likewise.
9794 (fabsf): Likewise.
9795 (fabsl): Likewise.
9796 (__fabsl): Likewise.
9797 (asin): Likewise.
9798 (acos): Likewise.
9799 (sinh): Likewise.
9800 (cosh): Likewise.
9801 (tanh): Likewise.
9802 (floor): Likewise.
9803 (ceil): Likewise.
9804 (expm1): Likewise.
9805 (log1p): Likewise.
9806 (asinh): Likewise.
9807 (acosh): Likewise.
9808 (atanh): Likewise.
9809 (hypot): Likewise.
9810 (logb): Likewise.
9811 (fma): Likewise.
9812 (drem): Likewise.
9813 (sqrt): Likewise.
9814 (__sqrtl): Likewise.
9815 (sin): Likewise.
9816 (cos): Likewise.
9817 (atan): Likewise.
9818 (log): Likewise.
9819 (log10): Likewise.
9820 (asinh): Likewise.
9821 (log2): Likewise.
9822 (rint): Likewise.
9823
9824 2000-03-28 Ulrich Drepper <drepper@redhat.com>
9825
9826 * Makerules: If make variable md5 is defined to yes after
9827 generating dependencies generate MD5 sum for the object.
9828
9829 * iconv/gconv_builtin.h: Fix length in transformation definition
9830 for UNICODEBIG.
9831
9832 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
9833
9834 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
9835 allow as well reading from/writing to unaligned addresses on machines
9836 which don't support this in hardware. Use FCTNAME macro to define
9837 function name. Include the file a second time for platforms which
9838 need special unaligned handling.
9839 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
9840 to access potentially unaligned addresses. These macros are intended
9841 to be used only outside the loops.
9842 (unaligned): New definition. In case the machine can handle unaligned
9843 access define as zero. Otherwise as a variable which is initialized
9844 as nonzero in case the buffer passed in at runtime is unaligned with
9845 respect to the character set encoding involved.
9846 Call aligned or unaligned looop functions according to unaligned
9847 variable.
9848 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
9849 of direct casting pointer to potentially handle unaligned memory
9850 accesses.
9851 * iconvdata/8bit-generic.c: Likewise.
9852 * iconvdata/ansi_x3.110.c: Likewise.
9853 * iconvdata/big5.c: Likewise.
9854 * iconvdata/euc-cn.c: Likewise.
9855 * iconvdata/euc-jp.c: Likewise.
9856 * iconvdata/euc-kr.c: Likewise.
9857 * iconvdata/euc-tw.c: Likewise.
9858 * iconvdata/gbk.c: Likewise.
9859 * iconvdata/iso-2022-cn.c: Likewise.
9860 * iconvdata/iso-2022-jp.c: Likewise.
9861 * iconvdata/iso-2022-kr.c: Likewise.
9862 * iconvdata/iso646.c: Likewise.
9863 * iconvdata/iso_6937-2.c: Likewise.
9864 * iconvdata/iso_6937.c: Likewise.
9865 * iconvdata/johab.c: Likewise.
9866 * iconvdata/sjis.c: Likewise.
9867 * iconvdata/t.61.c: Likewise.
9868 * iconvdata/uhc.c: Likewise.
9869 * iconvdata/unicode.c: Likewise.
9870 * iconvdata/utf-16.c: Likewise.
9871
9872 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
9873 prototypes.
9874
9875 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
9876 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
9877 public.
9878 * malloc/mcheck.h (mcheck_check_all): Declare.
9879
9880 * stdio-common/Makefile (tests): Add tst-obprintf.
9881
9882 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
9883
9884 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
9885 Declare pthread_sigmask.
9886
9887 * csu/version.c: Add 2000 to copyright years.
9888 Remove Emacs local variables section.
9889
9890 2000-03-23 Bruno Haible <haible@clisp.cons.org>
9891
9892 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
9893 __gconv_transform_internal_ucs2little): Remove declarations.
9894 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
9895 __gconv_transform_internal_ucs2): Never need to bswap_16.
9896 (__gconv_transform_ucs2reverse_internal,
9897 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
9898
9899 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
9900
9901 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
9902 obsoleting version not being defined at all, in which case the
9903 result is always true.
9904
9905 * Makeconfig (preprocess-versions): New canned sequence for running
9906 cpp on shlib-versions and the like.
9907 (soversions.i): Use it.
9908 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
9909 Versions.def and Versions files.
9910
9911 2000-03-27 Ulrich Drepper <drepper@redhat.com>
9912
9913 * stdio-common/tst-obprintf.c (main): Add another check to see
9914 obstack_printf handling all possible beginnings of the block
9915 inside an obstack chunk.
9916
9917 * locale/programs/localedef.c: Use __malloc_initialize_hook to
9918 install mcheck handler.
9919
9920 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
9921 handling problem.
9922
9923 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
9924
9925 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
9926
9927 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
9928 on [HAVE_ELF && DO_VERSIONING].
9929
9930 2000-03-27 Ulrich Drepper <drepper@redhat.com>
9931
9932 * stdio-common/tst-obprintf.c: New file.
9933
9934 2000-03-26 Ulrich Drepper <drepper@redhat.com>
9935
9936 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
9937 _IO_OVERFLOW directly instead through __overflow.
9938
9939 * locale/programs/localedef.c (construct_output_path): If path
9940 contains a / compute the end of the directory name correctly.
9941
9942 * include/features.h: Undef and document __USE_XOPEN2K.
9943
9944 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
9945 whenever a function is called. Initiated by calling mcheck_pedantic
9946 instead of mcheck.
9947 * malloc/mcheck.h: Declare mcheck_pedantic.
9948 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
9949 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
9950 for now.
9951
9952 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
9953
9954 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
9955 * dlfcn/dlopenold.c: Likewise.
9956 * nss/getXXbyYY_r.c: Likewise.
9957 * nss/getXXent_r.c: Likewise.
9958 * hurd/hurdinit.c: Likewise.
9959 * hurd/compat-20.c: Likewise.
9960 * libio/oldiofopen.c: Likewise.
9961 * libio/oldiofclose.c: Likewise.
9962 * libio/oldiofdopen.c: Likewise.
9963 * libio/oldfileops.c: Likewise.
9964 * libio/oldstdfiles.c: Likewise.
9965 * libio/oldiofsetpos.c: Likewise.
9966 * libio/oldiofgetpos.c: Likewise.
9967 * libio/oldiofgetpos64.c: Likewise.
9968 * libio/oldiofsetpos64.c: Likewise.
9969 * libio/oldiopopen.c: Likewise.
9970 * libio/oldpclose.c: Likewise.
9971 * libio/oldtmpfile.c: Likewise.
9972 * libio/freopen.c (freopen): Likewise.
9973 * libio/iofclose.c (_IO_new_fclose): Likewise.
9974
9975 * sysdeps/mach/sys/reboot.h: Include <features.h>.
9976 (reboot): Declare it.
9977
9978 * libio/Makefile (headers): Add bits/stdio-lock.h here.
9979
9980 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
9981
9982 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
9983
9984 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
9985 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
9986 We need this for the sbrk decl, which can be included without Unix98.
9987
9988 2000-03-20 Richard Henderson <rth@cygnus.com>
9989
9990 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
9991 argument to yperr2nss is an int, not size_t.
9992 * posix/regex.c (print_partial_compiled_pattern): Cast all
9993 ptrdiff_t to long for printing.
9994 (print_compiled_pattern): Use Z for printing size_t.
9995 * posix/testfnm.c (tests): Avoid trigraphs.
9996 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9997 Use a C comment, not an assembly comment.
9998
9999 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10000 of __ASSUME_32BITUIDS.
10001
10002 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10003
10004 * libio/iofopncook.c: Remove K&R prototypes.
10005
10006 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10007
10008 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10009 an initial value of 1024 instead of RLIM_INFINITY.
10010
10011 * Versions.def (libmachuser, libhurduser): Remove these sections,
10012 since these libraries do not presently use symbol versions.
10013
10014 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10015 is RLIM_INFINITY, return -1 instead.
10016
10017 2000-03-24 Andreas Jaeger <aj@suse.de>
10018
10019 * Makefile (postclean): Added soversions.i.
10020
10021 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10022
10023 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10024 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10025 and _FPU_IEEE. Change _FPU_RESERVED.
10026
10027 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10028
10029 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10030
10031 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10032
10033 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10034 (gaih_inet): Remove unused duplicate variable.
10035
10036 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10037 Don't use __libc_sa_len, which only exists for Linux. Just handle
10038 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10039 only flavors supported by this function anyway.
10040
10041 2000-03-24 Geoff Clare <gwc@unisoft.com>
10042
10043 * stdlib/strfmon.c: Corrected problems with missing signs and
10044 missing or extra spaces; allow for sign strings longer than
10045 one character; add padding to ensure positive and negative
10046 formats are aligned when a left precision is used.
10047
10048 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10049
10050 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
10051 Patch by John Mizel <John.Mizel@msdw.com>.
10052
10053 2000-03-25 Ulrich Drepper <drepper@redhat.com>
10054
10055 * manual/install.texi: Remove references to crypt add-on.
10056
10057 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
10058
10059 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
10060 section while taking the _hurd_rlimit_lock.
10061 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10062
10063 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10064
10065 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10066 using $(LN_S).
10067
10068 * sysdeps/mach/hurd/if_index.c: New file.
10069
10070 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10071 * sysdeps/gnu/net/if.h: here.
10072 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10073 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10074 * sysdeps/generic/net/if.h: New file. Declares just the standard
10075 functions and `struct if_nameindex' type.
10076 * socket/Makefile (headers): Add net/if.h here.
10077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10078 * sysdeps/mach/hurd/Dist: Remove it here.
10079 * sysdeps/unix/sysv/linux/Dist: And here.
10080 * sysdeps/generic/if_index.c: Include <net/if.h>.
10081
10082 2000-03-24 Andreas Jaeger <aj@suse.de>
10083
10084 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10085 access relocated entries in l_info.
10086 (elf_machine_got_rel): Likewise.
10087 (elf_machine_runtime_setup): Likewise.
10088 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10089 (elf_machine_runtime_setup): Likewise.
10090 (__dl_runtime_resolve): Likewise.
10091
10092 2000-03-23 Ulrich Drepper <drepper@redhat.com>
10093
10094 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10095 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10096 according to RFC 2553.
10097 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10098 * inet/getnameinfo.c: Likewise.
10099 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10100
10101 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10102
10103 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10104 Remove no-op pointer increment.
10105
10106 2000-03-23 Andreas Jaeger <aj@suse.de>
10107
10108 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10109 follow change for libio.h from 2000-03-10.
10110
10111 2000-03-23 Andreas Jaeger <aj@suse.de>
10112
10113 * elf/dl-addr.c: Adjust include paths for ldsodefs location
10114 change.
10115 * elf/dl-debug.c: Likewise.
10116 * elf/dl-deps.c: Likewise.
10117 * elf/dl-error.c: Likewise.
10118 * elf/dl-fini.c: Likewise.
10119 * elf/dl-init.c: Likewise.
10120 * elf/dl-load.c: Likewise.
10121 * elf/dl-lookup.c: Likewise.
10122 * elf/dl-minimal.c: Likewise.
10123 * elf/dl-object.c: Likewise.
10124 * elf/dl-open.c: Likewise.
10125 * elf/dl-preinit.c: Likewise.
10126 * elf/dl-profile.c: Likewise.
10127 * elf/dl-profstub.c: Likewise.
10128 * elf/dl-reloc.c: Likewise.
10129 * elf/dl-runtime.c: Likewise.
10130 * elf/dl-support.c: Likewise.
10131 * elf/dl-symbol.c: Likewise.
10132 * elf/dl-version.c: Likewise.
10133 * elf/rtld.c: Likewise.
10134 * elf/sprof.c: Likewise.
10135 * sysdeps/generic/dl-cache.c: Likewise.
10136 * sysdeps/generic/dl-origin.c: Likewise.
10137 * sysdeps/generic/dl-sysdep.c: Likewise.
10138 * sysdeps/generic/elf/backtracesyms.c: Likewise.
10139 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10140 * sysdeps/generic/libc-start.c: Likewise.
10141 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10142 * sysdeps/powerpc/dl-machine.c: Likewise.
10143 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10144 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10145 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10146 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10147
10148 * elf/ldsodefs.h: Move file to ...
10149 * sysdeps/generic/ldsodefs.h: ... here.
10150
10151 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
10152
10153 * sysdeps/mips/elf/ldsodefs.h: New file.
10154
10155 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10156 entries in l_info.
10157 (_dl_check_map_versions): Likewise.
10158 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10159 * elf/dl-load.c (_dl_init_paths): Likewise.
10160 (_dl_map_object): Likewise.
10161 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10162 (elf_get_dynamic_info): Likewise.
10163 * elf/do-lookup.h (FCT): Likewise.
10164 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10165 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10166 * elf/dl-addr.c (_dl_addr): Likewise.
10167 * elf/dl-runtime.c (profile_fixup): Likewise.
10168 (fixup): Likewise.
10169 * elf/dl-init.c (_dl_init_next): Likewise.
10170 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10171 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10172 (DISTINGUISH_LIB_VERSIONS): Likewise.
10173 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10174 (elf_machine_rel): Likewise.
10175
10176 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10177 for writable dynamic section.
10178
10179 2000-03-22 Ulrich Drepper <drepper@redhat.com>
10180
10181 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10182 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10183
10184 2000-03-22 Andreas Jaeger <aj@suse.de>
10185
10186 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10187 from latest Linux kernel.
10188
10189 2000-03-21 Andreas Jaeger <aj@suse.de>
10190
10191 * Versions.def: Add version 2.1.4.
10192
10193 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10194
10195 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10196 * libio/oldiofopen.c: Likewise.
10197 * libio/oldiofclose.c: Likewise.
10198 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10199
10200 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
10201
10202 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10203 indicating the first version set to obsolete the conditionalized code.
10204 (compat_symbol): New macro.
10205 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10206 rhs be the ABI_* macro for the subsuming version. Assign increasing
10207 integer values to the ABI_* macros for supported versions.
10208 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10209 compat_symbol macro.
10210
10211 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10212
10213 * nscd/connections.c (nscd_run): Pretty print.
10214 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10215
10216 * manual/charset.texi: Fix typos. Rephrase.
10217 * manual/process.texi: Likewise.
10218 * manual/signal.texi: Likewise.
10219 Patches by Mike Coleman <mkc@kc.net>.
10220
10221 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10222 versions.
10223 * libio/iofdopen.c: Likewise.
10224 * libio/iofgetpos.c: Likewise.
10225 * libio/iofgetpos64.c: Likewise.
10226 * libio/iofopen.c: Likewise.
10227 * libio/iofsetpos.c: Likewise.
10228 * libio/iofsetpos64.c: Likewise.
10229 * libio/iopopen.c: Likewise.
10230 * libio/oldiofopen.c: Likewise.
10231 * libio/pclose.c: Likewise.
10232 * sysdeps/gnu/siglist.c: Likewise.
10233 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10234
10235 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10236 chance to expand VERSION_##lib##_##version.
10237
10238 * libio/fileops.c: Use new macros from shlib-compat.h to define
10239 versions.
10240 * libio/iofclose.c: Likewise.
10241 * libio/oldiofclose.c: Likewise.
10242 Patch by Roland McGrath <roland@frob.com>.
10243
10244 2000-03-21 Jakub Jelinek <jakub@redhat.com>
10245
10246 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10247 Lay out struct sigcontext according to what really gets passed on
10248 the stack.
10249 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10250 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10251 (prgregset_t, prfpregset_t): Define to elf_* types.
10252 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10253 Define to correct value.
10254 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10255 sigcontext.
10256 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10257
10258 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
10259
10260 * scripts/firstversions.awk: Allow multiple version sets in the
10261 "earliest version" specification, meaning that version sets in the
10262 gaps between listed versions should be folded into the earliest later
10263 version that is explicitly listed.
10264 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10265 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10266
10267 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10268
10269 * iconv/gconv_builtin.c: Include <endian.h>.
10270 * iconv/gconv_builtin.h: Add UCS-BE aliases.
10271 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
10272 according to current platform.
10273 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10274 __gconv_transform_internal_ucs2reverse, and
10275 __gconv_transform_internal_ucs4le.
10276 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10277 __gconv_transform_ucs2reverse_internal and
10278 __gconv_transform_internal_ucs2reverse.
10279 * iconvdata/Makefile (modules): Add UNICODE.
10280 (distribute): Add unicode.c.
10281 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10282 * iconvdata/unicode.c: New file.
10283
10284 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10285 determine byte order of input and convert accordingly.
10286
10287 * iconvdata/utf-16.c (gconv_init): Fix typo.
10288
10289 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10290
10291 * iconvdata/gconv-modules: Fix typo.
10292
10293 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10294 more messages.
10295
10296 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10297
10298 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10299
10300 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10301
10302 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10303
10304 * misc/Makefile (routines): Add mincore.
10305
10306 2000-03-20 Andreas Jaeger <aj@suse.de>
10307
10308 * sysdeps/generic/mincore.c: New stub file.
10309
10310 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10311 from latest Linux kernel.
10312
10313 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10314
10315 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10316 _SC_GETPW_R_SIZE_MAX.
10317
10318 2000-03-20 Richard Henderson <rth@cygnus.com>
10319
10320 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10321 in GLIBC_2.1.4.
10322
10323 2000-03-20 Richard Henderson <rth@cygnus.com>
10324
10325 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10326 of arithmetic instructions.
10327
10328 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10329 with the fpcr. Protect from INV exception.
10330 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10331 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10332 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10333
10334 * sysdeps/alpha/fpu/s_copysign.c: New.
10335 * sysdeps/alpha/fpu/s_copysignf.c: New.
10336 * sysdeps/alpha/fpu/s_fabs.c: New.
10337 * sysdeps/alpha/fpu/s_fabsf.c: New.
10338 * sysdeps/alpha/fpu/s_rint.c: New.
10339 * sysdeps/alpha/fpu/s_rintf.c: New.
10340
10341 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10342
10343 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10344 Kill sethae.
10345 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10346 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10347 Use physical addresses not KSEG addresses.
10348 (io_system): Add PYXIS.
10349 (io): Remove hae.reg, sys, hae_shift.
10350 (stb_mb, stw_mb, stl_mb, __sethae): New.
10351 (inline_outb, inline_outw, inline_outl): Don't set hae.
10352 (inline_inb, inline_inw, inline_inl): Likewise.
10353 (dense_sethae): New null function.
10354 (struct cpuinfo_data): New.
10355 (process_cpuinfo): Use local and stack variables, not static.
10356 Move readlink check here from init_iosys.
10357 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10358 (_iopl): Simplify.
10359 (_hae_shift): Calculate it here.
10360 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10361 add pciconfig_iobase.
10362
10363 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10364
10365 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10366 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10367
10368 * scripts/versions.awk: Fixed version renaming code to distinguish
10369 libraries properly.
10370
10371 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10372
10373 * include/stdlib.h: Add prototype for __cxa_atexit.
10374
10375 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10376 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10377
10378 2000-03-17 Cristian Gafton <gafton@redhat.com>
10379
10380 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10381 existing rtld-installed-name.
10382 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10383 replace existing rtld-installed-name using $(symbolic-link-prog).
10384
10385 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10386
10387 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10388 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10389 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10390 but not the former.
10391
10392 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10393
10394 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10395 glob64. Since there is no glob64 in the LFS proposal applications
10396 can assume that glob handles LFS situations. glob64 is only needed
10397 if alternative filesystem functions are used.
10398
10399 2000-03-19 Geoff Clare <gwc@unisoft.com>
10400
10401 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10402 when GLOB_DOOFFS is set; correct handling of patterns
10403 containing escaped wildcards (and no unescaped ones);
10404 GLOB_ERR flag was being ignored in some situations.
10405
10406 * posix/globtest.c, posix/globtest.sh: Updated to include
10407 tests for the problems fixed by the above changes to glob.c.
10408
10409 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10410
10411 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10412
10413 * Makeconfig (soversion.i): Use only first match for each lib.
10414
10415 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10416
10417 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10418 rather than $(sysd-dirs-done) to protect these rules.
10419
10420 * Makerules (version-renames.def): Target removed.
10421 (Versions.all): Depend on soversions.i directly and parse it.
10422
10423 * Makeconfig (soversions.i): New target, input-reading parts of
10424 soversions.mk generation moved here; result is a canonicalized
10425 list "LIB VERSION [SET]" for this configuration.
10426 (soversions.mk): Use that as input. Don't emit map-firstversions.
10427 * Makerules (version-renames.def): New target, generated from
10428 soversions.i with contents that was in $(map-firstversions).
10429 (Versions.all): Don't depend on soversions.mk, depend on
10430 version-renames.def instead; just cat it into the input.
10431
10432 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10433 for $(map-firstversions), which better handles it being empty.
10434
10435 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10436 supported version for libc 0.2.90.libio to GLIBC_2.2.
10437
10438 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10439 and use it to emit new variable `map-firstversions'.
10440 * scripts/firstversions.awk: New file.
10441 * Makerules (Versions.all): Use scripts/firstversions.awk and
10442 the $(map-firstversions) value to generate a modified versions list
10443 that includes renames in "A = B" syntax for each version set earlier
10444 than the "earliest symbol version" named in shlib-versions.
10445 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10446 rename version set A to B in the output to the intermediate file.
10447 * scripts/abi-versions.awk: New file.
10448 * Makerules (abi-versions.h): New target, generated by that script.
10449 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10450 * include/shlib-compat.h: New file, uses that generated header.
10451
10452 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
10453
10454 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10455 after stripping # comments, and then run it through cpp.
10456 This allows things like "%ifdef FOO" based on config.h settings.
10457 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10458
10459 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10460 and other errors that indicate a pseudo-receive happened, grok through
10461 the message buffer for port rights that need references fixed up.
10462
10463 2000-03-16 Andreas Jaeger <aj@suse.de>
10464
10465 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10466
10467 * sysdeps/unix/sysv/linux/madvise.c: Remove.
10468
10469 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10470 from latest Linux kernel.
10471 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10472
10473 * misc/sys/mman.h: Add prototype for mincore.
10474
10475 2000-03-17 Ulrich Drepper <drepper@redhat.com>
10476
10477 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10478 entry for GLIBC_2.0 version of setrlimit.
10479 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10480
10481 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10482
10483 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10484 * nis/nss_compat/compat-initgroups.c: Likewise.
10485 * nis/nss_nis/nis-initgroups.c: Likewise.
10486 * nis/nss_nis/nis-netgrp.c: Likewise.
10487 * nis/nss_nis/nis-proto.c: Likewise.
10488 * nis/nss_nis/nis-rpc.c: Likewise.
10489 * nis/nss_nis/nis-service.c: Likewise.
10490 * nis/ypclnt.c: Likewise.
10491
10492 2000-03-16 Andreas Jaeger <aj@suse.de>
10493
10494 * manual/Makefile: MAKEINFO is set to `:' from configure if it
10495 doesn't exist, correct checks. Fixes PR libc/1649.
10496
10497 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10498
10499 * nscd/hstcache.c: Restore correct UID.
10500 * nscd/pwdcache.c: Likewise.
10501 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10502
10503 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10504
10505 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10506 macros for register names, in line with 2000-03-14 linux change.
10507
10508 * sysdeps/mach/sched_yield.c: New file.
10509
10510 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
10511
10512 * sysdeps/generic/lockfile.c: Include <stdio.h>
10513 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10514 case <libio.h> defined them.
10515 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10516 from __internal_*.
10517 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10518 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10519
10520 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10521 for more pleasing parse error.
10522
10523 2000-03-16 Ulrich Drepper <drepper@redhat.com>
10524
10525 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10526 memory for eras.
10527 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10528
10529 * elf/Makefile: Add rules to compile and run constload1 test.
10530 * elf/constload1.c: New file.
10531 * elf/constload2.c: New file.
10532 * elf/constload3.c: New file.
10533
10534 2000-03-15 Ulrich Drepper <drepper@redhat.com>
10535
10536 * sysdeps/posix/open64.c: Make __open64 weak alias.
10537 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10538 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10539 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10540 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10541 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10542 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10543 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10544 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10545 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10546 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10547
10548 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10549
10550 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10551 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10552
10553 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10554
10555 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10556 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10557
10558 2000-03-08 Andreas Jaeger <aj@suse.de>
10559
10560 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10561
10562 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10563
10564 * timezone/africa: Update from tzdata2000d.
10565 * timezone/asia: Likewise.
10566 * timezone/australasia: Likewise.
10567 * timezone/europe: Likewise.
10568 * timezone/northamerica: Likewise.
10569 * timezone/southamerica: Likewise.
10570
10571 * po/fr.po: Update from translation team.
10572 * po/de.po: Likewise.
10573
10574 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
10575 last parameter. Move code to add map to global scope from here...
10576 * elf/dl-open.c (dl_open_worker): ...here.
10577 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
10578 * elf/rtld.c: Adjust call to _dl_map_object_deps.
10579
10580 * locale/programs/ld-collate.c (collate_read): Fix warning.
10581
10582 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
10583 values and macros for register names.
10584
10585 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
10586 returned by seek cookie function is -1.
10587
10588 2000-03-14 Andreas Jaeger <aj@suse.de>
10589
10590 * locale/localeconv.c (localeconv): Fix typo.
10591 Reported by Andre Charbonneau <andrec@corel.com>.
10592
10593 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10594
10595 * iconv/skeleton.c: Increment __invocation_counter in inner loop
10596 since modules depend on it counting the number of times the conversion
10597 function got called.
10598
10599 * iconv/gconv_open.c: Optimize loop to setup step data structure.
10600
10601 * iconv/gconv.h: Pretty print.
10602
10603 2000-03-04 Ulrich Drepper <drepper@redhat.com>
10604
10605 * posix/wordexp-test.c: Correct one of the tests added in the last
10606 change. Really get the root passwd entry to check again ~root.
10607
10608 2000-03-10 Andreas Jaeger <aj@suse.de>
10609
10610 * manual/filesys.texi (Working Directory): Fix last patch.
10611 Patch by Martin Buchholz <martin@xemacs.org>.
10612
10613 2000-03-10 Andreas Jaeger <aj@suse.de>
10614
10615 * manual/creature.texi (Feature Test Macros): Fix language.
10616
10617 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
10618
10619 * mach/devstream.c (devstream_write, devstream_read): New functions.
10620 (input, output): Functions removed.
10621 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
10622 using only the vanilla fopencookie interface.
10623
10624 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
10625 as macro for __io_functions.
10626 (funcsio): Use cookie_io_functions_t type name.
10627 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
10628
10629 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
10630 fopencookie.
10631 (fopencookie): Use it.
10632 * libio/libio.h: Declare _IO_cookie_init.
10633 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
10634 _IO_cookie_init.
10635
10636 * libio/libio.h (__io_seek_fn): Fix second argument type
10637 to be a pointer, in line with the manual and the old stdio.
10638 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
10639
10640 * sysdeps/generic/bits/stdio-lock.h: New file.
10641 This is a stub with #error, but that's better than no file at all.
10642
10643 2000-03-09 Martin Buchholz <martin@xemacs.org>
10644
10645 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
10646 * manual/message.texi (Using gettextized software): Doc Fixes.
10647 * manual/message.texi (Message Translation): Doc Fixes.
10648 * manual/filesys.texi (File Size): Doc Fixes.
10649 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
10650 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
10651 * iconv/gconv_db.c (find_derivation): Doc Fixes.
10652 * manual/install.texi: Doc Fixes.
10653 * manual/search.texi (Hash Search Function): Doc Fixes.
10654 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
10655 * FAQ.in: Doc Fixes.
10656 * config.h.in: Doc Fixes.
10657 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
10658 Doc Fixes. `allows to' is not correct English.
10659
10660 * elf/rtld.c: Doc fixes.
10661 * manual/creature.texi (Feature Test Macros): Doc fixes.
10662 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
10663
10664 * manual/filesys.texi (Working Directory): Check for ERANGE to
10665 avoid infloop.
10666
10667 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10668
10669 * string/argz-stringify.c (__argz_stringify): Fix loop termination
10670 conditions so as not to clobber the final '\0' when there is only one
10671 element in the vector.
10672
10673 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10674
10675 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
10676 broken by 2000-02-27 change.
10677
10678 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
10679
10680 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10681
10682 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
10683 argument type, for 2000-02-22 change in signal/signal.h declaration.
10684
10685 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10686
10687 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
10688 to getdirentries64 (no __), since the Linux implementation
10689 has no __ name, and there is no declaration for the __ name.
10690
10691 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
10692
10693 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
10694 sed regexp so as not to break directory names including /../ within.
10695
10696 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
10697 The sysdeps/generic file is right for BSD. This file was in fact the
10698 Hurd file, but the only difference was the WNOREAP flag that was never
10699 actually implemented or used anywhere.
10700
10701 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
10702 since AC_PATH_PROG already does it for us.
10703 (PERL): Rewrite check added in 2000-02-29 change for syntactic
10704 correctness and sh portability. I replaced the broken check
10705 with a more sensible implementation of the apparently intended
10706 semantics, which might still be questionable. Using expr causes
10707 a non-numeric value for `perl -V:apiversion` to be accepted,
10708 refusing to use only a perl that reports a number less than 5;
10709 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
10710 * configure: Regenerated.
10711
10712 2000-03-08 Andreas Jaeger <aj@suse.de>
10713
10714 * manual/crypt.texi: Fix paths.
10715
10716 2000-03-07 Andreas Jaeger <aj@suse.de>
10717
10718 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
10719 were swapped.
10720 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
10721 libc/1636.
10722
10723 2000-03-06 Andreas Jaeger <aj@suse.de>
10724
10725 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
10726 in __sgn1l, otherwise g++ fails to parse this.
10727 Reported by Sean Chen <sean.chen@turbolinux.com>.
10728
10729 2000-03-03 Geoff Keating <geoffk@cygnus.com>
10730
10731 * configure.in: Compute sizeof-long-double.
10732 * configure: Regenerated.
10733 * config.make.in: Make sizeof-long-double available to sub-makes.
10734
10735 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
10736
10737 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10738 call.
10739
10740 2000-03-03 Geoff Keating <geoffk@cygnus.com>
10741
10742 * Makeconfig (rpath-dirs): Add crypt.
10743 (all-subdirs): Remove md5crypt.
10744 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
10745 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
10746 * sysdeps/generic/crypt-entry.c: Delete.
10747 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
10748 * sysdeps/generic/crypt.h: Delete.
10749 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
10750 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
10751 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
10752 * sysdeps/generic/des_impl.c: Delete.
10753 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
10754 * crypt/sysdeps: Delete.
10755 * crypt/crypt_util.c: Don't use `patchlevel.h'.
10756 * md5-crypt/Versions: Move to crypt/.
10757 * md5-crypt/md5-crypt.c: Move to crypt/.
10758 * md5-crypt/md5.c: Move to crypt/.
10759 * md5-crypt/md5c-test.c: Move to crypt/.
10760 * md5-crypt/md5test.c: Move to crypt/.
10761 * md5-crypt: Delete.
10762 * crypt/Makefile: Adjust for new structure.
10763
10764 2000-03-03 Paul Eggert <eggert@twinsun.com>
10765
10766 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
10767 define to 1 if not defined.
10768
10769 2000-03-03 Andreas Jaeger <aj@suse.de>
10770
10771 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
10772
10773 2000-03-03 Andreas Jaeger <aj@suse.de>
10774
10775 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
10776 cases.
10777 (xdr_int64_t): Correctly handle lower half.
10778 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
10779
10780 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
10781
10782 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10783 call.
10784
10785 2000-03-02 Andreas Jaeger <aj@suse.de>
10786
10787 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
10788 2.3.43.
10789
10790 2000-03-02 Andreas Jaeger <aj@suse.de>
10791
10792 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
10793
10794 2000-03-01 Andreas Jaeger <aj@suse.de>
10795
10796 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
10797 (tests): Added tst-getdate.
10798
10799 * time/tst-getdate.c: New file.
10800
10801 * time/datemsk: New file, needed for tst-getdate.
10802
10803 2000-02-29 Cristian Gafton <gafton@redhat.com>
10804
10805 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
10806
10807 2000-02-17 H.J. Lu <hjl@gnu.org>
10808
10809 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
10810
10811 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
10812 available.
10813 (svcudp_recv): Set up message with the new "xp_pad" field for
10814 IP_PKTINFO.
10815 (svcudp_reply): Support IP_PKTINFO if available.
10816
10817 2000-03-01 Andreas Jaeger <aj@suse.de>
10818
10819 * time/getdate.c (check_mday): Fix check for february.
10820 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
10821 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
10822
10823 2000-03-02 Andreas Jaeger <aj@suse.de>
10824
10825 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
10826 g++ fails to parse this.
10827 Reported by Sean Chen <sean.chen@turbolinux.com>.
10828
10829 2000-02-28 Ulrich Drepper <drepper@redhat.com>
10830
10831 * io/creat.c: Moved to...
10832 * sysdeps/generic/creat.c: ...here.
10833 * io/creat64.c: Moved to...
10834 * sysdeps/generic/creat64.c: ...here.
10835 * io/lockf.c: Moved to...
10836 * sysdeps/generic/lockf.c: ...here.
10837
10838 * crypt/crypt.texi: Moved to...
10839 * manual/crypt.texi: ...here.
10840 * crypt/examples/genpass.c: Moved to...
10841 * manual/examples/genpass.c: ...here.
10842 * crypt/examples/mygenpass.c: Moved to...
10843 * manual/examples/mygenpass.c: ...here.
10844 * crypt/examples/testpass.c: Moved to...
10845 * manual/examples/testpass.c: ...here.
10846
10847 * manual/Makefile (chapters): Add crypt.
10848 * manual/conf.texi: Add usual header for not-last chapter.
10849 * manual/crypt.texi: Add special header for last chapter.
10850
10851 2000-02-28 Geoff Keating <geoffk@cygnus.com>
10852
10853 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
10854 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
10855 complain if there is no crypt add-on.
10856 * crypt/configure: Removed.
10857
10858 * crypt/crypt.texi: Update documentation of US export restrictions
10859 to match the 14 Jan 2000 regulations.
10860
10861 2000-02-28 Geoff Keating <geoffk@cygnus.com>
10862
10863 * crypt: New subdirectory, merged in from the crypt add-on.
10864
10865 2000-02-28 Ulrich Drepper <drepper@redhat.com>
10866
10867 * include/unistd.h: Add __rmdir and __mkdir prototypes.
10868
10869
10870 See ChangeLog.10 for earlier changes.