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