1 2004-08-05 Ulrich Drepper <drepper@redhat.com>
3 * inet/netinet/in.h: Define struct ip_msfilter, IP_MSFILTER_SIZE,
4 struct group_filter, and GROUP_FILTER_SIZE.
5 * include/sys/socket.h: Declare __getsockopt.
6 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: New file.
7 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: New file.
8 * sysdeps/unix/sysv/linux/setsourcefilter.c: New file.
9 * sysdeps/unix/sysv/linux/getsourcefilter.c: New file. [BZ #211]
11 * po/ko.po: Update from translation team.
13 2004-08-04 Jakub Jelinek <jakub@redhat.com>
15 * hesiod/hesiod.c (__hesiod_res_get): Use calloc instead of malloc +
17 (__hesiod_res_set): Free nsaddrs.
19 * include/resolv.h (__res_maybe_init): Add prototype.
20 * resolv/resolv.h (struct __res_state): Add _u._ext.initstamp field.
21 * resolv/Versions (libc): Add __res_maybe_init@@GLIBC_PRIVATE.
22 * resolv/res_libc.c (__res_initstamp, lock): New variables.
23 (res_init): Increase __res_initstamp.
24 (__res_maybe_init): New function.
25 * resolv/res_init.c (__res_vinit): Initialize _u._ext.initstamp.
26 * hesiod/hesiod.c (__hesiod_res_get): Use __res_maybe_init instead
27 of RES_INIT check and {res_ninit,__res_ninit,res_init} call.
28 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
30 _nss_dns_gethostbyaddr_r): Likewise.
31 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
32 _nss_dns_getnetbyaddr_r): Likewise.
33 * resolv/gethnamaddr.c (gethostbyname, gethostbyname2,
34 gethostbyaddr): Likewise.
35 * resolv/res_data.c (fp_nquery, res_mkquery, res_mkupdate,
36 res_isourserver, res_sendsigned, res_update, res_search,
37 res_querydomain): Likewise.
38 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Likewise.
39 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
40 * nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r):
43 2004-08-05 Ulrich Drepper <drepper@redhat.com>
45 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set ai_family for
46 V4-mapped IPv6 addresses and req->ai_family==AF_INET.
47 Reported by A. Guru <a.guru@sympatico.ca>.
49 * po/sv.po: Update from translation team.
53 2004-08-04 Jakub Jelinek <jakub@redhat.com>
54 Ulrich Drepper <drepper@redhat.com>
56 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input
57 characters than necessary.
59 2004-08-05 Ulrich Drepper <drepper@redhat.com>
61 * wcsmbs/Makefile (tests): Add tst-mbsrtowcs.
62 * wcsmbs/tst-mbsrtowcs.c: New file.
64 * po/fr.po: Update from translation team.
66 2004-08-04 Jakub Jelinek <jakub@redhat.com>
68 * resolv/inet_pton.c (inet_pton4): Disallow octal numbers. Reported
69 by A. Guru <a.guru@sympatico.ca>. [BZ #295]
71 2004-08-05 Ulrich Drepper <drepper@redhat.com>
73 * po/nl.po: Update from translation team.
75 * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4
76 numeric address formats inet_addr knows.
77 (getaddrinfo): Allow AI_NUMERICSERV flag.
78 If neither IPv4 nor IPv6 interface is present we cannot make any
79 decision for AI_ADDRCONFIG. Fail if AI_NUMERICSERV is set and the
80 string is not just a number. Remove useless freeaddrinfo call.
81 * resolv/netdb.h (AI_NUMERICSERV): Define.
82 Based on a patch by a.guru@sympatico.ca.
84 2004-08-04 Jakub Jelinek <jakub@redhat.com>
86 * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure
87 instead of trying to initialize some, but not all, fields one by
89 * stdio-common/printf_size.c (printf_size): Initialize fb_info
90 structure with *info instead of trying to initialize some, but not
93 * nscd/connections.c (handle_request): Check if req->type is in
94 LASTDBREQ .. LASTREQ range instead of req.
96 * locale/programs/linereader.c (lr_create): Initialize
97 lr->return_widestr to 0.
99 * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section.
100 (free_mem): Call free_slotinfo just once.
102 * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead
105 * locale/localeinfo.h (_nl_locale_subfreeres): New prototype.
106 * locale/setlocale.c (free_category): Add __libc_freeres_fn_section.
107 (free_mem): Rename to _nl_locale_subfreeres.
108 * iconv/gconv_db.c: Include locale/localeinfo.h.
109 (free_derivation, free_modules_db): Add __libc_freeres_fn_section.
110 (free_mem): Call _nl_locale_subfreeres.
111 * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section.
113 2004-08-04 Roland McGrath <roland@frob.com>
115 * Makeconfig ($(common-objpfx)config.status):
116 Fix typo: $(add_ons) -> $(add-ons).
117 (Makeconfig-add-on): New variable. When doing $(sysdep-makeconfigs)
118 include, use black magic to get it set to an add-on's name during the
119 include of the add-on's Makeconfig.
121 * configure.in: Use variable name `libc_add_on' when sourcing add-on
122 configure fragments, so they can refer to this.
123 * configure: Regenerated.
125 2004-08-04 Roland McGrath <roland@redhat.com>
127 * posix/tst-waitid.c (test_child): Sleep a second before stopping.
128 (do_test): Bump sleep to three seconds.
129 (sigchld, check_sigchld): New functions.
130 (do_test): Handle SIGCHLD and check for getting the right details.
132 * posix/tst-waitid.c (do_test): Kill the child process when bailing
133 out early on some failure.
134 [WCONTINUED]: Test WCONTINUED functionality.
136 2004-08-03 Ulrich Drepper <drepper@redhat.com>
138 * nscd/connections.c (handle_request): Print more descriptive
139 message for invalid request types.
141 2004-08-02 Jakub Jelinek <jakub@redhat.com>
143 * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff.
144 Always treat high as highest number in range + 1.
145 * iconvdata/ibm943.c (BODY): Likewise.
147 2004-07-31 Bruno Haible <bruno@clisp.org>
149 * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004.
150 * iconvdata/jisx0213.c (__jisx0213_to_ucs_main,
151 __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1,
152 __jisx0213_from_ucs_level2): Regenerated.
153 * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function.
154 * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from
156 (JISX0213_1_2004_set): New enum value.
157 (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O.
158 (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O
159 when possible, ESC $ ( Q when needed.
160 * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters.
161 * iconvdata/testdata/EUC-JISX0213..UTF8: Update.
162 * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters.
163 * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update.
164 * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters.
165 * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update.
167 2004-07-22 Bruno Haible <bruno@clisp.org>
169 * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
171 2004-07-29 David S. Miller <davem@redhat.com>
173 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize
174 better for smaller than 256 byte copies. Also, use only one
175 unrolled loop instead of two for the large copy case.
177 2004-07-30 Richard Henderson <rth@redhat.com>
179 * sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
180 * sysdeps/alpha/remq.S: Likewise.
181 * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
182 new division algorithms in divl.S and divq.S respectively.
184 2004-07-28 GOTO Masanori <gotom@debian.or.jp>
186 * timezone/asia: Update from tzdata2004b.
187 * timezone/backward: Likewise.
188 * timezone/europe: Likewise.
189 * timezone/iso3166.tab: Likewise.
190 * timezone/leapseconds: Likewise.
191 * timezone/northamerica: Likewise.
192 * timezone/southamerica: Likewise.
193 * timezone/zone.tab: Likewise.
195 * timezone/private.h: Update from tzcode2004b.
196 * timezone/zic.c: Likewise.
198 2004-07-27 Ulrich Drepper <drepper@redhat.com>
200 * nscd/grpcache.c (cache_addgr): If necessary, add entry also
201 under the name the user provided.
202 * nscd/pwdcache.c (cache_addpw): Likewise.
204 2004-07-26 Roland McGrath <roland@redhat.com>
206 * sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
209 2004-07-26 Ulrich Drepper <drepper@redhat.com>
211 * nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to
214 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for
215 new buffer at the right time.
216 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
218 2004-07-25 Ulrich Drepper <drepper@redhat.com>
220 * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter,
221 getsourcefilter, setipv4sourcefilter, and setsourcefilter.
222 * inet/Makefile (routines): Likewise.
223 * inet/netinet/in.h: Add prototypes for getipv4sourcefilter,
224 getsourcefilter, setipv4sourcefilter, and setsourcefilter.
225 * sysdeps/generic/getipv4sourcefilter.c: New file.
226 * sysdeps/generic/setipv4sourcefilter.c: New file.
227 * sysdeps/generic/getsourcefilter.c: New file.
228 * sysdeps/generic/setsourcefilter.c: New file.
230 2004-07-17 Steven Munroe <sjmunroe@us.ibm.com>
232 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
235 2004-07-21 Jakub Jelinek <jakub@redhat.com>
238 * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >=
239 BITS_PER_MP_LIMB shifting up.
240 * stdlib/tst-strtod.c (main): Add new tests.
242 2004-07-23 Jakub Jelinek <jakub@redhat.com>
245 * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of
246 _IO_no_init. Remove wd from struct locked_FILE.
247 (_IO_wproc_jumps): Remove.
248 Reported by Andrew Josey <a.josey@opengroup.org>.
249 * stdio-common/Makefile (tests): Add tst-popen.
250 * stdio-common/tst-popen.c: New test.
252 2004-07-23 Ulrich Drepper <drepper@redhat.com>
254 * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and
255 _POSIX_OPEN_MAX. Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX,
256 _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX.
257 Reported by Andrew Josey.
259 * include/features.h: Document _POSIX_C_SOURCE == 200112L.
261 * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined.
262 * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined.
263 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t,
264 off_t, time_t, and uid_t if __USE_XOPEN2K is defined.
265 * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined.
266 * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and
267 useconds_t if __USE_XOPEN2K is defined.
268 * io/utime.h: Define time_t if __USE_XOPEN2K is defined.
269 * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.
271 2004-07-19 Thorsten Kukuk <kukuk@suse.de>
273 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't
274 allocate memory for large temporary variables with alloca.
276 2004-07-22 Ulrich Drepper <drepper@redhat.com>
278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility
279 code must have version GLIBC_2.0. Patch by Dwayne McConnell.
281 * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL
282 pointer and zero length.
284 2004-07-21 Ulrich Drepper <drepper@redhat.com>
286 * nscd/cache.c (prune_cache): Print correct list when debugging.
288 2004-07-21 Jakub Jelinek <jakub@redhat.com>
290 * resolv/res_libc.c (res_init): If RES_INIT is set and
291 _res.nscount > 0, call __res_nclose and free nsaddrs.
292 * resolv/Makefile: Add rules to build and run tst-leaks2.
293 * resolv/tst-leaks2.c: New test.
295 2004-07-21 Ulrich Drepper <drepper@redhat.com>
297 * intl/libintl.h: Don't define macros for C++.
298 Patch by Goto Masanori.
300 2004-07-22 GOTO Masanori <gotom@debian.or.jp>
303 * include/arpa/inet.h: Change inet_aton type from in_addr_t to int.
304 * inet/arpa/inet.h: Likewise.
305 * resolv/inet_addr.c: Likewise.
307 2004-07-21 Alexandre Oliva <aoliva@redhat.com>
309 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.
311 2004-07-20 Roland McGrath <roland@redhat.com>
313 * configure.in (add_ons): Substitute this. Move $add_ons handling
314 after AC_CANONICAL_HOST and default setting of $machine et al.
315 Don't set $subdirs from $add_ons.
316 Instead, source add-on/configure fragments early on.
317 (base_machine): If it's already set, don't set it based on $machine.
318 (libc_config_ok): New variable, set to no. If an add-on fragment sets
319 it to yes, skip the tuple sanity check as if --enable-hacker-mode.
320 (sysnames): Try appending add-on names after machine as well.
321 * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@.
322 * Makeconfig ($(common-objpfx)config.status): Also depend on configure
323 files in $(add_ons) dirs.
325 * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove
326 definition, now in netinet/in.h proper.
328 2004-07-20 Alexandre Oliva <aoliva@redhat.com>
330 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
331 Sort by syscalls. Make sure we get headers such as sgidefs.h from
332 the build tree before just-installed ones.
334 * sysdeps/mips/atomicity.h: Use standard names for ABI macros,
335 include sgidefs.h where appropriate.
336 * sysdeps/mips/dl-machine.h: Likewise.
337 * sysdeps/mips/machine-gmon.h: Likewise.
338 * sysdeps/mips/bits/setjmp.h: Likewise.
339 * sysdeps/mips/fpu/bits/mathdef.h: Likewise.
340 * sysdeps/mips/mips64/__longjmp.c: Likewise.
341 * sysdeps/mips/mips64/setjmp_aux.c: Likewise.
342 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
343 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
344 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
345 * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
346 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
347 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
348 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
349 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
350 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
351 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
352 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
353 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
354 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
355 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
356 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
357 * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
358 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
360 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
363 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use
365 (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
367 2004-07-20 Ulrich Drepper <drepper@redhat.com>
369 * inet/netinet/in.h: Define struct ip_mreq and struct
371 Define struct group_req and struct group_source_req.
372 * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE,
373 IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
374 IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP,
375 MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP,
376 MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and
378 Define MCAST_INCLUDE and MCAST_EXCLUDE.
380 * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
382 2004-07-19 Jakub Jelinek <jakub@redhat.com>
385 * math/libm-test.inc (max_value, min_value): New variables.
386 (initialize): Initialize them.
387 (pow_test): Add a couple of new tests.
388 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid
389 exception if |y| >= 1U<<31.
390 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid
391 exception if |y| >= 1L<<63.
392 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
393 If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN.
394 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
396 2004-07-18 Ulrich Drepper <drepper@redhat.com>
398 * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful
400 * nscd/grpcache.c (cache_addgr): Likewise.
401 * nscd/hstcache.c (cache_addhst): Likewise.
403 2004-07-10 GOTO Masanori <gotom@debian.or.jp>
405 * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw.
406 * sysdeps/s390/s390-64/elf/start.S: Likewise.
408 2004-04-16 Andreas Schwab <schwab@suse.de>
410 * sysdeps/ia64/bits/atomic.h: Cast first argument of
411 __sync_bool_compare_and_swap_si correct to void*.
413 2004-07-17 Ulrich Drepper <drepper@redhat.com>
415 * iconv/iconv_prog.c (print_known_names): Make machine-readable
416 output even less cluttered.
418 2004-07-16 Steven Munroe <sjmunroe@us.ibm.com>
421 * setjmp/Makefile (tests): Add bug269-setjmp.
422 * setjmp/bug269-setjmp.c: New file.
423 * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]:
424 Store R2 from jmpbuf in callers TOC save area.
425 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]:
426 Store R2 in TOC save area.
427 * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]:
428 Copy TOC save area from previous frame as R2 (TOC) in jmpbuf.
430 2004-07-16 Jakub Jelinek <jakub@redhat.com>
432 * locale/newlocale.c: Include bits/libc-lock.h.
433 (__libc_setlocale_lock): Extern decl.
434 (__newlocale): Use it.
435 Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
437 2004-07-15 Jakub Jelinek <jakub@redhat.com>
439 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove
440 static inline __attribute ((always_inline)). Don't define if
442 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel):
445 Remove static inline __attribute ((always_inline)). Don't define
447 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
449 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to
450 __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0.
451 Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0.
452 (__libc_fcntl): Don't define if __fcntl_nocancel is a macro.
455 * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF
457 * elf/Makefile: Add rules to build and run tst-pie1.
458 * elf/tst-pie1.c: New test.
459 * elf/tst-piemod1.c: New file.
461 2004-07-14 Jakub Jelinek <jakub@redhat.com>
464 * manual/string.texi (l64a): Note that the static buffer is 7 bytes
465 long. Rewrite example code so that it takes into account l64a output
466 shorter than 6 characters.
467 Reported by Julian Graham <julian.graham@aya.yale.edu>.
469 2004-07-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
471 * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here.
472 (elf_machine_rela_relative): Remove unused valiable.
474 2004-07-12 Paul Eggert <eggert@cs.ucla.edu>
477 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store
478 outside the buffer if the read returns 0. __strtod_l can't set
479 endp to NULL, so remove a test for that case.
481 2004-07-12 Roland McGrath <roland@redhat.com>
483 * manual/signal.texi (Interrupted Primitives): Make clear that
484 TEMP_FAILURE_RETRY evaluates its expression as long int and compares
485 it to -1 to define "failure".
487 2004-07-10 Ulrich Drepper <drepper@redhat.com>
489 * elf/ldconfig.c: Define PROCINFO_CLASS as static before including
491 * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not
493 * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not
496 * elf/rtld.c (print_statistics): Mark with noinline attribute.
497 * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline
499 (elf_machine_rel_relative): Likewise.
501 * include/string.h: Add libc_hidden_proto for __strtok_r and
503 * sysdeps/generic/strsep.c: Add libc_hidden_def.
504 * sysdeps/generic/strtok_r.c: Likewise.
505 * sysdeps/i386/strtok_r.S: Add alias for internal symbol.
506 * sysdeps/i386/i686/strtok_r.S: Likewise.
507 * sysdeps/x86_64/strtok_r.S: Likewise.
509 2004-07-09 Alexandre Oliva <aoliva@redhat.com>
511 * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden
512 instead of internal-linkage, such that we can alias to it.
513 (internal_endnetgrent, internal_getnetgrent_r): Likewise.
515 2004-07-09 Ulrich Drepper <drepper@redhat.com>
517 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
518 to the front for gcc 3.5+.
519 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
521 * include/fcntl.h: Don't declare __fcntl_nocancel here if
522 NO_CANCELLATION is defined.
524 2004-07-07 Jakub Jelinek <jakub@redhat.com>
526 * elf/dl-fini.c (_dl_fini): Add nloaded variable, load
527 GL(dl_nloaded) into it while still in critical section.
529 2004-07-06 Thorsten Kukuk <kukuk@suse.de>
531 * nss/getent.c (print_group, print_passwd): Use %lu format for
532 `unsigned long int' values.
534 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
535 error typos in goto statements.
537 2004-07-07 Roland McGrath <roland@frob.com>
539 * Makefile (dist-separate): New variable.
540 (glibc-%.tar rule): Make separate tar files for add-ons listed there.
541 Depend on their configure files.
542 (dist-do-separate-dirs): New canned sequence to do that.
543 (dist-separate-libidn, dist-separate-linuxthreads): New variables.
544 (dist): Depend on add-on tar files based on $(dist-separate).
545 (dist-version): New variable, default to $(version).
546 (tag-for-dist, dist): Use that in place of $(version) in deps.
548 2004-07-07 Ulrich Drepper <drepper@redhat.com>
550 * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock
551 before the loop running the destructors.
553 2004-05-18 Andreas Schwab <schwab@suse.de>
555 * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
556 the first segment for mprotect, not l_text_end.
558 2004-07-05 Ulrich Drepper <drepper@redhat.com>
560 * elf/dl-profile.c (_dl_start_profile): Compact error handling.
561 Remove hashfraction variable. Make kcount and kcountsize local
564 * elf/dl-init.c: Don't define and use _dl_starting_up if
565 HAVE_INLINED_SYSCALLS is defined and the variable is not used.
566 * elf/dl-support.c: Likewise.
567 * elf/rtld.c: Likewise.
568 * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
569 if HAVE_INLINED_SYSCALLS is defined.
570 * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
572 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
573 * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
574 * config.h.in: Add entry for HAVE_INLINED_SYSCALLS.
576 * sysdeps/posix/profil.c: If compiled for ld.so, omit code which
577 is needed to stop profiling.
578 * elf/dl-open.c (dl_open_worker): If a newly opened object is to be
579 profile make sure it cannot be unloaded.
581 * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.
583 * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
584 support, make sure the helper function is inlined.
585 * sysdeps/unix/sysv/linux/pread.c: Likewise.
586 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
587 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
590 2004-07-05 Jakub Jelinek <jakub@redhat.com>
592 * include/string.h (ffs): Add libc_hidden_builtin_proto.
593 * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
594 * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
595 * sysdeps/alpha/ffs.S (ffs): Likewise.
596 * sysdeps/s390/ffs.c (ffs): Likewise.
597 * sysdeps/powerpc/ffs.c (ffs): Likewise.
598 * sysdeps/i386/ffs.c (ffs): Likewise.
599 * sysdeps/i386/i686/ffs.c (ffs): Likewise.
600 * sysdeps/m68k/ffs.c (ffs): Likewise.
601 * sysdeps/generic/ffs.c (ffs): Likewise.
602 * sysdeps/m88k/ffs.c (ffs): Likewise.
603 * sysdeps/am29k/ffs.c (ffs): Likewise.
604 * sysdeps/i960/ffs.c (ffs): Likewise.
605 * sysdeps/x86_64/ffs.c (ffs): Likewise.
607 * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
609 * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
610 __libc_siglongjmp): Remove symbol_version.
611 * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
612 Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
613 * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
615 * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
616 * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
617 strong_alias instead of default_symbol_version, remove
619 * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
620 * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
621 into strong_alias to __novmxsetjmp.
622 (__vmx__setjmp): Similarly with __vmxsetjmp.
623 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
624 default_symbol_version and symbol_version.
625 * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
626 into strong_alias to __novmxsetjmp.
627 (__vmx__setjmp): Similarly with __vmxsetjmp.
628 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
629 default_symbol_version and symbol_version.
631 * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
633 2004-07-05 Ulrich Drepper <drepper@redhat.com>
635 * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
637 2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk>
639 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
640 instead of libc_hidden_def.
642 2004-07-01 Roland McGrath <roland@redhat.com>
644 * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
646 * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
647 $(..)shlib-versions file to last in deps list. This lets add-ons give
648 more-specific matches that override defaults in the top-level file.
650 * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
651 already set, don't set it or libc_cv_gcc_unwind_find_fde.
652 * sysdeps/unix/sysv/linux/configure: Regenerated.
654 2004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
656 * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
657 (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
658 (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
659 * sysdeps/s390/fpu/e_sqrt.c: New file.
660 * sysdeps/s390/fpu/e_sqrtf.c: New file.
661 * sysdeps/s390/Implies: New file.
662 * sysdeps/s390/s390-32/Implies: Remove ieee754, move
663 ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
664 * sysdeps/s390/s390-64/Implies: Likewise.
666 2004-06-30 Jakub Jelinek <jakub@redhat.com>
668 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
669 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
671 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
672 DO_CALL (exit, 1) instead of branching to _exit.
673 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
676 * sysdeps/s390/fpu/bits/mathinline.h: New file.
678 * include/glob.h (glob64): Add libc_hidden_proto.
679 * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
680 * sysdeps/gnu/glob64.c (glob64): Likewise.
681 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
683 2004-06-11 Jakub Jelinek <jakub@redhat.com>
685 * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
686 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
688 2004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com>
690 * sysdeps/powerpc/fpu/s_lround.c: Removed.
691 * sysdeps/powerpc/fpu/s_lroundf.c: Removed.
692 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
693 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
694 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
695 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
696 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
697 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
698 * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
699 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
700 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
701 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
702 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
703 * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
704 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
705 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
707 2004-06-30 Ulrich Drepper <drepper@redhat.com>
709 * include/net/if.h: Handle if_nameindex and if_freenameindex with
711 * sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
712 * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
713 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
714 netlink if possible. Fall back on ioctl method if necessary.
715 * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
717 * include/unistd.h: Declare __truncate.
718 * sysdeps/generic/truncate.c: Also define __truncate.
719 * sysdeps/mach/hurd/truncate.c: Likewise.
720 * sysdeps/unix/common/syscalls.list: Likewise.
721 * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
723 2004-06-29 Ulrich Drepper <drepper@redhat.com>
725 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
726 info.extra. Patch by Marcus Meissner.
728 2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
730 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
731 Fix branch offset for a PLT entry.
733 2004-06-20 Jim Meyering <jim@meyering.net>
735 * malloc/obstack.h (obstack_base): Cast to `void *', to align with
738 2004-06-28 Ulrich Drepper <drepper@redhat.com>
740 * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
741 Workaround for [BZ #232].
743 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.
745 2004-06-28 GOTO Masanori <gotom@debian.or.jp>
747 * iconv/gconv_simple.c: Use get16/put16 for user given buffer
748 in ucs2/ucs2reverse when unaligned memory access is attempted.
749 * iconv/tst-iconv5.c: New file.
750 * iconv/Makefile (tests): Add tst-iconv5.
752 2004-06-28 Jakub Jelinek <jakub@redhat.com>
754 * inet/bug-if1.c: Include <string.h>.
756 2004-06-19 Roland McGrath <roland@redhat.com>
758 * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
759 under this macro name instead.
760 [NO_DO_WAITID]: Don't define it at all.
761 (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
762 defined, then return ENOTSUP for combinations of selection bits other
763 than WEXITED and WEXITED|WSTOPPED, which this version cannot support.
765 * posix/tst-waitid.c: New file.
766 * posix/Makefile (tests): Add it.
768 2004-06-28 Jakub Jelinek <jakub@redhat.com>
770 * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.
773 * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
774 relocation in librt.so.
777 * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
778 _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
780 2004-06-27 Ulrich Drepper <drepper@redhat.com>
782 * elf/ldconfig.c (add_dir): Take chroot into account.
783 Based on changes by HJ Lu and Hideki Iwamoto.
785 * nscd/connections.c (invalidate_cache): If the host cache has to
786 be invalidated, re-read resolv.conf.
788 * resolv/resolv.h (RES_NOIP6DOTINT): Define.
789 * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
790 * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
791 if RES_NOIP6DOTINT flag is set.
792 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
794 2004-06-25 Jakub Jelinek <jakub@redhat.com>
796 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
798 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.
802 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
803 F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
805 2004-06-21 Jakub Jelinek <jakub@redhat.com>
808 * sysdeps/unix/alpha/Makefile: New file.
809 * sysdeps/unix/alpha/rt-sysdep.S: New file.
810 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
812 2004-06-18 Ulrich Drepper <drepper@redhat.com>
814 * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
815 determine the canonical name only for the first returned entry.
817 * inet/bug-if1.c: New file.
818 * inet/Makefile (tests): Add bug-if1.
820 2004-06-18 Roland McGrath <roland@frob.com>
822 * Makerules (compile-mkdep-flags): Add -MT $@.
824 * Makefile (dist, tag-for-dist): New targets.
825 (files-for-dist, tag-of-stem): New variables.
826 (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
827 Make tar files using cvs export.
828 (%.bz2, %.gz, tag-%): New pattern rules.
829 (distribute): Variable removed.
830 (+subdir_targets): Remove distinfo targets.
831 (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
832 (rpm/%): Pattern rule removed.
833 * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
834 * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
836 * Makerules (dist, subdir_distinfo): Targets removed.
837 ($(objpfx)distinfo): Depend on $(distribute).
838 * Make-dist: File removed.
840 * NEWS: Fix a typo. Update bug-reporting instructions.
842 2004-06-17 Thorsten Kukuk <kukuk@suse.de>
844 * sysdeps/unix/sysv/linux/sched_setaffinity.c
845 (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
846 cpuset is wrongly set.
848 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
850 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
853 2004-06-14 Jakub Jelinek <jakub@redhat.com>
856 * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
857 in a local variable, point rp to that local variable afterwards.
859 2004-06-11 Jakub Jelinek <jakub@redhat.com>
861 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
864 2004-06-17 Ulrich Drepper <drepper@redhat.com>
866 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
867 error value for unknown interface. [BZ #198]
869 2004-06-13 Jakub Jelinek <jakub@redhat.com>
871 * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
872 (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
873 __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
874 the asm uses as its input, either of size __n where __n is known or
876 (strstr): Add "memory" clobber.
878 2004-06-14 Jakub Jelinek <jakub@redhat.com>
881 * nss/nsswitch.c (free_mem): Don't try to close a library handle
882 if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>.
884 2004-06-11 Dmitry V. Levin <ldv@altlinux.org>
887 * debug/xtrace.sh: Fix typo in error diagnostics.
889 2004-06-14 Andreas Schwab <schwab@suse.de>
891 * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
894 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
897 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
901 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
903 Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19.
904 Fix pasto that overflowed sigcontext.v_reserve.
905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
906 Fix pasto that clobbers r19.
907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
908 of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that
909 overflowed sigcontext.v_reserve.
911 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
914 * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
915 instead of ".gnu.linkonce.ro." as the prefix for linkonce
916 read-only section name.
918 2004-06-14 Richard Henderson <rth@redhat.com>
920 * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
921 (_ITOFT, _FTOIT, _ITOFT2): Likewise.
923 2004-06-08 Jakub Jelinek <jakub@redhat.com>
925 * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
926 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
927 (__backtrace): Don't call init #ifndef SHARED.
928 * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
929 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
930 (__backtrace): Don't call init #ifndef SHARED.
931 * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
932 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
933 (__backtrace): Don't call init #ifndef SHARED.
935 2004-06-11 Roland McGrath <roland@redhat.com>
937 * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
938 From Krzysztof Halasa <khc@pm.waw.pl>.
940 2004-06-10 Jakub Jelinek <jakub@redhat.com>
942 * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
944 2004-06-08 Jakub Jelinek <jakub@redhat.com>
947 * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
948 succeeds. Reported by Miles Ohlrich <miles@cray.com>.
950 * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
951 fails. Avoid memory leak if realloc fails.
953 2004-06-09 Jakub Jelinek <jakub@redhat.com>
955 * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
956 NULL, "" or contains '=' character in it. Reported by
957 Michael T Kerrisk <mtk-lists@gmx.net>.
958 * stdlib/tst-environ.c: Include errno.h.
959 (main): Add tests for these arguments to setenv/unsetenv.
961 2004-06-07 Roland McGrath <roland@frob.com>
963 * NEWS: Update bug reporting instructions. Fix some typos.
965 2004-06-05 Ulrich Drepper <drepper@redhat.com>
967 * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
968 * stdio-common/_itoa.c: Add _itoa implementation.
970 * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
971 to also send request. Add parameter to allow this.
973 * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
974 * nscd/nscd_getpw_r.c: Likewise.
975 * nscd/nscd-client.h: Change __nscd_open_socket prototype.
977 2004-06-05 Andreas Jaeger <aj@suse.de>
979 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
980 Handle more than 6 args correctly. Based on a patch by Masahide
981 Washizawa <washi@jp.ibm.com>.
983 2004-06-04 Ulrich Drepper <drepper@redhat.com>
985 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
986 in all places, not __nss_not_use_nscd_group.
987 Reported by Philippe Gregoire.
989 2004-06-03 Ulrich Drepper <drepper@redhat.com>
991 * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
993 2004-05-07 Dmitry V. Levin <ldv@altlinux.org>
995 * argp/argp-help.c (__argp_error, __argp_failure): Check result
996 of __asprintf call and don't use string if it failed.
997 * stdio-common/psignal.c (psignal): Likewise.
998 * locale/programs/localedef.c (more_help): Likewise.
999 * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
1000 arg_bool, parse_line): Check result of __asprintf calls and
1001 don't use string if they failed.
1002 * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
1003 * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
1004 call and exit if it failed.
1006 2004-05-10 Jakub Jelinek <jakub@redhat.com>
1008 * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
1009 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
1010 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
1011 _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
1012 _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
1013 _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
1014 _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
1015 _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
1016 _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
1017 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1018 <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
1020 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
1022 * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
1023 -momit-leaf-frame-pointer.
1025 * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
1028 * sysdeps/mach/hurd/getcwd.c
1029 (_hurd_canonicalize_directory_name_intern): Only realloc when
1032 * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
1035 * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
1038 * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
1039 __libc_write and __libc_lseek64.
1041 2004-05-29 Roland McGrath <roland@redhat.com>
1043 * elf/Makefile (shared-only-routines): Add dl-caller.
1045 2004-05-28 Ulrich Drepper <drepper@redhat.com>
1047 * sysdeps/powerpc/configure.in: New file.
1049 2004-05-28 Steven Munroe <sjmunroe@us.ibm.com>
1051 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
1052 "altivec" to enable VMX instructions.
1053 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1054 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1055 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1063 2004-05-27 Jakub Jelinek <jakub@redhat.com>
1065 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
1066 __builtin_expm1l for GCC 3.5+.
1067 (__expl): Define using __builtin_expl for GCC 3.4+.
1068 (exp, expf, expl): Don't define for GCC 3.4+.
1069 (tan, tanf, tanl): Don't define for GCC 3.5+.
1070 (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
1071 (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
1072 (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
1073 (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
1074 (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
1076 (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
1077 Don't define for GCC 3.5+.
1078 (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
1079 (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
1080 define for GCC 3.5+.
1081 (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
1082 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
1083 define for GCC 3.2+.
1085 2004-05-27 Jakub Jelinek <jakub@redhat.com>
1087 * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
1088 * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
1089 * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
1090 * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
1091 * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
1092 * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
1093 * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
1094 * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
1095 * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
1096 * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
1097 * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
1098 * sysdeps/i386/i586/memcpy.S (memcpy): Remove
1099 libc_hidden_builtin_def if MEMPCPY_P.
1100 * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
1101 * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
1102 * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
1103 * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
1104 * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
1106 2004-05-26 Roland McGrath <roland@frob.com>
1108 * sysdeps/generic/bits/in.h
1109 (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
1110 These are long obsolete in BSD systems where they originated.
1111 * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
1113 2004-05-26 Jakub Jelinek <jakub@redhat.com>
1115 * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
1116 * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
1117 (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
1118 (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
1119 constant '\0' and first argument is not constant.
1120 (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
1121 (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
1122 For GCC 3.2+ use __builtin_strncpy.
1123 (strncat): For GCC 3.2+ use __builtin_strncat.
1124 (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
1126 (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
1127 if both arguments are constant.
1129 2004-05-26 Ulrich Drepper <drepper@redhat.com>
1131 * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
1132 mapped addresses in gethostbyaddr.
1134 2004-05-25 Ulrich Drepper <drepper@redhat.com>
1136 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
1137 flags parameter, convert afp to simple int parameter. Adjust code.
1138 typep was never != NULL and flags therefore also unused. *afp is
1140 * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
1141 * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter
1142 handling for __nss_hostname_digits_dots calls.
1143 * nss/getXXbyYY_r.c: Likewise.
1145 * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
1147 2004-05-25 Steven Munroe <sjmunroe@us.ibm.com>
1149 * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
1150 * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
1151 (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
1152 (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
1153 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
1154 implementation from w_sqrt.c.
1155 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
1156 implementation from w_sqrtf.c.
1157 * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
1158 using inline __ieee754_sqrt().
1159 * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
1160 using inline __ieee754_sqrtf().
1161 * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
1162 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1163 * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
1164 PPC_FEATURE_* independent of __ASSEMBLER__.
1166 2004-05-25 Jakub Jelinek <jakub@redhat.com>
1168 * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
1170 (aio_start_notify_thread): Define if not defined.
1171 (notify_func_wrapper): Use it.
1172 * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
1174 (aio_create_helper_thread): Define if not defined.
1175 (__aio_create_helper_thread): New function.
1176 (__aio_enqueue_request): Use aio_create_helper_thread.
1178 * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
1179 (struct ypresp_all_data): New type.
1180 (__xdr_ypresp_all): Change second argument to
1181 struct ypresp_all_data *. Replace ypall_foreach and
1182 ypall_data with objp->foreach and objp->data.
1183 (yp_all): Remove status variable, add data. Replace
1184 all uses of status with data.status. Initialize data.foreach
1185 and data.data instead of ypall_foreach and ypall_data.
1187 2004-05-24 Jakub Jelinek <jakub@redhat.com>
1189 * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
1190 in l_flags_1, not in l_flags.
1192 2004-04-10 Robert Millan <robertmh@gnu.org>
1194 * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
1195 with sysdeps/generic/bits/in.h.
1197 2004-05-25 Roland McGrath <roland@frob.com>
1199 * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
1200 GCC GPL to standard glibc LGPL.
1202 2004-05-24 Ulrich Drepper <drepper@redhat.com>
1204 * manual/string.texi (Copying and Concatenation): Fixed second
1206 Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
1208 2004-05-23 Ulrich Drepper <drepper@redhat.com>
1210 * malloc/obstack.c: Don't allow linking with _obstack.
1212 2004-05-23 Andreas Schwab <schwab@suse.de>
1214 * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
1215 of separate "m" constraints.
1217 2004-05-15 Chris Demetriou <cgd@broadcom.com>
1219 * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
1220 (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
1221 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
1223 2004-05-20 Paul Eggert <eggert@cs.ucla.edu>
1225 * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
1226 Add comment explaining why libc still defines it.
1228 2004-05-19 Paul Eggert <eggert@cs.ucla.edu>
1230 * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
1231 obstack_alignment_mask, obstack_alloc, obstack_base,
1232 obstack_blank, obstack_blank_fast, obstack_chunk_size,
1233 obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
1234 obstack_grow0, obstack_init, obstack_int_grow,
1235 obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
1236 obstack_next_free, obstack_object_size, obstack_ptr_grow,
1237 obstack_ptr_grow_fast, obstack_room): Remove declarations of
1238 nonexistent functions.
1240 2004-05-18 Steven Munroe <sjmunroe@us.ibm.com>
1242 * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
1243 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1244 [PIC]: Redundent for powerpc64, removed.
1245 (ENTRY): Generate size and alignment for opd entry.
1246 (EALIGN): Generate size and alignment for opd entry.
1247 (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1248 (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1250 2004-05-19 Ulrich Drepper <drepper@redhat.com>
1252 * misc/regexp.h: Say the functions have been withdrawn.
1254 * wcsmbs/tst-wcpncpy.c: Add more tests.
1256 2004-05-18 Roland McGrath <roland@frob.com>
1258 * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
1259 standard glibc LGPL.
1260 * sysdeps/generic/unwind-dw2.c: Likewise.
1261 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1262 * sysdeps/generic/unwind-dw2-fde.h: Likewise.
1263 * sysdeps/generic/unwind-pe.h: Likewise.
1265 2004-05-15 Petter Reinholdtsen <pere@hungry.com>
1267 * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
1268 MONTENEGRO" which have taken over the code 819. Patch from
1269 Danilo Segan. [BZ #40]
1271 2004-05-15 Jakub Jelinek <jakub@redhat.com>
1273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1274 (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
1277 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
1279 * catgets/gencat.c: Update bug reporting instructions.
1280 * csu/version.c: Likewise.
1281 * debug/catchsegv.sh: Likewise.
1282 * debug/pcprofiledump.c: Likewise.
1283 * debug/xtrace.sh: Likewise.
1284 * elf/ldd.bash.in: Likewise.
1285 * iconv/iconv_prog.c: Likewise.
1286 * iconv/iconvconfig.c: Likewise.
1287 * locale/programs/locale.c: Likewise.
1288 * locale/programs/localedef.c: Likewise.
1289 * login/programs/pt_chown.c: Likewise.
1290 * malloc/memusage.sh: Likewise.
1291 * malloc/memusagestat.c: Likewise.
1292 * malloc/mtrace.pl: Likewise.
1293 * manual/crypt.texi: Likewise.
1294 * manual/install.texi: Likewise.
1295 * nss/makedb.c: Likewise.
1297 2004-05-14 Jakub Jelinek <jakub@redhat.com>
1299 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
1300 CHECK_STATIC_TLS if sym != NULL.
1301 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1302 * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
1304 2004-05-12 Andreas Schwab <schwab@suse.de>
1306 * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
1309 2004-05-13 H.J. Lu <hongjiu.lu@intel.com>
1311 * Rules (xtests): Depend on tests.
1313 2004-05-13 Jakub Jelinek <jakub@redhat.com>
1315 * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
1316 count is negative, yet write_ptr < write_end.
1317 (_IO_default_xsgetn): Avoid one underflow per char if count is
1318 negative, yet read_ptr < read_end.
1320 2004-05-12 Steven Munroe <sjmunroe@us.ibm.com>
1322 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
1325 2004-05-12 Ulrich Drepper <drepper@redhat.com>
1327 * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
1330 2004-05-10 Roland McGrath <roland@frob.com>
1332 * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
1333 (__hurd_directory_name_split): Likewise.
1335 2004-05-10 Ulrich Drepper <drepper@redhat.com>
1337 * po/fr.po: Update from translation team.
1339 2004-05-10 Andreas Jaeger <aj@suse.de>
1341 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1342 Correctly compute alignment.
1343 Patch by Michael Matz <matz@suse.de>.
1345 2004-05-09 Ulrich Drepper <drepper@redhat.com>
1347 * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
1348 * sysdeps/posix/sigpause.c: Likewise.
1349 * signal/signal.h: Don't define sigpause macro unless needed.
1351 2004-05-08 Jakub Jelinek <jakub@redhat.com>
1353 * configure.in (libc_cv_libgcc_s_suffix): New check.
1354 (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
1355 * config.make.in (libgcc_s_suffix): Set.
1356 * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
1358 2004-05-08 Ulrich Drepper <drepper@redhat.com>
1360 * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
1362 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
1364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
1365 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1366 Load argument values into temporary variables.
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
1368 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1371 2004-05-07 Ulrich Drepper <drepper@redhat.com>
1373 * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
1374 need to be compiled with exceptions.
1376 2004-05-06 Ulrich Drepper <drepper@redhat.com>
1378 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
1379 * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
1381 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
1382 realloc cannot fail.
1384 * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
1387 * nis/nis_table.c: Clean up memory handling.
1388 * nis/nis_subr.c (nis_getnames): Clean up memory handling.
1389 * nis/nis_removemember.c (nis_removemember): Add comment
1390 explaining use of realloc.
1392 * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
1394 Patch by Lev S Bishop <lev.bishop@yale.edu>.
1396 * math/bug-tgmath1.c (main): Test fabs and carg as well.
1398 2004-05-06 Richard Henderson <rth@redhat.com>
1400 * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
1401 AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
1402 * sysdeps/unix/sysv/linux/alpha/Versions: Export
1403 __libc_alpha_cache_shape as a private symbol.
1404 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
1405 * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
1407 2004-05-06 Richard Henderson <rth@redhat.com>
1409 * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
1410 * sysdeps/alpha/divl.S: Use them.
1411 * sysdeps/alpha/divq.S: Likewise.
1412 * sysdeps/alpha/divqu.S: Likewise.
1413 * sysdeps/alpha/reml.S: Likewise.
1414 * sysdeps/alpha/remq.S: Likewise.
1415 * sysdeps/alpha/remqu.S: Likewise.
1417 2004-05-06 Ulrich Drepper <drepper@redhat.com>
1419 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
1422 * math/Makefile (tests): Add bug-tgmath1.
1423 * math/bug-tgmath1.c: New file.
1425 2004-05-05 Jakub Jelinek <jakub@redhat.com>
1427 * sysdeps/alpha/atomicity.h: Remove.
1428 * sysdeps/generic/atomicity.h: Remove.
1430 2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
1432 * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
1435 2004-04-22 David Mosberger <davidm@hpl.hp.com>
1437 * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
1439 * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
1441 * sysdeps/ia64/strcat.c: New file.
1442 * sysdeps/ia64/strcat.S: Delete.
1444 2004-05-04 Jakub Jelinek <jakub@redhat.com>
1446 * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
1449 2004-04-23 Jakub Jelinek <jakub@redhat.com>
1451 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
1452 libc_hidden_proto. Define to __GI___libm_error_support for
1453 assembly going into libc.so.
1454 * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
1457 * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
1458 * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
1460 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
1461 gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
1464 2004-05-03 Jakub Jelinek <jakub@redhat.com>
1466 * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
1467 __USE_BSD or __USE_UNIX98.
1468 * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1469 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1470 * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
1472 * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1473 * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1474 * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1475 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
1477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
1479 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
1481 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1485 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
1487 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
1489 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
1491 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
1493 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1495 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
1497 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
1499 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1501 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1502 * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1503 * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
1505 2004-05-01 Jakub Jelinek <jakub@redhat.com>
1507 * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
1508 __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
1509 __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
1510 * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
1511 * sysdeps/unix/sysv/linux/Versions (libc): Remove
1512 __libc_sigaction@@GLIBC_PRIVATE.
1513 * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
1514 __modify_ldt@@GLIBC_PRIVATE.
1515 * socket/Versions (libc): Remove __libc_accept, __libc_send,
1516 __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
1517 __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
1518 * stdio-common/Versions (libc): Remove
1519 _itoa_upper_digits@@GLIBC_PRIVATE.
1520 * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
1521 * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
1522 __libc_readv and __libc_writev @@GLIBC_PRIVATE.
1523 * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
1524 * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
1525 __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
1526 __libc_lseek64 @@GLIBC_PRIVATE.
1528 2004-04-30 Jakub Jelinek <jakub@redhat.com>
1530 * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
1533 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
1535 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
1536 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
1537 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
1538 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
1539 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
1540 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
1541 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
1542 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
1543 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
1544 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
1545 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
1546 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
1547 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
1548 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
1549 * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
1550 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
1551 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
1552 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
1554 * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
1555 mantissa for AIX long double format.
1556 * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
1558 * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
1559 * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1560 (_fpioconst_pow10): AIX long double format has same exponent range as
1562 * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1563 (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
1566 2004-04-23 Art Haas <ahaas@airmail.net>
1568 * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
1570 2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
1572 * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
1573 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
1574 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
1575 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
1576 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
1578 2004-04-29 Philip Blundell <pb@nexus.co.uk>
1580 * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
1583 2004-04-29 Jakub Jelinek <jakub@redhat.com>
1585 * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
1586 prototypes and description [BZ #131].
1588 * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
1589 Patch by Ed Catmur <ed@catmur.co.uk>.
1590 * string/tst-inlcall.c (main): Add test for strpbrk.
1593 * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
1595 (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
1596 yet defined, #undef back after including linux/sysctl.h if defined
1598 (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
1599 back after including linux/sysctl.h if defined here.
1601 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
1602 for single precision register, add it to __asm clobbers [BZ #139].
1603 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
1604 for single precision register, add it to __asm clobbers.
1605 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
1606 instead of fqtoi in QP_HANDLE_EXCEPTIONS.
1607 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
1608 Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
1610 2004-04-23 Andreas Schwab <schwab@suse.de>
1612 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
1615 2004-04-22 Philip Blundell <philb@gnu.org>
1617 * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
1618 when calling _dl_signal_error.
1619 (elf_machine_rel): Likewise.
1621 2004-04-21 Ulrich Drepper <drepper@redhat.com>
1623 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
1624 and use it internally instead of __sigsetjmp.
1625 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
1626 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
1627 * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
1628 * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
1629 * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
1630 * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
1631 * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
1632 _GI___libm_frexp_4f, _GI___libm_frexp_4l.
1633 * sysdeps/ia64/fpu/bits/mathinline.h: New file.
1634 * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
1635 HIDDEN_JUMPTARGET for exit call.
1636 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
1638 * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
1639 * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
1642 2004-04-21 Jakub Jelinek <jakub@redhat.com>
1644 * posix/tst-chmod.c (do_test): Fix a typo.
1646 * elf/lateglobal.c (main): Fix error checks.
1647 Patch by Stephen Clarke <stephen.clarke@st.com>.
1649 * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
1650 mention they have been added in ISO C99.
1651 Reported by Ben Pfaff <blp@cs.stanford.edu>.
1653 2004-03-31 H.J. Lu <hongjiu.lu@intel.com>
1655 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
1657 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1659 * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
1662 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1664 * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
1666 * stdio-common/tst-sscanf.c (int_tests): Adjust.
1668 * nis/nss-nis.c: Include stdlib.h.
1670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
1672 * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
1673 libc_hidden_builtin_def.
1675 2004-04-20 Jim Meyering <jim@meyering.net>
1677 * misc/error.c (error_tail): Don't leak upon realloc failure.
1679 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1681 * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
1682 Use RETURN_ADDRESS instead of __builtin_return_address.
1684 2004-04-19 Ulrich Drepper <drepper@redhat.com>
1686 * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
1689 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1691 * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
1692 do input_error () instead of conv_error () and don't look at errno.
1693 Don't eat any whitespace before %% if skip_space == 0.
1694 * stdio-common/tst-sscanf.c (int_tests): New array.
1695 (main): Run int_tests.
1698 See ChangeLog.14 for earlier changes.