f073d570c48927c2ade72c05cb885062392fbc93
[platform/upstream/glibc.git] / ChangeLog
1 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
2
3         [BZ #789]
4         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
5         Remove memory clobber.
6
7         * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
8         thread-safe.  Subtract GLRO(dl_hp_timing_overhead) from Diff.
9
10 2005-03-14  Jakub Jelinek  <jakub@redhat.com>
11
12         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
13         asm/types.h.
14
15 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
16
17         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
18         MAP_NONBLOCK.
19         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20         Correct MAP_GROWSDOWN value.
21
22 2005-03-13  Roland McGrath  <roland@redhat.com>
23
24         * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
25         version if there is one.  Only #error if macros are then undefined.
26         * sysdeps/generic/tls-macros.h: New file.
27
28 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
29
30         * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
31         * sysdeps/hppa/configure: Regenerated.
32
33 2005-03-08  Roland McGrath  <roland@redhat.com>
34
35         * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
36         array types match exactly in C alias decls.
37
38 2005-03-07  Ulrich Drepper  <drepper@redhat.com>
39
40         * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
41         mallopt appropriately.
42         * malloc/malloc.h: Define M_PERTURB.
43         * malloc/malloc.c (perturb_byte): New variable.
44         (alloc_perturb, free_perturb): New macros.
45         (_int_malloc): Before returning, overwrite the memory if this is
46         requested.
47         (_int_free): Overwrite freed memory if requested.
48         (mALLOPt): Handle M_PERTURB.
49         * test-skeleton.c: Add call to mallopt with M_PERTURB command.
50
51         * elf/dl-close.c (_dl_close): Decrement l_opencount before
52         printing debug message.
53         * elf/dl-open.c (dl_open_worker): Always print the new opencount
54         in debug messages.
55
56 2005-03-06  Ulrich Drepper  <drepper@redhat.com>
57
58         * elf/dl-close.c (_dl_close): Unify debug message format.
59
60         * elf/dl-close.c (_dl_close): Print debug message just before
61         destroying a link map.
62
63         * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
64         * elf/dl-version.c (match_symbol): Likewise.
65
66         * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
67
68         * debug/recv_chk.c (__recv_chk): Always fail if request could
69         overflow the buffer.
70         * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
71         * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
72         we know the call succeeds.
73         (recvfrom): Likewise.
74
75 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
76
77         * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
78         warning.
79         * posix/regex_internal.c (re_string_reconstruct): Add cast to
80         avoid warning.
81         (build_wcs_upper_buffer): Change type of bug to plain char.
82         * locale/weightwc.h (findidx): Add casts to avoid warnings.
83         * time/mktime.c (ranged_convert): Initialize tm to make the
84         compiler happy.
85         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
86         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
87         * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
88         * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
89         * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
90         * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
91         * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
92         * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
93         * libio/iofwide.c: Add casts to avoid warnings.
94         * stdio-common/printf-prs.c (parse_printf_format): Introduce new
95         variable f to avoid warnings.
96         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
97         Fix a few casts to avoid warnings.
98         * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
99         to avoid warning.
100
101         * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
102         dynamically sized array.
103         (build_wcs_upper_buffer): Likewise.
104
105 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
106
107         * include/bits/unistd.h: New file.
108         * include/bits/socket2.h: New file.
109
110 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
111
112         * sunrpc/key_call.c: Remove doors support.
113         * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
114         * configure.in: Remove test for doors support which never existed.
115         * config.make.in: Remove have_doors entry.
116
117         * configure.in: Make sure at least gcc 3.4 is used.  Undo last change.
118         * config.make.in: Undo last change.
119
120         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
121         -mtune.
122
123 2005-03-05  Roland McGrath  <roland@redhat.com>
124
125         * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
126         (_dl_out_of_memory): Use rtld_hidden_proto.
127         * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
128         (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
129         * elf/dl-open.c (_dl_open): Likewise.
130         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
131
132         * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
133
134         * elf/dl-addr.c (_dl_addr): Add a cast.
135
136         * elf/unload3mod4.c: Declare foo.
137         * elf/testobj2.c: Include <stdio.h>.
138
139         * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
140         value constant, and use it in the defn.
141         * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
142         Use actual size for compat array decls.
143
144         * config.make.in (cc-mtune): New substituted variable.
145         * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
146         done only if libc_mtune_example is defined.
147         * sysdeps/i386/configure.in (libc_mtune_example): Set it.
148         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
149
150 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
151
152         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
153         unconditionally to (defined RTLD_BOOTSTRAP).
154         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
155
156 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
157
158         * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
159         $(inst_slibdir) in AS_NEEDED directive.
160
161 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
162
163         * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
164
165 2005-03-01  H.J. Lu  <hongjiu.lu@intel.com>
166
167         [BZ #776]
168         * iconv/iconvconfig.c: Fix comment for the output file.
169         (write_output): Clear padding in header.
170
171 2005-03-03  Ulrich Drepper  <drepper@redhat.com>
172
173         * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
174         loader is closed.  Fixes unload3.
175         * elf/tst-global1.c: New file.
176         * elf/Makefile (tests): Add tst-global1.
177         * elf/testobj2.c (p): New function.
178
179 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
180
181         * elf/Makefile: Add rules to build and run unload3 test.
182         * elf/unload3.c: New test.
183         * elf/unload3mod1.c: New file.
184         * elf/unload3mod2.c: New file.
185         * elf/unload3mod3.c: New file.
186         * elf/unload3mod4.c: New file.
187
188 2005-02-21  Alan Modra <amodra@bigpond.net.au>
189
190         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
191         use __uint128_t.
192
193 2005-03-01  Jakub Jelinek  <jakub@redhat.com>
194
195         * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
196         of __bos.
197         * socket/bits/socket2.h (recv, recvfrom): Likewise.
198
199 2005-03-01  Roland McGrath  <roland@redhat.com>
200
201         [BZ #721]
202         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
203         of [RESOLVE_MAP].
204
205 2005-03-01  Alfred M. Szmidt  <ams@gnu.org>
206
207         [BZ #777]
208         * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
209         Add missing initializer.
210
211         [BZ #777]
212         * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
213         USE_TLS && !USE___THREAD].
214
215 2005-02-26  GOTO Masanori  <gotom@debian.or.jp>
216
217         * csu/Makefile: Use printf instead of echo for some shells.
218
219 2005-02-28  Roland McGrath  <roland@redhat.com>
220
221         * debug/warning-nop.c (__nop): Rename to nop, make it static.
222         (__warndecl): Use alias attribute directly, instead of strong_alias
223         macro.  Add attribute_hidden.
224
225 2005-02-28  Ulrich Drepper  <drepper@redhat.com>
226
227         * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
228         determine the call will never trigger a failure.
229         * debug/read_chk.c (__read_chk): Always fail if the buffer is too
230         small.
231         * debug/readlink_chk.c (__readlink_chk): Likewise.
232         * debug/pread64_chk.c (__pread64_chk): Likewise.
233         * debug/pread_chk.c (__pread_chk): Likewise.
234
235         * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
236         * sysdeps/x86_64/memset_chk.S: Likewise.
237
238 2005-02-24  Roland McGrath  <roland@redhat.com>
239
240         * debug/Versions (libc: GLIBC_2.4): Remove
241         __memset_zero_constant_len_parameter.
242         * sysdeps/generic/memset_chk.c: Remove alias and warning.
243         * misc/sys/cdefs.h (__warndecl): New macro.
244         * debug/warning-nop.c: New file.
245         * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
246         arguments, instead of calling __memset_zero_constant_len_parameter.
247         Use __warndecl for __warn_memset_zero_len.
248         * debug/Makefile (routines): Add $(static-only-routines).
249         (static-only-routines): New variable.
250
251 2005-02-27  Ulrich Drepper  <drepper@redhat.com>
252
253         * po/tr.po: Update from translation team.
254
255 2005-02-26  Ulrich Drepper  <drepper@redhat.com>
256
257         * elf/dl-addr.c: Cleanups.  Move declaration next to first use.
258
259         * dlfcn/dlerror.c (check_free): New function.  Extract common code
260         from fini and free_key_mem.  Check whether this is libdl in the
261         base namespace.
262
263 2005-02-25  Ulrich Drepper  <drepper@redhat.com>
264
265         * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
266         to debug output.
267
268 2004-11-11  Richard Sandiford  <rsandifo@redhat.com>
269
270         [BZ #758]
271         * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
272         preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
273         like __NR_N32_open.  Just include <asm/unistd.h> otherwise.
274         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
275         * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
276         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
277         standard __NR prefix.
278         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
279         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
280         the output file is compatible with both pre-2.6 and 2.6 kernel headers.
281         Extract separate syscall lists for each ABI.
282
283 2005-02-23  Ulrich Drepper  <drepper@redhat.com>
284
285         * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
286
287         [BZ #719]
288         * elf/Makefile: Run tst-tls9-static again.
289
290 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
291
292         [BZ #719]
293         * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
294         slotinfo array.
295         (__libc_setup_tls): Initialize length of DTV based on array length.
296         * elf/dl-load.c: Revert last change.
297         * sysdeps/generic/dl-tls.c: Revert last change.
298
299         * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
300         tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
301         tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
302         * posix/tst-execl1.c: New file.
303         * posix/tst-execl2.c: New file.
304         * posix/tst-execle1.c: New file.
305         * posix/tst-execle2.c: New file.
306         * posix/tst-execlp1.c: New file.
307         * posix/tst-execlp2.c: New file.
308         * posix/tst-execv1.c: New file.
309         * posix/tst-execv2.c: New file.
310         * posix/tst-execve1.c: New file.
311         * posix/tst-execve2.c: New file.
312         * posix/tst-execvp1.c: New file.
313         * posix/tst-execvp2.c: New file.
314
315 2005-02-22  Roland McGrath  <roland@redhat.com>
316
317         * include/signal.h: Revert last change.
318         (__sigemptyset): Use __builtin_memset instead of memset.
319
320 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
321
322         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
323         non-cancelable I/O functions.
324
325 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
326
327         [BZ #769]
328         * nscd/nscd-client.h: Include sys/uio.h.
329         (__readall, __readvall, writeall): New prototypes.
330         * nscd/connections.c (writeall): New function.
331         (handle_request): Use it.
332         * nscd/aicache.c (addhstaiX): Likewise.
333         * nscd/initgrcache.c (addinitgroupsX): Likewise.
334         * nscd/hstcache.c (cache_addhst): Likewise.
335         * nscd/grpcache.c (cache_addgr): Likewise.
336         * nscd/pwdcache.c (cache_addpw): Likewise.
337         * nscd/nscd_helper.c (__readall, __readvall): New functions.
338         * nscd/nscd_getai.c (__nscd_getai): Use them.
339         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
340         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
341         * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
342         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
343
344 2005-02-22  Roland McGrath  <roland@redhat.com>
345
346         * include/sys/socket.h: Declare __recv.
347         * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
348         * sysdeps/mach/hurd/recv.c: Likewise.
349
350         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
351         __backtrace_* decls.
352
353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
354         (INTERNAL_SYSCALL_ERROR_P): Evalute VAL.  Parenthesize ERR.
355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
356
357         * include/signal.h: Include <string.h> for memset decl.
358
359 2005-02-22  Andreas Schwab  <schwab@suse.de>
360
361         * posix/execvp.c (execvp): Fix invalid free.
362
363 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
364
365         * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
366         * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
367         librpcsvc.a objects.
368
369 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
370
371         * iconvdata/ibm930.h: Correct Yen mapping.
372         * iconvdata/ibm939.h: Likewise.
373         * iconvdata/testdata/IBM930..UTF8: Adjust test data.
374         * iconvdata/testdata/IBM939..UTF8: Likewise.
375         Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
376
377         * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
378         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
379         (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
380         ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
381         ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
382         ibm1158.c, and ibm1158.h.
383         * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
384         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
385         * iconvdata/gconv-modules: Likewise.
386         * iconvdata/ibm1025.c: New file.
387         * iconvdata/ibm1025.h: New file.
388         * iconvdata/ibm1122.c: New file.
389         * iconvdata/ibm1122.h: New file.
390         * iconvdata/ibm1137.c: New file.
391         * iconvdata/ibm1137.h: New file.
392         * iconvdata/ibm1153.c: New file.
393         * iconvdata/ibm1153.h: New file.
394         * iconvdata/ibm1154.c: New file.
395         * iconvdata/ibm1154.h: New file.
396         * iconvdata/ibm1155.c: New file.
397         * iconvdata/ibm1155.h: New file.
398         * iconvdata/ibm1156.c: New file.
399         * iconvdata/ibm1156.h: New file.
400         * iconvdata/ibm1157.c: New file.
401         * iconvdata/ibm1157.h: New file.
402         * iconvdata/ibm1158.c: New file.
403         * iconvdata/ibm1158.h: New file.
404         * iconvdata/testdata/IBM1025: New file.
405         * iconvdata/testdata/IBM1025..UTF8: New file.
406         * iconvdata/testdata/IBM1122: New file.
407         * iconvdata/testdata/IBM1122..UTF8: New file.
408         * iconvdata/testdata/IBM1137: New file.
409         * iconvdata/testdata/IBM1137..UTF8: New file.
410         * iconvdata/testdata/IBM1153: New file.
411         * iconvdata/testdata/IBM1153..UTF8: New file.
412         * iconvdata/testdata/IBM1154: New file.
413         * iconvdata/testdata/IBM1154..UTF8: New file.
414         * iconvdata/testdata/IBM1155: New file.
415         * iconvdata/testdata/IBM1155..UTF8: New file.
416         * iconvdata/testdata/IBM1156: New file.
417         * iconvdata/testdata/IBM1156..UTF8: New file.
418         * iconvdata/testdata/IBM1157: New file.
419         * iconvdata/testdata/IBM1157..UTF8: New file.
420         * iconvdata/testdata/IBM1158: New file.
421         * iconvdata/testdata/IBM1158..UTF8: New file.
422         Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
423
424 2005-02-10  Paolo Bonzini  <bonzini@gnu.org>
425
426         * posix/regcomp.c (lower_subexp): Do not optimize empty
427         subexpressions even with REG_NOSUB.
428         * posix/rxspencer/tests: Add a previously failing testcase.
429
430 2005-02-21  Alan Modra <amodra@bigpond.net.au>
431
432         [BZ #719]
433         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
434         array index is within bounds.
435
436 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
437
438         [BZ #719]
439         * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
440         linked code.
441         * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
442         * elf/Makefile: Remove rules to build and run tst-tls9-static.
443
444         [BZ #719]
445         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
446         THREAD_DTV multiple times, this minimally reduces code size on
447         some archs.
448
449 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
450
451         [BZ #768]
452         * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
453         NETDB_INTERNAL if buffer is too small.
454
455         [BZ #768]
456         * nscd/hstcache.c (INCR): Remove.
457         (addhstbyX): Double buflen in each iteration rather than add INCR.
458         * nscd/grpcache.c: Likewise.
459         * nscd/pwdcache.c: Likewise.
460
461 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
462
463         * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
464         map if requested.
465         * debug/chk_fail.c: Request backtrace and memory map dump.
466
467         * Versions.def: Add GLIBC_2.4 for libc.
468         * debug/fgets_chk.c: New file.
469         * debug/fgets_u_chk.c: New file.
470         * debug/getcwd_chk.c: New file.
471         * debug/getwd_chk.c: New file.
472         * debug/readlink_chk.c: New file.
473         * debug/read_chk.c: New file.
474         * debug/pread_chk.c: New file.
475         * debug/pread64_chk.c: New file.
476         * debug/recv_chk.c: New file.
477         * debug/recvfrom_chk.c: New file.
478         * debug/Versions: Add all new functions with version GLIBC_2.4.
479         * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
480         pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
481         getwd_chk, and getcwd_chk.  Plus appropriate CFLAGS definitions.
482         * debug/tst-chk1.c: Add more tests.
483         * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
484         * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
485         * posix/unistd.h: Include <bits/unistd.h> for fortification.
486         * posix/bits/unistd.h: New file.
487         * posix/Makefile (headers): Add bits/unistd.h.
488         * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
489         * socket/bits/socket2.h: New file.
490         * socket/Makefile (headers): Add bits/socket2.h.
491
492         * string/bits/string3.h: Extend memset macro to check for zero 3rd
493         parameter and use __memset_zero_constant_len_parameter in that case.
494         * sysdeps/generic/memset_chk.c: Add
495         __memset_zero_constant_len_parameter alias and linker warning.
496         * debug/Versions: Add __memset_zero_constant_len_parameter to libc
497         with version GLIBC_2.4.
498
499         * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
500         in __STD_TYPE definition.
501
502 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
503
504         * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
505         the error message rather than program name.
506
507 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
508
509         [BZ #767]
510         * posix/unistd.h: symlink and readlink are unconditionally
511         available in the 2001 spec.
512
513 2005-02-16  Roland McGrath  <roland@redhat.com>
514
515         * intl/dcigettext.c (_nl_find_msg): Add a cast.
516
517         * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
518         * nis/nis_clone_obj.c (nis_clone_object): Likewise.
519         * nis/nis_clone_res.c (nis_clone_result): Likewise.
520
521         * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
522         for END_OF_MESSAGE and CP.
523
524         * resolv/res_send.c (send_dg): Add else branch for case impossible
525         unless `poll' is buggy.
526
527         * crypt/crypt_util.c (__setkey_r): Add a cast.
528
529         * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
530         NBYTES, and unsigned char * for BYTES.
531
532         * locale/programs/charmap.c (charmap_new_char): Use size_t and
533         unsighed char * for NBYTES, BYTES parameters.
534
535         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
536         and cast it.
537         * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
538
539         * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
540
541         * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
542
543         * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
544         (authdes_marshal): Don't use unsigned int for LEN.
545         * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
546         (xdr_u_hyper): Likewise.
547         (xdr_u_short): Don't use u_long for L.
548         * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
549
550         * inet/rexec.c (rexec_af): Use socklen_t.
551         * sunrpc/key_call.c (getkeyserv_handle): Likewise.
552         * sunrpc/rtime.c (rtime): Likewise.
553         * resolv/res_send.c (send_vc, send_dg): Likewise.
554         * nis/nis_callback.c (__nis_create_callback): Likewise.
555
556         * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
557
558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
559
560         * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
561
562         * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
563         (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
564         (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
565         * intl/bindtextdom.c (INTUSE): Macro removed.
566         (_nl_default_dirname): Use libc_hidden_proto.
567         (set_binding_values): Don't use INTUSE.
568         * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
569         (_libc_intl_domainname): Use libc_hidden_proto.
570         * posix/regex_internal.h (gettext): Remove INTUSE on it.
571         * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
572         rather than INTDEF.
573         * include/libintl.h (_): Don't use *_internal name.
574
575         * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
576         not uint32_t.
577         * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
578
579         * iconv/gconv_open.c (__gconv_open): Remove useless cast.
580
581         [BZ #721]
582         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
583         of [RESOLVE_MAP].
584         * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
585         * sysdeps/powerpc/powerpc32/dl-machine.h
586         (elf_machine_rel, elf_machine_rel_relative): Removed.
587         * sysdeps/powerpc/powerpc64/dl-machine.h
588         (elf_machine_rel, elf_machine_rel_relative): Removed.
589
590 2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
591
592         [BZ #721]
593         * elf/dynamic-link.h: Don't declare nested auto functions that are
594         not going to be defined.
595
596 2004-07-23  Jakub Jelinek  <jakub@redhat.com>
597
598         [BZ #284]
599         * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
600         if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
601
602 2005-02-16  Roland McGrath  <roland@redhat.com>
603
604         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
605         inside [! SHARED] where it's used.
606
607 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
608
609         * sysdeps/generic/bits/byteswap.h: Make sure result of all the
610         functions and macros is unsigned.
611
612 2005-02-11  Barry deFrese  <bddebian@comcast.net>
613
614         [BZ #722]
615         * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
616         * sysdeps/mach/hurd/setresuid.c: Likewise.
617
618 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
619
620         * misc/sys/syslog.h: Fix typo in comment.
621
622 2005-02-14  Roland McGrath  <roland@redhat.com>
623
624         [BZ #720]
625         * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
626         if it wasn't originally.
627
628 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
629
630         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
631         getpeername entry.
632         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
633         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
634
635 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
636
637         * scripts/soversions.awk: Only record first WORDSIZE{32,64}
638         matching line.
639
640 2005-02-14  Alan Modra  <amodra@bigpond.net.au>
641
642         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
643         with auto inline, and attribute always_inline.
644         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
645         (elf_machine_rel, elf_machine_rel_relative): Likewise.
646         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
647         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
648         (elf_machine_rel, elf_machine_rel_relative): Likewise.
649         (elf_machine_tprel): Likewise.
650
651 2005-02-14  Andreas Schwab  <schwab@suse.de>
652
653         * manual/filesys.texi (Random Access Directory): Fix type of file
654         position value for telldir and seekdir.
655         (Attribute Meanings): Fix typo.
656
657 2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>
658
659         * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
660         isn't defined.
661         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
662         if SHARED isn't defined.
663         * elf/Makefile (tests-static): Add tst-array1-static.
664         ($(objpfx)tst-array1-static.out): New target.
665         * elf/tst-array1-static.c: New file.
666
667 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
668
669         * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
670         __libc_message to kill GCC warning about noreturn function returning.
671
672         * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
673         before relocating ld.so again.
674
675         * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
676         for already prelinked ld.so.
677
678 2005-02-11  Roland McGrath  <roland@redhat.com>
679
680         [BZ #715]
681         * Makefile (installed-stubs): New variable.
682         Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
683         or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
684         [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
685         ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
686         rule's target.
687         ($(inst_includedir)/gnu/stubs.h): New target, install from ...
688         * include/stubs-biarch.h: New file.
689
690         * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
691
692         * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
693         Emit defn for variable `biarch'.
694
695         * include/stub-tag.h: Update comment.
696
697         * scripts/soversions.awk: Fix default version set handling.
698
699 2005-02-10  Roland McGrath  <roland@redhat.com>
700
701         [BZ #157]
702         * include/libc-symbols.h (stub_warning): Emit a marker section called
703         .gnu.glibc-stub.NAME.
704         * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
705         Use objdump to collect those marker section names.
706         ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
707
708         * Rules (subdir_objs, subdir_stubs): New phony targets.
709         * Makefile (+subdir_targets): Add them.
710
711         * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
712         soversions.i.
713
714         * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
715         Reported by H.J. Lu <hongjiu.lu@intel.com>.
716
717         * scripts/lib-names.awk: Always print WORDSIZE32 section first when
718         doing two.
719
720 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
721
722         * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
723         * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
724         * sysdeps/powerpc/bits/link.h: ... here.  New file.
725
726 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
727
728         [BZ #710]
729         * stdlib/random_r.c (__initstate_r): Save old state.
730         * stdlib/Makefile (tests): Add tst-random2.
731         * stdlib/tst-random2.c: New test.
732         Reported by Peter Bergner <bergner@vnet.ibm.com>.
733
734 2005-01-25  H.J. Lu  <hongjiu.lu@intel.com>
735
736         * dlfcn/dlfcn.c (init): Put it in .init_array section.
737
738 2005-02-10  Roland McGrath  <roland@redhat.com>
739
740         [BZ #632]
741         * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
742         from command line.
743         Grok shlib-versions lines with WORDSIZE* in second column.
744         Add new leading column to output, DEFAULT for existing output lines.
745         Also emit lines with WORDSIZE* for alternate configurations.
746         * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
747         ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
748         ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
749         of soversions.mk; replace inline shell script with use of ...
750         * scripts/lib-names.awk: New file.  If input has non-DEFAULT lines,
751         emit multiple sets of macros under #if.
752         * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
753         (s390x-.*-.*): Likewise for s390.
754         (powerpc64-.*-.*): Likewise for powerpc.
755         (sparc64-.*-.*): Likewise for sparc.
756         (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
757         for these mapping back to the above.
758
759 2005-02-08  Jakub Jelinek  <jakub@redhat.com>
760
761         * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
762
763 2005-02-08  Andreas Schwab  <schwab@suse.de>
764
765         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
766         RESOLVE.
767
768 2005-02-07  Richard Henderson  <rth@redhat.com>
769
770         * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
771
772 2005-02-08  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
773
774         * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
775         RESOLVE.
776
777 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
778
779         * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
780         set correctly.
781
782 2005-01-07  Richard Henderson  <rth@redhat.com>
783
784         * math/math_private.h (__copysign): Define as builtin for gcc 4.
785         (__copysignf, __copysignl): Likewise.
786         * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
787         for gcc 4.0.
788         (copysignf, copysignl, fabsf, fabs): Likewise.
789         (__copysign, __copysignf, __copysignl): Remove.
790         (__fabs, __fabsf): Remove.
791
792 2005-01-07  Jakub Jelinek  <jakub@redhat.com>
793
794         [BZ #738]
795         * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
796         avoid writing to it if none of the standard search directories exist.
797
798 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
799
800         [BZ #700]
801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
802         (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
803         Load MSR as a doubleword.
804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
805         (__novec_swapcontext, __swapcontext): Likewise.
806
807 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
808
809         * iconv/iconv_prog.c (main): Provide more help in case on an error.
810
811         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
812
813 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
814
815         [BZ #741]
816         * nscd/nscd.c (termination_handler): Avoid segfault if some database
817         is not enabled.
818
819         [BZ #741]
820         * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
821         __nss_not_use_nscd_hosts and return -1.
822         * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
823         initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
824         Avoid leaking sockets.
825
826 2005-01-28  Andreas Schwab  <schwab@suse.de>
827             H.J. Lu  <hongjiu.lu@intel.com>
828
829         [BZ #677]
830         * elf/dl-runtime.c (fixup): Change return type to
831         DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
832         DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
833         values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
834         store and retrieve relocation values.
835         (profile_fixup): Likewise.
836         * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
837         l_reloc_result.
838         * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
839         * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
840         (DL_FIXUP_MAKE_VALUE): Likewise.
841         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
842         (DL_FIXUP_VALUE_ADDR): Likewise.
843         (DL_FIXUP_ADDR_VALUE): Likewise.
844         * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
845         (DL_FIXUP_VALUE_TYPE): New.
846         (DL_FIXUP_MAKE_VALUE): Likewise.
847         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
848         (DL_FIXUP_VALUE_ADDR): Likewise.
849         (DL_FIXUP_ADDR_VALUE): Likewise.
850         * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
851         (elf_machine_profile_plt): Removed.
852         (elf_machine_fixup_plt): Change return type and type of value
853         parameter to struct fdesc.
854         (elf_machine_plt_value): Likewise.
855         (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
856         argument for elf_machine_fixup_plt.
857
858 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
859
860         [BZ #742]
861         * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
862         after the status string printed by killproc.
863
864 2004-11-18  Alexandre Oliva  <aoliva@redhat.com>
865
866         * manual/.cvsignore: Add dir-add.texi.
867
868 2005-02-06  Richard Henderson  <rth@redhat.com>
869
870         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
871         all the time.
872
873 2004-11-03  Marcus Brinkmann  <marcus@gnu.org>
874
875         * configure.in (sysnames): Append sysdeps/generic for each add-on.
876         * configure: Regenerated.
877
878 2005-02-02  Alfred M. Szmidt  <ams@gnu.org>
879
880         * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
881         (dtv_t): Change pointer type to be a struct which also contains
882         information whether the memory pointed to is static TLS or not.
883
884         * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
885
886         * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
887         (FALSEP): ... this.  Updated all references.
888
889         [BZ #765]
890         * libio/fmemopen.c: Include <stdint.h>.
891
892 2005-01-30  Ulrich Drepper  <drepper@redhat.com>
893
894         * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
895         * nscd/connections.c (send_ro_fd): Likewise.
896
897 2005-01-28  H.J. Lu  <hongjiu.lu@intel.com>
898
899         * elf/tst-auditmod1.c: Add ia64 entries.
900         * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
901         (La_ia64_retval): New.
902         (audit_ifaces): Add ia64 entries.
903         * sysdeps/ia64/bits/link.h: New file.
904         * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
905         for dl_profile non-null.
906         (ARCH_LA_PLTENTER): New.
907         (ARCH_LA_PLTEXIT): New.
908         * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
909         only 2 output registers. Allocate stack to save/restore
910         8 incoming fp registers. Call _dl_fixup instead of fixup.
911         (_dl_runtime_profile): Rewrite.
912
913 2005-01-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
914
915         * sysdeps/s390/bits/link.h: New file.
916         * sysdeps/s390/s390-32/dl-trampoline.S: New file.
917         * sysdeps/s390/s390-64/dl-trampoline.S: New file.
918         * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
919         dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
920         relocation code.
921         (elf_machine_runtime_setup): Test for dl_profile non-null.
922         (elf_machine_rela): Remove code using RESOLVE.
923         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
924         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
925         * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
926         La_s390_64_regs, La_s390_64_retval): New.
927         * elf/tst-auditmod1.c: Add s390 entries.
928
929         [BZ #743]
930         * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
931         strncat, memchr, strcmp): Add missing memory clobber.
932
933 2005-01-27  Ulrich Drepper  <drepper@redhat.com>
934
935         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
936         copy gl_offs.  Patch by Sergey Tikhonov <tsv@solvo.ru>.
937
938 2005-01-27  Paolo Bonzini  <bonzini@gnu.org>
939
940         [BZ #558]
941         * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
942         Initialize the node sets in dfa->inveclosures.
943         (analyze): Initialize inveclosures only if it is needed.
944         Check errors from calc_inveclosure.
945         * posix/regex_internal.c (re_dfa_add_node): Do not initialize
946         the inveclosure node set.
947         * posix/regexec.c (re_search_internal): If nmatch includes unused
948         subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
949
950         * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
951         Do build a SIMPLE_BRACKET token.
952
953         * posix/regexec.c (transit_state_mb): Do not examine nodes
954         where ACCEPT_MB is not set.
955
956 2005-01-27  Jakub Jelinek  <jakub@redhat.com>
957
958         * stdlib/tst-fmtmsg.c: Include stdlib.h.
959         * stdio-common/tst-fmemopen2.c: Include string.h.
960         * posix/execvp.c: Include stdbool.h.
961
962 2004-12-13  Paolo Bonzini  <bonzini@gnu.org>
963
964         Separate parsing and creation of the NFA.  Avoided recursion on
965         the (very unbalanced) parse tree.
966         [BZ #611]
967         * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
968         re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
969         (optimize_subexps, duplicate_tree, calc_first, calc_next,
970         mark_opt_subexp): Rewritten.
971         (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
972         create_token_tree, free_tree, free_token): New.
973         (analyze): Accept a regex_t *.  Invoke the passes via the preorder and
974         postorder generic visitors.  Do not initialize the fields in the
975         re_dfa_t that represent the transitions.
976         (free_dfa_content): Use free_token.
977         (re_compile_internal): Analyze before UTF-8 optimizations.  Do not
978         include optimization of subexpressions.
979         (create_initial_state): Fetch the DFA node index from the first node's
980         bin_tree_t *.
981         (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
982         Return on COMPLEX_BRACKET.
983         (duplicate_node_closure): Fix comment.
984         (duplicate_node): Do not initialize the fields in the
985         re_dfa_t that represent the transitions.
986         (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
987         (create_tree): Remove final argument.  All callers adjusted.  Rewritten
988         to use create_token_tree.
989         (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
990         build_charclass_op): Use create_tree or create_token_tree instead
991         of re_dfa_add_tree_node.
992         (parse_dup_op): Likewise.  Also free the tree using free_tree for
993         "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
994         to "a|".  Adjust invocation of mark_opt_subexp.
995         (parse_sub_exp): Create a single SUBEXP node.
996         * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
997         always perform as if it was 1.  Do not initialize OPT_SUBEXP and
998         DUPLICATED, and initialize the DFA fields representing the transitions.
999         * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
1000         (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
1001         section.  Add a tree-only code SUBEXP.  Remove OP_DELETED_SUBEXP.
1002         (bin_tree_t): Include a full re_token_t for TOKEN.  Turn FIRST and
1003         NEXT into pointers to trees.  Remove ECLOSURE.
1004
1005 2004-12-28  Paolo Bonzini  <bonzini@gnu.org >
1006
1007         [BZ #605]
1008         * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
1009         that were already created.
1010         * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
1011         in the token if needed.
1012         (create_ci_newstate, create_cd_newstate): Set accept_mb field
1013         from the tokens' field.
1014         * posix/regex_internal.h (re_token_t): Add accept_mb field.
1015         (ACCEPT_MB_NODE): Removed.
1016         * posix/regexec.c (proceed_next_node, transit_states_mb,
1017         build_sifted_states, check_arrival_add_next_nodes): Use
1018         accept_mb instead of ACCEPT_MB_NODE.
1019
1020 2005-01-26  Ulrich Drepper  <drepper@redhat.com>
1021
1022         * debug/chk_fail.c (__chk_fail): Print program name in final message.
1023
1024         * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
1025         MSG_NOSIGNAL being in 2.2 kernels.
1026
1027 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
1028
1029         * sysdeps/unix/sysv/linux/i386/sysdep.h
1030         (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
1031
1032         [BZ #693]
1033         * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
1034         (WORD_DELIM_CONSTRAINT): ...this.
1035         (NOT_WORD_DELIM_CONSTRAINT): Define.
1036         (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
1037         change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
1038         * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
1039         anchor instead of INSIDE_WORD.
1040         (parse_expression): Handle NOT_WORD_DELIM constraint.
1041         * posix/bug-regex19.c (tests): Adjust tests that relied on \B
1042         being inside word instead of not word delim.
1043         * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
1044         characters.
1045         * posix/rxspencer/tests: Add some new tests.
1046
1047 2005-01-14  GOTO Masanori  <gotom@debian.or.jp>
1048
1049         * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
1050         irrespective of Cflag.
1051
1052         * manual/memory.texi (sbrk): Fix definition.
1053         * manual/string.texi (strcasestr): Fix example typo.
1054
1055 2005-01-25  Roland McGrath  <roland@redhat.com>
1056
1057         * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
1058
1059 2005-01-23  Roland McGrath  <roland@redhat.com>
1060
1061         [BZ #737]
1062         * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
1063         in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
1064         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
1065         (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
1066         from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
1067         * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
1068
1069 2005-01-25  Jakub Jelinek  <jakub@redhat.com>
1070
1071         [BZ #731]
1072         * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
1073         (free_mem): Don't free string.
1074         * stdlib/tst-fmtmsg.c: Include string.h.
1075         (main): Add some more tests.
1076
1077 2005-01-25  Andreas Schwab  <schwab@suse.de>
1078
1079         [BZ #736]
1080         * timezone/asia: Update from tzdata2005c.
1081         * timezone/backward: Likewise.
1082         * timezone/europe: Likewise.
1083         * timezone/leapseconds: Likewise.
1084         * timezone/northamerica: Likewise.
1085         * timezone/southamerica: Likewise.
1086
1087         [BZ #736]
1088         * timezone/private.h: Update from tzcode2005c.
1089         * timezone/tzfile.h: Likewise.
1090         * timezone/zdump.c: Likewise.
1091         * timezone/zic.c: Likewise.
1092
1093 2005-01-25  Ulrich Drepper  <drepper@redhat.com>
1094
1095         * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
1096         RESOLVE.
1097         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
1098         using RESOLVE.
1099         * elf/rtld.c (_dl_start): Remove RESOLVE definition.
1100
1101 2005-01-25  Alan Modra  <amodra@bigpond.net.au>
1102
1103         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
1104         sym_map, not sym, against zero.
1105
1106 2005-01-24  Ulrich Drepper  <drepper@redhat.com>
1107
1108         [BZ #671]
1109         * misc/syslog.c: Moved to...
1110         * sysdeps/generic/syslog.c: ...here.
1111         [NO_SIGIPE]: Don't install SIGPIPE handler.
1112         * sysdeps/unix/sysv/linux/syslog.c: New file.
1113         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1114         __ASSUME_MSG_NOSIGNAL.
1115
1116 2005-01-22  Richard Henderson  <rth@redhat.com>
1117
1118         * sysdeps/alpha/dl-trampoline.S: New file.
1119         * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
1120         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1121         (elf_machine_runtime_setup): Test for dl_profile non-null.
1122         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1123         * sysdeps/alpha/bits/link.h: New file.
1124         * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
1125         (struct audit_ifaces): Add alpha entries.
1126         * elf/tst-auditmod1.c: Add alpha entries.
1127
1128 2005-01-22  Ulrich Drepper  <drepper@redhat.com>
1129
1130         * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
1131         * sysdeps/ia64/dl-trampoline.S: New file.
1132
1133         * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
1134         La_x86_64_xmm definition.
1135
1136         * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
1137         pointer option.
1138         * stdlib/Makefile (CFLAGS-system.os): Use this instead of
1139         CFLAGS-system.c for frame pointer option.
1140
1141 2005-01-21  Roland McGrath  <roland@redhat.com>
1142
1143         * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
1144         * sysdeps/i386/dl-machine.h: Update decl.
1145
1146 2005-01-21  Jakub Jelinek  <jakub@redhat.com>
1147
1148         [BZ #735]
1149         * elf/Makefile: Add rules to build and run tst-align2.
1150         * elf/tst-align2.c: New test.
1151         * elf/tst-alignmod2.c: New file.
1152         * sysdeps/powerpc/tst-stack-align.h: New file.
1153         * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
1154         pointer before calling _dl_init.
1155         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1156
1157 2005-01-20  Ulrich Drepper  <drepper@redhat.com>
1158
1159         * posix/execl.c: Do not allocate potentially large buffers on the
1160         stack.
1161         * posix/execle.c: Likewise.
1162         * posix/execlp.c: Likewise.
1163         * posix/execvp.c: Likewise.
1164         (script_execute): Removed.
1165         (allocate_scripts_argv): New function.  Called at most once to
1166         allocate memory, not every time a script is run.  Adjust caller.
1167
1168         * sysdeps/generic/wordexp.c (exec_comm): Add a few
1169         TEMP_FAILURE_RETRY.  Reorganize code to avoid multiple calls to
1170         exec_comm_child.
1171         (exec_comm_child): Can now be inlined.
1172
1173         * posix/Makefile: Add -fomit-frame-pointer for a few more files.
1174         * stdlib/Makefile: Likewise.
1175
1176 2005-01-19  Roland McGrath  <roland@redhat.com>
1177
1178         [BZ #681]
1179         * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
1180         argument to execlp.
1181         Reported by Marcus Meissner <meissner@suse.de>.
1182
1183 2005-01-19  Jakub Jelinek  <jakub@redhat.com>
1184
1185         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
1186         in assert.
1187         * iconv/strtab.c (strtabfinalize): Likewise.
1188
1189         * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
1190
1191 2005-01-17  Roland McGrath  <roland@redhat.com>
1192
1193         [BZ #745]
1194         * nscd/Makefile (LDLIBS-nscd): New variable.
1195         ($(objpfx)nscd): Use that instead of selinux-LIBS.
1196
1197         * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
1198         (link-extra-libs-static): Define to $(link-extra-libs).
1199         (link-extra-libs-bounded): Likewise.
1200
1201 2005-01-17  Ulrich Drepper  <drepper@redhat.com>
1202
1203         * include/link.h: Remove stray definition of pltenter.
1204
1205 2005-01-16  GOTO Masanori  <gotom@debian.or.jp>
1206
1207         [BZ #734]
1208         * sysdeps/unix/rewinddir.c: Reset filepos.
1209         * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
1210
1211 2005-01-15  Ulrich Drepper  <drepper@redhat.com>
1212
1213         * elf/tst-auditmod1.c: Reduce duplication.
1214
1215 2005-01-16  Andreas Schwab  <schwab@suse.de>
1216
1217         * sysdeps/m68k/dl-machine.h: Remove trampoline code.  Define
1218         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1219         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1220         GLRO(dl_profile) != NULL.
1221         * sysdeps/m68k/dl-trampoline.S: New file.
1222         * sysdeps/m68k/bits/link.h: New file.
1223         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
1224         variants.
1225         * elf/tst-auditmod1.c: Add m68k support.
1226
1227 2005-01-14  Ulrich Drepper  <drepper@redhat.com>
1228
1229         * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
1230         LC_* variable.  Patch by Aharon Robbins <arnold@skeeve.com>.
1231
1232         [BZ #731]
1233         * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
1234         * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
1235
1236 2005-01-12  Ulrich Drepper  <drepper@redhat.com>
1237
1238         * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
1239         callers from libc anymore.
1240
1241         * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
1242         to _dl_map_object_deps.
1243         * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
1244         protections when loading auditing modules.
1245
1246         * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
1247
1248         * posix/getconf.c: Update copyright year.
1249         * nss/getent.c: Likewise.
1250         * nscd/nscd_nischeck.c: Likewise.
1251         * iconv/iconvconfig.c: Likewise.
1252         * iconv/iconv_prog.c: Likewise.
1253         * elf/ldconfig.c: Likewise.
1254         * catgets/gencat.c: Likewise.
1255         * csu/version.c: Likewise.
1256         * elf/ldd.bash.in: Likewise.
1257         * elf/sprof.c (print_version): Likewise.
1258         * locale/programs/locale.c: Likewise.
1259         * locale/programs/localedef.c: Likewise.
1260         * nscd/nscd.c (print_version): Likewise.
1261         * debug/xtrace.sh: Likewise.
1262         * malloc/memusage.sh: Likewise.
1263         * malloc/mtrace.pl: Likewise.
1264         * debug/catchsegv.sh: Likewise.
1265
1266 2005-01-11  Thorsten Kukuk  <kukuk@suse.de>
1267
1268         [BZ #733]
1269         * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
1270         as backlog.
1271         * sunrpc/svc_unix.c (svcunix_create): Likewise.
1272
1273         * grp/putgrent.c (putgrent): Don't write 0 as group
1274         ID if groupname starts with + or -.
1275         * pwd/putpwent.c (putpwent): Don't write 0 as user or
1276         group ID if user name starts with + or -.
1277
1278 2005-01-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1279
1280         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
1281         * sysdeps/elf/tst-auditmod1.c: Add sh support.
1282         * sysdeps/sh/bits/link.h: New.
1283         * sysdeps/sh/dl-machine.h: Remove trampoline code here.  Define
1284         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.  Remove obsolete comments.
1285         (RTLD_START): Define __fpscr_values.
1286         * sysdeps/sh/dl-trampoline.S: New file.
1287         * sysdeps/sh/sh4/dl-trampoline.S: New file.
1288         * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
1289         * sysdeps/sh/sh4/dl-machine.h: Remove.
1290
1291 2005-01-10  Jakub Jelinek  <jakub@redhat.com>
1292
1293         [BZ #732]
1294         * time/tst-strptime.c (day_tests): Add 2 new tests.
1295         (test_tm, main): Issue an error instead of segfaulting if
1296         strptime returns NULL.
1297
1298 2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1299
1300         * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
1301         * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
1302
1303 2005-01-11  Ulrich Drepper  <drepper@redhat.com>
1304
1305         * malloc/malloc.h: Remove no-glibc support.
1306
1307 2005-01-12  GOTO Masanori  <gotom@debian.or.jp>
1308
1309         [BZ #650]
1310         * malloc/malloc.h: Always include features.h.
1311
1312 2005-01-10  Roland McGrath  <roland@redhat.com>
1313
1314         * sysdeps/ia64/fpu/e_logl.c: File removed.
1315
1316         * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
1317
1318 2005-01-10  Ulrich Drepper  <drepper@redhat.com>
1319
1320         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
1321         recognition of last entry.
1322
1323 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
1324
1325         * elf/dl-runtime.c: Include <sys/param.h>.
1326
1327         * elf/Makefile (headers): Add bits/link.h.
1328
1329 2005-01-09  Andreas Schwab  <schwab@suse.de>
1330
1331         * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
1332
1333 2005-01-09  Andreas Jaeger  <aj@suse.de>
1334
1335         [BZ #732]
1336         * time/strptime_l.c (__strptime_internal): Add braces to avoid
1337         warning.
1338
1339         * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
1340
1341         * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
1342
1343 2005-01-08  Jakub Jelinek  <jakub@redhat.com>
1344
1345         * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
1346
1347 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
1348
1349         * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
1350         those of all the regular objects.
1351
1352         * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
1353         use it to select the r_debug structure for that namespace.
1354         * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
1355         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1356         * elf/dl-open.c (_dl_open): Likewise.
1357         * elf/rtld.c (dl_main): Likewise.
1358         * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
1359         member.
1360         (_dl_debug_initialize): Add new parameter in declaration.
1361
1362         * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
1363         called for the auditing objects themselves.
1364         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1365
1366 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
1367
1368         * sysdeps/powerpc/powerpc64/dl-machine.h
1369         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1370         GLRO(dl_profile) != NULL.
1371         * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
1372         padding.
1373         * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
1374         Extend _dl_prof_resolve to add pass extra parameters to
1375         _dl_profile_fixup and set up structure with register content.
1376
1377         * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
1378         If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
1379         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
1380         Extend _dl_prof_resolve to add pass extra parameters to
1381         _dl_profile_fixup and set up structure with register content.
1382         * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
1383         the register and result structures.
1384         * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
1385         in the 32-bit register and result structures.
1386
1387         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
1388
1389         * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
1390         * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
1391         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1392         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
1393         * elf/tst-auditmod1.c: Add ppc32 support.
1394         * sysdeps/powerpc/powerpc32/bits/link.h: New file.
1395         * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
1396
1397         * malloc/malloc.c (malloc_printerr): Print program name as part of
1398         error message.
1399
1400         * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
1401         * stdlib/stdlib.h: Make realloc with
1402         __attribute_warn_unused_result__ instead of __wur.
1403         * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
1404         markers as in <stdlib.h>.
1405
1406         * libio/stdio.h: Remove __wur from rename and remove.
1407         * posix/unistd.h: Remove __wur from dup2.
1408
1409 2005-01-03  Andreas Jaeger  <aj@suse.de>
1410
1411         * elf/Makefile (tests): Revert patch from 2005-01-03.
1412
1413 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
1414
1415         * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
1416         make __libc_init_first hidden.
1417
1418         * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
1419         l_relocated of rtld map.
1420         * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
1421         * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
1422         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1423         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
1424         * elf/tst-auditmod1.c: Add ppc64 support.
1425         * sysdeps/powerpc/powerpc64/bits/link.h: New file.
1426
1427 2005-01-06  Roland McGrath  <roland@redhat.com>
1428
1429         [BZ #633]
1430         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
1431         indicating file-name lookup errors, and return ENOSYS or EBADF instead.
1432
1433 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
1434
1435         * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
1436         * sysdeps/generic/libc-start.c: Don't register program destructor here.
1437
1438         * dlfcn/Makefile: Add rules to build dlfcn.c.
1439         (LDFLAGS-dl.so): Removed.
1440         * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
1441         table.
1442         * dlfcn/dlmopen.c: Likewise for _dl_open.
1443         * dlfcn/dlopen.c: Likewise.
1444         * dlfcn/dlopenold.c: Likewise.
1445         * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
1446         * elf/Makefile (routines): Remove dl-open and dl-close.
1447         (dl-routines): Add dl-open, dl-close, and dl-trampoline.
1448         Add rules to build and run tst-audit1.
1449         * elf/tst-audit1.c: New file.
1450         * elf/tst-auditmod1.c: New file.
1451         * elf/Versions [libc]: Remove _dl_open and _dl_close.
1452         * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
1453         * elf/dl-open.c: Likewise.
1454         * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
1455         signaled by nonzero parameter.
1456         * elf/dl-init.c: Fix use of r_state.
1457         * elf/dl-load.c: Likewise.
1458
1459         * elf/dl-close.c: Add auditing checkpoints.
1460         * elf/dl-open.c: Likewise.
1461         * elf/dl-fini.c: Likewise.
1462         * elf/dl-load.c: Likewise.
1463         * elf/dl-sym.c: Likewise.
1464         * sysdeps/generic/libc-start.c: Likewise.
1465         * elf/dl-object.c: Allocate memory for auditing information.
1466         * elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
1467         Correctly initialize slotinfo.
1468         * elf/dynamic-link.h: Adjust after removal of RESOLV.
1469         * sysdeps/hppa/dl-lookupcfg.h: Likewise.
1470         * sysdeps/ia64/dl-lookupcfg.h: Likewise.
1471         * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
1472         * elf/dl-runtime.c (_dl_fixup): Little cleanup.
1473         (_dl_profile_fixup): New parameters to point to register struct and
1474         variable for frame size.
1475         Add auditing checkpoints.
1476         (_dl_call_pltexit): New function.
1477         Don't define trampoline code here.
1478         * elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
1479         Remove all the functions from _rtld_global_ro which only _dl_open
1480         and _dl_close needed.
1481         Add auditing checkpoints.
1482         * elf/link.h: Define symbols for auditing interfaces.
1483         * include/link.h: Likewise.
1484         * include/dlfcn.h: Define __RTLD_AUDIT.
1485         Remove prototypes for _dl_open and _dl_close.
1486         Adjust access to argc and argv in libdl.
1487         * dlfcn/dlfcn.c: New file.
1488         * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
1489         is gone.
1490         * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
1491         * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
1492         * sysdeps/i386/dl-machine.h: Remove trampoline code here.
1493         Adjust for removal of RESOLVE.
1494         * sysdeps/x86_64/dl-machine.h: Likewise.
1495         * sysdeps/generic/dl-trampoline.c: New file.
1496         * sysdeps/i386/dl-trampoline.c: New file.
1497         * sysdeps/x86_64/dl-trampoline.c: New file.
1498
1499         * sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
1500         Fix updating of DTV.
1501         * sysdeps/generic/libc-tls.c: Likewise.
1502
1503         * sysdeps/arm/bits/link.h: Renamed to ...
1504         * sysdeps/arm/bits/linkmap.h: ...this.
1505         * sysdeps/generic/bits/link.h: Renamed to...
1506         * sysdeps/generic/bits/linkmap.h: ...this.
1507         * sysdeps/hppa/bits/link.h: Renamed to...
1508         * sysdeps/hppa/bits/linkmap.h: ...this.
1509         * sysdeps/i386/bits/link.h: Renamed to...
1510         * sysdeps/i386/bits/linkmap.h: ...this.
1511         * sysdeps/ia64/bits/link.h: Renamed to...
1512         * sysdeps/ia64/bits/linkmap.h: ...this.
1513         * sysdeps/s390/bits/link.h: Renamed to...
1514         * sysdeps/s390/bits/linkmap.h: ...this.
1515         * sysdeps/sh/bits/link.h: Renamed to...
1516         * sysdeps/sh/bits/linkmap.h: ...this.
1517         * sysdeps/x86_64/bits/link.h: Renamed to...
1518         * sysdeps/x86_64/bits/linkmap.h: ...this.
1519
1520         * posix/unistd.h: Declare ftruncate for POSIX 2003.  [BZ #640]
1521
1522 2004-12-22  Steven Munroe  <sjmunroe@us.ibm.com>
1523
1524         [BZ #602]
1525         * math/libm-test.inc (rint_test_tonearest): New test.
1526         (rint_test_towardzero): New test.
1527         (rint_test_downward): New test.
1528         (rint_test_upward): New test.
1529         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
1530         Remove redundant const values.
1531         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
1532         Remove redundant const values.  Use float const.
1533         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
1534         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
1535         Use float const.
1536         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
1537         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
1538         Use float const.
1539         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
1540         Remove redundant const values.
1541         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
1542         Remove redundant const values.  Use float const.
1543         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
1544         Remove redundant const values.
1545         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
1546         Remove redundant const values.  Use float const.
1547         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
1548         alignment.  Fix -0.0 case.  Remove redundant const values.
1549         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
1550         alignment.  Fix -0.0 case.  Remove redundant const values.
1551         Use float const.
1552         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
1553         alignment.  Fix -0.0 case.
1554         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
1555         alignment.  Fix -0.0 case.  Use float const.
1556         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
1557         alignment.  Fix -0.0 case.
1558         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
1559         alignment.  Fix -0.0 case.  Use float const.
1560         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
1561         alignment.  Fix -0.0 case.  Remove redundant const values.
1562         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
1563         alignment.  Fix -0.0 case.  Remove redundant const values.
1564         Use float const.
1565         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
1566         alignment.  Fix -0.0 case.
1567         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
1568         alignment.  Fix -0.0 case.  Remove redundant const values.
1569         Use float const.
1570
1571 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
1572
1573         * misc/sys/cdefs.h: Define __wur.
1574         * libio/stdio.h: Use __wur for a number of interfaces.
1575         * posix/unistd.h: Likewise.
1576         * stdlib/stdlib.h: Likewise.
1577
1578 2004-12-29  Jakub Jelinek  <jakub@redhat.com>
1579
1580         [BZ #592]
1581         * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
1582         libc_hidden_proto instead of HIDDEN_PROTO.
1583         * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
1584         (__libm_error_support): If ASSEMBLER and in libc, define to
1585         HIDDEN_JUMPTARGET(__libm_error_support).
1586
1587 2004-12-28  David Mosberger  <davidm@hpl.hp.com>
1588
1589         [BZ #592]
1590         * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
1591         (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
1592         with $(duplicated-routines).
1593         (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
1594         "m_" prefix.
1595
1596 2004-12-27  David Mosberger  <davidm@hpl.hp.com>
1597
1598         [BZ #592]
1599         * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
1600         undefine "ret" macro.  Add __libm_error_support hidden definitions.
1601
1602         [BZ #592]
1603         * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment.  Add
1604         missing portion of copyright statement.
1605         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1606         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1607
1608         [BZ #592]
1609         * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment.  Add
1610         missing portion of copyright statement.
1611         (__ieee754_lgamma): Rename from lgamma().  Make lgamma() a weak alias.
1612         (__ieee754_gamma): Likewise.
1613         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1614         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1615
1616 2004-12-09  H. J. Lu <hjl@lucon.org>
1617
1618         [BZ #592]
1619         * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
1620         * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
1621         * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
1622         * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
1623         * sysdeps/ia64/fpu/e_expl.S: Likewise.
1624         * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
1625
1626 2004-11-18  David Mosberger  <davidm@hpl.hp.com>
1627
1628         [BZ #592]
1629         * sysdeps/ia64/fpu/README: New file.
1630         * sysdeps/ia64/fpu/gen_import_file_list: New file.
1631         * sysdeps/ia64/fpu/import_check: Likewise.
1632         * sysdeps/ia64/fpu/import_diffs: Likewise.
1633         * sysdeps/ia64/fpu/import_file.awk: Likewise.
1634         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
1635         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1636
1637         [BZ #592]
1638         * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
1639         * sysdeps/ia64/fpu/e_acosf.S: Likewise.
1640         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1641         * sysdeps/ia64/fpu/e_asin.S: Likewise.
1642         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1643         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1644         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1645         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1646         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1647         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1648         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1649         * sysdeps/ia64/fpu/e_exp.S: Likewise.
1650         * sysdeps/ia64/fpu/e_expf.S: Likewise.
1651         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1652         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1653         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1654         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1655         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1656         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1657         * sysdeps/ia64/fpu/e_log.S: Likewise.
1658         * sysdeps/ia64/fpu/e_log2.S: Likewise.
1659         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1660         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1661         * sysdeps/ia64/fpu/e_logf.S: Likewise.
1662         * sysdeps/ia64/fpu/e_pow.S: Likewise.
1663         * sysdeps/ia64/fpu/e_powf.S: Likewise.
1664         * sysdeps/ia64/fpu/e_powl.S: Likewise.
1665         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1666         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1667         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1668         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1669         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1670         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1671         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1672         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1673         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1674         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1675         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1676         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1677         * sysdeps/ia64/fpu/libm_error.c: Likewise.
1678         * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
1679         * sysdeps/ia64/fpu/libm_support.h: Likewise.
1680         * sysdeps/ia64/fpu/s_atan.S: Likewise.
1681         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1682         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1683         * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
1684         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1685         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1686         * sysdeps/ia64/fpu/s_ceil.S: Likewise.
1687         * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
1688         * sysdeps/ia64/fpu/s_ceill.S: Likewise.
1689         * sysdeps/ia64/fpu/s_cos.S: Likewise.
1690         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1691         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1692         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1693         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1694         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
1695         * sysdeps/ia64/fpu/s_fabs.S: Likewise.
1696         * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
1697         * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
1698         * sysdeps/ia64/fpu/s_floor.S: Likewise.
1699         * sysdeps/ia64/fpu/s_floorf.S: Likewise.
1700         * sysdeps/ia64/fpu/s_floorl.S: Likewise.
1701         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
1702         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
1703         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
1704         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
1705         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
1706         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
1707         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1708         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
1709         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
1710         * sysdeps/ia64/fpu/s_logb.S: Likewise.
1711         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
1712         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
1713         * sysdeps/ia64/fpu/s_modf.S: Likewise.
1714         * sysdeps/ia64/fpu/s_modff.S: Likewise.
1715         * sysdeps/ia64/fpu/s_modfl.S: Likewise.
1716         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
1717         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
1718         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
1719         * sysdeps/ia64/fpu/s_rint.S: Likewise.
1720         * sysdeps/ia64/fpu/s_rintf.S: Likewise.
1721         * sysdeps/ia64/fpu/s_rintl.S: Likewise.
1722         * sysdeps/ia64/fpu/s_round.S: Likewise.
1723         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
1724         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
1725         * sysdeps/ia64/fpu/s_significand.S: Likewise.
1726         * sysdeps/ia64/fpu/s_significandf.S: Likewise.
1727         * sysdeps/ia64/fpu/s_significandl.S: Likewise.
1728         * sysdeps/ia64/fpu/s_tan.S: Likewise.
1729         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1730         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
1731         * sysdeps/ia64/fpu/s_trunc.S: Likewise.
1732         * sysdeps/ia64/fpu/s_truncf.S: Likewise.
1733         * sysdeps/ia64/fpu/s_truncl.S: Likewise.
1734
1735         [BZ #592]
1736         * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
1737         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
1738         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1739         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1740         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
1741         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
1742         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1743         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1744         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
1745         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1746         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1747         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
1748         * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
1749         * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
1750         * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
1751         * sysdeps/ia64/fpu/e_logl.S: Likewise.
1752         * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
1753         * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
1754         * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
1755         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
1756         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
1757         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
1758         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
1759         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
1760         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
1761         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1762         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1763         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1764         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1765         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1766         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1767         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1768         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
1769         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1770         * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
1771         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
1772         * sysdeps/ia64/fpu/s_erf.S: Likewise.
1773         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1774         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1775         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1776         * sysdeps/ia64/fpu/s_erff.S: Likewise.
1777         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
1778         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
1779         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
1780         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
1781         * sysdeps/ia64/fpu/s_fma.S: Likewise.
1782         * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
1783         * sysdeps/ia64/fpu/s_fmal.S: Likewise.
1784         * sysdeps/ia64/fpu/s_fmax.S: Likewise.
1785         * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
1786         * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
1787         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
1788         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
1789         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
1790         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
1791         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
1792         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
1793         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
1794         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
1795         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
1796         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1797         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
1798         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
1799         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
1800         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
1801         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1802         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1803         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1804         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1805         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1806
1807         [BZ #592]
1808         * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
1809         * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
1810         * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
1811         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1812         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1813         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1814         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1815         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1816         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1817         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1818         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1819         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1820         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1821         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1822         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1823         * sysdeps/ia64/fpu/w_expl.c: Likewise.
1824         * sysdeps/ia64/fpu/e_expl.S: Likewise.
1825         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1826         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1827         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1828         * sysdeps/ia64/fpu/w_log2.c: Likewise.
1829         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1830         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1831         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1832         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1833         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1834
1835         [BZ #592]
1836         * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
1837         * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
1838         * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
1839         * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
1840         * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
1841         * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
1842         * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
1843
1844         [BZ #592]
1845         * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
1846         * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
1847         * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
1848
1849         [BZ #592]
1850         * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
1851
1852         [BZ #592]
1853         * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
1854         alias for use by libm_error.c
1855
1856         [BZ #592]
1857         * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
1858         libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
1859         Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
1860         libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
1861         libm_scalbn{,f,l}, libm_scalblnf.
1862         (sysdep_routines): Remove libm_frexp4{,f,l}.
1863         Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
1864         (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
1865         _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
1866         -DSIZE_LONG_LONG_INT_64.
1867
1868 2005-01-05  Steven Munroe  <sjmunroe@us.ibm.com>
1869
1870         [BZ #729]
1871         * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
1872         l_text_end are set for a VDSO with a single PT_LOAD entry.
1873
1874 2005-01-05  Ulrich Drepper  <drepper@redhat.com>
1875
1876         [BZ #730]
1877         * libio/iofopncook.c (_IO_cookie_seekoff): Define.  Mark offset as
1878         invalid to disable optimizations in fileops which won't work here.
1879         (_IO_cookie_jumps): Use it.
1880         (_IO_old_cookie_jumps): Likewise.
1881         * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
1882         not the return value.
1883         * stdio-common/Makefile (tests): Add tst-fmemopen2.
1884         * stdio-common/tst-fmemopen2.c: New file.
1885
1886         * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
1887
1888 2005-01-05  Roland McGrath  <roland@redhat.com>
1889
1890         * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
1891         * sysdeps/i386/configure.in: ... here.  New file.
1892
1893 2005-01-03  Ulrich Drepper  <drepper@redhat.com>
1894
1895         [BZ #727]
1896         * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
1897         initialize __environ again.
1898         * stdlib/Makefile: Add rules to build and run tst-putenv.
1899         * stdlib/tst-putenv.c: New file.
1900         * stdlib/tst-putenvmod.c: New file.
1901
1902         * sysdeps/unix/sysv/linux/init-first.c: Clean file up.  Don't
1903         define unnecessary wrappers or aliases of static functions.
1904
1905 2005-01-03  Andreas Jaeger  <aj@suse.de>
1906
1907         * csu/Makefile (generated): Add start.os and start.ob.
1908
1909         * elf/Makefile (tests): Change rule for tst-pie1 so that make
1910         clean works.
1911
1912 2004-12-29  Roland McGrath  <roland@redhat.com>
1913
1914         [BZ #626]
1915         * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
1916         than always up; when nearest is zero, round up to one.
1917
1918 2004-12-28  Ulrich Drepper  <drepper@redhat.com>
1919
1920         * po/es.po: Update from translation team.
1921
1922         [BZ #726]
1923         * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
1924
1925 2004-12-27  Ulrich Drepper  <drepper@redhat.com>
1926
1927         [BZ #744]
1928         * include/signal.h: Define __sigemptyset.
1929
1930 2004-04-27  Paolo Bonzini  <bonzini@gnu.org>
1931
1932         * posix/regex_internal.h (struct re_dfastate_t): Make
1933         word_trtable a pointer to the 512-item transition table.
1934         * posix/regexec.c (build_trtable): Fill in either state->trtable
1935         or state->word_trtable.  Return a boolean indicating success.
1936         (transit_state): Expect state->trtable to be a 256-item
1937         transition table.  Reorganize code to have less tests in
1938         the common case, and to save an indentation level.
1939         * posix/regex_internal.c (free_state): Free word_trtable.
1940
1941 2004-12-21  Jakub Jelinek  <jakub@redhat.com>
1942
1943         [BZ #723]
1944         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
1945         calling fn is 16 byte aligned.
1946         * sysdeps/i386/tst-stack-align.h: New file.
1947
1948         [BZ #725]
1949         * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
1950         (ecvt_r): Special case denormals.
1951         * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
1952         * misc/tst-efgcvt.c: Include float.h.
1953         (ecvt_tests): Add 2 new tests.
1954
1955 2004-12-20  Roland McGrath  <roland@frob.com>
1956
1957         * version.h (RELEASE, VERSION): development, 2.3.90
1958         * include/features.h (__GLIBC_MINOR__): Now 4.
1959
1960
1961 See ChangeLog.15 for earlier changes.