1 2005-07-02 Roland McGrath <roland@redhat.com>
3 * manual/install.texi (Installation): Don't mention linuxthreads.
4 (Configuring and compiling): Don't use linuxthreads as example.
6 * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only,
8 * sysdeps/unix/sysv/linux/configure: Regenerated.
9 * resolv/Depend: Add nptl.
10 * rt/Depend: Likewise.
12 * linuxthreads, linuxthreads_db: Directories removed (preserved in
15 2005-06-27 Jakub Jelinek <jj@ultra.linux.cz>
18 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated,
21 2005-06-16 Jakub Jelinek <jakub@redhat.com>
24 * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
26 2005-06-23 Thorsten Kukuk <kukuk@suse.de>
28 * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR
31 2005-06-25 Jakub Jelinek <jakub@redhat.com>
33 * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast
34 t2 to uint32_t instead of ulong.
35 * sunrpc/Makefile (tests): Add tst-xdrmem.
36 * sunrpc/tst-xdrmem.c: New test.
38 * Versions.def (ld): Add GLIBC_2.4.
39 * configure.in: Add --enable-stackguard-randomization option.
40 (ENABLE_STACKGUARD_RANDOMIZE): New define.
41 * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add.
42 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h.
43 (_dl_setup_stack_chk_guard): New inline function.
44 * sysdeps/generic/dl-osinfo.h: Include stdint.h.
45 (_dl_setup_stack_chk_guard): New inline function.
46 * elf/rtld.c (__stack_chk_guard): New variable.
47 (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE.
48 Set __stack_chk_guard to _dl_setup_stack_chk_guard (),
49 use THREAD_SET_STACK_GUARD if defined.
50 * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4.
51 * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable.
52 (__libc_start_main): Set __stack_chk_guard to
53 _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined.
54 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all
55 traces of TLS_INIT_TP_EXPENSIVE.
56 * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4.
57 * debug/Makefile (routines): Add stack_chk_fail.
58 (static-only-routines): Add stack_chk_fail_local.
59 * debug/stack_chk_fail_local.c: New file.
60 * debug/stack_chk_fail.c: New file.
61 * elf/Makefile: Add rules to build and run tst-stackguard1{,-static}
63 * elf/tst-stackguard1.c: New file.
64 * elf/tst-stackguard1-static.c: New file.
65 * elf/stackguard-macros.h: New file.
67 2005-06-21 Ulrich Drepper <drepper@redhat.com>
69 * resource/Makefile (tests): Add tst-getrlimit.
70 * resource/tst-getrlimit.c: New file.
72 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo.
73 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
74 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76 2005-06-20 Ulrich Drepper <drepper@redhat.com>
78 * nscd/nscd.init: Get more in line with lsb3.
79 * nscd/nscd.c: Adjust some error codes to fit in better with lsb3.
80 * nscd/connections.c: Likewise.
82 2005-06-20 Jakub Jelinek <jakub@redhat.com>
84 * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for
85 _LINUX_QUOTA_VERSION >= 2.
86 (_LINUX_QUOTA_VERSION): Define if not yet defined.
88 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,
90 (RLIMIT_NLIMITS): Adjust.
91 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE,
93 (RLIMIT_NLIMITS): Adjust.
94 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE,
96 (RLIMIT_NLIMITS): Adjust.
97 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE,
99 (RLIMIT_NLIMITS): Adjust.
101 2005-06-17 Ulrich Drepper <drepper@redhat.com>
103 * time/mktime.c: Always include <string.h> for prototype of
104 implicitly used memcpy.
106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
107 (truncate64): Use __truncate, not truncate.
108 (__have_no_truncate64): Renamed from have_no_truncate64.
109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
110 (__have_no_truncate64): Renamed from have_no_truncate64.
112 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex
113 float functions for gcc 4.
115 2005-06-10 Jakub Jelinek <jakub@redhat.com>
117 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):
118 Handle prelinked libraries and binaries with new style PLT.
120 2005-06-07 Jakub Jelinek <jakub@redhat.com>
122 * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI,
123 R_PPC_REL16_HA): Define.
125 2005-06-14 Alan Modra <amodra@bigpond.net.au>
127 * config.h.in (HAVE_ASM_PPC_REL16): Add.
128 * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define.
129 * elf/tls-macros.h (PowerPC32): Include config.h. Add variants of
130 TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout.
131 * sysdeps/powerpc/powerpc32/configure.in: New file,
132 * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file.
133 * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define.
134 (ppc_got): New inline function.
135 (elf_machine_dynamic): Use ppc_got. Add attribute const.
136 (elf_machine_load_address): Add attribute const. Don't use int vars.
137 Use bcl rather than bl to save trashing branch target stack. Use
138 elf_machine_dynamic rather than duplicating code here.
139 (elf_machine_runtime_setup): New inline function replacing define.
141 (elf_machine_fixup_plt): Handle new PLT.
142 (elf_machine_rela): Likewise.
143 * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h.
144 (CALL_MCOUNT): Don't set up counter vars.
145 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment.
146 * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't
147 define when HAVE_ASM_PPC_REL16.
148 (_start): Add HAVE_ASM_PPC_REL16 code.
149 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl
150 into the GOT when HAVE_ASM_PPC_REL16.
151 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
152 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto.
153 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise.
154 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
155 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
156 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
157 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise.
158 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
159 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
160 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
161 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
162 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
163 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
164 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp):
166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
168 (__getcontext): Likewise.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
170 (__setcontext): Likewise.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
172 (__swapcontext): Likewise.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock):
175 (__socket): Bomb if NARGS >= 7. Invoke CGOTSETUP and CGOTRESTORE.
177 2005-06-17 Ulrich Drepper <drepper@redhat.com>
179 * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
181 * sysdeps/posix/signal.c: Likewise.
182 * sysdeps/posix/sigset.c: Likewise.
183 * sysdeps/posix/sysv_signal.c: Likewise.
184 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
185 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
186 * sysdeps/unix/sysv/linux/system.c: Likewise.
188 2005-06-15 Jakub Jelinek <jakub@redhat.com>
190 * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
191 or both classes equal here.
192 (parse_config_file): If both classes are equal, clear the second one.
194 2005-06-08 Karl Kelley <kekelley@iastate.edu>
196 * hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
197 * hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no
198 valid classes were given or if both are equal.
199 (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
201 (parse_config_file): Handle classes keyword.
202 * hesiod/README.hesiod: Mention addition of the classes keyword.
204 2005-06-14 Ulrich Drepper <drepper@redhat.com>
206 * configure.in: Add test for availability of libaudit.
207 * config.h.in: Define HAVE_LIBAUDIT.
208 * config.make.in: Define have-libaudit.
209 * nscd/Makefile: If libaudit is available, link nscd with it.
210 * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
211 Patch by Steve Grubb <sgrubb@redhat.com>.
213 * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
214 * sysdeps/posix/posix_fallocate64.c: Likewise.
215 * include/string.h: Use libc_hidden_proto for strnlen.
216 * sysdeps/generic/strnlen.c: Add libc_hidden_def.
217 * include/libintl.h: Use libc_hidden_proto for __dcgettext.
218 * intl/dcgettext.c: Add libc_hidden_def.
219 * include/execinfo.h: Add libc_hidden_proto for __backtrace and
220 __backtrace_symbols_fd.
221 * sysdeps/generic/backtrace.c: Add libc_hidden_def.
222 * sysdeps/generic/backtracesymsfd.c: Likewise.
223 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
224 * sysdeps/i386/backtrace.c: Likewise.
225 * sysdeps/ia64/backtrace.c: Likewise.
226 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
227 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
228 * sysdeps/s390/s390-32/backtrace.c: Likewise.
229 * sysdeps/s390/s390-64/backtrace.c: Likewise.
231 2005-06-13 Ulrich Drepper <drepper@redhat.com>
233 * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case
234 where HANDLED_REALTIME is not defined. [BZ #966]
236 2005-06-13 Jakub Jelinek <jakub@redhat.com>
238 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
239 __netlink_receive): Remove prototypes.
240 (__netlink_request): New prototype.
241 * sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
243 (__netlink_sendreq): Make static.
244 (__netlink_receive): Rename to...
245 (__netlink_request): ... this. Add type argument, call
246 __netlink_sendreq. If MSG_TRUNC is set after recvmsg, retry
247 with a bigger buffer. Don't record buffers that contain no
248 messages we are expecting.
249 (getifaddrs): Use __netlink_request instead of __netlink_sendreq
250 and __netlink_receive pairs. Formatting.
251 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
252 __netlink_request instead of __netlink_sendreq and __netlink_receive
255 2005-06-13 Thorsten Kukuk <kukuk@suse.de>
257 * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel
258 headers, instead copy important structs/defines.
260 2005-06-13 Jakub Jelinek <jakub@redhat.com>
262 * elf/rtld.c (dl_main): Move DT_DEBUG setup before first
263 _dl_debug_state call.
265 2005-06-12 Ulrich Drepper <drepper@redhat.com>
267 * elf/dl-error.c (_dl_signal_error): Store information about use of
268 real malloc in the catch object.
269 (_dl_catch_error): Forward information about malloc use to caller
271 (_dl_out_of_memory): Make static.
272 * elf/dl-deps.c: Adjust callers of _dl_catch_error.
273 * elf/dl-libc.c: Likewise.
274 * elf/dl-open.c: Likewise.
275 * elf/rtld.c: Likewise.
276 Add new --audit option.
277 * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration.
278 (rtld_global_ro._dl_signal_error): Add new parameter.
279 * include/dlfcn.h (_dl_catch_error): Add new parameter.
280 * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to
281 _dl_catch_error. Only free if the returned newly value says so.
283 2005-06-01 Roland McGrath <roland@redhat.com>
286 * posix/tst-mmap.c (main): Fill the test file with enough data for the
289 2005-05-30 Jakub Jelinek <jakub@redhat.com>
291 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If
292 GLRO(dl_osversion) has been already set to a value smaller than
293 _dl_discover_osversion (), don't overwrite it here.
295 2005-05-24 Thomas Schwinge <schwinge@nic-nac-project.de>
297 * sysdeps/mach/i386/syscall.S (syscall): Call END.
299 2005-05-28 Richard Henderson <rth@redhat.com>
301 * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
302 * sysdeps/alpha/dl-dtprocnum.h: New file.
303 * sysdeps/alpha/dl-machine.h (DT_ALPHA): New.
304 (elf_machine_load_address): Simplify to rely on gprel relocations.
305 (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format.
306 Remove thread safety workaround for binutils 2.6.
307 (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format.
308 * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New.
309 (_dl_runtime_profile_new): New.
310 (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve.
311 (_dl_runtime_profile_old): Rename from _dl_runtime_profile. Fix
312 typo in _dl_call_pltexit argument loading.
314 * sysdeps/alpha/div_libc.h (funcnoplt): New.
315 * sysdeps/alpha/divl.S: Use it.
316 * sysdeps/alpha/divq.S: Likewise
317 * sysdeps/alpha/divqu.S: Likewise.
318 * sysdeps/alpha/reml.S: Likewise.
319 * sysdeps/alpha/remq.S: Likewise.
320 * sysdeps/alpha/remqu.S: Likewise.
322 2005-05-26 Andreas Schwab <schwab@suse.de>
324 * locale/Makefile (CFLAGS-loadlocale.c): Don't define.
326 2005-05-26 Ulrich Drepper <drepper@redhat.com>
328 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value.
329 Reported by Colin Gibbs <colin@gibbsonline.net>. [BZ #954]
331 2005-05-17 Alan Modra <amodra@bigpond.net.au>
333 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent
334 _dl_hwcap access in PIC && !SHARED case.
335 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
337 2005-05-25 Dwayne Grant McConnell <dgm69@us.ibm.com>
339 * gmon/gmon.c: Add space in weak_alias use.
340 * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
341 * sysdeps/alpha/htonl.S: Likewise.
342 * sysdeps/alpha/htons.S: Likewise.
343 * sysdeps/alpha/elf/start.S: Likewise.
344 * sysdeps/i386/i386-mcount.S: Likewise.
345 * sysdeps/ia64/strchr.S: Likewise.
346 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
347 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
348 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
349 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
350 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
351 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
352 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
353 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
354 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
355 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
356 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
357 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
358 * sysdeps/mach/hurd/readdir64_r.c: Likewise.
359 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
360 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
361 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
362 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
363 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
364 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
365 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
366 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
367 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
368 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
369 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
370 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
371 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
372 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
373 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
374 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
375 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
376 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
377 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
378 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
379 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
380 * sysdeps/sparc/sparc32/memset.S: Likewise.
381 * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
382 * sysdeps/sparc/sparc32/strchr.S: Likewise.
383 * sysdeps/sparc/sparc32/strchr.S: Likewise.
384 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
385 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
386 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
387 * sysdeps/sparc/sparc64/memset.S: Likewise.
388 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
389 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
390 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
391 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
392 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
393 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
394 * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise.
395 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
396 * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise.
397 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
398 * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise.
399 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
400 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
401 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
402 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
403 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
404 * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise.
405 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
406 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
407 * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise.
408 * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise.
409 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
410 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
412 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
413 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
414 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
415 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
416 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
417 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
418 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
419 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
420 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise.
421 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
422 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
423 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
424 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
425 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
426 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise.
427 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
428 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
429 * sysdeps/x86_64/_mcount.S: Likewise.
431 2005-05-24 Roland McGrath <roland@redhat.com>
433 * sysdeps/unix/sysv/linux/i386/sysdep.h
434 (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ...
435 * sysdeps/i386/sysdep.h [PIC]: ... to here.
437 2005-05-23 Roland McGrath <roland@redhat.com>
439 * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm:
440 Subdirectories moved to ports repository.
441 * configure.in (base_machine): Remove arm* and thumb* patterns.
442 * shlib-versions (arm.*-.*-linux.*): Remove this pattern.
444 2005-05-23 Ulrich Drepper <drepper@redhat.com>
446 * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd
447 implementations are broken and don't accept ports < 512.
449 2005-05-22 Dmitry V. Levin <ldv@altlinux.org>
452 * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
455 2005-05-23 Ulrich Drepper <drepper@redhat.com>
457 * sunrpc/pm_getport.c (__get_socket): New function.
458 (pmap_getport): Use it to open a non-reserved socket to the portmapper
460 * include/rpc/pmap_clnt.h (__get_socket): Declare.
461 * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an
462 non-reserved socket for the portmapper.
463 Based on a patch by Steve Dickson <steved@redhat.com>.
465 * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port.
466 If we tried looking at the usual range without success extend the
467 range to even lower ports.
469 * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch.
471 2005-05-22 Andreas Schwab <schwab@suse.de>
473 * elf/rtld.c: Include <dl-osinfo.h>.
475 2005-05-17 Alan Modra <amodra@bigpond.net.au>
477 * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use
478 JUMPTARGET. Instead append @local to __syscall_error.
479 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences
480 of JUMPTARGET. Instead append @local to labels.
481 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
482 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
483 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise.
484 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
493 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants.
494 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
495 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
496 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
497 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Use one GOT
498 slot to access both constants.
499 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
500 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
502 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.
503 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete.
504 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete.
505 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete.
506 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo.
507 (NEGZERO.0, POINTFIVE.0): Delete.
508 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete.
509 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete.
510 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text.
511 (TWO52.0, POINTFIVE.0): Delete.
512 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text.
513 (TWO23.0, POINTFIVE.0): Delete.
514 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text.
516 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text.
518 * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
520 2005-05-19 Richard Henderson <rth@redhat.com>
522 * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around
525 * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq,
526 __arch_compare_and_exchange_bool_64_acq,
527 __arch_compare_and_exchange_val_32_acq,
528 __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add):
529 Use __sync builtin without _si or _di suffix.
531 2005-05-19 Jakub Jelinek <jakub@redhat.com>
534 * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters
537 2005-05-17 Andreas Schwab <schwab@suse.de>
539 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
540 (clock_getcpuclockid): Always return a defined value.
542 2005-05-17 Neal H. Walfield <neal@gnu.org>
544 * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN]
546 (gaih_inet): Likewise.
548 2005-05-11 Ulrich Drepper <drepper@redhat.com>
550 * elf/elf.h (Elf32_auxv_t): Make cross-compile safe.
551 (Elf64_auxv_t): Likewise.
552 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
553 removal of a_ptr element in ElfXX_auxv_t.
554 * elf/dl-support.c (_dl_aux_init): Likewise.
556 2005-05-09 Daniel Jacobowitz <dan@codesourcery.com>
558 * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.
559 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
561 2005-05-09 Alan Modra <amodra@bigpond.net.au>
563 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
564 .pushsection/.popsection in place of .section/.previous.
566 2005-05-08 Ulrich Drepper <drepper@redhat.com>
568 * MakeTAGS: Make xgettext not look into test cases.
570 * MakeTAGS: Make sure translations in error calls are marked with
571 c-format by xgettext.
573 2005-05-07 Ulrich Drepper <drepper@redhat.com>
575 * intl/libintl.h: Always use __attribute_format_arg__ for gettext
576 functions since gcc sometimes forgets the attribute for the
579 2005-05-06 Jakub Jelinek <jakub@redhat.com>
582 * posix/regex_internal.h: Include bits/libc-lock.h or define dummy
583 __libc_lock_* macros if not _LIBC.
584 (struct re_dfa_t): Add lock.
585 * posix/regcomp.c (re_compile_internal): Add __libc_lock_init.
586 * posix/regexec.c (regexec, re_search_stub): Add locking.
588 2005-05-04 Jakub Jelinek <jakub@redhat.com>
590 * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix)
591 as argument to the scripts.
592 * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir.
593 * intl/tst-gettext4.sh: Likewise. Use run_program_prefix argument.
594 * intl/tst-gettext5.sh: Likewise.
596 * intl/tst-translit.sh: Add mkdir -p.
598 * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use
599 .ifndef/.endif to allow use of this macro more than once per .S
601 (LOAD_PIC_REG): New macro.
602 * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame
604 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
605 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
606 * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro. Add call frame
608 * sysdeps/i386/fpu/e_log10f.S: Likewise.
609 * sysdeps/i386/fpu/s_expm1.S: Likewise.
610 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
611 * sysdeps/i386/fpu/e_log2l.S: Likewise.
612 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
613 * sysdeps/i386/fpu/s_lrint.S: Likewise.
614 * sysdeps/i386/fpu/s_llrint.S: Likewise.
615 * sysdeps/i386/fpu/s_ilogbf.S: Likewise.
616 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
617 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
618 * sysdeps/i386/fpu/e_log.S: Likewise.
619 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
620 * sysdeps/i386/fpu/s_lrintl.S: Likewise.
621 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
622 * sysdeps/i386/fpu/e_scalb.S: Likewise.
623 * sysdeps/i386/fpu/s_log1p.S: Likewise.
624 * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
625 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
626 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
627 * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
628 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
629 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
630 * sysdeps/i386/fpu/s_lrintf.S: Likewise.
631 * sysdeps/i386/fpu/e_acosh.S: Likewise.
632 * sysdeps/i386/fpu/s_cexp.S: Likewise.
633 * sysdeps/i386/fpu/s_ilogbl.S: Likewise.
634 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
635 * sysdeps/i386/fpu/e_powl.S: Likewise.
636 * sysdeps/i386/fpu/e_powf.S: Likewise.
637 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
638 * sysdeps/i386/fpu/e_logl.S: Likewise.
639 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
640 * sysdeps/i386/fpu/s_frexp.S: Likewise.
641 * sysdeps/i386/fpu/e_pow.S: Likewise.
642 * sysdeps/i386/fpu/e_logf.S: Likewise.
643 * sysdeps/i386/fpu/e_log2.S: Likewise.
644 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
645 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
646 * sysdeps/i386/fpu/s_llrintf.S: Likewise.
647 * sysdeps/i386/fpu/s_ilogb.S: Likewise.
648 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
649 * sysdeps/i386/fpu/e_atanh.S: Likewise.
650 * sysdeps/i386/fpu/e_log10.S: Likewise.
651 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
652 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
653 * sysdeps/i386/fpu/s_llrintl.S: Likewise.
654 * sysdeps/i386/fpu/e_log10l.S: Likewise.
655 * sysdeps/i386/fpu/s_nearbyint.S: Likewise.
656 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
657 * sysdeps/i386/fpu/e_log2f.S: Likewise.
658 * sysdeps/i386/addmul_1.S: Various fixes to cfi handling.
659 * sysdeps/i386/mul_1.S: Likewise.
660 * sysdeps/i386/strtok.S: Likewise.
661 * sysdeps/i386/sub_n.S: Likewise.
662 * sysdeps/i386/submul_1.S: Likewise.
663 * sysdeps/i386/i586/addmul_1.S: Likewise.
664 * sysdeps/i386/i586/memcpy.S: Likewise.
665 * sysdeps/i386/i586/mul_1.S: Likewise.
666 * sysdeps/i386/i586/rshift.S: Likewise.
667 * sysdeps/i386/i586/sub_n.S: Likewise.
668 * sysdeps/i386/i586/submul_1.S: Likewise.
669 * sysdeps/i386/i686/memcmp.S: Likewise.
670 * sysdeps/i386/i686/memmove.S: Likewise.
671 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
672 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
673 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
674 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
676 2005-05-03 Ulrich Drepper <drepper@redhat.com>
678 * sysdeps/i386/add_n.S: Add call frame information.
679 * sysdeps/i386/addmul_1.S: Likewise.
680 * sysdeps/i386/bsd-setjmp.S: Likewise.
681 * sysdeps/i386/lshift.S: Likewise.
682 * sysdeps/i386/memchr.S: Likewise.
683 * sysdeps/i386/memcmp.S: Likewise.
684 * sysdeps/i386/mul_1.S: Likewise.
685 * sysdeps/i386/rawmemchr.S: Likewise.
686 * sysdeps/i386/rshift.S: Likewise.
687 * sysdeps/i386/stpncpy.S: Likewise.
688 * sysdeps/i386/strchr.S: Likewise.
689 * sysdeps/i386/strchrnul.S: Likewise.
690 * sysdeps/i386/strcspn.S: Likewise.
691 * sysdeps/i386/strpbrk.S: Likewise.
692 * sysdeps/i386/strrchr.S: Likewise.
693 * sysdeps/i386/strspn.S: Likewise.
694 * sysdeps/i386/strtok.S: Likewise.
695 * sysdeps/i386/sub_n.S: Likewise.
696 * sysdeps/i386/submul_1.S: Likewise.
697 * sysdeps/i386/elf/bsd-setjmp.S: Likewise.
698 * sysdeps/i386/i486/strcat.S: Likewise.
699 * sysdeps/i386/i586/add_n.S: Likewise.
700 * sysdeps/i386/i586/addmul_1.S: Likewise.
701 * sysdeps/i386/i586/lshift.S: Likewise.
702 * sysdeps/i386/i586/memcpy.S: Likewise.
703 * sysdeps/i386/i586/memset.S: Likewise.
704 * sysdeps/i386/i586/mul_1.S: Likewise.
705 * sysdeps/i386/i586/rshift.S: Likewise.
706 * sysdeps/i386/i586/strchr.S: Likewise.
707 * sysdeps/i386/i586/strcpy.S: Likewise.
708 * sysdeps/i386/i586/sub_n.S: Likewise.
709 * sysdeps/i386/i586/submul_1.S: Likewise.
710 * sysdeps/i386/i686/add_n.S: Likewise.
711 * sysdeps/i386/i686/memcmp.S: Likewise.
712 * sysdeps/i386/i686/memmove.S: Likewise.
713 * sysdeps/i386/i686/mempcpy.S: Likewise.
714 * sysdeps/i386/i686/memset.S: Likewise.
715 * sysdeps/i386/i686/strtok.S: Likewise.
716 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
717 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
718 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
719 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
720 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
721 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
723 * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4.
725 * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available
728 2005-04-29 Jakub Jelinek <jakub@redhat.com>
730 * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
731 call ftruncate if offset is bigger than current size. Make sure
732 the file is offset + len bytes long if that is more than current size.
733 Don't overwrite previous content of the file.
734 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
737 2005-05-02 Roland McGrath <roland@redhat.com>
740 * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
742 2005-04-29 Roland McGrath <roland@redhat.com>
744 * timezone/africa: Update from tzdata2005i.
745 * timezone/asia: Likewise.
746 * timezone/northamerica: Likewise.
747 * timezone/yearistype: Likewise.
749 * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.
751 2005-04-29 Ulrich Drepper <drepper@redhat.com>
753 * nis/nis_table.c: Fix realloc handling.
754 * nis/nis_removemember.c: Likewise.
756 2005-04-28 Ulrich Drepper <drepper@redhat.com>
759 * nscd/Makefile: Help losers who use --with-headers.
761 2005-04-28 Roland McGrath <roland@redhat.com>
764 * sysdeps/unix/sysv/linux/dl-sysdep.h: New file.
765 Define NEED_DL_SYSINFO_DSO for all platforms.
767 * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
768 * sysdeps/alpha/dl-sysdep.h: Likewise.
769 Use #include_next instead of duplicating generic file's contents.
770 * sysdeps/ia64/dl-sysdep.h: Likewise.
771 * sysdeps/sparc/dl-sysdep.h: Likewise.
773 2005-03-22 Steven Munroe <sjmunroe@us.ibm.com>
775 * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
777 2005-03-07 Steven Munroe <sjmunroe@us.ibm.com>
780 * sysdeps/unix/sysv/linux/kernel-features.h
781 (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1.
782 (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1.
783 (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting
785 (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
787 2005-04-28 Ulrich Drepper <drepper@redhat.com>
789 * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.
790 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
791 * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate
792 cfi_startproc and cfi_endproc.
794 * configure.in: Remove ultrasparc names.
796 * sysdeps/i386/i686/memcmp.S: Move misplaced END.
798 2005-03-27 Bruno Haible <bruno@clisp.org>
800 Make it possible for multiple threads to use gettext() in different
802 * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
803 (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
805 (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
806 (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
809 * intl/tst-gettext4.c: New file.
810 * intl/tst-gettext4.sh: New file.
811 * intl/tst-gettext4-de.po: New file.
812 * intl/tst-gettext4-fr.po: New file.
813 * intl/tst-gettext5.c: New file.
814 * intl/tst-gettext5.sh: New file.
815 * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po,
816 tst-gettext4-fr.po, tst-gettext5.sh.
817 (multithread-test-srcs): New variable.
818 (test-srcs): Add its contents.
819 (tests): Depend on tst-gettext4.out, tst-gettext5.out.
820 (tst-gettext4.out, tst-gettext5.out): New rules.
821 (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables.
822 Add rule for linking the multithread-test-srcs with the appropriate
825 2005-04-28 Ulrich Drepper <drepper@redhat.com>
827 * po/rw.po: New file. From translation team.
829 * scripts/config.guess: Update from upstream.
830 * scripts/config.sub: Likewise.
832 2005-04-27 Ulrich Drepper <drepper@redhat.com>
834 * nscd/connections.c (nscd_run): Use time() value in prune_cache
835 call, not timeout value, since the latter might be from another clock.
837 2005-04-27 Roland McGrath <roland@redhat.com>
840 * posix/unistd.h: Remove __nonnull from acct decl.
842 * rt/tst-cpuclock1.c: New file.
843 * rt/tst-cpuclock2.c: New file.
844 * rt/tst-cputimer1.c: New file.
845 * rt/tst-cputimer2.c: New file.
846 * rt/tst-cputimer3.c: New file.
847 * rt/Makefile (tests): Add them.
849 * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
850 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
851 * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
852 (HAS_CPUCLOCK): New macro.
853 (clock_getcpuclockid): Function removed.
854 #include the new linux file to define it instead.
855 * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
856 New function, broken out of ...
857 (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it.
858 (realtime_gettime): New function, broken out of ...
859 (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it.
860 (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
861 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
862 (SYSDEP_GETTIME_CPUTIME): New macro.
863 (SYSDEP_GETTIME): Use both.
864 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
866 (SYSDEP_GETTIME): ... here. Use it.
867 [__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
868 (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying
869 kernel support and falling back to hp-timing code.
870 * sysdeps/posix/clock_getres.c
871 [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
872 (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it.
873 (realtime_getres): New function, broken out of ...
874 (clock_getres) [! HANDLED_REALTIME]: ... here. Call it.
875 (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
876 * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
877 (SYSDEP_GETRES_CPUTIME): New macro.
878 (SYSDEP_GETRES): Use both.
879 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
881 (SYSDEP_GETRES): ... here. Use it.
882 [__NR_clock_getres] (HANDLED_CPUTIME): Define it.
883 (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying
884 kernel support and falling back to hp-timing code.
885 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
886 CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
887 translating to the kernel clockid_t for our own process/thread clock.
889 2005-04-27 Ulrich Drepper <drepper@redhat.com>
891 * stdlib/test-canon.c: Make doesExist a directory and add more tests
892 for the new error case.
894 2004-06-02 Dmitry V. Levin <ldv@altlinux.org>
895 Ranjani Murthy <ranmur@gmail.com>
897 * stdlib/canonicalize.c (__realpath): Change realpath(3) to
898 return NULL and set errno to ENOTDIR for such pathnames like
899 "/path/to/existing-non-directory/".
901 2005-04-26 Ulrich Drepper <drepper@redhat.com>
903 * time/strptime_l.c (__strptime_internal): Handle 'z' to set
905 * time/Makefile (tests): Add tst-strptime2.
906 * time/tst-strptime2.c: New file.
908 2005-04-26 Jakub Jelinek <jakub@redhat.com>
910 * elf/dl-close.c: Include stddef.h.
911 (_dl_close): If called recursively, just remember GC needs to be rerun
912 and decrease l_direct_opencount. Avoid GC if l_direct_opencount
913 decreased to 1. Rerun GC at the end if any destructor unloaded some
914 additional libraries.
915 * elf/Makefile: Add rules to build and run unload6 test.
916 * elf/unload6.c: New test.
917 * elf/unload6mod1.c: New file.
918 * elf/unload6mod2.c: New file.
919 * elf/unload6mod3.c: New file.
921 * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
922 if magic_p is not NULL.
923 (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
924 (malloc_check): Fail if sz == -1.
925 (free_check): Adjust mem2chunk_check caller.
926 (realloc_check): Likewise. Fail if bytes == -1. If bytes == 0 and
927 oldmem != NULL, call free_check and return NULL. If reallocating
928 and returning NULL, invert magic byte again to make oldmem valid
929 region for further checking.
930 (memalign_check): Fail if bytes == -1.
931 * malloc/Makefile: Add rules to build and run tst-mcheck.
932 * malloc/tst-mcheck.c: New test.
934 2005-04-26 Ulrich Drepper <drepper@redhat.com>
936 * stdio-common/vfscanf.c: Correctly account for characters of
937 decimal points right after +-.
939 2005-04-26 Roland McGrath <roland@redhat.com>
941 * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
942 ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
944 2005-04-25 Roland McGrath <roland@redhat.com>
946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
947 (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
949 * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
951 * elf/dl-load.c: Revert last change.
953 2005-04-24 Ulrich Drepper <drepper@redhat.com>
955 * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
956 Patch by Hamed Malek <hamed@bamdad.org>.
958 2005-04-21 Roland McGrath <roland@redhat.com>
960 * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
961 since Linux ignores it in user mmap calls.
963 2005-04-17 David S. Miller <davem@davemloft.net>
965 * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
966 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
968 2005-04-15 Roland McGrath <roland@redhat.com>
970 * timezone/Makefile (zic-deps): New variable.
971 ($(testdata)/America/New_York): Use it instead of explicit deps.
972 ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
973 ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
974 (%/UTC %/Universal): New pattern rule, replaces ...
975 ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
976 ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
977 ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
979 2005-04-14 Roland McGrath <roland@redhat.com>
981 * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
982 (extract): Filter-out distinfo file name.
985 * MakeTAGS (text-srcs): Match %.bash.in files too.
988 * nscd/Makefile (all-nscd-modules): New variable, include selinux
989 module regardless of configuration.
990 (distribute): Use that instead of $(nscd-modules).
992 2005-04-13 David S. Miller <davem@davemloft.net>
994 Add sparc64 TLS and NPTL support.
995 * elf/tls-macros.h: Add Sparc64 defines.
996 * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
998 (elf_machine_fixup_plt): Likewise.
999 (elf_machine_rela): Handle TLS relocations.
1000 (elf_machine_type_cleaa): Likewise.
1001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1002 (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
1003 It does not always fit in R_SPARC_GOT13 when building -fPIC.
1004 Also, add TLS handling.
1005 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1006 Increase it to 2.4.21 for sparc64.
1007 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
1008 backtrace by zero'ing out %fp. Store away flags, func_ptr,
1009 and func_arg in global registers not local registers.
1010 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
1011 and CTID arguments properly. Add RESET_PID handling.
1012 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
1013 do not invoke __sigprocmask(). We can always assume rt signals
1014 are present on sparc64, so just do an inline syscall.
1016 2005-04-13 Jakub Jelinek <jakub@redhat.com>
1018 * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
1019 inclusion guard for the first half of the header.
1020 (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
1021 ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
1022 elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
1023 #ifndef dl_machine_h guarded part of the header.
1025 2005-04-14 Ulrich Drepper <drepper@redhat.com>
1028 * posix/execvp.c (execvp): Use file name including path when
1029 trying to run it with shell.
1030 * posix/Makefile: Add rules to build and run tst-execvp3.
1031 * posix/tst-execvp3.c: New file.
1033 2005-04-12 Ulrich Drepper <drepper@redhat.com>
1035 * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
1036 * string/tst-strfry.c: New file.
1037 * string/Makefile (tests): Add tst-strfry.
1039 2005-04-11 James A. Morrison <ja2morri@uwaterloo.ca>
1041 * manual/string.texi: Fix typo in wmemcpy decl.
1043 2005-04-10 David S. Miller <davem@davemloft.net>
1045 * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
1047 2005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca>
1049 * FAQ.in: Explain why `make' might fail running rpcgen.
1052 2005-04-07 Roland McGrath <roland@redhat.com>
1054 * po/libc.pot: Regenerated.
1056 2005-04-07 Roland McGrath <roland@redhat.com>
1058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
1059 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
1060 GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
1061 we can skip the uname call if it's there.
1062 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
1063 DL_SYSDEP_OSCHECK here.
1064 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
1066 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
1067 Add _dl_sysinfo_map.
1068 * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
1069 rtld_is_main case. Call it unconditionally later.
1070 Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
1071 Initialize GLRO(dl_sysinfo_map).
1072 * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
1073 * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
1074 (_dl_important_hwcaps)
1075 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
1076 GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
1078 * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
1079 (hwcap_extra): New static variable.
1080 (is_hwcap_platform): Check hwcap_extra for a matching name.
1081 Remove tls special case.
1082 (path_hwcap): Likewise.
1083 (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
1084 and their names, stored in hwcap_extra.
1085 (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
1087 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
1088 _dl_hwcap and _dl_hwcap_mask.
1089 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
1090 AT_HWCAP to unsigned long int.
1091 * elf/dl-support.c (_dl_aux_init): Likewise.
1092 (_dl_hwcap): Update defn.
1094 * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
1095 * elf/ldconfig.c (search_dir): Likewise.
1097 2005-04-05 Roland McGrath <roland@redhat.com>
1099 * NEWS: Copy 2.3.5 section from 2.3 branch.
1101 * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary
1102 file and mv it into place.
1103 * intl/tst-gettext3.sh: Likewise.
1105 * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
1106 are up to date in srcdir. Touch all configure scripts after export.
1108 * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
1110 2005-04-05 H.J. Lu <hongjiu.lu@intel.com>
1113 * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
1114 (comment changes only).
1115 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1116 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1117 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1118 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1119 * sysdeps/ia64/fpu/e_exp.S: Likewise.
1120 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1121 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1122 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1123 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1124 * sysdeps/ia64/fpu/e_expf.S: Likewise.
1125 * sysdeps/ia64/fpu/e_log.S: Likewise.
1126 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1127 * sysdeps/ia64/fpu/e_pow.S: Likewise.
1128 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1129 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1130 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1131 * sysdeps/ia64/fpu/libm_error.c: Likewise.
1132 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1133 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1134 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1135 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1136 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1137 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1138 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1139 * sysdeps/ia64/fpu/s_cos.S: Likewise.
1140 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1141 * sysdeps/ia64/fpu/s_erf.S: Likewise.
1142 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1143 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1144 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1145 * sysdeps/ia64/fpu/s_erff.S: Likewise.
1146 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1147 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1148 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1149 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1150 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1151 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
1152 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1153 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1154 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1156 2005-04-05 Roland McGrath <roland@redhat.com>
1158 * scripts/config.guess: Update from master, timestamp='2005-03-24'.
1159 * scripts/config.sub: Update from master, timestamp='2005-02-10'.
1161 2005-04-04 David S. Miller <davem@davemloft.net>
1163 * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
1164 * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
1165 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1166 (elf_machine_runtime_setup): Test for dl_profile non-null.
1167 * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
1168 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1169 * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
1170 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1171 (elf_machine_runtime_setup): Test for dl_profile non-null.
1172 * sysdeps/sparc/bits/link.h: New file.
1173 * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
1174 La_sparc64_regs, La_sparc64_retval): New.
1175 (struct audit_ifaces): Add sparc entries.
1176 * elf/tst-auditmod1.c: Add sparc entries.
1178 2005-03-27 Bruno Haible <bruno@clisp.org>
1180 * intl/tst-gettext3.c: New file.
1181 * intl/tst-gettext3.sh: New file.
1182 * intl/Makefile (distribute): Add tst-gettext3.sh.
1183 (test-srcs): Add tst-gettext3.
1184 (tests): Depend on tst-gettext3.out.
1185 (tst-gettext3.out): New rule.
1186 (CFLAGS-tst-gettext3.c): New variable.
1188 Fix bug exposed by tst-gettext3.
1189 * intl/gettextP.h (struct converted_domain): New type.
1190 (struct loaded_domain): Remove the conv, conv_tab fields. Add
1191 conversions, nconversions fields.
1192 (_nl_init_domain_conv): Remove declaration.
1193 (_nl_free_domain_conv): Remove declaration.
1194 (_nl_find_msg): Add convert argument.
1195 * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
1196 (_nl_find_msg): Add convert argument. When a conversion to a different
1197 charset is needed, create a new converted_domain element, instead of
1198 throwing away the old converted translations.
1199 (get_output_charset): New function.
1200 * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
1201 (_nl_free_domain_conv): Remove function.
1202 (_nl_load_domain): Initialize the conversions array to empty. Use
1203 _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
1205 (_nl_unload_domain): Free the conversions array and its contents.
1207 * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
1208 (struct binding): Likewise.
1209 * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
1212 2005-04-04 Jakub Jelinek <jakub@redhat.com>
1214 * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
1215 of trying to encode uninitialized arglen.
1217 2005-04-04 Ulrich Drepper <drepper@redhat.com>
1220 * timezone/scheck.c: Update from tzcode2005h.
1221 * timezone/tzfile.h: Likewise.
1222 * timezone/zdump.c: Likewise.
1223 * timezone/zic.c: Likewise.
1226 * timezone/antarctica: Update from tzdata2005h.
1227 * timezone/asia: Likewise.
1228 * timezone/australasia: Likewise.
1229 * timezone/etcetera: Likewise.
1230 * timezone/europe: Likewise.
1231 * timezone/northamerica: Likewise.
1232 * timezone/southamerica: Likewise.
1233 * timezone/leapseconds: Likewise.
1234 * timezone/iso3166.tab: Likewise.
1236 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
1239 * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
1241 2005-04-01 Ulrich Drepper <drepper@redhat.com>
1243 * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
1244 * wcsmbs/wctob.c (wctob): Likewise.
1245 * wcsmbs/wchar.h (btowc): Add optimized inline function.
1248 2005-03-31 Jakub Jelinek <jakub@redhat.com>
1250 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
1251 equivalent, but shorter instructions.
1252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1253 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1254 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1255 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1256 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1257 * sysdeps/x86_64/strchr.S: Likewise.
1258 * sysdeps/x86_64/memset.S: Likewise.
1259 * sysdeps/x86_64/strcspn.S: Likewise.
1260 * sysdeps/x86_64/strcmp.S: Likewise.
1261 * sysdeps/x86_64/elf/start.S: Likewise.
1262 * sysdeps/x86_64/strspn.S: Likewise.
1263 * sysdeps/x86_64/dl-machine.h: Likewise.
1264 * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
1265 * sysdeps/x86_64/bsd-setjmp.S: Likewise.
1266 * sysdeps/x86_64/strtok.S: Likewise.
1268 2005-03-30 H.J. Lu <hongjiu.lu@intel.com>
1271 * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
1272 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
1273 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1274 * sysdeps/ia64/fpu/e_acosh.S: Likewise.
1275 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1276 * sysdeps/ia64/fpu/e_acos.S: Likewise.
1277 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1278 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1279 * sysdeps/ia64/fpu/e_asin.S: Likewise.
1280 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1281 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1282 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
1283 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
1284 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1285 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1286 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1287 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1288 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1289 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
1290 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1291 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1292 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
1293 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1294 * sysdeps/ia64/fpu/e_expf.S: Likewise.
1295 * sysdeps/ia64/fpu/e_exp.S: Likewise.
1296 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1297 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1298 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1299 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1300 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1301 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1302 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1303 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1304 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
1305 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1306 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1307 * sysdeps/ia64/fpu/e_log2.S: Likewise.
1308 * sysdeps/ia64/fpu/e_logf.S: Likewise.
1309 * sysdeps/ia64/fpu/e_logl.S: Likewise.
1310 * sysdeps/ia64/fpu/e_log.S: Likewise.
1311 * sysdeps/ia64/fpu/e_powf.S: Likewise.
1312 * sysdeps/ia64/fpu/e_powl.S: Likewise.
1313 * sysdeps/ia64/fpu/e_pow.S: Likewise.
1314 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1315 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1316 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1317 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1318 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1319 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1320 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1321 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1322 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1323 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1324 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1325 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1326 * sysdeps/ia64/fpu/libm_error.c: Likewise.
1327 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1328 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1329 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1330 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
1331 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1332 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1333 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1334 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1335 * sysdeps/ia64/fpu/libm_support.h: Likewise.
1336 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
1337 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1338 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1339 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1340 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1341 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1342 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1343 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1344 * sysdeps/ia64/fpu/s_cos.S: Likewise.
1345 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1346 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1347 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1348 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
1349 * sysdeps/ia64/fpu/s_erf.S: Likewise.
1350 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1351 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
1352 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1353 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
1354 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
1355 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
1356 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
1357 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
1358 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
1359 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
1360 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
1361 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
1362 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
1363 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
1364 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
1365 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
1366 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
1367 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
1368 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
1369 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
1370 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
1371 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
1372 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
1373 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1374 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
1375 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
1376 * sysdeps/ia64/fpu/s_logb.S: Likewise.
1377 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
1378 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
1379 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
1380 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
1381 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
1382 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
1383 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
1384 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
1385 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
1386 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
1387 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
1388 * sysdeps/ia64/fpu/s_round.S: Likewise.
1389 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
1390 * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
1391 * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
1392 * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
1393 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1394 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
1395 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1396 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
1397 * sysdeps/ia64/fpu/s_tan.S: Likewise.
1398 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
1399 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1400 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1401 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1402 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1403 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1406 * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
1407 * sysdeps/ia64/fpu/libm_error_codes.h: New file.
1410 * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
1412 * sysdeps/ia64/fpu/import_file.awk: Likewise.
1413 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
1414 * sysdeps/ia64/fpu/Makefile: Likewise.
1416 2005-03-29 Jakub Jelinek <jakub@redhat.com>
1418 * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
1419 avoid calling mbsrtowcs twice.
1421 2005-03-29 Roland McGrath <roland@redhat.com>
1423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
1424 function, inline broken out of ...
1425 (DL_SYSDEP_OSCHECK): ... here. Use that.
1426 Do the discovery and set GLRO(dl_osversion) if successful,
1427 if __LINUX_KERNEL_VERSION <= 0.
1428 * elf/dl-load.c: Don't include dl-osinfo.h here.
1430 2005-03-29 Alfred M. Szmidt <ams@gnu.org>
1432 * manual/install.texi (Tools for Compilation): GNU binutils 2.15
1435 2005-03-19 Bruno Haible <bruno@clisp.org>
1437 * intl/dcigettext.c (struct known_translation_t): Change type of
1438 domainname field to 'const char *'.
1439 (DCIGETTEXT): Remove const-cast.
1441 2005-03-29 Thorsten Kukuk <kukuk@suse.de>
1444 * grp/initgroups.c (internal_getgrouplist): Check if we have
1445 enough space before adding the primary group to the list.
1447 * posix/tst-execle1.c (do_test): Fix execle arguments.
1448 * posix/tst-execle2.c (do_test): Likewise.
1450 2005-03-28 Roland McGrath <roland@redhat.com>
1452 * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
1453 Reported by Mark Mitchell <mark@codesourcery.com>.
1454 * Versions.def (libm): Define GLIBC_2.4 set.
1455 * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
1456 * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
1457 * sysdeps/ia64/Versions: Likewise.
1458 * sysdeps/m68k/Versions: Likewise.
1459 * sysdeps/sparc/sparc64/Versions: Likewise.
1460 * sysdeps/x86_64/Versions: New file.
1461 * sysdeps/mips/mips64/Versions: New file.
1463 * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
1464 [__USE_GNU] (NL_LOCALE_NAME): New macro.
1465 * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
1466 return locale name string for the category.
1468 2005-03-25 Jakub Jelinek <jakub@redhat.com>
1470 * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
1473 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
1475 * sysdeps/mips/atomicity.h: Remove unused file.
1476 * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
1477 * sysdeps/mips/dl-tls.h: New file.
1478 * sysdeps/mips/libc-tls.c: New file.
1479 * sysdeps/mips/tls-macros.h: New file.
1480 * sysdeps/mips/bits/atomic.h: New file.
1481 * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
1482 * sysdeps/mips/elf/configure.in: New file.
1483 * sysdeps/mips/elf/configure: Generated.
1484 * sysdeps/mips/sys/asm.h: New file.
1485 * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
1486 * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
1488 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1489 (INTERNAL_SYSCALL_NCS): New.
1490 (INTERNAL_SYSCALL): Update for non-constant support.
1491 (internal_syscall0): Likewise.
1492 (internal_syscall1): Likewise.
1493 (internal_syscall2): Likewise.
1494 (internal_syscall3): Likewise.
1495 (internal_syscall4): Likewise.
1496 (internal_syscall5): Likewise.
1497 (internal_syscall6): Likewise.
1498 (internal_syscall7): Likewise.
1499 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
1500 Update to match the kernel.
1501 (SIGEV_CALLBACK): Likewise.
1502 (SIGEV_THREAD_ID): Likewise.
1504 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
1507 * elf/tst-auditmod1.c: Add MIPS support.
1508 * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
1509 (La_mips_32_retval): New.
1510 (La_mips_64_regs): New.
1511 (La_mips_64_retval): New.
1512 (struct audit_ifaces): Add MIPS entries.
1513 * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
1514 (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
1515 ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
1516 ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
1517 (RTLD_START): Align the stack before calling _dl_init_internal.
1518 Use .ent for _dl_start_user.
1519 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
1520 (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
1521 (elf_machine_runtime_setup): Use "auto inline".
1522 (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
1523 (elf_machine_got_rel): Likewise. Use RESOLVE_MAP.
1524 * sysdeps/mips/dl-trampoline.c: New file.
1525 * sysdeps/mips/bits/link.h: New file.
1526 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1527 (internal_syscall5): Use register operands instead of non-lvalue
1529 (internal_syscall6): Likewise.
1530 (internal_syscall7): Likewise.
1532 2005-03-27 Andreas Jaeger <aj@suse.de>
1534 * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
1535 avoid warnings with older compiler.
1536 (__builtin___memcpy_chk): Likewise.
1537 (__builtin___memmove_chk: Likewise.
1538 (__builtin___mempcpy_chk): Likewise.
1539 (__builtin___memset_chk): Likewise.
1540 (__builtin___stpcpy_chk): Likewise.
1541 (__builtin___strcat_chk): Likewise.
1542 (__builtin___strcpy_chk): Likewise.
1543 (__builtin___strncat_chk): Likewise.
1544 (__builtin___strncpy_chk): Likewise.
1545 (__builtin_object_size): Likewise.
1547 2005-03-27 Daniel Jacobowitz <dan@codesourcery.com>
1549 * elf/tls-macros.h: Correct typo.
1551 2005-03-23 Jakub Jelinek <jakub@redhat.com>
1554 * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
1555 (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
1557 2005-03-22 Roland McGrath <roland@redhat.com>
1559 * locale/setlocale.c: Comment typo.
1561 * scripts/versions.awk: No errors for GLIBC_PRIVATE.
1563 * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
1565 * scripts/versions.awk: Print all errors and die at the end.
1566 Use library name in versions array keys.
1568 2005-03-22 Daniel Jacobowitz <dan@codesourcery.com>
1570 * elf/elf.h (PT_ARM_EXIDX): New macro.
1572 2005-03-21 Thorsten Kukuk <kukuk@suse.de>
1574 * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
1575 Convert correctly between long/int on 64bit big-endian.
1577 2005-03-21 David Mosberger <davidm@hpl.hp.com>
1579 * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
1580 with more than 8 output registers. Fix this by passing original
1581 ar.pfs to _mcount_ret_helper via r3.
1583 2005-03-15 Jakub Jelinek <jakub@redhat.com>
1586 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
1587 GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
1588 * elf/Makefile: Add rules to build and run tst-tls15.
1589 * elf/tst-tls15.c: New test.
1590 * elf/tst-tlsmod15a.c: New file.
1591 * elf/tst-tlsmod15b.c: New file.
1593 2005-03-20 Ulrich Drepper <drepper@redhat.com>
1595 * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
1597 2005-03-20 Alfred M. Szmidt <ams@gnu.org>
1599 * elf/dl-open.c (dl_open_worker): Fix typo.
1601 2005-03-20 Ulrich Drepper <drepper@redhat.com>
1603 * malloc/malloc.c (public_cALLOc): We cannot skip the memory
1604 clearing if perturb_byte != 0.
1606 2005-03-20 Jakub Jelinek <jakub@redhat.com>
1608 * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
1609 instead of __off_t for last argument.
1610 * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
1611 * debug/tst-lfschk1.c: New test.
1612 * debug/tst-lfschk2.c: New test.
1613 * debug/tst-lfschk3.c: New test.
1615 2005-02-09 Jakub Jelinek <jakub@redhat.com>
1617 * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
1618 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
1619 and __USE_XOPEN guards to match linux/bits/termios.h.
1620 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1622 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1624 2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
1626 * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
1628 2005-02-27 Denis Barbier <barbier@debian.org>
1631 * locale/iso-4217.def: Add CSD currency.
1633 2005-03-19 Ulrich Drepper <drepper@redhat.com>
1635 * inet/test-ifaddrs.c: Use test-skeleton.
1636 * inet/test_ifindex.c: Likewise.
1639 * elf/dl-lookup.c (add_dependency): Always search l_initfini if
1643 * elf/Makefile: Add rules to build and run order2.
1644 * elf/order2.c: New file.
1645 * elf/order2mod1.c: New file.
1646 * elf/order2mod2.c: New file.
1647 * elf/order2mod3.c: New file.
1648 * elf/order2mod4.c: New file.
1650 2005-03-19 Jakub Jelinek <jakub@redhat.com>
1653 * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
1654 it has been incremented before.
1656 2005-03-18 Ulrich Drepper <drepper@redhat.com>
1659 * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
1660 function _dl_sort_fini.
1661 (_dl_sort_fini): New function.
1662 * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
1663 * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
1664 destructors to call them in the right order.
1666 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
1668 * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
1669 (La_ppc64_retval): Correct size of lrc_fp.
1670 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
1671 Fix up ABI problems and complete function.
1673 2005-03-10 Jakub Jelinek <jakub@redhat.com>
1675 * math/test-misc.c (main): Add some more tests.
1677 2005-03-17 Jakub Jelinek <jakub@redhat.com>
1679 * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
1680 __wcrtomb. Check return values of other __wcrtomb calls.
1681 * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
1682 Change mbclen type to size_t.
1683 (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
1684 Handle mb chars whose upper case doesn't have multibyte representation
1685 in locale's charset.
1687 2005-03-15 Jakub Jelinek <jakub@redhat.com>
1689 * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
1690 public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
1694 * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
1697 2005-03-10 Jakub Jelinek <jakub@redhat.com>
1699 * misc/sys/cdefs.h (__always_inline): Define.
1700 * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
1701 Use __always_inline instead of __inline.
1702 * socket/bits/socket2.h (recv, recvfrom): Likewise.
1703 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
1704 * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
1705 __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
1706 __strcat_ichk, __strncat_ichk): Use __always_inline instead of
1707 __inline__ __attribute__ ((__always_inline__)).
1709 2005-03-09 Jakub Jelinek <jakub@redhat.com>
1711 * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
1712 (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
1713 readlink. Add some more tests for read, pread, pread64, fgets and
1716 * posix/bits/unistd.h (read, pread, pread64, readlink,
1717 getcwd, getwd): Change macros into extern inline functions.
1718 (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
1719 __getcwd_alias, __getwd_alias): New prototypes.
1720 * socket/bits/socket2.h (recv, recvfrom): Change macros into
1721 extern inline functions.
1722 (__recv_alias, __recvfrom_alias): New prototypes.
1723 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
1724 into extern inline functions.
1725 (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
1727 * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
1729 * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
1732 2005-03-18 Daniel Jacobowitz <dan@codesourcery.com>
1734 * configure.in: Use %function instead of @function.
1736 2005-03-18 Ulrich Drepper <drepper@redhat.com>
1739 * include/link.h (struct link_map): Remove l_opencount. Add l_removed.
1740 Change type of l_idx to int.
1741 * elf/dl-close.c: Basically rewrite. Do not use l_opencount to
1742 determine whether a DSO has to be unloaded. Instead compute this
1744 * elf/dl-deps.c: No need to manipulate l_opencount anymore.
1745 * elf/dl-lookup.c: Likewise.
1746 * elf/rtld.c: Likewise
1747 * elf/dl-open.c: Likewise. Use l_init_called to determine whether
1748 object was just loaded.
1749 * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
1750 * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
1751 is about to be unloaded as a match.
1752 (_dl_map_object): Likewise.
1753 * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
1755 * elf/circleload1.c: Don't use l_opencount anymore.
1756 * elf/neededtest.c: Likewise.
1757 * elf/neededtest2.c: Likewise.
1758 * elf/neededtest3.c: Likewise.
1759 * elf/neededtest4.c: Likewise.
1760 * elf/unload.c: Likewise.
1761 * elf/unload2.c: Likewise.
1762 * elf/loadtest.c: Likewise.
1765 * elf/rtld.c: Preloading errors are now never fatal.
1767 2005-03-08 Jakub Jelinek <jakub@redhat.com>
1770 * elf/Makefile: Add rules to build and run unload5 test.
1771 * elf/unload5.c: New file.
1774 * elf/Makefile: Add rules to build and run unload4 test.
1775 * elf/unload4.c: New file.
1776 * elf/unload4mod1.c: New file.
1777 * elf/unload4mod2.c: New file.
1778 * elf/unload4mod3.c: New file.
1779 * elf/unload4mod4.c: New file.
1781 2005-03-17 Roland McGrath <roland@redhat.com>
1783 * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
1785 2005-03-16 Richard Henderson <rth@redhat.com>
1787 * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
1789 (__hidden_def1, __hidden_dot_def1): Remove.
1790 (__hidden_def2, __hidden_def3): Remove.
1791 (__hidden_ver1): New.
1792 (hidden_ver, hidden_def, hidden_weak): Use it.
1793 (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
1794 version of the macro.
1796 * include/wchar.h (__wcscoll): Remove.
1797 * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
1798 * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
1800 2005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
1802 * elf/elf.h: Define MIPS TLS relocations.
1804 2005-03-16 Ulrich Drepper <drepper@redhat.com>
1806 * elf/circleload1.c (main): Pretty printing.
1808 2005-03-15 Jakub Jelinek <jakub@redhat.com>
1810 * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
1811 Patch by Dan Kegel <dank@kegel.com>.
1813 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
1814 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1816 * sysdeps/alpha/dl-machine.h (elf_machine_rela,
1817 elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
1819 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1820 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change
1821 static inline into auto inline.
1822 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1823 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1824 * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
1826 * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
1827 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1830 2005-03-15 Jakub Jelinek <jakub@redhat.com>
1833 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
1834 Remove memory clobber.
1836 * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
1837 thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff.
1839 2005-03-14 Jakub Jelinek <jakub@redhat.com>
1841 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
1844 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
1846 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
1848 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1849 Correct MAP_GROWSDOWN value.
1851 2005-03-13 Roland McGrath <roland@redhat.com>
1853 * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
1854 version if there is one. Only #error if macros are then undefined.
1855 * sysdeps/generic/tls-macros.h: New file.
1857 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
1859 * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
1860 * sysdeps/hppa/configure: Regenerated.
1862 2005-03-08 Roland McGrath <roland@redhat.com>
1864 * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
1865 array types match exactly in C alias decls.
1867 2005-03-07 Ulrich Drepper <drepper@redhat.com>
1869 * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
1870 mallopt appropriately.
1871 * malloc/malloc.h: Define M_PERTURB.
1872 * malloc/malloc.c (perturb_byte): New variable.
1873 (alloc_perturb, free_perturb): New macros.
1874 (_int_malloc): Before returning, overwrite the memory if this is
1876 (_int_free): Overwrite freed memory if requested.
1877 (mALLOPt): Handle M_PERTURB.
1878 * test-skeleton.c: Add call to mallopt with M_PERTURB command.
1880 * elf/dl-close.c (_dl_close): Decrement l_opencount before
1881 printing debug message.
1882 * elf/dl-open.c (dl_open_worker): Always print the new opencount
1885 2005-03-06 Ulrich Drepper <drepper@redhat.com>
1887 * elf/dl-close.c (_dl_close): Unify debug message format.
1889 * elf/dl-close.c (_dl_close): Print debug message just before
1890 destroying a link map.
1892 * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
1893 * elf/dl-version.c (match_symbol): Likewise.
1895 * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
1897 * debug/recv_chk.c (__recv_chk): Always fail if request could
1898 overflow the buffer.
1899 * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
1900 * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
1901 we know the call succeeds.
1902 (recvfrom): Likewise.
1904 2005-03-05 Ulrich Drepper <drepper@redhat.com>
1906 * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
1908 * posix/regex_internal.c (re_string_reconstruct): Add cast to
1910 (build_wcs_upper_buffer): Change type of bug to plain char.
1911 * locale/weightwc.h (findidx): Add casts to avoid warnings.
1912 * time/mktime.c (ranged_convert): Initialize tm to make the
1914 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
1915 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
1916 * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
1917 * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
1918 * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
1919 * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
1920 * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
1921 * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
1922 * libio/iofwide.c: Add casts to avoid warnings.
1923 * stdio-common/printf-prs.c (parse_printf_format): Introduce new
1924 variable f to avoid warnings.
1925 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1926 Fix a few casts to avoid warnings.
1927 * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
1930 * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
1931 dynamically sized array.
1932 (build_wcs_upper_buffer): Likewise.
1934 2005-03-05 Jakub Jelinek <jakub@redhat.com>
1936 * include/bits/unistd.h: New file.
1937 * include/bits/socket2.h: New file.
1939 2005-03-05 Ulrich Drepper <drepper@redhat.com>
1941 * sunrpc/key_call.c: Remove doors support.
1942 * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
1943 * configure.in: Remove test for doors support which never existed.
1944 * config.make.in: Remove have_doors entry.
1946 * configure.in: Make sure at least gcc 3.4 is used. Undo last change.
1947 * config.make.in: Undo last change.
1949 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
1952 2005-03-05 Roland McGrath <roland@redhat.com>
1954 * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
1955 (_dl_out_of_memory): Use rtld_hidden_proto.
1956 * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
1957 (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
1958 * elf/dl-open.c (_dl_open): Likewise.
1959 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1961 * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
1963 * elf/dl-addr.c (_dl_addr): Add a cast.
1966 * elf/unload3mod4.c: Declare foo.
1967 * elf/testobj2.c: Include <stdio.h>.
1969 * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
1970 value constant, and use it in the defn.
1971 * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
1972 Use actual size for compat array decls.
1974 * config.make.in (cc-mtune): New substituted variable.
1975 * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
1976 done only if libc_mtune_example is defined.
1977 * sysdeps/i386/configure.in (libc_mtune_example): Set it.
1978 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
1980 2005-03-05 Jakub Jelinek <jakub@redhat.com>
1982 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
1983 unconditionally to (defined RTLD_BOOTSTRAP).
1984 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
1986 2005-03-05 Jakub Jelinek <jakub@redhat.com>
1988 * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
1989 $(inst_slibdir) in AS_NEEDED directive.
1991 2005-03-03 Jakub Jelinek <jakub@redhat.com>
1993 * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
1995 2005-03-01 H.J. Lu <hongjiu.lu@intel.com>
1998 * iconv/iconvconfig.c: Fix comment for the output file.
1999 (write_output): Clear padding in header.
2001 2005-03-03 Ulrich Drepper <drepper@redhat.com>
2004 * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
2005 loader is closed. Fixes unload3.
2006 * elf/tst-global1.c: New file.
2007 * elf/Makefile (tests): Add tst-global1.
2008 * elf/testobj2.c (p): New function.
2010 2005-03-03 Jakub Jelinek <jakub@redhat.com>
2013 * elf/Makefile: Add rules to build and run unload3 test.
2014 * elf/unload3.c: New test.
2015 * elf/unload3mod1.c: New file.
2016 * elf/unload3mod2.c: New file.
2017 * elf/unload3mod3.c: New file.
2018 * elf/unload3mod4.c: New file.
2020 2005-02-21 Alan Modra <amodra@bigpond.net.au>
2022 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
2025 2005-03-01 Jakub Jelinek <jakub@redhat.com>
2027 * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
2029 * socket/bits/socket2.h (recv, recvfrom): Likewise.
2031 2005-03-01 Roland McGrath <roland@redhat.com>
2034 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
2037 2005-03-01 Alfred M. Szmidt <ams@gnu.org>
2040 * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
2041 Add missing initializer.
2044 * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
2045 USE_TLS && !USE___THREAD].
2047 2005-02-26 GOTO Masanori <gotom@debian.or.jp>
2049 * csu/Makefile: Use printf instead of echo for some shells.
2051 2005-02-28 Roland McGrath <roland@redhat.com>
2053 * debug/warning-nop.c (__nop): Rename to nop, make it static.
2054 (__warndecl): Use alias attribute directly, instead of strong_alias
2055 macro. Add attribute_hidden.
2057 2005-02-28 Ulrich Drepper <drepper@redhat.com>
2059 * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
2060 determine the call will never trigger a failure.
2061 * debug/read_chk.c (__read_chk): Always fail if the buffer is too
2063 * debug/readlink_chk.c (__readlink_chk): Likewise.
2064 * debug/pread64_chk.c (__pread64_chk): Likewise.
2065 * debug/pread_chk.c (__pread_chk): Likewise.
2067 * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
2068 * sysdeps/x86_64/memset_chk.S: Likewise.
2070 2005-02-24 Roland McGrath <roland@redhat.com>
2072 * debug/Versions (libc: GLIBC_2.4): Remove
2073 __memset_zero_constant_len_parameter.
2074 * sysdeps/generic/memset_chk.c: Remove alias and warning.
2075 * misc/sys/cdefs.h (__warndecl): New macro.
2076 * debug/warning-nop.c: New file.
2077 * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
2078 arguments, instead of calling __memset_zero_constant_len_parameter.
2079 Use __warndecl for __warn_memset_zero_len.
2080 * debug/Makefile (routines): Add $(static-only-routines).
2081 (static-only-routines): New variable.
2083 2005-02-27 Ulrich Drepper <drepper@redhat.com>
2085 * po/tr.po: Update from translation team.
2087 2005-02-26 Ulrich Drepper <drepper@redhat.com>
2089 * elf/dl-addr.c: Cleanups. Move declaration next to first use.
2091 * dlfcn/dlerror.c (check_free): New function. Extract common code
2092 from fini and free_key_mem. Check whether this is libdl in the
2095 2005-02-25 Ulrich Drepper <drepper@redhat.com>
2097 * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
2100 2004-11-11 Richard Sandiford <rsandifo@redhat.com>
2103 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
2104 preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
2105 like __NR_N32_open. Just include <asm/unistd.h> otherwise.
2106 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2107 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
2108 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
2109 standard __NR prefix.
2110 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
2111 * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
2112 the output file is compatible with both pre-2.6 and 2.6 kernel headers.
2113 Extract separate syscall lists for each ABI.
2115 2005-02-23 Ulrich Drepper <drepper@redhat.com>
2117 * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
2120 * elf/Makefile: Run tst-tls9-static again.
2122 2005-02-22 Ulrich Drepper <drepper@redhat.com>
2125 * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
2127 (__libc_setup_tls): Initialize length of DTV based on array length.
2128 * elf/dl-load.c: Revert last change.
2129 * sysdeps/generic/dl-tls.c: Revert last change.
2131 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
2132 tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
2133 tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
2134 * posix/tst-execl1.c: New file.
2135 * posix/tst-execl2.c: New file.
2136 * posix/tst-execle1.c: New file.
2137 * posix/tst-execle2.c: New file.
2138 * posix/tst-execlp1.c: New file.
2139 * posix/tst-execlp2.c: New file.
2140 * posix/tst-execv1.c: New file.
2141 * posix/tst-execv2.c: New file.
2142 * posix/tst-execve1.c: New file.
2143 * posix/tst-execve2.c: New file.
2144 * posix/tst-execvp1.c: New file.
2145 * posix/tst-execvp2.c: New file.
2147 2005-02-22 Roland McGrath <roland@redhat.com>
2149 * include/signal.h: Revert last change.
2150 (__sigemptyset): Use __builtin_memset instead of memset.
2152 2005-02-22 Ulrich Drepper <drepper@redhat.com>
2154 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
2155 non-cancelable I/O functions.
2157 2005-02-22 Jakub Jelinek <jakub@redhat.com>
2160 * nscd/nscd-client.h: Include sys/uio.h.
2161 (__readall, __readvall, writeall): New prototypes.
2162 * nscd/connections.c (writeall): New function.
2163 (handle_request): Use it.
2164 * nscd/aicache.c (addhstaiX): Likewise.
2165 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2166 * nscd/hstcache.c (cache_addhst): Likewise.
2167 * nscd/grpcache.c (cache_addgr): Likewise.
2168 * nscd/pwdcache.c (cache_addpw): Likewise.
2169 * nscd/nscd_helper.c (__readall, __readvall): New functions.
2170 * nscd/nscd_getai.c (__nscd_getai): Use them.
2171 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
2172 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
2173 * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
2174 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2176 2005-02-22 Roland McGrath <roland@redhat.com>
2178 * include/sys/socket.h: Declare __recv.
2179 * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
2180 * sysdeps/mach/hurd/recv.c: Likewise.
2182 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
2183 __backtrace_* decls.
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2186 (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR.
2187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2189 * include/signal.h: Include <string.h> for memset decl.
2191 2005-02-22 Andreas Schwab <schwab@suse.de>
2193 * posix/execvp.c (execvp): Fix invalid free.
2195 2005-02-22 Jakub Jelinek <jakub@redhat.com>
2197 * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
2198 * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
2199 librpcsvc.a objects.
2201 2005-02-21 Ulrich Drepper <drepper@redhat.com>
2203 * iconvdata/ibm930.h: Correct Yen mapping.
2204 * iconvdata/ibm939.h: Likewise.
2205 * iconvdata/testdata/IBM930..UTF8: Adjust test data.
2206 * iconvdata/testdata/IBM939..UTF8: Likewise.
2207 Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2209 * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
2210 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
2211 (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
2212 ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
2213 ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
2214 ibm1158.c, and ibm1158.h.
2215 * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
2216 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
2217 * iconvdata/gconv-modules: Likewise.
2218 * iconvdata/ibm1025.c: New file.
2219 * iconvdata/ibm1025.h: New file.
2220 * iconvdata/ibm1122.c: New file.
2221 * iconvdata/ibm1122.h: New file.
2222 * iconvdata/ibm1137.c: New file.
2223 * iconvdata/ibm1137.h: New file.
2224 * iconvdata/ibm1153.c: New file.
2225 * iconvdata/ibm1153.h: New file.
2226 * iconvdata/ibm1154.c: New file.
2227 * iconvdata/ibm1154.h: New file.
2228 * iconvdata/ibm1155.c: New file.
2229 * iconvdata/ibm1155.h: New file.
2230 * iconvdata/ibm1156.c: New file.
2231 * iconvdata/ibm1156.h: New file.
2232 * iconvdata/ibm1157.c: New file.
2233 * iconvdata/ibm1157.h: New file.
2234 * iconvdata/ibm1158.c: New file.
2235 * iconvdata/ibm1158.h: New file.
2236 * iconvdata/testdata/IBM1025: New file.
2237 * iconvdata/testdata/IBM1025..UTF8: New file.
2238 * iconvdata/testdata/IBM1122: New file.
2239 * iconvdata/testdata/IBM1122..UTF8: New file.
2240 * iconvdata/testdata/IBM1137: New file.
2241 * iconvdata/testdata/IBM1137..UTF8: New file.
2242 * iconvdata/testdata/IBM1153: New file.
2243 * iconvdata/testdata/IBM1153..UTF8: New file.
2244 * iconvdata/testdata/IBM1154: New file.
2245 * iconvdata/testdata/IBM1154..UTF8: New file.
2246 * iconvdata/testdata/IBM1155: New file.
2247 * iconvdata/testdata/IBM1155..UTF8: New file.
2248 * iconvdata/testdata/IBM1156: New file.
2249 * iconvdata/testdata/IBM1156..UTF8: New file.
2250 * iconvdata/testdata/IBM1157: New file.
2251 * iconvdata/testdata/IBM1157..UTF8: New file.
2252 * iconvdata/testdata/IBM1158: New file.
2253 * iconvdata/testdata/IBM1158..UTF8: New file.
2254 Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2256 2005-02-10 Paolo Bonzini <bonzini@gnu.org>
2258 * posix/regcomp.c (lower_subexp): Do not optimize empty
2259 subexpressions even with REG_NOSUB.
2260 * posix/rxspencer/tests: Add a previously failing testcase.
2262 2005-02-21 Alan Modra <amodra@bigpond.net.au>
2265 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
2266 array index is within bounds.
2268 2005-02-21 Ulrich Drepper <drepper@redhat.com>
2271 * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
2273 * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
2274 * elf/Makefile: Remove rules to build and run tst-tls9-static.
2277 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
2278 THREAD_DTV multiple times, this minimally reduces code size on
2281 2005-02-21 Jakub Jelinek <jakub@redhat.com>
2284 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
2285 NETDB_INTERNAL if buffer is too small.
2288 * nscd/hstcache.c (INCR): Remove.
2289 (addhstbyX): Double buflen in each iteration rather than add INCR.
2290 * nscd/grpcache.c: Likewise.
2291 * nscd/pwdcache.c: Likewise.
2293 2005-02-21 Ulrich Drepper <drepper@redhat.com>
2295 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
2297 * debug/chk_fail.c: Request backtrace and memory map dump.
2299 * Versions.def: Add GLIBC_2.4 for libc.
2300 * debug/fgets_chk.c: New file.
2301 * debug/fgets_u_chk.c: New file.
2302 * debug/getcwd_chk.c: New file.
2303 * debug/getwd_chk.c: New file.
2304 * debug/readlink_chk.c: New file.
2305 * debug/read_chk.c: New file.
2306 * debug/pread_chk.c: New file.
2307 * debug/pread64_chk.c: New file.
2308 * debug/recv_chk.c: New file.
2309 * debug/recvfrom_chk.c: New file.
2310 * debug/Versions: Add all new functions with version GLIBC_2.4.
2311 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
2312 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
2313 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
2314 * debug/tst-chk1.c: Add more tests.
2315 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
2316 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
2317 * posix/unistd.h: Include <bits/unistd.h> for fortification.
2318 * posix/bits/unistd.h: New file.
2319 * posix/Makefile (headers): Add bits/unistd.h.
2320 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
2321 * socket/bits/socket2.h: New file.
2322 * socket/Makefile (headers): Add bits/socket2.h.
2324 * string/bits/string3.h: Extend memset macro to check for zero 3rd
2325 parameter and use __memset_zero_constant_len_parameter in that case.
2326 * sysdeps/generic/memset_chk.c: Add
2327 __memset_zero_constant_len_parameter alias and linker warning.
2328 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
2329 with version GLIBC_2.4.
2331 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
2332 in __STD_TYPE definition.
2334 2005-02-21 Jakub Jelinek <jakub@redhat.com>
2336 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
2337 the error message rather than program name.
2339 2005-02-21 Ulrich Drepper <drepper@redhat.com>
2342 * posix/unistd.h: symlink and readlink are unconditionally
2343 available in the 2001 spec.
2345 2005-02-16 Roland McGrath <roland@redhat.com>
2347 * intl/dcigettext.c (_nl_find_msg): Add a cast.
2349 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
2350 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
2351 * nis/nis_clone_res.c (nis_clone_result): Likewise.
2353 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
2354 for END_OF_MESSAGE and CP.
2356 * resolv/res_send.c (send_dg): Add else branch for case impossible
2357 unless `poll' is buggy.
2359 * crypt/crypt_util.c (__setkey_r): Add a cast.
2361 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
2362 NBYTES, and unsigned char * for BYTES.
2364 * locale/programs/charmap.c (charmap_new_char): Use size_t and
2365 unsighed char * for NBYTES, BYTES parameters.
2367 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
2369 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
2371 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
2373 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
2375 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
2376 (authdes_marshal): Don't use unsigned int for LEN.
2377 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
2378 (xdr_u_hyper): Likewise.
2379 (xdr_u_short): Don't use u_long for L.
2380 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
2382 * inet/rexec.c (rexec_af): Use socklen_t.
2383 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
2384 * sunrpc/rtime.c (rtime): Likewise.
2385 * resolv/res_send.c (send_vc, send_dg): Likewise.
2386 * nis/nis_callback.c (__nis_create_callback): Likewise.
2388 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
2390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
2392 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
2394 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
2395 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
2396 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
2397 * intl/bindtextdom.c (INTUSE): Macro removed.
2398 (_nl_default_dirname): Use libc_hidden_proto.
2399 (set_binding_values): Don't use INTUSE.
2400 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
2401 (_libc_intl_domainname): Use libc_hidden_proto.
2402 * posix/regex_internal.h (gettext): Remove INTUSE on it.
2403 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
2405 * include/libintl.h (_): Don't use *_internal name.
2407 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
2409 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
2411 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
2414 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
2416 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
2417 * sysdeps/powerpc/powerpc32/dl-machine.h
2418 (elf_machine_rel, elf_machine_rel_relative): Removed.
2419 * sysdeps/powerpc/powerpc64/dl-machine.h
2420 (elf_machine_rel, elf_machine_rel_relative): Removed.
2422 2005-02-03 Alexandre Oliva <aoliva@redhat.com>
2425 * elf/dynamic-link.h: Don't declare nested auto functions that are
2426 not going to be defined.
2428 2004-07-23 Jakub Jelinek <jakub@redhat.com>
2431 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
2432 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
2434 2005-02-16 Roland McGrath <roland@redhat.com>
2436 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
2437 inside [! SHARED] where it's used.
2439 2005-02-15 Ulrich Drepper <drepper@redhat.com>
2441 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
2442 functions and macros is unsigned.
2444 2005-02-11 Barry deFrese <bddebian@comcast.net>
2447 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
2448 * sysdeps/mach/hurd/setresuid.c: Likewise.
2450 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
2452 * misc/sys/syslog.h: Fix typo in comment.
2454 2005-02-14 Roland McGrath <roland@redhat.com>
2457 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
2458 if it wasn't originally.
2460 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
2462 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
2464 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2465 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2467 2005-02-11 Jakub Jelinek <jakub@redhat.com>
2469 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
2472 2005-02-14 Alan Modra <amodra@bigpond.net.au>
2474 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
2475 with auto inline, and attribute always_inline.
2476 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
2477 (elf_machine_rel, elf_machine_rel_relative): Likewise.
2478 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2479 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
2480 (elf_machine_rel, elf_machine_rel_relative): Likewise.
2481 (elf_machine_tprel): Likewise.
2483 2005-02-14 Andreas Schwab <schwab@suse.de>
2485 * manual/filesys.texi (Random Access Directory): Fix type of file
2486 position value for telldir and seekdir.
2487 (Attribute Meanings): Fix typo.
2489 2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
2491 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
2493 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
2494 if SHARED isn't defined.
2495 * elf/Makefile (tests-static): Add tst-array1-static.
2496 ($(objpfx)tst-array1-static.out): New target.
2497 * elf/tst-array1-static.c: New file.
2499 2005-02-11 Jakub Jelinek <jakub@redhat.com>
2501 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
2502 __libc_message to kill GCC warning about noreturn function returning.
2504 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
2505 before relocating ld.so again.
2507 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
2508 for already prelinked ld.so.
2510 2005-02-11 Roland McGrath <roland@redhat.com>
2513 * Makefile (installed-stubs): New variable.
2514 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
2515 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
2516 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
2517 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
2519 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
2520 * include/stubs-biarch.h: New file.
2522 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
2524 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
2525 Emit defn for variable `biarch'.
2527 * include/stub-tag.h: Update comment.
2529 * scripts/soversions.awk: Fix default version set handling.
2531 2005-02-10 Roland McGrath <roland@redhat.com>
2534 * include/libc-symbols.h (stub_warning): Emit a marker section called
2535 .gnu.glibc-stub.NAME.
2536 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
2537 Use objdump to collect those marker section names.
2538 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
2540 * Rules (subdir_objs, subdir_stubs): New phony targets.
2541 * Makefile (+subdir_targets): Add them.
2543 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
2546 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
2547 Reported by H.J. Lu <hongjiu.lu@intel.com>.
2549 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
2552 2005-02-10 Jakub Jelinek <jakub@redhat.com>
2554 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
2555 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
2556 * sysdeps/powerpc/bits/link.h: ... here. New file.
2558 2005-02-09 Jakub Jelinek <jakub@redhat.com>
2561 * stdlib/random_r.c (__initstate_r): Save old state.
2562 * stdlib/Makefile (tests): Add tst-random2.
2563 * stdlib/tst-random2.c: New test.
2564 Reported by Peter Bergner <bergner@vnet.ibm.com>.
2566 2005-01-25 H.J. Lu <hongjiu.lu@intel.com>
2568 * dlfcn/dlfcn.c (init): Put it in .init_array section.
2570 2005-02-10 Roland McGrath <roland@redhat.com>
2573 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
2575 Grok shlib-versions lines with WORDSIZE* in second column.
2576 Add new leading column to output, DEFAULT for existing output lines.
2577 Also emit lines with WORDSIZE* for alternate configurations.
2578 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
2579 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
2580 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
2581 of soversions.mk; replace inline shell script with use of ...
2582 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
2583 emit multiple sets of macros under #if.
2584 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
2585 (s390x-.*-.*): Likewise for s390.
2586 (powerpc64-.*-.*): Likewise for powerpc.
2587 (sparc64-.*-.*): Likewise for sparc.
2588 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
2589 for these mapping back to the above.
2591 2005-02-08 Jakub Jelinek <jakub@redhat.com>
2593 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
2595 2005-02-08 Andreas Schwab <schwab@suse.de>
2597 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
2600 2005-02-07 Richard Henderson <rth@redhat.com>
2602 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
2604 2005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2606 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
2609 2005-02-07 Ulrich Drepper <drepper@redhat.com>
2611 * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
2614 2005-01-07 Richard Henderson <rth@redhat.com>
2616 * math/math_private.h (__copysign): Define as builtin for gcc 4.
2617 (__copysignf, __copysignl): Likewise.
2618 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
2620 (copysignf, copysignl, fabsf, fabs): Likewise.
2621 (__copysign, __copysignf, __copysignl): Remove.
2622 (__fabs, __fabsf): Remove.
2624 2005-01-07 Jakub Jelinek <jakub@redhat.com>
2627 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
2628 avoid writing to it if none of the standard search directories exist.
2630 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2634 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
2635 Load MSR as a doubleword.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2637 (__novec_swapcontext, __swapcontext): Likewise.
2639 2005-02-07 Ulrich Drepper <drepper@redhat.com>
2641 * iconv/iconv_prog.c (main): Provide more help in case on an error.
2643 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
2645 2005-02-07 Jakub Jelinek <jakub@redhat.com>
2648 * nscd/nscd.c (termination_handler): Avoid segfault if some database
2652 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
2653 __nss_not_use_nscd_hosts and return -1.
2654 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
2655 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
2656 Avoid leaking sockets.
2658 2005-01-28 Andreas Schwab <schwab@suse.de>
2659 H.J. Lu <hongjiu.lu@intel.com>
2662 * elf/dl-runtime.c (fixup): Change return type to
2663 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
2664 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
2665 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
2666 store and retrieve relocation values.
2667 (profile_fixup): Likewise.
2668 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
2670 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
2671 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
2672 (DL_FIXUP_MAKE_VALUE): Likewise.
2673 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
2674 (DL_FIXUP_VALUE_ADDR): Likewise.
2675 (DL_FIXUP_ADDR_VALUE): Likewise.
2676 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
2677 (DL_FIXUP_VALUE_TYPE): New.
2678 (DL_FIXUP_MAKE_VALUE): Likewise.
2679 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
2680 (DL_FIXUP_VALUE_ADDR): Likewise.
2681 (DL_FIXUP_ADDR_VALUE): Likewise.
2682 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
2683 (elf_machine_profile_plt): Removed.
2684 (elf_machine_fixup_plt): Change return type and type of value
2685 parameter to struct fdesc.
2686 (elf_machine_plt_value): Likewise.
2687 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
2688 argument for elf_machine_fixup_plt.
2690 2005-02-07 Jakub Jelinek <jakub@redhat.com>
2693 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
2694 after the status string printed by killproc.
2696 2004-11-18 Alexandre Oliva <aoliva@redhat.com>
2698 * manual/.cvsignore: Add dir-add.texi.
2700 2005-02-06 Richard Henderson <rth@redhat.com>
2702 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
2705 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
2707 * configure.in (sysnames): Append sysdeps/generic for each add-on.
2708 * configure: Regenerated.
2710 2005-02-02 Alfred M. Szmidt <ams@gnu.org>
2712 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
2713 (dtv_t): Change pointer type to be a struct which also contains
2714 information whether the memory pointed to is static TLS or not.
2716 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
2718 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
2719 (FALSEP): ... this. Updated all references.
2722 * libio/fmemopen.c: Include <stdint.h>.
2724 2005-01-30 Ulrich Drepper <drepper@redhat.com>
2726 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
2727 * nscd/connections.c (send_ro_fd): Likewise.
2729 2005-01-28 H.J. Lu <hongjiu.lu@intel.com>
2731 * elf/tst-auditmod1.c: Add ia64 entries.
2732 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
2733 (La_ia64_retval): New.
2734 (audit_ifaces): Add ia64 entries.
2735 * sysdeps/ia64/bits/link.h: New file.
2736 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
2737 for dl_profile non-null.
2738 (ARCH_LA_PLTENTER): New.
2739 (ARCH_LA_PLTEXIT): New.
2740 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
2741 only 2 output registers. Allocate stack to save/restore
2742 8 incoming fp registers. Call _dl_fixup instead of fixup.
2743 (_dl_runtime_profile): Rewrite.
2745 2005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2747 * sysdeps/s390/bits/link.h: New file.
2748 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
2749 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
2750 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
2751 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
2753 (elf_machine_runtime_setup): Test for dl_profile non-null.
2754 (elf_machine_rela): Remove code using RESOLVE.
2755 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
2756 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2757 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
2758 La_s390_64_regs, La_s390_64_retval): New.
2759 * elf/tst-auditmod1.c: Add s390 entries.
2762 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
2763 strncat, memchr, strcmp): Add missing memory clobber.
2765 2005-01-27 Ulrich Drepper <drepper@redhat.com>
2767 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
2768 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
2770 2005-01-27 Paolo Bonzini <bonzini@gnu.org>
2773 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
2774 Initialize the node sets in dfa->inveclosures.
2775 (analyze): Initialize inveclosures only if it is needed.
2776 Check errors from calc_inveclosure.
2777 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
2778 the inveclosure node set.
2779 * posix/regexec.c (re_search_internal): If nmatch includes unused
2780 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
2782 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
2783 Do build a SIMPLE_BRACKET token.
2785 * posix/regexec.c (transit_state_mb): Do not examine nodes
2786 where ACCEPT_MB is not set.
2788 2005-01-27 Jakub Jelinek <jakub@redhat.com>
2790 * stdlib/tst-fmtmsg.c: Include stdlib.h.
2791 * stdio-common/tst-fmemopen2.c: Include string.h.
2792 * posix/execvp.c: Include stdbool.h.
2794 2004-12-13 Paolo Bonzini <bonzini@gnu.org>
2796 Separate parsing and creation of the NFA. Avoided recursion on
2797 the (very unbalanced) parse tree.
2799 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
2800 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
2801 (optimize_subexps, duplicate_tree, calc_first, calc_next,
2802 mark_opt_subexp): Rewritten.
2803 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
2804 create_token_tree, free_tree, free_token): New.
2805 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
2806 postorder generic visitors. Do not initialize the fields in the
2807 re_dfa_t that represent the transitions.
2808 (free_dfa_content): Use free_token.
2809 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
2810 include optimization of subexpressions.
2811 (create_initial_state): Fetch the DFA node index from the first node's
2813 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
2814 Return on COMPLEX_BRACKET.
2815 (duplicate_node_closure): Fix comment.
2816 (duplicate_node): Do not initialize the fields in the
2817 re_dfa_t that represent the transitions.
2818 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
2819 (create_tree): Remove final argument. All callers adjusted. Rewritten
2820 to use create_token_tree.
2821 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
2822 build_charclass_op): Use create_tree or create_token_tree instead
2823 of re_dfa_add_tree_node.
2824 (parse_dup_op): Likewise. Also free the tree using free_tree for
2825 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
2826 to "a|". Adjust invocation of mark_opt_subexp.
2827 (parse_sub_exp): Create a single SUBEXP node.
2828 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
2829 always perform as if it was 1. Do not initialize OPT_SUBEXP and
2830 DUPLICATED, and initialize the DFA fields representing the transitions.
2831 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
2832 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
2833 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
2834 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
2835 NEXT into pointers to trees. Remove ECLOSURE.
2837 2004-12-28 Paolo Bonzini <bonzini@gnu.org >
2840 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
2841 that were already created.
2842 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
2843 in the token if needed.
2844 (create_ci_newstate, create_cd_newstate): Set accept_mb field
2845 from the tokens' field.
2846 * posix/regex_internal.h (re_token_t): Add accept_mb field.
2847 (ACCEPT_MB_NODE): Removed.
2848 * posix/regexec.c (proceed_next_node, transit_states_mb,
2849 build_sifted_states, check_arrival_add_next_nodes): Use
2850 accept_mb instead of ACCEPT_MB_NODE.
2852 2005-01-26 Ulrich Drepper <drepper@redhat.com>
2854 * debug/chk_fail.c (__chk_fail): Print program name in final message.
2856 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
2857 MSG_NOSIGNAL being in 2.2 kernels.
2859 2005-01-26 Jakub Jelinek <jakub@redhat.com>
2861 * sysdeps/unix/sysv/linux/i386/sysdep.h
2862 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
2865 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
2866 (WORD_DELIM_CONSTRAINT): ...this.
2867 (NOT_WORD_DELIM_CONSTRAINT): Define.
2868 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
2869 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
2870 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
2871 anchor instead of INSIDE_WORD.
2872 (parse_expression): Handle NOT_WORD_DELIM constraint.
2873 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
2874 being inside word instead of not word delim.
2875 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
2877 * posix/rxspencer/tests: Add some new tests.
2879 2005-01-14 GOTO Masanori <gotom@debian.or.jp>
2881 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
2882 irrespective of Cflag.
2884 * manual/memory.texi (sbrk): Fix definition.
2885 * manual/string.texi (strcasestr): Fix example typo.
2887 2005-01-25 Roland McGrath <roland@redhat.com>
2889 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
2891 2005-01-23 Roland McGrath <roland@redhat.com>
2894 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
2895 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
2896 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
2897 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
2898 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
2899 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
2901 2005-01-25 Jakub Jelinek <jakub@redhat.com>
2904 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
2905 (free_mem): Don't free string.
2906 * stdlib/tst-fmtmsg.c: Include string.h.
2907 (main): Add some more tests.
2909 2005-01-25 Andreas Schwab <schwab@suse.de>
2912 * timezone/asia: Update from tzdata2005c.
2913 * timezone/backward: Likewise.
2914 * timezone/europe: Likewise.
2915 * timezone/leapseconds: Likewise.
2916 * timezone/northamerica: Likewise.
2917 * timezone/southamerica: Likewise.
2920 * timezone/private.h: Update from tzcode2005c.
2921 * timezone/tzfile.h: Likewise.
2922 * timezone/zdump.c: Likewise.
2923 * timezone/zic.c: Likewise.
2925 2005-01-25 Ulrich Drepper <drepper@redhat.com>
2927 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
2929 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
2931 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
2933 2005-01-25 Alan Modra <amodra@bigpond.net.au>
2935 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
2936 sym_map, not sym, against zero.
2938 2005-01-24 Ulrich Drepper <drepper@redhat.com>
2941 * misc/syslog.c: Moved to...
2942 * sysdeps/generic/syslog.c: ...here.
2943 [NO_SIGIPE]: Don't install SIGPIPE handler.
2944 * sysdeps/unix/sysv/linux/syslog.c: New file.
2945 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2946 __ASSUME_MSG_NOSIGNAL.
2948 2005-01-22 Richard Henderson <rth@redhat.com>
2950 * sysdeps/alpha/dl-trampoline.S: New file.
2951 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
2952 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
2953 (elf_machine_runtime_setup): Test for dl_profile non-null.
2954 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
2955 * sysdeps/alpha/bits/link.h: New file.
2956 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
2957 (struct audit_ifaces): Add alpha entries.
2958 * elf/tst-auditmod1.c: Add alpha entries.
2960 2005-01-22 Ulrich Drepper <drepper@redhat.com>
2962 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
2963 * sysdeps/ia64/dl-trampoline.S: New file.
2965 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
2966 La_x86_64_xmm definition.
2968 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
2970 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
2971 CFLAGS-system.c for frame pointer option.
2973 2005-01-21 Roland McGrath <roland@redhat.com>
2975 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
2976 * sysdeps/i386/dl-machine.h: Update decl.
2978 2005-01-21 Jakub Jelinek <jakub@redhat.com>
2981 * elf/Makefile: Add rules to build and run tst-align2.
2982 * elf/tst-align2.c: New test.
2983 * elf/tst-alignmod2.c: New file.
2984 * sysdeps/powerpc/tst-stack-align.h: New file.
2985 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
2986 pointer before calling _dl_init.
2987 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2989 2005-01-20 Ulrich Drepper <drepper@redhat.com>
2991 * posix/execl.c: Do not allocate potentially large buffers on the
2993 * posix/execle.c: Likewise.
2994 * posix/execlp.c: Likewise.
2995 * posix/execvp.c: Likewise.
2996 (script_execute): Removed.
2997 (allocate_scripts_argv): New function. Called at most once to
2998 allocate memory, not every time a script is run. Adjust caller.
3000 * sysdeps/generic/wordexp.c (exec_comm): Add a few
3001 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
3003 (exec_comm_child): Can now be inlined.
3005 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
3006 * stdlib/Makefile: Likewise.
3008 2005-01-19 Roland McGrath <roland@redhat.com>
3011 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
3013 Reported by Marcus Meissner <meissner@suse.de>.
3015 2005-01-19 Jakub Jelinek <jakub@redhat.com>
3017 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
3019 * iconv/strtab.c (strtabfinalize): Likewise.
3021 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
3023 2005-01-17 Roland McGrath <roland@redhat.com>
3026 * nscd/Makefile (LDLIBS-nscd): New variable.
3027 ($(objpfx)nscd): Use that instead of selinux-LIBS.
3029 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
3030 (link-extra-libs-static): Define to $(link-extra-libs).
3031 (link-extra-libs-bounded): Likewise.
3033 2005-01-17 Ulrich Drepper <drepper@redhat.com>
3035 * include/link.h: Remove stray definition of pltenter.
3037 2005-01-16 GOTO Masanori <gotom@debian.or.jp>
3040 * sysdeps/unix/rewinddir.c: Reset filepos.
3041 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
3043 2005-01-15 Ulrich Drepper <drepper@redhat.com>
3045 * elf/tst-auditmod1.c: Reduce duplication.
3047 2005-01-16 Andreas Schwab <schwab@suse.de>
3049 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
3050 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3051 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
3052 GLRO(dl_profile) != NULL.
3053 * sysdeps/m68k/dl-trampoline.S: New file.
3054 * sysdeps/m68k/bits/link.h: New file.
3055 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
3057 * elf/tst-auditmod1.c: Add m68k support.
3059 2005-01-14 Ulrich Drepper <drepper@redhat.com>
3061 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
3062 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
3065 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
3066 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
3068 2005-01-12 Ulrich Drepper <drepper@redhat.com>
3070 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
3071 callers from libc anymore.
3073 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
3074 to _dl_map_object_deps.
3075 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
3076 protections when loading auditing modules.
3078 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
3080 * posix/getconf.c: Update copyright year.
3081 * nss/getent.c: Likewise.
3082 * nscd/nscd_nischeck.c: Likewise.
3083 * iconv/iconvconfig.c: Likewise.
3084 * iconv/iconv_prog.c: Likewise.
3085 * elf/ldconfig.c: Likewise.
3086 * catgets/gencat.c: Likewise.
3087 * csu/version.c: Likewise.
3088 * elf/ldd.bash.in: Likewise.
3089 * elf/sprof.c (print_version): Likewise.
3090 * locale/programs/locale.c: Likewise.
3091 * locale/programs/localedef.c: Likewise.
3092 * nscd/nscd.c (print_version): Likewise.
3093 * debug/xtrace.sh: Likewise.
3094 * malloc/memusage.sh: Likewise.
3095 * malloc/mtrace.pl: Likewise.
3096 * debug/catchsegv.sh: Likewise.
3098 2005-01-11 Thorsten Kukuk <kukuk@suse.de>
3101 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
3103 * sunrpc/svc_unix.c (svcunix_create): Likewise.
3105 * grp/putgrent.c (putgrent): Don't write 0 as group
3106 ID if groupname starts with + or -.
3107 * pwd/putpwent.c (putpwent): Don't write 0 as user or
3108 group ID if user name starts with + or -.
3110 2005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3112 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
3113 * sysdeps/elf/tst-auditmod1.c: Add sh support.
3114 * sysdeps/sh/bits/link.h: New.
3115 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
3116 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
3117 (RTLD_START): Define __fpscr_values.
3118 * sysdeps/sh/dl-trampoline.S: New file.
3119 * sysdeps/sh/sh4/dl-trampoline.S: New file.
3120 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
3121 * sysdeps/sh/sh4/dl-machine.h: Remove.
3123 2005-01-10 Jakub Jelinek <jakub@redhat.com>
3126 * time/tst-strptime.c (day_tests): Add 2 new tests.
3127 (test_tm, main): Issue an error instead of segfaulting if
3128 strptime returns NULL.
3130 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
3132 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
3133 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
3135 2005-01-11 Ulrich Drepper <drepper@redhat.com>
3137 * malloc/malloc.h: Remove no-glibc support.
3139 2005-01-12 GOTO Masanori <gotom@debian.or.jp>
3142 * malloc/malloc.h: Always include features.h.
3144 2005-01-10 Roland McGrath <roland@redhat.com>
3146 * sysdeps/ia64/fpu/e_logl.c: File removed.
3148 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
3150 2005-01-10 Ulrich Drepper <drepper@redhat.com>
3152 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
3153 recognition of last entry.
3155 2005-01-09 Ulrich Drepper <drepper@redhat.com>
3157 * elf/dl-runtime.c: Include <sys/param.h>.
3159 * elf/Makefile (headers): Add bits/link.h.
3161 2005-01-09 Andreas Schwab <schwab@suse.de>
3163 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
3165 2005-01-09 Andreas Jaeger <aj@suse.de>
3168 * time/strptime_l.c (__strptime_internal): Add braces to avoid
3171 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
3173 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
3175 2005-01-08 Jakub Jelinek <jakub@redhat.com>
3177 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
3179 2005-01-09 Ulrich Drepper <drepper@redhat.com>
3181 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
3182 those of all the regular objects.
3184 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
3185 use it to select the r_debug structure for that namespace.
3186 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
3187 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3188 * elf/dl-open.c (_dl_open): Likewise.
3189 * elf/rtld.c (dl_main): Likewise.
3190 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
3192 (_dl_debug_initialize): Add new parameter in declaration.
3194 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
3195 called for the auditing objects themselves.
3196 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3198 2005-01-07 Ulrich Drepper <drepper@redhat.com>
3200 * sysdeps/powerpc/powerpc64/dl-machine.h
3201 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
3202 GLRO(dl_profile) != NULL.
3203 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
3205 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
3206 Extend _dl_prof_resolve to add pass extra parameters to
3207 _dl_profile_fixup and set up structure with register content.
3209 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
3210 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
3211 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
3212 Extend _dl_prof_resolve to add pass extra parameters to
3213 _dl_profile_fixup and set up structure with register content.
3214 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
3215 the register and result structures.
3216 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
3217 in the 32-bit register and result structures.
3219 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
3221 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
3222 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
3223 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3224 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
3225 * elf/tst-auditmod1.c: Add ppc32 support.
3226 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
3227 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
3229 * malloc/malloc.c (malloc_printerr): Print program name as part of
3232 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
3233 * stdlib/stdlib.h: Make realloc with
3234 __attribute_warn_unused_result__ instead of __wur.
3235 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
3236 markers as in <stdlib.h>.
3238 * libio/stdio.h: Remove __wur from rename and remove.
3239 * posix/unistd.h: Remove __wur from dup2.
3241 2005-01-03 Andreas Jaeger <aj@suse.de>
3243 * elf/Makefile (tests): Revert patch from 2005-01-03.
3245 2005-01-07 Ulrich Drepper <drepper@redhat.com>
3247 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
3248 make __libc_init_first hidden.
3250 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
3251 l_relocated of rtld map.
3252 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
3253 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
3254 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3255 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
3256 * elf/tst-auditmod1.c: Add ppc64 support.
3257 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
3259 2005-01-06 Roland McGrath <roland@redhat.com>
3262 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
3263 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
3265 2005-01-06 Ulrich Drepper <drepper@redhat.com>
3267 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
3268 * sysdeps/generic/libc-start.c: Don't register program destructor here.
3270 * dlfcn/Makefile: Add rules to build dlfcn.c.
3271 (LDFLAGS-dl.so): Removed.
3272 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
3274 * dlfcn/dlmopen.c: Likewise for _dl_open.
3275 * dlfcn/dlopen.c: Likewise.
3276 * dlfcn/dlopenold.c: Likewise.
3277 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
3278 * elf/Makefile (routines): Remove dl-open and dl-close.
3279 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
3280 Add rules to build and run tst-audit1.
3281 * elf/tst-audit1.c: New file.
3282 * elf/tst-auditmod1.c: New file.
3283 * elf/Versions [libc]: Remove _dl_open and _dl_close.
3284 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
3285 * elf/dl-open.c: Likewise.
3286 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
3287 signaled by nonzero parameter.
3288 * elf/dl-init.c: Fix use of r_state.
3289 * elf/dl-load.c: Likewise.
3291 * elf/dl-close.c: Add auditing checkpoints.
3292 * elf/dl-open.c: Likewise.
3293 * elf/dl-fini.c: Likewise.
3294 * elf/dl-load.c: Likewise.
3295 * elf/dl-sym.c: Likewise.
3296 * sysdeps/generic/libc-start.c: Likewise.
3297 * elf/dl-object.c: Allocate memory for auditing information.
3298 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
3299 Correctly initialize slotinfo.
3300 * elf/dynamic-link.h: Adjust after removal of RESOLV.
3301 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
3302 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
3303 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
3304 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
3305 (_dl_profile_fixup): New parameters to point to register struct and
3306 variable for frame size.
3307 Add auditing checkpoints.
3308 (_dl_call_pltexit): New function.
3309 Don't define trampoline code here.
3310 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
3311 Remove all the functions from _rtld_global_ro which only _dl_open
3312 and _dl_close needed.
3313 Add auditing checkpoints.
3314 * elf/link.h: Define symbols for auditing interfaces.
3315 * include/link.h: Likewise.
3316 * include/dlfcn.h: Define __RTLD_AUDIT.
3317 Remove prototypes for _dl_open and _dl_close.
3318 Adjust access to argc and argv in libdl.
3319 * dlfcn/dlfcn.c: New file.
3320 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
3322 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
3323 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
3324 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
3325 Adjust for removal of RESOLVE.
3326 * sysdeps/x86_64/dl-machine.h: Likewise.
3327 * sysdeps/generic/dl-trampoline.c: New file.
3328 * sysdeps/i386/dl-trampoline.c: New file.
3329 * sysdeps/x86_64/dl-trampoline.c: New file.
3331 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
3332 Fix updating of DTV.
3333 * sysdeps/generic/libc-tls.c: Likewise.
3335 * sysdeps/arm/bits/link.h: Renamed to ...
3336 * sysdeps/arm/bits/linkmap.h: ...this.
3337 * sysdeps/generic/bits/link.h: Renamed to...
3338 * sysdeps/generic/bits/linkmap.h: ...this.
3339 * sysdeps/hppa/bits/link.h: Renamed to...
3340 * sysdeps/hppa/bits/linkmap.h: ...this.
3341 * sysdeps/i386/bits/link.h: Renamed to...
3342 * sysdeps/i386/bits/linkmap.h: ...this.
3343 * sysdeps/ia64/bits/link.h: Renamed to...
3344 * sysdeps/ia64/bits/linkmap.h: ...this.
3345 * sysdeps/s390/bits/link.h: Renamed to...
3346 * sysdeps/s390/bits/linkmap.h: ...this.
3347 * sysdeps/sh/bits/link.h: Renamed to...
3348 * sysdeps/sh/bits/linkmap.h: ...this.
3349 * sysdeps/x86_64/bits/link.h: Renamed to...
3350 * sysdeps/x86_64/bits/linkmap.h: ...this.
3352 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
3354 2004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
3357 * math/libm-test.inc (rint_test_tonearest): New test.
3358 (rint_test_towardzero): New test.
3359 (rint_test_downward): New test.
3360 (rint_test_upward): New test.
3361 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
3362 Remove redundant const values.
3363 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
3364 Remove redundant const values. Use float const.
3365 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
3366 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
3368 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
3369 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
3371 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
3372 Remove redundant const values.
3373 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
3374 Remove redundant const values. Use float const.
3375 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
3376 Remove redundant const values.
3377 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
3378 Remove redundant const values. Use float const.
3379 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
3380 alignment. Fix -0.0 case. Remove redundant const values.
3381 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
3382 alignment. Fix -0.0 case. Remove redundant const values.
3384 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
3385 alignment. Fix -0.0 case.
3386 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
3387 alignment. Fix -0.0 case. Use float const.
3388 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
3389 alignment. Fix -0.0 case.
3390 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
3391 alignment. Fix -0.0 case. Use float const.
3392 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
3393 alignment. Fix -0.0 case. Remove redundant const values.
3394 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
3395 alignment. Fix -0.0 case. Remove redundant const values.
3397 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
3398 alignment. Fix -0.0 case.
3399 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
3400 alignment. Fix -0.0 case. Remove redundant const values.
3403 2005-01-06 Ulrich Drepper <drepper@redhat.com>
3405 * misc/sys/cdefs.h: Define __wur.
3406 * libio/stdio.h: Use __wur for a number of interfaces.
3407 * posix/unistd.h: Likewise.
3408 * stdlib/stdlib.h: Likewise.
3410 2004-12-29 Jakub Jelinek <jakub@redhat.com>
3413 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
3414 libc_hidden_proto instead of HIDDEN_PROTO.
3415 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
3416 (__libm_error_support): If ASSEMBLER and in libc, define to
3417 HIDDEN_JUMPTARGET(__libm_error_support).
3419 2004-12-28 David Mosberger <davidm@hpl.hp.com>
3422 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
3423 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
3424 with $(duplicated-routines).
3425 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
3428 2004-12-27 David Mosberger <davidm@hpl.hp.com>
3431 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
3432 undefine "ret" macro. Add __libm_error_support hidden definitions.
3435 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
3436 missing portion of copyright statement.
3437 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
3438 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
3441 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
3442 missing portion of copyright statement.
3443 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
3444 (__ieee754_gamma): Likewise.
3445 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
3446 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
3448 2004-12-09 H.J. Lu <hjl@lucon.org>
3451 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
3452 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
3453 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
3454 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
3455 * sysdeps/ia64/fpu/e_expl.S: Likewise.
3456 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
3458 2004-11-18 David Mosberger <davidm@hpl.hp.com>
3461 * sysdeps/ia64/fpu/README: New file.
3462 * sysdeps/ia64/fpu/gen_import_file_list: New file.
3463 * sysdeps/ia64/fpu/import_check: Likewise.
3464 * sysdeps/ia64/fpu/import_diffs: Likewise.
3465 * sysdeps/ia64/fpu/import_file.awk: Likewise.
3466 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
3467 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3470 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
3471 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
3472 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
3473 * sysdeps/ia64/fpu/e_asin.S: Likewise.
3474 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
3475 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
3476 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
3477 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
3478 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
3479 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
3480 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
3481 * sysdeps/ia64/fpu/e_exp.S: Likewise.
3482 * sysdeps/ia64/fpu/e_expf.S: Likewise.
3483 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
3484 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
3485 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
3486 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
3487 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
3488 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
3489 * sysdeps/ia64/fpu/e_log.S: Likewise.
3490 * sysdeps/ia64/fpu/e_log2.S: Likewise.
3491 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
3492 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
3493 * sysdeps/ia64/fpu/e_logf.S: Likewise.
3494 * sysdeps/ia64/fpu/e_pow.S: Likewise.
3495 * sysdeps/ia64/fpu/e_powf.S: Likewise.
3496 * sysdeps/ia64/fpu/e_powl.S: Likewise.
3497 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
3498 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
3499 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
3500 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
3501 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
3502 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
3503 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
3504 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
3505 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
3506 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
3507 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
3508 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
3509 * sysdeps/ia64/fpu/libm_error.c: Likewise.
3510 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
3511 * sysdeps/ia64/fpu/libm_support.h: Likewise.
3512 * sysdeps/ia64/fpu/s_atan.S: Likewise.
3513 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
3514 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
3515 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
3516 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
3517 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
3518 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
3519 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
3520 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
3521 * sysdeps/ia64/fpu/s_cos.S: Likewise.
3522 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
3523 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3524 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
3525 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
3526 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
3527 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
3528 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
3529 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
3530 * sysdeps/ia64/fpu/s_floor.S: Likewise.
3531 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
3532 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
3533 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
3534 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
3535 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
3536 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
3537 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
3538 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
3539 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
3540 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
3541 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
3542 * sysdeps/ia64/fpu/s_logb.S: Likewise.
3543 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
3544 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
3545 * sysdeps/ia64/fpu/s_modf.S: Likewise.
3546 * sysdeps/ia64/fpu/s_modff.S: Likewise.
3547 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
3548 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
3549 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
3550 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
3551 * sysdeps/ia64/fpu/s_rint.S: Likewise.
3552 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
3553 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
3554 * sysdeps/ia64/fpu/s_round.S: Likewise.
3555 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
3556 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
3557 * sysdeps/ia64/fpu/s_significand.S: Likewise.
3558 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
3559 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
3560 * sysdeps/ia64/fpu/s_tan.S: Likewise.
3561 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
3562 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
3563 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
3564 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
3565 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
3568 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
3569 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
3570 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
3571 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
3572 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
3573 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
3574 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
3575 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
3576 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
3577 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3578 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
3579 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
3580 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
3581 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
3582 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
3583 * sysdeps/ia64/fpu/e_logl.S: Likewise.
3584 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
3585 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
3586 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
3587 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
3588 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
3589 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
3590 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
3591 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
3592 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
3593 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
3594 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
3595 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
3596 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
3597 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3598 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
3599 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3600 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
3601 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
3602 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
3603 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
3604 * sysdeps/ia64/fpu/s_erf.S: Likewise.
3605 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
3606 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
3607 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
3608 * sysdeps/ia64/fpu/s_erff.S: Likewise.
3609 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
3610 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
3611 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
3612 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
3613 * sysdeps/ia64/fpu/s_fma.S: Likewise.
3614 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
3615 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
3616 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
3617 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
3618 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
3619 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
3620 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
3621 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
3622 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
3623 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
3624 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
3625 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
3626 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
3627 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
3628 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
3629 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
3630 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
3631 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
3632 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
3633 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
3634 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
3635 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3636 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3637 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3640 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
3641 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
3642 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
3643 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3644 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3645 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3646 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3647 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3648 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3649 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3650 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3651 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3652 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3653 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3654 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3655 * sysdeps/ia64/fpu/w_expl.c: Likewise.
3656 * sysdeps/ia64/fpu/e_expl.S: Likewise.
3657 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3658 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3659 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3660 * sysdeps/ia64/fpu/w_log2.c: Likewise.
3661 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3662 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3663 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3664 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3665 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3668 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
3669 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
3670 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
3671 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
3672 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
3673 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
3674 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
3677 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
3678 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
3679 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
3682 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
3685 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
3686 alias for use by libm_error.c
3689 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
3690 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
3691 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
3692 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
3693 libm_scalbn{,f,l}, libm_scalblnf.
3694 (sysdep_routines): Remove libm_frexp4{,f,l}.
3695 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
3696 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
3697 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
3698 -DSIZE_LONG_LONG_INT_64.
3700 2005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
3703 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
3704 l_text_end are set for a VDSO with a single PT_LOAD entry.
3706 2005-01-05 Ulrich Drepper <drepper@redhat.com>
3709 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
3710 invalid to disable optimizations in fileops which won't work here.
3711 (_IO_cookie_jumps): Use it.
3712 (_IO_old_cookie_jumps): Likewise.
3713 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
3714 not the return value.
3715 * stdio-common/Makefile (tests): Add tst-fmemopen2.
3716 * stdio-common/tst-fmemopen2.c: New file.
3718 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
3720 2005-01-05 Roland McGrath <roland@redhat.com>
3722 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
3723 * sysdeps/i386/configure.in: ... here. New file.
3725 2005-01-03 Ulrich Drepper <drepper@redhat.com>
3728 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
3729 initialize __environ again.
3730 * stdlib/Makefile: Add rules to build and run tst-putenv.
3731 * stdlib/tst-putenv.c: New file.
3732 * stdlib/tst-putenvmod.c: New file.
3734 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
3735 define unnecessary wrappers or aliases of static functions.
3737 2005-01-03 Andreas Jaeger <aj@suse.de>
3739 * csu/Makefile (generated): Add start.os and start.ob.
3741 * elf/Makefile (tests): Change rule for tst-pie1 so that make
3744 2004-12-29 Roland McGrath <roland@redhat.com>
3747 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
3748 than always up; when nearest is zero, round up to one.
3750 2004-12-28 Ulrich Drepper <drepper@redhat.com>
3752 * po/es.po: Update from translation team.
3755 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
3757 2004-12-27 Ulrich Drepper <drepper@redhat.com>
3760 * include/signal.h: Define __sigemptyset.
3762 2004-04-27 Paolo Bonzini <bonzini@gnu.org>
3764 * posix/regex_internal.h (struct re_dfastate_t): Make
3765 word_trtable a pointer to the 512-item transition table.
3766 * posix/regexec.c (build_trtable): Fill in either state->trtable
3767 or state->word_trtable. Return a boolean indicating success.
3768 (transit_state): Expect state->trtable to be a 256-item
3769 transition table. Reorganize code to have less tests in
3770 the common case, and to save an indentation level.
3771 * posix/regex_internal.c (free_state): Free word_trtable.
3773 2004-12-21 Jakub Jelinek <jakub@redhat.com>
3776 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
3777 calling fn is 16 byte aligned.
3778 * sysdeps/i386/tst-stack-align.h: New file.
3781 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
3782 (ecvt_r): Special case denormals.
3783 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
3784 * misc/tst-efgcvt.c: Include float.h.
3785 (ecvt_tests): Add 2 new tests.
3787 2004-12-20 Roland McGrath <roland@frob.com>
3789 * version.h (RELEASE, VERSION): development, 2.3.90
3790 * include/features.h (__GLIBC_MINOR__): Now 4.
3793 See ChangeLog.15 for earlier changes.