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