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