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