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