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