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