]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
743f1874
AO
12003-04-05 Alexandre Oliva <aoliva@redhat.com>
2
3 * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New.
4 * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New.
5 * sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available
6 on mips n32.
7 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why
8 XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data
9 structure on n32 as well.
10 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant
11 data types on n32 and n64.
12
54e0138f
UD
132003-04-05 Ulrich Drepper <drepper@redhat.com>
14
b4068b0a
UD
15 * libio/fileops.c (_IO_new_file_fopen): Don't free step data right
16 after getting them.
17
54e0138f
UD
18 * malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If
19 HAVE_register_atfork_malloc is defined use __register_atfork_malloc
20 instead of __register_atfork.
21
d0f534e9
RM
222003-04-05 Jakub Jelinek <jakub@redhat.com>
23
24 * stdio-common/reg-printf.c (__register_printf_function): Calloc
25 instead of malloc __printf_arginfo_table and __printf_function_table.
26 Reported by John Reiser <jreiser@BitWagon.com>.
27
beb03cee
RM
282003-04-04 Steven Munroe <sjmunroe@us.ibm.com>
29
30 * sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations.
31 * sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations.
32
33 * sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before
34 defining.
35
26b54a6b
AO
362003-04-04 Alexandre Oliva <aoliva@redhat.com>
37
38 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust
39 for n64 abi.
40
ff084b87
RM
412003-04-03 Roland McGrath <roland@redhat.com>
42
43 * configure.in: Fix up use of compilation flags to match the build:
44 For .s files, $ASFLAGS;
45 For .S files, $CPPFLAGS $ASFLAGS;
46 For .c files, $CFLAGS $CPPFLAGS;
47 when linking, add $LDFLAGS.
48 * configure: Regenerated.
49
dd59050d
UD
502003-04-03 Jakub Jelinek <jakub@redhat.com>
51
52 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test
53 for atomic_compare_and_exchange_bool_acq failure.
54
148bb057
UD
552003-04-03 Ulrich Drepper <drepper@redhat.com>
56
57 * posix/unistd.h: Define _POSIX_VERSION, _POSIX2_VERSION,
58 _POSIX2_C_BIND, _POSIX2_C_DEV, _POSIX2_SW_DEV, and
59 _POSXI2_LOCALEDEF to 200112L. Remove _POSIX2_C_VERSION.
60 Remove declaration of pthread_atfork.
61
d903678a
UD
622003-04-02 Ulrich Drepper <drepper@redhat.com>
63
fab07ed6
UD
64 * locale/iso-639.def: Add many more languages from the current ISO 639.
65
d903678a
UD
66 * sysdeps/unix/sysv/linux/ipc_priv.h: Define IPCOP_semtimedop.
67 * sysdeps/generic/semtimedop.c: New file.
68 * sysdeps/unix/sysv/linux/i386/semtimedop.S: New file.
69 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add semtimedop.
70 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
71 * sysvipc/Makefile (routines): Add semtimedop.
72 * sysvipc/Versions [GLIBC_2.3.3] (glibc): Add semtimedop.
73 * sysvipc/sys/sem.h: Declare semtimedop.
74
42607429
RM
752003-04-02 Daniel Jacobowitz <drow@mvista.com>
76
77 * configure.in: Check for __register_frame_info in both
78 -lgcc and -lgcc_eh.
79 * configure: Regenerated.
80
a95ced3e
RM
812003-04-01 Roland McGrath <roland@redhat.com>
82
83 * scripts/abilist.awk: Allow dots in soname suffix.
84
85 * scripts/abilist.awk (emit): Fix bailout condition.
86
fbb7fc75
UD
872003-04-01 Jakub Jelinek <jakub@redhat.com>
88
9a197dcc
RM
89 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the
90 IA-64 version.
91
fbb7fc75
UD
92 * elf/tls-macros.h [__ia64__] (TLS_IE, TLS_LD, TLS_GD): Add gp
93 register as input to asm.
94
4b1a1328
UD
952003-04-01 Jakub Jelinek <jakub@redhat.com>
96
97 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (sigevent_t): Fix a typo.
98
73588175
AJ
992003-04-01 Andreas Jaeger <aj@suse.de>
100
101 * configure.in: Output as/ld as name if version is too old.
102
640f0119
RM
1032003-03-31 Daniel Jacobowitz <drow@mvista.com>
104
105 * configure.in: Don't require an installed C library in the test
106 for ".set" assembler support.
640f0119
RM
107
1082003-03-31 Roland McGrath <roland@redhat.com>
109
110 * signal/tst-sigset.c: New file.
111 * signal/Makefile (tests): Add it.
112
582b54aa
UD
1132003-03-31 Ulrich Drepper <drepper@redhat.com>
114
115 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65.
116 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise.
117 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise.
118 * sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise.
119 (__SIGRTMAX): Adjust accordingly.
120 * sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define
121 second compatibility symbol set.
122 * sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define.
123
0c2601fa
AS
1242003-03-31 Andreas Schwab <schwab@suse.de>
125
126 * sysdeps/m68k/m68020/bits/atomic.h (atomic_increment_and_test):
127 Define.
128 (atomic_decrement_and_test): Fix test.
129
0a9d1b3b
RM
1302003-03-31 Jakub Jelinek <jakub@redhat.com>
131
132 * sysdeps/sparc/sparc32/bits/atomic.h: New file.
133 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: New file.
134 * sysdeps/sparc/sparc64/bits/atomic.h: New file.
135 * sysdeps/sparc/sparc32/atomicity.h: Removed.
136 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: Removed.
137 * sysdeps/sparc/sparc64/atomicity.h: Removed.
138
9ec8bbb1
RM
1392003-03-30 Roland McGrath <roland@redhat.com>
140
d692f3f8
RM
141 * scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone.
142
9ec8bbb1
RM
143 * intl/po2test.sed: Anchor substitution regexps to fix last change.
144
f8278d5d
RM
1452003-03-29 Paolo Bonzini <bonzini@gnu.org>
146
582b54aa
UD
147 * intl/po2test.sed: Unify the transformations for msgid and msgstr
148 and remove a useless s/// command.
f8278d5d 149
266227ab
UD
1502003-03-27 David Mosberger <davidm@hpl.hp.com>
151
152 * sysdeps/ia64/dl-machine.h (RTLD_START): Wrap ".save rp, r0"
153 directive into empty .prologue region to ensure that call-chain
154 is terminated even for the first instruction.
155
156 * sysdeps/ia64/elf/start.S (_start): Use ".save rp, r0" idiom
157 to terminate call-chain right from the get-go.
158
159 * sysdeps/unix/sysv/linux/ia64/fork.S (fork): Remove unnecessary
160 stop bit between compare & branch.
161
ea473bad
UD
1622003-03-29 Ulrich Drepper <drepper@redhat.com>
163
d8592d04
UD
164 * stdlib/strtod.c (INTERNAL): Recognize first digit after decimal
165 point correctly [PR libc/4993].
166
ea473bad
UD
167 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid
168 netlink_open calls if netlink is known to not be available.
169
c7da3ff8
AO
1702003-03-29 Alexandre Oliva <aoliva@redhat.com>
171
e077d10d 172 * configure.in: Add mips64* support.
e077d10d
AO
173 * sysdeps/mips/bits/endian.h: Make it bi-endian.
174 * sysdeps/mips/mipsel/bits/endian.h: Removed.
175 * sysdeps/mips/mips64/n32/el/bits/endian.h: Removed.
176 * sysdeps/mips/mips64/n64/el/bits/endian.h: Removed.
177 * sysdeps/mips/mips32/Makefile (CC): Add -mabi=32.
178 * sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32.
179 * sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64.
180 * sysdeps/mips/Implies: Moved wordsize-32 to...
181 * sysdeps/mips/mips32/Implies: New file.
182 * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO,
183 ret_NOERRNO): New.
184 (ret, PSEUDO_END): Moved past END.
185 (PSEUDO): Moved to...
186 * sysdeps/unix/mips/mips32/sysdep.h: New file.
187 * sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO.
188 * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
189 * sysdeps/unix/sysv/linux/mips/sysdep.h: Move to...
190 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file.
191 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file.
192
c7da3ff8
AO
193 * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start):
194 Re-introduce ENTRY.
195
e0c09a43
UD
1962003-03-28 Thorsten Kukuk <kukuk@suse.de>
197
198 * sysdeps/unix/sysv/linux/ifaddrs.c: New file.
199 * inet/test-ifaddrs.c: Allow AF_PACKET.
200 * sysdeps/unix/sysv/linux/kernel-features.h: Add
201 __ASSUME_NETLINK_SUPPORT.
202
129422e1
UD
2032003-03-28 Ulrich Drepper <drepper@redhat.com>
204
205 * elf/vismain.c (do_test): Comment out tests which fail in the moment.
206
5972c58b
RM
2072003-03-26 H.J. Lu <hjl@gnu.org>
208
209 * elf/vismod.h (getvarlocal1): Return const char **.
210 (getvarinmod1): Likewise.
211 (getvaritcpt1): Likewise.
212 (getvarlocal2): Likewise.
213 (getvarinmod2): Likewise.
214 (getvaritcpt2): Likewise.
215 (getvaritcpt3): Likewise.
216 * elf/vismain.c (do_test): Adjusted.
217 * elf/vismod1.c (getvarlocal1): Return address.
218 (getvarinmod1): Likewise.
219 (getvaritcpt1): Likewise.
220 * elf/vismod2.c (getvarlocal2): Likewise.
221 (getvarinmod2): Likewise.
222 (getvaritcpt2): Likewise.
223 * elf/vismod3.c (getvaritcpt3): Likewise.
224
7e30918b
RM
2252003-03-28 Roland McGrath <roland@redhat.com>
226
5972c58b
RM
227 * elf/vismain.c (do_test): Print both addresses when they don't match.
228
f0248ca5
RM
229 * scripts/abilist.awk: If given -v filename_regexp and/or -v
230 libname_regexp when parsing names, then produce output only
231 for those matching the given regexps. In combine mode, save all
232 stanzas for a final sorting by stanza header at the end.
233 Emit a blank line between stanzas.
234
7e30918b
RM
235 * scripts/abilist.awk: When given -v combine=1, do parse_names and
236 emit a single output stream with lib name in stanza header lines.
237
238 * scripts/abilist.awk: Emit A for all *ABS* regardless of type.
239
c6acf1e3
RM
2402003-03-27 Roland McGrath <roland@redhat.com>
241
242 * sysdeps/powerpc/bits/atomic.h [! __powerpc64__]
243 (__arch_atomic_decrement_if_positive_64): Fix bogus definition.
244
dd731d53
UD
2452003-03-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
246
247 * sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
248 Return old value. Make asm output reg constraint earlyclobber.
249 Renamed from...
250 (__arch_compare_and_exchange_8_acq): ... this.
251 (__arch_compare_and_exchange_val_16_acq):
252 Return old value. Make asm output reg constraint earlyclobber.
253 Renamed from...
254 (__arch_compare_and_exchange_16_acq): ... this.
255 (__arch_compare_and_exchange_val_32_acq):
256 Return old value. Make asm output reg constraint earlyclobber.
257 Renamed from...
258 (__arch_compare_and_exchange_32_acq): ... this.
259 (__arch_compare_and_exchange_val_64_acq):
260 Renamed from...
261 (__arch_compare_and_exchange_64_acq): ... this.
262 (atomic_exchange_and_add): Use local variables and
263 __arch_compare_and_exchange_val_64_acq.
264 (atomic_add): Likewise.
265 (atomic_add_negative, atomic_add_zero): Use local variables.
266
d270cb11
AO
2672003-03-28 Alexandre Oliva <aoliva@redhat.com>
268
3e60b5f2
AO
269 * sysdeps/unix/mips/sysdep.S: Include sys/asm.h.
270
a854f531
UD
2712003-03-27 Ulrich Drepper <drepper@redhat.com>
272
dd731d53 273 * Makefile: Remove libmd5crypt goal.
a854f531 274
41bc895a
RM
2752003-03-25 Jakub Jelinek <jakub@redhat.com>
276
277 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore
278 special handling of relocations against local symbols.
279
3171ae99
UD
2802003-03-27 Steven Munroe <sjmunroe@us.ibm.com>
281
282 * sysdeps/powerpc/bits/atomic.h
283 (__arch_compare_and_exchange_bool_32_acq): Move to [!__powerpc64__].
284 [__powerpc64__] (__arch_compare_and_exchange_bool_32_acq):
285 Define PPC64 specific version.
286 [__powerpc64__] (__arch_compare_and_exchange_bool_64_acq):
287 Change (mem) constraint to "b".
288 [__powerpc64__] (__arch_atomic_exchange_and add_64):
289 Replace addi with add. Change (value) contraint to "r".
290 Change (mem) constraint to "b".
291 [__powerpc64__] (__arch_atomic_decrement_if_positive_64): New macro.
292 (__arch_atomic_exchange_32): Change (mem) constraint to "b".
293 (__arch_atomic_exchange_and_add_32): Change (mem) constraint to "b".
294 (__arch_atomic_decrement_if_positive_32): New macro.
295 (atomic_decrement_if_positive): Use __arch* macros.
296
d5527b17
UD
2972003-03-27 Jakub Jelinek <jakub@redhat.com>
298
299 * sysdeps/ia64/fpu/libm-test-ulps: Update.
300
c7356b6d
RM
3012003-03-27 Roland McGrath <roland@redhat.com>
302
303 * scripts/rpm2dynsym.sh: New file.
304 * Makefile (distribute): Add it.
305
28cf3058
UD
3062003-03-27 David Mosberger <davidm@hpl.hp.com>
307
308 * sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's
309 ar.unat before returning. Add missing .mem.offset directives
310 to ensure file gets assembled without warnings.
311 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
312
0d5420ec
UD
3132003-03-27 Jakub Jelinek <jakub@redhat.com>
314
315 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) <_SC_MONOTONIC_CLOCK>:
316 Return -1 instead of 0 if clock_getres failed.
317
fd54683c
RM
3182003-03-27 Roland McGrath <roland@redhat.com>
319
15a686af
RM
320 * scripts/abilist.awk: If variable `parse_names' is set, grok the file
321 header lines and write out foo.symlist files for each foo.so.NN listed.
322
323 * libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden.
324 This symbol is exported, and we don't want to hide it.
325 Add libc_hidden_proto instead.
326 (_IO_file_jumps): Add libc_hidden_proto.
327 * libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def.
328 Remove INTVARDEF.
329 * libio/fileops.c (_IO_file_jumps): Likewise.
330 * libio/stdfiles.c: Don't use INTUSE on them.
331 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
332 * libio/iofopen.c (__fopen_internal): Likewise.
333 * libio/freopen.c (freopen): Likewise.
334 * libio/freopen64.c (freopen64): Likewise.
335 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
336
fd54683c
RM
337 * Makerules (check-abi) [$(enable-check-abi) = warn]:
338 Ignore exit status from diff.
339 * configure.in (enable_check_abi): Document possible value "warn".
340 Change default to no for now.
341 * configure: Regenerated.
342
343 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning
344 macro calls and a #include <stub-tag.h> at the end.
345 * Makerules ($(objpfx)stubs): Tweak sed commands.
346
347 * sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in
348 caller column for *xattr syscalls, since they are in sysdeps/generic.
349
350 * sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid
351 * sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid
352
3532003-03-26 Roland McGrath <roland@redhat.com>
354
355 * Makerules (check-abi-config): Use /thread instead of /tls when
356 use-thread and not just use-tls is set.
357
358 * Makerules (update-abi): Put quotes around $(update-abi-config).
359
360 * elf/Makefile (check-abi): Depend on check-abi-ld.
361 (update-abi): Depend on update-abi-ld.
362
85763515
UD
3632003-03-26 GOTO Masanori <gotom@debian.or.jp>
364
365 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Use INTERNAL_SYSCALL and
366 do not check for errors (unless testing for 32bit variant).
367 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
368
312472fc
RM
3692003-03-27 Philip Blundell <philb@gnu.org>
370
371 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use
372 unconditional mov. Remove nop.
373
374 * sysdeps/unix/sysv/linux/kernel-features.h
375 (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm.
376 * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code
377 when __ASSUME_VFORK_SYSCALL is defined.
378 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for
379 __ASSUME_MMAP2_SYSCALL.
380 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for
381 __ASSUME_REALTIME_SIGNALS.
382
18ef464b
UD
3832003-03-26 Ulrich Drepper <drepper@redhat.com>
384
385 * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_COPY): Define to 2
386 only if DL_NO_COPY_RELOCS is not defined.
387 * sysdeps/ia64/dl-lookupcfg.h: Define DL_NO_COPY_RELOCS.
388
04676765
RM
3892003-03-26 Roland McGrath <roland@redhat.com>
390
391 * sysdeps/unix/make-syscalls.sh: When an undefined syscall has
392 SOURCE=-, append its symbol names to make variable unix-stub-syscalls.
393 * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls]
394 (sysdep_routines): Add stub-syscalls.
395 ($(objpfx)stub-syscalls.c): New target.
396 (generated): Add stub-syscalls.c.
397
398 * tls.make.c: Also define use-tls according to USE_TLS macro.
399
11d52c31
UD
4002003-03-26 Ulrich Drepper <drepper@redhat.com>
401
402 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (struct siginfo): Avoid
403 no-op padding element.
404 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
405 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
406 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
407 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
408
4092003-03-26 GOTO Masanori <gotom@debian.or.jp>
410
411 * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix the error
412 condition check for the return value of getgroups32.
413
4142003-03-26 Jakub Jelinek <jakub@redhat.com>
415
416 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_NOERRNO):
417 Fix a typo.
418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_NOERRNO,
419 PSEUDO_END_NOERRNO): Define.
420 * sysdeps/unix/sysdep.h (PSEUDO_END_NOERRNO): Fix a typo.
421 Define to PSEUDO_END.
422
f064e4c5
UD
4232003-03-26 Ulrich Drepper <drepper@redhat.com>
424
425 * abilist/librt.abilist: Add new timer interfaces for 64-bit archs.
426
bdb6126c
UD
4272003-03-25 Jiro SEKIBA <jir@yamato.ibm.com>
428
429 * iconvdata/euc-tw.c (from_euc_tw): Fix return value of TO_LOOP.
430 * iconvdata/bug-iconv4.c: New file.
431 * iconvdata/Makefile (tests): Add bug-iconv4.
432
697119d6
UD
4332003-03-25 H.J. Lu <hjl@gnu.org>
434
435 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid looking up protected
436 symbols twice.
437 (_dl_lookup_versioned_symbol): Likewise.
438
859e708f
RM
4392003-03-26 Jakub Jelinek <jakub@redhat.com>
440
441 * csu/tst-atomic.c (do_test): Add some new
442 atomic_compare_and_exchange_val_acq, atomic_add_zero,
443 atomic_compare_and_exchange_bool_acq and atomic_add_negative tests.
444 * include/atomic.h (atomic_add_negative, atomic_add_zero):
445 Prefix local variable so that it doesn't clash with the one
446 in atomic_exchange_and_add.
447 * sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void *
448 pointers.
449 (atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i.
450 * sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force
451 value into register.
452 * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq):
453 Cast newval to long.
454 * sysdeps/x86_64/bits/atomic.h
455 (__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to
456 long.
457 (atomic_exchange): Cast newvalue to long if sizeof == 8.
458 (atomic_exchange_and_add): Cast value to long if sizeof == 8.
459 (atomic_add, atomic_add_negative, atomic_add_zero): Likewise.
460 (atomic_bit_set): Shift 1L up in all cases to shut up warnings.
461
dd410d4d
RM
4622003-03-21 Martin Schwidefsky <schwidefskyde.ibm.com>
463
464 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high order
465 bit from backtrace addresses.
466
4672003-03-21 Andreas Schwab <schwab@suse.de>
468
469 * sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned
470 __chown symbols.
471
6a1c6a1f
RM
4722003-03-25 Roland McGrath <roland@redhat.com>
473
474 * config.make.in (enable-check-abi): New variable from configure.
475 * configure.in (enable_check_abi): New substituted variable,
476 controlled by --{enable,disable}-check-abi (default yes).
477 * configure: Regenerated.
478 * Makerules [$(enable-check-abi) = yes] (tests): Put this condition
479 on check-abi dependency.
480
fb0216dd
AS
4812003-03-26 Andreas Schwab <schwab@suse.de>
482
9fdf211e
AS
483 * sysdeps/m68k/m68020/bits/atomic.h: Fix typos.
484 * include/atomic.h: Likewise.
485
fb0216dd
AS
486 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Define ret_NOERRNO.
487
7456156f
RM
4882003-03-25 Roland McGrath <roland@redhat.com>
489
490 * sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro.
491 (__arch_atomic_exchange_64): New macro.
492 (atomic_exchange): Use them.
493 (__arch_atomic_exchange_and_add_32): New macro.
494 (__arch_atomic_exchange_and_add_64): New macro.
495 (atomic_exchange_and_add): Use them.
496 Original patch from Steven Munroe <sjmunroe@us.ibm.com>.
497
1b12060c
AO
4982003-03-25 Alexandre Oliva <aoliva@redhat.com>
499
500 * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64):
501 Define.
502 * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all
503 ISA tests.
504 (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA.
505 (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG.
506 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
507 to decide whether to add padding.
508 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
509 to decide whether to add padding.
510 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct
511 old_kernel_sigaction): Likewise.
512
09402f5b
UD
5132003-03-25 Ulrich Drepper <drepper@redhat.com>
514
515 * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and
516 atomic_add_zero were supposed to do.
517 * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero
518 to x86 behavior.
519
520 * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*.
521 This matches the new timer implementation.
bacb0296
UD
522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE):
523 Likewise.
524 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE):
525 Likewise.
09402f5b
UD
526 * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust
527 timer info for what the kernel provides these days.
528 (struct sigevent): Add _tid field.
529 Define SIGEV_THREAD_ID.
42374865
UD
530 Remove struct __pthread_attr_s forward declaration.
531 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
532 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
533 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
534 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
09402f5b
UD
535
536 * Versions.def (librt): Add GLIBC_2.3.3.
537
538 * abilist/libpthread.abilist: Update for nptl.
539
5e826ab5
UD
5402003-03-24 Jon Grimm <jgrimm@us.ibm.com>
541
542 * inet/netinet/in.h: Add IPPROTO_SCTP.
543
5442003-03-24 Ulrich Drepper <drepper@redhat.com>
545
546 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define.
547
c6289757
UD
5482003-03-24 Philip Blundell <philb@gnu.org>
549
550 * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL):
551 Remove a1 from clobber list.
552
5532003-03-24 Ulrich Drepper <drepper@redhat.com>
554
555 * timezone/antarctica: Update from tzdata2003a.
556 * timezone/asia: Likewise.
557 * timezone/australasia: Likewise.
558 * timezone/europe: Likewise.
559 * timezone/iso3166.tab: Likewise.
560 * timezone/northamerica: Likewise.
561 * timezone/southamerica: Likewise.
562 * timezone/zone.tab: Likewise.
563
5642003-03-24 Steven Munroe <sjmunroe@us.ibm.com>
565
566 * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo.
567
9eb88290
UD
5682003-03-23 Ulrich Drepper <drepper@redhat.com>
569
6ea5c103
UD
570 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid
571 unwanted expansion by definining to ret. Patch by Ian Wienand.
572
9eb88290
UD
573 * sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of
574 the parameter description to denote no error checking. Generate
575 appropriate pseudo asm code.
576 * sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'.
577 * sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid,
578 getpgrp, and getppid with 'E'.
579 * sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO,
580 PSEUDO_END_NOERRNO, and ret_NOERRNO.
581 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
582 * sysdeps/unix/sysdep.h: Likewise.
583 * sysdeps/unix/alpha/sysdep.h: Likewise.
584 * sysdeps/unix/sparc/sysdep.h: Likewise.
585 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
586 * sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise.
587 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
588 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
589 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
590 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
592 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
593 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
594 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
596
3045a1fe
RM
5972003-03-23 Roland McGrath <roland@redhat.com>
598
599 * Makeconfig (+includes): Don't use $(last-includes).
600
ad551664
AO
6012003-03-22 Alexandre Oliva <aoliva@redhat.com>
602
603 * sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns.
604 * sysdeps/unix/sysv/linux/configure: Rebuilt.
605
f92abad6
RM
6062003-03-23 Jakub Jelinek <jakub@redhat.com>
607
608 * sysdeps/alpha/fpu/libm-test-ulps: Update.
609 * sysdeps/arm/libm-test-ulps: Update.
610 * sysdeps/hppa/fpu/libm-test-ulps: Update.
611 * sysdeps/ia64/fpu/libm-test-ulps: Update.
612 * sysdeps/mips/fpu/libm-test-ulps: Update.
613 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
615 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
616 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
617 * sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
618 * sysdeps/s390/fpu/libm-test-ulps: Update.
619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
620
d15851ec
RM
6212003-03-22 Roland McGrath <roland@redhat.com>
622
fe4610b3
RM
623 * include/atomic.h: Put parens around all macro arguments.
624 (__atomic_val_bysize, __atomic_bool_bysize): New macros.
625 (atomic_compare_and_exchange_val_acq): Use it.
626 (atomic_compare_and_exchange_bool_acq): Likewise.
627 (atomic_increment_and_test): Invert sense of test.
628 (atomic_decrement_and_test): Likewise.
629 * csu/tst-atomic.c: Update those tests to match.
d15851ec
RM
630
6312003-03-22 Jakub Jelinek <jakub@redhat.com>
632
633 * include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment.
634 Don't define if __arch_compare_and_exchange_val_32_acq is not defined.
635 (atomic_compare_and_exchange_bool_acq): Add comment. Don't use
636 __oldval variable in the macro, since it might be macro argument.
637 (atomic_decrement_if_positive): Initialize __memp, remove setting
638 of non-existent variable.
639 (atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting.
640 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement
641 using atomic_compare_and_exchange_val_acq.
642 (atomic_decrement_if_positive, atomic_bit_test_set): Define.
643 * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
644 Renamed from...
645 (__arch_compare_and_exchange_bool_8_acq): ... this.
646 (__arch_compare_and_exchange_val_16_acq): Renamed from...
647 (__arch_compare_and_exchange_bool_16_acq): ... this.
648 (__arch_compare_and_exchange_val_32_acq): Return old value. Renamed
649 from...
650 (__arch_compare_and_exchange_bool_32_acq): ... this.
651 (__arch_compare_and_exchange_val_64_acq): Return old value. Renamed
652 from...
653 (__arch_compare_and_exchange_bool_64_acq): ... this.
654 (__arch_compare_and_exchange_val_32_acq): Use __typeof for local
655 variables types instead of assuming int.
656 Change prefix of local variables to __arch.
657 * sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq):
658 Remove.
659 (atomic_compare_and_exchange_val_acq,
660 atomic_compare_and_exchange_bool_acq): Define.
661
662 * csu/tst-atomic.c: New test.
663 * csu/tst-atomic-long.c: New test.
664 * csu/Makefile (tests): Add tst-atomic and tst-atomic-long.
665
666 * malloc/memusagestat.c (main): Kill warning if uint64_t is ulong.
667
668 * sysdeps/s390/Versions: Add trailing newline.
669
670 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning
671 if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument.
672
faa58057
AS
6732003-03-22 Andreas Schwab <schwab@suse.de>
674
01e694fc
AS
675 * sysdeps/m68k/fpu/libm-test-ulps: Update.
676
faa58057
AS
677 * sysdeps/m68k/m68020/bits/atomic.h: New file.
678 * sysdeps/m68k/m68020/atomicity.h: Removed.
679
039f839c
AO
6802003-03-22 Alexandre Oliva <aoliva@redhat.com>
681
dda8854a
AO
682 * sysdeps/mips/elf/ldsodefs.h: Add mips-specific elf64 relocation
683 data structures and macros. Protect from multiple inclusion.
684
039f839c
AO
685 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Fix harmless
686 typo in #if test.
687
34f8ef1b
AJ
6882003-03-21 Andreas Jaeger <aj@suse.de>
689
690 * sysdeps/i386/fpu/libm-test-ulps: Update.
691
692 * math/libm-test.inc (tgamma_test): Recompute some constants with
693 36 digits precision.
694 (lgamma_test): Likewise.
695 (ccos_test): Likewise.
696 (ccosh_test): Likewise.
697 (clog10_test): Likewise.
698 (csin_test): Likewise.
699 (csinh_test): Likewise.
700 (ctan_test): Likewise.
701 (ctanh_test): Likewise.
702
7032003-03-19 Jakub Jelinek <jakub@redhat.com>
704
705 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerated.
706
4baa087a
RM
7072003-03-21 Roland McGrath <roland@redhat.com>
708
709 * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir"
710 constraint to permit non-constant BIT argument.
711 (atomic_bit_test_set): Likewise.
712 * sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise.
713 (atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32.
714 For quadword case, use "i" constraint if __builtin_constant_p and < 32
715 or "r" constraint otherwise.
716
717 * configure.in: Move AC_PROG_CC and other program-finding before all
718 the version checks.
719 * configure: Regenerated.
720
8f9fb000
AO
7212003-03-21 Alexandre Oliva <aoliva@redhat.com>
722
723 * sysdeps/mips/mips64/memcpy.S: Fix porting bug that broke
724 unaligned copying of 8-15 bytes. From Chris Demetriou
725 <cgd@broadcom.com>. Fix label names.
726 * sysdeps/mips/mips64/memset.S: Fix label names. Make similar
727 change as to memcpy.S.
728 * sysdeps/mips/memcpy.S: Formatting changes.
729 * sysdeps/mips/memset.S: Likewise.
730
88b3f3ed
RM
7312003-03-21 Roland McGrath <roland@redhat.com>
732
733 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon.
734
ee7b7036
AO
7352003-03-21 Alexandre Oliva <aoliva@redhat.com>
736
737 * sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New.
738 * sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments.
739
a60581ad
RM
7402003-03-21 Roland McGrath <roland@redhat.com>
741
742 * sysdeps/i386/i486/bits/atomic.h
743 (__arch_compare_and_exchange_val_64_acq): Rewrite abort-calling
744 version of the macro to avoid compile-time warnings.
745 [! __PIC__] (__arch_compare_and_exchange_64_acq): Rename to above.
a60581ad
RM
746 (atomic_exchange_and_add, atomic_add): Fix name and usage of it.
747 (atomic_increment, atomic_decrement): Likewise.
748
4541b483
UD
7492003-03-21 Ulrich Drepper <drepper@redhat.com>
750
751 * sysdeps/x86_64/bits/atomic.h: Don't use matching memory constraints.
752 * sysdeps/i386/i486/bits/atomic.h: Likewise.
753
2923c644
RM
7542003-03-21 Roland McGrath <roland@redhat.com>
755
756 * include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix.
757
9f07eae2
UD
7582003-03-20 Ulrich Drepper <drepper@redhat.com>
759
760 * include/atomic.h: Define atomic_compare_and_exchange_val_acq,
761 atomic_compare_and_exchange_val_rel,
762 atomic_compare_and_exchange_bool_acq, and
763 atomic_compare_and_exchange_bool_rel instead of
764 atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel.
765 * sysdeps/i386/i486/bits/atomic.h: Define
766 __arch_compare_and_exchange_val_*_acq instead of
767 __arch_compare_and_exchange_*_acq.
768 * sysdeps/x86_64/bits/atomic.h: Likewise.
769 * sysdeps/ia64/bits/atomic.h: Define
770 __arch_compare_and_exchange_bool_*_acq instead of
771 __arch_compare_and_exchange_*_acq.
772 * sysdeps/powerpc/bits/atomic.h: Likewise.
773 * sysdeps/s390/bits/atomic.h: Likewise.
774 * gmon/mcount.c: Adjust for new form of compare&exchange macros.
775 * malloc/set-freeres.c: Likewise.
776 * nscd/cache.c: Likewise.
777 * stdlib/cxa_finalize.c: Likewise.
778 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
779
4b5e1c5f
AO
7802003-03-20 Alexandre Oliva <aoliva@redhat.com>
781
d20152e1
AO
782 * sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs.
783 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust.
784 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
785
4b5e1c5f
AO
786 * sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset
787 into high and low halves on n64.
788 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
789 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
790 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
791
6848aba6
UD
7922003-03-20 Ulrich Drepper <drepper@redhat.com>
793
794 * include/atomic.h (atomic_decrement_if_positive): Adjust for the
795 correct atomic_compare_and_exchange_acq semantics.
796
f1f8a9ec
AO
7972003-03-20 Alexandre Oliva <aoliva@redhat.com>
798
799 * sysdeps/mips/ieee754.h: Remove excess #endif.
800
2ff16e04
RM
8012003-03-20 Roland McGrath <roland@redhat.com>
802
803 * sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unused
804 variable. Remove superfluous memory clobber.
805
806 * include/atomic.h: Syntax braino fix.
807
808 * posix/tst-nice.c (do_test): Use %m formats instead of printing errno
809 in decimal. Don't bail if niced at start. Just check that nice call
810 bumps the total at all.
811
53fcb885
AO
8122003-03-20 Alexandre Oliva <aoliva@redhat.com>
813
814 * sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers,
815 including pc, gp, sp and fp, as long long.
816 * sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux.
817 * sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments.
818 Add gp argument, and set gp in the jmpbuf to it.
819 * sysdeps/mips/setjmp_aux.c: Revert to o32-only.
820
f79466a8
UD
8212003-03-20 Ulrich Drepper <drepper@redhat.com>
822
823 * include/atomic.h: Define atomic_exchange and
824 atomic_decrement_if_positive if not already defined. Add some
825 __builtin_expect.
826 * sysdeps/i386/i486/bits/atomic.h: Define atomic_exchange.
827 * sysdeps/x86_64/bits/atomic.h: Likewise.
828 * sysdeps/ia64/bits/atomic.h: Pretty printing. Define atomic_exchange.
829 * sysdeps/powerpc/bits/atomic.h: Pretty printing. Define
830 atomic_exchange, atomic_exchange_and_add, and
831 atomic_decrement_if_positive
832
50449bed
AO
8332003-03-20 Alexandre Oliva <aoliva@redhat.com>
834
bfd49d55
AO
835 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
836 with a single instruction.
837
50449bed
AO
838 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define
839 properly for n64.
840 (elf_machine_runtime_setup): Cast link_map pointer to Elf Addr
841 type.
842 (elf_machine_rel, elf_machine_rel_relative): Cast symidx to Elf
843 Word before comparing with gotsym. Take reloc_addr argument as
844 void*. Remove the code added for the compiler to drop any
845 alignment assumptions.
846
4009bf40
UD
8472003-03-19 Ulrich Drepper <drepper@redhat.com>
848
849 * Makefile (distribute): Add include/atomic.h and bits/atomic.h.
850 * include/atomic.h: New file.
851 * sysdeps/i386/i486/bits/atomic.h: New file.
852 * sysdeps/x86_64/bits/atomic.h: New file.
853 * sysdeps/s390/bits/atomic.h: New file.
854 * sysdeps/sh/bits/atomic.h: New file.
855 * sysdeps/ia64/bits/atomic.h: New file.
856 * sysdeps/powerpc/bits/atomic.h: New file.
857 * sysdeps/generic/bits/atomic.h: New file.
858 * sysdeps/i386/i486/atomicity.h: Removed.
859 * sysdeps/x86_64/atomicity.h: Removed.
860 * sysdeps/s390/s390-32/atomicity.h: Removed.
861 * sysdeps/s390/s390-64/atomicity.h: Removed.
862 * sysdeps/ia64/atomicity.h: Removed.
863 * sysdeps/powerpc/powerpc32/atomicity.h: Removed.
864 * sysdeps/powerpc/powerpc64/atomicity.h: Removed.
865 * elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust
866 use of macros from atomicity.h to new names and semantics.
867 * gmon_mcount.c: Likewise.
868 * malloc/set-freeres.c: Likewise.
869 * nscd/cache.c: Likewise.
870 * stdlib/cxa_finalize.c: Likewise.
871 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
872
ce3a4adf
AO
8732003-03-19 Alexandre Oliva <aoliva@redhat.com>
874
4009bf40 875 * sysdeps/mips/ieee754.h: New file, suitable to replace both
ce3a4adf
AO
876 ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept
877 mips-specific for now.
878
8c937b84
UD
8792003-03-19 Ulrich Drepper <drepper@redhat.com>
880
4009bf40 881 * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle
85b5767c
UD
882 hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>.
883 * stdlib/tst-strtod.c: Add test for the bug.
884
8c937b84
UD
885 * posix/tst-nice.c (do_test): Remove invalid of return value.
886 Don't run test if initial level != 0.
887
cb8ed941
UD
8882003-03-19 Amos Waterland <apw@us.ibm.com>
889
890 * posix/tst-nice.c: New file.
891 * posix/Makefile (tests): Add tst-nice.
892
32a448ed
RM
8932003-03-18 Roland McGrath <roland@redhat.com>
894
94659495
RM
895 * abilist: New directory of libfoo.abilist files maintained using
896 scripts/merge-abilist.awk and "make update-abi" rules.
897 * Makefile (distribute): Add abilist/*.abilist.
898 * Makerules [$(build-shared) = yes] [$(subdir)] (tests):
899 Depend on check-abi.
900
32a448ed
RM
901 * configure.in: Move $critic_missing check after all AC_CHECK_PROG_VER.
902 * configure: Regenerated.
903
904 * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64): Fix name.
905
dacb2bad
UD
9062003-03-18 Ulrich Drepper <drepper@redhat.com>
907
908 * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK
909 correctly.
910
a14b373c
UD
9112003-03-18 Steven Munroe <sjmunroe@us.ibm.com>
912
913 * sysdeps/powerpc/powerpc64/memcpy.S: New file.
914
d5cb8389
UD
9152003-03-18 Ulrich Drepper <drepper@redhat.com>
916
917 * Versions.def: Add GLIBC_2.3.3 for libpthread.
918
97026947
UD
9192003-03-17 Ulrich Drepper <drepper@redhat.com>
920
921 * sysdeps/generic/libc-start.c [!SHARED &&
922 !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.
923
98054a05
RM
9242003-03-17 Roland McGrath <roland@redhat.com>
925
926 * include/ctype.h: Revert last change.
927
0a8d8004
UD
9282003-03-17 Ulrich Drepper <drepper@redhat.com>
929
930 * argp/tst-argp1.c: Use test-skeleton.c.
931 * locale/tst-C-locale.c: Likewise.
932
c27d6848
AO
9332003-03-17 Alexandre Oliva <aoliva@redhat.com>
934
5a0e429d
AO
935 * sysdeps/mips/mips64/Implies: Move wordsize-64 to...
936 * sysdeps/mips/mips64/n64/Implies: New file.
937 * sysdeps/mips/mips64/n64/Makefile: New file.
938 * sysdeps/mips/mips64/n64/el/bits/endian.h: New file.
939 * sysdeps/mips/mips64/n32/Implies: New file.
940 * sysdeps/mips/mips64/n32/Makefile: New file.
941 * sysdeps/mips/mips64/n32/el/bits/endian.h: New file.
942 * sysdeps/unix/mips/mips64/n32/sysdep.h: New file.
943 * sysdeps/unix/mips/mips64/n64/sysdep.h: New file.
944 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file.
945 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file.
946 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file.
947 * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file.
948 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file.
949 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file.
950 * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file.
951 * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file.
952 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file.
953 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file.
954 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file.
955
fc32835a
AO
956 * sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use
957 lib64 for mips64/n64 and lib32 for mips64/n32.
958 (ldd_rewrite_script): Needed for all mips64 configurations.
959 * sysdeps/unix/sysv/linux/configure: Rebuilt.
960 * sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file.
961 * sysdeps/unix/sysv/linux/mips/mips64/Dist: New file.
962
c3b519b7
AO
963 * sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as
964 well.
965
c27d6848
AO
966 * sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process
967 asm/unistd.h into asm-unistd.h.
968 * sysdeps/unix/sysv/linux/mips/configure: Generated.
969 * sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing
970 of syscall list.
971 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file.
972 * sysdeps/unix/sysv/linux/mips/clone.S: Don't include
973 asm/unistd.h.
974
935af0f2
AO
975 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file.
976 * sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long
977 long type for registers on n32.
978
4947b4b2
AO
979 * sysdeps/mips/bits/wordsize.h: New file, appropriate for all
980 3 ABIs.
981 * sysdeps/mips/mips64/gmp-mparam.h: New file. Define
982 BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs.
983 * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros.
984 (__sigsetjmp_aux): Use them. Adjust for all 3 ABIs.
985 * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs.
986 * sysdeps/unix/mips/brk.S: Likewise.
987 * sysdeps/unix/mips/sysdep.S: Likewise.
988 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
989 * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise.
990 * sysdeps/mips/sys/ucontext.h: Likewise.
991 * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise.
992 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
993 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
994 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
995 * sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
996 * sysdeps/mips/mips64/setjmp.S: Likewise.
997 * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete.
998 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for
999 64-bit types.
1000
b6e2f87a
UD
10012003-03-16 Ulrich Drepper <drepper@redhat.com>
1002
1003 * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here,
1004 not at function level.
1005 * sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise.
1006
638bb1f3
RM
10072003-03-15 Roland McGrath <roland@redhat.com>
1008
8112cc70
RM
1009 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t
1010 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1011 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise.
1012 * nis/nis_table.c (__create_ib_request): Likewise.
1013
eb64f8cb 1014 * posix/fnmatch_loop.c: Add casts for signedness.
addc92bd 1015 * nss/nss_files/files-hosts.c: Likewise.
eb64f8cb
RM
1016 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1017 * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN.
1018 * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT.
1019
385cce41
RM
1020 * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND,
1021 get errors into the log file.
1022 (libc_cv_broken_visibility_attribute): Likewise.
1023 (libc_cv_broken_alias_attribute): Likewise.
1024 (libc_cv_asm_weak_directive): Likewise.
1025 (libc_cv_need_minus_P): Likewise.
1026 (libc_cv_dot_text): Likewise.
1027 (libc_cv_asm_global_directive): Likewise.
1028 (libc_cv_asm_type_prefix): Likewise.
1029 * configure: Regenerated.
1030
638bb1f3
RM
1031 * nscd/cache.c (cache_search): Give first arg type `request_type'.
1032 * nscd/nscd.h: Update decl.
1033
1034 * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness.
1035 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1036 * elf/dl-close.c (_dl_close): Likewise.
1037 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t
1038 * io/fts.c (fts_build): Likewise.
1039 * elf/cache.c (add_to_cache): Likewise.
1040 * locale/programs/locarchive.c (show_archive_content): Likewise.
1041
1042 * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use.
1043
1044 * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3
1045 happy.
1046 (__ctype_toupper_loc, __ctype_tolower_loc): Likewise.
1047
c04dad40
UD
10482003-03-15 Ulrich Drepper <drepper@redhat.com>
1049
1050 * sysdeps/unix/sysv/linux/ia64/system.c: Use the generic Linux
1051 code for most parts.
1052
124dcac8
RM
10532003-03-15 Roland McGrath <roland@redhat.com>
1054
7eecc0c2
RM
1055 * sysdeps/unix/sysv/linux/i386/system.c: Moved to ...
1056 * sysdeps/unix/sysv/linux/system.c: ... here.
1057 (FORK): Don't #define if already #define'd.
1058 * sysdeps/unix/sysv/linux/s390/system.c: File removed.
1059 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]:
1060 (__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64.
1061
45e4762c
RM
1062 * dlfcn/tst-dlinfo.c: New file.
1063 * dlfcn/Makefile (tests): Add tst-dlinfo.
1064 ($(objpfx)tst-dlinfo): New target.
1065
1066 * dlfcn/dlinfo.c: New file.
1067 * dlfcn/Makefile (libdl-routines): Add it.
1068 * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo.
1069 * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo.
1070 [__USE_GNU] (RTLD_DI_*): New enum constants.
1071 [__USE_GNU] (Dl_serpath, Dl_serinfo): New types.
1072 * elf/dl-load.c (cache_rpath): New inline function.
1073 (_dl_map_object): Use it.
1074 (_dl_rtld_di_serinfo): New function.
1075 * sysdeps/generic/ldsodefs.h: Declare it.
1076 * elf/Versions (ld: GLIBC_PRIVATE): Add it.
1077
124dcac8
RM
1078 * sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it.
1079 (LIBC_START_MAIN, LIBC_START_MAIN_AUXVEC_ARG, MAIN_AUXVEC_ARG)
1080 (INIT_MAIN_ARGS): Define, and #include <sysdeps/generic/libc-start.c>.
1081 (__libc_start_main): Just call the generic one for most of the work.
1082
1083 * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a
1084 static function by that name instead of BP_SYM (__libc_start_main).
1085 [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument.
1086 [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN.
1087 [INIT_MAIN_ARGS]: Give INIT the same args as MAIN.
1088
1089 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_PLATFORM_AUXV]:
1090 Use this macro for extra AT_* cases.
1091 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV):
1092 New macro, guts from ...
1093 (__aux_init_cache): ... here, function removed.
1094 (DL_PLATFORM_INIT): Don't define this.
1095
1096 * sysdeps/powerpc/powerpc32/memset.S: Put __cache_line_size in bss.
1097 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
1098
e993ec9a 1099 * Versions.def (libthread_db): Add GLIBC_2.3.3 set.
124dcac8 1100
39d8c1a2
RM
11012003-03-14 Roland McGrath <roland@redhat.com>
1102
1103 * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it.
1104
c58859ce
RM
11052003-03-14 Jakub Jelinek <jakub@redhat.com>
1106
1107 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo.
1108
1109 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include
1110 sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c.
1111
44bc0afb
AO
11122003-03-14 Alexandre Oliva <aoliva@redhat.com>
1113
882dda66
AO
1114 * sysdeps/mips/fpu/bits/mathdef.h: New.
1115 (__NO_LONG_DOUBLE_MATH): Define for o32.
1116
4abdb6ca
AO
1117 * sysdeps/mips/sys/asm.h: Formatting changes.
1118 (PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs.
1119 (CPADD): Define for all of them.
1120 (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64,
1121 SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP,
1122 NARGSAVE): Define per ABI spec.
1123 (END): Don't redefine.
1124 (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA,
1125 LONG_SRAV): Remove duplicate definitions.
1126 (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI,
1127 PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL,
1128 PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32.
1129 (PTR_LA): Define for all 3 ABIs.
1130
365eccdb
AO
1131 * sysdeps/mips/dl-machine.h: Include sys/asm.h.
1132 (elf_machine_matches_host): Prevent linking of o32 and n32
1133 together.
1134 (elf_machine_dynamic): Document assumption on $gp.
1135 (STRINGXP, STRINGXV, STRINGV_): New macros.
1136 (elf_machine_load_address): Use them to stringize PTR_LA and
1137 PTR_SUBU.
1138 (ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS,
1139 ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in...
1140 (_dl_runtime_resolve): Adjust it for all 3 ABIs.
1141 (__dl_runtime_resolve): Cast the symtab initializer to the
1142 right type.
1143 (RTLD_START): Use it. Adjust it for all 3 ABIs.
1144 (elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP.
1145 Handle 64-bit R_MIPS_REL composite relocation and accept
1146 R_MIPS_64 relocations to shift addend size to 64 bits.
1147 Document assumption regarding local GOT entries. Document
1148 backward-compatibility departing from the ABI behavior in
1149 applying relocations that reference section symbols, no longer
1150 used. Support relocations to mis-aligned offsets.
1151 * sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete.
1152
d4c803f8
AO
1153 * sysdeps/unix/sysv/linux/mips/readelflib.c: New file.
1154
84c63a76
AO
1155 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
1156 (_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG.
1157 * sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and
1158 restore_rt functions. Use them.
1159
44bc0afb
AO
1160 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
1161 .set mips2 on new abis.
1162
564cd8b6
UD
11632003-03-13 Ulrich Drepper <drepper@redhat.com>
1164
1165 * posix/getconf.c: Recognize POSIX2_SYMLINKS.
1166 * sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS.
1167 * sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS.
1168 * sysdeps/posix/pathconf.c: Likewise.
1169 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
1170 * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
1171 * sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks.
1172
1173 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic
1174 words.
1175
3be9dc8e
AO
11762003-03-14 Alexandre Oliva <aoliva@redhat.com>
1177
1178 * include/gmp.h: Include/gmp-mparam.h.
1179 * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and
1180 gmp-impl.h.
1181
a77dcecf
AO
1182 * elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if
1183 ELF_MACHINE_NO_RELA is set.
1184 * elf/rtld.c (dl_main): No prelink support for REL-only.
1185
b5bac573
AO
1186 * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32,
1187 FLAG_MIPS64_LIBN64): Define.
1188 * elf/cache.c (print_entry): Handle mips64 n32 and n64.
1189
5ace1393
AO
1190 * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
1191 * sysdeps/mips/memset.S: Likewise.
1192 * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11
1193 depending on the ABI.
1194
1b12a2cb
AO
1195 * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add):
1196 Don't .set mips2 on new abi.
1197 (compare_and_swap): Likewise. Support 64-bit longs on n64.
1198
264befa8
AO
1199 * stdlib/fpioconst.h: Include gmp.h with angle brackets.
1200
d8a5edc2
RM
12012003-03-13 Roland McGrath <roland@redhat.com>
1202
1203 * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs
1204 found. Reported by Alexandre Oliva <aoliva@redhat.com>.
1205
12062003-03-13 Alexandre Oliva <aoliva@redhat.com>
1207
1208 * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit
1209 literals long long.
1210 * stdlib/fpioconst.c: Likewise.
1211 * stdlib/strtod.c: Likewise.
1212
1213 * sysdeps/mips/add_n.S: Use L macro for local labels.
1214 * sysdeps/mips/addmul_1.S: Likewise.
1215 * sysdeps/mips/lshift.S: Likewise.
1216 * sysdeps/mips/memcpy.S: Likewise.
1217 * sysdeps/mips/memset.S: Likewise.
1218 * sysdeps/mips/mul_1.S: Likewise.
1219 * sysdeps/mips/rshift.S: Likewise.
1220 * sysdeps/mips/sub_n.S: Likewise.
1221 * sysdeps/mips/submul_1.S: Likewise.
1222 * sysdeps/mips/mips64/add_n.S: Likewise.
1223 * sysdeps/mips/mips64/addmul_1.S: Likewise.
1224 * sysdeps/mips/mips64/lshift.S: Likewise.
1225 * sysdeps/mips/mips64/mul_1.S: Likewise.
1226 * sysdeps/mips/mips64/rshift.S: Likewise.
1227 * sysdeps/mips/mips64/sub_n.S: Likewise.
1228 * sysdeps/mips/mips64/submul_1.S: Likewise.
1229 * sysdeps/unix/mips/sysdep.h: Define L() according to ABI
1230 conventions. Define END as in sys/asm.h.
1231 * sysdeps/unix/mips/sysdep.S: Likewise.
1232 * sysdeps/unix/mips/wait.S: Likewise.
1233 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1234
1235 * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double):
1236 Cast shifted values that may be too narrow to mp_limb_t.
1237 * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double):
1238 Likewise.
1239 * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float):
1240 Likewise.
1241 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c
1242 (__mpn_extract_long_double): Likewise.
1243 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c
1244 (__mpn_construct_long_double): Likewise.
1245 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c
1246 (__mpn_extract_long_double): Likewise.
1247 * sysdeps/ieee754/ldbl-96/mpn2ldbl.c
1248 (__mpn_construct_long_double): Likewise.
1249
6461e577
RM
12502003-03-13 Roland McGrath <roland@redhat.com>
1251
1252 * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line
1253 entries in the map file match too.
1254
6fde8d53
AJ
12552003-03-13 Guido Guenther <agx@sigxcpu.org>
1256
1257 * sysdeps/unix/sysv/linux/mips/clone.S: introduce and use local
1258 label .Lthread_start since current binutils don't allow branches
1259 to globally visible symbols.
1260
b5ec5617
UD
12612003-03-13 Jakub Jelinek <jakub@redhat.com>
1262
1263 * sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN,
1264 ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3,
1265 ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define.
1266 (INTERNAL_SYSCALL, INLINE_SYSCALL): Use it. Make syscall arguments
1267 clobbered by the syscall.
1268 (ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5,
1269 ASM_ARGS_6): Change constraints from r to index of corresponding
1270 output register.
1271 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap
1272 ptid and ctid to match kernel.
1273 * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise.
1274
3cd69852
RM
12752003-03-12 Steven Munroe <sjmunroe@us.ibm.com>
1276
b5ec5617 1277 * sysdeps/powerpc/powerpc64/elf/configure.in: Remove
3cd69852 1278 AC_DEFINE(PI_STATIC_AND_HIDDEN). Not supported for PowerPC64.
b5ec5617 1279 * sysdeps/powerpc/powerpc64/elf/configure: Regenerated.
3cd69852 1280
d63609a7
RM
12812003-03-11 Roland McGrath <roland@redhat.com>
1282
1283 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1284 Check SYM_MAP rather than SYM as definedness check.
1285 Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs.
1286 Don't handle R_PPC64_REL24 reloc.
1287 Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
1288
1289 * sysdeps/powerpc/powerpc64/dl-machine.h
1290 [USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a
1291 block, so we cover all the TPREL16* flavors without 6 ||s.
1292 [USE_TLS] (elf_machine_tprel): New function.
1293 (elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc,
1294 and handle TPREL16 relocs too. Return rather than break for DTPREL64.
1295 Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
1296
b874af99
UD
12972003-03-11 Ralf Baechle <ralf@linux-mips.org>
1298
1299 * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal
1300 instead of jalr to invoke subroutine so restoring the $gp register
1301 will work properly.
1302
6c477888
UD
13032003-03-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
1304
1305 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define
1306 to __NR_pread if not defined.
1307 (__NR_pwrite64): Define to __NR_pwrite if not defined.
1308
f006d3a0
UD
13092003-03-11 Jakub Jelinek <jakub@redhat.com>
1310
1311 * sysdeps/unix/sysv/linux/ia64/system.c: New file.
1312 * sysdeps/unix/sysv/linux/kernel-features.h
1313 (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with
1314 kernel >= 2.5.64.
1315
b33e6163
RM
13162003-03-11 Jakub Jelinek <jakub@redhat.com>
1317
1318 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1,
1319 allocate space even for the trailing '/'.
1320 Reported by John Reiser <jreiser@BitWagon.com>.
1321
1322 * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6,
1323 ASM_CLOBBERS_6): Define.
1324 (ASM_CLOBBERS_5): Use ASM_CLOBBERS_6.
1325 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments
1326 to match IA-32 order.
1327 * sysdeps/unix/sysv/linux/i386/clone.S: Fix comment.
1328
19afbd2c
RM
13292003-03-10 Steven Munroe <sjmunroe@us.ibm.com>
1330
f006d3a0 1331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7.
19afbd2c
RM
1332 Copy extra params for NPTL to registers used in clone syscall.
1333
ce2290cb
RM
13342003-03-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
1335
1336 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system
1337 call names for pread and pwrite.
1338
e48f9638
RM
13392003-03-10 Roland McGrath <roland@redhat.com>
1340
d38c777e
RM
1341 * dlfcn/Makefile (libdl-routines): Add dladdr1.
1342 * dlfcn/dladdr1.c: New file.
1343 * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1.
1344 [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants.
1345 * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and
1346 a const ElfNN_Sym ** to fill in.
1347 * include/dlfcn.h: Update decl. Include <link.h>.
1348 * dlfcn/dladdr.c (dladdr): Update caller.
1349 * malloc/mtrace.c (tr_where): Likewise.
1350 * sysdeps/generic/elf/backtracesyms.c: Likewise.
1351 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1352 * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1.
1353 * Versions.def (libdl): Define GLIBC_2.3.3 set.
1354
e48f9638
RM
1355 * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for
1356 assembler command.
1357 * sysdeps/unix/Makefile (compile-syscall): New variable.
1358 Pass -g0 to compiler for assembling syscall stubs from stdin.
1359
1360 * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO]
1361 (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END):
1362 Define these to do nothing.
1363
1364 * configure.in: New check for -g on .S files.
1365 * configure: Regenerated.
1366 * config.make.in (have-cpp-asm-debuginfo): New variable.
1367 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef.
1368 * Makeconfig (ASFLAGS): New variable, if undefined and
1369 $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS).
1370 * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
1371
fcc60e3b
RM
13722003-03-09 Roland McGrath <roland@redhat.com>
1373
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args
1375 used by NPTL on new kernels. From Paul Mackerras <paulus@samba.org>.
1376
e51838c8
UD
13772003-03-09 Ulrich Drepper <drepper@redhat.com>
1378
1379 * po/fi.po: Update from translation team.
8049ef78 1380 * po/ca.po: Likewise.
c37cae9e 1381 * po/da.po: Likewise.
e51838c8 1382
05ae97d8
UD
13832003-03-08 Ulrich Drepper <drepper@redhat.com>
1384
1385 * rt/tst-aio7.c (do_test): Change BYTES into a #define.
1386
b6b9ee9b
UD
13872003-03-07 Ulrich Drepper <drepper@redhat.com>
1388
fcc60e3b 1389 * rt/tst-aio7.c (do_test): Give BUFF permanent extent, too.
35457070 1390
b6b9ee9b
UD
1391 * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.
1392
6326c93c
RM
13932003-03-07 Roland McGrath <roland@redhat.com>
1394
1395 * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.
1396 * sysdeps/s390/s390-64/sysdep.h (L): Likewise.
1397
2090a1d0
AJ
13982003-03-04 Guido Guenther <agx@sigxcpu.org>
1399
1400 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
1401 stubs, we have INLINE_SYSCALL.
1402 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
1403 MAP_NONBLOCK.
1404
696efd11
RM
14052003-03-06 Roland McGrath <roland@redhat.com>
1406
1407 * rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1
1408 permanent extent and add a comment about testing its implicit teardown.
1409
f1a56a2b
RM
14102003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
1411
1412 * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.
1413
49400d0e
UD
14142003-03-05 Ulrich Drepper <drepper@redhat.com>
1415
1416 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix
1417 reversed __builtin_expect expectation.
1418
5fc728a2
RM
14192003-03-05 Roland McGrath <roland@redhat.com>
1420
1421 * stdio-common/sscanf.c: Use prototype defn with ... syntax.
1422 * libio/swscanf.c: Likewise.
1423 * libio/swprintf.c: Likewise.
1424
510793fd
RM
14252003-03-04 Roland McGrath <roland@redhat.com>
1426
790eed83
RM
1427 * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.
1428 (elf_machine_rela): Always use RESOLVE_MAP, needed for
1429 R_PPC64_JMP_SLOT as well as TLS cases.
1430 (BIT_INSERT): Move parenthesis where it ought to have been.
1431 Reported by Steven Munroe <sjmunroe@us.ibm.com>.
1432
510793fd
RM
1433 * posix/confstr.c (confstr): Correct STRING_LEN values for
1434 _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing
1435 break. Reported by Alexandre Julliard <julliard@winehq.com>.
1436
0de28d5c
UD
14372003-03-04 Jakub Jelinek <jakub@redhat.com>
1438
1439 * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
1440
269e8af7
UD
14412003-03-04 Ulrich Drepper <drepper@redhat.com>
1442
e2b80a58
UD
1443 * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new
1444 clone parameters.
1445
269e8af7
UD
1446 * po/sv.po: Update from translation team.
1447
330a187b 14482003-03-04 Andreas Jaeger <aj@suse.de>
269e8af7 1449 Ulrich Drepper <drepper@redhat.com>
330a187b
AJ
1450
1451 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments.
1452
4f6f0a8f
UD
14532003-03-03 Ulrich Drepper <drepper@redhat.com>
1454
cc775edf
UD
1455 * sysdeps/generic/dl-sysdep.h: Add double include protection.
1456
75081542
UD
1457 * po/tr.po: Update from translation team.
1458
6fffb9a2
UD
1459 * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there
1460 are holes between the segments. Only call mprotect to set
1461 proection to PROT_NONE if there are some.
1462
1463 * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE.
1464 Update comment.
1465
4f6f0a8f
UD
1466 * include/sched.h (__clone2): Use ... instead of adding all the
1467 new parameters.
1468
ce78b460
RM
14692003-03-03 Roland McGrath <roland@redhat.com>
1470
868b9d6a
RM
1471 * elf/dl-load.c (struct filebuf): Fix typo in last change.
1472
ce78b460
RM
1473 * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define
1474 PI_STATIC_AND_HIDDEN.
ce78b460 1475
625f22fc
UD
14762003-03-03 Ian Wienand <ianw@gelato.unsw.edu.au>
1477
1478 * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone
1479 flags.
1480 * include/sched.h: Update clone2 prototype.
1481
71502ebe
UD
14822003-03-03 Andreas Jaeger <aj@suse.de>
1483
1484 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition.
1485 (llrint): Use it to correct return type.
1486 (lrint): Likewise.
1487 (lround): Likewise.
1488 (llround): Likewise.
1489
d15a8404
UD
14902003-03-03 Ulrich Drepper <drepper@redhat.com>
1491
ca97fb53
UD
1492 * elf/dl-load.c (struct filebuf): For 64-bit platforms use 640
1493 byte filebuf size.
1494
1739d268
UD
1495 * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor
1496 if ccs parameter isn't valid. Reported by Andreas Schwab.
1497
14982003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
1499
1500 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support
1501 for system call numbers > 255.
1502 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL,
1503 INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
1504 INTERNAL_SYSCALL): Likewise.
1505 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
1506 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL,
1507 INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
1508 INTERNAL_SYSCALL): Likewise.
1509
15102003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
1511
1512 * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv
1513 array if it is the initial dtv.
1514
15152003-03-03 Ulrich Drepper <drepper@redhat.com>
1516
1517 * po/es.po: Update from translation team.
1518 * po/fr.po: Likewise.
71502ebe 1519 * po/gl.po: Likewise.
1739d268
UD
1520 * po/sk.po: Likewise.
1521 * po/sv.po: Likewise.
1522
d15a8404
UD
1523 * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry.
1524 * misc/sys/mman.h: Add prototype for remap_file_pages.
1525 * sysdeps/generic/remap_file_pages.c: New file.
3c531a87 1526 * misc/Makefile (routines): Add remap_file_pages.
a05be180 1527 * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.
d15a8404
UD
1528
1529 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE
1530 and MAP_NONBLOCK.
1531 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1532 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise
1533 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
1534 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
1535 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
1536 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
1537 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
1538 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
1539
ea6a015b
RM
15402003-03-03 Roland McGrath <roland@redhat.com>
1541
a49f5762
RM
1542 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
1543 * sysdeps/ia64/dl-machine.h: Likewise.
1544 * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
1545 argument type.
1546 * sysdeps/ia64/dl-lookupcfg.h: Update decl.
1547
1548 * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias.
1549 * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias.
1550 * locale/Versions (libc: GLIBC_2.3): Move those to ...
1551 * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file.
1552 * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise.
1553 * Versions.def (libc): Add GLIBC_2.3.3 set.
1554
ea6a015b
RM
1555 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
1556 * sysdeps/ia64/dl-machine.h: Update decl.
1557
62584540
AJ
15582003-03-03 Andreas Jaeger <aj@suse.de>
1559
d15a8404 1560 * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
62584540 1561
78c3fb45
RM
15622003-03-02 Roland McGrath <roland@redhat.com>
1563
1564 * scripts/abilist.awk: Reject data items with apparent 0 size.
1565
1566 * scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar
1567 after foo.* as if it were a duplicate.
1568
1569 * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.
1570
885bafa1
UD
15712003-03-02 Ulrich Drepper <drepper@redhat.com>
1572
1be3d664
UD
1573 * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
1574
885bafa1
UD
1575 * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC.
1576 * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only
1577 if not already defined. Use SYSDEP_GETRES to allow other files to
1578 provide alternative implementations.
1579 * sysdeps/unix/sysv/linux/clock_getres.c: New file
1580 * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only
1581 if not already defined. Use SYSDEP_GETTIME to allow other files to
1582 provide alternative implementations.
1583 * sysdeps/unix/sysv/linux/clock_gettime.c: New file.
1584 * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only
1585 if not already defined. Use SYSDEP_GETTIME to allow other files to
1586 provide alternative implementations.
1587 * sysdeps/unix/sysv/linux/clock_settime.c: New file.
1588 * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow
1589 other files to provide alternative implementations. Rearrange
1590 tests for invalid parameters.
1591 * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file.
1592 * sysdeps/unix/sysv/linux/sysconf.c: New file.
1593 * sysdeps/unix/sysv/linux/kernel-features.h: Define
78c3fb45 1594 __ASSUME_POSIX_TIMERS for Linux 2.5.63 and up.
885bafa1
UD
1595 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
1596 _POSIX_MONOTONIC_CLOCK.
1597
bb0ddc2f
RM
15982003-03-02 Roland McGrath <roland@redhat.com>
1599
8f3846a9
RM
1600 * scripts/merge-abilist.awk: More checks for bogus input.
1601 Uniquify duplicate config names.
1602
1603 * scripts/abilist.awk: Don't distinguish weak symbols in normal output.
1604
7551556f
RM
1605 * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed
1606 from dl_reloc_overflow, make global.
1607 (__process_machine_rela): Update callers.
1608 * sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow.
1609 Add attribute_hidden to __process_machine_rela decl.
1610 (elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs.
1611
3a601d31
RM
1612 * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const
1613 variable.
1614
bb0ddc2f
RM
1615 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1616 Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED].
1617 (elf_machine_rela): Clean up.
1618
1619 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up.
1620
1621 PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>.
1622 * sysdeps/powerpc/powerpc32/elf/configure.in: New file.
1623 * sysdeps/powerpc/powerpc32/elf/configure: New generated file.
1624 * elf/tls-macros.h [__powerpc__ && !__powerpc64__]
1625 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them.
1626 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support
1627 new relocs for TLS.
1628
1629 * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
1630 macros out of [SHARED].
1631 (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.
1632
1633 * elf/elf.h: Define R_PPC_* relocs for TLS support.
1634 Clean up R_PPC64_* macro definition comments.
7ed33cba 1635
d1149385
RM
1636 * configure.in: In "running configure fragment for" message,
1637 omit $srcdir from the name if we prepended it.
1638 * configure: Regenerated.
1639
7ed33cba
RM
1640 * elf/dl-reloc.c (allocate_static_tls): Fix calculations.
1641 From Jakub Jelinek <jakub@redhat.com>.
1642
1643 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change,
1644 which duplicated the O_DIRECT defn.
1645
16462003-03-01 GOTO Masanori <gotom@debian.or.jp>
1647
1648 * stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived
1649 random functions.
1650
4191f43d
AS
16512003-03-01 Andreas Schwab <schwab@suse.de>
1652
7ed33cba
RM
1653 * resolv/Makefile (tests): Don't depend on
1654 $(objpfx)mtrace-tst-leaks when cross compiling.
1655
4191f43d
AS
1656 * sysdeps/m68k/dl-machine.h (_dl_start_user): Access
1657 __libc_stack_end through GOT since it is a global symbol.
1658
85c54a32
UD
16592003-03-01 GOTO Masanori <gotom@debian.or.jp>
1660
1661 * argp/argp.h: Fix a typo.
1662 Reported by H.S.Teoh <hsteoh@quickfur.ath.cx>.
1663
1664 * manual/terminal.texi: Fix cfmakeraw() definition from int to void.
1665
16662003-02-27 Pat Rankin <rankin@pactechdata.com>
1667
1668 * posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to
1669 char *.
1670 (get_subexp): Likewise.
1671
a6861e64
UD
16722003-03-01 GOTO Masanori <gotom@debian.or.jp>
1673
1674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define.
1675
16762003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
1677
1678 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define.
1679
a6963e69
RM
16802003-02-27 Roland McGrath <roland@redhat.com>
1681
1682 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove
1683 special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to
1684 repeat it and avoids the test for the common case.
1685 Clean up and fix calculations for TLS relocs.
1686
1687 * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ...
1688 * sysdeps/powerpc/dl-tls.h: ... here.
1689 (TLS_TP_OFFSET): New macro.
1690
1691 * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.
1692
427f5fa1
UD
16932003-02-27 Ulrich Drepper <drepper@redhat.com>
1694
1695 * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to
1696 code generation changes in recent gcc.
1697
73a061bb
RM
16982003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
1699
1700 * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):
1701 Rename argument to avoid symbol conflict.
1702
1703 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
1704 [__USE_GNU] (O_DIRECT): New macro.
1705
d2637c70
UD
17062003-02-24 David Mosberger <davidm@hpl.hp.com>
1707
1708 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
1709 unwind info.
1710
d148ed25
UD
17112003-02-27 Ulrich Drepper <drepper@redhat.com>
1712
e361e438
UD
1713 * resolv/res_libc.c [USE___THREAD] (_res): Don't need the
1714 initializer anymore now that res_thread_freeres is more careful.
1715
d148ed25
UD
1716 * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages
1717 except the PKTINFO. Reset interface in PKTINFO.
dbf6131c 1718 Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].
d148ed25 1719
fec41719
RM
17202003-02-25 Steven Munroe <sjmunroe@us.ibm.com>
1721
d148ed25
UD
1722 * elf/elf.h: Add new R_PPC64_* relocs for TLS.
1723 * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
1724 Define.
fec41719
RM
1725 * sysdeps/powerpc/powerpc64/elf/configure.in: New file.
1726 * sysdeps/powerpc/powerpc64/elf/configure: New file (generated).
afafddab
RM
1727 * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.
1728 * sysdeps/powerpc/powerpc64/dl-tls.h: New file.
fec41719 1729
d148ed25 1730 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
fec41719
RM
1731 Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
1732
56ce76ea
AJ
17332003-02-25 Andreas Jaeger <aj@suse.de>
1734
1735 * manual/memory.texi (Malloc Tunable Parameters): Clarify
1736 behaviour of M_MMAP_THRESHOLD.
1737
724fad20
RM
17382003-02-25 Roland McGrath <roland@redhat.com>
1739
1740 * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is
1741 zero, inidicating _res was not initialized yet.
1742
80d80779
UD
17432003-02-24 Ulrich Drepper <drepper@redhat.com>
1744
1745 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES
1746 test.
1747
81b47a8b
RM
17482003-02-24 Roland McGrath <roland@redhat.com>
1749
1750 * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.
1751
de217051
RM
17522003-02-23 Roland McGrath <roland@redhat.com>
1753
1754 * sysdeps/posix/pause.c: New file.
1755 * sysdeps/unix/common/pause.c: File removed.
1756
fd1a0d0c
UD
17572003-02-23 Ulrich Drepper <drepper@redhat.com>
1758
cdd8e46f
UD
1759 * sysdeps/generic/bits/confname.h: Remove #ifs.
1760
5a6bbb41
UD
1761 * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition.
1762 * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.
1763
fd1a0d0c
UD
1764 * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock
1765 element to -1.
1766
249062b0
UD
17672003-02-22 Ulrich Drepper <drepper@redhat.com>
1768
1769 * sysdeps/generic/dl-sysdep.c: Avoid warning.
1770
92cc462c
RM
17712003-02-22 Roland McGrath <roland@redhat.com>
1772
ce84ab61
RM
1773 * resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.
1774 * resolv/Makefile (tests): Add tst-leaks.
1775 ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so.
1776 (tst-leaks-ENV): New variable.
1777 ($(objpfx)mtrace-tst-leaks): New target.
1778 (tests): Depend on it.
1779
d2d442a5
RM
1780 * include/libc-internal.h: Declare __libc_thread_freeres.
1781
7a0c303e
RM
1782 * Makerules: Fix last change to use $($(subdir)-version) when set.
1783
cc8bfce9
RM
1784 * Makerules (install-lib-nosubdir): Depend on installed
1785 libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed
1786 regardless of the libfoo.so target's dependencies.
1787
92cc462c
RM
1788 * MakeTAGS (sub-make-vars): New variable, includes generating=t.
1789 Use that in $(MAKE) calls.
1790
e57f9f75
UD
17912003-02-22 Ulrich Drepper <drepper@redhat.com>
1792
819c56e7
UD
1793 * catgets/gencat.c (read_input_file): Collision between
1794 auto-assigned numbers and user-defined nubmers is not fatal.
1795 Handle it.
1796 Patch by Michael M. Lampkin <michael.lampkin@ieee.org>.
c780aa21
UD
1797 * catgets/Makefile: Add rules to run test2.msg test.
1798 * catgets/test2.msg: New file.
819c56e7
UD
1799
1800 * catgets/gencat.c (main): Return 1 if messages have been printed.
1801
757f9fcb
UD
1802 * iconv/iconv_prog.c (main): Unify messages.
1803
e57f9f75
UD
1804 * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word
1805 when shifting retval.
1806 * stdlib/tst-strtod.c (main): Add strtold test case.
1807 Reported by Fred J. Tydeman <tydeman@tybor.com>.
1808
e8783fd5
RM
18092003-02-21 Roland McGrath <roland@redhat.com>
1810
2a3d906e
RM
1811 * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT.
1812 * sunrpc/rpc_thread.c: Likewise for text_set_element use.
1813 (__rpc_thread_destroy): Add it to __libc_subfreeres too.
1814
1815 * include/resolv.h: Add libc_hidden_proto for __res_nclose.
1816 * resolv/res_init.c (__res_nclose): Add libc_hidden_def.
1817 (res_thread_freeres): New function, on __libc_thread_subfreeres and
1818 __libc_subfreeres.
1819
1820 * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres.
e8783fd5
RM
1821 * malloc/thread-freeres.c: New file.
1822 * malloc/Makefile (aux): Add it.
2a3d906e 1823 * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed.
e8783fd5
RM
1824 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section
1825 "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set.
1826
1827 * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
1828 * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.
1829
18302003-02-21 Roland McGrath <roland@frob.com>
1831
1832 * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open.
1833
1834 * iconvdata/Makefile (tests): Add bug-iconv3 only if
1835 [$(have-thread-library) = yes].
1836
1c848253
UD
18372003-02-21 Ulrich Drepper <drepper@redhat.com>
1838
9c03686d
UD
1839 * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.
1840
1c848253
UD
1841 * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do
1842 not chechk for errors (unless testing for 32bit variant).
1843 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1844 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1845 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1846
6f50cb00
UD
18472003-02-21 Jakub Jelinek <jakub@redhat.com>
1848
1849 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>:
1850 Check for signed overflow, not unsigned.
1851
cef0a48d
UD
1852 * sysdeps/sparc/sparc64/elf/configure.in: New file.
1853 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS):
1854 Use -fcall-used-g6, not -fcall-used-g7.
1855
dd3608b9
AJ
18562003-02-21 Andreas Jaeger <aj@suse.de>
1857
1858 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
1859 mode.
1860
1861 * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
1862 clear whole mxcsr but only exceptions.
1863
59fed0e2
RM
18642003-02-21 Roland McGrath <roland@redhat.com>
1865
1866 * Makerules: Filter $(install-lib-ldscripts) out of list of targets
1867 for libfoo.so that need $(make-link) rules.
1868
36f0ccda
RM
18692003-02-21 Roland McGrath <roland@frob.com>
1870
1871 * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
1872 to match existing struct stat layout in mig protocols.
1873
ec503662
UD
18742003-02-20 Ulrich Drepper <drepper@redhat.com>
1875
1876 * version.h (VERSION): Bump to 2.3.2.
1877
1878 * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp,
1879 tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c,
1880 and dl-sysdep.h.
1881 * sysdeps/generic/Dist: Add sysdep-cancel.h.
1882 * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h.
1883 * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S.
1884 * sysdeps/unix/sysv/linux/Dist: Add pathconf.h.
1885 * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h.
1886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and
1887 ucontext_i.h.
1888 * Makefile (distribute): Add include/stubs-prologue.h,
1889 include/gnu/stubs.h, scripts/merge-abilist.awk, and
1890 scripts/extract-abilist.awk.
1891
af57745c
RM
18922003-02-20 Roland McGrath <roland@redhat.com>
1893
1894 * math/Makefile (distribute): Don't add generated files.
1895
6314208a
UD
18962003-02-20 Ulrich Drepper <drepper@redhat.com>
1897
6314208a
UD
1898 * math/Makefile: Rearrange variable definitions slightly to get
1899 definition in the right order.
1900
ab10a294
RM
19012003-02-20 Roland McGrath <roland@redhat.com>
1902
1903 * Makerules: Clean up conditional around include of tls.make.
1904 * Make-dist: Export generating=t to prevent using that.
1905 (+distinfo): Likewise for $(shell $(MAKE) ...) runs.
1906
54e1cabc
UD
19072003-02-20 Ulrich Drepper <drepper@redhat.com>
1908
1909 * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap
1910 around in search if port IPPORT_RESERVED/2 has been test.
1911
ec503662 19122002-02-20 Paolo Bonzini <bonzini@gnu.org>
54e1cabc
UD
1913
1914 * posix/regcomp.c: Remove inclusions.
1915 * posix/regexec.c: Likewise.
1916 * posix/regex_internal.c: Likewise.
1917 * posix/regex_internal.h: Add inclusions here.
1918 * posix/regex.c: Only include sys/types.h before regex.h. Include
1919 regex_internal.h here. Include regex_internal.c before regcomp.c
1920 and regexec.c (might expose more opportunities to the C compiler).
1921
1922 * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC.
1923
1924 * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo.
1925 [!_LIBC] (__wcrtomb): New definition.
1926 [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and
1927 HAVE_LOCALE_H as well.
1928
6eb74f33
UD
19292003-02-20 Ulrich Drepper <drepper@redhat.com>
1930
1931 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete
1932 patch to check for system call errors.
1933
05856976
UD
19342002-07-24 Philip Blundell <philb@gnu.org>
1935
1936 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
1937 on unknown systems.
1938
19392003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1940
1941 * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround.
1942 * sysdeps/unix/sysv/linux/kernel-features.h
1943 (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl
1945 if possible.
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short
1947 interprocedure branches.
1948 * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to...
1949 * sysdeps/powerpc/nofpu/Dist: ...here.
1950 * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to...
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
1952 * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete.
1953 * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete.
1954 * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
1955
a592f998
UD
19562003-02-18 Alan Modra <amodra@bigpond.net.au>
1957
1958 * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine.
1959
44ed664b
UD
19602003-02-20 Philip Blundell <philb@gnu.org>
1961
1962 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
1963 missing arguments to INTERNAL_SYSCALL_ERROR_P and
1964 INTERNAL_SYSCALL_ERRNO.
1965
ffdcfcb0
UD
19662003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1967
1968 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
1969 for __ASSUME_32BITUIDS.
1970
4b2ed419
AS
19712003-02-20 Andreas Schwab <schwab@suse.de>
1972
1973 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and
1974 POSIX_MADV_* constants.
1975
01b28852
UD
19762003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1977
1978 * sysdeps/unix/sysv/linux/sh/pread.c: New file.
1979 * sysdeps/unix/sysv/linux/sh/pread64.c: New file.
1980 * sysdeps/unix/sysv/linux/sh/pwrite.c: New file.
1981 * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file.
1982
a70e514b
UD
19832003-02-19 Jiro Sekiba <jir@yamato.ibm.com>
1984
1985 * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate.
1986
ade67411
RM
19872003-02-16 Roland McGrath <roland@redhat.com>
1988
1989 * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.
1990
1c524710
UD
19912003-02-19 Ulrich Drepper <drepper@redhat.com>
1992
01b28852 1993 * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off
1c524710 1994 decimal input digits.
b5f7b119 1995 * stdlib/tst-strtod.c (main): Add test for strtof bug.
1c524710 1996
2f7dc594
UD
19972003-02-18 Ulrich Drepper <drepper@redhat.com>
1998
1999 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
2000 invalid file descriptors and missing access permissions.
2001
46d7e2ba
UD
20022003-02-17 Ulrich Drepper <drepper@redhat.com>
2003
8bd3f184 2004 * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has
2cfe49db
UD
2005 been found.
2006
46d7e2ba
UD
2007 * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
2008 TTY_NAME_MAX and not the _POSIX_* minimal value macros.
2009 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
2010 and LOGIN_NAME_MAX.
2011
b2740a3b
UD
20122003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
2013 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2014
2015 * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP.
2016 * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling.
2017 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2018 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2019 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2020
81b50572
UD
20212003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2022
2023 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
2024 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
2025 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
2026 * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
2027 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
2028 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.
2029
2030 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
2032 * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
2034
2035 * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
2036 * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
2037 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
2038 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
2039
fdcd8f9c
UD
20402003-02-14 Thorsten Kukuk <kukuk@suse.de>
2041
2042 * nss/getent.c (print_hosts): Print all IP addresses of one host.
2043
7125d3cf
RM
20442003-02-15 Roland McGrath <roland@frob.com>
2045
8321ef15
RM
2046 * sysdeps/mach/hurd/tls.h: New file.
2047 * sysdeps/mach/hurd/i386/tls.h: New file.
2048
b0104b6f
RM
2049 * mach/errsystems.awk: Include <errno.h> in generated output.
2050
7125d3cf
RM
2051 * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
2052 use target mach-before-compile instead of generated.
2053 (mach-before-compile): New target.
2054 * Makerules: Disable use of tls.make if $(generating) is set.
2055 * mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
2056 * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
2057 mach-shortcuts.h so mach/ generation happens before hurd/.
2058
47202270
UD
20592003-02-14 Ulrich Drepper <drepper@redhat.com>
2060
a439bb2f
UD
2061 * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa
2062 of demorm correctly if low word is zero.
2063 Reported by Fred J. Tydeman <tydeman@tybor.com>.
757de559
UD
2064 * math/libm-test.inc (nextafter_test): New test, but disabled due
2065 to gcc bug.
a439bb2f 2066
47202270
UD
2067 * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread
2068 counter and only call __exit_thread if this is not the last thread.
2069
dac0f772
UD
20702003-02-13 Jakub Jelinek <jakub@redhat.com>
2071
2072 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of
2073 subtracting map->l_tls_offset.
2074
7437cbd1
UD
20752003-02-12 Ulrich Drepper <drepper@redhat.com>
2076
2067577c
UD
2077 * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and
2078 _CS_GNU_LIBPTHREAD_VERSION.
2079 * posix/conststr.c: Handle these new values.
2080 * posix/getconf.c: Likewise.
2081
7437cbd1
UD
2082 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix
2083 masking of version index.
2084 Patch by Lance Larsh <Lance.Larsh@oracle.com>.
2085
969c9da7
UD
20862003-02-11 Ulrich Drepper <drepper@redhat.com>
2087
2088 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment
2089 correctly. Reported by Thorsten Kukuk.
2090
e5ffa64a
UD
20912003-02-10 Ulrich Drepper <drepper@redhat.com>
2092
2093 * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and
2094 _BSD_SOURCE to compiler.
2095 * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings.
2096 Patches by Alan Modra.
2097
34c86f42
UD
20982003-02-08 Ulrich Drepper <drepper@redhat.com>
2099
2100 * io/ftwtest.c: Get current working directory before and after the
2101 nftw call and make sure they match.
2102
21032003-02-08 Jim Meyering <jim@meyering.net>
2104
2067577c 2105 * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
34c86f42
UD
2106 the current directory, not just when DIR contains a slash.
2107 Reported by Manoj Srivastava.
2108
ae9ecd08
UD
21092003-02-07 Jim Meyering <jim@meyering.net>
2110
2111 * io/ftw.c: Add autoconf-recommended block of alloca-related code.
2112 Include autoconf-recommended block of dirent/NAMELEN-related
2113 definitions and includes. Use NAMELEN throughout, rather than
2114 _D_EXACT_NAMLEN.
2115 [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN.
2116 [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd.
2117 (stpcpy): Declare, if necessary.
2118 (mempcpy): Define, if necessary.
2119 [!_LIBC] (__stpcpy, __mempcpy): Define.
2120 [!_LIBC] (LXSTAT, XSTAT): Define.
2121 (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.
2122 (find_object): Don't use c99-style struct initializer.
2123 Tweak wording in a couple comments.
2124
2a051a7d
UD
21252003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2126
2127 * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list
2128 for SH.
2129 * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD
2130 after the trapa instruction.
2131 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional
2132 parameters.
2133 * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file.
2134 (NEED_SYSCALL_INST_PAD): Define.
2135 * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to
2136 avoid to use definition for the kernel.
2137 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2138 Save and restore the frame pointer.
2139 (SYSCALL_INST_PAD): Define.
2140 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
2141 (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD
2142 after trapa instruction.
2143 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
2144 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
2145
1f503475
UD
21462003-02-07 Jakub Jelinek <jakub@redhat.com>
2147
2148 * resolv/res_libc.c (_res): Ensure _res is not common symbol,
2149 so that it can have aliases.
2150 * inet/herrno.c (h_errno): Put it into .bss not .data section.
2151
eecc378c
UD
21522003-02-07 Ulrich Drepper <drepper@redhat.com>
2153
2154 * elf/dl-runtime.c (fixup): Correct typo in version index computation.
2155 (profile_fixup): Likewise.
1f503475 2156 Patch by Lance Larsh <Lance.Larsh@oracle.com>.
eecc378c 2157
ce96c93d
UD
21582002-11-24 Robert Love <rml@tech9.net>
2159
2160 * posix/sched.h: Second parameter of sched_setaffinity and
2161 sched_getaffinity is `unsigned int', not `unsigned long'.
2162 * sysdeps/generic/sched_setaffinity.c: Likewise.
2163 * sysdeps/generic/sched_getaffinity.c: Likewise.
2164
e0f86659
UD
21652003-02-05 Ulrich Drepper <drepper@redhat.com>
2166
432cf458 2167 * debug/catchsegv.sh: Fix typo in error messsage.
ce96c93d 2168 Reported by John Levon <levon@movementarian.org>.
432cf458 2169
5cd09cd6
UD
2170 * sysdeps/unix/sysv/linux/posix_fadvise.c: New file.
2171 * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall.
2172 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2173 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
2175 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2176 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2177
e0f86659
UD
2178 * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked.
2179 Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>.
2180
5049f197
UD
21812003-02-05 Jim Meyering <jim@meyering.net>
2182
2183 Fix a heap-corrupting bug.
2184 * io/ftw.c: Include <limits.h>.
2185 (PATH_MAX) [!defined PATH_MAX]: Define to 1024.
2186 (process_entry): Allocate enough space to hold the resulting
2187 file name. Don't presume that 2*dirbufsize is enough.
2188 (ftw_startup): Always use PATH_MAX to compute buffer size, now that
2189 it is guaranteed to be defined.
2190
6f1cff95
UD
21912003-02-04 Ulrich Drepper <drepper@redhat.com>
2192
2193 * iconvdata/Makefile: Add rules to build and run bug-iconv3.
2194 * iconvdata/bug-iconv3.c: New file.
2195
b33b0d0d
UD
21962003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
2197
2198 * sysdeps/unix/sysv/linux/s390/system.c: New file.
2199
6900ded2
UD
22002003-02-03 Jakub Jelinek <jakub@redhat.com>
2201
2202 * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New
2203 check.
2204 * config.h.in (BROKEN_SPARC_WDISP22): Add.
2205
663684b2
UD
22062003-02-03 Ulrich Drepper <drepper@redhat.com>
2207
2208 * sysdeps/i386/i686/memmove.S: New file.
2209
3e4fc359
UD
22102003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
2211
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c:
2213 Include kernel-features.h
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2218
75dec09e
UD
22192003-02-02 Jakub Jelinek <jakub@redhat.com>
2220
2221 * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers.
2222
78e88510
UD
22232003-01-25 Jim Meyering <jim@meyering.net>
2224
2225 * io/ftw.c (object_compare): Compare inode numbers before device
2226 numbers, since the former are much more likely to differ.
2227
38e68573
UD
22282003-02-01 Ulrich Drepper <drepper@redhat.com>
2229
2230 * time/tzfile.c (__tzfile_compute): Change return value type to
2231 void. Adjust return statements.
2232 * include/time.h (__tzfile_compute): Adjust prototype.
2233
22342003-02-01 Jim Meyering <jim@meyering.net>
2235
2236 * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute
2237 always returns 1.
2238
22392003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
2240
2241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
2242 [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS.
2243
22442003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
2245
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2247 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub.
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2249 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2251 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2253 [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
2254
22552003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
2256
2257 * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel
2258 back to 2.4.19 for powerpc64.
2259 * sysdeps/unix/sysv/linux/kernel-features.h
2260 (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64.
2261 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64.
2262
22632003-02-01 Ulrich Drepper <drepper@redhat.com>
2264
2265 * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for
2266 platforms with strange alignment requirements on wchar_t.
2267
b67fcc1e
UD
22682003-01-31 Andreas Schwab <schwab@suse.de>
2269
2270 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_*
2271 aliases, already added by make-syscalls.sh.
2272 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2273 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2274 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2275 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2276 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2277 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2278 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2279 * sysdeps/unix/inet/syscalls.list: Likewise.
2280 * sysdeps/unix/syscalls.list: Likewise.
2281
fb784fd5
AS
22822003-01-31 Andreas Schwab <schwab@suse.de>
2283
2284 * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed
2285 any more.
2286
c4c1336c
UD
22872003-01-30 Jakub Jelinek <jakub@redhat.com>
2288
2289 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg,
2290 not l to load tls from stack.
2291
d6f5e721
RM
22922003-01-30 Roland McGrath <roland@redhat.com>
2293
2294 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for
2295 null argument before all else.
2296 Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2297
7ba7c829
UD
22982003-01-30 Jakub Jelinek <jakub@redhat.com>
2299
2300 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel):
2301 Move to RESOLVE protected part of the header.
2302 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel):
2303 Likewise.
2304
23052003-01-30 Ulrich Drepper <drepper@redhat.com>
2306
2307 * stdio-common/Makefile (tests): Add bug15.
2308 (bug15-ENV): Define.
2309 * stdio-common/bug15.c: New file.
2310
886d5973
UD
23112002-10-07 Wolfram Gloger <wg@malloc.de>
2312
2313 * malloc/malloc.c (sYSMALLOc): Only check for breakage due
2314 to foreign sbrk()'s if arena is contiguous. Bug report from
2315 Bruno Haible <bruno@clisp.org>.
2316
23172003-01-30 Jakub Jelinek <jakub@redhat.com>
2318
2319 * sysdeps/s390/libc-tls.c: Include stdlib.h.
2320
23212003-01-30 Jakub Jelinek <jakub@redhat.com>
2322
2323 * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of
2324 ps.__count.
2325
23262003-01-30 Ulrich Drepper <drepper@redhat.com>
2327
2328 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and
2329 restoring of %r6.
2330 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use
2331 64-bit load.
2332 Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2333
23342003-01-30 Jakub Jelinek <jakub@redhat.com>
2335
2336 * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error...
2337 (allocate_static_tls): ...here. Add __attribute_noinline__.
2338 Don't return on failure.
2339 (_dl_reloc_bad_type): Add __attribute_noinline__.
2340 * elf/do-rel.h (elf_dynamic_do_rel): Add
2341 __attribute__((always_inline)).
2342 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
2343 elf_machine_rel_relative, elf_machine_rela_relative,
2344 elf_machine_lazy_rel): Add prototypes with
2345 __attribute__((always_inline)).
2346
23472003-01-29 David Mosberger <davidm@hpl.hp.com>
2348
2349 * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.
2350
871afd6b
RM
23512003-01-29 Roland McGrath <roland@redhat.com>
2352
2353 * configure.in: Barf if configured in $srcdir.
871afd6b 2354
1e49399d
UD
23552003-01-28 Steven Munroe <sjmunroe@us.ibm.com>
2356
2357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
1e2f8718 2358 (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL.
1e49399d 2359
db34912e
UD
23602003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2361
2362 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional
2363 clone parameters to match the order used on ia32.
2364 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2365
e6ebd2e4
UD
23662003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2367
2368 * elf/elf.h: Add new s390 relocs.
2369 * elf/tls-macros.h: Add s390 versions.
2370 * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset.
2371 * sysdeps/s390/dl-tls.h: New file.
2372 * sysdeps/s390/libc-tls.c: New file.
2373 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS
2374 relocs for class PLT.
2375 (elf_machine_rela): Handle TLS relocs.
2376 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2377 * sysdeps/s390/s390-32/elf/configure.in: Add TLS check.
2378 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
2379 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for
2380 CLONE_CHILD_*TID flags.
2381 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2382 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32
2383 bit offset.
2384 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2385 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2386 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
2387 Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant.
2388 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
2389 Likewise.
2390 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2391 (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER.
2392 (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
2393 variants.
2394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h:
2395 (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use
2396 direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT.
2397 (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
2398 variants.
2399
772e3426
UD
24002003-01-28 Ulrich Drepper <drepper@redhat.com>
2401
2402 * sysdeps/unix/common/pause.c (do_pause): New function. Split
2403 from __libc_pause. Implement using sigsuspend.
2404 (__libc_pause): Call do_pause to do the real work.
2405
2406 * sysdeps/posix/sigpause.c (do_sigpause): Check range of
2407 sig_or_mask parameter is is_sig != 0.
2408
0566b130
UD
24092003-01-21 Philip Blundell <philb@gnu.org>
2410
2411 * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
2412
a15698cb
UD
24132003-01-27 Steven Munroe <sjmunroe@us.ibm.com>
2414
2415 * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check.
2416
b7e033f7
UD
24172003-01-27 Ulrich Drepper <drepper@redhat.com>
2418
e6fb8846
UD
2419 * stdio-common/bug14.c: Use official name for the locale.
2420
1fc46908
UD
2421 * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start
2422 instead of __libc_cleanup_region_start and _IO_cleanup_region_end
2423 instead of __libc_cleanup_region_end.
2424
2425 * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1
2426 as first parameter to __libc_cleanup_region_start.
2427
68ff8426
UD
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
2429 (__fe_nomask_env): Use __prctl not prctl.
2430 * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for
2431 prctl syscall.
2432
809cd222
UD
2433 * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message.
2434
2435 * elf/dl-open.c (_dl_tls_static_size): Bump to 2048.
2436
b7e033f7
UD
2437 * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic
2438 wrap-around in test.
2439
62f29da7
UD
24402003-01-26 Andreas Schwab <schwab@suse.de>
2441
2442 * sysdeps/wordsize-32/divdi3.c: Export the functions only as
2443 compatibility symbols. Remove INTDEF for __divdi3.
2444 * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal.
2445 * sysdeps/powerpc/powerpc32/divdi3.c: Remove.
2446 * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't
2447 define.
2448 * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c.
2449
24502003-01-24 Jakub Jelinek <jakub@redhat.com>
2451
2452 * elf/tls-macros.h: Add SPARC 32-bit definitions.
2453 * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check.
2454 * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards
2455 for the first half of the header. Include tls.h.
2456 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS
2457 relocs too.
2458 (elf_machine_rela): Handle TLS relocs.
2459 * sysdeps/sparc/dl-tls.h: New file.
2460
2461 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation
2462 support.
2463
2464 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7.
2465 * sysdeps/sparc/sparc32/memchr.S: Likewise.
2466 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2467 * sysdeps/sparc/sparc32/strcat.S: Likewise.
2468 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2469 * sysdeps/sparc/sparc32/strcmp.S: Likewise.
2470 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
2471 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
2472 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2473 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2474 * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
2475 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2476 * sysdeps/sparc/sparc64/strcat.S: Likewise.
2477 * sysdeps/sparc/sparc64/strchr.S: Likewise.
2478 * sysdeps/sparc/sparc64/strcmp.S: Likewise.
2479 * sysdeps/sparc/sparc64/strcpy.S: Likewise.
2480 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2481 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2483 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2484
24852003-01-24 Andreas Schwab <schwab@suse.de>
2486
2487 * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY
2488 elements, and process them backwards.
2489 * elf/Makefile ($(objpfx)tst-array4): New target.
2490 ($(objpfx)tst-array4.out): Likewise.
2491 (tests) [$(have-initfini-array) = yes]: Add tst-array4.
2492 * elf/tst-array4.c: New file.
2493 * elf/tst-array4.exp: Likewise.
2494
24952003-01-24 Steven Munroe <sjmunroe@us.ibm.com>
2496
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file.
2498
24992003-01-27 Guido Guenther <agx@sigxcpu.org>
2500
2501 * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define.
2502 * sysdeps/unix/sysv/linux/mips/pread.c: Add support for
2503 cancellation handling and handle both __NR_pread64 and __NR_pread.
2504 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2505 * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for
2506 cancellation handling and handle both __NR_pwrite64 and __NR_pwrite.
2507 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2508 * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT
2509 case, use register names consistently.
2510
25112003-01-27 Wolfram Gloger <wg@malloc.de>
2512
2513 * malloc/hooks.c (mem2chunk_check): Check alignment of mem
2514 pointer, not of the computed chunk. Bug report from Carlos
2515 O'Donell <carlos@baldric.uwo.ca>.
2516
251c0f71
AS
25172003-01-25 Andreas Schwab <schwab@suse.de>
2518
2519 * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative
2520 addressing to save GOT entries.
2521
86dfa4eb
RM
25222003-01-21 Jakub Jelinek <jakub@redhat.com>
2523
2524 * sysdeps/unix/alpha/sysdep.h (inline_syscall0,
2525 inline_syscall1, inline_syscall2, inline_syscall3,
2526 inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
2527 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
2528 __attribute__((unused)) to ChEcK.
2529
d5b6c817
UD
25302003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
2531
2532 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL):
2533 Fix inline assembler constraints.
2534 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL):
2535 Likewise.
2536
2537 * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of
2538 -fPIC.
2539
83c9a671
RM
25402003-01-20 Segher Boessenkool <segher@koffie.nl>
2541
2542 * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really
2543 compute the cosine, not the sine, even if x > 0.8.
2544
b677d674
UD
25452003-01-19 Ulrich Drepper <drepper@redhat.com>
2546
2547 * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of
2548 _nss_nis_setspent. Work around the different prototypes.
2549 * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use
2550 internal_nis_endrpcent.
2551 (internal_nis_endrpcent): Change return type to void. Change callers.
2552 * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of
2553 _nss_nis_setpwent. Work around the different prototypes.
2554 * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body
2555 of the function to...
2556 (internal_nis_endprotoent): ... here. New function.
2557 (internal_nis_setprotoent): Use internal_nis_endprotoent.
2558 * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of
2559 _nss_nis_setnetent. Work around the different prototypes.
2560 * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body
2561 of the function to...
2562 (internal_nis_endnetgrent): ... here. New function.
2563 (_nss_nis_setnetgrent): Use internal_nis_endnetgrent.
2564
978bd143
UD
25652003-01-19 Jim Meyering <jim@meyering.net>
2566
2567 * time/strftime.c: (widen): Merge nearly-identical definitions.
2568 (nl_get_alt_digit) [! defined my_strftime]: Define.
2569 (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of
2570 _nl_get_alt_digit and _nl_get_walt_digit.
2571
b1a173f7
UD
25722003-01-19 Ulrich Drepper <drepper@redhat.com>
2573
2574 * time/strftime.c (my_strftime): Handle very large width
2575 specifications for numeric values correctly. Improve checks for
2576 overflow.
2577 * time/Makefile (tests): Add tst-strftime.
2578 * time/tst-strftime.c: New file.
2579
039c1b75
UD
25802003-01-18 Ulrich Drepper <drepper@redhat.com>
2581
6675b191
UD
2582 * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of
2583 _nss_nis_sethostent. Work around the different prototypes.
2584 * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of
2585 _nss_nis_setgrent. Work around the different prototypes.
2586 * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New
2587 function. Split out from _nss_nis_endetherent.
2588 (internal_nis_setetherent): Use internal_nis_endetherent instead of
2589 duplicating the code.
2590 * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias
2591 of _nss_nis_setaliasent.
2592 * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse
2593 internal_nis_endservent code, don't duplicate it.
2594
039c1b75
UD
2595 * inet/rexec.c (rexec_af): Protect socket operations with
2596 TEMP_FAILURE_RETRY. Use writev instead of multiple write.
2597 * inet/rcmd.c (rcmd_af): Likewise.
2598
62431425
RM
25992003-01-17 Roland McGrath <roland@redhat.com>
2600
d32e4346
RM
2601 * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]:
2602 Add test of value 0.80190127184058835.
2603
62431425
RM
2604 * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn.
2605
0f0b7994
UD
26062003-01-17 Richard Henderson <rth@redhat.com>
2607
2608 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS
2609 relocs for class PLT.
2610 * sysdeps/alpha/libc-tls.c: New file.
2611 * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New.
2612 (LOADGP) [!PIC]: Rewrite to preserve caller's gp.
2613
26142003-01-17 Jakub Jelinek <jakub@redhat.com>
2615
2616 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use
2617 __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock
2618 on _dl_static_lock.
2619
1d4ff70e
AJ
26202003-01-17 Andreas Jaeger <aj@suse.de>
2621
2622 * stdio-common/bug14.c: Include stdlib.h for exit prototype.
2623
609b4783
UD
26242003-01-16 Steven Munroe <sjmunroe@us.ibm.com>
2625
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file.
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file.
2629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file.
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file.
2631 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
2632 * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64
2633 is 2.4.21.
2634
26352003-01-16 Ulrich Drepper <drepper@redhat.com>
2636
2637 * sysdeps/generic/glob.c (glob): Assume sysconf() always returns
2638 values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed
2639 buffers.
2640
2641 * sysdeps/generic/sysconf.c: Unconditionally implement
2642 _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX.
2643 * sysdeps/posix/sysconf.c: Likewise.
2644
7b7b9e70
UD
26452003-01-16 Jakub Jelinek <jakub@redhat.com>
2646
2647 * posix/regcomp.c (parse_bracket_exp): If build_charclass fails,
2648 set *err to the returned error, not to REG_ESPACE unconditionally.
2649 (build_word_op): Likewise.
2650 * posix/Makefile (tests): Add bug-regex16.
2651 * posix/bug-regex16.c: New test.
2652
850dcfca
UD
26532003-01-16 Jakub Jelinek <jakub@redhat.com>
2654
2655 * elf/dl-load.c (_dl_map_object_from_fd): Use
2656 GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has
2657 been already initialized.
2658
a1f8ec97
UD
26592003-01-15 Dmitry V. Levin <ldv@altlinux.org>
2660
2661 * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment.
2662
f811dbdc
UD
26632003-01-16 Jakub Jelinek <jakub@redhat.com>
2664
2665 * posix/regcomp.c (re_compile_internal): If clearing buffer, clear
2666 allocated too. Reported by Al Viro <aviro@redhat.com>.
2667
4dd98447
RM
26682003-01-16 Roland McGrath <roland@redhat.com>
2669
2670 Tweak merged .abilist file format to merge duplicate symbols in
2671 different sets into multi-version stanzas with new "| SET regexp..."
2672 header continuation lines.
2673 * scripts/merge-abilist.awk: Rewritten for new format.
2674 * scripts/extract-abilist.awk: Likewise.
2675
0f740059
UD
26762003-01-15 Ulrich Drepper <drepper@redhat.com>
2677
e09edf23
UD
2678 * nscd/connections.c (nscd_run): Remove bogus return which isn't
2679 necessary with gcc 3.2+.
2680 (nscd_init): Don't use error() to print message, use dbg_log.
2681
ea31b613
UD
2682 * iconv/gconv_simple.c (STORE_REST): Explicitly store the total
2683 expected size into state.
2684 (UNPACK_BYTES): Do the reverse.
41f112ad 2685 * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element.
ea31b613
UD
2686 * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug.
2687 Reported by Al Viro <aviro@redhat.com>.
2688
a1a2fec1
UD
2689 * stdio-common/Makefile (tests): Add bug14.
2690 * stdio-common/bug14.c: New file.
2691
0f740059
UD
2692 * stdio-common/vfscanf.c: When recognizing multibyte characters in
2693 string reset the byte counter after mbrtowc reported it is not a
2694 partial character. Reported by Al Viro <aviro@redhat.com>.
2695
c16abc04
UD
26962003-01-15 Steven Munroe <sjmunroe@us.ibm.com>
2697
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include
2699 sysdep-cancel.h, not sysdep.h.
2700
27012003-01-15 Ulrich Drepper <drepper@redhat.com>
2702
2703 * nscd/connections.c (nscd_run): Protect accept call with
2704 TEMP_FAILURE_RETRY.
2705
c841fa22
AS
27062003-01-15 Andreas Schwab <schwab@suse.de>
2707
2708 * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d.
2709 (common-generated): Add s-proto-bp.d.
2710 * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies
2711 of bp thunks.
2712 * sysdeps/unix/s-proto-bp.S: New file.
2713 * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here.
2714 Use <io/sys/sendfile.h> instead of <sys/sendfile.h>.
2715 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file.
2716
73917724
RM
27172003-01-15 Roland McGrath <roland@redhat.com>
2718
2719 * Makerules: Use -include for tls.make, suppresses warning.
2720 Move gen-as-const-headers rules up so before-compile is set in time.
2721 (sed-remove-dotdot): Fix to work right for subdirs or top dir.
2722
c9f24336
UD
27232003-01-15 Ulrich Drepper <drepper@redhat.com>
2724
d4397629
UD
2725 * nscd/nscd.c (main): Make code to close all file descriptors
2726 faster and more robust.
2727
9caf4f1c
UD
2728 * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the
2729 request with one writev call. Protect all read calls with
2730 TEMP_FAILURE_RETRY.
2731 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2732 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2733
2734 * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer.
2735 Protect writev calls with TEMP_FAILURE_RETRY.
2736 * nscd/grpcache.c: Likewise.
2737 * nscd/pwdcache.c: Likewise.
2738
c9f24336
UD
2739 * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as
2740 IPv6 address in debug output.
2741
9ae10332
RM
27422003-01-14 Roland McGrath <roland@redhat.com>
2743
2744 * Makerules (check-abi-%): Use two rules for $(common-objpfx) and
2745 $(objpfx) directories, and get rid of vpath directives. The previous
2746 arrangement resulted in files being written to the source directories
2747 when run in a clean build. Find all .abilist files in $(..)abilist/.
2748 (update-abi-%): Likewise.
2749 (generated): Don't add .symlist files, they'll be intermediates.
2750
2751 * sysdeps/generic/init-first.c: Add a comment.
2752
2753 * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link.
2754
2755 * scripts/gen-as-const.awk: Grok lone "--" as a separator between
2756 #includes and expressions.
2757
2758 * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged
2759 config list when it already contains cpu-.*-os.* without / part.
2760
2761 * Makerules (sed-remove-dotdot): New variable.
2762 ($(common-objpfx)%.make): Use it. Depend on $(before-compile).
2763 ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.
2764 (check-abi-config): New variable, append /tls or /notls to the tuple.
2765 (check-abi-%): Use that for -v config value.
2766 Find .abilist files in abilist/libfoo.abilist, not in subdir.
2767 * Rules: Move bits/stdio_lim.h generation rules to Makerules.
2768
a8d87c92
UD
27692003-01-14 Ulrich Drepper <drepper@redhat.com>
2770
2771 * manual/install.texi: Correct description of header preparation for
2772 Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].
2773
574b892e
UD
27742003-01-14 Guido Guenther <agx@sigxcpu.org>
2775
2776 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL,
2777 INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
2778 INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
2779
27802003-01-14 Steven Munroe <sjmunroe@us.ibm.com>
2781
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2783 (INTERNAL_SYSCALL): Make use of ERR parameter.
2784 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
2785 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
2786 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file.
2788
2c255347
UD
27892003-01-14 Ulrich Drepper <drepper@redhat.com>
2790
086311a9
UD
2791 * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol
2792 == IPPROTO_TCP.
2793 Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943].
2794
2f279b14
UD
2795 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags):
2796 Fix entry for bit 31.
2797
2c255347
UD
2798 * iconvdata/Makefile: Add rules to build IBM866NAV.
2799 * iconvdata/ibm866nav.c: New file.
2800 * iconvdata/tst-tables.sh: Add IBM866NAV.
2801 * iconvdata/gconv-modules: Add entries for IBM866NAV.
2802
642eb2a2
UD
28032003-01-13 Ulrich Drepper <drepper@redhat.com>
2804
2805 * string/tester.c (test_strcpy): Use the previously #if 0'ed code
2806 to test void* parameters.
2807
2808 * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast
2809 source pointer before dereferencing.
2810 (__STRING_SMALLL_GET32): Likewise.
2811 (__memset_gc): Add missing parenthesis around macro arguments.
574b892e 2812 Patch by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2
UD
2813
2814 * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler
574b892e 2815 that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2 2816
115bb61d
UD
28172003-01-14 Jakub Jelinek <jakub@redhat.com>
2818
2819 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before
2820 defining.
2821
28222003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2823
2824 * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals.
2825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it
2826 here.
2827 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise.
2828
28292003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2830
2831 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions
2832 from here...
2833 (PSEUDO): ... to here.
2834 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction
2835 from here...
2836 (PSEUDO): ... to here.
2837
9ef0a840
UD
28382003-01-13 Ulrich Drepper <drepper@redhat.com>
2839
2840 * locale/programs/charmap-dir.c (charmap_readdir): Use struct
2841 dirent64 instead of struct dirent for dirent. Call readdir64
2842 instead of readdir.
2843
2844 * locale/programs/locfile.c (siblings_uncached): Use struct
2845 dirent64 instead of struct dirent for other_dentry. Call
2846 readdir64 instead of readdir.
2847
2848 * elf/ldconfig.c (direntry): Change type to struct dirent64.
2849 (search_dir): Use readdir64 instead of readdir.
2850 Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>.
2851
f1c5213d
RM
28522003-01-12 Roland McGrath <roland@redhat.com>
2853
c01ec9c7
RM
2854 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,
2855 not strtol. The former is usable in ld.so, the latter not.
2856
f1c5213d
RM
2857 * include/fcntl.h: Declare __libc_creat.
2858
2859 * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs,
2860 libhurduser-link.so-no-z-defs): New variables.
2861
2862 * malloc/malloc.c: Revert last change.
2863 * malloc/malloc.h (_int_*): Move these decls to ...
2864 * include/malloc.h: ... here. Add attribute_hidden.
2865 (_int_valloc): Declare it too.
2866
73398a44
UD
28672003-01-12 Ulrich Drepper <drepper@redhat.com>
2868
115bb61d 2869 * elf/dl-close.c (_dl_close): Fix typo, must be == not = in
1376cd8c
UD
2870 search for removed searchlist. Reported by Roland McGrath.
2871
40212ce0
UD
2872 * io/ftwtest-sh: Add test for case of symlink to nonexisting file
2873 given as start file.
2874
2875 * io/ftw.c (ftw_startup): Use correct name in check for symlink
2876 without existing target. Patch by Jim Meyering.
2877
73398a44
UD
2878 * Makerules (build-shlib-helper): Don't use -z defs linker option
2879 if no-z-defs is defined either.
2880
28812003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2882
2883 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused
2884 file.
2885
28862003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2887
2888 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork.
2889 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2890
b2608c22
UD
28912003-01-12 Ulrich Drepper <drepper@redhat.com>
2892
2893 * io/ftwtest-sh: Add test case for relative path with /. at the end.
2894
28952003-01-12 Jim Meyering <jim@meyering.net>
2896
2897 * io/ftw.c (ftw_startup): When trying to stat the starting directory,
2898 use the basename if we've already chdir'd into its parent directory.
2899
a5ce5fcf
UD
29002003-01-12 Ulrich Drepper <drepper@redhat.com>
2901
2902 * io/ftw.c (process_entry): Use relative path when using chdir()
b2608c22 2903 to change directory after call to ftw_dir.
a5ce5fcf
UD
2904 * io/ftwtest-sh: Add test for relative path argument to nftw()
2905 with FTW_CHDIR option.
2906
b398ae3c
UD
29072002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2908
2909 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
2910 Define for powerpc.
2911 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment
2912 into account.
2913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2914 (INTERNAL_SYSCALL): Make use of ERR parameter.
2915 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
2916 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
2917 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.
2919
29202002-01-09 Richard Henderson <rth@redhat.com>
2921
2922 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute
2923 DTPREL64 and TPREL64 without loadbase applied.
2924
29252002-01-09 Richard Henderson <rth@redhat.com>
2926
2927 * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno
2928 for NOT_IN_libc.
2929
2930 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits...
2931 * sysdeps/unix/alpha/sysdep.h: ... here.
2932 (PSEUDO_LOADGP): Remove.
2933 (PSEUDO_PROLOGUE): Load GP in non-pic case.
2934 (SYSCALL_ERROR_LABEL): New.
2935 (PSEUDO): Use it in error branch.
2936 (PSEUDO_END): Add $syscall_error label.
2937
1f8613a6
AJ
29382003-01-12 Andreas Jaeger <aj@suse.de>
2939
2940 * math/bits/mathcalls.h: Round is a const function.
2941
aff4519d
UD
29422003-01-11 Jim Meyering <jim@meyering.net>
2943
2944 * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>.
2945 [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>.
2946 Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC.
2947 [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define.
2948 [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define.
2949 [!_LIBC] (internal_function, dirent64, MAX): Define.
2950 (__set_errno): Define if not already defined.
2951 (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on
2952 the basename, not the entire file name.
2953 (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on
2954 the basename, not the entire file name.
2955
29562003-01-12 Ulrich Drepper <drepper@redhat.com>
2957
2958 * string/tester.c (test_strcpy): Disable last added strcpy until
2959 it is fixed.
2960
29612003-01-11 Philip Blundell <philb@gnu.org>
2962
2963 * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support.
2964
29652003-01-11 Andreas Schwab <schwab@suse.de>
2966
2967 * Makerules: Add vpath for %.dynsym and %.so so that the
2968 implicit rule chaining for check-abi works.
2969
29702003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2971
2972 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2973 Add non-PIC case.
2974
29752003-01-11 Jakub Jelinek <jakub@redhat.com>
2976
2977 * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define.
2978 [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if
2979 gp is used early.
2980 [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS.
2981 * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so):
2982 Ensure libc.so in DT_NEEDED.
2983 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move
2984 CHECK_STATIC_TLS before l_tls_offset use.
2985 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
2986 Likewise.
2987 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2988 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]:
2989 Allocate TLS_PRE_TCB_SIZE bytes below result.
2990 (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing.
2991 * sysdeps/generic/libc-tls.c (__libc_setup_tls): If
2992 TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS
2993 segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE
2994 bytes below result and add tcb_offset to memsz.
2995 * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype.
2996 * sysdeps/ia64/dl-machine.h: Include tls.h.
2997 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs
2998 too.
2999 (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too.
3000 Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations.
3001 * sysdeps/ia64/libc-tls.c: New file.
3002
30032003-01-10 Steven Munroe <sjmunroe@us.ibm.com>
3004
3005 * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit.
3006 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX):
3007 Fix type. Move definition out of #if.
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file.
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file.
3010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file.
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file.
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file.
3013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation
3014 support.
3015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove
3016 ftruncate64, pread64, pwrite64, truncate64 entries.
3017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3018 (INLINE_SYSCALL): New version that supports function call like
3019 syscalls. Add __builtin_expect.
3020 (LOADARGS_n): Add argument size safety checks.
3021 (INTERNAL_SYSCALL): New Macro.
3022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file.
3023 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid
3024 redefinition of elf_fpreg_t and elf_fpregset_t.
3025
30262003-01-12 Ulrich Drepper <drepper@redhat.com>
3027
3028 * elf/dl-close.c (_dl_close): Add several asserts. Correct and
3029 simplify test for unloading. If loader of a DSO is unloaded do not
3030 use its scope anymore. Fall back to own scope and adjust opencounts.
3031 Fix several comments.
3032 * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for
3033 the l_searchlist, not only for l_initfini.
3034
3035 * elf/dl-lookup.c (add_dependencies): Avoid creating relocation
3036 dependencies if objects cannot be removed. Remove object with the
3037 definition as not unloadable if necessary.
3038
3039 * elf/reldep6.c: Create relocation dependency before closing the first
3040 module.
3041
3042