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