1 2011-05-09 Ulrich Drepper <drepper@gmail.com>
4 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8 * iconvdata/tst-tables.sh: Likewise.
9 * iconvdata/cp770.c: New file.
10 * iconvdata/cp771.c: New file.
11 * iconvdata/cp772.c: New file.
12 * iconvdata/cp773.c: New file.
13 * iconvdata/cp774.c: New file.
14 * iconvdata/testdata/CP770: New file.
15 * iconvdata/testdata/CP770..UTF8: New file.
16 * iconvdata/testdata/CP771: New file.
17 * iconvdata/testdata/CP771..UTF8: New file.
18 * iconvdata/testdata/CP772: New file.
19 * iconvdata/testdata/CP772..UTF8: New file.
20 * iconvdata/testdata/CP773: New file.
21 * iconvdata/testdata/CP773..UTF8: New file.
22 * iconvdata/testdata/CP774: New file.
23 * iconvdata/testdata/CP774..UTF8: New file.
25 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
27 * iconvdata/gen-8bit-gap.sh: Likewise.
28 * iconvdata/gen-8bit.sh: Likewise.
30 * locale/iso-639.def: Add ary entry.
32 * locale/C-translit.h.in: Add U20A1 transliteration.
35 * locale/iso-639.def: Add wae entry.
36 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43 * locale/C-translit.h.in: Add entry for U20B9.
44 Patch by pravin.d.s@gmail.com.
46 2011-05-08 Ulrich Drepper <drepper@gmail.com>
49 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50 ENAMETOOLONG use generic getcwd.
51 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61 * include/dirent.h: Add libc_hidden_proto for rewinddir.
62 * dirent/rewinddir.c: Add libc_hidden_def.
63 * sysdeps/mach/hurd/rewinddir.c: Likewise.
64 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
66 * include/dirent.h (__alloc_dir): Add flags parameter.
67 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
70 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
71 from fdopendir if O_CLOEXEC is already set.
73 2011-03-15 Alan Modra <amodra@gmail.com>
75 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
76 l_tls_firstbyte_offset non-zero. Save padding offset in
77 l_tls_firstbyte_offset for later use.
78 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
79 freeing static tls block.
81 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
83 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
84 where #ifdef was intended. The intent is to prevent ARG_MAX from
85 being defined by the kernel headers.
87 2011-05-07 Ulrich Drepper <drepper@gmail.com>
90 * resolv/resolv.h: Define RES_NOTLDQUERY.
91 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92 no-tld-query and set RES_NOTLDQUERY.
93 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
95 modern BIND to search name as TLD unless forbidden.
97 2011-05-07 Petr Baudis <pasky@suse.cz>
98 Ulrich Drepper <drepper@gmail.com>
101 * elf/dl-load.c (fillin_rpath): Move trusted path check...
102 (is_trusted_path): ...to here.
103 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
104 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
105 using is_trusted_path_normalize() in setuid scripts.
107 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
109 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
112 2011-05-06 Ulrich Drepper <drepper@gmail.com>
114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
115 NSS_STATUS_NOTFOUND if no record was found.
117 2011-05-05 Andreas Schwab <schwab@redhat.com>
119 * sunrpc/Makefile (headers): Add rpc/netdb.h.
120 (headers-not-in-tirpc): Remove rpc/netdb.h
121 * resolv/netdb.h: Revert last change.
123 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
125 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
126 circular dependency between libgcc.a and libc.a.
128 2011-05-05 Andreas Schwab <schwab@redhat.com>
130 * resolv/netdb.h: Don't include <rpc/netdb.h>.
131 * nis/Makefile: Don't install rpcsvc/*.
132 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
133 instead of <rpc/types.h>.
134 (MAXHOSTNAMELEN): Define.
136 2011-05-03 Andreas Schwab <schwab@redhat.com>
138 * elf/ldconfig.c (add_dir): Don't crash on empty path.
140 2011-04-28 Maciej Babinski <mbabinski@google.com>
143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
144 gethostbyname4_r when IPv6 results are possible.
146 2011-05-02 Ulrich Drepper <drepper@gmail.com>
149 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
150 _PC_PIPE_BUF handling.
152 2011-04-30 Bruno Haible <bruno@clisp.org>
155 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
156 * resolv/netdb.h (getnameinfo): Change type of flags parameter
158 * inet/getnameinfo.c (getnameinfo): Likewise.
160 2011-04-29 Ulrich Drepper <drepper@gmail.com>
162 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
163 to groups setting in database lookup.
164 * nss/nsswitch.conf: Add initgroups entry.
166 2011-04-22 Ulrich Drepper <drepper@gmail.com>
169 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
171 Patch by Eric Blake <eblake@redhat.com>.
173 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
175 * sunrpc/Makefile (need-export-routines): Add svc_run.
176 (routines): Remove svc_run.
177 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
178 * sunrpc/clnt_perr.c (clnt_perrno): Export.
179 * sunrpc/svc_run.c (svc_run): Likewise.
180 * sunrpc/svc_udp.c (svcudp_create): Likewise.
182 2011-04-21 Ulrich Drepper <drepper@gmail.com>
184 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
185 problem in reallocation in last patch.
187 2011-04-20 Ulrich Drepper <drepper@gmail.com>
189 * sunrpc/Makefile: Move inclusion of Rules.
191 2011-04-19 Ulrich Drepper <drepper@gmail.com>
193 * nss/nss_files/files-initgroups.c: New file.
194 * nss/Makefile (libnss_files-routines): Add files-initgroups.
195 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
196 _nss_files_initgroups_dyn.
198 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
200 * elf/elf.h (R_ARM_IRELATIVE): Define.
202 2011-04-19 Ulrich Drepper <drepper@gmail.com>
204 * po/ru.po: Update from translation team.
206 2011-04-17 Ulrich Drepper <drepper@gmail.com>
208 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
211 2011-02-06 Mike Frysinger <vapier@gentoo.org>
214 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
215 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
216 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
217 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
218 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
220 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
222 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
224 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
225 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
226 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
228 2011-04-17 Ulrich Drepper <drepper@gmail.com>
231 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
233 * stdlib/bug-getcontext.c: New file.
234 * stdlib/Makefile: Add rules to build and run bug-getcontext.
236 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
238 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
239 instructions into .machine "z9-109".
240 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
241 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
243 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
245 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
246 between environment variables and auxiliary vector.
248 2011-04-16 Ulrich Drepper <drepper@gmail.com>
250 * Makefile: Add rules to build linkobj/libc.so.
251 * include/libc-symbols.h: Define libc_hidden_nolink.
252 * include/rpc/auth.h: Mark functions which are to be hidden.
253 * include/rpc/auth_des.h: Likewise.
254 * include/rpc/auth_unix.h: Likewise.
255 * include/rpc/clnt.h: Likewise.
256 * include/rpc/des_crypt.h: Likewise.
257 * include/rpc/key_prot.h: Likewise.
258 * include/rpc/pmap_clnt.h: Likewise.
259 * include/rpc/pmap_prot.h: Likewise.
260 * include/rpc/pmap_rmt.h: Likewise.
261 * include/rpc/rpc_msg.h: Likewise.
262 * include/rpc/svc.h: Likewise.
263 * include/rpc/svc_auth.h: Likewise.
264 * include/rpc/xdr.h: Likewise.
265 * nis/Makefile: Link all DSOs against linkobj/libc.so.
266 * nss/Makefile: Likewise.
267 * sunrpc/Makefile: Don't install headers. Build library with normal
268 entry points. Don't build rpcinfo. Link RPC tests appropriately.
269 * sunrpc/auth_des.c: Hide exported symbols by default, export some
270 for the compat linking library. Remove use of INTDEF/INTUSE.
271 * sunrpc/auth_none.c: Likewise.
272 * sunrpc/auth_unix.c: Likewise.
273 * sunrpc/authdes_prot.c: Likewise.
274 * sunrpc/authuxprot.c: Likewise.
275 * sunrpc/clnt_gen.c: Likewise.
276 * sunrpc/clnt_perr.c: Likewise.
277 * sunrpc/clnt_raw.c: Likewise.
278 * sunrpc/clnt_simp.c: Likewise.
279 * sunrpc/clnt_tcp.c: Likewise.
280 * sunrpc/clnt_udp.c: Likewise.
281 * sunrpc/clnt_unix.c: Likewise.
282 * sunrpc/des_crypt.c: Likewise.
283 * sunrpc/des_soft.c: Likewise.
284 * sunrpc/get_myaddr.c: Likewise.
285 * sunrpc/key_call.c: Likewise.
286 * sunrpc/key_prot.c: Likewise.
287 * sunrpc/netname.c: Likewise.
288 * sunrpc/pm_getmaps.c: Likewise.
289 * sunrpc/pm_getport.c: Likewise.
290 * sunrpc/pmap_clnt.c: Likewise.
291 * sunrpc/pmap_prot.c: Likewise.
292 * sunrpc/pmap_prot2.c: Likewise.
293 * sunrpc/pmap_rmt.c: Likewise.
294 * sunrpc/publickey.c: Likewise.
295 * sunrpc/rpc_cmsg.c: Likewise.
296 * sunrpc/rpc_common.c: Likewise.
297 * sunrpc/rpc_dtable.c: Likewise.
298 * sunrpc/rpc_prot.c: Likewise.
299 * sunrpc/rpc_thread.c: Likewise.
300 * sunrpc/rtime.c: Likewise.
301 * sunrpc/svc.c: Likewise.
302 * sunrpc/svc_auth.c: Likewise.
303 * sunrpc/svc_authux.c: Likewise.
304 * sunrpc/svc_raw.c: Likewise.
305 * sunrpc/svc_run.c: Likewise.
306 * sunrpc/svc_simple.c: Likewise.
307 * sunrpc/svc_tcp.c: Likewise.
308 * sunrpc/svc_udp.c: Likewise.
309 * sunrpc/svc_unix.c: Likewise.
310 * sunrpc/svcauth_des.c: Likewise.
311 * sunrpc/xcrypt.c: Likewise.
312 * sunrpc/xdr.c: Likewise.
313 * sunrpc/xdr_array.c: Likewise.
314 * sunrpc/xdr_float.c: Likewise.
315 * sunrpc/xdr_intXX_t.c: Likewise.
316 * sunrpc/xdr_mem.c: Likewise.
317 * sunrpc/xdr_rec.c: Likewise.
318 * sunrpc/xdr_ref.c: Likewise.
319 * sunrpc/xdr_sizeof.c: Likewise.
320 * sunrpc/xdr_stdio.c: Likewise.
322 2011-04-10 Ulrich Drepper <drepper@gmail.com>
325 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
326 * sysdeps/ia64/dl-tls.h: Likewise.
327 * sysdeps/powerpc/dl-tls.h: Likewise.
328 * sysdeps/s390/dl-tls.h: Likewise.
329 * sysdeps/sh/dl-tls.h: Likewise.
330 * sysdeps/sparc/dl-tls.h: Likewise.
331 * sysdeps/x86_64/dl-tls.h: Likewise.
332 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
334 2011-03-14 Andreas Schwab <schwab@redhat.com>
336 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
337 rpath element also skip the following colon.
338 (expand_dynamic_string_token): Add is_path parameter and pass
339 down to DL_DST_REQUIRED and _dl_dst_substitute.
340 (decompose_rpath): Call expand_dynamic_string_token with
341 non-zero is_path. Ignore empty rpaths.
342 (_dl_map_object_from_fd): Call expand_dynamic_string_token
345 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
350 2011-04-09 Ulrich Drepper <drepper@gmail.com>
353 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
354 Patch by Filipe David Manana <fdmanana@apache.org>.
356 2011-04-07 Andreas Schwab <schwab@redhat.com>
358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
359 Maintain aligned stack.
360 (CHECK_RSP): Remove unused macro.
362 2011-04-03 Ulrich Drepper <drepper@gmail.com>
364 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
365 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
367 2011-04-02 Ulrich Drepper <drepper@gmail.com>
369 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
371 * include/features.h: Mention __USE_XOPEN2K8 in comment.
373 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
376 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
377 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
378 * sysdeps/x86_64/memmove.c: New file.
379 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
380 (memcpy): Renamed to ...
381 (__new_memcpy): This.
382 (memcpy): Provide GLIBC_2_14 memcpy.
383 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
384 (memcpy): Provide GLIBC_2_2_5 memcpy.
386 2011-04-01 Ulrich Drepper <drepper@gmail.com>
389 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
391 2011-03-30 Andreas Schwab <schwab@redhat.com>
393 * misc/syncfs.c: New file.
394 * misc/Makefile (routines): Add syncfs.
395 * posix/unistd.h: Declare syncfs.
396 * sysdeps/unix/syscalls.list: Add syncfs.
398 2011-04-01 Andreas Schwab <schwab@redhat.com>
400 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
402 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
403 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
405 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
406 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
407 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
408 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
410 2011-04-01 Ulrich Drepper <drepper@gmail.com>
412 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
413 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
414 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
415 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
416 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
417 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
418 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
420 * io/Makefile: Compile fallocate.c, fallocate64.c, and
421 sync_file_range.c with -fexceptions.
422 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
423 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
424 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
425 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
426 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
427 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
428 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
429 sync_file_range as cancellation point
430 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
431 now a wrapper around __call_sync_file_range with cancellation handling.
432 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
433 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
434 function name to __call_sync_file_range.
435 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
436 Add call_sync_file_range.
438 2011-04-01 Andreas Schwab <schwab@redhat.com>
440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
443 2011-04-01 Ulrich Drepper <drepper@gmail.com>
445 * iconv/iconv.h: Fix typo in comment.
446 * io/fcntl.h: Likewise.
447 * libio/stdio.h: Likewise.
448 * posix/spawn.h: Likewise.
449 * posix/unistd.h: Likewise.
450 * stdlib/stdlib.h: Likewise.
451 * time/time.h: Likewise.
452 * wcsmbs/wchar.h: Likewise.
454 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
455 open_by_handle): Add.
456 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
457 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
458 Augment a few comments.
459 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
463 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
464 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
467 * io/fcntl.h (AT_EMPTY_PATH): Define.
469 2011-03-30 Ulrich Drepper <drepper@gmail.com>
471 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
472 * sysdeps/unix/sysv/linux/bits/time.h: New file.
473 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
475 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
476 * Versions.def: Add GLIBC_2.14.
477 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
480 2011-03-22 Ulrich Drepper <drepper@gmail.com>
482 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
484 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
486 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
489 * string/test-strncmp.c (do_page_test): New function.
491 (test_main): Call check2.
492 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
494 2011-03-20 Ulrich Drepper <drepper@gmail.com>
497 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
498 Handle cache information in CPU leaf 4.
499 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
501 2011-03-18 Ulrich Drepper <drepper@gmail.com>
504 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
505 character representation.
506 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
508 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
510 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
511 END(__isnan) to END(__isnanf) to match function entry point/label
512 EALIGN(__isnanf,...).
514 2011-03-10 Jakub Jelinek <jakub@redhat.com>
516 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
518 2011-03-10 Ulrich Drepper <drepper@gmail.com>
521 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
522 copy from the symbol referenced in the relocation to initialize the
524 Patch by Piotr Bury <pbury@goahead.com>.
525 * elf/Makefile: Add rules to build and tst-unique3.
526 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
527 * elf/tst-unique3.cc: New file.
528 * elf/tst-unique3.h: New file.
529 * elf/tst-unique3lib.cc: New file.
530 * elf/tst-unique3lib2.cc: New file.
532 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
534 2011-03-10 Mike Frysinger <vapier@gentoo.org>
536 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
537 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
540 2011-03-06 Ulrich Drepper <drepper@gmail.com>
542 * elf/dl-load.c (_dl_map_object): If we are looking for the first
543 to-be-loaded object along a path to loader is ld.so.
545 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
546 Ulrich Drepper <drepper@gmail.com>
548 * sysdeps/x86_64/memset.S: After aligning destination, code
549 branches to different locations depending on the value of
550 misalignment, when multiarch is enabled. Fix this.
552 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
554 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
555 Set _x86_64_preferred_memory_instruction for AMD processsors.
556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
557 Set bit_Prefer_SSE_for_memop for AMD processors.
559 2011-03-04 Ulrich Drepper <drepper@gmail.com>
561 * libio/fmemopen.c (fmemopen): Optimize a bit.
563 2011-03-03 Andreas Schwab <schwab@redhat.com>
565 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
567 2011-03-03 Roland McGrath <roland@redhat.com>
569 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
571 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
573 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
574 __bzero_ultra1 instead of __memset_ultra1.
576 2011-02-23 Andreas Schwab <schwab@redhat.com>
577 Ulrich Drepper <drepper@gmail.com>
580 * include/link.h (struct link_map): Add l_orig_initfini.
581 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
582 returning unsuccessfully.
583 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
584 close of a file loaded at startup, restore the original l_initfini
586 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
587 list, store the pointer.
588 * elf/Makefile ($(objpfx)noload-mem): New rule.
589 (noload-ENV): Define.
590 (tests): Add $(objpfx)noload-mem.
591 * elf/noload.c: Include <memcheck.h>.
592 (main): Call mtrace. Close all opened handles.
594 2011-02-17 Andreas Schwab <schwab@redhat.com>
597 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
598 dependencies are missing.
600 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
602 Fix __if_freereq crash: Unlike the generic version which uses free,
604 * sysdeps/mach/hurd/ifreq.h: New file.
606 2011-01-27 Petr Baudis <pasky@suse.cz>
607 Ulrich Drepper <drepper@gmail.com>
610 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
612 * stdio-common/bug23.c: New file.
613 * stdio-common/Makefile (tests): Add bug23.
615 2010-09-28 Andreas Schwab <schwab@redhat.com>
616 Ulrich Drepper <drepper@gmail.com>
619 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
620 before performing relro protection. At old place add assertion
621 to make sure nothing changed.
623 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
624 Glauber de Oliveira Costa <glommer@gmail.com>
626 * elf/elf.h: Add new ARM TLS relocs.
628 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
631 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
633 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
635 * sysdeps/wordsize-64/tst-writev.c: New file.
637 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
639 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
640 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
641 insns in _dl_start to prevent a TOC reference before relocs are
644 2011-02-15 Ulrich Drepper <drepper@gmail.com>
647 * Makeconfig: Remove RANLIB definition.
648 * Makerules: Don't use RANLIB.
649 * aclocal.m4: Remove ranlib test.
650 * configure.in: No need to check for ranlib.
651 * elf/rtld-Rules: Don't use RANLIB.
653 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
655 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
657 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
658 inclusion protection macro.
660 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
661 SIGRTMIN and SIGRTMAX and print information in that case only when
664 2011-02-11 Jakub Jelinek <jakub@redhat.com>
666 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
667 arginfo fn returning -1.
669 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
670 and thousands string is zero terminated.
672 2011-02-03 Andreas Schwab <schwab@redhat.com>
674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
675 sysdeps/unix/sysv/linux/bits/socket.h.
677 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
679 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
680 (__CPU_COUNT): Remove old macros.
681 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
682 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
683 (__CPU_ALLOC, __CPU_FREE): Add macros.
684 (__sched_cpualloc, __sched_cpufree): Add declarations.
686 2011-02-05 Ulrich Drepper <drepper@gmail.com>
688 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
689 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
690 * nscd/aicache.c (addhstaiX): Return timeout of added value.
691 (readdhstai): Return value of addhstaiX call.
692 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
693 (addgrbyX): Return value returned by cache_addgr.
694 (readdgrbyname): Return value returned by addgrbyX.
695 (readdgrbygid): Likewise.
696 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
697 (addpwbyX): Return value returned by cache_addpw.
698 (readdpwbyname): Return value returned by addhstbyX.
699 (readdpwbyuid): Likewise.
700 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
701 (addservbyX): Return value returned by cache_addserv.
702 (readdservbyname): Return value returned by addservbyX:
703 (readdservbyport): Likewise.
704 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
705 (addhstbyX): Return value returned by cache_addhst.
706 (readdhstbyname): Return value returned by addhstbyX.
707 (readdhstbyaddr): Likewise.
708 (readdhstbynamev6): Likewise.
709 (readdhstbyaddrv6): Likewise.
710 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
711 (readdinitgroups): Return value returned by addinitgroupsX.
712 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
713 (prune_cache): Keep track of timeout value of re-added entries.
714 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
715 * nscd/nscd.h: Adjust prototypes of readd* functions.
717 2011-02-04 Roland McGrath <roland@redhat.com>
719 * nis/nis_server.c (nis_servstate): Use the right name for 0.
720 (nis_stats): Likewise.
721 * nis/nis_modify.c (nis_modify): Likewise.
722 * nis/nis_remove.c (nis_remove): Likewise.
723 * nis/nis_add.c (nis_add): Likewise.
725 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
727 * posix/fnmatch_loop.c: Add some consts.
729 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
731 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
734 * config.make.in (config-cflags-novzeroupper): Define.
735 * configure.in: Substitute libc_cv_cc_novzeroupper.
736 * elf/Makefile (AVX-CFLAGS): Define.
737 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
738 (CFLAGS-tst-auditmod4a.c): Likewise.
739 (CFLAGS-tst-auditmod4b.c): Likewise.
740 (CFLAGS-tst-auditmod6b.c): Likewise.
741 (CFLAGS-tst-auditmod6c.c): Likewise.
742 (CFLAGS-tst-auditmod7b.c): Likewise.
743 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
745 2011-02-02 Ulrich Drepper <drepper@gmail.com>
747 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
748 function to the callback.
749 Patch partly by Jiri Olsa <jolsa@redhat.com>.
751 2011-02-02 Andreas Schwab <schwab@redhat.com>
753 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
756 2011-01-19 Ulrich Drepper <drepper@gmail.com>
759 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
761 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
763 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
766 * elf/Makefile: Add rules to build and run new test.
767 * elf/tst-initorder.c: New file.
768 * elf/tst-initorder.exp: New file.
769 * elf/tst-initordera1.c: New file.
770 * elf/tst-initordera2.c: New file.
771 * elf/tst-initordera3.c: New file.
772 * elf/tst-initordera4.c: New file.
773 * elf/tst-initorderb1.c: New file.
774 * elf/tst-initorderb2.c: New file.
775 * elf/tst-order-a1.c: New file.
776 * elf/tst-order-a2.c: New file.
777 * elf/tst-order-a3.c: New file.
778 * elf/tst-order-a4.c: New file.
779 * elf/tst-order-b1.c: New file.
780 * elf/tst-order-b2.c: New file.
781 * elf/tst-order-main.c: New file.
782 New test case by George Gensure <werkt0@gmail.com>.
784 2010-10-01 Andreas Schwab <schwab@redhat.com>
786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
787 decoding ACE if AI_CANONIDN.
789 2011-01-18 Ulrich Drepper <drepper@gmail.com>
791 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
793 2011-01-17 Ulrich Drepper <drepper@gmail.com>
795 * version.h (RELEASE): Bump for 2.13 release.
796 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
798 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
800 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
802 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
803 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
804 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
805 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
806 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
807 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
809 * posix/getconf.c: Update copyright year.
810 * catgets/gencat.c: Likewise.
811 * csu/version.c: Likewise.
812 * debug/catchsegv.sh: Likewise.
813 * debug/xtrace.sh: Likewise.
814 * elf/ldconfig.c: Likewise.
815 * elf/ldd.bash.in: Likewise.
816 * elf/sprof.c (print_version): Likewise.
817 * iconv/iconv_prog.c: Likewise.
818 * iconv/iconvconfig.c: Likewise.
819 * locale/programs/locale.c: Likewise.
820 * locale/programs/localedef.c: Likewise.
821 * malloc/memusage.sh: Likewise.
822 * malloc/mtrace.pl: Likewise.
823 * nscd/nscd.c (print_version): Likewise.
824 * nss/getent.c: Likewise.
826 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
828 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
830 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
832 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
833 (modules-names): Use them.
834 (ifunc-test-modules, ifunc-pie-tests): Define.
835 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
836 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
837 (test-extras): Likewise.
838 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
839 $(compile-command.c).
840 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
841 (all-built-dso): Define.
842 (check-textrel.out, check-execstack.out): Depend on it.
844 * configure.in: Don't override --enable-multi-arch.
846 2011-01-15 Ulrich Drepper <drepper@gmail.com>
849 * nscd/hstcache.c (tryagain): Define.
850 (cache_addhst): Return tryagain not notfound for temporary errors.
851 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
854 2011-01-14 Ulrich Drepper <drepper@gmail.com>
857 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
859 * sysdeps/unix/sysv/linux/setgroups.c: New file.
862 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
863 and fall back to matching as normal character if the string ends before
864 the matching ']' is found. This is what POSIX requires.
865 * posix/testfnm.c: Adjust test result.
866 * posix/globtest.sh: Adjust test result. Add new test.
867 * posix/tst-fnmatch.input: Likewise.
868 * posix/tst-fnmatch2.c: Add new test.
870 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
872 * elf/Makefile (check-execstack): Revert last change. Depend on
874 (check-execstack.h): New target.
875 (generated): Add check-execstack.h.
876 * elf/check-execstack.c: Include "check-execstack.h".
877 (main): Revert last change.
878 (handle_file): Return zero if GNU_STACK is absent and
879 DEFAULT_STACK_PERMS doesn't include PF_X.
881 2011-01-13 Ulrich Drepper <drepper@gmail.com>
883 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
884 in child fails because the descriptor is already closed.
885 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
886 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
887 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
890 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
894 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
895 temporary buffer used to handle multi lookups locally.
896 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
898 2011-01-12 Ulrich Drepper <drepper@gmail.com>
900 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
903 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
905 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
908 2011-01-12 Ulrich Drepper <drepper@gmail.com>
911 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
912 characters. When rounding increased number of integer digits recompute
914 * stdio-common/tst-grouping.c: New file.
915 * stdio-common/Makefile: Add rules to build and run tst-grouping.
917 2011-01-09 Ulrich Drepper <drepper@gmail.com>
919 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
920 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
922 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
924 * bits/select.h: Likewise.
926 2011-01-08 Ulrich Drepper <drepper@gmail.com>
928 * po/ja.po: Update from translation team.
930 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
933 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
934 implementation just like for lxstat, fxstatat, et al.
936 2010-12-27 Jim Meyering <meyering@redhat.com>
939 * posix/regexec.c (build_trtable): Return failure indication upon
940 calloc failure. Otherwise, re_search_internal could infloop on OOM.
942 2010-12-25 Ulrich Drepper <drepper@gmail.com>
945 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
946 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
947 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
948 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
951 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
954 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
955 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
957 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
959 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
960 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
961 script has SORT_BY_INIT_PRIORITY.
962 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
963 NO_CTORS_DTORS_SECTIONS is defined.
964 * elf/soinit.c: Likewise.
965 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
966 NO_CTORS_DTORS_SECTIONS is defined.
967 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
968 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
969 * sysdeps/sh/init-first.c: Likewise.
970 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
972 2010-12-24 Ulrich Drepper <drepper@gmail.com>
974 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
975 always use the slow path.
977 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
979 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
980 similar rule which adds the sysdep directories to the header search in
981 order to pick up the correct platform stackinfo.h.
982 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
983 perform test if it is, otherwise return successfully without testing.
984 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
985 DEFAULT_STACK_PERMS define in stackinfo.h.
986 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
987 defined in stackinfo.h.
988 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
989 DEFAULT_STACK_PERMS defined in stackinfo.h.
990 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
991 * sysdeps/ia64/stackinfo.h: Likewise.
992 * sysdeps/s390/stackinfo.h: Likewise.
993 * sysdeps/sh/stackinfo.h: Likewise.
994 * sysdeps/sparc/stackinfo.h: Likewise.
995 * sysdeps/x86_64/stackinfo.h: Likewise.
996 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
997 PF_X for powerpc64. Retain PF_X for powerpc32.
999 2010-12-19 Ulrich Drepper <drepper@gmail.com>
1001 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
1003 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
1004 GETDENTS_64BIT_ALIGNED.
1006 2010-12-14 Ulrich Drepper <dreper@gmail.com>
1008 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
1010 2010-12-10 Andreas Schwab <schwab@redhat.com>
1012 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
1015 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
1016 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
1018 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
1019 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
1021 2010-12-09 Ulrich Drepper <drepper@gmail.com>
1024 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
1027 2010-12-09 Jakub Jelinek <jakub@redhat.com>
1029 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
1031 2010-12-03 Ulrich Drepper <drepper@gmail.com>
1033 * po/it.po: Update from translation team.
1035 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
1037 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
1040 2010-11-30 Ulrich Drepper <drepper@gmail.com>
1042 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
1044 2010-11-24 Andreas Schwab <schwab@redhat.com>
1046 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
1048 (gaih_getanswer_slice): Likewise.
1050 2010-10-20 Jakub Jelinek <jakub@redhat.com>
1052 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
1054 2010-05-31 Petr Baudis <pasky@suse.cz>
1057 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
1058 silently even in the chroot mode.
1060 2010-11-22 Ulrich Drepper <drepper@gmail.com>
1062 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
1063 last patch a bit. Pretty printing
1065 2010-05-31 Petr Baudis <pasky@suse.cz>
1068 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
1069 initialization of skip_initgroups_dyn.
1071 2010-11-19 Ulrich Drepper <drepper@gmail.com>
1073 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
1074 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1076 2010-11-16 Ulrich Drepper <drepper@gmail.com>
1078 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
1080 2010-11-11 Andreas Schwab <schwab@redhat.com>
1082 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
1083 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
1084 (tst-fnmatch-ENV): Set MALLOC_TRACE.
1085 ($(objpfx)tst-fnmatch-mem): New rule.
1086 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
1087 * posix/tst-fnmatch.c (main): Call mtrace.
1089 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
1091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1092 Support Intel processor model 6 and model 0x2c.
1094 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
1096 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
1099 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
1102 * string/test-strncasecmp.c (check_result): New function.
1103 (do_one_test): Use it.
1104 (check1): New function.
1105 (test_main): Use it.
1106 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
1107 Support strcasecmp and strncasecmp.
1109 2010-11-08 Ulrich Drepper <drepper@gmail.com>
1112 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
1113 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1115 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
1117 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
1119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1121 * sysdeps/x86_64/multiarch/bzero.S: New file.
1122 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
1123 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
1124 * sysdeps/x86_64/multiarch/memset.S: New file.
1125 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
1126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1127 Set bit_Prefer_SSE_for_memop for Intel processors.
1128 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
1130 (index_Prefer_SSE_for_memop): Define.
1131 (HAS_PREFER_SSE_FOR_MEMOP): Define.
1133 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
1135 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
1136 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
1138 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
1141 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1142 (__x86_64_raw_data_cache_size_half): Likewise.
1143 (__x86_64_raw_shared_cache_size): Likewise.
1144 (__x86_64_raw_shared_cache_size_half): Likewise.
1146 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1147 (__x86_64_raw_data_cache_size_half): Likewise.
1148 (__x86_64_raw_shared_cache_size): Likewise.
1149 (__x86_64_raw_shared_cache_size_half): Likewise.
1150 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
1151 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
1152 and __x86_64_raw_shared_cache_size_half. Round
1153 __x86_64_data_cache_size_half, __x86_64_data_cache_size
1154 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
1155 to multiple of 256 bytes.
1157 2010-11-03 Ulrich Drepper <drepper@gmail.com>
1160 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
1161 of inacessible symlinks. Verify result of symlink before returning it.
1162 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1163 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
1165 2010-10-28 Erich Ritz <erichritz@gmail.com>
1167 * math/math.h (isinf): Fix typo in comment.
1169 2010-11-01 Ulrich Drepper <drepper@gmail.com>
1171 * po/da.po: Update from translation team.
1173 2010-10-26 Ulrich Drepper <drepper@gmail.com>
1175 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
1176 is added to the list.
1178 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1179 Ulrich Drepper <drepper@gmail.com>
1181 * elf/dl-object.c (_dl_new_object): Don't append the new object to
1182 the global list here. Move code to...
1183 (_dl_add_to_namespace_list): ...here. New function.
1184 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
1185 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
1186 * elf/dl-load.c (lose): Don't remove the element from the list.
1187 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
1188 (_dl_map_object): Likewise.
1190 2010-10-25 Ulrich Drepper <drepper@gmail.com>
1193 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
1194 into all bytes of SSE register.
1195 Patch by Richard Li <richardpku@gmail.com>.
1197 2010-10-24 Ulrich Drepper <drepper@gmail.com>
1200 * malloc/malloc.c (_int_free): Fill correct number of bytes when
1203 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
1205 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
1206 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
1207 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
1208 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
1213 2010-10-22 Andreas Schwab <schwab@redhat.com>
1215 * include/dlfcn.h (__RTLD_SECURE): Define.
1216 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
1217 mode & __RTLD_SECURE instead.
1218 (open_path): Rename preloaded parameter to secure.
1219 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
1220 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
1221 * elf/dl-deps.c (openaux): Likewise.
1222 * elf/rtld.c (struct map_args): Remove is_preloaded.
1223 (map_doit): Don't use it.
1224 (dl_main): Likewise.
1225 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
1226 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
1228 2010-09-09 Andreas Schwab <schwab@redhat.com>
1230 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
1231 (sysd-rules-targets): Remove duplicates.
1232 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
1233 rtld-%.$o dependency.
1235 2010-10-18 Andreas Schwab <schwab@redhat.com>
1237 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
1238 _dl_map_object do it.
1240 2010-10-19 Ulrich Drepper <drepper@gmail.com>
1242 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
1243 fast fma builtins, define the macros in the C99 standard.
1244 (FP_FAST_FMAF): Likewise.
1245 (FP_FAST_FMAL): Likewise.
1246 * sysdeps/x86_64/bits/mathdef.h: Likewise.
1248 * bits/mathdef.h: Update copyright year.
1249 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1251 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
1253 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
1254 builtins, define the macros in the C99 standard.
1255 (FP_FAST_FMAF): Likewise.
1256 (FP_FAST_FMAL): Likewise.
1257 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
1259 (FP_FAST_FMAF): Likewise.
1261 2010-10-15 Jakub Jelinek <jakub@redhat.com>
1264 * math/libm-test.inc (fma_test): Some new testcases.
1265 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
1266 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
1267 y and infinite z. Do multiplication by C already in long double.
1268 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
1269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
1270 y and infinite z. Do bitwise or of inexact bit into u.d.
1271 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
1272 * sysdeps/i386/fpu/s_fmaf.S: Removed.
1273 * sysdeps/i386/fpu/s_fma.S: Removed.
1274 * sysdeps/i386/fpu/s_fmal.S: Removed.
1276 2010-10-16 Jakub Jelinek <jakub@redhat.com>
1279 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
1280 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
1281 computation is not scheduled after fetestexcept. Fix value
1282 of minimum denormal long double.
1284 2010-10-14 Jakub Jelinek <jakub@redhat.com>
1287 * math/libm-test.inc (fma_test): Add some more tests.
1288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
1291 2010-10-15 Andreas Schwab <schwab@redhat.com>
1293 * scripts/data/localplt-s390-linux-gnu.data: New file.
1294 * scripts/data/localplt-s390x-linux-gnu.data: New file.
1296 2010-10-13 Jakub Jelinek <jakub@redhat.com>
1299 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
1300 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
1302 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
1304 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
1305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
1306 if one of x and y is very large and the other is subnormal.
1307 * sysdeps/s390/fpu/s_fmaf.c: New file.
1308 * sysdeps/s390/fpu/s_fma.c: New file.
1309 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
1310 * sysdeps/powerpc/fpu/s_fma.S: New file.
1311 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
1312 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
1313 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
1315 2010-10-12 Jakub Jelinek <jakub@redhat.com>
1318 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
1320 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
1321 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
1322 * sysdeps/i386/i686/multiarch/s_fma.c: Include
1323 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
1324 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
1325 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
1326 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
1328 2010-10-12 Ulrich Drepper <drepper@redhat.com>
1331 * posix/regcomp.c (parse_branch): One more memory leak plugged.
1332 * posix/bug-regex31.input: Add test case.
1334 2010-10-11 Ulrich Drepper <drepper@gmail.com>
1336 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
1337 * posix/bug-regex31.input: New file.
1340 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
1341 (parse_sub_exp): Fix last change, use postorder.
1343 * posix/bug-regex31.c: New file.
1344 * posix/Makefile: Add rules to build and run bug-regex31.
1346 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
1349 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
1352 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
1353 to have entries in sys_siglist.
1356 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
1359 2010-10-07 Jakub Jelinek <jakub@redhat.com>
1362 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
1363 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
1364 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
1365 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
1366 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1367 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
1368 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
1369 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
1370 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
1371 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
1372 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
1373 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
1374 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1375 * math/ftestexcept.c (fetestexcept): Likewise.
1376 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
1377 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1378 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1379 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
1380 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
1381 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
1382 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1384 2010-10-11 Ulrich Drepper <drepper@gmail.com>
1387 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
1390 2010-10-06 Ulrich Drepper <drepper@gmail.com>
1392 * string/bug-strstr1.c: New file.
1393 * string/Makefile: Add rules to build and run bug-strstr1.
1395 2010-10-05 Eric Blake <eblake@redhat.com>
1398 * string/str-two-way.h (two_way_long_needle): Always clear memory
1399 when skipping input due to the shift table.
1401 2010-10-03 Ulrich Drepper <drepper@gmail.com>
1404 * malloc/mcheck.c: Handle large requests.
1407 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
1408 for strncmp and strncasecmp.
1409 * string/stratcliff.c: Add tests for strcmp and strncmp.
1410 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
1412 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1414 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
1417 2010-09-30 Andreas Jaeger <aj@suse.de>
1419 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
1420 (CGROUP_SUPER_MAGIC): Define.
1421 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1422 Handle btrfs and cgroup file systems.
1423 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1426 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
1428 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
1429 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
1431 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1434 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
1435 trying to locate the ELF header.
1437 2010-09-27 Andreas Schwab <schwab@redhat.com>
1440 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
1441 Mask out sign-bit copies when constructing f_fsid.
1443 2010-09-24 Petr Baudis <pasky@suse.cz>
1445 * debug/stack_chk_fail_local.c: Add missing licence exception.
1446 * debug/warning-nop.c: Likewise.
1448 2010-09-15 Joseph Myers <joseph@codesourcery.com>
1450 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
1451 implementing getdents64 using getdents syscall, set d_type if
1452 __ASSUME_GETDENTS32_D_TYPE.
1454 2010-09-16 Andreas Schwab <schwab@redhat.com>
1456 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
1457 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
1459 2010-09-21 Ulrich Drepper <drepper@redhat.com>
1462 * posix/unistd.h: Undo change of feature selection for ftruncate from
1465 2010-09-20 Ulrich Drepper <drepper@redhat.com>
1467 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
1470 2010-09-20 Andreas Schwab <schwab@redhat.com>
1472 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1474 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1476 2010-09-14 Andreas Schwab <schwab@redhat.com>
1478 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
1479 variables after CHECK_SP call.
1480 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
1482 2010-09-13 Andreas Schwab <schwab@redhat.com>
1483 Ulrich Drepper <drepper@redhat.com>
1485 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
1486 re-relocationg ld.so.
1487 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
1488 _dl_init_paths call.
1489 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
1492 2010-09-14 Ulrich Drepper <drepper@redhat.com>
1494 * resolv/res_init.c (__res_vinit): Count the default server we added.
1496 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
1497 Ulrich Drepper <drepper@redhat.com>
1500 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
1501 (____longjmp_chk): Use %ebx for saving value across system call.
1504 2010-09-06 Andreas Schwab <schwab@redhat.com>
1506 * manual/Makefile: Don't mix pattern rules with normal rules.
1508 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
1510 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
1512 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1513 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1514 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1515 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1516 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1519 2010-09-04 Ulrich Drepper <drepper@redhat.com>
1522 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
1523 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
1525 2010-09-02 Ulrich Drepper <drepper@redhat.com>
1527 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
1528 * sysdeps/x86_64/addmul_1.S: Likewise.
1529 * sysdeps/x86_64/lshift.S: Likewise.
1530 * sysdeps/x86_64/mul_1.S: Likewise.
1531 * sysdeps/x86_64/rshift.S: Likewise.
1532 * sysdeps/x86_64/sub_n.S: Likewise.
1533 * sysdeps/x86_64/submul_1.S: Likewise.
1535 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
1537 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
1538 Define __sched_param instead of SCHED_* and sched_param when
1539 <bits/sched.h> is included with __need_schedparam defined.
1540 * bits/sched.h [__need_schedparam]
1541 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
1542 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
1543 (__defined_schedparam): Define to 1.
1544 (__sched_param): New structure, identical to sched_param.
1545 (__need_schedparam): Undefine.
1547 2010-08-31 Mike Frysinger <vapier@gentoo.org>
1549 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
1550 (epoll_create1): Declare.
1552 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
1554 2010-08-31 Andreas Schwab <schwab@redhat.com>
1557 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
1558 shifting retval into place.
1560 2010-09-01 Ulrich Drepper <drepper@redhat.com>
1562 * nis/rpcsvc/nis.h: Update copyright notice.
1563 * nis/rpcsvc/nis.x: Likewise.
1564 * nis/rpcsvc/nis_callback.h: Likewise.
1565 * nis/rpcsvc/nis_callback.x: Likewise.
1566 * nis/rpcsvc/nis_object.x: Likewise.
1567 * nis/rpcsvc/nis_tags.h: Likewise.
1568 * nis/rpcsvc/yp.h: Likewise.
1569 * nis/rpcsvc/yp.x: Likewise.
1570 * nis/rpcsvc/ypupd.h: Likewise.
1571 * nis/yp_xdr.c: Likewise.
1572 * nis/ypupdate_xdr.c: Likewise.
1574 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
1575 mainly the body of pmap_getport. Add parameters to specify timeouts.
1576 (pmap_getport): Use __libc_rpc_getport.
1577 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
1578 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
1579 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
1581 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
1586 2010-08-27 Roland McGrath <roland@redhat.com>
1588 * sysdeps/i386/i686/multiarch/Makefile
1589 (CFLAGS-varshift.c): New variable.
1591 2010-08-27 Ulrich Drepper <drepper@redhat.com>
1593 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
1594 * sysdeps/i386/i686/multiarch/varshift.c: New file.
1596 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
1598 * sysdeps/x86_64/strlen.S: Minimal code improvement.
1600 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
1602 * sysdeps/x86_64/strlen.S: Unroll the loop.
1603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1604 strlen-sse2 strlen-sse2-bsf.
1605 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
1606 __strlen_no_bsf if bit_Slow_BSF is set.
1607 (__strlen_sse42): Removed.
1608 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
1609 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
1611 2010-08-25 Roland McGrath <roland@redhat.com>
1613 * sysdeps/x86_64/multiarch/varshift.S: File removed.
1614 * sysdeps/x86_64/multiarch/varshift.c: New file.
1615 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
1616 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
1617 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
1618 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1620 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
1622 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1623 strlen-sse2 strlen-sse2-bsf.
1624 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
1625 __strlen_sse2_bsf if bit_Slow_BSF is unset.
1626 (__strlen_sse2): Removed.
1627 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
1628 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
1629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1630 bit_Slow_BSF for Atom.
1631 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
1632 (index_Slow_BSF): Define.
1633 (HAS_SLOW_BSF): Define.
1635 2010-08-25 Ulrich Drepper <drepper@redhat.com>
1638 * resolv/res_init.c (__res_vinit): When no server address at all
1639 is given default to loopback.
1641 2010-08-24 Roland McGrath <roland@redhat.com>
1643 * configure.in: Remove config-name.h generation.
1644 * configure: Regenerated.
1645 * config-name.in: File removed.
1646 * scripts/config-uname.sh: New file.
1647 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
1648 ($(objdir)config-name.h): New target.
1650 * sunrpc/rpc_parse.h: Avoid nested comment.
1652 2010-08-24 Richard Henderson <rth@redhat.com>
1653 Ulrich Drepper <drepper@redhat.com>
1654 H.J. Lu <hongjiu.lu@intel.com>
1656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
1657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
1658 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
1659 Replace _mm_srli_si128 with __m128i_shift_right. Replace
1660 _mm_alignr_epi8 with _mm_loadu_si128.
1661 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
1662 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
1663 (__m128i_shift_right): Removed.
1664 * sysdeps/i386/i686/multiarch/varshift.h: New file.
1665 * sysdeps/i386/i686/multiarch/varshift.S: New file.
1666 * sysdeps/x86_64/multiarch/varshift.h: New file.
1667 * sysdeps/x86_64/multiarch/varshift.S: New file.
1669 2010-08-21 Mike Frysinger <vapier@gentoo.org>
1671 * configure.in: Move assembler checks to before sysdep dir checking.
1673 2010-08-20 Petr Baudis <pasky@suse.cz>
1675 * LICENSES: Sync the sunrpc license.
1677 2010-08-19 Ulrich Drepper <drepper@redhat.com>
1679 * sunrpc/auth_des.c: Update copyright notice once again.
1680 * sunrpc/auth_none.c: Likewise.
1681 * sunrpc/auth_unix.c: Likewise.
1682 * sunrpc/authdes_prot.c: Likewise.
1683 * sunrpc/authuxprot.c: Likewise.
1684 * sunrpc/bindrsvprt.c: Likewise.
1685 * sunrpc/clnt_gen.c: Likewise.
1686 * sunrpc/clnt_perr.c: Likewise.
1687 * sunrpc/clnt_raw.c: Likewise.
1688 * sunrpc/clnt_simp.c: Likewise.
1689 * sunrpc/clnt_tcp.c: Likewise.
1690 * sunrpc/clnt_udp.c: Likewise.
1691 * sunrpc/clnt_unix.c: Likewise.
1692 * sunrpc/des_crypt.c: Likewise.
1693 * sunrpc/des_soft.c: Likewise.
1694 * sunrpc/get_myaddr.c: Likewise.
1695 * sunrpc/getrpcport.c: Likewise.
1696 * sunrpc/key_call.c: Likewise.
1697 * sunrpc/key_prot.c: Likewise.
1698 * sunrpc/openchild.c: Likewise.
1699 * sunrpc/pm_getmaps.c: Likewise.
1700 * sunrpc/pm_getport.c: Likewise.
1701 * sunrpc/pmap_clnt.c: Likewise.
1702 * sunrpc/pmap_prot.c: Likewise.
1703 * sunrpc/pmap_prot2.c: Likewise.
1704 * sunrpc/pmap_rmt.c: Likewise.
1705 * sunrpc/rpc/auth.h: Likewise.
1706 * sunrpc/rpc/auth_unix.h: Likewise.
1707 * sunrpc/rpc/clnt.h: Likewise.
1708 * sunrpc/rpc/des_crypt.h: Likewise.
1709 * sunrpc/rpc/key_prot.h: Likewise.
1710 * sunrpc/rpc/netdb.h: Likewise.
1711 * sunrpc/rpc/pmap_clnt.h: Likewise.
1712 * sunrpc/rpc/pmap_prot.h: Likewise.
1713 * sunrpc/rpc/pmap_rmt.h: Likewise.
1714 * sunrpc/rpc/rpc.h: Likewise.
1715 * sunrpc/rpc/rpc_des.h: Likewise.
1716 * sunrpc/rpc/rpc_msg.h: Likewise.
1717 * sunrpc/rpc/svc.h: Likewise.
1718 * sunrpc/rpc/svc_auth.h: Likewise.
1719 * sunrpc/rpc/types.h: Likewise.
1720 * sunrpc/rpc/xdr.h: Likewise.
1721 * sunrpc/rpc_clntout.c: Likewise.
1722 * sunrpc/rpc_cmsg.c: Likewise.
1723 * sunrpc/rpc_common.c: Likewise.
1724 * sunrpc/rpc_cout.c: Likewise.
1725 * sunrpc/rpc_dtable.c: Likewise.
1726 * sunrpc/rpc_hout.c: Likewise.
1727 * sunrpc/rpc_main.c: Likewise.
1728 * sunrpc/rpc_parse.c: Likewise.
1729 * sunrpc/rpc_parse.h: Likewise.
1730 * sunrpc/rpc_prot.c: Likewise.
1731 * sunrpc/rpc_sample.c: Likewise.
1732 * sunrpc/rpc_scan.c: Likewise.
1733 * sunrpc/rpc_scan.h: Likewise.
1734 * sunrpc/rpc_svcout.c: Likewise.
1735 * sunrpc/rpc_tblout.c: Likewise.
1736 * sunrpc/rpc_util.c: Likewise.
1737 * sunrpc/rpc_util.h: Likewise.
1738 * sunrpc/rpcinfo.c: Likewise.
1739 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
1740 * sunrpc/rpcsvc/key_prot.x: Likewise.
1741 * sunrpc/rpcsvc/klm_prot.x: Likewise.
1742 * sunrpc/rpcsvc/mount.x: Likewise.
1743 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
1744 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
1745 * sunrpc/rpcsvc/rex.x: Likewise.
1746 * sunrpc/rpcsvc/rstat.x: Likewise.
1747 * sunrpc/rpcsvc/rusers.x: Likewise.
1748 * sunrpc/rpcsvc/sm_inter.x: Likewise.
1749 * sunrpc/rpcsvc/spray.x: Likewise.
1750 * sunrpc/rpcsvc/yppasswd.x: Likewise.
1751 * sunrpc/rtime.c: Likewise.
1752 * sunrpc/svc.c: Likewise.
1753 * sunrpc/svc_auth.c: Likewise.
1754 * sunrpc/svc_authux.c: Likewise.
1755 * sunrpc/svc_raw.c: Likewise.
1756 * sunrpc/svc_run.c: Likewise.
1757 * sunrpc/svc_simple.c: Likewise.
1758 * sunrpc/svc_tcp.c: Likewise.
1759 * sunrpc/svc_udp.c: Likewise.
1760 * sunrpc/svc_unix.c: Likewise.
1761 * sunrpc/svcauth_des.c: Likewise.
1762 * sunrpc/xcrypt.c: Likewise.
1763 * sunrpc/xdr.c: Likewise.
1764 * sunrpc/xdr_array.c: Likewise.
1765 * sunrpc/xdr_float.c: Likewise.
1766 * sunrpc/xdr_mem.c: Likewise.
1767 * sunrpc/xdr_rec.c: Likewise.
1768 * sunrpc/xdr_ref.c: Likewise.
1769 * sunrpc/xdr_sizeof.c: Likewise.
1770 * sunrpc/xdr_stdio.c: Likewise.
1772 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
1775 2010-08-19 Andreas Schwab <schwab@redhat.com>
1777 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
1779 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
1781 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
1782 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
1783 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
1784 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
1785 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
1786 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
1787 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
1788 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
1789 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
1790 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
1791 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
1792 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
1793 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
1794 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
1796 2010-07-26 Anton Blanchard <anton@samba.org>
1798 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
1799 * malloc/arena.c (heap_trim): Likewise.
1801 2010-08-16 Ulrich Drepper <drepper@redhat.com>
1803 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
1805 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
1806 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
1808 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
1810 * sysdeps/i386/elf/Makefile: New file.
1812 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
1814 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
1816 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1817 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1819 2010-08-15 Ulrich Drepper <drepper@redhat.com>
1821 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
1823 * sysdeps/multiarch/strcmp.S: Likewise.
1825 2010-08-14 Ulrich Drepper <drepper@redhat.com>
1827 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1828 strncase_l-nonascii.
1829 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1830 Add strncase_l-ssse3.
1831 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
1832 * sysdeps/x86_64/strcmp.S: Likewise.
1833 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
1834 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
1835 * sysdeps/x86_64/strncase.S: New file.
1836 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
1837 * sysdeps/x86_64/strncase_l.S: New file.
1838 * string/Makefile (strop-tests): Add strncasecmp.
1839 * string/test-strncasecmp.c: New file.
1841 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
1844 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
1845 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
1847 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
1849 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
1851 2010-08-12 Ulrich Drepper <drepper@redhat.com>
1853 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
1854 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1855 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1857 2010-05-01 Alan Modra <amodra@gmail.com>
1859 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
1860 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
1861 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
1862 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
1863 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
1864 tidying. Don't tail-call __sigjmp_save for static lib.
1865 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
1867 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
1868 (CALL_MCOUNT): Add eh info, and nop after bl.
1869 (TAIL_CALL_SYSCALL_ERROR): New macro.
1870 (PSEUDO_RET): Use it.
1871 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1872 Correct save location of integer regs and cr.
1873 (_dl_profile_resolve): Correct cr save location. Delete nops
1874 after bl when SHARED. Reduce cfi size a little by better
1875 placement of cfi directives.
1876 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
1877 make a stack frame. Instead use parm save area as a temp.
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
1879 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
1880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1881 Don't make a stack frame for parent, use parm save area.
1882 Increase child stack frame to 112 bytes. Don't save unused reg,
1883 and adjust reg usage. Set up cfi on error recovery and
1884 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
1885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1886 (__makecontext): Add dummy nop after jump to exit.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
1888 Use correct parm save area and cr save, reduce stack frame.
1889 Correct cfi for possible PSEUDO_RET frame setup.
1890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
1891 Branch to local label emitted by PSEUDO_RET rather than
1894 2010-08-12 Andreas Schwab <schwab@redhat.com>
1897 * locale/programs/locale.c (print_assignment): New function.
1898 (show_locale_vars): Use it.
1900 2010-08-11 Ulrich Drepper <drepper@redhat.com>
1902 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
1904 (struct statfs64): Likewise.
1905 (_STATFS_F_FLAGS): Define.
1906 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
1907 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1908 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
1909 (ST_VALID): Define locally.
1910 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
1911 __statvfs_getflags, use the provided value.
1912 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1913 __ASSUME_STATFS_F_FLAGS.
1915 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
1917 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
1919 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
1920 fanotify_mask for GLIBC_2.13.
1921 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
1922 fanotify_init and fanotify_mark.
1923 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1924 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
1926 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
1928 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
1929 prlimit64 for GLIBC_2.13.
1930 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
1932 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1935 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1936 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
1937 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
1938 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
1940 * sysdeps/unix/sysv/linux/prlimit.c: New file.
1943 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
1944 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
1946 * nss/Makefile: Add rules to build and run tst-nss-test1.
1947 * shlib-versions: Add entry for libnss_test1.
1948 * nss/nss_test1.c: New file.
1949 * nss/tst-nss-test1.c: New file.
1951 * nss/nsswitch.c (__nss_database_custom): Define new variable.
1952 (__nss_configure_lookup): Set appropriate entry in
1953 __nss_configure_lookup to true.
1954 * nss/nsswitch.h: Define enum with indeces of databases in
1955 databases and __nss_database_custom arrays. Declare
1956 __nss_database_custom.
1957 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
1958 to avoid using nscd when custom rules are installed.
1959 * nss/getXXbyYY_r.c: Likewise.
1960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1962 * nss/nss_files/files-parse.c: Whitespace fixes.
1964 2010-08-09 Ulrich Drepper <drepper@redhat.com>
1967 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
1968 * posix/fnmatch_loop.c: Likewise.
1970 2010-07-17 Andi Kleen <ak@linux.intel.com>
1972 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
1973 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
1974 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
1975 * Versions.def [GLIBC_2.13]: Add.
1977 2010-08-06 Ulrich Drepper <drepper@redhat.com>
1979 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1980 Also fail if tpwd after pwuid call is NULL.
1982 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
1984 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
1985 when converting to ms.
1987 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1989 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
1990 EOPNOTSUPP errors with ENOTTY.
1991 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
1992 EOPNOTSUPP errors with ENOTTY.
1994 2010-07-31 Ulrich Drepper <drepper@redhat.com>
1996 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1997 Add strcasecmp_l-ssse3.
1998 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
2000 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
2001 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
2002 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
2004 2010-07-30 Ulrich Drepper <drepper@redhat.com>
2006 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
2008 * string/Makefile (strop-tests): Add strcasecmp.
2009 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
2010 strcasecmp_l-nonascii.
2011 (gen-as-const-headers): Add locale-defines.sym.
2012 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
2013 * sysdeps/x86_64/strcasecmp.S: New file.
2014 * sysdeps/x86_64/strcasecmp_l.S: New file.
2015 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
2016 * sysdeps/x86_64/locale-defines.sym: New file.
2017 * string/test-strcasecmp.c: New file.
2019 * string/test-strcasestr.c: Test both ends of the range of characters.
2020 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
2022 2010-07-29 Roland McGrath <roland@redhat.com>
2025 * manual/locale.texi (Yes-or-No Questions): Fix example code.
2027 2010-07-27 Ulrich Drepper <drepper@redhat.com>
2029 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
2032 2010-07-27 Andreas Schwab <schwab@redhat.com>
2034 * manual/memory.texi (Malloc Tunable Parameters): Document
2037 2010-07-26 Roland McGrath <roland@redhat.com>
2040 * configure.in (-fgnu89-inline check): Set and substitute
2041 gnu89_inline, not libc_cv_gnu89_inline.
2042 * configure: Regenerated.
2043 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
2045 2010-07-26 Ulrich Drepper <drepper@redhat.com>
2047 * string/test-strnlen.c: New file.
2048 * string/Makefile (strop-tests): Add strnlen.
2049 * string/tester.c (test_strnlen): Add a few more test cases.
2050 * string/tst-strlen.c: Better error reporting.
2052 * sysdeps/x86_64/strnlen.S: New file.
2054 2010-07-24 Ulrich Drepper <drepper@redhat.com>
2056 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
2057 lower-latency instructions.
2059 2010-07-23 Ulrich Drepper <drepper@redhat.com>
2061 * string/test-strcasestr.c: New file.
2062 * string/test-strstr.c: New file.
2063 * string/Makefile (strop-tests): Add strstr and strcasestr.
2064 * string/str-two-way.h: Don't undefine MAX.
2065 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
2067 2010-07-21 Andreas Schwab <schwab@redhat.com>
2069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2070 strcasestr-nonascii.
2071 (CFLAGS-strcasestr-nonascii.c): Define.
2072 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
2073 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
2074 Remove unused attribute.
2076 2010-07-20 Roland McGrath <roland@redhat.com>
2078 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
2079 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
2080 ld.so.cache was broken. With it, there is no way to disable dsocaps
2081 like LD_HWCAP_MASK can disable hwcaps.
2083 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2085 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
2087 2010-07-16 Ulrich Drepper <drepper@redhat.com>
2089 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
2091 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
2092 __strcasestr_sse42_nonascii.
2093 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
2094 strcasestr-nonascii.c.
2095 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
2097 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
2099 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
2100 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
2101 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
2102 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
2104 2010-07-09 Ulrich Drepper <drepper@redhat.com>
2106 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
2109 2010-07-06 Andreas Schwab <schwab@redhat.com>
2111 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
2114 2010-07-06 Ulrich Drepper <drepper@redhat.com>
2116 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
2117 _PC_PIPE_BUF using F_GETPIPE_SZ.
2119 2010-07-05 Roland McGrath <roland@redhat.com>
2121 * manual/arith.texi (Rounding Functions): Fix rint description
2122 implicit in round description.
2124 2010-07-02 Ulrich Drepper <drepper@redhat.com>
2126 * elf/Makefile: Fix linking for a few tests to make recent linker
2129 2010-06-30 Andreas Schwab <schwab@redhat.com>
2131 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2132 $(common-objpfx)libc_nonshared.a.
2134 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
2136 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
2137 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
2138 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2139 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2140 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
2141 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
2142 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2143 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
2146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
2154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
2156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
2158 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
2159 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
2160 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
2161 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
2162 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
2163 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
2164 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
2165 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
2166 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
2167 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
2168 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
2169 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
2170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
2172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
2178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
2185 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
2187 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
2188 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
2189 * string/memmove.c (memmove): Renamed to ...
2190 (MEMMOVE): ...this. Default to memmove.
2191 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
2192 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
2194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2195 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
2196 mempcpy-ssse3-back memmove-ssse3-back.
2197 * sysdeps/x86_64/multiarch/bcopy.S: New file .
2198 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
2199 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
2200 * sysdeps/x86_64/multiarch/memcpy.S: New file.
2201 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
2202 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
2203 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
2204 * sysdeps/x86_64/multiarch/memmove.c: New file.
2205 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
2206 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
2207 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
2208 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
2209 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
2210 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
2212 (index_Fast_Copy_Backward): Define.
2213 (HAS_ARCH_FEATURE): Define.
2214 (HAS_FAST_REP_STRING): Define.
2215 (HAS_FAST_COPY_BACKWARD): Define.
2217 2010-06-21 Andreas Schwab <schwab@redhat.com>
2219 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2220 Restore proper fallback handling.
2222 2010-06-19 Ulrich Drepper <drepper@redhat.com>
2225 * posix/group_member.c (__group_member): Correct checking loop.
2227 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
2228 OOM in getpwuid_r correctly. Return error number when the caller
2229 should return, otherwise -1.
2230 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
2231 call returning > 0 value.
2232 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
2234 2010-06-07 Andreas Schwab <schwab@redhat.com>
2236 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
2237 libc_nonshared.a from targets in modules-names.
2239 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
2241 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
2244 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
2246 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
2247 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
2248 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
2249 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
2251 2010-06-02 Andreas Schwab <schwab@redhat.com>
2253 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
2255 2010-06-14 Ulrich Drepper <drepper@redhat.com>
2257 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
2259 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2260 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2261 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2264 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
2266 2010-06-14 Roland McGrath <roland@redhat.com>
2268 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
2270 2010-06-07 Jakub Jelinek <jakub@redhat.com>
2272 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
2273 __REDIRECT followed by __THROW.
2274 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
2275 * posix/getopt.h (getopt): Likewise.
2277 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2279 * hurd/lookup-at.c (__file_name_lookup_at): Accept
2280 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
2281 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
2283 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
2284 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
2286 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
2288 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
2290 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
2293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2294 Properly check family and model.
2296 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
2298 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
2300 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
2302 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
2304 2010-05-21 Ulrich Drepper <drepper@redhat.com>
2306 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
2309 2010-05-19 Andreas Schwab <schwab@redhat.com>
2311 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
2314 2010-05-21 Andreas Schwab <schwab@redhat.com>
2316 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
2317 and internal_recvmmsg.
2318 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
2319 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
2320 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
2321 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
2323 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
2324 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2325 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2327 2010-05-20 Andreas Schwab <schwab@redhat.com>
2329 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
2331 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
2333 POWER7 optimizations.
2334 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
2335 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
2337 2010-05-19 Ulrich Drepper <drepper@redhat.com>
2339 * version.h: Update for 2.13 development version.
2341 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
2343 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
2344 exceptions. Return 0.
2346 2010-05-07 Roland McGrath <roland@redhat.com>
2348 * elf/ldconfig.c (main): Add a const.
2350 2010-05-06 Ulrich Drepper <drepper@redhat.com>
2352 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
2353 (args_options): Add no-idn option.
2354 (ahosts_keys_int): Add idn_flags to ai_flags.
2355 (parse_option): Handle 'i' option to clear idn_flags.
2357 * malloc/malloc.c (_int_free): Possible race in the most recently
2358 added check. Only act on the data if no current modification
2361 See ChangeLog.17 for earlier changes.