1 2005-04-27 Ulrich Drepper <drepper@redhat.com>
3 * stdlib/test-canon.c: Make doesExist a directory and add more tests
4 for the new error case.
6 2004-06-02 Dmitry V. Levin <ldv@altlinux.org>
7 Ranjani Murthy <ranmur@gmail.com>
9 * stdlib/canonicalize.c (__realpath): Change realpath(3) to
10 return NULL and set errno to ENOTDIR for such pathnames like
11 "/path/to/existing-non-directory/".
13 2005-04-26 Ulrich Drepper <drepper@redhat.com>
15 * time/strptime_l.c (__strptime_internal): Handle 'z' to set
17 * time/Makefile (tests): Add tst-strptime2.
18 * time/tst-strptime2.c: New file.
20 2005-04-26 Jakub Jelinek <jakub@redhat.com>
22 * elf/dl-close.c: Include stddef.h.
23 (_dl_close): If called recursively, just remember GC needs to be rerun
24 and decrease l_direct_opencount. Avoid GC if l_direct_opencount
25 decreased to 1. Rerun GC at the end if any destructor unloaded some
27 * elf/Makefile: Add rules to build and run unload6 test.
28 * elf/unload6.c: New test.
29 * elf/unload6mod1.c: New file.
30 * elf/unload6mod2.c: New file.
31 * elf/unload6mod3.c: New file.
33 * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
34 if magic_p is not NULL.
35 (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
36 (malloc_check): Fail if sz == -1.
37 (free_check): Adjust mem2chunk_check caller.
38 (realloc_check): Likewise. Fail if bytes == -1. If bytes == 0 and
39 oldmem != NULL, call free_check and return NULL. If reallocating
40 and returning NULL, invert magic byte again to make oldmem valid
41 region for further checking.
42 (memalign_check): Fail if bytes == -1.
43 * malloc/Makefile: Add rules to build and run tst-mcheck.
44 * malloc/tst-mcheck.c: New test.
46 2005-04-26 Ulrich Drepper <drepper@redhat.com>
48 * stdio-common/vfscanf.c: Correctly account for characters of
49 decimal points right after +-.
51 2005-04-26 Roland McGrath <roland@redhat.com>
53 * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
54 ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
56 2005-04-25 Roland McGrath <roland@redhat.com>
58 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
59 (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
61 * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
63 * elf/dl-load.c: Revert last change.
65 2005-04-24 Ulrich Drepper <drepper@redhat.com>
67 * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
68 Patch by Hamed Malek <hamed@bamdad.org>.
70 2005-04-21 Roland McGrath <roland@redhat.com>
72 * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
73 since Linux ignores it in user mmap calls.
75 2005-04-17 David S. Miller <davem@davemloft.net>
77 * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
78 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80 2005-04-15 Roland McGrath <roland@redhat.com>
82 * timezone/Makefile (zic-deps): New variable.
83 ($(testdata)/America/New_York): Use it instead of explicit deps.
84 ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
85 ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
86 (%/UTC %/Universal): New pattern rule, replaces ...
87 ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
88 ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
89 ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
91 2005-04-14 Roland McGrath <roland@redhat.com>
93 * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
94 (extract): Filter-out distinfo file name.
97 * MakeTAGS (text-srcs): Match %.bash.in files too.
100 * nscd/Makefile (all-nscd-modules): New variable, include selinux
101 module regardless of configuration.
102 (distribute): Use that instead of $(nscd-modules).
104 2005-04-13 David S. Miller <davem@davemloft.net>
106 Add sparc64 TLS and NPTL support.
107 * elf/tls-macros.h: Add Sparc64 defines.
108 * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
110 (elf_machine_fixup_plt): Likewise.
111 (elf_machine_rela): Handle TLS relocations.
112 (elf_machine_type_cleaa): Likewise.
113 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
114 (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
115 It does not always fit in R_SPARC_GOT13 when building -fPIC.
116 Also, add TLS handling.
117 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
118 Increase it to 2.4.21 for sparc64.
119 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
120 backtrace by zero'ing out %fp. Store away flags, func_ptr,
121 and func_arg in global registers not local registers.
122 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
123 and CTID arguments properly. Add RESET_PID handling.
124 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
125 do not invoke __sigprocmask(). We can always assume rt signals
126 are present on sparc64, so just do an inline syscall.
128 2005-04-13 Jakub Jelinek <jakub@redhat.com>
130 * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
131 inclusion guard for the first half of the header.
132 (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
133 ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
134 elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
135 #ifndef dl_machine_h guarded part of the header.
137 2005-04-14 Ulrich Drepper <drepper@redhat.com>
140 * posix/execvp.c (execvp): Use file name including path when
141 trying to run it with shell.
142 * posix/Makefile: Add rules to build and run tst-execvp3.
143 * posix/tst-execvp3.c: New file.
145 2005-04-12 Ulrich Drepper <drepper@redhat.com>
147 * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
148 * string/tst-strfry.c: New file.
149 * string/Makefile (tests): Add tst-strfry.
151 2005-04-11 James A. Morrison <ja2morri@uwaterloo.ca>
153 * manual/string.texi: Fix typo in wmemcpy decl.
155 2005-04-10 David S. Miller <davem@davemloft.net>
157 * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
159 2005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca>
161 * FAQ.in: Explain why `make' might fail running rpcgen.
164 2005-04-07 Roland McGrath <roland@redhat.com>
166 * po/libc.pot: Regenerated.
168 2005-04-07 Roland McGrath <roland@redhat.com>
170 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
171 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
172 GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
173 we can skip the uname call if it's there.
174 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
175 DL_SYSDEP_OSCHECK here.
176 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
178 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
180 * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
181 rtld_is_main case. Call it unconditionally later.
182 Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
183 Initialize GLRO(dl_sysinfo_map).
184 * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
185 * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
186 (_dl_important_hwcaps)
187 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
188 GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
190 * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
191 (hwcap_extra): New static variable.
192 (is_hwcap_platform): Check hwcap_extra for a matching name.
193 Remove tls special case.
194 (path_hwcap): Likewise.
195 (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
196 and their names, stored in hwcap_extra.
197 (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
199 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
200 _dl_hwcap and _dl_hwcap_mask.
201 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
202 AT_HWCAP to unsigned long int.
203 * elf/dl-support.c (_dl_aux_init): Likewise.
204 (_dl_hwcap): Update defn.
206 * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
207 * elf/ldconfig.c (search_dir): Likewise.
209 2005-04-05 Roland McGrath <roland@redhat.com>
211 * NEWS: Copy 2.3.5 section from 2.3 branch.
213 * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary
214 file and mv it into place.
215 * intl/tst-gettext3.sh: Likewise.
217 * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
218 are up to date in srcdir. Touch all configure scripts after export.
220 * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
222 2005-04-05 H.J. Lu <hongjiu.lu@intel.com>
225 * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
226 (comment changes only).
227 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
228 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
229 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
230 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
231 * sysdeps/ia64/fpu/e_exp.S: Likewise.
232 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
233 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
234 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
235 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
236 * sysdeps/ia64/fpu/e_expf.S: Likewise.
237 * sysdeps/ia64/fpu/e_log.S: Likewise.
238 * sysdeps/ia64/fpu/e_logf.S: Likewise.
239 * sysdeps/ia64/fpu/e_pow.S: Likewise.
240 * sysdeps/ia64/fpu/e_powf.S: Likewise.
241 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
242 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
243 * sysdeps/ia64/fpu/libm_error.c: Likewise.
244 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
245 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
246 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
247 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
248 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
249 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
250 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
251 * sysdeps/ia64/fpu/s_cos.S: Likewise.
252 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
253 * sysdeps/ia64/fpu/s_erf.S: Likewise.
254 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
255 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
256 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
257 * sysdeps/ia64/fpu/s_erff.S: Likewise.
258 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
259 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
260 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
261 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
262 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
263 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
264 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
265 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
266 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
268 2005-04-05 Roland McGrath <roland@redhat.com>
270 * scripts/config.guess: Update from master, timestamp='2005-03-24'.
271 * scripts/config.sub: Update from master, timestamp='2005-02-10'.
273 2005-04-04 David S. Miller <davem@davemloft.net>
275 * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
276 * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
277 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
278 (elf_machine_runtime_setup): Test for dl_profile non-null.
279 * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
280 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
281 * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
282 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
283 (elf_machine_runtime_setup): Test for dl_profile non-null.
284 * sysdeps/sparc/bits/link.h: New file.
285 * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
286 La_sparc64_regs, La_sparc64_retval): New.
287 (struct audit_ifaces): Add sparc entries.
288 * elf/tst-auditmod1.c: Add sparc entries.
290 2005-03-27 Bruno Haible <bruno@clisp.org>
292 * intl/tst-gettext3.c: New file.
293 * intl/tst-gettext3.sh: New file.
294 * intl/Makefile (distribute): Add tst-gettext3.sh.
295 (test-srcs): Add tst-gettext3.
296 (tests): Depend on tst-gettext3.out.
297 (tst-gettext3.out): New rule.
298 (CFLAGS-tst-gettext3.c): New variable.
300 Fix bug exposed by tst-gettext3.
301 * intl/gettextP.h (struct converted_domain): New type.
302 (struct loaded_domain): Remove the conv, conv_tab fields. Add
303 conversions, nconversions fields.
304 (_nl_init_domain_conv): Remove declaration.
305 (_nl_free_domain_conv): Remove declaration.
306 (_nl_find_msg): Add convert argument.
307 * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
308 (_nl_find_msg): Add convert argument. When a conversion to a different
309 charset is needed, create a new converted_domain element, instead of
310 throwing away the old converted translations.
311 (get_output_charset): New function.
312 * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
313 (_nl_free_domain_conv): Remove function.
314 (_nl_load_domain): Initialize the conversions array to empty. Use
315 _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
317 (_nl_unload_domain): Free the conversions array and its contents.
319 * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
320 (struct binding): Likewise.
321 * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
324 2005-04-04 Jakub Jelinek <jakub@redhat.com>
326 * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
327 of trying to encode uninitialized arglen.
329 2005-04-04 Ulrich Drepper <drepper@redhat.com>
332 * timezone/scheck.c: Update from tzcode2005h.
333 * timezone/tzfile.h: Likewise.
334 * timezone/zdump.c: Likewise.
335 * timezone/zic.c: Likewise.
338 * timezone/antarctica: Update from tzdata2005h.
339 * timezone/asia: Likewise.
340 * timezone/australasia: Likewise.
341 * timezone/etcetera: Likewise.
342 * timezone/europe: Likewise.
343 * timezone/northamerica: Likewise.
344 * timezone/southamerica: Likewise.
345 * timezone/leapseconds: Likewise.
346 * timezone/iso3166.tab: Likewise.
348 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
351 * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
353 2005-04-01 Ulrich Drepper <drepper@redhat.com>
355 * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
356 * wcsmbs/wctob.c (wctob): Likewise.
357 * wcsmbs/wchar.h (btowc): Add optimized inline function.
360 2005-03-31 Jakub Jelinek <jakub@redhat.com>
362 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
363 equivalent, but shorter instructions.
364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
365 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
366 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
367 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
368 * sysdeps/unix/x86_64/sysdep.S: Likewise.
369 * sysdeps/x86_64/strchr.S: Likewise.
370 * sysdeps/x86_64/memset.S: Likewise.
371 * sysdeps/x86_64/strcspn.S: Likewise.
372 * sysdeps/x86_64/strcmp.S: Likewise.
373 * sysdeps/x86_64/elf/start.S: Likewise.
374 * sysdeps/x86_64/strspn.S: Likewise.
375 * sysdeps/x86_64/dl-machine.h: Likewise.
376 * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
377 * sysdeps/x86_64/bsd-setjmp.S: Likewise.
378 * sysdeps/x86_64/strtok.S: Likewise.
380 2005-03-30 H.J. Lu <hongjiu.lu@intel.com>
383 * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
384 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
385 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
386 * sysdeps/ia64/fpu/e_acosh.S: Likewise.
387 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
388 * sysdeps/ia64/fpu/e_acos.S: Likewise.
389 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
390 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
391 * sysdeps/ia64/fpu/e_asin.S: Likewise.
392 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
393 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
394 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
395 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
396 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
397 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
398 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
399 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
400 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
401 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
402 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
403 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
404 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
405 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
406 * sysdeps/ia64/fpu/e_expf.S: Likewise.
407 * sysdeps/ia64/fpu/e_exp.S: Likewise.
408 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
409 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
410 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
411 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
412 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
413 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
414 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
415 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
416 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
417 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
418 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
419 * sysdeps/ia64/fpu/e_log2.S: Likewise.
420 * sysdeps/ia64/fpu/e_logf.S: Likewise.
421 * sysdeps/ia64/fpu/e_logl.S: Likewise.
422 * sysdeps/ia64/fpu/e_log.S: Likewise.
423 * sysdeps/ia64/fpu/e_powf.S: Likewise.
424 * sysdeps/ia64/fpu/e_powl.S: Likewise.
425 * sysdeps/ia64/fpu/e_pow.S: Likewise.
426 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
427 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
428 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
429 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
430 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
431 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
432 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
433 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
434 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
435 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
436 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
437 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
438 * sysdeps/ia64/fpu/libm_error.c: Likewise.
439 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
440 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
441 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
442 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
443 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
444 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
445 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
446 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
447 * sysdeps/ia64/fpu/libm_support.h: Likewise.
448 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
449 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
450 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
451 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
452 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
453 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
454 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
455 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
456 * sysdeps/ia64/fpu/s_cos.S: Likewise.
457 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
458 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
459 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
460 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
461 * sysdeps/ia64/fpu/s_erf.S: Likewise.
462 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
463 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
464 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
465 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
466 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
467 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
468 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
469 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
470 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
471 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
472 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
473 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
474 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
475 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
476 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
477 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
478 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
479 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
480 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
481 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
482 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
483 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
484 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
485 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
486 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
487 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
488 * sysdeps/ia64/fpu/s_logb.S: Likewise.
489 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
490 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
491 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
492 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
493 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
494 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
495 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
496 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
497 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
498 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
499 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
500 * sysdeps/ia64/fpu/s_round.S: Likewise.
501 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
502 * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
503 * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
504 * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
505 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
506 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
507 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
508 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
509 * sysdeps/ia64/fpu/s_tan.S: Likewise.
510 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
511 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
512 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
513 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
514 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
515 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
518 * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
519 * sysdeps/ia64/fpu/libm_error_codes.h: New file.
522 * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
524 * sysdeps/ia64/fpu/import_file.awk: Likewise.
525 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
526 * sysdeps/ia64/fpu/Makefile: Likewise.
528 2005-03-29 Jakub Jelinek <jakub@redhat.com>
530 * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
531 avoid calling mbsrtowcs twice.
533 2005-03-29 Roland McGrath <roland@redhat.com>
535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
536 function, inline broken out of ...
537 (DL_SYSDEP_OSCHECK): ... here. Use that.
538 Do the discovery and set GLRO(dl_osversion) if successful,
539 if __LINUX_KERNEL_VERSION <= 0.
540 * elf/dl-load.c: Don't include dl-osinfo.h here.
542 2005-03-29 Alfred M. Szmidt <ams@gnu.org>
544 * manual/install.texi (Tools for Compilation): GNU binutils 2.15
547 2005-03-19 Bruno Haible <bruno@clisp.org>
549 * intl/dcigettext.c (struct known_translation_t): Change type of
550 domainname field to 'const char *'.
551 (DCIGETTEXT): Remove const-cast.
553 2005-03-29 Thorsten Kukuk <kukuk@suse.de>
556 * grp/initgroups.c (internal_getgrouplist): Check if we have
557 enough space before adding the primary group to the list.
559 * posix/tst-execle1.c (do_test): Fix execle arguments.
560 * posix/tst-execle2.c (do_test): Likewise.
562 2005-03-28 Roland McGrath <roland@redhat.com>
564 * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
565 Reported by Mark Mitchell <mark@codesourcery.com>.
566 * Versions.def (libm): Define GLIBC_2.4 set.
567 * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
568 * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
569 * sysdeps/ia64/Versions: Likewise.
570 * sysdeps/m68k/Versions: Likewise.
571 * sysdeps/sparc/sparc64/Versions: Likewise.
572 * sysdeps/x86_64/Versions: New file.
573 * sysdeps/mips/mips64/Versions: New file.
575 * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
576 [__USE_GNU] (NL_LOCALE_NAME): New macro.
577 * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
578 return locale name string for the category.
580 2005-03-25 Jakub Jelinek <jakub@redhat.com>
582 * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
585 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
587 * sysdeps/mips/atomicity.h: Remove unused file.
588 * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
589 * sysdeps/mips/dl-tls.h: New file.
590 * sysdeps/mips/libc-tls.c: New file.
591 * sysdeps/mips/tls-macros.h: New file.
592 * sysdeps/mips/bits/atomic.h: New file.
593 * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
594 * sysdeps/mips/elf/configure.in: New file.
595 * sysdeps/mips/elf/configure: Generated.
596 * sysdeps/mips/sys/asm.h: New file.
597 * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
598 * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
600 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
601 (INTERNAL_SYSCALL_NCS): New.
602 (INTERNAL_SYSCALL): Update for non-constant support.
603 (internal_syscall0): Likewise.
604 (internal_syscall1): Likewise.
605 (internal_syscall2): Likewise.
606 (internal_syscall3): Likewise.
607 (internal_syscall4): Likewise.
608 (internal_syscall5): Likewise.
609 (internal_syscall6): Likewise.
610 (internal_syscall7): Likewise.
611 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
612 Update to match the kernel.
613 (SIGEV_CALLBACK): Likewise.
614 (SIGEV_THREAD_ID): Likewise.
616 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
619 * elf/tst-auditmod1.c: Add MIPS support.
620 * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
621 (La_mips_32_retval): New.
622 (La_mips_64_regs): New.
623 (La_mips_64_retval): New.
624 (struct audit_ifaces): Add MIPS entries.
625 * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
626 (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
627 ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
628 ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
629 (RTLD_START): Align the stack before calling _dl_init_internal.
630 Use .ent for _dl_start_user.
631 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
632 (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
633 (elf_machine_runtime_setup): Use "auto inline".
634 (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
635 (elf_machine_got_rel): Likewise. Use RESOLVE_MAP.
636 * sysdeps/mips/dl-trampoline.c: New file.
637 * sysdeps/mips/bits/link.h: New file.
638 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
639 (internal_syscall5): Use register operands instead of non-lvalue
641 (internal_syscall6): Likewise.
642 (internal_syscall7): Likewise.
644 2005-03-27 Andreas Jaeger <aj@suse.de>
646 * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
647 avoid warnings with older compiler.
648 (__builtin___memcpy_chk): Likewise.
649 (__builtin___memmove_chk: Likewise.
650 (__builtin___mempcpy_chk): Likewise.
651 (__builtin___memset_chk): Likewise.
652 (__builtin___stpcpy_chk): Likewise.
653 (__builtin___strcat_chk): Likewise.
654 (__builtin___strcpy_chk): Likewise.
655 (__builtin___strncat_chk): Likewise.
656 (__builtin___strncpy_chk): Likewise.
657 (__builtin_object_size): Likewise.
659 2005-03-27 Daniel Jacobowitz <dan@codesourcery.com>
661 * elf/tls-macros.h: Correct typo.
663 2005-03-23 Jakub Jelinek <jakub@redhat.com>
666 * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
667 (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
669 2005-03-22 Roland McGrath <roland@redhat.com>
671 * locale/setlocale.c: Comment typo.
673 * scripts/versions.awk: No errors for GLIBC_PRIVATE.
675 * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
677 * scripts/versions.awk: Print all errors and die at the end.
678 Use library name in versions array keys.
680 2005-03-22 Daniel Jacobowitz <dan@codesourcery.com>
682 * elf/elf.h (PT_ARM_EXIDX): New macro.
684 2005-03-21 Thorsten Kukuk <kukuk@suse.de>
686 * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
687 Convert correctly between long/int on 64bit big-endian.
689 2005-03-21 David Mosberger <davidm@hpl.hp.com>
691 * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
692 with more than 8 output registers. Fix this by passing original
693 ar.pfs to _mcount_ret_helper via r3.
695 2005-03-15 Jakub Jelinek <jakub@redhat.com>
698 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
699 GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
700 * elf/Makefile: Add rules to build and run tst-tls15.
701 * elf/tst-tls15.c: New test.
702 * elf/tst-tlsmod15a.c: New file.
703 * elf/tst-tlsmod15b.c: New file.
705 2005-03-20 Ulrich Drepper <drepper@redhat.com>
707 * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
709 2005-03-20 Alfred M. Szmidt <ams@gnu.org>
711 * elf/dl-open.c (dl_open_worker): Fix typo.
713 2005-03-20 Ulrich Drepper <drepper@redhat.com>
715 * malloc/malloc.c (public_cALLOc): We cannot skip the memory
716 clearing if perturb_byte != 0.
718 2005-03-20 Jakub Jelinek <jakub@redhat.com>
720 * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
721 instead of __off_t for last argument.
722 * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
723 * debug/tst-lfschk1.c: New test.
724 * debug/tst-lfschk2.c: New test.
725 * debug/tst-lfschk3.c: New test.
727 2005-02-09 Jakub Jelinek <jakub@redhat.com>
729 * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
730 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
731 and __USE_XOPEN guards to match linux/bits/termios.h.
732 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
734 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
736 2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
738 * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
740 2005-02-27 Denis Barbier <barbier@debian.org>
743 * locale/iso-4217.def: Add CSD currency.
745 2005-03-19 Ulrich Drepper <drepper@redhat.com>
747 * inet/test-ifaddrs.c: Use test-skeleton.
748 * inet/test_ifindex.c: Likewise.
751 * elf/dl-lookup.c (add_dependency): Always search l_initfini if
755 * elf/Makefile: Add rules to build and run order2.
756 * elf/order2.c: New file.
757 * elf/order2mod1.c: New file.
758 * elf/order2mod2.c: New file.
759 * elf/order2mod3.c: New file.
760 * elf/order2mod4.c: New file.
762 2005-03-19 Jakub Jelinek <jakub@redhat.com>
765 * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
766 it has been incremented before.
768 2005-03-18 Ulrich Drepper <drepper@redhat.com>
771 * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
772 function _dl_sort_fini.
773 (_dl_sort_fini): New function.
774 * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
775 * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
776 destructors to call them in the right order.
778 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
780 * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
781 (La_ppc64_retval): Correct size of lrc_fp.
782 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
783 Fix up ABI problems and complete function.
785 2005-03-10 Jakub Jelinek <jakub@redhat.com>
787 * math/test-misc.c (main): Add some more tests.
789 2005-03-17 Jakub Jelinek <jakub@redhat.com>
791 * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
792 __wcrtomb. Check return values of other __wcrtomb calls.
793 * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
794 Change mbclen type to size_t.
795 (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
796 Handle mb chars whose upper case doesn't have multibyte representation
799 2005-03-15 Jakub Jelinek <jakub@redhat.com>
801 * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
802 public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
806 * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
809 2005-03-10 Jakub Jelinek <jakub@redhat.com>
811 * misc/sys/cdefs.h (__always_inline): Define.
812 * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
813 Use __always_inline instead of __inline.
814 * socket/bits/socket2.h (recv, recvfrom): Likewise.
815 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
816 * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
817 __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
818 __strcat_ichk, __strncat_ichk): Use __always_inline instead of
819 __inline__ __attribute__ ((__always_inline__)).
821 2005-03-09 Jakub Jelinek <jakub@redhat.com>
823 * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
824 (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
825 readlink. Add some more tests for read, pread, pread64, fgets and
828 * posix/bits/unistd.h (read, pread, pread64, readlink,
829 getcwd, getwd): Change macros into extern inline functions.
830 (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
831 __getcwd_alias, __getwd_alias): New prototypes.
832 * socket/bits/socket2.h (recv, recvfrom): Change macros into
833 extern inline functions.
834 (__recv_alias, __recvfrom_alias): New prototypes.
835 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
836 into extern inline functions.
837 (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
839 * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
841 * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
844 2005-03-18 Daniel Jacobowitz <dan@codesourcery.com>
846 * configure.in: Use %function instead of @function.
848 2005-03-18 Ulrich Drepper <drepper@redhat.com>
851 * include/link.h (struct link_map): Remove l_opencount. Add l_removed.
852 Change type of l_idx to int.
853 * elf/dl-close.c: Basically rewrite. Do not use l_opencount to
854 determine whether a DSO has to be unloaded. Instead compute this
856 * elf/dl-deps.c: No need to manipulate l_opencount anymore.
857 * elf/dl-lookup.c: Likewise.
858 * elf/rtld.c: Likewise
859 * elf/dl-open.c: Likewise. Use l_init_called to determine whether
860 object was just loaded.
861 * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
862 * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
863 is about to be unloaded as a match.
864 (_dl_map_object): Likewise.
865 * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
867 * elf/circleload1.c: Don't use l_opencount anymore.
868 * elf/neededtest.c: Likewise.
869 * elf/neededtest2.c: Likewise.
870 * elf/neededtest3.c: Likewise.
871 * elf/neededtest4.c: Likewise.
872 * elf/unload.c: Likewise.
873 * elf/unload2.c: Likewise.
874 * elf/loadtest.c: Likewise.
877 * elf/rtld.c: Preloading errors are now never fatal.
879 2005-03-08 Jakub Jelinek <jakub@redhat.com>
882 * elf/Makefile: Add rules to build and run unload5 test.
883 * elf/unload5.c: New file.
886 * elf/Makefile: Add rules to build and run unload4 test.
887 * elf/unload4.c: New file.
888 * elf/unload4mod1.c: New file.
889 * elf/unload4mod2.c: New file.
890 * elf/unload4mod3.c: New file.
891 * elf/unload4mod4.c: New file.
893 2005-03-17 Roland McGrath <roland@redhat.com>
895 * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
897 2005-03-16 Richard Henderson <rth@redhat.com>
899 * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
901 (__hidden_def1, __hidden_dot_def1): Remove.
902 (__hidden_def2, __hidden_def3): Remove.
903 (__hidden_ver1): New.
904 (hidden_ver, hidden_def, hidden_weak): Use it.
905 (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
906 version of the macro.
908 * include/wchar.h (__wcscoll): Remove.
909 * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
910 * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
912 2005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
914 * elf/elf.h: Define MIPS TLS relocations.
916 2005-03-16 Ulrich Drepper <drepper@redhat.com>
918 * elf/circleload1.c (main): Pretty printing.
920 2005-03-15 Jakub Jelinek <jakub@redhat.com>
922 * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
923 Patch by Dan Kegel <dank@kegel.com>.
925 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
926 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
928 * sysdeps/alpha/dl-machine.h (elf_machine_rela,
929 elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
932 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change
933 static inline into auto inline.
934 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
935 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
936 * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
938 * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
939 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
942 2005-03-15 Jakub Jelinek <jakub@redhat.com>
945 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
946 Remove memory clobber.
948 * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
949 thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff.
951 2005-03-14 Jakub Jelinek <jakub@redhat.com>
953 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
956 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
958 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
960 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
961 Correct MAP_GROWSDOWN value.
963 2005-03-13 Roland McGrath <roland@redhat.com>
965 * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
966 version if there is one. Only #error if macros are then undefined.
967 * sysdeps/generic/tls-macros.h: New file.
969 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
971 * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
972 * sysdeps/hppa/configure: Regenerated.
974 2005-03-08 Roland McGrath <roland@redhat.com>
976 * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
977 array types match exactly in C alias decls.
979 2005-03-07 Ulrich Drepper <drepper@redhat.com>
981 * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
982 mallopt appropriately.
983 * malloc/malloc.h: Define M_PERTURB.
984 * malloc/malloc.c (perturb_byte): New variable.
985 (alloc_perturb, free_perturb): New macros.
986 (_int_malloc): Before returning, overwrite the memory if this is
988 (_int_free): Overwrite freed memory if requested.
989 (mALLOPt): Handle M_PERTURB.
990 * test-skeleton.c: Add call to mallopt with M_PERTURB command.
992 * elf/dl-close.c (_dl_close): Decrement l_opencount before
993 printing debug message.
994 * elf/dl-open.c (dl_open_worker): Always print the new opencount
997 2005-03-06 Ulrich Drepper <drepper@redhat.com>
999 * elf/dl-close.c (_dl_close): Unify debug message format.
1001 * elf/dl-close.c (_dl_close): Print debug message just before
1002 destroying a link map.
1004 * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
1005 * elf/dl-version.c (match_symbol): Likewise.
1007 * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
1009 * debug/recv_chk.c (__recv_chk): Always fail if request could
1010 overflow the buffer.
1011 * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
1012 * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
1013 we know the call succeeds.
1014 (recvfrom): Likewise.
1016 2005-03-05 Ulrich Drepper <drepper@redhat.com>
1018 * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
1020 * posix/regex_internal.c (re_string_reconstruct): Add cast to
1022 (build_wcs_upper_buffer): Change type of bug to plain char.
1023 * locale/weightwc.h (findidx): Add casts to avoid warnings.
1024 * time/mktime.c (ranged_convert): Initialize tm to make the
1026 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
1027 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
1028 * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
1029 * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
1030 * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
1031 * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
1032 * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
1033 * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
1034 * libio/iofwide.c: Add casts to avoid warnings.
1035 * stdio-common/printf-prs.c (parse_printf_format): Introduce new
1036 variable f to avoid warnings.
1037 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1038 Fix a few casts to avoid warnings.
1039 * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
1042 * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
1043 dynamically sized array.
1044 (build_wcs_upper_buffer): Likewise.
1046 2005-03-05 Jakub Jelinek <jakub@redhat.com>
1048 * include/bits/unistd.h: New file.
1049 * include/bits/socket2.h: New file.
1051 2005-03-05 Ulrich Drepper <drepper@redhat.com>
1053 * sunrpc/key_call.c: Remove doors support.
1054 * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
1055 * configure.in: Remove test for doors support which never existed.
1056 * config.make.in: Remove have_doors entry.
1058 * configure.in: Make sure at least gcc 3.4 is used. Undo last change.
1059 * config.make.in: Undo last change.
1061 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
1064 2005-03-05 Roland McGrath <roland@redhat.com>
1066 * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
1067 (_dl_out_of_memory): Use rtld_hidden_proto.
1068 * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
1069 (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
1070 * elf/dl-open.c (_dl_open): Likewise.
1071 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1073 * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
1075 * elf/dl-addr.c (_dl_addr): Add a cast.
1078 * elf/unload3mod4.c: Declare foo.
1079 * elf/testobj2.c: Include <stdio.h>.
1081 * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
1082 value constant, and use it in the defn.
1083 * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
1084 Use actual size for compat array decls.
1086 * config.make.in (cc-mtune): New substituted variable.
1087 * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
1088 done only if libc_mtune_example is defined.
1089 * sysdeps/i386/configure.in (libc_mtune_example): Set it.
1090 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
1092 2005-03-05 Jakub Jelinek <jakub@redhat.com>
1094 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
1095 unconditionally to (defined RTLD_BOOTSTRAP).
1096 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
1098 2005-03-05 Jakub Jelinek <jakub@redhat.com>
1100 * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
1101 $(inst_slibdir) in AS_NEEDED directive.
1103 2005-03-03 Jakub Jelinek <jakub@redhat.com>
1105 * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
1107 2005-03-01 H.J. Lu <hongjiu.lu@intel.com>
1110 * iconv/iconvconfig.c: Fix comment for the output file.
1111 (write_output): Clear padding in header.
1113 2005-03-03 Ulrich Drepper <drepper@redhat.com>
1116 * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
1117 loader is closed. Fixes unload3.
1118 * elf/tst-global1.c: New file.
1119 * elf/Makefile (tests): Add tst-global1.
1120 * elf/testobj2.c (p): New function.
1122 2005-03-03 Jakub Jelinek <jakub@redhat.com>
1125 * elf/Makefile: Add rules to build and run unload3 test.
1126 * elf/unload3.c: New test.
1127 * elf/unload3mod1.c: New file.
1128 * elf/unload3mod2.c: New file.
1129 * elf/unload3mod3.c: New file.
1130 * elf/unload3mod4.c: New file.
1132 2005-02-21 Alan Modra <amodra@bigpond.net.au>
1134 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
1137 2005-03-01 Jakub Jelinek <jakub@redhat.com>
1139 * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
1141 * socket/bits/socket2.h (recv, recvfrom): Likewise.
1143 2005-03-01 Roland McGrath <roland@redhat.com>
1146 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
1149 2005-03-01 Alfred M. Szmidt <ams@gnu.org>
1152 * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
1153 Add missing initializer.
1156 * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
1157 USE_TLS && !USE___THREAD].
1159 2005-02-26 GOTO Masanori <gotom@debian.or.jp>
1161 * csu/Makefile: Use printf instead of echo for some shells.
1163 2005-02-28 Roland McGrath <roland@redhat.com>
1165 * debug/warning-nop.c (__nop): Rename to nop, make it static.
1166 (__warndecl): Use alias attribute directly, instead of strong_alias
1167 macro. Add attribute_hidden.
1169 2005-02-28 Ulrich Drepper <drepper@redhat.com>
1171 * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
1172 determine the call will never trigger a failure.
1173 * debug/read_chk.c (__read_chk): Always fail if the buffer is too
1175 * debug/readlink_chk.c (__readlink_chk): Likewise.
1176 * debug/pread64_chk.c (__pread64_chk): Likewise.
1177 * debug/pread_chk.c (__pread_chk): Likewise.
1179 * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
1180 * sysdeps/x86_64/memset_chk.S: Likewise.
1182 2005-02-24 Roland McGrath <roland@redhat.com>
1184 * debug/Versions (libc: GLIBC_2.4): Remove
1185 __memset_zero_constant_len_parameter.
1186 * sysdeps/generic/memset_chk.c: Remove alias and warning.
1187 * misc/sys/cdefs.h (__warndecl): New macro.
1188 * debug/warning-nop.c: New file.
1189 * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
1190 arguments, instead of calling __memset_zero_constant_len_parameter.
1191 Use __warndecl for __warn_memset_zero_len.
1192 * debug/Makefile (routines): Add $(static-only-routines).
1193 (static-only-routines): New variable.
1195 2005-02-27 Ulrich Drepper <drepper@redhat.com>
1197 * po/tr.po: Update from translation team.
1199 2005-02-26 Ulrich Drepper <drepper@redhat.com>
1201 * elf/dl-addr.c: Cleanups. Move declaration next to first use.
1203 * dlfcn/dlerror.c (check_free): New function. Extract common code
1204 from fini and free_key_mem. Check whether this is libdl in the
1207 2005-02-25 Ulrich Drepper <drepper@redhat.com>
1209 * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
1212 2004-11-11 Richard Sandiford <rsandifo@redhat.com>
1215 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
1216 preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
1217 like __NR_N32_open. Just include <asm/unistd.h> otherwise.
1218 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1219 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
1220 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
1221 standard __NR prefix.
1222 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
1223 * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
1224 the output file is compatible with both pre-2.6 and 2.6 kernel headers.
1225 Extract separate syscall lists for each ABI.
1227 2005-02-23 Ulrich Drepper <drepper@redhat.com>
1229 * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
1232 * elf/Makefile: Run tst-tls9-static again.
1234 2005-02-22 Ulrich Drepper <drepper@redhat.com>
1237 * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
1239 (__libc_setup_tls): Initialize length of DTV based on array length.
1240 * elf/dl-load.c: Revert last change.
1241 * sysdeps/generic/dl-tls.c: Revert last change.
1243 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
1244 tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
1245 tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
1246 * posix/tst-execl1.c: New file.
1247 * posix/tst-execl2.c: New file.
1248 * posix/tst-execle1.c: New file.
1249 * posix/tst-execle2.c: New file.
1250 * posix/tst-execlp1.c: New file.
1251 * posix/tst-execlp2.c: New file.
1252 * posix/tst-execv1.c: New file.
1253 * posix/tst-execv2.c: New file.
1254 * posix/tst-execve1.c: New file.
1255 * posix/tst-execve2.c: New file.
1256 * posix/tst-execvp1.c: New file.
1257 * posix/tst-execvp2.c: New file.
1259 2005-02-22 Roland McGrath <roland@redhat.com>
1261 * include/signal.h: Revert last change.
1262 (__sigemptyset): Use __builtin_memset instead of memset.
1264 2005-02-22 Ulrich Drepper <drepper@redhat.com>
1266 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
1267 non-cancelable I/O functions.
1269 2005-02-22 Jakub Jelinek <jakub@redhat.com>
1272 * nscd/nscd-client.h: Include sys/uio.h.
1273 (__readall, __readvall, writeall): New prototypes.
1274 * nscd/connections.c (writeall): New function.
1275 (handle_request): Use it.
1276 * nscd/aicache.c (addhstaiX): Likewise.
1277 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1278 * nscd/hstcache.c (cache_addhst): Likewise.
1279 * nscd/grpcache.c (cache_addgr): Likewise.
1280 * nscd/pwdcache.c (cache_addpw): Likewise.
1281 * nscd/nscd_helper.c (__readall, __readvall): New functions.
1282 * nscd/nscd_getai.c (__nscd_getai): Use them.
1283 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
1284 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
1285 * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
1286 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1288 2005-02-22 Roland McGrath <roland@redhat.com>
1290 * include/sys/socket.h: Declare __recv.
1291 * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
1292 * sysdeps/mach/hurd/recv.c: Likewise.
1294 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
1295 __backtrace_* decls.
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1298 (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1301 * include/signal.h: Include <string.h> for memset decl.
1303 2005-02-22 Andreas Schwab <schwab@suse.de>
1305 * posix/execvp.c (execvp): Fix invalid free.
1307 2005-02-22 Jakub Jelinek <jakub@redhat.com>
1309 * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
1310 * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
1311 librpcsvc.a objects.
1313 2005-02-21 Ulrich Drepper <drepper@redhat.com>
1315 * iconvdata/ibm930.h: Correct Yen mapping.
1316 * iconvdata/ibm939.h: Likewise.
1317 * iconvdata/testdata/IBM930..UTF8: Adjust test data.
1318 * iconvdata/testdata/IBM939..UTF8: Likewise.
1319 Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
1321 * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
1322 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
1323 (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
1324 ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
1325 ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
1326 ibm1158.c, and ibm1158.h.
1327 * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
1328 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
1329 * iconvdata/gconv-modules: Likewise.
1330 * iconvdata/ibm1025.c: New file.
1331 * iconvdata/ibm1025.h: New file.
1332 * iconvdata/ibm1122.c: New file.
1333 * iconvdata/ibm1122.h: New file.
1334 * iconvdata/ibm1137.c: New file.
1335 * iconvdata/ibm1137.h: New file.
1336 * iconvdata/ibm1153.c: New file.
1337 * iconvdata/ibm1153.h: New file.
1338 * iconvdata/ibm1154.c: New file.
1339 * iconvdata/ibm1154.h: New file.
1340 * iconvdata/ibm1155.c: New file.
1341 * iconvdata/ibm1155.h: New file.
1342 * iconvdata/ibm1156.c: New file.
1343 * iconvdata/ibm1156.h: New file.
1344 * iconvdata/ibm1157.c: New file.
1345 * iconvdata/ibm1157.h: New file.
1346 * iconvdata/ibm1158.c: New file.
1347 * iconvdata/ibm1158.h: New file.
1348 * iconvdata/testdata/IBM1025: New file.
1349 * iconvdata/testdata/IBM1025..UTF8: New file.
1350 * iconvdata/testdata/IBM1122: New file.
1351 * iconvdata/testdata/IBM1122..UTF8: New file.
1352 * iconvdata/testdata/IBM1137: New file.
1353 * iconvdata/testdata/IBM1137..UTF8: New file.
1354 * iconvdata/testdata/IBM1153: New file.
1355 * iconvdata/testdata/IBM1153..UTF8: New file.
1356 * iconvdata/testdata/IBM1154: New file.
1357 * iconvdata/testdata/IBM1154..UTF8: New file.
1358 * iconvdata/testdata/IBM1155: New file.
1359 * iconvdata/testdata/IBM1155..UTF8: New file.
1360 * iconvdata/testdata/IBM1156: New file.
1361 * iconvdata/testdata/IBM1156..UTF8: New file.
1362 * iconvdata/testdata/IBM1157: New file.
1363 * iconvdata/testdata/IBM1157..UTF8: New file.
1364 * iconvdata/testdata/IBM1158: New file.
1365 * iconvdata/testdata/IBM1158..UTF8: New file.
1366 Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
1368 2005-02-10 Paolo Bonzini <bonzini@gnu.org>
1370 * posix/regcomp.c (lower_subexp): Do not optimize empty
1371 subexpressions even with REG_NOSUB.
1372 * posix/rxspencer/tests: Add a previously failing testcase.
1374 2005-02-21 Alan Modra <amodra@bigpond.net.au>
1377 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
1378 array index is within bounds.
1380 2005-02-21 Ulrich Drepper <drepper@redhat.com>
1383 * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
1385 * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
1386 * elf/Makefile: Remove rules to build and run tst-tls9-static.
1389 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
1390 THREAD_DTV multiple times, this minimally reduces code size on
1393 2005-02-21 Jakub Jelinek <jakub@redhat.com>
1396 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
1397 NETDB_INTERNAL if buffer is too small.
1400 * nscd/hstcache.c (INCR): Remove.
1401 (addhstbyX): Double buflen in each iteration rather than add INCR.
1402 * nscd/grpcache.c: Likewise.
1403 * nscd/pwdcache.c: Likewise.
1405 2005-02-21 Ulrich Drepper <drepper@redhat.com>
1407 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
1409 * debug/chk_fail.c: Request backtrace and memory map dump.
1411 * Versions.def: Add GLIBC_2.4 for libc.
1412 * debug/fgets_chk.c: New file.
1413 * debug/fgets_u_chk.c: New file.
1414 * debug/getcwd_chk.c: New file.
1415 * debug/getwd_chk.c: New file.
1416 * debug/readlink_chk.c: New file.
1417 * debug/read_chk.c: New file.
1418 * debug/pread_chk.c: New file.
1419 * debug/pread64_chk.c: New file.
1420 * debug/recv_chk.c: New file.
1421 * debug/recvfrom_chk.c: New file.
1422 * debug/Versions: Add all new functions with version GLIBC_2.4.
1423 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
1424 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
1425 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
1426 * debug/tst-chk1.c: Add more tests.
1427 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
1428 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
1429 * posix/unistd.h: Include <bits/unistd.h> for fortification.
1430 * posix/bits/unistd.h: New file.
1431 * posix/Makefile (headers): Add bits/unistd.h.
1432 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
1433 * socket/bits/socket2.h: New file.
1434 * socket/Makefile (headers): Add bits/socket2.h.
1436 * string/bits/string3.h: Extend memset macro to check for zero 3rd
1437 parameter and use __memset_zero_constant_len_parameter in that case.
1438 * sysdeps/generic/memset_chk.c: Add
1439 __memset_zero_constant_len_parameter alias and linker warning.
1440 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
1441 with version GLIBC_2.4.
1443 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
1444 in __STD_TYPE definition.
1446 2005-02-21 Jakub Jelinek <jakub@redhat.com>
1448 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
1449 the error message rather than program name.
1451 2005-02-21 Ulrich Drepper <drepper@redhat.com>
1454 * posix/unistd.h: symlink and readlink are unconditionally
1455 available in the 2001 spec.
1457 2005-02-16 Roland McGrath <roland@redhat.com>
1459 * intl/dcigettext.c (_nl_find_msg): Add a cast.
1461 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
1462 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
1463 * nis/nis_clone_res.c (nis_clone_result): Likewise.
1465 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
1466 for END_OF_MESSAGE and CP.
1468 * resolv/res_send.c (send_dg): Add else branch for case impossible
1469 unless `poll' is buggy.
1471 * crypt/crypt_util.c (__setkey_r): Add a cast.
1473 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
1474 NBYTES, and unsigned char * for BYTES.
1476 * locale/programs/charmap.c (charmap_new_char): Use size_t and
1477 unsighed char * for NBYTES, BYTES parameters.
1479 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
1481 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
1483 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
1485 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
1487 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
1488 (authdes_marshal): Don't use unsigned int for LEN.
1489 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
1490 (xdr_u_hyper): Likewise.
1491 (xdr_u_short): Don't use u_long for L.
1492 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
1494 * inet/rexec.c (rexec_af): Use socklen_t.
1495 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
1496 * sunrpc/rtime.c (rtime): Likewise.
1497 * resolv/res_send.c (send_vc, send_dg): Likewise.
1498 * nis/nis_callback.c (__nis_create_callback): Likewise.
1500 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
1502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
1504 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
1506 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
1507 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
1508 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
1509 * intl/bindtextdom.c (INTUSE): Macro removed.
1510 (_nl_default_dirname): Use libc_hidden_proto.
1511 (set_binding_values): Don't use INTUSE.
1512 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
1513 (_libc_intl_domainname): Use libc_hidden_proto.
1514 * posix/regex_internal.h (gettext): Remove INTUSE on it.
1515 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
1517 * include/libintl.h (_): Don't use *_internal name.
1519 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
1521 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
1523 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
1526 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
1528 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
1529 * sysdeps/powerpc/powerpc32/dl-machine.h
1530 (elf_machine_rel, elf_machine_rel_relative): Removed.
1531 * sysdeps/powerpc/powerpc64/dl-machine.h
1532 (elf_machine_rel, elf_machine_rel_relative): Removed.
1534 2005-02-03 Alexandre Oliva <aoliva@redhat.com>
1537 * elf/dynamic-link.h: Don't declare nested auto functions that are
1538 not going to be defined.
1540 2004-07-23 Jakub Jelinek <jakub@redhat.com>
1543 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
1544 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
1546 2005-02-16 Roland McGrath <roland@redhat.com>
1548 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
1549 inside [! SHARED] where it's used.
1551 2005-02-15 Ulrich Drepper <drepper@redhat.com>
1553 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
1554 functions and macros is unsigned.
1556 2005-02-11 Barry deFrese <bddebian@comcast.net>
1559 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
1560 * sysdeps/mach/hurd/setresuid.c: Likewise.
1562 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
1564 * misc/sys/syslog.h: Fix typo in comment.
1566 2005-02-14 Roland McGrath <roland@redhat.com>
1569 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
1570 if it wasn't originally.
1572 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
1574 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
1576 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1577 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1579 2005-02-11 Jakub Jelinek <jakub@redhat.com>
1581 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
1584 2005-02-14 Alan Modra <amodra@bigpond.net.au>
1586 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
1587 with auto inline, and attribute always_inline.
1588 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1589 (elf_machine_rel, elf_machine_rel_relative): Likewise.
1590 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1591 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1592 (elf_machine_rel, elf_machine_rel_relative): Likewise.
1593 (elf_machine_tprel): Likewise.
1595 2005-02-14 Andreas Schwab <schwab@suse.de>
1597 * manual/filesys.texi (Random Access Directory): Fix type of file
1598 position value for telldir and seekdir.
1599 (Attribute Meanings): Fix typo.
1601 2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
1603 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
1605 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
1606 if SHARED isn't defined.
1607 * elf/Makefile (tests-static): Add tst-array1-static.
1608 ($(objpfx)tst-array1-static.out): New target.
1609 * elf/tst-array1-static.c: New file.
1611 2005-02-11 Jakub Jelinek <jakub@redhat.com>
1613 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
1614 __libc_message to kill GCC warning about noreturn function returning.
1616 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
1617 before relocating ld.so again.
1619 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
1620 for already prelinked ld.so.
1622 2005-02-11 Roland McGrath <roland@redhat.com>
1625 * Makefile (installed-stubs): New variable.
1626 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
1627 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
1628 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
1629 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
1631 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
1632 * include/stubs-biarch.h: New file.
1634 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
1636 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
1637 Emit defn for variable `biarch'.
1639 * include/stub-tag.h: Update comment.
1641 * scripts/soversions.awk: Fix default version set handling.
1643 2005-02-10 Roland McGrath <roland@redhat.com>
1646 * include/libc-symbols.h (stub_warning): Emit a marker section called
1647 .gnu.glibc-stub.NAME.
1648 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
1649 Use objdump to collect those marker section names.
1650 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
1652 * Rules (subdir_objs, subdir_stubs): New phony targets.
1653 * Makefile (+subdir_targets): Add them.
1655 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
1658 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
1659 Reported by H.J. Lu <hongjiu.lu@intel.com>.
1661 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
1664 2005-02-10 Jakub Jelinek <jakub@redhat.com>
1666 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
1667 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
1668 * sysdeps/powerpc/bits/link.h: ... here. New file.
1670 2005-02-09 Jakub Jelinek <jakub@redhat.com>
1673 * stdlib/random_r.c (__initstate_r): Save old state.
1674 * stdlib/Makefile (tests): Add tst-random2.
1675 * stdlib/tst-random2.c: New test.
1676 Reported by Peter Bergner <bergner@vnet.ibm.com>.
1678 2005-01-25 H.J. Lu <hongjiu.lu@intel.com>
1680 * dlfcn/dlfcn.c (init): Put it in .init_array section.
1682 2005-02-10 Roland McGrath <roland@redhat.com>
1685 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
1687 Grok shlib-versions lines with WORDSIZE* in second column.
1688 Add new leading column to output, DEFAULT for existing output lines.
1689 Also emit lines with WORDSIZE* for alternate configurations.
1690 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
1691 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
1692 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
1693 of soversions.mk; replace inline shell script with use of ...
1694 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
1695 emit multiple sets of macros under #if.
1696 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
1697 (s390x-.*-.*): Likewise for s390.
1698 (powerpc64-.*-.*): Likewise for powerpc.
1699 (sparc64-.*-.*): Likewise for sparc.
1700 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
1701 for these mapping back to the above.
1703 2005-02-08 Jakub Jelinek <jakub@redhat.com>
1705 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
1707 2005-02-08 Andreas Schwab <schwab@suse.de>
1709 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
1712 2005-02-07 Richard Henderson <rth@redhat.com>
1714 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
1716 2005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1718 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
1721 2005-02-07 Ulrich Drepper <drepper@redhat.com>
1723 * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
1726 2005-01-07 Richard Henderson <rth@redhat.com>
1728 * math/math_private.h (__copysign): Define as builtin for gcc 4.
1729 (__copysignf, __copysignl): Likewise.
1730 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
1732 (copysignf, copysignl, fabsf, fabs): Likewise.
1733 (__copysign, __copysignf, __copysignl): Remove.
1734 (__fabs, __fabsf): Remove.
1736 2005-01-07 Jakub Jelinek <jakub@redhat.com>
1739 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
1740 avoid writing to it if none of the standard search directories exist.
1742 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1746 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
1747 Load MSR as a doubleword.
1748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1749 (__novec_swapcontext, __swapcontext): Likewise.
1751 2005-02-07 Ulrich Drepper <drepper@redhat.com>
1753 * iconv/iconv_prog.c (main): Provide more help in case on an error.
1755 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
1757 2005-02-07 Jakub Jelinek <jakub@redhat.com>
1760 * nscd/nscd.c (termination_handler): Avoid segfault if some database
1764 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
1765 __nss_not_use_nscd_hosts and return -1.
1766 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
1767 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
1768 Avoid leaking sockets.
1770 2005-01-28 Andreas Schwab <schwab@suse.de>
1771 H.J. Lu <hongjiu.lu@intel.com>
1774 * elf/dl-runtime.c (fixup): Change return type to
1775 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
1776 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
1777 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
1778 store and retrieve relocation values.
1779 (profile_fixup): Likewise.
1780 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
1782 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
1783 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
1784 (DL_FIXUP_MAKE_VALUE): Likewise.
1785 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1786 (DL_FIXUP_VALUE_ADDR): Likewise.
1787 (DL_FIXUP_ADDR_VALUE): Likewise.
1788 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
1789 (DL_FIXUP_VALUE_TYPE): New.
1790 (DL_FIXUP_MAKE_VALUE): Likewise.
1791 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1792 (DL_FIXUP_VALUE_ADDR): Likewise.
1793 (DL_FIXUP_ADDR_VALUE): Likewise.
1794 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
1795 (elf_machine_profile_plt): Removed.
1796 (elf_machine_fixup_plt): Change return type and type of value
1797 parameter to struct fdesc.
1798 (elf_machine_plt_value): Likewise.
1799 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
1800 argument for elf_machine_fixup_plt.
1802 2005-02-07 Jakub Jelinek <jakub@redhat.com>
1805 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
1806 after the status string printed by killproc.
1808 2004-11-18 Alexandre Oliva <aoliva@redhat.com>
1810 * manual/.cvsignore: Add dir-add.texi.
1812 2005-02-06 Richard Henderson <rth@redhat.com>
1814 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
1817 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
1819 * configure.in (sysnames): Append sysdeps/generic for each add-on.
1820 * configure: Regenerated.
1822 2005-02-02 Alfred M. Szmidt <ams@gnu.org>
1824 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
1825 (dtv_t): Change pointer type to be a struct which also contains
1826 information whether the memory pointed to is static TLS or not.
1828 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
1830 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
1831 (FALSEP): ... this. Updated all references.
1834 * libio/fmemopen.c: Include <stdint.h>.
1836 2005-01-30 Ulrich Drepper <drepper@redhat.com>
1838 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
1839 * nscd/connections.c (send_ro_fd): Likewise.
1841 2005-01-28 H.J. Lu <hongjiu.lu@intel.com>
1843 * elf/tst-auditmod1.c: Add ia64 entries.
1844 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
1845 (La_ia64_retval): New.
1846 (audit_ifaces): Add ia64 entries.
1847 * sysdeps/ia64/bits/link.h: New file.
1848 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
1849 for dl_profile non-null.
1850 (ARCH_LA_PLTENTER): New.
1851 (ARCH_LA_PLTEXIT): New.
1852 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
1853 only 2 output registers. Allocate stack to save/restore
1854 8 incoming fp registers. Call _dl_fixup instead of fixup.
1855 (_dl_runtime_profile): Rewrite.
1857 2005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1859 * sysdeps/s390/bits/link.h: New file.
1860 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
1861 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
1862 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
1863 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
1865 (elf_machine_runtime_setup): Test for dl_profile non-null.
1866 (elf_machine_rela): Remove code using RESOLVE.
1867 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1868 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1869 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
1870 La_s390_64_regs, La_s390_64_retval): New.
1871 * elf/tst-auditmod1.c: Add s390 entries.
1874 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
1875 strncat, memchr, strcmp): Add missing memory clobber.
1877 2005-01-27 Ulrich Drepper <drepper@redhat.com>
1879 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
1880 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
1882 2005-01-27 Paolo Bonzini <bonzini@gnu.org>
1885 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
1886 Initialize the node sets in dfa->inveclosures.
1887 (analyze): Initialize inveclosures only if it is needed.
1888 Check errors from calc_inveclosure.
1889 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
1890 the inveclosure node set.
1891 * posix/regexec.c (re_search_internal): If nmatch includes unused
1892 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
1894 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
1895 Do build a SIMPLE_BRACKET token.
1897 * posix/regexec.c (transit_state_mb): Do not examine nodes
1898 where ACCEPT_MB is not set.
1900 2005-01-27 Jakub Jelinek <jakub@redhat.com>
1902 * stdlib/tst-fmtmsg.c: Include stdlib.h.
1903 * stdio-common/tst-fmemopen2.c: Include string.h.
1904 * posix/execvp.c: Include stdbool.h.
1906 2004-12-13 Paolo Bonzini <bonzini@gnu.org>
1908 Separate parsing and creation of the NFA. Avoided recursion on
1909 the (very unbalanced) parse tree.
1911 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
1912 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
1913 (optimize_subexps, duplicate_tree, calc_first, calc_next,
1914 mark_opt_subexp): Rewritten.
1915 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
1916 create_token_tree, free_tree, free_token): New.
1917 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
1918 postorder generic visitors. Do not initialize the fields in the
1919 re_dfa_t that represent the transitions.
1920 (free_dfa_content): Use free_token.
1921 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
1922 include optimization of subexpressions.
1923 (create_initial_state): Fetch the DFA node index from the first node's
1925 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
1926 Return on COMPLEX_BRACKET.
1927 (duplicate_node_closure): Fix comment.
1928 (duplicate_node): Do not initialize the fields in the
1929 re_dfa_t that represent the transitions.
1930 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
1931 (create_tree): Remove final argument. All callers adjusted. Rewritten
1932 to use create_token_tree.
1933 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
1934 build_charclass_op): Use create_tree or create_token_tree instead
1935 of re_dfa_add_tree_node.
1936 (parse_dup_op): Likewise. Also free the tree using free_tree for
1937 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
1938 to "a|". Adjust invocation of mark_opt_subexp.
1939 (parse_sub_exp): Create a single SUBEXP node.
1940 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
1941 always perform as if it was 1. Do not initialize OPT_SUBEXP and
1942 DUPLICATED, and initialize the DFA fields representing the transitions.
1943 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
1944 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
1945 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
1946 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
1947 NEXT into pointers to trees. Remove ECLOSURE.
1949 2004-12-28 Paolo Bonzini <bonzini@gnu.org >
1952 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
1953 that were already created.
1954 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
1955 in the token if needed.
1956 (create_ci_newstate, create_cd_newstate): Set accept_mb field
1957 from the tokens' field.
1958 * posix/regex_internal.h (re_token_t): Add accept_mb field.
1959 (ACCEPT_MB_NODE): Removed.
1960 * posix/regexec.c (proceed_next_node, transit_states_mb,
1961 build_sifted_states, check_arrival_add_next_nodes): Use
1962 accept_mb instead of ACCEPT_MB_NODE.
1964 2005-01-26 Ulrich Drepper <drepper@redhat.com>
1966 * debug/chk_fail.c (__chk_fail): Print program name in final message.
1968 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
1969 MSG_NOSIGNAL being in 2.2 kernels.
1971 2005-01-26 Jakub Jelinek <jakub@redhat.com>
1973 * sysdeps/unix/sysv/linux/i386/sysdep.h
1974 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
1977 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
1978 (WORD_DELIM_CONSTRAINT): ...this.
1979 (NOT_WORD_DELIM_CONSTRAINT): Define.
1980 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
1981 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
1982 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
1983 anchor instead of INSIDE_WORD.
1984 (parse_expression): Handle NOT_WORD_DELIM constraint.
1985 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
1986 being inside word instead of not word delim.
1987 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
1989 * posix/rxspencer/tests: Add some new tests.
1991 2005-01-14 GOTO Masanori <gotom@debian.or.jp>
1993 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
1994 irrespective of Cflag.
1996 * manual/memory.texi (sbrk): Fix definition.
1997 * manual/string.texi (strcasestr): Fix example typo.
1999 2005-01-25 Roland McGrath <roland@redhat.com>
2001 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
2003 2005-01-23 Roland McGrath <roland@redhat.com>
2006 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
2007 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
2008 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
2009 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
2010 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
2011 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
2013 2005-01-25 Jakub Jelinek <jakub@redhat.com>
2016 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
2017 (free_mem): Don't free string.
2018 * stdlib/tst-fmtmsg.c: Include string.h.
2019 (main): Add some more tests.
2021 2005-01-25 Andreas Schwab <schwab@suse.de>
2024 * timezone/asia: Update from tzdata2005c.
2025 * timezone/backward: Likewise.
2026 * timezone/europe: Likewise.
2027 * timezone/leapseconds: Likewise.
2028 * timezone/northamerica: Likewise.
2029 * timezone/southamerica: Likewise.
2032 * timezone/private.h: Update from tzcode2005c.
2033 * timezone/tzfile.h: Likewise.
2034 * timezone/zdump.c: Likewise.
2035 * timezone/zic.c: Likewise.
2037 2005-01-25 Ulrich Drepper <drepper@redhat.com>
2039 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
2041 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
2043 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
2045 2005-01-25 Alan Modra <amodra@bigpond.net.au>
2047 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
2048 sym_map, not sym, against zero.
2050 2005-01-24 Ulrich Drepper <drepper@redhat.com>
2053 * misc/syslog.c: Moved to...
2054 * sysdeps/generic/syslog.c: ...here.
2055 [NO_SIGIPE]: Don't install SIGPIPE handler.
2056 * sysdeps/unix/sysv/linux/syslog.c: New file.
2057 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2058 __ASSUME_MSG_NOSIGNAL.
2060 2005-01-22 Richard Henderson <rth@redhat.com>
2062 * sysdeps/alpha/dl-trampoline.S: New file.
2063 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
2064 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
2065 (elf_machine_runtime_setup): Test for dl_profile non-null.
2066 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
2067 * sysdeps/alpha/bits/link.h: New file.
2068 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
2069 (struct audit_ifaces): Add alpha entries.
2070 * elf/tst-auditmod1.c: Add alpha entries.
2072 2005-01-22 Ulrich Drepper <drepper@redhat.com>
2074 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
2075 * sysdeps/ia64/dl-trampoline.S: New file.
2077 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
2078 La_x86_64_xmm definition.
2080 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
2082 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
2083 CFLAGS-system.c for frame pointer option.
2085 2005-01-21 Roland McGrath <roland@redhat.com>
2087 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
2088 * sysdeps/i386/dl-machine.h: Update decl.
2090 2005-01-21 Jakub Jelinek <jakub@redhat.com>
2093 * elf/Makefile: Add rules to build and run tst-align2.
2094 * elf/tst-align2.c: New test.
2095 * elf/tst-alignmod2.c: New file.
2096 * sysdeps/powerpc/tst-stack-align.h: New file.
2097 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
2098 pointer before calling _dl_init.
2099 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2101 2005-01-20 Ulrich Drepper <drepper@redhat.com>
2103 * posix/execl.c: Do not allocate potentially large buffers on the
2105 * posix/execle.c: Likewise.
2106 * posix/execlp.c: Likewise.
2107 * posix/execvp.c: Likewise.
2108 (script_execute): Removed.
2109 (allocate_scripts_argv): New function. Called at most once to
2110 allocate memory, not every time a script is run. Adjust caller.
2112 * sysdeps/generic/wordexp.c (exec_comm): Add a few
2113 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
2115 (exec_comm_child): Can now be inlined.
2117 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
2118 * stdlib/Makefile: Likewise.
2120 2005-01-19 Roland McGrath <roland@redhat.com>
2123 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
2125 Reported by Marcus Meissner <meissner@suse.de>.
2127 2005-01-19 Jakub Jelinek <jakub@redhat.com>
2129 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
2131 * iconv/strtab.c (strtabfinalize): Likewise.
2133 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
2135 2005-01-17 Roland McGrath <roland@redhat.com>
2138 * nscd/Makefile (LDLIBS-nscd): New variable.
2139 ($(objpfx)nscd): Use that instead of selinux-LIBS.
2141 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
2142 (link-extra-libs-static): Define to $(link-extra-libs).
2143 (link-extra-libs-bounded): Likewise.
2145 2005-01-17 Ulrich Drepper <drepper@redhat.com>
2147 * include/link.h: Remove stray definition of pltenter.
2149 2005-01-16 GOTO Masanori <gotom@debian.or.jp>
2152 * sysdeps/unix/rewinddir.c: Reset filepos.
2153 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
2155 2005-01-15 Ulrich Drepper <drepper@redhat.com>
2157 * elf/tst-auditmod1.c: Reduce duplication.
2159 2005-01-16 Andreas Schwab <schwab@suse.de>
2161 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
2162 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2163 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
2164 GLRO(dl_profile) != NULL.
2165 * sysdeps/m68k/dl-trampoline.S: New file.
2166 * sysdeps/m68k/bits/link.h: New file.
2167 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
2169 * elf/tst-auditmod1.c: Add m68k support.
2171 2005-01-14 Ulrich Drepper <drepper@redhat.com>
2173 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
2174 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
2177 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
2178 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
2180 2005-01-12 Ulrich Drepper <drepper@redhat.com>
2182 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
2183 callers from libc anymore.
2185 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
2186 to _dl_map_object_deps.
2187 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
2188 protections when loading auditing modules.
2190 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
2192 * posix/getconf.c: Update copyright year.
2193 * nss/getent.c: Likewise.
2194 * nscd/nscd_nischeck.c: Likewise.
2195 * iconv/iconvconfig.c: Likewise.
2196 * iconv/iconv_prog.c: Likewise.
2197 * elf/ldconfig.c: Likewise.
2198 * catgets/gencat.c: Likewise.
2199 * csu/version.c: Likewise.
2200 * elf/ldd.bash.in: Likewise.
2201 * elf/sprof.c (print_version): Likewise.
2202 * locale/programs/locale.c: Likewise.
2203 * locale/programs/localedef.c: Likewise.
2204 * nscd/nscd.c (print_version): Likewise.
2205 * debug/xtrace.sh: Likewise.
2206 * malloc/memusage.sh: Likewise.
2207 * malloc/mtrace.pl: Likewise.
2208 * debug/catchsegv.sh: Likewise.
2210 2005-01-11 Thorsten Kukuk <kukuk@suse.de>
2213 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
2215 * sunrpc/svc_unix.c (svcunix_create): Likewise.
2217 * grp/putgrent.c (putgrent): Don't write 0 as group
2218 ID if groupname starts with + or -.
2219 * pwd/putpwent.c (putpwent): Don't write 0 as user or
2220 group ID if user name starts with + or -.
2222 2005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2224 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
2225 * sysdeps/elf/tst-auditmod1.c: Add sh support.
2226 * sysdeps/sh/bits/link.h: New.
2227 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
2228 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
2229 (RTLD_START): Define __fpscr_values.
2230 * sysdeps/sh/dl-trampoline.S: New file.
2231 * sysdeps/sh/sh4/dl-trampoline.S: New file.
2232 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
2233 * sysdeps/sh/sh4/dl-machine.h: Remove.
2235 2005-01-10 Jakub Jelinek <jakub@redhat.com>
2238 * time/tst-strptime.c (day_tests): Add 2 new tests.
2239 (test_tm, main): Issue an error instead of segfaulting if
2240 strptime returns NULL.
2242 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
2244 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
2245 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
2247 2005-01-11 Ulrich Drepper <drepper@redhat.com>
2249 * malloc/malloc.h: Remove no-glibc support.
2251 2005-01-12 GOTO Masanori <gotom@debian.or.jp>
2254 * malloc/malloc.h: Always include features.h.
2256 2005-01-10 Roland McGrath <roland@redhat.com>
2258 * sysdeps/ia64/fpu/e_logl.c: File removed.
2260 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
2262 2005-01-10 Ulrich Drepper <drepper@redhat.com>
2264 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
2265 recognition of last entry.
2267 2005-01-09 Ulrich Drepper <drepper@redhat.com>
2269 * elf/dl-runtime.c: Include <sys/param.h>.
2271 * elf/Makefile (headers): Add bits/link.h.
2273 2005-01-09 Andreas Schwab <schwab@suse.de>
2275 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
2277 2005-01-09 Andreas Jaeger <aj@suse.de>
2280 * time/strptime_l.c (__strptime_internal): Add braces to avoid
2283 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
2285 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
2287 2005-01-08 Jakub Jelinek <jakub@redhat.com>
2289 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
2291 2005-01-09 Ulrich Drepper <drepper@redhat.com>
2293 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
2294 those of all the regular objects.
2296 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
2297 use it to select the r_debug structure for that namespace.
2298 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
2299 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2300 * elf/dl-open.c (_dl_open): Likewise.
2301 * elf/rtld.c (dl_main): Likewise.
2302 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
2304 (_dl_debug_initialize): Add new parameter in declaration.
2306 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
2307 called for the auditing objects themselves.
2308 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2310 2005-01-07 Ulrich Drepper <drepper@redhat.com>
2312 * sysdeps/powerpc/powerpc64/dl-machine.h
2313 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
2314 GLRO(dl_profile) != NULL.
2315 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
2317 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
2318 Extend _dl_prof_resolve to add pass extra parameters to
2319 _dl_profile_fixup and set up structure with register content.
2321 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
2322 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
2323 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
2324 Extend _dl_prof_resolve to add pass extra parameters to
2325 _dl_profile_fixup and set up structure with register content.
2326 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
2327 the register and result structures.
2328 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
2329 in the 32-bit register and result structures.
2331 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
2333 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
2334 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
2335 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2336 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
2337 * elf/tst-auditmod1.c: Add ppc32 support.
2338 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
2339 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
2341 * malloc/malloc.c (malloc_printerr): Print program name as part of
2344 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
2345 * stdlib/stdlib.h: Make realloc with
2346 __attribute_warn_unused_result__ instead of __wur.
2347 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
2348 markers as in <stdlib.h>.
2350 * libio/stdio.h: Remove __wur from rename and remove.
2351 * posix/unistd.h: Remove __wur from dup2.
2353 2005-01-03 Andreas Jaeger <aj@suse.de>
2355 * elf/Makefile (tests): Revert patch from 2005-01-03.
2357 2005-01-07 Ulrich Drepper <drepper@redhat.com>
2359 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
2360 make __libc_init_first hidden.
2362 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
2363 l_relocated of rtld map.
2364 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
2365 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
2366 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2367 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
2368 * elf/tst-auditmod1.c: Add ppc64 support.
2369 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
2371 2005-01-06 Roland McGrath <roland@redhat.com>
2374 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
2375 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
2377 2005-01-06 Ulrich Drepper <drepper@redhat.com>
2379 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
2380 * sysdeps/generic/libc-start.c: Don't register program destructor here.
2382 * dlfcn/Makefile: Add rules to build dlfcn.c.
2383 (LDFLAGS-dl.so): Removed.
2384 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
2386 * dlfcn/dlmopen.c: Likewise for _dl_open.
2387 * dlfcn/dlopen.c: Likewise.
2388 * dlfcn/dlopenold.c: Likewise.
2389 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
2390 * elf/Makefile (routines): Remove dl-open and dl-close.
2391 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
2392 Add rules to build and run tst-audit1.
2393 * elf/tst-audit1.c: New file.
2394 * elf/tst-auditmod1.c: New file.
2395 * elf/Versions [libc]: Remove _dl_open and _dl_close.
2396 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
2397 * elf/dl-open.c: Likewise.
2398 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
2399 signaled by nonzero parameter.
2400 * elf/dl-init.c: Fix use of r_state.
2401 * elf/dl-load.c: Likewise.
2403 * elf/dl-close.c: Add auditing checkpoints.
2404 * elf/dl-open.c: Likewise.
2405 * elf/dl-fini.c: Likewise.
2406 * elf/dl-load.c: Likewise.
2407 * elf/dl-sym.c: Likewise.
2408 * sysdeps/generic/libc-start.c: Likewise.
2409 * elf/dl-object.c: Allocate memory for auditing information.
2410 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
2411 Correctly initialize slotinfo.
2412 * elf/dynamic-link.h: Adjust after removal of RESOLV.
2413 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
2414 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
2415 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
2416 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
2417 (_dl_profile_fixup): New parameters to point to register struct and
2418 variable for frame size.
2419 Add auditing checkpoints.
2420 (_dl_call_pltexit): New function.
2421 Don't define trampoline code here.
2422 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
2423 Remove all the functions from _rtld_global_ro which only _dl_open
2424 and _dl_close needed.
2425 Add auditing checkpoints.
2426 * elf/link.h: Define symbols for auditing interfaces.
2427 * include/link.h: Likewise.
2428 * include/dlfcn.h: Define __RTLD_AUDIT.
2429 Remove prototypes for _dl_open and _dl_close.
2430 Adjust access to argc and argv in libdl.
2431 * dlfcn/dlfcn.c: New file.
2432 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
2434 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
2435 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
2436 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
2437 Adjust for removal of RESOLVE.
2438 * sysdeps/x86_64/dl-machine.h: Likewise.
2439 * sysdeps/generic/dl-trampoline.c: New file.
2440 * sysdeps/i386/dl-trampoline.c: New file.
2441 * sysdeps/x86_64/dl-trampoline.c: New file.
2443 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
2444 Fix updating of DTV.
2445 * sysdeps/generic/libc-tls.c: Likewise.
2447 * sysdeps/arm/bits/link.h: Renamed to ...
2448 * sysdeps/arm/bits/linkmap.h: ...this.
2449 * sysdeps/generic/bits/link.h: Renamed to...
2450 * sysdeps/generic/bits/linkmap.h: ...this.
2451 * sysdeps/hppa/bits/link.h: Renamed to...
2452 * sysdeps/hppa/bits/linkmap.h: ...this.
2453 * sysdeps/i386/bits/link.h: Renamed to...
2454 * sysdeps/i386/bits/linkmap.h: ...this.
2455 * sysdeps/ia64/bits/link.h: Renamed to...
2456 * sysdeps/ia64/bits/linkmap.h: ...this.
2457 * sysdeps/s390/bits/link.h: Renamed to...
2458 * sysdeps/s390/bits/linkmap.h: ...this.
2459 * sysdeps/sh/bits/link.h: Renamed to...
2460 * sysdeps/sh/bits/linkmap.h: ...this.
2461 * sysdeps/x86_64/bits/link.h: Renamed to...
2462 * sysdeps/x86_64/bits/linkmap.h: ...this.
2464 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
2466 2004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
2469 * math/libm-test.inc (rint_test_tonearest): New test.
2470 (rint_test_towardzero): New test.
2471 (rint_test_downward): New test.
2472 (rint_test_upward): New test.
2473 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
2474 Remove redundant const values.
2475 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
2476 Remove redundant const values. Use float const.
2477 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
2478 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
2480 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
2481 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
2483 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
2484 Remove redundant const values.
2485 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
2486 Remove redundant const values. Use float const.
2487 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
2488 Remove redundant const values.
2489 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
2490 Remove redundant const values. Use float const.
2491 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
2492 alignment. Fix -0.0 case. Remove redundant const values.
2493 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
2494 alignment. Fix -0.0 case. Remove redundant const values.
2496 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
2497 alignment. Fix -0.0 case.
2498 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
2499 alignment. Fix -0.0 case. Use float const.
2500 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
2501 alignment. Fix -0.0 case.
2502 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
2503 alignment. Fix -0.0 case. Use float const.
2504 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
2505 alignment. Fix -0.0 case. Remove redundant const values.
2506 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
2507 alignment. Fix -0.0 case. Remove redundant const values.
2509 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
2510 alignment. Fix -0.0 case.
2511 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
2512 alignment. Fix -0.0 case. Remove redundant const values.
2515 2005-01-06 Ulrich Drepper <drepper@redhat.com>
2517 * misc/sys/cdefs.h: Define __wur.
2518 * libio/stdio.h: Use __wur for a number of interfaces.
2519 * posix/unistd.h: Likewise.
2520 * stdlib/stdlib.h: Likewise.
2522 2004-12-29 Jakub Jelinek <jakub@redhat.com>
2525 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
2526 libc_hidden_proto instead of HIDDEN_PROTO.
2527 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
2528 (__libm_error_support): If ASSEMBLER and in libc, define to
2529 HIDDEN_JUMPTARGET(__libm_error_support).
2531 2004-12-28 David Mosberger <davidm@hpl.hp.com>
2534 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
2535 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
2536 with $(duplicated-routines).
2537 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
2540 2004-12-27 David Mosberger <davidm@hpl.hp.com>
2543 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
2544 undefine "ret" macro. Add __libm_error_support hidden definitions.
2547 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
2548 missing portion of copyright statement.
2549 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
2550 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
2553 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
2554 missing portion of copyright statement.
2555 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
2556 (__ieee754_gamma): Likewise.
2557 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2558 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2560 2004-12-09 H.J. Lu <hjl@lucon.org>
2563 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
2564 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
2565 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
2566 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
2567 * sysdeps/ia64/fpu/e_expl.S: Likewise.
2568 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
2570 2004-11-18 David Mosberger <davidm@hpl.hp.com>
2573 * sysdeps/ia64/fpu/README: New file.
2574 * sysdeps/ia64/fpu/gen_import_file_list: New file.
2575 * sysdeps/ia64/fpu/import_check: Likewise.
2576 * sysdeps/ia64/fpu/import_diffs: Likewise.
2577 * sysdeps/ia64/fpu/import_file.awk: Likewise.
2578 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
2579 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2582 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
2583 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
2584 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
2585 * sysdeps/ia64/fpu/e_asin.S: Likewise.
2586 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
2587 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
2588 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
2589 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
2590 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
2591 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
2592 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
2593 * sysdeps/ia64/fpu/e_exp.S: Likewise.
2594 * sysdeps/ia64/fpu/e_expf.S: Likewise.
2595 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
2596 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
2597 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
2598 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
2599 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
2600 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
2601 * sysdeps/ia64/fpu/e_log.S: Likewise.
2602 * sysdeps/ia64/fpu/e_log2.S: Likewise.
2603 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
2604 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
2605 * sysdeps/ia64/fpu/e_logf.S: Likewise.
2606 * sysdeps/ia64/fpu/e_pow.S: Likewise.
2607 * sysdeps/ia64/fpu/e_powf.S: Likewise.
2608 * sysdeps/ia64/fpu/e_powl.S: Likewise.
2609 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
2610 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
2611 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
2612 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
2613 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
2614 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
2615 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
2616 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
2617 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
2618 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
2619 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
2620 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
2621 * sysdeps/ia64/fpu/libm_error.c: Likewise.
2622 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
2623 * sysdeps/ia64/fpu/libm_support.h: Likewise.
2624 * sysdeps/ia64/fpu/s_atan.S: Likewise.
2625 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
2626 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
2627 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
2628 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
2629 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
2630 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
2631 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
2632 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
2633 * sysdeps/ia64/fpu/s_cos.S: Likewise.
2634 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
2635 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2636 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
2637 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
2638 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
2639 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
2640 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
2641 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
2642 * sysdeps/ia64/fpu/s_floor.S: Likewise.
2643 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
2644 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
2645 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
2646 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
2647 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
2648 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
2649 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
2650 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
2651 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
2652 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
2653 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
2654 * sysdeps/ia64/fpu/s_logb.S: Likewise.
2655 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
2656 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
2657 * sysdeps/ia64/fpu/s_modf.S: Likewise.
2658 * sysdeps/ia64/fpu/s_modff.S: Likewise.
2659 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
2660 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
2661 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
2662 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
2663 * sysdeps/ia64/fpu/s_rint.S: Likewise.
2664 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
2665 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
2666 * sysdeps/ia64/fpu/s_round.S: Likewise.
2667 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
2668 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
2669 * sysdeps/ia64/fpu/s_significand.S: Likewise.
2670 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
2671 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
2672 * sysdeps/ia64/fpu/s_tan.S: Likewise.
2673 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
2674 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
2675 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
2676 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
2677 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
2680 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
2681 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
2682 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
2683 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
2684 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
2685 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
2686 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
2687 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
2688 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
2689 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2690 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
2691 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
2692 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
2693 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
2694 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
2695 * sysdeps/ia64/fpu/e_logl.S: Likewise.
2696 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
2697 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
2698 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
2699 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
2700 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
2701 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
2702 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
2703 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
2704 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
2705 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
2706 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
2707 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
2708 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
2709 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2710 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
2711 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2712 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
2713 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
2714 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
2715 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
2716 * sysdeps/ia64/fpu/s_erf.S: Likewise.
2717 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
2718 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
2719 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
2720 * sysdeps/ia64/fpu/s_erff.S: Likewise.
2721 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
2722 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
2723 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
2724 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
2725 * sysdeps/ia64/fpu/s_fma.S: Likewise.
2726 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
2727 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
2728 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
2729 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
2730 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
2731 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
2732 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
2733 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
2734 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
2735 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
2736 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
2737 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
2738 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
2739 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
2740 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
2741 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
2742 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
2743 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
2744 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
2745 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2746 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2747 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2748 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2749 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2752 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
2753 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
2754 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
2755 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2756 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2757 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2758 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2759 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2760 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2761 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2762 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2763 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2764 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2765 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2766 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2767 * sysdeps/ia64/fpu/w_expl.c: Likewise.
2768 * sysdeps/ia64/fpu/e_expl.S: Likewise.
2769 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2770 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2771 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2772 * sysdeps/ia64/fpu/w_log2.c: Likewise.
2773 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2774 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2775 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2776 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2777 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2780 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
2781 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
2782 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
2783 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
2784 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
2785 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
2786 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
2789 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
2790 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
2791 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
2794 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
2797 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
2798 alias for use by libm_error.c
2801 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
2802 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
2803 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
2804 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
2805 libm_scalbn{,f,l}, libm_scalblnf.
2806 (sysdep_routines): Remove libm_frexp4{,f,l}.
2807 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
2808 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
2809 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
2810 -DSIZE_LONG_LONG_INT_64.
2812 2005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
2815 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
2816 l_text_end are set for a VDSO with a single PT_LOAD entry.
2818 2005-01-05 Ulrich Drepper <drepper@redhat.com>
2821 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
2822 invalid to disable optimizations in fileops which won't work here.
2823 (_IO_cookie_jumps): Use it.
2824 (_IO_old_cookie_jumps): Likewise.
2825 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
2826 not the return value.
2827 * stdio-common/Makefile (tests): Add tst-fmemopen2.
2828 * stdio-common/tst-fmemopen2.c: New file.
2830 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
2832 2005-01-05 Roland McGrath <roland@redhat.com>
2834 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
2835 * sysdeps/i386/configure.in: ... here. New file.
2837 2005-01-03 Ulrich Drepper <drepper@redhat.com>
2840 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
2841 initialize __environ again.
2842 * stdlib/Makefile: Add rules to build and run tst-putenv.
2843 * stdlib/tst-putenv.c: New file.
2844 * stdlib/tst-putenvmod.c: New file.
2846 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
2847 define unnecessary wrappers or aliases of static functions.
2849 2005-01-03 Andreas Jaeger <aj@suse.de>
2851 * csu/Makefile (generated): Add start.os and start.ob.
2853 * elf/Makefile (tests): Change rule for tst-pie1 so that make
2856 2004-12-29 Roland McGrath <roland@redhat.com>
2859 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
2860 than always up; when nearest is zero, round up to one.
2862 2004-12-28 Ulrich Drepper <drepper@redhat.com>
2864 * po/es.po: Update from translation team.
2867 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
2869 2004-12-27 Ulrich Drepper <drepper@redhat.com>
2872 * include/signal.h: Define __sigemptyset.
2874 2004-04-27 Paolo Bonzini <bonzini@gnu.org>
2876 * posix/regex_internal.h (struct re_dfastate_t): Make
2877 word_trtable a pointer to the 512-item transition table.
2878 * posix/regexec.c (build_trtable): Fill in either state->trtable
2879 or state->word_trtable. Return a boolean indicating success.
2880 (transit_state): Expect state->trtable to be a 256-item
2881 transition table. Reorganize code to have less tests in
2882 the common case, and to save an indentation level.
2883 * posix/regex_internal.c (free_state): Free word_trtable.
2885 2004-12-21 Jakub Jelinek <jakub@redhat.com>
2888 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
2889 calling fn is 16 byte aligned.
2890 * sysdeps/i386/tst-stack-align.h: New file.
2893 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2894 (ecvt_r): Special case denormals.
2895 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2896 * misc/tst-efgcvt.c: Include float.h.
2897 (ecvt_tests): Add 2 new tests.
2899 2004-12-20 Roland McGrath <roland@frob.com>
2901 * version.h (RELEASE, VERSION): development, 2.3.90
2902 * include/features.h (__GLIBC_MINOR__): Now 4.
2905 See ChangeLog.15 for earlier changes.