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