1 2004-11-11 Richard Sandiford <rsandifo@redhat.com>
4 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
5 preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
6 like __NR_N32_open. Just include <asm/unistd.h> otherwise.
7 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
9 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
11 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
12 * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
13 the output file is compatible with both pre-2.6 and 2.6 kernel headers.
14 Extract separate syscall lists for each ABI.
16 2005-02-23 Ulrich Drepper <drepper@redhat.com>
18 * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
20 * elf/Makefile: Run tst-tls9-static again.
22 2005-02-22 Ulrich Drepper <drepper@redhat.com>
24 * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
26 (__libc_setup_tls): Initialize length of DTV based on array length.
27 * elf/dl-load.c: Revert last change.
28 * sysdeps/generic/dl-tls.c: Revert last change.
30 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
31 tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
32 tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
33 * posix/tst-execl1.c: New file.
34 * posix/tst-execl2.c: New file.
35 * posix/tst-execle1.c: New file.
36 * posix/tst-execle2.c: New file.
37 * posix/tst-execlp1.c: New file.
38 * posix/tst-execlp2.c: New file.
39 * posix/tst-execv1.c: New file.
40 * posix/tst-execv2.c: New file.
41 * posix/tst-execve1.c: New file.
42 * posix/tst-execve2.c: New file.
43 * posix/tst-execvp1.c: New file.
44 * posix/tst-execvp2.c: New file.
46 2005-02-22 Roland McGrath <roland@redhat.com>
48 * include/signal.h: Revert last change.
49 (__sigemptyset): Use __builtin_memset instead of memset.
51 2005-02-22 Ulrich Drepper <drepper@redhat.com>
53 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
54 non-cancelable I/O functions.
56 2005-02-22 Jakub Jelinek <jakub@redhat.com>
58 * nscd/nscd-client.h: Include sys/uio.h.
59 (__readall, __readvall, writeall): New prototypes.
60 * nscd/connections.c (writeall): New function.
61 (handle_request): Use it.
62 * nscd/aicache.c (addhstaiX): Likewise.
63 * nscd/initgrcache.c (addinitgroupsX): Likewise.
64 * nscd/hstcache.c (cache_addhst): Likewise.
65 * nscd/grpcache.c (cache_addgr): Likewise.
66 * nscd/pwdcache.c (cache_addpw): Likewise.
67 * nscd/nscd_helper.c (__readall, __readvall): New functions.
68 * nscd/nscd_getai.c (__nscd_getai): Use them.
69 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
70 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
71 * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
72 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
74 2005-02-22 Roland McGrath <roland@redhat.com>
76 * include/sys/socket.h: Declare __recv.
77 * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
78 * sysdeps/mach/hurd/recv.c: Likewise.
80 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
83 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
84 (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR.
85 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
87 * include/signal.h: Include <string.h> for memset decl.
89 2005-02-22 Andreas Schwab <schwab@suse.de>
91 * posix/execvp.c (execvp): Fix invalid free.
93 2005-02-22 Jakub Jelinek <jakub@redhat.com>
95 * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
96 * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
99 2005-02-21 Ulrich Drepper <drepper@redhat.com>
101 * iconvdata/ibm930.h: Correct Yen mapping.
102 * iconvdata/ibm939.h: Likewise.
103 * iconvdata/testdata/IBM930..UTF8: Adjust test data.
104 * iconvdata/testdata/IBM939..UTF8: Likewise.
105 Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
107 * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
108 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
109 (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
110 ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
111 ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
112 ibm1158.c, and ibm1158.h.
113 * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
114 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
115 * iconvdata/gconv-modules: Likewise.
116 * iconvdata/ibm1025.c: New file.
117 * iconvdata/ibm1025.h: New file.
118 * iconvdata/ibm1122.c: New file.
119 * iconvdata/ibm1122.h: New file.
120 * iconvdata/ibm1137.c: New file.
121 * iconvdata/ibm1137.h: New file.
122 * iconvdata/ibm1153.c: New file.
123 * iconvdata/ibm1153.h: New file.
124 * iconvdata/ibm1154.c: New file.
125 * iconvdata/ibm1154.h: New file.
126 * iconvdata/ibm1155.c: New file.
127 * iconvdata/ibm1155.h: New file.
128 * iconvdata/ibm1156.c: New file.
129 * iconvdata/ibm1156.h: New file.
130 * iconvdata/ibm1157.c: New file.
131 * iconvdata/ibm1157.h: New file.
132 * iconvdata/ibm1158.c: New file.
133 * iconvdata/ibm1158.h: New file.
134 * iconvdata/testdata/IBM1025: New file.
135 * iconvdata/testdata/IBM1025..UTF8: New file.
136 * iconvdata/testdata/IBM1122: New file.
137 * iconvdata/testdata/IBM1122..UTF8: New file.
138 * iconvdata/testdata/IBM1137: New file.
139 * iconvdata/testdata/IBM1137..UTF8: New file.
140 * iconvdata/testdata/IBM1153: New file.
141 * iconvdata/testdata/IBM1153..UTF8: New file.
142 * iconvdata/testdata/IBM1154: New file.
143 * iconvdata/testdata/IBM1154..UTF8: New file.
144 * iconvdata/testdata/IBM1155: New file.
145 * iconvdata/testdata/IBM1155..UTF8: New file.
146 * iconvdata/testdata/IBM1156: New file.
147 * iconvdata/testdata/IBM1156..UTF8: New file.
148 * iconvdata/testdata/IBM1157: New file.
149 * iconvdata/testdata/IBM1157..UTF8: New file.
150 * iconvdata/testdata/IBM1158: New file.
151 * iconvdata/testdata/IBM1158..UTF8: New file.
152 Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
154 2005-02-10 Paolo Bonzini <bonzini@gnu.org>
156 * posix/regcomp.c (lower_subexp): Do not optimize empty
157 subexpressions even with REG_NOSUB.
158 * posix/rxspencer/tests: Add a previously failing testcase.
160 2005-02-21 Alan Modra <amodra@bigpond.net.au>
162 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
163 array index is within bounds.
165 2005-02-21 Ulrich Drepper <drepper@redhat.com>
167 * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
169 * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
170 * elf/Makefile: Remove rules to build and run tst-tls9-static.
172 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
173 THREAD_DTV multiple times, this minimally reduces code size on
176 2005-02-21 Jakub Jelinek <jakub@redhat.com>
178 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
179 NETDB_INTERNAL if buffer is too small.
181 * nscd/hstcache.c (INCR): Remove.
182 (addhstbyX): Double buflen in each iteration rather than add INCR.
183 * nscd/grpcache.c: Likewise.
184 * nscd/pwdcache.c: Likewise.
186 2005-02-21 Ulrich Drepper <drepper@redhat.com>
188 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
190 * debug/chk_fail.c: Request backtrace and memory map dump.
192 * Versions.def: Add GLIBC_2.4 for libc.
193 * debug/fgets_chk.c: New file.
194 * debug/fgets_u_chk.c: New file.
195 * debug/getcwd_chk.c: New file.
196 * debug/getwd_chk.c: New file.
197 * debug/readlink_chk.c: New file.
198 * debug/read_chk.c: New file.
199 * debug/pread_chk.c: New file.
200 * debug/pread64_chk.c: New file.
201 * debug/recv_chk.c: New file.
202 * debug/recvfrom_chk.c: New file.
203 * debug/Versions: Add all new functions with version GLIBC_2.4.
204 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
205 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
206 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
207 * debug/tst-chk1.c: Add more tests.
208 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
209 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
210 * posix/unistd.h: Include <bits/unistd.h> for fortification.
211 * posix/bits/unistd.h: New file.
212 * posix/Makefile (headers): Add bits/unistd.h.
213 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
214 * socket/bits/socket2.h: New file.
215 * socket/Makefile (headers): Add bits/socket2.h.
217 * string/bits/string3.h: Extend memset macro to check for zero 3rd
218 parameter and use __memset_zero_constant_len_parameter in that case.
219 * sysdeps/generic/memset_chk.c: Add
220 __memset_zero_constant_len_parameter alias and linker warning.
221 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
222 with version GLIBC_2.4.
224 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
225 in __STD_TYPE definition.
227 2005-02-21 Jakub Jelinek <jakub@redhat.com>
229 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
230 the error message rather than program name.
232 2005-02-21 Ulrich Drepper <drepper@redhat.com>
234 * posix/unistd.h: symlink and readlink are unconditionally
235 available in the 2001 spec.
237 2005-02-16 Roland McGrath <roland@redhat.com>
239 * intl/dcigettext.c (_nl_find_msg): Add a cast.
241 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
242 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
243 * nis/nis_clone_res.c (nis_clone_result): Likewise.
245 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
246 for END_OF_MESSAGE and CP.
248 * resolv/res_send.c (send_dg): Add else branch for case impossible
249 unless `poll' is buggy.
251 * crypt/crypt_util.c (__setkey_r): Add a cast.
253 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
254 NBYTES, and unsigned char * for BYTES.
256 * locale/programs/charmap.c (charmap_new_char): Use size_t and
257 unsighed char * for NBYTES, BYTES parameters.
259 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
261 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
263 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
265 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
267 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
268 (authdes_marshal): Don't use unsigned int for LEN.
269 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
270 (xdr_u_hyper): Likewise.
271 (xdr_u_short): Don't use u_long for L.
272 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
274 * inet/rexec.c (rexec_af): Use socklen_t.
275 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
276 * sunrpc/rtime.c (rtime): Likewise.
277 * resolv/res_send.c (send_vc, send_dg): Likewise.
278 * nis/nis_callback.c (__nis_create_callback): Likewise.
280 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
284 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
286 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
287 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
288 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
289 * intl/bindtextdom.c (INTUSE): Macro removed.
290 (_nl_default_dirname): Use libc_hidden_proto.
291 (set_binding_values): Don't use INTUSE.
292 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
293 (_libc_intl_domainname): Use libc_hidden_proto.
294 * posix/regex_internal.h (gettext): Remove INTUSE on it.
295 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
297 * include/libintl.h (_): Don't use *_internal name.
299 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
301 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
303 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
306 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
308 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
309 * sysdeps/powerpc/powerpc32/dl-machine.h
310 (elf_machine_rel, elf_machine_rel_relative): Removed.
311 * sysdeps/powerpc/powerpc64/dl-machine.h
312 (elf_machine_rel, elf_machine_rel_relative): Removed.
314 2005-02-03 Alexandre Oliva <aoliva@redhat.com>
317 * elf/dynamic-link.h: Don't declare nested auto functions that are
318 not going to be defined.
320 2004-07-23 Jakub Jelinek <jakub@redhat.com>
323 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
324 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
326 2005-02-16 Roland McGrath <roland@redhat.com>
328 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
329 inside [! SHARED] where it's used.
331 2005-02-15 Ulrich Drepper <drepper@redhat.com>
333 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
334 functions and macros is unsigned.
336 2005-02-11 Barry deFrese <bddebian@comcast.net>
339 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
340 * sysdeps/mach/hurd/setresuid.c: Likewise.
342 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
344 * misc/sys/syslog.h: Fix typo in comment.
346 2005-02-14 Roland McGrath <roland@redhat.com>
349 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
350 if it wasn't originally.
352 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
354 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
356 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
357 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
359 2005-02-11 Jakub Jelinek <jakub@redhat.com>
361 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
364 2005-02-14 Alan Modra <amodra@bigpond.net.au>
366 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
367 with auto inline, and attribute always_inline.
368 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
369 (elf_machine_rel, elf_machine_rel_relative): Likewise.
370 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
371 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
372 (elf_machine_rel, elf_machine_rel_relative): Likewise.
373 (elf_machine_tprel): Likewise.
375 2005-02-14 Andreas Schwab <schwab@suse.de>
377 * manual/filesys.texi (Random Access Directory): Fix type of file
378 position value for telldir and seekdir.
379 (Attribute Meanings): Fix typo.
381 2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
383 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
385 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
386 if SHARED isn't defined.
387 * elf/Makefile (tests-static): Add tst-array1-static.
388 ($(objpfx)tst-array1-static.out): New target.
389 * elf/tst-array1-static.c: New file.
391 2005-02-11 Jakub Jelinek <jakub@redhat.com>
393 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
394 __libc_message to kill GCC warning about noreturn function returning.
396 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
397 before relocating ld.so again.
399 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
400 for already prelinked ld.so.
402 2005-02-11 Roland McGrath <roland@redhat.com>
405 * Makefile (installed-stubs): New variable.
406 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
407 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
408 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
409 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
411 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
412 * include/stubs-biarch.h: New file.
414 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
416 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
417 Emit defn for variable `biarch'.
419 * include/stub-tag.h: Update comment.
421 * scripts/soversions.awk: Fix default version set handling.
423 2005-02-10 Roland McGrath <roland@redhat.com>
426 * include/libc-symbols.h (stub_warning): Emit a marker section called
427 .gnu.glibc-stub.NAME.
428 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
429 Use objdump to collect those marker section names.
430 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
432 * Rules (subdir_objs, subdir_stubs): New phony targets.
433 * Makefile (+subdir_targets): Add them.
435 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
438 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
439 Reported by H.J. Lu <hongjiu.lu@intel.com>.
441 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
444 2005-02-10 Jakub Jelinek <jakub@redhat.com>
446 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
447 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
448 * sysdeps/powerpc/bits/link.h: ... here. New file.
450 2005-02-09 Jakub Jelinek <jakub@redhat.com>
453 * stdlib/random_r.c (__initstate_r): Save old state.
454 * stdlib/Makefile (tests): Add tst-random2.
455 * stdlib/tst-random2.c: New test.
456 Reported by Peter Bergner <bergner@vnet.ibm.com>.
458 2005-01-25 H.J. Lu <hongjiu.lu@intel.com>
460 * dlfcn/dlfcn.c (init): Put it in .init_array section.
462 2005-02-10 Roland McGrath <roland@redhat.com>
465 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
467 Grok shlib-versions lines with WORDSIZE* in second column.
468 Add new leading column to output, DEFAULT for existing output lines.
469 Also emit lines with WORDSIZE* for alternate configurations.
470 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
471 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
472 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
473 of soversions.mk; replace inline shell script with use of ...
474 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
475 emit multiple sets of macros under #if.
476 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
477 (s390x-.*-.*): Likewise for s390.
478 (powerpc64-.*-.*): Likewise for powerpc.
479 (sparc64-.*-.*): Likewise for sparc.
480 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
481 for these mapping back to the above.
483 2005-02-08 Jakub Jelinek <jakub@redhat.com>
485 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
487 2005-02-08 Andreas Schwab <schwab@suse.de>
489 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
492 2005-02-07 Richard Henderson <rth@redhat.com>
494 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
496 2005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
498 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
501 2005-02-07 Ulrich Drepper <drepper@redhat.com>
503 * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
506 2005-01-07 Richard Henderson <rth@redhat.com>
508 * math/math_private.h (__copysign): Define as builtin for gcc 4.
509 (__copysignf, __copysignl): Likewise.
510 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
512 (copysignf, copysignl, fabsf, fabs): Likewise.
513 (__copysign, __copysignf, __copysignl): Remove.
514 (__fabs, __fabsf): Remove.
516 2005-01-07 Jakub Jelinek <jakub@redhat.com>
519 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
520 avoid writing to it if none of the standard search directories exist.
522 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
526 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
527 Load MSR as a doubleword.
528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
529 (__novec_swapcontext, __swapcontext): Likewise.
531 2005-02-07 Ulrich Drepper <drepper@redhat.com>
533 * iconv/iconv_prog.c (main): Provide more help in case on an error.
535 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
537 2005-02-07 Jakub Jelinek <jakub@redhat.com>
540 * nscd/nscd.c (termination_handler): Avoid segfault if some database
544 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
545 __nss_not_use_nscd_hosts and return -1.
546 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
547 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
548 Avoid leaking sockets.
550 2005-01-28 Andreas Schwab <schwab@suse.de>
551 H.J. Lu <hongjiu.lu@intel.com>
554 * elf/dl-runtime.c (fixup): Change return type to
555 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
556 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
557 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
558 store and retrieve relocation values.
559 (profile_fixup): Likewise.
560 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
562 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
563 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
564 (DL_FIXUP_MAKE_VALUE): Likewise.
565 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
566 (DL_FIXUP_VALUE_ADDR): Likewise.
567 (DL_FIXUP_ADDR_VALUE): Likewise.
568 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
569 (DL_FIXUP_VALUE_TYPE): New.
570 (DL_FIXUP_MAKE_VALUE): Likewise.
571 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
572 (DL_FIXUP_VALUE_ADDR): Likewise.
573 (DL_FIXUP_ADDR_VALUE): Likewise.
574 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
575 (elf_machine_profile_plt): Removed.
576 (elf_machine_fixup_plt): Change return type and type of value
577 parameter to struct fdesc.
578 (elf_machine_plt_value): Likewise.
579 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
580 argument for elf_machine_fixup_plt.
582 2005-02-07 Jakub Jelinek <jakub@redhat.com>
585 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
586 after the status string printed by killproc.
588 2004-11-18 Alexandre Oliva <aoliva@redhat.com>
590 * manual/.cvsignore: Add dir-add.texi.
592 2005-02-06 Richard Henderson <rth@redhat.com>
594 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
597 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
599 * configure.in (sysnames): Append sysdeps/generic for each add-on.
600 * configure: Regenerated.
602 2005-02-02 Alfred M. Szmidt <ams@gnu.org>
604 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
605 (dtv_t): Change pointer type to be a struct which also contains
606 information whether the memory pointed to is static TLS or not.
608 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
610 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
611 (FALSEP): ... this. Updated all references.
613 * libio/fmemopen.c: Include <stdint.h>.
615 2005-01-30 Ulrich Drepper <drepper@redhat.com>
617 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
618 * nscd/connections.c (send_ro_fd): Likewise.
620 2005-01-28 H.J. Lu <hongjiu.lu@intel.com>
622 * elf/tst-auditmod1.c: Add ia64 entries.
623 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
624 (La_ia64_retval): New.
625 (audit_ifaces): Add ia64 entries.
626 * sysdeps/ia64/bits/link.h: New file.
627 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
628 for dl_profile non-null.
629 (ARCH_LA_PLTENTER): New.
630 (ARCH_LA_PLTEXIT): New.
631 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
632 only 2 output registers. Allocate stack to save/restore
633 8 incoming fp registers. Call _dl_fixup instead of fixup.
634 (_dl_runtime_profile): Rewrite.
636 2005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
638 * sysdeps/s390/bits/link.h: New file.
639 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
640 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
641 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
642 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
644 (elf_machine_runtime_setup): Test for dl_profile non-null.
645 (elf_machine_rela): Remove code using RESOLVE.
646 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
647 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
648 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
649 La_s390_64_regs, La_s390_64_retval): New.
650 * elf/tst-auditmod1.c: Add s390 entries.
653 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
654 strncat, memchr, strcmp): Add missing memory clobber.
656 2005-01-27 Ulrich Drepper <drepper@redhat.com>
658 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
659 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
661 2005-01-27 Paolo Bonzini <bonzini@gnu.org>
664 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
665 Initialize the node sets in dfa->inveclosures.
666 (analyze): Initialize inveclosures only if it is needed.
667 Check errors from calc_inveclosure.
668 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
669 the inveclosure node set.
670 * posix/regexec.c (re_search_internal): If nmatch includes unused
671 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
673 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
674 Do build a SIMPLE_BRACKET token.
676 * posix/regexec.c (transit_state_mb): Do not examine nodes
677 where ACCEPT_MB is not set.
679 2005-01-27 Jakub Jelinek <jakub@redhat.com>
681 * stdlib/tst-fmtmsg.c: Include stdlib.h.
682 * stdio-common/tst-fmemopen2.c: Include string.h.
683 * posix/execvp.c: Include stdbool.h.
685 2004-12-13 Paolo Bonzini <bonzini@gnu.org>
687 Separate parsing and creation of the NFA. Avoided recursion on
688 the (very unbalanced) parse tree.
690 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
691 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
692 (optimize_subexps, duplicate_tree, calc_first, calc_next,
693 mark_opt_subexp): Rewritten.
694 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
695 create_token_tree, free_tree, free_token): New.
696 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
697 postorder generic visitors. Do not initialize the fields in the
698 re_dfa_t that represent the transitions.
699 (free_dfa_content): Use free_token.
700 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
701 include optimization of subexpressions.
702 (create_initial_state): Fetch the DFA node index from the first node's
704 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
705 Return on COMPLEX_BRACKET.
706 (duplicate_node_closure): Fix comment.
707 (duplicate_node): Do not initialize the fields in the
708 re_dfa_t that represent the transitions.
709 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
710 (create_tree): Remove final argument. All callers adjusted. Rewritten
711 to use create_token_tree.
712 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
713 build_charclass_op): Use create_tree or create_token_tree instead
714 of re_dfa_add_tree_node.
715 (parse_dup_op): Likewise. Also free the tree using free_tree for
716 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
717 to "a|". Adjust invocation of mark_opt_subexp.
718 (parse_sub_exp): Create a single SUBEXP node.
719 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
720 always perform as if it was 1. Do not initialize OPT_SUBEXP and
721 DUPLICATED, and initialize the DFA fields representing the transitions.
722 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
723 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
724 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
725 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
726 NEXT into pointers to trees. Remove ECLOSURE.
728 2004-12-28 Paolo Bonzini <bonzini@gnu.org >
731 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
732 that were already created.
733 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
734 in the token if needed.
735 (create_ci_newstate, create_cd_newstate): Set accept_mb field
736 from the tokens' field.
737 * posix/regex_internal.h (re_token_t): Add accept_mb field.
738 (ACCEPT_MB_NODE): Removed.
739 * posix/regexec.c (proceed_next_node, transit_states_mb,
740 build_sifted_states, check_arrival_add_next_nodes): Use
741 accept_mb instead of ACCEPT_MB_NODE.
743 2005-01-26 Ulrich Drepper <drepper@redhat.com>
745 * debug/chk_fail.c (__chk_fail): Print program name in final message.
747 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
748 MSG_NOSIGNAL being in 2.2 kernels.
750 2005-01-26 Jakub Jelinek <jakub@redhat.com>
752 * sysdeps/unix/sysv/linux/i386/sysdep.h
753 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
756 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
757 (WORD_DELIM_CONSTRAINT): ...this.
758 (NOT_WORD_DELIM_CONSTRAINT): Define.
759 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
760 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
761 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
762 anchor instead of INSIDE_WORD.
763 (parse_expression): Handle NOT_WORD_DELIM constraint.
764 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
765 being inside word instead of not word delim.
766 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
768 * posix/rxspencer/tests: Add some new tests.
770 2005-01-14 GOTO Masanori <gotom@debian.or.jp>
772 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
773 irrespective of Cflag.
775 * manual/memory.texi (sbrk): Fix definition.
776 * manual/string.texi (strcasestr): Fix example typo.
778 2005-01-25 Roland McGrath <roland@redhat.com>
780 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
782 2005-01-23 Roland McGrath <roland@redhat.com>
785 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
786 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
787 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
788 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
789 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
790 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
792 2005-01-25 Jakub Jelinek <jakub@redhat.com>
795 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
796 (free_mem): Don't free string.
797 * stdlib/tst-fmtmsg.c: Include string.h.
798 (main): Add some more tests.
800 2005-01-25 Andreas Schwab <schwab@suse.de>
803 * timezone/asia: Update from tzdata2005c.
804 * timezone/backward: Likewise.
805 * timezone/europe: Likewise.
806 * timezone/leapseconds: Likewise.
807 * timezone/northamerica: Likewise.
808 * timezone/southamerica: Likewise.
811 * timezone/private.h: Update from tzcode2005c.
812 * timezone/tzfile.h: Likewise.
813 * timezone/zdump.c: Likewise.
814 * timezone/zic.c: Likewise.
816 2005-01-25 Ulrich Drepper <drepper@redhat.com>
818 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
820 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
822 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
824 2005-01-25 Alan Modra <amodra@bigpond.net.au>
826 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
827 sym_map, not sym, against zero.
829 2005-01-24 Ulrich Drepper <drepper@redhat.com>
832 * misc/syslog.c: Moved to...
833 * sysdeps/generic/syslog.c: ...here.
834 [NO_SIGIPE]: Don't install SIGPIPE handler.
835 * sysdeps/unix/sysv/linux/syslog.c: New file.
836 * sysdeps/unix/sysv/linux/kernel-features.h: Define
837 __ASSUME_MSG_NOSIGNAL.
839 2005-01-22 Richard Henderson <rth@redhat.com>
841 * sysdeps/alpha/dl-trampoline.S: New file.
842 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
843 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
844 (elf_machine_runtime_setup): Test for dl_profile non-null.
845 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
846 * sysdeps/alpha/bits/link.h: New file.
847 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
848 (struct audit_ifaces): Add alpha entries.
849 * elf/tst-auditmod1.c: Add alpha entries.
851 2005-01-22 Ulrich Drepper <drepper@redhat.com>
853 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
854 * sysdeps/ia64/dl-trampoline.S: New file.
856 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
857 La_x86_64_xmm definition.
859 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
861 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
862 CFLAGS-system.c for frame pointer option.
864 2005-01-21 Roland McGrath <roland@redhat.com>
866 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
867 * sysdeps/i386/dl-machine.h: Update decl.
869 2005-01-21 Jakub Jelinek <jakub@redhat.com>
872 * elf/Makefile: Add rules to build and run tst-align2.
873 * elf/tst-align2.c: New test.
874 * elf/tst-alignmod2.c: New file.
875 * sysdeps/powerpc/tst-stack-align.h: New file.
876 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
877 pointer before calling _dl_init.
878 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
880 2005-01-20 Ulrich Drepper <drepper@redhat.com>
882 * posix/execl.c: Do not allocate potentially large buffers on the
884 * posix/execle.c: Likewise.
885 * posix/execlp.c: Likewise.
886 * posix/execvp.c: Likewise.
887 (script_execute): Removed.
888 (allocate_scripts_argv): New function. Called at most once to
889 allocate memory, not every time a script is run. Adjust caller.
891 * sysdeps/generic/wordexp.c (exec_comm): Add a few
892 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
894 (exec_comm_child): Can now be inlined.
896 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
897 * stdlib/Makefile: Likewise.
899 2005-01-19 Roland McGrath <roland@redhat.com>
902 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
904 Reported by Marcus Meissner <meissner@suse.de>.
906 2005-01-19 Jakub Jelinek <jakub@redhat.com>
908 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
910 * iconv/strtab.c (strtabfinalize): Likewise.
912 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
914 2005-01-17 Roland McGrath <roland@redhat.com>
917 * nscd/Makefile (LDLIBS-nscd): New variable.
918 ($(objpfx)nscd): Use that instead of selinux-LIBS.
920 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
921 (link-extra-libs-static): Define to $(link-extra-libs).
922 (link-extra-libs-bounded): Likewise.
924 2005-01-17 Ulrich Drepper <drepper@redhat.com>
926 * include/link.h: Remove stray definition of pltenter.
928 2005-01-16 GOTO Masanori <gotom@debian.or.jp>
931 * sysdeps/unix/rewinddir.c: Reset filepos.
932 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
934 2005-01-15 Ulrich Drepper <drepper@redhat.com>
936 * elf/tst-auditmod1.c: Reduce duplication.
938 2005-01-16 Andreas Schwab <schwab@suse.de>
940 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
941 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
942 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
943 GLRO(dl_profile) != NULL.
944 * sysdeps/m68k/dl-trampoline.S: New file.
945 * sysdeps/m68k/bits/link.h: New file.
946 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
948 * elf/tst-auditmod1.c: Add m68k support.
950 2005-01-14 Ulrich Drepper <drepper@redhat.com>
952 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
953 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
956 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
957 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
959 2005-01-12 Ulrich Drepper <drepper@redhat.com>
961 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
962 callers from libc anymore.
964 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
965 to _dl_map_object_deps.
966 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
967 protections when loading auditing modules.
969 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
971 * posix/getconf.c: Update copyright year.
972 * nss/getent.c: Likewise.
973 * nscd/nscd_nischeck.c: Likewise.
974 * iconv/iconvconfig.c: Likewise.
975 * iconv/iconv_prog.c: Likewise.
976 * elf/ldconfig.c: Likewise.
977 * catgets/gencat.c: Likewise.
978 * csu/version.c: Likewise.
979 * elf/ldd.bash.in: Likewise.
980 * elf/sprof.c (print_version): Likewise.
981 * locale/programs/locale.c: Likewise.
982 * locale/programs/localedef.c: Likewise.
983 * nscd/nscd.c (print_version): Likewise.
984 * debug/xtrace.sh: Likewise.
985 * malloc/memusage.sh: Likewise.
986 * malloc/mtrace.pl: Likewise.
987 * debug/catchsegv.sh: Likewise.
989 2005-01-11 Thorsten Kukuk <kukuk@suse.de>
992 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
994 * sunrpc/svc_unix.c (svcunix_create): Likewise.
996 * grp/putgrent.c (putgrent): Don't write 0 as group
997 ID if groupname starts with + or -.
998 * pwd/putpwent.c (putpwent): Don't write 0 as user or
999 group ID if user name starts with + or -.
1001 2005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1003 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
1004 * sysdeps/elf/tst-auditmod1.c: Add sh support.
1005 * sysdeps/sh/bits/link.h: New.
1006 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
1007 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
1008 (RTLD_START): Define __fpscr_values.
1009 * sysdeps/sh/dl-trampoline.S: New file.
1010 * sysdeps/sh/sh4/dl-trampoline.S: New file.
1011 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
1012 * sysdeps/sh/sh4/dl-machine.h: Remove.
1014 2005-01-10 Jakub Jelinek <jakub@redhat.com>
1017 * time/tst-strptime.c (day_tests): Add 2 new tests.
1018 (test_tm, main): Issue an error instead of segfaulting if
1019 strptime returns NULL.
1021 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
1023 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
1024 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
1026 2005-01-11 Ulrich Drepper <drepper@redhat.com>
1028 * malloc/malloc.h: Remove no-glibc support.
1030 2005-01-12 GOTO Masanori <gotom@debian.or.jp>
1033 * malloc/malloc.h: Always include features.h.
1035 2005-01-10 Roland McGrath <roland@redhat.com>
1037 * sysdeps/ia64/fpu/e_logl.c: File removed.
1039 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
1041 2005-01-10 Ulrich Drepper <drepper@redhat.com>
1043 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
1044 recognition of last entry.
1046 2005-01-09 Ulrich Drepper <drepper@redhat.com>
1048 * elf/dl-runtime.c: Include <sys/param.h>.
1050 * elf/Makefile (headers): Add bits/link.h.
1052 2005-01-09 Andreas Schwab <schwab@suse.de>
1054 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
1056 2005-01-09 Andreas Jaeger <aj@suse.de>
1059 * time/strptime_l.c (__strptime_internal): Add braces to avoid
1062 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
1064 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
1066 2005-01-08 Jakub Jelinek <jakub@redhat.com>
1068 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
1070 2005-01-09 Ulrich Drepper <drepper@redhat.com>
1072 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
1073 those of all the regular objects.
1075 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
1076 use it to select the r_debug structure for that namespace.
1077 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
1078 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1079 * elf/dl-open.c (_dl_open): Likewise.
1080 * elf/rtld.c (dl_main): Likewise.
1081 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
1083 (_dl_debug_initialize): Add new parameter in declaration.
1085 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
1086 called for the auditing objects themselves.
1087 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1089 2005-01-07 Ulrich Drepper <drepper@redhat.com>
1091 * sysdeps/powerpc/powerpc64/dl-machine.h
1092 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1093 GLRO(dl_profile) != NULL.
1094 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
1096 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
1097 Extend _dl_prof_resolve to add pass extra parameters to
1098 _dl_profile_fixup and set up structure with register content.
1100 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
1101 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
1102 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
1103 Extend _dl_prof_resolve to add pass extra parameters to
1104 _dl_profile_fixup and set up structure with register content.
1105 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
1106 the register and result structures.
1107 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
1108 in the 32-bit register and result structures.
1110 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
1112 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
1113 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
1114 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1115 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
1116 * elf/tst-auditmod1.c: Add ppc32 support.
1117 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
1118 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
1120 * malloc/malloc.c (malloc_printerr): Print program name as part of
1123 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
1124 * stdlib/stdlib.h: Make realloc with
1125 __attribute_warn_unused_result__ instead of __wur.
1126 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
1127 markers as in <stdlib.h>.
1129 * libio/stdio.h: Remove __wur from rename and remove.
1130 * posix/unistd.h: Remove __wur from dup2.
1132 2005-01-03 Andreas Jaeger <aj@suse.de>
1134 * elf/Makefile (tests): Revert patch from 2005-01-03.
1136 2005-01-07 Ulrich Drepper <drepper@redhat.com>
1138 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
1139 make __libc_init_first hidden.
1141 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
1142 l_relocated of rtld map.
1143 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
1144 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
1145 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1146 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
1147 * elf/tst-auditmod1.c: Add ppc64 support.
1148 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
1150 2005-01-06 Roland McGrath <roland@redhat.com>
1153 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
1154 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
1156 2005-01-06 Ulrich Drepper <drepper@redhat.com>
1158 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
1159 * sysdeps/generic/libc-start.c: Don't register program destructor here.
1161 * dlfcn/Makefile: Add rules to build dlfcn.c.
1162 (LDFLAGS-dl.so): Removed.
1163 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
1165 * dlfcn/dlmopen.c: Likewise for _dl_open.
1166 * dlfcn/dlopen.c: Likewise.
1167 * dlfcn/dlopenold.c: Likewise.
1168 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
1169 * elf/Makefile (routines): Remove dl-open and dl-close.
1170 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
1171 Add rules to build and run tst-audit1.
1172 * elf/tst-audit1.c: New file.
1173 * elf/tst-auditmod1.c: New file.
1174 * elf/Versions [libc]: Remove _dl_open and _dl_close.
1175 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
1176 * elf/dl-open.c: Likewise.
1177 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
1178 signaled by nonzero parameter.
1179 * elf/dl-init.c: Fix use of r_state.
1180 * elf/dl-load.c: Likewise.
1182 * elf/dl-close.c: Add auditing checkpoints.
1183 * elf/dl-open.c: Likewise.
1184 * elf/dl-fini.c: Likewise.
1185 * elf/dl-load.c: Likewise.
1186 * elf/dl-sym.c: Likewise.
1187 * sysdeps/generic/libc-start.c: Likewise.
1188 * elf/dl-object.c: Allocate memory for auditing information.
1189 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
1190 Correctly initialize slotinfo.
1191 * elf/dynamic-link.h: Adjust after removal of RESOLV.
1192 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
1193 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
1194 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
1195 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
1196 (_dl_profile_fixup): New parameters to point to register struct and
1197 variable for frame size.
1198 Add auditing checkpoints.
1199 (_dl_call_pltexit): New function.
1200 Don't define trampoline code here.
1201 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
1202 Remove all the functions from _rtld_global_ro which only _dl_open
1203 and _dl_close needed.
1204 Add auditing checkpoints.
1205 * elf/link.h: Define symbols for auditing interfaces.
1206 * include/link.h: Likewise.
1207 * include/dlfcn.h: Define __RTLD_AUDIT.
1208 Remove prototypes for _dl_open and _dl_close.
1209 Adjust access to argc and argv in libdl.
1210 * dlfcn/dlfcn.c: New file.
1211 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
1213 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
1214 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
1215 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
1216 Adjust for removal of RESOLVE.
1217 * sysdeps/x86_64/dl-machine.h: Likewise.
1218 * sysdeps/generic/dl-trampoline.c: New file.
1219 * sysdeps/i386/dl-trampoline.c: New file.
1220 * sysdeps/x86_64/dl-trampoline.c: New file.
1222 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
1223 Fix updating of DTV.
1224 * sysdeps/generic/libc-tls.c: Likewise.
1226 * sysdeps/arm/bits/link.h: Renamed to ...
1227 * sysdeps/arm/bits/linkmap.h: ...this.
1228 * sysdeps/generic/bits/link.h: Renamed to...
1229 * sysdeps/generic/bits/linkmap.h: ...this.
1230 * sysdeps/hppa/bits/link.h: Renamed to...
1231 * sysdeps/hppa/bits/linkmap.h: ...this.
1232 * sysdeps/i386/bits/link.h: Renamed to...
1233 * sysdeps/i386/bits/linkmap.h: ...this.
1234 * sysdeps/ia64/bits/link.h: Renamed to...
1235 * sysdeps/ia64/bits/linkmap.h: ...this.
1236 * sysdeps/s390/bits/link.h: Renamed to...
1237 * sysdeps/s390/bits/linkmap.h: ...this.
1238 * sysdeps/sh/bits/link.h: Renamed to...
1239 * sysdeps/sh/bits/linkmap.h: ...this.
1240 * sysdeps/x86_64/bits/link.h: Renamed to...
1241 * sysdeps/x86_64/bits/linkmap.h: ...this.
1243 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
1245 2004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
1248 * math/libm-test.inc (rint_test_tonearest): New test.
1249 (rint_test_towardzero): New test.
1250 (rint_test_downward): New test.
1251 (rint_test_upward): New test.
1252 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
1253 Remove redundant const values.
1254 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
1255 Remove redundant const values. Use float const.
1256 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
1257 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
1259 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
1260 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
1262 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
1263 Remove redundant const values.
1264 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
1265 Remove redundant const values. Use float const.
1266 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
1267 Remove redundant const values.
1268 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
1269 Remove redundant const values. Use float const.
1270 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
1271 alignment. Fix -0.0 case. Remove redundant const values.
1272 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
1273 alignment. Fix -0.0 case. Remove redundant const values.
1275 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
1276 alignment. Fix -0.0 case.
1277 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
1278 alignment. Fix -0.0 case. Use float const.
1279 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
1280 alignment. Fix -0.0 case.
1281 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
1282 alignment. Fix -0.0 case. Use float const.
1283 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
1284 alignment. Fix -0.0 case. Remove redundant const values.
1285 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
1286 alignment. Fix -0.0 case. Remove redundant const values.
1288 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
1289 alignment. Fix -0.0 case.
1290 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
1291 alignment. Fix -0.0 case. Remove redundant const values.
1294 2005-01-06 Ulrich Drepper <drepper@redhat.com>
1296 * misc/sys/cdefs.h: Define __wur.
1297 * libio/stdio.h: Use __wur for a number of interfaces.
1298 * posix/unistd.h: Likewise.
1299 * stdlib/stdlib.h: Likewise.
1301 2004-12-29 Jakub Jelinek <jakub@redhat.com>
1304 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
1305 libc_hidden_proto instead of HIDDEN_PROTO.
1306 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
1307 (__libm_error_support): If ASSEMBLER and in libc, define to
1308 HIDDEN_JUMPTARGET(__libm_error_support).
1310 2004-12-28 David Mosberger <davidm@hpl.hp.com>
1313 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
1314 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
1315 with $(duplicated-routines).
1316 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
1319 2004-12-27 David Mosberger <davidm@hpl.hp.com>
1322 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
1323 undefine "ret" macro. Add __libm_error_support hidden definitions.
1326 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
1327 missing portion of copyright statement.
1328 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1329 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1332 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
1333 missing portion of copyright statement.
1334 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
1335 (__ieee754_gamma): Likewise.
1336 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1337 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1339 2004-12-09 H. J. Lu <hjl@lucon.org>
1342 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
1343 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
1344 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
1345 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
1346 * sysdeps/ia64/fpu/e_expl.S: Likewise.
1347 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
1349 2004-11-18 David Mosberger <davidm@hpl.hp.com>
1352 * sysdeps/ia64/fpu/README: New file.
1353 * sysdeps/ia64/fpu/gen_import_file_list: New file.
1354 * sysdeps/ia64/fpu/import_check: Likewise.
1355 * sysdeps/ia64/fpu/import_diffs: Likewise.
1356 * sysdeps/ia64/fpu/import_file.awk: Likewise.
1357 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
1358 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1361 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
1362 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
1363 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1364 * sysdeps/ia64/fpu/e_asin.S: Likewise.
1365 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1366 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1367 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1368 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1369 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1370 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1371 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1372 * sysdeps/ia64/fpu/e_exp.S: Likewise.
1373 * sysdeps/ia64/fpu/e_expf.S: Likewise.
1374 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1375 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1376 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1377 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1378 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1379 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1380 * sysdeps/ia64/fpu/e_log.S: Likewise.
1381 * sysdeps/ia64/fpu/e_log2.S: Likewise.
1382 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1383 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1384 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1385 * sysdeps/ia64/fpu/e_pow.S: Likewise.
1386 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1387 * sysdeps/ia64/fpu/e_powl.S: Likewise.
1388 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1389 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1390 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1391 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1392 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1393 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1394 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1395 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1396 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1397 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1398 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1399 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1400 * sysdeps/ia64/fpu/libm_error.c: Likewise.
1401 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
1402 * sysdeps/ia64/fpu/libm_support.h: Likewise.
1403 * sysdeps/ia64/fpu/s_atan.S: Likewise.
1404 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1405 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1406 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
1407 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1408 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1409 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
1410 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
1411 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
1412 * sysdeps/ia64/fpu/s_cos.S: Likewise.
1413 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1414 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1415 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1416 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1417 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
1418 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
1419 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
1420 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
1421 * sysdeps/ia64/fpu/s_floor.S: Likewise.
1422 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
1423 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
1424 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
1425 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
1426 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
1427 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
1428 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
1429 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
1430 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1431 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
1432 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
1433 * sysdeps/ia64/fpu/s_logb.S: Likewise.
1434 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
1435 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
1436 * sysdeps/ia64/fpu/s_modf.S: Likewise.
1437 * sysdeps/ia64/fpu/s_modff.S: Likewise.
1438 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
1439 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
1440 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
1441 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
1442 * sysdeps/ia64/fpu/s_rint.S: Likewise.
1443 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
1444 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
1445 * sysdeps/ia64/fpu/s_round.S: Likewise.
1446 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
1447 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
1448 * sysdeps/ia64/fpu/s_significand.S: Likewise.
1449 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
1450 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
1451 * sysdeps/ia64/fpu/s_tan.S: Likewise.
1452 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1453 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
1454 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
1455 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
1456 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
1459 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
1460 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
1461 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1462 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1463 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
1464 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
1465 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1466 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1467 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
1468 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1469 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1470 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
1471 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
1472 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
1473 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
1474 * sysdeps/ia64/fpu/e_logl.S: Likewise.
1475 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
1476 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
1477 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
1478 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
1479 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
1480 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
1481 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
1482 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
1483 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
1484 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1485 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1486 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1487 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1488 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1489 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1490 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1491 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
1492 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1493 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
1494 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
1495 * sysdeps/ia64/fpu/s_erf.S: Likewise.
1496 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1497 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1498 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1499 * sysdeps/ia64/fpu/s_erff.S: Likewise.
1500 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
1501 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
1502 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
1503 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
1504 * sysdeps/ia64/fpu/s_fma.S: Likewise.
1505 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
1506 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
1507 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
1508 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
1509 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
1510 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
1511 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
1512 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
1513 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
1514 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
1515 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
1516 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
1517 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
1518 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
1519 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1520 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
1521 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
1522 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
1523 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
1524 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1525 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1526 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1527 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1528 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1531 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
1532 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
1533 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
1534 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1535 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1536 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1537 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1538 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1539 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1540 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1541 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1542 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1543 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1544 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1545 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1546 * sysdeps/ia64/fpu/w_expl.c: Likewise.
1547 * sysdeps/ia64/fpu/e_expl.S: Likewise.
1548 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1549 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1550 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1551 * sysdeps/ia64/fpu/w_log2.c: Likewise.
1552 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1553 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1554 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1555 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1556 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1559 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
1560 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
1561 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
1562 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
1563 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
1564 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
1565 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
1568 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
1569 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
1570 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
1573 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
1576 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
1577 alias for use by libm_error.c
1580 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
1581 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
1582 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
1583 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
1584 libm_scalbn{,f,l}, libm_scalblnf.
1585 (sysdep_routines): Remove libm_frexp4{,f,l}.
1586 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
1587 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
1588 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
1589 -DSIZE_LONG_LONG_INT_64.
1591 2005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
1594 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
1595 l_text_end are set for a VDSO with a single PT_LOAD entry.
1597 2005-01-05 Ulrich Drepper <drepper@redhat.com>
1600 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
1601 invalid to disable optimizations in fileops which won't work here.
1602 (_IO_cookie_jumps): Use it.
1603 (_IO_old_cookie_jumps): Likewise.
1604 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
1605 not the return value.
1606 * stdio-common/Makefile (tests): Add tst-fmemopen2.
1607 * stdio-common/tst-fmemopen2.c: New file.
1609 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
1611 2005-01-05 Roland McGrath <roland@redhat.com>
1613 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
1614 * sysdeps/i386/configure.in: ... here. New file.
1616 2005-01-03 Ulrich Drepper <drepper@redhat.com>
1619 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
1620 initialize __environ again.
1621 * stdlib/Makefile: Add rules to build and run tst-putenv.
1622 * stdlib/tst-putenv.c: New file.
1623 * stdlib/tst-putenvmod.c: New file.
1625 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
1626 define unnecessary wrappers or aliases of static functions.
1628 2005-01-03 Andreas Jaeger <aj@suse.de>
1630 * csu/Makefile (generated): Add start.os and start.ob.
1632 * elf/Makefile (tests): Change rule for tst-pie1 so that make
1635 2004-12-29 Roland McGrath <roland@redhat.com>
1638 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
1639 than always up; when nearest is zero, round up to one.
1641 2004-12-28 Ulrich Drepper <drepper@redhat.com>
1643 * po/es.po: Update from translation team.
1646 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
1648 2004-12-27 Ulrich Drepper <drepper@redhat.com>
1651 * include/signal.h: Define __sigemptyset.
1653 2004-04-27 Paolo Bonzini <bonzini@gnu.org>
1655 * posix/regex_internal.h (struct re_dfastate_t): Make
1656 word_trtable a pointer to the 512-item transition table.
1657 * posix/regexec.c (build_trtable): Fill in either state->trtable
1658 or state->word_trtable. Return a boolean indicating success.
1659 (transit_state): Expect state->trtable to be a 256-item
1660 transition table. Reorganize code to have less tests in
1661 the common case, and to save an indentation level.
1662 * posix/regex_internal.c (free_state): Free word_trtable.
1664 2004-12-21 Jakub Jelinek <jakub@redhat.com>
1667 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
1668 calling fn is 16 byte aligned.
1669 * sysdeps/i386/tst-stack-align.h: New file.
1672 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
1673 (ecvt_r): Special case denormals.
1674 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
1675 * misc/tst-efgcvt.c: Include float.h.
1676 (ecvt_tests): Add 2 new tests.
1678 2004-12-20 Roland McGrath <roland@frob.com>
1680 * version.h (RELEASE, VERSION): development, 2.3.90
1681 * include/features.h (__GLIBC_MINOR__): Now 4.
1684 See ChangeLog.15 for earlier changes.