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