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