]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
cef0a48d
UD
12003-02-21 Jakub Jelinek <jakub@redhat.com>
2
3 * sysdeps/sparc/sparc64/elf/configure.in: New file.
4 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS):
5 Use -fcall-used-g6, not -fcall-used-g7.
6
dd3608b9
AJ
72003-02-21 Andreas Jaeger <aj@suse.de>
8
9 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
10 mode.
11
12 * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
13 clear whole mxcsr but only exceptions.
14
59fed0e2
RM
152003-02-21 Roland McGrath <roland@redhat.com>
16
17 * Makerules: Filter $(install-lib-ldscripts) out of list of targets
18 for libfoo.so that need $(make-link) rules.
19
36f0ccda
RM
202003-02-21 Roland McGrath <roland@frob.com>
21
22 * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
23 to match existing struct stat layout in mig protocols.
24
ec503662
UD
252003-02-20 Ulrich Drepper <drepper@redhat.com>
26
27 * version.h (VERSION): Bump to 2.3.2.
28
29 * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp,
30 tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c,
31 and dl-sysdep.h.
32 * sysdeps/generic/Dist: Add sysdep-cancel.h.
33 * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h.
34 * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S.
35 * sysdeps/unix/sysv/linux/Dist: Add pathconf.h.
36 * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h.
37 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and
38 ucontext_i.h.
39 * Makefile (distribute): Add include/stubs-prologue.h,
40 include/gnu/stubs.h, scripts/merge-abilist.awk, and
41 scripts/extract-abilist.awk.
42
af57745c
RM
432003-02-20 Roland McGrath <roland@redhat.com>
44
45 * math/Makefile (distribute): Don't add generated files.
46
6314208a
UD
472003-02-20 Ulrich Drepper <drepper@redhat.com>
48
6314208a
UD
49 * math/Makefile: Rearrange variable definitions slightly to get
50 definition in the right order.
51
ab10a294
RM
522003-02-20 Roland McGrath <roland@redhat.com>
53
54 * Makerules: Clean up conditional around include of tls.make.
55 * Make-dist: Export generating=t to prevent using that.
56 (+distinfo): Likewise for $(shell $(MAKE) ...) runs.
57
54e1cabc
UD
582003-02-20 Ulrich Drepper <drepper@redhat.com>
59
60 * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap
61 around in search if port IPPORT_RESERVED/2 has been test.
62
ec503662 632002-02-20 Paolo Bonzini <bonzini@gnu.org>
54e1cabc
UD
64
65 * posix/regcomp.c: Remove inclusions.
66 * posix/regexec.c: Likewise.
67 * posix/regex_internal.c: Likewise.
68 * posix/regex_internal.h: Add inclusions here.
69 * posix/regex.c: Only include sys/types.h before regex.h. Include
70 regex_internal.h here. Include regex_internal.c before regcomp.c
71 and regexec.c (might expose more opportunities to the C compiler).
72
73 * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC.
74
75 * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo.
76 [!_LIBC] (__wcrtomb): New definition.
77 [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and
78 HAVE_LOCALE_H as well.
79
6eb74f33
UD
802003-02-20 Ulrich Drepper <drepper@redhat.com>
81
82 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete
83 patch to check for system call errors.
84
05856976
UD
852002-07-24 Philip Blundell <philb@gnu.org>
86
87 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
88 on unknown systems.
89
902003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
91
92 * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround.
93 * sysdeps/unix/sysv/linux/kernel-features.h
94 (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too.
95 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl
96 if possible.
97 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short
98 interprocedure branches.
99 * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to...
100 * sysdeps/powerpc/nofpu/Dist: ...here.
101 * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to...
102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
103 * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete.
104 * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete.
105 * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
106
a592f998
UD
1072003-02-18 Alan Modra <amodra@bigpond.net.au>
108
109 * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine.
110
44ed664b
UD
1112003-02-20 Philip Blundell <philb@gnu.org>
112
113 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
114 missing arguments to INTERNAL_SYSCALL_ERROR_P and
115 INTERNAL_SYSCALL_ERRNO.
116
ffdcfcb0
UD
1172003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
118
119 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
120 for __ASSUME_32BITUIDS.
121
4b2ed419
AS
1222003-02-20 Andreas Schwab <schwab@suse.de>
123
124 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and
125 POSIX_MADV_* constants.
126
01b28852
UD
1272003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
128
129 * sysdeps/unix/sysv/linux/sh/pread.c: New file.
130 * sysdeps/unix/sysv/linux/sh/pread64.c: New file.
131 * sysdeps/unix/sysv/linux/sh/pwrite.c: New file.
132 * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file.
133
a70e514b
UD
1342003-02-19 Jiro Sekiba <jir@yamato.ibm.com>
135
136 * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate.
137
ade67411
RM
1382003-02-16 Roland McGrath <roland@redhat.com>
139
140 * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.
141
1c524710
UD
1422003-02-19 Ulrich Drepper <drepper@redhat.com>
143
01b28852 144 * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off
1c524710 145 decimal input digits.
b5f7b119 146 * stdlib/tst-strtod.c (main): Add test for strtof bug.
1c524710 147
2f7dc594
UD
1482003-02-18 Ulrich Drepper <drepper@redhat.com>
149
150 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
151 invalid file descriptors and missing access permissions.
152
46d7e2ba
UD
1532003-02-17 Ulrich Drepper <drepper@redhat.com>
154
8bd3f184 155 * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has
2cfe49db
UD
156 been found.
157
46d7e2ba
UD
158 * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
159 TTY_NAME_MAX and not the _POSIX_* minimal value macros.
160 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
161 and LOGIN_NAME_MAX.
162
b2740a3b
UD
1632003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
164 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
165
166 * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP.
167 * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling.
168 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
169 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
170 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
171
81b50572
UD
1722003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
173
174 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
175 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
176 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
177 * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
178 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
179 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.
180
181 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
183 * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
185
186 * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
187 * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
188 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
189 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
190
fdcd8f9c
UD
1912003-02-14 Thorsten Kukuk <kukuk@suse.de>
192
193 * nss/getent.c (print_hosts): Print all IP addresses of one host.
194
7125d3cf
RM
1952003-02-15 Roland McGrath <roland@frob.com>
196
8321ef15
RM
197 * sysdeps/mach/hurd/tls.h: New file.
198 * sysdeps/mach/hurd/i386/tls.h: New file.
199
b0104b6f
RM
200 * mach/errsystems.awk: Include <errno.h> in generated output.
201
7125d3cf
RM
202 * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
203 use target mach-before-compile instead of generated.
204 (mach-before-compile): New target.
205 * Makerules: Disable use of tls.make if $(generating) is set.
206 * mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
207 * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
208 mach-shortcuts.h so mach/ generation happens before hurd/.
209
47202270
UD
2102003-02-14 Ulrich Drepper <drepper@redhat.com>
211
a439bb2f
UD
212 * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa
213 of demorm correctly if low word is zero.
214 Reported by Fred J. Tydeman <tydeman@tybor.com>.
757de559
UD
215 * math/libm-test.inc (nextafter_test): New test, but disabled due
216 to gcc bug.
a439bb2f 217
47202270
UD
218 * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread
219 counter and only call __exit_thread if this is not the last thread.
220
dac0f772
UD
2212003-02-13 Jakub Jelinek <jakub@redhat.com>
222
223 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of
224 subtracting map->l_tls_offset.
225
7437cbd1
UD
2262003-02-12 Ulrich Drepper <drepper@redhat.com>
227
2067577c
UD
228 * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and
229 _CS_GNU_LIBPTHREAD_VERSION.
230 * posix/conststr.c: Handle these new values.
231 * posix/getconf.c: Likewise.
232
7437cbd1
UD
233 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix
234 masking of version index.
235 Patch by Lance Larsh <Lance.Larsh@oracle.com>.
236
969c9da7
UD
2372003-02-11 Ulrich Drepper <drepper@redhat.com>
238
239 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment
240 correctly. Reported by Thorsten Kukuk.
241
e5ffa64a
UD
2422003-02-10 Ulrich Drepper <drepper@redhat.com>
243
244 * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and
245 _BSD_SOURCE to compiler.
246 * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings.
247 Patches by Alan Modra.
248
34c86f42
UD
2492003-02-08 Ulrich Drepper <drepper@redhat.com>
250
251 * io/ftwtest.c: Get current working directory before and after the
252 nftw call and make sure they match.
253
2542003-02-08 Jim Meyering <jim@meyering.net>
255
2067577c 256 * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
34c86f42
UD
257 the current directory, not just when DIR contains a slash.
258 Reported by Manoj Srivastava.
259
ae9ecd08
UD
2602003-02-07 Jim Meyering <jim@meyering.net>
261
262 * io/ftw.c: Add autoconf-recommended block of alloca-related code.
263 Include autoconf-recommended block of dirent/NAMELEN-related
264 definitions and includes. Use NAMELEN throughout, rather than
265 _D_EXACT_NAMLEN.
266 [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN.
267 [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd.
268 (stpcpy): Declare, if necessary.
269 (mempcpy): Define, if necessary.
270 [!_LIBC] (__stpcpy, __mempcpy): Define.
271 [!_LIBC] (LXSTAT, XSTAT): Define.
272 (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.
273 (find_object): Don't use c99-style struct initializer.
274 Tweak wording in a couple comments.
275
2a051a7d
UD
2762003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
277
278 * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list
279 for SH.
280 * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD
281 after the trapa instruction.
282 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional
283 parameters.
284 * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file.
285 (NEED_SYSCALL_INST_PAD): Define.
286 * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to
287 avoid to use definition for the kernel.
288 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
289 Save and restore the frame pointer.
290 (SYSCALL_INST_PAD): Define.
291 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
292 (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD
293 after trapa instruction.
294 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
295 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
296
1f503475
UD
2972003-02-07 Jakub Jelinek <jakub@redhat.com>
298
299 * resolv/res_libc.c (_res): Ensure _res is not common symbol,
300 so that it can have aliases.
301 * inet/herrno.c (h_errno): Put it into .bss not .data section.
302
eecc378c
UD
3032003-02-07 Ulrich Drepper <drepper@redhat.com>
304
305 * elf/dl-runtime.c (fixup): Correct typo in version index computation.
306 (profile_fixup): Likewise.
1f503475 307 Patch by Lance Larsh <Lance.Larsh@oracle.com>.
eecc378c 308
ce96c93d
UD
3092002-11-24 Robert Love <rml@tech9.net>
310
311 * posix/sched.h: Second parameter of sched_setaffinity and
312 sched_getaffinity is `unsigned int', not `unsigned long'.
313 * sysdeps/generic/sched_setaffinity.c: Likewise.
314 * sysdeps/generic/sched_getaffinity.c: Likewise.
315
e0f86659
UD
3162003-02-05 Ulrich Drepper <drepper@redhat.com>
317
432cf458 318 * debug/catchsegv.sh: Fix typo in error messsage.
ce96c93d 319 Reported by John Levon <levon@movementarian.org>.
432cf458 320
5cd09cd6
UD
321 * sysdeps/unix/sysv/linux/posix_fadvise.c: New file.
322 * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall.
323 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
324 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
326 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
327 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
328
e0f86659
UD
329 * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked.
330 Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>.
331
5049f197
UD
3322003-02-05 Jim Meyering <jim@meyering.net>
333
334 Fix a heap-corrupting bug.
335 * io/ftw.c: Include <limits.h>.
336 (PATH_MAX) [!defined PATH_MAX]: Define to 1024.
337 (process_entry): Allocate enough space to hold the resulting
338 file name. Don't presume that 2*dirbufsize is enough.
339 (ftw_startup): Always use PATH_MAX to compute buffer size, now that
340 it is guaranteed to be defined.
341
6f1cff95
UD
3422003-02-04 Ulrich Drepper <drepper@redhat.com>
343
344 * iconvdata/Makefile: Add rules to build and run bug-iconv3.
345 * iconvdata/bug-iconv3.c: New file.
346
b33b0d0d
UD
3472003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
348
349 * sysdeps/unix/sysv/linux/s390/system.c: New file.
350
6900ded2
UD
3512003-02-03 Jakub Jelinek <jakub@redhat.com>
352
353 * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New
354 check.
355 * config.h.in (BROKEN_SPARC_WDISP22): Add.
356
663684b2
UD
3572003-02-03 Ulrich Drepper <drepper@redhat.com>
358
359 * sysdeps/i386/i686/memmove.S: New file.
360
3e4fc359
UD
3612003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
362
363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c:
364 Include kernel-features.h
365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
369
75dec09e
UD
3702003-02-02 Jakub Jelinek <jakub@redhat.com>
371
372 * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers.
373
78e88510
UD
3742003-01-25 Jim Meyering <jim@meyering.net>
375
376 * io/ftw.c (object_compare): Compare inode numbers before device
377 numbers, since the former are much more likely to differ.
378
38e68573
UD
3792003-02-01 Ulrich Drepper <drepper@redhat.com>
380
381 * time/tzfile.c (__tzfile_compute): Change return value type to
382 void. Adjust return statements.
383 * include/time.h (__tzfile_compute): Adjust prototype.
384
3852003-02-01 Jim Meyering <jim@meyering.net>
386
387 * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute
388 always returns 1.
389
3902003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
391
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
393 [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS.
394
3952003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
396
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
398 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub.
399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
400 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
402 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
404 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
405
4062003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
407
408 * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel
409 back to 2.4.19 for powerpc64.
410 * sysdeps/unix/sysv/linux/kernel-features.h
411 (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64.
412 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64.
413
4142003-02-01 Ulrich Drepper <drepper@redhat.com>
415
416 * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for
417 platforms with strange alignment requirements on wchar_t.
418
b67fcc1e
UD
4192003-01-31 Andreas Schwab <schwab@suse.de>
420
421 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_*
422 aliases, already added by make-syscalls.sh.
423 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
424 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
425 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
426 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
427 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
428 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
429 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
430 * sysdeps/unix/inet/syscalls.list: Likewise.
431 * sysdeps/unix/syscalls.list: Likewise.
432
fb784fd5
AS
4332003-01-31 Andreas Schwab <schwab@suse.de>
434
435 * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed
436 any more.
437
c4c1336c
UD
4382003-01-30 Jakub Jelinek <jakub@redhat.com>
439
440 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg,
441 not l to load tls from stack.
442
d6f5e721
RM
4432003-01-30 Roland McGrath <roland@redhat.com>
444
445 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for
446 null argument before all else.
447 Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.
448
7ba7c829
UD
4492003-01-30 Jakub Jelinek <jakub@redhat.com>
450
451 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel):
452 Move to RESOLVE protected part of the header.
453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel):
454 Likewise.
455
4562003-01-30 Ulrich Drepper <drepper@redhat.com>
457
458 * stdio-common/Makefile (tests): Add bug15.
459 (bug15-ENV): Define.
460 * stdio-common/bug15.c: New file.
461
886d5973
UD
4622002-10-07 Wolfram Gloger <wg@malloc.de>
463
464 * malloc/malloc.c (sYSMALLOc): Only check for breakage due
465 to foreign sbrk()'s if arena is contiguous. Bug report from
466 Bruno Haible <bruno@clisp.org>.
467
4682003-01-30 Jakub Jelinek <jakub@redhat.com>
469
470 * sysdeps/s390/libc-tls.c: Include stdlib.h.
471
4722003-01-30 Jakub Jelinek <jakub@redhat.com>
473
474 * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of
475 ps.__count.
476
4772003-01-30 Ulrich Drepper <drepper@redhat.com>
478
479 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and
480 restoring of %r6.
481 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use
482 64-bit load.
483 Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
484
4852003-01-30 Jakub Jelinek <jakub@redhat.com>
486
487 * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error...
488 (allocate_static_tls): ...here. Add __attribute_noinline__.
489 Don't return on failure.
490 (_dl_reloc_bad_type): Add __attribute_noinline__.
491 * elf/do-rel.h (elf_dynamic_do_rel): Add
492 __attribute__((always_inline)).
493 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
494 elf_machine_rel_relative, elf_machine_rela_relative,
495 elf_machine_lazy_rel): Add prototypes with
496 __attribute__((always_inline)).
497
4982003-01-29 David Mosberger <davidm@hpl.hp.com>
499
500 * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.
501
871afd6b
RM
5022003-01-29 Roland McGrath <roland@redhat.com>
503
504 * configure.in: Barf if configured in $srcdir.
871afd6b 505
1e49399d
UD
5062003-01-28 Steven Munroe <sjmunroe@us.ibm.com>
507
508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
1e2f8718 509 (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL.
1e49399d 510
db34912e
UD
5112003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
512
513 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional
514 clone parameters to match the order used on ia32.
515 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
516
e6ebd2e4
UD
5172003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
518
519 * elf/elf.h: Add new s390 relocs.
520 * elf/tls-macros.h: Add s390 versions.
521 * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset.
522 * sysdeps/s390/dl-tls.h: New file.
523 * sysdeps/s390/libc-tls.c: New file.
524 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS
525 relocs for class PLT.
526 (elf_machine_rela): Handle TLS relocs.
527 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
528 * sysdeps/s390/s390-32/elf/configure.in: Add TLS check.
529 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
530 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for
531 CLONE_CHILD_*TID flags.
532 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
533 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32
534 bit offset.
535 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
536 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
537 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
538 Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant.
539 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
540 Likewise.
541 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
542 (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER.
543 (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
544 variants.
545 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h:
546 (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use
547 direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT.
548 (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
549 variants.
550
772e3426
UD
5512003-01-28 Ulrich Drepper <drepper@redhat.com>
552
553 * sysdeps/unix/common/pause.c (do_pause): New function. Split
554 from __libc_pause. Implement using sigsuspend.
555 (__libc_pause): Call do_pause to do the real work.
556
557 * sysdeps/posix/sigpause.c (do_sigpause): Check range of
558 sig_or_mask parameter is is_sig != 0.
559
0566b130
UD
5602003-01-21 Philip Blundell <philb@gnu.org>
561
562 * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
563
a15698cb
UD
5642003-01-27 Steven Munroe <sjmunroe@us.ibm.com>
565
566 * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check.
567
b7e033f7
UD
5682003-01-27 Ulrich Drepper <drepper@redhat.com>
569
e6fb8846
UD
570 * stdio-common/bug14.c: Use official name for the locale.
571
1fc46908
UD
572 * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start
573 instead of __libc_cleanup_region_start and _IO_cleanup_region_end
574 instead of __libc_cleanup_region_end.
575
576 * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1
577 as first parameter to __libc_cleanup_region_start.
578
68ff8426
UD
579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
580 (__fe_nomask_env): Use __prctl not prctl.
581 * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for
582 prctl syscall.
583
809cd222
UD
584 * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message.
585
586 * elf/dl-open.c (_dl_tls_static_size): Bump to 2048.
587
b7e033f7
UD
588 * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic
589 wrap-around in test.
590
62f29da7
UD
5912003-01-26 Andreas Schwab <schwab@suse.de>
592
593 * sysdeps/wordsize-32/divdi3.c: Export the functions only as
594 compatibility symbols. Remove INTDEF for __divdi3.
595 * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal.
596 * sysdeps/powerpc/powerpc32/divdi3.c: Remove.
597 * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't
598 define.
599 * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c.
600
6012003-01-24 Jakub Jelinek <jakub@redhat.com>
602
603 * elf/tls-macros.h: Add SPARC 32-bit definitions.
604 * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check.
605 * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards
606 for the first half of the header. Include tls.h.
607 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS
608 relocs too.
609 (elf_machine_rela): Handle TLS relocs.
610 * sysdeps/sparc/dl-tls.h: New file.
611
612 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation
613 support.
614
615 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7.
616 * sysdeps/sparc/sparc32/memchr.S: Likewise.
617 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
618 * sysdeps/sparc/sparc32/strcat.S: Likewise.
619 * sysdeps/sparc/sparc32/strchr.S: Likewise.
620 * sysdeps/sparc/sparc32/strcmp.S: Likewise.
621 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
622 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
623 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
624 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
625 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
626 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
627 * sysdeps/sparc/sparc64/strcat.S: Likewise.
628 * sysdeps/sparc/sparc64/strchr.S: Likewise.
629 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
630 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
631 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
632 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
634 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
635
6362003-01-24 Andreas Schwab <schwab@suse.de>
637
638 * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY
639 elements, and process them backwards.
640 * elf/Makefile ($(objpfx)tst-array4): New target.
641 ($(objpfx)tst-array4.out): Likewise.
642 (tests) [$(have-initfini-array) = yes]: Add tst-array4.
643 * elf/tst-array4.c: New file.
644 * elf/tst-array4.exp: Likewise.
645
6462003-01-24 Steven Munroe <sjmunroe@us.ibm.com>
647
648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file.
649
6502003-01-27 Guido Guenther <agx@sigxcpu.org>
651
652 * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define.
653 * sysdeps/unix/sysv/linux/mips/pread.c: Add support for
654 cancellation handling and handle both __NR_pread64 and __NR_pread.
655 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
656 * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for
657 cancellation handling and handle both __NR_pwrite64 and __NR_pwrite.
658 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
659 * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT
660 case, use register names consistently.
661
6622003-01-27 Wolfram Gloger <wg@malloc.de>
663
664 * malloc/hooks.c (mem2chunk_check): Check alignment of mem
665 pointer, not of the computed chunk. Bug report from Carlos
666 O'Donell <carlos@baldric.uwo.ca>.
667
251c0f71
AS
6682003-01-25 Andreas Schwab <schwab@suse.de>
669
670 * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative
671 addressing to save GOT entries.
672
86dfa4eb
RM
6732003-01-21 Jakub Jelinek <jakub@redhat.com>
674
675 * sysdeps/unix/alpha/sysdep.h (inline_syscall0,
676 inline_syscall1, inline_syscall2, inline_syscall3,
677 inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
678 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
679 __attribute__((unused)) to ChEcK.
680
d5b6c817
UD
6812003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
682
683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL):
684 Fix inline assembler constraints.
685 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL):
686 Likewise.
687
688 * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of
689 -fPIC.
690
83c9a671
RM
6912003-01-20 Segher Boessenkool <segher@koffie.nl>
692
693 * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really
694 compute the cosine, not the sine, even if x > 0.8.
695
b677d674
UD
6962003-01-19 Ulrich Drepper <drepper@redhat.com>
697
698 * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of
699 _nss_nis_setspent. Work around the different prototypes.
700 * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use
701 internal_nis_endrpcent.
702 (internal_nis_endrpcent): Change return type to void. Change callers.
703 * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of
704 _nss_nis_setpwent. Work around the different prototypes.
705 * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body
706 of the function to...
707 (internal_nis_endprotoent): ... here. New function.
708 (internal_nis_setprotoent): Use internal_nis_endprotoent.
709 * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of
710 _nss_nis_setnetent. Work around the different prototypes.
711 * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body
712 of the function to...
713 (internal_nis_endnetgrent): ... here. New function.
714 (_nss_nis_setnetgrent): Use internal_nis_endnetgrent.
715
978bd143
UD
7162003-01-19 Jim Meyering <jim@meyering.net>
717
718 * time/strftime.c: (widen): Merge nearly-identical definitions.
719 (nl_get_alt_digit) [! defined my_strftime]: Define.
720 (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of
721 _nl_get_alt_digit and _nl_get_walt_digit.
722
b1a173f7
UD
7232003-01-19 Ulrich Drepper <drepper@redhat.com>
724
725 * time/strftime.c (my_strftime): Handle very large width
726 specifications for numeric values correctly. Improve checks for
727 overflow.
728 * time/Makefile (tests): Add tst-strftime.
729 * time/tst-strftime.c: New file.
730
039c1b75
UD
7312003-01-18 Ulrich Drepper <drepper@redhat.com>
732
6675b191
UD
733 * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of
734 _nss_nis_sethostent. Work around the different prototypes.
735 * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of
736 _nss_nis_setgrent. Work around the different prototypes.
737 * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New
738 function. Split out from _nss_nis_endetherent.
739 (internal_nis_setetherent): Use internal_nis_endetherent instead of
740 duplicating the code.
741 * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias
742 of _nss_nis_setaliasent.
743 * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse
744 internal_nis_endservent code, don't duplicate it.
745
039c1b75
UD
746 * inet/rexec.c (rexec_af): Protect socket operations with
747 TEMP_FAILURE_RETRY. Use writev instead of multiple write.
748 * inet/rcmd.c (rcmd_af): Likewise.
749
62431425
RM
7502003-01-17 Roland McGrath <roland@redhat.com>
751
d32e4346
RM
752 * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]:
753 Add test of value 0.80190127184058835.
754
62431425
RM
755 * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn.
756
0f0b7994
UD
7572003-01-17 Richard Henderson <rth@redhat.com>
758
759 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS
760 relocs for class PLT.
761 * sysdeps/alpha/libc-tls.c: New file.
762 * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New.
763 (LOADGP) [!PIC]: Rewrite to preserve caller's gp.
764
7652003-01-17 Jakub Jelinek <jakub@redhat.com>
766
767 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use
768 __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock
769 on _dl_static_lock.
770
1d4ff70e
AJ
7712003-01-17 Andreas Jaeger <aj@suse.de>
772
773 * stdio-common/bug14.c: Include stdlib.h for exit prototype.
774
609b4783
UD
7752003-01-16 Steven Munroe <sjmunroe@us.ibm.com>
776
777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file.
778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file.
779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file.
780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file.
781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file.
782 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
783 * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64
784 is 2.4.21.
785
7862003-01-16 Ulrich Drepper <drepper@redhat.com>
787
788 * sysdeps/generic/glob.c (glob): Assume sysconf() always returns
789 values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed
790 buffers.
791
792 * sysdeps/generic/sysconf.c: Unconditionally implement
793 _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX.
794 * sysdeps/posix/sysconf.c: Likewise.
795
7b7b9e70
UD
7962003-01-16 Jakub Jelinek <jakub@redhat.com>
797
798 * posix/regcomp.c (parse_bracket_exp): If build_charclass fails,
799 set *err to the returned error, not to REG_ESPACE unconditionally.
800 (build_word_op): Likewise.
801 * posix/Makefile (tests): Add bug-regex16.
802 * posix/bug-regex16.c: New test.
803
850dcfca
UD
8042003-01-16 Jakub Jelinek <jakub@redhat.com>
805
806 * elf/dl-load.c (_dl_map_object_from_fd): Use
807 GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has
808 been already initialized.
809
a1f8ec97
UD
8102003-01-15 Dmitry V. Levin <ldv@altlinux.org>
811
812 * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment.
813
f811dbdc
UD
8142003-01-16 Jakub Jelinek <jakub@redhat.com>
815
816 * posix/regcomp.c (re_compile_internal): If clearing buffer, clear
817 allocated too. Reported by Al Viro <aviro@redhat.com>.
818
4dd98447
RM
8192003-01-16 Roland McGrath <roland@redhat.com>
820
821 Tweak merged .abilist file format to merge duplicate symbols in
822 different sets into multi-version stanzas with new "| SET regexp..."
823 header continuation lines.
824 * scripts/merge-abilist.awk: Rewritten for new format.
825 * scripts/extract-abilist.awk: Likewise.
826
0f740059
UD
8272003-01-15 Ulrich Drepper <drepper@redhat.com>
828
e09edf23
UD
829 * nscd/connections.c (nscd_run): Remove bogus return which isn't
830 necessary with gcc 3.2+.
831 (nscd_init): Don't use error() to print message, use dbg_log.
832
ea31b613
UD
833 * iconv/gconv_simple.c (STORE_REST): Explicitly store the total
834 expected size into state.
835 (UNPACK_BYTES): Do the reverse.
41f112ad 836 * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element.
ea31b613
UD
837 * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug.
838 Reported by Al Viro <aviro@redhat.com>.
839
a1a2fec1
UD
840 * stdio-common/Makefile (tests): Add bug14.
841 * stdio-common/bug14.c: New file.
842
0f740059
UD
843 * stdio-common/vfscanf.c: When recognizing multibyte characters in
844 string reset the byte counter after mbrtowc reported it is not a
845 partial character. Reported by Al Viro <aviro@redhat.com>.
846
c16abc04
UD
8472003-01-15 Steven Munroe <sjmunroe@us.ibm.com>
848
849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include
850 sysdep-cancel.h, not sysdep.h.
851
8522003-01-15 Ulrich Drepper <drepper@redhat.com>
853
854 * nscd/connections.c (nscd_run): Protect accept call with
855 TEMP_FAILURE_RETRY.
856
c841fa22
AS
8572003-01-15 Andreas Schwab <schwab@suse.de>
858
859 * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d.
860 (common-generated): Add s-proto-bp.d.
861 * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies
862 of bp thunks.
863 * sysdeps/unix/s-proto-bp.S: New file.
864 * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here.
865 Use <io/sys/sendfile.h> instead of <sys/sendfile.h>.
866 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file.
867
73917724
RM
8682003-01-15 Roland McGrath <roland@redhat.com>
869
870 * Makerules: Use -include for tls.make, suppresses warning.
871 Move gen-as-const-headers rules up so before-compile is set in time.
872 (sed-remove-dotdot): Fix to work right for subdirs or top dir.
873
c9f24336
UD
8742003-01-15 Ulrich Drepper <drepper@redhat.com>
875
d4397629
UD
876 * nscd/nscd.c (main): Make code to close all file descriptors
877 faster and more robust.
878
9caf4f1c
UD
879 * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the
880 request with one writev call. Protect all read calls with
881 TEMP_FAILURE_RETRY.
882 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
883 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
884
885 * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer.
886 Protect writev calls with TEMP_FAILURE_RETRY.
887 * nscd/grpcache.c: Likewise.
888 * nscd/pwdcache.c: Likewise.
889
c9f24336
UD
890 * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as
891 IPv6 address in debug output.
892
9ae10332
RM
8932003-01-14 Roland McGrath <roland@redhat.com>
894
895 * Makerules (check-abi-%): Use two rules for $(common-objpfx) and
896 $(objpfx) directories, and get rid of vpath directives. The previous
897 arrangement resulted in files being written to the source directories
898 when run in a clean build. Find all .abilist files in $(..)abilist/.
899 (update-abi-%): Likewise.
900 (generated): Don't add .symlist files, they'll be intermediates.
901
902 * sysdeps/generic/init-first.c: Add a comment.
903
904 * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link.
905
906 * scripts/gen-as-const.awk: Grok lone "--" as a separator between
907 #includes and expressions.
908
909 * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged
910 config list when it already contains cpu-.*-os.* without / part.
911
912 * Makerules (sed-remove-dotdot): New variable.
913 ($(common-objpfx)%.make): Use it. Depend on $(before-compile).
914 ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.
915 (check-abi-config): New variable, append /tls or /notls to the tuple.
916 (check-abi-%): Use that for -v config value.
917 Find .abilist files in abilist/libfoo.abilist, not in subdir.
918 * Rules: Move bits/stdio_lim.h generation rules to Makerules.
919
a8d87c92
UD
9202003-01-14 Ulrich Drepper <drepper@redhat.com>
921
922 * manual/install.texi: Correct description of header preparation for
923 Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].
924
574b892e
UD
9252003-01-14 Guido Guenther <agx@sigxcpu.org>
926
927 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL,
928 INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
929 INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
930
9312003-01-14 Steven Munroe <sjmunroe@us.ibm.com>
932
933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
934 (INTERNAL_SYSCALL): Make use of ERR parameter.
935 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
936 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
937 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file.
939
2c255347
UD
9402003-01-14 Ulrich Drepper <drepper@redhat.com>
941
086311a9
UD
942 * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol
943 == IPPROTO_TCP.
944 Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943].
945
2f279b14
UD
946 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags):
947 Fix entry for bit 31.
948
2c255347
UD
949 * iconvdata/Makefile: Add rules to build IBM866NAV.
950 * iconvdata/ibm866nav.c: New file.
951 * iconvdata/tst-tables.sh: Add IBM866NAV.
952 * iconvdata/gconv-modules: Add entries for IBM866NAV.
953
642eb2a2
UD
9542003-01-13 Ulrich Drepper <drepper@redhat.com>
955
956 * string/tester.c (test_strcpy): Use the previously #if 0'ed code
957 to test void* parameters.
958
959 * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast
960 source pointer before dereferencing.
961 (__STRING_SMALLL_GET32): Likewise.
962 (__memset_gc): Add missing parenthesis around macro arguments.
574b892e 963 Patch by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2
UD
964
965 * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler
574b892e 966 that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2 967
115bb61d
UD
9682003-01-14 Jakub Jelinek <jakub@redhat.com>
969
970 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before
971 defining.
972
9732003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
974
975 * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals.
976 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it
977 here.
978 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise.
979
9802003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
981
982 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions
983 from here...
984 (PSEUDO): ... to here.
985 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction
986 from here...
987 (PSEUDO): ... to here.
988
9ef0a840
UD
9892003-01-13 Ulrich Drepper <drepper@redhat.com>
990
991 * locale/programs/charmap-dir.c (charmap_readdir): Use struct
992 dirent64 instead of struct dirent for dirent. Call readdir64
993 instead of readdir.
994
995 * locale/programs/locfile.c (siblings_uncached): Use struct
996 dirent64 instead of struct dirent for other_dentry. Call
997 readdir64 instead of readdir.
998
999 * elf/ldconfig.c (direntry): Change type to struct dirent64.
1000 (search_dir): Use readdir64 instead of readdir.
1001 Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>.
1002
f1c5213d
RM
10032003-01-12 Roland McGrath <roland@redhat.com>
1004
c01ec9c7
RM
1005 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,
1006 not strtol. The former is usable in ld.so, the latter not.
1007
f1c5213d
RM
1008 * include/fcntl.h: Declare __libc_creat.
1009
1010 * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs,
1011 libhurduser-link.so-no-z-defs): New variables.
1012
1013 * malloc/malloc.c: Revert last change.
1014 * malloc/malloc.h (_int_*): Move these decls to ...
1015 * include/malloc.h: ... here. Add attribute_hidden.
1016 (_int_valloc): Declare it too.
1017
73398a44
UD
10182003-01-12 Ulrich Drepper <drepper@redhat.com>
1019
115bb61d 1020 * elf/dl-close.c (_dl_close): Fix typo, must be == not = in
1376cd8c
UD
1021 search for removed searchlist. Reported by Roland McGrath.
1022
40212ce0
UD
1023 * io/ftwtest-sh: Add test for case of symlink to nonexisting file
1024 given as start file.
1025
1026 * io/ftw.c (ftw_startup): Use correct name in check for symlink
1027 without existing target. Patch by Jim Meyering.
1028
73398a44
UD
1029 * Makerules (build-shlib-helper): Don't use -z defs linker option
1030 if no-z-defs is defined either.
1031
10322003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
1033
1034 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused
1035 file.
1036
10372003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
1038
1039 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork.
1040 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1041
b2608c22
UD
10422003-01-12 Ulrich Drepper <drepper@redhat.com>
1043
1044 * io/ftwtest-sh: Add test case for relative path with /. at the end.
1045
10462003-01-12 Jim Meyering <jim@meyering.net>
1047
1048 * io/ftw.c (ftw_startup): When trying to stat the starting directory,
1049 use the basename if we've already chdir'd into its parent directory.
1050
a5ce5fcf
UD
10512003-01-12 Ulrich Drepper <drepper@redhat.com>
1052
1053 * io/ftw.c (process_entry): Use relative path when using chdir()
b2608c22 1054 to change directory after call to ftw_dir.
a5ce5fcf
UD
1055 * io/ftwtest-sh: Add test for relative path argument to nftw()
1056 with FTW_CHDIR option.
1057
b398ae3c
UD
10582002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1059
1060 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
1061 Define for powerpc.
1062 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment
1063 into account.
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1065 (INTERNAL_SYSCALL): Make use of ERR parameter.
1066 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
1067 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
1068 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.
1070
10712002-01-09 Richard Henderson <rth@redhat.com>
1072
1073 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute
1074 DTPREL64 and TPREL64 without loadbase applied.
1075
10762002-01-09 Richard Henderson <rth@redhat.com>
1077
1078 * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno
1079 for NOT_IN_libc.
1080
1081 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits...
1082 * sysdeps/unix/alpha/sysdep.h: ... here.
1083 (PSEUDO_LOADGP): Remove.
1084 (PSEUDO_PROLOGUE): Load GP in non-pic case.
1085 (SYSCALL_ERROR_LABEL): New.
1086 (PSEUDO): Use it in error branch.
1087 (PSEUDO_END): Add $syscall_error label.
1088
1f8613a6
AJ
10892003-01-12 Andreas Jaeger <aj@suse.de>
1090
1091 * math/bits/mathcalls.h: Round is a const function.
1092
aff4519d
UD
10932003-01-11 Jim Meyering <jim@meyering.net>
1094
1095 * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>.
1096 [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>.
1097 Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC.
1098 [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define.
1099 [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define.
1100 [!_LIBC] (internal_function, dirent64, MAX): Define.
1101 (__set_errno): Define if not already defined.
1102 (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on
1103 the basename, not the entire file name.
1104 (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on
1105 the basename, not the entire file name.
1106
11072003-01-12 Ulrich Drepper <drepper@redhat.com>
1108
1109 * string/tester.c (test_strcpy): Disable last added strcpy until
1110 it is fixed.
1111
11122003-01-11 Philip Blundell <philb@gnu.org>
1113
1114 * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support.
1115
11162003-01-11 Andreas Schwab <schwab@suse.de>
1117
1118 * Makerules: Add vpath for %.dynsym and %.so so that the
1119 implicit rule chaining for check-abi works.
1120
11212003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1122
1123 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1124 Add non-PIC case.
1125
11262003-01-11 Jakub Jelinek <jakub@redhat.com>
1127
1128 * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define.
1129 [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if
1130 gp is used early.
1131 [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS.
1132 * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so):
1133 Ensure libc.so in DT_NEEDED.
1134 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move
1135 CHECK_STATIC_TLS before l_tls_offset use.
1136 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
1137 Likewise.
1138 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1139 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]:
1140 Allocate TLS_PRE_TCB_SIZE bytes below result.
1141 (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing.
1142 * sysdeps/generic/libc-tls.c (__libc_setup_tls): If
1143 TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS
1144 segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE
1145 bytes below result and add tcb_offset to memsz.
1146 * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype.
1147 * sysdeps/ia64/dl-machine.h: Include tls.h.
1148 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs
1149 too.
1150 (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too.
1151 Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations.
1152 * sysdeps/ia64/libc-tls.c: New file.
1153
11542003-01-10 Steven Munroe <sjmunroe@us.ibm.com>
1155
1156 * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit.
1157 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX):
1158 Fix type. Move definition out of #if.
1159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file.
1160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file.
1161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file.
1163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation
1165 support.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove
1167 ftruncate64, pread64, pwrite64, truncate64 entries.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1169 (INLINE_SYSCALL): New version that supports function call like
1170 syscalls. Add __builtin_expect.
1171 (LOADARGS_n): Add argument size safety checks.
1172 (INTERNAL_SYSCALL): New Macro.
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file.
1174 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid
1175 redefinition of elf_fpreg_t and elf_fpregset_t.
1176
11772003-01-12 Ulrich Drepper <drepper@redhat.com>
1178
1179 * elf/dl-close.c (_dl_close): Add several asserts. Correct and
1180 simplify test for unloading. If loader of a DSO is unloaded do not
1181 use its scope anymore. Fall back to own scope and adjust opencounts.
1182 Fix several comments.
1183 * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for
1184 the l_searchlist, not only for l_initfini.
1185
1186 * elf/dl-lookup.c (add_dependencies): Avoid creating relocation
1187 dependencies if objects cannot be removed. Remove object with the
1188 definition as not unloadable if necessary.
1189
1190 * elf/reldep6.c: Create relocation dependency before closing the first
1191 module.
1192
1193