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