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