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