]> sourceware.org Git - glibc.git/blame - ChangeLog
Test for deadlock situation when running destructors for DSOs.
[glibc.git] / ChangeLog
CommitLineData
4183d2a7
RM
12004-05-18 Andreas Schwab <schwab@suse.de>
2
3 * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
4 the first segment for mprotect, not l_text_end.
5
ce6e047f
UD
62004-07-05 Ulrich Drepper <drepper@redhat.com>
7
321e8782
UD
8 * elf/dl-profile.c (_dl_start_profile): Compact error handling.
9 Remove hashfraction variable. Make kcount and kcountsize local
10 variables.
11
ce6e047f
UD
12 * elf/dl-init.c: Don't define and use _dl_starting_up if
13 HAVE_INLINED_SYSCALLS is defined and the variable is not used.
14 * elf/dl-support.c: Likewise.
15 * elf/rtld.c: Likewise.
16 * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
17 if HAVE_INLINED_SYSCALLS is defined.
0b439171 18 * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
ce6e047f
UD
19 here.
20 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21 * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
22 * config.h.in: Add entry for HAVE_INLINED_SYSCALLS.
23
24 * sysdeps/posix/profil.c: If compiled for ld.so, omit code which
25 is needed to stop profiling.
26 * elf/dl-open.c (dl_open_worker): If a newly opened object is to be
27 profile make sure it cannot be unloaded.
28
29 * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.
30
31 * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
32 support, make sure the helper function is inlined.
33 * sysdeps/unix/sysv/linux/pread.c: Likewise.
34 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
36 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
37
9b9ef823
UD
382004-07-05 Jakub Jelinek <jakub@redhat.com>
39
2dd18ce2
UD
40 * include/string.h (ffs): Add libc_hidden_builtin_proto.
41 * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
42 * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
43 * sysdeps/alpha/ffs.S (ffs): Likewise.
44 * sysdeps/s390/ffs.c (ffs): Likewise.
45 * sysdeps/powerpc/ffs.c (ffs): Likewise.
46 * sysdeps/i386/ffs.c (ffs): Likewise.
47 * sysdeps/i386/i686/ffs.c (ffs): Likewise.
48 * sysdeps/m68k/ffs.c (ffs): Likewise.
49 * sysdeps/generic/ffs.c (ffs): Likewise.
50 * sysdeps/m88k/ffs.c (ffs): Likewise.
51 * sysdeps/am29k/ffs.c (ffs): Likewise.
52 * sysdeps/i960/ffs.c (ffs): Likewise.
53 * sysdeps/x86_64/ffs.c (ffs): Likewise.
54
55 * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
56
9b9ef823
UD
57 * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
58 __libc_siglongjmp): Remove symbol_version.
59 * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
60 Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
61 * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
62 unconditionally.
63 * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
64 * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
65 strong_alias instead of default_symbol_version, remove
66 symbol_version.
67 * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
68 * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
69 into strong_alias to __novmxsetjmp.
70 (__vmx__setjmp): Similarly with __vmxsetjmp.
71 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
72 default_symbol_version and symbol_version.
73 * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
74 into strong_alias to __novmxsetjmp.
75 (__vmx__setjmp): Similarly with __vmxsetjmp.
76 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
77 default_symbol_version and symbol_version.
78
79 * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
80
c7acde59
UD
812004-07-05 Ulrich Drepper <drepper@redhat.com>
82
83 * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
84
38205402
UD
852004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk>
86
87 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
88 instead of libc_hidden_def.
89
9632aaee
RM
902004-07-01 Roland McGrath <roland@redhat.com>
91
92 * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
93
94 * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
95 $(..)shlib-versions file to last in deps list. This lets add-ons give
96 more-specific matches that override defaults in the top-level file.
97
98 * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
99 already set, don't set it or libc_cv_gcc_unwind_find_fde.
100 * sysdeps/unix/sysv/linux/configure: Regenerated.
101
f8ea3acb
UD
1022004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
103
104 * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
105 (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
106 (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
107 * sysdeps/s390/fpu/e_sqrt.c: New file.
108 * sysdeps/s390/fpu/e_sqrtf.c: New file.
109 * sysdeps/s390/Implies: New file.
110 * sysdeps/s390/s390-32/Implies: Remove ieee754, move
111 ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
112 * sysdeps/s390/s390-64/Implies: Likewise.
113
1142004-06-30 Jakub Jelinek <jakub@redhat.com>
115
116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
118
119 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
120 DO_CALL (exit, 1) instead of branching to _exit.
121 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
122 Likewise.
123
124 * sysdeps/s390/fpu/bits/mathinline.h: New file.
125
126 * include/glob.h (glob64): Add libc_hidden_proto.
127 * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
128 * sysdeps/gnu/glob64.c (glob64): Likewise.
129 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
130
9f5d26e2
UD
1312004-06-11 Jakub Jelinek <jakub@redhat.com>
132
133 * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
134 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
135
f9f70e68
UD
1362004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com>
137
138 * sysdeps/powerpc/fpu/s_lround.c: Removed.
139 * sysdeps/powerpc/fpu/s_lroundf.c: Removed.
140 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
141 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
142 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
143 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
144 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
145 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
146 * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
147 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
148 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
149 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
150 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
151 * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
152 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
153 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
154
f5164429
UD
1552004-06-30 Ulrich Drepper <drepper@redhat.com>
156
157 * include/net/if.h: Handle if_nameindex and if_freenameindex with
158 libc_proto_hidden.
159 * sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
160 * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
161 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
162 netlink if possible. Fall back on ioctl method if necessary.
442c29ab 163 * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
f5164429
UD
164
165 * include/unistd.h: Declare __truncate.
166 * sysdeps/generic/truncate.c: Also define __truncate.
167 * sysdeps/mach/hurd/truncate.c: Likewise.
168 * sysdeps/unix/common/syscalls.list: Likewise.
169 * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
170
0b8d1390
UD
1712004-06-29 Ulrich Drepper <drepper@redhat.com>
172
173 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
174 info.extra. Patch by Marcus Meissner.
175
d3d35527
UD
1762004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
177
178 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
179 Fix branch offset for a PLT entry.
180
5fa2f83c
UD
1812004-06-20 Jim Meyering <jim@meyering.net>
182
183 * malloc/obstack.h (obstack_base): Cast to `void *', to align with
184 documentation.
185
414650c5
UD
1862004-06-28 Ulrich Drepper <drepper@redhat.com>
187
16ac7d45 188 * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
e2fd959d 189 Workaround for [BZ #232].
16ac7d45 190
414650c5
UD
191 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.
192
1932004-06-28 GOTO Masanori <gotom@debian.or.jp>
194
195 * iconv/gconv_simple.c: Use get16/put16 for user given buffer
196 in ucs2/ucs2reverse when unaligned memory access is attempted.
197 * iconv/tst-iconv5.c: New file.
198 * iconv/Makefile (tests): Add tst-iconv5.
199
e1be0bc5
RM
2002004-06-28 Jakub Jelinek <jakub@redhat.com>
201
202 * inet/bug-if1.c: Include <string.h>.
203
2042004-06-19 Roland McGrath <roland@redhat.com>
205
206 * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
207 under this macro name instead.
208 [NO_DO_WAITID]: Don't define it at all.
209 (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
210 defined, then return ENOTSUP for combinations of selection bits other
211 than WEXITED and WEXITED|WSTOPPED, which this version cannot support.
212
213 * posix/tst-waitid.c: New file.
214 * posix/Makefile (tests): Add it.
215
346f18ae
UD
2162004-06-28 Jakub Jelinek <jakub@redhat.com>
217
218 * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.
219
220 [BZ #231]
221 * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
222 relocation in librt.so.
223
224 [BZ #230]
225 * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
226 _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
227
340ef046
UD
2282004-06-27 Ulrich Drepper <drepper@redhat.com>
229
539842a4
UD
230 * elf/ldconfig.c (add_dir): Take chroot into account.
231 Based on changes by HJ Lu and Hideki Iwamoto.
232
482bbeb9
UD
233 * nscd/connections.c (invalidate_cache): If the host cache has to
234 be invalidated, re-read resolv.conf.
235
340ef046
UD
236 * resolv/resolv.h (RES_NOIP6DOTINT): Define.
237 * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
238 * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
239 if RES_NOIP6DOTINT flag is set.
240 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
241
f2481c31
UD
2422004-06-25 Jakub Jelinek <jakub@redhat.com>
243
244 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
246 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.
249
250 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
251 F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
252
17fb9c53
UD
2532004-06-21 Jakub Jelinek <jakub@redhat.com>
254
255 [BZ #231]
256 * sysdeps/unix/alpha/Makefile: New file.
257 * sysdeps/unix/alpha/rt-sysdep.S: New file.
258 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
259
5a6ae8da
UD
2602004-06-18 Ulrich Drepper <drepper@redhat.com>
261
163288fe
UD
262 * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
263 determine the canonical name only for the first returned entry.
264
5a6ae8da
UD
265 * inet/bug-if1.c: New file.
266 * inet/Makefile (tests): Add bug-if1.
267
262788c3
RM
2682004-06-18 Roland McGrath <roland@frob.com>
269
62780824
RM
270 * Makerules (compile-mkdep-flags): Add -MT $@.
271
272 * Makefile (dist, tag-for-dist): New targets.
273 (files-for-dist, tag-of-stem): New variables.
274 (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
275 Make tar files using cvs export.
276 (%.bz2, %.gz, tag-%): New pattern rules.
277 (distribute): Variable removed.
278 (+subdir_targets): Remove distinfo targets.
279 (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
280 (rpm/%): Pattern rule removed.
281 * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
282 * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
283 Targets removed.
284 * Makerules (dist, subdir_distinfo): Targets removed.
285 ($(objpfx)distinfo): Depend on $(distribute).
286 * Make-dist: File removed.
287
262788c3
RM
288 * NEWS: Fix a typo. Update bug-reporting instructions.
289
edc1aa3d
UD
2902004-06-17 Thorsten Kukuk <kukuk@suse.de>
291
292 * sysdeps/unix/sysv/linux/sched_setaffinity.c
293 (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
294 cpuset is wrongly set.
295
2962004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
297
298 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
299 for POWER4 machines.
300
3012004-06-14 Jakub Jelinek <jakub@redhat.com>
302
303 [BZ #218]
304 * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
305 in a local variable, point rp to that local variable afterwards.
306
3072004-06-11 Jakub Jelinek <jakub@redhat.com>
308
309 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
310 cases properly.
311
3122004-06-17 Ulrich Drepper <drepper@redhat.com>
313
314 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
315 error value for unknown interface. [BZ #198]
316
5b2892d5
RM
3172004-06-13 Jakub Jelinek <jakub@redhat.com>
318
319 * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
320 (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
321 __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
322 the asm uses as its input, either of size __n where __n is known or
323 0xfffffff.
324 (strstr): Add "memory" clobber.
325
0ab7f77e
RM
3262004-06-14 Jakub Jelinek <jakub@redhat.com>
327
328 [BZ #219]
329 * nss/nsswitch.c (free_mem): Don't try to close a library handle
330 if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>.
331
3322004-06-11 Dmitry V. Levin <ldv@altlinux.org>
333
334 [BZ #217]
335 * debug/xtrace.sh: Fix typo in error diagnostics.
336
6d00189e
RM
3372004-06-14 Andreas Schwab <schwab@suse.de>
338
339 * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
340 failed.
341
e1ad4c53
RM
3422004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
343
344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
345 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
347 that clobbers r19.
348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
349 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
351 Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19.
352 Fix pasto that overflowed sigcontext.v_reserve.
353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
354 Fix pasto that clobbers r19.
355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
356 of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that
357 overflowed sigcontext.v_reserve.
358
a3b85eba
RM
3592004-05-04 H.J. Lu <hongjiu.lu@intel.com>
360
77526fd2 361 [BZ #150]
a3b85eba
RM
362 * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
363 instead of ".gnu.linkonce.ro." as the prefix for linkonce
364 read-only section name.
365
dd340846
RH
3662004-06-14 Richard Henderson <rth@redhat.com>
367
368 * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
369 (_ITOFT, _FTOIT, _ITOFT2): Likewise.
370
a9e526e7
RM
3712004-06-08 Jakub Jelinek <jakub@redhat.com>
372
373 * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
374 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
375 (__backtrace): Don't call init #ifndef SHARED.
376 * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
377 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
378 (__backtrace): Don't call init #ifndef SHARED.
379 * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
380 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
381 (__backtrace): Don't call init #ifndef SHARED.
382
f1847a84
RM
3832004-06-11 Roland McGrath <roland@redhat.com>
384
385 * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
386 From Krzysztof Halasa <khc@pm.waw.pl>.
387
b80af23a
RM
3882004-06-10 Jakub Jelinek <jakub@redhat.com>
389
390 * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
391
f05a089d
RM
3922004-06-08 Jakub Jelinek <jakub@redhat.com>
393
394 [BZ #199]
395 * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
396 succeeds. Reported by Miles Ohlrich <miles@cray.com>.
397
398 * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
399 fails. Avoid memory leak if realloc fails.
400
e17f8b61
RM
4012004-06-09 Jakub Jelinek <jakub@redhat.com>
402
403 * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
404 NULL, "" or contains '=' character in it. Reported by
405 Michael T Kerrisk <mtk-lists@gmx.net>.
406 * stdlib/tst-environ.c: Include errno.h.
407 (main): Add tests for these arguments to setenv/unsetenv.
408
616340ca
RM
4092004-06-07 Roland McGrath <roland@frob.com>
410
411 * NEWS: Update bug reporting instructions. Fix some typos.
412
40c38b6c
UD
4132004-06-05 Ulrich Drepper <drepper@redhat.com>
414
415 * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
416 * stdio-common/_itoa.c: Add _itoa implementation.
417
418 * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
419 to also send request. Add parameter to allow this.
420 Change callers.
421 * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
422 * nscd/nscd_getpw_r.c: Likewise.
423 * nscd/nscd-client.h: Change __nscd_open_socket prototype.
424
41cbdf2a
AJ
4252004-06-05 Andreas Jaeger <aj@suse.de>
426
427 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
428 Handle more than 6 args correctly. Based on a patch by Masahide
c889f2cd 429 Washizawa <washi@jp.ibm.com>.
41cbdf2a 430
29762ba6
UD
4312004-06-04 Ulrich Drepper <drepper@redhat.com>
432
433 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
434 in all places, not __nss_not_use_nscd_group.
435 Reported by Philippe Gregoire.
436
75fccede
UD
4372004-06-03 Ulrich Drepper <drepper@redhat.com>
438
439 * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
440
322861e8
UD
4412004-05-07 Dmitry V. Levin <ldv@altlinux.org>
442
443 * argp/argp-help.c (__argp_error, __argp_failure): Check result
444 of __asprintf call and don't use string if it failed.
445 * stdio-common/psignal.c (psignal): Likewise.
446 * locale/programs/localedef.c (more_help): Likewise.
447 * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
448 arg_bool, parse_line): Check result of __asprintf calls and
449 don't use string if they failed.
450 * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
451 * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
452 call and exit if it failed.
453
fbf86dda
UD
4542004-05-10 Jakub Jelinek <jakub@redhat.com>
455
456 * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
457 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
458 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
459 _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
460 _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
461 _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
462 _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
463 _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
464 _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
465 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
466 <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
467
4682004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
469
470 * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
471 -momit-leaf-frame-pointer.
472
473 * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
474 #ifdef AF_PACKET.
475
476 * sysdeps/mach/hurd/getcwd.c
477 (_hurd_canonicalize_directory_name_intern): Only realloc when
478 size is <= 0.
479
480 * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
481 isn't page aligned.
482
483 * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
484 new size.
485
486 * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
487 __libc_write and __libc_lseek64.
488
f9b23e88
RM
4892004-05-29 Roland McGrath <roland@redhat.com>
490
491 * elf/Makefile (shared-only-routines): Add dl-caller.
492
0ac55e68
UD
4932004-05-28 Ulrich Drepper <drepper@redhat.com>
494
495 * sysdeps/powerpc/configure.in: New file.
496
f2bfeadf
UD
4972004-05-28 Steven Munroe <sjmunroe@us.ibm.com>
498
499 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
500 "altivec" to enable VMX instructions.
501 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
502 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
503 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
510
3dbfd811
UD
5112004-05-27 Jakub Jelinek <jakub@redhat.com>
512
513 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
514 __builtin_expm1l for GCC 3.5+.
515 (__expl): Define using __builtin_expl for GCC 3.4+.
516 (exp, expf, expl): Don't define for GCC 3.4+.
517 (tan, tanf, tanl): Don't define for GCC 3.5+.
518 (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
519 (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
520 (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
521 (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
522 (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
523 for GCC 3.4+.
524 (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
525 Don't define for GCC 3.5+.
526 (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
527 (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
528 define for GCC 3.5+.
529 (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
530 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
531 define for GCC 3.2+.
532
5332004-05-27 Jakub Jelinek <jakub@redhat.com>
534
535 * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
536 * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
537 * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
538 * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
539 * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
540 * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
541 * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
542 * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
543 * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
544 * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
545 * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
546 * sysdeps/i386/i586/memcpy.S (memcpy): Remove
547 libc_hidden_builtin_def if MEMPCPY_P.
548 * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
549 * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
550 * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
551 * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
552 * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
553
dfdef02f
RM
5542004-05-26 Roland McGrath <roland@frob.com>
555
556 * sysdeps/generic/bits/in.h
557 (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
558 These are long obsolete in BSD systems where they originated.
559 * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
560
4a691b06
UD
5612004-05-26 Jakub Jelinek <jakub@redhat.com>
562
563 * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
564 * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
565 (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
566 (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
567 constant '\0' and first argument is not constant.
568 (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
569 (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
570 For GCC 3.2+ use __builtin_strncpy.
571 (strncat): For GCC 3.2+ use __builtin_strncat.
572 (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
573 constant.
574 (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
575 if both arguments are constant.
576
5772004-05-26 Ulrich Drepper <drepper@redhat.com>
578
579 * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
580 mapped addresses in gethostbyaddr.
581
1773d1ba
UD
5822004-05-25 Ulrich Drepper <drepper@redhat.com>
583
584 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
585 flags parameter, convert afp to simple int parameter. Adjust code.
586 typep was never != NULL and flags therefore also unused. *afp is
587 never modified.
588 * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
589 * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter
590 handling for __nss_hostname_digits_dots calls.
591 * nss/getXXbyYY_r.c: Likewise.
592
593 * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
594
ffdd5e50
UD
5952004-05-25 Steven Munroe <sjmunroe@us.ibm.com>
596
597 * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
598 * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
599 (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
600 (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
601 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
602 implementation from w_sqrt.c.
603 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
604 implementation from w_sqrtf.c.
605 * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
606 using inline __ieee754_sqrt().
607 * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
608 using inline __ieee754_sqrtf().
609 * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
610 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
611 * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
612 PPC_FEATURE_* independent of __ASSEMBLER__.
613
6142004-05-25 Jakub Jelinek <jakub@redhat.com>
615
616 * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
617 include.
618 (aio_start_notify_thread): Define if not defined.
619 (notify_func_wrapper): Use it.
620 * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
621 include.
622 (aio_create_helper_thread): Define if not defined.
623 (__aio_create_helper_thread): New function.
624 (__aio_enqueue_request): Use aio_create_helper_thread.
625
626 * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
627 (struct ypresp_all_data): New type.
628 (__xdr_ypresp_all): Change second argument to
629 struct ypresp_all_data *. Replace ypall_foreach and
630 ypall_data with objp->foreach and objp->data.
631 (yp_all): Remove status variable, add data. Replace
632 all uses of status with data.status. Initialize data.foreach
633 and data.data instead of ypall_foreach and ypall_data.
634
6352004-05-24 Jakub Jelinek <jakub@redhat.com>
636
637 * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
638 in l_flags_1, not in l_flags.
639
b84515a1
RM
6402004-04-10 Robert Millan <robertmh@gnu.org>
641
642 * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
643 with sysdeps/generic/bits/in.h.
644
47cc0570
RM
6452004-05-25 Roland McGrath <roland@frob.com>
646
647 * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
648 GCC GPL to standard glibc LGPL.
649
623281e0
UD
6502004-05-24 Ulrich Drepper <drepper@redhat.com>
651
652 * manual/string.texi (Copying and Concatenation): Fixed second
653 concat example.
654 Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
655
75c827b5
UD
6562004-05-23 Ulrich Drepper <drepper@redhat.com>
657
658 * malloc/obstack.c: Don't allow linking with _obstack.
659
9c8b466e
AS
6602004-05-23 Andreas Schwab <schwab@suse.de>
661
662 * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
663 of separate "m" constraints.
664
48db0d69
RM
6652004-05-15 Chris Demetriou <cgd@broadcom.com>
666
667 * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
668 (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
669 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
670
558c2954
UD
6712004-05-20 Paul Eggert <eggert@cs.ucla.edu>
672
673 * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
674 Add comment explaining why libc still defines it.
675
afe01786
UD
6762004-05-19 Paul Eggert <eggert@cs.ucla.edu>
677
678 * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
679 obstack_alignment_mask, obstack_alloc, obstack_base,
680 obstack_blank, obstack_blank_fast, obstack_chunk_size,
681 obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
682 obstack_grow0, obstack_init, obstack_int_grow,
683 obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
684 obstack_next_free, obstack_object_size, obstack_ptr_grow,
685 obstack_ptr_grow_fast, obstack_room): Remove declarations of
686 nonexistent functions.
687
6882004-05-18 Steven Munroe <sjmunroe@us.ibm.com>
689
690 * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
691 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
692 [PIC]: Redundent for powerpc64, removed.
693 (ENTRY): Generate size and alignment for opd entry.
694 (EALIGN): Generate size and alignment for opd entry.
695 (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
696 (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
697
b3b71a3b
UD
6982004-05-19 Ulrich Drepper <drepper@redhat.com>
699
d4b60383
UD
700 * misc/regexp.h: Say the functions have been withdrawn.
701
b3b71a3b
UD
702 * wcsmbs/tst-wcpncpy.c: Add more tests.
703
48982f93
RM
7042004-05-18 Roland McGrath <roland@frob.com>
705
706 * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
707 standard glibc LGPL.
708 * sysdeps/generic/unwind-dw2.c: Likewise.
709 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
710 * sysdeps/generic/unwind-dw2-fde.h: Likewise.
711 * sysdeps/generic/unwind-pe.h: Likewise.
712
d40eb37a
UD
7132004-05-15 Petter Reinholdtsen <pere@hungry.com>
714
715 * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
716 MONTENEGRO" which have taken over the code 819. Patch from
717 Danilo Segan. [BZ #40]
718
7192004-05-15 Jakub Jelinek <jakub@redhat.com>
720
721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
722 (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
723 __sparc_get_pic_l7.
724
7252004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
726
727 * catgets/gencat.c: Update bug reporting instructions.
728 * csu/version.c: Likewise.
729 * debug/catchsegv.sh: Likewise.
730 * debug/pcprofiledump.c: Likewise.
731 * debug/xtrace.sh: Likewise.
732 * elf/ldd.bash.in: Likewise.
733 * iconv/iconv_prog.c: Likewise.
734 * iconv/iconvconfig.c: Likewise.
735 * locale/programs/locale.c: Likewise.
736 * locale/programs/localedef.c: Likewise.
737 * login/programs/pt_chown.c: Likewise.
738 * malloc/memusage.sh: Likewise.
739 * malloc/memusagestat.c: Likewise.
740 * malloc/mtrace.pl: Likewise.
741 * manual/crypt.texi: Likewise.
742 * manual/install.texi: Likewise.
743 * nss/makedb.c: Likewise.
744
7452004-05-14 Jakub Jelinek <jakub@redhat.com>
746
747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
748 CHECK_STATIC_TLS if sym != NULL.
749 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
750 * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
751
7522004-05-12 Andreas Schwab <schwab@suse.de>
753
754 * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
755 when translating.
756
7572004-05-13 H.J. Lu <hongjiu.lu@intel.com>
758
759 * Rules (xtests): Depend on tests.
760
f7803f51
UD
7612004-05-13 Jakub Jelinek <jakub@redhat.com>
762
763 * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
764 count is negative, yet write_ptr < write_end.
765 (_IO_default_xsgetn): Avoid one underflow per char if count is
766 negative, yet read_ptr < read_end.
767
7f4311e8
UD
7682004-05-12 Steven Munroe <sjmunroe@us.ibm.com>
769
770 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
771 equal to TAB3.
772
99444c14
UD
7732004-05-12 Ulrich Drepper <drepper@redhat.com>
774
775 * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
776 call.
777
afcdc998
RM
7782004-05-10 Roland McGrath <roland@frob.com>
779
780 * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
781 (__hurd_directory_name_split): Likewise.
782
dcf147a5
UD
7832004-05-10 Ulrich Drepper <drepper@redhat.com>
784
785 * po/fr.po: Update from translation team.
786
d56a461b
AJ
7872004-05-10 Andreas Jaeger <aj@suse.de>
788
789 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
790 Correctly compute alignment.
791 Patch by Michael Matz <matz@suse.de>.
792
66b3d198
UD
7932004-05-09 Ulrich Drepper <drepper@redhat.com>
794
795 * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
796 * sysdeps/posix/sigpause.c: Likewise.
797 * signal/signal.h: Don't define sigpause macro unless needed.
798
cdbf48be
UD
7992004-05-08 Jakub Jelinek <jakub@redhat.com>
800
801 * configure.in (libc_cv_libgcc_s_suffix): New check.
802 (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
803 * config.make.in (libgcc_s_suffix): Set.
804 * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
805
f32d2b81
UD
8062004-05-08 Ulrich Drepper <drepper@redhat.com>
807
808 * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
809
c67a469f
UD
8102004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
811
812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
813 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
814 Load argument values into temporary variables.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
816 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
817 Likewise.
818
1fe42a2b
UD
8192004-05-07 Ulrich Drepper <drepper@redhat.com>
820
821 * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
822 need to be compiled with exceptions.
823
f1debaf6
UD
8242004-05-06 Ulrich Drepper <drepper@redhat.com>
825
9be31a51
UD
826 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
827 * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
828
829 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
830 realloc cannot fail.
831
832 * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
833 be expanded.
834
835 * nis/nis_table.c: Clean up memory handling.
836 * nis/nis_subr.c (nis_getnames): Clean up memory handling.
837 * nis/nis_removemember.c (nis_removemember): Add comment
838 explaining use of realloc.
839
f1debaf6
UD
840 * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
841 (carg): Likewise.
842 Patch by Lev S Bishop <lev.bishop@yale.edu>.
843
844 * math/bug-tgmath1.c (main): Test fabs and carg as well.
845
8462004-05-06 Richard Henderson <rth@redhat.com>
847
848 * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
849 AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
850 * sysdeps/unix/sysv/linux/alpha/Versions: Export
851 __libc_alpha_cache_shape as a private symbol.
852 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
853 * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
854
165634aa
RH
8552004-05-06 Richard Henderson <rth@redhat.com>
856
857 * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
f1debaf6
UD
858 * sysdeps/alpha/divl.S: Use them.
859 * sysdeps/alpha/divq.S: Likewise.
860 * sysdeps/alpha/divqu.S: Likewise.
861 * sysdeps/alpha/reml.S: Likewise.
862 * sysdeps/alpha/remq.S: Likewise.
863 * sysdeps/alpha/remqu.S: Likewise.
165634aa 864
58d87ee1
UD
8652004-05-06 Ulrich Drepper <drepper@redhat.com>
866
867 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
868 (cimag): Use it.
869 (creal): Likewise.
870 * math/Makefile (tests): Add bug-tgmath1.
871 * math/bug-tgmath1.c: New file.
872
495961c0
UD
8732004-05-05 Jakub Jelinek <jakub@redhat.com>
874
875 * sysdeps/alpha/atomicity.h: Remove.
876 * sysdeps/generic/atomicity.h: Remove.
877
8782004-05-05 H.J. Lu <hongjiu.lu@intel.com>
879
880 * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
881 char *.
882
ce118ec6
UD
8832004-04-22 David Mosberger <davidm@hpl.hp.com>
884
2d7ae210
UD
885 * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
886 rt-sysdep.
887 * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
888
ce118ec6
UD
889 * sysdeps/ia64/strcat.c: New file.
890 * sysdeps/ia64/strcat.S: Delete.
891
50c2b6d7
UD
8922004-05-04 Jakub Jelinek <jakub@redhat.com>
893
894 * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
895 defined.
896
27b02589
UD
8972004-04-23 Jakub Jelinek <jakub@redhat.com>
898
899 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
900 libc_hidden_proto. Define to __GI___libm_error_support for
901 assembly going into libc.so.
902 * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
903 libc_hidden_def.
904
905 * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
906 * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
907
908 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
909 gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
910 if USE___THREAD.
911
5ce98c3f
UD
9122004-05-03 Jakub Jelinek <jakub@redhat.com>
913
914 * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
915 __USE_BSD or __USE_UNIX98.
916 * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
917 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
918 * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
919 Likewise.
920 * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
921 * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
922 * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
923 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
924 Likewise.
925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
926 Likewise.
927 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
928 Likewise.
4bb8fc33 929 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
5ce98c3f
UD
930 Likewise.
931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
932 Likewise.
933 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
934 Likewise.
935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
936 Likewise.
937 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
938 Likewise.
939 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
940 Likewise.
941 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
942 Likewise.
943 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
944 Likewise.
945 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
946 Likewise.
947 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
948 Likewise.
949 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
950 * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
951 * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
952
9532004-05-01 Jakub Jelinek <jakub@redhat.com>
954
955 * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
956 __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
957 __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
958 * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
959 * sysdeps/unix/sysv/linux/Versions (libc): Remove
960 __libc_sigaction@@GLIBC_PRIVATE.
961 * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
962 __modify_ldt@@GLIBC_PRIVATE.
963 * socket/Versions (libc): Remove __libc_accept, __libc_send,
964 __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
965 __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
966 * stdio-common/Versions (libc): Remove
967 _itoa_upper_digits@@GLIBC_PRIVATE.
968 * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
969 * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
970 __libc_readv and __libc_writev @@GLIBC_PRIVATE.
971 * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
972 * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
973 __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
974 __libc_lseek64 @@GLIBC_PRIVATE.
975
9762004-04-30 Jakub Jelinek <jakub@redhat.com>
977
978 * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
979 check.
980
9812004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
982
983 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
984 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
985 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
986 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
987 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
988 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
989 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
990 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
991 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
992 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
993 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
994 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
995 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
996 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
997 * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
998 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
999 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
1000 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
1001
1002 * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
1003 mantissa for AIX long double format.
1004 * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
1005 long double format.
1006 * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
1007 * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1008 (_fpioconst_pow10): AIX long double format has same exponent range as
1009 double.
1010 * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1011 (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
1012 as double.
1013
10142004-04-23 Art Haas <ahaas@airmail.net>
1015
1016 * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
1017
6f0b2e1f
RM
10182004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
1019
1020 * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
1021 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
1022 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
1023 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
1024 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
1025
420a2f8b
RM
10262004-04-29 Philip Blundell <pb@nexus.co.uk>
1027
1028 * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
1029 entries.
1030
0c178dce
RM
10312004-04-29 Jakub Jelinek <jakub@redhat.com>
1032
6f0b2e1f
RM
1033 * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
1034 prototypes and description [BZ #131].
1035
1036 * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
1037 Patch by Ed Catmur <ed@catmur.co.uk>.
1038 * string/tst-inlcall.c (main): Add test for strpbrk.
1039
420a2f8b
RM
1040 [BZ #140]
1041 * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
1042 include.
1043 (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
1044 yet defined, #undef back after including linux/sysctl.h if defined
1045 here.
1046 (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
1047 back after including linux/sysctl.h if defined here.
1048
0c178dce
RM
1049 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
1050 for single precision register, add it to __asm clobbers [BZ #139].
1051 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
1052 for single precision register, add it to __asm clobbers.
1053 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
1054 instead of fqtoi in QP_HANDLE_EXCEPTIONS.
1055 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
1056 Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
1057
8c70d1c4
AS
10582004-04-23 Andreas Schwab <schwab@suse.de>
1059
1060 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
1061 __attribute_used__.
1062
091e1f6a
UD
10632004-04-22 Philip Blundell <philb@gnu.org>
1064
1065 * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
1066 when calling _dl_signal_error.
1067 (elf_machine_rel): Likewise.
1068
ab8dc78f
UD
10692004-04-21 Ulrich Drepper <drepper@redhat.com>
1070
1071 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
1072 and use it internally instead of __sigsetjmp.
1073 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
1074 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
1075 * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
1076 * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
1077 * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
1078 * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
1079 * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
1080 _GI___libm_frexp_4f, _GI___libm_frexp_4l.
1081 * sysdeps/ia64/fpu/bits/mathinline.h: New file.
1082 * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
1083 HIDDEN_JUMPTARGET for exit call.
1084 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
1085 _exit call.
1086 * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
1087 * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
1088 strcpy calls.
1089
b33ed432
UD
10902004-04-21 Jakub Jelinek <jakub@redhat.com>
1091
1092 * posix/tst-chmod.c (do_test): Fix a typo.
f22c9168 1093
b33ed432
UD
1094 * elf/lateglobal.c (main): Fix error checks.
1095 Patch by Stephen Clarke <stephen.clarke@st.com>.
1096
1097 * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
1098 mention they have been added in ISO C99.
1099 Reported by Ben Pfaff <blp@cs.stanford.edu>.
1100
11012004-03-31 H.J. Lu <hongjiu.lu@intel.com>
1102
1103 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
1104
f9a06dc1
UD
11052004-04-20 Jakub Jelinek <jakub@redhat.com>
1106
1107 * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
1108 EACCES.
1109
11102004-04-20 Jakub Jelinek <jakub@redhat.com>
1111
1112 * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
1113 handling change.
1114 * stdio-common/tst-sscanf.c (int_tests): Adjust.
1115
1116 * nis/nss-nis.c: Include stdlib.h.
1117
1118 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
1119 warning.
1120 * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
1121 libc_hidden_builtin_def.
1122
11232004-04-20 Jim Meyering <jim@meyering.net>
1124
1125 * misc/error.c (error_tail): Don't leak upon realloc failure.
1126
11272004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1128
1129 * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
1130 Use RETURN_ADDRESS instead of __builtin_return_address.
1131
bfa26122
UD
11322004-04-19 Ulrich Drepper <drepper@redhat.com>
1133
1134 * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
1135 compact code.
1136
d3b52028 11372004-04-20 Jakub Jelinek <jakub@redhat.com>
22823085 1138
d3b52028
UD
1139 * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
1140 do input_error () instead of conv_error () and don't look at errno.
1141 Don't eat any whitespace before %% if skip_space == 0.
1142 * stdio-common/tst-sscanf.c (int_tests): New array.
1143 (main): Run int_tests.
22823085 1144
0a901ba4 1145
d3b52028 1146See ChangeLog.14 for earlier changes.
This page took 0.167976 seconds and 5 git commands to generate.