1 2005-03-20 Jakub Jelinek <jakub@redhat.com>
3 * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
4 instead of __off_t for last argument.
5 * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
6 * debug/tst-lfschk1.c: New test.
7 * debug/tst-lfschk2.c: New test.
8 * debug/tst-lfschk3.c: New test.
10 2005-03-19 Ulrich Drepper <drepper@redhat.com>
12 * inet/test-ifaddrs.c: Use test-skeleton.
13 * inet/test_ifindex.c: Likewise.
15 * elf/dl-lookup.c (add_dependency): Always search l_initfini if
18 * elf/Makefile: Add rules to build and run order2.
19 * elf/order2.c: New file.
20 * elf/order2mod1.c: New file.
21 * elf/order2mod2.c: New file.
22 * elf/order2mod3.c: New file.
23 * elf/order2mod4.c: New file.
25 2005-03-19 Jakub Jelinek <jakub@redhat.com>
27 * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
28 it has been incremented before.
30 2005-03-18 Ulrich Drepper <drepper@redhat.com>
32 * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
33 function _dl_sort_fini.
34 (_dl_sort_fini): New function.
35 * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
36 * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
37 destructors to call them in the right order.
39 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
41 * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
42 (La_ppc64_retval): Correct size of lrc_fp.
43 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
44 Fix up ABI problems and complete function.
46 2005-03-10 Jakub Jelinek <jakub@redhat.com>
48 * math/test-misc.c (main): Add some more tests.
50 2005-03-17 Jakub Jelinek <jakub@redhat.com>
52 * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
53 __wcrtomb. Check return values of other __wcrtomb calls.
54 * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
55 Change mbclen type to size_t.
56 (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
57 Handle mb chars whose upper case doesn't have multibyte representation
60 2005-03-15 Jakub Jelinek <jakub@redhat.com>
62 * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
63 public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
67 * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
70 2005-03-10 Jakub Jelinek <jakub@redhat.com>
72 * misc/sys/cdefs.h (__always_inline): Define.
73 * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
74 Use __always_inline instead of __inline.
75 * socket/bits/socket2.h (recv, recvfrom): Likewise.
76 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
77 * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
78 __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
79 __strcat_ichk, __strncat_ichk): Use __always_inline instead of
80 __inline__ __attribute__ ((__always_inline__)).
82 2005-03-09 Jakub Jelinek <jakub@redhat.com>
84 * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
85 (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
86 readlink. Add some more tests for read, pread, pread64, fgets and
89 * posix/bits/unistd.h (read, pread, pread64, readlink,
90 getcwd, getwd): Change macros into extern inline functions.
91 (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
92 __getcwd_alias, __getwd_alias): New prototypes.
93 * socket/bits/socket2.h (recv, recvfrom): Change macros into
94 extern inline functions.
95 (__recv_alias, __recvfrom_alias): New prototypes.
96 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
97 into extern inline functions.
98 (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
100 * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
102 * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
105 2005-03-18 Daniel Jacobowitz <dan@codesourcery.com>
107 * configure.in: Use %function instead of @function.
109 2005-03-18 Ulrich Drepper <drepper@redhat.com>
111 * include/link.h (struct link_map): Remove l_opencount. Add l_removed.
112 Change type of l_idx to int.
113 * elf/dl-close.c: Basically rewrite. Do not use l_opencount to
114 determine whether a DSO has to be unloaded. Instead compute this
116 * elf/dl-deps.c: No need to manipulate l_opencount anymore.
117 * elf/dl-lookup.c: Likewise.
118 * elf/rtld.c: Likewise
119 * elf/dl-open.c: Likewise. Use l_init_called to determine whether
120 object was just loaded.
121 * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
122 * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
123 is about to be unloaded as a match.
124 (_dl_map_object): Likewise.
125 * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
127 * elf/circleload1.c: Don't use l_opencount anymore.
128 * elf/neededtest.c: Likewise.
129 * elf/neededtest2.c: Likewise.
130 * elf/neededtest3.c: Likewise.
131 * elf/neededtest4.c: Likewise.
132 * elf/unload.c: Likewise.
133 * elf/unload2.c: Likewise.
134 * elf/loadtest.c: Likewise.
136 * elf/rtld.c: Preloading errors are now never fatal.
138 2005-03-08 Jakub Jelinek <jakub@redhat.com>
140 * elf/Makefile: Add rules to build and run unload5 test.
141 * elf/unload5.c: New file.
143 2005-03-08 Jakub Jelinek <jakub@redhat.com>
145 * elf/Makefile: Add rules to build and run unload4 test.
146 * elf/unload4.c: New file.
147 * elf/unload4mod1.c: New file.
148 * elf/unload4mod2.c: New file.
149 * elf/unload4mod3.c: New file.
150 * elf/unload4mod4.c: New file.
152 2005-03-17 Roland McGrath <roland@redhat.com>
154 * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
156 2005-03-16 Richard Henderson <rth@redhat.com>
158 * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
160 (__hidden_def1, __hidden_dot_def1): Remove.
161 (__hidden_def2, __hidden_def3): Remove.
162 (__hidden_ver1): New.
163 (hidden_ver, hidden_def, hidden_weak): Use it.
164 (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
165 version of the macro.
167 * include/wchar.h (__wcscoll): Remove.
168 * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
169 * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
171 2005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
173 * elf/elf.h: Define MIPS TLS relocations.
175 2005-03-16 Ulrich Drepper <drepper@redhat.com>
177 * elf/circleload1.c (main): Pretty printing.
179 2005-03-15 Jakub Jelinek <jakub@redhat.com>
181 * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
182 Patch by Dan Kegel <dank@kegel.com>.
184 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
185 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
187 * sysdeps/alpha/dl-machine.h (elf_machine_rela,
188 elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
190 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
191 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change
192 static inline into auto inline.
193 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
194 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
195 * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
197 * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
198 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
201 2005-03-15 Jakub Jelinek <jakub@redhat.com>
204 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
205 Remove memory clobber.
207 * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
208 thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff.
210 2005-03-14 Jakub Jelinek <jakub@redhat.com>
212 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
215 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
217 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
219 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
220 Correct MAP_GROWSDOWN value.
222 2005-03-13 Roland McGrath <roland@redhat.com>
224 * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
225 version if there is one. Only #error if macros are then undefined.
226 * sysdeps/generic/tls-macros.h: New file.
228 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
230 * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
231 * sysdeps/hppa/configure: Regenerated.
233 2005-03-08 Roland McGrath <roland@redhat.com>
235 * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
236 array types match exactly in C alias decls.
238 2005-03-07 Ulrich Drepper <drepper@redhat.com>
240 * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
241 mallopt appropriately.
242 * malloc/malloc.h: Define M_PERTURB.
243 * malloc/malloc.c (perturb_byte): New variable.
244 (alloc_perturb, free_perturb): New macros.
245 (_int_malloc): Before returning, overwrite the memory if this is
247 (_int_free): Overwrite freed memory if requested.
248 (mALLOPt): Handle M_PERTURB.
249 * test-skeleton.c: Add call to mallopt with M_PERTURB command.
251 * elf/dl-close.c (_dl_close): Decrement l_opencount before
252 printing debug message.
253 * elf/dl-open.c (dl_open_worker): Always print the new opencount
256 2005-03-06 Ulrich Drepper <drepper@redhat.com>
258 * elf/dl-close.c (_dl_close): Unify debug message format.
260 * elf/dl-close.c (_dl_close): Print debug message just before
261 destroying a link map.
263 * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
264 * elf/dl-version.c (match_symbol): Likewise.
266 * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
268 * debug/recv_chk.c (__recv_chk): Always fail if request could
270 * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
271 * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
272 we know the call succeeds.
273 (recvfrom): Likewise.
275 2005-03-05 Ulrich Drepper <drepper@redhat.com>
277 * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
279 * posix/regex_internal.c (re_string_reconstruct): Add cast to
281 (build_wcs_upper_buffer): Change type of bug to plain char.
282 * locale/weightwc.h (findidx): Add casts to avoid warnings.
283 * time/mktime.c (ranged_convert): Initialize tm to make the
285 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
286 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
287 * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
288 * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
289 * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
290 * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
291 * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
292 * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
293 * libio/iofwide.c: Add casts to avoid warnings.
294 * stdio-common/printf-prs.c (parse_printf_format): Introduce new
295 variable f to avoid warnings.
296 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
297 Fix a few casts to avoid warnings.
298 * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
301 * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
302 dynamically sized array.
303 (build_wcs_upper_buffer): Likewise.
305 2005-03-05 Jakub Jelinek <jakub@redhat.com>
307 * include/bits/unistd.h: New file.
308 * include/bits/socket2.h: New file.
310 2005-03-05 Ulrich Drepper <drepper@redhat.com>
312 * sunrpc/key_call.c: Remove doors support.
313 * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
314 * configure.in: Remove test for doors support which never existed.
315 * config.make.in: Remove have_doors entry.
317 * configure.in: Make sure at least gcc 3.4 is used. Undo last change.
318 * config.make.in: Undo last change.
320 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
323 2005-03-05 Roland McGrath <roland@redhat.com>
325 * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
326 (_dl_out_of_memory): Use rtld_hidden_proto.
327 * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
328 (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
329 * elf/dl-open.c (_dl_open): Likewise.
330 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
332 * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
334 * elf/dl-addr.c (_dl_addr): Add a cast.
336 * elf/unload3mod4.c: Declare foo.
337 * elf/testobj2.c: Include <stdio.h>.
339 * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
340 value constant, and use it in the defn.
341 * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
342 Use actual size for compat array decls.
344 * config.make.in (cc-mtune): New substituted variable.
345 * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
346 done only if libc_mtune_example is defined.
347 * sysdeps/i386/configure.in (libc_mtune_example): Set it.
348 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
350 2005-03-05 Jakub Jelinek <jakub@redhat.com>
352 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
353 unconditionally to (defined RTLD_BOOTSTRAP).
354 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
356 2005-03-05 Jakub Jelinek <jakub@redhat.com>
358 * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
359 $(inst_slibdir) in AS_NEEDED directive.
361 2005-03-03 Jakub Jelinek <jakub@redhat.com>
363 * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
365 2005-03-01 H.J. Lu <hongjiu.lu@intel.com>
368 * iconv/iconvconfig.c: Fix comment for the output file.
369 (write_output): Clear padding in header.
371 2005-03-03 Ulrich Drepper <drepper@redhat.com>
373 * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
374 loader is closed. Fixes unload3.
375 * elf/tst-global1.c: New file.
376 * elf/Makefile (tests): Add tst-global1.
377 * elf/testobj2.c (p): New function.
379 2005-03-03 Jakub Jelinek <jakub@redhat.com>
381 * elf/Makefile: Add rules to build and run unload3 test.
382 * elf/unload3.c: New test.
383 * elf/unload3mod1.c: New file.
384 * elf/unload3mod2.c: New file.
385 * elf/unload3mod3.c: New file.
386 * elf/unload3mod4.c: New file.
388 2005-02-21 Alan Modra <amodra@bigpond.net.au>
390 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
393 2005-03-01 Jakub Jelinek <jakub@redhat.com>
395 * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
397 * socket/bits/socket2.h (recv, recvfrom): Likewise.
399 2005-03-01 Roland McGrath <roland@redhat.com>
402 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
405 2005-03-01 Alfred M. Szmidt <ams@gnu.org>
408 * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
409 Add missing initializer.
412 * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
413 USE_TLS && !USE___THREAD].
415 2005-02-26 GOTO Masanori <gotom@debian.or.jp>
417 * csu/Makefile: Use printf instead of echo for some shells.
419 2005-02-28 Roland McGrath <roland@redhat.com>
421 * debug/warning-nop.c (__nop): Rename to nop, make it static.
422 (__warndecl): Use alias attribute directly, instead of strong_alias
423 macro. Add attribute_hidden.
425 2005-02-28 Ulrich Drepper <drepper@redhat.com>
427 * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
428 determine the call will never trigger a failure.
429 * debug/read_chk.c (__read_chk): Always fail if the buffer is too
431 * debug/readlink_chk.c (__readlink_chk): Likewise.
432 * debug/pread64_chk.c (__pread64_chk): Likewise.
433 * debug/pread_chk.c (__pread_chk): Likewise.
435 * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
436 * sysdeps/x86_64/memset_chk.S: Likewise.
438 2005-02-24 Roland McGrath <roland@redhat.com>
440 * debug/Versions (libc: GLIBC_2.4): Remove
441 __memset_zero_constant_len_parameter.
442 * sysdeps/generic/memset_chk.c: Remove alias and warning.
443 * misc/sys/cdefs.h (__warndecl): New macro.
444 * debug/warning-nop.c: New file.
445 * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
446 arguments, instead of calling __memset_zero_constant_len_parameter.
447 Use __warndecl for __warn_memset_zero_len.
448 * debug/Makefile (routines): Add $(static-only-routines).
449 (static-only-routines): New variable.
451 2005-02-27 Ulrich Drepper <drepper@redhat.com>
453 * po/tr.po: Update from translation team.
455 2005-02-26 Ulrich Drepper <drepper@redhat.com>
457 * elf/dl-addr.c: Cleanups. Move declaration next to first use.
459 * dlfcn/dlerror.c (check_free): New function. Extract common code
460 from fini and free_key_mem. Check whether this is libdl in the
463 2005-02-25 Ulrich Drepper <drepper@redhat.com>
465 * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
468 2004-11-11 Richard Sandiford <rsandifo@redhat.com>
471 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
472 preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
473 like __NR_N32_open. Just include <asm/unistd.h> otherwise.
474 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
475 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
476 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
477 standard __NR prefix.
478 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
479 * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
480 the output file is compatible with both pre-2.6 and 2.6 kernel headers.
481 Extract separate syscall lists for each ABI.
483 2005-02-23 Ulrich Drepper <drepper@redhat.com>
485 * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
488 * elf/Makefile: Run tst-tls9-static again.
490 2005-02-22 Ulrich Drepper <drepper@redhat.com>
493 * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
495 (__libc_setup_tls): Initialize length of DTV based on array length.
496 * elf/dl-load.c: Revert last change.
497 * sysdeps/generic/dl-tls.c: Revert last change.
499 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
500 tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
501 tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
502 * posix/tst-execl1.c: New file.
503 * posix/tst-execl2.c: New file.
504 * posix/tst-execle1.c: New file.
505 * posix/tst-execle2.c: New file.
506 * posix/tst-execlp1.c: New file.
507 * posix/tst-execlp2.c: New file.
508 * posix/tst-execv1.c: New file.
509 * posix/tst-execv2.c: New file.
510 * posix/tst-execve1.c: New file.
511 * posix/tst-execve2.c: New file.
512 * posix/tst-execvp1.c: New file.
513 * posix/tst-execvp2.c: New file.
515 2005-02-22 Roland McGrath <roland@redhat.com>
517 * include/signal.h: Revert last change.
518 (__sigemptyset): Use __builtin_memset instead of memset.
520 2005-02-22 Ulrich Drepper <drepper@redhat.com>
522 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
523 non-cancelable I/O functions.
525 2005-02-22 Jakub Jelinek <jakub@redhat.com>
528 * nscd/nscd-client.h: Include sys/uio.h.
529 (__readall, __readvall, writeall): New prototypes.
530 * nscd/connections.c (writeall): New function.
531 (handle_request): Use it.
532 * nscd/aicache.c (addhstaiX): Likewise.
533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
534 * nscd/hstcache.c (cache_addhst): Likewise.
535 * nscd/grpcache.c (cache_addgr): Likewise.
536 * nscd/pwdcache.c (cache_addpw): Likewise.
537 * nscd/nscd_helper.c (__readall, __readvall): New functions.
538 * nscd/nscd_getai.c (__nscd_getai): Use them.
539 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
540 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
541 * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
542 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
544 2005-02-22 Roland McGrath <roland@redhat.com>
546 * include/sys/socket.h: Declare __recv.
547 * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
548 * sysdeps/mach/hurd/recv.c: Likewise.
550 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
554 (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR.
555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
557 * include/signal.h: Include <string.h> for memset decl.
559 2005-02-22 Andreas Schwab <schwab@suse.de>
561 * posix/execvp.c (execvp): Fix invalid free.
563 2005-02-22 Jakub Jelinek <jakub@redhat.com>
565 * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
566 * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
569 2005-02-21 Ulrich Drepper <drepper@redhat.com>
571 * iconvdata/ibm930.h: Correct Yen mapping.
572 * iconvdata/ibm939.h: Likewise.
573 * iconvdata/testdata/IBM930..UTF8: Adjust test data.
574 * iconvdata/testdata/IBM939..UTF8: Likewise.
575 Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
577 * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
578 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
579 (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
580 ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
581 ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
582 ibm1158.c, and ibm1158.h.
583 * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
584 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
585 * iconvdata/gconv-modules: Likewise.
586 * iconvdata/ibm1025.c: New file.
587 * iconvdata/ibm1025.h: New file.
588 * iconvdata/ibm1122.c: New file.
589 * iconvdata/ibm1122.h: New file.
590 * iconvdata/ibm1137.c: New file.
591 * iconvdata/ibm1137.h: New file.
592 * iconvdata/ibm1153.c: New file.
593 * iconvdata/ibm1153.h: New file.
594 * iconvdata/ibm1154.c: New file.
595 * iconvdata/ibm1154.h: New file.
596 * iconvdata/ibm1155.c: New file.
597 * iconvdata/ibm1155.h: New file.
598 * iconvdata/ibm1156.c: New file.
599 * iconvdata/ibm1156.h: New file.
600 * iconvdata/ibm1157.c: New file.
601 * iconvdata/ibm1157.h: New file.
602 * iconvdata/ibm1158.c: New file.
603 * iconvdata/ibm1158.h: New file.
604 * iconvdata/testdata/IBM1025: New file.
605 * iconvdata/testdata/IBM1025..UTF8: New file.
606 * iconvdata/testdata/IBM1122: New file.
607 * iconvdata/testdata/IBM1122..UTF8: New file.
608 * iconvdata/testdata/IBM1137: New file.
609 * iconvdata/testdata/IBM1137..UTF8: New file.
610 * iconvdata/testdata/IBM1153: New file.
611 * iconvdata/testdata/IBM1153..UTF8: New file.
612 * iconvdata/testdata/IBM1154: New file.
613 * iconvdata/testdata/IBM1154..UTF8: New file.
614 * iconvdata/testdata/IBM1155: New file.
615 * iconvdata/testdata/IBM1155..UTF8: New file.
616 * iconvdata/testdata/IBM1156: New file.
617 * iconvdata/testdata/IBM1156..UTF8: New file.
618 * iconvdata/testdata/IBM1157: New file.
619 * iconvdata/testdata/IBM1157..UTF8: New file.
620 * iconvdata/testdata/IBM1158: New file.
621 * iconvdata/testdata/IBM1158..UTF8: New file.
622 Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
624 2005-02-10 Paolo Bonzini <bonzini@gnu.org>
626 * posix/regcomp.c (lower_subexp): Do not optimize empty
627 subexpressions even with REG_NOSUB.
628 * posix/rxspencer/tests: Add a previously failing testcase.
630 2005-02-21 Alan Modra <amodra@bigpond.net.au>
633 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
634 array index is within bounds.
636 2005-02-21 Ulrich Drepper <drepper@redhat.com>
639 * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
641 * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
642 * elf/Makefile: Remove rules to build and run tst-tls9-static.
645 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
646 THREAD_DTV multiple times, this minimally reduces code size on
649 2005-02-21 Jakub Jelinek <jakub@redhat.com>
652 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
653 NETDB_INTERNAL if buffer is too small.
656 * nscd/hstcache.c (INCR): Remove.
657 (addhstbyX): Double buflen in each iteration rather than add INCR.
658 * nscd/grpcache.c: Likewise.
659 * nscd/pwdcache.c: Likewise.
661 2005-02-21 Ulrich Drepper <drepper@redhat.com>
663 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
665 * debug/chk_fail.c: Request backtrace and memory map dump.
667 * Versions.def: Add GLIBC_2.4 for libc.
668 * debug/fgets_chk.c: New file.
669 * debug/fgets_u_chk.c: New file.
670 * debug/getcwd_chk.c: New file.
671 * debug/getwd_chk.c: New file.
672 * debug/readlink_chk.c: New file.
673 * debug/read_chk.c: New file.
674 * debug/pread_chk.c: New file.
675 * debug/pread64_chk.c: New file.
676 * debug/recv_chk.c: New file.
677 * debug/recvfrom_chk.c: New file.
678 * debug/Versions: Add all new functions with version GLIBC_2.4.
679 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
680 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
681 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
682 * debug/tst-chk1.c: Add more tests.
683 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
684 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
685 * posix/unistd.h: Include <bits/unistd.h> for fortification.
686 * posix/bits/unistd.h: New file.
687 * posix/Makefile (headers): Add bits/unistd.h.
688 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
689 * socket/bits/socket2.h: New file.
690 * socket/Makefile (headers): Add bits/socket2.h.
692 * string/bits/string3.h: Extend memset macro to check for zero 3rd
693 parameter and use __memset_zero_constant_len_parameter in that case.
694 * sysdeps/generic/memset_chk.c: Add
695 __memset_zero_constant_len_parameter alias and linker warning.
696 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
697 with version GLIBC_2.4.
699 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
700 in __STD_TYPE definition.
702 2005-02-21 Jakub Jelinek <jakub@redhat.com>
704 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
705 the error message rather than program name.
707 2005-02-21 Ulrich Drepper <drepper@redhat.com>
710 * posix/unistd.h: symlink and readlink are unconditionally
711 available in the 2001 spec.
713 2005-02-16 Roland McGrath <roland@redhat.com>
715 * intl/dcigettext.c (_nl_find_msg): Add a cast.
717 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
718 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
719 * nis/nis_clone_res.c (nis_clone_result): Likewise.
721 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
722 for END_OF_MESSAGE and CP.
724 * resolv/res_send.c (send_dg): Add else branch for case impossible
725 unless `poll' is buggy.
727 * crypt/crypt_util.c (__setkey_r): Add a cast.
729 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
730 NBYTES, and unsigned char * for BYTES.
732 * locale/programs/charmap.c (charmap_new_char): Use size_t and
733 unsighed char * for NBYTES, BYTES parameters.
735 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
737 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
739 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
741 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
743 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
744 (authdes_marshal): Don't use unsigned int for LEN.
745 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
746 (xdr_u_hyper): Likewise.
747 (xdr_u_short): Don't use u_long for L.
748 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
750 * inet/rexec.c (rexec_af): Use socklen_t.
751 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
752 * sunrpc/rtime.c (rtime): Likewise.
753 * resolv/res_send.c (send_vc, send_dg): Likewise.
754 * nis/nis_callback.c (__nis_create_callback): Likewise.
756 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
760 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
762 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
763 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
764 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
765 * intl/bindtextdom.c (INTUSE): Macro removed.
766 (_nl_default_dirname): Use libc_hidden_proto.
767 (set_binding_values): Don't use INTUSE.
768 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
769 (_libc_intl_domainname): Use libc_hidden_proto.
770 * posix/regex_internal.h (gettext): Remove INTUSE on it.
771 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
773 * include/libintl.h (_): Don't use *_internal name.
775 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
777 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
779 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
782 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
784 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
785 * sysdeps/powerpc/powerpc32/dl-machine.h
786 (elf_machine_rel, elf_machine_rel_relative): Removed.
787 * sysdeps/powerpc/powerpc64/dl-machine.h
788 (elf_machine_rel, elf_machine_rel_relative): Removed.
790 2005-02-03 Alexandre Oliva <aoliva@redhat.com>
793 * elf/dynamic-link.h: Don't declare nested auto functions that are
794 not going to be defined.
796 2004-07-23 Jakub Jelinek <jakub@redhat.com>
799 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
800 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
802 2005-02-16 Roland McGrath <roland@redhat.com>
804 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
805 inside [! SHARED] where it's used.
807 2005-02-15 Ulrich Drepper <drepper@redhat.com>
809 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
810 functions and macros is unsigned.
812 2005-02-11 Barry deFrese <bddebian@comcast.net>
815 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
816 * sysdeps/mach/hurd/setresuid.c: Likewise.
818 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
820 * misc/sys/syslog.h: Fix typo in comment.
822 2005-02-14 Roland McGrath <roland@redhat.com>
825 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
826 if it wasn't originally.
828 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
830 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
832 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
833 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
835 2005-02-11 Jakub Jelinek <jakub@redhat.com>
837 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
840 2005-02-14 Alan Modra <amodra@bigpond.net.au>
842 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
843 with auto inline, and attribute always_inline.
844 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
845 (elf_machine_rel, elf_machine_rel_relative): Likewise.
846 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
847 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
848 (elf_machine_rel, elf_machine_rel_relative): Likewise.
849 (elf_machine_tprel): Likewise.
851 2005-02-14 Andreas Schwab <schwab@suse.de>
853 * manual/filesys.texi (Random Access Directory): Fix type of file
854 position value for telldir and seekdir.
855 (Attribute Meanings): Fix typo.
857 2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
859 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
861 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
862 if SHARED isn't defined.
863 * elf/Makefile (tests-static): Add tst-array1-static.
864 ($(objpfx)tst-array1-static.out): New target.
865 * elf/tst-array1-static.c: New file.
867 2005-02-11 Jakub Jelinek <jakub@redhat.com>
869 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
870 __libc_message to kill GCC warning about noreturn function returning.
872 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
873 before relocating ld.so again.
875 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
876 for already prelinked ld.so.
878 2005-02-11 Roland McGrath <roland@redhat.com>
881 * Makefile (installed-stubs): New variable.
882 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
883 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
884 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
885 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
887 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
888 * include/stubs-biarch.h: New file.
890 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
892 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
893 Emit defn for variable `biarch'.
895 * include/stub-tag.h: Update comment.
897 * scripts/soversions.awk: Fix default version set handling.
899 2005-02-09 Jakub Jelinek <jakub@redhat.com>
901 * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
902 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add __USE_MISC
903 and __USE_XOPEN guards to match linux/bits/termios.h.
905 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add __USE_MISC
906 and __USE_XOPEN guards to match linux/bits/termios.h.
908 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
909 and __USE_XOPEN guards to match linux/bits/termios.h.
911 2005-02-10 Roland McGrath <roland@redhat.com>
914 * include/libc-symbols.h (stub_warning): Emit a marker section called
915 .gnu.glibc-stub.NAME.
916 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
917 Use objdump to collect those marker section names.
918 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
920 * Rules (subdir_objs, subdir_stubs): New phony targets.
921 * Makefile (+subdir_targets): Add them.
923 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
926 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
927 Reported by H.J. Lu <hongjiu.lu@intel.com>.
929 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
932 2005-02-10 Jakub Jelinek <jakub@redhat.com>
934 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
935 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
936 * sysdeps/powerpc/bits/link.h: ... here. New file.
938 2005-02-09 Jakub Jelinek <jakub@redhat.com>
941 * stdlib/random_r.c (__initstate_r): Save old state.
942 * stdlib/Makefile (tests): Add tst-random2.
943 * stdlib/tst-random2.c: New test.
944 Reported by Peter Bergner <bergner@vnet.ibm.com>.
946 2005-01-25 H.J. Lu <hongjiu.lu@intel.com>
948 * dlfcn/dlfcn.c (init): Put it in .init_array section.
950 2005-02-10 Roland McGrath <roland@redhat.com>
953 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
955 Grok shlib-versions lines with WORDSIZE* in second column.
956 Add new leading column to output, DEFAULT for existing output lines.
957 Also emit lines with WORDSIZE* for alternate configurations.
958 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
959 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
960 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
961 of soversions.mk; replace inline shell script with use of ...
962 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
963 emit multiple sets of macros under #if.
964 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
965 (s390x-.*-.*): Likewise for s390.
966 (powerpc64-.*-.*): Likewise for powerpc.
967 (sparc64-.*-.*): Likewise for sparc.
968 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
969 for these mapping back to the above.
971 2005-02-08 Jakub Jelinek <jakub@redhat.com>
973 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
975 2005-02-08 Andreas Schwab <schwab@suse.de>
977 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
980 2005-02-07 Richard Henderson <rth@redhat.com>
982 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
984 2005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
986 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
989 2005-02-07 Ulrich Drepper <drepper@redhat.com>
991 * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
994 2005-01-07 Richard Henderson <rth@redhat.com>
996 * math/math_private.h (__copysign): Define as builtin for gcc 4.
997 (__copysignf, __copysignl): Likewise.
998 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
1000 (copysignf, copysignl, fabsf, fabs): Likewise.
1001 (__copysign, __copysignf, __copysignl): Remove.
1002 (__fabs, __fabsf): Remove.
1004 2005-01-07 Jakub Jelinek <jakub@redhat.com>
1007 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
1008 avoid writing to it if none of the standard search directories exist.
1010 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1014 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
1015 Load MSR as a doubleword.
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1017 (__novec_swapcontext, __swapcontext): Likewise.
1019 2005-02-07 Ulrich Drepper <drepper@redhat.com>
1021 * iconv/iconv_prog.c (main): Provide more help in case on an error.
1023 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
1025 2005-02-07 Jakub Jelinek <jakub@redhat.com>
1028 * nscd/nscd.c (termination_handler): Avoid segfault if some database
1032 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
1033 __nss_not_use_nscd_hosts and return -1.
1034 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
1035 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
1036 Avoid leaking sockets.
1038 2005-01-28 Andreas Schwab <schwab@suse.de>
1039 H.J. Lu <hongjiu.lu@intel.com>
1042 * elf/dl-runtime.c (fixup): Change return type to
1043 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
1044 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
1045 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
1046 store and retrieve relocation values.
1047 (profile_fixup): Likewise.
1048 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
1050 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
1051 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
1052 (DL_FIXUP_MAKE_VALUE): Likewise.
1053 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1054 (DL_FIXUP_VALUE_ADDR): Likewise.
1055 (DL_FIXUP_ADDR_VALUE): Likewise.
1056 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
1057 (DL_FIXUP_VALUE_TYPE): New.
1058 (DL_FIXUP_MAKE_VALUE): Likewise.
1059 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1060 (DL_FIXUP_VALUE_ADDR): Likewise.
1061 (DL_FIXUP_ADDR_VALUE): Likewise.
1062 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
1063 (elf_machine_profile_plt): Removed.
1064 (elf_machine_fixup_plt): Change return type and type of value
1065 parameter to struct fdesc.
1066 (elf_machine_plt_value): Likewise.
1067 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
1068 argument for elf_machine_fixup_plt.
1070 2005-02-07 Jakub Jelinek <jakub@redhat.com>
1073 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
1074 after the status string printed by killproc.
1076 2004-11-18 Alexandre Oliva <aoliva@redhat.com>
1078 * manual/.cvsignore: Add dir-add.texi.
1080 2005-02-06 Richard Henderson <rth@redhat.com>
1082 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
1085 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
1087 * configure.in (sysnames): Append sysdeps/generic for each add-on.
1088 * configure: Regenerated.
1090 2005-02-02 Alfred M. Szmidt <ams@gnu.org>
1092 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
1093 (dtv_t): Change pointer type to be a struct which also contains
1094 information whether the memory pointed to is static TLS or not.
1096 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
1098 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
1099 (FALSEP): ... this. Updated all references.
1102 * libio/fmemopen.c: Include <stdint.h>.
1104 2005-01-30 Ulrich Drepper <drepper@redhat.com>
1106 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
1107 * nscd/connections.c (send_ro_fd): Likewise.
1109 2005-01-28 H.J. Lu <hongjiu.lu@intel.com>
1111 * elf/tst-auditmod1.c: Add ia64 entries.
1112 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
1113 (La_ia64_retval): New.
1114 (audit_ifaces): Add ia64 entries.
1115 * sysdeps/ia64/bits/link.h: New file.
1116 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
1117 for dl_profile non-null.
1118 (ARCH_LA_PLTENTER): New.
1119 (ARCH_LA_PLTEXIT): New.
1120 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
1121 only 2 output registers. Allocate stack to save/restore
1122 8 incoming fp registers. Call _dl_fixup instead of fixup.
1123 (_dl_runtime_profile): Rewrite.
1125 2005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1127 * sysdeps/s390/bits/link.h: New file.
1128 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
1129 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
1130 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
1131 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
1133 (elf_machine_runtime_setup): Test for dl_profile non-null.
1134 (elf_machine_rela): Remove code using RESOLVE.
1135 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1136 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1137 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
1138 La_s390_64_regs, La_s390_64_retval): New.
1139 * elf/tst-auditmod1.c: Add s390 entries.
1142 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
1143 strncat, memchr, strcmp): Add missing memory clobber.
1145 2005-01-27 Ulrich Drepper <drepper@redhat.com>
1147 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
1148 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
1150 2005-01-27 Paolo Bonzini <bonzini@gnu.org>
1153 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
1154 Initialize the node sets in dfa->inveclosures.
1155 (analyze): Initialize inveclosures only if it is needed.
1156 Check errors from calc_inveclosure.
1157 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
1158 the inveclosure node set.
1159 * posix/regexec.c (re_search_internal): If nmatch includes unused
1160 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
1162 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
1163 Do build a SIMPLE_BRACKET token.
1165 * posix/regexec.c (transit_state_mb): Do not examine nodes
1166 where ACCEPT_MB is not set.
1168 2005-01-27 Jakub Jelinek <jakub@redhat.com>
1170 * stdlib/tst-fmtmsg.c: Include stdlib.h.
1171 * stdio-common/tst-fmemopen2.c: Include string.h.
1172 * posix/execvp.c: Include stdbool.h.
1174 2004-12-13 Paolo Bonzini <bonzini@gnu.org>
1176 Separate parsing and creation of the NFA. Avoided recursion on
1177 the (very unbalanced) parse tree.
1179 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
1180 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
1181 (optimize_subexps, duplicate_tree, calc_first, calc_next,
1182 mark_opt_subexp): Rewritten.
1183 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
1184 create_token_tree, free_tree, free_token): New.
1185 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
1186 postorder generic visitors. Do not initialize the fields in the
1187 re_dfa_t that represent the transitions.
1188 (free_dfa_content): Use free_token.
1189 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
1190 include optimization of subexpressions.
1191 (create_initial_state): Fetch the DFA node index from the first node's
1193 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
1194 Return on COMPLEX_BRACKET.
1195 (duplicate_node_closure): Fix comment.
1196 (duplicate_node): Do not initialize the fields in the
1197 re_dfa_t that represent the transitions.
1198 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
1199 (create_tree): Remove final argument. All callers adjusted. Rewritten
1200 to use create_token_tree.
1201 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
1202 build_charclass_op): Use create_tree or create_token_tree instead
1203 of re_dfa_add_tree_node.
1204 (parse_dup_op): Likewise. Also free the tree using free_tree for
1205 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
1206 to "a|". Adjust invocation of mark_opt_subexp.
1207 (parse_sub_exp): Create a single SUBEXP node.
1208 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
1209 always perform as if it was 1. Do not initialize OPT_SUBEXP and
1210 DUPLICATED, and initialize the DFA fields representing the transitions.
1211 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
1212 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
1213 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
1214 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
1215 NEXT into pointers to trees. Remove ECLOSURE.
1217 2004-12-28 Paolo Bonzini <bonzini@gnu.org >
1220 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
1221 that were already created.
1222 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
1223 in the token if needed.
1224 (create_ci_newstate, create_cd_newstate): Set accept_mb field
1225 from the tokens' field.
1226 * posix/regex_internal.h (re_token_t): Add accept_mb field.
1227 (ACCEPT_MB_NODE): Removed.
1228 * posix/regexec.c (proceed_next_node, transit_states_mb,
1229 build_sifted_states, check_arrival_add_next_nodes): Use
1230 accept_mb instead of ACCEPT_MB_NODE.
1232 2005-01-26 Ulrich Drepper <drepper@redhat.com>
1234 * debug/chk_fail.c (__chk_fail): Print program name in final message.
1236 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
1237 MSG_NOSIGNAL being in 2.2 kernels.
1239 2005-01-26 Jakub Jelinek <jakub@redhat.com>
1241 * sysdeps/unix/sysv/linux/i386/sysdep.h
1242 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
1245 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
1246 (WORD_DELIM_CONSTRAINT): ...this.
1247 (NOT_WORD_DELIM_CONSTRAINT): Define.
1248 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
1249 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
1250 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
1251 anchor instead of INSIDE_WORD.
1252 (parse_expression): Handle NOT_WORD_DELIM constraint.
1253 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
1254 being inside word instead of not word delim.
1255 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
1257 * posix/rxspencer/tests: Add some new tests.
1259 2005-01-14 GOTO Masanori <gotom@debian.or.jp>
1261 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
1262 irrespective of Cflag.
1264 * manual/memory.texi (sbrk): Fix definition.
1265 * manual/string.texi (strcasestr): Fix example typo.
1267 2005-01-25 Roland McGrath <roland@redhat.com>
1269 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
1271 2005-01-23 Roland McGrath <roland@redhat.com>
1274 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
1275 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
1276 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
1277 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
1278 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
1279 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
1281 2005-01-25 Jakub Jelinek <jakub@redhat.com>
1284 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
1285 (free_mem): Don't free string.
1286 * stdlib/tst-fmtmsg.c: Include string.h.
1287 (main): Add some more tests.
1289 2005-01-25 Andreas Schwab <schwab@suse.de>
1292 * timezone/asia: Update from tzdata2005c.
1293 * timezone/backward: Likewise.
1294 * timezone/europe: Likewise.
1295 * timezone/leapseconds: Likewise.
1296 * timezone/northamerica: Likewise.
1297 * timezone/southamerica: Likewise.
1300 * timezone/private.h: Update from tzcode2005c.
1301 * timezone/tzfile.h: Likewise.
1302 * timezone/zdump.c: Likewise.
1303 * timezone/zic.c: Likewise.
1305 2005-01-25 Ulrich Drepper <drepper@redhat.com>
1307 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
1309 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
1311 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
1313 2005-01-25 Alan Modra <amodra@bigpond.net.au>
1315 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
1316 sym_map, not sym, against zero.
1318 2005-01-24 Ulrich Drepper <drepper@redhat.com>
1321 * misc/syslog.c: Moved to...
1322 * sysdeps/generic/syslog.c: ...here.
1323 [NO_SIGIPE]: Don't install SIGPIPE handler.
1324 * sysdeps/unix/sysv/linux/syslog.c: New file.
1325 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1326 __ASSUME_MSG_NOSIGNAL.
1328 2005-01-22 Richard Henderson <rth@redhat.com>
1330 * sysdeps/alpha/dl-trampoline.S: New file.
1331 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
1332 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1333 (elf_machine_runtime_setup): Test for dl_profile non-null.
1334 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1335 * sysdeps/alpha/bits/link.h: New file.
1336 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
1337 (struct audit_ifaces): Add alpha entries.
1338 * elf/tst-auditmod1.c: Add alpha entries.
1340 2005-01-22 Ulrich Drepper <drepper@redhat.com>
1342 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
1343 * sysdeps/ia64/dl-trampoline.S: New file.
1345 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
1346 La_x86_64_xmm definition.
1348 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
1350 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
1351 CFLAGS-system.c for frame pointer option.
1353 2005-01-21 Roland McGrath <roland@redhat.com>
1355 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
1356 * sysdeps/i386/dl-machine.h: Update decl.
1358 2005-01-21 Jakub Jelinek <jakub@redhat.com>
1361 * elf/Makefile: Add rules to build and run tst-align2.
1362 * elf/tst-align2.c: New test.
1363 * elf/tst-alignmod2.c: New file.
1364 * sysdeps/powerpc/tst-stack-align.h: New file.
1365 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
1366 pointer before calling _dl_init.
1367 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1369 2005-01-20 Ulrich Drepper <drepper@redhat.com>
1371 * posix/execl.c: Do not allocate potentially large buffers on the
1373 * posix/execle.c: Likewise.
1374 * posix/execlp.c: Likewise.
1375 * posix/execvp.c: Likewise.
1376 (script_execute): Removed.
1377 (allocate_scripts_argv): New function. Called at most once to
1378 allocate memory, not every time a script is run. Adjust caller.
1380 * sysdeps/generic/wordexp.c (exec_comm): Add a few
1381 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
1383 (exec_comm_child): Can now be inlined.
1385 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
1386 * stdlib/Makefile: Likewise.
1388 2005-01-19 Roland McGrath <roland@redhat.com>
1391 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
1393 Reported by Marcus Meissner <meissner@suse.de>.
1395 2005-01-19 Jakub Jelinek <jakub@redhat.com>
1397 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
1399 * iconv/strtab.c (strtabfinalize): Likewise.
1401 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
1403 2005-01-17 Roland McGrath <roland@redhat.com>
1406 * nscd/Makefile (LDLIBS-nscd): New variable.
1407 ($(objpfx)nscd): Use that instead of selinux-LIBS.
1409 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
1410 (link-extra-libs-static): Define to $(link-extra-libs).
1411 (link-extra-libs-bounded): Likewise.
1413 2005-01-17 Ulrich Drepper <drepper@redhat.com>
1415 * include/link.h: Remove stray definition of pltenter.
1417 2005-01-16 GOTO Masanori <gotom@debian.or.jp>
1420 * sysdeps/unix/rewinddir.c: Reset filepos.
1421 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
1423 2005-01-15 Ulrich Drepper <drepper@redhat.com>
1425 * elf/tst-auditmod1.c: Reduce duplication.
1427 2005-01-16 Andreas Schwab <schwab@suse.de>
1429 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
1430 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1431 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1432 GLRO(dl_profile) != NULL.
1433 * sysdeps/m68k/dl-trampoline.S: New file.
1434 * sysdeps/m68k/bits/link.h: New file.
1435 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
1437 * elf/tst-auditmod1.c: Add m68k support.
1439 2005-01-14 Ulrich Drepper <drepper@redhat.com>
1441 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
1442 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
1445 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
1446 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
1448 2005-01-12 Ulrich Drepper <drepper@redhat.com>
1450 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
1451 callers from libc anymore.
1453 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
1454 to _dl_map_object_deps.
1455 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
1456 protections when loading auditing modules.
1458 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
1460 * posix/getconf.c: Update copyright year.
1461 * nss/getent.c: Likewise.
1462 * nscd/nscd_nischeck.c: Likewise.
1463 * iconv/iconvconfig.c: Likewise.
1464 * iconv/iconv_prog.c: Likewise.
1465 * elf/ldconfig.c: Likewise.
1466 * catgets/gencat.c: Likewise.
1467 * csu/version.c: Likewise.
1468 * elf/ldd.bash.in: Likewise.
1469 * elf/sprof.c (print_version): Likewise.
1470 * locale/programs/locale.c: Likewise.
1471 * locale/programs/localedef.c: Likewise.
1472 * nscd/nscd.c (print_version): Likewise.
1473 * debug/xtrace.sh: Likewise.
1474 * malloc/memusage.sh: Likewise.
1475 * malloc/mtrace.pl: Likewise.
1476 * debug/catchsegv.sh: Likewise.
1478 2005-01-11 Thorsten Kukuk <kukuk@suse.de>
1481 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
1483 * sunrpc/svc_unix.c (svcunix_create): Likewise.
1485 * grp/putgrent.c (putgrent): Don't write 0 as group
1486 ID if groupname starts with + or -.
1487 * pwd/putpwent.c (putpwent): Don't write 0 as user or
1488 group ID if user name starts with + or -.
1490 2005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1492 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
1493 * sysdeps/elf/tst-auditmod1.c: Add sh support.
1494 * sysdeps/sh/bits/link.h: New.
1495 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
1496 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
1497 (RTLD_START): Define __fpscr_values.
1498 * sysdeps/sh/dl-trampoline.S: New file.
1499 * sysdeps/sh/sh4/dl-trampoline.S: New file.
1500 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
1501 * sysdeps/sh/sh4/dl-machine.h: Remove.
1503 2005-01-10 Jakub Jelinek <jakub@redhat.com>
1506 * time/tst-strptime.c (day_tests): Add 2 new tests.
1507 (test_tm, main): Issue an error instead of segfaulting if
1508 strptime returns NULL.
1510 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
1512 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
1513 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
1515 2005-01-11 Ulrich Drepper <drepper@redhat.com>
1517 * malloc/malloc.h: Remove no-glibc support.
1519 2005-01-12 GOTO Masanori <gotom@debian.or.jp>
1522 * malloc/malloc.h: Always include features.h.
1524 2005-01-10 Roland McGrath <roland@redhat.com>
1526 * sysdeps/ia64/fpu/e_logl.c: File removed.
1528 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
1530 2005-01-10 Ulrich Drepper <drepper@redhat.com>
1532 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
1533 recognition of last entry.
1535 2005-01-09 Ulrich Drepper <drepper@redhat.com>
1537 * elf/dl-runtime.c: Include <sys/param.h>.
1539 * elf/Makefile (headers): Add bits/link.h.
1541 2005-01-09 Andreas Schwab <schwab@suse.de>
1543 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
1545 2005-01-09 Andreas Jaeger <aj@suse.de>
1548 * time/strptime_l.c (__strptime_internal): Add braces to avoid
1551 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
1553 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
1555 2005-01-08 Jakub Jelinek <jakub@redhat.com>
1557 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
1559 2005-01-09 Ulrich Drepper <drepper@redhat.com>
1561 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
1562 those of all the regular objects.
1564 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
1565 use it to select the r_debug structure for that namespace.
1566 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
1567 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1568 * elf/dl-open.c (_dl_open): Likewise.
1569 * elf/rtld.c (dl_main): Likewise.
1570 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
1572 (_dl_debug_initialize): Add new parameter in declaration.
1574 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
1575 called for the auditing objects themselves.
1576 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1578 2005-01-07 Ulrich Drepper <drepper@redhat.com>
1580 * sysdeps/powerpc/powerpc64/dl-machine.h
1581 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1582 GLRO(dl_profile) != NULL.
1583 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
1585 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
1586 Extend _dl_prof_resolve to add pass extra parameters to
1587 _dl_profile_fixup and set up structure with register content.
1589 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
1590 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
1591 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
1592 Extend _dl_prof_resolve to add pass extra parameters to
1593 _dl_profile_fixup and set up structure with register content.
1594 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
1595 the register and result structures.
1596 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
1597 in the 32-bit register and result structures.
1599 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
1601 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
1602 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
1603 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1604 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
1605 * elf/tst-auditmod1.c: Add ppc32 support.
1606 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
1607 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
1609 * malloc/malloc.c (malloc_printerr): Print program name as part of
1612 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
1613 * stdlib/stdlib.h: Make realloc with
1614 __attribute_warn_unused_result__ instead of __wur.
1615 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
1616 markers as in <stdlib.h>.
1618 * libio/stdio.h: Remove __wur from rename and remove.
1619 * posix/unistd.h: Remove __wur from dup2.
1621 2005-01-03 Andreas Jaeger <aj@suse.de>
1623 * elf/Makefile (tests): Revert patch from 2005-01-03.
1625 2005-01-07 Ulrich Drepper <drepper@redhat.com>
1627 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
1628 make __libc_init_first hidden.
1630 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
1631 l_relocated of rtld map.
1632 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
1633 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
1634 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1635 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
1636 * elf/tst-auditmod1.c: Add ppc64 support.
1637 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
1639 2005-01-06 Roland McGrath <roland@redhat.com>
1642 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
1643 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
1645 2005-01-06 Ulrich Drepper <drepper@redhat.com>
1647 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
1648 * sysdeps/generic/libc-start.c: Don't register program destructor here.
1650 * dlfcn/Makefile: Add rules to build dlfcn.c.
1651 (LDFLAGS-dl.so): Removed.
1652 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
1654 * dlfcn/dlmopen.c: Likewise for _dl_open.
1655 * dlfcn/dlopen.c: Likewise.
1656 * dlfcn/dlopenold.c: Likewise.
1657 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
1658 * elf/Makefile (routines): Remove dl-open and dl-close.
1659 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
1660 Add rules to build and run tst-audit1.
1661 * elf/tst-audit1.c: New file.
1662 * elf/tst-auditmod1.c: New file.
1663 * elf/Versions [libc]: Remove _dl_open and _dl_close.
1664 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
1665 * elf/dl-open.c: Likewise.
1666 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
1667 signaled by nonzero parameter.
1668 * elf/dl-init.c: Fix use of r_state.
1669 * elf/dl-load.c: Likewise.
1671 * elf/dl-close.c: Add auditing checkpoints.
1672 * elf/dl-open.c: Likewise.
1673 * elf/dl-fini.c: Likewise.
1674 * elf/dl-load.c: Likewise.
1675 * elf/dl-sym.c: Likewise.
1676 * sysdeps/generic/libc-start.c: Likewise.
1677 * elf/dl-object.c: Allocate memory for auditing information.
1678 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
1679 Correctly initialize slotinfo.
1680 * elf/dynamic-link.h: Adjust after removal of RESOLV.
1681 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
1682 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
1683 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
1684 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
1685 (_dl_profile_fixup): New parameters to point to register struct and
1686 variable for frame size.
1687 Add auditing checkpoints.
1688 (_dl_call_pltexit): New function.
1689 Don't define trampoline code here.
1690 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
1691 Remove all the functions from _rtld_global_ro which only _dl_open
1692 and _dl_close needed.
1693 Add auditing checkpoints.
1694 * elf/link.h: Define symbols for auditing interfaces.
1695 * include/link.h: Likewise.
1696 * include/dlfcn.h: Define __RTLD_AUDIT.
1697 Remove prototypes for _dl_open and _dl_close.
1698 Adjust access to argc and argv in libdl.
1699 * dlfcn/dlfcn.c: New file.
1700 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
1702 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
1703 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
1704 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
1705 Adjust for removal of RESOLVE.
1706 * sysdeps/x86_64/dl-machine.h: Likewise.
1707 * sysdeps/generic/dl-trampoline.c: New file.
1708 * sysdeps/i386/dl-trampoline.c: New file.
1709 * sysdeps/x86_64/dl-trampoline.c: New file.
1711 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
1712 Fix updating of DTV.
1713 * sysdeps/generic/libc-tls.c: Likewise.
1715 * sysdeps/arm/bits/link.h: Renamed to ...
1716 * sysdeps/arm/bits/linkmap.h: ...this.
1717 * sysdeps/generic/bits/link.h: Renamed to...
1718 * sysdeps/generic/bits/linkmap.h: ...this.
1719 * sysdeps/hppa/bits/link.h: Renamed to...
1720 * sysdeps/hppa/bits/linkmap.h: ...this.
1721 * sysdeps/i386/bits/link.h: Renamed to...
1722 * sysdeps/i386/bits/linkmap.h: ...this.
1723 * sysdeps/ia64/bits/link.h: Renamed to...
1724 * sysdeps/ia64/bits/linkmap.h: ...this.
1725 * sysdeps/s390/bits/link.h: Renamed to...
1726 * sysdeps/s390/bits/linkmap.h: ...this.
1727 * sysdeps/sh/bits/link.h: Renamed to...
1728 * sysdeps/sh/bits/linkmap.h: ...this.
1729 * sysdeps/x86_64/bits/link.h: Renamed to...
1730 * sysdeps/x86_64/bits/linkmap.h: ...this.
1732 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
1734 2004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
1737 * math/libm-test.inc (rint_test_tonearest): New test.
1738 (rint_test_towardzero): New test.
1739 (rint_test_downward): New test.
1740 (rint_test_upward): New test.
1741 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
1742 Remove redundant const values.
1743 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
1744 Remove redundant const values. Use float const.
1745 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
1746 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
1748 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
1749 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
1751 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
1752 Remove redundant const values.
1753 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
1754 Remove redundant const values. Use float const.
1755 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
1756 Remove redundant const values.
1757 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
1758 Remove redundant const values. Use float const.
1759 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
1760 alignment. Fix -0.0 case. Remove redundant const values.
1761 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
1762 alignment. Fix -0.0 case. Remove redundant const values.
1764 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
1765 alignment. Fix -0.0 case.
1766 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
1767 alignment. Fix -0.0 case. Use float const.
1768 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
1769 alignment. Fix -0.0 case.
1770 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
1771 alignment. Fix -0.0 case. Use float const.
1772 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
1773 alignment. Fix -0.0 case. Remove redundant const values.
1774 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
1775 alignment. Fix -0.0 case. Remove redundant const values.
1777 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
1778 alignment. Fix -0.0 case.
1779 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
1780 alignment. Fix -0.0 case. Remove redundant const values.
1783 2005-01-06 Ulrich Drepper <drepper@redhat.com>
1785 * misc/sys/cdefs.h: Define __wur.
1786 * libio/stdio.h: Use __wur for a number of interfaces.
1787 * posix/unistd.h: Likewise.
1788 * stdlib/stdlib.h: Likewise.
1790 2004-12-29 Jakub Jelinek <jakub@redhat.com>
1793 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
1794 libc_hidden_proto instead of HIDDEN_PROTO.
1795 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
1796 (__libm_error_support): If ASSEMBLER and in libc, define to
1797 HIDDEN_JUMPTARGET(__libm_error_support).
1799 2004-12-28 David Mosberger <davidm@hpl.hp.com>
1802 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
1803 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
1804 with $(duplicated-routines).
1805 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
1808 2004-12-27 David Mosberger <davidm@hpl.hp.com>
1811 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
1812 undefine "ret" macro. Add __libm_error_support hidden definitions.
1815 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
1816 missing portion of copyright statement.
1817 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1818 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1821 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
1822 missing portion of copyright statement.
1823 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
1824 (__ieee754_gamma): Likewise.
1825 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1826 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1828 2004-12-09 H. J. Lu <hjl@lucon.org>
1831 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
1832 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
1833 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
1834 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
1835 * sysdeps/ia64/fpu/e_expl.S: Likewise.
1836 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
1838 2004-11-18 David Mosberger <davidm@hpl.hp.com>
1841 * sysdeps/ia64/fpu/README: New file.
1842 * sysdeps/ia64/fpu/gen_import_file_list: New file.
1843 * sysdeps/ia64/fpu/import_check: Likewise.
1844 * sysdeps/ia64/fpu/import_diffs: Likewise.
1845 * sysdeps/ia64/fpu/import_file.awk: Likewise.
1846 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
1847 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1850 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
1851 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
1852 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1853 * sysdeps/ia64/fpu/e_asin.S: Likewise.
1854 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1855 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1856 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1857 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1858 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1859 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1860 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1861 * sysdeps/ia64/fpu/e_exp.S: Likewise.
1862 * sysdeps/ia64/fpu/e_expf.S: Likewise.
1863 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1864 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1865 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1866 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1867 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1868 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1869 * sysdeps/ia64/fpu/e_log.S: Likewise.
1870 * sysdeps/ia64/fpu/e_log2.S: Likewise.
1871 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1872 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1873 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1874 * sysdeps/ia64/fpu/e_pow.S: Likewise.
1875 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1876 * sysdeps/ia64/fpu/e_powl.S: Likewise.
1877 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1878 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1879 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1880 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1881 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1882 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1883 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1884 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1885 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1886 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1887 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1888 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1889 * sysdeps/ia64/fpu/libm_error.c: Likewise.
1890 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
1891 * sysdeps/ia64/fpu/libm_support.h: Likewise.
1892 * sysdeps/ia64/fpu/s_atan.S: Likewise.
1893 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1894 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1895 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
1896 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1897 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1898 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
1899 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
1900 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
1901 * sysdeps/ia64/fpu/s_cos.S: Likewise.
1902 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1903 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1904 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1905 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1906 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
1907 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
1908 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
1909 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
1910 * sysdeps/ia64/fpu/s_floor.S: Likewise.
1911 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
1912 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
1913 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
1914 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
1915 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
1916 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
1917 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
1918 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
1919 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1920 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
1921 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
1922 * sysdeps/ia64/fpu/s_logb.S: Likewise.
1923 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
1924 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
1925 * sysdeps/ia64/fpu/s_modf.S: Likewise.
1926 * sysdeps/ia64/fpu/s_modff.S: Likewise.
1927 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
1928 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
1929 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
1930 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
1931 * sysdeps/ia64/fpu/s_rint.S: Likewise.
1932 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
1933 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
1934 * sysdeps/ia64/fpu/s_round.S: Likewise.
1935 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
1936 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
1937 * sysdeps/ia64/fpu/s_significand.S: Likewise.
1938 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
1939 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
1940 * sysdeps/ia64/fpu/s_tan.S: Likewise.
1941 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1942 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
1943 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
1944 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
1945 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
1948 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
1949 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
1950 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1951 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1952 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
1953 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
1954 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1955 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1956 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
1957 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1958 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1959 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
1960 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
1961 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
1962 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
1963 * sysdeps/ia64/fpu/e_logl.S: Likewise.
1964 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
1965 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
1966 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
1967 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
1968 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
1969 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
1970 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
1971 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
1972 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
1973 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1974 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1975 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1976 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1977 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1978 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1979 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1980 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
1981 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1982 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
1983 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
1984 * sysdeps/ia64/fpu/s_erf.S: Likewise.
1985 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1986 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1987 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1988 * sysdeps/ia64/fpu/s_erff.S: Likewise.
1989 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
1990 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
1991 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
1992 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
1993 * sysdeps/ia64/fpu/s_fma.S: Likewise.
1994 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
1995 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
1996 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
1997 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
1998 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
1999 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
2000 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
2001 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
2002 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
2003 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
2004 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
2005 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
2006 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
2007 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
2008 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
2009 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
2010 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
2011 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
2012 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
2013 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2014 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2015 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2016 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2017 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2020 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
2021 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
2022 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
2023 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2024 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2025 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2026 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2027 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2028 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2029 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2030 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2031 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2032 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2033 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2034 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2035 * sysdeps/ia64/fpu/w_expl.c: Likewise.
2036 * sysdeps/ia64/fpu/e_expl.S: Likewise.
2037 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2038 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2039 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2040 * sysdeps/ia64/fpu/w_log2.c: Likewise.
2041 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2042 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2043 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2044 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2045 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2048 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
2049 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
2050 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
2051 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
2052 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
2053 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
2054 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
2057 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
2058 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
2059 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
2062 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
2065 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
2066 alias for use by libm_error.c
2069 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
2070 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
2071 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
2072 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
2073 libm_scalbn{,f,l}, libm_scalblnf.
2074 (sysdep_routines): Remove libm_frexp4{,f,l}.
2075 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
2076 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
2077 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
2078 -DSIZE_LONG_LONG_INT_64.
2080 2005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
2083 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
2084 l_text_end are set for a VDSO with a single PT_LOAD entry.
2086 2005-01-05 Ulrich Drepper <drepper@redhat.com>
2089 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
2090 invalid to disable optimizations in fileops which won't work here.
2091 (_IO_cookie_jumps): Use it.
2092 (_IO_old_cookie_jumps): Likewise.
2093 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
2094 not the return value.
2095 * stdio-common/Makefile (tests): Add tst-fmemopen2.
2096 * stdio-common/tst-fmemopen2.c: New file.
2098 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
2100 2005-01-05 Roland McGrath <roland@redhat.com>
2102 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
2103 * sysdeps/i386/configure.in: ... here. New file.
2105 2005-01-03 Ulrich Drepper <drepper@redhat.com>
2108 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
2109 initialize __environ again.
2110 * stdlib/Makefile: Add rules to build and run tst-putenv.
2111 * stdlib/tst-putenv.c: New file.
2112 * stdlib/tst-putenvmod.c: New file.
2114 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
2115 define unnecessary wrappers or aliases of static functions.
2117 2005-01-03 Andreas Jaeger <aj@suse.de>
2119 * csu/Makefile (generated): Add start.os and start.ob.
2121 * elf/Makefile (tests): Change rule for tst-pie1 so that make
2124 2004-12-29 Roland McGrath <roland@redhat.com>
2127 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
2128 than always up; when nearest is zero, round up to one.
2130 2004-12-28 Ulrich Drepper <drepper@redhat.com>
2132 * po/es.po: Update from translation team.
2135 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
2137 2004-12-27 Ulrich Drepper <drepper@redhat.com>
2140 * include/signal.h: Define __sigemptyset.
2142 2004-04-27 Paolo Bonzini <bonzini@gnu.org>
2144 * posix/regex_internal.h (struct re_dfastate_t): Make
2145 word_trtable a pointer to the 512-item transition table.
2146 * posix/regexec.c (build_trtable): Fill in either state->trtable
2147 or state->word_trtable. Return a boolean indicating success.
2148 (transit_state): Expect state->trtable to be a 256-item
2149 transition table. Reorganize code to have less tests in
2150 the common case, and to save an indentation level.
2151 * posix/regex_internal.c (free_state): Free word_trtable.
2153 2004-12-21 Jakub Jelinek <jakub@redhat.com>
2156 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
2157 calling fn is 16 byte aligned.
2158 * sysdeps/i386/tst-stack-align.h: New file.
2161 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2162 (ecvt_r): Special case denormals.
2163 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2164 * misc/tst-efgcvt.c: Include float.h.
2165 (ecvt_tests): Add 2 new tests.
2167 2004-12-20 Roland McGrath <roland@frob.com>
2169 * version.h (RELEASE, VERSION): development, 2.3.90
2170 * include/features.h (__GLIBC_MINOR__): Now 4.
2173 See ChangeLog.15 for earlier changes.