1 2005-08-08 Ulrich Drepper <drepper@redhat.com>
3 * nscd/cache.c (cache_add): Commit hash table and header to disk.
5 * nscd/mem.c (mempool_alloc): Use posix_fallocate instead of ftruncate.
6 * nscd/connections.c (nscd_init): Likewise.
8 2005-08-08 Jakub Jelinek <jakub@redhat.com>
10 * stdio-common/fxprintf.c: Include libioP.h.
12 * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname,
13 getdomainname): Add __NTH.
14 * stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs):
16 (realpath): Likewise. Use __const instead of const. Add __restrict
18 * socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf.
19 * wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset,
20 wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb,
21 mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH.
22 * string/bits/string3.h (__memset_ichk): Likewise.
23 (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk,
24 __stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk,
25 __strncat_ichk): Likewise. Use __const instead of const.
26 (__stpncpy_chk): Use __const instead of const.
27 (__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29 2005-08-08 Ulrich Drepper <drepper@redhat.com>
30 Jakub Jelinek <jakub@redhat.com>
32 * nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move
34 * nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here.
35 * nscd/connections.c (usekey): New enum.
36 (check_use, verify_persistent_db): New functions.
37 (nscd_init): If persistent database is corrupted, unlink it and
38 recreate rather than falling back to non-persistent database.
39 Call verify_persistent_db. Avoid overflows in total computation.
41 2005-08-08 Ulrich Drepper <drepper@redhat.com>
43 * iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code
44 better readable. Avoid passing var to loop function, it's not
47 2005-08-07 Ulrich Drepper <drepper@redhat.com>
49 * elf/elf.h (DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO
52 2005-08-05 Ulrich Drepper <drepper@redhat.com>
54 * timezone/checktab.awk: Update from tzcode2005k.
55 * timezone/private.h: Likewise.
56 * timezone/scheck.c: Likewise.
57 * timezone/tzselect.ksh: Likewise.
58 * timezone/zdump.c: Likewise.
59 * timezone/zic.c: Likewise.
60 * timezone/africa: Update from tzdata2005k.
61 * timezone/antarctica: Likewise.
62 * timezone/asia: Likewise.
63 * timezone/australasia: Likewise.
64 * timezone/europe: Likewise.
65 * timezone/iso3166.tab: Likewise.
66 * timezone/leapseconds: Likewise.
67 * timezone/northamerica: Likewise.
68 * timezone/solar87: Likewise.
69 * timezone/solar88: Likewise.
70 * timezone/solar89: Likewise.
71 * timezone/southamerica: Likewise.
72 * timezone/zone.tab: Likewise.
74 2005-08-05 Roland McGrath <roland@redhat.com>
76 * mach/shortcut.awk: Ignore `weak_alias' lines.
77 Reported by Alfred M. Szmidt <ams@gnu.org>.
79 * sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.
80 Reported by Alfred M. Szmidt <ams@gnu.org>.
82 2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com>
84 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
85 Use +=, not =, to append. Remove duplicate flags.
86 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
87 Likewise. Fix comments.
89 2005-08-01 Ulrich Drepper <drepper@redhat.com>
91 * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart system
92 call if it returned EINTR.
94 2005-07-31 Ulrich Drepper <drepper@redhat.com>
96 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Move
97 helper variable into .data.rel.ro. Simplify the code. Extend
98 comment to explain prelinking.
100 2005-07-31 Andreas Jaeger <aj@suse.de>
102 * include/bits/syslog.h: New file.
104 2005-07-30 Ulrich Drepper <drepper@redhat.com>
106 * elf/dl-load.c [__WORDSIZE==64] (FILEBUF_SIZE): Adjust the value
107 up. We have more program header entries now and the note section
108 was normally not loaded.
110 * nis/nis_subr.c: Some minor code cleanups.
112 2005-07-29 Ulrich Drepper <drepper@redhat.com>
114 * misc/bits/syslog.h: New file.
115 * misc/sys/syslog.h: Include <bits/syslog.h> for fortification.
116 * misc/Makefile (headers): Add bits/syslog.h.
117 * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto.
118 * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk.
119 Call __vfprintf_chk if necessary. Make vsyslog a wrapper. Add
121 * misc/Versions: Export __syslog_chk and __vsyslog_chk.
123 2005-07-28 Thomas Schwinge <schwinge@nic-nac-project.de>
126 * misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
128 2005-07-28 Ulrich Drepper <drepper@redhat.com>
130 * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper
133 2005-07-28 Jakub Jelinek <jakub@redhat.com>
135 * stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
137 * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
139 2005-07-28 Ulrich Drepper <drepper@redhat.com>
141 * nis/nis_file.c: Rewrite the two pairs of functions into wrappers
142 around a pair of new, generalized functions. 22% size reduction.
144 2005-07-27 Ulrich Drepper <drepper@redhat.com>
146 * nis/nis_xdr.c: Remove unnecessary cast which might hide bugs.
147 Rearrange code. This reduces the code size 10%.
149 2005-07-26 Jakub Jelinek <jakub@redhat.com>
151 * misc/error.c (error_tail): Fix a comment typo.
153 2005-07-25 Ulrich Drepper <drepper@redhat.com>
155 * po/zh_TW.po: Update from translation team.
157 * debug/mbstowcs_chk.c: New file.
158 * debug/wcstombs_chk.c: New file.
159 * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk.
160 * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk.
161 * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs.
163 * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing.
165 2005-07-24 Ulrich Drepper <drepper@redhat.com>
167 * string/test-memset.c (test_main): Use negative byte value in
170 * string/test-memset.c (do_one_test): Compare effect of call, not
172 Add a few casts to avoid warnings.
174 2005-07-24 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
176 * sysdeps/sh/memset.S (memset): Correct 2nd argument handling.
178 2005-07-24 Ulrich Drepper <drepper@redhat.com>
181 * posix/Makefile (tests): Add tst-execvp4.
182 * posix/tst-execvp4.c: New file.
184 2005-07-24 Jakub Jelinek <jakub@redhat.com>
187 * posix/execvp.c (execvp): Change path_malloc to
188 char *, free that pointer on failure.
190 2005-07-24 Ulrich Drepper <drepper@redhat.com>
192 * wcsmbs/bits/wchar2.h: Use __FILE not FILE.
193 * wcsmbs/Makefile: Add rules to build and run tst-wchar-h.
194 * wcsmbs/tst-wchar-h.c: New file.
196 2005-07-22 Ulrich Drepper <drepper@redhat.com>
198 * stdio-common/fxprintf.c (__fxprintf): Define variable more local.
200 2005-07-22 Jakub Jelinek <jakub@redhat.com>
202 * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use
203 __gnuc_va_list rather than _G_va_list.
205 2005-07-22 Roland McGrath <roland@redhat.com>
208 * Makerules ($(objpfx)stubs): Fix last change.
210 2005-07-21 Roland McGrath <roland@redhat.com>
212 * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o).
214 * stdlib/Makefile (headers): Move bits/wchar.h to ...
215 * wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too.
217 2005-07-21 Jakub Jelinek <jakub@redhat.com>
219 * wcsmbs/bits/wchar2.h (swprintf): Remove format argument.
220 * debug/tst-chk1.c (do_test): Add test for swprintf with format
221 being the last argument.
223 2005-07-21 Thorsten Kukuk <kukuk@suse.de>
225 * debug/getgroups_chk.c (__getgroups_chk): Fix return value.
227 * stdio-common/fxprintf.c: Include string.h.
229 2005-07-20 Ulrich Drepper <drepper@redhat.com>
232 * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results.
233 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
234 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
236 2005-07-20 Bob Wilson <bob.wilson@acm.org>
237 Darin Petkov <darin@tensilica.com>
240 * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
242 2005-07-20 Jakub Jelinek <jakub@redhat.com>
244 * include/stdio.h (__fxprintf): Remove wfmt argument.
245 * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h.
246 (__fxprintf): Remove wfmt argument, create wfmt format string on
248 * argp/argp-fmtstream.c: Adjust all __fxprintf callers.
249 * argp/argp-help.c: Likewise.
250 * assert/assert-perr.c: Likewise.
251 * assert/assert.c: Likewise.
252 * gmon/gmon.c: Likewise.
253 * inet/rcmd.c: Likewise.
254 * malloc/obstack.c: Likewise.
255 * misc/error.c: Likewise.
256 * misc/getpass.c: Likewise.
257 * posix/getopt.c: Likewise.
258 * resolv/res_hconf.c: Likewise.
259 * stdio-common/perror.c: Likewise.
260 * stdio-common/psignal.c: Likewise.
261 * stdlib/fmtmsg.c: Likewise.
262 * sunrpc/auth_unix.c: Likewise.
263 * sunrpc/clnt_perr.c: Likewise.
264 * sunrpc/clnt_tcp.c: Likewise.
265 * sunrpc/clnt_udp.c: Likewise.
266 * sunrpc/clnt_unix.c: Likewise.
267 * sunrpc/svc_simple.c: Likewise.
268 * sunrpc/svc_tcp.c: Likewise.
269 * sunrpc/svc_udp.c: Likewise.
270 * sunrpc/svc_unix.c: Likewise.
271 * sunrpc/xdr.c: Likewise.
272 * sunrpc/xdr_array.c: Likewise.
273 * sunrpc/xdr_rec.c: Likewise.
274 * sunrpc/xdr_ref.c: Likewise.
275 * sysdeps/generic/wordexp.c: Likewise.
277 2005-07-20 Ulrich Drepper <drepper@redhat.com>
279 * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,
280 wcsrtombs, mbsnrtowcs, and wcsnrtombs.
281 * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk,
282 wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk.
283 * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk,
284 __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk.
285 * debug/tst-chk1.c: Add tests for new functions.
286 * debug/mbsnrtowcs_chk.c: New file.
287 * debug/mbsrtowcs_chk.c: New file.
288 * debug/wcrtomb_chk.c: New file.
289 * debug/wcsnrtombs_chk.c: New file.
290 * debug/wcsrtombs_chk.c: New file.
292 2005-07-19 Ulrich Drepper <drepper@redhat.com>
294 * stdio-common/Makefile (aux): Add fxprintf.
295 * stdio-common/fxprintf.c: New file.
296 * include/stdio.h: Add declaration for __fxprintf.
297 * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream
298 orientation test and two separate function calls.
299 * argp/argp-help.c: Likewise.
300 * assert/assert-perr.c: Likewise.
301 * assert/assert.c: Likewise.
302 * gmon/gmon.c: Likewise.
303 * inet/rcmd.c: Likewise.
304 * malloc/obstack.c: Likewise.
305 * misc/error.c: Likewise.
306 * misc/getpass.c: Likewise.
307 * posix/getopt.c: Likewise.
308 * resolv/res_hconf.c: Likewise.
309 * stdio-common/perror.c: Likewise.
310 * stdio-common/psignal.c: Likewise.
311 * stdlib/fmtmsg.c: Likewise.
312 * sunrpc/auth_unix.c: Likewise.
313 * sunrpc/clnt_perr.c: Likewise.
314 * sunrpc/clnt_tcp.c: Likewise.
315 * sunrpc/clnt_udp.c: Likewise.
316 * sunrpc/clnt_unix.c: Likewise.
317 * sunrpc/svc_simple.c: Likewise.
318 * sunrpc/svc_tcp.c: Likewise.
319 * sunrpc/svc_udp.c: Likewise.
320 * sunrpc/svc_unix.c: Likewise.
321 * sunrpc/xdr.c: Likewise.
322 * sunrpc/xdr_array.c: Likewise.
323 * sunrpc/xdr_rec.c: Likewise.
324 * sunrpc/xdr_ref.c: Likewise.
325 * sysdeps/generic/wordexp.c: Likewise.
328 * misc/Makefile: Add rules to build and run tst-error1.
329 * misc/tst-error1.c: New file.
330 * misc/error.c: Fix memory leak and possibly endless loop.
332 * configure.in: Check for -fstack-protector gcc option.
333 * config.make.in (have-ssp): Add template.
334 * nscd/Makefile (nscd-cflags): Add -fstack-protector if supported.
336 * nscd/nscd.c (main): Don't ignore result of chdir call.
338 2005-07-18 Roland McGrath <roland@redhat.com>
341 * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of
342 objdump command line.
344 2005-07-18 Ulrich Drepper <drepper@redhat.com>
346 * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE.
348 * nscd/connections.c: Fix a few wur warnings.
351 * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID
352 length. Patch by Ivan Gyurdiev <ivg2@cornell.edu>.
354 * debug/confstr_chk.c: New file.
355 * debug/getdomainname_chk.c: New file.
356 * debug/getgroups_chk.c: New file.
357 * debug/gethostname_chk.c: New file.
358 * debug/getlogin_r_chk.c: New file.
359 * debug/ttyname_r_chk.c: New file.
360 * posix/bits/unistd.h: Add definitions for new debug versions.
361 * debug/tst-chk1.c: Add tests for new functions.
362 * debug/Versions: Export new functions.
363 * debug/Makefile (routines): Add new files.
365 * stdlib/bits/stdlib.h: Fix typo.
367 2005-07-13 Thorsten Kukuk <kukuk@suse.de>
369 * manual/Makefile (libc/index.html): Depend on dir-add.texi.
371 2005-07-15 Ulrich Drepper <drepper@redhat.com>
373 * stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECT
375 * wcsmbs/bits/wchar2.h: Likewise.
377 2005-07-15 Andreas Jaeger <aj@suse.de>
379 * debug/Makefile (tst-lfschk3-ENV): New, set locale.
380 (tst-lfschk2-ENV): New.
381 (tst-lfschk1-ENV): New.
387 * include/stdlib.h: Remove malloc attribute from __posix_memalign.
388 * stdlib/stdlib.h: Likewise.
390 2005-07-15 Ulrich Drepper <drepper@redhat.com>
392 * wcsmbs/bits/wchar2.h: New file.
393 * include/bits/wchar2.h: New file.
394 * wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is
396 * wcsmbs/wcsncpy.c: Add __wcsncpy alias.
397 * string/bits/string3.h: Add fortified stpncpy definitions.
398 * sysdeps/generic/stpncpy_chk.c: New file.
399 * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h.
400 Export _IO_wstrn_jumps.
401 * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps.
402 * include/wchar.h: Declare __wcsncpy and __vswprintf_chk.
403 * debug/fgetws_chk.c: New file.
404 * debug/fgetws_u_chk.c: New file.
405 * debug/fwprintf_chk.c: New file.
406 * debug/swprintf_chk.c: New file.
407 * debug/vfwprintf_chk.c: New file.
408 * debug/vswprintf_chk.c: New file.
409 * debug/vwprintf_chk.c: New file.
410 * debug/wcpcpy_chk.c: New file.
411 * debug/wcpncpy_chk.c: New file.
412 * debug/wcscat_chk.c: New file.
413 * debug/wcscpy_chk.c: New file.
414 * debug/wcsncat_chk.c: New file.
415 * debug/wcsncpy_chk.c: New file.
416 * debug/wmemcpy_chk.c: New file.
417 * debug/wmemmove_chk.c: New file.
418 * debug/wmempcpy_chk.c: New file.
419 * debug/wmemset_chk.c: New file.
420 * debug/wprintf_chk.c: New file.
421 * debug/tst-chk1.c: Add tests for new functions.
422 * debug/Versions: Export new functions.
423 * debug/Makefile (routines): Add new functions.
425 2005-07-13 Ulrich Drepper <drepper@redhat.com>
427 * nscd/nscd_helper.c: Add a few __builtin_expect.
430 * nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
431 * nscd/nscd_helper.c (wait_on_socket): New function.
432 (get_mapping): Use wait_on_socket instead of poll. The former handles
433 EINTR of poll correctly.
434 (__nscd_open_socket): Likewise.
435 (get_mapping): Make sure BUF is aligned correctly.
436 (get_mapping): Use munmap on correct pointer.
438 2005-07-12 Ulrich Drepper <drepper@redhat.com>
440 * include/libc-symbols.h: Define macros for librt hidden symbols.
441 * include/time.h: Add librt_hidden_proto definition for clock_gettime.
442 * sysdeps/generic/clock_gettime.c: Add librt_hidden_def.
443 * sysdeps/unix/clock_gettime.c: Likewise.
445 * stdlib/bits/stdlib.h: New file.
446 * stdlib/stdlib.h: Include <bits/stdlib.h> if fortification is
448 * Makefile (headers): Add bits/stdlib.h.
449 * include/bits/stdlib.h: New file.
450 * debug/Depend: New file.
451 * debug/ptsname_r_chk.c: New file.
452 * debug/realpath_chk.c: New file.
453 * debug/wctomb_chk.c: New file.
454 * debug/Makefile (routines): Add ptsname_r_chk, realpath_chk, and
456 * debug/Versions: Export __ptsname_r_chk, __realpath_chk, and
458 * debug/tst-chk1.c: Add tests for __ptsname_r_chk, __realpath_chk, and
461 2005-07-12 Jakub Jelinek <jakub@redhat.com>
464 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h.
465 (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel
466 instead of read and close_not_cancel_no_status instead of close.
469 * sysdeps/s390/s390-64/bcopy.S (__bcopy): Use
470 HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
472 2005-06-27 Carlos O'Donell <carlos@systemhalted.org>
474 * posix/regcomp.c (re_compile_internal): Call __libc_lock_init
477 2005-07-08 Ulrich Drepper <drepper@redhat.com>
479 * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. Remove
481 * sysdeps/x86_64/fpu/s_sincos.S: New file.
483 * include/fenv.h: Add libm_hidden_proto for fesetround and
485 * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def.
486 * sysdeps/alpha/fpu/fesetround.c: Likewise.
487 * sysdeps/generic/feholdexcpt.c: Likewise.
488 * sysdeps/generic/fesetround.c: Likewise.
489 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
490 * sysdeps/i386/fpu/fesetround.c: Likewise.
491 * sysdeps/ia64/fpu/feholdexcpt.c: Likewise.
492 * sysdeps/ia64/fpu/fesetround.c: Likewise.
493 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
494 * sysdeps/powerpc/fpu/fesetround.c: Likewise.
495 * sysdeps/s390/fpu/feholdexcpt.c: Likewise.
496 * sysdeps/s390/fpu/fesetround.c: Likewise.
497 * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise.
498 * sysdeps/sh/sh4/fpu/fesetround.c: Likewise.
499 * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
500 * sysdeps/sparc/fpu/fesetround.c: Likewise.
501 * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise.
502 * sysdeps/x86_64/fpu/fesetround.c: Likewise.
503 * sysdeps/generic/s_significand.c (__significand): Use __ilogb not
505 * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf
507 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and
508 __cos, not sin and cos.
510 2005-07-07 Ulrich Drepper <drepper@redhat.com>
512 * resolv/res_send.c (send_dg): Recognize referral results and
513 treat them as server errors.
514 Based on a patch by Jason Vas Dias <jvdias@redhat.com>.
516 2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
518 * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.
520 * sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0.
521 * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise.
522 * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise.
523 * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise.
524 * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
525 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
527 2005-07-07 Ulrich Drepper <drepper@redhat.com>
529 * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better.
530 * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise.
531 * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise.
532 * sysdeps/generic/s_ctan.c (__ctan): Likewise.
533 * sysdeps/generic/s_ctanf.c (__ctanf): Likewise.
534 * sysdeps/generic/s_ctanl.c (__ctanl): Likewise.
536 2005-04-13 H.J. Lu <hongjiu.lu@intel.com>
539 * csu/elf-init.c (__preinit_array_start): Take int, char **, char **.
540 (__preinit_array_end): Likewise.
541 (__init_array_start): Likewise.
542 (__init_array_end): Likewise.
543 (__libc_csu_init): Take int argc, char **argv, char **envp.
544 Call preinit_array and init_array with argc, argv, envp.
545 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove
547 * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed.
548 * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c,
549 tst-array5dep.c, and tst-array5.exp.
550 (tests): Add tst-array5.
551 (tests-static): Add tst-array5-static.
552 ($(objpfx)tst-array5): New target.
553 ($(objpfx)tst-array5.out): Likewise.
554 ($(objpfx)tst-array5-static.out): Likewise.
555 * elf/tst-array5-static.c: New file.
556 * elf/tst-array5-static.exp: Likewise.
557 * elf/tst-array5.c: Likewise.
558 * elf/tst-array5.exp: Likewise.
559 * elf/tst-array5dep.c: Likewise.
561 2005-07-07 Ulrich Drepper <drepper@redhat.com>
563 * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype.
565 2005-07-05 Jakub Jelinek <jakub@redhat.com>
567 * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition.
568 Reported by Ulrich Weigand <uweigand@de.ibm.com>.
570 * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition.
572 2005-07-06 Ulrich Drepper <drepper@redhat.com>
574 * elf/dl-error.c (_dl_signal_error): When testing for executable
575 being relocated, take into account that nothing might even be loaded.
577 * elf/dl-reloc.c [PROF] (_dl_relocate_object): Define
578 consider_profiling always to zero. Don't count of compiler to
579 remove unreached if block.
580 * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile):
582 * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
583 * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
584 * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile):
586 * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile):
588 * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF]
589 (_dl_profile_resolve): Likewise.
590 * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF]
591 (_dl_profile_resolve): Likewise.
592 * gmon/Makefile: Add rules to build and run tst-profile-static.
593 * gmon/tst-profile-static.c: New file.
594 * Makeconfig (+link-static): Allow passing program-specific flags.
596 2005-07-05 Thorsten Kukuk <kukuk@suse.de>
599 * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Check if NSS
600 module provides getgrgid_r.
601 (getgrnam_plusgroup): Preserve original return value.
602 * nis/nss_compat/compat-pwd.c (getpwnam_plususer): Preserve
603 original return value.
604 * nis/nss_compat/compat-spwd.c (getspnam_plususer): Likewise.
606 2005-07-05 Ulrich Drepper <drepper@redhat.com>
609 * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not
611 (build_wcs_upper_buffer): Likewise.
613 * csu/elf-init.c (__libc_csu_fini): Pretty printing.
615 2005-07-02 Roland McGrath <roland@redhat.com>
617 * NEWS: Note LinuxThreads removal.
618 * manual/install.texi (Installation): Don't mention linuxthreads.
619 (Configuring and compiling): Don't use linuxthreads as example.
621 * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only,
623 * sysdeps/unix/sysv/linux/configure: Regenerated.
624 * resolv/Depend: Add nptl.
625 * rt/Depend: Likewise.
627 * linuxthreads, linuxthreads_db: Directories removed (preserved in
630 2005-06-27 Jakub Jelinek <jj@ultra.linux.cz>
633 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated,
636 2005-06-16 Jakub Jelinek <jakub@redhat.com>
639 * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
641 2005-06-23 Thorsten Kukuk <kukuk@suse.de>
644 * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR
645 with own translation.
647 2005-06-25 Jakub Jelinek <jakub@redhat.com>
650 * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast
651 t2 to uint32_t instead of ulong.
652 * sunrpc/Makefile (tests): Add tst-xdrmem.
653 * sunrpc/tst-xdrmem.c: New test.
655 * Versions.def (ld): Add GLIBC_2.4.
656 * configure.in: Add --enable-stackguard-randomization option.
657 (ENABLE_STACKGUARD_RANDOMIZE): New define.
658 * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add.
659 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h.
660 (_dl_setup_stack_chk_guard): New inline function.
661 * sysdeps/generic/dl-osinfo.h: Include stdint.h.
662 (_dl_setup_stack_chk_guard): New inline function.
663 * elf/rtld.c (__stack_chk_guard): New variable.
664 (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE.
665 Set __stack_chk_guard to _dl_setup_stack_chk_guard (),
666 use THREAD_SET_STACK_GUARD if defined.
667 * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4.
668 * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable.
669 (__libc_start_main): Set __stack_chk_guard to
670 _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined.
671 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all
672 traces of TLS_INIT_TP_EXPENSIVE.
673 * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4.
674 * debug/Makefile (routines): Add stack_chk_fail.
675 (static-only-routines): Add stack_chk_fail_local.
676 * debug/stack_chk_fail_local.c: New file.
677 * debug/stack_chk_fail.c: New file.
678 * elf/Makefile: Add rules to build and run tst-stackguard1{,-static}
680 * elf/tst-stackguard1.c: New file.
681 * elf/tst-stackguard1-static.c: New file.
682 * elf/stackguard-macros.h: New file.
684 2005-06-21 Ulrich Drepper <drepper@redhat.com>
686 * resource/Makefile (tests): Add tst-getrlimit.
687 * resource/tst-getrlimit.c: New file.
689 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo.
690 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
691 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
693 2005-06-20 Ulrich Drepper <drepper@redhat.com>
695 * nscd/nscd.init: Get more in line with lsb3.
696 * nscd/nscd.c: Adjust some error codes to fit in better with lsb3.
697 * nscd/connections.c: Likewise.
699 2005-06-20 Jakub Jelinek <jakub@redhat.com>
702 * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for
703 _LINUX_QUOTA_VERSION >= 2.
704 (_LINUX_QUOTA_VERSION): Define if not yet defined.
706 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,
708 (RLIMIT_NLIMITS): Adjust.
709 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE,
711 (RLIMIT_NLIMITS): Adjust.
712 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE,
714 (RLIMIT_NLIMITS): Adjust.
715 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE,
717 (RLIMIT_NLIMITS): Adjust.
719 2005-06-17 Ulrich Drepper <drepper@redhat.com>
722 * time/mktime.c: Always include <string.h> for prototype of
723 implicitly used memcpy.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
727 (truncate64): Use __truncate, not truncate.
728 (__have_no_truncate64): Renamed from have_no_truncate64.
729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
730 (__have_no_truncate64): Renamed from have_no_truncate64.
732 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex
733 float functions for gcc 4.
735 2005-06-10 Jakub Jelinek <jakub@redhat.com>
737 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):
738 Handle prelinked libraries and binaries with new style PLT.
740 2005-06-07 Jakub Jelinek <jakub@redhat.com>
742 * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI,
743 R_PPC_REL16_HA): Define.
745 2005-06-14 Alan Modra <amodra@bigpond.net.au>
747 * config.h.in (HAVE_ASM_PPC_REL16): Add.
748 * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define.
749 * elf/tls-macros.h (PowerPC32): Include config.h. Add variants of
750 TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout.
751 * sysdeps/powerpc/powerpc32/configure.in: New file,
752 * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file.
753 * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define.
754 (ppc_got): New inline function.
755 (elf_machine_dynamic): Use ppc_got. Add attribute const.
756 (elf_machine_load_address): Add attribute const. Don't use int vars.
757 Use bcl rather than bl to save trashing branch target stack. Use
758 elf_machine_dynamic rather than duplicating code here.
759 (elf_machine_runtime_setup): New inline function replacing define.
761 (elf_machine_fixup_plt): Handle new PLT.
762 (elf_machine_rela): Likewise.
763 * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h.
764 (CALL_MCOUNT): Don't set up counter vars.
765 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment.
766 * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't
767 define when HAVE_ASM_PPC_REL16.
768 (_start): Add HAVE_ASM_PPC_REL16 code.
769 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl
770 into the GOT when HAVE_ASM_PPC_REL16.
771 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
772 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto.
773 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise.
774 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
775 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
776 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
777 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise.
778 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
779 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
780 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
781 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
782 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
783 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
784 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp):
786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise.
787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
788 (__getcontext): Likewise.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
790 (__setcontext): Likewise.
791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
792 (__swapcontext): Likewise.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock):
795 (__socket): Bomb if NARGS >= 7. Invoke CGOTSETUP and CGOTRESTORE.
797 2005-06-17 Ulrich Drepper <drepper@redhat.com>
800 * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
802 * sysdeps/posix/signal.c: Likewise.
803 * sysdeps/posix/sigset.c: Likewise.
804 * sysdeps/posix/sysv_signal.c: Likewise.
805 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
806 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
807 * sysdeps/unix/sysv/linux/system.c: Likewise.
809 2005-06-15 Jakub Jelinek <jakub@redhat.com>
812 * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
813 or both classes equal here.
814 (parse_config_file): If both classes are equal, clear the second one.
816 2005-06-08 Karl Kelley <kekelley@iastate.edu>
819 * hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
820 * hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no
821 valid classes were given or if both are equal.
822 (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
824 (parse_config_file): Handle classes keyword.
825 * hesiod/README.hesiod: Mention addition of the classes keyword.
827 2005-06-14 Ulrich Drepper <drepper@redhat.com>
830 * configure.in: Add test for availability of libaudit.
831 * config.h.in: Define HAVE_LIBAUDIT.
832 * config.make.in: Define have-libaudit.
833 * nscd/Makefile: If libaudit is available, link nscd with it.
834 * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
835 Patch by Steve Grubb <sgrubb@redhat.com>.
837 * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
838 * sysdeps/posix/posix_fallocate64.c: Likewise.
839 * include/string.h: Use libc_hidden_proto for strnlen.
840 * sysdeps/generic/strnlen.c: Add libc_hidden_def.
841 * include/libintl.h: Use libc_hidden_proto for __dcgettext.
842 * intl/dcgettext.c: Add libc_hidden_def.
843 * include/execinfo.h: Add libc_hidden_proto for __backtrace and
844 __backtrace_symbols_fd.
845 * sysdeps/generic/backtrace.c: Add libc_hidden_def.
846 * sysdeps/generic/backtracesymsfd.c: Likewise.
847 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
848 * sysdeps/i386/backtrace.c: Likewise.
849 * sysdeps/ia64/backtrace.c: Likewise.
850 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
851 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
852 * sysdeps/s390/s390-32/backtrace.c: Likewise.
853 * sysdeps/s390/s390-64/backtrace.c: Likewise.
855 2005-06-13 Ulrich Drepper <drepper@redhat.com>
857 * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case
858 where HANDLED_REALTIME is not defined. [BZ #966]
860 2005-06-13 Jakub Jelinek <jakub@redhat.com>
863 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
864 __netlink_receive): Remove prototypes.
865 (__netlink_request): New prototype.
866 * sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
868 (__netlink_sendreq): Make static.
869 (__netlink_receive): Rename to...
870 (__netlink_request): ... this. Add type argument, call
871 __netlink_sendreq. If MSG_TRUNC is set after recvmsg, retry
872 with a bigger buffer. Don't record buffers that contain no
873 messages we are expecting.
874 (getifaddrs): Use __netlink_request instead of __netlink_sendreq
875 and __netlink_receive pairs. Formatting.
876 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
877 __netlink_request instead of __netlink_sendreq and __netlink_receive
880 2005-06-13 Thorsten Kukuk <kukuk@suse.de>
882 * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel
883 headers, instead copy important structs/defines.
885 2005-06-13 Jakub Jelinek <jakub@redhat.com>
887 * elf/rtld.c (dl_main): Move DT_DEBUG setup before first
888 _dl_debug_state call.
890 2005-06-12 Ulrich Drepper <drepper@redhat.com>
892 * elf/dl-error.c (_dl_signal_error): Store information about use of
893 real malloc in the catch object.
894 (_dl_catch_error): Forward information about malloc use to caller
896 (_dl_out_of_memory): Make static.
897 * elf/dl-deps.c: Adjust callers of _dl_catch_error.
898 * elf/dl-libc.c: Likewise.
899 * elf/dl-open.c: Likewise.
900 * elf/rtld.c: Likewise.
901 Add new --audit option.
902 * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration.
903 (rtld_global_ro._dl_signal_error): Add new parameter.
904 * include/dlfcn.h (_dl_catch_error): Add new parameter.
905 * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to
906 _dl_catch_error. Only free if the returned newly value says so.
908 2005-06-01 Roland McGrath <roland@redhat.com>
911 * posix/tst-mmap.c (main): Fill the test file with enough data for the
914 2005-05-30 Jakub Jelinek <jakub@redhat.com>
916 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If
917 GLRO(dl_osversion) has been already set to a value smaller than
918 _dl_discover_osversion (), don't overwrite it here.
920 2005-05-24 Thomas Schwinge <schwinge@nic-nac-project.de>
922 * sysdeps/mach/i386/syscall.S (syscall): Call END.
924 2005-05-28 Richard Henderson <rth@redhat.com>
926 * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
927 * sysdeps/alpha/dl-dtprocnum.h: New file.
928 * sysdeps/alpha/dl-machine.h (DT_ALPHA): New.
929 (elf_machine_load_address): Simplify to rely on gprel relocations.
930 (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format.
931 Remove thread safety workaround for binutils 2.6.
932 (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format.
933 * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New.
934 (_dl_runtime_profile_new): New.
935 (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve.
936 (_dl_runtime_profile_old): Rename from _dl_runtime_profile. Fix
937 typo in _dl_call_pltexit argument loading.
939 * sysdeps/alpha/div_libc.h (funcnoplt): New.
940 * sysdeps/alpha/divl.S: Use it.
941 * sysdeps/alpha/divq.S: Likewise
942 * sysdeps/alpha/divqu.S: Likewise.
943 * sysdeps/alpha/reml.S: Likewise.
944 * sysdeps/alpha/remq.S: Likewise.
945 * sysdeps/alpha/remqu.S: Likewise.
947 2005-05-26 Andreas Schwab <schwab@suse.de>
949 * locale/Makefile (CFLAGS-loadlocale.c): Don't define.
951 2005-05-26 Ulrich Drepper <drepper@redhat.com>
953 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value.
954 Reported by Colin Gibbs <colin@gibbsonline.net>. [BZ #954]
956 2005-05-17 Alan Modra <amodra@bigpond.net.au>
958 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent
959 _dl_hwcap access in PIC && !SHARED case.
960 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
962 2005-05-25 Dwayne Grant McConnell <dgm69@us.ibm.com>
964 * gmon/gmon.c: Add space in weak_alias use.
965 * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
966 * sysdeps/alpha/htonl.S: Likewise.
967 * sysdeps/alpha/htons.S: Likewise.
968 * sysdeps/alpha/elf/start.S: Likewise.
969 * sysdeps/i386/i386-mcount.S: Likewise.
970 * sysdeps/ia64/strchr.S: Likewise.
971 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
972 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
973 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
974 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
975 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
976 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
977 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
978 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
979 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
980 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
981 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
982 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
983 * sysdeps/mach/hurd/readdir64_r.c: Likewise.
984 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
985 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
986 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
987 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
988 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
989 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
990 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
991 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
992 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
993 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
994 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
995 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
996 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
997 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
998 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
999 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1000 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1001 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1002 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1003 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1004 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1005 * sysdeps/sparc/sparc32/memset.S: Likewise.
1006 * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
1007 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1008 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1009 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1010 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1011 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1012 * sysdeps/sparc/sparc64/memset.S: Likewise.
1013 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1014 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1015 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1016 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1017 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1018 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1019 * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise.
1020 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1021 * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise.
1022 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
1023 * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise.
1024 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
1025 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1026 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1027 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1028 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1029 * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise.
1030 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1031 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1032 * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise.
1033 * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise.
1034 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1035 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1037 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1038 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1039 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1040 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1041 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1042 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1043 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1044 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1045 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise.
1046 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
1047 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
1048 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
1049 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
1050 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1051 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise.
1052 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1053 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1054 * sysdeps/x86_64/_mcount.S: Likewise.
1056 2005-05-24 Roland McGrath <roland@redhat.com>
1058 * sysdeps/unix/sysv/linux/i386/sysdep.h
1059 (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ...
1060 * sysdeps/i386/sysdep.h [PIC]: ... to here.
1062 2005-05-23 Roland McGrath <roland@redhat.com>
1064 * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm:
1065 Subdirectories moved to ports repository.
1066 * configure.in (base_machine): Remove arm* and thumb* patterns.
1067 * shlib-versions (arm.*-.*-linux.*): Remove this pattern.
1069 2005-05-23 Ulrich Drepper <drepper@redhat.com>
1072 * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd
1073 implementations are broken and don't accept ports < 512.
1075 2005-05-22 Dmitry V. Levin <ldv@altlinux.org>
1078 * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
1081 2005-05-23 Ulrich Drepper <drepper@redhat.com>
1084 * sunrpc/pm_getport.c (__get_socket): New function.
1085 (pmap_getport): Use it to open a non-reserved socket to the portmapper
1087 * include/rpc/pmap_clnt.h (__get_socket): Declare.
1088 * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an
1089 non-reserved socket for the portmapper.
1090 Based on a patch by Steve Dickson <steved@redhat.com>.
1093 * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port.
1094 If we tried looking at the usual range without success extend the
1095 range to even lower ports.
1097 * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch.
1099 2005-05-22 Andreas Schwab <schwab@suse.de>
1101 * elf/rtld.c: Include <dl-osinfo.h>.
1103 2005-05-17 Alan Modra <amodra@bigpond.net.au>
1105 * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use
1106 JUMPTARGET. Instead append @local to __syscall_error.
1107 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences
1108 of JUMPTARGET. Instead append @local to labels.
1109 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1110 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1111 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise.
1112 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
1117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1121 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants.
1122 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1123 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
1124 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1125 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Use one GOT
1126 slot to access both constants.
1127 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1128 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1130 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.
1131 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete.
1132 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete.
1133 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete.
1134 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo.
1135 (NEGZERO.0, POINTFIVE.0): Delete.
1136 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete.
1137 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete.
1138 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text.
1139 (TWO52.0, POINTFIVE.0): Delete.
1140 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text.
1141 (TWO23.0, POINTFIVE.0): Delete.
1142 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text.
1144 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text.
1146 * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
1148 2005-05-19 Richard Henderson <rth@redhat.com>
1150 * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around
1153 * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq,
1154 __arch_compare_and_exchange_bool_64_acq,
1155 __arch_compare_and_exchange_val_32_acq,
1156 __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add):
1157 Use __sync builtin without _si or _di suffix.
1159 2005-05-19 Jakub Jelinek <jakub@redhat.com>
1162 * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters
1165 2005-05-17 Andreas Schwab <schwab@suse.de>
1167 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1168 (clock_getcpuclockid): Always return a defined value.
1170 2005-05-17 Neal H. Walfield <neal@gnu.org>
1172 * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN]
1174 (gaih_inet): Likewise.
1176 2005-05-11 Ulrich Drepper <drepper@redhat.com>
1178 * elf/elf.h (Elf32_auxv_t): Make cross-compile safe.
1179 (Elf64_auxv_t): Likewise.
1180 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
1181 removal of a_ptr element in ElfXX_auxv_t.
1182 * elf/dl-support.c (_dl_aux_init): Likewise.
1184 2005-05-09 Daniel Jacobowitz <dan@codesourcery.com>
1186 * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.
1187 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1189 2005-05-09 Alan Modra <amodra@bigpond.net.au>
1191 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1192 .pushsection/.popsection in place of .section/.previous.
1194 2005-05-08 Ulrich Drepper <drepper@redhat.com>
1196 * MakeTAGS: Make xgettext not look into test cases.
1198 * MakeTAGS: Make sure translations in error calls are marked with
1199 c-format by xgettext.
1201 2005-05-07 Ulrich Drepper <drepper@redhat.com>
1203 * intl/libintl.h: Always use __attribute_format_arg__ for gettext
1204 functions since gcc sometimes forgets the attribute for the
1207 2005-05-06 Jakub Jelinek <jakub@redhat.com>
1210 * posix/regex_internal.h: Include bits/libc-lock.h or define dummy
1211 __libc_lock_* macros if not _LIBC.
1212 (struct re_dfa_t): Add lock.
1213 * posix/regcomp.c (re_compile_internal): Add __libc_lock_init.
1214 * posix/regexec.c (regexec, re_search_stub): Add locking.
1216 2005-05-04 Jakub Jelinek <jakub@redhat.com>
1218 * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix)
1219 as argument to the scripts.
1220 * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir.
1221 * intl/tst-gettext4.sh: Likewise. Use run_program_prefix argument.
1222 * intl/tst-gettext5.sh: Likewise.
1224 * intl/tst-translit.sh: Add mkdir -p.
1226 * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use
1227 .ifndef/.endif to allow use of this macro more than once per .S
1229 (LOAD_PIC_REG): New macro.
1230 * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame
1232 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1233 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1234 * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro. Add call frame
1236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1237 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1238 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1239 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1240 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1241 * sysdeps/i386/fpu/s_lrint.S: Likewise.
1242 * sysdeps/i386/fpu/s_llrint.S: Likewise.
1243 * sysdeps/i386/fpu/s_ilogbf.S: Likewise.
1244 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1245 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1246 * sysdeps/i386/fpu/e_log.S: Likewise.
1247 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1248 * sysdeps/i386/fpu/s_lrintl.S: Likewise.
1249 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1250 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1251 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1252 * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
1253 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1254 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1255 * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
1256 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1257 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1258 * sysdeps/i386/fpu/s_lrintf.S: Likewise.
1259 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1260 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1261 * sysdeps/i386/fpu/s_ilogbl.S: Likewise.
1262 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1263 * sysdeps/i386/fpu/e_powl.S: Likewise.
1264 * sysdeps/i386/fpu/e_powf.S: Likewise.
1265 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1266 * sysdeps/i386/fpu/e_logl.S: Likewise.
1267 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1268 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1269 * sysdeps/i386/fpu/e_pow.S: Likewise.
1270 * sysdeps/i386/fpu/e_logf.S: Likewise.
1271 * sysdeps/i386/fpu/e_log2.S: Likewise.
1272 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1273 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1274 * sysdeps/i386/fpu/s_llrintf.S: Likewise.
1275 * sysdeps/i386/fpu/s_ilogb.S: Likewise.
1276 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1277 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1278 * sysdeps/i386/fpu/e_log10.S: Likewise.
1279 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1280 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1281 * sysdeps/i386/fpu/s_llrintl.S: Likewise.
1282 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1283 * sysdeps/i386/fpu/s_nearbyint.S: Likewise.
1284 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1285 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1286 * sysdeps/i386/addmul_1.S: Various fixes to cfi handling.
1287 * sysdeps/i386/mul_1.S: Likewise.
1288 * sysdeps/i386/strtok.S: Likewise.
1289 * sysdeps/i386/sub_n.S: Likewise.
1290 * sysdeps/i386/submul_1.S: Likewise.
1291 * sysdeps/i386/i586/addmul_1.S: Likewise.
1292 * sysdeps/i386/i586/memcpy.S: Likewise.
1293 * sysdeps/i386/i586/mul_1.S: Likewise.
1294 * sysdeps/i386/i586/rshift.S: Likewise.
1295 * sysdeps/i386/i586/sub_n.S: Likewise.
1296 * sysdeps/i386/i586/submul_1.S: Likewise.
1297 * sysdeps/i386/i686/memcmp.S: Likewise.
1298 * sysdeps/i386/i686/memmove.S: Likewise.
1299 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1300 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1301 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1302 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1304 2005-05-03 Ulrich Drepper <drepper@redhat.com>
1306 * sysdeps/i386/add_n.S: Add call frame information.
1307 * sysdeps/i386/addmul_1.S: Likewise.
1308 * sysdeps/i386/bsd-setjmp.S: Likewise.
1309 * sysdeps/i386/lshift.S: Likewise.
1310 * sysdeps/i386/memchr.S: Likewise.
1311 * sysdeps/i386/memcmp.S: Likewise.
1312 * sysdeps/i386/mul_1.S: Likewise.
1313 * sysdeps/i386/rawmemchr.S: Likewise.
1314 * sysdeps/i386/rshift.S: Likewise.
1315 * sysdeps/i386/stpncpy.S: Likewise.
1316 * sysdeps/i386/strchr.S: Likewise.
1317 * sysdeps/i386/strchrnul.S: Likewise.
1318 * sysdeps/i386/strcspn.S: Likewise.
1319 * sysdeps/i386/strpbrk.S: Likewise.
1320 * sysdeps/i386/strrchr.S: Likewise.
1321 * sysdeps/i386/strspn.S: Likewise.
1322 * sysdeps/i386/strtok.S: Likewise.
1323 * sysdeps/i386/sub_n.S: Likewise.
1324 * sysdeps/i386/submul_1.S: Likewise.
1325 * sysdeps/i386/elf/bsd-setjmp.S: Likewise.
1326 * sysdeps/i386/i486/strcat.S: Likewise.
1327 * sysdeps/i386/i586/add_n.S: Likewise.
1328 * sysdeps/i386/i586/addmul_1.S: Likewise.
1329 * sysdeps/i386/i586/lshift.S: Likewise.
1330 * sysdeps/i386/i586/memcpy.S: Likewise.
1331 * sysdeps/i386/i586/memset.S: Likewise.
1332 * sysdeps/i386/i586/mul_1.S: Likewise.
1333 * sysdeps/i386/i586/rshift.S: Likewise.
1334 * sysdeps/i386/i586/strchr.S: Likewise.
1335 * sysdeps/i386/i586/strcpy.S: Likewise.
1336 * sysdeps/i386/i586/sub_n.S: Likewise.
1337 * sysdeps/i386/i586/submul_1.S: Likewise.
1338 * sysdeps/i386/i686/add_n.S: Likewise.
1339 * sysdeps/i386/i686/memcmp.S: Likewise.
1340 * sysdeps/i386/i686/memmove.S: Likewise.
1341 * sysdeps/i386/i686/mempcpy.S: Likewise.
1342 * sysdeps/i386/i686/memset.S: Likewise.
1343 * sysdeps/i386/i686/strtok.S: Likewise.
1344 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1345 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1346 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1347 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1348 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1349 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1351 * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4.
1353 * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available
1356 2005-04-29 Jakub Jelinek <jakub@redhat.com>
1359 * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
1360 call ftruncate if offset is bigger than current size. Make sure
1361 the file is offset + len bytes long if that is more than current size.
1362 Don't overwrite previous content of the file.
1363 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1366 2005-05-02 Roland McGrath <roland@redhat.com>
1369 * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
1371 2005-04-29 Roland McGrath <roland@redhat.com>
1373 * timezone/africa: Update from tzdata2005i.
1374 * timezone/asia: Likewise.
1375 * timezone/northamerica: Likewise.
1376 * timezone/yearistype: Likewise.
1378 * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.
1380 2005-04-29 Ulrich Drepper <drepper@redhat.com>
1383 * nis/nis_table.c: Fix realloc handling.
1384 * nis/nis_removemember.c: Likewise.
1386 2005-04-28 Ulrich Drepper <drepper@redhat.com>
1389 * nscd/Makefile: Help losers who use --with-headers.
1391 2005-04-28 Roland McGrath <roland@redhat.com>
1394 * sysdeps/unix/sysv/linux/dl-sysdep.h: New file.
1395 Define NEED_DL_SYSINFO_DSO for all platforms.
1397 * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
1398 * sysdeps/alpha/dl-sysdep.h: Likewise.
1399 Use #include_next instead of duplicating generic file's contents.
1400 * sysdeps/ia64/dl-sysdep.h: Likewise.
1401 * sysdeps/sparc/dl-sysdep.h: Likewise.
1403 2005-03-22 Steven Munroe <sjmunroe@us.ibm.com>
1405 * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
1407 2005-03-07 Steven Munroe <sjmunroe@us.ibm.com>
1410 * sysdeps/unix/sysv/linux/kernel-features.h
1411 (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1.
1412 (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1.
1413 (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting
1415 (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
1417 2005-04-28 Ulrich Drepper <drepper@redhat.com>
1419 * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.
1420 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1421 * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate
1422 cfi_startproc and cfi_endproc.
1424 * configure.in: Remove ultrasparc names.
1426 * sysdeps/i386/i686/memcmp.S: Move misplaced END.
1428 2005-03-27 Bruno Haible <bruno@clisp.org>
1430 Make it possible for multiple threads to use gettext() in different
1432 * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
1433 (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
1435 (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
1436 (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
1439 * intl/tst-gettext4.c: New file.
1440 * intl/tst-gettext4.sh: New file.
1441 * intl/tst-gettext4-de.po: New file.
1442 * intl/tst-gettext4-fr.po: New file.
1443 * intl/tst-gettext5.c: New file.
1444 * intl/tst-gettext5.sh: New file.
1445 * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po,
1446 tst-gettext4-fr.po, tst-gettext5.sh.
1447 (multithread-test-srcs): New variable.
1448 (test-srcs): Add its contents.
1449 (tests): Depend on tst-gettext4.out, tst-gettext5.out.
1450 (tst-gettext4.out, tst-gettext5.out): New rules.
1451 (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables.
1452 Add rule for linking the multithread-test-srcs with the appropriate
1455 2005-04-28 Ulrich Drepper <drepper@redhat.com>
1457 * po/rw.po: New file. From translation team.
1459 * scripts/config.guess: Update from upstream.
1460 * scripts/config.sub: Likewise.
1462 2005-04-27 Ulrich Drepper <drepper@redhat.com>
1465 * nscd/connections.c (nscd_run): Use time() value in prune_cache
1466 call, not timeout value, since the latter might be from another clock.
1468 2005-04-27 Roland McGrath <roland@redhat.com>
1471 * posix/unistd.h: Remove __nonnull from acct decl.
1473 * rt/tst-cpuclock1.c: New file.
1474 * rt/tst-cpuclock2.c: New file.
1475 * rt/tst-cputimer1.c: New file.
1476 * rt/tst-cputimer2.c: New file.
1477 * rt/tst-cputimer3.c: New file.
1478 * rt/Makefile (tests): Add them.
1480 * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
1481 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
1482 * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
1483 (HAS_CPUCLOCK): New macro.
1484 (clock_getcpuclockid): Function removed.
1485 #include the new linux file to define it instead.
1486 * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
1487 New function, broken out of ...
1488 (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it.
1489 (realtime_gettime): New function, broken out of ...
1490 (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it.
1491 (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
1492 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
1493 (SYSDEP_GETTIME_CPUTIME): New macro.
1494 (SYSDEP_GETTIME): Use both.
1495 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
1497 (SYSDEP_GETTIME): ... here. Use it.
1498 [__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
1499 (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying
1500 kernel support and falling back to hp-timing code.
1501 * sysdeps/posix/clock_getres.c
1502 [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
1503 (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it.
1504 (realtime_getres): New function, broken out of ...
1505 (clock_getres) [! HANDLED_REALTIME]: ... here. Call it.
1506 (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
1507 * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
1508 (SYSDEP_GETRES_CPUTIME): New macro.
1509 (SYSDEP_GETRES): Use both.
1510 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
1512 (SYSDEP_GETRES): ... here. Use it.
1513 [__NR_clock_getres] (HANDLED_CPUTIME): Define it.
1514 (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying
1515 kernel support and falling back to hp-timing code.
1516 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
1517 CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
1518 translating to the kernel clockid_t for our own process/thread clock.
1520 2005-04-27 Ulrich Drepper <drepper@redhat.com>
1522 * stdlib/test-canon.c: Make doesExist a directory and add more tests
1523 for the new error case.
1525 2004-06-02 Dmitry V. Levin <ldv@altlinux.org>
1526 Ranjani Murthy <ranmur@gmail.com>
1528 * stdlib/canonicalize.c (__realpath): Change realpath(3) to
1529 return NULL and set errno to ENOTDIR for such pathnames like
1530 "/path/to/existing-non-directory/".
1532 2005-04-26 Ulrich Drepper <drepper@redhat.com>
1535 * time/strptime_l.c (__strptime_internal): Handle 'z' to set
1537 * time/Makefile (tests): Add tst-strptime2.
1538 * time/tst-strptime2.c: New file.
1540 2005-04-26 Jakub Jelinek <jakub@redhat.com>
1543 * elf/dl-close.c: Include stddef.h.
1544 (_dl_close): If called recursively, just remember GC needs to be rerun
1545 and decrease l_direct_opencount. Avoid GC if l_direct_opencount
1546 decreased to 1. Rerun GC at the end if any destructor unloaded some
1547 additional libraries.
1548 * elf/Makefile: Add rules to build and run unload6 test.
1549 * elf/unload6.c: New test.
1550 * elf/unload6mod1.c: New file.
1551 * elf/unload6mod2.c: New file.
1552 * elf/unload6mod3.c: New file.
1554 * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
1555 if magic_p is not NULL.
1556 (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
1557 (malloc_check): Fail if sz == -1.
1558 (free_check): Adjust mem2chunk_check caller.
1559 (realloc_check): Likewise. Fail if bytes == -1. If bytes == 0 and
1560 oldmem != NULL, call free_check and return NULL. If reallocating
1561 and returning NULL, invert magic byte again to make oldmem valid
1562 region for further checking.
1563 (memalign_check): Fail if bytes == -1.
1564 * malloc/Makefile: Add rules to build and run tst-mcheck.
1565 * malloc/tst-mcheck.c: New test.
1567 2005-04-26 Ulrich Drepper <drepper@redhat.com>
1570 * stdio-common/vfscanf.c: Correctly account for characters of
1571 decimal points right after +-.
1573 2005-04-26 Roland McGrath <roland@redhat.com>
1575 * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
1576 ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
1578 2005-04-25 Roland McGrath <roland@redhat.com>
1580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1581 (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
1583 * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
1585 * elf/dl-load.c: Revert last change.
1587 2005-04-24 Ulrich Drepper <drepper@redhat.com>
1590 * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
1591 Patch by Hamed Malek <hamed@bamdad.org>.
1593 2005-04-21 Roland McGrath <roland@redhat.com>
1595 * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
1596 since Linux ignores it in user mmap calls.
1598 2005-04-17 David S. Miller <davem@davemloft.net>
1600 * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
1601 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1603 2005-04-15 Roland McGrath <roland@redhat.com>
1605 * timezone/Makefile (zic-deps): New variable.
1606 ($(testdata)/America/New_York): Use it instead of explicit deps.
1607 ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
1608 ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
1609 (%/UTC %/Universal): New pattern rule, replaces ...
1610 ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
1611 ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
1612 ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
1614 2005-04-14 Roland McGrath <roland@redhat.com>
1616 * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
1617 (extract): Filter-out distinfo file name.
1620 * MakeTAGS (text-srcs): Match %.bash.in files too.
1623 * nscd/Makefile (all-nscd-modules): New variable, include selinux
1624 module regardless of configuration.
1625 (distribute): Use that instead of $(nscd-modules).
1627 2005-04-13 David S. Miller <davem@davemloft.net>
1629 Add sparc64 TLS and NPTL support.
1630 * elf/tls-macros.h: Add Sparc64 defines.
1631 * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
1633 (elf_machine_fixup_plt): Likewise.
1634 (elf_machine_rela): Handle TLS relocations.
1635 (elf_machine_type_cleaa): Likewise.
1636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1637 (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
1638 It does not always fit in R_SPARC_GOT13 when building -fPIC.
1639 Also, add TLS handling.
1640 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1641 Increase it to 2.4.21 for sparc64.
1642 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
1643 backtrace by zero'ing out %fp. Store away flags, func_ptr,
1644 and func_arg in global registers not local registers.
1645 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
1646 and CTID arguments properly. Add RESET_PID handling.
1647 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
1648 do not invoke __sigprocmask(). We can always assume rt signals
1649 are present on sparc64, so just do an inline syscall.
1651 2005-04-13 Jakub Jelinek <jakub@redhat.com>
1653 * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
1654 inclusion guard for the first half of the header.
1655 (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
1656 ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
1657 elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
1658 #ifndef dl_machine_h guarded part of the header.
1660 2005-04-14 Ulrich Drepper <drepper@redhat.com>
1663 * posix/execvp.c (execvp): Use file name including path when
1664 trying to run it with shell.
1665 * posix/Makefile: Add rules to build and run tst-execvp3.
1666 * posix/tst-execvp3.c: New file.
1668 2005-04-12 Ulrich Drepper <drepper@redhat.com>
1671 * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
1672 * string/tst-strfry.c: New file.
1673 * string/Makefile (tests): Add tst-strfry.
1675 2005-04-11 James A. Morrison <ja2morri@uwaterloo.ca>
1677 * manual/string.texi: Fix typo in wmemcpy decl.
1679 2005-04-10 David S. Miller <davem@davemloft.net>
1681 * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
1683 2005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca>
1685 * FAQ.in: Explain why `make' might fail running rpcgen.
1688 2005-04-07 Roland McGrath <roland@redhat.com>
1690 * po/libc.pot: Regenerated.
1692 2005-04-07 Roland McGrath <roland@redhat.com>
1694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
1695 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
1696 GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
1697 we can skip the uname call if it's there.
1698 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
1699 DL_SYSDEP_OSCHECK here.
1700 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
1702 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
1703 Add _dl_sysinfo_map.
1704 * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
1705 rtld_is_main case. Call it unconditionally later.
1706 Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
1707 Initialize GLRO(dl_sysinfo_map).
1708 * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
1709 * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
1710 (_dl_important_hwcaps)
1711 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
1712 GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
1714 * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
1715 (hwcap_extra): New static variable.
1716 (is_hwcap_platform): Check hwcap_extra for a matching name.
1717 Remove tls special case.
1718 (path_hwcap): Likewise.
1719 (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
1720 and their names, stored in hwcap_extra.
1721 (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
1723 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
1724 _dl_hwcap and _dl_hwcap_mask.
1725 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
1726 AT_HWCAP to unsigned long int.
1727 * elf/dl-support.c (_dl_aux_init): Likewise.
1728 (_dl_hwcap): Update defn.
1730 * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
1731 * elf/ldconfig.c (search_dir): Likewise.
1733 2005-04-05 Roland McGrath <roland@redhat.com>
1735 * NEWS: Copy 2.3.5 section from 2.3 branch.
1737 * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary
1738 file and mv it into place.
1739 * intl/tst-gettext3.sh: Likewise.
1741 * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
1742 are up to date in srcdir. Touch all configure scripts after export.
1744 * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
1746 2005-04-05 H.J. Lu <hongjiu.lu@intel.com>
1749 * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
1750 (comment changes only).
1751 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1752 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1753 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1754 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1755 * sysdeps/ia64/fpu/e_exp.S: Likewise.
1756 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1757 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1758 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1759 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1760 * sysdeps/ia64/fpu/e_expf.S: Likewise.
1761 * sysdeps/ia64/fpu/e_log.S: Likewise.
1762 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1763 * sysdeps/ia64/fpu/e_pow.S: Likewise.
1764 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1765 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1766 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1767 * sysdeps/ia64/fpu/libm_error.c: Likewise.
1768 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1769 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1770 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1771 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1772 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1773 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1774 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1775 * sysdeps/ia64/fpu/s_cos.S: Likewise.
1776 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1777 * sysdeps/ia64/fpu/s_erf.S: Likewise.
1778 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1779 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1780 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1781 * sysdeps/ia64/fpu/s_erff.S: Likewise.
1782 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1783 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1784 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1785 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1786 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1787 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
1788 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1789 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1790 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1792 2005-04-05 Roland McGrath <roland@redhat.com>
1794 * scripts/config.guess: Update from master, timestamp='2005-03-24'.
1795 * scripts/config.sub: Update from master, timestamp='2005-02-10'.
1797 2005-04-04 David S. Miller <davem@davemloft.net>
1799 * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
1800 * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
1801 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1802 (elf_machine_runtime_setup): Test for dl_profile non-null.
1803 * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
1804 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1805 * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
1806 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1807 (elf_machine_runtime_setup): Test for dl_profile non-null.
1808 * sysdeps/sparc/bits/link.h: New file.
1809 * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
1810 La_sparc64_regs, La_sparc64_retval): New.
1811 (struct audit_ifaces): Add sparc entries.
1812 * elf/tst-auditmod1.c: Add sparc entries.
1814 2005-03-27 Bruno Haible <bruno@clisp.org>
1816 * intl/tst-gettext3.c: New file.
1817 * intl/tst-gettext3.sh: New file.
1818 * intl/Makefile (distribute): Add tst-gettext3.sh.
1819 (test-srcs): Add tst-gettext3.
1820 (tests): Depend on tst-gettext3.out.
1821 (tst-gettext3.out): New rule.
1822 (CFLAGS-tst-gettext3.c): New variable.
1824 Fix bug exposed by tst-gettext3.
1825 * intl/gettextP.h (struct converted_domain): New type.
1826 (struct loaded_domain): Remove the conv, conv_tab fields. Add
1827 conversions, nconversions fields.
1828 (_nl_init_domain_conv): Remove declaration.
1829 (_nl_free_domain_conv): Remove declaration.
1830 (_nl_find_msg): Add convert argument.
1831 * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
1832 (_nl_find_msg): Add convert argument. When a conversion to a different
1833 charset is needed, create a new converted_domain element, instead of
1834 throwing away the old converted translations.
1835 (get_output_charset): New function.
1836 * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
1837 (_nl_free_domain_conv): Remove function.
1838 (_nl_load_domain): Initialize the conversions array to empty. Use
1839 _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
1841 (_nl_unload_domain): Free the conversions array and its contents.
1843 * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
1844 (struct binding): Likewise.
1845 * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
1848 2005-04-04 Jakub Jelinek <jakub@redhat.com>
1851 * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
1852 of trying to encode uninitialized arglen.
1854 2005-04-04 Ulrich Drepper <drepper@redhat.com>
1857 * timezone/scheck.c: Update from tzcode2005h.
1858 * timezone/tzfile.h: Likewise.
1859 * timezone/zdump.c: Likewise.
1860 * timezone/zic.c: Likewise.
1863 * timezone/antarctica: Update from tzdata2005h.
1864 * timezone/asia: Likewise.
1865 * timezone/australasia: Likewise.
1866 * timezone/etcetera: Likewise.
1867 * timezone/europe: Likewise.
1868 * timezone/northamerica: Likewise.
1869 * timezone/southamerica: Likewise.
1870 * timezone/leapseconds: Likewise.
1871 * timezone/iso3166.tab: Likewise.
1873 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
1876 * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
1878 2005-04-01 Ulrich Drepper <drepper@redhat.com>
1880 * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
1881 * wcsmbs/wctob.c (wctob): Likewise.
1882 * wcsmbs/wchar.h (btowc): Add optimized inline function.
1885 2005-03-31 Jakub Jelinek <jakub@redhat.com>
1887 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
1888 equivalent, but shorter instructions.
1889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1890 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1891 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1892 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1893 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1894 * sysdeps/x86_64/strchr.S: Likewise.
1895 * sysdeps/x86_64/memset.S: Likewise.
1896 * sysdeps/x86_64/strcspn.S: Likewise.
1897 * sysdeps/x86_64/strcmp.S: Likewise.
1898 * sysdeps/x86_64/elf/start.S: Likewise.
1899 * sysdeps/x86_64/strspn.S: Likewise.
1900 * sysdeps/x86_64/dl-machine.h: Likewise.
1901 * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
1902 * sysdeps/x86_64/bsd-setjmp.S: Likewise.
1903 * sysdeps/x86_64/strtok.S: Likewise.
1905 2005-03-30 H.J. Lu <hongjiu.lu@intel.com>
1908 * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
1909 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
1910 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1911 * sysdeps/ia64/fpu/e_acosh.S: Likewise.
1912 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1913 * sysdeps/ia64/fpu/e_acos.S: Likewise.
1914 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1915 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1916 * sysdeps/ia64/fpu/e_asin.S: Likewise.
1917 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1918 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1919 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
1920 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
1921 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1922 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1923 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1924 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1925 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1926 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
1927 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1928 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1929 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
1930 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1931 * sysdeps/ia64/fpu/e_expf.S: Likewise.
1932 * sysdeps/ia64/fpu/e_exp.S: Likewise.
1933 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1934 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1935 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1936 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1937 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1938 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1939 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1940 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1941 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
1942 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1943 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1944 * sysdeps/ia64/fpu/e_log2.S: Likewise.
1945 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1946 * sysdeps/ia64/fpu/e_logl.S: Likewise.
1947 * sysdeps/ia64/fpu/e_log.S: Likewise.
1948 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1949 * sysdeps/ia64/fpu/e_powl.S: Likewise.
1950 * sysdeps/ia64/fpu/e_pow.S: Likewise.
1951 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1952 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1953 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1954 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1955 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1956 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1957 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1958 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1959 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1960 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1961 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1962 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1963 * sysdeps/ia64/fpu/libm_error.c: Likewise.
1964 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1965 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1966 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1967 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
1968 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1969 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1970 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1971 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1972 * sysdeps/ia64/fpu/libm_support.h: Likewise.
1973 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
1974 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1975 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1976 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1977 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1978 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1979 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1980 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1981 * sysdeps/ia64/fpu/s_cos.S: Likewise.
1982 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1983 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1984 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1985 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
1986 * sysdeps/ia64/fpu/s_erf.S: Likewise.
1987 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1988 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
1989 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1990 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
1991 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
1992 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
1993 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
1994 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
1995 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
1996 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
1997 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
1998 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
1999 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
2000 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
2001 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
2002 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
2003 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
2004 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
2005 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
2006 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
2007 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
2008 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
2009 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
2010 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
2011 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
2012 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
2013 * sysdeps/ia64/fpu/s_logb.S: Likewise.
2014 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
2015 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
2016 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
2017 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
2018 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
2019 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
2020 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
2021 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
2022 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
2023 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
2024 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
2025 * sysdeps/ia64/fpu/s_round.S: Likewise.
2026 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
2027 * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
2028 * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
2029 * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
2030 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
2031 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
2032 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
2033 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
2034 * sysdeps/ia64/fpu/s_tan.S: Likewise.
2035 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
2036 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2037 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2038 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2039 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2040 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2043 * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
2044 * sysdeps/ia64/fpu/libm_error_codes.h: New file.
2047 * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
2049 * sysdeps/ia64/fpu/import_file.awk: Likewise.
2050 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
2051 * sysdeps/ia64/fpu/Makefile: Likewise.
2053 2005-03-29 Jakub Jelinek <jakub@redhat.com>
2056 * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
2057 avoid calling mbsrtowcs twice.
2059 2005-03-29 Roland McGrath <roland@redhat.com>
2061 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
2062 function, inline broken out of ...
2063 (DL_SYSDEP_OSCHECK): ... here. Use that.
2064 Do the discovery and set GLRO(dl_osversion) if successful,
2065 if __LINUX_KERNEL_VERSION <= 0.
2066 * elf/dl-load.c: Don't include dl-osinfo.h here.
2068 2005-03-29 Alfred M. Szmidt <ams@gnu.org>
2070 * manual/install.texi (Tools for Compilation): GNU binutils 2.15
2073 2005-03-19 Bruno Haible <bruno@clisp.org>
2075 * intl/dcigettext.c (struct known_translation_t): Change type of
2076 domainname field to 'const char *'.
2077 (DCIGETTEXT): Remove const-cast.
2079 2005-03-29 Thorsten Kukuk <kukuk@suse.de>
2082 * grp/initgroups.c (internal_getgrouplist): Check if we have
2083 enough space before adding the primary group to the list.
2085 * posix/tst-execle1.c (do_test): Fix execle arguments.
2086 * posix/tst-execle2.c (do_test): Likewise.
2088 2005-03-28 Roland McGrath <roland@redhat.com>
2090 * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
2091 Reported by Mark Mitchell <mark@codesourcery.com>.
2092 * Versions.def (libm): Define GLIBC_2.4 set.
2093 * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
2094 * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
2095 * sysdeps/ia64/Versions: Likewise.
2096 * sysdeps/m68k/Versions: Likewise.
2097 * sysdeps/sparc/sparc64/Versions: Likewise.
2098 * sysdeps/x86_64/Versions: New file.
2099 * sysdeps/mips/mips64/Versions: New file.
2101 * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
2102 [__USE_GNU] (NL_LOCALE_NAME): New macro.
2103 * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
2104 return locale name string for the category.
2106 2005-03-25 Jakub Jelinek <jakub@redhat.com>
2108 * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
2111 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
2113 * sysdeps/mips/atomicity.h: Remove unused file.
2114 * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
2115 * sysdeps/mips/dl-tls.h: New file.
2116 * sysdeps/mips/libc-tls.c: New file.
2117 * sysdeps/mips/tls-macros.h: New file.
2118 * sysdeps/mips/bits/atomic.h: New file.
2119 * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
2120 * sysdeps/mips/elf/configure.in: New file.
2121 * sysdeps/mips/elf/configure: Generated.
2122 * sysdeps/mips/sys/asm.h: New file.
2123 * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
2124 * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
2126 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2127 (INTERNAL_SYSCALL_NCS): New.
2128 (INTERNAL_SYSCALL): Update for non-constant support.
2129 (internal_syscall0): Likewise.
2130 (internal_syscall1): Likewise.
2131 (internal_syscall2): Likewise.
2132 (internal_syscall3): Likewise.
2133 (internal_syscall4): Likewise.
2134 (internal_syscall5): Likewise.
2135 (internal_syscall6): Likewise.
2136 (internal_syscall7): Likewise.
2137 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
2138 Update to match the kernel.
2139 (SIGEV_CALLBACK): Likewise.
2140 (SIGEV_THREAD_ID): Likewise.
2142 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
2145 * elf/tst-auditmod1.c: Add MIPS support.
2146 * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
2147 (La_mips_32_retval): New.
2148 (La_mips_64_regs): New.
2149 (La_mips_64_retval): New.
2150 (struct audit_ifaces): Add MIPS entries.
2151 * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
2152 (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
2153 ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
2154 ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
2155 (RTLD_START): Align the stack before calling _dl_init_internal.
2156 Use .ent for _dl_start_user.
2157 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
2158 (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
2159 (elf_machine_runtime_setup): Use "auto inline".
2160 (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
2161 (elf_machine_got_rel): Likewise. Use RESOLVE_MAP.
2162 * sysdeps/mips/dl-trampoline.c: New file.
2163 * sysdeps/mips/bits/link.h: New file.
2164 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2165 (internal_syscall5): Use register operands instead of non-lvalue
2167 (internal_syscall6): Likewise.
2168 (internal_syscall7): Likewise.
2170 2005-03-27 Andreas Jaeger <aj@suse.de>
2172 * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
2173 avoid warnings with older compiler.
2174 (__builtin___memcpy_chk): Likewise.
2175 (__builtin___memmove_chk: Likewise.
2176 (__builtin___mempcpy_chk): Likewise.
2177 (__builtin___memset_chk): Likewise.
2178 (__builtin___stpcpy_chk): Likewise.
2179 (__builtin___strcat_chk): Likewise.
2180 (__builtin___strcpy_chk): Likewise.
2181 (__builtin___strncat_chk): Likewise.
2182 (__builtin___strncpy_chk): Likewise.
2183 (__builtin_object_size): Likewise.
2185 2005-03-27 Daniel Jacobowitz <dan@codesourcery.com>
2187 * elf/tls-macros.h: Correct typo.
2189 2005-03-23 Jakub Jelinek <jakub@redhat.com>
2192 * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
2193 (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
2195 2005-03-22 Roland McGrath <roland@redhat.com>
2197 * locale/setlocale.c: Comment typo.
2199 * scripts/versions.awk: No errors for GLIBC_PRIVATE.
2201 * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
2203 * scripts/versions.awk: Print all errors and die at the end.
2204 Use library name in versions array keys.
2206 2005-03-22 Daniel Jacobowitz <dan@codesourcery.com>
2208 * elf/elf.h (PT_ARM_EXIDX): New macro.
2210 2005-03-21 Thorsten Kukuk <kukuk@suse.de>
2213 * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
2214 Convert correctly between long/int on 64bit big-endian.
2216 2005-03-21 David Mosberger <davidm@hpl.hp.com>
2218 * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
2219 with more than 8 output registers. Fix this by passing original
2220 ar.pfs to _mcount_ret_helper via r3.
2222 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2225 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
2226 GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
2227 * elf/Makefile: Add rules to build and run tst-tls15.
2228 * elf/tst-tls15.c: New test.
2229 * elf/tst-tlsmod15a.c: New file.
2230 * elf/tst-tlsmod15b.c: New file.
2232 2005-03-20 Ulrich Drepper <drepper@redhat.com>
2234 * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
2236 2005-03-20 Alfred M. Szmidt <ams@gnu.org>
2238 * elf/dl-open.c (dl_open_worker): Fix typo.
2240 2005-03-20 Ulrich Drepper <drepper@redhat.com>
2242 * malloc/malloc.c (public_cALLOc): We cannot skip the memory
2243 clearing if perturb_byte != 0.
2245 2005-03-20 Jakub Jelinek <jakub@redhat.com>
2247 * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
2248 instead of __off_t for last argument.
2249 * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
2250 * debug/tst-lfschk1.c: New test.
2251 * debug/tst-lfschk2.c: New test.
2252 * debug/tst-lfschk3.c: New test.
2254 2005-02-09 Jakub Jelinek <jakub@redhat.com>
2256 * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
2257 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
2258 and __USE_XOPEN guards to match linux/bits/termios.h.
2259 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2261 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2263 2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
2265 * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
2267 2005-02-27 Denis Barbier <barbier@debian.org>
2270 * locale/iso-4217.def: Add CSD currency.
2272 2005-03-19 Ulrich Drepper <drepper@redhat.com>
2274 * inet/test-ifaddrs.c: Use test-skeleton.
2275 * inet/test_ifindex.c: Likewise.
2278 * elf/dl-lookup.c (add_dependency): Always search l_initfini if
2282 * elf/Makefile: Add rules to build and run order2.
2283 * elf/order2.c: New file.
2284 * elf/order2mod1.c: New file.
2285 * elf/order2mod2.c: New file.
2286 * elf/order2mod3.c: New file.
2287 * elf/order2mod4.c: New file.
2289 2005-03-19 Jakub Jelinek <jakub@redhat.com>
2292 * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
2293 it has been incremented before.
2295 2005-03-18 Ulrich Drepper <drepper@redhat.com>
2298 * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
2299 function _dl_sort_fini.
2300 (_dl_sort_fini): New function.
2301 * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
2302 * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
2303 destructors to call them in the right order.
2305 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
2307 * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
2308 (La_ppc64_retval): Correct size of lrc_fp.
2309 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
2310 Fix up ABI problems and complete function.
2312 2005-03-10 Jakub Jelinek <jakub@redhat.com>
2314 * math/test-misc.c (main): Add some more tests.
2316 2005-03-17 Jakub Jelinek <jakub@redhat.com>
2318 * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
2319 __wcrtomb. Check return values of other __wcrtomb calls.
2320 * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
2321 Change mbclen type to size_t.
2322 (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
2323 Handle mb chars whose upper case doesn't have multibyte representation
2324 in locale's charset.
2326 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2328 * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
2329 public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
2333 * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
2336 2005-03-10 Jakub Jelinek <jakub@redhat.com>
2338 * misc/sys/cdefs.h (__always_inline): Define.
2339 * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
2340 Use __always_inline instead of __inline.
2341 * socket/bits/socket2.h (recv, recvfrom): Likewise.
2342 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
2343 * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
2344 __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
2345 __strcat_ichk, __strncat_ichk): Use __always_inline instead of
2346 __inline__ __attribute__ ((__always_inline__)).
2348 2005-03-09 Jakub Jelinek <jakub@redhat.com>
2350 * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
2351 (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
2352 readlink. Add some more tests for read, pread, pread64, fgets and
2355 * posix/bits/unistd.h (read, pread, pread64, readlink,
2356 getcwd, getwd): Change macros into extern inline functions.
2357 (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
2358 __getcwd_alias, __getwd_alias): New prototypes.
2359 * socket/bits/socket2.h (recv, recvfrom): Change macros into
2360 extern inline functions.
2361 (__recv_alias, __recvfrom_alias): New prototypes.
2362 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
2363 into extern inline functions.
2364 (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
2366 * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
2368 * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
2371 2005-03-18 Daniel Jacobowitz <dan@codesourcery.com>
2373 * configure.in: Use %function instead of @function.
2375 2005-03-18 Ulrich Drepper <drepper@redhat.com>
2378 * include/link.h (struct link_map): Remove l_opencount. Add l_removed.
2379 Change type of l_idx to int.
2380 * elf/dl-close.c: Basically rewrite. Do not use l_opencount to
2381 determine whether a DSO has to be unloaded. Instead compute this
2383 * elf/dl-deps.c: No need to manipulate l_opencount anymore.
2384 * elf/dl-lookup.c: Likewise.
2385 * elf/rtld.c: Likewise
2386 * elf/dl-open.c: Likewise. Use l_init_called to determine whether
2387 object was just loaded.
2388 * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
2389 * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
2390 is about to be unloaded as a match.
2391 (_dl_map_object): Likewise.
2392 * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
2394 * elf/circleload1.c: Don't use l_opencount anymore.
2395 * elf/neededtest.c: Likewise.
2396 * elf/neededtest2.c: Likewise.
2397 * elf/neededtest3.c: Likewise.
2398 * elf/neededtest4.c: Likewise.
2399 * elf/unload.c: Likewise.
2400 * elf/unload2.c: Likewise.
2401 * elf/loadtest.c: Likewise.
2404 * elf/rtld.c: Preloading errors are now never fatal.
2406 2005-03-08 Jakub Jelinek <jakub@redhat.com>
2409 * elf/Makefile: Add rules to build and run unload5 test.
2410 * elf/unload5.c: New file.
2413 * elf/Makefile: Add rules to build and run unload4 test.
2414 * elf/unload4.c: New file.
2415 * elf/unload4mod1.c: New file.
2416 * elf/unload4mod2.c: New file.
2417 * elf/unload4mod3.c: New file.
2418 * elf/unload4mod4.c: New file.
2420 2005-03-17 Roland McGrath <roland@redhat.com>
2422 * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
2424 2005-03-16 Richard Henderson <rth@redhat.com>
2426 * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
2428 (__hidden_def1, __hidden_dot_def1): Remove.
2429 (__hidden_def2, __hidden_def3): Remove.
2430 (__hidden_ver1): New.
2431 (hidden_ver, hidden_def, hidden_weak): Use it.
2432 (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
2433 version of the macro.
2435 * include/wchar.h (__wcscoll): Remove.
2436 * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
2437 * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
2439 2005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
2441 * elf/elf.h: Define MIPS TLS relocations.
2443 2005-03-16 Ulrich Drepper <drepper@redhat.com>
2445 * elf/circleload1.c (main): Pretty printing.
2447 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2449 * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
2450 Patch by Dan Kegel <dank@kegel.com>.
2452 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
2453 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2455 * sysdeps/alpha/dl-machine.h (elf_machine_rela,
2456 elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
2458 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2459 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change
2460 static inline into auto inline.
2461 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2462 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
2463 * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
2465 * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
2466 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2469 2005-03-15 Jakub Jelinek <jakub@redhat.com>
2472 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
2473 Remove memory clobber.
2475 * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
2476 thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff.
2478 2005-03-14 Jakub Jelinek <jakub@redhat.com>
2480 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
2483 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
2485 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
2487 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2488 Correct MAP_GROWSDOWN value.
2490 2005-03-13 Roland McGrath <roland@redhat.com>
2492 * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
2493 version if there is one. Only #error if macros are then undefined.
2494 * sysdeps/generic/tls-macros.h: New file.
2496 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
2498 * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
2499 * sysdeps/hppa/configure: Regenerated.
2501 2005-03-08 Roland McGrath <roland@redhat.com>
2503 * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
2504 array types match exactly in C alias decls.
2506 2005-03-07 Ulrich Drepper <drepper@redhat.com>
2508 * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
2509 mallopt appropriately.
2510 * malloc/malloc.h: Define M_PERTURB.
2511 * malloc/malloc.c (perturb_byte): New variable.
2512 (alloc_perturb, free_perturb): New macros.
2513 (_int_malloc): Before returning, overwrite the memory if this is
2515 (_int_free): Overwrite freed memory if requested.
2516 (mALLOPt): Handle M_PERTURB.
2517 * test-skeleton.c: Add call to mallopt with M_PERTURB command.
2519 * elf/dl-close.c (_dl_close): Decrement l_opencount before
2520 printing debug message.
2521 * elf/dl-open.c (dl_open_worker): Always print the new opencount
2524 2005-03-06 Ulrich Drepper <drepper@redhat.com>
2526 * elf/dl-close.c (_dl_close): Unify debug message format.
2528 * elf/dl-close.c (_dl_close): Print debug message just before
2529 destroying a link map.
2531 * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
2532 * elf/dl-version.c (match_symbol): Likewise.
2534 * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
2536 * debug/recv_chk.c (__recv_chk): Always fail if request could
2537 overflow the buffer.
2538 * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
2539 * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
2540 we know the call succeeds.
2541 (recvfrom): Likewise.
2543 2005-03-05 Ulrich Drepper <drepper@redhat.com>
2545 * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
2547 * posix/regex_internal.c (re_string_reconstruct): Add cast to
2549 (build_wcs_upper_buffer): Change type of bug to plain char.
2550 * locale/weightwc.h (findidx): Add casts to avoid warnings.
2551 * time/mktime.c (ranged_convert): Initialize tm to make the
2553 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
2554 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
2555 * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
2556 * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
2557 * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
2558 * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
2559 * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
2560 * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
2561 * libio/iofwide.c: Add casts to avoid warnings.
2562 * stdio-common/printf-prs.c (parse_printf_format): Introduce new
2563 variable f to avoid warnings.
2564 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2565 Fix a few casts to avoid warnings.
2566 * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
2570 * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
2571 dynamically sized array.
2572 (build_wcs_upper_buffer): Likewise.
2574 2005-03-05 Jakub Jelinek <jakub@redhat.com>
2576 * include/bits/unistd.h: New file.
2577 * include/bits/socket2.h: New file.
2579 2005-03-05 Ulrich Drepper <drepper@redhat.com>
2581 * sunrpc/key_call.c: Remove doors support.
2582 * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
2583 * configure.in: Remove test for doors support which never existed.
2584 * config.make.in: Remove have_doors entry.
2586 * configure.in: Make sure at least gcc 3.4 is used. Undo last change.
2587 * config.make.in: Undo last change.
2589 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
2592 2005-03-05 Roland McGrath <roland@redhat.com>
2594 * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
2595 (_dl_out_of_memory): Use rtld_hidden_proto.
2596 * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
2597 (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
2598 * elf/dl-open.c (_dl_open): Likewise.
2599 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2601 * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
2603 * elf/dl-addr.c (_dl_addr): Add a cast.
2606 * elf/unload3mod4.c: Declare foo.
2607 * elf/testobj2.c: Include <stdio.h>.
2609 * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
2610 value constant, and use it in the defn.
2611 * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
2612 Use actual size for compat array decls.
2614 * config.make.in (cc-mtune): New substituted variable.
2615 * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
2616 done only if libc_mtune_example is defined.
2617 * sysdeps/i386/configure.in (libc_mtune_example): Set it.
2618 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
2620 2005-03-05 Jakub Jelinek <jakub@redhat.com>
2622 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
2623 unconditionally to (defined RTLD_BOOTSTRAP).
2624 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
2626 2005-03-05 Jakub Jelinek <jakub@redhat.com>
2628 * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
2629 $(inst_slibdir) in AS_NEEDED directive.
2631 2005-03-03 Jakub Jelinek <jakub@redhat.com>
2633 * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
2635 2005-03-01 H.J. Lu <hongjiu.lu@intel.com>
2638 * iconv/iconvconfig.c: Fix comment for the output file.
2639 (write_output): Clear padding in header.
2641 2005-03-03 Ulrich Drepper <drepper@redhat.com>
2644 * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
2645 loader is closed. Fixes unload3.
2646 * elf/tst-global1.c: New file.
2647 * elf/Makefile (tests): Add tst-global1.
2648 * elf/testobj2.c (p): New function.
2650 2005-03-03 Jakub Jelinek <jakub@redhat.com>
2653 * elf/Makefile: Add rules to build and run unload3 test.
2654 * elf/unload3.c: New test.
2655 * elf/unload3mod1.c: New file.
2656 * elf/unload3mod2.c: New file.
2657 * elf/unload3mod3.c: New file.
2658 * elf/unload3mod4.c: New file.
2660 2005-02-21 Alan Modra <amodra@bigpond.net.au>
2662 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
2665 2005-03-01 Jakub Jelinek <jakub@redhat.com>
2667 * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
2669 * socket/bits/socket2.h (recv, recvfrom): Likewise.
2671 2005-03-01 Roland McGrath <roland@redhat.com>
2674 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
2677 2005-03-01 Alfred M. Szmidt <ams@gnu.org>
2680 * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
2681 Add missing initializer.
2684 * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
2685 USE_TLS && !USE___THREAD].
2687 2005-02-26 GOTO Masanori <gotom@debian.or.jp>
2689 * csu/Makefile: Use printf instead of echo for some shells.
2691 2005-02-28 Roland McGrath <roland@redhat.com>
2693 * debug/warning-nop.c (__nop): Rename to nop, make it static.
2694 (__warndecl): Use alias attribute directly, instead of strong_alias
2695 macro. Add attribute_hidden.
2697 2005-02-28 Ulrich Drepper <drepper@redhat.com>
2699 * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
2700 determine the call will never trigger a failure.
2701 * debug/read_chk.c (__read_chk): Always fail if the buffer is too
2703 * debug/readlink_chk.c (__readlink_chk): Likewise.
2704 * debug/pread64_chk.c (__pread64_chk): Likewise.
2705 * debug/pread_chk.c (__pread_chk): Likewise.
2707 * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
2708 * sysdeps/x86_64/memset_chk.S: Likewise.
2710 2005-02-24 Roland McGrath <roland@redhat.com>
2712 * debug/Versions (libc: GLIBC_2.4): Remove
2713 __memset_zero_constant_len_parameter.
2714 * sysdeps/generic/memset_chk.c: Remove alias and warning.
2715 * misc/sys/cdefs.h (__warndecl): New macro.
2716 * debug/warning-nop.c: New file.
2717 * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
2718 arguments, instead of calling __memset_zero_constant_len_parameter.
2719 Use __warndecl for __warn_memset_zero_len.
2720 * debug/Makefile (routines): Add $(static-only-routines).
2721 (static-only-routines): New variable.
2723 2005-02-27 Ulrich Drepper <drepper@redhat.com>
2725 * po/tr.po: Update from translation team.
2727 2005-02-26 Ulrich Drepper <drepper@redhat.com>
2729 * elf/dl-addr.c: Cleanups. Move declaration next to first use.
2731 * dlfcn/dlerror.c (check_free): New function. Extract common code
2732 from fini and free_key_mem. Check whether this is libdl in the
2735 2005-02-25 Ulrich Drepper <drepper@redhat.com>
2737 * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
2740 2004-11-11 Richard Sandiford <rsandifo@redhat.com>
2743 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
2744 preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
2745 like __NR_N32_open. Just include <asm/unistd.h> otherwise.
2746 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2747 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
2748 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
2749 standard __NR prefix.
2750 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
2751 * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
2752 the output file is compatible with both pre-2.6 and 2.6 kernel headers.
2753 Extract separate syscall lists for each ABI.
2755 2005-02-23 Ulrich Drepper <drepper@redhat.com>
2757 * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
2760 * elf/Makefile: Run tst-tls9-static again.
2762 2005-02-22 Ulrich Drepper <drepper@redhat.com>
2765 * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
2767 (__libc_setup_tls): Initialize length of DTV based on array length.
2768 * elf/dl-load.c: Revert last change.
2769 * sysdeps/generic/dl-tls.c: Revert last change.
2771 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
2772 tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
2773 tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
2774 * posix/tst-execl1.c: New file.
2775 * posix/tst-execl2.c: New file.
2776 * posix/tst-execle1.c: New file.
2777 * posix/tst-execle2.c: New file.
2778 * posix/tst-execlp1.c: New file.
2779 * posix/tst-execlp2.c: New file.
2780 * posix/tst-execv1.c: New file.
2781 * posix/tst-execv2.c: New file.
2782 * posix/tst-execve1.c: New file.
2783 * posix/tst-execve2.c: New file.
2784 * posix/tst-execvp1.c: New file.
2785 * posix/tst-execvp2.c: New file.
2787 2005-02-22 Roland McGrath <roland@redhat.com>
2789 * include/signal.h: Revert last change.
2790 (__sigemptyset): Use __builtin_memset instead of memset.
2792 2005-02-22 Ulrich Drepper <drepper@redhat.com>
2794 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
2795 non-cancelable I/O functions.
2797 2005-02-22 Jakub Jelinek <jakub@redhat.com>
2800 * nscd/nscd-client.h: Include sys/uio.h.
2801 (__readall, __readvall, writeall): New prototypes.
2802 * nscd/connections.c (writeall): New function.
2803 (handle_request): Use it.
2804 * nscd/aicache.c (addhstaiX): Likewise.
2805 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2806 * nscd/hstcache.c (cache_addhst): Likewise.
2807 * nscd/grpcache.c (cache_addgr): Likewise.
2808 * nscd/pwdcache.c (cache_addpw): Likewise.
2809 * nscd/nscd_helper.c (__readall, __readvall): New functions.
2810 * nscd/nscd_getai.c (__nscd_getai): Use them.
2811 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
2812 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
2813 * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
2814 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2816 2005-02-22 Roland McGrath <roland@redhat.com>
2818 * include/sys/socket.h: Declare __recv.
2819 * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
2820 * sysdeps/mach/hurd/recv.c: Likewise.
2822 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
2823 __backtrace_* decls.
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2826 (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR.
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2829 * include/signal.h: Include <string.h> for memset decl.
2831 2005-02-22 Andreas Schwab <schwab@suse.de>
2833 * posix/execvp.c (execvp): Fix invalid free.
2835 2005-02-22 Jakub Jelinek <jakub@redhat.com>
2838 * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
2839 * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
2840 librpcsvc.a objects.
2842 2005-02-21 Ulrich Drepper <drepper@redhat.com>
2845 * iconvdata/ibm930.h: Correct Yen mapping.
2846 * iconvdata/ibm939.h: Likewise.
2847 * iconvdata/testdata/IBM930..UTF8: Adjust test data.
2848 * iconvdata/testdata/IBM939..UTF8: Likewise.
2849 Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2851 * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
2852 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
2853 (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
2854 ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
2855 ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
2856 ibm1158.c, and ibm1158.h.
2857 * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
2858 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
2859 * iconvdata/gconv-modules: Likewise.
2860 * iconvdata/ibm1025.c: New file.
2861 * iconvdata/ibm1025.h: New file.
2862 * iconvdata/ibm1122.c: New file.
2863 * iconvdata/ibm1122.h: New file.
2864 * iconvdata/ibm1137.c: New file.
2865 * iconvdata/ibm1137.h: New file.
2866 * iconvdata/ibm1153.c: New file.
2867 * iconvdata/ibm1153.h: New file.
2868 * iconvdata/ibm1154.c: New file.
2869 * iconvdata/ibm1154.h: New file.
2870 * iconvdata/ibm1155.c: New file.
2871 * iconvdata/ibm1155.h: New file.
2872 * iconvdata/ibm1156.c: New file.
2873 * iconvdata/ibm1156.h: New file.
2874 * iconvdata/ibm1157.c: New file.
2875 * iconvdata/ibm1157.h: New file.
2876 * iconvdata/ibm1158.c: New file.
2877 * iconvdata/ibm1158.h: New file.
2878 * iconvdata/testdata/IBM1025: New file.
2879 * iconvdata/testdata/IBM1025..UTF8: New file.
2880 * iconvdata/testdata/IBM1122: New file.
2881 * iconvdata/testdata/IBM1122..UTF8: New file.
2882 * iconvdata/testdata/IBM1137: New file.
2883 * iconvdata/testdata/IBM1137..UTF8: New file.
2884 * iconvdata/testdata/IBM1153: New file.
2885 * iconvdata/testdata/IBM1153..UTF8: New file.
2886 * iconvdata/testdata/IBM1154: New file.
2887 * iconvdata/testdata/IBM1154..UTF8: New file.
2888 * iconvdata/testdata/IBM1155: New file.
2889 * iconvdata/testdata/IBM1155..UTF8: New file.
2890 * iconvdata/testdata/IBM1156: New file.
2891 * iconvdata/testdata/IBM1156..UTF8: New file.
2892 * iconvdata/testdata/IBM1157: New file.
2893 * iconvdata/testdata/IBM1157..UTF8: New file.
2894 * iconvdata/testdata/IBM1158: New file.
2895 * iconvdata/testdata/IBM1158..UTF8: New file.
2896 Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2898 2005-02-10 Paolo Bonzini <bonzini@gnu.org>
2900 * posix/regcomp.c (lower_subexp): Do not optimize empty
2901 subexpressions even with REG_NOSUB.
2902 * posix/rxspencer/tests: Add a previously failing testcase.
2904 2005-02-21 Alan Modra <amodra@bigpond.net.au>
2907 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
2908 array index is within bounds.
2910 2005-02-21 Ulrich Drepper <drepper@redhat.com>
2913 * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
2915 * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
2916 * elf/Makefile: Remove rules to build and run tst-tls9-static.
2919 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
2920 THREAD_DTV multiple times, this minimally reduces code size on
2923 2005-02-21 Jakub Jelinek <jakub@redhat.com>
2926 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
2927 NETDB_INTERNAL if buffer is too small.
2930 * nscd/hstcache.c (INCR): Remove.
2931 (addhstbyX): Double buflen in each iteration rather than add INCR.
2932 * nscd/grpcache.c: Likewise.
2933 * nscd/pwdcache.c: Likewise.
2935 2005-02-21 Ulrich Drepper <drepper@redhat.com>
2937 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
2939 * debug/chk_fail.c: Request backtrace and memory map dump.
2941 * Versions.def: Add GLIBC_2.4 for libc.
2942 * debug/fgets_chk.c: New file.
2943 * debug/fgets_u_chk.c: New file.
2944 * debug/getcwd_chk.c: New file.
2945 * debug/getwd_chk.c: New file.
2946 * debug/readlink_chk.c: New file.
2947 * debug/read_chk.c: New file.
2948 * debug/pread_chk.c: New file.
2949 * debug/pread64_chk.c: New file.
2950 * debug/recv_chk.c: New file.
2951 * debug/recvfrom_chk.c: New file.
2952 * debug/Versions: Add all new functions with version GLIBC_2.4.
2953 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
2954 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
2955 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
2956 * debug/tst-chk1.c: Add more tests.
2957 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
2958 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
2959 * posix/unistd.h: Include <bits/unistd.h> for fortification.
2960 * posix/bits/unistd.h: New file.
2961 * posix/Makefile (headers): Add bits/unistd.h.
2962 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
2963 * socket/bits/socket2.h: New file.
2964 * socket/Makefile (headers): Add bits/socket2.h.
2966 * string/bits/string3.h: Extend memset macro to check for zero 3rd
2967 parameter and use __memset_zero_constant_len_parameter in that case.
2968 * sysdeps/generic/memset_chk.c: Add
2969 __memset_zero_constant_len_parameter alias and linker warning.
2970 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
2971 with version GLIBC_2.4.
2973 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
2974 in __STD_TYPE definition.
2976 2005-02-21 Jakub Jelinek <jakub@redhat.com>
2978 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
2979 the error message rather than program name.
2981 2005-02-21 Ulrich Drepper <drepper@redhat.com>
2984 * posix/unistd.h: symlink and readlink are unconditionally
2985 available in the 2001 spec.
2987 2005-02-16 Roland McGrath <roland@redhat.com>
2989 * intl/dcigettext.c (_nl_find_msg): Add a cast.
2991 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
2992 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
2993 * nis/nis_clone_res.c (nis_clone_result): Likewise.
2995 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
2996 for END_OF_MESSAGE and CP.
2998 * resolv/res_send.c (send_dg): Add else branch for case impossible
2999 unless `poll' is buggy.
3001 * crypt/crypt_util.c (__setkey_r): Add a cast.
3003 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
3004 NBYTES, and unsigned char * for BYTES.
3006 * locale/programs/charmap.c (charmap_new_char): Use size_t and
3007 unsighed char * for NBYTES, BYTES parameters.
3009 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
3011 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
3013 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
3015 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
3017 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
3018 (authdes_marshal): Don't use unsigned int for LEN.
3019 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
3020 (xdr_u_hyper): Likewise.
3021 (xdr_u_short): Don't use u_long for L.
3022 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
3024 * inet/rexec.c (rexec_af): Use socklen_t.
3025 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
3026 * sunrpc/rtime.c (rtime): Likewise.
3027 * resolv/res_send.c (send_vc, send_dg): Likewise.
3028 * nis/nis_callback.c (__nis_create_callback): Likewise.
3030 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
3032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
3034 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
3036 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
3037 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
3038 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
3039 * intl/bindtextdom.c (INTUSE): Macro removed.
3040 (_nl_default_dirname): Use libc_hidden_proto.
3041 (set_binding_values): Don't use INTUSE.
3042 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
3043 (_libc_intl_domainname): Use libc_hidden_proto.
3044 * posix/regex_internal.h (gettext): Remove INTUSE on it.
3045 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
3047 * include/libintl.h (_): Don't use *_internal name.
3049 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
3051 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
3053 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
3056 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
3058 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
3059 * sysdeps/powerpc/powerpc32/dl-machine.h
3060 (elf_machine_rel, elf_machine_rel_relative): Removed.
3061 * sysdeps/powerpc/powerpc64/dl-machine.h
3062 (elf_machine_rel, elf_machine_rel_relative): Removed.
3064 2005-02-03 Alexandre Oliva <aoliva@redhat.com>
3067 * elf/dynamic-link.h: Don't declare nested auto functions that are
3068 not going to be defined.
3070 2004-07-23 Jakub Jelinek <jakub@redhat.com>
3073 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
3074 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
3076 2005-02-16 Roland McGrath <roland@redhat.com>
3078 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
3079 inside [! SHARED] where it's used.
3081 2005-02-15 Ulrich Drepper <drepper@redhat.com>
3083 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
3084 functions and macros is unsigned.
3086 2005-02-11 Barry deFrese <bddebian@comcast.net>
3089 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
3090 * sysdeps/mach/hurd/setresuid.c: Likewise.
3092 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
3094 * misc/sys/syslog.h: Fix typo in comment.
3096 2005-02-14 Roland McGrath <roland@redhat.com>
3099 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
3100 if it wasn't originally.
3102 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
3104 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
3106 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3107 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3109 2005-02-11 Jakub Jelinek <jakub@redhat.com>
3111 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
3114 2005-02-14 Alan Modra <amodra@bigpond.net.au>
3116 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
3117 with auto inline, and attribute always_inline.
3118 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
3119 (elf_machine_rel, elf_machine_rel_relative): Likewise.
3120 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3121 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
3122 (elf_machine_rel, elf_machine_rel_relative): Likewise.
3123 (elf_machine_tprel): Likewise.
3125 2005-02-14 Andreas Schwab <schwab@suse.de>
3127 * manual/filesys.texi (Random Access Directory): Fix type of file
3128 position value for telldir and seekdir.
3129 (Attribute Meanings): Fix typo.
3131 2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
3133 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
3135 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
3136 if SHARED isn't defined.
3137 * elf/Makefile (tests-static): Add tst-array1-static.
3138 ($(objpfx)tst-array1-static.out): New target.
3139 * elf/tst-array1-static.c: New file.
3141 2005-02-11 Jakub Jelinek <jakub@redhat.com>
3144 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
3145 __libc_message to kill GCC warning about noreturn function returning.
3147 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
3148 before relocating ld.so again.
3150 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
3151 for already prelinked ld.so.
3153 2005-02-11 Roland McGrath <roland@redhat.com>
3156 * Makefile (installed-stubs): New variable.
3157 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
3158 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
3159 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
3160 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
3162 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
3163 * include/stubs-biarch.h: New file.
3165 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
3167 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
3168 Emit defn for variable `biarch'.
3170 * include/stub-tag.h: Update comment.
3172 * scripts/soversions.awk: Fix default version set handling.
3174 2005-02-10 Roland McGrath <roland@redhat.com>
3177 * include/libc-symbols.h (stub_warning): Emit a marker section called
3178 .gnu.glibc-stub.NAME.
3179 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
3180 Use objdump to collect those marker section names.
3181 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
3183 * Rules (subdir_objs, subdir_stubs): New phony targets.
3184 * Makefile (+subdir_targets): Add them.
3186 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
3189 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
3190 Reported by H.J. Lu <hongjiu.lu@intel.com>.
3192 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
3195 2005-02-10 Jakub Jelinek <jakub@redhat.com>
3197 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
3198 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
3199 * sysdeps/powerpc/bits/link.h: ... here. New file.
3201 2005-02-09 Jakub Jelinek <jakub@redhat.com>
3204 * stdlib/random_r.c (__initstate_r): Save old state.
3205 * stdlib/Makefile (tests): Add tst-random2.
3206 * stdlib/tst-random2.c: New test.
3207 Reported by Peter Bergner <bergner@vnet.ibm.com>.
3209 2005-01-25 H.J. Lu <hongjiu.lu@intel.com>
3211 * dlfcn/dlfcn.c (init): Put it in .init_array section.
3213 2005-02-10 Roland McGrath <roland@redhat.com>
3216 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
3218 Grok shlib-versions lines with WORDSIZE* in second column.
3219 Add new leading column to output, DEFAULT for existing output lines.
3220 Also emit lines with WORDSIZE* for alternate configurations.
3221 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
3222 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
3223 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
3224 of soversions.mk; replace inline shell script with use of ...
3225 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
3226 emit multiple sets of macros under #if.
3227 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
3228 (s390x-.*-.*): Likewise for s390.
3229 (powerpc64-.*-.*): Likewise for powerpc.
3230 (sparc64-.*-.*): Likewise for sparc.
3231 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
3232 for these mapping back to the above.
3234 2005-02-08 Jakub Jelinek <jakub@redhat.com>
3236 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
3238 2005-02-08 Andreas Schwab <schwab@suse.de>
3240 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
3243 2005-02-07 Richard Henderson <rth@redhat.com>
3245 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
3247 2005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3249 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
3252 2005-02-07 Ulrich Drepper <drepper@redhat.com>
3254 * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
3257 2005-01-07 Richard Henderson <rth@redhat.com>
3259 * math/math_private.h (__copysign): Define as builtin for gcc 4.
3260 (__copysignf, __copysignl): Likewise.
3261 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
3263 (copysignf, copysignl, fabsf, fabs): Likewise.
3264 (__copysign, __copysignf, __copysignl): Remove.
3265 (__fabs, __fabsf): Remove.
3267 2005-01-07 Jakub Jelinek <jakub@redhat.com>
3270 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
3271 avoid writing to it if none of the standard search directories exist.
3273 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
3276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3277 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
3278 Load MSR as a doubleword.
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3280 (__novec_swapcontext, __swapcontext): Likewise.
3282 2005-02-07 Ulrich Drepper <drepper@redhat.com>
3284 * iconv/iconv_prog.c (main): Provide more help in case on an error.
3286 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
3288 2005-02-07 Jakub Jelinek <jakub@redhat.com>
3291 * nscd/nscd.c (termination_handler): Avoid segfault if some database
3295 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
3296 __nss_not_use_nscd_hosts and return -1.
3297 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
3298 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
3299 Avoid leaking sockets.
3301 2005-01-28 Andreas Schwab <schwab@suse.de>
3302 H.J. Lu <hongjiu.lu@intel.com>
3305 * elf/dl-runtime.c (fixup): Change return type to
3306 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
3307 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
3308 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
3309 store and retrieve relocation values.
3310 (profile_fixup): Likewise.
3311 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
3313 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
3314 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
3315 (DL_FIXUP_MAKE_VALUE): Likewise.
3316 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
3317 (DL_FIXUP_VALUE_ADDR): Likewise.
3318 (DL_FIXUP_ADDR_VALUE): Likewise.
3319 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
3320 (DL_FIXUP_VALUE_TYPE): New.
3321 (DL_FIXUP_MAKE_VALUE): Likewise.
3322 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
3323 (DL_FIXUP_VALUE_ADDR): Likewise.
3324 (DL_FIXUP_ADDR_VALUE): Likewise.
3325 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
3326 (elf_machine_profile_plt): Removed.
3327 (elf_machine_fixup_plt): Change return type and type of value
3328 parameter to struct fdesc.
3329 (elf_machine_plt_value): Likewise.
3330 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
3331 argument for elf_machine_fixup_plt.
3333 2005-02-07 Jakub Jelinek <jakub@redhat.com>
3336 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
3337 after the status string printed by killproc.
3339 2004-11-18 Alexandre Oliva <aoliva@redhat.com>
3341 * manual/.cvsignore: Add dir-add.texi.
3343 2005-02-06 Richard Henderson <rth@redhat.com>
3345 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
3348 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
3350 * configure.in (sysnames): Append sysdeps/generic for each add-on.
3351 * configure: Regenerated.
3353 2005-02-02 Alfred M. Szmidt <ams@gnu.org>
3355 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
3356 (dtv_t): Change pointer type to be a struct which also contains
3357 information whether the memory pointed to is static TLS or not.
3359 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
3361 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
3362 (FALSEP): ... this. Updated all references.
3365 * libio/fmemopen.c: Include <stdint.h>.
3367 2005-01-30 Ulrich Drepper <drepper@redhat.com>
3370 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
3371 * nscd/connections.c (send_ro_fd): Likewise.
3373 2005-01-28 H.J. Lu <hongjiu.lu@intel.com>
3375 * elf/tst-auditmod1.c: Add ia64 entries.
3376 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
3377 (La_ia64_retval): New.
3378 (audit_ifaces): Add ia64 entries.
3379 * sysdeps/ia64/bits/link.h: New file.
3380 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
3381 for dl_profile non-null.
3382 (ARCH_LA_PLTENTER): New.
3383 (ARCH_LA_PLTEXIT): New.
3384 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
3385 only 2 output registers. Allocate stack to save/restore
3386 8 incoming fp registers. Call _dl_fixup instead of fixup.
3387 (_dl_runtime_profile): Rewrite.
3389 2005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
3391 * sysdeps/s390/bits/link.h: New file.
3392 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
3393 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
3394 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
3395 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
3397 (elf_machine_runtime_setup): Test for dl_profile non-null.
3398 (elf_machine_rela): Remove code using RESOLVE.
3399 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
3400 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3401 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
3402 La_s390_64_regs, La_s390_64_retval): New.
3403 * elf/tst-auditmod1.c: Add s390 entries.
3406 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
3407 strncat, memchr, strcmp): Add missing memory clobber.
3409 2005-01-27 Ulrich Drepper <drepper@redhat.com>
3411 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
3412 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
3414 2005-01-27 Paolo Bonzini <bonzini@gnu.org>
3417 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
3418 Initialize the node sets in dfa->inveclosures.
3419 (analyze): Initialize inveclosures only if it is needed.
3420 Check errors from calc_inveclosure.
3421 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
3422 the inveclosure node set.
3423 * posix/regexec.c (re_search_internal): If nmatch includes unused
3424 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
3426 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
3427 Do build a SIMPLE_BRACKET token.
3429 * posix/regexec.c (transit_state_mb): Do not examine nodes
3430 where ACCEPT_MB is not set.
3432 2005-01-27 Jakub Jelinek <jakub@redhat.com>
3434 * stdlib/tst-fmtmsg.c: Include stdlib.h.
3435 * stdio-common/tst-fmemopen2.c: Include string.h.
3436 * posix/execvp.c: Include stdbool.h.
3438 2004-12-13 Paolo Bonzini <bonzini@gnu.org>
3440 Separate parsing and creation of the NFA. Avoided recursion on
3441 the (very unbalanced) parse tree.
3443 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
3444 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
3445 (optimize_subexps, duplicate_tree, calc_first, calc_next,
3446 mark_opt_subexp): Rewritten.
3447 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
3448 create_token_tree, free_tree, free_token): New.
3449 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
3450 postorder generic visitors. Do not initialize the fields in the
3451 re_dfa_t that represent the transitions.
3452 (free_dfa_content): Use free_token.
3453 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
3454 include optimization of subexpressions.
3455 (create_initial_state): Fetch the DFA node index from the first node's
3457 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
3458 Return on COMPLEX_BRACKET.
3459 (duplicate_node_closure): Fix comment.
3460 (duplicate_node): Do not initialize the fields in the
3461 re_dfa_t that represent the transitions.
3462 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
3463 (create_tree): Remove final argument. All callers adjusted. Rewritten
3464 to use create_token_tree.
3465 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
3466 build_charclass_op): Use create_tree or create_token_tree instead
3467 of re_dfa_add_tree_node.
3468 (parse_dup_op): Likewise. Also free the tree using free_tree for
3469 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
3470 to "a|". Adjust invocation of mark_opt_subexp.
3471 (parse_sub_exp): Create a single SUBEXP node.
3472 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
3473 always perform as if it was 1. Do not initialize OPT_SUBEXP and
3474 DUPLICATED, and initialize the DFA fields representing the transitions.
3475 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
3476 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
3477 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
3478 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
3479 NEXT into pointers to trees. Remove ECLOSURE.
3481 2004-12-28 Paolo Bonzini <bonzini@gnu.org >
3484 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
3485 that were already created.
3486 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
3487 in the token if needed.
3488 (create_ci_newstate, create_cd_newstate): Set accept_mb field
3489 from the tokens' field.
3490 * posix/regex_internal.h (re_token_t): Add accept_mb field.
3491 (ACCEPT_MB_NODE): Removed.
3492 * posix/regexec.c (proceed_next_node, transit_states_mb,
3493 build_sifted_states, check_arrival_add_next_nodes): Use
3494 accept_mb instead of ACCEPT_MB_NODE.
3496 2005-01-26 Ulrich Drepper <drepper@redhat.com>
3499 * debug/chk_fail.c (__chk_fail): Print program name in final message.
3501 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
3502 MSG_NOSIGNAL being in 2.2 kernels.
3504 2005-01-26 Jakub Jelinek <jakub@redhat.com>
3506 * sysdeps/unix/sysv/linux/i386/sysdep.h
3507 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
3510 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
3511 (WORD_DELIM_CONSTRAINT): ...this.
3512 (NOT_WORD_DELIM_CONSTRAINT): Define.
3513 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
3514 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
3515 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
3516 anchor instead of INSIDE_WORD.
3517 (parse_expression): Handle NOT_WORD_DELIM constraint.
3518 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
3519 being inside word instead of not word delim.
3520 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
3522 * posix/rxspencer/tests: Add some new tests.
3524 2005-01-14 GOTO Masanori <gotom@debian.or.jp>
3527 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
3528 irrespective of Cflag.
3530 * manual/memory.texi (sbrk): Fix definition.
3531 * manual/string.texi (strcasestr): Fix example typo.
3533 2005-01-25 Roland McGrath <roland@redhat.com>
3535 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
3537 2005-01-23 Roland McGrath <roland@redhat.com>
3540 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
3541 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
3542 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
3543 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
3544 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
3545 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
3547 2005-01-25 Jakub Jelinek <jakub@redhat.com>
3550 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
3551 (free_mem): Don't free string.
3552 * stdlib/tst-fmtmsg.c: Include string.h.
3553 (main): Add some more tests.
3555 2005-01-25 Andreas Schwab <schwab@suse.de>
3558 * timezone/asia: Update from tzdata2005c.
3559 * timezone/backward: Likewise.
3560 * timezone/europe: Likewise.
3561 * timezone/leapseconds: Likewise.
3562 * timezone/northamerica: Likewise.
3563 * timezone/southamerica: Likewise.
3566 * timezone/private.h: Update from tzcode2005c.
3567 * timezone/tzfile.h: Likewise.
3568 * timezone/zdump.c: Likewise.
3569 * timezone/zic.c: Likewise.
3571 2005-01-25 Ulrich Drepper <drepper@redhat.com>
3573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
3575 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
3577 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
3579 2005-01-25 Alan Modra <amodra@bigpond.net.au>
3581 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
3582 sym_map, not sym, against zero.
3584 2005-01-24 Ulrich Drepper <drepper@redhat.com>
3587 * misc/syslog.c: Moved to...
3588 * sysdeps/generic/syslog.c: ...here.
3589 [NO_SIGIPE]: Don't install SIGPIPE handler.
3590 * sysdeps/unix/sysv/linux/syslog.c: New file.
3591 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3592 __ASSUME_MSG_NOSIGNAL.
3594 2005-01-22 Richard Henderson <rth@redhat.com>
3596 * sysdeps/alpha/dl-trampoline.S: New file.
3597 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
3598 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
3599 (elf_machine_runtime_setup): Test for dl_profile non-null.
3600 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
3601 * sysdeps/alpha/bits/link.h: New file.
3602 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
3603 (struct audit_ifaces): Add alpha entries.
3604 * elf/tst-auditmod1.c: Add alpha entries.
3606 2005-01-22 Ulrich Drepper <drepper@redhat.com>
3608 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
3609 * sysdeps/ia64/dl-trampoline.S: New file.
3611 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
3612 La_x86_64_xmm definition.
3614 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
3616 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
3617 CFLAGS-system.c for frame pointer option.
3619 2005-01-21 Roland McGrath <roland@redhat.com>
3621 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
3622 * sysdeps/i386/dl-machine.h: Update decl.
3624 2005-01-21 Jakub Jelinek <jakub@redhat.com>
3627 * elf/Makefile: Add rules to build and run tst-align2.
3628 * elf/tst-align2.c: New test.
3629 * elf/tst-alignmod2.c: New file.
3630 * sysdeps/powerpc/tst-stack-align.h: New file.
3631 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
3632 pointer before calling _dl_init.
3633 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3635 2005-01-20 Ulrich Drepper <drepper@redhat.com>
3637 * posix/execl.c: Do not allocate potentially large buffers on the
3639 * posix/execle.c: Likewise.
3640 * posix/execlp.c: Likewise.
3641 * posix/execvp.c: Likewise.
3642 (script_execute): Removed.
3643 (allocate_scripts_argv): New function. Called at most once to
3644 allocate memory, not every time a script is run. Adjust caller.
3646 * sysdeps/generic/wordexp.c (exec_comm): Add a few
3647 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
3649 (exec_comm_child): Can now be inlined.
3651 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
3652 * stdlib/Makefile: Likewise.
3654 2005-01-19 Roland McGrath <roland@redhat.com>
3657 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
3659 Reported by Marcus Meissner <meissner@suse.de>.
3661 2005-01-19 Jakub Jelinek <jakub@redhat.com>
3663 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
3665 * iconv/strtab.c (strtabfinalize): Likewise.
3667 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
3669 2005-01-17 Roland McGrath <roland@redhat.com>
3672 * nscd/Makefile (LDLIBS-nscd): New variable.
3673 ($(objpfx)nscd): Use that instead of selinux-LIBS.
3675 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
3676 (link-extra-libs-static): Define to $(link-extra-libs).
3677 (link-extra-libs-bounded): Likewise.
3679 2005-01-17 Ulrich Drepper <drepper@redhat.com>
3681 * include/link.h: Remove stray definition of pltenter.
3683 2005-01-16 GOTO Masanori <gotom@debian.or.jp>
3686 * sysdeps/unix/rewinddir.c: Reset filepos.
3687 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
3689 2005-01-15 Ulrich Drepper <drepper@redhat.com>
3691 * elf/tst-auditmod1.c: Reduce duplication.
3693 2005-01-16 Andreas Schwab <schwab@suse.de>
3695 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
3696 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3697 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
3698 GLRO(dl_profile) != NULL.
3699 * sysdeps/m68k/dl-trampoline.S: New file.
3700 * sysdeps/m68k/bits/link.h: New file.
3701 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
3703 * elf/tst-auditmod1.c: Add m68k support.
3705 2005-01-14 Ulrich Drepper <drepper@redhat.com>
3707 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
3708 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
3711 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
3712 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
3714 2005-01-12 Ulrich Drepper <drepper@redhat.com>
3716 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
3717 callers from libc anymore.
3719 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
3720 to _dl_map_object_deps.
3721 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
3722 protections when loading auditing modules.
3724 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
3726 * posix/getconf.c: Update copyright year.
3727 * nss/getent.c: Likewise.
3728 * nscd/nscd_nischeck.c: Likewise.
3729 * iconv/iconvconfig.c: Likewise.
3730 * iconv/iconv_prog.c: Likewise.
3731 * elf/ldconfig.c: Likewise.
3732 * catgets/gencat.c: Likewise.
3733 * csu/version.c: Likewise.
3734 * elf/ldd.bash.in: Likewise.
3735 * elf/sprof.c (print_version): Likewise.
3736 * locale/programs/locale.c: Likewise.
3737 * locale/programs/localedef.c: Likewise.
3738 * nscd/nscd.c (print_version): Likewise.
3739 * debug/xtrace.sh: Likewise.
3740 * malloc/memusage.sh: Likewise.
3741 * malloc/mtrace.pl: Likewise.
3742 * debug/catchsegv.sh: Likewise.
3744 2005-01-11 Thorsten Kukuk <kukuk@suse.de>
3747 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
3749 * sunrpc/svc_unix.c (svcunix_create): Likewise.
3752 * grp/putgrent.c (putgrent): Don't write 0 as group
3753 ID if groupname starts with + or -.
3754 * pwd/putpwent.c (putpwent): Don't write 0 as user or
3755 group ID if user name starts with + or -.
3757 2005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3759 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
3760 * sysdeps/elf/tst-auditmod1.c: Add sh support.
3761 * sysdeps/sh/bits/link.h: New.
3762 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
3763 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
3764 (RTLD_START): Define __fpscr_values.
3765 * sysdeps/sh/dl-trampoline.S: New file.
3766 * sysdeps/sh/sh4/dl-trampoline.S: New file.
3767 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
3768 * sysdeps/sh/sh4/dl-machine.h: Remove.
3770 2005-01-10 Jakub Jelinek <jakub@redhat.com>
3773 * time/tst-strptime.c (day_tests): Add 2 new tests.
3774 (test_tm, main): Issue an error instead of segfaulting if
3775 strptime returns NULL.
3777 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
3779 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
3780 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
3782 2005-01-11 Ulrich Drepper <drepper@redhat.com>
3784 * malloc/malloc.h: Remove no-glibc support.
3786 2005-01-12 GOTO Masanori <gotom@debian.or.jp>
3789 * malloc/malloc.h: Always include features.h.
3791 2005-01-10 Roland McGrath <roland@redhat.com>
3793 * sysdeps/ia64/fpu/e_logl.c: File removed.
3795 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
3797 2005-01-10 Ulrich Drepper <drepper@redhat.com>
3799 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
3800 recognition of last entry.
3802 2005-01-09 Ulrich Drepper <drepper@redhat.com>
3804 * elf/dl-runtime.c: Include <sys/param.h>.
3806 * elf/Makefile (headers): Add bits/link.h.
3808 2005-01-09 Andreas Schwab <schwab@suse.de>
3810 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
3812 2005-01-09 Andreas Jaeger <aj@suse.de>
3815 * time/strptime_l.c (__strptime_internal): Add braces to avoid
3818 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
3820 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
3822 2005-01-08 Jakub Jelinek <jakub@redhat.com>
3824 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
3826 2005-01-09 Ulrich Drepper <drepper@redhat.com>
3828 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
3829 those of all the regular objects.
3831 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
3832 use it to select the r_debug structure for that namespace.
3833 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
3834 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3835 * elf/dl-open.c (_dl_open): Likewise.
3836 * elf/rtld.c (dl_main): Likewise.
3837 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
3839 (_dl_debug_initialize): Add new parameter in declaration.
3841 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
3842 called for the auditing objects themselves.
3843 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3845 2005-01-07 Ulrich Drepper <drepper@redhat.com>
3847 * sysdeps/powerpc/powerpc64/dl-machine.h
3848 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
3849 GLRO(dl_profile) != NULL.
3850 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
3852 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
3853 Extend _dl_prof_resolve to add pass extra parameters to
3854 _dl_profile_fixup and set up structure with register content.
3856 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
3857 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
3858 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
3859 Extend _dl_prof_resolve to add pass extra parameters to
3860 _dl_profile_fixup and set up structure with register content.
3861 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
3862 the register and result structures.
3863 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
3864 in the 32-bit register and result structures.
3866 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
3868 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
3869 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
3870 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3871 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
3872 * elf/tst-auditmod1.c: Add ppc32 support.
3873 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
3874 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
3876 * malloc/malloc.c (malloc_printerr): Print program name as part of
3879 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
3880 * stdlib/stdlib.h: Make realloc with
3881 __attribute_warn_unused_result__ instead of __wur.
3882 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
3883 markers as in <stdlib.h>.
3885 * libio/stdio.h: Remove __wur from rename and remove.
3886 * posix/unistd.h: Remove __wur from dup2.
3888 2005-01-03 Andreas Jaeger <aj@suse.de>
3890 * elf/Makefile (tests): Revert patch from 2005-01-03.
3892 2005-01-07 Ulrich Drepper <drepper@redhat.com>
3894 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
3895 make __libc_init_first hidden.
3897 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
3898 l_relocated of rtld map.
3899 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
3900 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
3901 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3902 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
3903 * elf/tst-auditmod1.c: Add ppc64 support.
3904 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
3906 2005-01-06 Roland McGrath <roland@redhat.com>
3909 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
3910 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
3912 2005-01-06 Ulrich Drepper <drepper@redhat.com>
3914 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
3915 * sysdeps/generic/libc-start.c: Don't register program destructor here.
3917 * dlfcn/Makefile: Add rules to build dlfcn.c.
3918 (LDFLAGS-dl.so): Removed.
3919 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
3921 * dlfcn/dlmopen.c: Likewise for _dl_open.
3922 * dlfcn/dlopen.c: Likewise.
3923 * dlfcn/dlopenold.c: Likewise.
3924 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
3925 * elf/Makefile (routines): Remove dl-open and dl-close.
3926 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
3927 Add rules to build and run tst-audit1.
3928 * elf/tst-audit1.c: New file.
3929 * elf/tst-auditmod1.c: New file.
3930 * elf/Versions [libc]: Remove _dl_open and _dl_close.
3931 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
3932 * elf/dl-open.c: Likewise.
3933 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
3934 signaled by nonzero parameter.
3935 * elf/dl-init.c: Fix use of r_state.
3936 * elf/dl-load.c: Likewise.
3938 * elf/dl-close.c: Add auditing checkpoints.
3939 * elf/dl-open.c: Likewise.
3940 * elf/dl-fini.c: Likewise.
3941 * elf/dl-load.c: Likewise.
3942 * elf/dl-sym.c: Likewise.
3943 * sysdeps/generic/libc-start.c: Likewise.
3944 * elf/dl-object.c: Allocate memory for auditing information.
3945 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
3946 Correctly initialize slotinfo.
3947 * elf/dynamic-link.h: Adjust after removal of RESOLV.
3948 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
3949 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
3950 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
3951 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
3952 (_dl_profile_fixup): New parameters to point to register struct and
3953 variable for frame size.
3954 Add auditing checkpoints.
3955 (_dl_call_pltexit): New function.
3956 Don't define trampoline code here.
3957 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
3958 Remove all the functions from _rtld_global_ro which only _dl_open
3959 and _dl_close needed.
3960 Add auditing checkpoints.
3961 * elf/link.h: Define symbols for auditing interfaces.
3962 * include/link.h: Likewise.
3963 * include/dlfcn.h: Define __RTLD_AUDIT.
3964 Remove prototypes for _dl_open and _dl_close.
3965 Adjust access to argc and argv in libdl.
3966 * dlfcn/dlfcn.c: New file.
3967 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
3969 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
3970 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
3971 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
3972 Adjust for removal of RESOLVE.
3973 * sysdeps/x86_64/dl-machine.h: Likewise.
3974 * sysdeps/generic/dl-trampoline.c: New file.
3975 * sysdeps/i386/dl-trampoline.c: New file.
3976 * sysdeps/x86_64/dl-trampoline.c: New file.
3978 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
3979 Fix updating of DTV.
3980 * sysdeps/generic/libc-tls.c: Likewise.
3982 * sysdeps/arm/bits/link.h: Renamed to ...
3983 * sysdeps/arm/bits/linkmap.h: ...this.
3984 * sysdeps/generic/bits/link.h: Renamed to...
3985 * sysdeps/generic/bits/linkmap.h: ...this.
3986 * sysdeps/hppa/bits/link.h: Renamed to...
3987 * sysdeps/hppa/bits/linkmap.h: ...this.
3988 * sysdeps/i386/bits/link.h: Renamed to...
3989 * sysdeps/i386/bits/linkmap.h: ...this.
3990 * sysdeps/ia64/bits/link.h: Renamed to...
3991 * sysdeps/ia64/bits/linkmap.h: ...this.
3992 * sysdeps/s390/bits/link.h: Renamed to...
3993 * sysdeps/s390/bits/linkmap.h: ...this.
3994 * sysdeps/sh/bits/link.h: Renamed to...
3995 * sysdeps/sh/bits/linkmap.h: ...this.
3996 * sysdeps/x86_64/bits/link.h: Renamed to...
3997 * sysdeps/x86_64/bits/linkmap.h: ...this.
3999 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
4001 2004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
4004 * math/libm-test.inc (rint_test_tonearest): New test.
4005 (rint_test_towardzero): New test.
4006 (rint_test_downward): New test.
4007 (rint_test_upward): New test.
4008 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
4009 Remove redundant const values.
4010 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
4011 Remove redundant const values. Use float const.
4012 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
4013 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
4015 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
4016 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
4018 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
4019 Remove redundant const values.
4020 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
4021 Remove redundant const values. Use float const.
4022 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
4023 Remove redundant const values.
4024 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
4025 Remove redundant const values. Use float const.
4026 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
4027 alignment. Fix -0.0 case. Remove redundant const values.
4028 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
4029 alignment. Fix -0.0 case. Remove redundant const values.
4031 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
4032 alignment. Fix -0.0 case.
4033 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
4034 alignment. Fix -0.0 case. Use float const.
4035 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
4036 alignment. Fix -0.0 case.
4037 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
4038 alignment. Fix -0.0 case. Use float const.
4039 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
4040 alignment. Fix -0.0 case. Remove redundant const values.
4041 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
4042 alignment. Fix -0.0 case. Remove redundant const values.
4044 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
4045 alignment. Fix -0.0 case.
4046 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
4047 alignment. Fix -0.0 case. Remove redundant const values.
4050 2005-01-06 Ulrich Drepper <drepper@redhat.com>
4052 * misc/sys/cdefs.h: Define __wur.
4053 * libio/stdio.h: Use __wur for a number of interfaces.
4054 * posix/unistd.h: Likewise.
4055 * stdlib/stdlib.h: Likewise.
4057 2004-12-29 Jakub Jelinek <jakub@redhat.com>
4060 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
4061 libc_hidden_proto instead of HIDDEN_PROTO.
4062 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
4063 (__libm_error_support): If ASSEMBLER and in libc, define to
4064 HIDDEN_JUMPTARGET(__libm_error_support).
4066 2004-12-28 David Mosberger <davidm@hpl.hp.com>
4069 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
4070 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
4071 with $(duplicated-routines).
4072 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
4075 2004-12-27 David Mosberger <davidm@hpl.hp.com>
4078 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
4079 undefine "ret" macro. Add __libm_error_support hidden definitions.
4082 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
4083 missing portion of copyright statement.
4084 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
4085 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
4088 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
4089 missing portion of copyright statement.
4090 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
4091 (__ieee754_gamma): Likewise.
4092 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
4093 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
4095 2004-12-09 H.J. Lu <hjl@lucon.org>
4098 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
4099 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
4100 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
4101 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
4102 * sysdeps/ia64/fpu/e_expl.S: Likewise.
4103 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
4105 2004-11-18 David Mosberger <davidm@hpl.hp.com>
4108 * sysdeps/ia64/fpu/README: New file.
4109 * sysdeps/ia64/fpu/gen_import_file_list: New file.
4110 * sysdeps/ia64/fpu/import_check: Likewise.
4111 * sysdeps/ia64/fpu/import_diffs: Likewise.
4112 * sysdeps/ia64/fpu/import_file.awk: Likewise.
4113 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
4114 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4117 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
4118 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
4119 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
4120 * sysdeps/ia64/fpu/e_asin.S: Likewise.
4121 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
4122 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
4123 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
4124 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
4125 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
4126 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
4127 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
4128 * sysdeps/ia64/fpu/e_exp.S: Likewise.
4129 * sysdeps/ia64/fpu/e_expf.S: Likewise.
4130 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
4131 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
4132 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
4133 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
4134 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
4135 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
4136 * sysdeps/ia64/fpu/e_log.S: Likewise.
4137 * sysdeps/ia64/fpu/e_log2.S: Likewise.
4138 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
4139 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
4140 * sysdeps/ia64/fpu/e_logf.S: Likewise.
4141 * sysdeps/ia64/fpu/e_pow.S: Likewise.
4142 * sysdeps/ia64/fpu/e_powf.S: Likewise.
4143 * sysdeps/ia64/fpu/e_powl.S: Likewise.
4144 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
4145 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
4146 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
4147 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
4148 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
4149 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
4150 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
4151 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
4152 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
4153 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
4154 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
4155 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
4156 * sysdeps/ia64/fpu/libm_error.c: Likewise.
4157 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
4158 * sysdeps/ia64/fpu/libm_support.h: Likewise.
4159 * sysdeps/ia64/fpu/s_atan.S: Likewise.
4160 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
4161 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
4162 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
4163 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
4164 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
4165 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
4166 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
4167 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
4168 * sysdeps/ia64/fpu/s_cos.S: Likewise.
4169 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
4170 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4171 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
4172 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
4173 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
4174 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
4175 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
4176 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
4177 * sysdeps/ia64/fpu/s_floor.S: Likewise.
4178 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
4179 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
4180 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
4181 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
4182 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
4183 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
4184 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
4185 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
4186 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
4187 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
4188 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
4189 * sysdeps/ia64/fpu/s_logb.S: Likewise.
4190 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
4191 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
4192 * sysdeps/ia64/fpu/s_modf.S: Likewise.
4193 * sysdeps/ia64/fpu/s_modff.S: Likewise.
4194 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
4195 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
4196 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
4197 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
4198 * sysdeps/ia64/fpu/s_rint.S: Likewise.
4199 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
4200 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
4201 * sysdeps/ia64/fpu/s_round.S: Likewise.
4202 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
4203 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
4204 * sysdeps/ia64/fpu/s_significand.S: Likewise.
4205 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
4206 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
4207 * sysdeps/ia64/fpu/s_tan.S: Likewise.
4208 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
4209 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
4210 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
4211 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
4212 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
4215 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
4216 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
4217 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
4218 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
4219 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
4220 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
4221 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
4222 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
4223 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
4224 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4225 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
4226 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
4227 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
4228 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
4229 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
4230 * sysdeps/ia64/fpu/e_logl.S: Likewise.
4231 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
4232 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
4233 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
4234 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
4235 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
4236 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
4237 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
4238 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
4239 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
4240 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
4241 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
4242 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
4243 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
4244 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4245 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
4246 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4247 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
4248 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
4249 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
4250 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
4251 * sysdeps/ia64/fpu/s_erf.S: Likewise.
4252 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
4253 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
4254 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
4255 * sysdeps/ia64/fpu/s_erff.S: Likewise.
4256 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
4257 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
4258 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
4259 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
4260 * sysdeps/ia64/fpu/s_fma.S: Likewise.
4261 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
4262 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
4263 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
4264 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
4265 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
4266 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
4267 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
4268 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
4269 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
4270 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
4271 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
4272 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
4273 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
4274 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
4275 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
4276 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
4277 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
4278 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
4279 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
4280 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
4281 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
4282 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4283 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4284 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4287 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
4288 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
4289 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
4290 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4291 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4292 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4293 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4294 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4295 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4296 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4297 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4298 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4299 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4300 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4301 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4302 * sysdeps/ia64/fpu/w_expl.c: Likewise.
4303 * sysdeps/ia64/fpu/e_expl.S: Likewise.
4304 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4305 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4306 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4307 * sysdeps/ia64/fpu/w_log2.c: Likewise.
4308 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4309 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4310 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4311 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4312 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4315 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
4316 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
4317 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
4318 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
4319 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
4320 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
4321 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
4324 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
4325 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
4326 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
4329 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
4332 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
4333 alias for use by libm_error.c
4336 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
4337 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
4338 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
4339 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
4340 libm_scalbn{,f,l}, libm_scalblnf.
4341 (sysdep_routines): Remove libm_frexp4{,f,l}.
4342 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
4343 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
4344 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
4345 -DSIZE_LONG_LONG_INT_64.
4347 2005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
4350 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
4351 l_text_end are set for a VDSO with a single PT_LOAD entry.
4353 2005-01-05 Ulrich Drepper <drepper@redhat.com>
4356 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
4357 invalid to disable optimizations in fileops which won't work here.
4358 (_IO_cookie_jumps): Use it.
4359 (_IO_old_cookie_jumps): Likewise.
4360 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
4361 not the return value.
4362 * stdio-common/Makefile (tests): Add tst-fmemopen2.
4363 * stdio-common/tst-fmemopen2.c: New file.
4365 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
4367 2005-01-05 Roland McGrath <roland@redhat.com>
4369 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
4370 * sysdeps/i386/configure.in: ... here. New file.
4372 2005-01-03 Ulrich Drepper <drepper@redhat.com>
4375 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
4376 initialize __environ again.
4377 * stdlib/Makefile: Add rules to build and run tst-putenv.
4378 * stdlib/tst-putenv.c: New file.
4379 * stdlib/tst-putenvmod.c: New file.
4381 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
4382 define unnecessary wrappers or aliases of static functions.
4384 2005-01-03 Andreas Jaeger <aj@suse.de>
4386 * csu/Makefile (generated): Add start.os and start.ob.
4388 * elf/Makefile (tests): Change rule for tst-pie1 so that make
4391 2004-12-29 Roland McGrath <roland@redhat.com>
4394 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
4395 than always up; when nearest is zero, round up to one.
4397 2004-12-28 Ulrich Drepper <drepper@redhat.com>
4399 * po/es.po: Update from translation team.
4402 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
4404 2004-12-27 Ulrich Drepper <drepper@redhat.com>
4407 * include/signal.h: Define __sigemptyset.
4409 2004-04-27 Paolo Bonzini <bonzini@gnu.org>
4411 * posix/regex_internal.h (struct re_dfastate_t): Make
4412 word_trtable a pointer to the 512-item transition table.
4413 * posix/regexec.c (build_trtable): Fill in either state->trtable
4414 or state->word_trtable. Return a boolean indicating success.
4415 (transit_state): Expect state->trtable to be a 256-item
4416 transition table. Reorganize code to have less tests in
4417 the common case, and to save an indentation level.
4418 * posix/regex_internal.c (free_state): Free word_trtable.
4420 2004-12-21 Jakub Jelinek <jakub@redhat.com>
4423 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
4424 calling fn is 16 byte aligned.
4425 * sysdeps/i386/tst-stack-align.h: New file.
4428 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
4429 (ecvt_r): Special case denormals.
4430 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
4431 * misc/tst-efgcvt.c: Include float.h.
4432 (ecvt_tests): Add 2 new tests.
4434 2004-12-20 Roland McGrath <roland@frob.com>
4436 * version.h (RELEASE, VERSION): development, 2.3.90
4437 * include/features.h (__GLIBC_MINOR__): Now 4.
4440 See ChangeLog.15 for earlier changes.