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.
33 * locale/C-translit.h.in: Add U20A1 transliteration.
36 * locale/iso-639.def: Add wae entry.
37 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44 * locale/C-translit.h.in: Add entry for U20B9.
45 Patch by pravin.d.s@gmail.com.
47 2011-05-08 Ulrich Drepper <drepper@gmail.com>
50 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51 ENAMETOOLONG use generic getcwd.
52 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
57 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63 * dirent/rewinddir.c: Add libc_hidden_def.
64 * sysdeps/mach/hurd/rewinddir.c: Likewise.
65 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
67 * include/dirent.h (__alloc_dir): Add flags parameter.
68 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
72 from fdopendir if O_CLOEXEC is already set.
74 2011-03-15 Alan Modra <amodra@gmail.com>
76 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77 l_tls_firstbyte_offset non-zero. Save padding offset in
78 l_tls_firstbyte_offset for later use.
79 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
80 freeing static tls block.
82 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
84 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
85 where #ifdef was intended. The intent is to prevent ARG_MAX from
86 being defined by the kernel headers.
88 2011-05-07 Ulrich Drepper <drepper@gmail.com>
91 * resolv/resolv.h: Define RES_NOTLDQUERY.
92 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
93 no-tld-query and set RES_NOTLDQUERY.
94 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
95 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
96 modern BIND to search name as TLD unless forbidden.
98 2011-05-07 Petr Baudis <pasky@suse.cz>
99 Ulrich Drepper <drepper@gmail.com>
102 * elf/dl-load.c (fillin_rpath): Move trusted path check...
103 (is_trusted_path): ...to here.
104 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
105 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
106 using is_trusted_path_normalize() in setuid scripts.
108 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
110 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
113 2011-05-06 Ulrich Drepper <drepper@gmail.com>
115 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
116 NSS_STATUS_NOTFOUND if no record was found.
118 2011-05-05 Andreas Schwab <schwab@redhat.com>
120 * sunrpc/Makefile (headers): Add rpc/netdb.h.
121 (headers-not-in-tirpc): Remove rpc/netdb.h
122 * resolv/netdb.h: Revert last change.
124 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
126 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
127 circular dependency between libgcc.a and libc.a.
129 2011-05-05 Andreas Schwab <schwab@redhat.com>
131 * resolv/netdb.h: Don't include <rpc/netdb.h>.
132 * nis/Makefile: Don't install rpcsvc/*.
133 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
134 instead of <rpc/types.h>.
135 (MAXHOSTNAMELEN): Define.
137 2011-05-03 Andreas Schwab <schwab@redhat.com>
139 * elf/ldconfig.c (add_dir): Don't crash on empty path.
141 2011-04-28 Maciej Babinski <mbabinski@google.com>
144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
145 gethostbyname4_r when IPv6 results are possible.
147 2011-05-02 Ulrich Drepper <drepper@gmail.com>
150 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
151 _PC_PIPE_BUF handling.
153 2011-04-30 Bruno Haible <bruno@clisp.org>
156 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
157 * resolv/netdb.h (getnameinfo): Change type of flags parameter
159 * inet/getnameinfo.c (getnameinfo): Likewise.
161 2011-04-29 Ulrich Drepper <drepper@gmail.com>
163 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
164 to groups setting in database lookup.
165 * nss/nsswitch.conf: Add initgroups entry.
167 2011-04-22 Ulrich Drepper <drepper@gmail.com>
170 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
172 Patch by Eric Blake <eblake@redhat.com>.
174 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
176 * sunrpc/Makefile (need-export-routines): Add svc_run.
177 (routines): Remove svc_run.
178 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
179 * sunrpc/clnt_perr.c (clnt_perrno): Export.
180 * sunrpc/svc_run.c (svc_run): Likewise.
181 * sunrpc/svc_udp.c (svcudp_create): Likewise.
183 2011-04-21 Ulrich Drepper <drepper@gmail.com>
185 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
186 problem in reallocation in last patch.
188 2011-04-20 Ulrich Drepper <drepper@gmail.com>
190 * sunrpc/Makefile: Move inclusion of Rules.
192 2011-04-19 Ulrich Drepper <drepper@gmail.com>
194 * nss/nss_files/files-initgroups.c: New file.
195 * nss/Makefile (libnss_files-routines): Add files-initgroups.
196 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
197 _nss_files_initgroups_dyn.
199 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
201 * elf/elf.h (R_ARM_IRELATIVE): Define.
203 2011-04-19 Ulrich Drepper <drepper@gmail.com>
205 * po/ru.po: Update from translation team.
207 2011-04-17 Ulrich Drepper <drepper@gmail.com>
209 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
212 2011-02-06 Mike Frysinger <vapier@gentoo.org>
215 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
216 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
217 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
218 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
219 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
221 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
223 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
225 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
226 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
227 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
229 2011-04-17 Ulrich Drepper <drepper@gmail.com>
232 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
234 * stdlib/bug-getcontext.c: New file.
235 * stdlib/Makefile: Add rules to build and run bug-getcontext.
237 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
239 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
240 instructions into .machine "z9-109".
241 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
242 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
244 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
246 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
247 between environment variables and auxiliary vector.
249 2011-04-16 Ulrich Drepper <drepper@gmail.com>
251 * Makefile: Add rules to build linkobj/libc.so.
252 * include/libc-symbols.h: Define libc_hidden_nolink.
253 * include/rpc/auth.h: Mark functions which are to be hidden.
254 * include/rpc/auth_des.h: Likewise.
255 * include/rpc/auth_unix.h: Likewise.
256 * include/rpc/clnt.h: Likewise.
257 * include/rpc/des_crypt.h: Likewise.
258 * include/rpc/key_prot.h: Likewise.
259 * include/rpc/pmap_clnt.h: Likewise.
260 * include/rpc/pmap_prot.h: Likewise.
261 * include/rpc/pmap_rmt.h: Likewise.
262 * include/rpc/rpc_msg.h: Likewise.
263 * include/rpc/svc.h: Likewise.
264 * include/rpc/svc_auth.h: Likewise.
265 * include/rpc/xdr.h: Likewise.
266 * nis/Makefile: Link all DSOs against linkobj/libc.so.
267 * nss/Makefile: Likewise.
268 * sunrpc/Makefile: Don't install headers. Build library with normal
269 entry points. Don't build rpcinfo. Link RPC tests appropriately.
270 * sunrpc/auth_des.c: Hide exported symbols by default, export some
271 for the compat linking library. Remove use of INTDEF/INTUSE.
272 * sunrpc/auth_none.c: Likewise.
273 * sunrpc/auth_unix.c: Likewise.
274 * sunrpc/authdes_prot.c: Likewise.
275 * sunrpc/authuxprot.c: Likewise.
276 * sunrpc/clnt_gen.c: Likewise.
277 * sunrpc/clnt_perr.c: Likewise.
278 * sunrpc/clnt_raw.c: Likewise.
279 * sunrpc/clnt_simp.c: Likewise.
280 * sunrpc/clnt_tcp.c: Likewise.
281 * sunrpc/clnt_udp.c: Likewise.
282 * sunrpc/clnt_unix.c: Likewise.
283 * sunrpc/des_crypt.c: Likewise.
284 * sunrpc/des_soft.c: Likewise.
285 * sunrpc/get_myaddr.c: Likewise.
286 * sunrpc/key_call.c: Likewise.
287 * sunrpc/key_prot.c: Likewise.
288 * sunrpc/netname.c: Likewise.
289 * sunrpc/pm_getmaps.c: Likewise.
290 * sunrpc/pm_getport.c: Likewise.
291 * sunrpc/pmap_clnt.c: Likewise.
292 * sunrpc/pmap_prot.c: Likewise.
293 * sunrpc/pmap_prot2.c: Likewise.
294 * sunrpc/pmap_rmt.c: Likewise.
295 * sunrpc/publickey.c: Likewise.
296 * sunrpc/rpc_cmsg.c: Likewise.
297 * sunrpc/rpc_common.c: Likewise.
298 * sunrpc/rpc_dtable.c: Likewise.
299 * sunrpc/rpc_prot.c: Likewise.
300 * sunrpc/rpc_thread.c: Likewise.
301 * sunrpc/rtime.c: Likewise.
302 * sunrpc/svc.c: Likewise.
303 * sunrpc/svc_auth.c: Likewise.
304 * sunrpc/svc_authux.c: Likewise.
305 * sunrpc/svc_raw.c: Likewise.
306 * sunrpc/svc_run.c: Likewise.
307 * sunrpc/svc_simple.c: Likewise.
308 * sunrpc/svc_tcp.c: Likewise.
309 * sunrpc/svc_udp.c: Likewise.
310 * sunrpc/svc_unix.c: Likewise.
311 * sunrpc/svcauth_des.c: Likewise.
312 * sunrpc/xcrypt.c: Likewise.
313 * sunrpc/xdr.c: Likewise.
314 * sunrpc/xdr_array.c: Likewise.
315 * sunrpc/xdr_float.c: Likewise.
316 * sunrpc/xdr_intXX_t.c: Likewise.
317 * sunrpc/xdr_mem.c: Likewise.
318 * sunrpc/xdr_rec.c: Likewise.
319 * sunrpc/xdr_ref.c: Likewise.
320 * sunrpc/xdr_sizeof.c: Likewise.
321 * sunrpc/xdr_stdio.c: Likewise.
323 2011-04-10 Ulrich Drepper <drepper@gmail.com>
326 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
327 * sysdeps/ia64/dl-tls.h: Likewise.
328 * sysdeps/powerpc/dl-tls.h: Likewise.
329 * sysdeps/s390/dl-tls.h: Likewise.
330 * sysdeps/sh/dl-tls.h: Likewise.
331 * sysdeps/sparc/dl-tls.h: Likewise.
332 * sysdeps/x86_64/dl-tls.h: Likewise.
333 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
335 2011-03-14 Andreas Schwab <schwab@redhat.com>
337 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
338 rpath element also skip the following colon.
339 (expand_dynamic_string_token): Add is_path parameter and pass
340 down to DL_DST_REQUIRED and _dl_dst_substitute.
341 (decompose_rpath): Call expand_dynamic_string_token with
342 non-zero is_path. Ignore empty rpaths.
343 (_dl_map_object_from_fd): Call expand_dynamic_string_token
346 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
351 2011-04-09 Ulrich Drepper <drepper@gmail.com>
354 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
355 Patch by Filipe David Manana <fdmanana@apache.org>.
357 2011-04-07 Andreas Schwab <schwab@redhat.com>
359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
360 Maintain aligned stack.
361 (CHECK_RSP): Remove unused macro.
363 2011-04-03 Ulrich Drepper <drepper@gmail.com>
365 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
366 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
368 2011-04-02 Ulrich Drepper <drepper@gmail.com>
370 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
372 * include/features.h: Mention __USE_XOPEN2K8 in comment.
374 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
377 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
378 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
379 * sysdeps/x86_64/memmove.c: New file.
380 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
381 (memcpy): Renamed to ...
382 (__new_memcpy): This.
383 (memcpy): Provide GLIBC_2_14 memcpy.
384 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
385 (memcpy): Provide GLIBC_2_2_5 memcpy.
387 2011-04-01 Ulrich Drepper <drepper@gmail.com>
390 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
392 2011-03-30 Andreas Schwab <schwab@redhat.com>
394 * misc/syncfs.c: New file.
395 * misc/Makefile (routines): Add syncfs.
396 * posix/unistd.h: Declare syncfs.
397 * sysdeps/unix/syscalls.list: Add syncfs.
399 2011-04-01 Andreas Schwab <schwab@redhat.com>
401 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
403 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
404 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
405 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
406 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
408 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
409 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
411 2011-04-01 Ulrich Drepper <drepper@gmail.com>
413 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
414 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
415 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
416 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
417 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
419 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
421 * io/Makefile: Compile fallocate.c, fallocate64.c, and
422 sync_file_range.c with -fexceptions.
423 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
424 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
425 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
426 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
427 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
428 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
429 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
430 sync_file_range as cancellation point
431 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
432 now a wrapper around __call_sync_file_range with cancellation handling.
433 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
434 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
435 function name to __call_sync_file_range.
436 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
437 Add call_sync_file_range.
439 2011-04-01 Andreas Schwab <schwab@redhat.com>
441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
444 2011-04-01 Ulrich Drepper <drepper@gmail.com>
446 * iconv/iconv.h: Fix typo in comment.
447 * io/fcntl.h: Likewise.
448 * libio/stdio.h: Likewise.
449 * posix/spawn.h: Likewise.
450 * posix/unistd.h: Likewise.
451 * stdlib/stdlib.h: Likewise.
452 * time/time.h: Likewise.
453 * wcsmbs/wchar.h: Likewise.
455 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
456 open_by_handle): Add.
457 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
458 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
459 Augment a few comments.
460 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
461 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
462 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
464 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
465 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
468 * io/fcntl.h (AT_EMPTY_PATH): Define.
470 2011-03-30 Ulrich Drepper <drepper@gmail.com>
472 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
473 * sysdeps/unix/sysv/linux/bits/time.h: New file.
474 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
476 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
477 * Versions.def: Add GLIBC_2.14.
478 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
481 2011-03-22 Ulrich Drepper <drepper@gmail.com>
483 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
485 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
487 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
490 * string/test-strncmp.c (do_page_test): New function.
492 (test_main): Call check2.
493 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
495 2011-03-20 Ulrich Drepper <drepper@gmail.com>
498 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
499 Handle cache information in CPU leaf 4.
500 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
502 2011-03-18 Ulrich Drepper <drepper@gmail.com>
505 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
506 character representation.
507 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
509 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
511 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
512 END(__isnan) to END(__isnanf) to match function entry point/label
513 EALIGN(__isnanf,...).
515 2011-03-10 Jakub Jelinek <jakub@redhat.com>
517 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
519 2011-03-10 Ulrich Drepper <drepper@gmail.com>
522 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
523 copy from the symbol referenced in the relocation to initialize the
525 Patch by Piotr Bury <pbury@goahead.com>.
526 * elf/Makefile: Add rules to build and tst-unique3.
527 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
528 * elf/tst-unique3.cc: New file.
529 * elf/tst-unique3.h: New file.
530 * elf/tst-unique3lib.cc: New file.
531 * elf/tst-unique3lib2.cc: New file.
533 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
535 2011-03-10 Mike Frysinger <vapier@gentoo.org>
537 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
538 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
541 2011-03-06 Ulrich Drepper <drepper@gmail.com>
543 * elf/dl-load.c (_dl_map_object): If we are looking for the first
544 to-be-loaded object along a path to loader is ld.so.
546 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
547 Ulrich Drepper <drepper@gmail.com>
549 * sysdeps/x86_64/memset.S: After aligning destination, code
550 branches to different locations depending on the value of
551 misalignment, when multiarch is enabled. Fix this.
553 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
555 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
556 Set _x86_64_preferred_memory_instruction for AMD processsors.
557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
558 Set bit_Prefer_SSE_for_memop for AMD processors.
560 2011-03-04 Ulrich Drepper <drepper@gmail.com>
562 * libio/fmemopen.c (fmemopen): Optimize a bit.
564 2011-03-03 Andreas Schwab <schwab@redhat.com>
566 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
568 2011-03-03 Roland McGrath <roland@redhat.com>
570 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
572 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
574 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
575 __bzero_ultra1 instead of __memset_ultra1.
577 2011-02-23 Andreas Schwab <schwab@redhat.com>
578 Ulrich Drepper <drepper@gmail.com>
581 * include/link.h (struct link_map): Add l_orig_initfini.
582 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
583 returning unsuccessfully.
584 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
585 close of a file loaded at startup, restore the original l_initfini
587 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
588 list, store the pointer.
589 * elf/Makefile ($(objpfx)noload-mem): New rule.
590 (noload-ENV): Define.
591 (tests): Add $(objpfx)noload-mem.
592 * elf/noload.c: Include <memcheck.h>.
593 (main): Call mtrace. Close all opened handles.
595 2011-02-17 Andreas Schwab <schwab@redhat.com>
598 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
599 dependencies are missing.
601 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
603 Fix __if_freereq crash: Unlike the generic version which uses free,
605 * sysdeps/mach/hurd/ifreq.h: New file.
607 2011-01-27 Petr Baudis <pasky@suse.cz>
608 Ulrich Drepper <drepper@gmail.com>
611 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
613 * stdio-common/bug23.c: New file.
614 * stdio-common/Makefile (tests): Add bug23.
616 2010-09-28 Andreas Schwab <schwab@redhat.com>
617 Ulrich Drepper <drepper@gmail.com>
620 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
621 before performing relro protection. At old place add assertion
622 to make sure nothing changed.
624 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
625 Glauber de Oliveira Costa <glommer@gmail.com>
627 * elf/elf.h: Add new ARM TLS relocs.
629 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
632 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
634 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
636 * sysdeps/wordsize-64/tst-writev.c: New file.
638 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
640 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
641 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
642 insns in _dl_start to prevent a TOC reference before relocs are
645 2011-02-15 Ulrich Drepper <drepper@gmail.com>
648 * Makeconfig: Remove RANLIB definition.
649 * Makerules: Don't use RANLIB.
650 * aclocal.m4: Remove ranlib test.
651 * configure.in: No need to check for ranlib.
652 * elf/rtld-Rules: Don't use RANLIB.
654 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
656 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
658 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
659 inclusion protection macro.
661 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
662 SIGRTMIN and SIGRTMAX and print information in that case only when
665 2011-02-11 Jakub Jelinek <jakub@redhat.com>
667 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
668 arginfo fn returning -1.
670 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
671 and thousands string is zero terminated.
673 2011-02-03 Andreas Schwab <schwab@redhat.com>
675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
676 sysdeps/unix/sysv/linux/bits/socket.h.
678 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
680 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
681 (__CPU_COUNT): Remove old macros.
682 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
683 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
684 (__CPU_ALLOC, __CPU_FREE): Add macros.
685 (__sched_cpualloc, __sched_cpufree): Add declarations.
687 2011-02-05 Ulrich Drepper <drepper@gmail.com>
689 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
690 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
691 * nscd/aicache.c (addhstaiX): Return timeout of added value.
692 (readdhstai): Return value of addhstaiX call.
693 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
694 (addgrbyX): Return value returned by cache_addgr.
695 (readdgrbyname): Return value returned by addgrbyX.
696 (readdgrbygid): Likewise.
697 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
698 (addpwbyX): Return value returned by cache_addpw.
699 (readdpwbyname): Return value returned by addhstbyX.
700 (readdpwbyuid): Likewise.
701 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
702 (addservbyX): Return value returned by cache_addserv.
703 (readdservbyname): Return value returned by addservbyX:
704 (readdservbyport): Likewise.
705 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
706 (addhstbyX): Return value returned by cache_addhst.
707 (readdhstbyname): Return value returned by addhstbyX.
708 (readdhstbyaddr): Likewise.
709 (readdhstbynamev6): Likewise.
710 (readdhstbyaddrv6): Likewise.
711 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
712 (readdinitgroups): Return value returned by addinitgroupsX.
713 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
714 (prune_cache): Keep track of timeout value of re-added entries.
715 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
716 * nscd/nscd.h: Adjust prototypes of readd* functions.
718 2011-02-04 Roland McGrath <roland@redhat.com>
720 * nis/nis_server.c (nis_servstate): Use the right name for 0.
721 (nis_stats): Likewise.
722 * nis/nis_modify.c (nis_modify): Likewise.
723 * nis/nis_remove.c (nis_remove): Likewise.
724 * nis/nis_add.c (nis_add): Likewise.
726 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
728 * posix/fnmatch_loop.c: Add some consts.
730 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
732 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
735 * config.make.in (config-cflags-novzeroupper): Define.
736 * configure.in: Substitute libc_cv_cc_novzeroupper.
737 * elf/Makefile (AVX-CFLAGS): Define.
738 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
739 (CFLAGS-tst-auditmod4a.c): Likewise.
740 (CFLAGS-tst-auditmod4b.c): Likewise.
741 (CFLAGS-tst-auditmod6b.c): Likewise.
742 (CFLAGS-tst-auditmod6c.c): Likewise.
743 (CFLAGS-tst-auditmod7b.c): Likewise.
744 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
746 2011-02-02 Ulrich Drepper <drepper@gmail.com>
748 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
749 function to the callback.
750 Patch partly by Jiri Olsa <jolsa@redhat.com>.
752 2011-02-02 Andreas Schwab <schwab@redhat.com>
754 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
757 2011-01-19 Ulrich Drepper <drepper@gmail.com>
760 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
762 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
764 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
767 * elf/Makefile: Add rules to build and run new test.
768 * elf/tst-initorder.c: New file.
769 * elf/tst-initorder.exp: New file.
770 * elf/tst-initordera1.c: New file.
771 * elf/tst-initordera2.c: New file.
772 * elf/tst-initordera3.c: New file.
773 * elf/tst-initordera4.c: New file.
774 * elf/tst-initorderb1.c: New file.
775 * elf/tst-initorderb2.c: New file.
776 * elf/tst-order-a1.c: New file.
777 * elf/tst-order-a2.c: New file.
778 * elf/tst-order-a3.c: New file.
779 * elf/tst-order-a4.c: New file.
780 * elf/tst-order-b1.c: New file.
781 * elf/tst-order-b2.c: New file.
782 * elf/tst-order-main.c: New file.
783 New test case by George Gensure <werkt0@gmail.com>.
785 2010-10-01 Andreas Schwab <schwab@redhat.com>
787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
788 decoding ACE if AI_CANONIDN.
790 2011-01-18 Ulrich Drepper <drepper@gmail.com>
792 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
794 2011-01-17 Ulrich Drepper <drepper@gmail.com>
796 * version.h (RELEASE): Bump for 2.13 release.
797 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
799 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
801 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
803 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
804 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
805 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
806 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
807 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
808 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
810 * posix/getconf.c: Update copyright year.
811 * catgets/gencat.c: Likewise.
812 * csu/version.c: Likewise.
813 * debug/catchsegv.sh: Likewise.
814 * debug/xtrace.sh: Likewise.
815 * elf/ldconfig.c: Likewise.
816 * elf/ldd.bash.in: Likewise.
817 * elf/sprof.c (print_version): Likewise.
818 * iconv/iconv_prog.c: Likewise.
819 * iconv/iconvconfig.c: Likewise.
820 * locale/programs/locale.c: Likewise.
821 * locale/programs/localedef.c: Likewise.
822 * malloc/memusage.sh: Likewise.
823 * malloc/mtrace.pl: Likewise.
824 * nscd/nscd.c (print_version): Likewise.
825 * nss/getent.c: Likewise.
827 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
831 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
833 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
834 (modules-names): Use them.
835 (ifunc-test-modules, ifunc-pie-tests): Define.
836 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
837 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
838 (test-extras): Likewise.
839 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
840 $(compile-command.c).
841 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
842 (all-built-dso): Define.
843 (check-textrel.out, check-execstack.out): Depend on it.
845 * configure.in: Don't override --enable-multi-arch.
847 2011-01-15 Ulrich Drepper <drepper@gmail.com>
850 * nscd/hstcache.c (tryagain): Define.
851 (cache_addhst): Return tryagain not notfound for temporary errors.
852 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
855 2011-01-14 Ulrich Drepper <drepper@gmail.com>
858 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
860 * sysdeps/unix/sysv/linux/setgroups.c: New file.
863 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
864 and fall back to matching as normal character if the string ends before
865 the matching ']' is found. This is what POSIX requires.
866 * posix/testfnm.c: Adjust test result.
867 * posix/globtest.sh: Adjust test result. Add new test.
868 * posix/tst-fnmatch.input: Likewise.
869 * posix/tst-fnmatch2.c: Add new test.
871 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
873 * elf/Makefile (check-execstack): Revert last change. Depend on
875 (check-execstack.h): New target.
876 (generated): Add check-execstack.h.
877 * elf/check-execstack.c: Include "check-execstack.h".
878 (main): Revert last change.
879 (handle_file): Return zero if GNU_STACK is absent and
880 DEFAULT_STACK_PERMS doesn't include PF_X.
882 2011-01-13 Ulrich Drepper <drepper@gmail.com>
884 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
885 in child fails because the descriptor is already closed.
886 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
887 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
888 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
891 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
895 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
896 temporary buffer used to handle multi lookups locally.
897 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
899 2011-01-12 Ulrich Drepper <drepper@gmail.com>
901 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
904 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
906 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
909 2011-01-12 Ulrich Drepper <drepper@gmail.com>
912 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
913 characters. When rounding increased number of integer digits recompute
915 * stdio-common/tst-grouping.c: New file.
916 * stdio-common/Makefile: Add rules to build and run tst-grouping.
918 2011-01-09 Ulrich Drepper <drepper@gmail.com>
920 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
921 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
923 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
925 * bits/select.h: Likewise.
927 2011-01-08 Ulrich Drepper <drepper@gmail.com>
929 * po/ja.po: Update from translation team.
931 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
934 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
935 implementation just like for lxstat, fxstatat, et al.
937 2010-12-27 Jim Meyering <meyering@redhat.com>
940 * posix/regexec.c (build_trtable): Return failure indication upon
941 calloc failure. Otherwise, re_search_internal could infloop on OOM.
943 2010-12-25 Ulrich Drepper <drepper@gmail.com>
946 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
947 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
948 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
949 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
952 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
955 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
956 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
958 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
960 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
961 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
962 script has SORT_BY_INIT_PRIORITY.
963 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
964 NO_CTORS_DTORS_SECTIONS is defined.
965 * elf/soinit.c: Likewise.
966 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
967 NO_CTORS_DTORS_SECTIONS is defined.
968 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
969 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
970 * sysdeps/sh/init-first.c: Likewise.
971 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
973 2010-12-24 Ulrich Drepper <drepper@gmail.com>
975 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
976 always use the slow path.
978 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
980 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
981 similar rule which adds the sysdep directories to the header search in
982 order to pick up the correct platform stackinfo.h.
983 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
984 perform test if it is, otherwise return successfully without testing.
985 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
986 DEFAULT_STACK_PERMS define in stackinfo.h.
987 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
988 defined in stackinfo.h.
989 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
990 DEFAULT_STACK_PERMS defined in stackinfo.h.
991 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
992 * sysdeps/ia64/stackinfo.h: Likewise.
993 * sysdeps/s390/stackinfo.h: Likewise.
994 * sysdeps/sh/stackinfo.h: Likewise.
995 * sysdeps/sparc/stackinfo.h: Likewise.
996 * sysdeps/x86_64/stackinfo.h: Likewise.
997 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
998 PF_X for powerpc64. Retain PF_X for powerpc32.
1000 2010-12-19 Ulrich Drepper <drepper@gmail.com>
1002 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
1004 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
1005 GETDENTS_64BIT_ALIGNED.
1007 2010-12-14 Ulrich Drepper <dreper@gmail.com>
1009 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
1011 2010-12-10 Andreas Schwab <schwab@redhat.com>
1013 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
1016 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
1017 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
1019 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
1020 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
1022 2010-12-09 Ulrich Drepper <drepper@gmail.com>
1025 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
1028 2010-12-09 Jakub Jelinek <jakub@redhat.com>
1030 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
1032 2010-12-03 Ulrich Drepper <drepper@gmail.com>
1034 * po/it.po: Update from translation team.
1036 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
1038 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
1041 2010-11-30 Ulrich Drepper <drepper@gmail.com>
1043 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
1045 2010-11-24 Andreas Schwab <schwab@redhat.com>
1047 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
1049 (gaih_getanswer_slice): Likewise.
1051 2010-10-20 Jakub Jelinek <jakub@redhat.com>
1053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
1055 2010-05-31 Petr Baudis <pasky@suse.cz>
1058 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
1059 silently even in the chroot mode.
1061 2010-11-22 Ulrich Drepper <drepper@gmail.com>
1063 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
1064 last patch a bit. Pretty printing
1066 2010-05-31 Petr Baudis <pasky@suse.cz>
1069 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
1070 initialization of skip_initgroups_dyn.
1072 2010-11-19 Ulrich Drepper <drepper@gmail.com>
1074 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
1075 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1077 2010-11-16 Ulrich Drepper <drepper@gmail.com>
1079 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
1081 2010-11-11 Andreas Schwab <schwab@redhat.com>
1083 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
1084 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
1085 (tst-fnmatch-ENV): Set MALLOC_TRACE.
1086 ($(objpfx)tst-fnmatch-mem): New rule.
1087 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
1088 * posix/tst-fnmatch.c (main): Call mtrace.
1090 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
1092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1093 Support Intel processor model 6 and model 0x2c.
1095 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
1097 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
1100 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
1103 * string/test-strncasecmp.c (check_result): New function.
1104 (do_one_test): Use it.
1105 (check1): New function.
1106 (test_main): Use it.
1107 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
1108 Support strcasecmp and strncasecmp.
1110 2010-11-08 Ulrich Drepper <drepper@gmail.com>
1113 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
1114 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1116 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
1118 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
1120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1122 * sysdeps/x86_64/multiarch/bzero.S: New file.
1123 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
1124 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
1125 * sysdeps/x86_64/multiarch/memset.S: New file.
1126 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
1127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1128 Set bit_Prefer_SSE_for_memop for Intel processors.
1129 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
1131 (index_Prefer_SSE_for_memop): Define.
1132 (HAS_PREFER_SSE_FOR_MEMOP): Define.
1134 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
1136 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
1137 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
1139 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
1142 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1143 (__x86_64_raw_data_cache_size_half): Likewise.
1144 (__x86_64_raw_shared_cache_size): Likewise.
1145 (__x86_64_raw_shared_cache_size_half): Likewise.
1147 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1148 (__x86_64_raw_data_cache_size_half): Likewise.
1149 (__x86_64_raw_shared_cache_size): Likewise.
1150 (__x86_64_raw_shared_cache_size_half): Likewise.
1151 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
1152 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
1153 and __x86_64_raw_shared_cache_size_half. Round
1154 __x86_64_data_cache_size_half, __x86_64_data_cache_size
1155 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
1156 to multiple of 256 bytes.
1158 2010-11-03 Ulrich Drepper <drepper@gmail.com>
1161 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
1162 of inacessible symlinks. Verify result of symlink before returning it.
1163 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1164 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
1166 2010-10-28 Erich Ritz <erichritz@gmail.com>
1168 * math/math.h (isinf): Fix typo in comment.
1170 2010-11-01 Ulrich Drepper <drepper@gmail.com>
1172 * po/da.po: Update from translation team.
1174 2010-10-26 Ulrich Drepper <drepper@gmail.com>
1176 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
1177 is added to the list.
1179 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1180 Ulrich Drepper <drepper@gmail.com>
1182 * elf/dl-object.c (_dl_new_object): Don't append the new object to
1183 the global list here. Move code to...
1184 (_dl_add_to_namespace_list): ...here. New function.
1185 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
1186 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
1187 * elf/dl-load.c (lose): Don't remove the element from the list.
1188 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
1189 (_dl_map_object): Likewise.
1191 2010-10-25 Ulrich Drepper <drepper@gmail.com>
1194 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
1195 into all bytes of SSE register.
1196 Patch by Richard Li <richardpku@gmail.com>.
1198 2010-10-24 Ulrich Drepper <drepper@gmail.com>
1201 * malloc/malloc.c (_int_free): Fill correct number of bytes when
1204 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
1206 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
1207 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
1208 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
1209 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
1212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
1214 2010-10-22 Andreas Schwab <schwab@redhat.com>
1216 * include/dlfcn.h (__RTLD_SECURE): Define.
1217 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
1218 mode & __RTLD_SECURE instead.
1219 (open_path): Rename preloaded parameter to secure.
1220 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
1221 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
1222 * elf/dl-deps.c (openaux): Likewise.
1223 * elf/rtld.c (struct map_args): Remove is_preloaded.
1224 (map_doit): Don't use it.
1225 (dl_main): Likewise.
1226 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
1227 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
1229 2010-09-09 Andreas Schwab <schwab@redhat.com>
1231 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
1232 (sysd-rules-targets): Remove duplicates.
1233 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
1234 rtld-%.$o dependency.
1236 2010-10-18 Andreas Schwab <schwab@redhat.com>
1238 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
1239 _dl_map_object do it.
1241 2010-10-19 Ulrich Drepper <drepper@gmail.com>
1243 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
1244 fast fma builtins, define the macros in the C99 standard.
1245 (FP_FAST_FMAF): Likewise.
1246 (FP_FAST_FMAL): Likewise.
1247 * sysdeps/x86_64/bits/mathdef.h: Likewise.
1249 * bits/mathdef.h: Update copyright year.
1250 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1252 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
1254 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
1255 builtins, define the macros in the C99 standard.
1256 (FP_FAST_FMAF): Likewise.
1257 (FP_FAST_FMAL): Likewise.
1258 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
1260 (FP_FAST_FMAF): Likewise.
1262 2010-10-15 Jakub Jelinek <jakub@redhat.com>
1265 * math/libm-test.inc (fma_test): Some new testcases.
1266 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
1267 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
1268 y and infinite z. Do multiplication by C already in long double.
1269 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
1270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
1271 y and infinite z. Do bitwise or of inexact bit into u.d.
1272 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
1273 * sysdeps/i386/fpu/s_fmaf.S: Removed.
1274 * sysdeps/i386/fpu/s_fma.S: Removed.
1275 * sysdeps/i386/fpu/s_fmal.S: Removed.
1277 2010-10-16 Jakub Jelinek <jakub@redhat.com>
1280 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
1281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
1282 computation is not scheduled after fetestexcept. Fix value
1283 of minimum denormal long double.
1285 2010-10-14 Jakub Jelinek <jakub@redhat.com>
1288 * math/libm-test.inc (fma_test): Add some more tests.
1289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
1292 2010-10-15 Andreas Schwab <schwab@redhat.com>
1294 * scripts/data/localplt-s390-linux-gnu.data: New file.
1295 * scripts/data/localplt-s390x-linux-gnu.data: New file.
1297 2010-10-13 Jakub Jelinek <jakub@redhat.com>
1300 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
1301 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
1303 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
1305 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
1306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
1307 if one of x and y is very large and the other is subnormal.
1308 * sysdeps/s390/fpu/s_fmaf.c: New file.
1309 * sysdeps/s390/fpu/s_fma.c: New file.
1310 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
1311 * sysdeps/powerpc/fpu/s_fma.S: New file.
1312 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
1313 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
1314 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
1316 2010-10-12 Jakub Jelinek <jakub@redhat.com>
1319 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
1321 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
1322 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
1323 * sysdeps/i386/i686/multiarch/s_fma.c: Include
1324 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
1325 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
1326 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
1327 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
1329 2010-10-12 Ulrich Drepper <drepper@redhat.com>
1332 * posix/regcomp.c (parse_branch): One more memory leak plugged.
1333 * posix/bug-regex31.input: Add test case.
1335 2010-10-11 Ulrich Drepper <drepper@gmail.com>
1337 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
1338 * posix/bug-regex31.input: New file.
1341 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
1342 (parse_sub_exp): Fix last change, use postorder.
1344 * posix/bug-regex31.c: New file.
1345 * posix/Makefile: Add rules to build and run bug-regex31.
1347 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
1350 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
1353 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
1354 to have entries in sys_siglist.
1357 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
1360 2010-10-07 Jakub Jelinek <jakub@redhat.com>
1363 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
1364 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
1365 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
1366 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
1367 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1368 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
1369 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
1370 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
1371 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
1372 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
1373 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
1374 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
1375 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1376 * math/ftestexcept.c (fetestexcept): Likewise.
1377 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
1378 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1379 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1380 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
1381 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
1382 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
1383 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1385 2010-10-11 Ulrich Drepper <drepper@gmail.com>
1388 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
1391 2010-10-06 Ulrich Drepper <drepper@gmail.com>
1393 * string/bug-strstr1.c: New file.
1394 * string/Makefile: Add rules to build and run bug-strstr1.
1396 2010-10-05 Eric Blake <eblake@redhat.com>
1399 * string/str-two-way.h (two_way_long_needle): Always clear memory
1400 when skipping input due to the shift table.
1402 2010-10-03 Ulrich Drepper <drepper@gmail.com>
1405 * malloc/mcheck.c: Handle large requests.
1408 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
1409 for strncmp and strncasecmp.
1410 * string/stratcliff.c: Add tests for strcmp and strncmp.
1411 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
1413 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1415 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
1418 2010-09-30 Andreas Jaeger <aj@suse.de>
1420 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
1421 (CGROUP_SUPER_MAGIC): Define.
1422 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1423 Handle btrfs and cgroup file systems.
1424 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1427 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
1429 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
1430 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
1432 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1435 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
1436 trying to locate the ELF header.
1438 2010-09-27 Andreas Schwab <schwab@redhat.com>
1441 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
1442 Mask out sign-bit copies when constructing f_fsid.
1444 2010-09-24 Petr Baudis <pasky@suse.cz>
1446 * debug/stack_chk_fail_local.c: Add missing licence exception.
1447 * debug/warning-nop.c: Likewise.
1449 2010-09-15 Joseph Myers <joseph@codesourcery.com>
1451 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
1452 implementing getdents64 using getdents syscall, set d_type if
1453 __ASSUME_GETDENTS32_D_TYPE.
1455 2010-09-16 Andreas Schwab <schwab@redhat.com>
1457 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
1458 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
1460 2010-09-21 Ulrich Drepper <drepper@redhat.com>
1463 * posix/unistd.h: Undo change of feature selection for ftruncate from
1466 2010-09-20 Ulrich Drepper <drepper@redhat.com>
1468 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
1471 2010-09-20 Andreas Schwab <schwab@redhat.com>
1473 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1475 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1477 2010-09-14 Andreas Schwab <schwab@redhat.com>
1479 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
1480 variables after CHECK_SP call.
1481 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
1483 2010-09-13 Andreas Schwab <schwab@redhat.com>
1484 Ulrich Drepper <drepper@redhat.com>
1486 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
1487 re-relocationg ld.so.
1488 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
1489 _dl_init_paths call.
1490 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
1493 2010-09-14 Ulrich Drepper <drepper@redhat.com>
1495 * resolv/res_init.c (__res_vinit): Count the default server we added.
1497 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
1498 Ulrich Drepper <drepper@redhat.com>
1501 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
1502 (____longjmp_chk): Use %ebx for saving value across system call.
1505 2010-09-06 Andreas Schwab <schwab@redhat.com>
1507 * manual/Makefile: Don't mix pattern rules with normal rules.
1509 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
1511 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
1513 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1514 * libio/iofopncook.c (_IO_cookie_init): Likewise.
1515 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1516 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1517 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1520 2010-09-04 Ulrich Drepper <drepper@redhat.com>
1523 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
1524 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
1526 2010-09-02 Ulrich Drepper <drepper@redhat.com>
1528 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
1529 * sysdeps/x86_64/addmul_1.S: Likewise.
1530 * sysdeps/x86_64/lshift.S: Likewise.
1531 * sysdeps/x86_64/mul_1.S: Likewise.
1532 * sysdeps/x86_64/rshift.S: Likewise.
1533 * sysdeps/x86_64/sub_n.S: Likewise.
1534 * sysdeps/x86_64/submul_1.S: Likewise.
1536 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
1538 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
1539 Define __sched_param instead of SCHED_* and sched_param when
1540 <bits/sched.h> is included with __need_schedparam defined.
1541 * bits/sched.h [__need_schedparam]
1542 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
1543 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
1544 (__defined_schedparam): Define to 1.
1545 (__sched_param): New structure, identical to sched_param.
1546 (__need_schedparam): Undefine.
1548 2010-08-31 Mike Frysinger <vapier@gentoo.org>
1550 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
1551 (epoll_create1): Declare.
1553 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
1555 2010-08-31 Andreas Schwab <schwab@redhat.com>
1558 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
1559 shifting retval into place.
1561 2010-09-01 Ulrich Drepper <drepper@redhat.com>
1563 * nis/rpcsvc/nis.h: Update copyright notice.
1564 * nis/rpcsvc/nis.x: Likewise.
1565 * nis/rpcsvc/nis_callback.h: Likewise.
1566 * nis/rpcsvc/nis_callback.x: Likewise.
1567 * nis/rpcsvc/nis_object.x: Likewise.
1568 * nis/rpcsvc/nis_tags.h: Likewise.
1569 * nis/rpcsvc/yp.h: Likewise.
1570 * nis/rpcsvc/yp.x: Likewise.
1571 * nis/rpcsvc/ypupd.h: Likewise.
1572 * nis/yp_xdr.c: Likewise.
1573 * nis/ypupdate_xdr.c: Likewise.
1575 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
1576 mainly the body of pmap_getport. Add parameters to specify timeouts.
1577 (pmap_getport): Use __libc_rpc_getport.
1578 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
1579 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
1580 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
1582 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
1587 2010-08-27 Roland McGrath <roland@redhat.com>
1589 * sysdeps/i386/i686/multiarch/Makefile
1590 (CFLAGS-varshift.c): New variable.
1592 2010-08-27 Ulrich Drepper <drepper@redhat.com>
1594 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
1595 * sysdeps/i386/i686/multiarch/varshift.c: New file.
1597 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
1599 * sysdeps/x86_64/strlen.S: Minimal code improvement.
1601 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
1603 * sysdeps/x86_64/strlen.S: Unroll the loop.
1604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1605 strlen-sse2 strlen-sse2-bsf.
1606 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
1607 __strlen_no_bsf if bit_Slow_BSF is set.
1608 (__strlen_sse42): Removed.
1609 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
1610 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
1612 2010-08-25 Roland McGrath <roland@redhat.com>
1614 * sysdeps/x86_64/multiarch/varshift.S: File removed.
1615 * sysdeps/x86_64/multiarch/varshift.c: New file.
1616 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
1617 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
1618 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
1619 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1621 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
1623 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1624 strlen-sse2 strlen-sse2-bsf.
1625 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
1626 __strlen_sse2_bsf if bit_Slow_BSF is unset.
1627 (__strlen_sse2): Removed.
1628 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
1629 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
1630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1631 bit_Slow_BSF for Atom.
1632 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
1633 (index_Slow_BSF): Define.
1634 (HAS_SLOW_BSF): Define.
1636 2010-08-25 Ulrich Drepper <drepper@redhat.com>
1639 * resolv/res_init.c (__res_vinit): When no server address at all
1640 is given default to loopback.
1642 2010-08-24 Roland McGrath <roland@redhat.com>
1644 * configure.in: Remove config-name.h generation.
1645 * configure: Regenerated.
1646 * config-name.in: File removed.
1647 * scripts/config-uname.sh: New file.
1648 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
1649 ($(objdir)config-name.h): New target.
1651 * sunrpc/rpc_parse.h: Avoid nested comment.
1653 2010-08-24 Richard Henderson <rth@redhat.com>
1654 Ulrich Drepper <drepper@redhat.com>
1655 H.J. Lu <hongjiu.lu@intel.com>
1657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
1658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
1659 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
1660 Replace _mm_srli_si128 with __m128i_shift_right. Replace
1661 _mm_alignr_epi8 with _mm_loadu_si128.
1662 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
1663 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
1664 (__m128i_shift_right): Removed.
1665 * sysdeps/i386/i686/multiarch/varshift.h: New file.
1666 * sysdeps/i386/i686/multiarch/varshift.S: New file.
1667 * sysdeps/x86_64/multiarch/varshift.h: New file.
1668 * sysdeps/x86_64/multiarch/varshift.S: New file.
1670 2010-08-21 Mike Frysinger <vapier@gentoo.org>
1672 * configure.in: Move assembler checks to before sysdep dir checking.
1674 2010-08-20 Petr Baudis <pasky@suse.cz>
1676 * LICENSES: Sync the sunrpc license.
1678 2010-08-19 Ulrich Drepper <drepper@redhat.com>
1680 * sunrpc/auth_des.c: Update copyright notice once again.
1681 * sunrpc/auth_none.c: Likewise.
1682 * sunrpc/auth_unix.c: Likewise.
1683 * sunrpc/authdes_prot.c: Likewise.
1684 * sunrpc/authuxprot.c: Likewise.
1685 * sunrpc/bindrsvprt.c: Likewise.
1686 * sunrpc/clnt_gen.c: Likewise.
1687 * sunrpc/clnt_perr.c: Likewise.
1688 * sunrpc/clnt_raw.c: Likewise.
1689 * sunrpc/clnt_simp.c: Likewise.
1690 * sunrpc/clnt_tcp.c: Likewise.
1691 * sunrpc/clnt_udp.c: Likewise.
1692 * sunrpc/clnt_unix.c: Likewise.
1693 * sunrpc/des_crypt.c: Likewise.
1694 * sunrpc/des_soft.c: Likewise.
1695 * sunrpc/get_myaddr.c: Likewise.
1696 * sunrpc/getrpcport.c: Likewise.
1697 * sunrpc/key_call.c: Likewise.
1698 * sunrpc/key_prot.c: Likewise.
1699 * sunrpc/openchild.c: Likewise.
1700 * sunrpc/pm_getmaps.c: Likewise.
1701 * sunrpc/pm_getport.c: Likewise.
1702 * sunrpc/pmap_clnt.c: Likewise.
1703 * sunrpc/pmap_prot.c: Likewise.
1704 * sunrpc/pmap_prot2.c: Likewise.
1705 * sunrpc/pmap_rmt.c: Likewise.
1706 * sunrpc/rpc/auth.h: Likewise.
1707 * sunrpc/rpc/auth_unix.h: Likewise.
1708 * sunrpc/rpc/clnt.h: Likewise.
1709 * sunrpc/rpc/des_crypt.h: Likewise.
1710 * sunrpc/rpc/key_prot.h: Likewise.
1711 * sunrpc/rpc/netdb.h: Likewise.
1712 * sunrpc/rpc/pmap_clnt.h: Likewise.
1713 * sunrpc/rpc/pmap_prot.h: Likewise.
1714 * sunrpc/rpc/pmap_rmt.h: Likewise.
1715 * sunrpc/rpc/rpc.h: Likewise.
1716 * sunrpc/rpc/rpc_des.h: Likewise.
1717 * sunrpc/rpc/rpc_msg.h: Likewise.
1718 * sunrpc/rpc/svc.h: Likewise.
1719 * sunrpc/rpc/svc_auth.h: Likewise.
1720 * sunrpc/rpc/types.h: Likewise.
1721 * sunrpc/rpc/xdr.h: Likewise.
1722 * sunrpc/rpc_clntout.c: Likewise.
1723 * sunrpc/rpc_cmsg.c: Likewise.
1724 * sunrpc/rpc_common.c: Likewise.
1725 * sunrpc/rpc_cout.c: Likewise.
1726 * sunrpc/rpc_dtable.c: Likewise.
1727 * sunrpc/rpc_hout.c: Likewise.
1728 * sunrpc/rpc_main.c: Likewise.
1729 * sunrpc/rpc_parse.c: Likewise.
1730 * sunrpc/rpc_parse.h: Likewise.
1731 * sunrpc/rpc_prot.c: Likewise.
1732 * sunrpc/rpc_sample.c: Likewise.
1733 * sunrpc/rpc_scan.c: Likewise.
1734 * sunrpc/rpc_scan.h: Likewise.
1735 * sunrpc/rpc_svcout.c: Likewise.
1736 * sunrpc/rpc_tblout.c: Likewise.
1737 * sunrpc/rpc_util.c: Likewise.
1738 * sunrpc/rpc_util.h: Likewise.
1739 * sunrpc/rpcinfo.c: Likewise.
1740 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
1741 * sunrpc/rpcsvc/key_prot.x: Likewise.
1742 * sunrpc/rpcsvc/klm_prot.x: Likewise.
1743 * sunrpc/rpcsvc/mount.x: Likewise.
1744 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
1745 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
1746 * sunrpc/rpcsvc/rex.x: Likewise.
1747 * sunrpc/rpcsvc/rstat.x: Likewise.
1748 * sunrpc/rpcsvc/rusers.x: Likewise.
1749 * sunrpc/rpcsvc/sm_inter.x: Likewise.
1750 * sunrpc/rpcsvc/spray.x: Likewise.
1751 * sunrpc/rpcsvc/yppasswd.x: Likewise.
1752 * sunrpc/rtime.c: Likewise.
1753 * sunrpc/svc.c: Likewise.
1754 * sunrpc/svc_auth.c: Likewise.
1755 * sunrpc/svc_authux.c: Likewise.
1756 * sunrpc/svc_raw.c: Likewise.
1757 * sunrpc/svc_run.c: Likewise.
1758 * sunrpc/svc_simple.c: Likewise.
1759 * sunrpc/svc_tcp.c: Likewise.
1760 * sunrpc/svc_udp.c: Likewise.
1761 * sunrpc/svc_unix.c: Likewise.
1762 * sunrpc/svcauth_des.c: Likewise.
1763 * sunrpc/xcrypt.c: Likewise.
1764 * sunrpc/xdr.c: Likewise.
1765 * sunrpc/xdr_array.c: Likewise.
1766 * sunrpc/xdr_float.c: Likewise.
1767 * sunrpc/xdr_mem.c: Likewise.
1768 * sunrpc/xdr_rec.c: Likewise.
1769 * sunrpc/xdr_ref.c: Likewise.
1770 * sunrpc/xdr_sizeof.c: Likewise.
1771 * sunrpc/xdr_stdio.c: Likewise.
1773 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
1776 2010-08-19 Andreas Schwab <schwab@redhat.com>
1778 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
1780 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
1782 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
1783 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
1784 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
1785 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
1786 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
1787 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
1788 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
1789 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
1790 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
1791 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
1792 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
1793 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
1794 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
1795 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
1797 2010-07-26 Anton Blanchard <anton@samba.org>
1799 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
1800 * malloc/arena.c (heap_trim): Likewise.
1802 2010-08-16 Ulrich Drepper <drepper@redhat.com>
1804 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
1806 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
1807 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
1809 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
1811 * sysdeps/i386/elf/Makefile: New file.
1813 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
1815 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
1817 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1818 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1820 2010-08-15 Ulrich Drepper <drepper@redhat.com>
1822 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
1824 * sysdeps/multiarch/strcmp.S: Likewise.
1826 2010-08-14 Ulrich Drepper <drepper@redhat.com>
1828 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1829 strncase_l-nonascii.
1830 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1831 Add strncase_l-ssse3.
1832 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
1833 * sysdeps/x86_64/strcmp.S: Likewise.
1834 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
1835 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
1836 * sysdeps/x86_64/strncase.S: New file.
1837 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
1838 * sysdeps/x86_64/strncase_l.S: New file.
1839 * string/Makefile (strop-tests): Add strncasecmp.
1840 * string/test-strncasecmp.c: New file.
1842 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
1845 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
1846 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
1848 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
1850 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
1852 2010-08-12 Ulrich Drepper <drepper@redhat.com>
1854 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
1855 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1856 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1858 2010-05-01 Alan Modra <amodra@gmail.com>
1860 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
1861 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
1862 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
1863 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
1864 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
1865 tidying. Don't tail-call __sigjmp_save for static lib.
1866 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
1868 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
1869 (CALL_MCOUNT): Add eh info, and nop after bl.
1870 (TAIL_CALL_SYSCALL_ERROR): New macro.
1871 (PSEUDO_RET): Use it.
1872 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1873 Correct save location of integer regs and cr.
1874 (_dl_profile_resolve): Correct cr save location. Delete nops
1875 after bl when SHARED. Reduce cfi size a little by better
1876 placement of cfi directives.
1877 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
1878 make a stack frame. Instead use parm save area as a temp.
1879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
1880 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
1881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1882 Don't make a stack frame for parent, use parm save area.
1883 Increase child stack frame to 112 bytes. Don't save unused reg,
1884 and adjust reg usage. Set up cfi on error recovery and
1885 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
1886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1887 (__makecontext): Add dummy nop after jump to exit.
1888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
1889 Use correct parm save area and cr save, reduce stack frame.
1890 Correct cfi for possible PSEUDO_RET frame setup.
1891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
1892 Branch to local label emitted by PSEUDO_RET rather than
1895 2010-08-12 Andreas Schwab <schwab@redhat.com>
1898 * locale/programs/locale.c (print_assignment): New function.
1899 (show_locale_vars): Use it.
1901 2010-08-11 Ulrich Drepper <drepper@redhat.com>
1903 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
1905 (struct statfs64): Likewise.
1906 (_STATFS_F_FLAGS): Define.
1907 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
1908 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1909 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
1910 (ST_VALID): Define locally.
1911 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
1912 __statvfs_getflags, use the provided value.
1913 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1914 __ASSUME_STATFS_F_FLAGS.
1916 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
1918 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
1920 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
1921 fanotify_mask for GLIBC_2.13.
1922 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
1923 fanotify_init and fanotify_mark.
1924 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1925 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
1927 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
1929 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
1930 prlimit64 for GLIBC_2.13.
1931 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
1933 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1936 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1937 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
1938 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
1939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
1941 * sysdeps/unix/sysv/linux/prlimit.c: New file.
1944 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
1945 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
1947 * nss/Makefile: Add rules to build and run tst-nss-test1.
1948 * shlib-versions: Add entry for libnss_test1.
1949 * nss/nss_test1.c: New file.
1950 * nss/tst-nss-test1.c: New file.
1952 * nss/nsswitch.c (__nss_database_custom): Define new variable.
1953 (__nss_configure_lookup): Set appropriate entry in
1954 __nss_configure_lookup to true.
1955 * nss/nsswitch.h: Define enum with indeces of databases in
1956 databases and __nss_database_custom arrays. Declare
1957 __nss_database_custom.
1958 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
1959 to avoid using nscd when custom rules are installed.
1960 * nss/getXXbyYY_r.c: Likewise.
1961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1963 * nss/nss_files/files-parse.c: Whitespace fixes.
1965 2010-08-09 Ulrich Drepper <drepper@redhat.com>
1968 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
1969 * posix/fnmatch_loop.c: Likewise.
1971 2010-07-17 Andi Kleen <ak@linux.intel.com>
1973 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
1974 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
1975 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
1976 * Versions.def [GLIBC_2.13]: Add.
1978 2010-08-06 Ulrich Drepper <drepper@redhat.com>
1980 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1981 Also fail if tpwd after pwuid call is NULL.
1983 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
1985 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
1986 when converting to ms.
1988 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1990 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
1991 EOPNOTSUPP errors with ENOTTY.
1992 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
1993 EOPNOTSUPP errors with ENOTTY.
1995 2010-07-31 Ulrich Drepper <drepper@redhat.com>
1997 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1998 Add strcasecmp_l-ssse3.
1999 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
2001 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
2002 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
2003 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
2005 2010-07-30 Ulrich Drepper <drepper@redhat.com>
2007 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
2009 * string/Makefile (strop-tests): Add strcasecmp.
2010 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
2011 strcasecmp_l-nonascii.
2012 (gen-as-const-headers): Add locale-defines.sym.
2013 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
2014 * sysdeps/x86_64/strcasecmp.S: New file.
2015 * sysdeps/x86_64/strcasecmp_l.S: New file.
2016 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
2017 * sysdeps/x86_64/locale-defines.sym: New file.
2018 * string/test-strcasecmp.c: New file.
2020 * string/test-strcasestr.c: Test both ends of the range of characters.
2021 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
2023 2010-07-29 Roland McGrath <roland@redhat.com>
2026 * manual/locale.texi (Yes-or-No Questions): Fix example code.
2028 2010-07-27 Ulrich Drepper <drepper@redhat.com>
2030 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
2033 2010-07-27 Andreas Schwab <schwab@redhat.com>
2035 * manual/memory.texi (Malloc Tunable Parameters): Document
2038 2010-07-26 Roland McGrath <roland@redhat.com>
2041 * configure.in (-fgnu89-inline check): Set and substitute
2042 gnu89_inline, not libc_cv_gnu89_inline.
2043 * configure: Regenerated.
2044 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
2046 2010-07-26 Ulrich Drepper <drepper@redhat.com>
2048 * string/test-strnlen.c: New file.
2049 * string/Makefile (strop-tests): Add strnlen.
2050 * string/tester.c (test_strnlen): Add a few more test cases.
2051 * string/tst-strlen.c: Better error reporting.
2053 * sysdeps/x86_64/strnlen.S: New file.
2055 2010-07-24 Ulrich Drepper <drepper@redhat.com>
2057 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
2058 lower-latency instructions.
2060 2010-07-23 Ulrich Drepper <drepper@redhat.com>
2062 * string/test-strcasestr.c: New file.
2063 * string/test-strstr.c: New file.
2064 * string/Makefile (strop-tests): Add strstr and strcasestr.
2065 * string/str-two-way.h: Don't undefine MAX.
2066 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
2068 2010-07-21 Andreas Schwab <schwab@redhat.com>
2070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2071 strcasestr-nonascii.
2072 (CFLAGS-strcasestr-nonascii.c): Define.
2073 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
2074 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
2075 Remove unused attribute.
2077 2010-07-20 Roland McGrath <roland@redhat.com>
2079 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
2080 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
2081 ld.so.cache was broken. With it, there is no way to disable dsocaps
2082 like LD_HWCAP_MASK can disable hwcaps.
2084 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2086 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
2088 2010-07-16 Ulrich Drepper <drepper@redhat.com>
2090 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
2092 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
2093 __strcasestr_sse42_nonascii.
2094 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
2095 strcasestr-nonascii.c.
2096 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
2098 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
2100 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
2101 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
2102 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
2103 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
2105 2010-07-09 Ulrich Drepper <drepper@redhat.com>
2107 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
2110 2010-07-06 Andreas Schwab <schwab@redhat.com>
2112 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
2115 2010-07-06 Ulrich Drepper <drepper@redhat.com>
2117 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
2118 _PC_PIPE_BUF using F_GETPIPE_SZ.
2120 2010-07-05 Roland McGrath <roland@redhat.com>
2122 * manual/arith.texi (Rounding Functions): Fix rint description
2123 implicit in round description.
2125 2010-07-02 Ulrich Drepper <drepper@redhat.com>
2127 * elf/Makefile: Fix linking for a few tests to make recent linker
2130 2010-06-30 Andreas Schwab <schwab@redhat.com>
2132 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2133 $(common-objpfx)libc_nonshared.a.
2135 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
2137 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
2138 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
2139 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2140 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2141 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
2142 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
2143 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2144 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
2146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
2150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
2154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
2159 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
2160 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
2161 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
2162 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
2163 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
2164 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
2165 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
2166 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
2167 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
2168 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
2169 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
2170 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
2172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
2174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
2178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
2180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
2186 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
2188 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
2189 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
2190 * string/memmove.c (memmove): Renamed to ...
2191 (MEMMOVE): ...this. Default to memmove.
2192 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
2193 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
2195 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2196 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
2197 mempcpy-ssse3-back memmove-ssse3-back.
2198 * sysdeps/x86_64/multiarch/bcopy.S: New file .
2199 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
2200 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
2201 * sysdeps/x86_64/multiarch/memcpy.S: New file.
2202 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
2203 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
2204 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
2205 * sysdeps/x86_64/multiarch/memmove.c: New file.
2206 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
2207 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
2208 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
2209 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
2210 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
2211 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
2213 (index_Fast_Copy_Backward): Define.
2214 (HAS_ARCH_FEATURE): Define.
2215 (HAS_FAST_REP_STRING): Define.
2216 (HAS_FAST_COPY_BACKWARD): Define.
2218 2010-06-21 Andreas Schwab <schwab@redhat.com>
2220 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2221 Restore proper fallback handling.
2223 2010-06-19 Ulrich Drepper <drepper@redhat.com>
2226 * posix/group_member.c (__group_member): Correct checking loop.
2228 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
2229 OOM in getpwuid_r correctly. Return error number when the caller
2230 should return, otherwise -1.
2231 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
2232 call returning > 0 value.
2233 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
2235 2010-06-07 Andreas Schwab <schwab@redhat.com>
2237 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
2238 libc_nonshared.a from targets in modules-names.
2240 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
2242 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
2245 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
2247 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
2248 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
2249 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
2250 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
2252 2010-06-02 Andreas Schwab <schwab@redhat.com>
2254 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
2256 2010-06-14 Ulrich Drepper <drepper@redhat.com>
2258 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
2260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2261 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2264 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2265 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
2267 2010-06-14 Roland McGrath <roland@redhat.com>
2269 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
2271 2010-06-07 Jakub Jelinek <jakub@redhat.com>
2273 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
2274 __REDIRECT followed by __THROW.
2275 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
2276 * posix/getopt.h (getopt): Likewise.
2278 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
2280 * hurd/lookup-at.c (__file_name_lookup_at): Accept
2281 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
2282 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
2284 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
2285 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
2287 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
2289 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
2291 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
2294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2295 Properly check family and model.
2297 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
2299 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
2301 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
2303 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
2305 2010-05-21 Ulrich Drepper <drepper@redhat.com>
2307 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
2310 2010-05-19 Andreas Schwab <schwab@redhat.com>
2312 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
2315 2010-05-21 Andreas Schwab <schwab@redhat.com>
2317 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
2318 and internal_recvmmsg.
2319 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
2320 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
2321 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
2322 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
2324 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
2325 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2326 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2328 2010-05-20 Andreas Schwab <schwab@redhat.com>
2330 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
2332 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
2334 POWER7 optimizations.
2335 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
2336 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
2338 2010-05-19 Ulrich Drepper <drepper@redhat.com>
2340 * version.h: Update for 2.13 development version.
2342 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
2344 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
2345 exceptions. Return 0.
2347 2010-05-07 Roland McGrath <roland@redhat.com>
2349 * elf/ldconfig.c (main): Add a const.
2351 2010-05-06 Ulrich Drepper <drepper@redhat.com>
2353 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
2354 (args_options): Add no-idn option.
2355 (ahosts_keys_int): Add idn_flags to ai_flags.
2356 (parse_option): Handle 'i' option to clear idn_flags.
2358 * malloc/malloc.c (_int_free): Possible race in the most recently
2359 added check. Only act on the data if no current modification
2362 See ChangeLog.17 for earlier changes.