1 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
5 2005-04-01 Ulrich Drepper <drepper@redhat.com>
7 * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
8 * wcsmbs/wctob.c (wctob): Likewise.
9 * wcsmbs/wchar.h (btowc): Add optimized inline function.
12 2005-03-31 Jakub Jelinek <jakub@redhat.com>
14 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
15 equivalent, but shorter instructions.
16 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21 * sysdeps/x86_64/strchr.S: Likewise.
22 * sysdeps/x86_64/memset.S: Likewise.
23 * sysdeps/x86_64/strcspn.S: Likewise.
24 * sysdeps/x86_64/strcmp.S: Likewise.
25 * sysdeps/x86_64/elf/start.S: Likewise.
26 * sysdeps/x86_64/strspn.S: Likewise.
27 * sysdeps/x86_64/dl-machine.h: Likewise.
28 * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
29 * sysdeps/x86_64/bsd-setjmp.S: Likewise.
30 * sysdeps/x86_64/strtok.S: Likewise.
32 2005-03-30 H.J. Lu <hongjiu.lu@intel.com>
34 * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
35 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
36 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
37 * sysdeps/ia64/fpu/e_acosh.S: Likewise.
38 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
39 * sysdeps/ia64/fpu/e_acos.S: Likewise.
40 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
41 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
42 * sysdeps/ia64/fpu/e_asin.S: Likewise.
43 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
44 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
45 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
46 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
47 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
48 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
49 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
50 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
51 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
52 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
53 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
54 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
55 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
56 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
57 * sysdeps/ia64/fpu/e_expf.S: Likewise.
58 * sysdeps/ia64/fpu/e_exp.S: Likewise.
59 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
60 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
61 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
62 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
63 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
64 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
65 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
66 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
67 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
68 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
69 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
70 * sysdeps/ia64/fpu/e_log2.S: Likewise.
71 * sysdeps/ia64/fpu/e_logf.S: Likewise.
72 * sysdeps/ia64/fpu/e_logl.S: Likewise.
73 * sysdeps/ia64/fpu/e_log.S: Likewise.
74 * sysdeps/ia64/fpu/e_powf.S: Likewise.
75 * sysdeps/ia64/fpu/e_powl.S: Likewise.
76 * sysdeps/ia64/fpu/e_pow.S: Likewise.
77 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
78 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
79 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
80 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
81 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
82 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
83 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
84 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
85 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
86 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
87 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
88 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
89 * sysdeps/ia64/fpu/libm_error.c: Likewise.
90 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
91 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
92 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
93 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
94 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
95 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
96 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
97 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
98 * sysdeps/ia64/fpu/libm_support.h: Likewise.
99 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
100 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
101 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
102 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
103 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
104 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
105 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
106 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
107 * sysdeps/ia64/fpu/s_cos.S: Likewise.
108 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
109 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
110 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
111 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
112 * sysdeps/ia64/fpu/s_erf.S: Likewise.
113 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
114 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
115 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
116 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
117 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
118 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
119 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
120 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
121 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
122 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
123 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
124 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
125 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
126 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
127 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
128 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
129 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
130 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
131 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
132 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
133 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
134 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
135 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
136 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
137 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
138 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
139 * sysdeps/ia64/fpu/s_logb.S: Likewise.
140 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
141 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
142 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
143 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
144 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
145 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
146 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
147 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
148 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
149 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
150 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
151 * sysdeps/ia64/fpu/s_round.S: Likewise.
152 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
153 * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
154 * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
155 * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
156 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
157 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
158 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
159 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
160 * sysdeps/ia64/fpu/s_tan.S: Likewise.
161 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
162 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
163 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
164 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
165 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
166 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
168 * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
169 * sysdeps/ia64/fpu/libm_error_codes.h: New file.
171 * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
173 * sysdeps/ia64/fpu/import_file.awk: Likewise.
174 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
175 * sysdeps/ia64/fpu/Makefile: Likewise.
177 2005-03-29 Jakub Jelinek <jakub@redhat.com>
179 * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
180 avoid calling mbsrtowcs twice.
182 2005-03-29 Roland McGrath <roland@redhat.com>
184 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
185 function, inline broken out of ...
186 (DL_SYSDEP_OSCHECK): ... here. Use that.
187 Do the discovery and set GLRO(dl_osversion) if successful,
188 if __LINUX_KERNEL_VERSION <= 0.
189 * elf/dl-load.c: Don't include dl-osinfo.h here.
191 2005-03-29 Alfred M. Szmidt <ams@gnu.org>
193 * manual/install.texi (Tools for Compilation): GNU binutils 2.15
196 2005-03-19 Bruno Haible <bruno@clisp.org>
198 * intl/dcigettext.c (struct known_translation_t): Change type of
199 domainname field to 'const char *'.
200 (DCIGETTEXT): Remove const-cast.
202 2005-03-29 Thorsten Kukuk <kukuk@suse.de>
205 * grp/initgroups.c (internal_getgrouplist): Check if we have
206 enough space before adding the primary group to the list.
208 * posix/tst-execle1.c (do_test): Fix execle arguments.
209 * posix/tst-execle2.c (do_test): Likewise.
211 2005-03-28 Roland McGrath <roland@redhat.com>
213 * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
214 [__USE_GNU] (NL_LOCALE_NAME): New macro.
215 * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
216 return locale name string for the category.
218 2005-03-25 Jakub Jelinek <jakub@redhat.com>
220 * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
223 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
225 * sysdeps/mips/atomicity.h: Remove unused file.
226 * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
227 * sysdeps/mips/dl-tls.h: New file.
228 * sysdeps/mips/libc-tls.c: New file.
229 * sysdeps/mips/tls-macros.h: New file.
230 * sysdeps/mips/bits/atomic.h: New file.
231 * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
232 * sysdeps/mips/elf/configure.in: New file.
233 * sysdeps/mips/elf/configure: Generated.
234 * sysdeps/mips/sys/asm.h: New file.
235 * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
236 * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
238 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
239 (INTERNAL_SYSCALL_NCS): New.
240 (INTERNAL_SYSCALL): Update for non-constant support.
241 (internal_syscall0): Likewise.
242 (internal_syscall1): Likewise.
243 (internal_syscall2): Likewise.
244 (internal_syscall3): Likewise.
245 (internal_syscall4): Likewise.
246 (internal_syscall5): Likewise.
247 (internal_syscall6): Likewise.
248 (internal_syscall7): Likewise.
249 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
250 Update to match the kernel.
251 (SIGEV_CALLBACK): Likewise.
252 (SIGEV_THREAD_ID): Likewise.
254 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
257 * elf/tst-auditmod1.c: Add MIPS support.
258 * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
259 (La_mips_32_retval): New.
260 (La_mips_64_regs): New.
261 (La_mips_64_retval): New.
262 (struct audit_ifaces): Add MIPS entries.
263 * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
264 (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
265 ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
266 ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
267 (RTLD_START): Align the stack before calling _dl_init_internal.
268 Use .ent for _dl_start_user.
269 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
270 (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
271 (elf_machine_runtime_setup): Use "auto inline".
272 (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
273 (elf_machine_got_rel): Likewise. Use RESOLVE_MAP.
274 * sysdeps/mips/dl-trampoline.c: New file.
275 * sysdeps/mips/bits/link.h: New file.
276 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
277 (internal_syscall5): Use register operands instead of non-lvalue
279 (internal_syscall6): Likewise.
280 (internal_syscall7): Likewise.
282 2005-03-27 Andreas Jaeger <aj@suse.de>
284 * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
285 avoid warnings with older compiler.
286 (__builtin___memcpy_chk): Likewise.
287 (__builtin___memmove_chk: Likewise.
288 (__builtin___mempcpy_chk): Likewise.
289 (__builtin___memset_chk): Likewise.
290 (__builtin___stpcpy_chk): Likewise.
291 (__builtin___strcat_chk): Likewise.
292 (__builtin___strcpy_chk): Likewise.
293 (__builtin___strncat_chk): Likewise.
294 (__builtin___strncpy_chk): Likewise.
295 (__builtin_object_size): Likewise.
297 2005-03-27 Daniel Jacobowitz <dan@codesourcery.com>
299 * elf/tls-macros.h: Correct typo.
302 2005-03-23 Jakub Jelinek <jakub@redhat.com>
304 * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
305 (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
307 2005-03-22 Roland McGrath <roland@redhat.com>
309 * locale/setlocale.c: Comment typo.
311 * scripts/versions.awk: No errors for GLIBC_PRIVATE.
313 * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
315 * scripts/versions.awk: Print all errors and die at the end.
316 Use library name in versions array keys.
318 2005-03-22 Daniel Jacobowitz <dan@codesourcery.com>
320 * elf/elf.h (PT_ARM_EXIDX): New macro.
322 2005-03-21 Thorsten Kukuk <kukuk@suse.de>
324 * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
325 Convert correctly between long/int on 64bit big-endian.
327 2005-03-21 David Mosberger <davidm@hpl.hp.com>
329 * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
330 with more than 8 output registers. Fix this by passing original
331 ar.pfs to _mcount_ret_helper via r3.
333 2005-03-15 Jakub Jelinek <jakub@redhat.com>
336 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
337 GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
338 * elf/Makefile: Add rules to build and run tst-tls15.
339 * elf/tst-tls15.c: New test.
340 * elf/tst-tlsmod15a.c: New file.
341 * elf/tst-tlsmod15b.c: New file.
343 2005-03-20 Ulrich Drepper <drepper@redhat.com>
345 * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
347 2005-03-20 Alfred M. Szmidt <ams@gnu.org>
349 * elf/dl-open.c (dl_open_worker): Fix typo.
351 2005-03-20 Ulrich Drepper <drepper@redhat.com>
353 * malloc/malloc.c (public_cALLOc): We cannot skip the memory
354 clearing if perturb_byte != 0.
356 2005-03-20 Jakub Jelinek <jakub@redhat.com>
358 * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
359 instead of __off_t for last argument.
360 * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
361 * debug/tst-lfschk1.c: New test.
362 * debug/tst-lfschk2.c: New test.
363 * debug/tst-lfschk3.c: New test.
365 2005-02-09 Jakub Jelinek <jakub@redhat.com>
367 * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
368 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
369 and __USE_XOPEN guards to match linux/bits/termios.h.
370 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
372 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
374 2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
376 * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
378 2005-02-27 Denis Barbier <barbier@debian.org>
381 * locale/iso-4217.def: Add CSD currency.
383 2005-03-19 Ulrich Drepper <drepper@redhat.com>
385 * inet/test-ifaddrs.c: Use test-skeleton.
386 * inet/test_ifindex.c: Likewise.
388 * elf/dl-lookup.c (add_dependency): Always search l_initfini if
391 * elf/Makefile: Add rules to build and run order2.
392 * elf/order2.c: New file.
393 * elf/order2mod1.c: New file.
394 * elf/order2mod2.c: New file.
395 * elf/order2mod3.c: New file.
396 * elf/order2mod4.c: New file.
398 2005-03-19 Jakub Jelinek <jakub@redhat.com>
400 * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
401 it has been incremented before.
403 2005-03-18 Ulrich Drepper <drepper@redhat.com>
405 * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
406 function _dl_sort_fini.
407 (_dl_sort_fini): New function.
408 * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
409 * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
410 destructors to call them in the right order.
412 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
414 * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
415 (La_ppc64_retval): Correct size of lrc_fp.
416 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
417 Fix up ABI problems and complete function.
419 2005-03-10 Jakub Jelinek <jakub@redhat.com>
421 * math/test-misc.c (main): Add some more tests.
423 2005-03-17 Jakub Jelinek <jakub@redhat.com>
425 * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
426 __wcrtomb. Check return values of other __wcrtomb calls.
427 * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
428 Change mbclen type to size_t.
429 (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
430 Handle mb chars whose upper case doesn't have multibyte representation
433 2005-03-15 Jakub Jelinek <jakub@redhat.com>
435 * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
436 public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
440 * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
443 2005-03-10 Jakub Jelinek <jakub@redhat.com>
445 * misc/sys/cdefs.h (__always_inline): Define.
446 * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
447 Use __always_inline instead of __inline.
448 * socket/bits/socket2.h (recv, recvfrom): Likewise.
449 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
450 * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
451 __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
452 __strcat_ichk, __strncat_ichk): Use __always_inline instead of
453 __inline__ __attribute__ ((__always_inline__)).
455 2005-03-09 Jakub Jelinek <jakub@redhat.com>
457 * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
458 (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
459 readlink. Add some more tests for read, pread, pread64, fgets and
462 * posix/bits/unistd.h (read, pread, pread64, readlink,
463 getcwd, getwd): Change macros into extern inline functions.
464 (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
465 __getcwd_alias, __getwd_alias): New prototypes.
466 * socket/bits/socket2.h (recv, recvfrom): Change macros into
467 extern inline functions.
468 (__recv_alias, __recvfrom_alias): New prototypes.
469 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
470 into extern inline functions.
471 (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
473 * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
475 * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
478 2005-03-18 Daniel Jacobowitz <dan@codesourcery.com>
480 * configure.in: Use %function instead of @function.
482 2005-03-18 Ulrich Drepper <drepper@redhat.com>
484 * include/link.h (struct link_map): Remove l_opencount. Add l_removed.
485 Change type of l_idx to int.
486 * elf/dl-close.c: Basically rewrite. Do not use l_opencount to
487 determine whether a DSO has to be unloaded. Instead compute this
489 * elf/dl-deps.c: No need to manipulate l_opencount anymore.
490 * elf/dl-lookup.c: Likewise.
491 * elf/rtld.c: Likewise
492 * elf/dl-open.c: Likewise. Use l_init_called to determine whether
493 object was just loaded.
494 * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
495 * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
496 is about to be unloaded as a match.
497 (_dl_map_object): Likewise.
498 * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
500 * elf/circleload1.c: Don't use l_opencount anymore.
501 * elf/neededtest.c: Likewise.
502 * elf/neededtest2.c: Likewise.
503 * elf/neededtest3.c: Likewise.
504 * elf/neededtest4.c: Likewise.
505 * elf/unload.c: Likewise.
506 * elf/unload2.c: Likewise.
507 * elf/loadtest.c: Likewise.
509 * elf/rtld.c: Preloading errors are now never fatal.
511 2005-03-08 Jakub Jelinek <jakub@redhat.com>
513 * elf/Makefile: Add rules to build and run unload5 test.
514 * elf/unload5.c: New file.
516 2005-03-08 Jakub Jelinek <jakub@redhat.com>
518 * elf/Makefile: Add rules to build and run unload4 test.
519 * elf/unload4.c: New file.
520 * elf/unload4mod1.c: New file.
521 * elf/unload4mod2.c: New file.
522 * elf/unload4mod3.c: New file.
523 * elf/unload4mod4.c: New file.
525 2005-03-17 Roland McGrath <roland@redhat.com>
527 * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
529 2005-03-16 Richard Henderson <rth@redhat.com>
531 * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
533 (__hidden_def1, __hidden_dot_def1): Remove.
534 (__hidden_def2, __hidden_def3): Remove.
535 (__hidden_ver1): New.
536 (hidden_ver, hidden_def, hidden_weak): Use it.
537 (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
538 version of the macro.
540 * include/wchar.h (__wcscoll): Remove.
541 * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
542 * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
544 2005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
546 * elf/elf.h: Define MIPS TLS relocations.
548 2005-03-16 Ulrich Drepper <drepper@redhat.com>
550 * elf/circleload1.c (main): Pretty printing.
552 2005-03-15 Jakub Jelinek <jakub@redhat.com>
554 * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
555 Patch by Dan Kegel <dank@kegel.com>.
557 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
558 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
560 * sysdeps/alpha/dl-machine.h (elf_machine_rela,
561 elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
563 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
564 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change
565 static inline into auto inline.
566 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
567 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
568 * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
570 * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
571 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
574 2005-03-15 Jakub Jelinek <jakub@redhat.com>
577 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
578 Remove memory clobber.
580 * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
581 thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff.
583 2005-03-14 Jakub Jelinek <jakub@redhat.com>
585 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
588 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
590 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
592 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
593 Correct MAP_GROWSDOWN value.
595 2005-03-13 Roland McGrath <roland@redhat.com>
597 * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
598 version if there is one. Only #error if macros are then undefined.
599 * sysdeps/generic/tls-macros.h: New file.
601 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
603 * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
604 * sysdeps/hppa/configure: Regenerated.
606 2005-03-08 Roland McGrath <roland@redhat.com>
608 * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
609 array types match exactly in C alias decls.
611 2005-03-07 Ulrich Drepper <drepper@redhat.com>
613 * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
614 mallopt appropriately.
615 * malloc/malloc.h: Define M_PERTURB.
616 * malloc/malloc.c (perturb_byte): New variable.
617 (alloc_perturb, free_perturb): New macros.
618 (_int_malloc): Before returning, overwrite the memory if this is
620 (_int_free): Overwrite freed memory if requested.
621 (mALLOPt): Handle M_PERTURB.
622 * test-skeleton.c: Add call to mallopt with M_PERTURB command.
624 * elf/dl-close.c (_dl_close): Decrement l_opencount before
625 printing debug message.
626 * elf/dl-open.c (dl_open_worker): Always print the new opencount
629 2005-03-06 Ulrich Drepper <drepper@redhat.com>
631 * elf/dl-close.c (_dl_close): Unify debug message format.
633 * elf/dl-close.c (_dl_close): Print debug message just before
634 destroying a link map.
636 * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
637 * elf/dl-version.c (match_symbol): Likewise.
639 * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
641 * debug/recv_chk.c (__recv_chk): Always fail if request could
643 * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
644 * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
645 we know the call succeeds.
646 (recvfrom): Likewise.
648 2005-03-05 Ulrich Drepper <drepper@redhat.com>
650 * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
652 * posix/regex_internal.c (re_string_reconstruct): Add cast to
654 (build_wcs_upper_buffer): Change type of bug to plain char.
655 * locale/weightwc.h (findidx): Add casts to avoid warnings.
656 * time/mktime.c (ranged_convert): Initialize tm to make the
658 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
659 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
660 * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
661 * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
662 * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
663 * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
664 * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
665 * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
666 * libio/iofwide.c: Add casts to avoid warnings.
667 * stdio-common/printf-prs.c (parse_printf_format): Introduce new
668 variable f to avoid warnings.
669 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
670 Fix a few casts to avoid warnings.
671 * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
674 * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
675 dynamically sized array.
676 (build_wcs_upper_buffer): Likewise.
678 2005-03-05 Jakub Jelinek <jakub@redhat.com>
680 * include/bits/unistd.h: New file.
681 * include/bits/socket2.h: New file.
683 2005-03-05 Ulrich Drepper <drepper@redhat.com>
685 * sunrpc/key_call.c: Remove doors support.
686 * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
687 * configure.in: Remove test for doors support which never existed.
688 * config.make.in: Remove have_doors entry.
690 * configure.in: Make sure at least gcc 3.4 is used. Undo last change.
691 * config.make.in: Undo last change.
693 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
696 2005-03-05 Roland McGrath <roland@redhat.com>
698 * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
699 (_dl_out_of_memory): Use rtld_hidden_proto.
700 * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
701 (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
702 * elf/dl-open.c (_dl_open): Likewise.
703 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
705 * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
707 * elf/dl-addr.c (_dl_addr): Add a cast.
709 * elf/unload3mod4.c: Declare foo.
710 * elf/testobj2.c: Include <stdio.h>.
712 * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
713 value constant, and use it in the defn.
714 * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
715 Use actual size for compat array decls.
717 * config.make.in (cc-mtune): New substituted variable.
718 * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
719 done only if libc_mtune_example is defined.
720 * sysdeps/i386/configure.in (libc_mtune_example): Set it.
721 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
723 2005-03-05 Jakub Jelinek <jakub@redhat.com>
725 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
726 unconditionally to (defined RTLD_BOOTSTRAP).
727 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
729 2005-03-05 Jakub Jelinek <jakub@redhat.com>
731 * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
732 $(inst_slibdir) in AS_NEEDED directive.
734 2005-03-03 Jakub Jelinek <jakub@redhat.com>
736 * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
738 2005-03-01 H.J. Lu <hongjiu.lu@intel.com>
741 * iconv/iconvconfig.c: Fix comment for the output file.
742 (write_output): Clear padding in header.
744 2005-03-03 Ulrich Drepper <drepper@redhat.com>
746 * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
747 loader is closed. Fixes unload3.
748 * elf/tst-global1.c: New file.
749 * elf/Makefile (tests): Add tst-global1.
750 * elf/testobj2.c (p): New function.
752 2005-03-03 Jakub Jelinek <jakub@redhat.com>
754 * elf/Makefile: Add rules to build and run unload3 test.
755 * elf/unload3.c: New test.
756 * elf/unload3mod1.c: New file.
757 * elf/unload3mod2.c: New file.
758 * elf/unload3mod3.c: New file.
759 * elf/unload3mod4.c: New file.
761 2005-02-21 Alan Modra <amodra@bigpond.net.au>
763 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
766 2005-03-01 Jakub Jelinek <jakub@redhat.com>
768 * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
770 * socket/bits/socket2.h (recv, recvfrom): Likewise.
772 2005-03-01 Roland McGrath <roland@redhat.com>
775 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
778 2005-03-01 Alfred M. Szmidt <ams@gnu.org>
781 * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
782 Add missing initializer.
785 * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
786 USE_TLS && !USE___THREAD].
788 2005-02-26 GOTO Masanori <gotom@debian.or.jp>
790 * csu/Makefile: Use printf instead of echo for some shells.
792 2005-02-28 Roland McGrath <roland@redhat.com>
794 * debug/warning-nop.c (__nop): Rename to nop, make it static.
795 (__warndecl): Use alias attribute directly, instead of strong_alias
796 macro. Add attribute_hidden.
798 2005-02-28 Ulrich Drepper <drepper@redhat.com>
800 * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
801 determine the call will never trigger a failure.
802 * debug/read_chk.c (__read_chk): Always fail if the buffer is too
804 * debug/readlink_chk.c (__readlink_chk): Likewise.
805 * debug/pread64_chk.c (__pread64_chk): Likewise.
806 * debug/pread_chk.c (__pread_chk): Likewise.
808 * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
809 * sysdeps/x86_64/memset_chk.S: Likewise.
811 2005-02-24 Roland McGrath <roland@redhat.com>
813 * debug/Versions (libc: GLIBC_2.4): Remove
814 __memset_zero_constant_len_parameter.
815 * sysdeps/generic/memset_chk.c: Remove alias and warning.
816 * misc/sys/cdefs.h (__warndecl): New macro.
817 * debug/warning-nop.c: New file.
818 * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
819 arguments, instead of calling __memset_zero_constant_len_parameter.
820 Use __warndecl for __warn_memset_zero_len.
821 * debug/Makefile (routines): Add $(static-only-routines).
822 (static-only-routines): New variable.
824 2005-02-27 Ulrich Drepper <drepper@redhat.com>
826 * po/tr.po: Update from translation team.
828 2005-02-26 Ulrich Drepper <drepper@redhat.com>
830 * elf/dl-addr.c: Cleanups. Move declaration next to first use.
832 * dlfcn/dlerror.c (check_free): New function. Extract common code
833 from fini and free_key_mem. Check whether this is libdl in the
836 2005-02-25 Ulrich Drepper <drepper@redhat.com>
838 * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
841 2004-11-11 Richard Sandiford <rsandifo@redhat.com>
844 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
845 preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
846 like __NR_N32_open. Just include <asm/unistd.h> otherwise.
847 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
848 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
849 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
850 standard __NR prefix.
851 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
852 * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
853 the output file is compatible with both pre-2.6 and 2.6 kernel headers.
854 Extract separate syscall lists for each ABI.
856 2005-02-23 Ulrich Drepper <drepper@redhat.com>
858 * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
861 * elf/Makefile: Run tst-tls9-static again.
863 2005-02-22 Ulrich Drepper <drepper@redhat.com>
866 * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
868 (__libc_setup_tls): Initialize length of DTV based on array length.
869 * elf/dl-load.c: Revert last change.
870 * sysdeps/generic/dl-tls.c: Revert last change.
872 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
873 tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
874 tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
875 * posix/tst-execl1.c: New file.
876 * posix/tst-execl2.c: New file.
877 * posix/tst-execle1.c: New file.
878 * posix/tst-execle2.c: New file.
879 * posix/tst-execlp1.c: New file.
880 * posix/tst-execlp2.c: New file.
881 * posix/tst-execv1.c: New file.
882 * posix/tst-execv2.c: New file.
883 * posix/tst-execve1.c: New file.
884 * posix/tst-execve2.c: New file.
885 * posix/tst-execvp1.c: New file.
886 * posix/tst-execvp2.c: New file.
888 2005-02-22 Roland McGrath <roland@redhat.com>
890 * include/signal.h: Revert last change.
891 (__sigemptyset): Use __builtin_memset instead of memset.
893 2005-02-22 Ulrich Drepper <drepper@redhat.com>
895 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
896 non-cancelable I/O functions.
898 2005-02-22 Jakub Jelinek <jakub@redhat.com>
901 * nscd/nscd-client.h: Include sys/uio.h.
902 (__readall, __readvall, writeall): New prototypes.
903 * nscd/connections.c (writeall): New function.
904 (handle_request): Use it.
905 * nscd/aicache.c (addhstaiX): Likewise.
906 * nscd/initgrcache.c (addinitgroupsX): Likewise.
907 * nscd/hstcache.c (cache_addhst): Likewise.
908 * nscd/grpcache.c (cache_addgr): Likewise.
909 * nscd/pwdcache.c (cache_addpw): Likewise.
910 * nscd/nscd_helper.c (__readall, __readvall): New functions.
911 * nscd/nscd_getai.c (__nscd_getai): Use them.
912 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
913 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
914 * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
915 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
917 2005-02-22 Roland McGrath <roland@redhat.com>
919 * include/sys/socket.h: Declare __recv.
920 * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
921 * sysdeps/mach/hurd/recv.c: Likewise.
923 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
927 (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR.
928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
930 * include/signal.h: Include <string.h> for memset decl.
932 2005-02-22 Andreas Schwab <schwab@suse.de>
934 * posix/execvp.c (execvp): Fix invalid free.
936 2005-02-22 Jakub Jelinek <jakub@redhat.com>
938 * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
939 * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
942 2005-02-21 Ulrich Drepper <drepper@redhat.com>
944 * iconvdata/ibm930.h: Correct Yen mapping.
945 * iconvdata/ibm939.h: Likewise.
946 * iconvdata/testdata/IBM930..UTF8: Adjust test data.
947 * iconvdata/testdata/IBM939..UTF8: Likewise.
948 Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
950 * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
951 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
952 (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
953 ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
954 ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
955 ibm1158.c, and ibm1158.h.
956 * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
957 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
958 * iconvdata/gconv-modules: Likewise.
959 * iconvdata/ibm1025.c: New file.
960 * iconvdata/ibm1025.h: New file.
961 * iconvdata/ibm1122.c: New file.
962 * iconvdata/ibm1122.h: New file.
963 * iconvdata/ibm1137.c: New file.
964 * iconvdata/ibm1137.h: New file.
965 * iconvdata/ibm1153.c: New file.
966 * iconvdata/ibm1153.h: New file.
967 * iconvdata/ibm1154.c: New file.
968 * iconvdata/ibm1154.h: New file.
969 * iconvdata/ibm1155.c: New file.
970 * iconvdata/ibm1155.h: New file.
971 * iconvdata/ibm1156.c: New file.
972 * iconvdata/ibm1156.h: New file.
973 * iconvdata/ibm1157.c: New file.
974 * iconvdata/ibm1157.h: New file.
975 * iconvdata/ibm1158.c: New file.
976 * iconvdata/ibm1158.h: New file.
977 * iconvdata/testdata/IBM1025: New file.
978 * iconvdata/testdata/IBM1025..UTF8: New file.
979 * iconvdata/testdata/IBM1122: New file.
980 * iconvdata/testdata/IBM1122..UTF8: New file.
981 * iconvdata/testdata/IBM1137: New file.
982 * iconvdata/testdata/IBM1137..UTF8: New file.
983 * iconvdata/testdata/IBM1153: New file.
984 * iconvdata/testdata/IBM1153..UTF8: New file.
985 * iconvdata/testdata/IBM1154: New file.
986 * iconvdata/testdata/IBM1154..UTF8: New file.
987 * iconvdata/testdata/IBM1155: New file.
988 * iconvdata/testdata/IBM1155..UTF8: New file.
989 * iconvdata/testdata/IBM1156: New file.
990 * iconvdata/testdata/IBM1156..UTF8: New file.
991 * iconvdata/testdata/IBM1157: New file.
992 * iconvdata/testdata/IBM1157..UTF8: New file.
993 * iconvdata/testdata/IBM1158: New file.
994 * iconvdata/testdata/IBM1158..UTF8: New file.
995 Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
997 2005-02-10 Paolo Bonzini <bonzini@gnu.org>
999 * posix/regcomp.c (lower_subexp): Do not optimize empty
1000 subexpressions even with REG_NOSUB.
1001 * posix/rxspencer/tests: Add a previously failing testcase.
1003 2005-02-21 Alan Modra <amodra@bigpond.net.au>
1006 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
1007 array index is within bounds.
1009 2005-02-21 Ulrich Drepper <drepper@redhat.com>
1012 * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
1014 * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
1015 * elf/Makefile: Remove rules to build and run tst-tls9-static.
1018 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
1019 THREAD_DTV multiple times, this minimally reduces code size on
1022 2005-02-21 Jakub Jelinek <jakub@redhat.com>
1025 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
1026 NETDB_INTERNAL if buffer is too small.
1029 * nscd/hstcache.c (INCR): Remove.
1030 (addhstbyX): Double buflen in each iteration rather than add INCR.
1031 * nscd/grpcache.c: Likewise.
1032 * nscd/pwdcache.c: Likewise.
1034 2005-02-21 Ulrich Drepper <drepper@redhat.com>
1036 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
1038 * debug/chk_fail.c: Request backtrace and memory map dump.
1040 * Versions.def: Add GLIBC_2.4 for libc.
1041 * debug/fgets_chk.c: New file.
1042 * debug/fgets_u_chk.c: New file.
1043 * debug/getcwd_chk.c: New file.
1044 * debug/getwd_chk.c: New file.
1045 * debug/readlink_chk.c: New file.
1046 * debug/read_chk.c: New file.
1047 * debug/pread_chk.c: New file.
1048 * debug/pread64_chk.c: New file.
1049 * debug/recv_chk.c: New file.
1050 * debug/recvfrom_chk.c: New file.
1051 * debug/Versions: Add all new functions with version GLIBC_2.4.
1052 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
1053 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
1054 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
1055 * debug/tst-chk1.c: Add more tests.
1056 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
1057 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
1058 * posix/unistd.h: Include <bits/unistd.h> for fortification.
1059 * posix/bits/unistd.h: New file.
1060 * posix/Makefile (headers): Add bits/unistd.h.
1061 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
1062 * socket/bits/socket2.h: New file.
1063 * socket/Makefile (headers): Add bits/socket2.h.
1065 * string/bits/string3.h: Extend memset macro to check for zero 3rd
1066 parameter and use __memset_zero_constant_len_parameter in that case.
1067 * sysdeps/generic/memset_chk.c: Add
1068 __memset_zero_constant_len_parameter alias and linker warning.
1069 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
1070 with version GLIBC_2.4.
1072 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
1073 in __STD_TYPE definition.
1075 2005-02-21 Jakub Jelinek <jakub@redhat.com>
1077 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
1078 the error message rather than program name.
1080 2005-02-21 Ulrich Drepper <drepper@redhat.com>
1083 * posix/unistd.h: symlink and readlink are unconditionally
1084 available in the 2001 spec.
1086 2005-02-16 Roland McGrath <roland@redhat.com>
1088 * intl/dcigettext.c (_nl_find_msg): Add a cast.
1090 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
1091 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
1092 * nis/nis_clone_res.c (nis_clone_result): Likewise.
1094 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
1095 for END_OF_MESSAGE and CP.
1097 * resolv/res_send.c (send_dg): Add else branch for case impossible
1098 unless `poll' is buggy.
1100 * crypt/crypt_util.c (__setkey_r): Add a cast.
1102 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
1103 NBYTES, and unsigned char * for BYTES.
1105 * locale/programs/charmap.c (charmap_new_char): Use size_t and
1106 unsighed char * for NBYTES, BYTES parameters.
1108 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
1110 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
1112 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
1114 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
1116 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
1117 (authdes_marshal): Don't use unsigned int for LEN.
1118 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
1119 (xdr_u_hyper): Likewise.
1120 (xdr_u_short): Don't use u_long for L.
1121 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
1123 * inet/rexec.c (rexec_af): Use socklen_t.
1124 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
1125 * sunrpc/rtime.c (rtime): Likewise.
1126 * resolv/res_send.c (send_vc, send_dg): Likewise.
1127 * nis/nis_callback.c (__nis_create_callback): Likewise.
1129 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
1131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
1133 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
1135 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
1136 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
1137 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
1138 * intl/bindtextdom.c (INTUSE): Macro removed.
1139 (_nl_default_dirname): Use libc_hidden_proto.
1140 (set_binding_values): Don't use INTUSE.
1141 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
1142 (_libc_intl_domainname): Use libc_hidden_proto.
1143 * posix/regex_internal.h (gettext): Remove INTUSE on it.
1144 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
1146 * include/libintl.h (_): Don't use *_internal name.
1148 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
1150 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
1152 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
1155 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
1157 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
1158 * sysdeps/powerpc/powerpc32/dl-machine.h
1159 (elf_machine_rel, elf_machine_rel_relative): Removed.
1160 * sysdeps/powerpc/powerpc64/dl-machine.h
1161 (elf_machine_rel, elf_machine_rel_relative): Removed.
1163 2005-02-03 Alexandre Oliva <aoliva@redhat.com>
1166 * elf/dynamic-link.h: Don't declare nested auto functions that are
1167 not going to be defined.
1169 2004-07-23 Jakub Jelinek <jakub@redhat.com>
1172 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
1173 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
1175 2005-02-16 Roland McGrath <roland@redhat.com>
1177 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
1178 inside [! SHARED] where it's used.
1180 2005-02-15 Ulrich Drepper <drepper@redhat.com>
1182 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
1183 functions and macros is unsigned.
1185 2005-02-11 Barry deFrese <bddebian@comcast.net>
1188 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
1189 * sysdeps/mach/hurd/setresuid.c: Likewise.
1191 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
1193 * misc/sys/syslog.h: Fix typo in comment.
1195 2005-02-14 Roland McGrath <roland@redhat.com>
1198 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
1199 if it wasn't originally.
1201 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
1203 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
1205 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1206 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1208 2005-02-11 Jakub Jelinek <jakub@redhat.com>
1210 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
1213 2005-02-14 Alan Modra <amodra@bigpond.net.au>
1215 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
1216 with auto inline, and attribute always_inline.
1217 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1218 (elf_machine_rel, elf_machine_rel_relative): Likewise.
1219 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1220 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1221 (elf_machine_rel, elf_machine_rel_relative): Likewise.
1222 (elf_machine_tprel): Likewise.
1224 2005-02-14 Andreas Schwab <schwab@suse.de>
1226 * manual/filesys.texi (Random Access Directory): Fix type of file
1227 position value for telldir and seekdir.
1228 (Attribute Meanings): Fix typo.
1230 2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
1232 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
1234 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
1235 if SHARED isn't defined.
1236 * elf/Makefile (tests-static): Add tst-array1-static.
1237 ($(objpfx)tst-array1-static.out): New target.
1238 * elf/tst-array1-static.c: New file.
1240 2005-02-11 Jakub Jelinek <jakub@redhat.com>
1242 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
1243 __libc_message to kill GCC warning about noreturn function returning.
1245 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
1246 before relocating ld.so again.
1248 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
1249 for already prelinked ld.so.
1251 2005-02-11 Roland McGrath <roland@redhat.com>
1254 * Makefile (installed-stubs): New variable.
1255 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
1256 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
1257 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
1258 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
1260 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
1261 * include/stubs-biarch.h: New file.
1263 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
1265 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
1266 Emit defn for variable `biarch'.
1268 * include/stub-tag.h: Update comment.
1270 * scripts/soversions.awk: Fix default version set handling.
1272 2005-02-09 Jakub Jelinek <jakub@redhat.com>
1274 * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
1275 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add __USE_MISC
1276 and __USE_XOPEN guards to match linux/bits/termios.h.
1278 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add __USE_MISC
1279 and __USE_XOPEN guards to match linux/bits/termios.h.
1281 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
1282 and __USE_XOPEN guards to match linux/bits/termios.h.
1284 2005-02-10 Roland McGrath <roland@redhat.com>
1287 * include/libc-symbols.h (stub_warning): Emit a marker section called
1288 .gnu.glibc-stub.NAME.
1289 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
1290 Use objdump to collect those marker section names.
1291 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
1293 * Rules (subdir_objs, subdir_stubs): New phony targets.
1294 * Makefile (+subdir_targets): Add them.
1296 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
1299 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
1300 Reported by H.J. Lu <hongjiu.lu@intel.com>.
1302 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
1305 2005-02-10 Jakub Jelinek <jakub@redhat.com>
1307 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
1308 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
1309 * sysdeps/powerpc/bits/link.h: ... here. New file.
1311 2005-02-09 Jakub Jelinek <jakub@redhat.com>
1314 * stdlib/random_r.c (__initstate_r): Save old state.
1315 * stdlib/Makefile (tests): Add tst-random2.
1316 * stdlib/tst-random2.c: New test.
1317 Reported by Peter Bergner <bergner@vnet.ibm.com>.
1319 2005-01-25 H.J. Lu <hongjiu.lu@intel.com>
1321 * dlfcn/dlfcn.c (init): Put it in .init_array section.
1323 2005-02-10 Roland McGrath <roland@redhat.com>
1326 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
1328 Grok shlib-versions lines with WORDSIZE* in second column.
1329 Add new leading column to output, DEFAULT for existing output lines.
1330 Also emit lines with WORDSIZE* for alternate configurations.
1331 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
1332 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
1333 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
1334 of soversions.mk; replace inline shell script with use of ...
1335 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
1336 emit multiple sets of macros under #if.
1337 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
1338 (s390x-.*-.*): Likewise for s390.
1339 (powerpc64-.*-.*): Likewise for powerpc.
1340 (sparc64-.*-.*): Likewise for sparc.
1341 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
1342 for these mapping back to the above.
1344 2005-02-08 Jakub Jelinek <jakub@redhat.com>
1346 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
1348 2005-02-08 Andreas Schwab <schwab@suse.de>
1350 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
1353 2005-02-07 Richard Henderson <rth@redhat.com>
1355 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
1357 2005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1359 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
1362 2005-02-07 Ulrich Drepper <drepper@redhat.com>
1364 * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
1367 2005-01-07 Richard Henderson <rth@redhat.com>
1369 * math/math_private.h (__copysign): Define as builtin for gcc 4.
1370 (__copysignf, __copysignl): Likewise.
1371 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
1373 (copysignf, copysignl, fabsf, fabs): Likewise.
1374 (__copysign, __copysignf, __copysignl): Remove.
1375 (__fabs, __fabsf): Remove.
1377 2005-01-07 Jakub Jelinek <jakub@redhat.com>
1380 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
1381 avoid writing to it if none of the standard search directories exist.
1383 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1387 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
1388 Load MSR as a doubleword.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1390 (__novec_swapcontext, __swapcontext): Likewise.
1392 2005-02-07 Ulrich Drepper <drepper@redhat.com>
1394 * iconv/iconv_prog.c (main): Provide more help in case on an error.
1396 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
1398 2005-02-07 Jakub Jelinek <jakub@redhat.com>
1401 * nscd/nscd.c (termination_handler): Avoid segfault if some database
1405 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
1406 __nss_not_use_nscd_hosts and return -1.
1407 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
1408 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
1409 Avoid leaking sockets.
1411 2005-01-28 Andreas Schwab <schwab@suse.de>
1412 H.J. Lu <hongjiu.lu@intel.com>
1415 * elf/dl-runtime.c (fixup): Change return type to
1416 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
1417 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
1418 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
1419 store and retrieve relocation values.
1420 (profile_fixup): Likewise.
1421 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
1423 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
1424 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
1425 (DL_FIXUP_MAKE_VALUE): Likewise.
1426 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1427 (DL_FIXUP_VALUE_ADDR): Likewise.
1428 (DL_FIXUP_ADDR_VALUE): Likewise.
1429 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
1430 (DL_FIXUP_VALUE_TYPE): New.
1431 (DL_FIXUP_MAKE_VALUE): Likewise.
1432 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1433 (DL_FIXUP_VALUE_ADDR): Likewise.
1434 (DL_FIXUP_ADDR_VALUE): Likewise.
1435 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
1436 (elf_machine_profile_plt): Removed.
1437 (elf_machine_fixup_plt): Change return type and type of value
1438 parameter to struct fdesc.
1439 (elf_machine_plt_value): Likewise.
1440 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
1441 argument for elf_machine_fixup_plt.
1443 2005-02-07 Jakub Jelinek <jakub@redhat.com>
1446 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
1447 after the status string printed by killproc.
1449 2004-11-18 Alexandre Oliva <aoliva@redhat.com>
1451 * manual/.cvsignore: Add dir-add.texi.
1453 2005-02-06 Richard Henderson <rth@redhat.com>
1455 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
1458 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
1460 * configure.in (sysnames): Append sysdeps/generic for each add-on.
1461 * configure: Regenerated.
1463 2005-02-02 Alfred M. Szmidt <ams@gnu.org>
1465 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
1466 (dtv_t): Change pointer type to be a struct which also contains
1467 information whether the memory pointed to is static TLS or not.
1469 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
1471 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
1472 (FALSEP): ... this. Updated all references.
1475 * libio/fmemopen.c: Include <stdint.h>.
1477 2005-01-30 Ulrich Drepper <drepper@redhat.com>
1479 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
1480 * nscd/connections.c (send_ro_fd): Likewise.
1482 2005-01-28 H.J. Lu <hongjiu.lu@intel.com>
1484 * elf/tst-auditmod1.c: Add ia64 entries.
1485 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
1486 (La_ia64_retval): New.
1487 (audit_ifaces): Add ia64 entries.
1488 * sysdeps/ia64/bits/link.h: New file.
1489 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
1490 for dl_profile non-null.
1491 (ARCH_LA_PLTENTER): New.
1492 (ARCH_LA_PLTEXIT): New.
1493 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
1494 only 2 output registers. Allocate stack to save/restore
1495 8 incoming fp registers. Call _dl_fixup instead of fixup.
1496 (_dl_runtime_profile): Rewrite.
1498 2005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1500 * sysdeps/s390/bits/link.h: New file.
1501 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
1502 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
1503 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
1504 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
1506 (elf_machine_runtime_setup): Test for dl_profile non-null.
1507 (elf_machine_rela): Remove code using RESOLVE.
1508 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1509 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1510 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
1511 La_s390_64_regs, La_s390_64_retval): New.
1512 * elf/tst-auditmod1.c: Add s390 entries.
1515 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
1516 strncat, memchr, strcmp): Add missing memory clobber.
1518 2005-01-27 Ulrich Drepper <drepper@redhat.com>
1520 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
1521 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
1523 2005-01-27 Paolo Bonzini <bonzini@gnu.org>
1526 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
1527 Initialize the node sets in dfa->inveclosures.
1528 (analyze): Initialize inveclosures only if it is needed.
1529 Check errors from calc_inveclosure.
1530 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
1531 the inveclosure node set.
1532 * posix/regexec.c (re_search_internal): If nmatch includes unused
1533 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
1535 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
1536 Do build a SIMPLE_BRACKET token.
1538 * posix/regexec.c (transit_state_mb): Do not examine nodes
1539 where ACCEPT_MB is not set.
1541 2005-01-27 Jakub Jelinek <jakub@redhat.com>
1543 * stdlib/tst-fmtmsg.c: Include stdlib.h.
1544 * stdio-common/tst-fmemopen2.c: Include string.h.
1545 * posix/execvp.c: Include stdbool.h.
1547 2004-12-13 Paolo Bonzini <bonzini@gnu.org>
1549 Separate parsing and creation of the NFA. Avoided recursion on
1550 the (very unbalanced) parse tree.
1552 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
1553 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
1554 (optimize_subexps, duplicate_tree, calc_first, calc_next,
1555 mark_opt_subexp): Rewritten.
1556 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
1557 create_token_tree, free_tree, free_token): New.
1558 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
1559 postorder generic visitors. Do not initialize the fields in the
1560 re_dfa_t that represent the transitions.
1561 (free_dfa_content): Use free_token.
1562 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
1563 include optimization of subexpressions.
1564 (create_initial_state): Fetch the DFA node index from the first node's
1566 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
1567 Return on COMPLEX_BRACKET.
1568 (duplicate_node_closure): Fix comment.
1569 (duplicate_node): Do not initialize the fields in the
1570 re_dfa_t that represent the transitions.
1571 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
1572 (create_tree): Remove final argument. All callers adjusted. Rewritten
1573 to use create_token_tree.
1574 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
1575 build_charclass_op): Use create_tree or create_token_tree instead
1576 of re_dfa_add_tree_node.
1577 (parse_dup_op): Likewise. Also free the tree using free_tree for
1578 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
1579 to "a|". Adjust invocation of mark_opt_subexp.
1580 (parse_sub_exp): Create a single SUBEXP node.
1581 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
1582 always perform as if it was 1. Do not initialize OPT_SUBEXP and
1583 DUPLICATED, and initialize the DFA fields representing the transitions.
1584 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
1585 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
1586 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
1587 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
1588 NEXT into pointers to trees. Remove ECLOSURE.
1590 2004-12-28 Paolo Bonzini <bonzini@gnu.org >
1593 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
1594 that were already created.
1595 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
1596 in the token if needed.
1597 (create_ci_newstate, create_cd_newstate): Set accept_mb field
1598 from the tokens' field.
1599 * posix/regex_internal.h (re_token_t): Add accept_mb field.
1600 (ACCEPT_MB_NODE): Removed.
1601 * posix/regexec.c (proceed_next_node, transit_states_mb,
1602 build_sifted_states, check_arrival_add_next_nodes): Use
1603 accept_mb instead of ACCEPT_MB_NODE.
1605 2005-01-26 Ulrich Drepper <drepper@redhat.com>
1607 * debug/chk_fail.c (__chk_fail): Print program name in final message.
1609 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
1610 MSG_NOSIGNAL being in 2.2 kernels.
1612 2005-01-26 Jakub Jelinek <jakub@redhat.com>
1614 * sysdeps/unix/sysv/linux/i386/sysdep.h
1615 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
1618 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
1619 (WORD_DELIM_CONSTRAINT): ...this.
1620 (NOT_WORD_DELIM_CONSTRAINT): Define.
1621 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
1622 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
1623 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
1624 anchor instead of INSIDE_WORD.
1625 (parse_expression): Handle NOT_WORD_DELIM constraint.
1626 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
1627 being inside word instead of not word delim.
1628 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
1630 * posix/rxspencer/tests: Add some new tests.
1632 2005-01-14 GOTO Masanori <gotom@debian.or.jp>
1634 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
1635 irrespective of Cflag.
1637 * manual/memory.texi (sbrk): Fix definition.
1638 * manual/string.texi (strcasestr): Fix example typo.
1640 2005-01-25 Roland McGrath <roland@redhat.com>
1642 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
1644 2005-01-23 Roland McGrath <roland@redhat.com>
1647 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
1648 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
1649 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
1650 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
1651 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
1652 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
1654 2005-01-25 Jakub Jelinek <jakub@redhat.com>
1657 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
1658 (free_mem): Don't free string.
1659 * stdlib/tst-fmtmsg.c: Include string.h.
1660 (main): Add some more tests.
1662 2005-01-25 Andreas Schwab <schwab@suse.de>
1665 * timezone/asia: Update from tzdata2005c.
1666 * timezone/backward: Likewise.
1667 * timezone/europe: Likewise.
1668 * timezone/leapseconds: Likewise.
1669 * timezone/northamerica: Likewise.
1670 * timezone/southamerica: Likewise.
1673 * timezone/private.h: Update from tzcode2005c.
1674 * timezone/tzfile.h: Likewise.
1675 * timezone/zdump.c: Likewise.
1676 * timezone/zic.c: Likewise.
1678 2005-01-25 Ulrich Drepper <drepper@redhat.com>
1680 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
1682 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
1684 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
1686 2005-01-25 Alan Modra <amodra@bigpond.net.au>
1688 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
1689 sym_map, not sym, against zero.
1691 2005-01-24 Ulrich Drepper <drepper@redhat.com>
1694 * misc/syslog.c: Moved to...
1695 * sysdeps/generic/syslog.c: ...here.
1696 [NO_SIGIPE]: Don't install SIGPIPE handler.
1697 * sysdeps/unix/sysv/linux/syslog.c: New file.
1698 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1699 __ASSUME_MSG_NOSIGNAL.
1701 2005-01-22 Richard Henderson <rth@redhat.com>
1703 * sysdeps/alpha/dl-trampoline.S: New file.
1704 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
1705 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1706 (elf_machine_runtime_setup): Test for dl_profile non-null.
1707 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1708 * sysdeps/alpha/bits/link.h: New file.
1709 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
1710 (struct audit_ifaces): Add alpha entries.
1711 * elf/tst-auditmod1.c: Add alpha entries.
1713 2005-01-22 Ulrich Drepper <drepper@redhat.com>
1715 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
1716 * sysdeps/ia64/dl-trampoline.S: New file.
1718 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
1719 La_x86_64_xmm definition.
1721 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
1723 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
1724 CFLAGS-system.c for frame pointer option.
1726 2005-01-21 Roland McGrath <roland@redhat.com>
1728 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
1729 * sysdeps/i386/dl-machine.h: Update decl.
1731 2005-01-21 Jakub Jelinek <jakub@redhat.com>
1734 * elf/Makefile: Add rules to build and run tst-align2.
1735 * elf/tst-align2.c: New test.
1736 * elf/tst-alignmod2.c: New file.
1737 * sysdeps/powerpc/tst-stack-align.h: New file.
1738 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
1739 pointer before calling _dl_init.
1740 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1742 2005-01-20 Ulrich Drepper <drepper@redhat.com>
1744 * posix/execl.c: Do not allocate potentially large buffers on the
1746 * posix/execle.c: Likewise.
1747 * posix/execlp.c: Likewise.
1748 * posix/execvp.c: Likewise.
1749 (script_execute): Removed.
1750 (allocate_scripts_argv): New function. Called at most once to
1751 allocate memory, not every time a script is run. Adjust caller.
1753 * sysdeps/generic/wordexp.c (exec_comm): Add a few
1754 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
1756 (exec_comm_child): Can now be inlined.
1758 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
1759 * stdlib/Makefile: Likewise.
1761 2005-01-19 Roland McGrath <roland@redhat.com>
1764 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
1766 Reported by Marcus Meissner <meissner@suse.de>.
1768 2005-01-19 Jakub Jelinek <jakub@redhat.com>
1770 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
1772 * iconv/strtab.c (strtabfinalize): Likewise.
1774 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
1776 2005-01-17 Roland McGrath <roland@redhat.com>
1779 * nscd/Makefile (LDLIBS-nscd): New variable.
1780 ($(objpfx)nscd): Use that instead of selinux-LIBS.
1782 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
1783 (link-extra-libs-static): Define to $(link-extra-libs).
1784 (link-extra-libs-bounded): Likewise.
1786 2005-01-17 Ulrich Drepper <drepper@redhat.com>
1788 * include/link.h: Remove stray definition of pltenter.
1790 2005-01-16 GOTO Masanori <gotom@debian.or.jp>
1793 * sysdeps/unix/rewinddir.c: Reset filepos.
1794 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
1796 2005-01-15 Ulrich Drepper <drepper@redhat.com>
1798 * elf/tst-auditmod1.c: Reduce duplication.
1800 2005-01-16 Andreas Schwab <schwab@suse.de>
1802 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
1803 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1804 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1805 GLRO(dl_profile) != NULL.
1806 * sysdeps/m68k/dl-trampoline.S: New file.
1807 * sysdeps/m68k/bits/link.h: New file.
1808 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
1810 * elf/tst-auditmod1.c: Add m68k support.
1812 2005-01-14 Ulrich Drepper <drepper@redhat.com>
1814 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
1815 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
1818 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
1819 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
1821 2005-01-12 Ulrich Drepper <drepper@redhat.com>
1823 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
1824 callers from libc anymore.
1826 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
1827 to _dl_map_object_deps.
1828 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
1829 protections when loading auditing modules.
1831 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
1833 * posix/getconf.c: Update copyright year.
1834 * nss/getent.c: Likewise.
1835 * nscd/nscd_nischeck.c: Likewise.
1836 * iconv/iconvconfig.c: Likewise.
1837 * iconv/iconv_prog.c: Likewise.
1838 * elf/ldconfig.c: Likewise.
1839 * catgets/gencat.c: Likewise.
1840 * csu/version.c: Likewise.
1841 * elf/ldd.bash.in: Likewise.
1842 * elf/sprof.c (print_version): Likewise.
1843 * locale/programs/locale.c: Likewise.
1844 * locale/programs/localedef.c: Likewise.
1845 * nscd/nscd.c (print_version): Likewise.
1846 * debug/xtrace.sh: Likewise.
1847 * malloc/memusage.sh: Likewise.
1848 * malloc/mtrace.pl: Likewise.
1849 * debug/catchsegv.sh: Likewise.
1851 2005-01-11 Thorsten Kukuk <kukuk@suse.de>
1854 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
1856 * sunrpc/svc_unix.c (svcunix_create): Likewise.
1858 * grp/putgrent.c (putgrent): Don't write 0 as group
1859 ID if groupname starts with + or -.
1860 * pwd/putpwent.c (putpwent): Don't write 0 as user or
1861 group ID if user name starts with + or -.
1863 2005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1865 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
1866 * sysdeps/elf/tst-auditmod1.c: Add sh support.
1867 * sysdeps/sh/bits/link.h: New.
1868 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
1869 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
1870 (RTLD_START): Define __fpscr_values.
1871 * sysdeps/sh/dl-trampoline.S: New file.
1872 * sysdeps/sh/sh4/dl-trampoline.S: New file.
1873 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
1874 * sysdeps/sh/sh4/dl-machine.h: Remove.
1876 2005-01-10 Jakub Jelinek <jakub@redhat.com>
1879 * time/tst-strptime.c (day_tests): Add 2 new tests.
1880 (test_tm, main): Issue an error instead of segfaulting if
1881 strptime returns NULL.
1883 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
1885 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
1886 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
1888 2005-01-11 Ulrich Drepper <drepper@redhat.com>
1890 * malloc/malloc.h: Remove no-glibc support.
1892 2005-01-12 GOTO Masanori <gotom@debian.or.jp>
1895 * malloc/malloc.h: Always include features.h.
1897 2005-01-10 Roland McGrath <roland@redhat.com>
1899 * sysdeps/ia64/fpu/e_logl.c: File removed.
1901 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
1903 2005-01-10 Ulrich Drepper <drepper@redhat.com>
1905 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
1906 recognition of last entry.
1908 2005-01-09 Ulrich Drepper <drepper@redhat.com>
1910 * elf/dl-runtime.c: Include <sys/param.h>.
1912 * elf/Makefile (headers): Add bits/link.h.
1914 2005-01-09 Andreas Schwab <schwab@suse.de>
1916 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
1918 2005-01-09 Andreas Jaeger <aj@suse.de>
1921 * time/strptime_l.c (__strptime_internal): Add braces to avoid
1924 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
1926 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
1928 2005-01-08 Jakub Jelinek <jakub@redhat.com>
1930 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
1932 2005-01-09 Ulrich Drepper <drepper@redhat.com>
1934 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
1935 those of all the regular objects.
1937 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
1938 use it to select the r_debug structure for that namespace.
1939 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
1940 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1941 * elf/dl-open.c (_dl_open): Likewise.
1942 * elf/rtld.c (dl_main): Likewise.
1943 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
1945 (_dl_debug_initialize): Add new parameter in declaration.
1947 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
1948 called for the auditing objects themselves.
1949 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1951 2005-01-07 Ulrich Drepper <drepper@redhat.com>
1953 * sysdeps/powerpc/powerpc64/dl-machine.h
1954 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1955 GLRO(dl_profile) != NULL.
1956 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
1958 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
1959 Extend _dl_prof_resolve to add pass extra parameters to
1960 _dl_profile_fixup and set up structure with register content.
1962 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
1963 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
1964 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
1965 Extend _dl_prof_resolve to add pass extra parameters to
1966 _dl_profile_fixup and set up structure with register content.
1967 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
1968 the register and result structures.
1969 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
1970 in the 32-bit register and result structures.
1972 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
1974 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
1975 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
1976 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1977 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
1978 * elf/tst-auditmod1.c: Add ppc32 support.
1979 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
1980 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
1982 * malloc/malloc.c (malloc_printerr): Print program name as part of
1985 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
1986 * stdlib/stdlib.h: Make realloc with
1987 __attribute_warn_unused_result__ instead of __wur.
1988 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
1989 markers as in <stdlib.h>.
1991 * libio/stdio.h: Remove __wur from rename and remove.
1992 * posix/unistd.h: Remove __wur from dup2.
1994 2005-01-03 Andreas Jaeger <aj@suse.de>
1996 * elf/Makefile (tests): Revert patch from 2005-01-03.
1998 2005-01-07 Ulrich Drepper <drepper@redhat.com>
2000 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
2001 make __libc_init_first hidden.
2003 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
2004 l_relocated of rtld map.
2005 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
2006 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
2007 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2008 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
2009 * elf/tst-auditmod1.c: Add ppc64 support.
2010 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
2012 2005-01-06 Roland McGrath <roland@redhat.com>
2015 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
2016 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
2018 2005-01-06 Ulrich Drepper <drepper@redhat.com>
2020 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
2021 * sysdeps/generic/libc-start.c: Don't register program destructor here.
2023 * dlfcn/Makefile: Add rules to build dlfcn.c.
2024 (LDFLAGS-dl.so): Removed.
2025 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
2027 * dlfcn/dlmopen.c: Likewise for _dl_open.
2028 * dlfcn/dlopen.c: Likewise.
2029 * dlfcn/dlopenold.c: Likewise.
2030 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
2031 * elf/Makefile (routines): Remove dl-open and dl-close.
2032 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
2033 Add rules to build and run tst-audit1.
2034 * elf/tst-audit1.c: New file.
2035 * elf/tst-auditmod1.c: New file.
2036 * elf/Versions [libc]: Remove _dl_open and _dl_close.
2037 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
2038 * elf/dl-open.c: Likewise.
2039 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
2040 signaled by nonzero parameter.
2041 * elf/dl-init.c: Fix use of r_state.
2042 * elf/dl-load.c: Likewise.
2044 * elf/dl-close.c: Add auditing checkpoints.
2045 * elf/dl-open.c: Likewise.
2046 * elf/dl-fini.c: Likewise.
2047 * elf/dl-load.c: Likewise.
2048 * elf/dl-sym.c: Likewise.
2049 * sysdeps/generic/libc-start.c: Likewise.
2050 * elf/dl-object.c: Allocate memory for auditing information.
2051 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
2052 Correctly initialize slotinfo.
2053 * elf/dynamic-link.h: Adjust after removal of RESOLV.
2054 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
2055 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
2056 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
2057 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
2058 (_dl_profile_fixup): New parameters to point to register struct and
2059 variable for frame size.
2060 Add auditing checkpoints.
2061 (_dl_call_pltexit): New function.
2062 Don't define trampoline code here.
2063 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
2064 Remove all the functions from _rtld_global_ro which only _dl_open
2065 and _dl_close needed.
2066 Add auditing checkpoints.
2067 * elf/link.h: Define symbols for auditing interfaces.
2068 * include/link.h: Likewise.
2069 * include/dlfcn.h: Define __RTLD_AUDIT.
2070 Remove prototypes for _dl_open and _dl_close.
2071 Adjust access to argc and argv in libdl.
2072 * dlfcn/dlfcn.c: New file.
2073 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
2075 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
2076 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
2077 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
2078 Adjust for removal of RESOLVE.
2079 * sysdeps/x86_64/dl-machine.h: Likewise.
2080 * sysdeps/generic/dl-trampoline.c: New file.
2081 * sysdeps/i386/dl-trampoline.c: New file.
2082 * sysdeps/x86_64/dl-trampoline.c: New file.
2084 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
2085 Fix updating of DTV.
2086 * sysdeps/generic/libc-tls.c: Likewise.
2088 * sysdeps/arm/bits/link.h: Renamed to ...
2089 * sysdeps/arm/bits/linkmap.h: ...this.
2090 * sysdeps/generic/bits/link.h: Renamed to...
2091 * sysdeps/generic/bits/linkmap.h: ...this.
2092 * sysdeps/hppa/bits/link.h: Renamed to...
2093 * sysdeps/hppa/bits/linkmap.h: ...this.
2094 * sysdeps/i386/bits/link.h: Renamed to...
2095 * sysdeps/i386/bits/linkmap.h: ...this.
2096 * sysdeps/ia64/bits/link.h: Renamed to...
2097 * sysdeps/ia64/bits/linkmap.h: ...this.
2098 * sysdeps/s390/bits/link.h: Renamed to...
2099 * sysdeps/s390/bits/linkmap.h: ...this.
2100 * sysdeps/sh/bits/link.h: Renamed to...
2101 * sysdeps/sh/bits/linkmap.h: ...this.
2102 * sysdeps/x86_64/bits/link.h: Renamed to...
2103 * sysdeps/x86_64/bits/linkmap.h: ...this.
2105 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
2107 2004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
2110 * math/libm-test.inc (rint_test_tonearest): New test.
2111 (rint_test_towardzero): New test.
2112 (rint_test_downward): New test.
2113 (rint_test_upward): New test.
2114 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
2115 Remove redundant const values.
2116 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
2117 Remove redundant const values. Use float const.
2118 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
2119 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
2121 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
2122 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
2124 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
2125 Remove redundant const values.
2126 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
2127 Remove redundant const values. Use float const.
2128 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
2129 Remove redundant const values.
2130 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
2131 Remove redundant const values. Use float const.
2132 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
2133 alignment. Fix -0.0 case. Remove redundant const values.
2134 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
2135 alignment. Fix -0.0 case. Remove redundant const values.
2137 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
2138 alignment. Fix -0.0 case.
2139 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
2140 alignment. Fix -0.0 case. Use float const.
2141 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
2142 alignment. Fix -0.0 case.
2143 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
2144 alignment. Fix -0.0 case. Use float const.
2145 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
2146 alignment. Fix -0.0 case. Remove redundant const values.
2147 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
2148 alignment. Fix -0.0 case. Remove redundant const values.
2150 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
2151 alignment. Fix -0.0 case.
2152 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
2153 alignment. Fix -0.0 case. Remove redundant const values.
2156 2005-01-06 Ulrich Drepper <drepper@redhat.com>
2158 * misc/sys/cdefs.h: Define __wur.
2159 * libio/stdio.h: Use __wur for a number of interfaces.
2160 * posix/unistd.h: Likewise.
2161 * stdlib/stdlib.h: Likewise.
2163 2004-12-29 Jakub Jelinek <jakub@redhat.com>
2166 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
2167 libc_hidden_proto instead of HIDDEN_PROTO.
2168 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
2169 (__libm_error_support): If ASSEMBLER and in libc, define to
2170 HIDDEN_JUMPTARGET(__libm_error_support).
2172 2004-12-28 David Mosberger <davidm@hpl.hp.com>
2175 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
2176 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
2177 with $(duplicated-routines).
2178 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
2181 2004-12-27 David Mosberger <davidm@hpl.hp.com>
2184 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
2185 undefine "ret" macro. Add __libm_error_support hidden definitions.
2188 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
2189 missing portion of copyright statement.
2190 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
2191 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
2194 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
2195 missing portion of copyright statement.
2196 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
2197 (__ieee754_gamma): Likewise.
2198 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2199 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2201 2004-12-09 H. J. Lu <hjl@lucon.org>
2204 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
2205 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
2206 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
2207 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
2208 * sysdeps/ia64/fpu/e_expl.S: Likewise.
2209 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
2211 2004-11-18 David Mosberger <davidm@hpl.hp.com>
2214 * sysdeps/ia64/fpu/README: New file.
2215 * sysdeps/ia64/fpu/gen_import_file_list: New file.
2216 * sysdeps/ia64/fpu/import_check: Likewise.
2217 * sysdeps/ia64/fpu/import_diffs: Likewise.
2218 * sysdeps/ia64/fpu/import_file.awk: Likewise.
2219 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
2220 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2223 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
2224 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
2225 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
2226 * sysdeps/ia64/fpu/e_asin.S: Likewise.
2227 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
2228 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
2229 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
2230 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
2231 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
2232 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
2233 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
2234 * sysdeps/ia64/fpu/e_exp.S: Likewise.
2235 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2236 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
2237 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
2238 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
2239 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
2240 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
2241 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
2242 * sysdeps/ia64/fpu/e_log.S: Likewise.
2243 * sysdeps/ia64/fpu/e_log2.S: Likewise.
2244 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
2245 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
2246 * sysdeps/ia64/fpu/e_logf.S: Likewise.
2247 * sysdeps/ia64/fpu/e_pow.S: Likewise.
2248 * sysdeps/ia64/fpu/e_powf.S: Likewise.
2249 * sysdeps/ia64/fpu/e_powl.S: Likewise.
2250 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
2251 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
2252 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
2253 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
2254 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
2255 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
2256 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
2257 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
2258 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
2259 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
2260 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
2261 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
2262 * sysdeps/ia64/fpu/libm_error.c: Likewise.
2263 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
2264 * sysdeps/ia64/fpu/libm_support.h: Likewise.
2265 * sysdeps/ia64/fpu/s_atan.S: Likewise.
2266 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
2267 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
2268 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
2269 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
2270 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
2271 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
2272 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
2273 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
2274 * sysdeps/ia64/fpu/s_cos.S: Likewise.
2275 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
2276 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2277 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
2278 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
2279 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
2280 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
2281 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
2282 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
2283 * sysdeps/ia64/fpu/s_floor.S: Likewise.
2284 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
2285 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
2286 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
2287 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
2288 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
2289 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
2290 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
2291 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
2292 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
2293 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
2294 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
2295 * sysdeps/ia64/fpu/s_logb.S: Likewise.
2296 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
2297 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
2298 * sysdeps/ia64/fpu/s_modf.S: Likewise.
2299 * sysdeps/ia64/fpu/s_modff.S: Likewise.
2300 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
2301 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
2302 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
2303 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
2304 * sysdeps/ia64/fpu/s_rint.S: Likewise.
2305 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
2306 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
2307 * sysdeps/ia64/fpu/s_round.S: Likewise.
2308 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
2309 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
2310 * sysdeps/ia64/fpu/s_significand.S: Likewise.
2311 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
2312 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
2313 * sysdeps/ia64/fpu/s_tan.S: Likewise.
2314 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
2315 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
2316 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
2317 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
2318 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
2321 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
2322 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
2323 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
2324 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
2325 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
2326 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
2327 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
2328 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
2329 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
2330 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2331 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
2332 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
2333 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
2334 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
2335 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
2336 * sysdeps/ia64/fpu/e_logl.S: Likewise.
2337 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
2338 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
2339 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
2340 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
2341 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
2342 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
2343 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
2344 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
2345 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
2346 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
2347 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
2348 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
2349 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
2350 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2351 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
2352 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2353 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
2354 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
2355 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
2356 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
2357 * sysdeps/ia64/fpu/s_erf.S: Likewise.
2358 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
2359 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
2360 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
2361 * sysdeps/ia64/fpu/s_erff.S: Likewise.
2362 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
2363 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
2364 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
2365 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
2366 * sysdeps/ia64/fpu/s_fma.S: Likewise.
2367 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
2368 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
2369 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
2370 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
2371 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
2372 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
2373 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
2374 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
2375 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
2376 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
2377 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
2378 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
2379 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
2380 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
2381 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
2382 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
2383 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
2384 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
2385 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
2386 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2387 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2388 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2389 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2390 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2393 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
2394 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
2395 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
2396 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2397 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2398 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2399 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2400 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2401 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2402 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2403 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2404 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2405 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2406 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2407 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2408 * sysdeps/ia64/fpu/w_expl.c: Likewise.
2409 * sysdeps/ia64/fpu/e_expl.S: Likewise.
2410 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2411 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2412 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2413 * sysdeps/ia64/fpu/w_log2.c: Likewise.
2414 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2415 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2416 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2417 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2418 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2421 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
2422 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
2423 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
2424 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
2425 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
2426 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
2427 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
2430 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
2431 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
2432 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
2435 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
2438 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
2439 alias for use by libm_error.c
2442 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
2443 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
2444 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
2445 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
2446 libm_scalbn{,f,l}, libm_scalblnf.
2447 (sysdep_routines): Remove libm_frexp4{,f,l}.
2448 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
2449 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
2450 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
2451 -DSIZE_LONG_LONG_INT_64.
2453 2005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
2456 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
2457 l_text_end are set for a VDSO with a single PT_LOAD entry.
2459 2005-01-05 Ulrich Drepper <drepper@redhat.com>
2462 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
2463 invalid to disable optimizations in fileops which won't work here.
2464 (_IO_cookie_jumps): Use it.
2465 (_IO_old_cookie_jumps): Likewise.
2466 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
2467 not the return value.
2468 * stdio-common/Makefile (tests): Add tst-fmemopen2.
2469 * stdio-common/tst-fmemopen2.c: New file.
2471 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
2473 2005-01-05 Roland McGrath <roland@redhat.com>
2475 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
2476 * sysdeps/i386/configure.in: ... here. New file.
2478 2005-01-03 Ulrich Drepper <drepper@redhat.com>
2481 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
2482 initialize __environ again.
2483 * stdlib/Makefile: Add rules to build and run tst-putenv.
2484 * stdlib/tst-putenv.c: New file.
2485 * stdlib/tst-putenvmod.c: New file.
2487 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
2488 define unnecessary wrappers or aliases of static functions.
2490 2005-01-03 Andreas Jaeger <aj@suse.de>
2492 * csu/Makefile (generated): Add start.os and start.ob.
2494 * elf/Makefile (tests): Change rule for tst-pie1 so that make
2497 2004-12-29 Roland McGrath <roland@redhat.com>
2500 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
2501 than always up; when nearest is zero, round up to one.
2503 2004-12-28 Ulrich Drepper <drepper@redhat.com>
2505 * po/es.po: Update from translation team.
2508 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
2510 2004-12-27 Ulrich Drepper <drepper@redhat.com>
2513 * include/signal.h: Define __sigemptyset.
2515 2004-04-27 Paolo Bonzini <bonzini@gnu.org>
2517 * posix/regex_internal.h (struct re_dfastate_t): Make
2518 word_trtable a pointer to the 512-item transition table.
2519 * posix/regexec.c (build_trtable): Fill in either state->trtable
2520 or state->word_trtable. Return a boolean indicating success.
2521 (transit_state): Expect state->trtable to be a 256-item
2522 transition table. Reorganize code to have less tests in
2523 the common case, and to save an indentation level.
2524 * posix/regex_internal.c (free_state): Free word_trtable.
2526 2004-12-21 Jakub Jelinek <jakub@redhat.com>
2529 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
2530 calling fn is 16 byte aligned.
2531 * sysdeps/i386/tst-stack-align.h: New file.
2534 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2535 (ecvt_r): Special case denormals.
2536 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2537 * misc/tst-efgcvt.c: Include float.h.
2538 (ecvt_tests): Add 2 new tests.
2540 2004-12-20 Roland McGrath <roland@frob.com>
2542 * version.h (RELEASE, VERSION): development, 2.3.90
2543 * include/features.h (__GLIBC_MINOR__): Now 4.
2546 See ChangeLog.15 for earlier changes.