]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
269e8af7
UD
12003-03-04 Ulrich Drepper <drepper@redhat.com>
2
3 * po/sv.po: Update from translation team.
4
330a187b 52003-03-04 Andreas Jaeger <aj@suse.de>
269e8af7 6 Ulrich Drepper <drepper@redhat.com>
330a187b
AJ
7
8 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments.
9
4f6f0a8f
UD
102003-03-03 Ulrich Drepper <drepper@redhat.com>
11
cc775edf
UD
12 * sysdeps/generic/dl-sysdep.h: Add double include protection.
13
75081542
UD
14 * po/tr.po: Update from translation team.
15
6fffb9a2
UD
16 * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there
17 are holes between the segments. Only call mprotect to set
18 proection to PROT_NONE if there are some.
19
20 * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE.
21 Update comment.
22
4f6f0a8f
UD
23 * include/sched.h (__clone2): Use ... instead of adding all the
24 new parameters.
25
ce78b460
RM
262003-03-03 Roland McGrath <roland@redhat.com>
27
868b9d6a
RM
28 * elf/dl-load.c (struct filebuf): Fix typo in last change.
29
ce78b460
RM
30 * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define
31 PI_STATIC_AND_HIDDEN.
ce78b460 32
625f22fc
UD
332003-03-03 Ian Wienand <ianw@gelato.unsw.edu.au>
34
35 * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone
36 flags.
37 * include/sched.h: Update clone2 prototype.
38
71502ebe
UD
392003-03-03 Andreas Jaeger <aj@suse.de>
40
41 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition.
42 (llrint): Use it to correct return type.
43 (lrint): Likewise.
44 (lround): Likewise.
45 (llround): Likewise.
46
d15a8404
UD
472003-03-03 Ulrich Drepper <drepper@redhat.com>
48
ca97fb53
UD
49 * elf/dl-load.c (struct filebuf): For 64-bit platforms use 640
50 byte filebuf size.
51
1739d268
UD
52 * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor
53 if ccs parameter isn't valid. Reported by Andreas Schwab.
54
552003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
56
57 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support
58 for system call numbers > 255.
59 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL,
60 INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
61 INTERNAL_SYSCALL): Likewise.
62 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
63 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL,
64 INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
65 INTERNAL_SYSCALL): Likewise.
66
672003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
68
69 * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv
70 array if it is the initial dtv.
71
722003-03-03 Ulrich Drepper <drepper@redhat.com>
73
74 * po/es.po: Update from translation team.
75 * po/fr.po: Likewise.
71502ebe 76 * po/gl.po: Likewise.
1739d268
UD
77 * po/sk.po: Likewise.
78 * po/sv.po: Likewise.
79
d15a8404
UD
80 * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry.
81 * misc/sys/mman.h: Add prototype for remap_file_pages.
82 * sysdeps/generic/remap_file_pages.c: New file.
3c531a87 83 * misc/Makefile (routines): Add remap_file_pages.
d15a8404
UD
84
85 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE
86 and MAP_NONBLOCK.
87 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise
89 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
90 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
91 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
92 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
93 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
94 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
95
ea6a015b
RM
962003-03-03 Roland McGrath <roland@redhat.com>
97
a49f5762
RM
98 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
99 * sysdeps/ia64/dl-machine.h: Likewise.
100 * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
101 argument type.
102 * sysdeps/ia64/dl-lookupcfg.h: Update decl.
103
104 * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias.
105 * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias.
106 * locale/Versions (libc: GLIBC_2.3): Move those to ...
107 * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file.
108 * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise.
109 * Versions.def (libc): Add GLIBC_2.3.3 set.
110
ea6a015b
RM
111 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
112 * sysdeps/ia64/dl-machine.h: Update decl.
113
62584540
AJ
1142003-03-03 Andreas Jaeger <aj@suse.de>
115
d15a8404 116 * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
62584540 117
78c3fb45
RM
1182003-03-02 Roland McGrath <roland@redhat.com>
119
120 * scripts/abilist.awk: Reject data items with apparent 0 size.
121
122 * scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar
123 after foo.* as if it were a duplicate.
124
125 * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.
126
885bafa1
UD
1272003-03-02 Ulrich Drepper <drepper@redhat.com>
128
1be3d664
UD
129 * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
130
885bafa1
UD
131 * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC.
132 * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only
133 if not already defined. Use SYSDEP_GETRES to allow other files to
134 provide alternative implementations.
135 * sysdeps/unix/sysv/linux/clock_getres.c: New file
136 * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only
137 if not already defined. Use SYSDEP_GETTIME to allow other files to
138 provide alternative implementations.
139 * sysdeps/unix/sysv/linux/clock_gettime.c: New file.
140 * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only
141 if not already defined. Use SYSDEP_GETTIME to allow other files to
142 provide alternative implementations.
143 * sysdeps/unix/sysv/linux/clock_settime.c: New file.
144 * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow
145 other files to provide alternative implementations. Rearrange
146 tests for invalid parameters.
147 * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file.
148 * sysdeps/unix/sysv/linux/sysconf.c: New file.
149 * sysdeps/unix/sysv/linux/kernel-features.h: Define
78c3fb45 150 __ASSUME_POSIX_TIMERS for Linux 2.5.63 and up.
885bafa1
UD
151 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
152 _POSIX_MONOTONIC_CLOCK.
153
bb0ddc2f
RM
1542003-03-02 Roland McGrath <roland@redhat.com>
155
8f3846a9
RM
156 * scripts/merge-abilist.awk: More checks for bogus input.
157 Uniquify duplicate config names.
158
159 * scripts/abilist.awk: Don't distinguish weak symbols in normal output.
160
7551556f
RM
161 * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed
162 from dl_reloc_overflow, make global.
163 (__process_machine_rela): Update callers.
164 * sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow.
165 Add attribute_hidden to __process_machine_rela decl.
166 (elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs.
167
3a601d31
RM
168 * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const
169 variable.
170
bb0ddc2f
RM
171 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
172 Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED].
173 (elf_machine_rela): Clean up.
174
175 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up.
176
177 PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>.
178 * sysdeps/powerpc/powerpc32/elf/configure.in: New file.
179 * sysdeps/powerpc/powerpc32/elf/configure: New generated file.
180 * elf/tls-macros.h [__powerpc__ && !__powerpc64__]
181 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them.
182 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support
183 new relocs for TLS.
184
185 * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
186 macros out of [SHARED].
187 (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.
188
189 * elf/elf.h: Define R_PPC_* relocs for TLS support.
190 Clean up R_PPC64_* macro definition comments.
7ed33cba 191
d1149385
RM
192 * configure.in: In "running configure fragment for" message,
193 omit $srcdir from the name if we prepended it.
194 * configure: Regenerated.
195
7ed33cba
RM
196 * elf/dl-reloc.c (allocate_static_tls): Fix calculations.
197 From Jakub Jelinek <jakub@redhat.com>.
198
199 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change,
200 which duplicated the O_DIRECT defn.
201
2022003-03-01 GOTO Masanori <gotom@debian.or.jp>
203
204 * stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived
205 random functions.
206
4191f43d
AS
2072003-03-01 Andreas Schwab <schwab@suse.de>
208
7ed33cba
RM
209 * resolv/Makefile (tests): Don't depend on
210 $(objpfx)mtrace-tst-leaks when cross compiling.
211
4191f43d
AS
212 * sysdeps/m68k/dl-machine.h (_dl_start_user): Access
213 __libc_stack_end through GOT since it is a global symbol.
214
85c54a32
UD
2152003-03-01 GOTO Masanori <gotom@debian.or.jp>
216
217 * argp/argp.h: Fix a typo.
218 Reported by H.S.Teoh <hsteoh@quickfur.ath.cx>.
219
220 * manual/terminal.texi: Fix cfmakeraw() definition from int to void.
221
2222003-02-27 Pat Rankin <rankin@pactechdata.com>
223
224 * posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to
225 char *.
226 (get_subexp): Likewise.
227
a6861e64
UD
2282003-03-01 GOTO Masanori <gotom@debian.or.jp>
229
230 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define.
231
2322003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
233
234 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define.
235
a6963e69
RM
2362003-02-27 Roland McGrath <roland@redhat.com>
237
238 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove
239 special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to
240 repeat it and avoids the test for the common case.
241 Clean up and fix calculations for TLS relocs.
242
243 * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ...
244 * sysdeps/powerpc/dl-tls.h: ... here.
245 (TLS_TP_OFFSET): New macro.
246
247 * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.
248
427f5fa1
UD
2492003-02-27 Ulrich Drepper <drepper@redhat.com>
250
251 * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to
252 code generation changes in recent gcc.
253
73a061bb
RM
2542003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
255
256 * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):
257 Rename argument to avoid symbol conflict.
258
259 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
260 [__USE_GNU] (O_DIRECT): New macro.
261
d2637c70
UD
2622003-02-24 David Mosberger <davidm@hpl.hp.com>
263
264 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
265 unwind info.
266
d148ed25
UD
2672003-02-27 Ulrich Drepper <drepper@redhat.com>
268
e361e438
UD
269 * resolv/res_libc.c [USE___THREAD] (_res): Don't need the
270 initializer anymore now that res_thread_freeres is more careful.
271
d148ed25
UD
272 * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages
273 except the PKTINFO. Reset interface in PKTINFO.
dbf6131c 274 Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].
d148ed25 275
fec41719
RM
2762003-02-25 Steven Munroe <sjmunroe@us.ibm.com>
277
d148ed25
UD
278 * elf/elf.h: Add new R_PPC64_* relocs for TLS.
279 * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
280 Define.
fec41719
RM
281 * sysdeps/powerpc/powerpc64/elf/configure.in: New file.
282 * sysdeps/powerpc/powerpc64/elf/configure: New file (generated).
afafddab
RM
283 * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.
284 * sysdeps/powerpc/powerpc64/dl-tls.h: New file.
fec41719 285
d148ed25 286 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
fec41719
RM
287 Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
288
56ce76ea
AJ
2892003-02-25 Andreas Jaeger <aj@suse.de>
290
291 * manual/memory.texi (Malloc Tunable Parameters): Clarify
292 behaviour of M_MMAP_THRESHOLD.
293
724fad20
RM
2942003-02-25 Roland McGrath <roland@redhat.com>
295
296 * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is
297 zero, inidicating _res was not initialized yet.
298
80d80779
UD
2992003-02-24 Ulrich Drepper <drepper@redhat.com>
300
301 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES
302 test.
303
81b47a8b
RM
3042003-02-24 Roland McGrath <roland@redhat.com>
305
306 * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.
307
de217051
RM
3082003-02-23 Roland McGrath <roland@redhat.com>
309
310 * sysdeps/posix/pause.c: New file.
311 * sysdeps/unix/common/pause.c: File removed.
312
fd1a0d0c
UD
3132003-02-23 Ulrich Drepper <drepper@redhat.com>
314
cdd8e46f
UD
315 * sysdeps/generic/bits/confname.h: Remove #ifs.
316
5a6bbb41
UD
317 * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition.
318 * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.
319
fd1a0d0c
UD
320 * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock
321 element to -1.
322
249062b0
UD
3232003-02-22 Ulrich Drepper <drepper@redhat.com>
324
325 * sysdeps/generic/dl-sysdep.c: Avoid warning.
326
92cc462c
RM
3272003-02-22 Roland McGrath <roland@redhat.com>
328
ce84ab61
RM
329 * resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.
330 * resolv/Makefile (tests): Add tst-leaks.
331 ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so.
332 (tst-leaks-ENV): New variable.
333 ($(objpfx)mtrace-tst-leaks): New target.
334 (tests): Depend on it.
335
d2d442a5
RM
336 * include/libc-internal.h: Declare __libc_thread_freeres.
337
7a0c303e
RM
338 * Makerules: Fix last change to use $($(subdir)-version) when set.
339
cc8bfce9
RM
340 * Makerules (install-lib-nosubdir): Depend on installed
341 libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed
342 regardless of the libfoo.so target's dependencies.
343
92cc462c
RM
344 * MakeTAGS (sub-make-vars): New variable, includes generating=t.
345 Use that in $(MAKE) calls.
346
e57f9f75
UD
3472003-02-22 Ulrich Drepper <drepper@redhat.com>
348
819c56e7
UD
349 * catgets/gencat.c (read_input_file): Collision between
350 auto-assigned numbers and user-defined nubmers is not fatal.
351 Handle it.
352 Patch by Michael M. Lampkin <michael.lampkin@ieee.org>.
c780aa21
UD
353 * catgets/Makefile: Add rules to run test2.msg test.
354 * catgets/test2.msg: New file.
819c56e7
UD
355
356 * catgets/gencat.c (main): Return 1 if messages have been printed.
357
757f9fcb
UD
358 * iconv/iconv_prog.c (main): Unify messages.
359
e57f9f75
UD
360 * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word
361 when shifting retval.
362 * stdlib/tst-strtod.c (main): Add strtold test case.
363 Reported by Fred J. Tydeman <tydeman@tybor.com>.
364
e8783fd5
RM
3652003-02-21 Roland McGrath <roland@redhat.com>
366
2a3d906e
RM
367 * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT.
368 * sunrpc/rpc_thread.c: Likewise for text_set_element use.
369 (__rpc_thread_destroy): Add it to __libc_subfreeres too.
370
371 * include/resolv.h: Add libc_hidden_proto for __res_nclose.
372 * resolv/res_init.c (__res_nclose): Add libc_hidden_def.
373 (res_thread_freeres): New function, on __libc_thread_subfreeres and
374 __libc_subfreeres.
375
376 * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres.
e8783fd5
RM
377 * malloc/thread-freeres.c: New file.
378 * malloc/Makefile (aux): Add it.
2a3d906e 379 * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed.
e8783fd5
RM
380 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section
381 "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set.
382
383 * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
384 * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.
385
3862003-02-21 Roland McGrath <roland@frob.com>
387
388 * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open.
389
390 * iconvdata/Makefile (tests): Add bug-iconv3 only if
391 [$(have-thread-library) = yes].
392
1c848253
UD
3932003-02-21 Ulrich Drepper <drepper@redhat.com>
394
9c03686d
UD
395 * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.
396
1c848253
UD
397 * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do
398 not chechk for errors (unless testing for 32bit variant).
399 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
400 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
401 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
402
6f50cb00
UD
4032003-02-21 Jakub Jelinek <jakub@redhat.com>
404
405 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>:
406 Check for signed overflow, not unsigned.
407
cef0a48d
UD
408 * sysdeps/sparc/sparc64/elf/configure.in: New file.
409 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS):
410 Use -fcall-used-g6, not -fcall-used-g7.
411
dd3608b9
AJ
4122003-02-21 Andreas Jaeger <aj@suse.de>
413
414 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
415 mode.
416
417 * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
418 clear whole mxcsr but only exceptions.
419
59fed0e2
RM
4202003-02-21 Roland McGrath <roland@redhat.com>
421
422 * Makerules: Filter $(install-lib-ldscripts) out of list of targets
423 for libfoo.so that need $(make-link) rules.
424
36f0ccda
RM
4252003-02-21 Roland McGrath <roland@frob.com>
426
427 * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
428 to match existing struct stat layout in mig protocols.
429
ec503662
UD
4302003-02-20 Ulrich Drepper <drepper@redhat.com>
431
432 * version.h (VERSION): Bump to 2.3.2.
433
434 * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp,
435 tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c,
436 and dl-sysdep.h.
437 * sysdeps/generic/Dist: Add sysdep-cancel.h.
438 * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h.
439 * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S.
440 * sysdeps/unix/sysv/linux/Dist: Add pathconf.h.
441 * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h.
442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and
443 ucontext_i.h.
444 * Makefile (distribute): Add include/stubs-prologue.h,
445 include/gnu/stubs.h, scripts/merge-abilist.awk, and
446 scripts/extract-abilist.awk.
447
af57745c
RM
4482003-02-20 Roland McGrath <roland@redhat.com>
449
450 * math/Makefile (distribute): Don't add generated files.
451
6314208a
UD
4522003-02-20 Ulrich Drepper <drepper@redhat.com>
453
6314208a
UD
454 * math/Makefile: Rearrange variable definitions slightly to get
455 definition in the right order.
456
ab10a294
RM
4572003-02-20 Roland McGrath <roland@redhat.com>
458
459 * Makerules: Clean up conditional around include of tls.make.
460 * Make-dist: Export generating=t to prevent using that.
461 (+distinfo): Likewise for $(shell $(MAKE) ...) runs.
462
54e1cabc
UD
4632003-02-20 Ulrich Drepper <drepper@redhat.com>
464
465 * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap
466 around in search if port IPPORT_RESERVED/2 has been test.
467
ec503662 4682002-02-20 Paolo Bonzini <bonzini@gnu.org>
54e1cabc
UD
469
470 * posix/regcomp.c: Remove inclusions.
471 * posix/regexec.c: Likewise.
472 * posix/regex_internal.c: Likewise.
473 * posix/regex_internal.h: Add inclusions here.
474 * posix/regex.c: Only include sys/types.h before regex.h. Include
475 regex_internal.h here. Include regex_internal.c before regcomp.c
476 and regexec.c (might expose more opportunities to the C compiler).
477
478 * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC.
479
480 * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo.
481 [!_LIBC] (__wcrtomb): New definition.
482 [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and
483 HAVE_LOCALE_H as well.
484
6eb74f33
UD
4852003-02-20 Ulrich Drepper <drepper@redhat.com>
486
487 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete
488 patch to check for system call errors.
489
05856976
UD
4902002-07-24 Philip Blundell <philb@gnu.org>
491
492 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
493 on unknown systems.
494
4952003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
496
497 * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround.
498 * sysdeps/unix/sysv/linux/kernel-features.h
499 (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too.
500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl
501 if possible.
502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short
503 interprocedure branches.
504 * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to...
505 * sysdeps/powerpc/nofpu/Dist: ...here.
506 * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to...
507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
508 * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete.
509 * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete.
510 * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
511
a592f998
UD
5122003-02-18 Alan Modra <amodra@bigpond.net.au>
513
514 * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine.
515
44ed664b
UD
5162003-02-20 Philip Blundell <philb@gnu.org>
517
518 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
519 missing arguments to INTERNAL_SYSCALL_ERROR_P and
520 INTERNAL_SYSCALL_ERRNO.
521
ffdcfcb0
UD
5222003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
523
524 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
525 for __ASSUME_32BITUIDS.
526
4b2ed419
AS
5272003-02-20 Andreas Schwab <schwab@suse.de>
528
529 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and
530 POSIX_MADV_* constants.
531
01b28852
UD
5322003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
533
534 * sysdeps/unix/sysv/linux/sh/pread.c: New file.
535 * sysdeps/unix/sysv/linux/sh/pread64.c: New file.
536 * sysdeps/unix/sysv/linux/sh/pwrite.c: New file.
537 * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file.
538
a70e514b
UD
5392003-02-19 Jiro Sekiba <jir@yamato.ibm.com>
540
541 * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate.
542
ade67411
RM
5432003-02-16 Roland McGrath <roland@redhat.com>
544
545 * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.
546
1c524710
UD
5472003-02-19 Ulrich Drepper <drepper@redhat.com>
548
01b28852 549 * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off
1c524710 550 decimal input digits.
b5f7b119 551 * stdlib/tst-strtod.c (main): Add test for strtof bug.
1c524710 552
2f7dc594
UD
5532003-02-18 Ulrich Drepper <drepper@redhat.com>
554
555 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
556 invalid file descriptors and missing access permissions.
557
46d7e2ba
UD
5582003-02-17 Ulrich Drepper <drepper@redhat.com>
559
8bd3f184 560 * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has
2cfe49db
UD
561 been found.
562
46d7e2ba
UD
563 * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
564 TTY_NAME_MAX and not the _POSIX_* minimal value macros.
565 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
566 and LOGIN_NAME_MAX.
567
b2740a3b
UD
5682003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
569 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
570
571 * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP.
572 * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling.
573 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
574 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
575 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
576
81b50572
UD
5772003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
578
579 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
580 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
581 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
582 * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
583 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
584 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.
585
586 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
588 * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
590
591 * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
592 * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
593 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
594 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
595
fdcd8f9c
UD
5962003-02-14 Thorsten Kukuk <kukuk@suse.de>
597
598 * nss/getent.c (print_hosts): Print all IP addresses of one host.
599
7125d3cf
RM
6002003-02-15 Roland McGrath <roland@frob.com>
601
8321ef15
RM
602 * sysdeps/mach/hurd/tls.h: New file.
603 * sysdeps/mach/hurd/i386/tls.h: New file.
604
b0104b6f
RM
605 * mach/errsystems.awk: Include <errno.h> in generated output.
606
7125d3cf
RM
607 * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
608 use target mach-before-compile instead of generated.
609 (mach-before-compile): New target.
610 * Makerules: Disable use of tls.make if $(generating) is set.
611 * mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
612 * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
613 mach-shortcuts.h so mach/ generation happens before hurd/.
614
47202270
UD
6152003-02-14 Ulrich Drepper <drepper@redhat.com>
616
a439bb2f
UD
617 * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa
618 of demorm correctly if low word is zero.
619 Reported by Fred J. Tydeman <tydeman@tybor.com>.
757de559
UD
620 * math/libm-test.inc (nextafter_test): New test, but disabled due
621 to gcc bug.
a439bb2f 622
47202270
UD
623 * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread
624 counter and only call __exit_thread if this is not the last thread.
625
dac0f772
UD
6262003-02-13 Jakub Jelinek <jakub@redhat.com>
627
628 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of
629 subtracting map->l_tls_offset.
630
7437cbd1
UD
6312003-02-12 Ulrich Drepper <drepper@redhat.com>
632
2067577c
UD
633 * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and
634 _CS_GNU_LIBPTHREAD_VERSION.
635 * posix/conststr.c: Handle these new values.
636 * posix/getconf.c: Likewise.
637
7437cbd1
UD
638 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix
639 masking of version index.
640 Patch by Lance Larsh <Lance.Larsh@oracle.com>.
641
969c9da7
UD
6422003-02-11 Ulrich Drepper <drepper@redhat.com>
643
644 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment
645 correctly. Reported by Thorsten Kukuk.
646
e5ffa64a
UD
6472003-02-10 Ulrich Drepper <drepper@redhat.com>
648
649 * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and
650 _BSD_SOURCE to compiler.
651 * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings.
652 Patches by Alan Modra.
653
34c86f42
UD
6542003-02-08 Ulrich Drepper <drepper@redhat.com>
655
656 * io/ftwtest.c: Get current working directory before and after the
657 nftw call and make sure they match.
658
6592003-02-08 Jim Meyering <jim@meyering.net>
660
2067577c 661 * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
34c86f42
UD
662 the current directory, not just when DIR contains a slash.
663 Reported by Manoj Srivastava.
664
ae9ecd08
UD
6652003-02-07 Jim Meyering <jim@meyering.net>
666
667 * io/ftw.c: Add autoconf-recommended block of alloca-related code.
668 Include autoconf-recommended block of dirent/NAMELEN-related
669 definitions and includes. Use NAMELEN throughout, rather than
670 _D_EXACT_NAMLEN.
671 [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN.
672 [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd.
673 (stpcpy): Declare, if necessary.
674 (mempcpy): Define, if necessary.
675 [!_LIBC] (__stpcpy, __mempcpy): Define.
676 [!_LIBC] (LXSTAT, XSTAT): Define.
677 (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.
678 (find_object): Don't use c99-style struct initializer.
679 Tweak wording in a couple comments.
680
2a051a7d
UD
6812003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
682
683 * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list
684 for SH.
685 * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD
686 after the trapa instruction.
687 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional
688 parameters.
689 * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file.
690 (NEED_SYSCALL_INST_PAD): Define.
691 * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to
692 avoid to use definition for the kernel.
693 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
694 Save and restore the frame pointer.
695 (SYSCALL_INST_PAD): Define.
696 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
697 (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD
698 after trapa instruction.
699 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
700 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
701
1f503475
UD
7022003-02-07 Jakub Jelinek <jakub@redhat.com>
703
704 * resolv/res_libc.c (_res): Ensure _res is not common symbol,
705 so that it can have aliases.
706 * inet/herrno.c (h_errno): Put it into .bss not .data section.
707
eecc378c
UD
7082003-02-07 Ulrich Drepper <drepper@redhat.com>
709
710 * elf/dl-runtime.c (fixup): Correct typo in version index computation.
711 (profile_fixup): Likewise.
1f503475 712 Patch by Lance Larsh <Lance.Larsh@oracle.com>.
eecc378c 713
ce96c93d
UD
7142002-11-24 Robert Love <rml@tech9.net>
715
716 * posix/sched.h: Second parameter of sched_setaffinity and
717 sched_getaffinity is `unsigned int', not `unsigned long'.
718 * sysdeps/generic/sched_setaffinity.c: Likewise.
719 * sysdeps/generic/sched_getaffinity.c: Likewise.
720
e0f86659
UD
7212003-02-05 Ulrich Drepper <drepper@redhat.com>
722
432cf458 723 * debug/catchsegv.sh: Fix typo in error messsage.
ce96c93d 724 Reported by John Levon <levon@movementarian.org>.
432cf458 725
5cd09cd6
UD
726 * sysdeps/unix/sysv/linux/posix_fadvise.c: New file.
727 * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall.
728 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
729 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
731 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
732 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
733
e0f86659
UD
734 * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked.
735 Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>.
736
5049f197
UD
7372003-02-05 Jim Meyering <jim@meyering.net>
738
739 Fix a heap-corrupting bug.
740 * io/ftw.c: Include <limits.h>.
741 (PATH_MAX) [!defined PATH_MAX]: Define to 1024.
742 (process_entry): Allocate enough space to hold the resulting
743 file name. Don't presume that 2*dirbufsize is enough.
744 (ftw_startup): Always use PATH_MAX to compute buffer size, now that
745 it is guaranteed to be defined.
746
6f1cff95
UD
7472003-02-04 Ulrich Drepper <drepper@redhat.com>
748
749 * iconvdata/Makefile: Add rules to build and run bug-iconv3.
750 * iconvdata/bug-iconv3.c: New file.
751
b33b0d0d
UD
7522003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
753
754 * sysdeps/unix/sysv/linux/s390/system.c: New file.
755
6900ded2
UD
7562003-02-03 Jakub Jelinek <jakub@redhat.com>
757
758 * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New
759 check.
760 * config.h.in (BROKEN_SPARC_WDISP22): Add.
761
663684b2
UD
7622003-02-03 Ulrich Drepper <drepper@redhat.com>
763
764 * sysdeps/i386/i686/memmove.S: New file.
765
3e4fc359
UD
7662003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
767
768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c:
769 Include kernel-features.h
770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
774
75dec09e
UD
7752003-02-02 Jakub Jelinek <jakub@redhat.com>
776
777 * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers.
778
78e88510
UD
7792003-01-25 Jim Meyering <jim@meyering.net>
780
781 * io/ftw.c (object_compare): Compare inode numbers before device
782 numbers, since the former are much more likely to differ.
783
38e68573
UD
7842003-02-01 Ulrich Drepper <drepper@redhat.com>
785
786 * time/tzfile.c (__tzfile_compute): Change return value type to
787 void. Adjust return statements.
788 * include/time.h (__tzfile_compute): Adjust prototype.
789
7902003-02-01 Jim Meyering <jim@meyering.net>
791
792 * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute
793 always returns 1.
794
7952003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
796
797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
798 [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS.
799
8002003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
801
802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
803 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub.
804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
805 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
807 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
809 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
810
8112003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
812
813 * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel
814 back to 2.4.19 for powerpc64.
815 * sysdeps/unix/sysv/linux/kernel-features.h
816 (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64.
817 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64.
818
8192003-02-01 Ulrich Drepper <drepper@redhat.com>
820
821 * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for
822 platforms with strange alignment requirements on wchar_t.
823
b67fcc1e
UD
8242003-01-31 Andreas Schwab <schwab@suse.de>
825
826 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_*
827 aliases, already added by make-syscalls.sh.
828 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
829 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
830 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
831 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
832 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
833 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
834 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
835 * sysdeps/unix/inet/syscalls.list: Likewise.
836 * sysdeps/unix/syscalls.list: Likewise.
837
fb784fd5
AS
8382003-01-31 Andreas Schwab <schwab@suse.de>
839
840 * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed
841 any more.
842
c4c1336c
UD
8432003-01-30 Jakub Jelinek <jakub@redhat.com>
844
845 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg,
846 not l to load tls from stack.
847
d6f5e721
RM
8482003-01-30 Roland McGrath <roland@redhat.com>
849
850 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for
851 null argument before all else.
852 Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.
853
7ba7c829
UD
8542003-01-30 Jakub Jelinek <jakub@redhat.com>
855
856 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel):
857 Move to RESOLVE protected part of the header.
858 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel):
859 Likewise.
860
8612003-01-30 Ulrich Drepper <drepper@redhat.com>
862
863 * stdio-common/Makefile (tests): Add bug15.
864 (bug15-ENV): Define.
865 * stdio-common/bug15.c: New file.
866
886d5973
UD
8672002-10-07 Wolfram Gloger <wg@malloc.de>
868
869 * malloc/malloc.c (sYSMALLOc): Only check for breakage due
870 to foreign sbrk()'s if arena is contiguous. Bug report from
871 Bruno Haible <bruno@clisp.org>.
872
8732003-01-30 Jakub Jelinek <jakub@redhat.com>
874
875 * sysdeps/s390/libc-tls.c: Include stdlib.h.
876
8772003-01-30 Jakub Jelinek <jakub@redhat.com>
878
879 * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of
880 ps.__count.
881
8822003-01-30 Ulrich Drepper <drepper@redhat.com>
883
884 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and
885 restoring of %r6.
886 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use
887 64-bit load.
888 Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
889
8902003-01-30 Jakub Jelinek <jakub@redhat.com>
891
892 * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error...
893 (allocate_static_tls): ...here. Add __attribute_noinline__.
894 Don't return on failure.
895 (_dl_reloc_bad_type): Add __attribute_noinline__.
896 * elf/do-rel.h (elf_dynamic_do_rel): Add
897 __attribute__((always_inline)).
898 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
899 elf_machine_rel_relative, elf_machine_rela_relative,
900 elf_machine_lazy_rel): Add prototypes with
901 __attribute__((always_inline)).
902
9032003-01-29 David Mosberger <davidm@hpl.hp.com>
904
905 * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.
906
871afd6b
RM
9072003-01-29 Roland McGrath <roland@redhat.com>
908
909 * configure.in: Barf if configured in $srcdir.
871afd6b 910
1e49399d
UD
9112003-01-28 Steven Munroe <sjmunroe@us.ibm.com>
912
913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
1e2f8718 914 (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL.
1e49399d 915
db34912e
UD
9162003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
917
918 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional
919 clone parameters to match the order used on ia32.
920 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
921
e6ebd2e4
UD
9222003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
923
924 * elf/elf.h: Add new s390 relocs.
925 * elf/tls-macros.h: Add s390 versions.
926 * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset.
927 * sysdeps/s390/dl-tls.h: New file.
928 * sysdeps/s390/libc-tls.c: New file.
929 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS
930 relocs for class PLT.
931 (elf_machine_rela): Handle TLS relocs.
932 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
933 * sysdeps/s390/s390-32/elf/configure.in: Add TLS check.
934 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
935 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for
936 CLONE_CHILD_*TID flags.
937 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
938 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32
939 bit offset.
940 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
941 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
942 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
943 Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant.
944 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
945 Likewise.
946 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
947 (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER.
948 (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
949 variants.
950 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h:
951 (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use
952 direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT.
953 (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
954 variants.
955
772e3426
UD
9562003-01-28 Ulrich Drepper <drepper@redhat.com>
957
958 * sysdeps/unix/common/pause.c (do_pause): New function. Split
959 from __libc_pause. Implement using sigsuspend.
960 (__libc_pause): Call do_pause to do the real work.
961
962 * sysdeps/posix/sigpause.c (do_sigpause): Check range of
963 sig_or_mask parameter is is_sig != 0.
964
0566b130
UD
9652003-01-21 Philip Blundell <philb@gnu.org>
966
967 * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
968
a15698cb
UD
9692003-01-27 Steven Munroe <sjmunroe@us.ibm.com>
970
971 * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check.
972
b7e033f7
UD
9732003-01-27 Ulrich Drepper <drepper@redhat.com>
974
e6fb8846
UD
975 * stdio-common/bug14.c: Use official name for the locale.
976
1fc46908
UD
977 * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start
978 instead of __libc_cleanup_region_start and _IO_cleanup_region_end
979 instead of __libc_cleanup_region_end.
980
981 * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1
982 as first parameter to __libc_cleanup_region_start.
983
68ff8426
UD
984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
985 (__fe_nomask_env): Use __prctl not prctl.
986 * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for
987 prctl syscall.
988
809cd222
UD
989 * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message.
990
991 * elf/dl-open.c (_dl_tls_static_size): Bump to 2048.
992
b7e033f7
UD
993 * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic
994 wrap-around in test.
995
62f29da7
UD
9962003-01-26 Andreas Schwab <schwab@suse.de>
997
998 * sysdeps/wordsize-32/divdi3.c: Export the functions only as
999 compatibility symbols. Remove INTDEF for __divdi3.
1000 * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal.
1001 * sysdeps/powerpc/powerpc32/divdi3.c: Remove.
1002 * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't
1003 define.
1004 * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c.
1005
10062003-01-24 Jakub Jelinek <jakub@redhat.com>
1007
1008 * elf/tls-macros.h: Add SPARC 32-bit definitions.
1009 * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check.
1010 * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards
1011 for the first half of the header. Include tls.h.
1012 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS
1013 relocs too.
1014 (elf_machine_rela): Handle TLS relocs.
1015 * sysdeps/sparc/dl-tls.h: New file.
1016
1017 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation
1018 support.
1019
1020 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7.
1021 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1022 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1023 * sysdeps/sparc/sparc32/strcat.S: Likewise.
1024 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1025 * sysdeps/sparc/sparc32/strcmp.S: Likewise.
1026 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1027 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1028 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1029 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1030 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
1031 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1032 * sysdeps/sparc/sparc64/strcat.S: Likewise.
1033 * sysdeps/sparc/sparc64/strchr.S: Likewise.
1034 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
1035 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
1036 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1037 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1040
10412003-01-24 Andreas Schwab <schwab@suse.de>
1042
1043 * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY
1044 elements, and process them backwards.
1045 * elf/Makefile ($(objpfx)tst-array4): New target.
1046 ($(objpfx)tst-array4.out): Likewise.
1047 (tests) [$(have-initfini-array) = yes]: Add tst-array4.
1048 * elf/tst-array4.c: New file.
1049 * elf/tst-array4.exp: Likewise.
1050
10512003-01-24 Steven Munroe <sjmunroe@us.ibm.com>
1052
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file.
1054
10552003-01-27 Guido Guenther <agx@sigxcpu.org>
1056
1057 * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define.
1058 * sysdeps/unix/sysv/linux/mips/pread.c: Add support for
1059 cancellation handling and handle both __NR_pread64 and __NR_pread.
1060 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1061 * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for
1062 cancellation handling and handle both __NR_pwrite64 and __NR_pwrite.
1063 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1064 * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT
1065 case, use register names consistently.
1066
10672003-01-27 Wolfram Gloger <wg@malloc.de>
1068
1069 * malloc/hooks.c (mem2chunk_check): Check alignment of mem
1070 pointer, not of the computed chunk. Bug report from Carlos
1071 O'Donell <carlos@baldric.uwo.ca>.
1072
251c0f71
AS
10732003-01-25 Andreas Schwab <schwab@suse.de>
1074
1075 * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative
1076 addressing to save GOT entries.
1077
86dfa4eb
RM
10782003-01-21 Jakub Jelinek <jakub@redhat.com>
1079
1080 * sysdeps/unix/alpha/sysdep.h (inline_syscall0,
1081 inline_syscall1, inline_syscall2, inline_syscall3,
1082 inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
1083 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
1084 __attribute__((unused)) to ChEcK.
1085
d5b6c817
UD
10862003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1087
1088 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL):
1089 Fix inline assembler constraints.
1090 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL):
1091 Likewise.
1092
1093 * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of
1094 -fPIC.
1095
83c9a671
RM
10962003-01-20 Segher Boessenkool <segher@koffie.nl>
1097
1098 * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really
1099 compute the cosine, not the sine, even if x > 0.8.
1100
b677d674
UD
11012003-01-19 Ulrich Drepper <drepper@redhat.com>
1102
1103 * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of
1104 _nss_nis_setspent. Work around the different prototypes.
1105 * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use
1106 internal_nis_endrpcent.
1107 (internal_nis_endrpcent): Change return type to void. Change callers.
1108 * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of
1109 _nss_nis_setpwent. Work around the different prototypes.
1110 * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body
1111 of the function to...
1112 (internal_nis_endprotoent): ... here. New function.
1113 (internal_nis_setprotoent): Use internal_nis_endprotoent.
1114 * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of
1115 _nss_nis_setnetent. Work around the different prototypes.
1116 * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body
1117 of the function to...
1118 (internal_nis_endnetgrent): ... here. New function.
1119 (_nss_nis_setnetgrent): Use internal_nis_endnetgrent.
1120
978bd143
UD
11212003-01-19 Jim Meyering <jim@meyering.net>
1122
1123 * time/strftime.c: (widen): Merge nearly-identical definitions.
1124 (nl_get_alt_digit) [! defined my_strftime]: Define.
1125 (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of
1126 _nl_get_alt_digit and _nl_get_walt_digit.
1127
b1a173f7
UD
11282003-01-19 Ulrich Drepper <drepper@redhat.com>
1129
1130 * time/strftime.c (my_strftime): Handle very large width
1131 specifications for numeric values correctly. Improve checks for
1132 overflow.
1133 * time/Makefile (tests): Add tst-strftime.
1134 * time/tst-strftime.c: New file.
1135
039c1b75
UD
11362003-01-18 Ulrich Drepper <drepper@redhat.com>
1137
6675b191
UD
1138 * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of
1139 _nss_nis_sethostent. Work around the different prototypes.
1140 * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of
1141 _nss_nis_setgrent. Work around the different prototypes.
1142 * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New
1143 function. Split out from _nss_nis_endetherent.
1144 (internal_nis_setetherent): Use internal_nis_endetherent instead of
1145 duplicating the code.
1146 * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias
1147 of _nss_nis_setaliasent.
1148 * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse
1149 internal_nis_endservent code, don't duplicate it.
1150
039c1b75
UD
1151 * inet/rexec.c (rexec_af): Protect socket operations with
1152 TEMP_FAILURE_RETRY. Use writev instead of multiple write.
1153 * inet/rcmd.c (rcmd_af): Likewise.
1154
62431425
RM
11552003-01-17 Roland McGrath <roland@redhat.com>
1156
d32e4346
RM
1157 * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]:
1158 Add test of value 0.80190127184058835.
1159
62431425
RM
1160 * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn.
1161
0f0b7994
UD
11622003-01-17 Richard Henderson <rth@redhat.com>
1163
1164 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS
1165 relocs for class PLT.
1166 * sysdeps/alpha/libc-tls.c: New file.
1167 * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New.
1168 (LOADGP) [!PIC]: Rewrite to preserve caller's gp.
1169
11702003-01-17 Jakub Jelinek <jakub@redhat.com>
1171
1172 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use
1173 __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock
1174 on _dl_static_lock.
1175
1d4ff70e
AJ
11762003-01-17 Andreas Jaeger <aj@suse.de>
1177
1178 * stdio-common/bug14.c: Include stdlib.h for exit prototype.
1179
609b4783
UD
11802003-01-16 Steven Munroe <sjmunroe@us.ibm.com>
1181
1182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file.
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file.
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file.
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file.
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file.
1187 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
1188 * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64
1189 is 2.4.21.
1190
11912003-01-16 Ulrich Drepper <drepper@redhat.com>
1192
1193 * sysdeps/generic/glob.c (glob): Assume sysconf() always returns
1194 values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed
1195 buffers.
1196
1197 * sysdeps/generic/sysconf.c: Unconditionally implement
1198 _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX.
1199 * sysdeps/posix/sysconf.c: Likewise.
1200
7b7b9e70
UD
12012003-01-16 Jakub Jelinek <jakub@redhat.com>
1202
1203 * posix/regcomp.c (parse_bracket_exp): If build_charclass fails,
1204 set *err to the returned error, not to REG_ESPACE unconditionally.
1205 (build_word_op): Likewise.
1206 * posix/Makefile (tests): Add bug-regex16.
1207 * posix/bug-regex16.c: New test.
1208
850dcfca
UD
12092003-01-16 Jakub Jelinek <jakub@redhat.com>
1210
1211 * elf/dl-load.c (_dl_map_object_from_fd): Use
1212 GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has
1213 been already initialized.
1214
a1f8ec97
UD
12152003-01-15 Dmitry V. Levin <ldv@altlinux.org>
1216
1217 * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment.
1218
f811dbdc
UD
12192003-01-16 Jakub Jelinek <jakub@redhat.com>
1220
1221 * posix/regcomp.c (re_compile_internal): If clearing buffer, clear
1222 allocated too. Reported by Al Viro <aviro@redhat.com>.
1223
4dd98447
RM
12242003-01-16 Roland McGrath <roland@redhat.com>
1225
1226 Tweak merged .abilist file format to merge duplicate symbols in
1227 different sets into multi-version stanzas with new "| SET regexp..."
1228 header continuation lines.
1229 * scripts/merge-abilist.awk: Rewritten for new format.
1230 * scripts/extract-abilist.awk: Likewise.
1231
0f740059
UD
12322003-01-15 Ulrich Drepper <drepper@redhat.com>
1233
e09edf23
UD
1234 * nscd/connections.c (nscd_run): Remove bogus return which isn't
1235 necessary with gcc 3.2+.
1236 (nscd_init): Don't use error() to print message, use dbg_log.
1237
ea31b613
UD
1238 * iconv/gconv_simple.c (STORE_REST): Explicitly store the total
1239 expected size into state.
1240 (UNPACK_BYTES): Do the reverse.
41f112ad 1241 * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element.
ea31b613
UD
1242 * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug.
1243 Reported by Al Viro <aviro@redhat.com>.
1244
a1a2fec1
UD
1245 * stdio-common/Makefile (tests): Add bug14.
1246 * stdio-common/bug14.c: New file.
1247
0f740059
UD
1248 * stdio-common/vfscanf.c: When recognizing multibyte characters in
1249 string reset the byte counter after mbrtowc reported it is not a
1250 partial character. Reported by Al Viro <aviro@redhat.com>.
1251
c16abc04
UD
12522003-01-15 Steven Munroe <sjmunroe@us.ibm.com>
1253
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include
1255 sysdep-cancel.h, not sysdep.h.
1256
12572003-01-15 Ulrich Drepper <drepper@redhat.com>
1258
1259 * nscd/connections.c (nscd_run): Protect accept call with
1260 TEMP_FAILURE_RETRY.
1261
c841fa22
AS
12622003-01-15 Andreas Schwab <schwab@suse.de>
1263
1264 * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d.
1265 (common-generated): Add s-proto-bp.d.
1266 * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies
1267 of bp thunks.
1268 * sysdeps/unix/s-proto-bp.S: New file.
1269 * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here.
1270 Use <io/sys/sendfile.h> instead of <sys/sendfile.h>.
1271 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file.
1272
73917724
RM
12732003-01-15 Roland McGrath <roland@redhat.com>
1274
1275 * Makerules: Use -include for tls.make, suppresses warning.
1276 Move gen-as-const-headers rules up so before-compile is set in time.
1277 (sed-remove-dotdot): Fix to work right for subdirs or top dir.
1278
c9f24336
UD
12792003-01-15 Ulrich Drepper <drepper@redhat.com>
1280
d4397629
UD
1281 * nscd/nscd.c (main): Make code to close all file descriptors
1282 faster and more robust.
1283
9caf4f1c
UD
1284 * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the
1285 request with one writev call. Protect all read calls with
1286 TEMP_FAILURE_RETRY.
1287 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1288 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1289
1290 * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer.
1291 Protect writev calls with TEMP_FAILURE_RETRY.
1292 * nscd/grpcache.c: Likewise.
1293 * nscd/pwdcache.c: Likewise.
1294
c9f24336
UD
1295 * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as
1296 IPv6 address in debug output.
1297
9ae10332
RM
12982003-01-14 Roland McGrath <roland@redhat.com>
1299
1300 * Makerules (check-abi-%): Use two rules for $(common-objpfx) and
1301 $(objpfx) directories, and get rid of vpath directives. The previous
1302 arrangement resulted in files being written to the source directories
1303 when run in a clean build. Find all .abilist files in $(..)abilist/.
1304 (update-abi-%): Likewise.
1305 (generated): Don't add .symlist files, they'll be intermediates.
1306
1307 * sysdeps/generic/init-first.c: Add a comment.
1308
1309 * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link.
1310
1311 * scripts/gen-as-const.awk: Grok lone "--" as a separator between
1312 #includes and expressions.
1313
1314 * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged
1315 config list when it already contains cpu-.*-os.* without / part.
1316
1317 * Makerules (sed-remove-dotdot): New variable.
1318 ($(common-objpfx)%.make): Use it. Depend on $(before-compile).
1319 ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.
1320 (check-abi-config): New variable, append /tls or /notls to the tuple.
1321 (check-abi-%): Use that for -v config value.
1322 Find .abilist files in abilist/libfoo.abilist, not in subdir.
1323 * Rules: Move bits/stdio_lim.h generation rules to Makerules.
1324
a8d87c92
UD
13252003-01-14 Ulrich Drepper <drepper@redhat.com>
1326
1327 * manual/install.texi: Correct description of header preparation for
1328 Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].
1329
574b892e
UD
13302003-01-14 Guido Guenther <agx@sigxcpu.org>
1331
1332 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL,
1333 INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
1334 INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
1335
13362003-01-14 Steven Munroe <sjmunroe@us.ibm.com>
1337
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1339 (INTERNAL_SYSCALL): Make use of ERR parameter.
1340 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
1341 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
1342 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file.
1344
2c255347
UD
13452003-01-14 Ulrich Drepper <drepper@redhat.com>
1346
086311a9
UD
1347 * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol
1348 == IPPROTO_TCP.
1349 Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943].
1350
2f279b14
UD
1351 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags):
1352 Fix entry for bit 31.
1353
2c255347
UD
1354 * iconvdata/Makefile: Add rules to build IBM866NAV.
1355 * iconvdata/ibm866nav.c: New file.
1356 * iconvdata/tst-tables.sh: Add IBM866NAV.
1357 * iconvdata/gconv-modules: Add entries for IBM866NAV.
1358
642eb2a2
UD
13592003-01-13 Ulrich Drepper <drepper@redhat.com>
1360
1361 * string/tester.c (test_strcpy): Use the previously #if 0'ed code
1362 to test void* parameters.
1363
1364 * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast
1365 source pointer before dereferencing.
1366 (__STRING_SMALLL_GET32): Likewise.
1367 (__memset_gc): Add missing parenthesis around macro arguments.
574b892e 1368 Patch by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2
UD
1369
1370 * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler
574b892e 1371 that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2 1372
115bb61d
UD
13732003-01-14 Jakub Jelinek <jakub@redhat.com>
1374
1375 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before
1376 defining.
1377
13782003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1379
1380 * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals.
1381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it
1382 here.
1383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise.
1384
13852003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1386
1387 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions
1388 from here...
1389 (PSEUDO): ... to here.
1390 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction
1391 from here...
1392 (PSEUDO): ... to here.
1393
9ef0a840
UD
13942003-01-13 Ulrich Drepper <drepper@redhat.com>
1395
1396 * locale/programs/charmap-dir.c (charmap_readdir): Use struct
1397 dirent64 instead of struct dirent for dirent. Call readdir64
1398 instead of readdir.
1399
1400 * locale/programs/locfile.c (siblings_uncached): Use struct
1401 dirent64 instead of struct dirent for other_dentry. Call
1402 readdir64 instead of readdir.
1403
1404 * elf/ldconfig.c (direntry): Change type to struct dirent64.
1405 (search_dir): Use readdir64 instead of readdir.
1406 Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>.
1407
f1c5213d
RM
14082003-01-12 Roland McGrath <roland@redhat.com>
1409
c01ec9c7
RM
1410 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,
1411 not strtol. The former is usable in ld.so, the latter not.
1412
f1c5213d
RM
1413 * include/fcntl.h: Declare __libc_creat.
1414
1415 * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs,
1416 libhurduser-link.so-no-z-defs): New variables.
1417
1418 * malloc/malloc.c: Revert last change.
1419 * malloc/malloc.h (_int_*): Move these decls to ...
1420 * include/malloc.h: ... here. Add attribute_hidden.
1421 (_int_valloc): Declare it too.
1422
73398a44
UD
14232003-01-12 Ulrich Drepper <drepper@redhat.com>
1424
115bb61d 1425 * elf/dl-close.c (_dl_close): Fix typo, must be == not = in
1376cd8c
UD
1426 search for removed searchlist. Reported by Roland McGrath.
1427
40212ce0
UD
1428 * io/ftwtest-sh: Add test for case of symlink to nonexisting file
1429 given as start file.
1430
1431 * io/ftw.c (ftw_startup): Use correct name in check for symlink
1432 without existing target. Patch by Jim Meyering.
1433
73398a44
UD
1434 * Makerules (build-shlib-helper): Don't use -z defs linker option
1435 if no-z-defs is defined either.
1436
14372003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
1438
1439 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused
1440 file.
1441
14422003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
1443
1444 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork.
1445 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1446
b2608c22
UD
14472003-01-12 Ulrich Drepper <drepper@redhat.com>
1448
1449 * io/ftwtest-sh: Add test case for relative path with /. at the end.
1450
14512003-01-12 Jim Meyering <jim@meyering.net>
1452
1453 * io/ftw.c (ftw_startup): When trying to stat the starting directory,
1454 use the basename if we've already chdir'd into its parent directory.
1455
a5ce5fcf
UD
14562003-01-12 Ulrich Drepper <drepper@redhat.com>
1457
1458 * io/ftw.c (process_entry): Use relative path when using chdir()
b2608c22 1459 to change directory after call to ftw_dir.
a5ce5fcf
UD
1460 * io/ftwtest-sh: Add test for relative path argument to nftw()
1461 with FTW_CHDIR option.
1462
b398ae3c
UD
14632002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1464
1465 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
1466 Define for powerpc.
1467 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment
1468 into account.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1470 (INTERNAL_SYSCALL): Make use of ERR parameter.
1471 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
1472 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
1473 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.
1475
14762002-01-09 Richard Henderson <rth@redhat.com>
1477
1478 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute
1479 DTPREL64 and TPREL64 without loadbase applied.
1480
14812002-01-09 Richard Henderson <rth@redhat.com>
1482
1483 * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno
1484 for NOT_IN_libc.
1485
1486 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits...
1487 * sysdeps/unix/alpha/sysdep.h: ... here.
1488 (PSEUDO_LOADGP): Remove.
1489 (PSEUDO_PROLOGUE): Load GP in non-pic case.
1490 (SYSCALL_ERROR_LABEL): New.
1491 (PSEUDO): Use it in error branch.
1492 (PSEUDO_END): Add $syscall_error label.
1493
1f8613a6
AJ
14942003-01-12 Andreas Jaeger <aj@suse.de>
1495
1496 * math/bits/mathcalls.h: Round is a const function.
1497
aff4519d
UD
14982003-01-11 Jim Meyering <jim@meyering.net>
1499
1500 * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>.
1501 [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>.
1502 Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC.
1503 [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define.
1504 [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define.
1505 [!_LIBC] (internal_function, dirent64, MAX): Define.
1506 (__set_errno): Define if not already defined.
1507 (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on
1508 the basename, not the entire file name.
1509 (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on
1510 the basename, not the entire file name.
1511
15122003-01-12 Ulrich Drepper <drepper@redhat.com>
1513
1514 * string/tester.c (test_strcpy): Disable last added strcpy until
1515 it is fixed.
1516
15172003-01-11 Philip Blundell <philb@gnu.org>
1518
1519 * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support.
1520
15212003-01-11 Andreas Schwab <schwab@suse.de>
1522
1523 * Makerules: Add vpath for %.dynsym and %.so so that the
1524 implicit rule chaining for check-abi works.
1525
15262003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1527
1528 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1529 Add non-PIC case.
1530
15312003-01-11 Jakub Jelinek <jakub@redhat.com>
1532
1533 * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define.
1534 [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if
1535 gp is used early.
1536 [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS.
1537 * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so):
1538 Ensure libc.so in DT_NEEDED.
1539 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move
1540 CHECK_STATIC_TLS before l_tls_offset use.
1541 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
1542 Likewise.
1543 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1544 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]:
1545 Allocate TLS_PRE_TCB_SIZE bytes below result.
1546 (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing.
1547 * sysdeps/generic/libc-tls.c (__libc_setup_tls): If
1548 TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS
1549 segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE
1550 bytes below result and add tcb_offset to memsz.
1551 * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype.
1552 * sysdeps/ia64/dl-machine.h: Include tls.h.
1553 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs
1554 too.
1555 (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too.
1556 Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations.
1557 * sysdeps/ia64/libc-tls.c: New file.
1558
15592003-01-10 Steven Munroe <sjmunroe@us.ibm.com>
1560
1561 * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit.
1562 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX):
1563 Fix type. Move definition out of #if.
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file.
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file.
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file.
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation
1570 support.
1571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove
1572 ftruncate64, pread64, pwrite64, truncate64 entries.
1573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1574 (INLINE_SYSCALL): New version that supports function call like
1575 syscalls. Add __builtin_expect.
1576 (LOADARGS_n): Add argument size safety checks.
1577 (INTERNAL_SYSCALL): New Macro.
1578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file.
1579 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid
1580 redefinition of elf_fpreg_t and elf_fpregset_t.
1581
15822003-01-12 Ulrich Drepper <drepper@redhat.com>
1583
1584 * elf/dl-close.c (_dl_close): Add several asserts. Correct and
1585 simplify test for unloading. If loader of a DSO is unloaded do not
1586 use its scope anymore. Fall back to own scope and adjust opencounts.
1587 Fix several comments.
1588 * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for
1589 the l_searchlist, not only for l_initfini.
1590
1591 * elf/dl-lookup.c (add_dependencies): Avoid creating relocation
1592 dependencies if objects cannot be removed. Remove object with the
1593 definition as not unloadable if necessary.
1594
1595 * elf/reldep6.c: Create relocation dependency before closing the first
1596 module.
1597
1598