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