]> sourceware.org Git - glibc.git/blob - ChangeLog
Update.
[glibc.git] / ChangeLog
1 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2
3 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
4
5 2000-08-02 Andreas Jaeger <aj@suse.de>
6
7 * elf/elf.h (EM_S390): Added.
8 (R_390_*): New relocs for S390.
9
10 * sysdeps/unix/sysv/linux/s390/Dist: New file.
11 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
12 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
13 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
14 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
15 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
17 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
18 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
19 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
20 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
21 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
22 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
23 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
24 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
25 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
26 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
27 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
28 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
29 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
30 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
31 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
32 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
33 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
34 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
35 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
36 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
37 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
38 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
39 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
40 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
41 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
42 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
43 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
44 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
45 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
46 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
47 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
48 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
49 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
50 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
51 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
52 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
53 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
54 * sysdeps/s390/sysdep.h: New file.
55 * sysdeps/s390/sys/ucontext.h: New file.
56 * sysdeps/s390/sub_n.S: New file.
57 * sysdeps/s390/strncpy.S: New file.
58 * sysdeps/s390/strcpy.S: New file.
59 * sysdeps/s390/stackinfo.h: New file.
60 * sysdeps/s390/setjmp.S: New file.
61 * sysdeps/s390/s390-mcount.S: New file.
62 * sysdeps/s390/mul_1.S: New file.
63 * sysdeps/s390/memusage.h: New file.
64 * sysdeps/s390/memset.S: New file.
65 * sysdeps/s390/memcpy.S: New file.
66 * sysdeps/s390/memchr.S: New file.
67 * sysdeps/s390/machine-gmon.h: New file.
68 * sysdeps/s390/ldbl2mpn.c: New file.
69 * sysdeps/s390/gmp-mparam.h: New file.
70 * sysdeps/s390/fpu/fpu_control.h: New file.
71 * sysdeps/s390/fpu/fesetround.c: New file.
72 * sysdeps/s390/fpu/fegetround.c: New file.
73 * sysdeps/s390/fpu/fclrexcpt.c: New file.
74 * sysdeps/s390/fpu/bits/fenv.h: New file.
75 * sysdeps/s390/ffs.c: New file.
76 * sysdeps/s390/elf/start.S: New file.
77 * sysdeps/s390/elf/setjmp.S: New file.
78 * sysdeps/s390/elf/bsd-setjmp.S: New file.
79 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
80 * sysdeps/s390/dl-machine.h: New file.
81 * sysdeps/s390/bzero.S: New file.
82 * sysdeps/s390/bsd-setjmp.S: New file.
83 * sysdeps/s390/bsd-_setjmp.S: New file.
84 * sysdeps/s390/bits/string.h: New file.
85 * sysdeps/s390/bits/setjmp.h: New file.
86 * sysdeps/s390/bits/huge_val.h: New file.
87 * sysdeps/s390/bits/endian.h: New file.
88 * sysdeps/s390/bits/byteswap.h: New file.
89 * sysdeps/s390/bcopy.S: New file.
90 * sysdeps/s390/backtrace.c: New file.
91 * sysdeps/s390/atomicity.h: New file.
92 * sysdeps/s390/asm-syntax.h: New file.
93 * sysdeps/s390/addmul_1.S: New file.
94 * sysdeps/s390/add_n.S: New file.
95 * sysdeps/s390/abort-instr.h: New file.
96 * sysdeps/s390/__longjmp.c: New file.
97 * sysdeps/s390/Makefile: New file.
98 * sysdeps/s390/Implies: New file.
99 * sysdeps/s390/Dist: New file.
100 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
101
102 2000-08-01 Ulrich Drepper <drepper@redhat.com>
103
104 Remove incompatible IPv6 extension of RPC.
105 * sunrpc/Makefile: Undo changes.
106 * sunrpc/rpc_main.c: Likewise.
107 * sunrpc/rpc/clnt.h: Likewise.
108 * sunrpc/rpc/svc.h: Likewise.
109 * sunrpc/bindrsvprt6.c: Removed.
110 * sunrpc/clnt_tcp6.c: Removed.
111 * sunrpc/clnt_udp6.c: Removed.
112 * sunrpc/svc_tcp6.c: Removed.
113 * sunrpc/svc_udp6.c: Removed.
114
115 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
116 dgettext, and dcgettetxt.
117
118 * intl/locale.alias: Update japanese aliases.
119
120 * sysdeps/ia64/bits/byteswap.h: New file.
121 Patch by Dan Pop <Dan.Pop@cern.ch>.
122
123 * misc/sys/cdefs.h: Define __attribute_format_arg__.
124 * intl/libintl.h: Use it here instead of using __attribute__ directly.
125
126 2000-07-13 H.J. Lu <hjl@gnu.org>
127
128 * posix/regex.c (re_max_failures): Set to 4000.
129
130 2000-08-01 Ulrich Drepper <drepper@redhat.com>
131
132 * gnulib/Makefile (tests): Add tst-gcc.
133 * gnulib/tst-gcc.c: New file.
134
135 * assert/Makefile (routines): Add __assert.
136 * assert/Versions: Export __assert for glibc 2.2.
137 * assert/__assert.c: New file.
138 * assert/assert.h: Declare __assert.
139
140 2000-07-27 Bruno Haible <haible@clisp.cons.org>
141
142 * locale/localeinfo.h (_ISCTYPE): New macro.
143 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
144 LC_CTYPE locale format.
145 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
146 (ctype_output): Output class_b[nr] right before class_3level[nr].
147 (allocate_arrays): Fill class_b, similarly to class_3level.
148
149 2000-08-01 Ulrich Drepper <drepper@redhat.com>
150 Joseph S. Myers <jsm28@cam.ac.uk>
151
152 * math/tgmath.h: Make standard compliant. Don't ask how.
153
154 2000-07-04 H.J. Lu <hjl@gnu.org>
155
156 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
157 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
158 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
159
160 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
161
162 * include/features.h (_XOPEN_SOURCE): Update the explanation.
163 (__USE_LARGEFILE): Add an explanation.
164 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
165 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
166
167 2000-08-01 Ulrich Drepper <drepper@redhat.com>
168
169 * libio/Makefile: Enable exception handling for genops, wgenops,
170 fileops, and wfileops.
171
172 2000-07-29 Mark Kettenis <kettenis@gnu.org>
173
174 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
175 acount that elf/rtld's main program might remove some varibales
176 from the environment if we're trying to be secure. Move the Hurd
177 startup data if necessary, or, if we there is no startup data,
178 make sure the magical convention that ARGV[0] is stored just after
179 the environment list.
180
181 2000-08-01 Philip Blundell <philb@gnu.org>
182
183 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
184 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
185 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
186 oldsetrlimit for GLIBC_2.0.
187
188 2000-08-01 Andreas Jaeger <aj@suse.de>
189
190 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
191 (LINE_PARSER): Allow any number of spaces between ip address and
192 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
193
194 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
195
196 * include/netdb.h: Remove getipnodebyaddr and friends, leave
197 constants in.
198
199 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
200 _nss_nisplus_getipnodebyname_r.
201
202 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
203 now, getipnodebyname is deprecated.
204 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
205 Likewise.
206
207 * inet/Makefile (routines): Don't build getipnodebyaddr and
208 friends.
209
210 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
211
212 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
213
214 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
215
216 * wctype/Makefile (distribute): Add wchar-lookup.h.
217
218 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
219
220 * iconvdata/Makefile (distribute): Add isiri-3342.h.
221
222 2000-08-01 Andreas Schwab <schwab@suse.de>
223
224 * Make-dist (dist): Resolve `..' in file names.
225
226 2000-08-01 Andreas Jaeger <aj@suse.de>
227
228 * stdio-common/Makefile (distribute): Remove removed files, add
229 new files.
230
231 * Makefile (distribute): Remove include/db_185.h and db.h.
232
233 * include/db_185.h: Remove, it's not needed anymore.
234 * include/db.h: Likewise.
235
236 2000-07-31 Ulrich Drepper <drepper@redhat.com>
237
238 * inet/Makefile (tests): Remove tst-ipnode.
239 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
240 now.
241
242 2000-07-31 Jes Sorensen <jes@linuxcare.com>
243
244 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
245 endp statements have already been added.
246
247 2000-04-18 David Mosberger <davidm@hpl.hp.com>
248
249 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
250 <sysdeps/ia64/sysdep.h>.
251
252 * sysdeps/ia64/_mcount.S: New file.
253
254 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
255 __gmon_start__. Fix up extraneous whitespace.
256
257 2000-01-12 H.J. Lu <hjl@gnu.org>
258
259 * sysdeps/ia64/elf/initfini.c: New file.
260
261 2000-07-31 Jes Sorensen <jes@linuxcare.com>
262
263 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
264 dependency between branch and ar.pfs write.
265
266 2000-07-31 H.J. Lu <hjl@gnu.org>
267
268 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
269 handle the wchar_t array.
270
271 2000-07-31 Ulrich Drepper <drepper@redhat.com>
272
273 * iconvdata/gb18030.c: Don't map to and from positions in ISO
274 10646 which are not yet assigned.
275 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
276
277 2000-07-31 Andreas Jaeger <aj@suse.de>
278
279 * inet/Versions: Remove getipnodebyaddr and friends from
280 GLIBC_2.2.
281
282 * resolv/netdb.h: Remove getipnodebyaddr and friends.
283
284 2000-07-30 Bruno Haible <haible@clisp.cons.org>
285
286 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
287 ch >= 0x81 && ch2 < 0x40 as invalid.
288
289 2000-07-30 Bruno Haible <haible@clisp.cons.org>
290
291 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
292 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
293
294 2000-07-30 Bruno Haible <haible@clisp.cons.org>
295
296 * iconvdata/johab.c (BODY for TO_LOOP): After calling
297 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
298
299 2000-07-30 Bruno Haible <haible@clisp.cons.org>
300
301 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
302 0xb8.
303 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
304
305 2000-07-30 Bruno Haible <haible@clisp.cons.org>
306
307 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
308
309 2000-07-30 Bruno Haible <haible@clisp.cons.org>
310
311 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
312 (from_ucs4): Change values of U+00A4 and U+00ED.
313 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
314
315 2000-07-30 Bruno Haible <haible@clisp.cons.org>
316
317 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
318 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
319
320 2000-07-30 Bruno Haible <haible@clisp.cons.org>
321
322 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
323 * iconvdata/isiri-3342.h: New file.
324 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
325 treat 0x80 as a gap.
326
327 2000-07-30 Bruno Haible <haible@clisp.cons.org>
328
329 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
330 (utf8_encode): Use simple shifts instead. Fix return value.
331
332 2000-07-31 Ulrich Drepper <drepper@redhat.com>
333
334 * timezone/private.h: Update from tzcode2000e.
335 * timezone/asia: Update from tzdata2000e.
336 * timezone/australasia: Likewise.
337 * timezone/europe: Likewise.
338 * timezone/northamerica: Likewise.
339 * timezone/zone-tab: Likewise.
340
341 2000-07-30 Ralf Baechle <ralf@gnu.org>
342
343 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
344 the order of struct sigaltstack members is different.
345
346 2000-07-26 Philip Blundell <philb@gnu.org>
347
348 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
349
350 2000-07-29 Ulrich Drepper <drepper@redhat.com>
351
352 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
353 * locale/programs/ld-ctype.c: Adjust for this.
354
355 * locale/programs/ld-collate.c: Add more alignment checks.
356 * locale/string/strcoll.c: Likewise.
357
358 2000-07-30 Mark Kettenis <kettenis@gnu.org>
359
360 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
361 outside USE_IN_LIBIO block.
362
363 2000-07-26 Philip Blundell <philb@gnu.org>
364
365 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
366 (elf_machine_rel): Use it for out-of-range PC24 relocs.
367
368 2000-07-28 Philip Blundell <philb@gnu.org>
369
370 * math/test-fpucw.c: Ignore reserved bits in control word.
371
372 2000-07-28 Philip Blundell <philb@gnu.org>
373
374 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
375 (ret): Redefine to PSEUDO_RET.
376 (PSEUDO): Remove jump to syscall_error.
377
378 2000-07-29 Mark Kettenis <kettenis@gnu.org>
379
380 * resolv/README: Add some information about using the resolver in
381 multi-threaded code and with C++. Spelling fixes.
382
383 2000-07-29 Mark Kettenis <kettenis@gnu.org>
384
385 * resolv/resolv.h (struct __sockaddr_in): Remove.
386 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
387
388 2000-07-29 Greg McGary <greg@mcgary.org>
389
390 * Rules (test-bp-inputs, make-test-out): New variables.
391 ($(objpfx)%-bp.out): New rule.
392 ($(objpfx)%.out): Rewrite in terms of new variables.
393
394 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
395 internal function that uses vtable.
396 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
397 * libio/vswprintf.c (_IO_vswprintf): Likewise.
398
399 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
400 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
401 (chunk_align): Likewise.
402
403 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
404 in a way that conforms to decl, and avoids spurious bounds violation.
405
406 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
407 * sysdeps/generic/frame.h: Likewise.
408 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
409 around return value.
410 (__backtrace): Qualify frame-pointer chain and return address
411 pointers as __unbounded. Wrap bounds around variable `current'.
412 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
413 around return value.
414 (catch_segfault): Qualify frame-pointer chain and return address
415 pointers as __unbounded. Wrap bounds around variable `current'.
416 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
417 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
418 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
419 __unbounded.
420 (__backtrace): Qualify frame-pointer chain and return address
421 pointers as __unbounded. Wrap bounds around variable `current'.
422
423 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
424 * sysdeps/i386/mul_1.S: Likewise.
425 * sysdeps/i386/submul_1.S: Likewise.
426 * sysdeps/i386/i586/addmul_1.S: Likewise.
427 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
428 * sysdeps/i386/i586/submul_1.S: Likewise.
429
430 2000-07-27 Andreas Jaeger <aj@suse.de>
431
432 * libio/Depend: New file, libio needs localedata for tests.
433 * posix/Depend: Likewise.
434
435 2000-07-28 Ulrich Drepper <drepper@redhat.com>
436
437 * stdio-common/_i18n_itoa.c: Removed.
438 * stdio-common/_i18n_itoa.h: Removed.
439 * stdio-common/_i18n_itowa.c: Removed.
440 * stdio-common/_i18n_itowa.h: Removed.
441 * stdio-common/_i18n_number.h: New file.
442 * stdio-common/Depend: New file.
443 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
444 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
445 printing. Change printing of numbers with locale specific digits to
446 use new code in _i18n_number.h.
447 * stdio-common/Makefile (routines): Remove _i18n_itoa and
448 _i18n_itowa.
449
450 * stdio-common/bug13.c: Improve messages.
451
452 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
453 (set_class_defaults): Always search also for Uxxxx names.
454 Detect insufficient number of outdigits.
455
456 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
457
458 2000-07-27 Bruno Haible <haible@clisp.cons.org>
459
460 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
461 _NL_CTYPE_MAP_NAMES.
462 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
463 * wctype/wcfuncs.c (towlower, towupper): Use them.
464 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
465 * wctype/wctrans.c (wctrans): Likewise.
466 * wctype/wctrans_l.c (__wctrans_l): Likewise.
467
468 2000-07-27 Bruno Haible <haible@clisp.cons.org>
469
470 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
471 Use the optimized version of this function outside glibc as well.
472
473 2000-07-27 Jakub Jelinek <jakub@redhat.com>
474
475 * locale/indigits.h (indigit_value): Correct.
476 * locale/indigitswc.h (indigitwc_value): Correct.
477 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
478 conversion, add GROUP checking for it, fix GROUP number
479 conversion with strlen(thousands) > 1.
480 Honour width correctly in the presence of floating
481 decimal points and thousands separators.
482 * stdio-common/tst-sscanf.c: New test.
483 * stdio-common/Makefile: Add it to tests.
484 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
485 thousands separators and group argument is non-zero.
486
487 2000-07-25 Bruno Haible <haible@clisp.cons.org>
488
489 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
490 starts at GLIBC_2.2.
491
492 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
493
494 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
495 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
496 _test_and_set.
497 (headers): Add sys/tas.h.
498 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
499 GLIBC_2.2 from libc.
500 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
501 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
502 _test_and_set.
503
504 2000-07-28 Andreas Jaeger <aj@suse.de>
505
506 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
507
508 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
509 ($(objpfx)tst-dladdr.out): new.
510 (tests): Add tst-dladdr.
511 ($(objpfx)glrefmain): Use libdl.
512
513 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
514 <vs@caldera.de>.
515
516 2000-07-27 Jes Sorensen <jes@linuxcare.com>
517
518 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
519 ftruncate(64) calls.
520
521 2000-07-27 Jes Sorensen <jes@linuxcare.com>
522
523 * intl/tst-translit.c: Include string.h to get prototype for
524 strcmp().
525
526 2000-07-27 Jes Sorensen <jes@linuxcare.com>
527
528 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
529 name and add weak alias for __fork.
530
531 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
532 & pwrite to use __libc_<name> as strong names instead of
533 __syscall_<name>.
534
535 * include/sched.h: Add clone2 prototype.
536
537 2000-07-26 Jes Sorensen <jes@linuxcare.com>
538
539 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
540 procedure name twice.
541
542 2000-07-27 Philip Blundell <philb@gnu.org>
543
544 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
545
546 2000-07-27 Andreas Jaeger <aj@suse.de>
547
548 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
549 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
550 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
551 Reported by Andi Kleen <ak@suse.de>.
552
553 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
554 (do_wait): Test requests with aio_return64.
555 (do_test): Change callers of do_wait.
556
557 2000-07-26 Andreas Jaeger <aj@suse.de>
558
559 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
560 (do_wait): Test requests with aio_return.
561 (do_test): Change callers of do_wait.
562
563 2000-07-27 Ulrich Drepper <drepper@redhat.com>
564
565 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
566 from request list. Don't do the list handling here, call
567 __aio_remove_request.
568 * rt/aio_misc.h: Add prototype for __aio_remove_request.
569 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
570 request might already be processed. Don't do the list handling
571 here, call __aio_remove_request.
572
573 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
574 LIO_DSYNC.
575
576 * rt/aio_misc.c: Add comment explaining why writer memory barriers
577 are missing.
578
579 2000-07-27 Greg McGary <greg@mcgary.org>
580
581 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
582 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
583 in union init. Pass zero for ignored semnum arg to semctl.
584 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
585
586 2000-07-26 Greg McGary <greg@mcgary.org>
587
588 * sysdeps/gnu/bits/msq.h: Qualify kernel's
589 data structure pointers as __unbounded.
590 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
591 * sysdeps/generic/bp-semctl.h: New file.
592 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
593 pointers as __unbounded. Check bounds of syscall args.
594 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
595 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
596 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
597 * sysdeps/unix/sysv/linux/semop.c: Likewise.
598 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
599 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
600 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
601 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
602 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
603 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
604 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
605 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
606 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
607 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
608 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
609 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
610
611 2000-07-26 Ulrich Drepper <drepper@redhat.com>
612
613 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
614 by default.
615 * locale/C-ctype.c: Likewise.
616 * wcsmbs/wcsmbsload.c: Likewise.
617
618 2000-07-26 Greg McGary <greg@mcgary.org>
619
620 * Makeconfig (+link-bounded, link-libc-bounded,
621 link-extra-libs-bounded): New variables.
622 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
623 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
624 * Rules (tests-bp.out): New variable.
625 (tests): Conditionally add BP tests.
626 (binaries-bounded): Add variable and associated rule.
627 * csu/Makefile [build-bounded] (extra-objs, install-lib):
628 Move conditional stuff after place where condition is defined.
629
630 * malloc/malloc.c (bp-checks.h): Add #include.
631 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
632 (_bin_at): Add unbounded version of bin_at.
633 (IAV, chunk_alloc): Use unbounded _bin_at.
634 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
635 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
636 Wrap BOUNDED_N around return value.
637 (chunk_realloc): Adjust oldsize once.
638
639 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
640 (__ubp_memchr): Add correct decl.
641 (_CHECK_STRING): Use __ubp_memchr.
642 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
643 New alias for unbounded-pointer __memchr.
644 * sysdeps/i386/memchr.S: Likewise.
645 * sysdeps/ia64/memchr.S: Likewise.
646 * sysdeps/m68k/memchr.S: Likewise.
647 * sysdeps/sparc/sparc32/memchr.S: Likewise.
648 * sysdeps/sparc/sparc64/memchr.S: Likewise.
649 * sysdeps/vax/memchr.s: Likewise.
650
651 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
652 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
653 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
654 * sysdeps/i386/i686/strtok.S: Likewise.
655 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
656 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
657
658 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
659 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
660
661 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
662 bounds of copy_result to mount_proc.
663
664 2000-07-25 Bruno Haible <haible@clisp.cons.org>
665
666 * wctype/wctype.h (__wctrans_l): New declaration.
667 * wctype/wctrans_l.c: New file.
668 * wctype/Makefile (routines): Add wctrans_l.
669
670 2000-07-26 Ulrich Drepper <drepper@redhat.com>
671
672 * posix/fnmatch_loop.c: Fixes for use outside glibc.
673 Patch by MacGyver <macgyver@tos.net>.
674
675 2000-07-26 Andreas Jaeger <aj@suse.de>
676
677 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
678 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
679 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
680
681 * rt/tst-aio.c (test_file): Fix typo.
682 * rt/tst-aio64.c (test_file): Likewise.
683
684 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
685 * rt/Makefile: Add rules to build and run tst-aio3.
686
687 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
688 it's not needed and confuses only.
689
690 2000-07-26 Ulrich Drepper <drepper@redhat.com>
691
692 * resolv/res_init.c: Add support for nameserver communication with
693 IPv6.
694 * resolv/res_send.c: Likewise.
695 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
696 in nsaddrs field.
697 Patch by <venaas@nvg.ntnu.no>.
698
699 2000-07-25 Bruno Haible <haible@clisp.cons.org>
700
701 * locale/programs/ld-ctype.c (wctype_table_get): New function.
702 (wcwidth_table_get): New function.
703 (wcwidth_table_add): Call it.
704 (wctrans_table_get): New function.
705 (wctrans_table_add): Call it.
706
707 2000-07-25 Ulrich Drepper <drepper@redhat.com>
708
709 * rt/lio_listio.c (lio_listio): Always disable individual
710 notification.
711 * rt/Makefile: Add rules to build and run tst-aio2.
712 * rt/tst-aio2.c: New file.
713
714 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
715 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
716
717 2000-07-25 Mark Kettenis <kettenis@gnu.org>
718
719 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
720 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
721 leading and trailing spaces from host, user and domain name.
722
723 2000-07-25 Jes Sorensen <jes@linuxcare.com>
724
725 * csu/defs.awk: Add support for need_endp.
726
727 2000-07-25 Mark Kettenis <kettenis@gnu.org>
728
729 * resolv/resolv.h: Remove __P from res_send_qhook and
730 res_send_rhook typedefs.
731
732 2000-07-25 Bruno Haible <haible@clisp.cons.org>
733
734 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
735
736 2000-07-25 Ulrich Drepper <drepper@redhat.com>
737
738 * iconv/gconv_builtin.h: Add WCHAR_T alias.
739
740 2000-07-25 Mark Kettenis <kettenis@gnu.org>
741
742 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
743 calling thread, set the cancellation flag and return success
744 instead of EINTR.
745
746 2000-07-25 Ulrich Drepper <drepper@redhat.com>
747
748 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
749 * libio/tst-widetext.c: New file.
750 * libio/tst-widetext.input: New file.
751
752 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
753
754 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
755 empty external buffer correctly.
756
757 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
758
759 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
760 __STRING(entry) and not #entry.
761 (_RTLD_EPILOGUE): Likewise.
762 * sysdeps/mips/mips64/dl-machine.h: Likewise.
763
764 2000-07-25 Andreas Jaeger <aj@suse.de>
765
766 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
767 according to changes in test program, run also with static only
768 builds.
769 ($(objpfx)tst-printf.out): Likewise.
770
771 * stdio-common/tst-unbputc.sh: Likewise.
772 * stdio-common/tst-printf.sh: Likewise.
773
774 2000-07-25 Ulrich Drepper <drepper@redhat.com>
775
776 * libio/wfileops.c (_IO_wdo_write): Correct return value.
777
778 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
779 loop.
780
781 * libio/fileops.c: Pretty print.
782
783 2000-07-23 Bruno Haible <haible@clisp.cons.org>
784
785 * wctype/wchar-lookup.h: New file.
786 * wctype/iswctype.c: Include "wchar-lookup.h".
787 (__iswctype): Support alternate locale format with 3-level tables.
788 * wctype/iswctype_l.c (__iswctype_l): Likewise.
789 * wctype/towctrans.c (__towctrans): Likewise.
790 * wctype/towctrans_l.c (__towctrans_l): Likewise.
791 * wctype/wcfuncs.c: Include "wchar-lookup.h".
792 (__ctype32_wctype, __ctype32_wctrans): Declare external.
793 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
794 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
795 __iswxdigit, towlower, towupper): Support alternate locale format
796 with 3-level tables.
797 * wctype/wcextra.c (iswblank): Likewise.
798 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
799 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
800 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
801 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
802 format with 3-level tables.
803 * wctype/wcextra_l.c (__iswblank_l): Likewise.
804 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
805 format, return a 3-level table pointer.
806 * wctype/wctype_l.c (__wctype_l): Likewise.
807 * wctype/wctrans.c (wctrans): Likewise.
808 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
809 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
810 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
811 (iswctype): Remove macro definition.
812 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
813 (internal_wcwidth): Support alternate locale format with 3-level
814 tables.
815 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
816 New nl_items.
817 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
818 Define them as being type "word".
819 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
820 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
821 __ctype32_width): New exported variables.
822 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
823 alternate locale format. Don't initialize __ctype_names and
824 __ctype_width in the alternate locale format.
825 * locale/programs/localedef.h (oldstyle_tables): New declaration.
826 * locale/programs/localedef.c (oldstyle_tables): New variable.
827 (OPT_OLDSTYLE): New macro.
828 (options): Add --old-style option.
829 (parse_opt): Handle --old-style option.
830 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
831 map_offset, class_3level, map_3level, width_3level members.
832 (ctype_output): Support for alternate locale format: Computation of
833 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
834 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
835 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
836 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
837 now contain both class and map tables.
838 (struct wctype_table): New type.
839 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
840 functions.
841 (struct wcwidth_table): New type.
842 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
843 functions.
844 (struct wctrans_table): New type.
845 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
846 functions.
847 (allocate_arrays): Support for alternate locale format: Set
848 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
849 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
850 to the first 256 characters. Compute ctype->map_3level. Set
851 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
852 instead of ctype->width.
853
854 2000-07-24 Ulrich Drepper <drepper@redhat.com>
855
856 * libio/iogetwline.c (_IO_getwline_info): Use wide character
857 string functions.
858
859 2000-07-24 Jakub Jelinek <jakub@redhat.com>
860
861 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
862 in wide characters, not bytes.
863 * libio/tst_putwc.c (do_test): Add test for writing lots of data
864 into file.
865
866 2000-07-22 Bruno Haible <haible@clisp.cons.org>
867
868 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
869 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
870 LC_MEASUREMENT, LC_IDENTIFICATION.
871
872 * locale/xlocale.h (struct __locale_struct): Increase size of
873 __locales array.
874 * locale/duplocale.c (__duplocale): Copy newly added categories as
875 well.
876 * locale/freelocale.c (__freelocale): Free newly added categories.
877 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
878 If a base is given, use it, don't simply return it.
879
880 2000-07-22 Bruno Haible <haible@clisp.cons.org>
881
882 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
883 variables, copied_key and copied_salt, instead of boolean variables.
884
885 2000-07-24 Andreas Jaeger <aj@suse.de>
886
887 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
888 check for offset.
889
890 * grp/initgroups.c (initgroups_dyn_function): Renamed from
891 initgroups_function, adopted prototype for change from 2000-07-23.
892 (initgroups): Follow type change.
893
894 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
895 & PAGE_MASK case, reformat.
896
897 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
898 from stdin and setup environment.
899
900 2000-07-24 Andreas Schwab <schwab@suse.de>
901
902 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
903
904 2000-07-23 Ulrich Drepper <drepper@redhat.com>
905
906 * string/endian.h: Explain the _*_ENDIAN constant values a bit
907 more. Patch by scarlet@mit.edu [PR libc/1799].
908
909 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
910 [PR libc/1792].
911
912 * argp/argp-parse.c (parser_finalize): Reverse order in which
913 parsers are run for ARGP_KEY_END. [PR libc/1755].
914
915 * grp/initgroups.c (initgroups): Don't limit the possible number
916 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
917 the setgroups call while the call fails and descrease the number
918 of groups each round.
919 The name of the initgroups function in the NSS modules changed.
920 (compat_call): Adapt for dynamic resizing.
921 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
922 Implement dynamic resizing.
923 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
924 Likewise.
925 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
926 * hesiod/Versions: Change exported interface name.
927 * nis/Versions: Change exported interface name.
928
929 2000-07-23 Ulrich Drepper <drepper@redhat.com>
930
931 * locale/iso-639.def: Some errors corrected.
932 Patch by Keld Simonsen.
933
934 * include/limits.h: Update non-gcc portion.
935 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
936
937 2000-07-22 Mark Kettenis <kettenis@gnu.org>
938
939 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
940 program's data space, reallocate only the space that was just
941 deallocated to release its backing space.
942
943 2000-07-23 Ulrich Drepper <drepper@redhat.com>
944
945 * stdio-common/vfprintf.c (process_string_arg): For wide character
946 version, handle precision also correctly.
947
948 * nss/nss_files/files-hosts.c: Correct problem with three or more
949 entries with the same name.
950
951 * nss/nss_files/files-hosts.c: Implement multi handling.
952 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
953
954 2000-07-22 Ulrich Drepper <drepper@redhat.com>
955
956 * nss/nss_files/files-parse.c: Don't pollute namespace by using
957 strcasecmp.
958
959 * grp/Makefile: Change Makefiles and tests to run only when necessary.
960 * malloc/Makefile: Likewise.
961 * malloc/tst-mtrace.sh: Likewise.
962 * posix/Makefile: Likewise.
963 * posix/globtest.sh: Likewise.
964 * posix/wordexp-tst.sh: Likewise.
965 * string/Makefile: Likewise.
966
967 2000-07-22 Mark Kettenis <kettenis@gnu.org>
968
969 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
970 size instead of LC_ALL to take into account the new locale
971 categories.
972
973 2000-07-22 Ulrich Drepper <drepper@redhat.com>
974
975 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
976 remainders of hash table.
977 * locale/categories.def: Remove remainders of transliteration
978 hash table.
979 * locale/langinfo.h: Likewise.
980 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
981 transliteration tables.
982
983 * locale/gen-translit.pl: New file.
984 * locale/C-translit.h.in: New file.
985 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
986 data pointers with data from this file.
987 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
988 and gen-translit.pl.
989 Add rule to generate C-translit.h.
990 * intl/tst-translit.c (main): Update for now performed
991 transliteration.
992
993 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
994 (it's no input error).
995 * stdio-common/tstscanf.c: Add test case for format %f with input --.
996 * stdio-common/scanf12.c: Correct expected result for first scanf.
997
998 * stdio-common/vfprintf.c (process_string_arg): Correct handling
999 of multibyte character strings in %s format with precision.
1000
1001 2000-07-21 Ulrich Drepper <drepper@redhat.com>
1002
1003 * locale/programs/ld-collate.c (collate_read): Allow collating
1004 symbols and elements be named in reorder-after instructions.
1005 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1006
1007 * locale/programs/ld-collate.c (handle_ellipsis): Test for
1008 duplication with generated name, not the name of the first
1009 character.
1010 Patch by Yong Li <yong.li@asu.edu>.
1011
1012 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
1013 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1014
1015 2000-07-21 Wolfram Gloger <wg@malloc.de>
1016
1017 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
1018 allocations only if a non-main arena cannot be extended.
1019
1020 2000-07-21 Ulrich Drepper <drepper@redhat.com>
1021
1022 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
1023 in DF_1_NODEFLIB handling.
1024
1025 2000-07-21 Andreas Jaeger <aj@suse.de>
1026
1027 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
1028 own rule.
1029
1030 * libio/fwide.c: Include <wchar.h> for prototype.
1031
1032 2000-07-21 Greg McGary <greg@mcgary.org>
1033
1034 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
1035 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
1036 Define in terms of chunk_at_offset.
1037 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
1038 (next_bin, prev_bin): offset by size of real array elements.
1039 (chunk_align): Make `m' a scalar, since that's how it's used.
1040
1041 2000-07-21 Greg McGary <greg@mcgary.org>
1042
1043 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
1044 UNCHECK_BOUNDS.
1045 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
1046 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
1047 Wrap bounds around argv & envp and each of their string members.
1048 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
1049 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
1050 symbol in BP_SYM (). Discard bounds of address arg.
1051 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
1053 Discard bounds on address arg, add bounds to return value.
1054
1055 2000-07-20 Ulrich Drepper <drepper@redhat.com>
1056
1057 * elf/Makefile (tests): Add filter. Add rules to generate filter.
1058 * elf/filter.c: New file.
1059 * elf/filtmod1.c: New file.
1060 * elf/filtmod2.c: New file.
1061
1062 * elf/rtld.c: Define _dl_bind_not variable.
1063 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
1064 * elf/dl-support.c: Likewise.
1065 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
1066 * elf/dl-runtime.c (fixup): Don't remember looked up value if
1067 _dl_bind_not.
1068 (profile_fixup): Likewise.
1069
1070 * libio/Makefile (routines): Add fwide.
1071 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
1072 fwide now. Internal calls to _IO_fwide must do locking themselves
1073 or don't need locking.
1074 * libio/fwide.c: New file.
1075
1076 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
1077
1078 * elf/Makefile: Add no modules for nodelete test.
1079 * elf/nodelmod3.c: New file.
1080 * elf/nodelmod4.c: New file.
1081 * elf/nodelete.c: Also test case where dependency of dlopen() object
1082 is marked nodelete.
1083
1084 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
1085 * elf/nodlopen.c: New file.
1086 * elf/nodlopenmod.c: New file.
1087 * include/dlfcn.h: Define __RTLD_DLOPEN.
1088 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
1089 and this is a dlopen() call, do not load the binary.
1090 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
1091 * dlfcn/dlopenold.c: Likewise.
1092 * configure.in: Add test for -z nodelete option.
1093 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1094
1095 2000-07-20 Mark Kettenis <kettenis@gnu.org>
1096
1097 Make Hesiod NSS module thread-safe.
1098
1099 * hesiod/README.hesiod: Update.
1100
1101 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
1102 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
1103 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
1104 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
1105 hesiod-proto.
1106 * hesiod/nss_hesiod/hesiod-init.c: New file.
1107 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
1108 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
1109 * hesiod/nss_hesiod/nss_hesiod.h: New file.
1110 * hesiod/nss_hesiod/hesiod-service.c
1111 (_nss_hesiod_getservbyport_r): New function. Provide support for
1112 looking up services by port number.
1113 * hesiod/nss_hesiod/hesiod-proto.c: New file.
1114
1115 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
1116 * hesiod/hesiod.h: Likewise.
1117 * hesiod/hesiod_p.h: Likewise.
1118
1119 2000-07-20 Mark Kettenis <kettenis@gnu.org>
1120
1121 Fix problems with `struct __res_state' getting too big.
1122 * resolv/resolv.h (struct __sockaddr_in): New definition.
1123 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
1124 the private parts of the structure to save some space.
1125 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
1126 (struct sockaddr_in *) in call to sock_eq.
1127 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
1128
1129 2000-07-20 Ulrich Drepper <drepper@redhat.com>
1130
1131 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
1132 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
1133 with nodelete.
1134 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
1135 to _dl_map_object. Return immediately if no object loaded.
1136 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
1137 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
1138 if it exists into l_flags_1 word.
1139 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
1140 it to determine whether loading is wanted or not.
1141 (_dl_map_object): Likewise.
1142 Call _dl_map_object_from_fd with new parameter.
1143 * sysdeps/generic/ldsodefs.h: Update prototype.
1144 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
1145 * elf/rtld.c: Likewise.
1146 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1147 * elf/Makefile (tests): Add noload. Add rules to generate noload.
1148 * elf/noload.c: New file.
1149 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
1150 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
1151 * sysdeps/mips/bits/dlfcn.h: Likewise.
1152 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
1153 (tests-nodelete-yes): Define.
1154 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
1155 Add rules to build nodelete and modules.
1156 * elf/nodelete.c: New file.
1157 * elf/nodelmod1.c: New file.
1158 * elf/nodelmod2.c: New file.
1159 * configure.in: Add test for -z nodelete option.
1160 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1161
1162 * libio/Makefile (tests): Add tst_wprintf2.
1163 (tst_wprintf2-ARGS): Define.
1164 * libio/tst_wprintf2.c: New file.
1165 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
1166
1167 * libio/wfiledoalloc.c: Only allocate external buffer if this
1168 hasn't happened yet.
1169
1170 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
1171 something in the buffer. gconv call can write up to end of the
1172 buffer, not only _IO_write_end.
1173 (_IO_wfile_overflow): Allocate also external buffer.
1174
1175 2000-07-19 Ulrich Drepper <drepper@redhat.com>
1176
1177 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
1178 strings with precision in vfwprintf correctly.
1179 * stdio-common/vfprintf.c: Fix completely broken handling of
1180 unbuffered wide character streams.
1181 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1182
1183 * resolv/Makefile (distribute): Add README.
1184
1185 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
1186
1187 2000-07-18 Mark Kettenis <kettenis@gnu.org>
1188
1189 Update resolver code to BIND 8.2.3-T5B.
1190
1191 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
1192 __res_nclose.
1193 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
1194 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
1195 __res_search.
1196 * resolv/Banner: BIND-8.2.3-T5B.
1197
1198 * resolv/base64.c: Update from BIND 8.2.3-T5B.
1199 * resolv/herror.c: Likewise.
1200 * resolv/inet_addr.c: Likewise.
1201 * resolv/inet_net_ntop.c: Likewise.
1202 * resolv/inet_net_pton.c: Likewise.
1203 * resolv/inet_neta.c: Likewise.
1204 * resolv/inet_ntop.c: Likewise.
1205 * resolv/nsap_addr.c: Likewise.
1206 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
1207 IPv6 addresses (ISC bug #520).
1208
1209 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
1210 * resolv/ns_parse.c: Likewise.
1211 * resolv/ns_netint.c: Likewise.
1212 * resolv/ns_samedomain.c: Likewise.
1213 * resolv/ns_ttl.c: Likewise.
1214 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
1215 RCS ID in object file.
1216
1217 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
1218 * resolv/res_mkquery.c: Likewise.
1219 * resolv/res_query.c: Likewise.
1220 * resolv/res_init.c: Likewise.
1221 (res_setoptions): Mark internal.
1222 * resolv/res_send.c: Likewise.
1223 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
1224 by using poll instead.
1225 * resolv/res_comp.c: Likewise.
1226 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
1227 weak alias for __dn_expand.
1228 * resolv/res_data.c: Likewise.
1229 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
1230 in _res.options. Avoids a potential security risk by avoiding a
1231 close (0).
1232 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
1233 res_mkquery, res_query, res_querydomain adn res_search weak
1234 aliases for __res_mkquery, __res_query, __res_querydomain and
1235 __res_search.
1236 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
1237 instead to avoid close(0).
1238 (res_init): Always use the static resolver context.
1239 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
1240 alias for __res_init.
1241
1242 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
1243 RES_SET_H_ERRNO and accompanying comment to...
1244 * include/resolv.h: ... here.
1245
1246 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
1247 * resolv/arpa/nameser_compat.h: Likewise.
1248
1249 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1250
1251 * nss/makedb.c (main): Compare result of load_db with
1252 NSS_STATUS_SUCCESS and not 0.
1253 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
1254
1255 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
1256
1257 2000-07-18 Greg McGary <greg@mcgary.org>
1258
1259 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
1260 (EXTEND_BUFFER): Use it.
1261
1262 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1263
1264 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
1265 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
1266 __builtin_return_address.
1267 * dlfcn/dlopenold.c: Likewise.
1268 * dlfcn/dlsym.c: Likewise.
1269 * dlfcn/dlvsym.c: Likewise.
1270 * elf/dl-profstub.c: Likewise.
1271 * malloc/malloc.c: Likewise.
1272 * sysdeps/generic/machine-gmon.h: Likewise.
1273 Based on a patch by schwidefsky@de.ibm.com.
1274
1275 2000-07-18 Andreas Jaeger <aj@suse.de>
1276
1277 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
1278 NULL to elf_machine_fixup_plt t argument to silence GCC.
1279
1280 * include/string.h: Add prototype for __memchr.
1281
1282 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
1283
1284 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
1285 instead of memrchr.
1286
1287 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1288
1289 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
1290
1291 * locale/C-ctype.c: Add initializers for gap elements.
1292 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
1293 for gap elements.
1294
1295 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1296
1297 * nscd/nscd.c (print_version): Update copyright year.
1298
1299 2000-07-17 Greg McGary <greg@mcgary.org>
1300
1301 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1302 keyletters F, I, S, W. Remove unused keyletter V. Surround
1303 signature argnames with angle-brackets for use as word delimiters,
1304 and to induce syntax errors for any args not handled. Split
1305 multi-echo echoes and comment each stage.
1306 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
1307 * sysdeps/unix/inet/syscalls.list: Likewise.
1308 * sysdeps/unix/mman/syscalls.list: Likewise.
1309 * sysdeps/unix/syscalls.list: Likewise.
1310 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1311 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1312 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1313 * sysdeps/unix/sysv/syscalls.list: Likewise.
1314 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
1315
1316 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
1317 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
1318 qualifiers. Don't check NULL-terminator of argv & envp.
1319 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
1320 unbounded pointer type in word-size assertion.
1321 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
1322 cases to stifle warnings.
1323
1324 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
1325 _IO_file_attach.
1326 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1327
1328 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
1329 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
1330 ptr as __unbouned.
1331
1332 * Makerules (o-objects): Supplement with $(o-objects$o).
1333 * string/Makefile (o-objects.ob): Add variable to pull
1334 unbounded versions of memcpy, memset and memchr into libc_b.
1335
1336 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
1337 rather than non-existent __ubp_memchr.
1338 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
1339 (_CHECK_STRING, _CHECK_N): New macros.
1340 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
1341 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
1342 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
1343 Add weak alias "memchr".
1344 * sysdeps/generic/memchr.c: Likewise.
1345 * sysdeps/i386/memchr.S: Likewise.
1346 * sysdeps/ia64/memchr.S: Likewise.
1347 * sysdeps/m68k/memchr.S: Likewise.
1348 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1349 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1350 * sysdeps/vax/memchr.s: Likewise.
1351
1352 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
1353
1354 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
1355 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
1356 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
1357 __BOUNDED_POINTERS__.
1358 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
1359 for __BOUNDED_POINTERS__.
1360
1361 2000-07-17 Bruno Haible <haible@clisp.cons.org>
1362
1363 * iconv/gconv_open.c (__gconv_open): Initialize the __data
1364 field of struct __gconv_trans_data differently. Don't pass NULL to
1365 trans_init_fct. Simplify list append operation.
1366
1367 2000-07-14 Bruno Haible <haible@clisp.cons.org>
1368
1369 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
1370 not only those having tsearch.
1371
1372 2000-07-17 Ulrich Drepper <drepper@redhat.com>
1373
1374 * locale/langinfo.h: Add placeholder values in enum for removed
1375 LC_CTYPE entries.
1376
1377 2000-07-17 Jakub Jelinek <jakub@redhat.com>
1378
1379 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
1380 chain if the PHDR check fails.
1381
1382 2000-07-17 Mark Kettenis <kettenis@gnu.org>
1383
1384 * nss/getent.c (print_hosts): Make sure we always print a space
1385 between numeric addresses and hostnames.
1386
1387 2000-07-17 Wolfram Gloger <wg@malloc.de>
1388
1389 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
1390 i.e. if n_mmaps_max>0.
1391
1392 2000-07-16 Mark Kettenis <kettenis@gnu.org>
1393
1394 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
1395 values to remove possible clash with other AI_* constants.
1396 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
1397 hexadecimal constants to stress the fact they're in fact
1398 bit flags.
1399
1400 2000-07-15 Mark Kettenis <kettenis@gnu.org>
1401
1402 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
1403 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
1404 instead of res_init.
1405
1406 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1407
1408 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
1409 parameters of memset calls to avoid warnings.
1410
1411 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1412
1413 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
1414 necessary.
1415
1416 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
1417 Patch by Greg McGary <greg@mcgary.org>.
1418
1419 * io/Makefile (tests): Add tst-getcwd.
1420 * io/tst-getcwd.c: New file.
1421
1422 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
1423
1424 2000-07-15 Jakub Jelinek <jakub@redhat.com>
1425
1426 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
1427 structure.
1428
1429 2000-07-13 Jakub Jelinek <jakub@redhat.com>
1430
1431 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
1432 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
1433
1434 2000-07-12 H.J. Lu <hjl@gnu.org>
1435
1436 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
1437 GLIBC_2.2.
1438 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
1439 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
1440 (sysdep-routines): Add clone2.
1441 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
1442
1443 2000-07-13 Jes Sorensen <jes@linuxcare.com>
1444
1445 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
1446 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
1447
1448 2000-06-05 David Mosberger <davidm@hpl.hp.com>
1449
1450 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
1451 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
1452 Change type of si_band from "int" to "long".
1453 (si_imm) [USE_GNU]: Define
1454 (si_isr) [USE_GNU]: Ditto.
1455 (ILL_BREAK) [USE_GNU]: Ditto.
1456 (FPE_DECOVF) [USE_GNU]: Ditto.
1457 (FPE_DECDIV) [USE_GNU]: Ditto.
1458 (FPE_DECERR) [USE_GNU]: Ditto.
1459 (FPE_INVASC) [USE_GNU]: Ditto.
1460 (FPE_INVDEC) [USE_GNU]: Ditto.
1461 (TRAP_BRANCH) [USE_GNU]: Ditto.
1462 (TRAP_HWBKPT) [USE_GNU]: Ditto.
1463
1464 2000-07-06 Jes Sorensen <jes@linuxcare.com>
1465
1466 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1467 bits/sigcontext as struct mcontext does not depend on it.
1468
1469 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
1470
1471 2000-07-04 Jes Sorensen <jes@linuxcare.com>
1472
1473 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
1474
1475 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
1476
1477 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
1478
1479 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1480
1481 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
1482
1483 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1484
1485 * intl/Makefile (test-srcs): Add tst-translit.
1486 (tests): Likewise.
1487 Add rules to build and run tst-translit.
1488 * intl/tst-translit.c: New file.
1489 * intl/tst-translit.sh: New file.
1490 * intl/translit.po: New file.
1491
1492 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1493
1494 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
1495 transliteration function did its job, continue, don't stop.
1496
1497 * iconvdata/iso646.c: Little optimizations in body for conversion
1498 from UCS4.
1499
1500 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1501
1502 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
1503
1504 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1505
1506 * configure.in: Check for pwd binary.
1507 * config.make.in: Add PWD_P to be subsituted.
1508 * Makerules: Use $(PWD_P) instead of /bin/pwd.
1509
1510 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1511
1512 * iconvdata/Makefile (modules): Add GB18030.
1513 (distribute): Add gb18030.c.
1514 * iconvdata/gconv-modules: Add entries for GB18030 module.
1515 * iconvdata/gb18030.c: New file.
1516 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
1517 and Wu Jian.
1518
1519 2000-07-13 Andreas Jaeger <aj@suse.de>
1520
1521 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
1522 patch.
1523
1524 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
1525 * inet/getnetgrent.c (free_mem): Likewise.
1526 * misc/mntent.c (free_mem): Likewise.
1527 * nss/getXXbyYY.c (free_mem): Likewise.
1528 * nss/getXXent.c (free_mem): Likewise.
1529 * pwd/fgetpwent.c (free_mem): Likewise.
1530 * shadow/fgetspent.c (free_mem): Likewise.
1531
1532 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1533
1534 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
1535 64-bit architecture correctly [PR libc/1794].
1536
1537 2000-07-13 Ulrich Drepper <drepper@redhat.com>
1538
1539 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
1540 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
1541 report that we are out of memory.
1542 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1543 * elf/dl-libc.c (dlerror_run): Likewise.
1544 * elf/dl-open.c (_dl_open): Likewise.
1545 * elf/rtld.c (dl_main): Likewise.
1546 * elf/dl-error.c: Define _dl_out_of_memory.
1547 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
1548 the error string.
1549 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
1550 [PR libc/1813].
1551
1552 * dlfcn/dlerror.c (free_key_mem): Also free error string.
1553
1554 * iconv/loop.c: Fix comment.
1555
1556 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
1557
1558 2000-07-13 Andreas Jaeger <aj@suse.de>
1559
1560 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
1561 getcwd (NULL, size) with size > 0.
1562 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
1563
1564 2000-07-13 Andreas Jaeger <aj@suse.de>
1565
1566 * posix/Makefile: Remove build rules for libposix.
1567
1568 2000-07-13 Andreas Schwab <schwab@suse.de>
1569
1570 * sysdeps/generic/glob.c (glob): Fix memory leak.
1571 [SHELL]: Remove reference to undefined variable `files'.
1572 Fixes PR libc/1782.
1573
1574 2000-07-13 Andreas Jaeger <aj@suse.de>
1575
1576 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
1577 functions.
1578
1579 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
1580 memory if it was allocated.
1581
1582 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1583
1584 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
1585 step.
1586
1587 * iconv/gconv_open.c (__gconv_open): Reapply
1588 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1589
1590 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1591
1592 * iconv/gconv_open.c: Undo last two changes for now. They break
1593 everything.
1594
1595 2000-07-12 Andreas Jaeger <aj@suse.de>
1596
1597 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
1598 compiler.
1599 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
1600 (CFLAGS-dl-cache.c): Likewise.
1601 (CFLAGS-ldconfig.c): Added, passes directory locations.
1602
1603 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
1604 locate cache.
1605 * elf/ldconfig.c (LD_SO_CONF): Likewise.
1606 (main): Use configured LIBDIR and SLIBDIR.
1607
1608 2000-07-11 Jakub Jelinek <jakub@redhat.com>
1609
1610 * math/bits/cmathcalls.h (cimag): Add __THROW.
1611 (creal, conj): Likewise.
1612 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
1613 by negative value.
1614
1615 2000-07-12 H.J. Lu <hjl@gnu.org>
1616
1617 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
1618 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
1619
1620 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1621
1622 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
1623 it is wrong.
1624
1625 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1626
1627 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1628
1629 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1630
1631 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1632 __modname.
1633
1634 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1635
1636 * iconv/gconv_open.c (__gconv_open): Initialize
1637 result->__steps[cnt].__data.
1638
1639 2000-07-12 Mark Kettenis <kettenis@gnu.org>
1640
1641 * nss/getent.c (services_keys): Pass port number in network byte
1642 order in call to getservbyport.
1643
1644 2000-07-11 Andreas Jaeger <aj@suse.de>
1645
1646 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
1647 source dir.
1648 * intl/Makefile (do-gettext-test): Likewise.
1649 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
1650
1651 2000-07-11 Andreas Schwab <schwab@suse.de>
1652
1653 * Makeconfig (run-program-prefix): New rule.
1654 (built-program-cmd): Use run-program-prefix.
1655
1656 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1657
1658 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
1659 and NOEXPR unconditionally available.
1660
1661 2000-07-12 Greg McGary <greg@mcgary.org>
1662
1663 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
1664 * sysdeps/posix/open64.c: Likewise.
1665 * sysdeps/generic/fegetenv.c: Likewise.
1666 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1667 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1668 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1669 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1670 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1671 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1672
1673 2000-07-11 Greg McGary <greg@mcgary.org>
1674
1675 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
1676 Add extra level of macro expansion.
1677 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
1678 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
1679 is available at the time `select' prototype is declared.
1680 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
1681 Collect non-versioned weak aliases. Consider only non-versioned
1682 aliases for the user-visible systemcall name. Do checks inline with
1683 call to primitive system call.
1684 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
1685 stand-alone bounds checks to suppress unused value warnings.
1686 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1687
1688 2000-07-10 Mark Kettenis <kettenis@gnu.org>
1689
1690 * sysdeps/mach/hurd/check_fds.c: New file. Implements
1691 file descriptor checking in SUID programs for the Hurd.
1692
1693 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
1694 res_hostalias instead of __hostalias for thread-safety.
1695
1696 2000-07-09 Mark Kettenis <kettenis@gnu.org>
1697
1698 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
1699 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
1700
1701 2000-07-10 Ulrich Drepper <drepper@redhat.com>
1702
1703 * include/features.h: Include ISO C99 features if the compiler used
1704 is an ISO C99 compiler.
1705 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1706
1707 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1708
1709 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
1710
1711 2000-07-10 Andreas Jaeger <aj@suse.de>
1712
1713 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
1714 it's overridden by libpthreads.
1715 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1716 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1717 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1718 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1719 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1720
1721 * malloc/Makefile: Run tst-mtrace only with shared libs.
1722
1723 * stdio-common/Makefile: Run unbputc and tst-printf tests only
1724 with shared libs.
1725
1726 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1727
1728 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
1729 that gpreg really points to the GOT section of the calling object.
1730 Scan all PT_LOAD segments of objects for stub_pc, instead of only
1731 checking a start address of first one.
1732 Fix typos.
1733 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
1734 Likewise.
1735
1736 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
1737
1738 2000-07-10 Andreas Jaeger <aj@suse.de>
1739
1740 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
1741 (string_alias->strong_alias).
1742
1743 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1744
1745 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
1746
1747 2000-07-07 Greg McGary <greg@mcgary.org>
1748
1749 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
1750 have no names without leading underscores.
1751
1752 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1753
1754 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
1755 U007E.
1756
1757 * stdio-common/Makefile (tests): Remove tst-printf here...
1758 (tests-srcs): ...and add it here.
1759 (distribute): Add tst-unbputc.sh and tst-printf.sh.
1760 Add rules to run tst-printf.sh.
1761 * stdio-common/tst-printf.c: Move code around so that there is really
1762 no further output where it's stated.
1763 * stdio-common/tst-printf.sh: New file.
1764
1765 2000-07-07 Mark Kettenis <kettenis@gnu.org>
1766
1767 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
1768 (do_write): Renamed from pwrite.
1769 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
1770 `struct _IO_cookie_file'.
1771
1772 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1773
1774 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1775 detected.
1776 * malloc/tst-mtrace.sh: Run mtrace script.
1777
1778 2000-07-07 Greg McGary <greg@mcgary.org>
1779
1780 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1781 Move all three components of a bounded pointer.
1782
1783 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1784
1785 * locale/programs/locale.c (write_locales): Don't simply add all
1786 directories found in the subdir, test whether at least the
1787 LC_CTYPE file is in there.
1788
1789 2000-07-06 Ulrich Drepper <drepper@redhat.com>
1790
1791 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1792 * iconvdata/euc-kr.c: Likewise.
1793
1794 * stdio-common/vfprintf.c (process_string_arg): Check result of
1795 wcrtomb call and bail out if it failed.
1796
1797 * malloc/Makefile (test-srcs): Add tst-mtrace.
1798 (distribute): Add tst-mtrace.sh.
1799 Add rule to run tst-mtrace.sh.
1800 * malloc/tst-mtrace.c: New file.
1801 * malloc/tst-mtrace.sh: New file.
1802
1803 * include/signal.h: Declare __libc_sigaction.
1804 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1805 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1806 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1807 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1808 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1809 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1810 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1811
1812 * configure.in: Fix CFLAGS-memprofstat.c definition after
1813 2000-06-19 change.
1814 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1815
1816 2000-07-06 Jakub Jelinek <jakub@redhat.com>
1817
1818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1819 instead of NULL to elf_machine_fixup_plt t argument.
1820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1821 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1822 cast.
1823
1824 2000-07-06 Andreas Jaeger <aj@suse.de>
1825
1826 * crypt/Makefile (LDLIBS-cert): Removed.
1827 (LDLIBS-md5c-test): Removed.
1828 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1829 ($(objpfx)md5c-test): Likewise for md5c-test.out.
1830
1831 2000-07-06 Andreas Jaeger <aj@suse.de>
1832
1833 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1834 of the proc system is "proc".
1835
1836 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1837 thread library for static programs.
1838
1839 2000-07-06 Greg McGary <greg@mcgary.org>
1840
1841 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1842 New macros.
1843 * sysdeps/generic/strcpy.c: Add bounds checks.
1844 * sysdeps/unix/fxstat.c: Likewise.
1845 * sysdeps/unix/xstat.c: Likewise.
1846 * sysdeps/unix/common/lxstat.c: Likewise.
1847 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1848 * sysdeps/unix/sysv/linux/execve.c: Likewise.
1849 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1850 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1851 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1852 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1853 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1854 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1855 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1856 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1857 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1858 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1859 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1860 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1861 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1862 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1863 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1864 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1865 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1866 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1867 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1868 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1869 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1870 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1871 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1872 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1873 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1874 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1875 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1876 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1877 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1878 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1879 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1880 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1881 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1882 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1883 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1884 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1885 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1886 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1887 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1888 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1889 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1890 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1891 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
1892 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
1893 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1894 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
1895 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1896 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
1897 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
1898 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1899 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1900 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1901 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1902 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1903 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1904 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1905 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1906 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
1907 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1908 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1909 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1910 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
1911
1912 * string/endian.h (__LONG_LONG_PAIR): New macro.
1913 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
1914 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1915 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1916 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1917 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1918 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1919 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1920 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1921 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1922 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1923 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1924 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1925
1926 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
1927
1928 2000-07-06 Andreas Jaeger <aj@suse.de>
1929
1930 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1931 Initialize result.
1932
1933 * math/test-fpucw.c: Include <stdio.h> for printf.
1934
1935 2000-07-05 Greg McGary <greg@mcgary.org>
1936
1937 * sysdeps/generic/bp-checks.h: New file.
1938 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
1939 with list of #include files.
1940 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1941 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
1942 Don't generate BP thunk if `V' appears in signature.
1943 Generate thunks with complete bounds checks.
1944 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
1945 * sysdeps/unix/inet/syscalls.list: Likewise.
1946 * sysdeps/unix/mman/syscalls.list: Likewise.
1947 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1948 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1949 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1950 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1951
1952 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1953
1954 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
1955 result. Search first in /etc/mtab (proc/mounts would be stupid).
1956 If mount not in the file fall back on /proc.
1957
1958 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
1959 string got copied in.
1960 Patch by Solar Designer <solar@false.com>.
1961
1962 2000-07-05 Andreas Jaeger <aj@suse.de>
1963
1964 * manual/install.texi (Installation): Update information about
1965 add-ons.
1966 (Configuring and compiling): Update for glibc 2.2.
1967
1968 2000-07-04 Andreas Jaeger <aj@suse.de>
1969
1970 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1971 (_FPU_IEEE): Likewise.
1972
1973 * math/Makefile (tests): Add test-fpucw.
1974
1975 * math/test-fpucw.c (main): New file.
1976
1977 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1978
1979 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
1980
1981 * locale/programs/ld-collate.c (collate_output): Also write out the
1982 collation sequence values and the wide character string for the
1983 collation symbol table.
1984
1985 * posix/fnmatch.c: Include "../locale/elem-hash.h".
1986 * posix/fnmatch_loop.c: Implement collating symbol handling.
1987 * posix/tst-fnmatch.input: Add more tests, especially for collating
1988 symbol handling.
1989
1990 * posix/regex.c: Fix comment.
1991
1992 2000-07-05 Andreas Jaeger <aj@suse.de>
1993
1994 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
1995 (_FPU_GETCW): Remove extra colon.
1996 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1997
1998 * posix/fnmatch_loop.c (FCT): Only declare len if
1999 !WIDE_CHAR_VERSION to silence GCC.
2000
2001 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
2002 prototype.
2003 * sysdeps/generic/strchrnul.c: Likewise.
2004 * sysdeps/generic/strlen.c: Likewise.
2005 * sysdeps/generic/strchr.c: Likewise.
2006 * sysdeps/generic/memchr.c: Likewise.
2007
2008 2000-07-04 Ulrich Drepper <drepper@redhat.com>
2009
2010 * posix/fnmatch_loop.c: Implement equivalence class handling.
2011 * posix/tst-fnmatch.input: Add tests for equivalence class
2012 handling.
2013
2014 * posix/fnmatch_loop.c: Improve performance for single-byte
2015 character sets by not using btowc.
2016
2017 * posix/tst-fnmatch.input: Add tests for locale dependent
2018 behaviour.
2019 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
2020
2021 * posix/tst-fnmatch.input: Add more test cases.
2022
2023 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
2024 are not aligned to alignof(md5_uint32) do it before calling
2025 __md5_process_bytes.
2026 * crypt/md5.c: Make sure buffers are aligned.
2027 * crypt/md5.h: Likewise.
2028 Reported by Solar Designer <solar@false.com>.
2029
2030 * crypt/Makefile: Add dependencies for test programs.
2031
2032 * Rules: Define LC_ALL=C in environments of all programs we run.
2033
2034 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
2035
2036 2000-07-03 H.J. Lu <hjl@gnu.org>
2037
2038 * locale/programs/ld-ctype.c (ctype_output): The size of iov
2039 is 2 + elem + offset, not 2 + elem + offset + 2.
2040
2041 2000-07-04 Ulrich Drepper <drepper@redhat.com>
2042
2043 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
2044 suite.
2045 * posix/Makefile (tests): Add tst-fnmatch.
2046 (tst-fnmatch-ENV): Define.
2047 * posix/tst-fnmatch.c: New file.
2048 * posix/tst-fnmatch.sh: New file.
2049
2050 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
2051
2052 * locale/programs/charmap.c (charmap_read): Prepend
2053 the condition filename == NULL.
2054
2055 2000-07-03 Greg McGary <greg@mcgary.org>
2056
2057 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
2058
2059 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
2060 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
2061
2062 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
2063 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
2064 (FILEBUF_LITERAL): Add cast for CHAIN init.
2065 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
2066 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2067 Revert type of `fp' to _IO_FILE*.
2068 (_IO_iter_file): Remove cast.
2069 (_IO_iter_next): Elide intermediate member reference.
2070
2071 * sysdeps/powerpc/strchr.S: Check bounds.
2072 Wrap extern symbols in BP_SYM ().
2073
2074 2000-07-03 Andreas Jaeger <aj@suse.de>
2075
2076 * dlfcn/Makefile (generated): New.
2077
2078 2000-07-03 Ulrich Drepper <drepper@redhat.com>
2079
2080 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
2081 (__uflow): Likewise.
2082 (__underflow): Likewise.
2083 * libio/wgenops.c (__wunderflow): Likewise.
2084 * stdio-common/tst-unbputc.c: New file.
2085 * stdio-common/tst-unbputc.sh: New file.
2086 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
2087
2088 * po/en_GB.po: New file.
2089 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
2090
2091 2000-07-01 Andreas Jaeger <aj@suse.de>
2092
2093 * intl/Makefile (generated-dirs): New.
2094
2095 * elf/Makefile (generated): trusted-dirs.h is always generated,
2096 move out of build-shared condition.
2097 (generated): Merge the two entries for build-shared.
2098
2099 2000-07-01 Ulrich Drepper <drepper@redhat.com>
2100
2101 * debug/Makefile (distribute): Add xtrace.sh.
2102
2103 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2104
2105 * version.h (VERSION): Bump to 2.1.91.
2106
2107 * configure.in: Update warning comment. glibc should not be
2108 broken anymore.
2109
2110 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
2111 ioperm.c, sys/procfs.h, and sys/io.h.
2112
2113 * sysdeps/powerpc/Dist: Add bp-asm.h.
2114
2115 * assert/Depend: Add localedata.
2116 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
2117 (test-assert-perr-ENV): New. Define LANGUAGE=C.
2118
2119 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
2120 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
2121 relocation address to prevent unaligned trap.
2122 Suggested by Richard Henderson <rth@cygnus.com>.
2123
2124 2000-06-30 Jakub Jelinek <jakub@redhat.com>
2125
2126 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
2127 if redirecting and either redirection is done using defines or
2128 not optimizing.
2129
2130 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2131
2132 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
2133 generated expressions.
2134 Patch by Darren McClelland <dmcclell@zetec.com>.
2135
2136 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
2137 since zic uses setlocale and gettext but we cannot make it use the
2138 new locale data since zic calls a shell which might not use the
2139 new libc.
2140
2141 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
2142 handling the internation currency symbol. POSIX says that the
2143 fourth character is used to separate the currency symbol from the
2144 value. Therefore it does not have to be printed. But we cannot
2145 remove the space if the currency symbol is printed before the
2146 number since this is what many locales expect.
2147
2148 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
2149 whether this information is available.
2150
2151 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
2152 buffers in case the translation is too large. Remember allocated
2153 memory blocks in a list.
2154 (free_mem): Free memory for translations.
2155
2156 * intl/tst-gettext.c: Use correct locale. Improve error messages.
2157
2158 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
2159 information is available set the string length to zero.
2160
2161 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
2162
2163 2000-06-30 Greg McGary <greg@mcgary.org>
2164
2165 * sysdeps/powerpc/bp-asm.h: New file.
2166 * sysdeps/powerpc/__longjmp.S: Check bounds.
2167 Wrap extern symbols in BP_SYM ().
2168 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2169 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
2170 * sysdeps/powerpc/setjmp.S: Likewise.
2171 * sysdeps/powerpc/add_n.S: Likewise.
2172 * sysdeps/powerpc/addmul_1.S: Likewise.
2173 * sysdeps/powerpc/lshift.S: Likewise.
2174 * sysdeps/powerpc/rshift.S: Likewise.
2175 * sysdeps/powerpc/mul_1.S: Likewise.
2176 * sysdeps/powerpc/sub_n.S: Likewise.
2177 * sysdeps/powerpc/submul_1.S: Likewise.
2178 * sysdeps/powerpc/strlen.S: Likewise.
2179 * sysdeps/powerpc/memset.S: Likewise.
2180 * sysdeps/powerpc/stpcpy.S: Likewise.
2181 * sysdeps/powerpc/strcmp.S: Likewise.
2182 * sysdeps/powerpc/strcpy.S: Likewise.
2183 * sysdeps/powerpc/elf/bzero.S: Likewise.
2184
2185 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
2186 Line up operands column with tabs.
2187
2188 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2189
2190 * elf/Makefile (LDFLAGS-origtest): Actually add it.
2191
2192 * sysdeps/ia64/htonl.S: New file.
2193 * sysdeps/ia64/htons.S: New file.
2194 * sysdeps/ia64/memcpy.S: Replace with version which does not use
2195 floating point registers.
2196 Patches by Dan Pop <Dan.Pop@cern.ch>.
2197
2198 2000-06-30 Andreas Jaeger <aj@suse.de>
2199
2200 * posix/Makefile (tests): tst-exec and tst-spawn only work with
2201 shared libraries.
2202
2203 * io/Makefile (CFLAGS-test-lfs.c): New.
2204 (tests): Add test-lfs.
2205
2206 * io/test-lfs.c: New file.
2207
2208 2000-06-30 Jakub Jelinek <jakub@redhat.com>
2209
2210 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
2211 instruction.
2212
2213 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
2214
2215 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
2216
2217 2000-06-29 Jes Sorensen <jes@linuxcare.com>
2218
2219 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
2220 alias to the fstatfs call.
2221
2222 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
2223 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
2224
2225 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
2226 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
2227
2228 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
2229 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
2230 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
2231 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
2232
2233 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
2234 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
2235
2236 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
2237 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
2238
2239 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
2240 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
2241
2242 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
2243
2244 2000-06-29 Andreas Jaeger <aj@suse.de>
2245
2246 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
2247 with syslog.
2248 (print_err_message): Likewise.
2249 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
2250
2251 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2252
2253 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
2254 used as words is properly aligned.
2255
2256 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
2257 data files.
2258
2259 2000-06-29 Greg McGary <greg@mcgary.org>
2260
2261 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
2262 * sysdeps/unix/make-syscalls.sh: Handle signatures of
2263 length 7..9, just in case...
2264 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
2265
2266 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
2267 (POP_ERRNO_LOCATION_RETURN): Fold insns.
2268 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
2269 (PUSH_SIGNAL_MASK): New macro.
2270 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
2271 LEAVE is unnecessary. Check bounds of jmp_buf.
2272 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
2273 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
2274 immediately before tail-call.
2275 * sysdeps/i386/setjmp.S: Likewise.
2276 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2277 * sysdeps/i386/bsd-setjmp.S: Likewise.
2278
2279 2000-06-29 Jakub Jelinek <jakub@redhat.com>
2280
2281 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
2282 versioned_symbol.
2283 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2284 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2285 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2286 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2287 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2288 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2289 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
2290 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
2291
2292 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2293
2294 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
2295 we later need to calling free().
2296 Patch by Matt Wilson <msw@redhat.com>.
2297
2298 * stdio-common/tst-printf.c: Add test for above problem.
2299
2300 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
2301
2302 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
2303 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
2304
2305 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2306
2307 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
2308 prototype for abs().
2309 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
2310
2311 2000-06-23 Andreas Jaeger <aj@suse.de>
2312
2313 * config.h.in: Don't use regparm with bounded pointers.
2314
2315 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2316
2317 * stdlib/grouping.h: Correctly handle multibyte thousands
2318 separator and decimal point.
2319 * stdlib/stdtod.c: Likewise.
2320 * sysdeps/generic/strtol.c: Likewise.
2321
2322 * locale/categories.def: Add entries for wide character decimal point
2323 and thousands separator in numeric and monetary category.
2324
2325 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2326
2327 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
2328 second definition and initialization of decimal.
2329
2330 2000-06-28 Greg McGary <greg@mcgary.org>
2331
2332 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
2333 out.
2334 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
2335 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
2336 in.
2337 (_IO_JUMPS): Don't cast THIS--expect arg to be a
2338 (struct _IO_FILE_plus *).
2339 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
2340 THIS, since _IO_JUMPS no longer does it implicitly.
2341 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
2342 arg type as (struct _IO_FILE_plus *).
2343 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
2344 arg as (_IO_strfile *).
2345 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
2346 Declare 1st arg as (_IO_strfile *).
2347 * libio/fileops.c (_IO_new_file_init): Declare
2348 arg type as (struct _IO_FILE_plus *).
2349 * libio/oldfileops.c (_IO_old_file_init): Likewise.
2350 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
2351 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2352 Declare iteration pointer as (struct _IO_FILE_plus *).
2353 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
2354 (struct _IO_FILE_plus *).
2355 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
2356 * libio/oldstdfiles.c (_IO_list_all): Likewise.
2357 (_IO_check_libio): Set user-visible handles to
2358 (struct _IO_FILE_plus *).
2359 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
2360 to (struct _IO_FILE_plus *).
2361
2362 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
2363 whose high bound includes vtable to all functions that will use
2364 vtable. For streambufs, pass pointer whose bounds include struct
2365 _IO_strfile.
2366 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
2367 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2368 * libio/iofopen.c (_IO_new_fopen): Likewise.
2369 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2370 * libio/iofopen64.c (_IO_fopen64): Likewise.
2371 * libio/iopopen.c (_IO_new_popen): Likewise.
2372 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2373 * libio/memstream.c (open_memstream): Likewise.
2374 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2375 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
2376 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2377 * libio/iofopncook.c (_IO_cookie_init): Likewise.
2378 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
2379 * libio/vasprintf.c (_IO_vasprintf): Likewise.
2380 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2381 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2382 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2383 * stdlib/strfmon.c (__strfmon_l): Likewise.
2384 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
2385 (vfprintf): Qualify computed-goto targets as unbounded.
2386
2387 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2388
2389 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
2390 thousands separator correctly.
2391
2392 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
2393 * stdio-common/vfwscanf.c: Likewise.
2394
2395 2000-06-27 Jes Sorensen <jes@linuxcare.com>
2396
2397 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
2398 count into signatures for most calls.
2399
2400 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2401
2402 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
2403 the generic parser now.
2404
2405 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2406
2407 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
2408 table entries are 32 bit on the ia64 (as specified by the ABI),
2409 not 64 bit as on the Alpha.
2410
2411 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
2412 change of objects to use 32 bit hash table indices (see above).
2413
2414 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2415
2416 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
2417 prototype for abs().
2418
2419 2000-06-28 Wolfram Gloger <wg@malloc.de>
2420
2421 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
2422 fails, try mmap_chunk() as a last resort even though n_mmaps_max
2423 may have been reached.
2424
2425 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2426
2427 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
2428 symbols in multi-character weights correctly.
2429
2430 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
2431 depending on whether the input string is empty or not.
2432
2433 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
2434 given state and not avoiding this by modifying a local object.
2435 * wcsmbs/wcrtomb.c: Likewise.
2436
2437 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
2438 object since some incomplete characters might be in there.
2439
2440 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
2441 sequences with first byte 0x8e correctly.
2442
2443 * iconvdata/jis0208.h: Remove redundant test.
2444
2445 2000-06-27 Ulrich Drepper <drepper@redhat.com>
2446
2447 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
2448 Add it where it is needed now.
2449
2450 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
2451 the input charset into account when generating the hash table.
2452 (allocate_arrays): Correct setting default width. Not all empty slots
2453 in the table are filled, only those not covert explicitly by the
2454 locale description and in the charset.
2455
2456 * wctype/towctrans.c (__towctrans): Be graceful and accept error
2457 return values from the wctrans function.
2458
2459 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
2460 wide character version.
2461 For %C handling, test correct pointer variable for NULL.
2462
2463 * wcsmbs/wctob.c: Handle WEOF special.
2464
2465 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
2466
2467 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
2468 always-true test to avoid warning.
2469
2470 2000-06-27 Greg McGary <greg@mcgary.org>
2471
2472 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
2473 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
2474 (symbol_version, default_symbol_version): Factor redundant
2475 definitions out of conditional.
2476
2477 2000-06-27 Jakub Jelinek <jakub@redhat.com>
2478
2479 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
2480 not obstack_blank.
2481
2482 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2483
2484 * include/libc-symbols.h (symbol_version): Add extra level of
2485 macro expansion.
2486 (default_symbol_version): Likewise.
2487
2488 2000-06-26 Greg McGary <greg@mcgary.org>
2489
2490 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
2491 for BP return value & push implicit struct-return pointer to
2492 __errno_location.
2493 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2494 (SYSCALL_ERROR_HANDLER): Likewise.
2495 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2496 (SYSCALL_ERROR_HANDLER): Likewise.
2497
2498 * Makeconfig: Add missing comment.
2499 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
2500 BP-flavored startup object.
2501 ($(objpfx)b$(start-installed-name)): New rule.
2502 * include/libc-symbols.h (symbol_set_declare): Change type
2503 of `__start_##set' and `__stop_##set' to pointer-to-function.
2504 (symbol_set_declare): Change type of `set' to array of
2505 pointer-to-function.
2506 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
2507 pointer-to-function.
2508
2509 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
2510
2511 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
2512 Remove clock_* and timer_* entries.
2513 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
2514 arg-count with signatures.
2515
2516 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
2517 Check bounds of arguments.
2518 * sysdeps/i386/addmul_1.S: Likewise.
2519 * sysdeps/i386/lshift.S: Likewise.
2520 * sysdeps/i386/mul_1.S: Likewise.
2521 * sysdeps/i386/rshift.S: Likewise.
2522 * sysdeps/i386/sub_n.S: Likewise.
2523 * sysdeps/i386/submul_1.S: Likewise.
2524 * sysdeps/i386/i586/add_n.S: Likewise.
2525 * sysdeps/i386/i586/addmul_1.S: Likewise.
2526 * sysdeps/i386/i586/lshift.S: Likewise.
2527 * sysdeps/i386/i586/rshift.S: Likewise.
2528 * sysdeps/i386/i586/sub_n.S: Likewise.
2529 * sysdeps/i386/i686/add_n.S: Likewise.
2530
2531 * sysdeps/i386/memchr.S: Likewise.
2532 * sysdeps/i386/memcmp.S: Likewise.
2533 * sysdeps/i386/rawmemchr.S: Likewise.
2534 * sysdeps/i386/i586/bzero.S: Likewise.
2535 * sysdeps/i386/i586/memcpy.S: Likewise.
2536 * sysdeps/i386/i586/mempcpy.S: Likewise.
2537 * sysdeps/i386/i586/memset.S: Likewise.
2538 * sysdeps/i386/i686/bzero.S: Likewise.
2539 * sysdeps/i386/i686/memcpy.S: Likewise.
2540 * sysdeps/i386/i686/mempcpy.S: Likewise.
2541 * sysdeps/i386/i686/memset.S: Likewise.
2542
2543 * sysdeps/i386/stpcpy.S: Likewise.
2544 * sysdeps/i386/stpncpy.S: Likewise.
2545 * sysdeps/i386/strchr.S: Likewise.
2546 * sysdeps/i386/strchrnul.S: Likewise.
2547 * sysdeps/i386/strcspn.S: Likewise.
2548 * sysdeps/i386/strpbrk.S: Likewise.
2549 * sysdeps/i386/strrchr.S: Likewise.
2550 * sysdeps/i386/strspn.S: Likewise.
2551 * sysdeps/i386/strtok.S: Likewise.
2552 * sysdeps/i386/strtok_r.S: Likewise.
2553 * sysdeps/i386/i486/strcat.S: Likewise.
2554 * sysdeps/i386/i486/strlen.S: Likewise.
2555 * sysdeps/i386/i586/strchr.S: Likewise.
2556 * sysdeps/i386/i586/strcpy.S: Likewise.
2557 * sysdeps/i386/i586/strlen.S: Likewise.
2558 * sysdeps/i386/i686/strcmp.S: Likewise.
2559 * sysdeps/i386/i686/strtok.S: Likewise.
2560 * sysdeps/i386/i686/strtok_r.S: Likewise.
2561
2562 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
2563 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2564 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2565 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2566 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2567
2568 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
2569 * sysdeps/i386/mul_1.S: Likewise.
2570 * sysdeps/i386/submul_1.S: Likewise.
2571 * sysdeps/i386/i586/add_n.S: Likewise.
2572 * sysdeps/i386/i586/addmul_1.S: Likewise.
2573 * sysdeps/i386/i586/lshift.S: Likewise.
2574 * sysdeps/i386/i586/mul_1.S: Likewise.
2575 * sysdeps/i386/i586/rshift.S: Likewise.
2576 * sysdeps/i386/i586/sub_n.S: Likewise.
2577 * sysdeps/i386/i586/submul_1.S: Likewise.
2578
2579 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2580
2581 * rt/Makefile (librt-routines): Add clock_nanosleep.
2582 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
2583 * sysdeps/generic/clock_nanosleep.c: New file.
2584 * sysdeps/unix/clock_nanosleep.c: New file.
2585 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
2586 * time/time.h: Declare clock_nanosleep.
2587
2588 2000-06-26 Greg McGary <greg@mcgary.org>
2589
2590 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
2591 INSN1, INSN2, TEXT, GLOBL): Remove macros.
2592 (ALIGN): Cleanup surrounding conditionals.
2593
2594 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
2595 Call ENTER/LEAVE macros.
2596 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
2597 * sysdeps/i386/submul_1.S: Likewise.
2598
2599 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
2600 syntax. Define & use symbolic argument stack offsets. Call
2601 ENTER/LEAVE macros.
2602 * sysdeps/i386/i586/mul_1.S: Likewise.
2603 * sysdeps/i386/i586/submul_1.S: Likewise.
2604
2605 2000-06-25 Greg McGary <greg@mcgary.org>
2606
2607 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
2608 not as bcopy.
2609
2610 2000-06-25 Ulrich Drepper <drepper@redhat.com>
2611
2612 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
2613 * iconvdata/gen-8bit-gap.sh: Likewise.
2614 * iconvdata/gen-8bit.sh: Likewise.
2615
2616 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
2617
2618 * locale/programs/ld-collate.c (collate_read): Don't actually read
2619 the copy locale if we are ignoring the content.
2620
2621 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
2622 unknown character.
2623
2624 * locale/programs/ld-collate.c: Correct handling of different
2625 collation sections.
2626 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
2627 as extra parameter from which to copy category information.
2628 Change all callers.
2629 (load_locale): Likewise.
2630 * locale/programs/localedef.h: Update prototypes of add_to_readlist
2631 and load_locale.
2632 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
2633 * locale/programs/locfile.h: Likewise.
2634 * locale/programs/locfile-kw.gperf: Add entry for script.
2635 * locale/programs/locfile-token.h: Add tok_script.
2636
2637 * locale/programs/locale.c: Update copyright year.
2638 * locale/programs/localedef.c: Likewise.
2639
2640 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
2641
2642 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
2643 Jens Moeller <jens.moeller@waii.com>.
2644
2645 2000-06-24 Ulrich Drepper <drepper@redhat.com>
2646
2647 * locale/programs/ld-name.c (name_finish): Add missing format
2648 specifier to test for name_fmt.
2649
2650 * locale/programs/ld-address.c (iso639): Correct length of string
2651 elements.
2652 (iso3166): Likewise.
2653
2654 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
2655
2656 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
2657 Define.
2658
2659 * elf/elf.h (NT_PRFPXREG): Define.
2660
2661 2000-06-23 Ulrich Drepper <drepper@redhat.com>
2662
2663 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
2664 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
2665
2666 2000-06-23 Andreas Schwab <schwab@suse.de>
2667
2668 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
2669 with signatures.
2670
2671 2000-06-23 Andreas Jaeger <aj@suse.de>
2672
2673 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
2674
2675 * io/test-stat.c: Add copyright header, mention Maciej.
2676
2677 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
2678 SYS_mincore, SYS_madvise): Added.
2679
2680 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
2681 execve.
2682
2683 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2684
2685 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
2686 (CFLAGS-tst_putwc.c): New definition.
2687 * libio/tst_getwc.c: New file.
2688 * libio/tst_getwc.input: New file.
2689 * libio/tst_putwc.c: New file.
2690
2691 * include/string.h: Add prototype for __strdup.
2692
2693 2000-06-22 Greg McGary <greg@mcgary.org>
2694
2695 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
2696 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
2697 Fix signatures.
2698
2699 2000-06-23 Jes Sorensen <jes@linuxcare.com>
2700
2701 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
2702
2703 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2704
2705 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
2706
2707 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2708
2709 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
2710 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
2711
2712 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2713
2714 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
2715 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
2716 and __S_TYPEISSHM.
2717 * sysdeps/mach/hurd/bits/stat.h: Likewise.
2718 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2719 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2720 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2721 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2722 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
2723 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2724 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2725 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2726 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2727 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2728 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2729 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
2730 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
2731 S_TYPEISSHM.
2732
2733 2000-06-22 Andreas Jaeger <aj@suse.de>
2734
2735 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
2736 with signatures.
2737
2738 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
2739
2740 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
2741
2742 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2743
2744 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
2745 ahead.
2746
2747 2000-06-21 Greg McGary <greg@mcgary.org>
2748
2749 * Makerules (elide-routines.*, elide-bp-thunks):
2750 Define unconditionally.
2751
2752 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2753
2754 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2755
2756 2000-06-21 Andreas Jaeger <aj@suse.de>
2757
2758 * io/Makefile (tests): Add test-stat.
2759 (CFLAGS-test-stat.c): New.
2760
2761 * io/test-stat.c: New file from Maciej W. Rozycki
2762 <macro@ds2.pg.gda.pl>.
2763
2764 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2765
2766 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
2767 in __rlimit_resource to make them match the kernel order.
2768 rlim_t is always 64 bit, use __rlim64_t to declare it
2769 unconditionally.
2770
2771 2000-05-04 Jes Sorensen <jes@linuxcare.com>
2772
2773 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2774 RLIM_INFINITY before defining it to avoid clash with kernel header
2775
2776 2000-05-03 Jes Sorensen <jes@linuxcare.com>
2777
2778 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2779
2780 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2781
2782 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2783
2784 2000-06-21 Andreas Jaeger <aj@suse.de>
2785
2786 * stdio-common/temptest.c: Include <stdlib.h>.
2787 * stdio-common/tst-fileno.c: Likewise.
2788 * stdio-common/scanf4.c: Likewise.
2789 * stdio-common/scanf5.c: Likewise.
2790 * time/clocktest.c: Likewise.
2791 * posix/test-vfork.c: Likewise.
2792 * posix/globtest.c: Likewise.
2793 * io/test-utime.c: Likewise.
2794 * wctype/test_wcfuncs.c: Likewise.
2795 * crypt/cert.c: Likewise.
2796
2797 * stdio-common/tst-printfsz.c: Include <string.h>.
2798 * libio/tst_swscanf.c: Likewise.
2799 * libio/tst_wscanf.c: Likewise.
2800 * posix/runtests.c: Likewise.
2801 * posix/tst-getaddrinfo.c: Likewise.
2802 * posix/wordexp-test.c: Likewise.
2803 * misc/tst-efgcvt.c: Likewise.
2804
2805 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2806 * nss/test-netdb.c: Likewise.
2807
2808 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2809 supported kernel for MIPS.
2810
2811 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2812 * rt/aio_suspend.c: Likewise.
2813
2814 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2815
2816 * math/libm-test.inc: Include <string.h>.
2817
2818 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2819
2820 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2821
2822 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2823
2824 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2825 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2826
2827 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
2828
2829 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2830
2831 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2832
2833 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2834
2835 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2836
2837 * locale/programs/ld-collate.c (insert_value): Now take string and
2838 length instead of struct token* parameter. Adjust use of token.
2839 (handle_ellipsis): Likewise.
2840 (collate_read): Allow <Uxxxx> names and transform them into names
2841 to be passed to insert_value and handle_ellipsis.
2842
2843 * locale/programs/ld-ctype.c (uninames): New array with names of
2844 digits in <Uxxxxxxxx> format.
2845 (ctype_finish): Correct search for space character value. Likewise
2846 for default outdigits values.
2847
2848 2000-06-20 Greg McGary <greg@mcgary.org>
2849
2850 * Makerules (objects): Add BP thunks.
2851
2852 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2853
2854 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2855 in width definitions.
2856
2857 2000-06-20 Andreas Jaeger <aj@suse.de>
2858
2859 * sysdeps/mips/fpu/libm-test-ulps: New file.
2860
2861 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2862 first.
2863
2864 * sysdeps/mips/fpu/feholdexcpt.c: New file.
2865
2866 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2867
2868 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2869
2870 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2871 change in gconv_builtin.h.
2872
2873 * malloc/Makefile: Change all references to memprof into memusage.
2874 * malloc/memprof.c: Rename to...
2875 * malloc/memusage.c: ...this. New file.
2876 * malloc/memprof.sh: Rename to...
2877 * malloc/memusage.sh: ...this. New file.
2878 * malloc/memprofstat.c: Rename to...
2879 * malloc/memusagestat.c: ...this. New file.
2880 * sysdeps/alpha/memprof.h: Rename to..
2881 * sysdeps/alpha/memusage.h: ...this. New file.
2882 * sysdeps/arm/memprof.h: Rename to..
2883 * sysdeps/arm/memusage.h: ...this. New file.
2884 * sysdeps/generic/memprof.h: Rename to..
2885 * sysdeps/generic/memusage.h: ...this. New file.
2886 * sysdeps/i386/memprof.h: Rename to..
2887 * sysdeps/i386/memusage.h: ...this. New file.
2888 * sysdeps/ia64/memprof.h: Rename to..
2889 * sysdeps/ia64/memusage.h: ...this. New file.
2890 * sysdeps/m68k/memprof.h: Rename to..
2891 * sysdeps/m68k/memusage.h: ...this. New file.
2892 * sysdeps/mips/memprof.h: Rename to..
2893 * sysdeps/mips/memusage.h: ...this. New file.
2894 * sysdeps/powerpc/memprof.h: Rename to..
2895 * sysdeps/powerpc/memusage.h: ...this. New file.
2896 * sysdeps/sparc/memprof.h: Rename to..
2897 * sysdeps/sparc/memusage.h: ...this. New file.
2898 * sysdeps/sh/memprof.h: Rename to..
2899 * sysdeps/sh/memusage.h: ...this. New file.
2900
2901 * elf/sprof.c (print_version): Update year.
2902
2903 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
2904 table entry values. Use D_PTR.
2905 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
2906 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
2907
2908 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2909
2910 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2911 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
2912 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
2913 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
2914
2915 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2916
2917 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
2918
2919 2000-06-16 Jes Sorensen <jes@linuxcare.com>
2920
2921 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
2922 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
2923 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
2924
2925 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
2926
2927 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
2928 kernel change.
2929
2930 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
2931 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
2932 structure.
2933 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2934 implementation.
2935
2936 2000-06-15 Jes Sorensen <jes@linuxcare.com>
2937
2938 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2939
2940 2000-06-08 Jes Sorensen <jes@linuxcare.com>
2941
2942 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2943
2944 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2945
2946 * iconv/gconv_int.h (strict gconv_module): Remove all members
2947 associated with regular expressions. Use a simple string as the
2948 from name.
2949 * iconv/gconv_db.c: Remove code handling regular expressions.
2950 * iconv/gconv_conf.c: Likewise.
2951 * iconv/iconv_prog.c: Likewise.
2952 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2953
2954 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
2955 General namespace cleanup.
2956 (struct __gconv_trans_data): Add next field.
2957 (struct __gconv_step_data): Make __trans a pointer.
2958 * iconv/gconv_conf.c: Split out code to find gconv directories from
2959 __gconv_read_conf in new functions.
2960 * iconv/gconv_int.h: Define new data structure and declare new
2961 functions for handling of gconv directory list.
2962 * iconv/gconv_open.c: Allow more than one error handling step being
2963 used. Call function to load error handling module if it is none
2964 of the builtin transformations.
2965 * iconv/gconv_close.c: Add code to free transliteration data.
2966 * iconv/gconv_trans.c: Add functions to load and unload modules
2967 implementing transliteration etc.
2968 * iconv/skeleton.c: Call all context functions now that more than
2969 one module is allowed.
2970 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
2971 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
2972 where the full error handling using transliteration is needed.
2973 * iconvdata/8bit-gap.c: Likewise.
2974 * iconvdata/8bit-generic.c: Likewise.
2975 * iconvdata/ansi_x3.110.c: Likewise.
2976 * iconvdata/big5.c: Likewise.
2977 * iconvdata/big5hkscs.c: Likewise.
2978 * iconvdata/euc-cn.c: Likewise.
2979 * iconvdata/euc-jp.c: Likewise.
2980 * iconvdata/euc-kr.c: Likewise.
2981 * iconvdata/euc-tw.c: Likewise.
2982 * iconvdata/gbgbk.c: Likewise.
2983 * iconvdata/gbk.c: Likewise.
2984 * iconvdata/iso-2022-cn.c: Likewise.
2985 * iconvdata/iso-2022-jp.c: Likewise.
2986 * iconvdata/iso-2022-kr.c: Likewise.
2987 * iconvdata/iso646.c: Likewise.
2988 * iconvdata/iso8859-1.c: Likewise.
2989 * iconvdata/iso_6937-2.c: Likewise.
2990 * iconvdata/iso_6937.c: Likewise.
2991 * iconvdata/johab.c: Likewise.
2992 * iconvdata/sjis.c: Likewise.
2993 * iconvdata/t.61.c: Likewise.
2994 * iconvdata/uhc.c: Likewise.
2995 * iconvdata/unicode.c: Likewise.
2996 * iconvdata/utf-16.c: Likewise.
2997 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
2998 structure correctly after last change.
2999 * wcsmbs/btowc.c: Likewise.
3000 * wcsmbs/mbrtowc.c: Likewise.
3001 * wcsmbs/mbsnrtowcs.c: Likewise.
3002 * wcsmbs/mbsrtowcs.c: Likewise.
3003 * wcsmbs/wcrtomb.c: Likewise.
3004 * wcsmbs/wcsnrtombs.c: Likewise.
3005 * wcsmbs/wcsrtombs.c: Likewise.
3006 * wcsmbs/wctob.c: Likewise.
3007
3008 * localedata/Makefile: Set -Wno-format for some files since gcc does
3009 not know all the format specifiers.
3010
3011 2000-06-18 Ulrich Drepper <drepper@redhat.com>
3012
3013 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
3014 unneeded code.
3015 * locale/lc-time.c (_nl_init_era_entries): Likewise.
3016
3017 2000-06-18 Andreas Jaeger <aj@suse.de>
3018
3019 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
3020 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3021
3022 2000-06-17 Ulrich Drepper <drepper@redhat.com>
3023
3024 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
3025 LINUX_LINK_MAX.
3026 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
3027
3028 * locale/programs/ld-ctype.c (ctype_output): Really write out
3029 mboutdigits information.
3030 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
3031 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
3032 * localedata/tests/trans.def: Add outdigit information.
3033
3034 * localedata/tst-mbswcs3.c: Remove comment.
3035
3036 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
3037 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
3038 * libio/tst_wprintf.c (main): Add test for I flag.
3039
3040 * iconv/gconv_trans.c: Implement handling if translit_ignore.
3041 * locale/langinfo.h: Add entries for translit_ignore information.
3042 * locale/categories.def: Add entries for new LC_CTYPE elements.
3043 * locale/C-ctype.c: Add initializers for new fields. Use NULL
3044 pointer instead of "" where possible.
3045 * locale/programs/ld-ctype.c: Write out translit_ignore information.
3046 * intl/Depend: Add localedata.
3047 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
3048 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
3049
3050 2000-06-16 Ulrich Drepper <drepper@redhat.com>
3051
3052 * locale/langinfo.h: Add entries for default_missing information.
3053 * locale/C-ctype.c: Add initializers for new fields.
3054 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
3055 information.
3056 * locale/categories.h: Add entries for all LC_CTYPE values.
3057 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
3058 information.
3059
3060 * localedata/tst-trans.c: Write out an error message if class is
3061 not found.
3062
3063 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
3064 * iconv/gconv_open.c: Remove error handling specification from `from'
3065 character set name.
3066 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
3067 new parameter to always enable transliteration.
3068 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
3069 change.
3070 (struct locale_data): Add new members use_translit and options.
3071 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
3072 character set name contained modifier TRANSLIT.
3073 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
3074 and options fields.
3075 (_nl_unload_locale): Free options string if necessary.
3076 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
3077 the locale names suggested this.
3078 * locale/C-address.c: Add two new initialilzers to adjust data
3079 structure for new format.
3080 * locale/C-collate.c: Likewise.
3081 * locale/C-ctype.c: Likewise.
3082 * locale/C-identification.c: Likewise.
3083 * locale/C-measurement.c: Likewise.
3084 * locale/C-messages.c: Likewise.
3085 * locale/C-monetary.c: Likewise.
3086 * locale/C-name.c: Likewise.
3087 * locale/C-numeric.c: Likewise.
3088 * locale/C-paper.c: Likewise.
3089 * locale/C-telephone.c: Likewise.
3090 * locale/C-time.c: Likewise.
3091
3092 * locale/setlocale.c: Add some more __builtin_expect.
3093
3094 2000-06-15 Ulrich Drepper <drepper@redhat.com>
3095
3096 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
3097 unsigned char **.
3098 (__gconv_init_fct): Remove two parameters.
3099 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
3100 gconv_transliterate. Remove two parameters.
3101 Change prototypes of builtin functions according to __gconv_fct change.
3102 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
3103 != NULL only during error handling. Stop in this case after the
3104 conversion.
3105 * iconv/gconv_trans.c: Replace with real implementation for
3106 __gconv_transliterate.
3107 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
3108 * iconv/gconv.c: Change calls to downstream functions once again.
3109 Use NULL for the fifth parameter instead of pointer to output buffer.
3110 * libio/iofwide.c: Likewise.
3111 * wcsmbs/btowc.c: Likewise.
3112 * wcsmbs/mbrtowc.c: Likewise.
3113 * wcsmbs/mbsnrtowcs.c: Likewise.
3114 * wcsmbs/mbsrtowcs.c: Likewise.
3115 * wcsmbs/wcrtomb.c: Likewise.
3116 * wcsmbs/wcsnrtombs.c: Likewise.
3117 * wcsmbs/wcsrtombs.c: Likewise.
3118 * wcsmbs/wctob.c: Likewise.
3119 * iconv/gconv_simple.c: Remove two parameters from error handling
3120 function call.
3121 * iconvdata/8bit-gap.c: Likewise.
3122 * iconvdata/8bit-generic.c: Likewise.
3123 * iconvdata/ansi_x3.110.c: Likewise.
3124 * iconvdata/big5.c: Likewise.
3125 * iconvdata/big5hkscs.c: Likewise.
3126 * iconvdata/euc-cn.c: Likewise.
3127 * iconvdata/euc-jp.c: Likewise.
3128 * iconvdata/euc-kr.c: Likewise.
3129 * iconvdata/euc-tw.c: Likewise.
3130 * iconvdata/gbgbk.c: Likewise.
3131 * iconvdata/gbk.c: Likewise.
3132 * iconvdata/iso-2022-cn.c: Likewise.
3133 * iconvdata/iso-2022-jp.c: Likewise.
3134 * iconvdata/iso-2022-kr.c: Likewise.
3135 * iconvdata/iso646.c: Likewise.
3136 * iconvdata/iso8859-1.c: Likewise.
3137 * iconvdata/iso_6937-2.c: Likewise.
3138 * iconvdata/iso_6937.c: Likewise.
3139 * iconvdata/johab.c: Likewise.
3140 * iconvdata/sjis.c: Likewise.
3141 * iconvdata/t.61.c: Likewise.
3142 * iconvdata/uhc.c: Likewise.
3143 * iconvdata/unicode.c: Likewise.
3144 * iconvdata/utf-16.c: Likewise.
3145
3146 2000-06-15 Greg McGary <greg@mcgary.org>
3147
3148 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
3149 of callnum assignment. Tolerate callnum expressions containing
3150 parens.
3151
3152 2000-06-14 Ulrich Drepper <drepper@redhat.com>
3153
3154 * login/Makefile (utmpd): Remove rule to build utmpd.
3155
3156 * csu/Versions: Move libgcc frame handling functions from here...
3157 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
3158 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
3159 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
3160 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
3161 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
3162 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
3163 New file.
3164 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
3165
3166 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
3167
3168 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
3169
3170 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3171
3172 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
3173 compatibility.
3174 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
3175 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
3176 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
3177 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
3178
3179 2000-06-14 Jakub Jelinek <jakub@redhat.com>
3180
3181 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
3182 defined, terminate quotes and read them after the comment char.
3183 * configure.in (HAVE_SECTION_QUOTES): Test whether
3184 __attribute__((section ("x"))) puts quotes around x or not.
3185 * config.h.in (HAVE_SECTION_QUOTES): Add.
3186 * configure: Rebuilt.
3187
3188 2000-06-14 Andreas Jaeger <aj@suse.de>
3189
3190 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
3191 depending on the configure option --sysconfdir.
3192 Closes PR libc/1762.
3193 Patch by Andreas Schwab <schwab@suse.de>.
3194
3195 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
3196 entry point.
3197 Reported by Jim Pick <jim@jimpick.com>.
3198
3199 2000-06-14 Ulrich Drepper <drepper@redhat.com>
3200
3201 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
3202 crashing the application. Emit some simple error message.
3203 Reported by mju@panasas.com [PR libc/1769].
3204
3205 2000-06-13 Ulrich Drepper <drepper@redhat.com>
3206
3207 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
3208
3209 * crypt/Makefile (distribute): Add md5.h.
3210
3211 * Makefile (distribute): Add include/shlib-compat.h.
3212
3213 * Make-dist: Search for tests also in sysdeps hierachy.
3214
3215 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
3216 ufc.c, speeds.c, README.ufc-crypt, and Banner.
3217
3218 * sysdeps/sparc/Subdirs: New file.
3219
3220 * locale/Makefile (distribute): Add weightwc.h and
3221 programs/localedef.h.
3222
3223 * time/Makefile (distribute): Add datemsk.
3224
3225 * sysdeps/ia64/Dist: Add softpipe.h.
3226
3227 * sysdeps/unix/sysv/aix/Dist: New file.
3228
3229 * posix/setpgrp.c: Moved to...
3230 * sysdeps/generic/setpgrp.c: ...here. New file.
3231 * io/mknod.c: Moved to...
3232 * sysdeps/generic/mknod.c: ...here. New file.
3233
3234 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
3235
3236 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
3237
3238 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
3239
3240 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
3241 gprsave0.S, gprrest1.S, and gprrest0.S.
3242
3243 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
3244
3245 * posix/Makefile (routines): Add spawnattr_getsigmask,
3246 spawnattr_getschedpolicy, spawnattr_getschedparam,
3247 spawnattr_setsigmask, spawnattr_setschedpolicy, and
3248 spawnattr_setschedparam.
3249 * posix/Versions: Add posix_spawnattr_getschedpolicy,
3250 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
3251 posix_spawnattr_setschedparam.
3252
3253 * posix/spawnattr_setschedparam.c: Fix typo.
3254
3255 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
3256 Correct typo.
3257
3258 * login/programs/utmpd.c: Removed.
3259 * login/programs/utmpd.h: Removed.
3260 * login/programs/utmpd-private.h: Removed.
3261
3262 * Makefile (distribute): Add include/db_185.h and include/db.h.
3263
3264 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
3265 iso-ir-165.h.
3266
3267 * elf/Makefile (distribute): Add missing files.
3268
3269 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
3270 * elf/eval.c: Moved to...
3271 * dlfcn/eval.c: ...here. New file.
3272
3273 * Makefile (distribute): Also distribute ChangeLog.1?.
3274
3275 * Make-dist (+tsrcs): Remove .args handling here as well.
3276
3277 * rt/Makefile (tests): Add tst-timer.
3278 * sysdeps/generic/tst-timer.c: New file.
3279
3280 * Makerules (sources): Don't add BP sources here.
3281
3282 * login/Makefile (distribute): Remove xtmp.h.
3283
3284 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
3285 is true. Reported by Bruno Haible <haible@ilog.fr>.
3286
3287 2000-06-13 Andreas Jaeger <aj@suse.de>
3288
3289 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
3290 Patch by Ralf Baechle <ralf@gnu.org>.
3291
3292 2000-06-13 Ulrich Drepper <drepper@redhat.com>
3293
3294 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
3295 for mincore syscall.
3296
3297 * misc/sys/cdefs.h: Define __bounded and __unbounded if
3298 __BOUNDED_POINTERS__ is not defined.
3299
3300 2000-06-07 Greg McGary <greg@mcgary.org>
3301
3302 * sysdeps/generic/bp-sym.h: New file.
3303 * sysdeps/generic/bp-start.h: New file.
3304 * sysdeps/i386/elf/start.S: Designate BP symbols.
3305 * sysdeps/generic/libc-start.c: Wrap bounds around
3306 argv & envp and each of their string members.
3307
3308 2000-06-07 Greg McGary <greg@mcgary.org>
3309
3310 * sysdeps/unix/make-syscalls.sh: Add comments to
3311 output that aid debugging & comprehension.
3312 Map simple syscall signatures to number of args.
3313 Generate BP syscall thunk definitions.
3314 * sysdeps/generic/bp-thunks.h: New file.
3315 * sysdeps/unix/syscalls.list: Replace arg-count with
3316 simple return+arg signature.
3317 * sysdeps/unix/common/syscalls.list: Likewise.
3318 * sysdeps/unix/inet/syscalls.list: Likewise.
3319 * sysdeps/unix/mman/syscalls.list: Likewise.
3320 * sysdeps/unix/sysv/syscalls.list: Likewise.
3321 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3322 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3323
3324 2000-06-07 Greg McGary <greg@mcgary.org>
3325
3326 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
3327 for all files *.[cS].
3328 (CFLAGS-.ob): Don't optimize sibling calls.
3329 (bppfx): New variable.
3330 * Makerules (elide-bp-thunks): New variable.
3331 (elide-routines.*): Elide BP-* files for all but *.ob.
3332 (sources): Include bp-thunks.
3333
3334 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3335
3336 * iconv/gconv_simple.c: Remove unnecessary prototype.
3337
3338 * iconv/gconv_trans.c: Pretty print.
3339
3340 * elf/elf.h (R_SH_NUM): Got accidently dropped.
3341
3342 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
3343 minimal kernel versions. Add information about IA-64 kernel.
3344
3345 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
3346 specific minimal supported kernel versions to be specified.
3347
3348 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
3349 step data structure.
3350 * wcsmbs/btowc.c: Likewise.
3351 * wcsmbs/mbrtowc.c: Likewise.
3352 * wcsmbs/mbsnrtowcs.c: Likewise.
3353 * wcsmbs/mbsrtowcs.c: Likewise.
3354 * wcsmbs/wcrtomb.c: Likewise.
3355 * wcsmbs/wcsnrtombs.c: Likewise.
3356 * wcsmbs/wcsrtombs.c: Likewise.
3357 * wcsmbs/wctob.c: Likewise.
3358
3359 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
3360 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
3361
3362 * shlib-versions: Earliest backward compatible version for SH is 2.2.
3363
3364 * misc/sys/cdefs.h: Remove one more __P.
3365
3366 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
3367 Reported by HJ Lu.
3368
3369 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
3370 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
3371 * sysdeps/sh/bits/setjmp.h: ...here. New file.
3372
3373 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3374 Yutaka Niibe <gniibe@chroot.org>
3375
3376 * configure.in: Add machine sh3, sh4.
3377 * elf/elf.h: Add SH specific declarations of relocations.
3378 * shlib-versions: Add sh*-*-linux* cases.
3379
3380 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3381
3382 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
3383 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
3384 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
3385 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
3386 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
3387 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
3388
3389 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
3390 instead of KERNEL_MATH_EMULATION.
3391 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
3392 KERNEL_MATH_EMULATION.
3393
3394 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
3395 * sysdeps/sh/sh3/dl-machine.h: Moved to...
3396 * sysdeps/sh/dl-machine.h: ...here. New file.
3397 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
3398 and include generic SH version.
3399 * sysdeps/sh/sh3/bits/endian.h: Move to...
3400 * sysdeps/sh/bits/endian.h: ...here. New file.
3401 * sysdeps/sh/sh4/bits/endian.h: Removed.
3402 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
3403 * sysdeps/sh/bits/huge_val.h: ...here. New file.
3404 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
3405
3406 * include/libc-symbols.h (link_warning): Work around a change in
3407 GAS which warns about changing section attributes.
3408 Proposed by Nick Clifton <nickc@redhat.com>.
3409
3410 2000-06-12 H.J. Lu <hjl@gnu.org>
3411
3412 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
3413
3414 2000-06-11 H.J. Lu <hjl@gnu.org>
3415
3416 * sysdeps/i386/fpu/Versions: New file.
3417
3418 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3419
3420 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
3421 parameters.
3422 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
3423 exists.
3424
3425 2000-06-12 Jes Sorensen <jes@linuxcare.com>
3426
3427 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
3428 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
3429 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
3430
3431 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
3432 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
3433 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
3434
3435 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3436 Yutaka Niibe <gniibe@chroot.org>
3437
3438 * sysdeps/sh/Dist: New file.
3439 * sysdeps/sh/Implies: New file.
3440 * sysdeps/sh/elf/initfini.c: New file.
3441 * sysdeps/sh/gmp-mparam.h: New file.
3442 * sysdeps/sh/init-first.c: New file.
3443 * sysdeps/sh/machine-gmon.h: New file.
3444 * sysdeps/sh/memcpy.S: New file.
3445 * sysdeps/sh/memprof.h: New file.
3446 * sysdeps/sh/memset.S: New file.
3447 * sysdeps/sh/sh3/__longjmp.S: New file.
3448 * sysdeps/sh/sh3/bits/endian.h: New file.
3449 * sysdeps/sh/sh3/bits/huge_val.h: New file.
3450 * sysdeps/sh/sh3/bits/setjmp.h: New file.
3451 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
3452 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
3453 * sysdeps/sh/sh3/dl-machine.h: New file.
3454 * sysdeps/sh/sh3/setjmp.S: New file.
3455 * sysdeps/sh/sh4/__longjmp.S: New file.
3456 * sysdeps/sh/sh4/bits/endian.h: New file.
3457 * sysdeps/sh/sh4/bits/huge_val.h: New file.
3458 * sysdeps/sh/sh4/bits/setjmp.h: New file.
3459 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
3460 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
3461 * sysdeps/sh/sh4/dl-machine.h: New file.
3462 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
3463 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
3464 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
3465 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
3466 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
3467 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
3468 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
3469 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
3470 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
3471 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
3472 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
3473 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
3474 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
3475 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
3476 * sysdeps/sh/sh4/setjmp.S: New file.
3477 * sysdeps/sh/elf/start.S: New file.
3478 * sysdeps/sh/sys/ucontext.h: New file.
3479 * sysdeps/sh/strlen.S: New file.
3480 * sysdeps/sh/sysdep.h: New file.
3481 * sysdeps/unix/sh/sysdep.S: New file.
3482 * sysdeps/unix/sh/sysdep.h: New file.
3483 * sysdeps/unix/sysv/linux/sh/Dist: New file.
3484 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
3485 * sysdeps/unix/sysv/linux/sh/Versions: New file.
3486 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
3487 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
3488 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
3489 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
3490 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
3491 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
3492 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
3493 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
3494 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
3495 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
3496 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
3497 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
3498 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
3499 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
3500 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
3501 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
3502 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
3503 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
3504 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
3505 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
3506 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
3507 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
3508 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
3509 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
3510 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
3511 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
3512 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
3513 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
3514 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
3515 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
3516 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
3517 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
3518 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
3519 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
3520 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
3521 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
3522 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
3523 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
3524 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
3525 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
3526 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3527 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
3528 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
3529 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
3530 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
3531 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
3532 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
3533
3534 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3535
3536 * Rules (%.out): Define GCONV_PATH in the environment.
3537 * assert/Depend: New file.
3538 * iconvdata/Depend: New file.
3539 * intl/Depend: New file.
3540 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
3541 * intl/tst-gettext.sh: Likewise.
3542 * iconv/Makefile (routines): Add gconv_trans.
3543 * iconv/gconv_trans.c: New file.
3544 * iconv/gconv.h (struct __gconv_trans_data): New type.
3545 (__gconv_fct): New parameter with starting position in output buffer.
3546 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
3547 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
3548 (struct __gconv_step): Add new member __trans.
3549 * iconv/gconv_int.h: Pretty print prototypes.
3550 (gconv_transliterate): New prototype.
3551 (__BUILTIN_TRANS): Update for new conversion function interface.
3552 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
3553 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
3554 in names, find appropriate function, and install in the conversion
3555 steps it can be used.
3556 * iconv/skeleton.c: Add additional parameter for beginning of output
3557 buffer. Change calls of downstream functions.
3558 * iconv/loop.c: Change loop function interface completely. Pass in
3559 step and step_data structure. Remove optimization for BODY with
3560 NEED_LENGTH_TEST == 0.
3561 * iconv/gconv_simple.c: Update interfaces of functions. Insert
3562 appropriate error handling code to use transliteration steps. Remove
3563 optimization for BODY with NEED_LENGTH_TEST == 0.
3564 * iconvdata/8bit-gap.c: Likewise.
3565 * iconvdata/8bit-generic.c: Likewise.
3566 * iconvdata/ansi_x3.110.c: Likewise.
3567 * iconvdata/big5.c: Likewise.
3568 * iconvdata/big5hkscs.c: Likewise.
3569 * iconvdata/euc-cn.c: Likewise.
3570 * iconvdata/euc-jp.c: Likewise.
3571 * iconvdata/euc-kr.c: Likewise.
3572 * iconvdata/euc-tw.c: Likewise.
3573 * iconvdata/gbgbk.c: Likewise.
3574 * iconvdata/gbk.c: Likewise.
3575 * iconvdata/iso-2022-cn.c: Likewise.
3576 * iconvdata/iso-2022-jp.c: Likewise.
3577 * iconvdata/iso-2022-kr.c: Likewise.
3578 * iconvdata/iso646.c: Likewise.
3579 * iconvdata/iso8859-1.c: Likewise.
3580 * iconvdata/iso_6937-2.c: Likewise.
3581 * iconvdata/iso_6937.c: Likewise.
3582 * iconvdata/johab.c: Likewise.
3583 * iconvdata/sjis.c: Likewise.
3584 * iconvdata/t.61.c: Likewise.
3585 * iconvdata/uhc.c: Likewise.
3586 * iconvdata/unicode.c: Likewise.
3587 * iconvdata/utf-16.c: Likewise.
3588 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
3589 DL_CALL_FCT.
3590 * wcsmbs/btowc.c: Likewise.
3591 * wcsmbs/mbrtowc.c: Likewise.
3592 * wcsmbs/mbsnrtowcs.c: Likewise.
3593 * wcsmbs/mbsrtowcs.c: Likewise.
3594 * wcsmbs/wcrtomb.c: Likewise.
3595 * wcsmbs/wcsnrtombs.c: Likewise.
3596 * wcsmbs/wcsrtombs.c: Likewise.
3597 * wcsmbs/wctob.c: Likewise.
3598
3599 2000-04-11 Geoff Keating <geoffk@cygnus.com>
3600
3601 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
3602 other header files. Mention about 128-byte cache line sizes.
3603 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
3604 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
3605 for current calling sequence.
3606 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
3607
3608 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
3609 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3610
3611 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
3612 and setrlimit syscalls for backwards compatibility.
3613
3614 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3615
3616 * iconv/skeleton.c: Rename converted written to correcter name
3617 irreversible.
3618 * iconv/gconv.c: Rename converted variable to correcter name
3619 irreversible.
3620 * iconv/gconv_int.h: Likewise.
3621 * iconv/gconv_simple.c: Likewise.
3622 * iconv/iconv.c: Likewise.
3623 * iconv/loop.c: Likewise.
3624 * iconvdata/8bit-gap.c: Likewise.
3625 * iconvdata/8bit-generic.c: Likewise.
3626 * iconvdata/ansi_x3.110.c: Likewise.
3627 * iconvdata/big5.c: Likewise.
3628 * iconvdata/big5hkscs.c: Likewise.
3629 * iconvdata/euc-cn.c: Likewise.
3630 * iconvdata/euc-jp.c: Likewise.
3631 * iconvdata/euc-kr.c: Likewise.
3632 * iconvdata/gbgbk.c: Likewise.
3633 * iconvdata/gbk.c: Likewise.
3634 * iconvdata/iso-2022-cn.c: Likewise.
3635 * iconvdata/iso-2022-jp.c: Likewise.
3636 * iconvdata/iso-2022-kr.c: Likewise.
3637 * iconvdata/iso646.c: Likewise.
3638 * iconvdata/iso8859-1.c: Likewise.
3639 * iconvdata/iso_6937-2.c: Likewise.
3640 * iconvdata/iso_6937.c: Likewise.
3641 * iconvdata/johab.c: Likewise.
3642 * iconvdata/sjis.c: Likewise.
3643 * iconvdata/t.61.c: Likewise.
3644 * iconvdata/uhc.c: Likewise.
3645 * iconvdata/unicode.c: Likewise.
3646 * iconvdata/utf-16.c: Likewise.
3647
3648 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
3649 __cmsg_data field with __extension__.
3650
3651 2000-06-10 David Mosberger <davidm@hpl.hp.com>
3652
3653 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
3654
3655 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3656
3657 * iconv/gconv_simple.c: Fix various small bugs in several
3658 functions.
3659
3660 * iconv/loop.c: Fix comment.
3661
3662 2000-06-10 Jakub Jelinek <jakub@redhat.com>
3663
3664 * elf/link.h: Remove libc internal declarations.
3665 * include/link.h: Move them here.
3666
3667 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3668
3669 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
3670 Patch by Dan Pop <Dan.Pop@cern.ch>.
3671
3672 Rewrite error message handling.
3673 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
3674 _dl_catch_error.
3675 * elf/dl-error (struct catch): Add objname member.
3676 (_dl_signal_error): Take new parameter with object name. When
3677 passing message on simply store object name and duplicate error
3678 message.
3679 (_dl_catch_error): Take new parameter. Store object name in the
3680 place pointed to.
3681 * include/dlfcn.h: Adjust _dl_catch_error prototype.
3682 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
3683 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
3684 (dlerror): Add objname to asprintf() parameters.
3685 (_dl_error_run): Pass new parameter to _dl_catch_error.
3686 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
3687 * elf/dl-open.c (_dl_open): Likewise.
3688 * elf/rtld.c (dl_main): Likewise.
3689 * elf/dl-close.c: Mark error messages with N_().
3690 * elf/dl-deps.c: Likewise.
3691 * elf/dl-error.c: Likewise.
3692 * elf/dl-load.c: Likewise.
3693 * elf/dl-open.c: Likewise.
3694 * elf/dl-reloc.c: Likewise.
3695 * elf/dl-support.c: Likewise.
3696 * elf/dl-sym.c: Likewise.
3697 * elf/dl-version.c: Likewise.
3698 * elf/dl-lookup.c: Add comments about problems with error message
3699 translations.
3700 * elf/dl-reloc.c: Likewise.
3701 * elf/dl-version.c: Likewise.
3702
3703 2000-06-09 H.J. Lu <hjl@gnu.org>
3704
3705 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
3706 after freeing it.
3707
3708 * dlfcn/Makefile (distribute): Add failtestmod.c.
3709 (tests): Add failtest.
3710 Add rules to build and run failtest.
3711 * dlfcn/failtest.c: New file.
3712 * dlfcn/failtestmod.c: New file.
3713
3714 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
3715
3716 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
3717 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
3718 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
3719 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
3720 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
3721
3722 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3723
3724 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
3725 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
3726
3727 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3728 Ulrich Drepper <drepper@redhat.com>
3729
3730 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
3731 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
3732 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
3733 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
3734 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
3735 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
3736
3737 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3738
3739 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
3740 to find correct mount point despite wrong information from the
3741 kernel.
3742
3743 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3744
3745 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
3746 the address of a symbol so function pointers are handled properly.
3747
3748 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3749
3750 * sysdeps/i386/Dist: Add bp-asm.h.
3751
3752 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
3753 defaultdir variable instead of "/var/shm" everywhere.
3754 (defaultdir): Change to /dev/shm/.
3755
3756 2000-06-08 Greg McGary <greg@mcgary.org>
3757
3758 * sysdeps/i386/bp-asm.h: New file.
3759 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
3760 offsets. Add ENTER/LEAVE macros for optionally maintaining
3761 frame-pointer chain when debugging.
3762 * sysdeps/i386/add_n.S: Likewise.
3763 * sysdeps/i386/addmul_1.S: Likewise.
3764 * sysdeps/i386/lshift.S: Likewise.
3765 * sysdeps/i386/memchr.S: Likewise.
3766 * sysdeps/i386/memcmp.S: Likewise.
3767 * sysdeps/i386/mul_1.S: Likewise.
3768 * sysdeps/i386/rawmemchr.S: Likewise.
3769 * sysdeps/i386/rshift.S: Likewise.
3770 * sysdeps/i386/stpcpy.S: Likewise.
3771 * sysdeps/i386/stpncpy.S: Likewise.
3772 * sysdeps/i386/strchr.S: Likewise.
3773 * sysdeps/i386/strchrnul.S: Likewise.
3774 * sysdeps/i386/strcspn.S: Likewise.
3775 * sysdeps/i386/strpbrk.S: Likewise.
3776 * sysdeps/i386/strrchr.S: Likewise.
3777 * sysdeps/i386/strspn.S: Likewise.
3778 * sysdeps/i386/strtok.S: Likewise.
3779 * sysdeps/i386/sub_n.S: Likewise.
3780 * sysdeps/i386/submul_1.S: Likewise.
3781 * sysdeps/i386/elf/setjmp.S: Likewise.
3782 * sysdeps/i386/i486/strcat.S: Likewise.
3783 * sysdeps/i386/i486/strlen.S: Likewise.
3784 * sysdeps/i386/i586/add_n.S: Likewise.
3785 * sysdeps/i386/i586/lshift.S: Likewise.
3786 * sysdeps/i386/i586/memcpy.S: Likewise.
3787 * sysdeps/i386/i586/memset.S: Likewise.
3788 * sysdeps/i386/i586/rshift.S: Likewise.
3789 * sysdeps/i386/i586/strchr.S: Likewise.
3790 * sysdeps/i386/i586/strcpy.S: Likewise.
3791 * sysdeps/i386/i586/strlen.S: Likewise.
3792 * sysdeps/i386/i586/sub_n.S: Likewise.
3793 * sysdeps/i386/i686/add_n.S: Likewise.
3794 * sysdeps/i386/i686/memcpy.S: Likewise.
3795 * sysdeps/i386/i686/mempcpy.S: Likewise.
3796 * sysdeps/i386/i686/memset.S: Likewise.
3797 * sysdeps/i386/i686/strcmp.S: Likewise.
3798
3799 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3800
3801 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3802
3803 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3804 256 and don't use OPEN_MAX.
3805
3806 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3807 use it instead of LINK_MAX.
3808 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3809
3810 2000-06-08 Andreas Jaeger <aj@suse.de>
3811
3812 * libio/genops.c (_IO_list_lock): Only compile body if we're
3813 thread safe.
3814 (_IO_list_unlock): Likewise.
3815 (_IO_list_resetlock): Likewise.
3816
3817 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3818
3819 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3820 unless user defined it.
3821
3822 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3823 if not defined by the user.
3824
3825 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3826 * libio/iofwrite.c (_IO_fwrite): Likewise.
3827
3828 * time/time.h: Add missing __THROW for clock_getcpuclockid
3829 prototype.
3830
3831 * elf/Makefile (distribute): Add dl-dtprocnum.h.
3832 * include/elf.h: Include also <dl-dtprocnum.h>.
3833 * elf/dl-deps.c: Likewise.
3834 * elf/dl-lookup.c: Likewise.
3835 * elf/dl-runtime.c: Likewise.
3836 * elf/dl-version.c: Likewise.
3837 * elf/do-rel.h: Likewise.
3838 * elf/dynamic-link.h: Likewise.
3839 * elf/link.h: Likewise.
3840 * elf/rtld.c: Likewise.
3841 * sysdeps/generic/dl-dtprocnum.h: New file.
3842 * sysdeps/ia64/dl-dtprocnum.h: New file.
3843 * sysdeps/mips/dl-dtprocnum.h: New file.
3844 * sysdeps/sparc/dl-dtprocnum.h: New file.
3845
3846 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3847
3848 * elf/do-lookup.h: Add some __builtin_expect.
3849
3850 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3851
3852 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3853 (_dl_dynamic_weak): New variable.
3854 * elf/dl-support.c: Likewise.
3855 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3856 * elf/do-lookup.h: If we find a weak definition treat it like a
3857 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
3858 case treat it like before.
3859
3860 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3861 is in main program.
3862 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3863
3864 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3865 using l_map_start and l_map_end.
3866
3867 * elf/dl-version.c: Add __builtin_expect in many places.
3868
3869 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3870 Update.
3871
3872 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
3873
3874 Lock for stdio stream list becomes global, for use in LinuxThreads.
3875
3876 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3877 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3878 _IO_list_resetlock): New interface for iterating global list of
3879 streams without accessing the _IO_list_all global variable,
3880 and for manipulating the lock which protects this list.
3881 * libio/libioP.h: Likewise.
3882 * libio/Version: Add entries for the new functions.
3883
3884 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3885 pointer to _IO_FILE.
3886
3887 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3888
3889 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3890 BIT() must actually be BITw().
3891
3892 * locale/programs/ld-ctype.c: Handle SP and space consistently.
3893
3894 * locale/programs/charmap.c: Allow string arguments for
3895 code_set_name and repertoiremap.
3896
3897 2000-06-07 Andreas Jaeger <aj@suse.de>
3898
3899 * elf/Makefile: Build ldconfig only when building shared libraries.
3900
3901 2000-06-07 Jakub Jelinek <jakub@redhat.com>
3902
3903 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3904 __USE_ISOC99.
3905 (fdimf, __fdim, fdim): Likewise.
3906
3907 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3908
3909 * locale/findlocale.c: Add __builtin_expect in many places.
3910 * locale/loadlocale.c: Likewise.
3911
3912 2000-06-06 Greg McGary <greg@mcgary.org>
3913
3914 * sysdeps/mips/elf/start.S: Trim redundant code.
3915
3916 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
3917 Use C comments throughout. Line up operands column with tabs.
3918 * sysdeps/powerpc/strchr.S: Likewise.
3919 * sysdeps/powerpc/strcmp.S: Likewise.
3920 * sysdeps/powerpc/strcpy.S: Likewise.
3921 * sysdeps/powerpc/strlen.S: Likewise.
3922
3923 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
3924 Get low part of &__curbrk with @l.
3925
3926 2000-06-06 Ulrich Drepper <drepper@redhat.com>
3927
3928 * iconvdata/utf-16.c: Add __builtin_expect in many places.
3929 * iconvdata/unicode.c: Likewise.
3930 * iconvdata/uhc.c: Likewise.
3931 * iconvdata/t.61.c: Likewise.
3932 * iconvdata/sjis.c: Likewise.
3933 * iconvdata/johab.c: Likewise.
3934 * iconvdata/iso_6937.c: Likewise.
3935 * iconvdata/iso_6937-2.c: Likewise.
3936 * iconvdata/iso8859-1.c: Likewise.
3937 * iconvdata/iso646.c: Likewise.
3938 * iconvdata/iso-2022-kr.c: Likewise.
3939 * iconvdata/iso-2022-jp.c: Likewise.
3940 * iconvdata/iso-2022-cn.c: Likewise.
3941 * iconvdata/gbgbk.c: Likewise.
3942 * iconvdata/gbk.c: Likewise.
3943 * iconvdata/euc-kr.c: Likewise.
3944 * iconvdata/euc-jp.c: Likewise.
3945 * iconvdata/euc-cn.c: Likewise.
3946
3947 2000-06-05 Ulrich Drepper <drepper@redhat.com>
3948
3949 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
3950 * iconvdata/big5.c: Likewise.
3951 * iconvdata/ansi_x3.110.c: Likewise.
3952 * iconvdata/8bit-generic.c: Likewise.
3953 * iconvdata/8bit-gap.c: Likewise.
3954 * iconv/loop.c: Likewise.
3955 * iconv/gconv_db.c: Likewise.
3956 * iconv/gconv_dl.c: Likewise.
3957 * iconv/gconv_simple.c: Likewise.
3958 * iconv/skeleton.c: Likewise.
3959
3960 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
3961 (struct __gconv_step_data): Rename __is_last to __flags.
3962 * iconv/gconv_close.c: Change all uses of __is_last.
3963 * iconv/skeleton.c: Likewise.
3964 * iconvdata/iso-2022-cn.c: Likewise.
3965 * iconvdata/iso-2022-jp.c: Likewise.
3966 * iconvdata/iso-2022-kr.c: Likewise.
3967 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
3968 Recognize IGNORE error handling, set flag, and remove from name.
3969 * iconv/loop.c (ignore_errors_p): Define.
3970 Add flags parameter to both functions.
3971 * iconv/skeleton.c: Pass flags to all conversion functions.
3972 * iconv/gconv_simple.c: Add flags parameter to all functions.
3973 Don't return error for invald error if ignore flag is set.
3974 (ucs4_internal_loop_single): Add missing pointer increment.
3975 (internal_ucs4le_loop_single): Likewise.
3976 * iconv/iconv_prog.c: Implement handling of -c parameter.
3977 * iconvdata/8bit-gap.c: Don't return error for invald error if
3978 ignore flag is set.
3979 * iconvdata/8bit-generic.c: Likewise.
3980 * iconvdata/ansi_x3.110.c: Likewise.
3981 * iconvdata/big5.c: Likewise.
3982 * iconvdata/big5hkscs.c: Likewise.
3983 * iconvdata/euc-cn.c: Likewise.
3984 * iconvdata/euc-jp.c: Likewise.
3985 * iconvdata/euc-kr.c: Likewise.
3986 * iconvdata/gbgbk.c: Likewise.
3987 * iconvdata/gbk.c: Likewise.
3988 * iconvdata/iso-2022-cn.c: Likewise.
3989 * iconvdata/iso-2022-jp.c: Likewise.
3990 * iconvdata/iso-2022-kr.c: Likewise.
3991 * iconvdata/iso646.c: Likewise.
3992 * iconvdata/iso8859-1.c: Likewise.
3993 * iconvdata/iso_6937-2.c: Likewise.
3994 * iconvdata/iso_6937.c: Likewise.
3995 * iconvdata/johab.c: Likewise.
3996 * iconvdata/sjis.c: Likewise.
3997 * iconvdata/t.61.c: Likewise.
3998 * iconvdata/uhc.c: Likewise.
3999 * iconvdata/unicode.c: Likewise.
4000 * iconvdata/utf-16.c: Likewise.
4001 * libio/fileops.c: Likewise.
4002 * libio/iofwide.c: Likewise.
4003 * wcsmbs/btowc.c: Likewise.
4004 * wcsmbs/mbrtowc.c: Likewise.
4005 * wcsmbs/mbsnrtowcs.c: Likewise.
4006 * wcsmbs/mbsrtowcs.c: Likewise.
4007 * wcsmbs/wcrtomb.c: Likewise.
4008 * wcsmbs/wcsnrtombs.c: Likewise.
4009 * wcsmbs/wcsrtombs.c: Likewise.
4010 * wcsmbs/wctob.c: Likewise.
4011
4012 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
4013 an error.
4014
4015 2000-06-04 Ulrich Drepper <drepper@redhat.com>
4016
4017 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
4018 counter for the object we are releasing, just decrement it.
4019 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
4020
4021 2000-06-04 Jakub Jelinek <jakub@redhat.com>
4022
4023 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
4024 if -ffast-math.
4025
4026 2000-06-04 Ulrich Drepper <drepper@redhat.com>
4027
4028 * iconvdata/big5hkscs.c: New file.
4029 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
4030
4031 * iconvdata/gconv-modules: Add entry for new module.
4032 * iconvdata/Makefile (modules): Add BIG5HKSCS.
4033 (distribute): Add big5hkscs.c.
4034
4035 2000-06-01 Jakub Jelinek <jakub@redhat.com>
4036
4037 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
4038 inlines to match prototypes in mathcalls.h.
4039 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4040 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4041 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
4042 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4043
4044 2000-06-03 Ulrich Drepper <drepper@redhat.com>
4045
4046 * elf/elf.h (SHT_SUNW_move): Define.
4047
4048 * elf/elf.h: Add more Solaris compatiblity definitions.
4049
4050 2000-06-03 Andreas Jaeger <aj@suse.de>
4051
4052 * sysdeps/powerpc/dl-start.S: Close open comment.
4053
4054 2000-06-03 Jakub Jelinek <jakub@redhat.com>
4055
4056 * inet/Versions: Fix typo in rresvport_af export.
4057
4058 2000-06-02 Ulrich Drepper <drepper@redhat.com>
4059
4060 * math/tgmath.h: Pretty print.
4061
4062 2000-06-02 Andreas Jaeger <aj@suse.de>
4063
4064 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
4065 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4066
4067 2000-06-02 Ulrich Drepper <drepper@redhat.com>
4068
4069 * elf/rtld.c (process_envvars): Test for = after variable name.
4070
4071 2000-06-01 Ulrich Drepper <drepper@redhat.com>
4072
4073 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
4074 have extra call to __gmon_start__, use the pointer we already have.
4075
4076 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
4077 shifting.
4078
4079 * sysdeps/i386/elf/setjmp.S: Work around change is recent
4080 binutils. gas now emits a jump through the PLT instead of a
4081 relative jump if the jump target is an exported symbol.
4082
4083 2000-05-31 Ulrich Drepper <drepper@redhat.com>
4084
4085 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
4086
4087 2000-05-31 Andreas Jaeger <aj@suse.de>
4088
4089 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
4090 gregset_t.
4091
4092 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
4093 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4094
4095 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
4096 syscall.
4097 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4098
4099 2000-05-30 Ulrich Drepper <drepper@redhat.com>
4100
4101 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
4102
4103 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
4104 * locale/localeconv.c: Make function versioned (with same definition).
4105
4106 * elf/Makefile (modules-names): Strip before using it.
4107
4108 2000-05-30 Andreas Jaeger <aj@suse.de>
4109
4110 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
4111 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
4112 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
4113 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
4114 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
4115 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
4116
4117 2000-05-29 Ulrich Drepper <drepper@redhat.com>
4118
4119 * Makefile: Add GNU make magic.
4120
4121 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
4122 Removed.
4123 * inet/rcmd.c: Remove __P. Remove unused variables.
4124 (iruserfopen): Make first parameter const.
4125 (ruserok_sa): Return result of ruserok2_sa.
4126 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
4127 * inet/rexec.c: Remove unused variables. Other small cleanups.
4128 * inet/ruserpass.c: Remove __P. Remove unused variables.
4129 (ruserpass): Check results of memory allocation.
4130 * include/netdb.h: Add prototype for ruserpass.
4131
4132 2000-05-29 Andreas Jaeger <aj@suse.de>
4133
4134 * elf/readlib.c (interpreters): Use LD_SO since this is supported
4135 for all platforms.
4136
4137 2000-05-29 Jakub Jelinek <jakub@redhat.com>
4138
4139 * inet/rcmd.c (rresvport_af): Use correct port number.
4140
4141 2000-05-26 Andreas Schwab <schwab@suse.de>
4142
4143 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
4144 entries in all-sonames.
4145 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
4146 preserving the old name if different for compatibility.
4147
4148 2000-05-29 Ulrich Drepper <drepper@redhat.com>
4149
4150 * posix/Makefile (tests): Add tst-spawn.
4151 (tst-spawn-ARGS): New variable.
4152 * posix/tst-spawn.c: New file.
4153
4154 * posix/spawn_faction_addclose.c: Correctly account for new entry.
4155 * posix/spawn_faction_adddup2.c: Likewise.
4156 * posix/spawn_faction_addopen.c: Likewise.
4157 * posix/spawni.c: Correctly test for success of dup2 calls.
4158
4159 * posix/tst-preadwrite.c: Check success of malloc call.
4160
4161 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4162
4163 * posix/Makefile (tests): Add tst-exec.
4164 (tst-exec-ARGS): New variable.
4165 * posix/tst-exec.c: New file.
4166
4167 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
4168
4169 2000-05-04 Andreas Jaeger <aj@suse.de>
4170
4171 * string/string.h: Remove __strdup prototype, it's not needed in
4172 this file anymore.
4173
4174 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4175
4176 * posix/Makefile (tests): Add tst-fork.
4177 * posix/tst-fork.c: New file.
4178
4179 * resolv/inet_pton.c: Loose __P.
4180
4181 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4182
4183 * libio/libioP.h (_IO_CHECK_WIDE): Define.
4184 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
4185 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4186 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
4187 _IO_CHECK_WIDE fails.
4188
4189 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4190
4191 * po/da.po: New file.
4192
4193 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
4194 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
4195
4196 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
4197 (Other iconv Implementations): Fix typo.
4198 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
4199
4200 2000-05-27 Andreas Jaeger <aj@suse.de>
4201
4202 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
4203 normal version now.
4204 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
4205 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
4206 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4207 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4208 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
4209 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
4210
4211 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
4212 endianness to decide how to pass arguments.
4213 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4214
4215 * elf/vismain.c: Use test-skeleton interface.
4216 (TEST_FUNCTION): New macro.
4217 (do_test): Renamed from main.
4218
4219 2000-05-27 Ulrich Drepper <drepper@redhat.com>
4220
4221 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
4222 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
4223
4224 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
4225 handling of AI_V4MAPPED flag.
4226
4227 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
4228 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
4229 perform lookup for T_A type and tell getanswer_r to convert the
4230 result with new argument.
4231 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
4232 Don't convert addresses from IPv4 to IPv6 here.
4233 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
4234 IPv6 is wanted. Allow qtype and type from reply to disagree if
4235 IPv4 mapping has to be done. Perform mappings if required by the
4236 caller and not if RES_USE_INET6 bit in _res.options is set.
4237 Add several __builtin_expect.
4238
4239 2000-05-26 Ulrich Drepper <drepper@redhat.com>
4240
4241 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
4242
4243 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
4244 NULL.
4245
4246 * posix/tst-preadwrite.c: Allow parallel execution of
4247 tst-preadwrite and tst-preadwrite64.
4248
4249 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
4250 * posix/tst-truncate.c: New file.
4251 * posix/tst-truncate64.c: New file.
4252
4253 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
4254 was switched.
4255
4256 * posix/Makefile (tests): Add tst-preadwrite64.
4257 * posix/tst-preadwrite.c: Alloc file being used also for testing
4258 pread64 and pwrite64.
4259 * posix/tst-preadwrite64.c: New file.
4260
4261 2000-05-26 Andreas Jaeger <aj@suse.de>
4262
4263 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
4264 of arguments dependend on endianness.
4265 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4266
4267 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
4268 normal version now.
4269 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4270 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4271 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4272 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4273
4274 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
4275 endianness to check how to pass argument.
4276 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4277
4278 * elf/ldconfig.h: Update parameter list for process_elf_file.
4279
4280 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
4281 Add parameter file_length and pass it ot process_elf*file.
4282
4283 * sysdeps/generic/readelflib.c (check_ptr): New.
4284 (process_elf_file): Use check_ptr to check all accesses to the
4285 mmapped file. Add parameter file_length.
4286
4287 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
4288 library names.
4289
4290 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
4291 Closes PR libc/1573, reported by Bradley White
4292 <bww@laurelnetworks.com>.
4293
4294 2000-05-25 Ulrich Drepper <drepper@redhat.com>
4295
4296 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
4297 __FAST_MATH__ is defined.
4298
4299 2000-05-22 Andreas Jaeger <aj@suse.de>
4300
4301 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
4302 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
4303
4304 * manual/math.texi (FP Function Optimizations): Document gcc
4305 -ffast-math behaviour with mathinlines.
4306
4307 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
4308 functions unless -ffast-math is given to gcc.
4309
4310 2000-05-23 Jakub Jelinek <jakub@redhat.com>
4311
4312 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
4313 __sincosl): Guard with __USE_GNU.
4314
4315 2000-05-24 Ulrich Drepper <drepper@redhat.com>
4316
4317 * csu/Makefile (routines): Add check_fds.
4318 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
4319 binaries. Add various __builtin_expect.
4320 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
4321 * sysdeps/generic/check_fds.c: ...here. New file.
4322
4323 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
4324 binaries if file /etc/suid-debug is available.
4325
4326 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
4327 and wcseqorder members.
4328 (struct locale_collate_t): Likewise.
4329 (collate_finish): Assign collation sequence value to each character.
4330 Create tables for output.
4331 (collate_output): Write out tables with collation sequence information.
4332 * locale/C-collate.c: Provide C locale data for collation sequence
4333 table.
4334 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
4335 _NL_COLLATE_COLLSEQWC.
4336 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
4337 _NL_COLLATE_COLLSEQWC.
4338 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
4339 include fnmatch_loop.c.
4340 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
4341 character is matched by range expression. Use collation sequence
4342 table. Outside glibc fall back on simple character value comparison.
4343
4344 2000-05-24 Andreas Jaeger <aj@suse.de>
4345
4346 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
4347 words.
4348
4349 * intl/Makefile: Run gettext-test only if msgfmt is available.
4350
4351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
4352 Define it for newer kernels.
4353
4354 2000-05-23 Ulrich Drepper <drepper@redhat.com>
4355
4356 * elf/dl-sym.c: Minor cleanups.
4357
4358 * configure.in: Add test for .protected.
4359 * config.make.in: Add have-protected variable.
4360 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
4361 (tests-vis-yes): Add vismain.
4362 (modules-names): Add $(modules-vis-$(have-protected)).
4363 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
4364 Add rules to generate and run vismain.
4365 * elf/vismain.c: New file.
4366 * elf/vismod1.c: New file.
4367 * elf/vismod2.c: New file.
4368 * elf/vismod3.c: New file.
4369
4370 2000-05-23 Andreas Jaeger <aj@suse.de>
4371
4372 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
4373
4374 * manual/search.texi (Array Sort Function): Document that qsort is
4375 not necessarily in-place.
4376
4377 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4378 Closes PR libc/1731.
4379
4380 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
4381 * dirent/scandir64.c: Likewise.
4382 * pwd/getpw.c: Likewise.
4383 * stdlib/bsearch.c (bsearch): Likewise.
4384 * stdlib/tst-strtoll.c: Likewise.
4385 * localedata/collate-test.c: Likewise.
4386 * localedata/xfrm-test.c: Likewise.
4387 * posix/bsd-getpgrp.c: Likewise.
4388 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4389 * sysdeps/generic/bits/siginfo.h: Likewise.
4390 * sysdeps/generic/bits/sockaddr.h: Likewise.
4391 * sysdeps/generic/sys/swap.h: Likewise.
4392 * sysdeps/generic/sys/sysinfo.h: Likewise.
4393 * sysdeps/generic/vfork.c: Likewise.
4394 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
4395 * sysdeps/mach/hurd/fdopen.c: Likewise.
4396 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
4397 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4398 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4399 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4400 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4401 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4402 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4403
4404 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
4405 * shadow/lckpwdf.c: Likewise.
4406 * stdlib/tst-strtol.c: Likewise.
4407 * sysdeps/generic/tcsetattr.c: Likewise.
4408 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4409 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4410
4411 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4412
4413 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
4414 free it and set to (void *) -1.
4415
4416 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4417
4418 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
4419 not the second character in the range.
4420 * stdio-common/tstscanf.c (main): Add testcase for the above.
4421 Reported by jik@kamens.brookline.ma.us.
4422
4423 2000-05-21 H.J. Lu <hjl@gnu.org>
4424
4425 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
4426 with noexec and noplt parameter.
4427 (do_lookup): Likewise.
4428
4429 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
4430 do_lookup. Support STV_PROTECTED.
4431 (_dl_lookup_symbol_skip): Likewise.
4432 (_dl_lookup_versioned_symbol): Likewise.
4433 (_dl_lookup_versioned_symbol_skip): Likewise.
4434
4435 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
4436
4437 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
4438
4439 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4440
4441 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
4442 * sysdeps/i386/bits/huge_val.h: Likewise.
4443 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4444 * sysdeps/m68k/bits/huge_val.h: Likewise.
4445 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
4446 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
4447
4448 2000-05-22 Andreas Jaeger <aj@suse.de>
4449
4450 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
4451 change in iconv.h.
4452
4453 2000-05-19 Andreas Jaeger <aj@suse.de>
4454
4455 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4456 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
4457 breaks compilation without linuxthreads.
4458
4459 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4460
4461 * sysdeps/ia64/memccpy.S: New file.
4462 * sysdeps/ia64/memchr.S: New file.
4463 * sysdeps/ia64/memcmp.S: New file.
4464 * sysdeps/ia64/memcpy.S: New file.
4465 * sysdeps/ia64/memmove.S: New file.
4466 * sysdeps/ia64/memset.S: New file.
4467 * sysdeps/ia64/strcat.S: New file.
4468 * sysdeps/ia64/strchr.S: New file.
4469 * sysdeps/ia64/strcmp.S: New file.
4470 * sysdeps/ia64/strcpy.S: New file.
4471 * sysdeps/ia64/strlen.S: New file.
4472 * sysdeps/ia64/strncmp.S: New file.
4473 * sysdeps/ia64/strncpy.S: New file.
4474 * sysdeps/ia64/softpipe.h: New file.
4475 Patches by Dan Pop <Dan.Pop@cern.ch>.
4476
4477 * manual/memory.texi: Document memory handling functions (mlock,
4478 munlock, mlockall, munlockall, brk, and sbrk)
4479 * manual/time.texi: Document timespec and friends.
4480 * manual/conf.texi: Fix references.
4481 * manual/ctype.texi: Likewise.
4482 * manual/errno.texi: Likewise.
4483 * manual/intro.texi: Likewise.
4484 * manual/locale.texi: Likewise.
4485 * manual/sysinfo.texi: Likewise.
4486 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4487
4488 2000-05-09 Jes Sorensen <jes@linuxcare.com>
4489
4490 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
4491 * sysdeps/ia64/dl-lookupcfg.h: ...here.
4492
4493 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4494
4495 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
4496 dxfer_direction.
4497
4498 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4499
4500 * locale/locale.h (struct lconv): Add new elements from ISO C99.
4501 * locale/localeconv.c: Initialize new elements from ISO C99.
4502 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
4503 new standard elements.
4504 * locale/categories.def: Adjust accordingly.
4505
4506 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
4507 * iconv/iconv.c: Likewise.
4508 * conform/data/iconv.h-data: Likewise.
4509 * iconv/iconv_prog.c (process_block): Remove const from second
4510 parameter.
4511 (main): Remove const from addr definition.
4512 * manual/charset.texi (Generic Conversion Interface): Remove from
4513 inbuf parameter of iconv.
4514
4515 * intl/dcigettext.c: Fix typo in comment.
4516
4517 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
4518
4519 * resolv/res_libc.c (_res): Initialize _sock to -1.
4520
4521 2000-05-18 Jakub Jelinek <jakub@redhat.com>
4522
4523 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
4524 (fopencookie@@GLIBC_2.2): New.
4525 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
4526 (fopencookie@GLIBC_2.0): New.
4527 * libio/Versions: Add fopencookie to GLIBC_2.2.
4528
4529 2000-05-18 Andreas Jaeger <aj@suse.de>
4530
4531 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4532 Closes PR libc/1731.
4533
4534 * manual/arith.texi (Parsing of Integers): Fix typo.
4535 Closes PR libc/1744, reported by blp@gnu.org.
4536
4537 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4538
4539 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
4540 __extension__ to hexadecimal floating constant notation.
4541 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4542 Likewise.
4543 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
4544 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4545 Likewise.
4546 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4547 HUGE_VALL): Likewise.
4548 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4549 HUGE_VALL): Likewise.
4550 (HUGE_VALL): Set to HUGE_VAL on sparc32.
4551
4552 2000-05-17 Andreas Jaeger <aj@suse.de>
4553
4554 * string/envz.h: Add pure attributes if possible.
4555
4556 * string/argz.h: argz_count is a pure function.
4557
4558 * string/strings.h: Add pure and const attributes if possible.
4559
4560 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
4561 possibly searching through the whole memory.
4562 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
4563
4564 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4565
4566 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
4567 not yet defined.
4568 (_dl_cache_check_flags): Likewise.
4569 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
4570 dl-cache.h.
4571
4572 2000-05-17 Andreas Jaeger <aj@suse.de>
4573
4574 * manual/creature.texi (Feature Test Macros): Remove paragraph
4575 since the description is wrong.
4576 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
4577
4578 * scripts/config.sub: New version.
4579 * scripts/config.guess: Likewise.
4580 * manual/texinfo.tex: Likewise.
4581
4582 * time/test_time.args: Removed.
4583 * time/Makefile (test_time-ARGS): Added contents here instead.
4584
4585 * posix/tstgetopt.args: Removed.
4586 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
4587
4588 * Rules: Allow arguments for test files to be specified in
4589 Makefile with testname-ARGS; remove rules with .args in it.
4590
4591 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
4592 remove old bogus rule for opendir-tst1.args.
4593
4594 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
4595
4596 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
4597 into objdir. This allows a readonly sourcetree.
4598 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
4599
4600 2000-05-16 Andreas Jaeger <aj@suse.de>,
4601 David Huggins-Daines <dhd@linuxcare.com>
4602
4603 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
4604 cache_data in case of only new cache format correctly.
4605
4606 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
4607 cache_file_new.
4608
4609 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
4610 struct cache_file_new.
4611
4612 * elf/cache.c (save_cache): Fix str_offset if only new cache is
4613 present.
4614
4615 * elf/cache.c (save_cache): Align struct new_file_cache.
4616 (print_cache): Likewise.
4617
4618 2000-05-13 Jakub Jelinek <jakub@redhat.com>
4619
4620 * elf/soinit.c (__libc_global_ctors): Move
4621 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
4622 * resolv/resolv.h (__res_state): Added __attribute__((const)).
4623 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
4624 variable, don't define it to __res_state call.
4625
4626 2000-05-13 Andreas Jaeger <aj@suse.de>
4627
4628 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
4629 Linux 2.3.99pre7.
4630 (AF_PPPOX): Likewise.
4631 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
4632 (AF_PPPOX): Likewise.
4633
4634 2000-05-12 Andreas Jaeger <aj@suse.de>
4635
4636 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
4637 Reported by tmoestl@gmx.net, closes PR libc/1732.
4638
4639 2000-05-11 Jan Hubicka <jh@suse.cz>
4640
4641 * misc/sys/cdefs.h: Add support for pure attribute.
4642
4643 * include/string.h: Add __attribute_pure__ to various functions.
4644 * string/string.h: Likewise.
4645
4646 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4647
4648 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
4649 argument.
4650 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4651 R_SPARC_UA64.
4652 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
4653
4654 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4655
4656 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
4657 at proper place. Compute the high nibble correctly.
4658
4659 2000-05-09 Jakub Jelinek <jakub@redhat.com>
4660
4661 * elf/ldconfig.c: Include elf.h.
4662
4663 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
4664 (_dl_vsym): Likewise.
4665 Reported by Owen Taylor <otaylor@redhat.com>.
4666
4667 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
4668 always.
4669
4670 2000-05-08 Andreas Jaeger <aj@suse.de>
4671
4672 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
4673
4674 * intl/bindtextdom.c (set_binding_values): Add prototype.
4675
4676 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4677
4678 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
4679 call to elf_machine_fixup_plt.
4680 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4682
4683 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4684
4685 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
4686 they are not dlclose'd from underneath us.
4687
4688 2000-05-08 Andreas Schwab <schwab@suse.de>
4689
4690 * posix/execle.c: Fix size parameter of memcpy.
4691
4692 2000-05-08 Andreas Schwab <schwab@suse.de>
4693
4694 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
4695 getpagesize syscall if available.
4696
4697 2000-05-08 Andreas Jaeger <aj@suse.de>
4698
4699 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
4700 set errno.
4701
4702 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4703
4704 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
4705 sizeof(struct link_map *) chunks, not in bytes.
4706
4707 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4708
4709 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
4710 only needed for locale.
4711 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
4712 It's only needed for catgets.
4713 Patches by Greg McGary <gkm@eng.ascend.com>.
4714
4715 2000-05-07 Mark Kettenis <kettenis@gnu.org>
4716
4717 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
4718 Remove duplicate <errno.h> include. Remove inclusion of
4719 <libintl.h> and "nsswitch.h".
4720 (set_cloexec_flag): New function, broken out of dbopen.
4721 (dbopen): Changed return type to `enum
4722 nss_status'. Mostly rewritten to make sure that we do not report
4723 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
4724 (internal_setent): Change return type to nss_status.
4725 Document, and make sure that the function
4726 behaves accordingly. Make dynamically loading the database
4727 library really thread-safe and return NSS_STATUS_UNAVAIL if it
4728 failed.
4729 (db_cursor): Return ENOMEM is memory allocation failed. Remove
4730 unecessary casts.
4731 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
4732 documentation.
4733 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
4734 c_get function member.
4735 * nss/nss_db/nss_db.h: Add and tweak some comments.
4736 (DBT): Move typedef before NSS_DBC typedef.
4737 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
4738
4739 2000-05-07 H.J. Lu <hjl@gnu.org>
4740
4741 * csu/initfini.c: Moved to ....
4742 * sysdeps/generic/initfini.c: ...here.
4743
4744 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
4745
4746 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4747
4748 * manual/resource.texi: Document POSIX scheduling functions.
4749 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4750
4751 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
4752 reading anything. Reported by Andries.Brouwer@cwi.nl.
4753
4754 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
4755 for x since promotion in comparison might leads to unexpected
4756 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
4757
4758 * iconv/Makefile (tests): Add tst-iconv1.
4759 * iconv/tst-iconv1.c: New file.
4760 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
4761 empty input buffer over full output buffer.
4762 (ucs4_internal_loop): Likewise.
4763 (ucs4_internal_loop_unaligned): Likewise.
4764 (internal_ucs4le_loop): Likewise.
4765 (internal_ucs4le_loop_unaligned): Likewise.
4766 (ucs4le_internal_loop): Likewise.
4767 (ucs4le_internal_loop_unaligned): Likewise.
4768 Reported by yaoz@nih.gov.
4769
4770 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4771
4772 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4773 returned != __GCONV_OK, there is nothing to clean up.
4774
4775 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4776
4777 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4778 OUTPUT_CHARSET environment variables.
4779
4780 2000-05-06 Andreas Jaeger <aj@suse.de>
4781
4782 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4783 (struct cache_file_new): New.
4784 (struct file_entry): New (moved from cache.c).
4785 (struct cache_file): New (moved from cache.c).
4786
4787 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4788 from _dl_load_cache_lookup.
4789 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4790 the different cache formats.
4791 New variable cache_new for new format.
4792
4793 * elf/ldconfig.h: Change according to changes in cache.c and
4794 ldconfig.c; remove cache_libcmp; add opt_format.
4795
4796 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4797 stuff that's defined in those headers.
4798 Add hwcap to struct lib_entry.
4799 (opt_format): New variable to select cache format.
4800 (options): Add format parameter.
4801 (is_hwcap): New function.
4802 (path_hwcap): New function.
4803 (parse_opt): Handle new format parameter.
4804 (search_dir): Handle hwcap, search also subdirectories with hwcap.
4805
4806 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
4807 ldconfig is part of glibc.
4808 Include dl-cache.h and remove stuff that's defined there.
4809 (struct cache_entry): Add new member hwcap.
4810 (print_entry): Print hwcap, cleanup a bit.
4811 (print_cache): Print new and old formats.
4812 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4813 (save_cache): Save new and old formats.
4814 (add_to_cache): Handle hwcap.
4815
4816 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4817 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4818 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4819 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4820 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4821 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4822
4823 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4824
4825 * intl/dcigettext.c (alignof): New macro.
4826 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4827 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4828 freemem_size to 0.
4829
4830 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4831
4832 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4833 return value.
4834
4835 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4836
4837 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4838 (mempcpy): Correct typo is parameter list.
4839
4840 2000-05-06 Andreas Jaeger <aj@suse.de>
4841
4842 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4843 functions unless -ffast-math is given to gcc.
4844
4845 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4846
4847 * po/ko.po: Update from translation team.
4848
4849 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4850
4851 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4852 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4853 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4854 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4855 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4856 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4857
4858 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4859 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4860 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4861
4862 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4863 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4864 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4865 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4866
4867 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4868 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4869
4870 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4871
4872 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4873 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4874
4875 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4876 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4877
4878 * sysdeps/ia64/Implies: New file.
4879 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
4880 * sysdeps/ia64/Makefile: New file.
4881 * sysdeps/ia64/gmp-mparam.h: New file,
4882
4883 * sysdeps/ia64/elf/start.S: New file.
4884
4885 * sysdeps/ia64/bits/fenv.h: New file.
4886
4887 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
4888
4889 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4890
4891 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
4892
4893 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
4894 ia64 has 64 bit .hash entries just as the Alpha.
4895
4896 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4897
4898 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
4899
4900 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
4901
4902 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
4903 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
4904 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
4905 * sysdeps/ia64/fpu/fegetenv.c: New file.
4906 * sysdeps/ia64/fpu/fegetexcept.c: New file.
4907 * sysdeps/ia64/fpu/fegetround.c: New file.
4908 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
4909 * sysdeps/ia64/fpu/fesetenv.c: New file.
4910 * sysdeps/ia64/fpu/fesetround.c: New file.
4911 * sysdeps/ia64/fpu/feupdateenv.c: New file.
4912 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
4913 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
4914 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
4915 * sysdeps/ia64/fpu/ftestexcept.c: New file.
4916
4917 2000-05-05 Andreas Jaeger <aj@suse.de>
4918
4919 * misc/tst-tsearch.c (main): Correct type for initstate argument.
4920
4921 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4922 (_dl_string_hwcap): New, does nothing.
4923
4924 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4925 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4926 (_dl_string_hwcap): New function, converts from string to hwcap
4927 encoding.
4928 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4929 (_DL_HWCAP_COUNT): New.
4930 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4931 (_dl_string_hwcap): New function, converts from string to hwcap
4932 encoding.
4933 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
4934 (_DL_HWCAP_COUNT): New.
4935 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4936 (_dl_string_hwcap): New function, converts from string to hwcap
4937 encoding.
4938
4939 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4940
4941 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4942 * sysdeps/ia64/Dist: New file.
4943
4944 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4945 parameter to mprotect and for variable assignments.
4946
4947 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4948
4949 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4950 validity of map before dereferencing it.
4951
4952 * elf/dl-reloc.c (RESOLVE_MAP): Define.
4953
4954 2000-05-02 Jes Sorensen <jes@linuxcare.com>
4955
4956 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4957 lookup to the arguments to elf_machine_fixup_plt().
4958
4959 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
4960 of the symbol being resolved to input argument list and make the
4961 function return the pointer to the reloc.
4962
4963 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
4964 return valuie to lookup_t and return the value.
4965 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
4966 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
4967 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
4968 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
4969 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
4970 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
4971
4972 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
4973 Make it an inline function returning value after calling
4974 __elf_machine_fixup_plt().
4975
4976 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4977 symbol address.
4978
4979 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4980 obtain the symbol address.
4981
4982 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
4983 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
4984
4985 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
4986 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
4987 inline on non ia64.
4988
4989 2000-04-28 Jes Sorensen <jes@linuxcare.com>
4990
4991 * elf/dl-runtime.c (fixup): Use the portable macros to get the
4992 symbol address of an object.
4993
4994 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
4995 the symbol address of an object.
4996
4997 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
4998 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
4999 (_dl_lookup_symbol_skip): Likewise.
5000 (_dl_lookup_versioned_symbol): Likewise.
5001 (_dl_lookup_versioned_symbol_skip): Likewise.
5002
5003 2000-04-27 Jes Sorensen <jes@linuxcare.com>
5004
5005 * elf/rtld.c (_dl_start): Get the function pointer return address
5006 via _dl_start_address for architectures that need a function
5007 pointer descriptor rather than just a pointer (ia64).
5008
5009 * sysdeps/generic/dl-lookupcfg.h: New file.
5010 * sysdeps/ia64/dl-lookupcfg.h: New file.
5011 * sysdeps/ia64/dl-machine.h: New file.
5012 * sysdeps/ia64/dl-symaddr.c: New file.
5013 * sysdeps/ia64/dl-fptr.c: New file.
5014
5015 * elf/elf.h: Add IA-64 specific definitions.
5016
5017 2000-05-04 Jakub Jelinek <jakub@redhat.com>
5018
5019 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
5020 end of enum.
5021
5022 2000-05-04 Jakub Jelinek <jakub@redhat.com>
5023
5024 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
5025 happy.
5026
5027 2000-04-11 Geoff Keating <geoffk@cygnus.com>
5028
5029 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
5030 symbol. Call _dl_init rather than the old way.
5031
5032 2000-05-04 Ulrich Drepper <drepper@redhat.com>
5033
5034 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
5035 test for pointer in range of DSO address space.
5036
5037 2000-05-04 Andreas Jaeger <aj@suse.de>
5038
5039 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
5040
5041 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5042
5043 * locale/findlocale.c (_nl_find_locale): Add new parameter to
5044 calls of _nl_make_l10nflist.
5045
5046 * libio/stdio.h: Make fseeko and ftello prototypes available is
5047 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
5048
5049 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
5050 real unsetenv implementation from 1999-07-29 [PR libc/1714].
5051
5052 2000-05-03 Bruno Haible <haible@clisp.cons.org>
5053
5054 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
5055 before calling tfind.
5056
5057 2000-03-05 Jakub Jelinek <jakub@redhat.com>
5058
5059 * resolv/resolv.h (res_querydomain): Remove redefinition to
5060 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
5061
5062 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5063
5064 * po/gl.po: Update from translation team.
5065
5066 * manual/intro.texi (Program Basics): Change section title.
5067 * manual/process.texi: Fix reference.
5068 (Executing a File): Add reference exec in other section.
5069 * manual/signal.texi: Fix reference.
5070 * manual/startup.texi: Document syscall function.
5071 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5072
5073 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5074
5075 * intl/libintl.h (bind_textdomain_codeset): New declaration.
5076 * intl/bindtextdom.c (set_binding_values): New function.
5077 (bindtextdomain): Call it.
5078 (bind_textdomain_codeset): New function.
5079 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
5080 (free_mem): Free each binding's codeset.
5081 * intl/gettextP.h (struct binding): Add codeset field.
5082 (_nl_find_domain): Add domainbinding argument.
5083 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
5084 Pass it to _nl_make_l10nflist.
5085 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
5086 (_nl_make_l10nflist): Add domainbinding argument.
5087 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
5088 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
5089 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
5090 locale_charset().
5091 * manual/message.texi: New node "Charset conversion in gettext".
5092
5093 2000-04-30 Bruno Haible <haible@clisp.cons.org>
5094
5095 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
5096 appropriate. Handle possible __read error.
5097
5098 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5099
5100 * intl/gettextP.h (__builtin_expect): Define as empty if not a
5101 compiler builtin.
5102 * intl/loadinfo.h (__builtin_expect): Likewise.
5103 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
5104 __builtin_expect where appropriate.
5105 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5106 * intl/localealias.c (extend_alias_table): Return an error indicator.
5107 (read_alias_file): Bail out if extend_alias_table fails.
5108
5109 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5110
5111 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
5112 * intl/localealias.c: Likewise.
5113
5114 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5115
5116 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
5117 Initialize domain->plural and domain->nplurals even if there is no
5118 nullentry.
5119
5120 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5121
5122 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
5123 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
5124 In case of failure, goto converted.
5125
5126 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5127
5128 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
5129 * iconv/gconv_int.h (norm_add_slashes): Move to here.
5130 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
5131 __gconv_open.
5132
5133 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5134
5135 * intl/dcigettext.c (transcmp): Compare the domains as well.
5136 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
5137 not before.
5138 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
5139 <errno.h>.
5140
5141 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5142
5143 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
5144 Reported by Bruno Haible.
5145
5146 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5147
5148 * manual/arith.texi: Remove @w from @itemize.
5149
5150 2000-05-02 Andreas Jaeger <aj@suse.de>
5151
5152 * conform/data/tar.h-data: Add some checks for specific values.
5153
5154 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
5155 and RAND_MAX.
5156
5157 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
5158 FOPEN_MAX.
5159
5160 * conform/data/netinet/in.h-data: Add exact checks for the values
5161 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
5162
5163 * conform/data/float.h-data: Add some minimal values.
5164
5165 * conform/conformtest.pl: Test for macros with string constants,
5166 check for minimum and maximum values.
5167 Add limits.h to headers.
5168
5169 * conform/data/cpio.h-data: Test for value of MAGIC.
5170
5171 * conform/data/limits.h-data: New file.
5172
5173 2000-04-30 Bruno Haible <haible@clisp.cons.org>
5174
5175 * math/Makefile (headers): Add bits/fenvinline.h.
5176
5177 2000-05-01 Ulrich Drepper <drepper@redhat.com>
5178
5179 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
5180 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
5181
5182 * posix/Versions: Change posix_spawnattr_getdefault and
5183 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
5184 and posix_spawnattr_setsigdefault respectively.
5185 * posix/spawn.h: Likewise.
5186 * posix/spawnattr_getdefault.h: Likewise.
5187 * posix/spawnattr_setdefault.h: Likewise.
5188 * conform/data/spawn.h-data: Likewise.
5189
5190 2000-05-01 Andreas Jaeger <aj@suse.de>
5191
5192 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
5193
5194 2000-04-30 Ulrich Drepper <drepper@redhat.com>
5195
5196 * manual/sysinfo.texi: Document getdomainname, setdomainname
5197 and sysctl.
5198 * manual/string.texi: Fix typo.
5199 * manual/terminal.texi: Document gtty and stty.
5200 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5201
5202 2000-04-30 Andreas Jaeger <aj@suse.de>
5203
5204 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
5205 accordance with Austin Draft.
5206
5207 2000-04-30 Ulrich Drepper <drepper@redhat.com>
5208
5209 * catgets/gencat.c (read_input_file): Use isblank and not isspace
5210 to recognize second character in comment line.
5211
5212 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
5213 ENOBUFS if we are out of memory.
5214
5215 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
5216 available if __USE_XOPEN2K.
5217 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5218 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5219 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5220 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5221 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5223 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
5224 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5225
5226 2000-04-29 Ulrich Drepper <drepper@redhat.com>
5227
5228 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
5229 Recognize option -s, -c, and -l.
5230
5231 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
5232
5233 * nscd/nscd.c: Start new session for nscd, drop privilegs
5234 to configured user if requested and no -S parameter are used.
5235 * nscd/nscd.conf: Add new option "server-user".
5236 * nscd/nscd_conf.c: Add support for new "server-user" option.
5237 * nscd/nscd.h: Add declaration for server_user variable.
5238 Based on patch by Chris Wing <wingc@engin.umich.edu>
5239
5240 2000-04-29 Mark Kettenis <kettenis@gnu.org>
5241
5242 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
5243 that changing the __restore and __restore_rt signal return code
5244 will break GDB.
5245
5246 2000-04-29 Mark Kettenis <kettenis@gnu.org>
5247
5248 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
5249 <sys/user.h>.
5250
5251 2000-04-29 Mark Kettenis <kettenis@gnu.org>
5252
5253 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
5254
5255 2000-04-29 Ulrich Drepper <drepper@redhat.com>
5256
5257 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
5258 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
5259 arpa/inet.h.
5260 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
5261 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
5262 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
5263 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
5264 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
5265 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
5266 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
5267 posix_fallocate, and posix_madvise.
5268 * conform/data/netdb.h-data: New file.
5269 * conform/data/pthread.h-data: Add pthread_barrier_t,
5270 pthread_barrierattr_t, pthread_barrier_destroy,
5271 pthread_barrier_init, pthread_barrier_wait,
5272 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
5273 pthread_barrierattr_init, pthread_barrierattr_setpshared,
5274 pthread_condattr_getclock, pthread_condattr_setclock,
5275 pthread_getcpuclockid, pthread_mutex_timedlock,
5276 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
5277 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
5278 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
5279 * conform/data/sched.h-data: Add sched_ss_low_priority,
5280 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
5281 SCHED_SPORADIC.
5282 * conform/data/semaphore.h-data: Add sem_timedwait.
5283 * conform/data/signal.h-data: Add SIGIO.
5284 * conform/data/spawn.h-data: New file.
5285 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
5286 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
5287 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
5288 Fix typo in gmtime_r definition.
5289 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
5290 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
5291 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
5292 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
5293 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
5294 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
5295 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
5296 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
5297 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
5298 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
5299 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
5300 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
5301 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
5302 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
5303 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
5304 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
5305 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
5306 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
5307 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5308 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
5309 typo in off_t definition.
5310 * conform/data/net/if.h-data: New file.
5311 * conform/data/netinet/in.h-data: New file.
5312 * conform/data/netinet/tcp.h-data: New file.
5313 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
5314 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
5315 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
5316 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
5317 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
5318 and posix_typed_mem_open.
5319 * conform/data/sys/socket.h-data: New file.
5320 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
5321 * conform/data/sys/types.h-data: Add pthread_barrier_t,
5322 pthread_barrierattr_t, and pthread_spinlock_t.
5323 * conform/data/sys/un.h-data: New file.
5324 * conform/data/sys/utsname.h-data: New file.
5325
5326 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
5327 parameter.
5328 * inet/gethstbyad.c (gethostbyname): Likewise.
5329 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
5330 * inet/getipnodebyad.c (getipnodebyad): Likewise.
5331 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5332 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5333 Likewise.
5334 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
5335 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5336 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
5337 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
5338 * resolv/gethnamaddr.c (gethostbyname): Likewise.
5339 * resolv/netdb.h (struct hostent): Fix type of h_length member.
5340 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
5341 and second parameter.
5342
5343 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
5344 == NULL.
5345
5346 2000-04-29 Andreas Jaeger <aj@suse.de>
5347
5348 * conform/data/arpa/inet.h-data: New file.
5349
5350 2000-04-28 Geoff Clare <gwc@unisoft.com>
5351
5352 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
5353 path passed to ftw() or nftw() is an empty string.
5354 Closes PR libc/1710.
5355
5356 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5357
5358 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
5359 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
5360 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
5361 * localedata/tst-mbswcs4.c: New file.
5362 * localedata/tst-mbswcs5.c: New file.
5363
5364 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
5365 == NULL. Little optimization.
5366
5367 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
5368 DT_PREINIT_ARRAYSZ).
5369 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
5370
5371 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
5372 overflows in conversion from ASCII.
5373
5374 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5375
5376 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
5377 * Makerules (full_config_sysdirs): Likewise.
5378 * MakeTAGS (full_config_sysdirs): Likewise.
5379
5380 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5381
5382 * .cvsignore: Remove linuxthreads.
5383 * po/.cvsignore: Remove *.pot.
5384 * posix/glob/.cvsignore: Removed.
5385 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
5386
5387 2000-04-25 Andreas Jaeger <aj@suse.de>
5388
5389 * conform/Makefile (distribute): Also distribute contents of
5390 subdirectories.
5391
5392 * Makerules (no_deps): Remove abi-versions.h.
5393
5394 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
5395
5396 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5397
5398 * sysdeps/sparc/sparc64/elf/Dist: Remove.
5399 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
5400 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
5401 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
5402 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
5403 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
5404 objects.
5405
5406 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
5407
5408 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
5409
5410 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5411
5412 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
5413 * intl/l10nflist.c: Likewise.
5414
5415 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5416
5417 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
5418 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
5419 * intl/textdomain.c [!_LIBC]: Likewise.
5420 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
5421 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
5422 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
5423 syntax error.
5424
5425 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5426
5427 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
5428 character set conversion also in the case the translation was found
5429 after a hash collision or through binary search. Store the maximum
5430 index together with the converted message. Use iconv() when available.
5431 In case of out of memory during conversion, return the unconverted
5432 translated string, not NULL.
5433
5434 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
5435
5436 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
5437 to avoid name clashes with the ia32 linker.
5438
5439 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5440
5441 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
5442 handling.
5443
5444 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5445
5446 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
5447 strtoumax, strfry, and memfrob.
5448 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
5449 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5450
5451 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
5452 if this function is available.
5453
5454 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
5455 all values.
5456
5457 2000-04-27 Jakub Jelinek <jakub@redhat.com>
5458
5459 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
5460
5461 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5462
5463 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
5464 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
5465 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
5466 * localedata/tst-mbswcs3.c: New file.
5467
5468 2000-04-26 Ulrich Drepper <drepper@redhat.com>
5469
5470 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
5471 characters. Don't handle incomplete characters as errors.
5472 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
5473 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
5474 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
5475 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
5476 * localedata/tst-mbswcs2.c: New file.
5477
5478 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
5479 stored character in state in UNPACK_BYTES macro.
5480 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
5481 test for available characters, handle result of BODY code correctly.
5482 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
5483 (distribute): Add tst-mbswcs.sh.
5484 Add rule to run tst-mbswcs.sh.
5485 * localedata/tst-mbswcs.sh: New file.
5486 * localedata/tst-mbswcs1.c: New file.
5487
5488 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5489
5490 * nis/nis_callback.c (__nis_create_callback): Do failed memory
5491 allocation fixups centrally, fix __builtin_expect call, return NULL
5492 on failure, not NIS_NOMEMORY.
5493
5494 2000-04-27 Bruno Haible <haible@clisp.cons.org>
5495
5496 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
5497
5498 * intl/loadinfo.h (internal_function): Define if not already defined.
5499
5500 2000-04-27 Andreas Jaeger <aj@suse.de>
5501
5502 * intl/libintl.h: Fix typo, reported by Bruno Haible
5503 <haible@clisp.cons.org>.
5504
5505 2000-04-25 Ulrich Drepper <drepper@redhat.com>
5506
5507 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
5508 setting the state to GMON_PROF_BUSY.
5509
5510 2000-04-24 Ulrich Drepper <drepper@redhat.com>
5511
5512 * elf/dl-profile.c (_dl_start_profile): define all variables which
5513 do not have to be global as local variables.
5514
5515 * nis/nis_callback.c (__nis_create_callback): Partially undo last
5516 patch. Keep needed tests for failed memory allocation.
5517
5518 * elf/dl-reloc.c (_dl_relocate_object): Add one more
5519 __builtin_expect saying that we don't normally expect to profile.
5520
5521 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
5522 __builtin_expect where desirable.
5523
5524 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5525
5526 * manual/Makefile (chapters): Add syslog.
5527 * manual/syslog.texi: New file.
5528 * manual/math.texi: Fix references.
5529 * manual/terminal.texi: Likewise.
5530 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5531
5532 2000-04-18 Jakub Jelinek <jakub@redhat.com>
5533
5534 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
5535 stdlib.h was not included or __USE_XOPEN not defined.
5536
5537 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5538
5539 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
5540 Patch by Zack Weinberg <zack@wolery.cumb.org>.
5541
5542 2000-04-22 Ulrich Drepper <drepper@redhat.com>
5543
5544 * manual/examples/subopt.c (mount_opts): Add missing terminating
5545 entry.
5546 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5547
5548 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
5549 * libio/ftello.c: Likewise.
5550 * libio/ftello64.c: Likewise.
5551 * libio/ioftell.c: Likewise.
5552 * sysdeps/generic/memrchr.c: Likewise.
5553 * sysdeps/posix/libc_fatal.c: Likewise.
5554 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5555 * misc/fstab.c: Include <string.h> for strcmp prototype.
5556 * sysdeps/generic/ldsodefs.h: Likewise.
5557 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5558 Patch by Kurt Roeckx <Q@ping.be>.
5559
5560 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
5561 Remove db-open. Change all uses.
5562 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
5563
5564 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5565
5566 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
5567 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
5568 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
5569 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
5570 with .set noat/at to shut up warnings.
5571 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
5572 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
5573 compilation if __NR_pciconfig_iobase is not defined.
5574 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
5575 Add alias.
5576
5577 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5578
5579 * manual/sysinfo.texi: Fix typo.
5580 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
5581 Replace "high precision time" with "high accuracy clock".
5582 Fix language.
5583 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5584
5585 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
5586 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
5587 instead of malloc.
5588 * nis/nis_subr.c: Use __builtin_expect.
5589 * nis/ypclnt.c: Likewise.
5590 * nis/nis_getservlist.c: Likewise.
5591 * nis/nis_creategroup.c: Likewise.
5592
5593 * nis/nis_callback.c (__nis_create_callback): Check result of
5594 memory allocation. Fix memory leaks. Use __builtin_expect.
5595 (__nis_destroy_callback): Fix memory leaks.
5596
5597 2000-04-21 Andreas Jaeger <aj@suse.de>
5598
5599 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
5600 * sysdeps/mips/mips64/add_n.S: Likewise.
5601 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
5602 * sysdeps/mips/mips64/lshift.S: Likewise.
5603 * sysdeps/mips/mips64/mul_1.S: Likewise.
5604 * sysdeps/mips/mips64/rshift.S: Likewise.
5605 * sysdeps/mips/mips64/setjmp.S: Likewise.
5606 * sysdeps/mips/mips64/sub_n.S: Likewise.
5607 * sysdeps/mips/mips64/submul_1.S: Likewise
5608 * sysdeps/unix/mips/sysdep.S: Likewise.
5609
5610 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
5611 and update comment. The strtab from _dl_relocate_object can be
5612 used.
5613
5614 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5615
5616 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
5617 * iconv/iconv_close.c (iconv_close): Likewise.
5618 * iconv/iconv_open.c (iconv_open): Likewise.
5619
5620 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
5621 __builtin_expect where useful.
5622
5623 * grp/initgroups.c (initgroups): Test for result of memory
5624 allocation and punt if it fails.
5625
5626 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
5627 * grp/fgetgrent.c (fgetfrent): Likewise.
5628 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5629
5630 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5631
5632 * libio/vasprintf.c: Include string.h to get memcpy prototype.
5633
5634 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5635
5636 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
5637 don't search for NUL byte to decrement counter.
5638 Reported by Ulrich.Brink@sap.com.
5639
5640 * iconv/gconv_simple.c: Define separate functions to convert from
5641 UCS4/UCS4-LE to the internal encoding.
5642 * iconv/gconv_builtin.h: Use separate functions to convert from
5643 UCS4/UCS4-LE to the internal encoding.
5644 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
5645 __gconv_transform_ucs4le_internal.
5646
5647 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
5648 output buffer overflow. Reported by Ulrich.Brink@sap.com.
5649
5650 * iconv/skeleton.c: Add some more __builtin_expect.
5651 * iconv/loop.c: Likewise.
5652
5653 2000-03-08 H.J. Lu <hjl@gnu.org>
5654
5655 * posix/regex.c (regex_compile): Correctly handle "\{" when
5656 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
5657
5658 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5659
5660 * manual/stdio.texi: Give advise about handling error when using
5661 stream functions.
5662 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
5663
5664 2000-04-19 Jakub Jelinek <jakub@redhat.com>
5665
5666 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
5667 field to nelems * sizeof (uint32_t).
5668 * locale/programs/ld-address.c (address_output): Align word fields
5669 properly.
5670 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5671 Don't restart idx pointers to idx end at the duo_int_curr_symbol
5672 field.
5673 Avoid giving arbitrary garbage in the crncystr field.
5674 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
5675 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
5676 fields.
5677 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5678 Don't restart idx pointers to idx end at the decimal_point_wc field.
5679 * locale/programs/ld-time.c (time_output): week_1stday should be
5680 word, not byte. Align it properly.
5681
5682 2000-04-19 H.J. Lu <hjl@gnu.org>
5683
5684 * csu/gmon-start.c (_start): Declared as "extern void".
5685 (etext): Likewise.
5686
5687 2000-04-18 Andreas Jaeger <aj@suse.de>
5688
5689 * manual/install.texi (Running make install): Don't mention utmpd
5690 anymore.
5691
5692 2000-04-18 Andreas Jaeger <aj@suse.de>
5693
5694 * linuxthreads/Versions: Use ld instead of ld.so.
5695
5696 * elf/Makefile (ld-map): Use ld.map.
5697
5698 * Versions.def: Use ld instead of ld.so.
5699 * elf/Versions: Likewise.
5700 * sysdeps/mach/hurd/Versions: Likewise.
5701
5702 2000-04-20 Andreas Jaeger <aj@suse.de>
5703
5704 * elf/rtld.c (print_statistics): Move ifndef further up.
5705 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
5706 (dl_main): Likewise.
5707
5708 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5709
5710 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
5711 * gmon/Versions: Move moncontrol to GLIBC_2.2.
5712
5713 * po/cs.po: Update from translation team.
5714
5715 * sysdeps/generic/updwtmp.c: Remove daemon support.
5716
5717 * login/Makefile (routines): Remove utmp_daemon.
5718
5719 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
5720 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
5721 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
5722 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
5723
5724 * elf/rtld.c: Display statitics option also if hp timing is not
5725 available.
5726
5727 * login/programs/connection.c: Removed.
5728 * login/programs/database.c Removed.
5729 * login/programs/error.c: Removed.
5730 * login/programs/request.c: Removed.
5731 * login/programs/xtmp.c: Removed.
5732 * login/programs/xtmp.h: Removed.
5733 * login/Makefile: Remove rules for utmpd.
5734 * login/README.utmpd: Removed.
5735 * login/utmp_daemon.c: Removed.
5736 * login/getutent_r.c: Remove references to daemon functions.
5737 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
5738 declaration.
5739
5740 2000-04-18 Andreas Jaeger <aj@suse.de>
5741
5742 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5743 2.2 for libnsl, libresolv, librt, libnss_*.
5744
5745 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
5746
5747 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
5748
5749 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5750
5751 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
5752 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
5753 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
5754 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
5755 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
5756 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
5757 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
5758 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
5759 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
5760 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
5761 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
5762 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
5763 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
5764 it here.
5765 * sysdeps/unix/sysv/aix/msync.c: New file.
5766 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
5767 * sysdeps/unix/sysv/aix/net/if.h: New file.
5768 * sysdeps/unix/sysv/aix/pipe.c: New file.
5769 * sysdeps/unix/sysv/aix/poll.c: New file.
5770 * sysdeps/unix/sysv/aix/rename.c: New file.
5771 * sysdeps/unix/sysv/aix/rmdir.c: New file.
5772 * sysdeps/unix/sysv/aix/select.c: New file.
5773 * sysdeps/unix/sysv/aix/semctl.c: New file.
5774 * sysdeps/unix/sysv/aix/semget.c: New file.
5775 * sysdeps/unix/sysv/aix/semop.c: New file.
5776 * sysdeps/unix/sysv/aix/sendto.c: New file.
5777 * sysdeps/unix/sysv/aix/setgroups.c: New file.
5778 * sysdeps/unix/sysv/aix/setpgid.c: New file.
5779 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5780 * sysdeps/unix/sysv/aix/setpriority.c: New file.
5781 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5782 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5783 * sysdeps/unix/sysv/aix/setsid.c: New file.
5784 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5785 * sysdeps/unix/sysv/aix/shmat.c: New file.
5786 * sysdeps/unix/sysv/aix/shmctl.c: New file.
5787 * sysdeps/unix/sysv/aix/shmdt.c: New file.
5788 * sysdeps/unix/sysv/aix/shmget.c: New file.
5789 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5790 * sysdeps/unix/sysv/aix/sigstack.c: New file.
5791 * sysdeps/unix/sysv/aix/socket.c: New file.
5792 * sysdeps/unix/sysv/aix/socketpair.c: New file.
5793 * sysdeps/unix/sysv/aix/speed.c: New file.
5794 * sysdeps/unix/sysv/aix/symlink.c: New file.
5795 * sysdeps/unix/sysv/aix/sync.c: New file.
5796 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5797 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5798 * sysdeps/unix/sysv/aix/times.c: New file.
5799 * sysdeps/unix/sysv/aix/ulimit.c: New file.
5800 * sysdeps/unix/sysv/aix/umask.c: New file.
5801 * sysdeps/unix/sysv/aix/unlink.c: New file.
5802 * sysdeps/unix/sysv/aix/ustat.c: New file.
5803 * sysdeps/unix/sysv/aix/utimes.c: New file.
5804
5805 2000-04-18 Andreas Jaeger <aj@suse.de>
5806
5807 * manual/startup.texi (Environment Access): Fix putenv prototype
5808 according to recent changes.
5809 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5810 PR libc/1692.
5811
5812 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5813 needed.
5814
5815 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5816
5817 * posix/Makefile (tests): Add tst-getaddrinfo.
5818 * posix/tst-getaddrinfo.c: New file.
5819
5820 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5821
5822 * manual/sysinfo.texi: Document that umount2 is not widely available.
5823
5824 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5825 signal timing is not really implemented.
5826
5827 2000-04-17 Andreas Jaeger <aj@suse.de>
5828
5829 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5830
5831 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5832
5833 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5834 and inst_libdir.
5835
5836 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5837
5838 * manual/intro.texi: Change reference from System Information to
5839 System Management.
5840 * manual/users.texi: Likewise.
5841 * manual/conf.texi: Likewise.
5842 * manual/sysinfo.texi: Document mount, umount, and umount2.
5843 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5844
5845 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5846
5847 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5848 Create wnumstr as well as numstr to support wide character output
5849 correctly.
5850
5851 2000-04-15 Jakub Jelinek <jakub@redhat.com>
5852
5853 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5854 modification and move it...
5855 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5856 Add -melf64_sparc switch to $(LD) on sparc64-linux.
5857 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5858 switch to $(LD) on sparc-linux.
5859
5860 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
5861
5862 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5863 and setresuid from sysdep_routines.
5864
5865 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5866
5867 * manual/Makefile (chapters): Add resource.
5868
5869 * manual/time.texi: Move section on resources to...
5870 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
5871 and vtimes.
5872 * manual/setjmp.texi: Adjust back reference.
5873 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5874
5875 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5876 definition.
5877 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5878 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5879 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5880 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5881 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5882 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5883 * sysdeps/unix/sysv/aix/close.c: Add copyright.
5884 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
5885 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
5886 * sysdeps/unix/sysv/aix/access.c: Add copyright.
5887 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
5888 * sysdeps/unix/sysv/aix/Implies: New file.
5889 * sysdeps/unix/sysv/aix/Versions: New file.
5890 * sysdeps/unix/sysv/aix/bind.c: New file.
5891 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
5892 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
5893 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
5894 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
5895 * sysdeps/unix/sysv/aix/chdir.c: New file.
5896 * sysdeps/unix/sysv/aix/chmod.c: New file.
5897 * sysdeps/unix/sysv/aix/chroot.c: New file.
5898 * sysdeps/unix/sysv/aix/creat.c: New file.
5899 * sysdeps/unix/sysv/aix/dl-close.c: New file.
5900 * sysdeps/unix/sysv/aix/dl-open.c: New file.
5901 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
5902 * sysdeps/unix/sysv/aix/fchdir.c: New file.
5903 * sysdeps/unix/sysv/aix/fchmod.c: New file.
5904 * sysdeps/unix/sysv/aix/getgroups.c: New file.
5905 * sysdeps/unix/sysv/aix/gethostname.c: New file.
5906 * sysdeps/unix/sysv/aix/getpriority.c: New file.
5907 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
5908 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
5909 * sysdeps/unix/sysv/aix/getrusage.c: New file.
5910 * sysdeps/unix/sysv/aix/link.c: New file.
5911 * sysdeps/unix/sysv/aix/madvise.c: New file.
5912 * sysdeps/unix/sysv/aix/mkdir.c: New file.
5913 * sysdeps/unix/sysv/aix/mknod.c: New file.
5914 * sysdeps/unix/sysv/aix/mprotect.c: New file.
5915 * sysdeps/unix/sysv/aix/msgctl.c: New file.
5916 * sysdeps/unix/sysv/aix/msgget.c: New file.
5917 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
5918
5919 2000-04-17 Andreas Jaeger <aj@suse.de>
5920
5921 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
5922 as suggested by Ulrich Drepper.
5923 (__dl_runtime_resolve): Remove unused variable, initialize sym
5924 directly.
5925 (RTLD_START): Document OFFSET_GP_GOT.
5926 (OFFSET_GP_GOT): New magic value.
5927 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
5928 (elf_machine_got_rel): Only declare strtab if needed.
5929 (elf_machine_relplt): Removed, it's not needed.
5930 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
5931
5932 * sysdeps/mips/add_n.S: Add newline at EOF.
5933 * sysdeps/mips/rshift.S: Likewise.
5934 * sysdeps/mips/mul_1.S: Likewise.
5935 * sysdeps/mips/lshift.S: Likewise.
5936 * sysdeps/mips/addmul_1.S: Likewise.
5937
5938 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5939
5940 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
5941
5942 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
5943 * elf/dl-lookup.c: Likewise.
5944 * elf/dl-init.c (_dl_init): Likewise.
5945 * elf/dl-fini.c (_dl_fini): Likewise.
5946 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5947 * elf/dl-close.c (_dl_close): Likewise.
5948 * elf/rtld.c (_dl_start_final): Likewise.
5949
5950 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5951
5952 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5953
5954 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5955 only fall back on using Linux.
5956
5957 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
5958 Before testing versions check that we actually loaded the object
5959 and whether we are in trace mode. If not loaded during tracing don't
5960 test versions in this object.
5961 (_dl_check_all_versions): Take new parameter and pass to
5962 _dl_check_map_versions.
5963 * sysdeps/generic/ldsodefs.h: Update prototypes for
5964 _dl_check_all_versions and _dl_check_map_versions.
5965 * elf/rtld.c (struct version_check_args): Add dotrace.
5966 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
5967 (dl_main): Pass info about trace mode to version_check_doit.
5968 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
5969 _dl_check_all_versions.
5970
5971 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5972 and getutmpx.
5973 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5974
5975 * manual/argp.texi: Document index parameter of argp_parse.
5976 Fix typo.
5977 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5978
5979 2000-04-14 Andreas Jaeger <aj@suse.de>
5980
5981 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
5982 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
5983
5984 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
5985
5986 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5987
5988 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
5989 compat_symbol call for old adjtime.
5990
5991 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
5992 function interface. Patch by Richard Henderson <rth@cygnus.com>.
5993
5994 * posix/Makefile (headers): Add spawn.h.
5995 (distribute): Add spawn_int.h.
5996 (routines): Add spawn_faction_init, spawn_faction_destroy,
5997 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
5998 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
5999 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
6000 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
6001 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
6002 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
6003 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
6004 posix_spawnattr_init, posix_spawnattr_destroy,
6005 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
6006 posix_spawnattr_getflags, posix_spawnattr_setflags,
6007 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
6008 and posix_spawnp.
6009 * posix/spawn.c: New file.
6010 * posix/spawn.h: New file.
6011 * posix/spawn_faction_addclose.c: New file.
6012 * posix/spawn_faction_adddup2.c: New file.
6013 * posix/spawn_faction_addopen.c: New file.
6014 * posix/spawn_faction_destroy.c: New file.
6015 * posix/spawn_faction_init.c: New file.
6016 * posix/spawn_int.h: New file.
6017 * posix/spawnattr_destroy.c: New file.
6018 * posix/spawnattr_getdefault.c: New file.
6019 * posix/spawnattr_getflags.c: New file.
6020 * posix/spawnattr_getpgroup.c: New file.
6021 * posix/spawnattr_getschedparam.c: New file.
6022 * posix/spawnattr_getschedpolicy.c: New file.
6023 * posix/spawnattr_getsigmask.c: New file.
6024 * posix/spawnattr_init.c: New file.
6025 * posix/spawnattr_setdefault.c: New file.
6026 * posix/spawnattr_setflags.c: New file.
6027 * posix/spawnattr_setpgroup.c: New file.
6028 * posix/spawnattr_setschedparam.c: New file.
6029 * posix/spawnattr_setschedpolicy.c: New file.
6030 * posix/spawnattr_setsigmask.c: New file.
6031 * posix/spawni.c: New file.
6032 * posix/spawnp.c: New file.
6033
6034 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
6035 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6036
6037 2000-04-14 Ulrich Drepper <drepper@redhat.com>
6038
6039 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
6040 * malloc/malloc.c: Implement posix_memalign for glibc.
6041 * include/stdlib.h: Add prototype for __posix_memalign.
6042 * stdlib/stdlib.h: Add prototype for posix_memalign.
6043
6044 2000-04-14 Andreas Jaeger <aj@suse.de>
6045
6046 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
6047 symidx correctly.
6048 (elf_machine_got_rel): Cast sym correctly.
6049
6050 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
6051 * sysdeps/mips/addmul_1.S: Likewise.
6052 * sysdeps/mips/lshift.S: Likewise.
6053 * sysdeps/mips/mul_1.S: Likewise.
6054 * sysdeps/mips/rshift.S: Likewise.
6055 * sysdeps/mips/sub_n.S: Likewise.
6056 * sysdeps/mips/submul_1.S: Likewise.
6057
6058 * stdlib/stdlib.h: Fix typo in comment.
6059
6060 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
6061 2.2 for libdl, ld and libm.
6062
6063 * sysdeps/generic/madvise.c: Fix typos.
6064
6065 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
6066
6067 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
6068
6069 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
6070 warnings.
6071
6072 2000-04-14 Ulrich Drepper <drepper@redhat.com>
6073
6074 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
6075 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
6076 Make old name weak alias.
6077 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6078 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
6079 Make old name weak alias.
6080 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6081
6082 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
6083 posix_fallocate, and posix_fallocate64.
6084 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
6085 posix_fallocate, and posix_fallocate64.
6086 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
6087 posix_fallocate, and posix_fallocate64.
6088 * sysdeps/generic/fadvise.c: New file.
6089 * sysdeps/generic/fadvise64.c: New file.
6090 * sysdeps/generic/fallocate.c: New file.
6091 * sysdeps/generic/fallocate64.c: New file.
6092 * sysdeps/posix/fallocate.c: New file.
6093 * sysdeps/posix/fallocate64.c: New file.
6094 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
6095 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
6096 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
6097 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6098 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6099 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6101 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6103
6104 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
6105 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6106
6107 2000-04-13 Ulrich Drepper <drepper@redhat.com>
6108
6109 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
6110 * misc/sys/mman.h (posix_madvise): Add prototype.
6111 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
6112 old name and posix_madvise weak aliases.
6113 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6114 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
6115 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
6116 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6117 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
6118 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6119 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6120
6121 2000-04-13 Andreas Jaeger <aj@suse.de>
6122
6123 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
6124 versioning.
6125 (elf_machine_got_rel): Only add runtime display if needed.
6126 (elf_machine_got_rel): Handle symbol versioning.
6127
6128 2000-04-13 Andreas Jaeger <aj@suse.de>
6129
6130 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
6131
6132 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
6133 default.
6134
6135 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
6136 with some applications.
6137 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
6138
6139 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
6140 * sysdeps/mips/bsd-_setjmp.S: Likewise.
6141 * sysdeps/mips/setjmp.S: Likewise.
6142
6143 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
6144
6145 2000-04-13 Ulrich Drepper <drepper@redhat.com>
6146
6147 * posix/globtest.sh: Work around inconsistency with expanding ~/
6148 in shell (PR libc/1690). Reported by patsmith@pobox.com.
6149
6150 2000-04-12 Ulrich Drepper <drepper@redhat.com>
6151
6152 * posix/getconf.c: Add support for many more POSIX options.
6153 * sysdeps/posix/sysconf.c: Likewise.
6154 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
6155 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
6156 _POSIX_SHELL.
6157 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6158 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
6159 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
6160 CLOCK_THREAD_CPUTIME_ID.
6161 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
6162 CLOCK_PROCESS_CPUTIME_ID.
6163 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
6164 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
6165 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
6166 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6167
6168 * malloc/Makefile (tests): Add tst-calloc.
6169 * malloc/tst-calloc.c: New file.
6170
6171 * sysdeps/arm/libm-test-ulps: New file.
6172
6173 * malloc/malloc.c: Undo all of today's changes.
6174
6175 * locale/programs/locale.c (show_info): Don't try to look into
6176 data for LC_ALL (there is none).
6177
6178 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
6179 avoid writing over boundary.
6180 Patch by Greg McGary <gkm@eng.ascend.com>.
6181
6182 * sysdeps/arm/memprof.h: New file.
6183
6184 2000-04-12 Andreas Jaeger <aj@suse.de>
6185
6186 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
6187
6188 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
6189 for memmem declaration.
6190
6191 2000-04-12 Ulrich Drepper <drepper@redhat.com>
6192
6193 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
6194 to -1.
6195 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6196
6197 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
6198 mode is invalid.
6199 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6200 Patch by Bart Veer <bartv@redhat.com>.
6201
6202 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
6203 function interface.
6204
6205 2000-04-11 Andreas Jaeger <aj@suse.de>
6206
6207 * sysdeps/mips/dl-machine.h: Update some comments.
6208 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
6209
6210 2000-04-11 Ulrich Drepper <drepper@redhat.com>
6211
6212 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
6213 _POSIX_SHARED_MEMORY_OBJECTS.
6214
6215 * rt/Makefile (tests): Add tst-shm.
6216 Add rules to generate tst-shm.
6217 * rt/tst-shm.c: New file.
6218
6219 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
6220 for descriptor.
6221
6222 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
6223 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
6224 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
6225 * sysdeps/generic/shm_open.c: New file.
6226 * sysdeps/generic/shm_unlink.c: New file.
6227 * sysdeps/unix/sysv/linux/shm_open.c: New file.
6228 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
6229 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
6230 __endmntent, __getmntent_r, __setmntent, and __statfs.
6231
6232 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
6233 fragmentation by allocating new memory at the end instead of
6234 reallocating.
6235
6236 * posix/globtest.sh: Fix last change.
6237
6238 2000-04-10 Philip Blundell <philb@gnu.org>
6239
6240 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
6241 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
6242 IPV6_DROP_MEMBERSHIP.
6243 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
6244 Likewise.
6245
6246 2000-04-11 Ulrich Drepper <drepper@redhat.com>
6247
6248 * elf/readlib (process_file): Close streams in case of an error.
6249
6250 2000-04-09 Andreas Jaeger <aj@suse.de>
6251
6252 * elf/readlib.c (process_file): Check if file is big enough to
6253 contain aout and ELF headers.
6254 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
6255
6256 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
6257
6258 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
6259
6260 2000-04-11 Ulrich Drepper <drepper@redhat.com>
6261
6262 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
6263 stream unbuffered.
6264 * rt/Makefile (tests): Add tst-clock.
6265 Add rules to build tst-clock.
6266 * rt/tst-clock.c: New file.
6267 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
6268 about initialization of nsec.
6269 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
6270 about initialization of freq. Set retval to zero if successful.
6271 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
6272
6273 2000-04-10 Ulrich Drepper <drepper@redhat.com>
6274
6275 * Versions.def (librt): Add GLIBC_2.2.
6276 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
6277 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
6278 timer_getoverr, timer_gettime, and timer_settime.
6279 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
6280 clock_settime, timer_create, timer_delete, timer_getoverrun,
6281 timer_gettime, and timer_settime.
6282 * sysdeps/generic/clock_getcpuclockid.c: New file.
6283 * sysdeps/generic/get_clockfreq.c: New file.
6284 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
6285 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
6286 * sysdeps/mach/hurd/i386/bits/time.h: New file.
6287 * sysdeps/unix/i386/i586/clock_getres.c: New file.
6288 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
6289 * sysdeps/unix/i386/i686/Implies: New file.
6290 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
6291 * time/Makefile (routines): Move clock_getres, clock_gettime,
6292 clock_settime, timer_create, timer_delete, timer_getoverr,
6293 timer_gettime, and timer_settime to rt/Makefile.
6294 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
6295 clock_settime, timer_create, timer_delete, timer_getoverrun,
6296 timer_gettime, and timer_settime.
6297 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6298
6299 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
6300 and not const as attribute name.
6301
6302 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
6303
6304 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
6305
6306 2000-04-10 Andreas Schwab <schwab@suse.de>
6307
6308 * posix/globtest.sh: Skip tests that depend on unreadable
6309 directories if run as root.
6310
6311 2000-04-10 Ulrich Drepper <drepper@redhat.com>
6312
6313 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
6314 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
6315
6316 2000-04-09 Ulrich Drepper <drepper@redhat.com>
6317
6318 * sysdeps/unix/clock_gettime.c: New file.
6319 * sysdeps/unix/clock_settime.c: New file.
6320 * sysdeps/posix/clock_getres.c: New file.
6321
6322 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
6323
6324 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
6325 lseek call be passing in a buffer which never allow a successful
6326 first getdents syscall if not at leas the initial entry can be
6327 stored in the user buffer.
6328
6329 * localedata/Makefile: Add rules to clean up directories created by
6330 new strfmon tests.
6331
6332 2000-04-09 Geoff Clare <gwc@unisoft.com>
6333
6334 * localedata/tst-fmon.data: Added new tests for strfmon()
6335 using test locales with all combinations of cs_precedes,
6336 sign_posn and sep_by_space.
6337 * localedata/tst-fmon.sh: Updated to support the new tests.
6338 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
6339 the localedef source for the new strfmon() test locale.
6340 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
6341 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
6342 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
6343 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
6344 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
6345 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
6346 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
6347 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
6348 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
6349 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
6350 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
6351 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
6352 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
6353 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
6354
6355 * stdlib/strfmon.c: Correct problems with missing or extra
6356 spaces for unusual combinations of sign_posn and sep_by_space.
6357 Improved left-precision alignment code.
6358
6359 2000-04-07 Andreas Jaeger <aj@suse.de>
6360
6361 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
6362
6363 2000-04-10 Andreas Jaeger <aj@suse.de>
6364
6365 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
6366
6367 2000-04-09 Ulrich Drepper <drepper@redhat.com>
6368
6369 Implement handling of restartable conversion functions according to
6370 ISO C.
6371 * iconv/gconv.h (__gconv_fct): Add additional parameter.
6372 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
6373 * iconv/gconv.c: Pass additional parameter to conversion function.
6374 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
6375 (internal_ucs4le_loop_single): New function.
6376 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
6377 (__gconv_transform_internal_ascii): Likewise.
6378 (__gconv_transform_internal_utf8): Likewise.
6379 (__gconv_transform_utf8_internal): Likewise.
6380 (__gconv_transform_ucs2_internal): Likewise.
6381 (__gconv_transform_internal_ucs2): Likewise.
6382 (__gconv_transform_ucs2reverse_internal): Likewise.
6383 (__gconv_transform_internal_ucs2reverse): Likewise.
6384 (internal_ucs4le_loop_unaligned): Before return
6385 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
6386 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
6387 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
6388 * iconv/loop.c: Fit in definition of function to convert one character
6389 for processing of left-over bytes from the state object.
6390 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
6391 inend to match names in loop functions.
6392 (RESET_INPUT_BUFFER): Change apprpriately.
6393 (gconv): If needed, call function to process bytes from the state
6394 object. Similar at the end: store left over bytes if input is
6395 incomplete.
6396 Take extra argument and add new argument to all calls of the
6397 conversion function.
6398 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
6399 information in the state object to not conflict with length count.
6400 * iconvdata/iso-2022-jp.c: Likewise.
6401 * iconvdata/iso-2022-kr.c: Likewise.
6402 * iconvdata/unicode.c: Adjust for change change in parameters of
6403 skeleton function.
6404 * iconvdata/utf-16.c: Likewise.
6405 * libio/iofwide.c: Add new parameter to all calls of conversion
6406 function.
6407 * wcsmbs/btowc.c: Likewise.
6408 * wcsmbs/mbrtowc.c: Likewise.
6409 * wcsmbs/mbsnrtowcs.c: Likewise.
6410 * wcsmbs/mbsrtowcs.c: Likewise.
6411 * wcsmbs/wcrtomb.c: Likewise.
6412 * wcsmbs/wcsnrtombs.c: Likewise.
6413 * wcsmbs/wcsrtombs.c: Likewise.
6414 * wcsmbs/wctob.c: Likewise.
6415
6416 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
6417 MAX_NEEDED_INPUT.
6418
6419 2000-04-07 Andreas Jaeger <aj@suse.de>
6420
6421 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
6422 newer kernels.
6423
6424 2000-04-07 Ulrich Drepper <drepper@redhat.com>
6425
6426 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
6427 element a union to allow byte access.
6428 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
6429 mbstate_t.
6430 * iconvdata/iso-2022-jp.c: Likewise.
6431 * iconvdata/iso-2022-kr.c: Likewise.
6432 * wcsmbs/mbsinit.c: Likewise.
6433 * stdlib/mblen.c: Likewise.
6434 * stdio-common/printf-parse.h: Likewise.
6435
6436 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6437
6438 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
6439 kernel does not allow relative seeks on descriptors associated
6440 with directories. Go back to get the position in the directory
6441 every time we enter the function. Return -1 and set errno if one
6442 entry could be read from the kernel but does not fit into the
6443 buffer passed in by the user.
6444
6445 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
6446 Support ..(2).. ellipsis.
6447 (parse_charmap): Recognize ..(2).. etc and pass step down.
6448 Correctly generate names for UCS4 characters.
6449
6450 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
6451 (ctype_finish): We know the wide character value for <SP>,
6452 don't search.
6453 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
6454 (charclass_ucs4_ellipsis): Likewise.
6455 (read_translit_ignore_entry): Store ellipsis step.
6456 (ctype_read): Recognize ..(2).. etc and pass step down.
6457
6458 * locale/programs/linereader.c (lr_token): When seeing comment
6459 character ignore only rest of line in sources but stop at escaped
6460 newline.
6461 Recognize ..(2).. and ....(2).....
6462
6463 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
6464 and tok_ellipsis4_2.
6465
6466 2000-04-06 Andreas Jaeger <aj@suse.de>
6467
6468 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
6469 removed, remove it here also.
6470 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
6471 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
6472 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
6473 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
6474
6475 2000-04-06 Jakub Jelinek <jakub@redhat.com>
6476
6477 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
6478 include bits/sigcontext.h.
6479 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6480
6481 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6482
6483 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
6484 collation symbol definition. Value in quivalence definition must
6485 be defined, don't check that it is not.
6486
6487 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
6488 values as character names.
6489
6490 * locale/programs/ld-ctype.c (get_character): Handle missing
6491 repertoire map correctly.
6492
6493 2000-04-05 Cristian Gafton <gafton@redhat.com>
6494
6495 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
6496 because it is used in generic code.
6497 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
6498 * wcsmbs/wcwidth.h: Declare __ctype32_b.
6499 * intl/gettext.c: Include <locale.h>.
6500 * intl/ngettext.c: Likewise.
6501
6502 2000-04-05 Jakub Jelinek <jakub@redhat.com>
6503
6504 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
6505 socklen_t type for size.
6506 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
6507 init function interface.
6508 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6509 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
6510 sys/ucontext.h.
6511 (__jmp_buf): Declare the whole type structure here, don't use
6512 ucontext.
6513
6514 2000-04-05 Ulrich Drepper <drepper@redhat.com>
6515
6516 * iconv/skeleton.c (put16u): Fix typo.
6517 Reported by Bruno Haible <haible@ilog.fr>.
6518
6519 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
6520 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
6521 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
6522 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
6523 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
6524 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
6525
6526 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
6527 * Makefile (distribute): Add abi-versions.awk and
6528 firstversions.awk.
6529 Patches by Torsten Duwe <duwe@caldera.de>.
6530
6531 2000-04-05 Andreas Schwab <schwab@suse.de>
6532
6533 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
6534
6535 2000-04-05 Andreas Schwab <schwab@suse.de>
6536
6537 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
6538 entry point, used on Hurd.
6539
6540 2000-04-04 Andreas Jaeger <aj@suse.de>
6541
6542 * intl/Makefile: Only run the gettext test with shared libraries.
6543
6544 2000-03-16 Mark Kettenis <kettenis@gnu.org>
6545
6546 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6547 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6548
6549 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
6550
6551 * Makeconfig: Undo last change.
6552 * configure.in: If --disable-shared was given, don't set VERSIONING,
6553 don't define DO_VERSIONING, and don't give scare warning for no
6554 versioning.
6555 * configure: Regenerated.
6556
6557 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
6558
6559 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
6560
6561 2000-04-04 Andreas Jaeger <aj@suse.de>
6562
6563 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
6564
6565 2000-04-04 Ulrich Drepper <drepper@redhat.com>
6566
6567 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
6568 STV_HIDDEN and STV_INTERNAL during lookup.
6569 (profile_fixup): Likewise.
6570 * elf/dl-reloc.c (RESOLVE): Likewise.
6571
6572 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
6573 unaligned so that it compiles for system which need unaligned
6574 access handling.
6575
6576 2000-04-04 Andreas Schwab <schwab@suse.de>
6577
6578 * elf/cache.c (print_entry): Only look at the type field when
6579 printing the type.
6580
6581 2000-04-04 Andreas Schwab <schwab@suse.de>
6582
6583 * iconvdata/big5.c (BODY): Fix typo.
6584
6585 2000-04-04 Andreas Schwab <schwab@suse.de>
6586
6587 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
6588 function interface. Remove unused _dl_start_user entry point.
6589
6590 2000-04-03 Andreas Jaeger <aj@suse.de>
6591
6592 * include/arpa/inet.h (__inet_aton): Add protoype.
6593
6594 2000-04-01 Andreas Jaeger <aj@suse.de>
6595
6596 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
6597
6598 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
6599 * sysdeps/mach/mips/thread_state.h: Likewise.
6600
6601 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
6602 * sysdeps/generic/fegetenv.c: Likewise.
6603 * sysdeps/generic/fesetenv.c: Likewise.
6604 * sysdeps/generic/feupdateenv.c: Likewise.
6605 * sysdeps/generic/fraiseexcpt.c: Likewise.
6606 * sysdeps/generic/fsetexcptflg.c: Likewise.
6607 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
6608 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6609 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6610 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6611
6612 2000-04-02 H.J. Lu <hjl@gnu.org>
6613
6614 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
6615
6616 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6617
6618 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
6619 (add_name_to_object): Add cast in malloc call.
6620 (fillin_rpath): Optimize loop to initialize ->status a bit.
6621
6622 * sysdeps/i386/dl-machine.h: Undo last change.
6623 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
6624 Restore %edx register after call here.
6625
6626 * sysdeps/arm/atomicity.h: New file.
6627 Contributed by Jesper Skov <jskov@redhat.com>.
6628
6629 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
6630
6631 * Makeconfig (preprocess-versions): Undo last change.
6632 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
6633
6634 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
6635 here, before we might move the stack.
6636 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
6637 (init1): And not here.
6638
6639 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
6640 change, to restore argc value in call-clobbered register after
6641 RTLD_START_SPECIAL_INIT, which will contain a call.
6642
6643 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
6644 allocating and initializing L->l_initfini.
6645
6646 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
6647
6648 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6649
6650 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
6651 RUNPATH, RPATH, and LD_LIBRARY_PATH.
6652 (open_path): Change type of fourth parameter. Make pointer to array
6653 of pointers. Create variable dirs with original type.
6654 Track whether any directory for the object exists and if not,
6655 change *DIRSP to (void*) -1 to signal there is no such search path.
6656 (_dl_map_object): Change all calls of open_path.
6657 Rewrite decompose_rpath calls.
6658
6659 2000-03-31 Andreas Schwab <schwab@suse.de>
6660
6661 * string/strfry.c: Declare STATE as array of char instead of int
6662 and do not initialize it (done by initstate_r). Pass correct
6663 size.
6664
6665 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6666
6667 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
6668
6669 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
6670 instruction out of the code.
6671
6672 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6673
6674 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
6675 element at this position.
6676
6677 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
6678 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
6679 l_reldeps elements.
6680 * elf/dl-lookup.c (add_dependency): New function.
6681 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
6682 dynamically loaded object.
6683 (_dl_lookup_symbol_skip): Likewise.
6684 (_dl_lookup_versioned_symbol): Likewise.
6685 (_dl_lookup_versioned_symbol_skip): Likewise.
6686 * elf/dl-open.c: Don't define _dl_load_lock here...
6687 * elf/rtld.c: ...but here...
6688 * elf/dl-support.c: ...and here.
6689 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
6690 through relocation.
6691 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
6692 relocations.
6693 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
6694 anymore.
6695 * dlfcn/glrefmain.c: Add one more debug message.
6696
6697 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
6698 command line.
6699 * Makerules (sysd-versions): Use ( ) instead of { }.
6700
6701 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
6702 optimize for the non-debugging case.
6703 * elf/dl-lookup.c: Likewise.
6704 * sysdeps/generic/libc-start.c: Likewise.
6705
6706 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
6707
6708 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
6709 (init1): Don't initialize __environ here, since init already does it.
6710 (first_init): New function, broken out of _init.
6711 (_hurd_stack_setup): Use it.
6712 [SHARED] (_dl_init_first): New function, renamed from old _init.
6713 (init1) [SHARED]: Don't call posixland_init here.
6714 (posixland_init): Take ENVP arg, so signature is usual for initializer.
6715 [SHARED] (_init): Define as alias for posixland_init.
6716 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
6717 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
6718 RTLD_START_SPECIAL_INIT before calling initializers.
6719 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
6720 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
6721 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
6722 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
6723
6724 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
6725 since we define the function with the name `tmpfile'.
6726
6727 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
6728 * hurd/Versions: Likewise.
6729
6730 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6731
6732 * elf/dl-runtime.c (fixup): Fix typo in comment.
6733
6734 * resolv/netdb.h (getnameinfo): All length parameters are of type
6735 socklen_t.
6736 * inet/getnameinfo.c: Likewise.
6737
6738 2000-04-01 Ulrich Drepper <drepper@redhat.com>
6739
6740 * posix/unistd.h (socklen_t): Define if it has not yet happened.
6741 (gethostname): Change type of second parameter to socklen_t.
6742 * include/unistd.h (__gethostname): Change type of second
6743 parameter to socklen_t.
6744 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
6745 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6746 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
6747 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
6748 Likewise.
6749 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
6750 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
6751 Allow definition elsewhere.
6752 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6753 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6754 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6755 * sysdeps/generic/bits/types.h: Define __socklen_t.
6756 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6757 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6758 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6759 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6760 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6761 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6762 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6763
6764 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
6765 (inet_lnaof): Likewise.
6766 (inet_netof): Likewise.
6767 (inet_network): Likewise.
6768 (inet_aton): Likewise.
6769 (inet_makeaddr): Change parameter types to in_addr_t.
6770 (inet_neta): Likewise.
6771 (inet_ntop): Change type of last parameter to socklen_t.
6772 (inet_aton): Only make available if __USE_MISC.
6773 (inet_neta): Likewise.
6774 (inet_net_ntop): Likewise.
6775 (inet_net_pton): Likewise.
6776 (inet_nsap_ntoa): Likewise.
6777
6778 * inet/in.h: Define in_port_t type.
6779 Define in_addr_t type.
6780 (struct in_addr): Use in_addr_t in definition.
6781 (IN_CLASSA): Use cast to in_addr_t.
6782 (IN_CLASSB): Likewise.
6783 (IN_CLASSC): Likewise.
6784 (IN_CLASSD): Likewise.
6785 (IN_EXPERIMENTAL): Likewise.
6786 (IN_BADCLASS): Likewise.
6787 (INADDR_ANY): Likewise.
6788 (INADDR_BROADCAST): Likewise.
6789 (INADDR_NONE): Likewise.
6790 (INADDR_LOOPBACK): Likewise.
6791 (INADDR_UNSPEC_GROUP): Likewise.
6792 (INADDR_ALLHOSTS_GROUP): Likewise.
6793 (INADDR_ALLRTRS_GROUP): Likewise.
6794 (INADDR_MAX_LOCAL_GROUP): Likewise.
6795 (struct sockaddr_in): Use in_port_t for sin_port element.
6796 (struct sockaddr_in6): Use in_port_t for sin6_port element.
6797 Use uint8_t instead of u_int8_t.
6798
6799 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6800 Call __inet_aton instead of inet_aton.
6801 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
6802
6803 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6804 (innetgr): Likewise.
6805 (struct addrinfo): Use socklen_t for ai_addrlen element.
6806
6807 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6808 IPV6_RECVERR): New defines.
6809
6810 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6811 * inet/getnetbyad.c: Likewise.
6812 * inet/getnetbyad_r.c: Likewise.
6813 * nis/nss_nis/nis-network.c: Likewise.
6814 * nis/nssplus_nis/nisplus-network.c: Likewise.
6815 * nss/nss_files/files-network.c: Likewise.
6816 * resolv/netdb.h: Define uint32_t if not already happened.
6817 Include bits/netdb.h. Remove definition of struct netent.
6818 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6819 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6820 * sysdeps/generic/bits/netdb.h: New file.
6821 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6822
6823 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6824 (tests): Add glrefmain.
6825 Add rules to build modules and run tests. Ignore result of glrefmain
6826 for now since it fails.
6827 * dlfcn/glrefmain.c: New file.
6828 * dlfcn/glreflib1.c: New file.
6829 * dlfcn/glreflib2.c: New file.
6830
6831 * test-skeleton.c: Include <string.h> for strsignal prototype.
6832
6833 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6834 to be missing.
6835
6836 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6837 former init-first.h. Initialize __libc_multiple_libcs.
6838
6839 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6840
6841 * iconv/skeleton.c: Define access macros with u suffix. Adjust
6842 #if expression for use of unaligned function to the one used in
6843 the definition of these functions.
6844 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6845 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6846 (internal_ucs4le_loop_unaligned): New function.
6847
6848 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6849 (tests): Add order.
6850 (module-names): Add dep1, dep2, dep3, and dep4.
6851 Add dependencies for dep* modules and order.
6852 Define rule for order.out which checks the result.
6853 * elf/dep1.c: New file.
6854 * elf/dep2.c: New file.
6855 * elf/dep3.c: New file.
6856 * elf/dep4.c: New file.
6857 * elf/order.c: New file.
6858
6859 * elf/dl-init.c: Fix typo in comment.
6860
6861 2000-03-31 Andreas Jaeger <aj@suse.de>
6862
6863 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6864 init function interface.
6865 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6866
6867 2000-03-31 Andreas Jaeger <aj@suse.de>
6868
6869 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6870 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6871 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6872 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6873 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6874
6875 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6876 anymore, update comment.
6877
6878 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6879
6880 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6881 SHLIB_COMPAT - the struct is always needed.
6882
6883 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6884
6885 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6886 * elf/dl-support.c: Define _dl_starting_up.
6887
6888 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6889
6890 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
6891 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
6892
6893 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
6894
6895 * elf/Makefile (dl-routines): Remove preinit.
6896 * elf/Versions: Remove _dl_preinit.
6897 * elf/dl-preinit.c: Removed. Move content into...
6898 * elf/dl-init.c: ...here.
6899 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
6900
6901 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6902 elements.
6903
6904 2000-03-29 Geoff Clare <gwc@unisoft.com>
6905
6906 * stdlib/strfmon.c: Corrected problems with the code that
6907 sets default values for [np]_sep_by_space and
6908 [np]_sign_posn; also the new positive/negative alignment
6909 code from the previous patch was not quite right for
6910 [np]_sign_posn = 0.
6911
6912 * localedata/tst-fmon.data: Changes corresponding to the
6913 two sets of fixes made to stdlib/strfmon.c.
6914
6915 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
6916
6917 * malloc/malloc.c: Declare bit flags UL so that they will not
6918 default to int size when being inverted.
6919
6920 2000-03-29 Andreas Jaeger <aj@suse.de>
6921
6922 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
6923 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6924
6925 2000-03-29 Andreas Jaeger <aj@suse.de>,
6926 Ralf Baechle <ralf@uni-koblenz.de>
6927
6928 * Makeconfig: Introduce new variable SHARED to mark code used in
6929 the shared library.
6930 * elf/dl-close.c: Use it instead of PIC.
6931 * elf/dl-load.c: Likewise.
6932 * elf/dl-open.c: Likewise.
6933 * hurd/geteuids.c: Likewise.
6934 * include/libc-symbols.h: Likewise.
6935 * include/shlib-compat.h: Likewise.
6936 * libio/freopen.c: Likewise.
6937 * linuxthreads/cancel.c: Likewise.
6938 * linuxthreads/pthread.c: Likewise.
6939 * linuxthreads/wrapsyscall.c: Likewise.
6940 * nss/nsswitch.c: Likewise.
6941 * stdio-common/vfprintf.c: Likewise.
6942 * sysdeps/arm/init-first.c: Likewise.
6943 * sysdeps/i386/init-first.c: Likewise
6944 * sysdeps/generic/init-first.c: Likewise.
6945 * sysdeps/generic/libc-start.c: Likewise.
6946 * sysdeps/mips/init-first.c: Likewise.
6947 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6948 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6949 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6950 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6951 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6952
6953 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6954
6955 2000-03-29 Andreas Jaeger <aj@suse.de>
6956
6957 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6958 Use D_PTR to access relocated entries in l_info.
6959 (elf_machine_rela): Likewise.
6960
6961 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6962 Likewise.
6963 (elf_machine_rela): Likewise.
6964
6965 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6966 Likewise.
6967 (__elf_machine_fixup_plt): Likewise.
6968 (__process_machine_rela): Likewise.
6969
6970 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6971 (elf_machine_rela): Likewise.
6972
6973 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6974 (elf_machine_rel): Likewise.
6975
6976 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6977 (elf_machine_fixup_plt): Likewise.
6978 (elf_machine_rela): Likewise.
6979
6980 2000-03-29 Andreas Jaeger <aj@suse.de>
6981
6982 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
6983 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6984 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6985 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6986 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6987 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
6988 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6989 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
6990 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6991 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
6992 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
6993 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
6994 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
6995 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6996 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6997
6998 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
6999 macros, remove K&R prototypes.
7000
7001 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7002
7003 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
7004 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
7005 (PR libc/1677).
7006
7007 2000-03-30 Andreas Jaeger <aj@suse.de>
7008
7009 * misc/sys/cdefs.h: Remove K&R support.
7010
7011 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7012
7013 * iconv/skeleton.c: Avoid compiling unaligned versions in some
7014 more cases.
7015 * iconv/loop.c: Likewise.
7016
7017 2000-03-29 Bruno Haible <haible@clisp.cons.org>
7018
7019 * iconv/loop.c (put16): Remove __const. Fix access index.
7020 (put32): Remove __const. Use uint32_t instead of uint16_t.
7021 * iconv/skeleton.c: Likewise.
7022
7023 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
7024
7025 * mach/Versions (libc: GLIBC_2.0)
7026 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
7027 __vm_allocate on this.
7028 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
7029 mutex- and spinlock-related symbols on this.
7030 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
7031 New version set. Lock-related symbols go here instead in this case.
7032 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
7033 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
7034 cthread_getspecific, cthread_setspecific, __libc_getspecific.
7035 * hurd/Versions
7036 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
7037 Put them here instead.
7038 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
7039 New version set. Those cthreads symbols go here instead in this case.
7040 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
7041
7042 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7043
7044 * elf/dl-init.c (_dl_init): We don't need to call constructors
7045 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
7046
7047 Implement dynamic determination of constructor/destructor order in
7048 the dynamic linker.
7049 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
7050 (GLIBC_2.2): Add _dl_init.
7051 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
7052 r_duplist is not anymore allocated separately. l_initfini is and
7053 therefore free it if necessary.
7054 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
7055 malloc block. Otherwise allocate l_initfini list only.
7056 Put dependencies for the object in l_initfini list.
7057 Sort dependencies for the object to be loaded topologically.
7058 * elf/dl-fini.c: Before running the destructors sort the topologically.
7059 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
7060 call constructors instead of iterating over the pointers. Get list of
7061 objects for which to run constructors from l_initfini element. Accept
7062 argc, argv, and env as parameters and pass them to the constructors.
7063 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
7064 with size of dynamic section.
7065 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
7066 _dl_init_next and calling constructors ourself.
7067 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
7068 Take argc, argv, and env as parameters and pass them to the
7069 constructors. Rewrite to call all constructors and not iterate over
7070 the pointers.
7071 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
7072 precompute l_initcount and l_preinitcount.
7073 * elf/link.h (struct link_map): Add l_ldnum member.
7074 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
7075 l_initcount, and l_preinitcount. Add l_initfini.
7076 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
7077 one for _dl_init.
7078 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
7079 function interface.
7080 * sysdeps/unix/sysv/linux/init-first.h: Removed.
7081 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
7082 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
7083 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
7084 conventions now match.
7085
7086 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
7087 effect for shared objects. Don't emit message and call only for
7088 static library.
7089
7090 2000-03-29 Ulrich Drepper <drepper@redhat.com>
7091
7092 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
7093 CSA_Z243.4-1985-1..UCS2.
7094 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
7095 ISO-8859-10..UCS2.
7096
7097 2000-03-29 Andreas Jaeger <aj@suse.de>
7098
7099 * include/unistd.h: Remove duplicate entry for __rmdir.
7100 Remove declaration of __mkdir since __mkdir is declared in
7101 sys/stat.h.
7102
7103 * manual/creature.texi (Feature Test Macros): Fix typo, reported
7104 by Michael Deutschmann <michael@talamasca.ocis.net>.
7105
7106 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
7107 * sysdeps/mips/fpu/fegetenv.c: Likewise.
7108 * sysdeps/mips/fpu/fesetenv.c: Likewise.
7109 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
7110 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
7111
7112 2000-03-28 Andreas Jaeger <aj@suse.de>
7113
7114 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
7115 declaration, the prototype is defined via bits/mathcalls.h.
7116 (__sincosf): Likewise.
7117 (__sincosl): Likewise.
7118 (ldexp): Likewise.
7119 (ldexpf): Likewise.
7120 (ldexpl): Likewise.
7121 (__finite): Likewise.
7122 (__inline_mathcodeNP): New macro without prototype
7123 declarations.
7124 (__inline_mathcodeNP2): Likewise.
7125 (__inline_mathcodeNP3): Likewise.
7126 (__inline_mathcodeNP_): Likewise.
7127 (__inline_mathcodeNP2_): Likewise.
7128 (__inline_mathcodeNP3_): Likewise.
7129 (__inline_mathopNP): Likewise.
7130 (__inline_mathop_declNP): Likewise.
7131 (__inline_mathop_declNP_): Likewise.
7132 (__inline_mathcode_): Use __inline_mathcodeNP_.
7133 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
7134 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
7135 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
7136 (__expm1l): Don't define prototype, the prototype is defined via
7137 bits/mathcalls.h.
7138 (exp): Likewise.
7139 (__expl): Likewise.
7140 (tan): Likewise.
7141 (atan2): Likewise.
7142 (__atan2l): Likewise.
7143 (fmod): Likewise.
7144 (pow): Likewise.
7145 (fabsf): Likewise.
7146 (fabsl): Likewise.
7147 (__fabsl): Likewise.
7148 (asin): Likewise.
7149 (acos): Likewise.
7150 (sinh): Likewise.
7151 (cosh): Likewise.
7152 (tanh): Likewise.
7153 (floor): Likewise.
7154 (ceil): Likewise.
7155 (expm1): Likewise.
7156 (log1p): Likewise.
7157 (asinh): Likewise.
7158 (acosh): Likewise.
7159 (atanh): Likewise.
7160 (hypot): Likewise.
7161 (logb): Likewise.
7162 (fma): Likewise.
7163 (drem): Likewise.
7164 (sqrt): Likewise.
7165 (__sqrtl): Likewise.
7166 (sin): Likewise.
7167 (cos): Likewise.
7168 (atan): Likewise.
7169 (log): Likewise.
7170 (log10): Likewise.
7171 (asinh): Likewise.
7172 (log2): Likewise.
7173 (rint): Likewise.
7174
7175 2000-03-28 Ulrich Drepper <drepper@redhat.com>
7176
7177 * Makerules: If make variable md5 is defined to yes after
7178 generating dependencies generate MD5 sum for the object.
7179
7180 * iconv/gconv_builtin.h: Fix length in transformation definition
7181 for UNICODEBIG.
7182
7183 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
7184
7185 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
7186 allow as well reading from/writing to unaligned addresses on machines
7187 which don't support this in hardware. Use FCTNAME macro to define
7188 function name. Include the file a second time for platforms which
7189 need special unaligned handling.
7190 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
7191 to access potentially unaligned addresses. These macros are intended
7192 to be used only outside the loops.
7193 (unaligned): New definition. In case the machine can handle unaligned
7194 access define as zero. Otherwise as a variable which is initialized
7195 as nonzero in case the buffer passed in at runtime is unaligned with
7196 respect to the character set encoding involved.
7197 Call aligned or unaligned looop functions according to unaligned
7198 variable.
7199 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
7200 of direct casting pointer to potentially handle unaligned memory
7201 accesses.
7202 * iconvdata/8bit-generic.c: Likewise.
7203 * iconvdata/ansi_x3.110.c: Likewise.
7204 * iconvdata/big5.c: Likewise.
7205 * iconvdata/euc-cn.c: Likewise.
7206 * iconvdata/euc-jp.c: Likewise.
7207 * iconvdata/euc-kr.c: Likewise.
7208 * iconvdata/euc-tw.c: Likewise.
7209 * iconvdata/gbk.c: Likewise.
7210 * iconvdata/iso-2022-cn.c: Likewise.
7211 * iconvdata/iso-2022-jp.c: Likewise.
7212 * iconvdata/iso-2022-kr.c: Likewise.
7213 * iconvdata/iso646.c: Likewise.
7214 * iconvdata/iso_6937-2.c: Likewise.
7215 * iconvdata/iso_6937.c: Likewise.
7216 * iconvdata/johab.c: Likewise.
7217 * iconvdata/sjis.c: Likewise.
7218 * iconvdata/t.61.c: Likewise.
7219 * iconvdata/uhc.c: Likewise.
7220 * iconvdata/unicode.c: Likewise.
7221 * iconvdata/utf-16.c: Likewise.
7222
7223 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
7224 prototypes.
7225
7226 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
7227 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
7228 public.
7229 * malloc/mcheck.h (mcheck_check_all): Declare.
7230
7231 * stdio-common/Makefile (tests): Add tst-obprintf.
7232
7233 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
7234
7235 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
7236 Declare pthread_sigmask.
7237
7238 * csu/version.c: Add 2000 to copyright years.
7239 Remove Emacs local variables section.
7240
7241 2000-03-23 Bruno Haible <haible@clisp.cons.org>
7242
7243 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
7244 __gconv_transform_internal_ucs2little): Remove declarations.
7245 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
7246 __gconv_transform_internal_ucs2): Never need to bswap_16.
7247 (__gconv_transform_ucs2reverse_internal,
7248 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
7249
7250 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
7251
7252 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
7253 obsoleting version not being defined at all, in which case the
7254 result is always true.
7255
7256 * Makeconfig (preprocess-versions): New canned sequence for running
7257 cpp on shlib-versions and the like.
7258 (soversions.i): Use it.
7259 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
7260 Versions.def and Versions files.
7261
7262 2000-03-27 Ulrich Drepper <drepper@redhat.com>
7263
7264 * stdio-common/tst-obprintf.c (main): Add another check to see
7265 obstack_printf handling all possible beginnings of the block
7266 inside an obstack chunk.
7267
7268 * locale/programs/localedef.c: Use __malloc_initialize_hook to
7269 install mcheck handler.
7270
7271 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
7272 handling problem.
7273
7274 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
7275
7276 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
7277
7278 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
7279 on [HAVE_ELF && DO_VERSIONING].
7280
7281 2000-03-27 Ulrich Drepper <drepper@redhat.com>
7282
7283 * stdio-common/tst-obprintf.c: New file.
7284
7285 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7286
7287 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
7288 _IO_OVERFLOW directly instead through __overflow.
7289
7290 * locale/programs/localedef.c (construct_output_path): If path
7291 contains a / compute the end of the directory name correctly.
7292
7293 * include/features.h: Undef and document __USE_XOPEN2K.
7294
7295 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
7296 whenever a function is called. Initiated by calling mcheck_pedantic
7297 instead of mcheck.
7298 * malloc/mcheck.h: Declare mcheck_pedantic.
7299 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
7300 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
7301 for now.
7302
7303 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
7304
7305 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
7306 * dlfcn/dlopenold.c: Likewise.
7307 * nss/getXXbyYY_r.c: Likewise.
7308 * nss/getXXent_r.c: Likewise.
7309 * hurd/hurdinit.c: Likewise.
7310 * hurd/compat-20.c: Likewise.
7311 * libio/oldiofopen.c: Likewise.
7312 * libio/oldiofclose.c: Likewise.
7313 * libio/oldiofdopen.c: Likewise.
7314 * libio/oldfileops.c: Likewise.
7315 * libio/oldstdfiles.c: Likewise.
7316 * libio/oldiofsetpos.c: Likewise.
7317 * libio/oldiofgetpos.c: Likewise.
7318 * libio/oldiofgetpos64.c: Likewise.
7319 * libio/oldiofsetpos64.c: Likewise.
7320 * libio/oldiopopen.c: Likewise.
7321 * libio/oldpclose.c: Likewise.
7322 * libio/oldtmpfile.c: Likewise.
7323 * libio/freopen.c (freopen): Likewise.
7324 * libio/iofclose.c (_IO_new_fclose): Likewise.
7325
7326 * sysdeps/mach/sys/reboot.h: Include <features.h>.
7327 (reboot): Declare it.
7328
7329 * libio/Makefile (headers): Add bits/stdio-lock.h here.
7330
7331 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
7332
7333 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
7334
7335 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
7336 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
7337 We need this for the sbrk decl, which can be included without Unix98.
7338
7339 2000-03-20 Richard Henderson <rth@cygnus.com>
7340
7341 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
7342 argument to yperr2nss is an int, not size_t.
7343 * posix/regex.c (print_partial_compiled_pattern): Cast all
7344 ptrdiff_t to long for printing.
7345 (print_compiled_pattern): Use Z for printing size_t.
7346 * posix/testfnm.c (tests): Avoid trigraphs.
7347 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7348 Use a C comment, not an assembly comment.
7349
7350 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
7351 of __ASSUME_32BITUIDS.
7352
7353 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7354
7355 * libio/iofopncook.c: Remove K&R prototypes.
7356
7357 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
7358
7359 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
7360 an initial value of 1024 instead of RLIM_INFINITY.
7361
7362 * Versions.def (libmachuser, libhurduser): Remove these sections,
7363 since these libraries do not presently use symbol versions.
7364
7365 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
7366 is RLIM_INFINITY, return -1 instead.
7367
7368 2000-03-24 Andreas Jaeger <aj@suse.de>
7369
7370 * Makefile (postclean): Added soversions.i.
7371
7372 2000-03-24 Scott Bambrough <scottb@netwinder.org>
7373
7374 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
7375 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
7376 and _FPU_IEEE. Change _FPU_RESERVED.
7377
7378 2000-03-24 Scott Bambrough <scottb@netwinder.org>
7379
7380 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
7381
7382 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7383
7384 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
7385 (gaih_inet): Remove unused duplicate variable.
7386
7387 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
7388 Don't use __libc_sa_len, which only exists for Linux. Just handle
7389 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
7390 only flavors supported by this function anyway.
7391
7392 2000-03-24 Geoff Clare <gwc@unisoft.com>
7393
7394 * stdlib/strfmon.c: Corrected problems with missing signs and
7395 missing or extra spaces; allow for sign strings longer than
7396 one character; add padding to ensure positive and negative
7397 formats are aligned when a left precision is used.
7398
7399 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7400
7401 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
7402 Patch by John Mizel <John.Mizel@msdw.com>.
7403
7404 2000-03-25 Ulrich Drepper <drepper@redhat.com>
7405
7406 * manual/install.texi: Remove references to crypt add-on.
7407
7408 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
7409
7410 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
7411 section while taking the _hurd_rlimit_lock.
7412 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7413
7414 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7415
7416 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
7417 using $(LN_S).
7418
7419 * sysdeps/mach/hurd/if_index.c: New file.
7420
7421 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
7422 * sysdeps/gnu/net/if.h: here.
7423 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
7424 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
7425 * sysdeps/generic/net/if.h: New file. Declares just the standard
7426 functions and `struct if_nameindex' type.
7427 * socket/Makefile (headers): Add net/if.h here.
7428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
7429 * sysdeps/mach/hurd/Dist: Remove it here.
7430 * sysdeps/unix/sysv/linux/Dist: And here.
7431 * sysdeps/generic/if_index.c: Include <net/if.h>.
7432
7433 2000-03-24 Andreas Jaeger <aj@suse.de>
7434
7435 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
7436 access relocated entries in l_info.
7437 (elf_machine_got_rel): Likewise.
7438 (elf_machine_runtime_setup): Likewise.
7439 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
7440 (elf_machine_runtime_setup): Likewise.
7441 (__dl_runtime_resolve): Likewise.
7442
7443 2000-03-23 Ulrich Drepper <drepper@redhat.com>
7444
7445 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
7446 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
7447 according to RFC 2553.
7448 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
7449 * inet/getnameinfo.c: Likewise.
7450 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7451
7452 2000-03-23 Bruno Haible <haible@clisp.cons.org>
7453
7454 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
7455 Remove no-op pointer increment.
7456
7457 2000-03-23 Andreas Jaeger <aj@suse.de>
7458
7459 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
7460 follow change for libio.h from 2000-03-10.
7461
7462 2000-03-23 Andreas Jaeger <aj@suse.de>
7463
7464 * elf/dl-addr.c: Adjust include paths for ldsodefs location
7465 change.
7466 * elf/dl-debug.c: Likewise.
7467 * elf/dl-deps.c: Likewise.
7468 * elf/dl-error.c: Likewise.
7469 * elf/dl-fini.c: Likewise.
7470 * elf/dl-init.c: Likewise.
7471 * elf/dl-load.c: Likewise.
7472 * elf/dl-lookup.c: Likewise.
7473 * elf/dl-minimal.c: Likewise.
7474 * elf/dl-object.c: Likewise.
7475 * elf/dl-open.c: Likewise.
7476 * elf/dl-preinit.c: Likewise.
7477 * elf/dl-profile.c: Likewise.
7478 * elf/dl-profstub.c: Likewise.
7479 * elf/dl-reloc.c: Likewise.
7480 * elf/dl-runtime.c: Likewise.
7481 * elf/dl-support.c: Likewise.
7482 * elf/dl-symbol.c: Likewise.
7483 * elf/dl-version.c: Likewise.
7484 * elf/rtld.c: Likewise.
7485 * elf/sprof.c: Likewise.
7486 * sysdeps/generic/dl-cache.c: Likewise.
7487 * sysdeps/generic/dl-origin.c: Likewise.
7488 * sysdeps/generic/dl-sysdep.c: Likewise.
7489 * sysdeps/generic/elf/backtracesyms.c: Likewise.
7490 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7491 * sysdeps/generic/libc-start.c: Likewise.
7492 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7493 * sysdeps/powerpc/dl-machine.c: Likewise.
7494 * sysdeps/powerpc/elf/libc-start.c: Likewise.
7495 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7496 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7497 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
7498
7499 * elf/ldsodefs.h: Move file to ...
7500 * sysdeps/generic/ldsodefs.h: ... here.
7501
7502 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7503
7504 * sysdeps/mips/elf/ldsodefs.h: New file.
7505
7506 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
7507 entries in l_info.
7508 (_dl_check_map_versions): Likewise.
7509 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7510 * elf/dl-load.c (_dl_init_paths): Likewise.
7511 (_dl_map_object): Likewise.
7512 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
7513 (elf_get_dynamic_info): Likewise.
7514 * elf/do-lookup.h (FCT): Likewise.
7515 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
7516 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7517 * elf/dl-addr.c (_dl_addr): Likewise.
7518 * elf/dl-runtime.c (profile_fixup): Likewise.
7519 (fixup): Likewise.
7520 * elf/dl-init.c (_dl_init_next): Likewise.
7521 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
7522 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7523 (DISTINGUISH_LIB_VERSIONS): Likewise.
7524 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
7525 (elf_machine_rel): Likewise.
7526
7527 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
7528 for writable dynamic section.
7529
7530 2000-03-22 Ulrich Drepper <drepper@redhat.com>
7531
7532 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
7533 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7534
7535 2000-03-22 Andreas Jaeger <aj@suse.de>
7536
7537 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
7538 from latest Linux kernel.
7539
7540 2000-03-21 Andreas Jaeger <aj@suse.de>
7541
7542 * Versions.def: Add version 2.1.4.
7543
7544 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7545
7546 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
7547 * libio/oldiofopen.c: Likewise.
7548 * libio/oldiofclose.c: Likewise.
7549 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7550
7551 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
7552
7553 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
7554 indicating the first version set to obsolete the conditionalized code.
7555 (compat_symbol): New macro.
7556 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
7557 rhs be the ABI_* macro for the subsuming version. Assign increasing
7558 integer values to the ABI_* macros for supported versions.
7559 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
7560 compat_symbol macro.
7561
7562 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7563
7564 * nscd/connections.c (nscd_run): Pretty print.
7565 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
7566
7567 * manual/charset.texi: Fix typos. Rephrase.
7568 * manual/process.texi: Likewise.
7569 * manual/signal.texi: Likewise.
7570 Patches by Mike Coleman <mkc@kc.net>.
7571
7572 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
7573 versions.
7574 * libio/iofdopen.c: Likewise.
7575 * libio/iofgetpos.c: Likewise.
7576 * libio/iofgetpos64.c: Likewise.
7577 * libio/iofopen.c: Likewise.
7578 * libio/iofsetpos.c: Likewise.
7579 * libio/iofsetpos64.c: Likewise.
7580 * libio/iopopen.c: Likewise.
7581 * libio/oldiofopen.c: Likewise.
7582 * libio/pclose.c: Likewise.
7583 * sysdeps/gnu/siglist.c: Likewise.
7584 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7585
7586 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
7587 chance to expand VERSION_##lib##_##version.
7588
7589 * libio/fileops.c: Use new macros from shlib-compat.h to define
7590 versions.
7591 * libio/iofclose.c: Likewise.
7592 * libio/oldiofclose.c: Likewise.
7593 Patch by Roland McGrath <roland@frob.com>.
7594
7595 2000-03-21 Jakub Jelinek <jakub@redhat.com>
7596
7597 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
7598 Lay out struct sigcontext according to what really gets passed on
7599 the stack.
7600 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
7601 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
7602 (prgregset_t, prfpregset_t): Define to elf_* types.
7603 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
7604 Define to correct value.
7605 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
7606 sigcontext.
7607 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
7608
7609 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
7610
7611 * scripts/firstversions.awk: Allow multiple version sets in the
7612 "earliest version" specification, meaning that version sets in the
7613 gaps between listed versions should be folded into the earliest later
7614 version that is explicitly listed.
7615 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
7616 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
7617
7618 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7619
7620 * iconv/gconv_builtin.c: Include <endian.h>.
7621 * iconv/gconv_builtin.h: Add UCS-BE aliases.
7622 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
7623 according to current platform.
7624 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
7625 __gconv_transform_internal_ucs2reverse, and
7626 __gconv_transform_internal_ucs4le.
7627 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
7628 __gconv_transform_ucs2reverse_internal and
7629 __gconv_transform_internal_ucs2reverse.
7630 * iconvdata/Makefile (modules): Add UNICODE.
7631 (distribute): Add unicode.c.
7632 * iconvdata/gconv-modules: Add definitions for UNICODE module.
7633 * iconvdata/unicode.c: New file.
7634
7635 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
7636 determine byte order of input and convert accordingly.
7637
7638 * iconvdata/utf-16.c (gconv_init): Fix typo.
7639
7640 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7641
7642 * iconvdata/gconv-modules: Fix typo.
7643
7644 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
7645 more messages.
7646
7647 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
7648
7649 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7650
7651 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
7652
7653 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7654
7655 * misc/Makefile (routines): Add mincore.
7656
7657 2000-03-20 Andreas Jaeger <aj@suse.de>
7658
7659 * sysdeps/generic/mincore.c: New stub file.
7660
7661 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
7662 from latest Linux kernel.
7663
7664 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7665
7666 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
7667 _SC_GETPW_R_SIZE_MAX.
7668
7669 2000-03-20 Richard Henderson <rth@cygnus.com>
7670
7671 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
7672 in GLIBC_2.1.4.
7673
7674 2000-03-20 Richard Henderson <rth@cygnus.com>
7675
7676 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
7677 of arithmetic instructions.
7678
7679 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
7680 with the fpcr. Protect from INV exception.
7681 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
7682 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
7683 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
7684
7685 * sysdeps/alpha/fpu/s_copysign.c: New.
7686 * sysdeps/alpha/fpu/s_copysignf.c: New.
7687 * sysdeps/alpha/fpu/s_fabs.c: New.
7688 * sysdeps/alpha/fpu/s_fabsf.c: New.
7689 * sysdeps/alpha/fpu/s_rint.c: New.
7690 * sysdeps/alpha/fpu/s_rintf.c: New.
7691
7692 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
7693
7694 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7695 Kill sethae.
7696 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
7697 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
7698 Use physical addresses not KSEG addresses.
7699 (io_system): Add PYXIS.
7700 (io): Remove hae.reg, sys, hae_shift.
7701 (stb_mb, stw_mb, stl_mb, __sethae): New.
7702 (inline_outb, inline_outw, inline_outl): Don't set hae.
7703 (inline_inb, inline_inw, inline_inl): Likewise.
7704 (dense_sethae): New null function.
7705 (struct cpuinfo_data): New.
7706 (process_cpuinfo): Use local and stack variables, not static.
7707 Move readlink check here from init_iosys.
7708 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
7709 (_iopl): Simplify.
7710 (_hae_shift): Calculate it here.
7711 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
7712 add pciconfig_iobase.
7713
7714 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
7715
7716 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
7717 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
7718
7719 * scripts/versions.awk: Fixed version renaming code to distinguish
7720 libraries properly.
7721
7722 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7723
7724 * include/stdlib.h: Add prototype for __cxa_atexit.
7725
7726 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
7727 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
7728
7729 2000-03-17 Cristian Gafton <gafton@redhat.com>
7730
7731 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
7732 existing rtld-installed-name.
7733 ($(rtld-installed-name)): Request libc-$(version) be installed too.
7734 replace existing rtld-installed-name using $(symbolic-link-prog).
7735
7736 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7737
7738 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
7739 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
7740 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
7741 but not the former.
7742
7743 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7744
7745 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
7746 glob64. Since there is no glob64 in the LFS proposal applications
7747 can assume that glob handles LFS situations. glob64 is only needed
7748 if alternative filesystem functions are used.
7749
7750 2000-03-19 Geoff Clare <gwc@unisoft.com>
7751
7752 * sysdeps/generic/glob.c: Correct gl_pathc value returned
7753 when GLOB_DOOFFS is set; correct handling of patterns
7754 containing escaped wildcards (and no unescaped ones);
7755 GLOB_ERR flag was being ignored in some situations.
7756
7757 * posix/globtest.c, posix/globtest.sh: Updated to include
7758 tests for the problems fixed by the above changes to glob.c.
7759
7760 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
7761
7762 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
7763
7764 * Makeconfig (soversion.i): Use only first match for each lib.
7765
7766 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
7767
7768 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
7769 rather than $(sysd-dirs-done) to protect these rules.
7770
7771 * Makerules (version-renames.def): Target removed.
7772 (Versions.all): Depend on soversions.i directly and parse it.
7773
7774 * Makeconfig (soversions.i): New target, input-reading parts of
7775 soversions.mk generation moved here; result is a canonicalized
7776 list "LIB VERSION [SET]" for this configuration.
7777 (soversions.mk): Use that as input. Don't emit map-firstversions.
7778 * Makerules (version-renames.def): New target, generated from
7779 soversions.i with contents that was in $(map-firstversions).
7780 (Versions.all): Don't depend on soversions.mk, depend on
7781 version-renames.def instead; just cat it into the input.
7782
7783 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7784 for $(map-firstversions), which better handles it being empty.
7785
7786 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7787 supported version for libc 0.2.90.libio to GLIBC_2.2.
7788
7789 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7790 and use it to emit new variable `map-firstversions'.
7791 * scripts/firstversions.awk: New file.
7792 * Makerules (Versions.all): Use scripts/firstversions.awk and
7793 the $(map-firstversions) value to generate a modified versions list
7794 that includes renames in "A = B" syntax for each version set earlier
7795 than the "earliest symbol version" named in shlib-versions.
7796 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7797 rename version set A to B in the output to the intermediate file.
7798 * scripts/abi-versions.awk: New file.
7799 * Makerules (abi-versions.h): New target, generated by that script.
7800 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7801 * include/shlib-compat.h: New file, uses that generated header.
7802
7803 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
7804
7805 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7806 after stripping # comments, and then run it through cpp.
7807 This allows things like "%ifdef FOO" based on config.h settings.
7808 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7809
7810 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7811 and other errors that indicate a pseudo-receive happened, grok through
7812 the message buffer for port rights that need references fixed up.
7813
7814 2000-03-16 Andreas Jaeger <aj@suse.de>
7815
7816 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7817
7818 * sysdeps/unix/sysv/linux/madvise.c: Remove.
7819
7820 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7821 from latest Linux kernel.
7822 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7823
7824 * misc/sys/mman.h: Add prototype for mincore.
7825
7826 2000-03-17 Ulrich Drepper <drepper@redhat.com>
7827
7828 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7829 entry for GLIBC_2.0 version of setrlimit.
7830 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7831
7832 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7833
7834 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7835 * nis/nss_compat/compat-initgroups.c: Likewise.
7836 * nis/nss_nis/nis-initgroups.c: Likewise.
7837 * nis/nss_nis/nis-netgrp.c: Likewise.
7838 * nis/nss_nis/nis-proto.c: Likewise.
7839 * nis/nss_nis/nis-rpc.c: Likewise.
7840 * nis/nss_nis/nis-service.c: Likewise.
7841 * nis/ypclnt.c: Likewise.
7842
7843 2000-03-16 Andreas Jaeger <aj@suse.de>
7844
7845 * manual/Makefile: MAKEINFO is set to `:' from configure if it
7846 doesn't exist, correct checks. Fixes PR libc/1649.
7847
7848 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7849
7850 * nscd/hstcache.c: Restore correct UID.
7851 * nscd/pwdcache.c: Likewise.
7852 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7853
7854 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7855
7856 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7857 macros for register names, in line with 2000-03-14 linux change.
7858
7859 * sysdeps/mach/sched_yield.c: New file.
7860
7861 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
7862
7863 * sysdeps/generic/lockfile.c: Include <stdio.h>
7864 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7865 case <libio.h> defined them.
7866 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7867 from __internal_*.
7868 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7869 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7870
7871 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7872 for more pleasing parse error.
7873
7874 2000-03-16 Ulrich Drepper <drepper@redhat.com>
7875
7876 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7877 memory for eras.
7878 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7879
7880 * elf/Makefile: Add rules to compile and run constload1 test.
7881 * elf/constload1.c: New file.
7882 * elf/constload2.c: New file.
7883 * elf/constload3.c: New file.
7884
7885 2000-03-15 Ulrich Drepper <drepper@redhat.com>
7886
7887 * sysdeps/posix/open64.c: Make __open64 weak alias.
7888 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
7889 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7890 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7891 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7892 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
7893 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
7894 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7895 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7896 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7897 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
7898
7899 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7900
7901 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7902 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7903
7904 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7905
7906 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7907 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7908
7909 2000-03-08 Andreas Jaeger <aj@suse.de>
7910
7911 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
7912
7913 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7914
7915 * timezone/africa: Update from tzdata2000d.
7916 * timezone/asia: Likewise.
7917 * timezone/australasia: Likewise.
7918 * timezone/europe: Likewise.
7919 * timezone/northamerica: Likewise.
7920 * timezone/southamerica: Likewise.
7921
7922 * po/fr.po: Update from translation team.
7923 * po/de.po: Likewise.
7924
7925 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
7926 last parameter. Move code to add map to global scope from here...
7927 * elf/dl-open.c (dl_open_worker): ...here.
7928 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
7929 * elf/rtld.c: Adjust call to _dl_map_object_deps.
7930
7931 * locale/programs/ld-collate.c (collate_read): Fix warning.
7932
7933 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
7934 values and macros for register names.
7935
7936 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7937 returned by seek cookie function is -1.
7938
7939 2000-03-14 Andreas Jaeger <aj@suse.de>
7940
7941 * locale/localeconv.c (localeconv): Fix typo.
7942 Reported by Andre Charbonneau <andrec@corel.com>.
7943
7944 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7945
7946 * iconv/skeleton.c: Increment __invocation_counter in inner loop
7947 since modules depend on it counting the number of times the conversion
7948 function got called.
7949
7950 * iconv/gconv_open.c: Optimize loop to setup step data structure.
7951
7952 * iconv/gconv.h: Pretty print.
7953
7954 2000-03-04 Ulrich Drepper <drepper@redhat.com>
7955
7956 * posix/wordexp-test.c: Correct one of the tests added in the last
7957 change. Really get the root passwd entry to check again ~root.
7958
7959 2000-03-10 Andreas Jaeger <aj@suse.de>
7960
7961 * manual/filesys.texi (Working Directory): Fix last patch.
7962 Patch by Martin Buchholz <martin@xemacs.org>.
7963
7964 2000-03-10 Andreas Jaeger <aj@suse.de>
7965
7966 * manual/creature.texi (Feature Test Macros): Fix language.
7967
7968 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
7969
7970 * mach/devstream.c (devstream_write, devstream_read): New functions.
7971 (input, output): Functions removed.
7972 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
7973 using only the vanilla fopencookie interface.
7974
7975 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
7976 as macro for __io_functions.
7977 (funcsio): Use cookie_io_functions_t type name.
7978 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
7979
7980 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7981 fopencookie.
7982 (fopencookie): Use it.
7983 * libio/libio.h: Declare _IO_cookie_init.
7984 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
7985 _IO_cookie_init.
7986
7987 * libio/libio.h (__io_seek_fn): Fix second argument type
7988 to be a pointer, in line with the manual and the old stdio.
7989 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
7990
7991 * sysdeps/generic/bits/stdio-lock.h: New file.
7992 This is a stub with #error, but that's better than no file at all.
7993
7994 2000-03-09 Martin Buchholz <martin@xemacs.org>
7995
7996 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
7997 * manual/message.texi (Using gettextized software): Doc Fixes.
7998 * manual/message.texi (Message Translation): Doc Fixes.
7999 * manual/filesys.texi (File Size): Doc Fixes.
8000 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
8001 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
8002 * iconv/gconv_db.c (find_derivation): Doc Fixes.
8003 * manual/install.texi: Doc Fixes.
8004 * manual/search.texi (Hash Search Function): Doc Fixes.
8005 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
8006 * FAQ.in: Doc Fixes.
8007 * config.h.in: Doc Fixes.
8008 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
8009 Doc Fixes. `allows to' is not correct English.
8010
8011 * elf/rtld.c: Doc fixes.
8012 * manual/creature.texi (Feature Test Macros): Doc fixes.
8013 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
8014
8015 * manual/filesys.texi (Working Directory): Check for ERANGE to
8016 avoid infloop.
8017
8018 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
8019
8020 * string/argz-stringify.c (__argz_stringify): Fix loop termination
8021 conditions so as not to clobber the final '\0' when there is only one
8022 element in the vector.
8023
8024 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
8025
8026 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
8027 broken by 2000-02-27 change.
8028
8029 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
8030
8031 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
8032
8033 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
8034 argument type, for 2000-02-22 change in signal/signal.h declaration.
8035
8036 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
8037
8038 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
8039 to getdirentries64 (no __), since the Linux implementation
8040 has no __ name, and there is no declaration for the __ name.
8041
8042 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
8043
8044 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
8045 sed regexp so as not to break directory names including /../ within.
8046
8047 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
8048 The sysdeps/generic file is right for BSD. This file was in fact the
8049 Hurd file, but the only difference was the WNOREAP flag that was never
8050 actually implemented or used anywhere.
8051
8052 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
8053 since AC_PATH_PROG already does it for us.
8054 (PERL): Rewrite check added in 2000-02-29 change for syntactic
8055 correctness and sh portability. I replaced the broken check
8056 with a more sensible implementation of the apparently intended
8057 semantics, which might still be questionable. Using expr causes
8058 a non-numeric value for `perl -V:apiversion` to be accepted,
8059 refusing to use only a perl that reports a number less than 5;
8060 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
8061 * configure: Regenerated.
8062
8063 2000-03-08 Andreas Jaeger <aj@suse.de>
8064
8065 * manual/crypt.texi: Fix paths.
8066
8067 2000-03-07 Andreas Jaeger <aj@suse.de>
8068
8069 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
8070 were swapped.
8071 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
8072 libc/1636.
8073
8074 2000-03-06 Andreas Jaeger <aj@suse.de>
8075
8076 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
8077 in __sgn1l, otherwise g++ fails to parse this.
8078 Reported by Sean Chen <sean.chen@turbolinux.com>.
8079
8080 2000-03-03 Geoff Keating <geoffk@cygnus.com>
8081
8082 * configure.in: Compute sizeof-long-double.
8083 * configure: Regenerated.
8084 * config.make.in: Make sizeof-long-double available to sub-makes.
8085
8086 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
8087
8088 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8089 call.
8090
8091 2000-03-03 Geoff Keating <geoffk@cygnus.com>
8092
8093 * Makeconfig (rpath-dirs): Add crypt.
8094 (all-subdirs): Remove md5crypt.
8095 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
8096 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
8097 * sysdeps/generic/crypt-entry.c: Delete.
8098 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
8099 * sysdeps/generic/crypt.h: Delete.
8100 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
8101 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
8102 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
8103 * sysdeps/generic/des_impl.c: Delete.
8104 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
8105 * crypt/sysdeps: Delete.
8106 * crypt/crypt_util.c: Don't use `patchlevel.h'.
8107 * md5-crypt/Versions: Move to crypt/.
8108 * md5-crypt/md5-crypt.c: Move to crypt/.
8109 * md5-crypt/md5.c: Move to crypt/.
8110 * md5-crypt/md5c-test.c: Move to crypt/.
8111 * md5-crypt/md5test.c: Move to crypt/.
8112 * md5-crypt: Delete.
8113 * crypt/Makefile: Adjust for new structure.
8114
8115 2000-03-03 Paul Eggert <eggert@twinsun.com>
8116
8117 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
8118 define to 1 if not defined.
8119
8120 2000-03-03 Andreas Jaeger <aj@suse.de>
8121
8122 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
8123
8124 2000-03-03 Andreas Jaeger <aj@suse.de>
8125
8126 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
8127 cases.
8128 (xdr_int64_t): Correctly handle lower half.
8129 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
8130
8131 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
8132
8133 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8134 call.
8135
8136 2000-03-02 Andreas Jaeger <aj@suse.de>
8137
8138 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
8139 2.3.43.
8140
8141 2000-03-02 Andreas Jaeger <aj@suse.de>
8142
8143 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
8144
8145 2000-03-01 Andreas Jaeger <aj@suse.de>
8146
8147 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
8148 (tests): Added tst-getdate.
8149
8150 * time/tst-getdate.c: New file.
8151
8152 * time/datemsk: New file, needed for tst-getdate.
8153
8154 2000-02-29 Cristian Gafton <gafton@redhat.com>
8155
8156 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
8157
8158 2000-02-17 H.J. Lu <hjl@gnu.org>
8159
8160 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
8161
8162 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
8163 available.
8164 (svcudp_recv): Set up message with the new "xp_pad" field for
8165 IP_PKTINFO.
8166 (svcudp_reply): Support IP_PKTINFO if available.
8167
8168 2000-03-01 Andreas Jaeger <aj@suse.de>
8169
8170 * time/getdate.c (check_mday): Fix check for february.
8171 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
8172 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
8173
8174 2000-03-02 Andreas Jaeger <aj@suse.de>
8175
8176 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
8177 g++ fails to parse this.
8178 Reported by Sean Chen <sean.chen@turbolinux.com>.
8179
8180 2000-02-28 Ulrich Drepper <drepper@redhat.com>
8181
8182 * io/creat.c: Moved to...
8183 * sysdeps/generic/creat.c: ...here.
8184 * io/creat64.c: Moved to...
8185 * sysdeps/generic/creat64.c: ...here.
8186 * io/lockf.c: Moved to...
8187 * sysdeps/generic/lockf.c: ...here.
8188
8189 * crypt/crypt.texi: Moved to...
8190 * manual/crypt.texi: ...here.
8191 * crypt/examples/genpass.c: Moved to...
8192 * manual/examples/genpass.c: ...here.
8193 * crypt/examples/mygenpass.c: Moved to...
8194 * manual/examples/mygenpass.c: ...here.
8195 * crypt/examples/testpass.c: Moved to...
8196 * manual/examples/testpass.c: ...here.
8197
8198 * manual/Makefile (chapters): Add crypt.
8199 * manual/conf.texi: Add usual header for not-last chapter.
8200 * manual/crypt.texi: Add special header for last chapter.
8201
8202 2000-02-28 Geoff Keating <geoffk@cygnus.com>
8203
8204 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
8205 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
8206 complain if there is no crypt add-on.
8207 * crypt/configure: Removed.
8208
8209 * crypt/crypt.texi: Update documentation of US export restrictions
8210 to match the 14 Jan 2000 regulations.
8211
8212 2000-02-28 Geoff Keating <geoffk@cygnus.com>
8213
8214 * crypt: New subdirectory, merged in from the crypt add-on.
8215
8216 2000-02-28 Ulrich Drepper <drepper@redhat.com>
8217
8218 * include/unistd.h: Add __rmdir and __mkdir prototypes.
8219
8220
8221 See ChangeLog.10 for earlier changes.
This page took 0.37138 seconds and 6 git commands to generate.