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