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