11f6fde74456bbf8ce3eca8920135dbd5d4e0e15
[kopensolaris-gnu/glibc.git] / ChangeLog
1 2005-07-27  Ulrich Drepper  <drepper@redhat.com>
2
3         * nis/nis_xdr.c: Remove unnecessary cast which might hide bugs.
4         Rearrange code.  This reduces the code size 10%.
5
6 2005-07-26  Jakub Jelinek  <jakub@redhat.com>
7
8         * misc/error.c (error_tail): Fix a comment typo.
9
10 2005-07-25  Ulrich Drepper  <drepper@redhat.com>
11
12         * po/zh_TW.po: Update from translation team.
13
14         * debug/mbstowcs_chk.c: New file.
15         * debug/wcstombs_chk.c: New file.
16         * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk.
17         * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk.
18         * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs.
19
20         * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing.
21
22 2005-07-24  Ulrich Drepper  <drepper@redhat.com>
23
24         * string/test-memset.c (test_main): Use negative byte value in
25         test.
26
27         * string/test-memset.c (do_one_test): Compare effect of call, not
28         only return value.
29         Add a few casts to avoid warnings.
30
31 2005-07-24  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
32
33         * sysdeps/sh/memset.S (memset): Correct 2nd argument handling.
34
35 2005-07-24  Ulrich Drepper  <drepper@redhat.com>
36
37         [BZ #1125]
38         * posix/Makefile (tests): Add tst-execvp4.
39         * posix/tst-execvp4.c: New file.
40
41 2005-07-24  Jakub Jelinek  <jakub@redhat.com>
42
43         [BZ #1125]
44         * posix/execvp.c (execvp): Change path_malloc to
45         char *, free that pointer on failure.
46
47 2005-07-24  Ulrich Drepper  <drepper@redhat.com>
48
49         * wcsmbs/bits/wchar2.h: Use __FILE not FILE.
50         * wcsmbs/Makefile: Add rules to build and run tst-wchar-h.
51         * wcsmbs/tst-wchar-h.c: New file.
52
53 2005-07-22  Ulrich Drepper  <drepper@redhat.com>
54
55         * stdio-common/fxprintf.c (__fxprintf): Define variable more local.
56
57 2005-07-22  Jakub Jelinek  <jakub@redhat.com>
58
59         * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use
60         __gnuc_va_list rather than _G_va_list.
61
62 2005-07-22  Roland McGrath  <roland@redhat.com>
63
64         [BZ #869]
65         * Makerules ($(objpfx)stubs): Fix last change.
66
67 2005-07-21  Roland McGrath  <roland@redhat.com>
68
69         * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o).
70
71         * stdlib/Makefile (headers): Move bits/wchar.h to ...
72         * wcsmbs/Makefile (headers): ... here.  Add bits/wchar2.h too.
73
74 2005-07-21  Jakub Jelinek  <jakub@redhat.com>
75
76         * wcsmbs/bits/wchar2.h (swprintf): Remove format argument.
77         * debug/tst-chk1.c (do_test): Add test for swprintf with format
78         being the last argument.
79
80 2005-07-21  Thorsten Kukuk  <kukuk@suse.de>
81
82         * debug/getgroups_chk.c (__getgroups_chk): Fix return value.
83
84         * stdio-common/fxprintf.c: Include string.h.
85
86 2005-07-20  Ulrich Drepper  <drepper@redhat.com>
87
88         * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results.
89         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
90         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
91
92 2005-07-20  Bob Wilson  <bob.wilson@acm.org>
93             Darin Petkov  <darin@tensilica.com>
94
95         * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
96
97 2005-07-20  Jakub Jelinek  <jakub@redhat.com>
98
99         * include/stdio.h (__fxprintf): Remove wfmt argument.
100         * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h.
101         (__fxprintf): Remove wfmt argument, create wfmt format string on
102         the fly from fmt.
103         * argp/argp-fmtstream.c: Adjust all __fxprintf callers.
104         * argp/argp-help.c: Likewise.
105         * assert/assert-perr.c: Likewise.
106         * assert/assert.c: Likewise.
107         * gmon/gmon.c: Likewise.
108         * inet/rcmd.c: Likewise.
109         * malloc/obstack.c: Likewise.
110         * misc/error.c: Likewise.
111         * misc/getpass.c: Likewise.
112         * posix/getopt.c: Likewise.
113         * resolv/res_hconf.c: Likewise.
114         * stdio-common/perror.c: Likewise.
115         * stdio-common/psignal.c: Likewise.
116         * stdlib/fmtmsg.c: Likewise.
117         * sunrpc/auth_unix.c: Likewise.
118         * sunrpc/clnt_perr.c: Likewise.
119         * sunrpc/clnt_tcp.c: Likewise.
120         * sunrpc/clnt_udp.c: Likewise.
121         * sunrpc/clnt_unix.c: Likewise.
122         * sunrpc/svc_simple.c: Likewise.
123         * sunrpc/svc_tcp.c: Likewise.
124         * sunrpc/svc_udp.c: Likewise.
125         * sunrpc/svc_unix.c: Likewise.
126         * sunrpc/xdr.c: Likewise.
127         * sunrpc/xdr_array.c: Likewise.
128         * sunrpc/xdr_rec.c: Likewise.
129         * sunrpc/xdr_ref.c: Likewise.
130         * sysdeps/generic/wordexp.c: Likewise.
131
132 2005-07-20  Ulrich Drepper  <drepper@redhat.com>
133
134         * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,
135         wcsrtombs, mbsnrtowcs, and wcsnrtombs.
136         * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk,
137         wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk.
138         * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk,
139         __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk.
140         * debug/tst-chk1.c: Add tests for new functions.
141         * debug/mbsnrtowcs_chk.c: New file.
142         * debug/mbsrtowcs_chk.c: New file.
143         * debug/wcrtomb_chk.c: New file.
144         * debug/wcsnrtombs_chk.c: New file.
145         * debug/wcsrtombs_chk.c: New file.
146
147 2005-07-19  Ulrich Drepper  <drepper@redhat.com>
148
149         * stdio-common/Makefile (aux): Add fxprintf.
150         * stdio-common/fxprintf.c: New file.
151         * include/stdio.h: Add declaration for __fxprintf.
152         * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream
153         orientation test and two separate function calls.
154         * argp/argp-help.c: Likewise.
155         * assert/assert-perr.c: Likewise.
156         * assert/assert.c: Likewise.
157         * gmon/gmon.c: Likewise.
158         * inet/rcmd.c: Likewise.
159         * malloc/obstack.c: Likewise.
160         * misc/error.c: Likewise.
161         * misc/getpass.c: Likewise.
162         * posix/getopt.c: Likewise.
163         * resolv/res_hconf.c: Likewise.
164         * stdio-common/perror.c: Likewise.
165         * stdio-common/psignal.c: Likewise.
166         * stdlib/fmtmsg.c: Likewise.
167         * sunrpc/auth_unix.c: Likewise.
168         * sunrpc/clnt_perr.c: Likewise.
169         * sunrpc/clnt_tcp.c: Likewise.
170         * sunrpc/clnt_udp.c: Likewise.
171         * sunrpc/clnt_unix.c: Likewise.
172         * sunrpc/svc_simple.c: Likewise.
173         * sunrpc/svc_tcp.c: Likewise.
174         * sunrpc/svc_udp.c: Likewise.
175         * sunrpc/svc_unix.c: Likewise.
176         * sunrpc/xdr.c: Likewise.
177         * sunrpc/xdr_array.c: Likewise.
178         * sunrpc/xdr_rec.c: Likewise.
179         * sunrpc/xdr_ref.c: Likewise.
180         * sysdeps/generic/wordexp.c: Likewise.
181
182         * misc/Makefile: Add rules to build and run tst-error1.
183         * misc/tst-error1.c: New file.
184         * misc/error.c: Fix memory leak and possibly endless loop.
185
186         * configure.in: Check for -fstack-protector gcc option.
187         * config.make.in (have-ssp): Add template.
188         * nscd/Makefile (nscd-cflags): Add -fstack-protector if supported.
189
190         * nscd/nscd.c (main): Don't ignore result of chdir call.
191
192 2005-07-18  Roland McGrath  <roland@redhat.com>
193
194         [BZ #869]
195         * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of
196         objdump command line.
197
198 2005-07-18  Ulrich Drepper  <drepper@redhat.com>
199
200         * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE.
201
202         * nscd/connections.c: Fix a few wur warnings.
203
204         [BZ #1113]
205         * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID
206         length.  Patch by Ivan Gyurdiev <ivg2@cornell.edu>.
207
208         * debug/confstr_chk.c: New file.
209         * debug/getdomainname_chk.c: New file.
210         * debug/getgroups_chk.c: New file.
211         * debug/gethostname_chk.c: New file.
212         * debug/getlogin_r_chk.c: New file.
213         * debug/ttyname_r_chk.c: New file.
214         * posix/bits/unistd.h: Add definitions for new debug versions.
215         * debug/tst-chk1.c: Add tests for new functions.
216         * debug/Versions: Export new functions.
217         * debug/Makefile (routines): Add new files.
218
219         * stdlib/bits/stdlib.h: Fix typo.
220
221 2005-07-13  Thorsten Kukuk  <kukuk@suse.de>
222
223         * manual/Makefile (libc/index.html): Depend on dir-add.texi.
224
225 2005-07-15  Ulrich Drepper  <drepper@redhat.com>
226
227         * stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECT
228         where necessary.
229         * wcsmbs/bits/wchar2.h: Likewise.
230
231 2005-07-15  Andreas Jaeger  <aj@suse.de>
232
233         * debug/Makefile (tst-lfschk3-ENV): New, set locale.
234         (tst-lfschk2-ENV): New.
235         (tst-lfschk1-ENV): New.
236         (tst-chk3-ENV): New.
237         (tst-chk2-ENV): New.
238         (tst-chk1-ENV): New.
239
240         [BZ #1079]
241         * include/stdlib.h: Remove malloc attribute from __posix_memalign.
242         * stdlib/stdlib.h: Likewise.
243
244 2005-07-15  Ulrich Drepper  <drepper@redhat.com>
245
246         * wcsmbs/bits/wchar2.h: New file.
247         * include/bits/wchar2.h: New file.
248         * wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is
249         requested.
250         * wcsmbs/wcsncpy.c: Add __wcsncpy alias.
251         * string/bits/string3.h: Add fortified stpncpy definitions.
252         * sysdeps/generic/stpncpy_chk.c: New file.
253         * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h.
254         Export _IO_wstrn_jumps.
255         * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps.
256         * include/wchar.h: Declare __wcsncpy and __vswprintf_chk.
257         * debug/fgetws_chk.c: New file.
258         * debug/fgetws_u_chk.c: New file.
259         * debug/fwprintf_chk.c: New file.
260         * debug/swprintf_chk.c: New file.
261         * debug/vfwprintf_chk.c: New file.
262         * debug/vswprintf_chk.c: New file.
263         * debug/vwprintf_chk.c: New file.
264         * debug/wcpcpy_chk.c: New file.
265         * debug/wcpncpy_chk.c: New file.
266         * debug/wcscat_chk.c: New file.
267         * debug/wcscpy_chk.c: New file.
268         * debug/wcsncat_chk.c: New file.
269         * debug/wcsncpy_chk.c: New file.
270         * debug/wmemcpy_chk.c: New file.
271         * debug/wmemmove_chk.c: New file.
272         * debug/wmempcpy_chk.c: New file.
273         * debug/wmemset_chk.c: New file.
274         * debug/wprintf_chk.c: New file.
275         * debug/tst-chk1.c: Add tests for new functions.
276         * debug/Versions: Export new functions.
277         * debug/Makefile (routines): Add new functions.
278
279 2005-07-13  Ulrich Drepper  <drepper@redhat.com>
280
281         * nscd/nscd_helper.c: Add a few __builtin_expect.
282
283         [BZ #1080]
284         * nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
285         * nscd/nscd_helper.c (wait_on_socket): New function.
286         (get_mapping): Use wait_on_socket instead of poll.  The former handles
287         EINTR of poll correctly.
288         (__nscd_open_socket): Likewise.
289         (get_mapping): Make sure BUF is aligned correctly.
290         (get_mapping): Use munmap on correct pointer.
291
292 2005-07-12  Ulrich Drepper  <drepper@redhat.com>
293
294         * include/libc-symbols.h: Define macros for librt hidden symbols.
295         * include/time.h: Add librt_hidden_proto definition for clock_gettime.
296         * sysdeps/generic/clock_gettime.c: Add librt_hidden_def.
297         * sysdeps/unix/clock_gettime.c: Likewise.
298
299         * stdlib/bits/stdlib.h: New file.
300         * stdlib/stdlib.h: Include <bits/stdlib.h> if fortification is
301         requested.
302         * Makefile (headers): Add bits/stdlib.h.
303         * include/bits/stdlib.h: New file.
304         * debug/Depend: New file.
305         * debug/ptsname_r_chk.c: New file.
306         * debug/realpath_chk.c: New file.
307         * debug/wctomb_chk.c: New file.
308         * debug/Makefile (routines): Add ptsname_r_chk, realpath_chk, and
309         wctomb_chk.
310         * debug/Versions: Export __ptsname_r_chk, __realpath_chk, and
311         __wctomb_chk.
312         * debug/tst-chk1.c: Add tests for __ptsname_r_chk, __realpath_chk, and
313         __wctomb_chk.
314
315 2005-07-12  Jakub Jelinek  <jakub@redhat.com>
316
317         [BZ #1106]
318         * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h.
319         (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel
320         instead of read and close_not_cancel_no_status instead of close.
321
322         [BZ #1106]
323         * sysdeps/s390/s390-64/bcopy.S (__bcopy): Use
324         HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
325
326 2005-06-27  Carlos O'Donell  <carlos@systemhalted.org>
327
328         * posix/regcomp.c (re_compile_internal): Call __libc_lock_init
329         after init_dfa.
330
331 2005-07-08  Ulrich Drepper  <drepper@redhat.com>
332
333         * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret.  Remove
334         alignment.
335         * sysdeps/x86_64/fpu/s_sincos.S: New file.
336
337         * include/fenv.h: Add libm_hidden_proto for fesetround and
338         feholdexcept.
339         * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def.
340         * sysdeps/alpha/fpu/fesetround.c: Likewise.
341         * sysdeps/generic/feholdexcpt.c: Likewise.
342         * sysdeps/generic/fesetround.c: Likewise.
343         * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
344         * sysdeps/i386/fpu/fesetround.c: Likewise.
345         * sysdeps/ia64/fpu/feholdexcpt.c: Likewise.
346         * sysdeps/ia64/fpu/fesetround.c: Likewise.
347         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
348         * sysdeps/powerpc/fpu/fesetround.c: Likewise.
349         * sysdeps/s390/fpu/feholdexcpt.c: Likewise.
350         * sysdeps/s390/fpu/fesetround.c: Likewise.
351         * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise.
352         * sysdeps/sh/sh4/fpu/fesetround.c: Likewise.
353         * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
354         * sysdeps/sparc/fpu/fesetround.c: Likewise.
355         * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise.
356         * sysdeps/x86_64/fpu/fesetround.c: Likewise.
357         * sysdeps/generic/s_significand.c (__significand): Use __ilogb not
358         ilogb.
359         * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf
360         not ilogbf.
361         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and
362         __cos, not sin and cos.
363
364 2005-07-07  Ulrich Drepper  <drepper@redhat.com>
365
366         * resolv/res_send.c (send_dg): Recognize referral results and
367         treat them as server errors.
368         Based on a patch by Jason Vas Dias <jvdias@redhat.com>.
369
370 2005-07-08  Carlos O'Donell  <carlos@systemhalted.org>
371
372         * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.
373
374         * sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0.
375         * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise.
376         * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise.
377         * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise.
378         * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
379         * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
380
381 2005-07-07  Ulrich Drepper  <drepper@redhat.com>
382
383         * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better.
384         * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise.
385         * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise.
386         * sysdeps/generic/s_ctan.c (__ctan): Likewise.
387         * sysdeps/generic/s_ctanf.c (__ctanf): Likewise.
388         * sysdeps/generic/s_ctanl.c (__ctanl): Likewise.
389
390 2005-04-13  H.J. Lu  <hongjiu.lu@intel.com>
391
392         [BZ #974]
393         * csu/elf-init.c (__preinit_array_start): Take int, char **, char **.
394         (__preinit_array_end): Likewise.
395         (__init_array_start): Likewise.
396         (__init_array_end): Likewise.
397         (__libc_csu_init): Take int argc, char **argv, char **envp.
398         Call preinit_array and init_array with argc, argv, envp.
399         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove
400         INIT_MAIN_ARGS.
401         * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed.
402         * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c,
403         tst-array5dep.c, and tst-array5.exp.
404         (tests): Add tst-array5.
405         (tests-static): Add tst-array5-static.
406         ($(objpfx)tst-array5): New target.
407         ($(objpfx)tst-array5.out): Likewise.
408         ($(objpfx)tst-array5-static.out): Likewise.
409         * elf/tst-array5-static.c: New file.
410         * elf/tst-array5-static.exp: Likewise.
411         * elf/tst-array5.c: Likewise.
412         * elf/tst-array5.exp: Likewise.
413         * elf/tst-array5dep.c: Likewise.
414
415 2005-07-07  Ulrich Drepper  <drepper@redhat.com>
416
417         * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype.
418
419 2005-07-05  Jakub Jelinek  <jakub@redhat.com>
420
421         * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition.
422         Reported by Ulrich Weigand <uweigand@de.ibm.com>.
423
424         * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition.
425
426 2005-07-06  Ulrich Drepper  <drepper@redhat.com>
427
428         * elf/dl-error.c (_dl_signal_error): When testing for executable
429         being relocated, take into account that nothing might even be loaded.
430
431         * elf/dl-reloc.c [PROF] (_dl_relocate_object): Define
432         consider_profiling always to zero.  Don't count of compiler to
433         remove unreached if block.
434         * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile):
435         Don't compile.
436         * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
437         * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
438         * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile):
439         Likewise.
440         * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile):
441         Likewise.
442         * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF]
443         (_dl_profile_resolve): Likewise.
444         * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF]
445         (_dl_profile_resolve): Likewise.
446         * gmon/Makefile: Add rules to build and run tst-profile-static.
447         * gmon/tst-profile-static.c: New file.
448         * Makeconfig (+link-static): Allow passing program-specific flags.
449
450 2005-07-05  Thorsten Kukuk  <kukuk@suse.de>
451
452         [BZ #1111]
453         * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Check if NSS
454         module provides getgrgid_r.
455         (getgrnam_plusgroup): Preserve original return value.
456         * nis/nss_compat/compat-pwd.c (getpwnam_plususer): Preserve
457         original return value.
458         * nis/nss_compat/compat-spwd.c (getspnam_plususer): Likewise.
459
460 2005-07-05  Ulrich Drepper  <drepper@redhat.com>
461
462         [BZ #1101]
463         * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not
464         MB_CUR_MAX.
465         (build_wcs_upper_buffer): Likewise.
466
467         * csu/elf-init.c (__libc_csu_fini): Pretty printing.
468
469 2005-07-02  Roland McGrath  <roland@redhat.com>
470
471         * NEWS: Note LinuxThreads removal.
472         * manual/install.texi (Installation): Don't mention linuxthreads.
473         (Configuring and compiling): Don't use linuxthreads as example.
474
475         * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only,
476         not linuxthreads.
477         * sysdeps/unix/sysv/linux/configure: Regenerated.
478         * resolv/Depend: Add nptl.
479         * rt/Depend: Likewise.
480
481         * linuxthreads, linuxthreads_db: Directories removed (preserved in
482         ports repository).
483
484 2005-06-27  Jakub Jelinek  <jj@ultra.linux.cz>
485
486         [BZ #1037]
487         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated,
488         use -mcpu=v8.
489
490 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
491
492         [BZ #1016]
493         * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
494
495 2005-06-23  Thorsten Kukuk  <kukuk@suse.de>
496
497         [BZ #1109]
498         * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR
499         with own translation.
500
501 2005-06-25  Jakub Jelinek  <jakub@redhat.com>
502
503         [BZ #1097]
504         * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast
505         t2 to uint32_t instead of ulong.
506         * sunrpc/Makefile (tests): Add tst-xdrmem.
507         * sunrpc/tst-xdrmem.c: New test.
508
509         * Versions.def (ld): Add GLIBC_2.4.
510         * configure.in: Add --enable-stackguard-randomization option.
511         (ENABLE_STACKGUARD_RANDOMIZE): New define.
512         * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add.
513         * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h.
514         (_dl_setup_stack_chk_guard): New inline function.
515         * sysdeps/generic/dl-osinfo.h: Include stdint.h.
516         (_dl_setup_stack_chk_guard): New inline function.
517         * elf/rtld.c (__stack_chk_guard): New variable.
518         (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE.
519         Set __stack_chk_guard to _dl_setup_stack_chk_guard (),
520         use THREAD_SET_STACK_GUARD if defined.
521         * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4.
522         * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable.
523         (__libc_start_main): Set __stack_chk_guard to
524         _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined.
525         * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all
526         traces of TLS_INIT_TP_EXPENSIVE.
527         * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4.
528         * debug/Makefile (routines): Add stack_chk_fail.
529         (static-only-routines): Add stack_chk_fail_local.
530         * debug/stack_chk_fail_local.c: New file.
531         * debug/stack_chk_fail.c: New file.
532         * elf/Makefile: Add rules to build and run tst-stackguard1{,-static}
533         tests.
534         * elf/tst-stackguard1.c: New file.
535         * elf/tst-stackguard1-static.c: New file.
536         * elf/stackguard-macros.h: New file.
537
538 2005-06-21  Ulrich Drepper  <drepper@redhat.com>
539
540         * resource/Makefile (tests): Add tst-getrlimit.
541         * resource/tst-getrlimit.c: New file.
542
543         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo.
544         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
545         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
546
547 2005-06-20  Ulrich Drepper  <drepper@redhat.com>
548
549         * nscd/nscd.init: Get more in line with lsb3.
550         * nscd/nscd.c: Adjust some error codes to fit in better with lsb3.
551         * nscd/connections.c: Likewise.
552
553 2005-06-20  Jakub Jelinek  <jakub@redhat.com>
554
555         [BZ #653]
556         * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for
557         _LINUX_QUOTA_VERSION >= 2.
558         (_LINUX_QUOTA_VERSION): Define if not yet defined.
559
560         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,
561         RLIMIT_RTPRIO): Add.
562         (RLIMIT_NLIMITS): Adjust.
563         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE,
564         RLIMIT_RTPRIO): Add.
565         (RLIMIT_NLIMITS): Adjust.
566         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE,
567         RLIMIT_RTPRIO): Add.
568         (RLIMIT_NLIMITS): Adjust.
569         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE,
570         RLIMIT_RTPRIO): Add.
571         (RLIMIT_NLIMITS): Adjust.
572
573 2005-06-17  Ulrich Drepper  <drepper@redhat.com>
574
575         [BZ #1106]
576         * time/mktime.c: Always include <string.h> for prototype of
577         implicitly used memcpy.
578
579         [BZ #1104]
580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
581         (truncate64): Use __truncate, not truncate.
582         (__have_no_truncate64): Renamed from have_no_truncate64.
583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
584         (__have_no_truncate64): Renamed from have_no_truncate64.
585
586         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex
587         float functions for gcc 4.
588
589 2005-06-10  Jakub Jelinek  <jakub@redhat.com>
590
591         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):
592         Handle prelinked libraries and binaries with new style PLT.
593
594 2005-06-07  Jakub Jelinek  <jakub@redhat.com>
595
596         * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI,
597         R_PPC_REL16_HA): Define.
598
599 2005-06-14  Alan Modra  <amodra@bigpond.net.au>
600
601         * config.h.in (HAVE_ASM_PPC_REL16): Add.
602         * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define.
603         * elf/tls-macros.h (PowerPC32): Include config.h.  Add variants of
604         TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout.
605         * sysdeps/powerpc/powerpc32/configure.in: New file,
606         * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file.
607         * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define.
608         (ppc_got): New inline function.
609         (elf_machine_dynamic): Use ppc_got.  Add attribute const.
610         (elf_machine_load_address): Add attribute const.  Don't use int vars.
611         Use bcl rather than bl to save trashing branch target stack.  Use
612         elf_machine_dynamic rather than duplicating code here.
613         (elf_machine_runtime_setup): New inline function replacing define.
614         Handle new PLT.
615         (elf_machine_fixup_plt): Handle new PLT.
616         (elf_machine_rela): Likewise.
617         * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h.
618         (CALL_MCOUNT): Don't set up counter vars.
619         * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment.
620         * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't
621         define when HAVE_ASM_PPC_REL16.
622         (_start): Add HAVE_ASM_PPC_REL16 code.
623         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl
624         into the GOT when HAVE_ASM_PPC_REL16.
625         * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
626         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto.
627         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise.
628         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
629         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
630         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
631         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise.
632         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
633         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
634         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
635         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
636         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
637         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
638         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp):
639         Likewise.
640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise.
641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
642         (__getcontext): Likewise.
643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
644         (__setcontext): Likewise.
645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
646         (__swapcontext): Likewise.
647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock):
648         Comment.
649         (__socket): Bomb if NARGS >= 7.  Invoke CGOTSETUP and CGOTRESTORE.
650
651 2005-06-17  Ulrich Drepper  <drepper@redhat.com>
652
653         [BZ #1106]
654         * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
655         to use __GI_memset.
656         * sysdeps/posix/signal.c: Likewise.
657         * sysdeps/posix/sigset.c: Likewise.
658         * sysdeps/posix/sysv_signal.c: Likewise.
659         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
660         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
661         * sysdeps/unix/sysv/linux/system.c: Likewise.
662
663 2005-06-15  Jakub Jelinek  <jakub@redhat.com>
664
665         [BZ #1088]
666         * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
667         or both classes equal here.
668         (parse_config_file): If both classes are equal, clear the second one.
669
670 2005-06-08  Karl Kelley  <kekelley@iastate.edu>
671
672         [BZ #1088]
673         * hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
674         * hesiod/hesiod.c (hesiod_init): Initialize classes.  Fail if no
675         valid classes were given or if both are equal.
676         (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
677         and C_HS order.
678         (parse_config_file): Handle classes keyword.
679         * hesiod/README.hesiod: Mention addition of the classes keyword.
680
681 2005-06-14  Ulrich Drepper  <drepper@redhat.com>
682
683         [BZ #1085]
684         * configure.in: Add test for availability of libaudit.
685         * config.h.in: Define HAVE_LIBAUDIT.
686         * config.make.in: Define have-libaudit.
687         * nscd/Makefile: If libaudit is available, link nscd with it.
688         * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
689         Patch by Steve Grubb <sgrubb@redhat.com>.
690
691         * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
692         * sysdeps/posix/posix_fallocate64.c: Likewise.
693         * include/string.h: Use libc_hidden_proto for strnlen.
694         * sysdeps/generic/strnlen.c: Add libc_hidden_def.
695         * include/libintl.h: Use libc_hidden_proto for __dcgettext.
696         * intl/dcgettext.c: Add libc_hidden_def.
697         * include/execinfo.h: Add libc_hidden_proto for __backtrace and
698         __backtrace_symbols_fd.
699         * sysdeps/generic/backtrace.c: Add libc_hidden_def.
700         * sysdeps/generic/backtracesymsfd.c: Likewise.
701         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
702         * sysdeps/i386/backtrace.c: Likewise.
703         * sysdeps/ia64/backtrace.c: Likewise.
704         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
705         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
706         * sysdeps/s390/s390-32/backtrace.c: Likewise.
707         * sysdeps/s390/s390-64/backtrace.c: Likewise.
708
709 2005-06-13  Ulrich Drepper  <drepper@redhat.com>
710
711         * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case
712         where HANDLED_REALTIME is not defined.  [BZ #966]
713
714 2005-06-13  Jakub Jelinek  <jakub@redhat.com>
715
716         [BZ #1096]
717         * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
718         __netlink_receive): Remove prototypes.
719         (__netlink_request): New prototype.
720         * sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
721         <stdint.h>.
722         (__netlink_sendreq): Make static.
723         (__netlink_receive): Rename to...
724         (__netlink_request): ... this.  Add type argument, call
725         __netlink_sendreq.  If MSG_TRUNC is set after recvmsg, retry
726         with a bigger buffer.  Don't record buffers that contain no
727         messages we are expecting.
728         (getifaddrs): Use __netlink_request instead of __netlink_sendreq
729         and __netlink_receive pairs.  Formatting.
730         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
731         __netlink_request instead of __netlink_sendreq and __netlink_receive
732         pair.
733
734 2005-06-13  Thorsten Kukuk  <kukuk@suse.de>
735
736         * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel
737         headers, instead copy important structs/defines.
738
739 2005-06-13  Jakub Jelinek  <jakub@redhat.com>
740
741         * elf/rtld.c (dl_main): Move DT_DEBUG setup before first
742         _dl_debug_state call.
743
744 2005-06-12  Ulrich Drepper  <drepper@redhat.com>
745
746         * elf/dl-error.c (_dl_signal_error): Store information about use of
747         real malloc in the catch object.
748         (_dl_catch_error): Forward information about malloc use to caller
749         in new parameter.
750         (_dl_out_of_memory): Make static.
751         * elf/dl-deps.c: Adjust callers of _dl_catch_error.
752         * elf/dl-libc.c: Likewise.
753         * elf/dl-open.c: Likewise.
754         * elf/rtld.c: Likewise.
755         Add new --audit option.
756         * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration.
757         (rtld_global_ro._dl_signal_error): Add new parameter.
758         * include/dlfcn.h (_dl_catch_error): Add new parameter.
759         * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to
760         _dl_catch_error.  Only free if the returned newly value says so.
761
762 2005-06-01  Roland McGrath  <roland@redhat.com>
763
764         [BZ #959]
765         * posix/tst-mmap.c (main): Fill the test file with enough data for the
766         page size.
767
768 2005-05-30  Jakub Jelinek  <jakub@redhat.com>
769
770         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If
771         GLRO(dl_osversion) has been already set to a value smaller than
772         _dl_discover_osversion (), don't overwrite it here.
773
774 2005-05-24  Thomas Schwinge  <schwinge@nic-nac-project.de>
775
776         * sysdeps/mach/i386/syscall.S (syscall): Call END.
777
778 2005-05-28  Richard Henderson  <rth@redhat.com>
779
780         * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
781         * sysdeps/alpha/dl-dtprocnum.h: New file.
782         * sysdeps/alpha/dl-machine.h (DT_ALPHA): New.
783         (elf_machine_load_address): Simplify to rely on gprel relocations.
784         (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format.
785         Remove thread safety workaround for binutils 2.6.
786         (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format.
787         * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New.
788         (_dl_runtime_profile_new): New.
789         (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve.
790         (_dl_runtime_profile_old): Rename from _dl_runtime_profile.  Fix
791         typo in _dl_call_pltexit argument loading.
792
793         * sysdeps/alpha/div_libc.h (funcnoplt): New.
794         * sysdeps/alpha/divl.S: Use it.
795         * sysdeps/alpha/divq.S: Likewise
796         * sysdeps/alpha/divqu.S: Likewise.
797         * sysdeps/alpha/reml.S: Likewise.
798         * sysdeps/alpha/remq.S: Likewise.
799         * sysdeps/alpha/remqu.S: Likewise.
800
801 2005-05-26  Andreas Schwab  <schwab@suse.de>
802
803         * locale/Makefile (CFLAGS-loadlocale.c): Don't define.
804
805 2005-05-26  Ulrich Drepper  <drepper@redhat.com>
806
807         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value.
808         Reported by Colin Gibbs <colin@gibbsonline.net>.  [BZ #954]
809
810 2005-05-17  Alan Modra  <amodra@bigpond.net.au>
811
812         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent
813         _dl_hwcap access in PIC && !SHARED case.
814         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
815
816 2005-05-25  Dwayne Grant McConnell  <dgm69@us.ibm.com>
817
818         * gmon/gmon.c: Add space in weak_alias use.
819         * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
820         * sysdeps/alpha/htonl.S: Likewise.
821         * sysdeps/alpha/htons.S: Likewise.
822         * sysdeps/alpha/elf/start.S: Likewise.
823         * sysdeps/i386/i386-mcount.S: Likewise.
824         * sysdeps/ia64/strchr.S: Likewise.
825         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
826         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
827         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
828         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
829         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
830         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
831         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
832         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
833         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
834         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
835         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
836         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
837         * sysdeps/mach/hurd/readdir64_r.c: Likewise.
838         * sysdeps/mach/hurd/sigaltstack.c: Likewise.
839         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
840         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
841         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
842         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
843         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
844         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
845         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
846         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
847         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
848         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
849         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
850         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
851         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
852         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
853         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
854         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
855         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
856         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
857         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
858         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
859         * sysdeps/sparc/sparc32/memset.S: Likewise.
860         * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
861         * sysdeps/sparc/sparc32/strchr.S: Likewise.
862         * sysdeps/sparc/sparc32/strchr.S: Likewise.
863         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
864         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
865         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
866         * sysdeps/sparc/sparc64/memset.S: Likewise.
867         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
868         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
869         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
870         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
871         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
872         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
873         * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise.
874         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
875         * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise.
876         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
877         * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise.
878         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
879         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
880         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
881         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
882         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
883         * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise.
884         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
885         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
886         * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise.
887         * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise.
888         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
889         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
891         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
892         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
893         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
894         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
895         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
896         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
897         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
898         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
899         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise.
900         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
901         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
902         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
903         * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
904         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
905         * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise.
906         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
907         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
908         * sysdeps/x86_64/_mcount.S: Likewise.
909
910 2005-05-24  Roland McGrath  <roland@redhat.com>
911
912         * sysdeps/unix/sysv/linux/i386/sysdep.h
913         (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ...
914         * sysdeps/i386/sysdep.h [PIC]: ... to here.
915
916 2005-05-23  Roland McGrath  <roland@redhat.com>
917
918         * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm:
919         Subdirectories moved to ports repository.
920         * configure.in (base_machine): Remove arm* and thumb* patterns.
921         * shlib-versions (arm.*-.*-linux.*): Remove this pattern.
922
923 2005-05-23  Ulrich Drepper  <drepper@redhat.com>
924
925         [BZ #1086]
926         * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd
927         implementations are broken and don't accept ports < 512.
928
929 2005-05-22  Dmitry V. Levin  <ldv@altlinux.org>
930
931         [BZ #961]
932         * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
933         declarations.
934
935 2005-05-23  Ulrich Drepper  <drepper@redhat.com>
936
937         [BZ #1086]
938         * sunrpc/pm_getport.c (__get_socket): New function.
939         (pmap_getport): Use it to open a non-reserved socket to the portmapper
940         for TCP.
941         * include/rpc/pmap_clnt.h (__get_socket): Declare.
942         * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an
943         non-reserved socket for the portmapper.
944         Based on a patch by Steve Dickson <steved@redhat.com>.
945
946         [BZ #1086]
947         * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port.
948         If we tried looking at the usual range without success extend the
949         range to even lower ports.
950
951         * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch.
952
953 2005-05-22  Andreas Schwab  <schwab@suse.de>
954
955         * elf/rtld.c: Include <dl-osinfo.h>.
956
957 2005-05-17  Alan Modra  <amodra@bigpond.net.au>
958
959         * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use
960         JUMPTARGET.  Instead append @local to __syscall_error.
961         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences
962         of JUMPTARGET.  Instead append @local to labels.
963         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
964         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
965         * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise.
966         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
974
975         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants.
976         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
977         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
978         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
979         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.  Use one GOT
980         slot to access both constants.
981         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
982         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
983
984         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.
985         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete.
986         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete.
987         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete.
988         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo.
989         (NEGZERO.0, POINTFIVE.0): Delete.
990         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete.
991         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete.
992         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text.
993         (TWO52.0, POINTFIVE.0): Delete.
994         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text.
995         (TWO23.0, POINTFIVE.0): Delete.
996         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text.
997         (TWO52.0): Delete.
998         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text.
999         (TWO23.0): Delete.
1000         * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
1001
1002 2005-05-19  Richard Henderson  <rth@redhat.com>
1003
1004         * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around
1005         CLOCK_REALTIME.
1006
1007         * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq,
1008         __arch_compare_and_exchange_bool_64_acq,
1009         __arch_compare_and_exchange_val_32_acq,
1010         __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add):
1011         Use __sync builtin without _si or _di suffix.
1012
1013 2005-05-19  Jakub Jelinek  <jakub@redhat.com>
1014
1015         [BZ #955]
1016         * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters
1017         <UFFFF> and above.
1018
1019 2005-05-17  Andreas Schwab  <schwab@suse.de>
1020
1021         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1022         (clock_getcpuclockid): Always return a defined value.
1023
1024 2005-05-17  Neal H. Walfield  <neal@gnu.org>
1025
1026         * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN]
1027         instead of [SALEN].
1028         (gaih_inet): Likewise.
1029
1030 2005-05-11  Ulrich Drepper  <drepper@redhat.com>
1031
1032         * elf/elf.h (Elf32_auxv_t): Make cross-compile safe.
1033         (Elf64_auxv_t): Likewise.
1034         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
1035         removal of a_ptr element in ElfXX_auxv_t.
1036         * elf/dl-support.c (_dl_aux_init): Likewise.
1037
1038 2005-05-09  Daniel Jacobowitz  <dan@codesourcery.com>
1039
1040         * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.
1041         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1042
1043 2005-05-09  Alan Modra  <amodra@bigpond.net.au>
1044
1045         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1046         .pushsection/.popsection in place of .section/.previous.
1047
1048 2005-05-08  Ulrich Drepper  <drepper@redhat.com>
1049
1050         * MakeTAGS: Make xgettext not look into test cases.
1051
1052         * MakeTAGS: Make sure translations in error calls are marked with
1053         c-format by xgettext.
1054
1055 2005-05-07  Ulrich Drepper  <drepper@redhat.com>
1056
1057         * intl/libintl.h: Always use __attribute_format_arg__ for gettext
1058         functions since gcc sometimes forgets the attribute for the
1059         standard functions.
1060
1061 2005-05-06  Jakub Jelinek  <jakub@redhat.com>
1062
1063         [BZ #934]
1064         * posix/regex_internal.h: Include bits/libc-lock.h or define dummy
1065         __libc_lock_* macros if not _LIBC.
1066         (struct re_dfa_t): Add lock.
1067         * posix/regcomp.c (re_compile_internal): Add __libc_lock_init.
1068         * posix/regexec.c (regexec, re_search_stub): Add locking.
1069
1070 2005-05-04  Jakub Jelinek  <jakub@redhat.com>
1071
1072         * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix)
1073         as argument to the scripts.
1074         * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir.
1075         * intl/tst-gettext4.sh: Likewise.  Use run_program_prefix argument.
1076         * intl/tst-gettext5.sh: Likewise.
1077
1078         * intl/tst-translit.sh: Add mkdir -p.
1079
1080         * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use
1081         .ifndef/.endif to allow use of this macro more than once per .S
1082         file.
1083         (LOAD_PIC_REG): New macro.
1084         * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame
1085         information.
1086         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1087         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1088         * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro.  Add call frame
1089         information.
1090         * sysdeps/i386/fpu/e_log10f.S: Likewise.
1091         * sysdeps/i386/fpu/s_expm1.S: Likewise.
1092         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1093         * sysdeps/i386/fpu/e_log2l.S: Likewise.
1094         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1095         * sysdeps/i386/fpu/s_lrint.S: Likewise.
1096         * sysdeps/i386/fpu/s_llrint.S: Likewise.
1097         * sysdeps/i386/fpu/s_ilogbf.S: Likewise.
1098         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1099         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1100         * sysdeps/i386/fpu/e_log.S: Likewise.
1101         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1102         * sysdeps/i386/fpu/s_lrintl.S: Likewise.
1103         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1104         * sysdeps/i386/fpu/e_scalb.S: Likewise.
1105         * sysdeps/i386/fpu/s_log1p.S: Likewise.
1106         * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
1107         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1108         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1109         * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
1110         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1111         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1112         * sysdeps/i386/fpu/s_lrintf.S: Likewise.
1113         * sysdeps/i386/fpu/e_acosh.S: Likewise.
1114         * sysdeps/i386/fpu/s_cexp.S: Likewise.
1115         * sysdeps/i386/fpu/s_ilogbl.S: Likewise.
1116         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1117         * sysdeps/i386/fpu/e_powl.S: Likewise.
1118         * sysdeps/i386/fpu/e_powf.S: Likewise.
1119         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1120         * sysdeps/i386/fpu/e_logl.S: Likewise.
1121         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1122         * sysdeps/i386/fpu/s_frexp.S: Likewise.
1123         * sysdeps/i386/fpu/e_pow.S: Likewise.
1124         * sysdeps/i386/fpu/e_logf.S: Likewise.
1125         * sysdeps/i386/fpu/e_log2.S: Likewise.
1126         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1127         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1128         * sysdeps/i386/fpu/s_llrintf.S: Likewise.
1129         * sysdeps/i386/fpu/s_ilogb.S: Likewise.
1130         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1131         * sysdeps/i386/fpu/e_atanh.S: Likewise.
1132         * sysdeps/i386/fpu/e_log10.S: Likewise.
1133         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1134         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1135         * sysdeps/i386/fpu/s_llrintl.S: Likewise.
1136         * sysdeps/i386/fpu/e_log10l.S: Likewise.
1137         * sysdeps/i386/fpu/s_nearbyint.S: Likewise.
1138         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1139         * sysdeps/i386/fpu/e_log2f.S: Likewise.
1140         * sysdeps/i386/addmul_1.S: Various fixes to cfi handling.
1141         * sysdeps/i386/mul_1.S: Likewise.
1142         * sysdeps/i386/strtok.S: Likewise.
1143         * sysdeps/i386/sub_n.S: Likewise.
1144         * sysdeps/i386/submul_1.S: Likewise.
1145         * sysdeps/i386/i586/addmul_1.S: Likewise.
1146         * sysdeps/i386/i586/memcpy.S: Likewise.
1147         * sysdeps/i386/i586/mul_1.S: Likewise.
1148         * sysdeps/i386/i586/rshift.S: Likewise.
1149         * sysdeps/i386/i586/sub_n.S: Likewise.
1150         * sysdeps/i386/i586/submul_1.S: Likewise.
1151         * sysdeps/i386/i686/memcmp.S: Likewise.
1152         * sysdeps/i386/i686/memmove.S: Likewise.
1153         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1154         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1155         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1156         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1157
1158 2005-05-03  Ulrich Drepper  <drepper@redhat.com>
1159
1160         * sysdeps/i386/add_n.S: Add call frame information.
1161         * sysdeps/i386/addmul_1.S: Likewise.
1162         * sysdeps/i386/bsd-setjmp.S: Likewise.
1163         * sysdeps/i386/lshift.S: Likewise.
1164         * sysdeps/i386/memchr.S: Likewise.
1165         * sysdeps/i386/memcmp.S: Likewise.
1166         * sysdeps/i386/mul_1.S: Likewise.
1167         * sysdeps/i386/rawmemchr.S: Likewise.
1168         * sysdeps/i386/rshift.S: Likewise.
1169         * sysdeps/i386/stpncpy.S: Likewise.
1170         * sysdeps/i386/strchr.S: Likewise.
1171         * sysdeps/i386/strchrnul.S: Likewise.
1172         * sysdeps/i386/strcspn.S: Likewise.
1173         * sysdeps/i386/strpbrk.S: Likewise.
1174         * sysdeps/i386/strrchr.S: Likewise.
1175         * sysdeps/i386/strspn.S: Likewise.
1176         * sysdeps/i386/strtok.S: Likewise.
1177         * sysdeps/i386/sub_n.S: Likewise.
1178         * sysdeps/i386/submul_1.S: Likewise.
1179         * sysdeps/i386/elf/bsd-setjmp.S: Likewise.
1180         * sysdeps/i386/i486/strcat.S: Likewise.
1181         * sysdeps/i386/i586/add_n.S: Likewise.
1182         * sysdeps/i386/i586/addmul_1.S: Likewise.
1183         * sysdeps/i386/i586/lshift.S: Likewise.
1184         * sysdeps/i386/i586/memcpy.S: Likewise.
1185         * sysdeps/i386/i586/memset.S: Likewise.
1186         * sysdeps/i386/i586/mul_1.S: Likewise.
1187         * sysdeps/i386/i586/rshift.S: Likewise.
1188         * sysdeps/i386/i586/strchr.S: Likewise.
1189         * sysdeps/i386/i586/strcpy.S: Likewise.
1190         * sysdeps/i386/i586/sub_n.S: Likewise.
1191         * sysdeps/i386/i586/submul_1.S: Likewise.
1192         * sysdeps/i386/i686/add_n.S: Likewise.
1193         * sysdeps/i386/i686/memcmp.S: Likewise.
1194         * sysdeps/i386/i686/memmove.S: Likewise.
1195         * sysdeps/i386/i686/mempcpy.S: Likewise.
1196         * sysdeps/i386/i686/memset.S: Likewise.
1197         * sysdeps/i386/i686/strtok.S: Likewise.
1198         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1199         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1200         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1201         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1202         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1203         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1204
1205         * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4.
1206
1207         * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available
1208         on ppc in 2.6.12.
1209
1210 2005-04-29  Jakub Jelinek  <jakub@redhat.com>
1211
1212         [BZ #1083]
1213         * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
1214         call ftruncate if offset is bigger than current size.  Make sure
1215         the file is offset + len bytes long if that is more than current size.
1216         Don't overwrite previous content of the file.
1217         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1218         Likewise.
1219
1220 2005-05-02  Roland McGrath  <roland@redhat.com>
1221
1222         [BZ #924]
1223         * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
1224
1225 2005-04-29  Roland McGrath  <roland@redhat.com>
1226
1227         * timezone/africa: Update from tzdata2005i.
1228         * timezone/asia: Likewise.
1229         * timezone/northamerica: Likewise.
1230         * timezone/yearistype: Likewise.
1231
1232         * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.
1233
1234 2005-04-29  Ulrich Drepper  <drepper@redhat.com>
1235
1236         [BZ #1093]
1237         * nis/nis_table.c: Fix realloc handling.
1238         * nis/nis_removemember.c: Likewise.
1239
1240 2005-04-28  Ulrich Drepper  <drepper@redhat.com>
1241
1242         [BZ #798]
1243         * nscd/Makefile: Help losers who use --with-headers.
1244
1245 2005-04-28  Roland McGrath  <roland@redhat.com>
1246
1247         [BZ #796]
1248         * sysdeps/unix/sysv/linux/dl-sysdep.h: New file.
1249         Define NEED_DL_SYSINFO_DSO for all platforms.
1250
1251         * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
1252         * sysdeps/alpha/dl-sysdep.h: Likewise.
1253         Use #include_next instead of duplicating generic file's contents.
1254         * sysdeps/ia64/dl-sysdep.h: Likewise.
1255         * sysdeps/sparc/dl-sysdep.h: Likewise.
1256
1257 2005-03-22  Steven Munroe  <sjmunroe@us.ibm.com>
1258
1259         * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
1260
1261 2005-03-07  Steven Munroe  <sjmunroe@us.ibm.com>
1262
1263         [BZ #781]
1264         * sysdeps/unix/sysv/linux/kernel-features.h
1265         (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1.
1266         (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1.
1267         (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting
1268         with 2.6.1.
1269         (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
1270
1271 2005-04-28  Ulrich Drepper  <drepper@redhat.com>
1272
1273         * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.
1274         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1275         * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate
1276         cfi_startproc and cfi_endproc.
1277
1278         * configure.in: Remove ultrasparc names.
1279
1280         * sysdeps/i386/i686/memcmp.S: Move misplaced END.
1281
1282 2005-03-27  Bruno Haible  <bruno@clisp.org>
1283
1284         Make it possible for multiple threads to use gettext() in different
1285         locales.
1286         * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
1287         (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
1288         field.
1289         (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
1290         (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
1291         search and newp.
1292
1293         * intl/tst-gettext4.c: New file.
1294         * intl/tst-gettext4.sh: New file.
1295         * intl/tst-gettext4-de.po: New file.
1296         * intl/tst-gettext4-fr.po: New file.
1297         * intl/tst-gettext5.c: New file.
1298         * intl/tst-gettext5.sh: New file.
1299         * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po,
1300         tst-gettext4-fr.po, tst-gettext5.sh.
1301         (multithread-test-srcs): New variable.
1302         (test-srcs): Add its contents.
1303         (tests): Depend on tst-gettext4.out, tst-gettext5.out.
1304         (tst-gettext4.out, tst-gettext5.out): New rules.
1305         (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables.
1306         Add rule for linking the multithread-test-srcs with the appropriate
1307         thread-library.
1308
1309 2005-04-28  Ulrich Drepper  <drepper@redhat.com>
1310
1311         * po/rw.po: New file.  From translation team.
1312
1313         * scripts/config.guess: Update from upstream.
1314         * scripts/config.sub: Likewise.
1315
1316 2005-04-27  Ulrich Drepper  <drepper@redhat.com>
1317
1318         [BZ #1094]
1319         * nscd/connections.c (nscd_run): Use time() value in prune_cache
1320         call, not timeout value, since the latter might be from another clock.
1321
1322 2005-04-27  Roland McGrath  <roland@redhat.com>
1323
1324         [BZ #877]
1325         * posix/unistd.h: Remove __nonnull from acct decl.
1326
1327         * rt/tst-cpuclock1.c: New file.
1328         * rt/tst-cpuclock2.c: New file.
1329         * rt/tst-cputimer1.c: New file.
1330         * rt/tst-cputimer2.c: New file.
1331         * rt/tst-cputimer3.c: New file.
1332         * rt/Makefile (tests): Add them.
1333
1334         * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
1335         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
1336         * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
1337         (HAS_CPUCLOCK): New macro.
1338         (clock_getcpuclockid): Function removed.
1339         #include the new linux file to define it instead.
1340         * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
1341         New function, broken out of ...
1342         (clock_gettime) [HP_TIMING_AVAIL]: ... here.  Call it.
1343         (realtime_gettime): New function, broken out of ...
1344         (clock_gettime) [! HANDLED_REALTIME]: ... here.  Call it.
1345         (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
1346         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
1347         (SYSDEP_GETTIME_CPUTIME): New macro.
1348         (SYSDEP_GETTIME): Use both.
1349         [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
1350         out of ...
1351         (SYSDEP_GETTIME): ... here.  Use it.
1352         [__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
1353         (SYSDEP_GETTIME_CPUTIME): New macro.  Handle CPU timers by trying
1354         kernel support and falling back to hp-timing code.
1355         * sysdeps/posix/clock_getres.c
1356         [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
1357         (clock_getres) [HP_TIMING_AVAIL]: ... here.  Call it.
1358         (realtime_getres): New function, broken out of ...
1359         (clock_getres) [! HANDLED_REALTIME]: ... here.  Call it.
1360         (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
1361         * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
1362         (SYSDEP_GETRES_CPUTIME): New macro.
1363         (SYSDEP_GETRES): Use both.
1364         [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
1365         out of ...
1366         (SYSDEP_GETRES): ... here.  Use it.
1367         [__NR_clock_getres] (HANDLED_CPUTIME): Define it.
1368         (SYSDEP_GETRES_CPUTIME): New macro.  Handle CPU timers by trying
1369         kernel support and falling back to hp-timing code.
1370         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
1371         CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
1372         translating to the kernel clockid_t for our own process/thread clock.
1373
1374 2005-04-27  Ulrich Drepper  <drepper@redhat.com>
1375
1376         * stdlib/test-canon.c: Make doesExist a directory and add more tests
1377         for the new error case.
1378
1379 2004-06-02  Dmitry V. Levin  <ldv@altlinux.org>
1380             Ranjani Murthy <ranmur@gmail.com>
1381
1382         * stdlib/canonicalize.c (__realpath): Change realpath(3) to
1383         return NULL and set errno to ENOTDIR for such pathnames like
1384         "/path/to/existing-non-directory/".
1385
1386 2005-04-26  Ulrich Drepper  <drepper@redhat.com>
1387
1388         [BZ #1105]
1389         * time/strptime_l.c (__strptime_internal): Handle 'z' to set
1390         tm_gmtoff.
1391         * time/Makefile (tests): Add tst-strptime2.
1392         * time/tst-strptime2.c: New file.
1393
1394 2005-04-26  Jakub Jelinek  <jakub@redhat.com>
1395
1396         [BZ #1081]
1397         * elf/dl-close.c: Include stddef.h.
1398         (_dl_close): If called recursively, just remember GC needs to be rerun
1399         and decrease l_direct_opencount.  Avoid GC if l_direct_opencount
1400         decreased to 1.  Rerun GC at the end if any destructor unloaded some
1401         additional libraries.
1402         * elf/Makefile: Add rules to build and run unload6 test.
1403         * elf/unload6.c: New test.
1404         * elf/unload6mod1.c: New file.
1405         * elf/unload6mod2.c: New file.
1406         * elf/unload6mod3.c: New file.
1407
1408         * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
1409         if magic_p is not NULL.
1410         (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
1411         (malloc_check): Fail if sz == -1.
1412         (free_check): Adjust mem2chunk_check caller.
1413         (realloc_check): Likewise.  Fail if bytes == -1.  If bytes == 0 and
1414         oldmem != NULL, call free_check and return NULL.  If reallocating
1415         and returning NULL, invert magic byte again to make oldmem valid
1416         region for further checking.
1417         (memalign_check): Fail if bytes == -1.
1418         * malloc/Makefile: Add rules to build and run tst-mcheck.
1419         * malloc/tst-mcheck.c: New test.
1420
1421 2005-04-26  Ulrich Drepper  <drepper@redhat.com>
1422
1423         [BZ #1110]
1424         * stdio-common/vfscanf.c: Correctly account for characters of
1425         decimal points right after +-.
1426
1427 2005-04-26  Roland McGrath  <roland@redhat.com>
1428
1429         * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
1430         ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
1431
1432 2005-04-25  Roland McGrath  <roland@redhat.com>
1433
1434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1435         (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
1436
1437         * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
1438
1439         * elf/dl-load.c: Revert last change.
1440
1441 2005-04-24  Ulrich Drepper  <drepper@redhat.com>
1442
1443         [BZ #1110]
1444         * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
1445         Patch by Hamed Malek <hamed@bamdad.org>.
1446
1447 2005-04-21  Roland McGrath  <roland@redhat.com>
1448
1449         * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
1450         since Linux ignores it in user mmap calls.
1451
1452 2005-04-17  David S. Miller  <davem@davemloft.net>
1453
1454         * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
1455         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1456
1457 2005-04-15  Roland McGrath  <roland@redhat.com>
1458
1459         * timezone/Makefile (zic-deps): New variable.
1460         ($(testdata)/America/New_York): Use it instead of explicit deps.
1461         ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
1462         ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
1463         (%/UTC %/Universal): New pattern rule, replaces ...
1464         ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
1465         ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
1466         ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
1467
1468 2005-04-14  Roland McGrath  <roland@redhat.com>
1469
1470         * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
1471         (extract): Filter-out distinfo file name.
1472
1473         [BZ #253]
1474         * MakeTAGS (text-srcs): Match %.bash.in files too.
1475
1476         [BZ #253]
1477         * nscd/Makefile (all-nscd-modules): New variable, include selinux
1478         module regardless of configuration.
1479         (distribute): Use that instead of $(nscd-modules).
1480
1481 2005-04-13  David S. Miller  <davem@davemloft.net>
1482
1483         Add sparc64 TLS and NPTL support.
1484         * elf/tls-macros.h: Add Sparc64 defines.
1485         * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
1486         always_inline.
1487         (elf_machine_fixup_plt): Likewise.
1488         (elf_machine_rela): Handle TLS relocations.
1489         (elf_machine_type_cleaa): Likewise.
1490         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1491         (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
1492         It does not always fit in R_SPARC_GOT13 when building -fPIC.
1493         Also, add TLS handling.
1494         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1495         Increase it to 2.4.21 for sparc64.
1496         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
1497         backtrace by zero'ing out %fp.  Store away flags, func_ptr,
1498         and func_arg in global registers not local registers.
1499         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
1500         and CTID arguments properly.  Add RESET_PID handling.
1501         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
1502         do not invoke __sigprocmask().  We can always assume rt signals
1503         are present on sparc64, so just do an inline syscall.
1504
1505 2005-04-13  Jakub Jelinek  <jakub@redhat.com>
1506
1507         * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
1508         inclusion guard for the first half of the header.
1509         (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
1510         ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
1511         elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
1512         #ifndef dl_machine_h guarded part of the header.
1513
1514 2005-04-14  Ulrich Drepper  <drepper@redhat.com>
1515
1516         [BZ #851]
1517         * posix/execvp.c (execvp): Use file name including path when
1518         trying to run it with shell.
1519         * posix/Makefile: Add rules to build and run tst-execvp3.
1520         * posix/tst-execvp3.c: New file.
1521
1522 2005-04-12  Ulrich Drepper  <drepper@redhat.com>
1523
1524         [BZ #1090]
1525         * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
1526         * string/tst-strfry.c: New file.
1527         * string/Makefile (tests): Add tst-strfry.
1528
1529 2005-04-11  James A. Morrison  <ja2morri@uwaterloo.ca>
1530
1531         * manual/string.texi: Fix typo in wmemcpy decl.
1532
1533 2005-04-10  David S. Miller  <davem@davemloft.net>
1534
1535         * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
1536
1537 2005-04-08  Carlos O'Donell <carlos@baldric.uwo.ca>
1538
1539         * FAQ.in: Explain why `make' might fail running rpcgen.
1540         * FAQ: Regenerated.
1541
1542 2005-04-07  Roland McGrath  <roland@redhat.com>
1543
1544         * po/libc.pot: Regenerated.
1545
1546 2005-04-07  Roland McGrath  <roland@redhat.com>
1547
1548         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
1549         [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
1550         GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
1551         we can skip the uname call if it's there.
1552         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
1553         DL_SYSDEP_OSCHECK here.
1554         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
1555
1556         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
1557         Add _dl_sysinfo_map.
1558         * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
1559         rtld_is_main case.  Call it unconditionally later.
1560         Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
1561         Initialize GLRO(dl_sysinfo_map).
1562         * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
1563         * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
1564         (_dl_important_hwcaps)
1565         [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
1566         GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
1567         and bit values.
1568         * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
1569         (hwcap_extra): New static variable.
1570         (is_hwcap_platform): Check hwcap_extra for a matching name.
1571         Remove tls special case.
1572         (path_hwcap): Likewise.
1573         (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
1574         and their names, stored in hwcap_extra.
1575         (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
1576
1577         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
1578         _dl_hwcap and _dl_hwcap_mask.
1579         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
1580         AT_HWCAP to unsigned long int.
1581         * elf/dl-support.c (_dl_aux_init): Likewise.
1582         (_dl_hwcap): Update defn.
1583
1584         * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
1585         * elf/ldconfig.c (search_dir): Likewise.
1586
1587 2005-04-05  Roland McGrath  <roland@redhat.com>
1588
1589         * NEWS: Copy 2.3.5 section from 2.3 branch.
1590
1591         * intl/tst-codeset.sh: Use mkdir -p.  Put msgfmt output in temporary
1592         file and mv it into place.
1593         * intl/tst-gettext3.sh: Likewise.
1594
1595         * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
1596         are up to date in srcdir.  Touch all configure scripts after export.
1597
1598         * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
1599
1600 2005-04-05  H.J. Lu  <hongjiu.lu@intel.com>
1601
1602         [BZ #592]
1603         * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
1604         (comment changes only).
1605         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1606         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1607         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1608         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1609         * sysdeps/ia64/fpu/e_exp.S: Likewise.
1610         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1611         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1612         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1613         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1614         * sysdeps/ia64/fpu/e_expf.S: Likewise.
1615         * sysdeps/ia64/fpu/e_log.S: Likewise.
1616         * sysdeps/ia64/fpu/e_logf.S: Likewise.
1617         * sysdeps/ia64/fpu/e_pow.S: Likewise.
1618         * sysdeps/ia64/fpu/e_powf.S: Likewise.
1619         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1620         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1621         * sysdeps/ia64/fpu/libm_error.c: Likewise.
1622         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1623         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1624         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1625         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1626         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1627         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1628         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1629         * sysdeps/ia64/fpu/s_cos.S: Likewise.
1630         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1631         * sysdeps/ia64/fpu/s_erf.S: Likewise.
1632         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1633         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1634         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1635         * sysdeps/ia64/fpu/s_erff.S: Likewise.
1636         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1637         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1638         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1639         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1640         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1641         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
1642         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1643         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1644         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1645
1646 2005-04-05  Roland McGrath  <roland@redhat.com>
1647
1648         * scripts/config.guess: Update from master, timestamp='2005-03-24'.
1649         * scripts/config.sub: Update from master, timestamp='2005-02-10'.
1650
1651 2005-04-04  David S. Miller  <davem@davemloft.net>
1652
1653         * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
1654         * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
1655         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1656         (elf_machine_runtime_setup): Test for dl_profile non-null.
1657         * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
1658         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1659         * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
1660         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1661         (elf_machine_runtime_setup): Test for dl_profile non-null.
1662         * sysdeps/sparc/bits/link.h: New file.
1663         * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
1664         La_sparc64_regs, La_sparc64_retval): New.
1665         (struct audit_ifaces): Add sparc entries.
1666         * elf/tst-auditmod1.c: Add sparc entries.
1667
1668 2005-03-27  Bruno Haible  <bruno@clisp.org>
1669
1670         * intl/tst-gettext3.c: New file.
1671         * intl/tst-gettext3.sh: New file.
1672         * intl/Makefile (distribute): Add tst-gettext3.sh.
1673         (test-srcs): Add tst-gettext3.
1674         (tests): Depend on tst-gettext3.out.
1675         (tst-gettext3.out): New rule.
1676         (CFLAGS-tst-gettext3.c): New variable.
1677
1678         Fix bug exposed by tst-gettext3.
1679         * intl/gettextP.h (struct converted_domain): New type.
1680         (struct loaded_domain): Remove the conv, conv_tab fields. Add
1681         conversions, nconversions fields.
1682         (_nl_init_domain_conv): Remove declaration.
1683         (_nl_free_domain_conv): Remove declaration.
1684         (_nl_find_msg): Add convert argument.
1685         * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
1686         (_nl_find_msg): Add convert argument. When a conversion to a different
1687         charset is needed, create a new converted_domain element, instead of
1688         throwing away the old converted translations.
1689         (get_output_charset): New function.
1690         * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
1691         (_nl_free_domain_conv): Remove function.
1692         (_nl_load_domain): Initialize the conversions array to empty. Use
1693         _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
1694         entry.
1695         (_nl_unload_domain): Free the conversions array and its contents.
1696
1697         * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
1698         (struct binding): Likewise.
1699         * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
1700         modifications.
1701
1702 2005-04-04  Jakub Jelinek  <jakub@redhat.com>
1703
1704         [BZ #1082]
1705         * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
1706         of trying to encode uninitialized arglen.
1707
1708 2005-04-04  Ulrich Drepper  <drepper@redhat.com>
1709
1710         [BZ #825]
1711         * timezone/scheck.c: Update from tzcode2005h.
1712         * timezone/tzfile.h: Likewise.
1713         * timezone/zdump.c: Likewise.
1714         * timezone/zic.c: Likewise.
1715
1716         [BZ #825]
1717         * timezone/antarctica: Update from tzdata2005h.
1718         * timezone/asia: Likewise.
1719         * timezone/australasia: Likewise.
1720         * timezone/etcetera: Likewise.
1721         * timezone/europe: Likewise.
1722         * timezone/northamerica: Likewise.
1723         * timezone/southamerica: Likewise.
1724         * timezone/leapseconds: Likewise.
1725         * timezone/iso3166.tab: Likewise.
1726
1727 2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1728
1729         [BZ #592]
1730         * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
1731
1732 2005-04-01  Ulrich Drepper  <drepper@redhat.com>
1733
1734         * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
1735         * wcsmbs/wctob.c (wctob): Likewise.
1736         * wcsmbs/wchar.h (btowc): Add optimized inline function.
1737         (wctob): Likewise.
1738
1739 2005-03-31  Jakub Jelinek  <jakub@redhat.com>
1740
1741         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
1742         equivalent, but shorter instructions.
1743         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1744         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1745         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1746         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1747         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1748         * sysdeps/x86_64/strchr.S: Likewise.
1749         * sysdeps/x86_64/memset.S: Likewise.
1750         * sysdeps/x86_64/strcspn.S: Likewise.
1751         * sysdeps/x86_64/strcmp.S: Likewise.
1752         * sysdeps/x86_64/elf/start.S: Likewise.
1753         * sysdeps/x86_64/strspn.S: Likewise.
1754         * sysdeps/x86_64/dl-machine.h: Likewise.
1755         * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
1756         * sysdeps/x86_64/bsd-setjmp.S: Likewise.
1757         * sysdeps/x86_64/strtok.S: Likewise.
1758
1759 2005-03-30  H.J. Lu  <hongjiu.lu@intel.com>
1760
1761         [BZ #592]
1762         * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
1763         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
1764         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1765         * sysdeps/ia64/fpu/e_acosh.S: Likewise.
1766         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1767         * sysdeps/ia64/fpu/e_acos.S: Likewise.
1768         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1769         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1770         * sysdeps/ia64/fpu/e_asin.S: Likewise.
1771         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1772         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1773         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
1774         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
1775         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1776         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1777         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1778         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1779         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1780         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
1781         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1782         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1783         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
1784         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1785         * sysdeps/ia64/fpu/e_expf.S: Likewise.
1786         * sysdeps/ia64/fpu/e_exp.S: Likewise.
1787         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1788         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1789         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1790         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1791         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1792         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1793         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1794         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1795         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
1796         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1797         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1798         * sysdeps/ia64/fpu/e_log2.S: Likewise.
1799         * sysdeps/ia64/fpu/e_logf.S: Likewise.
1800         * sysdeps/ia64/fpu/e_logl.S: Likewise.
1801         * sysdeps/ia64/fpu/e_log.S: Likewise.
1802         * sysdeps/ia64/fpu/e_powf.S: Likewise.
1803         * sysdeps/ia64/fpu/e_powl.S: Likewise.
1804         * sysdeps/ia64/fpu/e_pow.S: Likewise.
1805         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1806         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1807         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1808         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1809         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1810         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1811         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1812         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1813         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1814         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1815         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1816         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1817         * sysdeps/ia64/fpu/libm_error.c: Likewise.
1818         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1819         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1820         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1821         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
1822         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1823         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1824         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1825         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1826         * sysdeps/ia64/fpu/libm_support.h: Likewise.
1827         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
1828         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1829         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1830         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1831         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1832         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1833         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1834         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1835         * sysdeps/ia64/fpu/s_cos.S: Likewise.
1836         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1837         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1838         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1839         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
1840         * sysdeps/ia64/fpu/s_erf.S: Likewise.
1841         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1842         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
1843         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1844         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
1845         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
1846         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
1847         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
1848         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
1849         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
1850         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
1851         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
1852         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
1853         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
1854         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
1855         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
1856         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
1857         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
1858         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
1859         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
1860         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
1861         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
1862         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
1863         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
1864         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1865         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
1866         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
1867         * sysdeps/ia64/fpu/s_logb.S: Likewise.
1868         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
1869         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
1870         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
1871         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
1872         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
1873         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
1874         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
1875         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
1876         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
1877         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
1878         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
1879         * sysdeps/ia64/fpu/s_round.S: Likewise.
1880         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
1881         * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
1882         * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
1883         * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
1884         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1885         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
1886         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1887         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
1888         * sysdeps/ia64/fpu/s_tan.S: Likewise.
1889         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
1890         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1891         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1892         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1893         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1894         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1895
1896         [BZ #592]
1897         * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
1898         * sysdeps/ia64/fpu/libm_error_codes.h: New file.
1899
1900         [BZ #592]
1901         * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
1902         2005-03-21.
1903         * sysdeps/ia64/fpu/import_file.awk: Likewise.
1904         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
1905         * sysdeps/ia64/fpu/Makefile: Likewise.
1906
1907 2005-03-29  Jakub Jelinek  <jakub@redhat.com>
1908
1909         [BZ #1087]
1910         * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
1911         avoid calling mbsrtowcs twice.
1912
1913 2005-03-29  Roland McGrath  <roland@redhat.com>
1914
1915         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
1916         function, inline broken out of ...
1917         (DL_SYSDEP_OSCHECK): ... here.  Use that.
1918         Do the discovery and set GLRO(dl_osversion) if successful,
1919         if __LINUX_KERNEL_VERSION <= 0.
1920         * elf/dl-load.c: Don't include dl-osinfo.h here.
1921
1922 2005-03-29  Alfred M. Szmidt  <ams@gnu.org>
1923
1924         * manual/install.texi (Tools for Compilation): GNU binutils 2.15
1925         is now needed.
1926
1927 2005-03-19  Bruno Haible  <bruno@clisp.org>
1928
1929         * intl/dcigettext.c (struct known_translation_t): Change type of
1930         domainname field to 'const char *'.
1931         (DCIGETTEXT): Remove const-cast.
1932
1933 2005-03-29  Thorsten Kukuk  <kukuk@suse.de>
1934
1935         [BZ #661]
1936         * grp/initgroups.c (internal_getgrouplist): Check if we have
1937         enough space before adding the primary group to the list.
1938
1939         * posix/tst-execle1.c (do_test): Fix execle arguments.
1940         * posix/tst-execle2.c (do_test): Likewise.
1941
1942 2005-03-28  Roland McGrath  <roland@redhat.com>
1943
1944         * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
1945         Reported by Mark Mitchell <mark@codesourcery.com>.
1946         * Versions.def (libm): Define GLIBC_2.4 set.
1947         * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
1948         * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
1949         * sysdeps/ia64/Versions: Likewise.
1950         * sysdeps/m68k/Versions: Likewise.
1951         * sysdeps/sparc/sparc64/Versions: Likewise.
1952         * sysdeps/x86_64/Versions: New file.
1953         * sysdeps/mips/mips64/Versions: New file.
1954
1955         * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
1956         [__USE_GNU] (NL_LOCALE_NAME): New macro.
1957         * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
1958         return locale name string for the category.
1959
1960 2005-03-25  Jakub Jelinek  <jakub@redhat.com>
1961
1962         * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
1963         <wcstol_l.c>.
1964
1965 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
1966
1967         * sysdeps/mips/atomicity.h: Remove unused file.
1968         * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
1969         * sysdeps/mips/dl-tls.h: New file.
1970         * sysdeps/mips/libc-tls.c: New file.
1971         * sysdeps/mips/tls-macros.h: New file.
1972         * sysdeps/mips/bits/atomic.h: New file.
1973         * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
1974         * sysdeps/mips/elf/configure.in: New file.
1975         * sysdeps/mips/elf/configure: Generated.
1976         * sysdeps/mips/sys/asm.h: New file.
1977         * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
1978         * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
1979         clone support.
1980         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1981         (INTERNAL_SYSCALL_NCS): New.
1982         (INTERNAL_SYSCALL): Update for non-constant support.
1983         (internal_syscall0): Likewise.
1984         (internal_syscall1): Likewise.
1985         (internal_syscall2): Likewise.
1986         (internal_syscall3): Likewise.
1987         (internal_syscall4): Likewise.
1988         (internal_syscall5): Likewise.
1989         (internal_syscall6): Likewise.
1990         (internal_syscall7): Likewise.
1991         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
1992         Update to match the kernel.
1993         (SIGEV_CALLBACK): Likewise.
1994         (SIGEV_THREAD_ID): Likewise.
1995
1996 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
1997
1998         [BZ #783]
1999         * elf/tst-auditmod1.c: Add MIPS support.
2000         * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
2001         (La_mips_32_retval): New.
2002         (La_mips_64_regs): New.
2003         (La_mips_64_retval): New.
2004         (struct audit_ifaces): Add MIPS entries.
2005         * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
2006         (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
2007         ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
2008         ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
2009         (RTLD_START): Align the stack before calling _dl_init_internal.
2010         Use .ent for _dl_start_user.
2011         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
2012         (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
2013         (elf_machine_runtime_setup): Use "auto inline".
2014         (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
2015         (elf_machine_got_rel): Likewise.  Use RESOLVE_MAP.
2016         * sysdeps/mips/dl-trampoline.c: New file.
2017         * sysdeps/mips/bits/link.h: New file.
2018         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2019         (internal_syscall5): Use register operands instead of non-lvalue
2020         memory operands.
2021         (internal_syscall6): Likewise.
2022         (internal_syscall7): Likewise.
2023
2024 2005-03-27  Andreas Jaeger  <aj@suse.de>
2025
2026         * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
2027         avoid warnings with older compiler.
2028         (__builtin___memcpy_chk): Likewise.
2029         (__builtin___memmove_chk: Likewise.
2030         (__builtin___mempcpy_chk): Likewise.
2031         (__builtin___memset_chk): Likewise.
2032         (__builtin___stpcpy_chk): Likewise.
2033         (__builtin___strcat_chk): Likewise.
2034         (__builtin___strcpy_chk): Likewise.
2035         (__builtin___strncat_chk): Likewise.
2036         (__builtin___strncpy_chk): Likewise.
2037         (__builtin_object_size): Likewise.
2038
2039 2005-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
2040
2041         * elf/tls-macros.h: Correct typo.
2042
2043 2005-03-23  Jakub Jelinek  <jakub@redhat.com>
2044
2045         [BZ #822]
2046         * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
2047         (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
2048
2049 2005-03-22  Roland McGrath  <roland@redhat.com>
2050
2051         * locale/setlocale.c: Comment typo.
2052
2053         * scripts/versions.awk: No errors for GLIBC_PRIVATE.
2054
2055         * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
2056
2057         * scripts/versions.awk: Print all errors and die at the end.
2058         Use library name in versions array keys.
2059
2060 2005-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
2061
2062         * elf/elf.h (PT_ARM_EXIDX): New macro.
2063
2064 2005-03-21  Thorsten Kukuk  <kukuk@suse.de>
2065
2066         [BZ #1098]
2067         * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
2068         Convert correctly between long/int on 64bit big-endian.
2069
2070 2005-03-21  David Mosberger  <davidm@hpl.hp.com>
2071
2072         * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
2073         with more than 8 output registers.  Fix this by passing original
2074         ar.pfs to _mcount_ret_helper via r3.
2075
2076 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
2077
2078         [BZ #786]
2079         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
2080         GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
2081         * elf/Makefile: Add rules to build and run tst-tls15.
2082         * elf/tst-tls15.c: New test.
2083         * elf/tst-tlsmod15a.c: New file.
2084         * elf/tst-tlsmod15b.c: New file.
2085
2086 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
2087
2088         * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
2089
2090 2005-03-20  Alfred M. Szmidt  <ams@gnu.org>
2091
2092         * elf/dl-open.c (dl_open_worker): Fix typo.
2093
2094 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
2095
2096         * malloc/malloc.c (public_cALLOc): We cannot skip the memory
2097         clearing if perturb_byte != 0.
2098
2099 2005-03-20  Jakub Jelinek  <jakub@redhat.com>
2100
2101         * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
2102         instead of __off_t for last argument.
2103         * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
2104         * debug/tst-lfschk1.c: New test.
2105         * debug/tst-lfschk2.c: New test.
2106         * debug/tst-lfschk3.c: New test.
2107
2108 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
2109
2110         * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
2111         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
2112         and __USE_XOPEN guards to match linux/bits/termios.h.
2113         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2114         (CMSPAR): Define.
2115         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2116
2117 2005-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2118
2119         * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
2120
2121 2005-02-27  Denis Barbier  <barbier@debian.org>
2122
2123         [BZ #549]
2124         * locale/iso-4217.def: Add CSD currency.
2125
2126 2005-03-19  Ulrich Drepper  <drepper@redhat.com>
2127
2128         * inet/test-ifaddrs.c: Use test-skeleton.
2129         * inet/test_ifindex.c: Likewise.
2130
2131         [BZ #821]
2132         * elf/dl-lookup.c (add_dependency): Always search l_initfini if
2133         the list exists.
2134
2135         [BZ #821]
2136         * elf/Makefile: Add rules to build and run order2.
2137         * elf/order2.c: New file.
2138         * elf/order2mod1.c: New file.
2139         * elf/order2mod2.c: New file.
2140         * elf/order2mod3.c: New file.
2141         * elf/order2mod4.c: New file.
2142
2143 2005-03-19  Jakub Jelinek  <jakub@redhat.com>
2144
2145         [BZ #821]
2146         * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
2147         it has been incremented before.
2148
2149 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
2150
2151         [BZ #821]
2152         * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
2153         function _dl_sort_fini.
2154         (_dl_sort_fini): New function.
2155         * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
2156         * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
2157         destructors to call them in the right order.
2158
2159 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
2160
2161         * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
2162         (La_ppc64_retval): Correct size of lrc_fp.
2163         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
2164         Fix up ABI problems and complete function.
2165
2166 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
2167
2168         * math/test-misc.c (main): Add some more tests.
2169
2170 2005-03-17  Jakub Jelinek  <jakub@redhat.com>
2171
2172         * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
2173         __wcrtomb.  Check return values of other __wcrtomb calls.
2174         * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
2175         Change mbclen type to size_t.
2176         (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
2177         Handle mb chars whose upper case doesn't have multibyte representation
2178         in locale's charset.
2179
2180 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
2181
2182         * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
2183         public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
2184         #ifndef _LIBC.
2185
2186         [BZ #779]
2187         * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
2188         initialized.
2189
2190 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
2191
2192         * misc/sys/cdefs.h (__always_inline): Define.
2193         * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
2194         Use __always_inline instead of __inline.
2195         * socket/bits/socket2.h (recv, recvfrom): Likewise.
2196         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
2197         * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
2198         __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
2199         __strcat_ichk, __strncat_ichk): Use __always_inline instead of
2200         __inline__ __attribute__ ((__always_inline__)).
2201
2202 2005-03-09  Jakub Jelinek  <jakub@redhat.com>
2203
2204         * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
2205         (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
2206         readlink.  Add some more tests for read, pread, pread64, fgets and
2207         fgets_unlocked.
2208
2209         * posix/bits/unistd.h (read, pread, pread64, readlink,
2210         getcwd, getwd): Change macros into extern inline functions.
2211         (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
2212         __getcwd_alias, __getwd_alias): New prototypes.
2213         * socket/bits/socket2.h (recv, recvfrom): Change macros into
2214         extern inline functions.
2215         (__recv_alias, __recvfrom_alias): New prototypes.
2216         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
2217         into extern inline functions.
2218         (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
2219
2220         * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
2221         to __pread.
2222         * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
2223         to __pread64.
2224
2225 2005-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
2226
2227         * configure.in: Use %function instead of @function.
2228
2229 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
2230
2231         [BZ #821]
2232         * include/link.h (struct link_map): Remove l_opencount.  Add l_removed.
2233         Change type of l_idx to int.
2234         * elf/dl-close.c: Basically rewrite.  Do not use l_opencount to
2235         determine whether a DSO has to be unloaded.  Instead compute this
2236         in this function.
2237         * elf/dl-deps.c: No need to manipulate l_opencount anymore.
2238         * elf/dl-lookup.c: Likewise.
2239         * elf/rtld.c: Likewise
2240         * elf/dl-open.c: Likewise.  Use l_init_called to determine whether
2241         object was just loaded.
2242         * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
2243         * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
2244         is about to be unloaded as a match.
2245         (_dl_map_object): Likewise.
2246         * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
2247         to be unloaded.
2248         * elf/circleload1.c: Don't use l_opencount anymore.
2249         * elf/neededtest.c: Likewise.
2250         * elf/neededtest2.c: Likewise.
2251         * elf/neededtest3.c: Likewise.
2252         * elf/neededtest4.c: Likewise.
2253         * elf/unload.c: Likewise.
2254         * elf/unload2.c: Likewise.
2255         * elf/loadtest.c: Likewise.
2256
2257         [BZ #821]
2258         * elf/rtld.c: Preloading errors are now never fatal.
2259
2260 2005-03-08  Jakub Jelinek  <jakub@redhat.com>
2261
2262         [BZ #821]
2263         * elf/Makefile: Add rules to build and run unload5 test.
2264         * elf/unload5.c: New file.
2265
2266         [BZ #821]
2267         * elf/Makefile: Add rules to build and run unload4 test.
2268         * elf/unload4.c: New file.
2269         * elf/unload4mod1.c: New file.
2270         * elf/unload4mod2.c: New file.
2271         * elf/unload4mod3.c: New file.
2272         * elf/unload4mod4.c: New file.
2273
2274 2005-03-17  Roland McGrath  <roland@redhat.com>
2275
2276         * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
2277
2278 2005-03-16  Richard Henderson  <rth@redhat.com>
2279
2280         * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
2281         of internal.
2282         (__hidden_def1, __hidden_dot_def1): Remove.
2283         (__hidden_def2, __hidden_def3): Remove.
2284         (__hidden_ver1): New.
2285         (hidden_ver, hidden_def, hidden_weak): Use it.
2286         (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
2287         version of the macro.
2288
2289         * include/wchar.h (__wcscoll): Remove.
2290         * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
2291         * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
2292
2293 2005-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
2294
2295         * elf/elf.h: Define MIPS TLS relocations.
2296
2297 2005-03-16  Ulrich Drepper  <drepper@redhat.com>
2298
2299         * elf/circleload1.c (main): Pretty printing.
2300
2301 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
2302
2303         * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
2304         Patch by Dan Kegel <dank@kegel.com>.
2305
2306         * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
2307         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2308         Add inline keyword.
2309         * sysdeps/alpha/dl-machine.h (elf_machine_rela,
2310         elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
2311         attribute.
2312         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2313         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.  Change
2314         static inline into auto inline.
2315         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2316         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
2317         * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
2318         Likewise.
2319         * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
2320         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2321         Likewise.
2322
2323 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
2324
2325         [BZ #789]
2326         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
2327         Remove memory clobber.
2328
2329         * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
2330         thread-safe.  Subtract GLRO(dl_hp_timing_overhead) from Diff.
2331
2332 2005-03-14  Jakub Jelinek  <jakub@redhat.com>
2333
2334         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
2335         asm/types.h.
2336
2337 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
2338
2339         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
2340         MAP_NONBLOCK.
2341         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2342         Correct MAP_GROWSDOWN value.
2343
2344 2005-03-13  Roland McGrath  <roland@redhat.com>
2345
2346         * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
2347         version if there is one.  Only #error if macros are then undefined.
2348         * sysdeps/generic/tls-macros.h: New file.
2349
2350 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
2351
2352         * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
2353         * sysdeps/hppa/configure: Regenerated.
2354
2355 2005-03-08  Roland McGrath  <roland@redhat.com>
2356
2357         * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
2358         array types match exactly in C alias decls.
2359
2360 2005-03-07  Ulrich Drepper  <drepper@redhat.com>
2361
2362         * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
2363         mallopt appropriately.
2364         * malloc/malloc.h: Define M_PERTURB.
2365         * malloc/malloc.c (perturb_byte): New variable.
2366         (alloc_perturb, free_perturb): New macros.
2367         (_int_malloc): Before returning, overwrite the memory if this is
2368         requested.
2369         (_int_free): Overwrite freed memory if requested.
2370         (mALLOPt): Handle M_PERTURB.
2371         * test-skeleton.c: Add call to mallopt with M_PERTURB command.
2372
2373         * elf/dl-close.c (_dl_close): Decrement l_opencount before
2374         printing debug message.
2375         * elf/dl-open.c (dl_open_worker): Always print the new opencount
2376         in debug messages.
2377
2378 2005-03-06  Ulrich Drepper  <drepper@redhat.com>
2379
2380         * elf/dl-close.c (_dl_close): Unify debug message format.
2381
2382         * elf/dl-close.c (_dl_close): Print debug message just before
2383         destroying a link map.
2384
2385         * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
2386         * elf/dl-version.c (match_symbol): Likewise.
2387
2388         * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
2389
2390         * debug/recv_chk.c (__recv_chk): Always fail if request could
2391         overflow the buffer.
2392         * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
2393         * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
2394         we know the call succeeds.
2395         (recvfrom): Likewise.
2396
2397 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
2398
2399         * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
2400         warning.
2401         * posix/regex_internal.c (re_string_reconstruct): Add cast to
2402         avoid warning.
2403         (build_wcs_upper_buffer): Change type of bug to plain char.
2404         * locale/weightwc.h (findidx): Add casts to avoid warnings.
2405         * time/mktime.c (ranged_convert): Initialize tm to make the
2406         compiler happy.
2407         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
2408         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
2409         * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
2410         * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
2411         * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
2412         * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
2413         * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
2414         * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
2415         * libio/iofwide.c: Add casts to avoid warnings.
2416         * stdio-common/printf-prs.c (parse_printf_format): Introduce new
2417         variable f to avoid warnings.
2418         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2419         Fix a few casts to avoid warnings.
2420         * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
2421         to avoid warning.
2422
2423         [BZ #1101]
2424         * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
2425         dynamically sized array.
2426         (build_wcs_upper_buffer): Likewise.
2427
2428 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
2429
2430         * include/bits/unistd.h: New file.
2431         * include/bits/socket2.h: New file.
2432
2433 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
2434
2435         * sunrpc/key_call.c: Remove doors support.
2436         * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
2437         * configure.in: Remove test for doors support which never existed.
2438         * config.make.in: Remove have_doors entry.
2439
2440         * configure.in: Make sure at least gcc 3.4 is used.  Undo last change.
2441         * config.make.in: Undo last change.
2442
2443         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
2444         -mtune.
2445
2446 2005-03-05  Roland McGrath  <roland@redhat.com>
2447
2448         * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
2449         (_dl_out_of_memory): Use rtld_hidden_proto.
2450         * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
2451         (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
2452         * elf/dl-open.c (_dl_open): Likewise.
2453         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2454
2455         * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
2456
2457         * elf/dl-addr.c (_dl_addr): Add a cast.
2458
2459         [BZ #821]
2460         * elf/unload3mod4.c: Declare foo.
2461         * elf/testobj2.c: Include <stdio.h>.
2462
2463         * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
2464         value constant, and use it in the defn.
2465         * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
2466         Use actual size for compat array decls.
2467
2468         * config.make.in (cc-mtune): New substituted variable.
2469         * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
2470         done only if libc_mtune_example is defined.
2471         * sysdeps/i386/configure.in (libc_mtune_example): Set it.
2472         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
2473
2474 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
2475
2476         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
2477         unconditionally to (defined RTLD_BOOTSTRAP).
2478         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
2479
2480 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
2481
2482         * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
2483         $(inst_slibdir) in AS_NEEDED directive.
2484
2485 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
2486
2487         * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
2488
2489 2005-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2490
2491         [BZ #776]
2492         * iconv/iconvconfig.c: Fix comment for the output file.
2493         (write_output): Clear padding in header.
2494
2495 2005-03-03  Ulrich Drepper  <drepper@redhat.com>
2496
2497         [BZ #821]
2498         * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
2499         loader is closed.  Fixes unload3.
2500         * elf/tst-global1.c: New file.
2501         * elf/Makefile (tests): Add tst-global1.
2502         * elf/testobj2.c (p): New function.
2503
2504 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
2505
2506         [BZ #821]
2507         * elf/Makefile: Add rules to build and run unload3 test.
2508         * elf/unload3.c: New test.
2509         * elf/unload3mod1.c: New file.
2510         * elf/unload3mod2.c: New file.
2511         * elf/unload3mod3.c: New file.
2512         * elf/unload3mod4.c: New file.
2513
2514 2005-02-21  Alan Modra <amodra@bigpond.net.au>
2515
2516         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
2517         use __uint128_t.
2518
2519 2005-03-01  Jakub Jelinek  <jakub@redhat.com>
2520
2521         * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
2522         of __bos.
2523         * socket/bits/socket2.h (recv, recvfrom): Likewise.
2524
2525 2005-03-01  Roland McGrath  <roland@redhat.com>
2526
2527         [BZ #721]
2528         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
2529         of [RESOLVE_MAP].
2530
2531 2005-03-01  Alfred M. Szmidt  <ams@gnu.org>
2532
2533         [BZ #777]
2534         * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
2535         Add missing initializer.
2536
2537         [BZ #777]
2538         * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
2539         USE_TLS && !USE___THREAD].
2540
2541 2005-02-26  GOTO Masanori  <gotom@debian.or.jp>
2542
2543         * csu/Makefile: Use printf instead of echo for some shells.
2544
2545 2005-02-28  Roland McGrath  <roland@redhat.com>
2546
2547         * debug/warning-nop.c (__nop): Rename to nop, make it static.
2548         (__warndecl): Use alias attribute directly, instead of strong_alias
2549         macro.  Add attribute_hidden.
2550
2551 2005-02-28  Ulrich Drepper  <drepper@redhat.com>
2552
2553         * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
2554         determine the call will never trigger a failure.
2555         * debug/read_chk.c (__read_chk): Always fail if the buffer is too
2556         small.
2557         * debug/readlink_chk.c (__readlink_chk): Likewise.
2558         * debug/pread64_chk.c (__pread64_chk): Likewise.
2559         * debug/pread_chk.c (__pread_chk): Likewise.
2560
2561         * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
2562         * sysdeps/x86_64/memset_chk.S: Likewise.
2563
2564 2005-02-24  Roland McGrath  <roland@redhat.com>
2565
2566         * debug/Versions (libc: GLIBC_2.4): Remove
2567         __memset_zero_constant_len_parameter.
2568         * sysdeps/generic/memset_chk.c: Remove alias and warning.
2569         * misc/sys/cdefs.h (__warndecl): New macro.
2570         * debug/warning-nop.c: New file.
2571         * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
2572         arguments, instead of calling __memset_zero_constant_len_parameter.
2573         Use __warndecl for __warn_memset_zero_len.
2574         * debug/Makefile (routines): Add $(static-only-routines).
2575         (static-only-routines): New variable.
2576
2577 2005-02-27  Ulrich Drepper  <drepper@redhat.com>
2578
2579         * po/tr.po: Update from translation team.
2580
2581 2005-02-26  Ulrich Drepper  <drepper@redhat.com>
2582
2583         * elf/dl-addr.c: Cleanups.  Move declaration next to first use.
2584
2585         * dlfcn/dlerror.c (check_free): New function.  Extract common code
2586         from fini and free_key_mem.  Check whether this is libdl in the
2587         base namespace.
2588
2589 2005-02-25  Ulrich Drepper  <drepper@redhat.com>
2590
2591         * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
2592         to debug output.
2593
2594 2004-11-11  Richard Sandiford  <rsandifo@redhat.com>
2595
2596         [BZ #758]
2597         * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
2598         preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
2599         like __NR_N32_open.  Just include <asm/unistd.h> otherwise.
2600         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2601         * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
2602         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
2603         standard __NR prefix.
2604         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
2605         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
2606         the output file is compatible with both pre-2.6 and 2.6 kernel headers.
2607         Extract separate syscall lists for each ABI.
2608
2609 2005-02-23  Ulrich Drepper  <drepper@redhat.com>
2610
2611         * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
2612
2613         [BZ #719]
2614         * elf/Makefile: Run tst-tls9-static again.
2615
2616 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
2617
2618         [BZ #719]
2619         * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
2620         slotinfo array.
2621         (__libc_setup_tls): Initialize length of DTV based on array length.
2622         * elf/dl-load.c: Revert last change.
2623         * sysdeps/generic/dl-tls.c: Revert last change.
2624
2625         * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
2626         tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
2627         tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
2628         * posix/tst-execl1.c: New file.
2629         * posix/tst-execl2.c: New file.
2630         * posix/tst-execle1.c: New file.
2631         * posix/tst-execle2.c: New file.
2632         * posix/tst-execlp1.c: New file.
2633         * posix/tst-execlp2.c: New file.
2634         * posix/tst-execv1.c: New file.
2635         * posix/tst-execv2.c: New file.
2636         * posix/tst-execve1.c: New file.
2637         * posix/tst-execve2.c: New file.
2638         * posix/tst-execvp1.c: New file.
2639         * posix/tst-execvp2.c: New file.
2640
2641 2005-02-22  Roland McGrath  <roland@redhat.com>
2642
2643         * include/signal.h: Revert last change.
2644         (__sigemptyset): Use __builtin_memset instead of memset.
2645
2646 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
2647
2648         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
2649         non-cancelable I/O functions.
2650
2651 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
2652
2653         [BZ #769]
2654         * nscd/nscd-client.h: Include sys/uio.h.
2655         (__readall, __readvall, writeall): New prototypes.
2656         * nscd/connections.c (writeall): New function.
2657         (handle_request): Use it.
2658         * nscd/aicache.c (addhstaiX): Likewise.
2659         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2660         * nscd/hstcache.c (cache_addhst): Likewise.
2661         * nscd/grpcache.c (cache_addgr): Likewise.
2662         * nscd/pwdcache.c (cache_addpw): Likewise.
2663         * nscd/nscd_helper.c (__readall, __readvall): New functions.
2664         * nscd/nscd_getai.c (__nscd_getai): Use them.
2665         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
2666         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
2667         * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
2668         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2669
2670 2005-02-22  Roland McGrath  <roland@redhat.com>
2671
2672         * include/sys/socket.h: Declare __recv.
2673         * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
2674         * sysdeps/mach/hurd/recv.c: Likewise.
2675
2676         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
2677         __backtrace_* decls.
2678
2679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2680         (INTERNAL_SYSCALL_ERROR_P): Evalute VAL.  Parenthesize ERR.
2681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2682
2683         * include/signal.h: Include <string.h> for memset decl.
2684
2685 2005-02-22  Andreas Schwab  <schwab@suse.de>
2686
2687         * posix/execvp.c (execvp): Fix invalid free.
2688
2689 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
2690
2691         [BZ #1095]
2692         * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
2693         * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
2694         librpcsvc.a objects.
2695
2696 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2697
2698         [BZ #1107]
2699         * iconvdata/ibm930.h: Correct Yen mapping.
2700         * iconvdata/ibm939.h: Likewise.
2701         * iconvdata/testdata/IBM930..UTF8: Adjust test data.
2702         * iconvdata/testdata/IBM939..UTF8: Likewise.
2703         Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2704
2705         * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
2706         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
2707         (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
2708         ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
2709         ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
2710         ibm1158.c, and ibm1158.h.
2711         * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
2712         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
2713         * iconvdata/gconv-modules: Likewise.
2714         * iconvdata/ibm1025.c: New file.
2715         * iconvdata/ibm1025.h: New file.
2716         * iconvdata/ibm1122.c: New file.
2717         * iconvdata/ibm1122.h: New file.
2718         * iconvdata/ibm1137.c: New file.
2719         * iconvdata/ibm1137.h: New file.
2720         * iconvdata/ibm1153.c: New file.
2721         * iconvdata/ibm1153.h: New file.
2722         * iconvdata/ibm1154.c: New file.
2723         * iconvdata/ibm1154.h: New file.
2724         * iconvdata/ibm1155.c: New file.
2725         * iconvdata/ibm1155.h: New file.
2726         * iconvdata/ibm1156.c: New file.
2727         * iconvdata/ibm1156.h: New file.
2728         * iconvdata/ibm1157.c: New file.
2729         * iconvdata/ibm1157.h: New file.
2730         * iconvdata/ibm1158.c: New file.
2731         * iconvdata/ibm1158.h: New file.
2732         * iconvdata/testdata/IBM1025: New file.
2733         * iconvdata/testdata/IBM1025..UTF8: New file.
2734         * iconvdata/testdata/IBM1122: New file.
2735         * iconvdata/testdata/IBM1122..UTF8: New file.
2736         * iconvdata/testdata/IBM1137: New file.
2737         * iconvdata/testdata/IBM1137..UTF8: New file.
2738         * iconvdata/testdata/IBM1153: New file.
2739         * iconvdata/testdata/IBM1153..UTF8: New file.
2740         * iconvdata/testdata/IBM1154: New file.
2741         * iconvdata/testdata/IBM1154..UTF8: New file.
2742         * iconvdata/testdata/IBM1155: New file.
2743         * iconvdata/testdata/IBM1155..UTF8: New file.
2744         * iconvdata/testdata/IBM1156: New file.
2745         * iconvdata/testdata/IBM1156..UTF8: New file.
2746         * iconvdata/testdata/IBM1157: New file.
2747         * iconvdata/testdata/IBM1157..UTF8: New file.
2748         * iconvdata/testdata/IBM1158: New file.
2749         * iconvdata/testdata/IBM1158..UTF8: New file.
2750         Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2751
2752 2005-02-10  Paolo Bonzini  <bonzini@gnu.org>
2753
2754         * posix/regcomp.c (lower_subexp): Do not optimize empty
2755         subexpressions even with REG_NOSUB.
2756         * posix/rxspencer/tests: Add a previously failing testcase.
2757
2758 2005-02-21  Alan Modra <amodra@bigpond.net.au>
2759
2760         [BZ #719]
2761         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
2762         array index is within bounds.
2763
2764 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2765
2766         [BZ #719]
2767         * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
2768         linked code.
2769         * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
2770         * elf/Makefile: Remove rules to build and run tst-tls9-static.
2771
2772         [BZ #719]
2773         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
2774         THREAD_DTV multiple times, this minimally reduces code size on
2775         some archs.
2776
2777 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
2778
2779         [BZ #768]
2780         * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
2781         NETDB_INTERNAL if buffer is too small.
2782
2783         [BZ #768]
2784         * nscd/hstcache.c (INCR): Remove.
2785         (addhstbyX): Double buflen in each iteration rather than add INCR.
2786         * nscd/grpcache.c: Likewise.
2787         * nscd/pwdcache.c: Likewise.
2788
2789 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2790
2791         * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
2792         map if requested.
2793         * debug/chk_fail.c: Request backtrace and memory map dump.
2794
2795         * Versions.def: Add GLIBC_2.4 for libc.
2796         * debug/fgets_chk.c: New file.
2797         * debug/fgets_u_chk.c: New file.
2798         * debug/getcwd_chk.c: New file.
2799         * debug/getwd_chk.c: New file.
2800         * debug/readlink_chk.c: New file.
2801         * debug/read_chk.c: New file.
2802         * debug/pread_chk.c: New file.
2803         * debug/pread64_chk.c: New file.
2804         * debug/recv_chk.c: New file.
2805         * debug/recvfrom_chk.c: New file.
2806         * debug/Versions: Add all new functions with version GLIBC_2.4.
2807         * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
2808         pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
2809         getwd_chk, and getcwd_chk.  Plus appropriate CFLAGS definitions.
2810         * debug/tst-chk1.c: Add more tests.
2811         * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
2812         * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
2813         * posix/unistd.h: Include <bits/unistd.h> for fortification.
2814         * posix/bits/unistd.h: New file.
2815         * posix/Makefile (headers): Add bits/unistd.h.
2816         * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
2817         * socket/bits/socket2.h: New file.
2818         * socket/Makefile (headers): Add bits/socket2.h.
2819
2820         * string/bits/string3.h: Extend memset macro to check for zero 3rd
2821         parameter and use __memset_zero_constant_len_parameter in that case.
2822         * sysdeps/generic/memset_chk.c: Add
2823         __memset_zero_constant_len_parameter alias and linker warning.
2824         * debug/Versions: Add __memset_zero_constant_len_parameter to libc
2825         with version GLIBC_2.4.
2826
2827         * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
2828         in __STD_TYPE definition.
2829
2830 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
2831
2832         * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
2833         the error message rather than program name.
2834
2835 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2836
2837         [BZ #767]
2838         * posix/unistd.h: symlink and readlink are unconditionally
2839         available in the 2001 spec.
2840
2841 2005-02-16  Roland McGrath  <roland@redhat.com>
2842
2843         * intl/dcigettext.c (_nl_find_msg): Add a cast.
2844
2845         * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
2846         * nis/nis_clone_obj.c (nis_clone_object): Likewise.
2847         * nis/nis_clone_res.c (nis_clone_result): Likewise.
2848
2849         * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
2850         for END_OF_MESSAGE and CP.
2851
2852         * resolv/res_send.c (send_dg): Add else branch for case impossible
2853         unless `poll' is buggy.
2854
2855         * crypt/crypt_util.c (__setkey_r): Add a cast.
2856
2857         * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
2858         NBYTES, and unsigned char * for BYTES.
2859
2860         * locale/programs/charmap.c (charmap_new_char): Use size_t and
2861         unsighed char * for NBYTES, BYTES parameters.
2862
2863         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
2864         and cast it.
2865         * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
2866
2867         * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
2868
2869         * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
2870
2871         * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
2872         (authdes_marshal): Don't use unsigned int for LEN.
2873         * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
2874         (xdr_u_hyper): Likewise.
2875         (xdr_u_short): Don't use u_long for L.
2876         * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
2877
2878         * inet/rexec.c (rexec_af): Use socklen_t.
2879         * sunrpc/key_call.c (getkeyserv_handle): Likewise.
2880         * sunrpc/rtime.c (rtime): Likewise.
2881         * resolv/res_send.c (send_vc, send_dg): Likewise.
2882         * nis/nis_callback.c (__nis_create_callback): Likewise.
2883
2884         * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
2885
2886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
2887
2888         * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
2889
2890         * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
2891         (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
2892         (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
2893         * intl/bindtextdom.c (INTUSE): Macro removed.
2894         (_nl_default_dirname): Use libc_hidden_proto.
2895         (set_binding_values): Don't use INTUSE.
2896         * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
2897         (_libc_intl_domainname): Use libc_hidden_proto.
2898         * posix/regex_internal.h (gettext): Remove INTUSE on it.
2899         * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
2900         rather than INTDEF.
2901         * include/libintl.h (_): Don't use *_internal name.
2902
2903         * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
2904         not uint32_t.
2905         * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
2906
2907         * iconv/gconv_open.c (__gconv_open): Remove useless cast.
2908
2909         [BZ #721]
2910         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
2911         of [RESOLVE_MAP].
2912         * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
2913         * sysdeps/powerpc/powerpc32/dl-machine.h
2914         (elf_machine_rel, elf_machine_rel_relative): Removed.
2915         * sysdeps/powerpc/powerpc64/dl-machine.h
2916         (elf_machine_rel, elf_machine_rel_relative): Removed.
2917
2918 2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
2919
2920         [BZ #721]
2921         * elf/dynamic-link.h: Don't declare nested auto functions that are
2922         not going to be defined.
2923
2924 2004-07-23  Jakub Jelinek  <jakub@redhat.com>
2925
2926         [BZ #284]
2927         * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
2928         if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
2929
2930 2005-02-16  Roland McGrath  <roland@redhat.com>
2931
2932         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
2933         inside [! SHARED] where it's used.
2934
2935 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
2936
2937         * sysdeps/generic/bits/byteswap.h: Make sure result of all the
2938         functions and macros is unsigned.
2939
2940 2005-02-11  Barry deFrese  <bddebian@comcast.net>
2941
2942         [BZ #722]
2943         * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
2944         * sysdeps/mach/hurd/setresuid.c: Likewise.
2945
2946 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
2947
2948         * misc/sys/syslog.h: Fix typo in comment.
2949
2950 2005-02-14  Roland McGrath  <roland@redhat.com>
2951
2952         [BZ #720]
2953         * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
2954         if it wasn't originally.
2955
2956 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
2957
2958         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
2959         getpeername entry.
2960         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2961         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2962
2963 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
2964
2965         * scripts/soversions.awk: Only record first WORDSIZE{32,64}
2966         matching line.
2967
2968 2005-02-14  Alan Modra  <amodra@bigpond.net.au>
2969
2970         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
2971         with auto inline, and attribute always_inline.
2972         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
2973         (elf_machine_rel, elf_machine_rel_relative): Likewise.
2974         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2975         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
2976         (elf_machine_rel, elf_machine_rel_relative): Likewise.
2977         (elf_machine_tprel): Likewise.
2978
2979 2005-02-14  Andreas Schwab  <schwab@suse.de>
2980
2981         * manual/filesys.texi (Random Access Directory): Fix type of file
2982         position value for telldir and seekdir.
2983         (Attribute Meanings): Fix typo.
2984
2985 2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>
2986
2987         * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
2988         isn't defined.
2989         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
2990         if SHARED isn't defined.
2991         * elf/Makefile (tests-static): Add tst-array1-static.
2992         ($(objpfx)tst-array1-static.out): New target.
2993         * elf/tst-array1-static.c: New file.
2994
2995 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
2996
2997         [BZ #1100]
2998         * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
2999         __libc_message to kill GCC warning about noreturn function returning.
3000
3001         * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
3002         before relocating ld.so again.
3003
3004         * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
3005         for already prelinked ld.so.
3006
3007 2005-02-11  Roland McGrath  <roland@redhat.com>
3008
3009         [BZ #715]
3010         * Makefile (installed-stubs): New variable.
3011         Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
3012         or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
3013         [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
3014         ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
3015         rule's target.
3016         ($(inst_includedir)/gnu/stubs.h): New target, install from ...
3017         * include/stubs-biarch.h: New file.
3018
3019         * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
3020
3021         * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
3022         Emit defn for variable `biarch'.
3023
3024         * include/stub-tag.h: Update comment.
3025
3026         * scripts/soversions.awk: Fix default version set handling.
3027
3028 2005-02-10  Roland McGrath  <roland@redhat.com>
3029
3030         [BZ #157]
3031         * include/libc-symbols.h (stub_warning): Emit a marker section called
3032         .gnu.glibc-stub.NAME.
3033         * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
3034         Use objdump to collect those marker section names.
3035         ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
3036
3037         * Rules (subdir_objs, subdir_stubs): New phony targets.
3038         * Makefile (+subdir_targets): Add them.
3039
3040         * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
3041         soversions.i.
3042
3043         * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
3044         Reported by H.J. Lu <hongjiu.lu@intel.com>.
3045
3046         * scripts/lib-names.awk: Always print WORDSIZE32 section first when
3047         doing two.
3048
3049 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
3050
3051         * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
3052         * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
3053         * sysdeps/powerpc/bits/link.h: ... here.  New file.
3054
3055 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
3056
3057         [BZ #710]
3058         * stdlib/random_r.c (__initstate_r): Save old state.
3059         * stdlib/Makefile (tests): Add tst-random2.
3060         * stdlib/tst-random2.c: New test.
3061         Reported by Peter Bergner <bergner@vnet.ibm.com>.
3062
3063 2005-01-25  H.J. Lu  <hongjiu.lu@intel.com>
3064
3065         * dlfcn/dlfcn.c (init): Put it in .init_array section.
3066
3067 2005-02-10  Roland McGrath  <roland@redhat.com>
3068
3069         [BZ #632]
3070         * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
3071         from command line.
3072         Grok shlib-versions lines with WORDSIZE* in second column.
3073         Add new leading column to output, DEFAULT for existing output lines.
3074         Also emit lines with WORDSIZE* for alternate configurations.
3075         * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
3076         ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
3077         ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
3078         of soversions.mk; replace inline shell script with use of ...
3079         * scripts/lib-names.awk: New file.  If input has non-DEFAULT lines,
3080         emit multiple sets of macros under #if.
3081         * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
3082         (s390x-.*-.*): Likewise for s390.
3083         (powerpc64-.*-.*): Likewise for powerpc.
3084         (sparc64-.*-.*): Likewise for sparc.
3085         (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
3086         for these mapping back to the above.
3087
3088 2005-02-08  Jakub Jelinek  <jakub@redhat.com>
3089
3090         * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
3091
3092 2005-02-08  Andreas Schwab  <schwab@suse.de>
3093
3094         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
3095         RESOLVE.
3096
3097 2005-02-07  Richard Henderson  <rth@redhat.com>
3098
3099         * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
3100
3101 2005-02-08  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3102
3103         * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
3104         RESOLVE.
3105
3106 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
3107
3108         * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
3109         set correctly.
3110
3111 2005-01-07  Richard Henderson  <rth@redhat.com>
3112
3113         * math/math_private.h (__copysign): Define as builtin for gcc 4.
3114         (__copysignf, __copysignl): Likewise.
3115         * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
3116         for gcc 4.0.
3117         (copysignf, copysignl, fabsf, fabs): Likewise.
3118         (__copysign, __copysignf, __copysignl): Remove.
3119         (__fabs, __fabsf): Remove.
3120
3121 2005-01-07  Jakub Jelinek  <jakub@redhat.com>
3122
3123         [BZ #738]
3124         * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
3125         avoid writing to it if none of the standard search directories exist.
3126
3127 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
3128
3129         [BZ #700]
3130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3131         (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
3132         Load MSR as a doubleword.
3133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3134         (__novec_swapcontext, __swapcontext): Likewise.
3135
3136 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
3137
3138         * iconv/iconv_prog.c (main): Provide more help in case on an error.
3139
3140         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
3141
3142 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
3143
3144         [BZ #741]
3145         * nscd/nscd.c (termination_handler): Avoid segfault if some database
3146         is not enabled.
3147
3148         [BZ #741]
3149         * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
3150         __nss_not_use_nscd_hosts and return -1.
3151         * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
3152         initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
3153         Avoid leaking sockets.
3154
3155 2005-01-28  Andreas Schwab  <schwab@suse.de>
3156             H.J. Lu  <hongjiu.lu@intel.com>
3157
3158         [BZ #677]
3159         * elf/dl-runtime.c (fixup): Change return type to
3160         DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
3161         DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
3162         values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
3163         store and retrieve relocation values.
3164         (profile_fixup): Likewise.
3165         * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
3166         l_reloc_result.
3167         * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
3168         * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
3169         (DL_FIXUP_MAKE_VALUE): Likewise.
3170         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
3171         (DL_FIXUP_VALUE_ADDR): Likewise.
3172         (DL_FIXUP_ADDR_VALUE): Likewise.
3173         * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
3174         (DL_FIXUP_VALUE_TYPE): New.
3175         (DL_FIXUP_MAKE_VALUE): Likewise.
3176         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
3177         (DL_FIXUP_VALUE_ADDR): Likewise.
3178         (DL_FIXUP_ADDR_VALUE): Likewise.
3179         * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
3180         (elf_machine_profile_plt): Removed.
3181         (elf_machine_fixup_plt): Change return type and type of value
3182         parameter to struct fdesc.
3183         (elf_machine_plt_value): Likewise.
3184         (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
3185         argument for elf_machine_fixup_plt.
3186
3187 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
3188
3189         [BZ #742]
3190         * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
3191         after the status string printed by killproc.
3192
3193 2004-11-18  Alexandre Oliva  <aoliva@redhat.com>
3194
3195         * manual/.cvsignore: Add dir-add.texi.
3196
3197 2005-02-06  Richard Henderson  <rth@redhat.com>
3198
3199         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
3200         all the time.
3201
3202 2004-11-03  Marcus Brinkmann  <marcus@gnu.org>
3203
3204         * configure.in (sysnames): Append sysdeps/generic for each add-on.
3205         * configure: Regenerated.
3206
3207 2005-02-02  Alfred M. Szmidt  <ams@gnu.org>
3208
3209         * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
3210         (dtv_t): Change pointer type to be a struct which also contains
3211         information whether the memory pointed to is static TLS or not.
3212
3213         * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
3214
3215         * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
3216         (FALSEP): ... this.  Updated all references.
3217
3218         [BZ #765]
3219         * libio/fmemopen.c: Include <stdint.h>.
3220
3221 2005-01-30  Ulrich Drepper  <drepper@redhat.com>
3222
3223         [BZ #1103]
3224         * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
3225         * nscd/connections.c (send_ro_fd): Likewise.
3226
3227 2005-01-28  H.J. Lu  <hongjiu.lu@intel.com>
3228
3229         * elf/tst-auditmod1.c: Add ia64 entries.
3230         * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
3231         (La_ia64_retval): New.
3232         (audit_ifaces): Add ia64 entries.
3233         * sysdeps/ia64/bits/link.h: New file.
3234         * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
3235         for dl_profile non-null.
3236         (ARCH_LA_PLTENTER): New.
3237         (ARCH_LA_PLTEXIT): New.
3238         * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
3239         only 2 output registers. Allocate stack to save/restore
3240         8 incoming fp registers. Call _dl_fixup instead of fixup.
3241         (_dl_runtime_profile): Rewrite.
3242
3243 2005-01-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3244
3245         * sysdeps/s390/bits/link.h: New file.
3246         * sysdeps/s390/s390-32/dl-trampoline.S: New file.
3247         * sysdeps/s390/s390-64/dl-trampoline.S: New file.
3248         * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
3249         dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
3250         relocation code.
3251         (elf_machine_runtime_setup): Test for dl_profile non-null.
3252         (elf_machine_rela): Remove code using RESOLVE.
3253         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
3254         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3255         * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
3256         La_s390_64_regs, La_s390_64_retval): New.
3257         * elf/tst-auditmod1.c: Add s390 entries.
3258
3259         [BZ #743]
3260         * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
3261         strncat, memchr, strcmp): Add missing memory clobber.
3262
3263 2005-01-27  Ulrich Drepper  <drepper@redhat.com>
3264
3265         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
3266         copy gl_offs.  Patch by Sergey Tikhonov <tsv@solvo.ru>.
3267
3268 2005-01-27  Paolo Bonzini  <bonzini@gnu.org>
3269
3270         [BZ #558]
3271         * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
3272         Initialize the node sets in dfa->inveclosures.
3273         (analyze): Initialize inveclosures only if it is needed.
3274         Check errors from calc_inveclosure.
3275         * posix/regex_internal.c (re_dfa_add_node): Do not initialize
3276         the inveclosure node set.
3277         * posix/regexec.c (re_search_internal): If nmatch includes unused
3278         subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
3279
3280         * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
3281         Do build a SIMPLE_BRACKET token.
3282
3283         * posix/regexec.c (transit_state_mb): Do not examine nodes
3284         where ACCEPT_MB is not set.
3285
3286 2005-01-27  Jakub Jelinek  <jakub@redhat.com>
3287
3288         * stdlib/tst-fmtmsg.c: Include stdlib.h.
3289         * stdio-common/tst-fmemopen2.c: Include string.h.
3290         * posix/execvp.c: Include stdbool.h.
3291
3292 2004-12-13  Paolo Bonzini  <bonzini@gnu.org>
3293
3294         Separate parsing and creation of the NFA.  Avoided recursion on
3295         the (very unbalanced) parse tree.
3296         [BZ #611]
3297         * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
3298         re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
3299         (optimize_subexps, duplicate_tree, calc_first, calc_next,
3300         mark_opt_subexp): Rewritten.
3301         (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
3302         create_token_tree, free_tree, free_token): New.
3303         (analyze): Accept a regex_t *.  Invoke the passes via the preorder and
3304         postorder generic visitors.  Do not initialize the fields in the
3305         re_dfa_t that represent the transitions.
3306         (free_dfa_content): Use free_token.
3307         (re_compile_internal): Analyze before UTF-8 optimizations.  Do not
3308         include optimization of subexpressions.
3309         (create_initial_state): Fetch the DFA node index from the first node's
3310         bin_tree_t *.
3311         (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
3312         Return on COMPLEX_BRACKET.
3313         (duplicate_node_closure): Fix comment.
3314         (duplicate_node): Do not initialize the fields in the
3315         re_dfa_t that represent the transitions.
3316         (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
3317         (create_tree): Remove final argument.  All callers adjusted.  Rewritten
3318         to use create_token_tree.
3319         (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
3320         build_charclass_op): Use create_tree or create_token_tree instead
3321         of re_dfa_add_tree_node.
3322         (parse_dup_op): Likewise.  Also free the tree using free_tree for
3323         "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
3324         to "a|".  Adjust invocation of mark_opt_subexp.
3325         (parse_sub_exp): Create a single SUBEXP node.
3326         * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
3327         always perform as if it was 1.  Do not initialize OPT_SUBEXP and
3328         DUPLICATED, and initialize the DFA fields representing the transitions.
3329         * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
3330         (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
3331         section.  Add a tree-only code SUBEXP.  Remove OP_DELETED_SUBEXP.
3332         (bin_tree_t): Include a full re_token_t for TOKEN.  Turn FIRST and
3333         NEXT into pointers to trees.  Remove ECLOSURE.
3334
3335 2004-12-28  Paolo Bonzini  <bonzini@gnu.org >
3336
3337         [BZ #605]
3338         * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
3339         that were already created.
3340         * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
3341         in the token if needed.
3342         (create_ci_newstate, create_cd_newstate): Set accept_mb field
3343         from the tokens' field.
3344         * posix/regex_internal.h (re_token_t): Add accept_mb field.
3345         (ACCEPT_MB_NODE): Removed.
3346         * posix/regexec.c (proceed_next_node, transit_states_mb,
3347         build_sifted_states, check_arrival_add_next_nodes): Use
3348         accept_mb instead of ACCEPT_MB_NODE.
3349
3350 2005-01-26  Ulrich Drepper  <drepper@redhat.com>
3351
3352         [BZ #1100]
3353         * debug/chk_fail.c (__chk_fail): Print program name in final message.
3354
3355         * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
3356         MSG_NOSIGNAL being in 2.2 kernels.
3357
3358 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
3359
3360         * sysdeps/unix/sysv/linux/i386/sysdep.h
3361         (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
3362
3363         [BZ #693]
3364         * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
3365         (WORD_DELIM_CONSTRAINT): ...this.
3366         (NOT_WORD_DELIM_CONSTRAINT): Define.
3367         (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
3368         change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
3369         * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
3370         anchor instead of INSIDE_WORD.
3371         (parse_expression): Handle NOT_WORD_DELIM constraint.
3372         * posix/bug-regex19.c (tests): Adjust tests that relied on \B
3373         being inside word instead of not word delim.
3374         * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
3375         characters.
3376         * posix/rxspencer/tests: Add some new tests.
3377
3378 2005-01-14  GOTO Masanori  <gotom@debian.or.jp>
3379
3380         [BZ #1108]
3381         * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
3382         irrespective of Cflag.
3383
3384         * manual/memory.texi (sbrk): Fix definition.
3385         * manual/string.texi (strcasestr): Fix example typo.
3386
3387 2005-01-25  Roland McGrath  <roland@redhat.com>
3388
3389         * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
3390
3391 2005-01-23  Roland McGrath  <roland@redhat.com>
3392
3393         [BZ #737]
3394         * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
3395         in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
3396         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
3397         (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
3398         from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
3399         * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
3400
3401 2005-01-25  Jakub Jelinek  <jakub@redhat.com>
3402
3403         [BZ #731]
3404         * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
3405         (free_mem): Don't free string.
3406         * stdlib/tst-fmtmsg.c: Include string.h.
3407         (main): Add some more tests.
3408
3409 2005-01-25  Andreas Schwab  <schwab@suse.de>
3410
3411         [BZ #736]
3412         * timezone/asia: Update from tzdata2005c.
3413         * timezone/backward: Likewise.
3414         * timezone/europe: Likewise.
3415         * timezone/leapseconds: Likewise.
3416         * timezone/northamerica: Likewise.
3417         * timezone/southamerica: Likewise.
3418
3419         [BZ #736]
3420         * timezone/private.h: Update from tzcode2005c.
3421         * timezone/tzfile.h: Likewise.
3422         * timezone/zdump.c: Likewise.
3423         * timezone/zic.c: Likewise.
3424
3425 2005-01-25  Ulrich Drepper  <drepper@redhat.com>
3426
3427         * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
3428         RESOLVE.
3429         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
3430         using RESOLVE.
3431         * elf/rtld.c (_dl_start): Remove RESOLVE definition.
3432
3433 2005-01-25  Alan Modra  <amodra@bigpond.net.au>
3434
3435         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
3436         sym_map, not sym, against zero.
3437
3438 2005-01-24  Ulrich Drepper  <drepper@redhat.com>
3439
3440         [BZ #671]
3441         * misc/syslog.c: Moved to...
3442         * sysdeps/generic/syslog.c: ...here.
3443         [NO_SIGIPE]: Don't install SIGPIPE handler.
3444         * sysdeps/unix/sysv/linux/syslog.c: New file.
3445         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3446         __ASSUME_MSG_NOSIGNAL.
3447
3448 2005-01-22  Richard Henderson  <rth@redhat.com>
3449
3450         * sysdeps/alpha/dl-trampoline.S: New file.
3451         * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
3452         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
3453         (elf_machine_runtime_setup): Test for dl_profile non-null.
3454         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
3455         * sysdeps/alpha/bits/link.h: New file.
3456         * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
3457         (struct audit_ifaces): Add alpha entries.
3458         * elf/tst-auditmod1.c: Add alpha entries.
3459
3460 2005-01-22  Ulrich Drepper  <drepper@redhat.com>
3461
3462         * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
3463         * sysdeps/ia64/dl-trampoline.S: New file.
3464
3465         * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
3466         La_x86_64_xmm definition.
3467
3468         * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
3469         pointer option.
3470         * stdlib/Makefile (CFLAGS-system.os): Use this instead of
3471         CFLAGS-system.c for frame pointer option.
3472
3473 2005-01-21  Roland McGrath  <roland@redhat.com>
3474
3475         * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
3476         * sysdeps/i386/dl-machine.h: Update decl.
3477
3478 2005-01-21  Jakub Jelinek  <jakub@redhat.com>
3479
3480         [BZ #735]
3481         * elf/Makefile: Add rules to build and run tst-align2.
3482         * elf/tst-align2.c: New test.
3483         * elf/tst-alignmod2.c: New file.
3484         * sysdeps/powerpc/tst-stack-align.h: New file.
3485         * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
3486         pointer before calling _dl_init.
3487         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3488
3489 2005-01-20  Ulrich Drepper  <drepper@redhat.com>
3490
3491         * posix/execl.c: Do not allocate potentially large buffers on the
3492         stack.
3493         * posix/execle.c: Likewise.
3494         * posix/execlp.c: Likewise.
3495         * posix/execvp.c: Likewise.
3496         (script_execute): Removed.
3497         (allocate_scripts_argv): New function.  Called at most once to
3498         allocate memory, not every time a script is run.  Adjust caller.
3499
3500         * sysdeps/generic/wordexp.c (exec_comm): Add a few
3501         TEMP_FAILURE_RETRY.  Reorganize code to avoid multiple calls to
3502         exec_comm_child.
3503         (exec_comm_child): Can now be inlined.
3504
3505         * posix/Makefile: Add -fomit-frame-pointer for a few more files.
3506         * stdlib/Makefile: Likewise.
3507
3508 2005-01-19  Roland McGrath  <roland@redhat.com>
3509
3510         [BZ #681]
3511         * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
3512         argument to execlp.
3513         Reported by Marcus Meissner <meissner@suse.de>.
3514
3515 2005-01-19  Jakub Jelinek  <jakub@redhat.com>
3516
3517         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
3518         in assert.
3519         * iconv/strtab.c (strtabfinalize): Likewise.
3520
3521         * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
3522
3523 2005-01-17  Roland McGrath  <roland@redhat.com>
3524
3525         [BZ #745]
3526         * nscd/Makefile (LDLIBS-nscd): New variable.
3527         ($(objpfx)nscd): Use that instead of selinux-LIBS.
3528
3529         * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
3530         (link-extra-libs-static): Define to $(link-extra-libs).
3531         (link-extra-libs-bounded): Likewise.
3532
3533 2005-01-17  Ulrich Drepper  <drepper@redhat.com>
3534
3535         * include/link.h: Remove stray definition of pltenter.
3536
3537 2005-01-16  GOTO Masanori  <gotom@debian.or.jp>
3538
3539         [BZ #734]
3540         * sysdeps/unix/rewinddir.c: Reset filepos.
3541         * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
3542
3543 2005-01-15  Ulrich Drepper  <drepper@redhat.com>
3544
3545         * elf/tst-auditmod1.c: Reduce duplication.
3546
3547 2005-01-16  Andreas Schwab  <schwab@suse.de>
3548
3549         * sysdeps/m68k/dl-machine.h: Remove trampoline code.  Define
3550         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3551         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
3552         GLRO(dl_profile) != NULL.
3553         * sysdeps/m68k/dl-trampoline.S: New file.
3554         * sysdeps/m68k/bits/link.h: New file.
3555         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
3556         variants.
3557         * elf/tst-auditmod1.c: Add m68k support.
3558
3559 2005-01-14  Ulrich Drepper  <drepper@redhat.com>
3560
3561         * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
3562         LC_* variable.  Patch by Aharon Robbins <arnold@skeeve.com>.
3563
3564         [BZ #731]
3565         * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
3566         * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
3567
3568 2005-01-12  Ulrich Drepper  <drepper@redhat.com>
3569
3570         * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
3571         callers from libc anymore.
3572
3573         * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
3574         to _dl_map_object_deps.
3575         * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
3576         protections when loading auditing modules.
3577
3578         * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
3579
3580         * posix/getconf.c: Update copyright year.
3581         * nss/getent.c: Likewise.
3582         * nscd/nscd_nischeck.c: Likewise.
3583         * iconv/iconvconfig.c: Likewise.
3584         * iconv/iconv_prog.c: Likewise.
3585         * elf/ldconfig.c: Likewise.
3586         * catgets/gencat.c: Likewise.
3587         * csu/version.c: Likewise.
3588         * elf/ldd.bash.in: Likewise.
3589         * elf/sprof.c (print_version): Likewise.
3590         * locale/programs/locale.c: Likewise.
3591         * locale/programs/localedef.c: Likewise.
3592         * nscd/nscd.c (print_version): Likewise.
3593         * debug/xtrace.sh: Likewise.
3594         * malloc/memusage.sh: Likewise.
3595         * malloc/mtrace.pl: Likewise.
3596         * debug/catchsegv.sh: Likewise.
3597
3598 2005-01-11  Thorsten Kukuk  <kukuk@suse.de>
3599
3600         [BZ #733]
3601         * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
3602         as backlog.
3603         * sunrpc/svc_unix.c (svcunix_create): Likewise.
3604
3605         [BZ #1099]
3606         * grp/putgrent.c (putgrent): Don't write 0 as group
3607         ID if groupname starts with + or -.
3608         * pwd/putpwent.c (putpwent): Don't write 0 as user or
3609         group ID if user name starts with + or -.
3610
3611 2005-01-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3612
3613         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
3614         * sysdeps/elf/tst-auditmod1.c: Add sh support.
3615         * sysdeps/sh/bits/link.h: New.
3616         * sysdeps/sh/dl-machine.h: Remove trampoline code here.  Define
3617         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.  Remove obsolete comments.
3618         (RTLD_START): Define __fpscr_values.
3619         * sysdeps/sh/dl-trampoline.S: New file.
3620         * sysdeps/sh/sh4/dl-trampoline.S: New file.
3621         * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
3622         * sysdeps/sh/sh4/dl-machine.h: Remove.
3623
3624 2005-01-10  Jakub Jelinek  <jakub@redhat.com>
3625
3626         [BZ #732]
3627         * time/tst-strptime.c (day_tests): Add 2 new tests.
3628         (test_tm, main): Issue an error instead of segfaulting if
3629         strptime returns NULL.
3630
3631 2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3632
3633         * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
3634         * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
3635
3636 2005-01-11  Ulrich Drepper  <drepper@redhat.com>
3637
3638         * malloc/malloc.h: Remove no-glibc support.
3639
3640 2005-01-12  GOTO Masanori  <gotom@debian.or.jp>
3641
3642         [BZ #650]
3643         * malloc/malloc.h: Always include features.h.
3644
3645 2005-01-10  Roland McGrath  <roland@redhat.com>
3646
3647         * sysdeps/ia64/fpu/e_logl.c: File removed.
3648
3649         * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
3650
3651 2005-01-10  Ulrich Drepper  <drepper@redhat.com>
3652
3653         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
3654         recognition of last entry.
3655
3656 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
3657
3658         * elf/dl-runtime.c: Include <sys/param.h>.
3659
3660         * elf/Makefile (headers): Add bits/link.h.
3661
3662 2005-01-09  Andreas Schwab  <schwab@suse.de>
3663
3664         * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
3665
3666 2005-01-09  Andreas Jaeger  <aj@suse.de>
3667
3668         [BZ #732]
3669         * time/strptime_l.c (__strptime_internal): Add braces to avoid
3670         warning.
3671
3672         * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
3673
3674         * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
3675
3676 2005-01-08  Jakub Jelinek  <jakub@redhat.com>
3677
3678         * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
3679
3680 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
3681
3682         * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
3683         those of all the regular objects.
3684
3685         * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
3686         use it to select the r_debug structure for that namespace.
3687         * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
3688         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3689         * elf/dl-open.c (_dl_open): Likewise.
3690         * elf/rtld.c (dl_main): Likewise.
3691         * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
3692         member.
3693         (_dl_debug_initialize): Add new parameter in declaration.
3694
3695         * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
3696         called for the auditing objects themselves.
3697         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3698
3699 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
3700
3701         * sysdeps/powerpc/powerpc64/dl-machine.h
3702         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
3703         GLRO(dl_profile) != NULL.
3704         * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
3705         padding.
3706         * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
3707         Extend _dl_prof_resolve to add pass extra parameters to
3708         _dl_profile_fixup and set up structure with register content.
3709
3710         * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
3711         If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
3712         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
3713         Extend _dl_prof_resolve to add pass extra parameters to
3714         _dl_profile_fixup and set up structure with register content.
3715         * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
3716         the register and result structures.
3717         * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
3718         in the 32-bit register and result structures.
3719
3720         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
3721
3722         * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
3723         * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
3724         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3725         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
3726         * elf/tst-auditmod1.c: Add ppc32 support.
3727         * sysdeps/powerpc/powerpc32/bits/link.h: New file.
3728         * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
3729
3730         * malloc/malloc.c (malloc_printerr): Print program name as part of
3731         error message.
3732
3733         * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
3734         * stdlib/stdlib.h: Make realloc with
3735         __attribute_warn_unused_result__ instead of __wur.
3736         * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
3737         markers as in <stdlib.h>.
3738
3739         * libio/stdio.h: Remove __wur from rename and remove.
3740         * posix/unistd.h: Remove __wur from dup2.
3741
3742 2005-01-03  Andreas Jaeger  <aj@suse.de>
3743
3744         * elf/Makefile (tests): Revert patch from 2005-01-03.
3745
3746 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
3747
3748         * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
3749         make __libc_init_first hidden.
3750
3751         * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
3752         l_relocated of rtld map.
3753         * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
3754         * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
3755         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3756         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
3757         * elf/tst-auditmod1.c: Add ppc64 support.
3758         * sysdeps/powerpc/powerpc64/bits/link.h: New file.
3759
3760 2005-01-06  Roland McGrath  <roland@redhat.com>
3761
3762         [BZ #633]
3763         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
3764         indicating file-name lookup errors, and return ENOSYS or EBADF instead.
3765
3766 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
3767
3768         * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
3769         * sysdeps/generic/libc-start.c: Don't register program destructor here.
3770
3771         * dlfcn/Makefile: Add rules to build dlfcn.c.
3772         (LDFLAGS-dl.so): Removed.
3773         * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
3774         table.
3775         * dlfcn/dlmopen.c: Likewise for _dl_open.
3776         * dlfcn/dlopen.c: Likewise.
3777         * dlfcn/dlopenold.c: Likewise.
3778         * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
3779         * elf/Makefile (routines): Remove dl-open and dl-close.
3780         (dl-routines): Add dl-open, dl-close, and dl-trampoline.
3781         Add rules to build and run tst-audit1.
3782         * elf/tst-audit1.c: New file.
3783         * elf/tst-auditmod1.c: New file.
3784         * elf/Versions [libc]: Remove _dl_open and _dl_close.
3785         * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
3786         * elf/dl-open.c: Likewise.
3787         * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
3788         signaled by nonzero parameter.
3789         * elf/dl-init.c: Fix use of r_state.
3790         * elf/dl-load.c: Likewise.
3791
3792         * elf/dl-close.c: Add auditing checkpoints.
3793         * elf/dl-open.c: Likewise.
3794         * elf/dl-fini.c: Likewise.
3795         * elf/dl-load.c: Likewise.
3796         * elf/dl-sym.c: Likewise.
3797         * sysdeps/generic/libc-start.c: Likewise.
3798         * elf/dl-object.c: Allocate memory for auditing information.
3799         * elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
3800         Correctly initialize slotinfo.
3801         * elf/dynamic-link.h: Adjust after removal of RESOLV.
3802         * sysdeps/hppa/dl-lookupcfg.h: Likewise.
3803         * sysdeps/ia64/dl-lookupcfg.h: Likewise.
3804         * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
3805         * elf/dl-runtime.c (_dl_fixup): Little cleanup.
3806         (_dl_profile_fixup): New parameters to point to register struct and
3807         variable for frame size.
3808         Add auditing checkpoints.
3809         (_dl_call_pltexit): New function.
3810         Don't define trampoline code here.
3811         * elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
3812         Remove all the functions from _rtld_global_ro which only _dl_open
3813         and _dl_close needed.
3814         Add auditing checkpoints.
3815         * elf/link.h: Define symbols for auditing interfaces.
3816         * include/link.h: Likewise.
3817         * include/dlfcn.h: Define __RTLD_AUDIT.
3818         Remove prototypes for _dl_open and _dl_close.
3819         Adjust access to argc and argv in libdl.
3820         * dlfcn/dlfcn.c: New file.
3821         * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
3822         is gone.
3823         * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
3824         * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
3825         * sysdeps/i386/dl-machine.h: Remove trampoline code here.
3826         Adjust for removal of RESOLVE.
3827         * sysdeps/x86_64/dl-machine.h: Likewise.
3828         * sysdeps/generic/dl-trampoline.c: New file.
3829         * sysdeps/i386/dl-trampoline.c: New file.
3830         * sysdeps/x86_64/dl-trampoline.c: New file.
3831
3832         * sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
3833         Fix updating of DTV.
3834         * sysdeps/generic/libc-tls.c: Likewise.
3835
3836         * sysdeps/arm/bits/link.h: Renamed to ...
3837         * sysdeps/arm/bits/linkmap.h: ...this.
3838         * sysdeps/generic/bits/link.h: Renamed to...
3839         * sysdeps/generic/bits/linkmap.h: ...this.
3840         * sysdeps/hppa/bits/link.h: Renamed to...
3841         * sysdeps/hppa/bits/linkmap.h: ...this.
3842         * sysdeps/i386/bits/link.h: Renamed to...
3843         * sysdeps/i386/bits/linkmap.h: ...this.
3844         * sysdeps/ia64/bits/link.h: Renamed to...
3845         * sysdeps/ia64/bits/linkmap.h: ...this.
3846         * sysdeps/s390/bits/link.h: Renamed to...
3847         * sysdeps/s390/bits/linkmap.h: ...this.
3848         * sysdeps/sh/bits/link.h: Renamed to...
3849         * sysdeps/sh/bits/linkmap.h: ...this.
3850         * sysdeps/x86_64/bits/link.h: Renamed to...
3851         * sysdeps/x86_64/bits/linkmap.h: ...this.
3852
3853         * posix/unistd.h: Declare ftruncate for POSIX 2003.  [BZ #640]
3854
3855 2004-12-22  Steven Munroe  <sjmunroe@us.ibm.com>
3856
3857         [BZ #602]
3858         * math/libm-test.inc (rint_test_tonearest): New test.
3859         (rint_test_towardzero): New test.
3860         (rint_test_downward): New test.
3861         (rint_test_upward): New test.
3862         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
3863         Remove redundant const values.
3864         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
3865         Remove redundant const values.  Use float const.
3866         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
3867         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
3868         Use float const.
3869         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
3870         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
3871         Use float const.
3872         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
3873         Remove redundant const values.
3874         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
3875         Remove redundant const values.  Use float const.
3876         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
3877         Remove redundant const values.
3878         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
3879         Remove redundant const values.  Use float const.
3880         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
3881         alignment.  Fix -0.0 case.  Remove redundant const values.
3882         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
3883         alignment.  Fix -0.0 case.  Remove redundant const values.
3884         Use float const.
3885         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
3886         alignment.  Fix -0.0 case.
3887         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
3888         alignment.  Fix -0.0 case.  Use float const.
3889         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
3890         alignment.  Fix -0.0 case.
3891         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
3892         alignment.  Fix -0.0 case.  Use float const.
3893         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
3894         alignment.  Fix -0.0 case.  Remove redundant const values.
3895         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
3896         alignment.  Fix -0.0 case.  Remove redundant const values.
3897         Use float const.
3898         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
3899         alignment.  Fix -0.0 case.
3900         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
3901         alignment.  Fix -0.0 case.  Remove redundant const values.
3902         Use float const.
3903
3904 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
3905
3906         * misc/sys/cdefs.h: Define __wur.
3907         * libio/stdio.h: Use __wur for a number of interfaces.
3908         * posix/unistd.h: Likewise.
3909         * stdlib/stdlib.h: Likewise.
3910
3911 2004-12-29  Jakub Jelinek  <jakub@redhat.com>
3912
3913         [BZ #592]
3914         * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
3915         libc_hidden_proto instead of HIDDEN_PROTO.
3916         * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
3917         (__libm_error_support): If ASSEMBLER and in libc, define to
3918         HIDDEN_JUMPTARGET(__libm_error_support).
3919
3920 2004-12-28  David Mosberger  <davidm@hpl.hp.com>
3921
3922         [BZ #592]
3923         * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
3924         (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
3925         with $(duplicated-routines).
3926         (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
3927         "m_" prefix.
3928
3929 2004-12-27  David Mosberger  <davidm@hpl.hp.com>
3930
3931         [BZ #592]
3932         * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
3933         undefine "ret" macro.  Add __libm_error_support hidden definitions.
3934
3935         [BZ #592]
3936         * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment.  Add
3937         missing portion of copyright statement.
3938         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
3939         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
3940
3941         [BZ #592]
3942         * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment.  Add
3943         missing portion of copyright statement.
3944         (__ieee754_lgamma): Rename from lgamma().  Make lgamma() a weak alias.
3945         (__ieee754_gamma): Likewise.
3946         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
3947         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
3948
3949 2004-12-09  H.J. Lu <hjl@lucon.org>
3950
3951         [BZ #592]
3952         * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
3953         * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
3954         * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
3955         * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
3956         * sysdeps/ia64/fpu/e_expl.S: Likewise.
3957         * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
3958
3959 2004-11-18  David Mosberger  <davidm@hpl.hp.com>
3960
3961         [BZ #592]
3962         * sysdeps/ia64/fpu/README: New file.
3963         * sysdeps/ia64/fpu/gen_import_file_list: New file.
3964         * sysdeps/ia64/fpu/import_check: Likewise.
3965         * sysdeps/ia64/fpu/import_diffs: Likewise.
3966         * sysdeps/ia64/fpu/import_file.awk: Likewise.
3967         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
3968         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3969
3970         [BZ #592]
3971         * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
3972         * sysdeps/ia64/fpu/e_acosf.S: Likewise.
3973         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
3974         * sysdeps/ia64/fpu/e_asin.S: Likewise.
3975         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
3976         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
3977         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
3978         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
3979         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
3980         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
3981         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
3982         * sysdeps/ia64/fpu/e_exp.S: Likewise.
3983         * sysdeps/ia64/fpu/e_expf.S: Likewise.
3984         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
3985         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
3986         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
3987         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
3988         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
3989         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
3990         * sysdeps/ia64/fpu/e_log.S: Likewise.
3991         * sysdeps/ia64/fpu/e_log2.S: Likewise.
3992         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
3993         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
3994         * sysdeps/ia64/fpu/e_logf.S: Likewise.
3995         * sysdeps/ia64/fpu/e_pow.S: Likewise.
3996         * sysdeps/ia64/fpu/e_powf.S: Likewise.
3997         * sysdeps/ia64/fpu/e_powl.S: Likewise.
3998         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
3999         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
4000         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
4001         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
4002         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
4003         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
4004         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
4005         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
4006         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
4007         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
4008         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
4009         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
4010         * sysdeps/ia64/fpu/libm_error.c: Likewise.
4011         * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
4012         * sysdeps/ia64/fpu/libm_support.h: Likewise.
4013         * sysdeps/ia64/fpu/s_atan.S: Likewise.
4014         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
4015         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
4016         * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
4017         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
4018         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
4019         * sysdeps/ia64/fpu/s_ceil.S: Likewise.
4020         * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
4021         * sysdeps/ia64/fpu/s_ceill.S: Likewise.
4022         * sysdeps/ia64/fpu/s_cos.S: Likewise.
4023         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
4024         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4025         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
4026         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
4027         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
4028         * sysdeps/ia64/fpu/s_fabs.S: Likewise.
4029         * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
4030         * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
4031         * sysdeps/ia64/fpu/s_floor.S: Likewise.
4032         * sysdeps/ia64/fpu/s_floorf.S: Likewise.
4033         * sysdeps/ia64/fpu/s_floorl.S: Likewise.
4034         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
4035         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
4036         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
4037         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
4038         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
4039         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
4040         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
4041         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
4042         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
4043         * sysdeps/ia64/fpu/s_logb.S: Likewise.
4044         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
4045         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
4046         * sysdeps/ia64/fpu/s_modf.S: Likewise.
4047         * sysdeps/ia64/fpu/s_modff.S: Likewise.
4048         * sysdeps/ia64/fpu/s_modfl.S: Likewise.
4049         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
4050         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
4051         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
4052         * sysdeps/ia64/fpu/s_rint.S: Likewise.
4053         * sysdeps/ia64/fpu/s_rintf.S: Likewise.
4054         * sysdeps/ia64/fpu/s_rintl.S: Likewise.
4055         * sysdeps/ia64/fpu/s_round.S: Likewise.
4056         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
4057         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
4058         * sysdeps/ia64/fpu/s_significand.S: Likewise.
4059         * sysdeps/ia64/fpu/s_significandf.S: Likewise.
4060         * sysdeps/ia64/fpu/s_significandl.S: Likewise.
4061         * sysdeps/ia64/fpu/s_tan.S: Likewise.
4062         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
4063         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
4064         * sysdeps/ia64/fpu/s_trunc.S: Likewise.
4065         * sysdeps/ia64/fpu/s_truncf.S: Likewise.
4066         * sysdeps/ia64/fpu/s_truncl.S: Likewise.
4067
4068         [BZ #592]
4069         * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
4070         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
4071         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
4072         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
4073         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
4074         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
4075         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
4076         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
4077         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
4078         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4079         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
4080         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
4081         * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
4082         * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
4083         * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
4084         * sysdeps/ia64/fpu/e_logl.S: Likewise.
4085         * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
4086         * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
4087         * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
4088         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
4089         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
4090         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
4091         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
4092         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
4093         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
4094         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
4095         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
4096         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
4097         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
4098         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4099         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
4100         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4101         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
4102         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
4103         * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
4104         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
4105         * sysdeps/ia64/fpu/s_erf.S: Likewise.
4106         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
4107         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
4108         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
4109         * sysdeps/ia64/fpu/s_erff.S: Likewise.
4110         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
4111         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
4112         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
4113         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
4114         * sysdeps/ia64/fpu/s_fma.S: Likewise.
4115         * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
4116         * sysdeps/ia64/fpu/s_fmal.S: Likewise.
4117         * sysdeps/ia64/fpu/s_fmax.S: Likewise.
4118         * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
4119         * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
4120         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
4121         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
4122         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
4123         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
4124         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
4125         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
4126         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
4127         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
4128         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.</