]> sourceware.org Git - glibc.git/blame - ChangeLog
(__TIMER_T_TYPE): Define as void*.
[glibc.git] / ChangeLog
CommitLineData
1b12060c
AO
12003-03-25 Alexandre Oliva <aoliva@redhat.com>
2
3 * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64):
4 Define.
5 * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all
6 ISA tests.
7 (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA.
8 (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG.
9 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
10 to decide whether to add padding.
11 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
12 to decide whether to add padding.
13 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct
14 old_kernel_sigaction): Likewise.
15
09402f5b
UD
162003-03-25 Ulrich Drepper <drepper@redhat.com>
17
18 * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and
19 atomic_add_zero were supposed to do.
20 * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero
21 to x86 behavior.
22
23 * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*.
24 This matches the new timer implementation.
25 * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust
26 timer info for what the kernel provides these days.
27 (struct sigevent): Add _tid field.
28 Define SIGEV_THREAD_ID.
29
30 * Versions.def (librt): Add GLIBC_2.3.3.
31
32 * abilist/libpthread.abilist: Update for nptl.
33
5e826ab5
UD
342003-03-24 Jon Grimm <jgrimm@us.ibm.com>
35
36 * inet/netinet/in.h: Add IPPROTO_SCTP.
37
382003-03-24 Ulrich Drepper <drepper@redhat.com>
39
40 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define.
41
c6289757
UD
422003-03-24 Philip Blundell <philb@gnu.org>
43
44 * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL):
45 Remove a1 from clobber list.
46
472003-03-24 Ulrich Drepper <drepper@redhat.com>
48
49 * timezone/antarctica: Update from tzdata2003a.
50 * timezone/asia: Likewise.
51 * timezone/australasia: Likewise.
52 * timezone/europe: Likewise.
53 * timezone/iso3166.tab: Likewise.
54 * timezone/northamerica: Likewise.
55 * timezone/southamerica: Likewise.
56 * timezone/zone.tab: Likewise.
57
582003-03-24 Steven Munroe <sjmunroe@us.ibm.com>
59
60 * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo.
61
9eb88290
UD
622003-03-23 Ulrich Drepper <drepper@redhat.com>
63
6ea5c103
UD
64 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid
65 unwanted expansion by definining to ret. Patch by Ian Wienand.
66
9eb88290
UD
67 * sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of
68 the parameter description to denote no error checking. Generate
69 appropriate pseudo asm code.
70 * sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'.
71 * sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid,
72 getpgrp, and getppid with 'E'.
73 * sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO,
74 PSEUDO_END_NOERRNO, and ret_NOERRNO.
75 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
76 * sysdeps/unix/sysdep.h: Likewise.
77 * sysdeps/unix/alpha/sysdep.h: Likewise.
78 * sysdeps/unix/sparc/sysdep.h: Likewise.
79 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
80 * sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise.
81 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
82 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
83 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
84 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
85 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
86 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
87 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
88 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
89 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
90
3045a1fe
RM
912003-03-23 Roland McGrath <roland@redhat.com>
92
93 * Makeconfig (+includes): Don't use $(last-includes).
94
ad551664
AO
952003-03-22 Alexandre Oliva <aoliva@redhat.com>
96
97 * sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns.
98 * sysdeps/unix/sysv/linux/configure: Rebuilt.
99
f92abad6
RM
1002003-03-23 Jakub Jelinek <jakub@redhat.com>
101
102 * sysdeps/alpha/fpu/libm-test-ulps: Update.
103 * sysdeps/arm/libm-test-ulps: Update.
104 * sysdeps/hppa/fpu/libm-test-ulps: Update.
105 * sysdeps/ia64/fpu/libm-test-ulps: Update.
106 * sysdeps/mips/fpu/libm-test-ulps: Update.
107 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
109 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
110 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
111 * sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
112 * sysdeps/s390/fpu/libm-test-ulps: Update.
113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
114
d15851ec
RM
1152003-03-22 Roland McGrath <roland@redhat.com>
116
fe4610b3
RM
117 * include/atomic.h: Put parens around all macro arguments.
118 (__atomic_val_bysize, __atomic_bool_bysize): New macros.
119 (atomic_compare_and_exchange_val_acq): Use it.
120 (atomic_compare_and_exchange_bool_acq): Likewise.
121 (atomic_increment_and_test): Invert sense of test.
122 (atomic_decrement_and_test): Likewise.
123 * csu/tst-atomic.c: Update those tests to match.
d15851ec
RM
124
1252003-03-22 Jakub Jelinek <jakub@redhat.com>
126
127 * include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment.
128 Don't define if __arch_compare_and_exchange_val_32_acq is not defined.
129 (atomic_compare_and_exchange_bool_acq): Add comment. Don't use
130 __oldval variable in the macro, since it might be macro argument.
131 (atomic_decrement_if_positive): Initialize __memp, remove setting
132 of non-existent variable.
133 (atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting.
134 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement
135 using atomic_compare_and_exchange_val_acq.
136 (atomic_decrement_if_positive, atomic_bit_test_set): Define.
137 * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
138 Renamed from...
139 (__arch_compare_and_exchange_bool_8_acq): ... this.
140 (__arch_compare_and_exchange_val_16_acq): Renamed from...
141 (__arch_compare_and_exchange_bool_16_acq): ... this.
142 (__arch_compare_and_exchange_val_32_acq): Return old value. Renamed
143 from...
144 (__arch_compare_and_exchange_bool_32_acq): ... this.
145 (__arch_compare_and_exchange_val_64_acq): Return old value. Renamed
146 from...
147 (__arch_compare_and_exchange_bool_64_acq): ... this.
148 (__arch_compare_and_exchange_val_32_acq): Use __typeof for local
149 variables types instead of assuming int.
150 Change prefix of local variables to __arch.
151 * sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq):
152 Remove.
153 (atomic_compare_and_exchange_val_acq,
154 atomic_compare_and_exchange_bool_acq): Define.
155
156 * csu/tst-atomic.c: New test.
157 * csu/tst-atomic-long.c: New test.
158 * csu/Makefile (tests): Add tst-atomic and tst-atomic-long.
159
160 * malloc/memusagestat.c (main): Kill warning if uint64_t is ulong.
161
162 * sysdeps/s390/Versions: Add trailing newline.
163
164 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning
165 if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument.
166
faa58057
AS
1672003-03-22 Andreas Schwab <schwab@suse.de>
168
01e694fc
AS
169 * sysdeps/m68k/fpu/libm-test-ulps: Update.
170
faa58057
AS
171 * sysdeps/m68k/m68020/bits/atomic.h: New file.
172 * sysdeps/m68k/m68020/atomicity.h: Removed.
173
039f839c
AO
1742003-03-22 Alexandre Oliva <aoliva@redhat.com>
175
dda8854a
AO
176 * sysdeps/mips/elf/ldsodefs.h: Add mips-specific elf64 relocation
177 data structures and macros. Protect from multiple inclusion.
178
039f839c
AO
179 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Fix harmless
180 typo in #if test.
181
34f8ef1b
AJ
1822003-03-21 Andreas Jaeger <aj@suse.de>
183
184 * sysdeps/i386/fpu/libm-test-ulps: Update.
185
186 * math/libm-test.inc (tgamma_test): Recompute some constants with
187 36 digits precision.
188 (lgamma_test): Likewise.
189 (ccos_test): Likewise.
190 (ccosh_test): Likewise.
191 (clog10_test): Likewise.
192 (csin_test): Likewise.
193 (csinh_test): Likewise.
194 (ctan_test): Likewise.
195 (ctanh_test): Likewise.
196
1972003-03-19 Jakub Jelinek <jakub@redhat.com>
198
199 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerated.
200
4baa087a
RM
2012003-03-21 Roland McGrath <roland@redhat.com>
202
203 * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir"
204 constraint to permit non-constant BIT argument.
205 (atomic_bit_test_set): Likewise.
206 * sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise.
207 (atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32.
208 For quadword case, use "i" constraint if __builtin_constant_p and < 32
209 or "r" constraint otherwise.
210
211 * configure.in: Move AC_PROG_CC and other program-finding before all
212 the version checks.
213 * configure: Regenerated.
214
8f9fb000
AO
2152003-03-21 Alexandre Oliva <aoliva@redhat.com>
216
217 * sysdeps/mips/mips64/memcpy.S: Fix porting bug that broke
218 unaligned copying of 8-15 bytes. From Chris Demetriou
219 <cgd@broadcom.com>. Fix label names.
220 * sysdeps/mips/mips64/memset.S: Fix label names. Make similar
221 change as to memcpy.S.
222 * sysdeps/mips/memcpy.S: Formatting changes.
223 * sysdeps/mips/memset.S: Likewise.
224
88b3f3ed
RM
2252003-03-21 Roland McGrath <roland@redhat.com>
226
227 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon.
228
ee7b7036
AO
2292003-03-21 Alexandre Oliva <aoliva@redhat.com>
230
231 * sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New.
232 * sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments.
233
a60581ad
RM
2342003-03-21 Roland McGrath <roland@redhat.com>
235
236 * sysdeps/i386/i486/bits/atomic.h
237 (__arch_compare_and_exchange_val_64_acq): Rewrite abort-calling
238 version of the macro to avoid compile-time warnings.
239 [! __PIC__] (__arch_compare_and_exchange_64_acq): Rename to above.
a60581ad
RM
240 (atomic_exchange_and_add, atomic_add): Fix name and usage of it.
241 (atomic_increment, atomic_decrement): Likewise.
242
4541b483
UD
2432003-03-21 Ulrich Drepper <drepper@redhat.com>
244
245 * sysdeps/x86_64/bits/atomic.h: Don't use matching memory constraints.
246 * sysdeps/i386/i486/bits/atomic.h: Likewise.
247
2923c644
RM
2482003-03-21 Roland McGrath <roland@redhat.com>
249
250 * include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix.
251
9f07eae2
UD
2522003-03-20 Ulrich Drepper <drepper@redhat.com>
253
254 * include/atomic.h: Define atomic_compare_and_exchange_val_acq,
255 atomic_compare_and_exchange_val_rel,
256 atomic_compare_and_exchange_bool_acq, and
257 atomic_compare_and_exchange_bool_rel instead of
258 atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel.
259 * sysdeps/i386/i486/bits/atomic.h: Define
260 __arch_compare_and_exchange_val_*_acq instead of
261 __arch_compare_and_exchange_*_acq.
262 * sysdeps/x86_64/bits/atomic.h: Likewise.
263 * sysdeps/ia64/bits/atomic.h: Define
264 __arch_compare_and_exchange_bool_*_acq instead of
265 __arch_compare_and_exchange_*_acq.
266 * sysdeps/powerpc/bits/atomic.h: Likewise.
267 * sysdeps/s390/bits/atomic.h: Likewise.
268 * gmon/mcount.c: Adjust for new form of compare&exchange macros.
269 * malloc/set-freeres.c: Likewise.
270 * nscd/cache.c: Likewise.
271 * stdlib/cxa_finalize.c: Likewise.
272 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
273
4b5e1c5f
AO
2742003-03-20 Alexandre Oliva <aoliva@redhat.com>
275
d20152e1
AO
276 * sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs.
277 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust.
278 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
279
4b5e1c5f
AO
280 * sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset
281 into high and low halves on n64.
282 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
283 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
284 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
285
6848aba6
UD
2862003-03-20 Ulrich Drepper <drepper@redhat.com>
287
288 * include/atomic.h (atomic_decrement_if_positive): Adjust for the
289 correct atomic_compare_and_exchange_acq semantics.
290
f1f8a9ec
AO
2912003-03-20 Alexandre Oliva <aoliva@redhat.com>
292
293 * sysdeps/mips/ieee754.h: Remove excess #endif.
294
2ff16e04
RM
2952003-03-20 Roland McGrath <roland@redhat.com>
296
297 * sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unused
298 variable. Remove superfluous memory clobber.
299
300 * include/atomic.h: Syntax braino fix.
301
302 * posix/tst-nice.c (do_test): Use %m formats instead of printing errno
303 in decimal. Don't bail if niced at start. Just check that nice call
304 bumps the total at all.
305
53fcb885
AO
3062003-03-20 Alexandre Oliva <aoliva@redhat.com>
307
308 * sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers,
309 including pc, gp, sp and fp, as long long.
310 * sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux.
311 * sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments.
312 Add gp argument, and set gp in the jmpbuf to it.
313 * sysdeps/mips/setjmp_aux.c: Revert to o32-only.
314
f79466a8
UD
3152003-03-20 Ulrich Drepper <drepper@redhat.com>
316
317 * include/atomic.h: Define atomic_exchange and
318 atomic_decrement_if_positive if not already defined. Add some
319 __builtin_expect.
320 * sysdeps/i386/i486/bits/atomic.h: Define atomic_exchange.
321 * sysdeps/x86_64/bits/atomic.h: Likewise.
322 * sysdeps/ia64/bits/atomic.h: Pretty printing. Define atomic_exchange.
323 * sysdeps/powerpc/bits/atomic.h: Pretty printing. Define
324 atomic_exchange, atomic_exchange_and_add, and
325 atomic_decrement_if_positive
326
50449bed
AO
3272003-03-20 Alexandre Oliva <aoliva@redhat.com>
328
bfd49d55
AO
329 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
330 with a single instruction.
331
50449bed
AO
332 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define
333 properly for n64.
334 (elf_machine_runtime_setup): Cast link_map pointer to Elf Addr
335 type.
336 (elf_machine_rel, elf_machine_rel_relative): Cast symidx to Elf
337 Word before comparing with gotsym. Take reloc_addr argument as
338 void*. Remove the code added for the compiler to drop any
339 alignment assumptions.
340
4009bf40
UD
3412003-03-19 Ulrich Drepper <drepper@redhat.com>
342
343 * Makefile (distribute): Add include/atomic.h and bits/atomic.h.
344 * include/atomic.h: New file.
345 * sysdeps/i386/i486/bits/atomic.h: New file.
346 * sysdeps/x86_64/bits/atomic.h: New file.
347 * sysdeps/s390/bits/atomic.h: New file.
348 * sysdeps/sh/bits/atomic.h: New file.
349 * sysdeps/ia64/bits/atomic.h: New file.
350 * sysdeps/powerpc/bits/atomic.h: New file.
351 * sysdeps/generic/bits/atomic.h: New file.
352 * sysdeps/i386/i486/atomicity.h: Removed.
353 * sysdeps/x86_64/atomicity.h: Removed.
354 * sysdeps/s390/s390-32/atomicity.h: Removed.
355 * sysdeps/s390/s390-64/atomicity.h: Removed.
356 * sysdeps/ia64/atomicity.h: Removed.
357 * sysdeps/powerpc/powerpc32/atomicity.h: Removed.
358 * sysdeps/powerpc/powerpc64/atomicity.h: Removed.
359 * elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust
360 use of macros from atomicity.h to new names and semantics.
361 * gmon_mcount.c: Likewise.
362 * malloc/set-freeres.c: Likewise.
363 * nscd/cache.c: Likewise.
364 * stdlib/cxa_finalize.c: Likewise.
365 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
366
ce3a4adf
AO
3672003-03-19 Alexandre Oliva <aoliva@redhat.com>
368
4009bf40 369 * sysdeps/mips/ieee754.h: New file, suitable to replace both
ce3a4adf
AO
370 ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept
371 mips-specific for now.
372
8c937b84
UD
3732003-03-19 Ulrich Drepper <drepper@redhat.com>
374
4009bf40 375 * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle
85b5767c
UD
376 hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>.
377 * stdlib/tst-strtod.c: Add test for the bug.
378
8c937b84
UD
379 * posix/tst-nice.c (do_test): Remove invalid of return value.
380 Don't run test if initial level != 0.
381
cb8ed941
UD
3822003-03-19 Amos Waterland <apw@us.ibm.com>
383
384 * posix/tst-nice.c: New file.
385 * posix/Makefile (tests): Add tst-nice.
386
32a448ed
RM
3872003-03-18 Roland McGrath <roland@redhat.com>
388
94659495
RM
389 * abilist: New directory of libfoo.abilist files maintained using
390 scripts/merge-abilist.awk and "make update-abi" rules.
391 * Makefile (distribute): Add abilist/*.abilist.
392 * Makerules [$(build-shared) = yes] [$(subdir)] (tests):
393 Depend on check-abi.
394
32a448ed
RM
395 * configure.in: Move $critic_missing check after all AC_CHECK_PROG_VER.
396 * configure: Regenerated.
397
398 * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64): Fix name.
399
dacb2bad
UD
4002003-03-18 Ulrich Drepper <drepper@redhat.com>
401
402 * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK
403 correctly.
404
a14b373c
UD
4052003-03-18 Steven Munroe <sjmunroe@us.ibm.com>
406
407 * sysdeps/powerpc/powerpc64/memcpy.S: New file.
408
d5cb8389
UD
4092003-03-18 Ulrich Drepper <drepper@redhat.com>
410
411 * Versions.def: Add GLIBC_2.3.3 for libpthread.
412
97026947
UD
4132003-03-17 Ulrich Drepper <drepper@redhat.com>
414
415 * sysdeps/generic/libc-start.c [!SHARED &&
416 !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.
417
98054a05
RM
4182003-03-17 Roland McGrath <roland@redhat.com>
419
420 * include/ctype.h: Revert last change.
421
0a8d8004
UD
4222003-03-17 Ulrich Drepper <drepper@redhat.com>
423
424 * argp/tst-argp1.c: Use test-skeleton.c.
425 * locale/tst-C-locale.c: Likewise.
426
c27d6848
AO
4272003-03-17 Alexandre Oliva <aoliva@redhat.com>
428
5a0e429d
AO
429 * sysdeps/mips/mips64/Implies: Move wordsize-64 to...
430 * sysdeps/mips/mips64/n64/Implies: New file.
431 * sysdeps/mips/mips64/n64/Makefile: New file.
432 * sysdeps/mips/mips64/n64/el/bits/endian.h: New file.
433 * sysdeps/mips/mips64/n32/Implies: New file.
434 * sysdeps/mips/mips64/n32/Makefile: New file.
435 * sysdeps/mips/mips64/n32/el/bits/endian.h: New file.
436 * sysdeps/unix/mips/mips64/n32/sysdep.h: New file.
437 * sysdeps/unix/mips/mips64/n64/sysdep.h: New file.
438 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file.
439 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file.
440 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file.
441 * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file.
442 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file.
443 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file.
444 * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file.
445 * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file.
446 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file.
447 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file.
448 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file.
449
fc32835a
AO
450 * sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use
451 lib64 for mips64/n64 and lib32 for mips64/n32.
452 (ldd_rewrite_script): Needed for all mips64 configurations.
453 * sysdeps/unix/sysv/linux/configure: Rebuilt.
454 * sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file.
455 * sysdeps/unix/sysv/linux/mips/mips64/Dist: New file.
456
c3b519b7
AO
457 * sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as
458 well.
459
c27d6848
AO
460 * sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process
461 asm/unistd.h into asm-unistd.h.
462 * sysdeps/unix/sysv/linux/mips/configure: Generated.
463 * sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing
464 of syscall list.
465 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file.
466 * sysdeps/unix/sysv/linux/mips/clone.S: Don't include
467 asm/unistd.h.
468
935af0f2
AO
469 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file.
470 * sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long
471 long type for registers on n32.
472
4947b4b2
AO
473 * sysdeps/mips/bits/wordsize.h: New file, appropriate for all
474 3 ABIs.
475 * sysdeps/mips/mips64/gmp-mparam.h: New file. Define
476 BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs.
477 * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros.
478 (__sigsetjmp_aux): Use them. Adjust for all 3 ABIs.
479 * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs.
480 * sysdeps/unix/mips/brk.S: Likewise.
481 * sysdeps/unix/mips/sysdep.S: Likewise.
482 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
483 * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise.
484 * sysdeps/mips/sys/ucontext.h: Likewise.
485 * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise.
486 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
487 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
488 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
489 * sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
490 * sysdeps/mips/mips64/setjmp.S: Likewise.
491 * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete.
492 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for
493 64-bit types.
494
b6e2f87a
UD
4952003-03-16 Ulrich Drepper <drepper@redhat.com>
496
497 * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here,
498 not at function level.
499 * sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise.
500
638bb1f3
RM
5012003-03-15 Roland McGrath <roland@redhat.com>
502
8112cc70
RM
503 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t
504 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
505 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise.
506 * nis/nis_table.c (__create_ib_request): Likewise.
507
eb64f8cb 508 * posix/fnmatch_loop.c: Add casts for signedness.
addc92bd 509 * nss/nss_files/files-hosts.c: Likewise.
eb64f8cb
RM
510 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
511 * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN.
512 * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT.
513
385cce41
RM
514 * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND,
515 get errors into the log file.
516 (libc_cv_broken_visibility_attribute): Likewise.
517 (libc_cv_broken_alias_attribute): Likewise.
518 (libc_cv_asm_weak_directive): Likewise.
519 (libc_cv_need_minus_P): Likewise.
520 (libc_cv_dot_text): Likewise.
521 (libc_cv_asm_global_directive): Likewise.
522 (libc_cv_asm_type_prefix): Likewise.
523 * configure: Regenerated.
524
638bb1f3
RM
525 * nscd/cache.c (cache_search): Give first arg type `request_type'.
526 * nscd/nscd.h: Update decl.
527
528 * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness.
529 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
530 * elf/dl-close.c (_dl_close): Likewise.
531 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t
532 * io/fts.c (fts_build): Likewise.
533 * elf/cache.c (add_to_cache): Likewise.
534 * locale/programs/locarchive.c (show_archive_content): Likewise.
535
536 * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use.
537
538 * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3
539 happy.
540 (__ctype_toupper_loc, __ctype_tolower_loc): Likewise.
541
c04dad40
UD
5422003-03-15 Ulrich Drepper <drepper@redhat.com>
543
544 * sysdeps/unix/sysv/linux/ia64/system.c: Use the generic Linux
545 code for most parts.
546
124dcac8
RM
5472003-03-15 Roland McGrath <roland@redhat.com>
548
7eecc0c2
RM
549 * sysdeps/unix/sysv/linux/i386/system.c: Moved to ...
550 * sysdeps/unix/sysv/linux/system.c: ... here.
551 (FORK): Don't #define if already #define'd.
552 * sysdeps/unix/sysv/linux/s390/system.c: File removed.
553 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]:
554 (__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64.
555
45e4762c
RM
556 * dlfcn/tst-dlinfo.c: New file.
557 * dlfcn/Makefile (tests): Add tst-dlinfo.
558 ($(objpfx)tst-dlinfo): New target.
559
560 * dlfcn/dlinfo.c: New file.
561 * dlfcn/Makefile (libdl-routines): Add it.
562 * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo.
563 * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo.
564 [__USE_GNU] (RTLD_DI_*): New enum constants.
565 [__USE_GNU] (Dl_serpath, Dl_serinfo): New types.
566 * elf/dl-load.c (cache_rpath): New inline function.
567 (_dl_map_object): Use it.
568 (_dl_rtld_di_serinfo): New function.
569 * sysdeps/generic/ldsodefs.h: Declare it.
570 * elf/Versions (ld: GLIBC_PRIVATE): Add it.
571
124dcac8
RM
572 * sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it.
573 (LIBC_START_MAIN, LIBC_START_MAIN_AUXVEC_ARG, MAIN_AUXVEC_ARG)
574 (INIT_MAIN_ARGS): Define, and #include <sysdeps/generic/libc-start.c>.
575 (__libc_start_main): Just call the generic one for most of the work.
576
577 * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a
578 static function by that name instead of BP_SYM (__libc_start_main).
579 [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument.
580 [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN.
581 [INIT_MAIN_ARGS]: Give INIT the same args as MAIN.
582
583 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_PLATFORM_AUXV]:
584 Use this macro for extra AT_* cases.
585 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV):
586 New macro, guts from ...
587 (__aux_init_cache): ... here, function removed.
588 (DL_PLATFORM_INIT): Don't define this.
589
590 * sysdeps/powerpc/powerpc32/memset.S: Put __cache_line_size in bss.
591 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
592
e993ec9a 593 * Versions.def (libthread_db): Add GLIBC_2.3.3 set.
124dcac8 594
39d8c1a2
RM
5952003-03-14 Roland McGrath <roland@redhat.com>
596
597 * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it.
598
c58859ce
RM
5992003-03-14 Jakub Jelinek <jakub@redhat.com>
600
601 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo.
602
603 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include
604 sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c.
605
44bc0afb
AO
6062003-03-14 Alexandre Oliva <aoliva@redhat.com>
607
882dda66
AO
608 * sysdeps/mips/fpu/bits/mathdef.h: New.
609 (__NO_LONG_DOUBLE_MATH): Define for o32.
610
4abdb6ca
AO
611 * sysdeps/mips/sys/asm.h: Formatting changes.
612 (PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs.
613 (CPADD): Define for all of them.
614 (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64,
615 SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP,
616 NARGSAVE): Define per ABI spec.
617 (END): Don't redefine.
618 (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA,
619 LONG_SRAV): Remove duplicate definitions.
620 (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI,
621 PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL,
622 PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32.
623 (PTR_LA): Define for all 3 ABIs.
624
365eccdb
AO
625 * sysdeps/mips/dl-machine.h: Include sys/asm.h.
626 (elf_machine_matches_host): Prevent linking of o32 and n32
627 together.
628 (elf_machine_dynamic): Document assumption on $gp.
629 (STRINGXP, STRINGXV, STRINGV_): New macros.
630 (elf_machine_load_address): Use them to stringize PTR_LA and
631 PTR_SUBU.
632 (ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS,
633 ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in...
634 (_dl_runtime_resolve): Adjust it for all 3 ABIs.
635 (__dl_runtime_resolve): Cast the symtab initializer to the
636 right type.
637 (RTLD_START): Use it. Adjust it for all 3 ABIs.
638 (elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP.
639 Handle 64-bit R_MIPS_REL composite relocation and accept
640 R_MIPS_64 relocations to shift addend size to 64 bits.
641 Document assumption regarding local GOT entries. Document
642 backward-compatibility departing from the ABI behavior in
643 applying relocations that reference section symbols, no longer
644 used. Support relocations to mis-aligned offsets.
645 * sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete.
646
d4c803f8
AO
647 * sysdeps/unix/sysv/linux/mips/readelflib.c: New file.
648
84c63a76
AO
649 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
650 (_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG.
651 * sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and
652 restore_rt functions. Use them.
653
44bc0afb
AO
654 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
655 .set mips2 on new abis.
656
564cd8b6
UD
6572003-03-13 Ulrich Drepper <drepper@redhat.com>
658
659 * posix/getconf.c: Recognize POSIX2_SYMLINKS.
660 * sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS.
661 * sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS.
662 * sysdeps/posix/pathconf.c: Likewise.
663 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
664 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
665 * sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks.
666
667 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic
668 words.
669
3be9dc8e
AO
6702003-03-14 Alexandre Oliva <aoliva@redhat.com>
671
672 * include/gmp.h: Include/gmp-mparam.h.
673 * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and
674 gmp-impl.h.
675
a77dcecf
AO
676 * elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if
677 ELF_MACHINE_NO_RELA is set.
678 * elf/rtld.c (dl_main): No prelink support for REL-only.
679
b5bac573
AO
680 * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32,
681 FLAG_MIPS64_LIBN64): Define.
682 * elf/cache.c (print_entry): Handle mips64 n32 and n64.
683
5ace1393
AO
684 * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
685 * sysdeps/mips/memset.S: Likewise.
686 * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11
687 depending on the ABI.
688
1b12a2cb
AO
689 * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add):
690 Don't .set mips2 on new abi.
691 (compare_and_swap): Likewise. Support 64-bit longs on n64.
692
264befa8
AO
693 * stdlib/fpioconst.h: Include gmp.h with angle brackets.
694
d8a5edc2
RM
6952003-03-13 Roland McGrath <roland@redhat.com>
696
697 * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs
698 found. Reported by Alexandre Oliva <aoliva@redhat.com>.
699
7002003-03-13 Alexandre Oliva <aoliva@redhat.com>
701
702 * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit
703 literals long long.
704 * stdlib/fpioconst.c: Likewise.
705 * stdlib/strtod.c: Likewise.
706
707 * sysdeps/mips/add_n.S: Use L macro for local labels.
708 * sysdeps/mips/addmul_1.S: Likewise.
709 * sysdeps/mips/lshift.S: Likewise.
710 * sysdeps/mips/memcpy.S: Likewise.
711 * sysdeps/mips/memset.S: Likewise.
712 * sysdeps/mips/mul_1.S: Likewise.
713 * sysdeps/mips/rshift.S: Likewise.
714 * sysdeps/mips/sub_n.S: Likewise.
715 * sysdeps/mips/submul_1.S: Likewise.
716 * sysdeps/mips/mips64/add_n.S: Likewise.
717 * sysdeps/mips/mips64/addmul_1.S: Likewise.
718 * sysdeps/mips/mips64/lshift.S: Likewise.
719 * sysdeps/mips/mips64/mul_1.S: Likewise.
720 * sysdeps/mips/mips64/rshift.S: Likewise.
721 * sysdeps/mips/mips64/sub_n.S: Likewise.
722 * sysdeps/mips/mips64/submul_1.S: Likewise.
723 * sysdeps/unix/mips/sysdep.h: Define L() according to ABI
724 conventions. Define END as in sys/asm.h.
725 * sysdeps/unix/mips/sysdep.S: Likewise.
726 * sysdeps/unix/mips/wait.S: Likewise.
727 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
728
729 * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double):
730 Cast shifted values that may be too narrow to mp_limb_t.
731 * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double):
732 Likewise.
733 * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float):
734 Likewise.
735 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c
736 (__mpn_extract_long_double): Likewise.
737 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c
738 (__mpn_construct_long_double): Likewise.
739 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c
740 (__mpn_extract_long_double): Likewise.
741 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c
742 (__mpn_construct_long_double): Likewise.
743
6461e577
RM
7442003-03-13 Roland McGrath <roland@redhat.com>
745
746 * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line
747 entries in the map file match too.
748
6fde8d53
AJ
7492003-03-13 Guido Guenther <agx@sigxcpu.org>
750
751 * sysdeps/unix/sysv/linux/mips/clone.S: introduce and use local
752 label .Lthread_start since current binutils don't allow branches
753 to globally visible symbols.
754
b5ec5617
UD
7552003-03-13 Jakub Jelinek <jakub@redhat.com>
756
757 * sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN,
758 ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3,
759 ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define.
760 (INTERNAL_SYSCALL, INLINE_SYSCALL): Use it. Make syscall arguments
761 clobbered by the syscall.
762 (ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5,
763 ASM_ARGS_6): Change constraints from r to index of corresponding
764 output register.
765 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap
766 ptid and ctid to match kernel.
767 * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise.
768
3cd69852
RM
7692003-03-12 Steven Munroe <sjmunroe@us.ibm.com>
770
b5ec5617 771 * sysdeps/powerpc/powerpc64/elf/configure.in: Remove
3cd69852 772 AC_DEFINE(PI_STATIC_AND_HIDDEN). Not supported for PowerPC64.
b5ec5617 773 * sysdeps/powerpc/powerpc64/elf/configure: Regenerated.
3cd69852 774
d63609a7
RM
7752003-03-11 Roland McGrath <roland@redhat.com>
776
777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
778 Check SYM_MAP rather than SYM as definedness check.
779 Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs.
780 Don't handle R_PPC64_REL24 reloc.
781 Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
782
783 * sysdeps/powerpc/powerpc64/dl-machine.h
784 [USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a
785 block, so we cover all the TPREL16* flavors without 6 ||s.
786 [USE_TLS] (elf_machine_tprel): New function.
787 (elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc,
788 and handle TPREL16 relocs too. Return rather than break for DTPREL64.
789 Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
790
b874af99
UD
7912003-03-11 Ralf Baechle <ralf@linux-mips.org>
792
793 * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal
794 instead of jalr to invoke subroutine so restoring the $gp register
795 will work properly.
796
6c477888
UD
7972003-03-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
798
799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define
800 to __NR_pread if not defined.
801 (__NR_pwrite64): Define to __NR_pwrite if not defined.
802
f006d3a0
UD
8032003-03-11 Jakub Jelinek <jakub@redhat.com>
804
805 * sysdeps/unix/sysv/linux/ia64/system.c: New file.
806 * sysdeps/unix/sysv/linux/kernel-features.h
807 (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with
808 kernel >= 2.5.64.
809
b33e6163
RM
8102003-03-11 Jakub Jelinek <jakub@redhat.com>
811
812 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1,
813 allocate space even for the trailing '/'.
814 Reported by John Reiser <jreiser@BitWagon.com>.
815
816 * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6,
817 ASM_CLOBBERS_6): Define.
818 (ASM_CLOBBERS_5): Use ASM_CLOBBERS_6.
819 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments
820 to match IA-32 order.
821 * sysdeps/unix/sysv/linux/i386/clone.S: Fix comment.
822
19afbd2c
RM
8232003-03-10 Steven Munroe <sjmunroe@us.ibm.com>
824
f006d3a0 825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7.
19afbd2c
RM
826 Copy extra params for NPTL to registers used in clone syscall.
827
ce2290cb
RM
8282003-03-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
829
830 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system
831 call names for pread and pwrite.
832
e48f9638
RM
8332003-03-10 Roland McGrath <roland@redhat.com>
834
d38c777e
RM
835 * dlfcn/Makefile (libdl-routines): Add dladdr1.
836 * dlfcn/dladdr1.c: New file.
837 * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1.
838 [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants.
839 * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and
840 a const ElfNN_Sym ** to fill in.
841 * include/dlfcn.h: Update decl. Include <link.h>.
842 * dlfcn/dladdr.c (dladdr): Update caller.
843 * malloc/mtrace.c (tr_where): Likewise.
844 * sysdeps/generic/elf/backtracesyms.c: Likewise.
845 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
846 * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1.
847 * Versions.def (libdl): Define GLIBC_2.3.3 set.
848
e48f9638
RM
849 * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for
850 assembler command.
851 * sysdeps/unix/Makefile (compile-syscall): New variable.
852 Pass -g0 to compiler for assembling syscall stubs from stdin.
853
854 * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO]
855 (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END):
856 Define these to do nothing.
857
858 * configure.in: New check for -g on .S files.
859 * configure: Regenerated.
860 * config.make.in (have-cpp-asm-debuginfo): New variable.
861 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef.
862 * Makeconfig (ASFLAGS): New variable, if undefined and
863 $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS).
864 * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
865
fcc60e3b
RM
8662003-03-09 Roland McGrath <roland@redhat.com>
867
868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args
869 used by NPTL on new kernels. From Paul Mackerras <paulus@samba.org>.
870
e51838c8
UD
8712003-03-09 Ulrich Drepper <drepper@redhat.com>
872
873 * po/fi.po: Update from translation team.
8049ef78 874 * po/ca.po: Likewise.
c37cae9e 875 * po/da.po: Likewise.
e51838c8 876
05ae97d8
UD
8772003-03-08 Ulrich Drepper <drepper@redhat.com>
878
879 * rt/tst-aio7.c (do_test): Change BYTES into a #define.
880
b6b9ee9b
UD
8812003-03-07 Ulrich Drepper <drepper@redhat.com>
882
fcc60e3b 883 * rt/tst-aio7.c (do_test): Give BUFF permanent extent, too.
35457070 884
b6b9ee9b
UD
885 * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.
886
6326c93c
RM
8872003-03-07 Roland McGrath <roland@redhat.com>
888
889 * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.
890 * sysdeps/s390/s390-64/sysdep.h (L): Likewise.
891
2090a1d0
AJ
8922003-03-04 Guido Guenther <agx@sigxcpu.org>
893
894 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
895 stubs, we have INLINE_SYSCALL.
896 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
897 MAP_NONBLOCK.
898
696efd11
RM
8992003-03-06 Roland McGrath <roland@redhat.com>
900
901 * rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1
902 permanent extent and add a comment about testing its implicit teardown.
903
f1a56a2b
RM
9042003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
905
906 * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.
907
49400d0e
UD
9082003-03-05 Ulrich Drepper <drepper@redhat.com>
909
910 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix
911 reversed __builtin_expect expectation.
912
5fc728a2
RM
9132003-03-05 Roland McGrath <roland@redhat.com>
914
915 * stdio-common/sscanf.c: Use prototype defn with ... syntax.
916 * libio/swscanf.c: Likewise.
917 * libio/swprintf.c: Likewise.
918
510793fd
RM
9192003-03-04 Roland McGrath <roland@redhat.com>
920
790eed83
RM
921 * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.
922 (elf_machine_rela): Always use RESOLVE_MAP, needed for
923 R_PPC64_JMP_SLOT as well as TLS cases.
924 (BIT_INSERT): Move parenthesis where it ought to have been.
925 Reported by Steven Munroe <sjmunroe@us.ibm.com>.
926
510793fd
RM
927 * posix/confstr.c (confstr): Correct STRING_LEN values for
928 _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing
929 break. Reported by Alexandre Julliard <julliard@winehq.com>.
930
0de28d5c
UD
9312003-03-04 Jakub Jelinek <jakub@redhat.com>
932
933 * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
934
269e8af7
UD
9352003-03-04 Ulrich Drepper <drepper@redhat.com>
936
e2b80a58
UD
937 * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new
938 clone parameters.
939
269e8af7
UD
940 * po/sv.po: Update from translation team.
941
330a187b 9422003-03-04 Andreas Jaeger <aj@suse.de>
269e8af7 943 Ulrich Drepper <drepper@redhat.com>
330a187b
AJ
944
945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments.
946
4f6f0a8f
UD
9472003-03-03 Ulrich Drepper <drepper@redhat.com>
948
cc775edf
UD
949 * sysdeps/generic/dl-sysdep.h: Add double include protection.
950
75081542
UD
951 * po/tr.po: Update from translation team.
952
6fffb9a2
UD
953 * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there
954 are holes between the segments. Only call mprotect to set
955 proection to PROT_NONE if there are some.
956
957 * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE.
958 Update comment.
959
4f6f0a8f
UD
960 * include/sched.h (__clone2): Use ... instead of adding all the
961 new parameters.
962
ce78b460
RM
9632003-03-03 Roland McGrath <roland@redhat.com>
964
868b9d6a
RM
965 * elf/dl-load.c (struct filebuf): Fix typo in last change.
966
ce78b460
RM
967 * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define
968 PI_STATIC_AND_HIDDEN.
ce78b460 969
625f22fc
UD
9702003-03-03 Ian Wienand <ianw@gelato.unsw.edu.au>
971
972 * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone
973 flags.
974 * include/sched.h: Update clone2 prototype.
975
71502ebe
UD
9762003-03-03 Andreas Jaeger <aj@suse.de>
977
978 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition.
979 (llrint): Use it to correct return type.
980 (lrint): Likewise.
981 (lround): Likewise.
982 (llround): Likewise.
983
d15a8404
UD
9842003-03-03 Ulrich Drepper <drepper@redhat.com>
985
ca97fb53
UD
986 * elf/dl-load.c (struct filebuf): For 64-bit platforms use 640
987 byte filebuf size.
988
1739d268
UD
989 * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor
990 if ccs parameter isn't valid. Reported by Andreas Schwab.
991
9922003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
993
994 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support
995 for system call numbers > 255.
996 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL,
997 INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
998 INTERNAL_SYSCALL): Likewise.
999 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
1000 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL,
1001 INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
1002 INTERNAL_SYSCALL): Likewise.
1003
10042003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
1005
1006 * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv
1007 array if it is the initial dtv.
1008
10092003-03-03 Ulrich Drepper <drepper@redhat.com>
1010
1011 * po/es.po: Update from translation team.
1012 * po/fr.po: Likewise.
71502ebe 1013 * po/gl.po: Likewise.
1739d268
UD
1014 * po/sk.po: Likewise.
1015 * po/sv.po: Likewise.
1016
d15a8404
UD
1017 * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry.
1018 * misc/sys/mman.h: Add prototype for remap_file_pages.
1019 * sysdeps/generic/remap_file_pages.c: New file.
3c531a87 1020 * misc/Makefile (routines): Add remap_file_pages.
a05be180 1021 * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.
d15a8404
UD
1022
1023 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE
1024 and MAP_NONBLOCK.
1025 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1026 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise
1027 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
1028 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
1029 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
1030 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
1031 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
1032 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
1033
ea6a015b
RM
10342003-03-03 Roland McGrath <roland@redhat.com>
1035
a49f5762
RM
1036 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
1037 * sysdeps/ia64/dl-machine.h: Likewise.
1038 * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
1039 argument type.
1040 * sysdeps/ia64/dl-lookupcfg.h: Update decl.
1041
1042 * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias.
1043 * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias.
1044 * locale/Versions (libc: GLIBC_2.3): Move those to ...
1045 * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file.
1046 * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise.
1047 * Versions.def (libc): Add GLIBC_2.3.3 set.
1048
ea6a015b
RM
1049 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
1050 * sysdeps/ia64/dl-machine.h: Update decl.
1051
62584540
AJ
10522003-03-03 Andreas Jaeger <aj@suse.de>
1053
d15a8404 1054 * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
62584540 1055
78c3fb45
RM
10562003-03-02 Roland McGrath <roland@redhat.com>
1057
1058 * scripts/abilist.awk: Reject data items with apparent 0 size.
1059
1060 * scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar
1061 after foo.* as if it were a duplicate.
1062
1063 * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.
1064
885bafa1
UD
10652003-03-02 Ulrich Drepper <drepper@redhat.com>
1066
1be3d664
UD
1067 * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
1068
885bafa1
UD
1069 * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC.
1070 * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only
1071 if not already defined. Use SYSDEP_GETRES to allow other files to
1072 provide alternative implementations.
1073 * sysdeps/unix/sysv/linux/clock_getres.c: New file
1074 * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only
1075 if not already defined. Use SYSDEP_GETTIME to allow other files to
1076 provide alternative implementations.
1077 * sysdeps/unix/sysv/linux/clock_gettime.c: New file.
1078 * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only
1079 if not already defined. Use SYSDEP_GETTIME to allow other files to
1080 provide alternative implementations.
1081 * sysdeps/unix/sysv/linux/clock_settime.c: New file.
1082 * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow
1083 other files to provide alternative implementations. Rearrange
1084 tests for invalid parameters.
1085 * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file.
1086 * sysdeps/unix/sysv/linux/sysconf.c: New file.
1087 * sysdeps/unix/sysv/linux/kernel-features.h: Define
78c3fb45 1088 __ASSUME_POSIX_TIMERS for Linux 2.5.63 and up.
885bafa1
UD
1089 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
1090 _POSIX_MONOTONIC_CLOCK.
1091
bb0ddc2f
RM
10922003-03-02 Roland McGrath <roland@redhat.com>
1093
8f3846a9
RM
1094 * scripts/merge-abilist.awk: More checks for bogus input.
1095 Uniquify duplicate config names.
1096
1097 * scripts/abilist.awk: Don't distinguish weak symbols in normal output.
1098
7551556f
RM
1099 * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed
1100 from dl_reloc_overflow, make global.
1101 (__process_machine_rela): Update callers.
1102 * sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow.
1103 Add attribute_hidden to __process_machine_rela decl.
1104 (elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs.
1105
3a601d31
RM
1106 * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const
1107 variable.
1108
bb0ddc2f
RM
1109 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1110 Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED].
1111 (elf_machine_rela): Clean up.
1112
1113 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up.
1114
1115 PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>.
1116 * sysdeps/powerpc/powerpc32/elf/configure.in: New file.
1117 * sysdeps/powerpc/powerpc32/elf/configure: New generated file.
1118 * elf/tls-macros.h [__powerpc__ && !__powerpc64__]
1119 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them.
1120 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support
1121 new relocs for TLS.
1122
1123 * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
1124 macros out of [SHARED].
1125 (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.
1126
1127 * elf/elf.h: Define R_PPC_* relocs for TLS support.
1128 Clean up R_PPC64_* macro definition comments.
7ed33cba 1129
d1149385
RM
1130 * configure.in: In "running configure fragment for" message,
1131 omit $srcdir from the name if we prepended it.
1132 * configure: Regenerated.
1133
7ed33cba
RM
1134 * elf/dl-reloc.c (allocate_static_tls): Fix calculations.
1135 From Jakub Jelinek <jakub@redhat.com>.
1136
1137 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change,
1138 which duplicated the O_DIRECT defn.
1139
11402003-03-01 GOTO Masanori <gotom@debian.or.jp>
1141
1142 * stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived
1143 random functions.
1144
4191f43d
AS
11452003-03-01 Andreas Schwab <schwab@suse.de>
1146
7ed33cba
RM
1147 * resolv/Makefile (tests): Don't depend on
1148 $(objpfx)mtrace-tst-leaks when cross compiling.
1149
4191f43d
AS
1150 * sysdeps/m68k/dl-machine.h (_dl_start_user): Access
1151 __libc_stack_end through GOT since it is a global symbol.
1152
85c54a32
UD
11532003-03-01 GOTO Masanori <gotom@debian.or.jp>
1154
1155 * argp/argp.h: Fix a typo.
1156 Reported by H.S.Teoh <hsteoh@quickfur.ath.cx>.
1157
1158 * manual/terminal.texi: Fix cfmakeraw() definition from int to void.
1159
11602003-02-27 Pat Rankin <rankin@pactechdata.com>
1161
1162 * posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to
1163 char *.
1164 (get_subexp): Likewise.
1165
a6861e64
UD
11662003-03-01 GOTO Masanori <gotom@debian.or.jp>
1167
1168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define.
1169
11702003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
1171
1172 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define.
1173
a6963e69
RM
11742003-02-27 Roland McGrath <roland@redhat.com>
1175
1176 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove
1177 special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to
1178 repeat it and avoids the test for the common case.
1179 Clean up and fix calculations for TLS relocs.
1180
1181 * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ...
1182 * sysdeps/powerpc/dl-tls.h: ... here.
1183 (TLS_TP_OFFSET): New macro.
1184
1185 * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.
1186
427f5fa1
UD
11872003-02-27 Ulrich Drepper <drepper@redhat.com>
1188
1189 * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to
1190 code generation changes in recent gcc.
1191
73a061bb
RM
11922003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
1193
1194 * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):
1195 Rename argument to avoid symbol conflict.
1196
1197 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
1198 [__USE_GNU] (O_DIRECT): New macro.
1199
d2637c70
UD
12002003-02-24 David Mosberger <davidm@hpl.hp.com>
1201
1202 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
1203 unwind info.
1204
d148ed25
UD
12052003-02-27 Ulrich Drepper <drepper@redhat.com>
1206
e361e438
UD
1207 * resolv/res_libc.c [USE___THREAD] (_res): Don't need the
1208 initializer anymore now that res_thread_freeres is more careful.
1209
d148ed25
UD
1210 * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages
1211 except the PKTINFO. Reset interface in PKTINFO.
dbf6131c 1212 Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].
d148ed25 1213
fec41719
RM
12142003-02-25 Steven Munroe <sjmunroe@us.ibm.com>
1215
d148ed25
UD
1216 * elf/elf.h: Add new R_PPC64_* relocs for TLS.
1217 * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
1218 Define.
fec41719
RM
1219 * sysdeps/powerpc/powerpc64/elf/configure.in: New file.
1220 * sysdeps/powerpc/powerpc64/elf/configure: New file (generated).
afafddab
RM
1221 * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.
1222 * sysdeps/powerpc/powerpc64/dl-tls.h: New file.
fec41719 1223
d148ed25 1224 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
fec41719
RM
1225 Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
1226
56ce76ea
AJ
12272003-02-25 Andreas Jaeger <aj@suse.de>
1228
1229 * manual/memory.texi (Malloc Tunable Parameters): Clarify
1230 behaviour of M_MMAP_THRESHOLD.
1231
724fad20
RM
12322003-02-25 Roland McGrath <roland@redhat.com>
1233
1234 * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is
1235 zero, inidicating _res was not initialized yet.
1236
80d80779
UD
12372003-02-24 Ulrich Drepper <drepper@redhat.com>
1238
1239 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES
1240 test.
1241
81b47a8b
RM
12422003-02-24 Roland McGrath <roland@redhat.com>
1243
1244 * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.
1245
de217051
RM
12462003-02-23 Roland McGrath <roland@redhat.com>
1247
1248 * sysdeps/posix/pause.c: New file.
1249 * sysdeps/unix/common/pause.c: File removed.
1250
fd1a0d0c
UD
12512003-02-23 Ulrich Drepper <drepper@redhat.com>
1252
cdd8e46f
UD
1253 * sysdeps/generic/bits/confname.h: Remove #ifs.
1254
5a6bbb41
UD
1255 * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition.
1256 * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.
1257
fd1a0d0c
UD
1258 * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock
1259 element to -1.
1260
249062b0
UD
12612003-02-22 Ulrich Drepper <drepper@redhat.com>
1262
1263 * sysdeps/generic/dl-sysdep.c: Avoid warning.
1264
92cc462c
RM
12652003-02-22 Roland McGrath <roland@redhat.com>
1266
ce84ab61
RM
1267 * resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.
1268 * resolv/Makefile (tests): Add tst-leaks.
1269 ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so.
1270 (tst-leaks-ENV): New variable.
1271 ($(objpfx)mtrace-tst-leaks): New target.
1272 (tests): Depend on it.
1273
d2d442a5
RM
1274 * include/libc-internal.h: Declare __libc_thread_freeres.
1275
7a0c303e
RM
1276 * Makerules: Fix last change to use $($(subdir)-version) when set.
1277
cc8bfce9
RM
1278 * Makerules (install-lib-nosubdir): Depend on installed
1279 libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed
1280 regardless of the libfoo.so target's dependencies.
1281
92cc462c
RM
1282 * MakeTAGS (sub-make-vars): New variable, includes generating=t.
1283 Use that in $(MAKE) calls.
1284
e57f9f75
UD
12852003-02-22 Ulrich Drepper <drepper@redhat.com>
1286
819c56e7
UD
1287 * catgets/gencat.c (read_input_file): Collision between
1288 auto-assigned numbers and user-defined nubmers is not fatal.
1289 Handle it.
1290 Patch by Michael M. Lampkin <michael.lampkin@ieee.org>.
c780aa21
UD
1291 * catgets/Makefile: Add rules to run test2.msg test.
1292 * catgets/test2.msg: New file.
819c56e7
UD
1293
1294 * catgets/gencat.c (main): Return 1 if messages have been printed.
1295
757f9fcb
UD
1296 * iconv/iconv_prog.c (main): Unify messages.
1297
e57f9f75
UD
1298 * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word
1299 when shifting retval.
1300 * stdlib/tst-strtod.c (main): Add strtold test case.
1301 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1302
e8783fd5
RM
13032003-02-21 Roland McGrath <roland@redhat.com>
1304
2a3d906e
RM
1305 * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT.
1306 * sunrpc/rpc_thread.c: Likewise for text_set_element use.
1307 (__rpc_thread_destroy): Add it to __libc_subfreeres too.
1308
1309 * include/resolv.h: Add libc_hidden_proto for __res_nclose.
1310 * resolv/res_init.c (__res_nclose): Add libc_hidden_def.
1311 (res_thread_freeres): New function, on __libc_thread_subfreeres and
1312 __libc_subfreeres.
1313
1314 * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres.
e8783fd5
RM
1315 * malloc/thread-freeres.c: New file.
1316 * malloc/Makefile (aux): Add it.
2a3d906e 1317 * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed.
e8783fd5
RM
1318 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section
1319 "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set.
1320
1321 * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
1322 * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.
1323
13242003-02-21 Roland McGrath <roland@frob.com>
1325
1326 * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open.
1327
1328 * iconvdata/Makefile (tests): Add bug-iconv3 only if
1329 [$(have-thread-library) = yes].
1330
1c848253
UD
13312003-02-21 Ulrich Drepper <drepper@redhat.com>
1332
9c03686d
UD
1333 * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.
1334
1c848253
UD
1335 * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do
1336 not chechk for errors (unless testing for 32bit variant).
1337 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1338 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1339 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1340
6f50cb00
UD
13412003-02-21 Jakub Jelinek <jakub@redhat.com>
1342
1343 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>:
1344 Check for signed overflow, not unsigned.
1345
cef0a48d
UD
1346 * sysdeps/sparc/sparc64/elf/configure.in: New file.
1347 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS):
1348 Use -fcall-used-g6, not -fcall-used-g7.
1349
dd3608b9
AJ
13502003-02-21 Andreas Jaeger <aj@suse.de>
1351
1352 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
1353 mode.
1354
1355 * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
1356 clear whole mxcsr but only exceptions.
1357
59fed0e2
RM
13582003-02-21 Roland McGrath <roland@redhat.com>
1359
1360 * Makerules: Filter $(install-lib-ldscripts) out of list of targets
1361 for libfoo.so that need $(make-link) rules.
1362
36f0ccda
RM
13632003-02-21 Roland McGrath <roland@frob.com>
1364
1365 * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
1366 to match existing struct stat layout in mig protocols.
1367
ec503662
UD
13682003-02-20 Ulrich Drepper <drepper@redhat.com>
1369
1370 * version.h (VERSION): Bump to 2.3.2.
1371
1372 * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp,
1373 tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c,
1374 and dl-sysdep.h.
1375 * sysdeps/generic/Dist: Add sysdep-cancel.h.
1376 * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h.
1377 * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S.
1378 * sysdeps/unix/sysv/linux/Dist: Add pathconf.h.
1379 * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h.
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and
1381 ucontext_i.h.
1382 * Makefile (distribute): Add include/stubs-prologue.h,
1383 include/gnu/stubs.h, scripts/merge-abilist.awk, and
1384 scripts/extract-abilist.awk.
1385
af57745c
RM
13862003-02-20 Roland McGrath <roland@redhat.com>
1387
1388 * math/Makefile (distribute): Don't add generated files.
1389
6314208a
UD
13902003-02-20 Ulrich Drepper <drepper@redhat.com>
1391
6314208a
UD
1392 * math/Makefile: Rearrange variable definitions slightly to get
1393 definition in the right order.
1394
ab10a294
RM
13952003-02-20 Roland McGrath <roland@redhat.com>
1396
1397 * Makerules: Clean up conditional around include of tls.make.
1398 * Make-dist: Export generating=t to prevent using that.
1399 (+distinfo): Likewise for $(shell $(MAKE) ...) runs.
1400
54e1cabc
UD
14012003-02-20 Ulrich Drepper <drepper@redhat.com>
1402
1403 * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap
1404 around in search if port IPPORT_RESERVED/2 has been test.
1405
ec503662 14062002-02-20 Paolo Bonzini <bonzini@gnu.org>
54e1cabc
UD
1407
1408 * posix/regcomp.c: Remove inclusions.
1409 * posix/regexec.c: Likewise.
1410 * posix/regex_internal.c: Likewise.
1411 * posix/regex_internal.h: Add inclusions here.
1412 * posix/regex.c: Only include sys/types.h before regex.h. Include
1413 regex_internal.h here. Include regex_internal.c before regcomp.c
1414 and regexec.c (might expose more opportunities to the C compiler).
1415
1416 * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC.
1417
1418 * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo.
1419 [!_LIBC] (__wcrtomb): New definition.
1420 [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and
1421 HAVE_LOCALE_H as well.
1422
6eb74f33
UD
14232003-02-20 Ulrich Drepper <drepper@redhat.com>
1424
1425 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete
1426 patch to check for system call errors.
1427
05856976
UD
14282002-07-24 Philip Blundell <philb@gnu.org>
1429
1430 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
1431 on unknown systems.
1432
14332003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1434
1435 * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround.
1436 * sysdeps/unix/sysv/linux/kernel-features.h
1437 (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl
1439 if possible.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short
1441 interprocedure branches.
1442 * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to...
1443 * sysdeps/powerpc/nofpu/Dist: ...here.
1444 * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to...
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
1446 * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete.
1447 * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete.
1448 * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
1449
a592f998
UD
14502003-02-18 Alan Modra <amodra@bigpond.net.au>
1451
1452 * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine.
1453
44ed664b
UD
14542003-02-20 Philip Blundell <philb@gnu.org>
1455
1456 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
1457 missing arguments to INTERNAL_SYSCALL_ERROR_P and
1458 INTERNAL_SYSCALL_ERRNO.
1459
ffdcfcb0
UD
14602003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1461
1462 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
1463 for __ASSUME_32BITUIDS.
1464
4b2ed419
AS
14652003-02-20 Andreas Schwab <schwab@suse.de>
1466
1467 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and
1468 POSIX_MADV_* constants.
1469
01b28852
UD
14702003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1471
1472 * sysdeps/unix/sysv/linux/sh/pread.c: New file.
1473 * sysdeps/unix/sysv/linux/sh/pread64.c: New file.
1474 * sysdeps/unix/sysv/linux/sh/pwrite.c: New file.
1475 * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file.
1476
a70e514b
UD
14772003-02-19 Jiro Sekiba <jir@yamato.ibm.com>
1478
1479 * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate.
1480
ade67411
RM
14812003-02-16 Roland McGrath <roland@redhat.com>
1482
1483 * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.
1484
1c524710
UD
14852003-02-19 Ulrich Drepper <drepper@redhat.com>
1486
01b28852 1487 * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off
1c524710 1488 decimal input digits.
b5f7b119 1489 * stdlib/tst-strtod.c (main): Add test for strtof bug.
1c524710 1490
2f7dc594
UD
14912003-02-18 Ulrich Drepper <drepper@redhat.com>
1492
1493 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
1494 invalid file descriptors and missing access permissions.
1495
46d7e2ba
UD
14962003-02-17 Ulrich Drepper <drepper@redhat.com>
1497
8bd3f184 1498 * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has
2cfe49db
UD
1499 been found.
1500
46d7e2ba
UD
1501 * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
1502 TTY_NAME_MAX and not the _POSIX_* minimal value macros.
1503 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
1504 and LOGIN_NAME_MAX.
1505
b2740a3b
UD
15062003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
1507 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1508
1509 * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP.
1510 * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling.
1511 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1512 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1513 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1514
81b50572
UD
15152003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1516
1517 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
1518 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
1519 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
1520 * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
1521 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
1522 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.
1523
1524 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
1526 * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
1528
1529 * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
1530 * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
1531 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
1532 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
1533
fdcd8f9c
UD
15342003-02-14 Thorsten Kukuk <kukuk@suse.de>
1535
1536 * nss/getent.c (print_hosts): Print all IP addresses of one host.
1537
7125d3cf
RM
15382003-02-15 Roland McGrath <roland@frob.com>
1539
8321ef15
RM
1540 * sysdeps/mach/hurd/tls.h: New file.
1541 * sysdeps/mach/hurd/i386/tls.h: New file.
1542
b0104b6f
RM
1543 * mach/errsystems.awk: Include <errno.h> in generated output.
1544
7125d3cf
RM
1545 * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
1546 use target mach-before-compile instead of generated.
1547 (mach-before-compile): New target.
1548 * Makerules: Disable use of tls.make if $(generating) is set.
1549 * mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
1550 * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
1551 mach-shortcuts.h so mach/ generation happens before hurd/.
1552
47202270
UD
15532003-02-14 Ulrich Drepper <drepper@redhat.com>
1554
a439bb2f
UD
1555 * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa
1556 of demorm correctly if low word is zero.
1557 Reported by Fred J. Tydeman <tydeman@tybor.com>.
757de559
UD
1558 * math/libm-test.inc (nextafter_test): New test, but disabled due
1559 to gcc bug.
a439bb2f 1560
47202270
UD
1561 * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread
1562 counter and only call __exit_thread if this is not the last thread.
1563
dac0f772
UD
15642003-02-13 Jakub Jelinek <jakub@redhat.com>
1565
1566 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of
1567 subtracting map->l_tls_offset.
1568
7437cbd1
UD
15692003-02-12 Ulrich Drepper <drepper@redhat.com>
1570
2067577c
UD
1571 * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and
1572 _CS_GNU_LIBPTHREAD_VERSION.
1573 * posix/conststr.c: Handle these new values.
1574 * posix/getconf.c: Likewise.
1575
7437cbd1
UD
1576 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix
1577 masking of version index.
1578 Patch by Lance Larsh <Lance.Larsh@oracle.com>.
1579
969c9da7
UD
15802003-02-11 Ulrich Drepper <drepper@redhat.com>
1581
1582 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment
1583 correctly. Reported by Thorsten Kukuk.
1584
e5ffa64a
UD
15852003-02-10 Ulrich Drepper <drepper@redhat.com>
1586
1587 * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and
1588 _BSD_SOURCE to compiler.
1589 * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings.
1590 Patches by Alan Modra.
1591
34c86f42
UD
15922003-02-08 Ulrich Drepper <drepper@redhat.com>
1593
1594 * io/ftwtest.c: Get current working directory before and after the
1595 nftw call and make sure they match.
1596
15972003-02-08 Jim Meyering <jim@meyering.net>
1598
2067577c 1599 * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
34c86f42
UD
1600 the current directory, not just when DIR contains a slash.
1601 Reported by Manoj Srivastava.
1602
ae9ecd08
UD
16032003-02-07 Jim Meyering <jim@meyering.net>
1604
1605 * io/ftw.c: Add autoconf-recommended block of alloca-related code.
1606 Include autoconf-recommended block of dirent/NAMELEN-related
1607 definitions and includes. Use NAMELEN throughout, rather than
1608 _D_EXACT_NAMLEN.
1609 [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN.
1610 [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd.
1611 (stpcpy): Declare, if necessary.
1612 (mempcpy): Define, if necessary.
1613 [!_LIBC] (__stpcpy, __mempcpy): Define.
1614 [!_LIBC] (LXSTAT, XSTAT): Define.
1615 (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.
1616 (find_object): Don't use c99-style struct initializer.
1617 Tweak wording in a couple comments.
1618
2a051a7d
UD
16192003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1620
1621 * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list
1622 for SH.
1623 * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD
1624 after the trapa instruction.
1625 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional
1626 parameters.
1627 * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file.
1628 (NEED_SYSCALL_INST_PAD): Define.
1629 * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to
1630 avoid to use definition for the kernel.
1631 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1632 Save and restore the frame pointer.
1633 (SYSCALL_INST_PAD): Define.
1634 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
1635 (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD
1636 after trapa instruction.
1637 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
1638 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
1639
1f503475
UD
16402003-02-07 Jakub Jelinek <jakub@redhat.com>
1641
1642 * resolv/res_libc.c (_res): Ensure _res is not common symbol,
1643 so that it can have aliases.
1644 * inet/herrno.c (h_errno): Put it into .bss not .data section.
1645
eecc378c
UD
16462003-02-07 Ulrich Drepper <drepper@redhat.com>
1647
1648 * elf/dl-runtime.c (fixup): Correct typo in version index computation.
1649 (profile_fixup): Likewise.
1f503475 1650 Patch by Lance Larsh <Lance.Larsh@oracle.com>.
eecc378c 1651
ce96c93d
UD
16522002-11-24 Robert Love <rml@tech9.net>
1653
1654 * posix/sched.h: Second parameter of sched_setaffinity and
1655 sched_getaffinity is `unsigned int', not `unsigned long'.
1656 * sysdeps/generic/sched_setaffinity.c: Likewise.
1657 * sysdeps/generic/sched_getaffinity.c: Likewise.
1658
e0f86659
UD
16592003-02-05 Ulrich Drepper <drepper@redhat.com>
1660
432cf458 1661 * debug/catchsegv.sh: Fix typo in error messsage.
ce96c93d 1662 Reported by John Levon <levon@movementarian.org>.
432cf458 1663
5cd09cd6
UD
1664 * sysdeps/unix/sysv/linux/posix_fadvise.c: New file.
1665 * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall.
1666 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1667 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1669 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1670 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1671
e0f86659
UD
1672 * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked.
1673 Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>.
1674
5049f197
UD
16752003-02-05 Jim Meyering <jim@meyering.net>
1676
1677 Fix a heap-corrupting bug.
1678 * io/ftw.c: Include <limits.h>.
1679 (PATH_MAX) [!defined PATH_MAX]: Define to 1024.
1680 (process_entry): Allocate enough space to hold the resulting
1681 file name. Don't presume that 2*dirbufsize is enough.
1682 (ftw_startup): Always use PATH_MAX to compute buffer size, now that
1683 it is guaranteed to be defined.
1684
6f1cff95
UD
16852003-02-04 Ulrich Drepper <drepper@redhat.com>
1686
1687 * iconvdata/Makefile: Add rules to build and run bug-iconv3.
1688 * iconvdata/bug-iconv3.c: New file.
1689
b33b0d0d
UD
16902003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
1691
1692 * sysdeps/unix/sysv/linux/s390/system.c: New file.
1693
6900ded2
UD
16942003-02-03 Jakub Jelinek <jakub@redhat.com>
1695
1696 * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New
1697 check.
1698 * config.h.in (BROKEN_SPARC_WDISP22): Add.
1699
663684b2
UD
17002003-02-03 Ulrich Drepper <drepper@redhat.com>
1701
1702 * sysdeps/i386/i686/memmove.S: New file.
1703
3e4fc359
UD
17042003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
1705
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c:
1707 Include kernel-features.h
1708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1712
75dec09e
UD
17132003-02-02 Jakub Jelinek <jakub@redhat.com>
1714
1715 * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers.
1716
78e88510
UD
17172003-01-25 Jim Meyering <jim@meyering.net>
1718
1719 * io/ftw.c (object_compare): Compare inode numbers before device
1720 numbers, since the former are much more likely to differ.
1721
38e68573
UD
17222003-02-01 Ulrich Drepper <drepper@redhat.com>
1723
1724 * time/tzfile.c (__tzfile_compute): Change return value type to
1725 void. Adjust return statements.
1726 * include/time.h (__tzfile_compute): Adjust prototype.
1727
17282003-02-01 Jim Meyering <jim@meyering.net>
1729
1730 * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute
1731 always returns 1.
1732
17332003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
1734
1735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
1736 [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS.
1737
17382003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
1739
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1741 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1743 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1745 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1747 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
1748
17492003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
1750
1751 * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel
1752 back to 2.4.19 for powerpc64.
1753 * sysdeps/unix/sysv/linux/kernel-features.h
1754 (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64.
1755 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64.
1756
17572003-02-01 Ulrich Drepper <drepper@redhat.com>
1758
1759 * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for
1760 platforms with strange alignment requirements on wchar_t.
1761
b67fcc1e
UD
17622003-01-31 Andreas Schwab <schwab@suse.de>
1763
1764 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_*
1765 aliases, already added by make-syscalls.sh.
1766 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1767 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1768 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1769 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1770 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1771 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1772 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1773 * sysdeps/unix/inet/syscalls.list: Likewise.
1774 * sysdeps/unix/syscalls.list: Likewise.
1775
fb784fd5
AS
17762003-01-31 Andreas Schwab <schwab@suse.de>
1777
1778 * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed
1779 any more.
1780
c4c1336c
UD
17812003-01-30 Jakub Jelinek <jakub@redhat.com>
1782
1783 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg,
1784 not l to load tls from stack.
1785
d6f5e721
RM
17862003-01-30 Roland McGrath <roland@redhat.com>
1787
1788 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for
1789 null argument before all else.
1790 Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1791
7ba7c829
UD
17922003-01-30 Jakub Jelinek <jakub@redhat.com>
1793
1794 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel):
1795 Move to RESOLVE protected part of the header.
1796 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel):
1797 Likewise.
1798
17992003-01-30 Ulrich Drepper <drepper@redhat.com>
1800
1801 * stdio-common/Makefile (tests): Add bug15.
1802 (bug15-ENV): Define.
1803 * stdio-common/bug15.c: New file.
1804
886d5973
UD
18052002-10-07 Wolfram Gloger <wg@malloc.de>
1806
1807 * malloc/malloc.c (sYSMALLOc): Only check for breakage due
1808 to foreign sbrk()'s if arena is contiguous. Bug report from
1809 Bruno Haible <bruno@clisp.org>.
1810
18112003-01-30 Jakub Jelinek <jakub@redhat.com>
1812
1813 * sysdeps/s390/libc-tls.c: Include stdlib.h.
1814
18152003-01-30 Jakub Jelinek <jakub@redhat.com>
1816
1817 * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of
1818 ps.__count.
1819
18202003-01-30 Ulrich Drepper <drepper@redhat.com>
1821
1822 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and
1823 restoring of %r6.
1824 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use
1825 64-bit load.
1826 Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1827
18282003-01-30 Jakub Jelinek <jakub@redhat.com>
1829
1830 * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error...
1831 (allocate_static_tls): ...here. Add __attribute_noinline__.
1832 Don't return on failure.
1833 (_dl_reloc_bad_type): Add __attribute_noinline__.
1834 * elf/do-rel.h (elf_dynamic_do_rel): Add
1835 __attribute__((always_inline)).
1836 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
1837 elf_machine_rel_relative, elf_machine_rela_relative,
1838 elf_machine_lazy_rel): Add prototypes with
1839 __attribute__((always_inline)).
1840
18412003-01-29 David Mosberger <davidm@hpl.hp.com>
1842
1843 * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.
1844
871afd6b
RM
18452003-01-29 Roland McGrath <roland@redhat.com>
1846
1847 * configure.in: Barf if configured in $srcdir.
871afd6b 1848
1e49399d
UD
18492003-01-28 Steven Munroe <sjmunroe@us.ibm.com>
1850
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
1e2f8718 1852 (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL.
1e49399d 1853
db34912e
UD
18542003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1855
1856 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional
1857 clone parameters to match the order used on ia32.
1858 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1859
e6ebd2e4
UD
18602003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1861
1862 * elf/elf.h: Add new s390 relocs.
1863 * elf/tls-macros.h: Add s390 versions.
1864 * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset.
1865 * sysdeps/s390/dl-tls.h: New file.
1866 * sysdeps/s390/libc-tls.c: New file.
1867 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS
1868 relocs for class PLT.
1869 (elf_machine_rela): Handle TLS relocs.
1870 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1871 * sysdeps/s390/s390-32/elf/configure.in: Add TLS check.
1872 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
1873 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for
1874 CLONE_CHILD_*TID flags.
1875 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1876 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32
1877 bit offset.
1878 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1879 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1880 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
1881 Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant.
1882 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
1883 Likewise.
1884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1885 (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER.
1886 (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
1887 variants.
1888 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h:
1889 (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use
1890 direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT.
1891 (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
1892 variants.
1893
772e3426
UD
18942003-01-28 Ulrich Drepper <drepper@redhat.com>
1895
1896 * sysdeps/unix/common/pause.c (do_pause): New function. Split
1897 from __libc_pause. Implement using sigsuspend.
1898 (__libc_pause): Call do_pause to do the real work.
1899
1900 * sysdeps/posix/sigpause.c (do_sigpause): Check range of
1901 sig_or_mask parameter is is_sig != 0.
1902
0566b130
UD
19032003-01-21 Philip Blundell <philb@gnu.org>
1904
1905 * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
1906
a15698cb
UD
19072003-01-27 Steven Munroe <sjmunroe@us.ibm.com>
1908
1909 * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check.
1910
b7e033f7
UD
19112003-01-27 Ulrich Drepper <drepper@redhat.com>
1912
e6fb8846
UD
1913 * stdio-common/bug14.c: Use official name for the locale.
1914
1fc46908
UD
1915 * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start
1916 instead of __libc_cleanup_region_start and _IO_cleanup_region_end
1917 instead of __libc_cleanup_region_end.
1918
1919 * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1
1920 as first parameter to __libc_cleanup_region_start.
1921
68ff8426
UD
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
1923 (__fe_nomask_env): Use __prctl not prctl.
1924 * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for
1925 prctl syscall.
1926
809cd222
UD
1927 * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message.
1928
1929 * elf/dl-open.c (_dl_tls_static_size): Bump to 2048.
1930
b7e033f7
UD
1931 * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic
1932 wrap-around in test.
1933
62f29da7
UD
19342003-01-26 Andreas Schwab <schwab@suse.de>
1935
1936 * sysdeps/wordsize-32/divdi3.c: Export the functions only as
1937 compatibility symbols. Remove INTDEF for __divdi3.
1938 * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal.
1939 * sysdeps/powerpc/powerpc32/divdi3.c: Remove.
1940 * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't
1941 define.
1942 * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c.
1943
19442003-01-24 Jakub Jelinek <jakub@redhat.com>
1945
1946 * elf/tls-macros.h: Add SPARC 32-bit definitions.
1947 * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check.
1948 * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards
1949 for the first half of the header. Include tls.h.
1950 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS
1951 relocs too.
1952 (elf_machine_rela): Handle TLS relocs.
1953 * sysdeps/sparc/dl-tls.h: New file.
1954
1955 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation
1956 support.
1957
1958 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7.
1959 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1960 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1961 * sysdeps/sparc/sparc32/strcat.S: Likewise.
1962 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1963 * sysdeps/sparc/sparc32/strcmp.S: Likewise.
1964 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1965 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1966 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1967 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1968 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
1969 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1970 * sysdeps/sparc/sparc64/strcat.S: Likewise.
1971 * sysdeps/sparc/sparc64/strchr.S: Likewise.
1972 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
1973 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
1974 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1975 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1976 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1977 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1978
19792003-01-24 Andreas Schwab <schwab@suse.de>
1980
1981 * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY
1982 elements, and process them backwards.
1983 * elf/Makefile ($(objpfx)tst-array4): New target.
1984 ($(objpfx)tst-array4.out): Likewise.
1985 (tests) [$(have-initfini-array) = yes]: Add tst-array4.
1986 * elf/tst-array4.c: New file.
1987 * elf/tst-array4.exp: Likewise.
1988
19892003-01-24 Steven Munroe <sjmunroe@us.ibm.com>
1990
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file.
1992
19932003-01-27 Guido Guenther <agx@sigxcpu.org>
1994
1995 * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define.
1996 * sysdeps/unix/sysv/linux/mips/pread.c: Add support for
1997 cancellation handling and handle both __NR_pread64 and __NR_pread.
1998 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1999 * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for
2000 cancellation handling and handle both __NR_pwrite64 and __NR_pwrite.
2001 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2002 * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT
2003 case, use register names consistently.
2004
20052003-01-27 Wolfram Gloger <wg@malloc.de>
2006
2007 * malloc/hooks.c (mem2chunk_check): Check alignment of mem
2008 pointer, not of the computed chunk. Bug report from Carlos
2009 O'Donell <carlos@baldric.uwo.ca>.
2010
251c0f71
AS
20112003-01-25 Andreas Schwab <schwab@suse.de>
2012
2013 * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative
2014 addressing to save GOT entries.
2015
86dfa4eb
RM
20162003-01-21 Jakub Jelinek <jakub@redhat.com>
2017
2018 * sysdeps/unix/alpha/sysdep.h (inline_syscall0,
2019 inline_syscall1, inline_syscall2, inline_syscall3,
2020 inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
2021 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
2022 __attribute__((unused)) to ChEcK.
2023
d5b6c817
UD
20242003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
2025
2026 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL):
2027 Fix inline assembler constraints.
2028 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL):
2029 Likewise.
2030
2031 * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of
2032 -fPIC.
2033
83c9a671
RM
20342003-01-20 Segher Boessenkool <segher@koffie.nl>
2035
2036 * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really
2037 compute the cosine, not the sine, even if x > 0.8.
2038
b677d674
UD
20392003-01-19 Ulrich Drepper <drepper@redhat.com>
2040
2041 * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of
2042 _nss_nis_setspent. Work around the different prototypes.
2043 * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use
2044 internal_nis_endrpcent.
2045 (internal_nis_endrpcent): Change return type to void. Change callers.
2046 * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of
2047 _nss_nis_setpwent. Work around the different prototypes.
2048 * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body
2049 of the function to...
2050 (internal_nis_endprotoent): ... here. New function.
2051 (internal_nis_setprotoent): Use internal_nis_endprotoent.
2052 * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of
2053 _nss_nis_setnetent. Work around the different prototypes.
2054 * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body
2055 of the function to...
2056 (internal_nis_endnetgrent): ... here. New function.
2057 (_nss_nis_setnetgrent): Use internal_nis_endnetgrent.
2058
978bd143
UD
20592003-01-19 Jim Meyering <jim@meyering.net>
2060
2061 * time/strftime.c: (widen): Merge nearly-identical definitions.
2062 (nl_get_alt_digit) [! defined my_strftime]: Define.
2063 (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of
2064 _nl_get_alt_digit and _nl_get_walt_digit.
2065
b1a173f7
UD
20662003-01-19 Ulrich Drepper <drepper@redhat.com>
2067
2068 * time/strftime.c (my_strftime): Handle very large width
2069 specifications for numeric values correctly. Improve checks for
2070 overflow.
2071 * time/Makefile (tests): Add tst-strftime.
2072 * time/tst-strftime.c: New file.
2073
039c1b75
UD
20742003-01-18 Ulrich Drepper <drepper@redhat.com>
2075
6675b191
UD
2076 * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of
2077 _nss_nis_sethostent. Work around the different prototypes.
2078 * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of
2079 _nss_nis_setgrent. Work around the different prototypes.
2080 * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New
2081 function. Split out from _nss_nis_endetherent.
2082 (internal_nis_setetherent): Use internal_nis_endetherent instead of
2083 duplicating the code.
2084 * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias
2085 of _nss_nis_setaliasent.
2086 * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse
2087 internal_nis_endservent code, don't duplicate it.
2088
039c1b75
UD
2089 * inet/rexec.c (rexec_af): Protect socket operations with
2090 TEMP_FAILURE_RETRY. Use writev instead of multiple write.
2091 * inet/rcmd.c (rcmd_af): Likewise.
2092
62431425
RM
20932003-01-17 Roland McGrath <roland@redhat.com>
2094
d32e4346
RM
2095 * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]:
2096 Add test of value 0.80190127184058835.
2097
62431425
RM
2098 * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn.
2099
0f0b7994
UD
21002003-01-17 Richard Henderson <rth@redhat.com>
2101
2102 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS
2103 relocs for class PLT.
2104 * sysdeps/alpha/libc-tls.c: New file.
2105 * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New.
2106 (LOADGP) [!PIC]: Rewrite to preserve caller's gp.
2107
21082003-01-17 Jakub Jelinek <jakub@redhat.com>
2109
2110 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use
2111 __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock
2112 on _dl_static_lock.
2113
1d4ff70e
AJ
21142003-01-17 Andreas Jaeger <aj@suse.de>
2115
2116 * stdio-common/bug14.c: Include stdlib.h for exit prototype.
2117
609b4783
UD
21182003-01-16 Steven Munroe <sjmunroe@us.ibm.com>
2119
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file.
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file.
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file.
2125 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
2126 * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64
2127 is 2.4.21.
2128
21292003-01-16 Ulrich Drepper <drepper@redhat.com>
2130
2131 * sysdeps/generic/glob.c (glob): Assume sysconf() always returns
2132 values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed
2133 buffers.
2134
2135 * sysdeps/generic/sysconf.c: Unconditionally implement
2136 _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX.
2137 * sysdeps/posix/sysconf.c: Likewise.
2138
7b7b9e70
UD
21392003-01-16 Jakub Jelinek <jakub@redhat.com>
2140
2141 * posix/regcomp.c (parse_bracket_exp): If build_charclass fails,
2142 set *err to the returned error, not to REG_ESPACE unconditionally.
2143 (build_word_op): Likewise.
2144 * posix/Makefile (tests): Add bug-regex16.
2145 * posix/bug-regex16.c: New test.
2146
850dcfca
UD
21472003-01-16 Jakub Jelinek <jakub@redhat.com>
2148
2149 * elf/dl-load.c (_dl_map_object_from_fd): Use
2150 GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has
2151 been already initialized.
2152
a1f8ec97
UD
21532003-01-15 Dmitry V. Levin <ldv@altlinux.org>
2154
2155 * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment.
2156
f811dbdc
UD
21572003-01-16 Jakub Jelinek <jakub@redhat.com>
2158
2159 * posix/regcomp.c (re_compile_internal): If clearing buffer, clear
2160 allocated too. Reported by Al Viro <aviro@redhat.com>.
2161
4dd98447
RM
21622003-01-16 Roland McGrath <roland@redhat.com>
2163
2164 Tweak merged .abilist file format to merge duplicate symbols in
2165 different sets into multi-version stanzas with new "| SET regexp..."
2166 header continuation lines.
2167 * scripts/merge-abilist.awk: Rewritten for new format.
2168 * scripts/extract-abilist.awk: Likewise.
2169
0f740059
UD
21702003-01-15 Ulrich Drepper <drepper@redhat.com>
2171
e09edf23
UD
2172 * nscd/connections.c (nscd_run): Remove bogus return which isn't
2173 necessary with gcc 3.2+.
2174 (nscd_init): Don't use error() to print message, use dbg_log.
2175
ea31b613
UD
2176 * iconv/gconv_simple.c (STORE_REST): Explicitly store the total
2177 expected size into state.
2178 (UNPACK_BYTES): Do the reverse.
41f112ad 2179 * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element.
ea31b613
UD
2180 * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug.
2181 Reported by Al Viro <aviro@redhat.com>.
2182
a1a2fec1
UD
2183 * stdio-common/Makefile (tests): Add bug14.
2184 * stdio-common/bug14.c: New file.
2185
0f740059
UD
2186 * stdio-common/vfscanf.c: When recognizing multibyte characters in
2187 string reset the byte counter after mbrtowc reported it is not a
2188 partial character. Reported by Al Viro <aviro@redhat.com>.
2189
c16abc04
UD
21902003-01-15 Steven Munroe <sjmunroe@us.ibm.com>
2191
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include
2193 sysdep-cancel.h, not sysdep.h.
2194
21952003-01-15 Ulrich Drepper <drepper@redhat.com>
2196
2197 * nscd/connections.c (nscd_run): Protect accept call with
2198 TEMP_FAILURE_RETRY.
2199
c841fa22
AS
22002003-01-15 Andreas Schwab <schwab@suse.de>
2201
2202 * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d.
2203 (common-generated): Add s-proto-bp.d.
2204 * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies
2205 of bp thunks.
2206 * sysdeps/unix/s-proto-bp.S: New file.
2207 * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here.
2208 Use <io/sys/sendfile.h> instead of <sys/sendfile.h>.
2209 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file.
2210
73917724
RM
22112003-01-15 Roland McGrath <roland@redhat.com>
2212
2213 * Makerules: Use -include for tls.make, suppresses warning.
2214 Move gen-as-const-headers rules up so before-compile is set in time.
2215 (sed-remove-dotdot): Fix to work right for subdirs or top dir.
2216
c9f24336
UD
22172003-01-15 Ulrich Drepper <drepper@redhat.com>
2218
d4397629
UD
2219 * nscd/nscd.c (main): Make code to close all file descriptors
2220 faster and more robust.
2221
9caf4f1c
UD
2222 * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the
2223 request with one writev call. Protect all read calls with
2224 TEMP_FAILURE_RETRY.
2225 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2226 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2227
2228 * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer.
2229 Protect writev calls with TEMP_FAILURE_RETRY.
2230 * nscd/grpcache.c: Likewise.
2231 * nscd/pwdcache.c: Likewise.
2232
c9f24336
UD
2233 * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as
2234 IPv6 address in debug output.
2235
9ae10332
RM
22362003-01-14 Roland McGrath <roland@redhat.com>
2237
2238 * Makerules (check-abi-%): Use two rules for $(common-objpfx) and
2239 $(objpfx) directories, and get rid of vpath directives. The previous
2240 arrangement resulted in files being written to the source directories
2241 when run in a clean build. Find all .abilist files in $(..)abilist/.
2242 (update-abi-%): Likewise.
2243 (generated): Don't add .symlist files, they'll be intermediates.
2244
2245 * sysdeps/generic/init-first.c: Add a comment.
2246
2247 * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link.
2248
2249 * scripts/gen-as-const.awk: Grok lone "--" as a separator between
2250 #includes and expressions.
2251
2252 * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged
2253 config list when it already contains cpu-.*-os.* without / part.
2254
2255 * Makerules (sed-remove-dotdot): New variable.
2256 ($(common-objpfx)%.make): Use it. Depend on $(before-compile).
2257 ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.
2258 (check-abi-config): New variable, append /tls or /notls to the tuple.
2259 (check-abi-%): Use that for -v config value.
2260 Find .abilist files in abilist/libfoo.abilist, not in subdir.
2261 * Rules: Move bits/stdio_lim.h generation rules to Makerules.
2262
a8d87c92
UD
22632003-01-14 Ulrich Drepper <drepper@redhat.com>
2264
2265 * manual/install.texi: Correct description of header preparation for
2266 Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].
2267
574b892e
UD
22682003-01-14 Guido Guenther <agx@sigxcpu.org>
2269
2270 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL,
2271 INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
2272 INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
2273
22742003-01-14 Steven Munroe <sjmunroe@us.ibm.com>
2275
2276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2277 (INTERNAL_SYSCALL): Make use of ERR parameter.
2278 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
2279 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
2280 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
2281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file.
2282
2c255347
UD
22832003-01-14 Ulrich Drepper <drepper@redhat.com>
2284
086311a9
UD
2285 * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol
2286 == IPPROTO_TCP.
2287 Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943].
2288
2f279b14
UD
2289 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags):
2290 Fix entry for bit 31.
2291
2c255347
UD
2292 * iconvdata/Makefile: Add rules to build IBM866NAV.
2293 * iconvdata/ibm866nav.c: New file.
2294 * iconvdata/tst-tables.sh: Add IBM866NAV.
2295 * iconvdata/gconv-modules: Add entries for IBM866NAV.
2296
642eb2a2
UD
22972003-01-13 Ulrich Drepper <drepper@redhat.com>
2298
2299 * string/tester.c (test_strcpy): Use the previously #if 0'ed code
2300 to test void* parameters.
2301
2302 * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast
2303 source pointer before dereferencing.
2304 (__STRING_SMALLL_GET32): Likewise.
2305 (__memset_gc): Add missing parenthesis around macro arguments.
574b892e 2306 Patch by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2
UD
2307
2308 * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler
574b892e 2309 that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2 2310
115bb61d
UD
23112003-01-14 Jakub Jelinek <jakub@redhat.com>
2312
2313 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before
2314 defining.
2315
23162003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2317
2318 * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals.
2319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it
2320 here.
2321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise.
2322
23232003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2324
2325 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions
2326 from here...
2327 (PSEUDO): ... to here.
2328 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction
2329 from here...
2330 (PSEUDO): ... to here.
2331
9ef0a840
UD
23322003-01-13 Ulrich Drepper <drepper@redhat.com>
2333
2334 * locale/programs/charmap-dir.c (charmap_readdir): Use struct
2335 dirent64 instead of struct dirent for dirent. Call readdir64
2336 instead of readdir.
2337
2338 * locale/programs/locfile.c (siblings_uncached): Use struct
2339 dirent64 instead of struct dirent for other_dentry. Call
2340 readdir64 instead of readdir.
2341
2342 * elf/ldconfig.c (direntry): Change type to struct dirent64.
2343 (search_dir): Use readdir64 instead of readdir.
2344 Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>.
2345
f1c5213d
RM
23462003-01-12 Roland McGrath <roland@redhat.com>
2347
c01ec9c7
RM
2348 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,
2349 not strtol. The former is usable in ld.so, the latter not.
2350
f1c5213d
RM
2351 * include/fcntl.h: Declare __libc_creat.
2352
2353 * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs,
2354 libhurduser-link.so-no-z-defs): New variables.
2355
2356 * malloc/malloc.c: Revert last change.
2357 * malloc/malloc.h (_int_*): Move these decls to ...
2358 * include/malloc.h: ... here. Add attribute_hidden.
2359 (_int_valloc): Declare it too.
2360
73398a44
UD
23612003-01-12 Ulrich Drepper <drepper@redhat.com>
2362
115bb61d 2363 * elf/dl-close.c (_dl_close): Fix typo, must be == not = in
1376cd8c
UD
2364 search for removed searchlist. Reported by Roland McGrath.
2365
40212ce0
UD
2366 * io/ftwtest-sh: Add test for case of symlink to nonexisting file
2367 given as start file.
2368
2369 * io/ftw.c (ftw_startup): Use correct name in check for symlink
2370 without existing target. Patch by Jim Meyering.
2371
73398a44
UD
2372 * Makerules (build-shlib-helper): Don't use -z defs linker option
2373 if no-z-defs is defined either.
2374
23752003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2376
2377 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused
2378 file.
2379
23802003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2381
2382 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork.
2383 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2384
b2608c22
UD
23852003-01-12 Ulrich Drepper <drepper@redhat.com>
2386
2387 * io/ftwtest-sh: Add test case for relative path with /. at the end.
2388
23892003-01-12 Jim Meyering <jim@meyering.net>
2390
2391 * io/ftw.c (ftw_startup): When trying to stat the starting directory,
2392 use the basename if we've already chdir'd into its parent directory.
2393
a5ce5fcf
UD
23942003-01-12 Ulrich Drepper <drepper@redhat.com>
2395
2396 * io/ftw.c (process_entry): Use relative path when using chdir()
b2608c22 2397 to change directory after call to ftw_dir.
a5ce5fcf
UD
2398 * io/ftwtest-sh: Add test for relative path argument to nftw()
2399 with FTW_CHDIR option.
2400
b398ae3c
UD
24012002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2402
2403 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
2404 Define for powerpc.
2405 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment
2406 into account.
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2408 (INTERNAL_SYSCALL): Make use of ERR parameter.
2409 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
2410 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
2411 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.
2413
24142002-01-09 Richard Henderson <rth@redhat.com>
2415
2416 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute
2417 DTPREL64 and TPREL64 without loadbase applied.
2418
24192002-01-09 Richard Henderson <rth@redhat.com>
2420
2421 * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno
2422 for NOT_IN_libc.
2423
2424 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits...
2425 * sysdeps/unix/alpha/sysdep.h: ... here.
2426 (PSEUDO_LOADGP): Remove.
2427 (PSEUDO_PROLOGUE): Load GP in non-pic case.
2428 (SYSCALL_ERROR_LABEL): New.
2429 (PSEUDO): Use it in error branch.
2430 (PSEUDO_END): Add $syscall_error label.
2431
1f8613a6
AJ
24322003-01-12 Andreas Jaeger <aj@suse.de>
2433
2434 * math/bits/mathcalls.h: Round is a const function.
2435
aff4519d
UD
24362003-01-11 Jim Meyering <jim@meyering.net>
2437
2438 * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>.
2439 [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>.
2440 Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC.
2441 [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define.
2442 [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define.
2443 [!_LIBC] (internal_function, dirent64, MAX): Define.
2444 (__set_errno): Define if not already defined.
2445 (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on
2446 the basename, not the entire file name.
2447 (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on
2448 the basename, not the entire file name.
2449
24502003-01-12 Ulrich Drepper <drepper@redhat.com>
2451
2452 * string/tester.c (test_strcpy): Disable last added strcpy until
2453 it is fixed.
2454
24552003-01-11 Philip Blundell <philb@gnu.org>
2456
2457 * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support.
2458
24592003-01-11 Andreas Schwab <schwab@suse.de>
2460
2461 * Makerules: Add vpath for %.dynsym and %.so so that the
2462 implicit rule chaining for check-abi works.
2463
24642003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2465
2466 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2467 Add non-PIC case.
2468
24692003-01-11 Jakub Jelinek <jakub@redhat.com>
2470
2471 * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define.
2472 [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if
2473 gp is used early.
2474 [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS.
2475 * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so):
2476 Ensure libc.so in DT_NEEDED.
2477 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move
2478 CHECK_STATIC_TLS before l_tls_offset use.
2479 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
2480 Likewise.
2481 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2482 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]:
2483 Allocate TLS_PRE_TCB_SIZE bytes below result.
2484 (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing.
2485 * sysdeps/generic/libc-tls.c (__libc_setup_tls): If
2486 TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS
2487 segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE
2488 bytes below result and add tcb_offset to memsz.
2489 * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype.
2490 * sysdeps/ia64/dl-machine.h: Include tls.h.
2491 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs
2492 too.
2493 (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too.
2494 Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations.
2495 * sysdeps/ia64/libc-tls.c: New file.
2496
24972003-01-10 Steven Munroe <sjmunroe@us.ibm.com>
2498
2499 * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit.
2500 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX):
2501 Fix type. Move definition out of #if.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file.
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file.
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file.
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation
2508 support.
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove
2510 ftruncate64, pread64, pwrite64, truncate64 entries.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2512 (INLINE_SYSCALL): New version that supports function call like
2513 syscalls. Add __builtin_expect.
2514 (LOADARGS_n): Add argument size safety checks.
2515 (INTERNAL_SYSCALL): New Macro.
2516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file.
2517 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid
2518 redefinition of elf_fpreg_t and elf_fpregset_t.
2519
25202003-01-12 Ulrich Drepper <drepper@redhat.com>
2521
2522 * elf/dl-close.c (_dl_close): Add several asserts. Correct and
2523 simplify test for unloading. If loader of a DSO is unloaded do not
2524 use its scope anymore. Fall back to own scope and adjust opencounts.
2525 Fix several comments.
2526 * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for
2527 the l_searchlist, not only for l_initfini.
2528
2529 * elf/dl-lookup.c (add_dependencies): Avoid creating relocation
2530 dependencies if objects cannot be removed. Remove object with the
2531 definition as not unloadable if necessary.
2532
2533 * elf/reldep6.c: Create relocation dependency before closing the first
2534 module.
2535
2536