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