1 2005-02-21 Jakub Jelinek <jakub@redhat.com>
3 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
4 NETDB_INTERNAL if buffer is too small.
6 * nscd/hstcache.c (INCR): Remove.
7 (addhstbyX): Double buflen in each iteration rather than add INCR.
8 * nscd/grpcache.c: Likewise.
9 * nscd/pwdcache.c: Likewise.
11 2005-02-21 Ulrich Drepper <drepper@redhat.com>
13 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
15 * debug/chk_fail.c: Request backtrace and memory map dump.
17 * Versions.def: Add GLIBC_2.4 for libc.
18 * debug/fgets_chk.c: New file.
19 * debug/fgets_u_chk.c: New file.
20 * debug/getcwd_chk.c: New file.
21 * debug/getwd_chk.c: New file.
22 * debug/readlink_chk.c: New file.
23 * debug/read_chk.c: New file.
24 * debug/pread_chk.c: New file.
25 * debug/pread64_chk.c: New file.
26 * debug/recv_chk.c: New file.
27 * debug/recvfrom_chk.c: New file.
28 * debug/Versions: Add all new functions with version GLIBC_2.4.
29 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
30 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
31 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
32 * debug/tst-chk1.c: Add more tests.
33 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
34 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
35 * posix/unistd.h: Include <bits/unistd.h> for fortification.
36 * posix/bits/unistd.h: New file.
37 * posix/Makefile (headers): Add bits/unistd.h.
38 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
39 * socket/bits/socket2.h: New file.
40 * socket/Makefile (headers): Add bits/socket2.h.
42 * string/bits/string3.h: Extend memset macro to check for zero 3rd
43 parameter and use __memset_zero_constant_len_parameter in that case.
44 * sysdeps/generic/memset_chk.c: Add
45 __memset_zero_constant_len_parameter alias and linker warning.
46 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
47 with version GLIBC_2.4.
49 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
50 in __STD_TYPE definition.
52 2005-02-21 Jakub Jelinek <jakub@redhat.com>
54 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
55 the error message rather than program name.
57 2005-02-21 Ulrich Drepper <drepper@redhat.com>
59 * posix/unistd.h: symlink and readlink are unconditionally
60 available in the 2001 spec.
62 2005-02-16 Roland McGrath <roland@redhat.com>
64 * intl/dcigettext.c (_nl_find_msg): Add a cast.
66 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
67 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
68 * nis/nis_clone_res.c (nis_clone_result): Likewise.
70 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
71 for END_OF_MESSAGE and CP.
73 * resolv/res_send.c (send_dg): Add else branch for case impossible
74 unless `poll' is buggy.
76 * crypt/crypt_util.c (__setkey_r): Add a cast.
78 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
79 NBYTES, and unsigned char * for BYTES.
81 * locale/programs/charmap.c (charmap_new_char): Use size_t and
82 unsighed char * for NBYTES, BYTES parameters.
84 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
86 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
88 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
90 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
92 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
93 (authdes_marshal): Don't use unsigned int for LEN.
94 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
95 (xdr_u_hyper): Likewise.
96 (xdr_u_short): Don't use u_long for L.
97 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
99 * inet/rexec.c (rexec_af): Use socklen_t.
100 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
101 * sunrpc/rtime.c (rtime): Likewise.
102 * resolv/res_send.c (send_vc, send_dg): Likewise.
103 * nis/nis_callback.c (__nis_create_callback): Likewise.
105 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
109 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
111 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
112 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
113 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
114 * intl/bindtextdom.c (INTUSE): Macro removed.
115 (_nl_default_dirname): Use libc_hidden_proto.
116 (set_binding_values): Don't use INTUSE.
117 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
118 (_libc_intl_domainname): Use libc_hidden_proto.
119 * posix/regex_internal.h (gettext): Remove INTUSE on it.
120 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
122 * include/libintl.h (_): Don't use *_internal name.
124 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
126 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
128 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
131 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
133 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
134 * sysdeps/powerpc/powerpc32/dl-machine.h
135 (elf_machine_rel, elf_machine_rel_relative): Removed.
136 * sysdeps/powerpc/powerpc64/dl-machine.h
137 (elf_machine_rel, elf_machine_rel_relative): Removed.
139 2005-02-03 Alexandre Oliva <aoliva@redhat.com>
142 * elf/dynamic-link.h: Don't declare nested auto functions that are
143 not going to be defined.
145 2004-07-23 Jakub Jelinek <jakub@redhat.com>
148 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
149 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
151 2005-02-16 Roland McGrath <roland@redhat.com>
153 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
154 inside [! SHARED] where it's used.
156 2005-02-15 Ulrich Drepper <drepper@redhat.com>
158 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
159 functions and macros is unsigned.
161 2005-02-11 Barry deFrese <bddebian@comcast.net>
164 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
165 * sysdeps/mach/hurd/setresuid.c: Likewise.
167 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
169 * misc/sys/syslog.h: Fix typo in comment.
171 2005-02-14 Roland McGrath <roland@redhat.com>
174 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
175 if it wasn't originally.
177 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
179 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
181 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
182 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
184 2005-02-11 Jakub Jelinek <jakub@redhat.com>
186 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
189 2005-02-14 Alan Modra <amodra@bigpond.net.au>
191 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
192 with auto inline, and attribute always_inline.
193 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
194 (elf_machine_rel, elf_machine_rel_relative): Likewise.
195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
196 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
197 (elf_machine_rel, elf_machine_rel_relative): Likewise.
198 (elf_machine_tprel): Likewise.
200 2005-02-14 Andreas Schwab <schwab@suse.de>
202 * manual/filesys.texi (Random Access Directory): Fix type of file
203 position value for telldir and seekdir.
204 (Attribute Meanings): Fix typo.
206 2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
208 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
210 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
211 if SHARED isn't defined.
212 * elf/Makefile (tests-static): Add tst-array1-static.
213 ($(objpfx)tst-array1-static.out): New target.
214 * elf/tst-array1-static.c: New file.
216 2005-02-11 Jakub Jelinek <jakub@redhat.com>
218 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
219 __libc_message to kill GCC warning about noreturn function returning.
221 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
222 before relocating ld.so again.
224 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
225 for already prelinked ld.so.
227 2005-02-11 Roland McGrath <roland@redhat.com>
230 * Makefile (installed-stubs): New variable.
231 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
232 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
233 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
234 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
236 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
237 * include/stubs-biarch.h: New file.
239 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
241 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
242 Emit defn for variable `biarch'.
244 * include/stub-tag.h: Update comment.
246 * scripts/soversions.awk: Fix default version set handling.
248 2005-02-10 Roland McGrath <roland@redhat.com>
251 * include/libc-symbols.h (stub_warning): Emit a marker section called
252 .gnu.glibc-stub.NAME.
253 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
254 Use objdump to collect those marker section names.
255 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
257 * Rules (subdir_objs, subdir_stubs): New phony targets.
258 * Makefile (+subdir_targets): Add them.
260 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
263 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
264 Reported by H.J. Lu <hongjiu.lu@intel.com>.
266 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
269 2005-02-10 Jakub Jelinek <jakub@redhat.com>
271 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
272 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
273 * sysdeps/powerpc/bits/link.h: ... here. New file.
275 2005-02-09 Jakub Jelinek <jakub@redhat.com>
278 * stdlib/random_r.c (__initstate_r): Save old state.
279 * stdlib/Makefile (tests): Add tst-random2.
280 * stdlib/tst-random2.c: New test.
281 Reported by Peter Bergner <bergner@vnet.ibm.com>.
283 2005-01-25 H.J. Lu <hongjiu.lu@intel.com>
285 * dlfcn/dlfcn.c (init): Put it in .init_array section.
287 2005-02-10 Roland McGrath <roland@redhat.com>
290 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
292 Grok shlib-versions lines with WORDSIZE* in second column.
293 Add new leading column to output, DEFAULT for existing output lines.
294 Also emit lines with WORDSIZE* for alternate configurations.
295 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
296 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
297 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
298 of soversions.mk; replace inline shell script with use of ...
299 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
300 emit multiple sets of macros under #if.
301 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
302 (s390x-.*-.*): Likewise for s390.
303 (powerpc64-.*-.*): Likewise for powerpc.
304 (sparc64-.*-.*): Likewise for sparc.
305 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
306 for these mapping back to the above.
308 2005-02-08 Jakub Jelinek <jakub@redhat.com>
310 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
312 2005-02-08 Andreas Schwab <schwab@suse.de>
314 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
317 2005-02-07 Richard Henderson <rth@redhat.com>
319 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
321 2005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
323 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
326 2005-02-07 Ulrich Drepper <drepper@redhat.com>
328 * elf/dl-load.c (_dl_map_object_from_fd): Makre sure registers are
331 2005-01-07 Richard Henderson <rth@redhat.com>
333 * math/math_private.h (__copysign): Define as builtin for gcc 4.
334 (__copysignf, __copysignl): Likewise.
335 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
337 (copysignf, copysignl, fabsf, fabs): Likewise.
338 (__copysign, __copysignf, __copysignl): Remove.
339 (__fabs, __fabsf): Remove.
341 2005-01-07 Jakub Jelinek <jakub@redhat.com>
344 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
345 avoid writing to it if none of the standard search directories exist.
347 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
351 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
352 Load MSR as a doubleword.
353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
354 (__novec_swapcontext, __swapcontext): Likewise.
356 2005-02-07 Ulrich Drepper <drepper@redhat.com>
358 * iconv/iconv_prog.c (main): Provide more help in case on an error.
360 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
362 2005-02-07 Jakub Jelinek <jakub@redhat.com>
365 * nscd/nscd.c (termination_handler): Avoid segfault if some database
369 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
370 __nss_not_use_nscd_hosts and return -1.
371 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
372 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
373 Avoid leaking sockets.
375 2005-01-28 Andreas Schwab <schwab@suse.de>
376 H.J. Lu <hongjiu.lu@intel.com>
379 * elf/dl-runtime.c (fixup): Change return type to
380 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
381 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
382 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
383 store and retrieve relocation values.
384 (profile_fixup): Likewise.
385 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
387 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
388 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
389 (DL_FIXUP_MAKE_VALUE): Likewise.
390 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
391 (DL_FIXUP_VALUE_ADDR): Likewise.
392 (DL_FIXUP_ADDR_VALUE): Likewise.
393 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
394 (DL_FIXUP_VALUE_TYPE): New.
395 (DL_FIXUP_MAKE_VALUE): Likewise.
396 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
397 (DL_FIXUP_VALUE_ADDR): Likewise.
398 (DL_FIXUP_ADDR_VALUE): Likewise.
399 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
400 (elf_machine_profile_plt): Removed.
401 (elf_machine_fixup_plt): Change return type and type of value
402 parameter to struct fdesc.
403 (elf_machine_plt_value): Likewise.
404 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
405 argument for elf_machine_fixup_plt.
407 2005-02-07 Jakub Jelinek <jakub@redhat.com>
410 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
411 after the status string printed by killproc.
413 2004-11-18 Alexandre Oliva <aoliva@redhat.com>
415 * manual/.cvsignore: Add dir-add.texi.
417 2005-02-06 Richard Henderson <rth@redhat.com>
419 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
422 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
424 * configure.in (sysnames): Append sysdeps/generic for each add-on.
425 * configure: Regenerated.
427 2005-02-02 Alfred M. Szmidt <ams@gnu.org>
429 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
430 (dtv_t): Change pointer type to be a struct which also contains
431 information whether the memory pointed to is static TLS or not.
433 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
435 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
436 (FALSEP): ... this. Updated all references.
438 * libio/fmemopen.c: Include <stdint.h>.
440 2005-01-30 Ulrich Drepper <drepper@redhat.com>
442 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
443 * nscd/connections.c (send_ro_fd): Likewise.
445 2005-01-28 H.J. Lu <hongjiu.lu@intel.com>
447 * elf/tst-auditmod1.c: Add ia64 entries.
448 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
449 (La_ia64_retval): New.
450 (audit_ifaces): Add ia64 entries.
451 * sysdeps/ia64/bits/link.h: New file.
452 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
453 for dl_profile non-null.
454 (ARCH_LA_PLTENTER): New.
455 (ARCH_LA_PLTEXIT): New.
456 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
457 only 2 output registers. Allocate stack to save/restore
458 8 incoming fp registers. Call _dl_fixup instead of fixup.
459 (_dl_runtime_profile): Rewrite.
461 2005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
463 * sysdeps/s390/bits/link.h: New file.
464 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
465 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
466 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
467 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
469 (elf_machine_runtime_setup): Test for dl_profile non-null.
470 (elf_machine_rela): Remove code using RESOLVE.
471 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
472 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
473 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
474 La_s390_64_regs, La_s390_64_retval): New.
475 * elf/tst-auditmod1.c: Add s390 entries.
478 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
479 strncat, memchr, strcmp): Add missing memory clobber.
481 2005-01-27 Ulrich Drepper <drepper@redhat.com>
483 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
484 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
486 2005-01-27 Paolo Bonzini <bonzini@gnu.org>
489 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
490 Initialize the node sets in dfa->inveclosures.
491 (analyze): Initialize inveclosures only if it is needed.
492 Check errors from calc_inveclosure.
493 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
494 the inveclosure node set.
495 * posix/regexec.c (re_search_internal): If nmatch includes unused
496 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
498 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
499 Do build a SIMPLE_BRACKET token.
501 * posix/regexec.c (transit_state_mb): Do not examine nodes
502 where ACCEPT_MB is not set.
504 2005-01-27 Jakub Jelinek <jakub@redhat.com>
506 * stdlib/tst-fmtmsg.c: Include stdlib.h.
507 * stdio-common/tst-fmemopen2.c: Include string.h.
508 * posix/execvp.c: Include stdbool.h.
510 2004-12-13 Paolo Bonzini <bonzini@gnu.org>
512 Separate parsing and creation of the NFA. Avoided recursion on
513 the (very unbalanced) parse tree.
515 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
516 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
517 (optimize_subexps, duplicate_tree, calc_first, calc_next,
518 mark_opt_subexp): Rewritten.
519 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
520 create_token_tree, free_tree, free_token): New.
521 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
522 postorder generic visitors. Do not initialize the fields in the
523 re_dfa_t that represent the transitions.
524 (free_dfa_content): Use free_token.
525 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
526 include optimization of subexpressions.
527 (create_initial_state): Fetch the DFA node index from the first node's
529 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
530 Return on COMPLEX_BRACKET.
531 (duplicate_node_closure): Fix comment.
532 (duplicate_node): Do not initialize the fields in the
533 re_dfa_t that represent the transitions.
534 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
535 (create_tree): Remove final argument. All callers adjusted. Rewritten
536 to use create_token_tree.
537 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
538 build_charclass_op): Use create_tree or create_token_tree instead
539 of re_dfa_add_tree_node.
540 (parse_dup_op): Likewise. Also free the tree using free_tree for
541 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
542 to "a|". Adjust invocation of mark_opt_subexp.
543 (parse_sub_exp): Create a single SUBEXP node.
544 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
545 always perform as if it was 1. Do not initialize OPT_SUBEXP and
546 DUPLICATED, and initialize the DFA fields representing the transitions.
547 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
548 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
549 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
550 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
551 NEXT into pointers to trees. Remove ECLOSURE.
553 2004-12-28 Paolo Bonzini <bonzini@gnu.org >
556 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
557 that were already created.
558 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
559 in the token if needed.
560 (create_ci_newstate, create_cd_newstate): Set accept_mb field
561 from the tokens' field.
562 * posix/regex_internal.h (re_token_t): Add accept_mb field.
563 (ACCEPT_MB_NODE): Removed.
564 * posix/regexec.c (proceed_next_node, transit_states_mb,
565 build_sifted_states, check_arrival_add_next_nodes): Use
566 accept_mb instead of ACCEPT_MB_NODE.
568 2005-01-26 Ulrich Drepper <drepper@redhat.com>
570 * debug/chk_fail.c (__chk_fail): Print program name in final message.
572 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
573 MSG_NOSIGNAL being in 2.2 kernels.
575 2005-01-26 Jakub Jelinek <jakub@redhat.com>
577 * sysdeps/unix/sysv/linux/i386/sysdep.h
578 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
581 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
582 (WORD_DELIM_CONSTRAINT): ...this.
583 (NOT_WORD_DELIM_CONSTRAINT): Define.
584 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
585 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
586 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
587 anchor instead of INSIDE_WORD.
588 (parse_expression): Handle NOT_WORD_DELIM constraint.
589 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
590 being inside word instead of not word delim.
591 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
593 * posix/rxspencer/tests: Add some new tests.
595 2005-01-14 GOTO Masanori <gotom@debian.or.jp>
597 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
598 irrespective of Cflag.
600 * manual/memory.texi (sbrk): Fix definition.
601 * manual/string.texi (strcasestr): Fix example typo.
603 2005-01-25 Roland McGrath <roland@redhat.com>
605 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
607 2005-01-23 Roland McGrath <roland@redhat.com>
610 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
611 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
612 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
613 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
614 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
615 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
617 2005-01-25 Jakub Jelinek <jakub@redhat.com>
620 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
621 (free_mem): Don't free string.
622 * stdlib/tst-fmtmsg.c: Include string.h.
623 (main): Add some more tests.
625 2005-01-25 Andreas Schwab <schwab@suse.de>
628 * timezone/asia: Update from tzdata2005c.
629 * timezone/backward: Likewise.
630 * timezone/europe: Likewise.
631 * timezone/leapseconds: Likewise.
632 * timezone/northamerica: Likewise.
633 * timezone/southamerica: Likewise.
636 * timezone/private.h: Update from tzcode2005c.
637 * timezone/tzfile.h: Likewise.
638 * timezone/zdump.c: Likewise.
639 * timezone/zic.c: Likewise.
641 2005-01-25 Ulrich Drepper <drepper@redhat.com>
643 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
645 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
647 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
649 2005-01-25 Alan Modra <amodra@bigpond.net.au>
651 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
652 sym_map, not sym, against zero.
654 2005-01-24 Ulrich Drepper <drepper@redhat.com>
657 * misc/syslog.c: Moved to...
658 * sysdeps/generic/syslog.c: ...here.
659 [NO_SIGIPE]: Don't install SIGPIPE handler.
660 * sysdeps/unix/sysv/linux/syslog.c: New file.
661 * sysdeps/unix/sysv/linux/kernel-features.h: Define
662 __ASSUME_MSG_NOSIGNAL.
664 2005-01-22 Richard Henderson <rth@redhat.com>
666 * sysdeps/alpha/dl-trampoline.S: New file.
667 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
668 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
669 (elf_machine_runtime_setup): Test for dl_profile non-null.
670 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
671 * sysdeps/alpha/bits/link.h: New file.
672 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
673 (struct audit_ifaces): Add alpha entries.
674 * elf/tst-auditmod1.c: Add alpha entries.
676 2005-01-22 Ulrich Drepper <drepper@redhat.com>
678 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
679 * sysdeps/ia64/dl-trampoline.S: New file.
681 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
682 La_x86_64_xmm definition.
684 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
686 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
687 CFLAGS-system.c for frame pointer option.
689 2005-01-21 Roland McGrath <roland@redhat.com>
691 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
692 * sysdeps/i386/dl-machine.h: Update decl.
694 2005-01-21 Jakub Jelinek <jakub@redhat.com>
697 * elf/Makefile: Add rules to build and run tst-align2.
698 * elf/tst-align2.c: New test.
699 * elf/tst-alignmod2.c: New file.
700 * sysdeps/powerpc/tst-stack-align.h: New file.
701 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
702 pointer before calling _dl_init.
703 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
705 2005-01-20 Ulrich Drepper <drepper@redhat.com>
707 * posix/execl.c: Do not allocate potentially large buffers on the
709 * posix/execle.c: Likewise.
710 * posix/execlp.c: Likewise.
711 * posix/execlp.c: Likewise.
712 (script_execute): Removed.
713 (allocate_scripts_argv): New function. Called at most once to
714 allocate memory, not every time a script is run. Adjust caller.
716 * sysdeps/generic/wordexp.c (exec_comm): Add a few
717 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
719 (exec_comm_child): Can now be inlined.
721 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
722 * stdlib/Makefile: Likewise.
724 2005-01-19 Roland McGrath <roland@redhat.com>
727 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
729 Reported by Marcus Meissner <meissner@suse.de>.
731 2005-01-19 Jakub Jelinek <jakub@redhat.com>
733 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
735 * iconv/strtab.c (strtabfinalize): Likewise.
737 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
739 2005-01-17 Roland McGrath <roland@redhat.com>
742 * nscd/Makefile (LDLIBS-nscd): New variable.
743 ($(objpfx)nscd): Use that instead of selinux-LIBS.
745 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
746 (link-extra-libs-static): Define to $(link-extra-libs).
747 (link-extra-libs-bounded): Likewise.
749 2005-01-17 Ulrich Drepper <drepper@redhat.com>
751 * include/link.h: Remove stray definition of pltenter.
753 2005-01-16 GOTO Masanori <gotom@debian.or.jp>
756 * sysdeps/unix/rewinddir.c: Reset filepos.
757 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
759 2005-01-15 Ulrich Drepper <drepper@redhat.com>
761 * elf/tst-auditmod1.c: Reduce duplication.
763 2005-01-16 Andreas Schwab <schwab@suse.de>
765 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
766 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
767 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
768 GLRO(dl_profile) != NULL.
769 * sysdeps/m68k/dl-trampoline.S: New file.
770 * sysdeps/m68k/bits/link.h: New file.
771 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
773 * elf/tst-auditmod1.c: Add m68k support.
775 2005-01-14 Ulrich Drepper <drepper@redhat.com>
777 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
778 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
781 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
782 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
784 2005-01-12 Ulrich Drepper <drepper@redhat.com>
786 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
787 callers from libc anymore.
789 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
790 to _dl_map_object_deps.
791 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
792 protections when loading auditing modules.
794 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
796 * posix/getconf.c: Update copyright year.
797 * nss/getent.c: Likewise.
798 * nscd/nscd_nischeck.c: Likewise.
799 * iconv/iconvconfig.c: Likewise.
800 * iconv/iconv_prog.c: Likewise.
801 * elf/ldconfig.c: Likewise.
802 * catgets/gencat.c: Likewise.
803 * csu/version.c: Likewise.
804 * elf/ldd.bash.in: Likewise.
805 * elf/sprof.c (print_version): Likewise.
806 * locale/programs/locale.c: Likewise.
807 * locale/programs/localedef.c: Likewise.
808 * nscd/nscd.c (print_version): Likewise.
809 * debug/xtrace.sh: Likewise.
810 * malloc/memusage.sh: Likewise.
811 * malloc/mtrace.pl: Likewise.
812 * debug/catchsegv.sh: Likewise.
814 2005-01-11 Thorsten Kukuk <kukuk@suse.de>
817 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
819 * sunrpc/svc_unix.c (svcunix_create): Likewise.
821 * grp/putgrent.c (putgrent): Don't write 0 as group
822 ID if groupname starts with + or -.
823 * pwd/putpwent.c (putpwent): Don't write 0 as user or
824 group ID if user name starts with + or -.
826 2005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
828 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
829 * sysdeps/elf/tst-auditmod1.c: Add sh support.
830 * sysdeps/sh/bits/link.h: New.
831 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
832 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
833 (RTLD_START): Define __fpscr_values.
834 * sysdeps/sh/dl-trampoline.S: New file.
835 * sysdeps/sh/sh4/dl-trampoline.S: New file.
836 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
837 * sysdeps/sh/sh4/dl-machine.h: Remove.
839 2005-01-10 Jakub Jelinek <jakub@redhat.com>
842 * time/tst-strptime.c (day_tests): Add 2 new tests.
843 (test_tm, main): Issue an error instead of segfaulting if
844 strptime returns NULL.
846 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
848 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
849 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
851 2005-01-11 Ulrich Drepper <drepper@redhat.com>
853 * malloc/malloc.h: Remove no-glibc support.
855 2005-01-12 GOTO Masanori <gotom@debian.or.jp>
858 * malloc/malloc.h: Always include features.h.
860 2005-01-10 Roland McGrath <roland@redhat.com>
862 * sysdeps/ia64/fpu/e_logl.c: File removed.
864 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
866 2005-01-10 Ulrich Drepper <drepper@redhat.com>
868 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
869 recognition of last entry.
871 2005-01-09 Ulrich Drepper <drepper@redhat.com>
873 * elf/dl-runtime.c: Include <sys/param.h>.
875 * elf/Makefile (headers): Add bits/link.h.
877 2005-01-09 Andreas Schwab <schwab@suse.de>
879 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
881 2005-01-09 Andreas Jaeger <aj@suse.de>
884 * time/strptime_l.c (__strptime_internal): Add braces to avoid
887 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
889 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
891 2005-01-08 Jakub Jelinek <jakub@redhat.com>
893 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
895 2005-01-09 Ulrich Drepper <drepper@redhat.com>
897 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
898 those of all the regular objects.
900 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
901 use it to select the r_debug structure for that namespace.
902 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
903 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
904 * elf/dl-open.c (_dl_open): Likewise.
905 * elf/rtld.c (dl_main): Likewise.
906 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
908 (_dl_debug_initialize): Add new parameter in declaration.
910 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
911 called for the auditing objects themselves.
912 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
914 2005-01-07 Ulrich Drepper <drepper@redhat.com>
916 * sysdeps/powerpc/powerpc64/dl-machine.h
917 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
918 GLRO(dl_profile) != NULL.
919 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
921 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
922 Extend _dl_prof_resolve to add pass extra parameters to
923 _dl_profile_fixup and set up structure with register content.
925 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
926 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
927 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
928 Extend _dl_prof_resolve to add pass extra parameters to
929 _dl_profile_fixup and set up structure with register content.
930 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
931 the register and result structures.
932 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
933 in the 32-bit register and result structures.
935 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
937 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
938 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
939 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
940 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
941 * elf/tst-auditmod1.c: Add ppc32 support.
942 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
943 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
945 * malloc/malloc.c (malloc_printerr): Print program name as part of
948 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
949 * stdlib/stdlib.h: Make realloc with
950 __attribute_warn_unused_result__ instead of __wur.
951 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
952 markers as in <stdlib.h>.
954 * libio/stdio.h: Remove __wur from rename and remove.
955 * posix/unistd.h: Remove __wur from dup2.
957 2005-01-03 Andreas Jaeger <aj@suse.de>
959 * elf/Makefile (tests): Revert patch from 2005-01-03.
961 2005-01-07 Ulrich Drepper <drepper@redhat.com>
963 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
964 make __libc_init_first hidden.
966 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
967 l_relocated of rtld map.
968 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
969 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
970 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
971 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
972 * elf/tst-auditmod1.c: Add ppc64 support.
973 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
975 2005-01-06 Roland McGrath <roland@redhat.com>
978 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
979 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
981 2005-01-06 Ulrich Drepper <drepper@redhat.com>
983 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
984 * sysdeps/generic/libc-start.c: Don't register program destructor here.
986 * dlfcn/Makefile: Add rules to build dlfcn.c.
987 (LDFLAGS-dl.so): Removed.
988 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
990 * dlfcn/dlmopen.c: Likewise for _dl_open.
991 * dlfcn/dlopen.c: Likewise.
992 * dlfcn/dlopenold.c: Likewise.
993 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
994 * elf/Makefile (routines): Remove dl-open and dl-close.
995 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
996 Add rules to build and run tst-audit1.
997 * elf/tst-audit1.c: New file.
998 * elf/tst-auditmod1.c: New file.
999 * elf/Versions [libc]: Remove _dl_open and _dl_close.
1000 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
1001 * elf/dl-open.c: Likewise.
1002 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
1003 signaled by nonzero parameter.
1004 * elf/dl-init.c: Fix use of r_state.
1005 * elf/dl-load.c: Likewise.
1007 * elf/dl-close.c: Add auditing checkpoints.
1008 * elf/dl-open.c: Likewise.
1009 * elf/dl-fini.c: Likewise.
1010 * elf/dl-load.c: Likewise.
1011 * elf/dl-sym.c: Likewise.
1012 * sysdeps/generic/libc-start.c: Likewise.
1013 * elf/dl-object.c: Allocate memory for auditing information.
1014 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
1015 Correctly initialize slotinfo.
1016 * elf/dynamic-link.h: Adjust after removal of RESOLV.
1017 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
1018 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
1019 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
1020 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
1021 (_dl_profile_fixup): New parameters to point to register struct and
1022 variable for frame size.
1023 Add auditing checkpoints.
1024 (_dl_call_pltexit): New function.
1025 Don't define trampoline code here.
1026 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
1027 Remove all the functions from _rtld_global_ro which only _dl_open
1028 and _dl_close needed.
1029 Add auditing checkpoints.
1030 * elf/link.h: Define symbols for auditing interfaces.
1031 * include/link.h: Likewise.
1032 * include/dlfcn.h: Define __RTLD_AUDIT.
1033 Remove prototypes for _dl_open and _dl_close.
1034 Adjust access to argc and argv in libdl.
1035 * dlfcn/dlfcn.c: New file.
1036 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
1038 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
1039 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
1040 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
1041 Adjust for removal of RESOLVE.
1042 * sysdeps/x86_64/dl-machine.h: Likewise.
1043 * sysdeps/generic/dl-trampoline.c: New file.
1044 * sysdeps/i386/dl-trampoline.c: New file.
1045 * sysdeps/x86_64/dl-trampoline.c: New file.
1047 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
1048 Fix updating of DTV.
1049 * sysdeps/generic/libc-tls.c: Likewise.
1051 * sysdeps/arm/bits/link.h: Renamed to ...
1052 * sysdeps/arm/bits/linkmap.h: ...this.
1053 * sysdeps/generic/bits/link.h: Renamed to...
1054 * sysdeps/generic/bits/linkmap.h: ...this.
1055 * sysdeps/hppa/bits/link.h: Renamed to...
1056 * sysdeps/hppa/bits/linkmap.h: ...this.
1057 * sysdeps/i386/bits/link.h: Renamed to...
1058 * sysdeps/i386/bits/linkmap.h: ...this.
1059 * sysdeps/ia64/bits/link.h: Renamed to...
1060 * sysdeps/ia64/bits/linkmap.h: ...this.
1061 * sysdeps/s390/bits/link.h: Renamed to...
1062 * sysdeps/s390/bits/linkmap.h: ...this.
1063 * sysdeps/sh/bits/link.h: Renamed to...
1064 * sysdeps/sh/bits/linkmap.h: ...this.
1065 * sysdeps/x86_64/bits/link.h: Renamed to...
1066 * sysdeps/x86_64/bits/linkmap.h: ...this.
1068 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
1070 2004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
1073 * math/libm-test.inc (rint_test_tonearest): New test.
1074 (rint_test_towardzero): New test.
1075 (rint_test_downward): New test.
1076 (rint_test_upward): New test.
1077 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
1078 Remove redundant const values.
1079 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
1080 Remove redundant const values. Use float const.
1081 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
1082 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
1084 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
1085 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
1087 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
1088 Remove redundant const values.
1089 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
1090 Remove redundant const values. Use float const.
1091 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
1092 Remove redundant const values.
1093 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
1094 Remove redundant const values. Use float const.
1095 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
1096 alignment. Fix -0.0 case. Remove redundant const values.
1097 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
1098 alignment. Fix -0.0 case. Remove redundant const values.
1100 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
1101 alignment. Fix -0.0 case.
1102 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
1103 alignment. Fix -0.0 case. Use float const.
1104 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
1105 alignment. Fix -0.0 case.
1106 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
1107 alignment. Fix -0.0 case. Use float const.
1108 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
1109 alignment. Fix -0.0 case. Remove redundant const values.
1110 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
1111 alignment. Fix -0.0 case. Remove redundant const values.
1113 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
1114 alignment. Fix -0.0 case.
1115 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
1116 alignment. Fix -0.0 case. Remove redundant const values.
1119 2005-01-06 Ulrich Drepper <drepper@redhat.com>
1121 * misc/sys/cdefs.h: Define __wur.
1122 * libio/stdio.h: Use __wur for a number of interfaces.
1123 * posix/unistd.h: Likewise.
1124 * stdlib/stdlib.h: Likewise.
1126 2004-12-29 Jakub Jelinek <jakub@redhat.com>
1129 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
1130 libc_hidden_proto instead of HIDDEN_PROTO.
1131 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
1132 (__libm_error_support): If ASSEMBLER and in libc, define to
1133 HIDDEN_JUMPTARGET(__libm_error_support).
1135 2004-12-28 David Mosberger <davidm@hpl.hp.com>
1138 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
1139 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
1140 with $(duplicated-routines).
1141 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
1144 2004-12-27 David Mosberger <davidm@hpl.hp.com>
1147 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
1148 undefine "ret" macro. Add __libm_error_support hidden definitions.
1151 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
1152 missing portion of copyright statement.
1153 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1154 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1157 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
1158 missing portion of copyright statement.
1159 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
1160 (__ieee754_gamma): Likewise.
1161 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1162 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1164 2004-12-09 H. J. Lu <hjl@lucon.org>
1167 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
1168 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
1169 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
1170 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
1171 * sysdeps/ia64/fpu/e_expl.S: Likewise.
1172 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
1174 2004-11-18 David Mosberger <davidm@hpl.hp.com>
1177 * sysdeps/ia64/fpu/README: New file.
1178 * sysdeps/ia64/fpu/gen_import_file_list: New file.
1179 * sysdeps/ia64/fpu/import_check: Likewise.
1180 * sysdeps/ia64/fpu/import_diffs: Likewise.
1181 * sysdeps/ia64/fpu/import_file.awk: Likewise.
1182 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
1183 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1186 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
1187 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
1188 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1189 * sysdeps/ia64/fpu/e_asin.S: Likewise.
1190 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1191 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1192 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1193 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1194 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1195 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1196 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1197 * sysdeps/ia64/fpu/e_exp.S: Likewise.
1198 * sysdeps/ia64/fpu/e_expf.S: Likewise.
1199 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1200 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1201 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1202 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1203 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1204 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1205 * sysdeps/ia64/fpu/e_log.S: Likewise.
1206 * sysdeps/ia64/fpu/e_log2.S: Likewise.
1207 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1208 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1209 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1210 * sysdeps/ia64/fpu/e_pow.S: Likewise.
1211 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1212 * sysdeps/ia64/fpu/e_powl.S: Likewise.
1213 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1214 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1215 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1216 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1217 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1218 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1219 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1220 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1221 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1222 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1223 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1224 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1225 * sysdeps/ia64/fpu/libm_error.c: Likewise.
1226 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
1227 * sysdeps/ia64/fpu/libm_support.h: Likewise.
1228 * sysdeps/ia64/fpu/s_atan.S: Likewise.
1229 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1230 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1231 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
1232 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1233 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1234 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
1235 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
1236 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
1237 * sysdeps/ia64/fpu/s_cos.S: Likewise.
1238 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1239 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1240 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1241 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1242 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
1243 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
1244 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
1245 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
1246 * sysdeps/ia64/fpu/s_floor.S: Likewise.
1247 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
1248 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
1249 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
1250 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
1251 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
1252 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
1253 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
1254 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
1255 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1256 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
1257 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
1258 * sysdeps/ia64/fpu/s_logb.S: Likewise.
1259 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
1260 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
1261 * sysdeps/ia64/fpu/s_modf.S: Likewise.
1262 * sysdeps/ia64/fpu/s_modff.S: Likewise.
1263 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
1264 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
1265 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
1266 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
1267 * sysdeps/ia64/fpu/s_rint.S: Likewise.
1268 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
1269 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
1270 * sysdeps/ia64/fpu/s_round.S: Likewise.
1271 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
1272 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
1273 * sysdeps/ia64/fpu/s_significand.S: Likewise.
1274 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
1275 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
1276 * sysdeps/ia64/fpu/s_tan.S: Likewise.
1277 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1278 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
1279 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
1280 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
1281 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
1284 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
1285 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
1286 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1287 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1288 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
1289 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
1290 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1291 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1292 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
1293 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1294 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1295 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
1296 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
1297 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
1298 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
1299 * sysdeps/ia64/fpu/e_logl.S: Likewise.
1300 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
1301 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
1302 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
1303 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
1304 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
1305 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
1306 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
1307 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
1308 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
1309 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1310 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1311 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1312 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1313 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1314 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1315 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1316 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
1317 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1318 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
1319 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
1320 * sysdeps/ia64/fpu/s_erf.S: Likewise.
1321 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1322 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1323 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1324 * sysdeps/ia64/fpu/s_erff.S: Likewise.
1325 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
1326 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
1327 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
1328 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
1329 * sysdeps/ia64/fpu/s_fma.S: Likewise.
1330 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
1331 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
1332 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
1333 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
1334 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
1335 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
1336 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
1337 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
1338 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
1339 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
1340 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
1341 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
1342 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
1343 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
1344 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1345 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
1346 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
1347 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
1348 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
1349 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1350 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1351 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1352 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1353 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1356 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
1357 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
1358 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
1359 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1360 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1361 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1362 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1363 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1364 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1365 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1366 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1367 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1368 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1369 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1370 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1371 * sysdeps/ia64/fpu/w_expl.c: Likewise.
1372 * sysdeps/ia64/fpu/e_expl.S: Likewise.
1373 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1374 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1375 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1376 * sysdeps/ia64/fpu/w_log2.c: Likewise.
1377 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1378 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1379 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1380 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1381 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1384 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
1385 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
1386 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
1387 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
1388 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
1389 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
1390 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
1393 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
1394 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
1395 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
1398 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
1401 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
1402 alias for use by libm_error.c
1405 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
1406 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
1407 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
1408 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
1409 libm_scalbn{,f,l}, libm_scalblnf.
1410 (sysdep_routines): Remove libm_frexp4{,f,l}.
1411 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
1412 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
1413 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
1414 -DSIZE_LONG_LONG_INT_64.
1416 2005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
1419 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
1420 l_text_end are set for a VDSO with a single PT_LOAD entry.
1422 2005-01-05 Ulrich Drepper <drepper@redhat.com>
1425 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
1426 invalid to disable optimizations in fileops which won't work here.
1427 (_IO_cookie_jumps): Use it.
1428 (_IO_old_cookie_jumps): Likewise.
1429 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
1430 not the return value.
1431 * stdio-common/Makefile (tests): Add tst-fmemopen2.
1432 * stdio-common/tst-fmemopen2.c: New file.
1434 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
1436 2005-01-05 Roland McGrath <roland@redhat.com>
1438 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
1439 * sysdeps/i386/configure.in: ... here. New file.
1441 2005-01-03 Ulrich Drepper <drepper@redhat.com>
1444 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
1445 initialize __environ again.
1446 * stdlib/Makefile: Add rules to build and run tst-putenv.
1447 * stdlib/tst-putenv.c: New file.
1448 * stdlib/tst-putenvmod.c: New file.
1450 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
1451 define unnecessary wrappers or aliases of static functions.
1453 2005-01-03 Andreas Jaeger <aj@suse.de>
1455 * csu/Makefile (generated): Add start.os and start.ob.
1457 * elf/Makefile (tests): Change rule for tst-pie1 so that make
1460 2004-12-29 Roland McGrath <roland@redhat.com>
1463 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
1464 than always up; when nearest is zero, round up to one.
1466 2004-12-28 Ulrich Drepper <drepper@redhat.com>
1468 * po/es.po: Update from translation team.
1471 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
1473 2004-12-27 Ulrich Drepper <drepper@redhat.com>
1476 * include/signal.h: Define __sigemptyset.
1478 2004-04-27 Paolo Bonzini <bonzini@gnu.org>
1480 * posix/regex_internal.h (struct re_dfastate_t): Make
1481 word_trtable a pointer to the 512-item transition table.
1482 * posix/regexec.c (build_trtable): Fill in either state->trtable
1483 or state->word_trtable. Return a boolean indicating success.
1484 (transit_state): Expect state->trtable to be a 256-item
1485 transition table. Reorganize code to have less tests in
1486 the common case, and to save an indentation level.
1487 * posix/regex_internal.c (free_state): Free word_trtable.
1489 2004-12-21 Jakub Jelinek <jakub@redhat.com>
1492 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
1493 calling fn is 16 byte aligned.
1494 * sysdeps/i386/tst-stack-align.h: New file.
1497 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
1498 (ecvt_r): Special case denormals.
1499 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
1500 * misc/tst-efgcvt.c: Include float.h.
1501 (ecvt_tests): Add 2 new tests.
1503 2004-12-20 Roland McGrath <roland@frob.com>
1505 * version.h (RELEASE, VERSION): development, 2.3.90
1506 * include/features.h (__GLIBC_MINOR__): Now 4.
1509 See ChangeLog.15 for earlier changes.