1 2004-08-08 Ulrich Drepper <drepper@redhat.com>
3 * elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set,
4 reset loader before the actual loading.
5 * elf/dl-open.c (dl_open_worker): If file name contains no path
6 element determine map of caller. Pass caller map in this case to
7 _dl_map_object. Set __RTLD_CALLMAP in mode.
8 * include/dlfcn.h (__RTLD_CALLMAP): Define. [BZ #116]
9 Patch by Greg Wolodkin <greg@mathworks.com>.
11 * misc/syslog.c (openlog_internal): Always try both UDP and TCP.
12 [BZ #108] Patch mainly by Bjorn Andersson <bjorn@iki.fi>.
14 * configure.in: Also recognize i786. [BZ #106]
15 Patch by <pluto@pld-linux.org>.
17 * resolv/res_query.c (__libc_res_nsearch): Correctly test whether
18 name contains any dots. [BZ #95]
20 * resolv/res_send.c: Compiling with DEBUG defined works again.
21 * resolv/gethnamaddr.c (dprintf): Renamed to Dprintf. Adjust all
24 * resolv/tst-leaks.c (TIMEOUT): Define so that if no server is
25 available the process is not killed. [BZ #41]
27 * intl/tst-gettext.c (main): Improve some messages. [BZ #33]
29 * time/strptime_l.c (__strptime_internal): Fix handling of %Ey.
32 * po/sv.po: Update from translation team.
34 2004-08-07 Ulrich Drepper <drepper@redhat.com>
36 * inet/netinet/in.h: Add more const to the setipv4soucefilter,
37 getsourcefilter, and setsourcefilter parameter list.
38 * sysdeps/generic/setipv4sourcefilter.c: Likewise.
39 * sysdeps/generic/getsourcefilter.c: Likewise.
40 * sysdeps/generic/setsourcefilter.c: Likewise.
41 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
43 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
45 * po/tr.po: Update from translation team.
47 2004-08-06 Ulrich Drepper <drepper@redhat.com>
49 * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo.
50 Reported by Paolo Bonzini.
52 2004-08-06 Jakub Jelinek <jakub@redhat.com>
54 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add
56 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup,
57 elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise.
59 * sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h
60 before including linux/atalk.h.
62 * resolv/res_libc.c: Include atomic.h.
64 * intl/finddomain.c (free_mem): Rename to...
65 (_nl_finddomain_subfreeres): ... this. Add
66 __libc_freeres_fn_section.
67 * intl/loadmsgcat.c (_nl_unload_domain): Add
68 __libc_freeres_fn_section.
69 * intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC.
71 (_nl_findomain_subfreeres): New prototype.
72 * iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres.
74 2004-07-30 Guido Guenther <agx@sigxcpu.org>
76 * nss/getent.c (passwd_keys): Use strtoul instead of isdigit to
77 test if the key is numeric or not.
78 (group_keys): Likewise.
80 2004-08-05 Ulrich Drepper <drepper@redhat.com>
82 * inet/netinet/in.h: Define struct ip_msfilter, IP_MSFILTER_SIZE,
83 struct group_filter, and GROUP_FILTER_SIZE.
84 * include/sys/socket.h: Declare __getsockopt.
85 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: New file.
86 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: New file.
87 * sysdeps/unix/sysv/linux/setsourcefilter.c: New file.
88 * sysdeps/unix/sysv/linux/getsourcefilter.c: New file. [BZ #211]
90 * po/ko.po: Update from translation team.
92 2004-08-04 Jakub Jelinek <jakub@redhat.com>
94 * hesiod/hesiod.c (__hesiod_res_get): Use calloc instead of malloc +
96 (__hesiod_res_set): Free nsaddrs.
98 * include/resolv.h (__res_maybe_init): Add prototype.
99 * resolv/resolv.h (struct __res_state): Add _u._ext.initstamp field.
100 * resolv/Versions (libc): Add __res_maybe_init@@GLIBC_PRIVATE.
101 * resolv/res_libc.c (__res_initstamp, lock): New variables.
102 (res_init): Increase __res_initstamp.
103 (__res_maybe_init): New function.
104 * resolv/res_init.c (__res_vinit): Initialize _u._ext.initstamp.
105 * hesiod/hesiod.c (__hesiod_res_get): Use __res_maybe_init instead
106 of RES_INIT check and {res_ninit,__res_ninit,res_init} call.
107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
108 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
109 _nss_dns_gethostbyaddr_r): Likewise.
110 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
111 _nss_dns_getnetbyaddr_r): Likewise.
112 * resolv/gethnamaddr.c (gethostbyname, gethostbyname2,
113 gethostbyaddr): Likewise.
114 * resolv/res_data.c (fp_nquery, res_mkquery, res_mkupdate,
115 res_isourserver, res_sendsigned, res_update, res_search,
116 res_querydomain): Likewise.
117 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Likewise.
118 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
119 * nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r):
122 2004-08-05 Ulrich Drepper <drepper@redhat.com>
124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set ai_family for
125 V4-mapped IPv6 addresses and req->ai_family==AF_INET.
126 Reported by A. Guru <a.guru@sympatico.ca>.
128 * po/sv.po: Update from translation team.
129 * po/sk.po: Likewise.
130 * po/pl.po: Likewise.
132 2004-08-04 Jakub Jelinek <jakub@redhat.com>
133 Ulrich Drepper <drepper@redhat.com>
135 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input
136 characters than necessary.
138 2004-08-05 Ulrich Drepper <drepper@redhat.com>
140 * wcsmbs/Makefile (tests): Add tst-mbsrtowcs.
141 * wcsmbs/tst-mbsrtowcs.c: New file.
143 * po/fr.po: Update from translation team.
145 2004-08-04 Jakub Jelinek <jakub@redhat.com>
147 * resolv/inet_pton.c (inet_pton4): Disallow octal numbers. Reported
148 by A. Guru <a.guru@sympatico.ca>. [BZ #295]
150 2004-08-05 Ulrich Drepper <drepper@redhat.com>
152 * po/nl.po: Update from translation team.
154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4
155 numeric address formats inet_addr knows.
156 (getaddrinfo): Allow AI_NUMERICSERV flag.
157 If neither IPv4 nor IPv6 interface is present we cannot make any
158 decision for AI_ADDRCONFIG. Fail if AI_NUMERICSERV is set and the
159 string is not just a number. Remove useless freeaddrinfo call.
160 * resolv/netdb.h (AI_NUMERICSERV): Define.
161 Based on a patch by a.guru@sympatico.ca.
163 2004-08-04 Jakub Jelinek <jakub@redhat.com>
165 * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure
166 instead of trying to initialize some, but not all, fields one by
168 * stdio-common/printf_size.c (printf_size): Initialize fb_info
169 structure with *info instead of trying to initialize some, but not
172 * nscd/connections.c (handle_request): Check if req->type is in
173 LASTDBREQ .. LASTREQ range instead of req.
175 * locale/programs/linereader.c (lr_create): Initialize
176 lr->return_widestr to 0.
178 * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section.
179 (free_mem): Call free_slotinfo just once.
181 * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead
184 * locale/localeinfo.h (_nl_locale_subfreeres): New prototype.
185 * locale/setlocale.c (free_category): Add __libc_freeres_fn_section.
186 (free_mem): Rename to _nl_locale_subfreeres.
187 * iconv/gconv_db.c: Include locale/localeinfo.h.
188 (free_derivation, free_modules_db): Add __libc_freeres_fn_section.
189 (free_mem): Call _nl_locale_subfreeres.
190 * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section.
192 2004-08-04 Roland McGrath <roland@frob.com>
194 * Makeconfig ($(common-objpfx)config.status):
195 Fix typo: $(add_ons) -> $(add-ons).
196 (Makeconfig-add-on): New variable. When doing $(sysdep-makeconfigs)
197 include, use black magic to get it set to an add-on's name during the
198 include of the add-on's Makeconfig.
200 * configure.in: Use variable name `libc_add_on' when sourcing add-on
201 configure fragments, so they can refer to this.
202 * configure: Regenerated.
204 2004-08-04 Roland McGrath <roland@redhat.com>
206 * posix/tst-waitid.c (test_child): Sleep a second before stopping.
207 (do_test): Bump sleep to three seconds.
208 (sigchld, check_sigchld): New functions.
209 (do_test): Handle SIGCHLD and check for getting the right details.
211 * posix/tst-waitid.c (do_test): Kill the child process when bailing
212 out early on some failure.
213 [WCONTINUED]: Test WCONTINUED functionality.
215 2004-08-03 Ulrich Drepper <drepper@redhat.com>
217 * nscd/connections.c (handle_request): Print more descriptive
218 message for invalid request types.
220 2004-08-02 Jakub Jelinek <jakub@redhat.com>
222 * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff.
223 Always treat high as highest number in range + 1.
224 * iconvdata/ibm943.c (BODY): Likewise.
226 2004-07-31 Bruno Haible <bruno@clisp.org>
228 * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004.
229 * iconvdata/jisx0213.c (__jisx0213_to_ucs_main,
230 __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1,
231 __jisx0213_from_ucs_level2): Regenerated.
232 * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function.
233 * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from
235 (JISX0213_1_2004_set): New enum value.
236 (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O.
237 (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O
238 when possible, ESC $ ( Q when needed.
239 * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters.
240 * iconvdata/testdata/EUC-JISX0213..UTF8: Update.
241 * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters.
242 * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update.
243 * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters.
244 * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update.
246 2004-07-22 Bruno Haible <bruno@clisp.org>
248 * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
250 2004-07-29 David S. Miller <davem@redhat.com>
252 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize
253 better for smaller than 256 byte copies. Also, use only one
254 unrolled loop instead of two for the large copy case.
256 2004-07-30 Richard Henderson <rth@redhat.com>
258 * sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
259 * sysdeps/alpha/remq.S: Likewise.
260 * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
261 new division algorithms in divl.S and divq.S respectively.
263 2004-07-28 GOTO Masanori <gotom@debian.or.jp>
265 * timezone/asia: Update from tzdata2004b.
266 * timezone/backward: Likewise.
267 * timezone/europe: Likewise.
268 * timezone/iso3166.tab: Likewise.
269 * timezone/leapseconds: Likewise.
270 * timezone/northamerica: Likewise.
271 * timezone/southamerica: Likewise.
272 * timezone/zone.tab: Likewise.
274 * timezone/private.h: Update from tzcode2004b.
275 * timezone/zic.c: Likewise.
277 2004-07-27 Ulrich Drepper <drepper@redhat.com>
279 * nscd/grpcache.c (cache_addgr): If necessary, add entry also
280 under the name the user provided.
281 * nscd/pwdcache.c (cache_addpw): Likewise.
283 2004-07-26 Roland McGrath <roland@redhat.com>
285 * sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
288 2004-07-26 Ulrich Drepper <drepper@redhat.com>
290 * nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to
293 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for
294 new buffer at the right time.
295 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
297 2004-07-25 Ulrich Drepper <drepper@redhat.com>
299 * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter,
300 getsourcefilter, setipv4sourcefilter, and setsourcefilter.
301 * inet/Makefile (routines): Likewise.
302 * inet/netinet/in.h: Add prototypes for getipv4sourcefilter,
303 getsourcefilter, setipv4sourcefilter, and setsourcefilter.
304 * sysdeps/generic/getipv4sourcefilter.c: New file.
305 * sysdeps/generic/setipv4sourcefilter.c: New file.
306 * sysdeps/generic/getsourcefilter.c: New file.
307 * sysdeps/generic/setsourcefilter.c: New file.
309 2004-07-17 Steven Munroe <sjmunroe@us.ibm.com>
311 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
314 2004-07-21 Jakub Jelinek <jakub@redhat.com>
317 * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >=
318 BITS_PER_MP_LIMB shifting up.
319 * stdlib/tst-strtod.c (main): Add new tests.
321 2004-07-23 Jakub Jelinek <jakub@redhat.com>
324 * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of
325 _IO_no_init. Remove wd from struct locked_FILE.
326 (_IO_wproc_jumps): Remove.
327 Reported by Andrew Josey <a.josey@opengroup.org>.
328 * stdio-common/Makefile (tests): Add tst-popen.
329 * stdio-common/tst-popen.c: New test.
331 2004-07-23 Ulrich Drepper <drepper@redhat.com>
333 * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and
334 _POSIX_OPEN_MAX. Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX,
335 _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX.
336 Reported by Andrew Josey.
338 * include/features.h: Document _POSIX_C_SOURCE == 200112L.
340 * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined.
341 * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined.
342 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t,
343 off_t, time_t, and uid_t if __USE_XOPEN2K is defined.
344 * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined.
345 * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and
346 useconds_t if __USE_XOPEN2K is defined.
347 * io/utime.h: Define time_t if __USE_XOPEN2K is defined.
348 * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.
350 2004-07-19 Thorsten Kukuk <kukuk@suse.de>
352 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't
353 allocate memory for large temporary variables with alloca.
355 2004-07-22 Ulrich Drepper <drepper@redhat.com>
357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility
358 code must have version GLIBC_2.0. Patch by Dwayne McConnell.
360 * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL
361 pointer and zero length.
363 2004-07-21 Ulrich Drepper <drepper@redhat.com>
365 * nscd/cache.c (prune_cache): Print correct list when debugging.
367 2004-07-21 Jakub Jelinek <jakub@redhat.com>
369 * resolv/res_libc.c (res_init): If RES_INIT is set and
370 _res.nscount > 0, call __res_nclose and free nsaddrs.
371 * resolv/Makefile: Add rules to build and run tst-leaks2.
372 * resolv/tst-leaks2.c: New test.
374 2004-07-21 Ulrich Drepper <drepper@redhat.com>
376 * intl/libintl.h: Don't define macros for C++.
377 Patch by Goto Masanori.
379 2004-07-22 GOTO Masanori <gotom@debian.or.jp>
382 * include/arpa/inet.h: Change inet_aton type from in_addr_t to int.
383 * inet/arpa/inet.h: Likewise.
384 * resolv/inet_addr.c: Likewise.
386 2004-07-21 Alexandre Oliva <aoliva@redhat.com>
388 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.
390 2004-07-20 Roland McGrath <roland@redhat.com>
392 * configure.in (add_ons): Substitute this. Move $add_ons handling
393 after AC_CANONICAL_HOST and default setting of $machine et al.
394 Don't set $subdirs from $add_ons.
395 Instead, source add-on/configure fragments early on.
396 (base_machine): If it's already set, don't set it based on $machine.
397 (libc_config_ok): New variable, set to no. If an add-on fragment sets
398 it to yes, skip the tuple sanity check as if --enable-hacker-mode.
399 (sysnames): Try appending add-on names after machine as well.
400 * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@.
401 * Makeconfig ($(common-objpfx)config.status): Also depend on configure
402 files in $(add_ons) dirs.
404 * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove
405 definition, now in netinet/in.h proper.
407 2004-07-20 Alexandre Oliva <aoliva@redhat.com>
409 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
410 Sort by syscalls. Make sure we get headers such as sgidefs.h from
411 the build tree before just-installed ones.
413 * sysdeps/mips/atomicity.h: Use standard names for ABI macros,
414 include sgidefs.h where appropriate.
415 * sysdeps/mips/dl-machine.h: Likewise.
416 * sysdeps/mips/machine-gmon.h: Likewise.
417 * sysdeps/mips/bits/setjmp.h: Likewise.
418 * sysdeps/mips/fpu/bits/mathdef.h: Likewise.
419 * sysdeps/mips/mips64/__longjmp.c: Likewise.
420 * sysdeps/mips/mips64/setjmp_aux.c: Likewise.
421 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
422 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
423 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
424 * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
425 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
426 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
427 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
428 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
429 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
430 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
431 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
432 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
433 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
434 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
435 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
436 * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
437 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
439 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
442 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use
444 (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
446 2004-07-20 Ulrich Drepper <drepper@redhat.com>
448 * inet/netinet/in.h: Define struct ip_mreq and struct
450 Define struct group_req and struct group_source_req.
451 * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE,
452 IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
453 IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP,
454 MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP,
455 MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and
457 Define MCAST_INCLUDE and MCAST_EXCLUDE.
459 * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
461 2004-07-19 Jakub Jelinek <jakub@redhat.com>
464 * math/libm-test.inc (max_value, min_value): New variables.
465 (initialize): Initialize them.
466 (pow_test): Add a couple of new tests.
467 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid
468 exception if |y| >= 1U<<31.
469 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid
470 exception if |y| >= 1L<<63.
471 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
472 If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN.
473 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
475 2004-07-18 Ulrich Drepper <drepper@redhat.com>
477 * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful
479 * nscd/grpcache.c (cache_addgr): Likewise.
480 * nscd/hstcache.c (cache_addhst): Likewise.
482 2004-07-10 GOTO Masanori <gotom@debian.or.jp>
484 * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw.
485 * sysdeps/s390/s390-64/elf/start.S: Likewise.
487 2004-04-16 Andreas Schwab <schwab@suse.de>
489 * sysdeps/ia64/bits/atomic.h: Cast first argument of
490 __sync_bool_compare_and_swap_si correct to void*.
492 2004-07-17 Ulrich Drepper <drepper@redhat.com>
494 * iconv/iconv_prog.c (print_known_names): Make machine-readable
495 output even less cluttered.
497 2004-07-16 Steven Munroe <sjmunroe@us.ibm.com>
500 * setjmp/Makefile (tests): Add bug269-setjmp.
501 * setjmp/bug269-setjmp.c: New file.
502 * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]:
503 Store R2 from jmpbuf in callers TOC save area.
504 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]:
505 Store R2 in TOC save area.
506 * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]:
507 Copy TOC save area from previous frame as R2 (TOC) in jmpbuf.
509 2004-07-16 Jakub Jelinek <jakub@redhat.com>
511 * locale/newlocale.c: Include bits/libc-lock.h.
512 (__libc_setlocale_lock): Extern decl.
513 (__newlocale): Use it.
514 Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
516 2004-07-15 Jakub Jelinek <jakub@redhat.com>
518 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove
519 static inline __attribute ((always_inline)). Don't define if
521 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel):
524 Remove static inline __attribute ((always_inline)). Don't define
526 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
528 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to
529 __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0.
530 Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0.
531 (__libc_fcntl): Don't define if __fcntl_nocancel is a macro.
534 * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF
536 * elf/Makefile: Add rules to build and run tst-pie1.
537 * elf/tst-pie1.c: New test.
538 * elf/tst-piemod1.c: New file.
540 2004-07-14 Jakub Jelinek <jakub@redhat.com>
543 * manual/string.texi (l64a): Note that the static buffer is 7 bytes
544 long. Rewrite example code so that it takes into account l64a output
545 shorter than 6 characters.
546 Reported by Julian Graham <julian.graham@aya.yale.edu>.
548 2004-07-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
550 * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here.
551 (elf_machine_rela_relative): Remove unused valiable.
553 2004-07-12 Paul Eggert <eggert@cs.ucla.edu>
556 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store
557 outside the buffer if the read returns 0. __strtod_l can't set
558 endp to NULL, so remove a test for that case.
560 2004-07-12 Roland McGrath <roland@redhat.com>
562 * manual/signal.texi (Interrupted Primitives): Make clear that
563 TEMP_FAILURE_RETRY evaluates its expression as long int and compares
564 it to -1 to define "failure".
566 2004-07-10 Ulrich Drepper <drepper@redhat.com>
568 * elf/ldconfig.c: Define PROCINFO_CLASS as static before including
570 * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not
572 * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not
575 * elf/rtld.c (print_statistics): Mark with noinline attribute.
576 * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline
578 (elf_machine_rel_relative): Likewise.
580 * include/string.h: Add libc_hidden_proto for __strtok_r and
582 * sysdeps/generic/strsep.c: Add libc_hidden_def.
583 * sysdeps/generic/strtok_r.c: Likewise.
584 * sysdeps/i386/strtok_r.S: Add alias for internal symbol.
585 * sysdeps/i386/i686/strtok_r.S: Likewise.
586 * sysdeps/x86_64/strtok_r.S: Likewise.
588 2004-07-09 Alexandre Oliva <aoliva@redhat.com>
590 * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden
591 instead of internal-linkage, such that we can alias to it.
592 (internal_endnetgrent, internal_getnetgrent_r): Likewise.
594 2004-07-09 Ulrich Drepper <drepper@redhat.com>
596 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
597 to the front for gcc 3.5+.
598 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
600 * include/fcntl.h: Don't declare __fcntl_nocancel here if
601 NO_CANCELLATION is defined.
603 2004-07-07 Jakub Jelinek <jakub@redhat.com>
605 * elf/dl-fini.c (_dl_fini): Add nloaded variable, load
606 GL(dl_nloaded) into it while still in critical section.
608 2004-07-06 Thorsten Kukuk <kukuk@suse.de>
610 * nss/getent.c (print_group, print_passwd): Use %lu format for
611 `unsigned long int' values.
613 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
614 error typos in goto statements.
616 2004-07-07 Roland McGrath <roland@frob.com>
618 * Makefile (dist-separate): New variable.
619 (glibc-%.tar rule): Make separate tar files for add-ons listed there.
620 Depend on their configure files.
621 (dist-do-separate-dirs): New canned sequence to do that.
622 (dist-separate-libidn, dist-separate-linuxthreads): New variables.
623 (dist): Depend on add-on tar files based on $(dist-separate).
624 (dist-version): New variable, default to $(version).
625 (tag-for-dist, dist): Use that in place of $(version) in deps.
627 2004-07-07 Ulrich Drepper <drepper@redhat.com>
629 * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock
630 before the loop running the destructors.
632 2004-05-18 Andreas Schwab <schwab@suse.de>
634 * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
635 the first segment for mprotect, not l_text_end.
637 2004-07-05 Ulrich Drepper <drepper@redhat.com>
639 * elf/dl-profile.c (_dl_start_profile): Compact error handling.
640 Remove hashfraction variable. Make kcount and kcountsize local
643 * elf/dl-init.c: Don't define and use _dl_starting_up if
644 HAVE_INLINED_SYSCALLS is defined and the variable is not used.
645 * elf/dl-support.c: Likewise.
646 * elf/rtld.c: Likewise.
647 * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
648 if HAVE_INLINED_SYSCALLS is defined.
649 * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
651 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
652 * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
653 * config.h.in: Add entry for HAVE_INLINED_SYSCALLS.
655 * sysdeps/posix/profil.c: If compiled for ld.so, omit code which
656 is needed to stop profiling.
657 * elf/dl-open.c (dl_open_worker): If a newly opened object is to be
658 profile make sure it cannot be unloaded.
660 * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.
662 * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
663 support, make sure the helper function is inlined.
664 * sysdeps/unix/sysv/linux/pread.c: Likewise.
665 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
666 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
669 2004-07-05 Jakub Jelinek <jakub@redhat.com>
671 * include/string.h (ffs): Add libc_hidden_builtin_proto.
672 * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
673 * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
674 * sysdeps/alpha/ffs.S (ffs): Likewise.
675 * sysdeps/s390/ffs.c (ffs): Likewise.
676 * sysdeps/powerpc/ffs.c (ffs): Likewise.
677 * sysdeps/i386/ffs.c (ffs): Likewise.
678 * sysdeps/i386/i686/ffs.c (ffs): Likewise.
679 * sysdeps/m68k/ffs.c (ffs): Likewise.
680 * sysdeps/generic/ffs.c (ffs): Likewise.
681 * sysdeps/m88k/ffs.c (ffs): Likewise.
682 * sysdeps/am29k/ffs.c (ffs): Likewise.
683 * sysdeps/i960/ffs.c (ffs): Likewise.
684 * sysdeps/x86_64/ffs.c (ffs): Likewise.
686 * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
688 * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
689 __libc_siglongjmp): Remove symbol_version.
690 * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
691 Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
692 * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
694 * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
695 * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
696 strong_alias instead of default_symbol_version, remove
698 * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
699 * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
700 into strong_alias to __novmxsetjmp.
701 (__vmx__setjmp): Similarly with __vmxsetjmp.
702 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
703 default_symbol_version and symbol_version.
704 * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
705 into strong_alias to __novmxsetjmp.
706 (__vmx__setjmp): Similarly with __vmxsetjmp.
707 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
708 default_symbol_version and symbol_version.
710 * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
712 2004-07-05 Ulrich Drepper <drepper@redhat.com>
714 * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
716 2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk>
718 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
719 instead of libc_hidden_def.
721 2004-07-01 Roland McGrath <roland@redhat.com>
723 * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
725 * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
726 $(..)shlib-versions file to last in deps list. This lets add-ons give
727 more-specific matches that override defaults in the top-level file.
729 * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
730 already set, don't set it or libc_cv_gcc_unwind_find_fde.
731 * sysdeps/unix/sysv/linux/configure: Regenerated.
733 2004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
735 * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
736 (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
737 (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
738 * sysdeps/s390/fpu/e_sqrt.c: New file.
739 * sysdeps/s390/fpu/e_sqrtf.c: New file.
740 * sysdeps/s390/Implies: New file.
741 * sysdeps/s390/s390-32/Implies: Remove ieee754, move
742 ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
743 * sysdeps/s390/s390-64/Implies: Likewise.
745 2004-06-30 Jakub Jelinek <jakub@redhat.com>
747 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
748 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
750 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
751 DO_CALL (exit, 1) instead of branching to _exit.
752 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
755 * sysdeps/s390/fpu/bits/mathinline.h: New file.
757 * include/glob.h (glob64): Add libc_hidden_proto.
758 * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
759 * sysdeps/gnu/glob64.c (glob64): Likewise.
760 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
762 2004-06-11 Jakub Jelinek <jakub@redhat.com>
764 * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
765 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
767 2004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com>
769 * sysdeps/powerpc/fpu/s_lround.c: Removed.
770 * sysdeps/powerpc/fpu/s_lroundf.c: Removed.
771 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
772 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
773 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
774 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
775 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
776 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
777 * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
778 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
779 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
780 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
781 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
782 * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
783 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
784 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
786 2004-06-30 Ulrich Drepper <drepper@redhat.com>
788 * include/net/if.h: Handle if_nameindex and if_freenameindex with
790 * sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
791 * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
792 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
793 netlink if possible. Fall back on ioctl method if necessary.
794 * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
796 * include/unistd.h: Declare __truncate.
797 * sysdeps/generic/truncate.c: Also define __truncate.
798 * sysdeps/mach/hurd/truncate.c: Likewise.
799 * sysdeps/unix/common/syscalls.list: Likewise.
800 * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
802 2004-06-29 Ulrich Drepper <drepper@redhat.com>
804 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
805 info.extra. Patch by Marcus Meissner.
807 2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
809 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
810 Fix branch offset for a PLT entry.
812 2004-06-20 Jim Meyering <jim@meyering.net>
814 * malloc/obstack.h (obstack_base): Cast to `void *', to align with
817 2004-06-28 Ulrich Drepper <drepper@redhat.com>
819 * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
820 Workaround for [BZ #232].
822 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.
824 2004-06-28 GOTO Masanori <gotom@debian.or.jp>
826 * iconv/gconv_simple.c: Use get16/put16 for user given buffer
827 in ucs2/ucs2reverse when unaligned memory access is attempted.
828 * iconv/tst-iconv5.c: New file.
829 * iconv/Makefile (tests): Add tst-iconv5.
831 2004-06-28 Jakub Jelinek <jakub@redhat.com>
833 * inet/bug-if1.c: Include <string.h>.
835 2004-06-19 Roland McGrath <roland@redhat.com>
837 * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
838 under this macro name instead.
839 [NO_DO_WAITID]: Don't define it at all.
840 (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
841 defined, then return ENOTSUP for combinations of selection bits other
842 than WEXITED and WEXITED|WSTOPPED, which this version cannot support.
844 * posix/tst-waitid.c: New file.
845 * posix/Makefile (tests): Add it.
847 2004-06-28 Jakub Jelinek <jakub@redhat.com>
849 * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.
852 * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
853 relocation in librt.so.
856 * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
857 _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
859 2004-06-27 Ulrich Drepper <drepper@redhat.com>
861 * elf/ldconfig.c (add_dir): Take chroot into account.
862 Based on changes by HJ Lu and Hideki Iwamoto.
864 * nscd/connections.c (invalidate_cache): If the host cache has to
865 be invalidated, re-read resolv.conf.
867 * resolv/resolv.h (RES_NOIP6DOTINT): Define.
868 * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
869 * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
870 if RES_NOIP6DOTINT flag is set.
871 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
873 2004-06-25 Jakub Jelinek <jakub@redhat.com>
875 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
877 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.
881 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
882 F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
884 2004-06-21 Jakub Jelinek <jakub@redhat.com>
887 * sysdeps/unix/alpha/Makefile: New file.
888 * sysdeps/unix/alpha/rt-sysdep.S: New file.
889 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
891 2004-06-18 Ulrich Drepper <drepper@redhat.com>
893 * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
894 determine the canonical name only for the first returned entry.
896 * inet/bug-if1.c: New file.
897 * inet/Makefile (tests): Add bug-if1.
899 2004-06-18 Roland McGrath <roland@frob.com>
901 * Makerules (compile-mkdep-flags): Add -MT $@.
903 * Makefile (dist, tag-for-dist): New targets.
904 (files-for-dist, tag-of-stem): New variables.
905 (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
906 Make tar files using cvs export.
907 (%.bz2, %.gz, tag-%): New pattern rules.
908 (distribute): Variable removed.
909 (+subdir_targets): Remove distinfo targets.
910 (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
911 (rpm/%): Pattern rule removed.
912 * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
913 * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
915 * Makerules (dist, subdir_distinfo): Targets removed.
916 ($(objpfx)distinfo): Depend on $(distribute).
917 * Make-dist: File removed.
919 * NEWS: Fix a typo. Update bug-reporting instructions.
921 2004-06-17 Thorsten Kukuk <kukuk@suse.de>
923 * sysdeps/unix/sysv/linux/sched_setaffinity.c
924 (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
925 cpuset is wrongly set.
927 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
929 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
932 2004-06-14 Jakub Jelinek <jakub@redhat.com>
935 * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
936 in a local variable, point rp to that local variable afterwards.
938 2004-06-11 Jakub Jelinek <jakub@redhat.com>
940 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
943 2004-06-17 Ulrich Drepper <drepper@redhat.com>
945 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
946 error value for unknown interface. [BZ #198]
948 2004-06-13 Jakub Jelinek <jakub@redhat.com>
950 * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
951 (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
952 __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
953 the asm uses as its input, either of size __n where __n is known or
955 (strstr): Add "memory" clobber.
957 2004-06-14 Jakub Jelinek <jakub@redhat.com>
960 * nss/nsswitch.c (free_mem): Don't try to close a library handle
961 if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>.
963 2004-06-11 Dmitry V. Levin <ldv@altlinux.org>
966 * debug/xtrace.sh: Fix typo in error diagnostics.
968 2004-06-14 Andreas Schwab <schwab@suse.de>
970 * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
973 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
976 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
980 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
982 Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19.
983 Fix pasto that overflowed sigcontext.v_reserve.
984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
985 Fix pasto that clobbers r19.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
987 of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that
988 overflowed sigcontext.v_reserve.
990 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
993 * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
994 instead of ".gnu.linkonce.ro." as the prefix for linkonce
995 read-only section name.
997 2004-06-14 Richard Henderson <rth@redhat.com>
999 * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
1000 (_ITOFT, _FTOIT, _ITOFT2): Likewise.
1002 2004-06-08 Jakub Jelinek <jakub@redhat.com>
1004 * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
1005 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1006 (__backtrace): Don't call init #ifndef SHARED.
1007 * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
1008 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1009 (__backtrace): Don't call init #ifndef SHARED.
1010 * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
1011 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
1012 (__backtrace): Don't call init #ifndef SHARED.
1014 2004-06-11 Roland McGrath <roland@redhat.com>
1016 * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
1017 From Krzysztof Halasa <khc@pm.waw.pl>.
1019 2004-06-10 Jakub Jelinek <jakub@redhat.com>
1021 * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
1023 2004-06-08 Jakub Jelinek <jakub@redhat.com>
1026 * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
1027 succeeds. Reported by Miles Ohlrich <miles@cray.com>.
1029 * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
1030 fails. Avoid memory leak if realloc fails.
1032 2004-06-09 Jakub Jelinek <jakub@redhat.com>
1034 * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
1035 NULL, "" or contains '=' character in it. Reported by
1036 Michael T Kerrisk <mtk-lists@gmx.net>.
1037 * stdlib/tst-environ.c: Include errno.h.
1038 (main): Add tests for these arguments to setenv/unsetenv.
1040 2004-06-07 Roland McGrath <roland@frob.com>
1042 * NEWS: Update bug reporting instructions. Fix some typos.
1044 2004-06-05 Ulrich Drepper <drepper@redhat.com>
1046 * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
1047 * stdio-common/_itoa.c: Add _itoa implementation.
1049 * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
1050 to also send request. Add parameter to allow this.
1052 * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
1053 * nscd/nscd_getpw_r.c: Likewise.
1054 * nscd/nscd-client.h: Change __nscd_open_socket prototype.
1056 2004-06-05 Andreas Jaeger <aj@suse.de>
1058 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1059 Handle more than 6 args correctly. Based on a patch by Masahide
1060 Washizawa <washi@jp.ibm.com>.
1062 2004-06-04 Ulrich Drepper <drepper@redhat.com>
1064 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
1065 in all places, not __nss_not_use_nscd_group.
1066 Reported by Philippe Gregoire.
1068 2004-06-03 Ulrich Drepper <drepper@redhat.com>
1070 * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
1072 2004-05-07 Dmitry V. Levin <ldv@altlinux.org>
1074 * argp/argp-help.c (__argp_error, __argp_failure): Check result
1075 of __asprintf call and don't use string if it failed.
1076 * stdio-common/psignal.c (psignal): Likewise.
1077 * locale/programs/localedef.c (more_help): Likewise.
1078 * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
1079 arg_bool, parse_line): Check result of __asprintf calls and
1080 don't use string if they failed.
1081 * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
1082 * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
1083 call and exit if it failed.
1085 2004-05-10 Jakub Jelinek <jakub@redhat.com>
1087 * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
1088 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
1089 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
1090 _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
1091 _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
1092 _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
1093 _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
1094 _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
1095 _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
1096 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1097 <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
1099 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
1101 * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
1102 -momit-leaf-frame-pointer.
1104 * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
1107 * sysdeps/mach/hurd/getcwd.c
1108 (_hurd_canonicalize_directory_name_intern): Only realloc when
1111 * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
1114 * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
1117 * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
1118 __libc_write and __libc_lseek64.
1120 2004-05-29 Roland McGrath <roland@redhat.com>
1122 * elf/Makefile (shared-only-routines): Add dl-caller.
1124 2004-05-28 Ulrich Drepper <drepper@redhat.com>
1126 * sysdeps/powerpc/configure.in: New file.
1128 2004-05-28 Steven Munroe <sjmunroe@us.ibm.com>
1130 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
1131 "altivec" to enable VMX instructions.
1132 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1133 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1134 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1142 2004-05-27 Jakub Jelinek <jakub@redhat.com>
1144 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
1145 __builtin_expm1l for GCC 3.5+.
1146 (__expl): Define using __builtin_expl for GCC 3.4+.
1147 (exp, expf, expl): Don't define for GCC 3.4+.
1148 (tan, tanf, tanl): Don't define for GCC 3.5+.
1149 (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
1150 (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
1151 (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
1152 (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
1153 (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
1155 (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
1156 Don't define for GCC 3.5+.
1157 (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
1158 (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
1159 define for GCC 3.5+.
1160 (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
1161 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
1162 define for GCC 3.2+.
1164 2004-05-27 Jakub Jelinek <jakub@redhat.com>
1166 * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
1167 * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
1168 * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
1169 * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
1170 * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
1171 * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
1172 * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
1173 * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
1174 * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
1175 * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
1176 * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
1177 * sysdeps/i386/i586/memcpy.S (memcpy): Remove
1178 libc_hidden_builtin_def if MEMPCPY_P.
1179 * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
1180 * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
1181 * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
1182 * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
1183 * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
1185 2004-05-26 Roland McGrath <roland@frob.com>
1187 * sysdeps/generic/bits/in.h
1188 (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
1189 These are long obsolete in BSD systems where they originated.
1190 * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
1192 2004-05-26 Jakub Jelinek <jakub@redhat.com>
1194 * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
1195 * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
1196 (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
1197 (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
1198 constant '\0' and first argument is not constant.
1199 (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
1200 (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
1201 For GCC 3.2+ use __builtin_strncpy.
1202 (strncat): For GCC 3.2+ use __builtin_strncat.
1203 (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
1205 (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
1206 if both arguments are constant.
1208 2004-05-26 Ulrich Drepper <drepper@redhat.com>
1210 * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
1211 mapped addresses in gethostbyaddr.
1213 2004-05-25 Ulrich Drepper <drepper@redhat.com>
1215 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
1216 flags parameter, convert afp to simple int parameter. Adjust code.
1217 typep was never != NULL and flags therefore also unused. *afp is
1219 * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
1220 * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter
1221 handling for __nss_hostname_digits_dots calls.
1222 * nss/getXXbyYY_r.c: Likewise.
1224 * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
1226 2004-05-25 Steven Munroe <sjmunroe@us.ibm.com>
1228 * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
1229 * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
1230 (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
1231 (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
1232 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
1233 implementation from w_sqrt.c.
1234 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
1235 implementation from w_sqrtf.c.
1236 * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
1237 using inline __ieee754_sqrt().
1238 * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
1239 using inline __ieee754_sqrtf().
1240 * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
1241 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1242 * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
1243 PPC_FEATURE_* independent of __ASSEMBLER__.
1245 2004-05-25 Jakub Jelinek <jakub@redhat.com>
1247 * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
1249 (aio_start_notify_thread): Define if not defined.
1250 (notify_func_wrapper): Use it.
1251 * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
1253 (aio_create_helper_thread): Define if not defined.
1254 (__aio_create_helper_thread): New function.
1255 (__aio_enqueue_request): Use aio_create_helper_thread.
1257 * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
1258 (struct ypresp_all_data): New type.
1259 (__xdr_ypresp_all): Change second argument to
1260 struct ypresp_all_data *. Replace ypall_foreach and
1261 ypall_data with objp->foreach and objp->data.
1262 (yp_all): Remove status variable, add data. Replace
1263 all uses of status with data.status. Initialize data.foreach
1264 and data.data instead of ypall_foreach and ypall_data.
1266 2004-05-24 Jakub Jelinek <jakub@redhat.com>
1268 * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
1269 in l_flags_1, not in l_flags.
1271 2004-04-10 Robert Millan <robertmh@gnu.org>
1273 * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
1274 with sysdeps/generic/bits/in.h.
1276 2004-05-25 Roland McGrath <roland@frob.com>
1278 * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
1279 GCC GPL to standard glibc LGPL.
1281 2004-05-24 Ulrich Drepper <drepper@redhat.com>
1283 * manual/string.texi (Copying and Concatenation): Fixed second
1285 Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
1287 2004-05-23 Ulrich Drepper <drepper@redhat.com>
1289 * malloc/obstack.c: Don't allow linking with _obstack.
1291 2004-05-23 Andreas Schwab <schwab@suse.de>
1293 * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
1294 of separate "m" constraints.
1296 2004-05-15 Chris Demetriou <cgd@broadcom.com>
1298 * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
1299 (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
1300 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
1302 2004-05-20 Paul Eggert <eggert@cs.ucla.edu>
1304 * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
1305 Add comment explaining why libc still defines it.
1307 2004-05-19 Paul Eggert <eggert@cs.ucla.edu>
1309 * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
1310 obstack_alignment_mask, obstack_alloc, obstack_base,
1311 obstack_blank, obstack_blank_fast, obstack_chunk_size,
1312 obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
1313 obstack_grow0, obstack_init, obstack_int_grow,
1314 obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
1315 obstack_next_free, obstack_object_size, obstack_ptr_grow,
1316 obstack_ptr_grow_fast, obstack_room): Remove declarations of
1317 nonexistent functions.
1319 2004-05-18 Steven Munroe <sjmunroe@us.ibm.com>
1321 * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
1322 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1323 [PIC]: Redundent for powerpc64, removed.
1324 (ENTRY): Generate size and alignment for opd entry.
1325 (EALIGN): Generate size and alignment for opd entry.
1326 (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1327 (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1329 2004-05-19 Ulrich Drepper <drepper@redhat.com>
1331 * misc/regexp.h: Say the functions have been withdrawn.
1333 * wcsmbs/tst-wcpncpy.c: Add more tests.
1335 2004-05-18 Roland McGrath <roland@frob.com>
1337 * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
1338 standard glibc LGPL.
1339 * sysdeps/generic/unwind-dw2.c: Likewise.
1340 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1341 * sysdeps/generic/unwind-dw2-fde.h: Likewise.
1342 * sysdeps/generic/unwind-pe.h: Likewise.
1344 2004-05-15 Petter Reinholdtsen <pere@hungry.com>
1346 * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
1347 MONTENEGRO" which have taken over the code 819. Patch from
1348 Danilo Segan. [BZ #40]
1350 2004-05-15 Jakub Jelinek <jakub@redhat.com>
1352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1353 (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
1356 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
1358 * catgets/gencat.c: Update bug reporting instructions.
1359 * csu/version.c: Likewise.
1360 * debug/catchsegv.sh: Likewise.
1361 * debug/pcprofiledump.c: Likewise.
1362 * debug/xtrace.sh: Likewise.
1363 * elf/ldd.bash.in: Likewise.
1364 * iconv/iconv_prog.c: Likewise.
1365 * iconv/iconvconfig.c: Likewise.
1366 * locale/programs/locale.c: Likewise.
1367 * locale/programs/localedef.c: Likewise.
1368 * login/programs/pt_chown.c: Likewise.
1369 * malloc/memusage.sh: Likewise.
1370 * malloc/memusagestat.c: Likewise.
1371 * malloc/mtrace.pl: Likewise.
1372 * manual/crypt.texi: Likewise.
1373 * manual/install.texi: Likewise.
1374 * nss/makedb.c: Likewise.
1376 2004-05-14 Jakub Jelinek <jakub@redhat.com>
1378 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
1379 CHECK_STATIC_TLS if sym != NULL.
1380 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1381 * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
1383 2004-05-12 Andreas Schwab <schwab@suse.de>
1385 * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
1388 2004-05-13 H.J. Lu <hongjiu.lu@intel.com>
1390 * Rules (xtests): Depend on tests.
1392 2004-05-13 Jakub Jelinek <jakub@redhat.com>
1394 * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
1395 count is negative, yet write_ptr < write_end.
1396 (_IO_default_xsgetn): Avoid one underflow per char if count is
1397 negative, yet read_ptr < read_end.
1399 2004-05-12 Steven Munroe <sjmunroe@us.ibm.com>
1401 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
1404 2004-05-12 Ulrich Drepper <drepper@redhat.com>
1406 * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
1409 2004-05-10 Roland McGrath <roland@frob.com>
1411 * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
1412 (__hurd_directory_name_split): Likewise.
1414 2004-05-10 Ulrich Drepper <drepper@redhat.com>
1416 * po/fr.po: Update from translation team.
1418 2004-05-10 Andreas Jaeger <aj@suse.de>
1420 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1421 Correctly compute alignment.
1422 Patch by Michael Matz <matz@suse.de>.
1424 2004-05-09 Ulrich Drepper <drepper@redhat.com>
1426 * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
1427 * sysdeps/posix/sigpause.c: Likewise.
1428 * signal/signal.h: Don't define sigpause macro unless needed.
1430 2004-05-08 Jakub Jelinek <jakub@redhat.com>
1432 * configure.in (libc_cv_libgcc_s_suffix): New check.
1433 (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
1434 * config.make.in (libgcc_s_suffix): Set.
1435 * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
1437 2004-05-08 Ulrich Drepper <drepper@redhat.com>
1439 * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
1441 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
1444 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1445 Load argument values into temporary variables.
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
1447 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1450 2004-05-07 Ulrich Drepper <drepper@redhat.com>
1452 * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
1453 need to be compiled with exceptions.
1455 2004-05-06 Ulrich Drepper <drepper@redhat.com>
1457 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
1458 * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
1460 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
1461 realloc cannot fail.
1463 * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
1466 * nis/nis_table.c: Clean up memory handling.
1467 * nis/nis_subr.c (nis_getnames): Clean up memory handling.
1468 * nis/nis_removemember.c (nis_removemember): Add comment
1469 explaining use of realloc.
1471 * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
1473 Patch by Lev S Bishop <lev.bishop@yale.edu>.
1475 * math/bug-tgmath1.c (main): Test fabs and carg as well.
1477 2004-05-06 Richard Henderson <rth@redhat.com>
1479 * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
1480 AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
1481 * sysdeps/unix/sysv/linux/alpha/Versions: Export
1482 __libc_alpha_cache_shape as a private symbol.
1483 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
1484 * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
1486 2004-05-06 Richard Henderson <rth@redhat.com>
1488 * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
1489 * sysdeps/alpha/divl.S: Use them.
1490 * sysdeps/alpha/divq.S: Likewise.
1491 * sysdeps/alpha/divqu.S: Likewise.
1492 * sysdeps/alpha/reml.S: Likewise.
1493 * sysdeps/alpha/remq.S: Likewise.
1494 * sysdeps/alpha/remqu.S: Likewise.
1496 2004-05-06 Ulrich Drepper <drepper@redhat.com>
1498 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
1501 * math/Makefile (tests): Add bug-tgmath1.
1502 * math/bug-tgmath1.c: New file.
1504 2004-05-05 Jakub Jelinek <jakub@redhat.com>
1506 * sysdeps/alpha/atomicity.h: Remove.
1507 * sysdeps/generic/atomicity.h: Remove.
1509 2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
1511 * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
1514 2004-04-22 David Mosberger <davidm@hpl.hp.com>
1516 * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
1518 * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
1520 * sysdeps/ia64/strcat.c: New file.
1521 * sysdeps/ia64/strcat.S: Delete.
1523 2004-05-04 Jakub Jelinek <jakub@redhat.com>
1525 * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
1528 2004-04-23 Jakub Jelinek <jakub@redhat.com>
1530 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
1531 libc_hidden_proto. Define to __GI___libm_error_support for
1532 assembly going into libc.so.
1533 * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
1536 * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
1537 * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
1539 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
1540 gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
1543 2004-05-03 Jakub Jelinek <jakub@redhat.com>
1545 * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
1546 __USE_BSD or __USE_UNIX98.
1547 * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1548 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1549 * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
1551 * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1552 * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1553 * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1554 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
1556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
1558 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
1560 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1564 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
1566 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
1568 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
1570 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
1572 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1574 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
1576 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
1578 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1580 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1581 * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1582 * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
1584 2004-05-01 Jakub Jelinek <jakub@redhat.com>
1586 * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
1587 __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
1588 __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
1589 * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
1590 * sysdeps/unix/sysv/linux/Versions (libc): Remove
1591 __libc_sigaction@@GLIBC_PRIVATE.
1592 * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
1593 __modify_ldt@@GLIBC_PRIVATE.
1594 * socket/Versions (libc): Remove __libc_accept, __libc_send,
1595 __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
1596 __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
1597 * stdio-common/Versions (libc): Remove
1598 _itoa_upper_digits@@GLIBC_PRIVATE.
1599 * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
1600 * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
1601 __libc_readv and __libc_writev @@GLIBC_PRIVATE.
1602 * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
1603 * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
1604 __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
1605 __libc_lseek64 @@GLIBC_PRIVATE.
1607 2004-04-30 Jakub Jelinek <jakub@redhat.com>
1609 * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
1612 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
1614 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
1615 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
1616 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
1617 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
1618 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
1619 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
1620 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
1621 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
1622 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
1623 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
1624 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
1625 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
1626 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
1627 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
1628 * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
1629 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
1630 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
1631 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
1633 * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
1634 mantissa for AIX long double format.
1635 * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
1637 * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
1638 * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1639 (_fpioconst_pow10): AIX long double format has same exponent range as
1641 * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1642 (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
1645 2004-04-23 Art Haas <ahaas@airmail.net>
1647 * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
1649 2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
1651 * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
1652 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
1653 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
1654 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
1655 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
1657 2004-04-29 Philip Blundell <pb@nexus.co.uk>
1659 * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
1662 2004-04-29 Jakub Jelinek <jakub@redhat.com>
1664 * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
1665 prototypes and description [BZ #131].
1667 * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
1668 Patch by Ed Catmur <ed@catmur.co.uk>.
1669 * string/tst-inlcall.c (main): Add test for strpbrk.
1672 * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
1674 (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
1675 yet defined, #undef back after including linux/sysctl.h if defined
1677 (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
1678 back after including linux/sysctl.h if defined here.
1680 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
1681 for single precision register, add it to __asm clobbers [BZ #139].
1682 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
1683 for single precision register, add it to __asm clobbers.
1684 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
1685 instead of fqtoi in QP_HANDLE_EXCEPTIONS.
1686 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
1687 Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
1689 2004-04-23 Andreas Schwab <schwab@suse.de>
1691 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
1694 2004-04-22 Philip Blundell <philb@gnu.org>
1696 * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
1697 when calling _dl_signal_error.
1698 (elf_machine_rel): Likewise.
1700 2004-04-21 Ulrich Drepper <drepper@redhat.com>
1702 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
1703 and use it internally instead of __sigsetjmp.
1704 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
1705 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
1706 * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
1707 * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
1708 * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
1709 * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
1710 * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
1711 _GI___libm_frexp_4f, _GI___libm_frexp_4l.
1712 * sysdeps/ia64/fpu/bits/mathinline.h: New file.
1713 * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
1714 HIDDEN_JUMPTARGET for exit call.
1715 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
1717 * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
1718 * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
1721 2004-04-21 Jakub Jelinek <jakub@redhat.com>
1723 * posix/tst-chmod.c (do_test): Fix a typo.
1725 * elf/lateglobal.c (main): Fix error checks.
1726 Patch by Stephen Clarke <stephen.clarke@st.com>.
1728 * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
1729 mention they have been added in ISO C99.
1730 Reported by Ben Pfaff <blp@cs.stanford.edu>.
1732 2004-03-31 H.J. Lu <hongjiu.lu@intel.com>
1734 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
1736 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1738 * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
1741 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1743 * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
1745 * stdio-common/tst-sscanf.c (int_tests): Adjust.
1747 * nis/nss-nis.c: Include stdlib.h.
1749 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
1751 * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
1752 libc_hidden_builtin_def.
1754 2004-04-20 Jim Meyering <jim@meyering.net>
1756 * misc/error.c (error_tail): Don't leak upon realloc failure.
1758 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1760 * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
1761 Use RETURN_ADDRESS instead of __builtin_return_address.
1763 2004-04-19 Ulrich Drepper <drepper@redhat.com>
1765 * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
1768 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1770 * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
1771 do input_error () instead of conv_error () and don't look at errno.
1772 Don't eat any whitespace before %% if skip_space == 0.
1773 * stdio-common/tst-sscanf.c (int_tests): New array.
1774 (main): Run int_tests.
1777 See ChangeLog.14 for earlier changes.