]>
Commit | Line | Data |
---|---|---|
e0f86659 UD |
1 | 2003-02-05 Ulrich Drepper <drepper@redhat.com> |
2 | ||
432cf458 UD |
3 | * debug/catchsegv.sh: Fix typo in error messsage. |
4 | Reported by John Levon <leven@movementarian.org>. | |
5 | ||
5cd09cd6 UD |
6 | * sysdeps/unix/sysv/linux/posix_fadvise.c: New file. |
7 | * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall. | |
8 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. | |
9 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. | |
10 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. | |
11 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
12 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. | |
13 | ||
e0f86659 UD |
14 | * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked. |
15 | Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>. | |
16 | ||
5049f197 UD |
17 | 2003-02-05 Jim Meyering <jim@meyering.net> |
18 | ||
19 | Fix a heap-corrupting bug. | |
20 | * io/ftw.c: Include <limits.h>. | |
21 | (PATH_MAX) [!defined PATH_MAX]: Define to 1024. | |
22 | (process_entry): Allocate enough space to hold the resulting | |
23 | file name. Don't presume that 2*dirbufsize is enough. | |
24 | (ftw_startup): Always use PATH_MAX to compute buffer size, now that | |
25 | it is guaranteed to be defined. | |
26 | ||
6f1cff95 UD |
27 | 2003-02-04 Ulrich Drepper <drepper@redhat.com> |
28 | ||
29 | * iconvdata/Makefile: Add rules to build and run bug-iconv3. | |
30 | * iconvdata/bug-iconv3.c: New file. | |
31 | ||
b33b0d0d UD |
32 | 2003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com> |
33 | ||
34 | * sysdeps/unix/sysv/linux/s390/system.c: New file. | |
35 | ||
6900ded2 UD |
36 | 2003-02-03 Jakub Jelinek <jakub@redhat.com> |
37 | ||
38 | * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New | |
39 | check. | |
40 | * config.h.in (BROKEN_SPARC_WDISP22): Add. | |
41 | ||
663684b2 UD |
42 | 2003-02-03 Ulrich Drepper <drepper@redhat.com> |
43 | ||
44 | * sysdeps/i386/i686/memmove.S: New file. | |
45 | ||
3e4fc359 UD |
46 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> |
47 | ||
48 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: | |
49 | Include kernel-features.h | |
50 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. | |
51 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. | |
52 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. | |
53 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. | |
54 | ||
75dec09e UD |
55 | 2003-02-02 Jakub Jelinek <jakub@redhat.com> |
56 | ||
57 | * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers. | |
58 | ||
78e88510 UD |
59 | 2003-01-25 Jim Meyering <jim@meyering.net> |
60 | ||
61 | * io/ftw.c (object_compare): Compare inode numbers before device | |
62 | numbers, since the former are much more likely to differ. | |
63 | ||
38e68573 UD |
64 | 2003-02-01 Ulrich Drepper <drepper@redhat.com> |
65 | ||
66 | * time/tzfile.c (__tzfile_compute): Change return value type to | |
67 | void. Adjust return statements. | |
68 | * include/time.h (__tzfile_compute): Adjust prototype. | |
69 | ||
70 | 2003-02-01 Jim Meyering <jim@meyering.net> | |
71 | ||
72 | * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute | |
73 | always returns 1. | |
74 | ||
75 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
76 | ||
77 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c | |
78 | [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS. | |
79 | ||
80 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
81 | ||
82 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S | |
83 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub. | |
84 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S | |
85 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
86 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S | |
87 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
88 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S | |
89 | [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. | |
90 | ||
91 | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> | |
92 | ||
93 | * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel | |
94 | back to 2.4.19 for powerpc64. | |
95 | * sysdeps/unix/sysv/linux/kernel-features.h | |
96 | (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64. | |
97 | (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64. | |
98 | ||
99 | 2003-02-01 Ulrich Drepper <drepper@redhat.com> | |
100 | ||
101 | * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for | |
102 | platforms with strange alignment requirements on wchar_t. | |
103 | ||
b67fcc1e UD |
104 | 2003-01-31 Andreas Schwab <schwab@suse.de> |
105 | ||
106 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_* | |
107 | aliases, already added by make-syscalls.sh. | |
108 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. | |
109 | * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. | |
110 | * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. | |
111 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
112 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. | |
113 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
114 | * sysdeps/unix/sysv/linux/syscalls.list: Likewise. | |
115 | * sysdeps/unix/inet/syscalls.list: Likewise. | |
116 | * sysdeps/unix/syscalls.list: Likewise. | |
117 | ||
fb784fd5 AS |
118 | 2003-01-31 Andreas Schwab <schwab@suse.de> |
119 | ||
120 | * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed | |
121 | any more. | |
122 | ||
c4c1336c UD |
123 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> |
124 | ||
125 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg, | |
126 | not l to load tls from stack. | |
127 | ||
d6f5e721 RM |
128 | 2003-01-30 Roland McGrath <roland@redhat.com> |
129 | ||
130 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for | |
131 | null argument before all else. | |
132 | Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>. | |
133 | ||
7ba7c829 UD |
134 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> |
135 | ||
136 | * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel): | |
137 | Move to RESOLVE protected part of the header. | |
138 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel): | |
139 | Likewise. | |
140 | ||
141 | 2003-01-30 Ulrich Drepper <drepper@redhat.com> | |
142 | ||
143 | * stdio-common/Makefile (tests): Add bug15. | |
144 | (bug15-ENV): Define. | |
145 | * stdio-common/bug15.c: New file. | |
146 | ||
886d5973 UD |
147 | 2002-10-07 Wolfram Gloger <wg@malloc.de> |
148 | ||
149 | * malloc/malloc.c (sYSMALLOc): Only check for breakage due | |
150 | to foreign sbrk()'s if arena is contiguous. Bug report from | |
151 | Bruno Haible <bruno@clisp.org>. | |
152 | ||
153 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
154 | ||
155 | * sysdeps/s390/libc-tls.c: Include stdlib.h. | |
156 | ||
157 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
158 | ||
159 | * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of | |
160 | ps.__count. | |
161 | ||
162 | 2003-01-30 Ulrich Drepper <drepper@redhat.com> | |
163 | ||
164 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and | |
165 | restoring of %r6. | |
166 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use | |
167 | 64-bit load. | |
168 | Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>. | |
169 | ||
170 | 2003-01-30 Jakub Jelinek <jakub@redhat.com> | |
171 | ||
172 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error... | |
173 | (allocate_static_tls): ...here. Add __attribute_noinline__. | |
174 | Don't return on failure. | |
175 | (_dl_reloc_bad_type): Add __attribute_noinline__. | |
176 | * elf/do-rel.h (elf_dynamic_do_rel): Add | |
177 | __attribute__((always_inline)). | |
178 | * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela, | |
179 | elf_machine_rel_relative, elf_machine_rela_relative, | |
180 | elf_machine_lazy_rel): Add prototypes with | |
181 | __attribute__((always_inline)). | |
182 | ||
183 | 2003-01-29 David Mosberger <davidm@hpl.hp.com> | |
184 | ||
185 | * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO. | |
186 | ||
871afd6b RM |
187 | 2003-01-29 Roland McGrath <roland@redhat.com> |
188 | ||
189 | * configure.in: Barf if configured in $srcdir. | |
871afd6b | 190 | |
1e49399d UD |
191 | 2003-01-28 Steven Munroe <sjmunroe@us.ibm.com> |
192 | ||
193 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c | |
1e2f8718 | 194 | (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL. |
1e49399d | 195 | |
db34912e UD |
196 | 2003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com> |
197 | ||
198 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional | |
199 | clone parameters to match the order used on ia32. | |
200 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. | |
201 | ||
e6ebd2e4 UD |
202 | 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com> |
203 | ||
204 | * elf/elf.h: Add new s390 relocs. | |
205 | * elf/tls-macros.h: Add s390 versions. | |
206 | * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset. | |
207 | * sysdeps/s390/dl-tls.h: New file. | |
208 | * sysdeps/s390/libc-tls.c: New file. | |
209 | * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS | |
210 | relocs for class PLT. | |
211 | (elf_machine_rela): Handle TLS relocs. | |
212 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
213 | * sysdeps/s390/s390-32/elf/configure.in: Add TLS check. | |
214 | * sysdeps/s390/s390-64/elf/configure.in: Likewise. | |
215 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for | |
216 | CLONE_CHILD_*TID flags. | |
217 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. | |
218 | * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32 | |
219 | bit offset. | |
220 | * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. | |
221 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
222 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error): | |
223 | Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant. | |
224 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error): | |
225 | Likewise. | |
226 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: | |
227 | (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. | |
228 | (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO | |
229 | variants. | |
230 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: | |
231 | (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use | |
232 | direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT. | |
233 | (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO | |
234 | variants. | |
235 | ||
772e3426 UD |
236 | 2003-01-28 Ulrich Drepper <drepper@redhat.com> |
237 | ||
238 | * sysdeps/unix/common/pause.c (do_pause): New function. Split | |
239 | from __libc_pause. Implement using sigsuspend. | |
240 | (__libc_pause): Call do_pause to do the real work. | |
241 | ||
242 | * sysdeps/posix/sigpause.c (do_sigpause): Check range of | |
243 | sig_or_mask parameter is is_sig != 0. | |
244 | ||
0566b130 UD |
245 | 2003-01-21 Philip Blundell <philb@gnu.org> |
246 | ||
247 | * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define. | |
248 | ||
a15698cb UD |
249 | 2003-01-27 Steven Munroe <sjmunroe@us.ibm.com> |
250 | ||
251 | * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check. | |
252 | ||
b7e033f7 UD |
253 | 2003-01-27 Ulrich Drepper <drepper@redhat.com> |
254 | ||
e6fb8846 UD |
255 | * stdio-common/bug14.c: Use official name for the locale. |
256 | ||
1fc46908 UD |
257 | * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start |
258 | instead of __libc_cleanup_region_start and _IO_cleanup_region_end | |
259 | instead of __libc_cleanup_region_end. | |
260 | ||
261 | * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1 | |
262 | as first parameter to __libc_cleanup_region_start. | |
263 | ||
68ff8426 UD |
264 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c |
265 | (__fe_nomask_env): Use __prctl not prctl. | |
266 | * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for | |
267 | prctl syscall. | |
268 | ||
809cd222 UD |
269 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message. |
270 | ||
271 | * elf/dl-open.c (_dl_tls_static_size): Bump to 2048. | |
272 | ||
b7e033f7 UD |
273 | * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic |
274 | wrap-around in test. | |
275 | ||
62f29da7 UD |
276 | 2003-01-26 Andreas Schwab <schwab@suse.de> |
277 | ||
278 | * sysdeps/wordsize-32/divdi3.c: Export the functions only as | |
279 | compatibility symbols. Remove INTDEF for __divdi3. | |
280 | * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal. | |
281 | * sysdeps/powerpc/powerpc32/divdi3.c: Remove. | |
282 | * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't | |
283 | define. | |
284 | * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c. | |
285 | ||
286 | 2003-01-24 Jakub Jelinek <jakub@redhat.com> | |
287 | ||
288 | * elf/tls-macros.h: Add SPARC 32-bit definitions. | |
289 | * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check. | |
290 | * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards | |
291 | for the first half of the header. Include tls.h. | |
292 | (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS | |
293 | relocs too. | |
294 | (elf_machine_rela): Handle TLS relocs. | |
295 | * sysdeps/sparc/dl-tls.h: New file. | |
296 | ||
297 | * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation | |
298 | support. | |
299 | ||
300 | * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7. | |
301 | * sysdeps/sparc/sparc32/memchr.S: Likewise. | |
302 | * sysdeps/sparc/sparc32/memcpy.S: Likewise. | |
303 | * sysdeps/sparc/sparc32/strcat.S: Likewise. | |
304 | * sysdeps/sparc/sparc32/strchr.S: Likewise. | |
305 | * sysdeps/sparc/sparc32/strcmp.S: Likewise. | |
306 | * sysdeps/sparc/sparc32/strcpy.S: Likewise. | |
307 | * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise. | |
308 | * sysdeps/sparc/sparc64/hp-timing.h: Likewise. | |
309 | * sysdeps/sparc/sparc64/memcpy.S: Likewise. | |
310 | * sysdeps/sparc/sparc64/stpcpy.S: Likewise. | |
311 | * sysdeps/sparc/sparc64/stpncpy.S: Likewise. | |
312 | * sysdeps/sparc/sparc64/strcat.S: Likewise. | |
313 | * sysdeps/sparc/sparc64/strchr.S: Likewise. | |
314 | * sysdeps/sparc/sparc64/strcmp.S: Likewise. | |
315 | * sysdeps/sparc/sparc64/strcpy.S: Likewise. | |
316 | * sysdeps/sparc/sparc64/strncmp.S: Likewise. | |
317 | * sysdeps/sparc/sparc64/strncpy.S: Likewise. | |
318 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. | |
319 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. | |
320 | ||
321 | 2003-01-24 Andreas Schwab <schwab@suse.de> | |
322 | ||
323 | * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY | |
324 | elements, and process them backwards. | |
325 | * elf/Makefile ($(objpfx)tst-array4): New target. | |
326 | ($(objpfx)tst-array4.out): Likewise. | |
327 | (tests) [$(have-initfini-array) = yes]: Add tst-array4. | |
328 | * elf/tst-array4.c: New file. | |
329 | * elf/tst-array4.exp: Likewise. | |
330 | ||
331 | 2003-01-24 Steven Munroe <sjmunroe@us.ibm.com> | |
332 | ||
333 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file. | |
334 | ||
335 | 2003-01-27 Guido Guenther <agx@sigxcpu.org> | |
336 | ||
337 | * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define. | |
338 | * sysdeps/unix/sysv/linux/mips/pread.c: Add support for | |
339 | cancellation handling and handle both __NR_pread64 and __NR_pread. | |
340 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
341 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for | |
342 | cancellation handling and handle both __NR_pwrite64 and __NR_pwrite. | |
343 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
344 | * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT | |
345 | case, use register names consistently. | |
346 | ||
347 | 2003-01-27 Wolfram Gloger <wg@malloc.de> | |
348 | ||
349 | * malloc/hooks.c (mem2chunk_check): Check alignment of mem | |
350 | pointer, not of the computed chunk. Bug report from Carlos | |
351 | O'Donell <carlos@baldric.uwo.ca>. | |
352 | ||
251c0f71 AS |
353 | 2003-01-25 Andreas Schwab <schwab@suse.de> |
354 | ||
355 | * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative | |
356 | addressing to save GOT entries. | |
357 | ||
86dfa4eb RM |
358 | 2003-01-21 Jakub Jelinek <jakub@redhat.com> |
359 | ||
360 | * sysdeps/unix/alpha/sysdep.h (inline_syscall0, | |
361 | inline_syscall1, inline_syscall2, inline_syscall3, | |
362 | inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__. | |
363 | * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add | |
364 | __attribute__((unused)) to ChEcK. | |
365 | ||
d5b6c817 UD |
366 | 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
367 | ||
368 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL): | |
369 | Fix inline assembler constraints. | |
370 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL): | |
371 | Likewise. | |
372 | ||
373 | * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of | |
374 | -fPIC. | |
375 | ||
83c9a671 RM |
376 | 2003-01-20 Segher Boessenkool <segher@koffie.nl> |
377 | ||
378 | * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really | |
379 | compute the cosine, not the sine, even if x > 0.8. | |
380 | ||
b677d674 UD |
381 | 2003-01-19 Ulrich Drepper <drepper@redhat.com> |
382 | ||
383 | * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of | |
384 | _nss_nis_setspent. Work around the different prototypes. | |
385 | * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use | |
386 | internal_nis_endrpcent. | |
387 | (internal_nis_endrpcent): Change return type to void. Change callers. | |
388 | * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of | |
389 | _nss_nis_setpwent. Work around the different prototypes. | |
390 | * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body | |
391 | of the function to... | |
392 | (internal_nis_endprotoent): ... here. New function. | |
393 | (internal_nis_setprotoent): Use internal_nis_endprotoent. | |
394 | * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of | |
395 | _nss_nis_setnetent. Work around the different prototypes. | |
396 | * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body | |
397 | of the function to... | |
398 | (internal_nis_endnetgrent): ... here. New function. | |
399 | (_nss_nis_setnetgrent): Use internal_nis_endnetgrent. | |
400 | ||
978bd143 UD |
401 | 2003-01-19 Jim Meyering <jim@meyering.net> |
402 | ||
403 | * time/strftime.c: (widen): Merge nearly-identical definitions. | |
404 | (nl_get_alt_digit) [! defined my_strftime]: Define. | |
405 | (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of | |
406 | _nl_get_alt_digit and _nl_get_walt_digit. | |
407 | ||
b1a173f7 UD |
408 | 2003-01-19 Ulrich Drepper <drepper@redhat.com> |
409 | ||
410 | * time/strftime.c (my_strftime): Handle very large width | |
411 | specifications for numeric values correctly. Improve checks for | |
412 | overflow. | |
413 | * time/Makefile (tests): Add tst-strftime. | |
414 | * time/tst-strftime.c: New file. | |
415 | ||
039c1b75 UD |
416 | 2003-01-18 Ulrich Drepper <drepper@redhat.com> |
417 | ||
6675b191 UD |
418 | * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of |
419 | _nss_nis_sethostent. Work around the different prototypes. | |
420 | * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of | |
421 | _nss_nis_setgrent. Work around the different prototypes. | |
422 | * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New | |
423 | function. Split out from _nss_nis_endetherent. | |
424 | (internal_nis_setetherent): Use internal_nis_endetherent instead of | |
425 | duplicating the code. | |
426 | * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias | |
427 | of _nss_nis_setaliasent. | |
428 | * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse | |
429 | internal_nis_endservent code, don't duplicate it. | |
430 | ||
039c1b75 UD |
431 | * inet/rexec.c (rexec_af): Protect socket operations with |
432 | TEMP_FAILURE_RETRY. Use writev instead of multiple write. | |
433 | * inet/rcmd.c (rcmd_af): Likewise. | |
434 | ||
62431425 RM |
435 | 2003-01-17 Roland McGrath <roland@redhat.com> |
436 | ||
d32e4346 RM |
437 | * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]: |
438 | Add test of value 0.80190127184058835. | |
439 | ||
62431425 RM |
440 | * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn. |
441 | ||
0f0b7994 UD |
442 | 2003-01-17 Richard Henderson <rth@redhat.com> |
443 | ||
444 | * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS | |
445 | relocs for class PLT. | |
446 | * sysdeps/alpha/libc-tls.c: New file. | |
447 | * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New. | |
448 | (LOADGP) [!PIC]: Rewrite to preserve caller's gp. | |
449 | ||
450 | 2003-01-17 Jakub Jelinek <jakub@redhat.com> | |
451 | ||
452 | * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use | |
453 | __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock | |
454 | on _dl_static_lock. | |
455 | ||
1d4ff70e AJ |
456 | 2003-01-17 Andreas Jaeger <aj@suse.de> |
457 | ||
458 | * stdio-common/bug14.c: Include stdlib.h for exit prototype. | |
459 | ||
609b4783 UD |
460 | 2003-01-16 Steven Munroe <sjmunroe@us.ibm.com> |
461 | ||
462 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file. | |
463 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file. | |
464 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file. | |
465 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file. | |
466 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file. | |
467 | * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file. | |
468 | * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64 | |
469 | is 2.4.21. | |
470 | ||
471 | 2003-01-16 Ulrich Drepper <drepper@redhat.com> | |
472 | ||
473 | * sysdeps/generic/glob.c (glob): Assume sysconf() always returns | |
474 | values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed | |
475 | buffers. | |
476 | ||
477 | * sysdeps/generic/sysconf.c: Unconditionally implement | |
478 | _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX. | |
479 | * sysdeps/posix/sysconf.c: Likewise. | |
480 | ||
7b7b9e70 UD |
481 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
482 | ||
483 | * posix/regcomp.c (parse_bracket_exp): If build_charclass fails, | |
484 | set *err to the returned error, not to REG_ESPACE unconditionally. | |
485 | (build_word_op): Likewise. | |
486 | * posix/Makefile (tests): Add bug-regex16. | |
487 | * posix/bug-regex16.c: New test. | |
488 | ||
850dcfca UD |
489 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
490 | ||
491 | * elf/dl-load.c (_dl_map_object_from_fd): Use | |
492 | GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has | |
493 | been already initialized. | |
494 | ||
a1f8ec97 UD |
495 | 2003-01-15 Dmitry V. Levin <ldv@altlinux.org> |
496 | ||
497 | * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment. | |
498 | ||
f811dbdc UD |
499 | 2003-01-16 Jakub Jelinek <jakub@redhat.com> |
500 | ||
501 | * posix/regcomp.c (re_compile_internal): If clearing buffer, clear | |
502 | allocated too. Reported by Al Viro <aviro@redhat.com>. | |
503 | ||
4dd98447 RM |
504 | 2003-01-16 Roland McGrath <roland@redhat.com> |
505 | ||
506 | Tweak merged .abilist file format to merge duplicate symbols in | |
507 | different sets into multi-version stanzas with new "| SET regexp..." | |
508 | header continuation lines. | |
509 | * scripts/merge-abilist.awk: Rewritten for new format. | |
510 | * scripts/extract-abilist.awk: Likewise. | |
511 | ||
0f740059 UD |
512 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> |
513 | ||
e09edf23 UD |
514 | * nscd/connections.c (nscd_run): Remove bogus return which isn't |
515 | necessary with gcc 3.2+. | |
516 | (nscd_init): Don't use error() to print message, use dbg_log. | |
517 | ||
ea31b613 UD |
518 | * iconv/gconv_simple.c (STORE_REST): Explicitly store the total |
519 | expected size into state. | |
520 | (UNPACK_BYTES): Do the reverse. | |
41f112ad | 521 | * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element. |
ea31b613 UD |
522 | * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug. |
523 | Reported by Al Viro <aviro@redhat.com>. | |
524 | ||
a1a2fec1 UD |
525 | * stdio-common/Makefile (tests): Add bug14. |
526 | * stdio-common/bug14.c: New file. | |
527 | ||
0f740059 UD |
528 | * stdio-common/vfscanf.c: When recognizing multibyte characters in |
529 | string reset the byte counter after mbrtowc reported it is not a | |
530 | partial character. Reported by Al Viro <aviro@redhat.com>. | |
531 | ||
c16abc04 UD |
532 | 2003-01-15 Steven Munroe <sjmunroe@us.ibm.com> |
533 | ||
534 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include | |
535 | sysdep-cancel.h, not sysdep.h. | |
536 | ||
537 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> | |
538 | ||
539 | * nscd/connections.c (nscd_run): Protect accept call with | |
540 | TEMP_FAILURE_RETRY. | |
541 | ||
c841fa22 AS |
542 | 2003-01-15 Andreas Schwab <schwab@suse.de> |
543 | ||
544 | * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d. | |
545 | (common-generated): Add s-proto-bp.d. | |
546 | * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies | |
547 | of bp thunks. | |
548 | * sysdeps/unix/s-proto-bp.S: New file. | |
549 | * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here. | |
550 | Use <io/sys/sendfile.h> instead of <sys/sendfile.h>. | |
551 | * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file. | |
552 | ||
73917724 RM |
553 | 2003-01-15 Roland McGrath <roland@redhat.com> |
554 | ||
555 | * Makerules: Use -include for tls.make, suppresses warning. | |
556 | Move gen-as-const-headers rules up so before-compile is set in time. | |
557 | (sed-remove-dotdot): Fix to work right for subdirs or top dir. | |
558 | ||
c9f24336 UD |
559 | 2003-01-15 Ulrich Drepper <drepper@redhat.com> |
560 | ||
d4397629 UD |
561 | * nscd/nscd.c (main): Make code to close all file descriptors |
562 | faster and more robust. | |
563 | ||
9caf4f1c UD |
564 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the |
565 | request with one writev call. Protect all read calls with | |
566 | TEMP_FAILURE_RETRY. | |
567 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
568 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
569 | ||
570 | * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer. | |
571 | Protect writev calls with TEMP_FAILURE_RETRY. | |
572 | * nscd/grpcache.c: Likewise. | |
573 | * nscd/pwdcache.c: Likewise. | |
574 | ||
c9f24336 UD |
575 | * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as |
576 | IPv6 address in debug output. | |
577 | ||
9ae10332 RM |
578 | 2003-01-14 Roland McGrath <roland@redhat.com> |
579 | ||
580 | * Makerules (check-abi-%): Use two rules for $(common-objpfx) and | |
581 | $(objpfx) directories, and get rid of vpath directives. The previous | |
582 | arrangement resulted in files being written to the source directories | |
583 | when run in a clean build. Find all .abilist files in $(..)abilist/. | |
584 | (update-abi-%): Likewise. | |
585 | (generated): Don't add .symlist files, they'll be intermediates. | |
586 | ||
587 | * sysdeps/generic/init-first.c: Add a comment. | |
588 | ||
589 | * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link. | |
590 | ||
591 | * scripts/gen-as-const.awk: Grok lone "--" as a separator between | |
592 | #includes and expressions. | |
593 | ||
594 | * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged | |
595 | config list when it already contains cpu-.*-os.* without / part. | |
596 | ||
597 | * Makerules (sed-remove-dotdot): New variable. | |
598 | ($(common-objpfx)%.make): Use it. Depend on $(before-compile). | |
599 | ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. | |
600 | (check-abi-config): New variable, append /tls or /notls to the tuple. | |
601 | (check-abi-%): Use that for -v config value. | |
602 | Find .abilist files in abilist/libfoo.abilist, not in subdir. | |
603 | * Rules: Move bits/stdio_lim.h generation rules to Makerules. | |
604 | ||
a8d87c92 UD |
605 | 2003-01-14 Ulrich Drepper <drepper@redhat.com> |
606 | ||
607 | * manual/install.texi: Correct description of header preparation for | |
608 | Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941]. | |
609 | ||
574b892e UD |
610 | 2003-01-14 Guido Guenther <agx@sigxcpu.org> |
611 | ||
612 | * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL, | |
613 | INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
614 | INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define. | |
615 | ||
616 | 2003-01-14 Steven Munroe <sjmunroe@us.ibm.com> | |
617 | ||
618 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | |
619 | (INTERNAL_SYSCALL): Make use of ERR parameter. | |
620 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
621 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
622 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
623 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file. | |
624 | ||
2c255347 UD |
625 | 2003-01-14 Ulrich Drepper <drepper@redhat.com> |
626 | ||
086311a9 UD |
627 | * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol |
628 | == IPPROTO_TCP. | |
629 | Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943]. | |
630 | ||
2f279b14 UD |
631 | * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags): |
632 | Fix entry for bit 31. | |
633 | ||
2c255347 UD |
634 | * iconvdata/Makefile: Add rules to build IBM866NAV. |
635 | * iconvdata/ibm866nav.c: New file. | |
636 | * iconvdata/tst-tables.sh: Add IBM866NAV. | |
637 | * iconvdata/gconv-modules: Add entries for IBM866NAV. | |
638 | ||
642eb2a2 UD |
639 | 2003-01-13 Ulrich Drepper <drepper@redhat.com> |
640 | ||
641 | * string/tester.c (test_strcpy): Use the previously #if 0'ed code | |
642 | to test void* parameters. | |
643 | ||
644 | * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast | |
645 | source pointer before dereferencing. | |
646 | (__STRING_SMALLL_GET32): Likewise. | |
647 | (__memset_gc): Add missing parenthesis around macro arguments. | |
574b892e | 648 | Patch by Denis Zaitsev <zzz@cd-club.ru>. |
642eb2a2 UD |
649 | |
650 | * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler | |
574b892e | 651 | that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>. |
642eb2a2 | 652 | |
115bb61d UD |
653 | 2003-01-14 Jakub Jelinek <jakub@redhat.com> |
654 | ||
655 | * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before | |
656 | defining. | |
657 | ||
658 | 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
659 | ||
660 | * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals. | |
661 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it | |
662 | here. | |
663 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise. | |
664 | ||
665 | 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
666 | ||
667 | * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions | |
668 | from here... | |
669 | (PSEUDO): ... to here. | |
670 | * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction | |
671 | from here... | |
672 | (PSEUDO): ... to here. | |
673 | ||
9ef0a840 UD |
674 | 2003-01-13 Ulrich Drepper <drepper@redhat.com> |
675 | ||
676 | * locale/programs/charmap-dir.c (charmap_readdir): Use struct | |
677 | dirent64 instead of struct dirent for dirent. Call readdir64 | |
678 | instead of readdir. | |
679 | ||
680 | * locale/programs/locfile.c (siblings_uncached): Use struct | |
681 | dirent64 instead of struct dirent for other_dentry. Call | |
682 | readdir64 instead of readdir. | |
683 | ||
684 | * elf/ldconfig.c (direntry): Change type to struct dirent64. | |
685 | (search_dir): Use readdir64 instead of readdir. | |
686 | Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>. | |
687 | ||
f1c5213d RM |
688 | 2003-01-12 Roland McGrath <roland@redhat.com> |
689 | ||
c01ec9c7 RM |
690 | * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul, |
691 | not strtol. The former is usable in ld.so, the latter not. | |
692 | ||
f1c5213d RM |
693 | * include/fcntl.h: Declare __libc_creat. |
694 | ||
695 | * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs, | |
696 | libhurduser-link.so-no-z-defs): New variables. | |
697 | ||
698 | * malloc/malloc.c: Revert last change. | |
699 | * malloc/malloc.h (_int_*): Move these decls to ... | |
700 | * include/malloc.h: ... here. Add attribute_hidden. | |
701 | (_int_valloc): Declare it too. | |
702 | ||
73398a44 UD |
703 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
704 | ||
115bb61d | 705 | * elf/dl-close.c (_dl_close): Fix typo, must be == not = in |
1376cd8c UD |
706 | search for removed searchlist. Reported by Roland McGrath. |
707 | ||
40212ce0 UD |
708 | * io/ftwtest-sh: Add test for case of symlink to nonexisting file |
709 | given as start file. | |
710 | ||
711 | * io/ftw.c (ftw_startup): Use correct name in check for symlink | |
712 | without existing target. Patch by Jim Meyering. | |
713 | ||
73398a44 UD |
714 | * Makerules (build-shlib-helper): Don't use -z defs linker option |
715 | if no-z-defs is defined either. | |
716 | ||
717 | 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
718 | ||
719 | * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused | |
720 | file. | |
721 | ||
722 | 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
723 | ||
724 | * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork. | |
725 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
726 | ||
b2608c22 UD |
727 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
728 | ||
729 | * io/ftwtest-sh: Add test case for relative path with /. at the end. | |
730 | ||
731 | 2003-01-12 Jim Meyering <jim@meyering.net> | |
732 | ||
733 | * io/ftw.c (ftw_startup): When trying to stat the starting directory, | |
734 | use the basename if we've already chdir'd into its parent directory. | |
735 | ||
a5ce5fcf UD |
736 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> |
737 | ||
738 | * io/ftw.c (process_entry): Use relative path when using chdir() | |
b2608c22 | 739 | to change directory after call to ftw_dir. |
a5ce5fcf UD |
740 | * io/ftwtest-sh: Add test for relative path argument to nftw() |
741 | with FTW_CHDIR option. | |
742 | ||
b398ae3c UD |
743 | 2002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> |
744 | ||
745 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): | |
746 | Define for powerpc. | |
747 | * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment | |
748 | into account. | |
749 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h | |
750 | (INTERNAL_SYSCALL): Make use of ERR parameter. | |
751 | (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, | |
752 | INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. | |
753 | (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. | |
754 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file. | |
755 | ||
756 | 2002-01-09 Richard Henderson <rth@redhat.com> | |
757 | ||
758 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute | |
759 | DTPREL64 and TPREL64 without loadbase applied. | |
760 | ||
761 | 2002-01-09 Richard Henderson <rth@redhat.com> | |
762 | ||
763 | * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno | |
764 | for NOT_IN_libc. | |
765 | ||
766 | * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits... | |
767 | * sysdeps/unix/alpha/sysdep.h: ... here. | |
768 | (PSEUDO_LOADGP): Remove. | |
769 | (PSEUDO_PROLOGUE): Load GP in non-pic case. | |
770 | (SYSCALL_ERROR_LABEL): New. | |
771 | (PSEUDO): Use it in error branch. | |
772 | (PSEUDO_END): Add $syscall_error label. | |
773 | ||
1f8613a6 AJ |
774 | 2003-01-12 Andreas Jaeger <aj@suse.de> |
775 | ||
776 | * math/bits/mathcalls.h: Round is a const function. | |
777 | ||
aff4519d UD |
778 | 2003-01-11 Jim Meyering <jim@meyering.net> |
779 | ||
780 | * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>. | |
781 | [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>. | |
782 | Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC. | |
783 | [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define. | |
784 | [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define. | |
785 | [!_LIBC] (internal_function, dirent64, MAX): Define. | |
786 | (__set_errno): Define if not already defined. | |
787 | (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on | |
788 | the basename, not the entire file name. | |
789 | (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on | |
790 | the basename, not the entire file name. | |
791 | ||
792 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> | |
793 | ||
794 | * string/tester.c (test_strcpy): Disable last added strcpy until | |
795 | it is fixed. | |
796 | ||
797 | 2003-01-11 Philip Blundell <philb@gnu.org> | |
798 | ||
799 | * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support. | |
800 | ||
801 | 2003-01-11 Andreas Schwab <schwab@suse.de> | |
802 | ||
803 | * Makerules: Add vpath for %.dynsym and %.so so that the | |
804 | implicit rule chaining for check-abi works. | |
805 | ||
806 | 2003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp> | |
807 | ||
808 | * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): | |
809 | Add non-PIC case. | |
810 | ||
811 | 2003-01-11 Jakub Jelinek <jakub@redhat.com> | |
812 | ||
813 | * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define. | |
814 | [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if | |
815 | gp is used early. | |
816 | [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS. | |
817 | * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so): | |
818 | Ensure libc.so in DT_NEEDED. | |
819 | * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move | |
820 | CHECK_STATIC_TLS before l_tls_offset use. | |
821 | * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela): | |
822 | Likewise. | |
823 | * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. | |
824 | * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]: | |
825 | Allocate TLS_PRE_TCB_SIZE bytes below result. | |
826 | (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing. | |
827 | * sysdeps/generic/libc-tls.c (__libc_setup_tls): If | |
828 | TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS | |
829 | segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE | |
830 | bytes below result and add tcb_offset to memsz. | |
831 | * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype. | |
832 | * sysdeps/ia64/dl-machine.h: Include tls.h. | |
833 | (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs | |
834 | too. | |
835 | (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too. | |
836 | Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations. | |
837 | * sysdeps/ia64/libc-tls.c: New file. | |
838 | ||
839 | 2003-01-10 Steven Munroe <sjmunroe@us.ibm.com> | |
840 | ||
841 | * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit. | |
842 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX): | |
843 | Fix type. Move definition out of #if. | |
844 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file. | |
845 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file. | |
846 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file. | |
847 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file. | |
848 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file. | |
849 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation | |
850 | support. | |
851 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove | |
852 | ftruncate64, pread64, pwrite64, truncate64 entries. | |
853 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | |
854 | (INLINE_SYSCALL): New version that supports function call like | |
855 | syscalls. Add __builtin_expect. | |
856 | (LOADARGS_n): Add argument size safety checks. | |
857 | (INTERNAL_SYSCALL): New Macro. | |
858 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file. | |
859 | * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid | |
860 | redefinition of elf_fpreg_t and elf_fpregset_t. | |
861 | ||
862 | 2003-01-12 Ulrich Drepper <drepper@redhat.com> | |
863 | ||
864 | * elf/dl-close.c (_dl_close): Add several asserts. Correct and | |
865 | simplify test for unloading. If loader of a DSO is unloaded do not | |
866 | use its scope anymore. Fall back to own scope and adjust opencounts. | |
867 | Fix several comments. | |
868 | * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for | |
869 | the l_searchlist, not only for l_initfini. | |
870 | ||
871 | * elf/dl-lookup.c (add_dependencies): Avoid creating relocation | |
872 | dependencies if objects cannot be removed. Remove object with the | |
873 | definition as not unloadable if necessary. | |
874 | ||
875 | * elf/reldep6.c: Create relocation dependency before closing the first | |
876 | module. | |
877 | ||
878 |