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