1 2004-08-05 Ulrich Drepper <drepper@redhat.com>
3 * po/sv.po: Update from translation team.
5 2004-08-04 Jakub Jelinek <jakub@redhat.com>
6 Ulrich Drepper <drepper@redhat.com>
8 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input
9 character than necessary.
11 2004-08-05 Ulrich Drepper <drepper@redhat.com>
13 * wcsmbs/Makefile (tests): Add tst-mbsrtowcs.
14 * wcsmbs/tst-mbsrtowcs.c: New file.
16 * po/fr.po: Update from translation team.
18 2004-08-04 Jakub Jelinek <jakub@redhat.com>
20 * resolv/inet_pton.c (inet_pton4): Disallow octal numbers. Reported
21 by A. Guru <a.guru@sympatico.ca>. [BZ #295]
23 2004-08-05 Ulrich Drepper <drepper@redhat.com>
25 * po/nl.po: Update from translation team.
27 * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4
28 numeric address formats inet_addr knows.
29 (getaddrinfo): Allow AI_NUMERICSERV flag.
30 If neither IPv4 nor IPv6 interface is present we cannot make any
31 decision for AI_ADDRCONFIG. Fail if AI_NUMERICSERV is set and the
32 string is not just a number. Remove useless freeaddrinfo call.
33 * resolv/netdb.h (AI_NUMERICSERV): Define.
34 Based on a patch by a.guru@sympatico.ca.
36 2004-08-04 Jakub Jelinek <jakub@redhat.com>
38 * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure
39 instead of trying to initialize some, but not all, fields one by
41 * stdio-common/printf_size.c (printf_size): Initialize fb_info
42 structure with *info instead of trying to initialize some, but not
45 * nscd/connections.c (handle_request): Check if req->type is in
46 LASTDBREQ .. LASTREQ range instead of req.
48 * locale/programs/linereader.c (lr_create): Initialize
49 lr->return_widestr to 0.
51 * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section.
52 (free_mem): Call free_slotinfo just once.
54 * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead
57 * locale/localeinfo.h (_nl_locale_subfreeres): New prototype.
58 * locale/setlocale.c (free_category): Add __libc_freeres_fn_section.
59 (free_mem): Rename to _nl_locale_subfreeres.
60 * iconv/gconv_db.c: Include locale/localeinfo.h.
61 (free_derivation, free_modules_db): Add __libc_freeres_fn_section.
62 (free_mem): Call _nl_locale_subfreeres.
63 * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section.
65 2004-08-04 Roland McGrath <roland@frob.com>
67 * Makeconfig ($(common-objpfx)config.status):
68 Fix typo: $(add_ons) -> $(add-ons).
69 (Makeconfig-add-on): New variable. When doing $(sysdep-makeconfigs)
70 include, use black magic to get it set to an add-on's name during the
71 include of the add-on's Makeconfig.
73 * configure.in: Use variable name `libc_add_on' when sourcing add-on
74 configure fragments, so they can refer to this.
75 * configure: Regenerated.
77 2004-08-04 Roland McGrath <roland@redhat.com>
79 * posix/tst-waitid.c (test_child): Sleep a second before stopping.
80 (do_test): Bump sleep to three seconds.
81 (sigchld, check_sigchld): New functions.
82 (do_test): Handle SIGCHLD and check for getting the right details.
84 * posix/tst-waitid.c (do_test): Kill the child process when bailing
85 out early on some failure.
86 [WCONTINUED]: Test WCONTINUED functionality.
88 2004-08-03 Ulrich Drepper <drepper@redhat.com>
90 * nscd/connections.c (handle_request): Print more descriptive
91 message for invalid request types.
93 2004-08-02 Jakub Jelinek <jakub@redhat.com>
95 * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff.
96 Always treat high as highest number in range + 1.
97 * iconvdata/ibm943.c (BODY): Likewise.
99 2004-07-31 Bruno Haible <bruno@clisp.org>
101 * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004.
102 * iconvdata/jisx0213.c (__jisx0213_to_ucs_main,
103 __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1,
104 __jisx0213_from_ucs_level2): Regenerated.
105 * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function.
106 * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from
108 (JISX0213_1_2004_set): New enum value.
109 (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O.
110 (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O
111 when possible, ESC $ ( Q when needed.
112 * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters.
113 * iconvdata/testdata/EUC-JISX0213..UTF8: Update.
114 * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters.
115 * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update.
116 * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters.
117 * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update.
119 2004-07-22 Bruno Haible <bruno@clisp.org>
121 * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
123 2004-07-29 David S. Miller <davem@redhat.com>
125 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize
126 better for smaller than 256 byte copies. Also, use only one
127 unrolled loop instead of two for the large copy case.
129 2004-07-30 Richard Henderson <rth@redhat.com>
131 * sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
132 * sysdeps/alpha/remq.S: Likewise.
133 * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
134 new division algorithms in divl.S and divq.S respectively.
136 2004-07-28 GOTO Masanori <gotom@debian.or.jp>
138 * timezone/asia: Update from tzdata2004b.
139 * timezone/backward: Likewise.
140 * timezone/europe: Likewise.
141 * timezone/iso3166.tab: Likewise.
142 * timezone/leapseconds: Likewise.
143 * timezone/northamerica: Likewise.
144 * timezone/southamerica: Likewise.
145 * timezone/zone.tab: Likewise.
147 * timezone/private.h: Update from tzcode2004b.
148 * timezone/zic.c: Likewise.
150 2004-07-27 Ulrich Drepper <drepper@redhat.com>
152 * nscd/grpcache.c (cache_addgr): If necessary, add entry also
153 under the name the user provided.
154 * nscd/pwdcache.c (cache_addpw): Likewise.
156 2004-07-26 Roland McGrath <roland@redhat.com>
158 * sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
161 2004-07-26 Ulrich Drepper <drepper@redhat.com>
163 * nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to
166 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for
167 new buffer at the right time.
168 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
170 2004-07-25 Ulrich Drepper <drepper@redhat.com>
172 * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter,
173 getsourcefilter, setipv4sourcefilter, and setsourcefilter.
174 * inet/Makefile (routines): Likewise.
175 * inet/netinet/in.h: Add prototypes for getipv4sourcefilter,
176 getsourcefilter, setipv4sourcefilter, and setsourcefilter.
177 * sysdeps/generic/getipv4sourcefilter.c: New file.
178 * sysdeps/generic/setipv4sourcefilter.c: New file.
179 * sysdeps/generic/getsourcefilter.c: New file.
180 * sysdeps/generic/setsourcefilter.c: New file.
182 2004-07-17 Steven Munroe <sjmunroe@us.ibm.com>
184 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
187 2004-07-21 Jakub Jelinek <jakub@redhat.com>
190 * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >=
191 BITS_PER_MP_LIMB shifting up.
192 * stdlib/tst-strtod.c (main): Add new tests.
194 2004-07-23 Jakub Jelinek <jakub@redhat.com>
197 * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of
198 _IO_no_init. Remove wd from struct locked_FILE.
199 (_IO_wproc_jumps): Remove.
200 Reported by Andrew Josey <a.josey@opengroup.org>.
201 * stdio-common/Makefile (tests): Add tst-popen.
202 * stdio-common/tst-popen.c: New test.
204 2004-07-23 Ulrich Drepper <drepper@redhat.com>
206 * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and
207 _POSIX_OPEN_MAX. Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX,
208 _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX.
209 Reported by Andrew Josey.
211 * include/features.h: Document _POSIX_C_SOURCE == 200112L.
213 * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined.
214 * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined.
215 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t,
216 off_t, time_t, and uid_t if __USE_XOPEN2K is defined.
217 * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined.
218 * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and
219 useconds_t if __USE_XOPEN2K is defined.
220 * io/utime.h: Define time_t if __USE_XOPEN2K is defined.
221 * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.
223 2004-07-19 Thorsten Kukuk <kukuk@suse.de>
225 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't
226 allocate memory for large temporary variables with alloca.
228 2004-07-22 Ulrich Drepper <drepper@redhat.com>
230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility
231 code must have version GLIBC_2.0. Patch by Dwayne McConnell.
233 * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL
234 pointer and zero length.
236 2004-07-21 Ulrich Drepper <drepper@redhat.com>
238 * nscd/cache.c (prune_cache): Print correct list when debugging.
240 2004-07-21 Jakub Jelinek <jakub@redhat.com>
242 * resolv/res_libc.c (res_init): If RES_INIT is set and
243 _res.nscount > 0, call __res_nclose and free nsaddrs.
244 * resolv/Makefile: Add rules to build and run tst-leaks2.
245 * resolv/tst-leaks2.c: New test.
247 2004-07-21 Ulrich Drepper <drepper@redhat.com>
249 * intl/libintl.h: Don't define macros for C++.
250 Patch by Goto Masanori.
252 2004-07-22 GOTO Masanori <gotom@debian.or.jp>
255 * include/arpa/inet.h: Change inet_aton type from in_addr_t to int.
256 * inet/arpa/inet.h: Likewise.
257 * resolv/inet_addr.c: Likewise.
259 2004-07-21 Alexandre Oliva <aoliva@redhat.com>
261 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.
263 2004-07-20 Roland McGrath <roland@redhat.com>
265 * configure.in (add_ons): Substitute this. Move $add_ons handling
266 after AC_CANONICAL_HOST and default setting of $machine et al.
267 Don't set $subdirs from $add_ons.
268 Instead, source add-on/configure fragments early on.
269 (base_machine): If it's already set, don't set it based on $machine.
270 (libc_config_ok): New variable, set to no. If an add-on fragment sets
271 it to yes, skip the tuple sanity check as if --enable-hacker-mode.
272 (sysnames): Try appending add-on names after machine as well.
273 * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@.
274 * Makeconfig ($(common-objpfx)config.status): Also depend on configure
275 files in $(add_ons) dirs.
277 * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove
278 definition, now in netinet/in.h proper.
280 2004-07-20 Alexandre Oliva <aoliva@redhat.com>
282 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
283 Sort by syscalls. Make sure we get headers such as sgidefs.h from
284 the build tree before just-installed ones.
286 * sysdeps/mips/atomicity.h: Use standard names for ABI macros,
287 include sgidefs.h where appropriate.
288 * sysdeps/mips/dl-machine.h: Likewise.
289 * sysdeps/mips/machine-gmon.h: Likewise.
290 * sysdeps/mips/bits/setjmp.h: Likewise.
291 * sysdeps/mips/fpu/bits/mathdef.h: Likewise.
292 * sysdeps/mips/mips64/__longjmp.c: Likewise.
293 * sysdeps/mips/mips64/setjmp_aux.c: Likewise.
294 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
295 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
296 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
297 * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
298 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
299 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
300 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
301 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
302 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
303 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
304 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
305 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
306 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
307 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
308 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
309 * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
310 * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
312 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
315 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use
317 (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
319 2004-07-20 Ulrich Drepper <drepper@redhat.com>
321 * inet/netinet/in.h: Define struct ip_mreq and struct
323 Define struct group_req and struct group_source_req.
324 * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE,
325 IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
326 IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP,
327 MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP,
328 MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and
330 Define MCAST_INCLUDE and MCAST_EXCLUDE.
332 * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
334 2004-07-19 Jakub Jelinek <jakub@redhat.com>
337 * math/libm-test.inc (max_value, min_value): New variables.
338 (initialize): Initialize them.
339 (pow_test): Add a couple of new tests.
340 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid
341 exception if |y| >= 1U<<31.
342 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid
343 exception if |y| >= 1L<<63.
344 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
345 If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN.
346 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
348 2004-07-18 Ulrich Drepper <drepper@redhat.com>
350 * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful
352 * nscd/grpcache.c (cache_addgr): Likewise.
353 * nscd/hstcache.c (cache_addhst): Likewise.
355 2004-07-10 GOTO Masanori <gotom@debian.or.jp>
357 * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw.
358 * sysdeps/s390/s390-64/elf/start.S: Likewise.
360 2004-04-16 Andreas Schwab <schwab@suse.de>
362 * sysdeps/ia64/bits/atomic.h: Cast first argument of
363 __sync_bool_compare_and_swap_si correct to void*.
365 2004-07-17 Ulrich Drepper <drepper@redhat.com>
367 * iconv/iconv_prog.c (print_known_names): Make machine-readable
368 output even less cluttered.
370 2004-07-16 Steven Munroe <sjmunroe@us.ibm.com>
373 * setjmp/Makefile (tests): Add bug269-setjmp.
374 * setjmp/bug269-setjmp.c: New file.
375 * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]:
376 Store R2 from jmpbuf in callers TOC save area.
377 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]:
378 Store R2 in TOC save area.
379 * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]:
380 Copy TOC save area from previous frame as R2 (TOC) in jmpbuf.
382 2004-07-16 Jakub Jelinek <jakub@redhat.com>
384 * locale/newlocale.c: Include bits/libc-lock.h.
385 (__libc_setlocale_lock): Extern decl.
386 (__newlocale): Use it.
387 Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
389 2004-07-15 Jakub Jelinek <jakub@redhat.com>
391 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove
392 static inline __attribute ((always_inline)). Don't define if
394 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel):
397 Remove static inline __attribute ((always_inline)). Don't define
399 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
401 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to
402 __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0.
403 Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0.
404 (__libc_fcntl): Don't define if __fcntl_nocancel is a macro.
407 * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF
409 * elf/Makefile: Add rules to build and run tst-pie1.
410 * elf/tst-pie1.c: New test.
411 * elf/tst-piemod1.c: New file.
413 2004-07-14 Jakub Jelinek <jakub@redhat.com>
416 * manual/string.texi (l64a): Note that the static buffer is 7 bytes
417 long. Rewrite example code so that it takes into account l64a output
418 shorter than 6 characters.
419 Reported by Julian Graham <julian.graham@aya.yale.edu>.
421 2004-07-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
423 * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here.
424 (elf_machine_rela_relative): Remove unused valiable.
426 2004-07-12 Paul Eggert <eggert@cs.ucla.edu>
429 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store
430 outside the buffer if the read returns 0. __strtod_l can't set
431 endp to NULL, so remove a test for that case.
433 2004-07-12 Roland McGrath <roland@redhat.com>
435 * manual/signal.texi (Interrupted Primitives): Make clear that
436 TEMP_FAILURE_RETRY evaluates its expression as long int and compares
437 it to -1 to define "failure".
439 2004-07-10 Ulrich Drepper <drepper@redhat.com>
441 * elf/ldconfig.c: Define PROCINFO_CLASS as static before including
443 * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not
445 * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not
448 * elf/rtld.c (print_statistics): Mark with noinline attribute.
449 * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline
451 (elf_machine_rel_relative): Likewise.
453 * include/string.h: Add libc_hidden_proto for __strtok_r and
455 * sysdeps/generic/strsep.c: Add libc_hidden_def.
456 * sysdeps/generic/strtok_r.c: Likewise.
457 * sysdeps/i386/strtok_r.S: Add alias for internal symbol.
458 * sysdeps/i386/i686/strtok_r.S: Likewise.
459 * sysdeps/x86_64/strtok_r.S: Likewise.
461 2004-07-09 Alexandre Oliva <aoliva@redhat.com>
463 * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden
464 instead of internal-linkage, such that we can alias to it.
465 (internal_endnetgrent, internal_getnetgrent_r): Likewise.
467 2004-07-09 Ulrich Drepper <drepper@redhat.com>
469 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
470 to the front for gcc 3.5+.
471 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
473 * include/fcntl.h: Don't declare __fcntl_nocancel here if
474 NO_CANCELLATION is defined.
476 2004-07-07 Jakub Jelinek <jakub@redhat.com>
478 * elf/dl-fini.c (_dl_fini): Add nloaded variable, load
479 GL(dl_nloaded) into it while still in critical section.
481 2004-07-06 Thorsten Kukuk <kukuk@suse.de>
483 * nss/getent.c (print_group, print_passwd): Use %lu format for
484 `unsigned long int' values.
486 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
487 error typos in goto statements.
489 2004-07-07 Roland McGrath <roland@frob.com>
491 * Makefile (dist-separate): New variable.
492 (glibc-%.tar rule): Make separate tar files for add-ons listed there.
493 Depend on their configure files.
494 (dist-do-separate-dirs): New canned sequence to do that.
495 (dist-separate-libidn, dist-separate-linuxthreads): New variables.
496 (dist): Depend on add-on tar files based on $(dist-separate).
497 (dist-version): New variable, default to $(version).
498 (tag-for-dist, dist): Use that in place of $(version) in deps.
500 2004-07-07 Ulrich Drepper <drepper@redhat.com>
502 * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock
503 before the loop running the destructors.
505 2004-05-18 Andreas Schwab <schwab@suse.de>
507 * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
508 the first segment for mprotect, not l_text_end.
510 2004-07-05 Ulrich Drepper <drepper@redhat.com>
512 * elf/dl-profile.c (_dl_start_profile): Compact error handling.
513 Remove hashfraction variable. Make kcount and kcountsize local
516 * elf/dl-init.c: Don't define and use _dl_starting_up if
517 HAVE_INLINED_SYSCALLS is defined and the variable is not used.
518 * elf/dl-support.c: Likewise.
519 * elf/rtld.c: Likewise.
520 * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
521 if HAVE_INLINED_SYSCALLS is defined.
522 * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
524 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
525 * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
526 * config.h.in: Add entry for HAVE_INLINED_SYSCALLS.
528 * sysdeps/posix/profil.c: If compiled for ld.so, omit code which
529 is needed to stop profiling.
530 * elf/dl-open.c (dl_open_worker): If a newly opened object is to be
531 profile make sure it cannot be unloaded.
533 * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.
535 * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
536 support, make sure the helper function is inlined.
537 * sysdeps/unix/sysv/linux/pread.c: Likewise.
538 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
539 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
542 2004-07-05 Jakub Jelinek <jakub@redhat.com>
544 * include/string.h (ffs): Add libc_hidden_builtin_proto.
545 * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
546 * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
547 * sysdeps/alpha/ffs.S (ffs): Likewise.
548 * sysdeps/s390/ffs.c (ffs): Likewise.
549 * sysdeps/powerpc/ffs.c (ffs): Likewise.
550 * sysdeps/i386/ffs.c (ffs): Likewise.
551 * sysdeps/i386/i686/ffs.c (ffs): Likewise.
552 * sysdeps/m68k/ffs.c (ffs): Likewise.
553 * sysdeps/generic/ffs.c (ffs): Likewise.
554 * sysdeps/m88k/ffs.c (ffs): Likewise.
555 * sysdeps/am29k/ffs.c (ffs): Likewise.
556 * sysdeps/i960/ffs.c (ffs): Likewise.
557 * sysdeps/x86_64/ffs.c (ffs): Likewise.
559 * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
561 * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
562 __libc_siglongjmp): Remove symbol_version.
563 * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
564 Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
565 * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
567 * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
568 * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
569 strong_alias instead of default_symbol_version, remove
571 * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
572 * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
573 into strong_alias to __novmxsetjmp.
574 (__vmx__setjmp): Similarly with __vmxsetjmp.
575 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
576 default_symbol_version and symbol_version.
577 * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
578 into strong_alias to __novmxsetjmp.
579 (__vmx__setjmp): Similarly with __vmxsetjmp.
580 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
581 default_symbol_version and symbol_version.
583 * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
585 2004-07-05 Ulrich Drepper <drepper@redhat.com>
587 * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
589 2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk>
591 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
592 instead of libc_hidden_def.
594 2004-07-01 Roland McGrath <roland@redhat.com>
596 * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
598 * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
599 $(..)shlib-versions file to last in deps list. This lets add-ons give
600 more-specific matches that override defaults in the top-level file.
602 * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
603 already set, don't set it or libc_cv_gcc_unwind_find_fde.
604 * sysdeps/unix/sysv/linux/configure: Regenerated.
606 2004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
608 * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
609 (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
610 (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
611 * sysdeps/s390/fpu/e_sqrt.c: New file.
612 * sysdeps/s390/fpu/e_sqrtf.c: New file.
613 * sysdeps/s390/Implies: New file.
614 * sysdeps/s390/s390-32/Implies: Remove ieee754, move
615 ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
616 * sysdeps/s390/s390-64/Implies: Likewise.
618 2004-06-30 Jakub Jelinek <jakub@redhat.com>
620 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
621 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
623 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
624 DO_CALL (exit, 1) instead of branching to _exit.
625 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
628 * sysdeps/s390/fpu/bits/mathinline.h: New file.
630 * include/glob.h (glob64): Add libc_hidden_proto.
631 * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
632 * sysdeps/gnu/glob64.c (glob64): Likewise.
633 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
635 2004-06-11 Jakub Jelinek <jakub@redhat.com>
637 * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
638 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
640 2004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com>
642 * sysdeps/powerpc/fpu/s_lround.c: Removed.
643 * sysdeps/powerpc/fpu/s_lroundf.c: Removed.
644 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
645 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
646 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
647 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
648 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
649 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
650 * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
651 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
652 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
653 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
654 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
655 * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
656 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
657 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
659 2004-06-30 Ulrich Drepper <drepper@redhat.com>
661 * include/net/if.h: Handle if_nameindex and if_freenameindex with
663 * sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
664 * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
665 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
666 netlink if possible. Fall back on ioctl method if necessary.
667 * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
669 * include/unistd.h: Declare __truncate.
670 * sysdeps/generic/truncate.c: Also define __truncate.
671 * sysdeps/mach/hurd/truncate.c: Likewise.
672 * sysdeps/unix/common/syscalls.list: Likewise.
673 * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
675 2004-06-29 Ulrich Drepper <drepper@redhat.com>
677 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
678 info.extra. Patch by Marcus Meissner.
680 2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
682 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
683 Fix branch offset for a PLT entry.
685 2004-06-20 Jim Meyering <jim@meyering.net>
687 * malloc/obstack.h (obstack_base): Cast to `void *', to align with
690 2004-06-28 Ulrich Drepper <drepper@redhat.com>
692 * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
693 Workaround for [BZ #232].
695 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.
697 2004-06-28 GOTO Masanori <gotom@debian.or.jp>
699 * iconv/gconv_simple.c: Use get16/put16 for user given buffer
700 in ucs2/ucs2reverse when unaligned memory access is attempted.
701 * iconv/tst-iconv5.c: New file.
702 * iconv/Makefile (tests): Add tst-iconv5.
704 2004-06-28 Jakub Jelinek <jakub@redhat.com>
706 * inet/bug-if1.c: Include <string.h>.
708 2004-06-19 Roland McGrath <roland@redhat.com>
710 * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
711 under this macro name instead.
712 [NO_DO_WAITID]: Don't define it at all.
713 (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
714 defined, then return ENOTSUP for combinations of selection bits other
715 than WEXITED and WEXITED|WSTOPPED, which this version cannot support.
717 * posix/tst-waitid.c: New file.
718 * posix/Makefile (tests): Add it.
720 2004-06-28 Jakub Jelinek <jakub@redhat.com>
722 * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.
725 * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
726 relocation in librt.so.
729 * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
730 _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
732 2004-06-27 Ulrich Drepper <drepper@redhat.com>
734 * elf/ldconfig.c (add_dir): Take chroot into account.
735 Based on changes by HJ Lu and Hideki Iwamoto.
737 * nscd/connections.c (invalidate_cache): If the host cache has to
738 be invalidated, re-read resolv.conf.
740 * resolv/resolv.h (RES_NOIP6DOTINT): Define.
741 * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
742 * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
743 if RES_NOIP6DOTINT flag is set.
744 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
746 2004-06-25 Jakub Jelinek <jakub@redhat.com>
748 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
750 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.
754 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
755 F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
757 2004-06-21 Jakub Jelinek <jakub@redhat.com>
760 * sysdeps/unix/alpha/Makefile: New file.
761 * sysdeps/unix/alpha/rt-sysdep.S: New file.
762 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
764 2004-06-18 Ulrich Drepper <drepper@redhat.com>
766 * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
767 determine the canonical name only for the first returned entry.
769 * inet/bug-if1.c: New file.
770 * inet/Makefile (tests): Add bug-if1.
772 2004-06-18 Roland McGrath <roland@frob.com>
774 * Makerules (compile-mkdep-flags): Add -MT $@.
776 * Makefile (dist, tag-for-dist): New targets.
777 (files-for-dist, tag-of-stem): New variables.
778 (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
779 Make tar files using cvs export.
780 (%.bz2, %.gz, tag-%): New pattern rules.
781 (distribute): Variable removed.
782 (+subdir_targets): Remove distinfo targets.
783 (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
784 (rpm/%): Pattern rule removed.
785 * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
786 * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
788 * Makerules (dist, subdir_distinfo): Targets removed.
789 ($(objpfx)distinfo): Depend on $(distribute).
790 * Make-dist: File removed.
792 * NEWS: Fix a typo. Update bug-reporting instructions.
794 2004-06-17 Thorsten Kukuk <kukuk@suse.de>
796 * sysdeps/unix/sysv/linux/sched_setaffinity.c
797 (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
798 cpuset is wrongly set.
800 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
802 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
805 2004-06-14 Jakub Jelinek <jakub@redhat.com>
808 * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
809 in a local variable, point rp to that local variable afterwards.
811 2004-06-11 Jakub Jelinek <jakub@redhat.com>
813 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
816 2004-06-17 Ulrich Drepper <drepper@redhat.com>
818 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
819 error value for unknown interface. [BZ #198]
821 2004-06-13 Jakub Jelinek <jakub@redhat.com>
823 * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
824 (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
825 __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
826 the asm uses as its input, either of size __n where __n is known or
828 (strstr): Add "memory" clobber.
830 2004-06-14 Jakub Jelinek <jakub@redhat.com>
833 * nss/nsswitch.c (free_mem): Don't try to close a library handle
834 if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>.
836 2004-06-11 Dmitry V. Levin <ldv@altlinux.org>
839 * debug/xtrace.sh: Fix typo in error diagnostics.
841 2004-06-14 Andreas Schwab <schwab@suse.de>
843 * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
846 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
849 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
853 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
855 Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19.
856 Fix pasto that overflowed sigcontext.v_reserve.
857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
858 Fix pasto that clobbers r19.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
860 of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that
861 overflowed sigcontext.v_reserve.
863 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
866 * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
867 instead of ".gnu.linkonce.ro." as the prefix for linkonce
868 read-only section name.
870 2004-06-14 Richard Henderson <rth@redhat.com>
872 * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
873 (_ITOFT, _FTOIT, _ITOFT2): Likewise.
875 2004-06-08 Jakub Jelinek <jakub@redhat.com>
877 * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
878 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
879 (__backtrace): Don't call init #ifndef SHARED.
880 * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
881 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
882 (__backtrace): Don't call init #ifndef SHARED.
883 * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
884 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
885 (__backtrace): Don't call init #ifndef SHARED.
887 2004-06-11 Roland McGrath <roland@redhat.com>
889 * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
890 From Krzysztof Halasa <khc@pm.waw.pl>.
892 2004-06-10 Jakub Jelinek <jakub@redhat.com>
894 * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
896 2004-06-08 Jakub Jelinek <jakub@redhat.com>
899 * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
900 succeeds. Reported by Miles Ohlrich <miles@cray.com>.
902 * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
903 fails. Avoid memory leak if realloc fails.
905 2004-06-09 Jakub Jelinek <jakub@redhat.com>
907 * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
908 NULL, "" or contains '=' character in it. Reported by
909 Michael T Kerrisk <mtk-lists@gmx.net>.
910 * stdlib/tst-environ.c: Include errno.h.
911 (main): Add tests for these arguments to setenv/unsetenv.
913 2004-06-07 Roland McGrath <roland@frob.com>
915 * NEWS: Update bug reporting instructions. Fix some typos.
917 2004-06-05 Ulrich Drepper <drepper@redhat.com>
919 * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
920 * stdio-common/_itoa.c: Add _itoa implementation.
922 * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
923 to also send request. Add parameter to allow this.
925 * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
926 * nscd/nscd_getpw_r.c: Likewise.
927 * nscd/nscd-client.h: Change __nscd_open_socket prototype.
929 2004-06-05 Andreas Jaeger <aj@suse.de>
931 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
932 Handle more than 6 args correctly. Based on a patch by Masahide
933 Washizawa <washi@jp.ibm.com>.
935 2004-06-04 Ulrich Drepper <drepper@redhat.com>
937 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
938 in all places, not __nss_not_use_nscd_group.
939 Reported by Philippe Gregoire.
941 2004-06-03 Ulrich Drepper <drepper@redhat.com>
943 * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
945 2004-05-07 Dmitry V. Levin <ldv@altlinux.org>
947 * argp/argp-help.c (__argp_error, __argp_failure): Check result
948 of __asprintf call and don't use string if it failed.
949 * stdio-common/psignal.c (psignal): Likewise.
950 * locale/programs/localedef.c (more_help): Likewise.
951 * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
952 arg_bool, parse_line): Check result of __asprintf calls and
953 don't use string if they failed.
954 * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
955 * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
956 call and exit if it failed.
958 2004-05-10 Jakub Jelinek <jakub@redhat.com>
960 * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
961 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
962 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
963 _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
964 _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
965 _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
966 _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
967 _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
968 _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
969 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
970 <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
972 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
974 * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
975 -momit-leaf-frame-pointer.
977 * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
980 * sysdeps/mach/hurd/getcwd.c
981 (_hurd_canonicalize_directory_name_intern): Only realloc when
984 * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
987 * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
990 * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
991 __libc_write and __libc_lseek64.
993 2004-05-29 Roland McGrath <roland@redhat.com>
995 * elf/Makefile (shared-only-routines): Add dl-caller.
997 2004-05-28 Ulrich Drepper <drepper@redhat.com>
999 * sysdeps/powerpc/configure.in: New file.
1001 2004-05-28 Steven Munroe <sjmunroe@us.ibm.com>
1003 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
1004 "altivec" to enable VMX instructions.
1005 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1006 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1007 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1015 2004-05-27 Jakub Jelinek <jakub@redhat.com>
1017 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
1018 __builtin_expm1l for GCC 3.5+.
1019 (__expl): Define using __builtin_expl for GCC 3.4+.
1020 (exp, expf, expl): Don't define for GCC 3.4+.
1021 (tan, tanf, tanl): Don't define for GCC 3.5+.
1022 (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
1023 (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
1024 (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
1025 (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
1026 (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
1028 (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
1029 Don't define for GCC 3.5+.
1030 (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
1031 (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
1032 define for GCC 3.5+.
1033 (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
1034 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
1035 define for GCC 3.2+.
1037 2004-05-27 Jakub Jelinek <jakub@redhat.com>
1039 * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
1040 * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
1041 * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
1042 * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
1043 * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
1044 * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
1045 * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
1046 * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
1047 * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
1048 * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
1049 * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
1050 * sysdeps/i386/i586/memcpy.S (memcpy): Remove
1051 libc_hidden_builtin_def if MEMPCPY_P.
1052 * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
1053 * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
1054 * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
1055 * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
1056 * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
1058 2004-05-26 Roland McGrath <roland@frob.com>
1060 * sysdeps/generic/bits/in.h
1061 (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
1062 These are long obsolete in BSD systems where they originated.
1063 * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
1065 2004-05-26 Jakub Jelinek <jakub@redhat.com>
1067 * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
1068 * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
1069 (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
1070 (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
1071 constant '\0' and first argument is not constant.
1072 (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
1073 (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
1074 For GCC 3.2+ use __builtin_strncpy.
1075 (strncat): For GCC 3.2+ use __builtin_strncat.
1076 (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
1078 (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
1079 if both arguments are constant.
1081 2004-05-26 Ulrich Drepper <drepper@redhat.com>
1083 * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
1084 mapped addresses in gethostbyaddr.
1086 2004-05-25 Ulrich Drepper <drepper@redhat.com>
1088 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
1089 flags parameter, convert afp to simple int parameter. Adjust code.
1090 typep was never != NULL and flags therefore also unused. *afp is
1092 * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
1093 * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter
1094 handling for __nss_hostname_digits_dots calls.
1095 * nss/getXXbyYY_r.c: Likewise.
1097 * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
1099 2004-05-25 Steven Munroe <sjmunroe@us.ibm.com>
1101 * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
1102 * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
1103 (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
1104 (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
1105 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
1106 implementation from w_sqrt.c.
1107 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
1108 implementation from w_sqrtf.c.
1109 * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
1110 using inline __ieee754_sqrt().
1111 * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
1112 using inline __ieee754_sqrtf().
1113 * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
1114 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1115 * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
1116 PPC_FEATURE_* independent of __ASSEMBLER__.
1118 2004-05-25 Jakub Jelinek <jakub@redhat.com>
1120 * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
1122 (aio_start_notify_thread): Define if not defined.
1123 (notify_func_wrapper): Use it.
1124 * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
1126 (aio_create_helper_thread): Define if not defined.
1127 (__aio_create_helper_thread): New function.
1128 (__aio_enqueue_request): Use aio_create_helper_thread.
1130 * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
1131 (struct ypresp_all_data): New type.
1132 (__xdr_ypresp_all): Change second argument to
1133 struct ypresp_all_data *. Replace ypall_foreach and
1134 ypall_data with objp->foreach and objp->data.
1135 (yp_all): Remove status variable, add data. Replace
1136 all uses of status with data.status. Initialize data.foreach
1137 and data.data instead of ypall_foreach and ypall_data.
1139 2004-05-24 Jakub Jelinek <jakub@redhat.com>
1141 * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
1142 in l_flags_1, not in l_flags.
1144 2004-04-10 Robert Millan <robertmh@gnu.org>
1146 * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
1147 with sysdeps/generic/bits/in.h.
1149 2004-05-25 Roland McGrath <roland@frob.com>
1151 * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
1152 GCC GPL to standard glibc LGPL.
1154 2004-05-24 Ulrich Drepper <drepper@redhat.com>
1156 * manual/string.texi (Copying and Concatenation): Fixed second
1158 Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
1160 2004-05-23 Ulrich Drepper <drepper@redhat.com>
1162 * malloc/obstack.c: Don't allow linking with _obstack.
1164 2004-05-23 Andreas Schwab <schwab@suse.de>
1166 * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
1167 of separate "m" constraints.
1169 2004-05-15 Chris Demetriou <cgd@broadcom.com>
1171 * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
1172 (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
1173 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
1175 2004-05-20 Paul Eggert <eggert@cs.ucla.edu>
1177 * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
1178 Add comment explaining why libc still defines it.
1180 2004-05-19 Paul Eggert <eggert@cs.ucla.edu>
1182 * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
1183 obstack_alignment_mask, obstack_alloc, obstack_base,
1184 obstack_blank, obstack_blank_fast, obstack_chunk_size,
1185 obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
1186 obstack_grow0, obstack_init, obstack_int_grow,
1187 obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
1188 obstack_next_free, obstack_object_size, obstack_ptr_grow,
1189 obstack_ptr_grow_fast, obstack_room): Remove declarations of
1190 nonexistent functions.
1192 2004-05-18 Steven Munroe <sjmunroe@us.ibm.com>
1194 * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
1195 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
1196 [PIC]: Redundent for powerpc64, removed.
1197 (ENTRY): Generate size and alignment for opd entry.
1198 (EALIGN): Generate size and alignment for opd entry.
1199 (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1200 (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
1202 2004-05-19 Ulrich Drepper <drepper@redhat.com>
1204 * misc/regexp.h: Say the functions have been withdrawn.
1206 * wcsmbs/tst-wcpncpy.c: Add more tests.
1208 2004-05-18 Roland McGrath <roland@frob.com>
1210 * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
1211 standard glibc LGPL.
1212 * sysdeps/generic/unwind-dw2.c: Likewise.
1213 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
1214 * sysdeps/generic/unwind-dw2-fde.h: Likewise.
1215 * sysdeps/generic/unwind-pe.h: Likewise.
1217 2004-05-15 Petter Reinholdtsen <pere@hungry.com>
1219 * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
1220 MONTENEGRO" which have taken over the code 819. Patch from
1221 Danilo Segan. [BZ #40]
1223 2004-05-15 Jakub Jelinek <jakub@redhat.com>
1225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1226 (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
1229 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
1231 * catgets/gencat.c: Update bug reporting instructions.
1232 * csu/version.c: Likewise.
1233 * debug/catchsegv.sh: Likewise.
1234 * debug/pcprofiledump.c: Likewise.
1235 * debug/xtrace.sh: Likewise.
1236 * elf/ldd.bash.in: Likewise.
1237 * iconv/iconv_prog.c: Likewise.
1238 * iconv/iconvconfig.c: Likewise.
1239 * locale/programs/locale.c: Likewise.
1240 * locale/programs/localedef.c: Likewise.
1241 * login/programs/pt_chown.c: Likewise.
1242 * malloc/memusage.sh: Likewise.
1243 * malloc/memusagestat.c: Likewise.
1244 * malloc/mtrace.pl: Likewise.
1245 * manual/crypt.texi: Likewise.
1246 * manual/install.texi: Likewise.
1247 * nss/makedb.c: Likewise.
1249 2004-05-14 Jakub Jelinek <jakub@redhat.com>
1251 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
1252 CHECK_STATIC_TLS if sym != NULL.
1253 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1254 * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
1256 2004-05-12 Andreas Schwab <schwab@suse.de>
1258 * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
1261 2004-05-13 H.J. Lu <hongjiu.lu@intel.com>
1263 * Rules (xtests): Depend on tests.
1265 2004-05-13 Jakub Jelinek <jakub@redhat.com>
1267 * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
1268 count is negative, yet write_ptr < write_end.
1269 (_IO_default_xsgetn): Avoid one underflow per char if count is
1270 negative, yet read_ptr < read_end.
1272 2004-05-12 Steven Munroe <sjmunroe@us.ibm.com>
1274 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
1277 2004-05-12 Ulrich Drepper <drepper@redhat.com>
1279 * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
1282 2004-05-10 Roland McGrath <roland@frob.com>
1284 * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
1285 (__hurd_directory_name_split): Likewise.
1287 2004-05-10 Ulrich Drepper <drepper@redhat.com>
1289 * po/fr.po: Update from translation team.
1291 2004-05-10 Andreas Jaeger <aj@suse.de>
1293 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1294 Correctly compute alignment.
1295 Patch by Michael Matz <matz@suse.de>.
1297 2004-05-09 Ulrich Drepper <drepper@redhat.com>
1299 * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
1300 * sysdeps/posix/sigpause.c: Likewise.
1301 * signal/signal.h: Don't define sigpause macro unless needed.
1303 2004-05-08 Jakub Jelinek <jakub@redhat.com>
1305 * configure.in (libc_cv_libgcc_s_suffix): New check.
1306 (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
1307 * config.make.in (libgcc_s_suffix): Set.
1308 * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
1310 2004-05-08 Ulrich Drepper <drepper@redhat.com>
1312 * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
1314 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
1317 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1318 Load argument values into temporary variables.
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
1320 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
1323 2004-05-07 Ulrich Drepper <drepper@redhat.com>
1325 * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
1326 need to be compiled with exceptions.
1328 2004-05-06 Ulrich Drepper <drepper@redhat.com>
1330 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
1331 * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
1333 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
1334 realloc cannot fail.
1336 * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
1339 * nis/nis_table.c: Clean up memory handling.
1340 * nis/nis_subr.c (nis_getnames): Clean up memory handling.
1341 * nis/nis_removemember.c (nis_removemember): Add comment
1342 explaining use of realloc.
1344 * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
1346 Patch by Lev S Bishop <lev.bishop@yale.edu>.
1348 * math/bug-tgmath1.c (main): Test fabs and carg as well.
1350 2004-05-06 Richard Henderson <rth@redhat.com>
1352 * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
1353 AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
1354 * sysdeps/unix/sysv/linux/alpha/Versions: Export
1355 __libc_alpha_cache_shape as a private symbol.
1356 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
1357 * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
1359 2004-05-06 Richard Henderson <rth@redhat.com>
1361 * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
1362 * sysdeps/alpha/divl.S: Use them.
1363 * sysdeps/alpha/divq.S: Likewise.
1364 * sysdeps/alpha/divqu.S: Likewise.
1365 * sysdeps/alpha/reml.S: Likewise.
1366 * sysdeps/alpha/remq.S: Likewise.
1367 * sysdeps/alpha/remqu.S: Likewise.
1369 2004-05-06 Ulrich Drepper <drepper@redhat.com>
1371 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
1374 * math/Makefile (tests): Add bug-tgmath1.
1375 * math/bug-tgmath1.c: New file.
1377 2004-05-05 Jakub Jelinek <jakub@redhat.com>
1379 * sysdeps/alpha/atomicity.h: Remove.
1380 * sysdeps/generic/atomicity.h: Remove.
1382 2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
1384 * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
1387 2004-04-22 David Mosberger <davidm@hpl.hp.com>
1389 * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
1391 * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
1393 * sysdeps/ia64/strcat.c: New file.
1394 * sysdeps/ia64/strcat.S: Delete.
1396 2004-05-04 Jakub Jelinek <jakub@redhat.com>
1398 * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
1401 2004-04-23 Jakub Jelinek <jakub@redhat.com>
1403 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
1404 libc_hidden_proto. Define to __GI___libm_error_support for
1405 assembly going into libc.so.
1406 * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
1409 * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
1410 * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
1412 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
1413 gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
1416 2004-05-03 Jakub Jelinek <jakub@redhat.com>
1418 * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
1419 __USE_BSD or __USE_UNIX98.
1420 * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1421 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1422 * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
1424 * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1425 * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1426 * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1427 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
1429 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
1431 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
1433 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1435 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1437 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
1439 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
1441 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
1443 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
1445 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1447 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
1449 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
1451 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1453 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1454 * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1455 * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
1457 2004-05-01 Jakub Jelinek <jakub@redhat.com>
1459 * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
1460 __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
1461 __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
1462 * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
1463 * sysdeps/unix/sysv/linux/Versions (libc): Remove
1464 __libc_sigaction@@GLIBC_PRIVATE.
1465 * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
1466 __modify_ldt@@GLIBC_PRIVATE.
1467 * socket/Versions (libc): Remove __libc_accept, __libc_send,
1468 __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
1469 __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
1470 * stdio-common/Versions (libc): Remove
1471 _itoa_upper_digits@@GLIBC_PRIVATE.
1472 * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
1473 * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
1474 __libc_readv and __libc_writev @@GLIBC_PRIVATE.
1475 * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
1476 * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
1477 __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
1478 __libc_lseek64 @@GLIBC_PRIVATE.
1480 2004-04-30 Jakub Jelinek <jakub@redhat.com>
1482 * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
1485 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
1487 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
1488 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
1489 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
1490 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
1491 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
1492 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
1493 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
1494 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
1495 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
1496 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
1497 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
1498 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
1499 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
1500 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
1501 * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
1502 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
1503 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
1504 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
1506 * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
1507 mantissa for AIX long double format.
1508 * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
1510 * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
1511 * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1512 (_fpioconst_pow10): AIX long double format has same exponent range as
1514 * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1515 (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
1518 2004-04-23 Art Haas <ahaas@airmail.net>
1520 * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
1522 2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
1524 * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
1525 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
1526 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
1527 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
1528 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
1530 2004-04-29 Philip Blundell <pb@nexus.co.uk>
1532 * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
1535 2004-04-29 Jakub Jelinek <jakub@redhat.com>
1537 * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
1538 prototypes and description [BZ #131].
1540 * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
1541 Patch by Ed Catmur <ed@catmur.co.uk>.
1542 * string/tst-inlcall.c (main): Add test for strpbrk.
1545 * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
1547 (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
1548 yet defined, #undef back after including linux/sysctl.h if defined
1550 (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
1551 back after including linux/sysctl.h if defined here.
1553 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
1554 for single precision register, add it to __asm clobbers [BZ #139].
1555 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
1556 for single precision register, add it to __asm clobbers.
1557 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
1558 instead of fqtoi in QP_HANDLE_EXCEPTIONS.
1559 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
1560 Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
1562 2004-04-23 Andreas Schwab <schwab@suse.de>
1564 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
1567 2004-04-22 Philip Blundell <philb@gnu.org>
1569 * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
1570 when calling _dl_signal_error.
1571 (elf_machine_rel): Likewise.
1573 2004-04-21 Ulrich Drepper <drepper@redhat.com>
1575 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
1576 and use it internally instead of __sigsetjmp.
1577 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
1578 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
1579 * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
1580 * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
1581 * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
1582 * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
1583 * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
1584 _GI___libm_frexp_4f, _GI___libm_frexp_4l.
1585 * sysdeps/ia64/fpu/bits/mathinline.h: New file.
1586 * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
1587 HIDDEN_JUMPTARGET for exit call.
1588 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
1590 * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
1591 * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
1594 2004-04-21 Jakub Jelinek <jakub@redhat.com>
1596 * posix/tst-chmod.c (do_test): Fix a typo.
1598 * elf/lateglobal.c (main): Fix error checks.
1599 Patch by Stephen Clarke <stephen.clarke@st.com>.
1601 * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
1602 mention they have been added in ISO C99.
1603 Reported by Ben Pfaff <blp@cs.stanford.edu>.
1605 2004-03-31 H.J. Lu <hongjiu.lu@intel.com>
1607 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
1609 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1611 * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
1614 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1616 * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
1618 * stdio-common/tst-sscanf.c (int_tests): Adjust.
1620 * nis/nss-nis.c: Include stdlib.h.
1622 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
1624 * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
1625 libc_hidden_builtin_def.
1627 2004-04-20 Jim Meyering <jim@meyering.net>
1629 * misc/error.c (error_tail): Don't leak upon realloc failure.
1631 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1633 * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
1634 Use RETURN_ADDRESS instead of __builtin_return_address.
1636 2004-04-19 Ulrich Drepper <drepper@redhat.com>
1638 * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
1641 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1643 * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
1644 do input_error () instead of conv_error () and don't look at errno.
1645 Don't eat any whitespace before %% if skip_space == 0.
1646 * stdio-common/tst-sscanf.c (int_tests): New array.
1647 (main): Run int_tests.
1650 See ChangeLog.14 for earlier changes.