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