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