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