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