]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
32bit memset-sse2.S fails with uneven cache size
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12010-11-03 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #12191]
4 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5 (__x86_64_raw_data_cache_size_half): Likewise.
6 (__x86_64_raw_shared_cache_size): Likewise.
7 (__x86_64_raw_shared_cache_size_half): Likewise.
8
9 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10 (__x86_64_raw_data_cache_size_half): Likewise.
11 (__x86_64_raw_shared_cache_size): Likewise.
12 (__x86_64_raw_shared_cache_size_half): Likewise.
13 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15 and __x86_64_raw_shared_cache_size_half. Round
16 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
18 to multiple of 256 bytes.
19
202010-11-03 Ulrich Drepper <drepper@gmail.com>
21
22 [BZ #12167]
23 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24 of inacessible symlinks. Verify result of symlink before returning it.
25 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27
282010-10-28 Erich Ritz <erichritz@gmail.com>
29
30 * math/math.h (isinf): Fix typo in comment.
31
322010-11-01 Ulrich Drepper <drepper@gmail.com>
33
34 * po/da.po: Update from translation team.
35
362010-10-26 Ulrich Drepper <drepper@gmail.com>
37
38 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39 is added to the list.
40
412010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42 Ulrich Drepper <drepper@gmail.com>
43
44 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45 the global list here. Move code to...
46 (_dl_add_to_namespace_list): ...here. New function.
47 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49 * elf/dl-load.c (lose): Don't remove the element from the list.
50 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51 (_dl_map_object): Likewise.
52
532010-10-25 Ulrich Drepper <drepper@gmail.com>
54
55 [BZ #12159]
56 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57 into all bytes of SSE register.
58 Patch by Richard Li <richardpku@gmail.com>.
59
602010-10-24 Ulrich Drepper <drepper@gmail.com>
61
62 [BZ #12140]
63 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64 perturbing.
65
662010-10-20 Michael B. Brutman <brutman@us.ibm.com>
67
68 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
69 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
71 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
73 submachine.
74 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75
762010-10-22 Andreas Schwab <schwab@redhat.com>
77
78 * include/dlfcn.h (__RTLD_SECURE): Define.
79 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
80 mode & __RTLD_SECURE instead.
81 (open_path): Rename preloaded parameter to secure.
82 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
83 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84 * elf/dl-deps.c (openaux): Likewise.
85 * elf/rtld.c (struct map_args): Remove is_preloaded.
86 (map_doit): Don't use it.
87 (dl_main): Likewise.
88 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
90
912010-09-09 Andreas Schwab <schwab@redhat.com>
92
93 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
94 (sysd-rules-targets): Remove duplicates.
95 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
96 rtld-%.$o dependency.
97
982010-10-18 Andreas Schwab <schwab@redhat.com>
99
100 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
101 _dl_map_object do it.
102
1032010-10-19 Ulrich Drepper <drepper@gmail.com>
104
105 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
106 fast fma builtins, define the macros in the C99 standard.
107 (FP_FAST_FMAF): Likewise.
108 (FP_FAST_FMAL): Likewise.
109 * sysdeps/x86_64/bits/mathdef.h: Likewise.
110
111 * bits/mathdef.h: Update copyright year.
112 * sysdeps/powerpc/bits/mathdef.h: Likewise.
113
1142010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
115
116 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
117 builtins, define the macros in the C99 standard.
118 (FP_FAST_FMAF): Likewise.
119 (FP_FAST_FMAL): Likewise.
120 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
121 multiply/add.
122 (FP_FAST_FMAF): Likewise.
123
1242010-10-15 Jakub Jelinek <jakub@redhat.com>
125
126 [BZ #3268]
127 * math/libm-test.inc (fma_test): Some new testcases.
128 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
129 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
130 y and infinite z. Do multiplication by C already in long double.
131 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
133 y and infinite z. Do bitwise or of inexact bit into u.d.
134 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
135 * sysdeps/i386/fpu/s_fmaf.S: Removed.
136 * sysdeps/i386/fpu/s_fma.S: Removed.
137 * sysdeps/i386/fpu/s_fmal.S: Removed.
138
1392010-10-16 Jakub Jelinek <jakub@redhat.com>
140
141 [BZ #3268]
142 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
144 computation is not scheduled after fetestexcept. Fix value
145 of minimum denormal long double.
146
1472010-10-14 Jakub Jelinek <jakub@redhat.com>
148
149 [BZ #3268]
150 * math/libm-test.inc (fma_test): Add some more tests.
151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
152 correctly.
153
1542010-10-15 Andreas Schwab <schwab@redhat.com>
155
156 * scripts/data/localplt-s390-linux-gnu.data: New file.
157 * scripts/data/localplt-s390x-linux-gnu.data: New file.
158
1592010-10-13 Jakub Jelinek <jakub@redhat.com>
160
161 [BZ #3268]
162 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
163 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
164 instead of dbl-64.
165 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
166 inlines.
167 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
169 if one of x and y is very large and the other is subnormal.
170 * sysdeps/s390/fpu/s_fmaf.c: New file.
171 * sysdeps/s390/fpu/s_fma.c: New file.
172 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
173 * sysdeps/powerpc/fpu/s_fma.S: New file.
174 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
175 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
176 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
177
1782010-10-12 Jakub Jelinek <jakub@redhat.com>
179
180 [BZ #3268]
181 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
182 fma tests.
183 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
184 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
185 * sysdeps/i386/i686/multiarch/s_fma.c: Include
186 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
187 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
188 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
189 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
190
1912010-10-12 Ulrich Drepper <drepper@redhat.com>
192
193 [BZ #12078]
194 * posix/regcomp.c (parse_branch): One more memory leak plugged.
195 * posix/bug-regex31.input: Add test case.
196
1972010-10-11 Ulrich Drepper <drepper@gmail.com>
198
199 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
200 * posix/bug-regex31.input: New file.
201
202 [BZ #12078]
203 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
204 (parse_sub_exp): Fix last change, use postorder.
205
206 * posix/bug-regex31.c: New file.
207 * posix/Makefile: Add rules to build and run bug-regex31.
208
209 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
210
211 [BZ #12078]
212 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
213
214 [BZ #12108]
215 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
216 to have entries in sys_siglist.
217
218 [BZ #12093]
219 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
220 be NULL.
221
2222010-10-07 Jakub Jelinek <jakub@redhat.com>
223
224 [BZ #3268]
225 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
226 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
227 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
228 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
229 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
230 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
231 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
232 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
233 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
234 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
235 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
236 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
237 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
238 * math/ftestexcept.c (fetestexcept): Likewise.
239 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
240 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
241 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
242 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
243 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
244 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
245 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
246
2472010-10-11 Ulrich Drepper <drepper@gmail.com>
248
249 [BZ #12107]
250 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
251 newline.
252
2532010-10-06 Ulrich Drepper <drepper@gmail.com>
254
255 * string/bug-strstr1.c: New file.
256 * string/Makefile: Add rules to build and run bug-strstr1.
257
2582010-10-05 Eric Blake <eblake@redhat.com>
259
260 [BZ #12092]
261 * string/str-two-way.h (two_way_long_needle): Always clear memory
262 when skipping input due to the shift table.
263
2642010-10-03 Ulrich Drepper <drepper@gmail.com>
265
266 [BZ #12005]
267 * malloc/mcheck.c: Handle large requests.
268
269 [BZ #12077]
270 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
271 for strncmp and strncasecmp.
272 * string/stratcliff.c: Add tests for strcmp and strncmp.
273 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
274
2752010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
276
277 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
278 __set_fpscr.
279
2802010-09-30 Andreas Jaeger <aj@suse.de>
281
282 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
283 (CGROUP_SUPER_MAGIC): Define.
284 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
285 Handle btrfs and cgroup file systems.
286 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
287 Likewise.
288
2892010-09-27 Luis Machado <luisgpm@br.ibm.com>
290
291 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
292 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
293
2942010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
295
296 [BZ #12067]
297 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
298 trying to locate the ELF header.
299
3002010-09-27 Andreas Schwab <schwab@redhat.com>
301
302 [BZ #11611]
303 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
304 Mask out sign-bit copies when constructing f_fsid.
305
3062010-09-24 Petr Baudis <pasky@suse.cz>
307
308 * debug/stack_chk_fail_local.c: Add missing licence exception.
309 * debug/warning-nop.c: Likewise.
310
3112010-09-15 Joseph Myers <joseph@codesourcery.com>
312
313 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
314 implementing getdents64 using getdents syscall, set d_type if
315 __ASSUME_GETDENTS32_D_TYPE.
316
3172010-09-16 Andreas Schwab <schwab@redhat.com>
318
319 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
320 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
321
3222010-09-21 Ulrich Drepper <drepper@redhat.com>
323
324 [BZ #12037]
325 * posix/unistd.h: Undo change of feature selection for ftruncate from
326 2010-01-11.
327
3282010-09-20 Ulrich Drepper <drepper@redhat.com>
329
330 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
331 detection.
332
3332010-09-20 Andreas Schwab <schwab@redhat.com>
334
335 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
336 fanotify_mark.
337 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
338
3392010-09-14 Andreas Schwab <schwab@redhat.com>
340
341 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
342 variables after CHECK_SP call.
343 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
344
3452010-09-13 Andreas Schwab <schwab@redhat.com>
346 Ulrich Drepper <drepper@redhat.com>
347
348 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
349 re-relocationg ld.so.
350 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
351 _dl_init_paths call.
352 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
353 here anymore.
354
3552010-09-14 Ulrich Drepper <drepper@redhat.com>
356
357 * resolv/res_init.c (__res_vinit): Count the default server we added.
358
3592010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
360 Ulrich Drepper <drepper@redhat.com>
361
362 [BZ #11968]
363 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
364 (____longjmp_chk): Use %ebx for saving value across system call.
365 Add unwind info.
366
3672010-09-06 Andreas Schwab <schwab@redhat.com>
368
369 * manual/Makefile: Don't mix pattern rules with normal rules.
370
3712010-09-05 Andreas Schwab <schwab@linux-m68k.org>
372
373 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
374 operation.
375 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
376 * libio/iofopncook.c (_IO_cookie_init): Likewise.
377 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
378 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
379 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
380 Likewise.
381
3822010-09-04 Ulrich Drepper <drepper@redhat.com>
383
384 [BZ #11979]
385 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
386 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
387
3882010-09-02 Ulrich Drepper <drepper@redhat.com>
389
390 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
391 * sysdeps/x86_64/addmul_1.S: Likewise.
392 * sysdeps/x86_64/lshift.S: Likewise.
393 * sysdeps/x86_64/mul_1.S: Likewise.
394 * sysdeps/x86_64/rshift.S: Likewise.
395 * sysdeps/x86_64/sub_n.S: Likewise.
396 * sysdeps/x86_64/submul_1.S: Likewise.
397
3982010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
399
400 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
401 Define __sched_param instead of SCHED_* and sched_param when
402 <bits/sched.h> is included with __need_schedparam defined.
403 * bits/sched.h [__need_schedparam]
404 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
405 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
406 (__defined_schedparam): Define to 1.
407 (__sched_param): New structure, identical to sched_param.
408 (__need_schedparam): Undefine.
409
4102010-08-31 Mike Frysinger <vapier@gentoo.org>
411
412 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
413 (epoll_create1): Declare.
414
415 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
416
4172010-08-31 Andreas Schwab <schwab@redhat.com>
418
419 [BZ #7066]
420 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
421 shifting retval into place.
422
4232010-09-01 Ulrich Drepper <drepper@redhat.com>
424
425 * nis/rpcsvc/nis.h: Update copyright notice.
426 * nis/rpcsvc/nis.x: Likewise.
427 * nis/rpcsvc/nis_callback.h: Likewise.
428 * nis/rpcsvc/nis_callback.x: Likewise.
429 * nis/rpcsvc/nis_object.x: Likewise.
430 * nis/rpcsvc/nis_tags.h: Likewise.
431 * nis/rpcsvc/yp.h: Likewise.
432 * nis/rpcsvc/yp.x: Likewise.
433 * nis/rpcsvc/ypupd.h: Likewise.
434 * nis/yp_xdr.c: Likewise.
435 * nis/ypupdate_xdr.c: Likewise.
436
437 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
438 mainly the body of pmap_getport. Add parameters to specify timeouts.
439 (pmap_getport): Use __libc_rpc_getport.
440 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
441 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
442 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
443
4442010-08-31 Andreas Schwab <schwab@linux-m68k.org>
445
446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
447 fanotify_mark.
448
4492010-08-27 Roland McGrath <roland@redhat.com>
450
451 * sysdeps/i386/i686/multiarch/Makefile
452 (CFLAGS-varshift.c): New variable.
453
4542010-08-27 Ulrich Drepper <drepper@redhat.com>
455
456 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
457 * sysdeps/i386/i686/multiarch/varshift.c: New file.
458
459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
460
461 * sysdeps/x86_64/strlen.S: Minimal code improvement.
462
4632010-08-26 H.J. Lu <hongjiu.lu@intel.com>
464
465 * sysdeps/x86_64/strlen.S: Unroll the loop.
466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
467 strlen-sse2 strlen-sse2-bsf.
468 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
469 __strlen_no_bsf if bit_Slow_BSF is set.
470 (__strlen_sse42): Removed.
471 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
472 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
473
4742010-08-25 Roland McGrath <roland@redhat.com>
475
476 * sysdeps/x86_64/multiarch/varshift.S: File removed.
477 * sysdeps/x86_64/multiarch/varshift.c: New file.
478 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
479 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
480 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
481 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
482
4832010-08-25 H.J. Lu <hongjiu.lu@intel.com>
484
485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
486 strlen-sse2 strlen-sse2-bsf.
487 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
488 __strlen_sse2_bsf if bit_Slow_BSF is unset.
489 (__strlen_sse2): Removed.
490 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
491 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
493 bit_Slow_BSF for Atom.
494 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
495 (index_Slow_BSF): Define.
496 (HAS_SLOW_BSF): Define.
497
4982010-08-25 Ulrich Drepper <drepper@redhat.com>
499
500 [BZ #10851]
501 * resolv/res_init.c (__res_vinit): When no server address at all
502 is given default to loopback.
503
5042010-08-24 Roland McGrath <roland@redhat.com>
505
506 * configure.in: Remove config-name.h generation.
507 * configure: Regenerated.
508 * config-name.in: File removed.
509 * scripts/config-uname.sh: New file.
510 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
511 ($(objdir)config-name.h): New target.
512
513 * sunrpc/rpc_parse.h: Avoid nested comment.
514
5152010-08-24 Richard Henderson <rth@redhat.com>
516 Ulrich Drepper <drepper@redhat.com>
517 H.J. Lu <hongjiu.lu@intel.com>
518
519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
521 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
522 Replace _mm_srli_si128 with __m128i_shift_right. Replace
523 _mm_alignr_epi8 with _mm_loadu_si128.
524 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
525 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
526 (__m128i_shift_right): Removed.
527 * sysdeps/i386/i686/multiarch/varshift.h: New file.
528 * sysdeps/i386/i686/multiarch/varshift.S: New file.
529 * sysdeps/x86_64/multiarch/varshift.h: New file.
530 * sysdeps/x86_64/multiarch/varshift.S: New file.
531
5322010-08-21 Mike Frysinger <vapier@gentoo.org>
533
534 * configure.in: Move assembler checks to before sysdep dir checking.
535
5362010-08-20 Petr Baudis <pasky@suse.cz>
537
538 * LICENSES: Sync the sunrpc license.
539
5402010-08-19 Ulrich Drepper <drepper@redhat.com>
541
542 * sunrpc/auth_des.c: Update copyright notice once again.
543 * sunrpc/auth_none.c: Likewise.
544 * sunrpc/auth_unix.c: Likewise.
545 * sunrpc/authdes_prot.c: Likewise.
546 * sunrpc/authuxprot.c: Likewise.
547 * sunrpc/bindrsvprt.c: Likewise.
548 * sunrpc/clnt_gen.c: Likewise.
549 * sunrpc/clnt_perr.c: Likewise.
550 * sunrpc/clnt_raw.c: Likewise.
551 * sunrpc/clnt_simp.c: Likewise.
552 * sunrpc/clnt_tcp.c: Likewise.
553 * sunrpc/clnt_udp.c: Likewise.
554 * sunrpc/clnt_unix.c: Likewise.
555 * sunrpc/des_crypt.c: Likewise.
556 * sunrpc/des_soft.c: Likewise.
557 * sunrpc/get_myaddr.c: Likewise.
558 * sunrpc/getrpcport.c: Likewise.
559 * sunrpc/key_call.c: Likewise.
560 * sunrpc/key_prot.c: Likewise.
561 * sunrpc/openchild.c: Likewise.
562 * sunrpc/pm_getmaps.c: Likewise.
563 * sunrpc/pm_getport.c: Likewise.
564 * sunrpc/pmap_clnt.c: Likewise.
565 * sunrpc/pmap_prot.c: Likewise.
566 * sunrpc/pmap_prot2.c: Likewise.
567 * sunrpc/pmap_rmt.c: Likewise.
568 * sunrpc/rpc/auth.h: Likewise.
569 * sunrpc/rpc/auth_unix.h: Likewise.
570 * sunrpc/rpc/clnt.h: Likewise.
571 * sunrpc/rpc/des_crypt.h: Likewise.
572 * sunrpc/rpc/key_prot.h: Likewise.
573 * sunrpc/rpc/netdb.h: Likewise.
574 * sunrpc/rpc/pmap_clnt.h: Likewise.
575 * sunrpc/rpc/pmap_prot.h: Likewise.
576 * sunrpc/rpc/pmap_rmt.h: Likewise.
577 * sunrpc/rpc/rpc.h: Likewise.
578 * sunrpc/rpc/rpc_des.h: Likewise.
579 * sunrpc/rpc/rpc_msg.h: Likewise.
580 * sunrpc/rpc/svc.h: Likewise.
581 * sunrpc/rpc/svc_auth.h: Likewise.
582 * sunrpc/rpc/types.h: Likewise.
583 * sunrpc/rpc/xdr.h: Likewise.
584 * sunrpc/rpc_clntout.c: Likewise.
585 * sunrpc/rpc_cmsg.c: Likewise.
586 * sunrpc/rpc_common.c: Likewise.
587 * sunrpc/rpc_cout.c: Likewise.
588 * sunrpc/rpc_dtable.c: Likewise.
589 * sunrpc/rpc_hout.c: Likewise.
590 * sunrpc/rpc_main.c: Likewise.
591 * sunrpc/rpc_parse.c: Likewise.
592 * sunrpc/rpc_parse.h: Likewise.
593 * sunrpc/rpc_prot.c: Likewise.
594 * sunrpc/rpc_sample.c: Likewise.
595 * sunrpc/rpc_scan.c: Likewise.
596 * sunrpc/rpc_scan.h: Likewise.
597 * sunrpc/rpc_svcout.c: Likewise.
598 * sunrpc/rpc_tblout.c: Likewise.
599 * sunrpc/rpc_util.c: Likewise.
600 * sunrpc/rpc_util.h: Likewise.
601 * sunrpc/rpcinfo.c: Likewise.
602 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
603 * sunrpc/rpcsvc/key_prot.x: Likewise.
604 * sunrpc/rpcsvc/klm_prot.x: Likewise.
605 * sunrpc/rpcsvc/mount.x: Likewise.
606 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
607 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
608 * sunrpc/rpcsvc/rex.x: Likewise.
609 * sunrpc/rpcsvc/rstat.x: Likewise.
610 * sunrpc/rpcsvc/rusers.x: Likewise.
611 * sunrpc/rpcsvc/sm_inter.x: Likewise.
612 * sunrpc/rpcsvc/spray.x: Likewise.
613 * sunrpc/rpcsvc/yppasswd.x: Likewise.
614 * sunrpc/rtime.c: Likewise.
615 * sunrpc/svc.c: Likewise.
616 * sunrpc/svc_auth.c: Likewise.
617 * sunrpc/svc_authux.c: Likewise.
618 * sunrpc/svc_raw.c: Likewise.
619 * sunrpc/svc_run.c: Likewise.
620 * sunrpc/svc_simple.c: Likewise.
621 * sunrpc/svc_tcp.c: Likewise.
622 * sunrpc/svc_udp.c: Likewise.
623 * sunrpc/svc_unix.c: Likewise.
624 * sunrpc/svcauth_des.c: Likewise.
625 * sunrpc/xcrypt.c: Likewise.
626 * sunrpc/xdr.c: Likewise.
627 * sunrpc/xdr_array.c: Likewise.
628 * sunrpc/xdr_float.c: Likewise.
629 * sunrpc/xdr_mem.c: Likewise.
630 * sunrpc/xdr_rec.c: Likewise.
631 * sunrpc/xdr_ref.c: Likewise.
632 * sunrpc/xdr_sizeof.c: Likewise.
633 * sunrpc/xdr_stdio.c: Likewise.
634
635 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
636 handling.
637
6382010-08-19 Andreas Schwab <schwab@redhat.com>
639
640 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
641
6422010-08-19 Luis Machado <luisgpm@br.ibm.com>
643
644 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
645 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
646 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
647 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
648 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
649 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
650 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
651 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
652 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
653 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
654 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
655 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
656 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
657 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
658
6592010-07-26 Anton Blanchard <anton@samba.org>
660
661 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
662 * malloc/arena.c (heap_trim): Likewise.
663
6642010-08-16 Ulrich Drepper <drepper@redhat.com>
665
666 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
667 here. Not...
668 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
669 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
670
6712010-08-12 H.J. Lu <hongjiu.lu@intel.com>
672
673 * sysdeps/i386/elf/Makefile: New file.
674
6752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
676
677 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
678 from fanotify_init.
679 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
680 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
681
6822010-08-15 Ulrich Drepper <drepper@redhat.com>
683
684 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
685 of strncasecmp_l.
686 * sysdeps/multiarch/strcmp.S: Likewise.
687
6882010-08-14 Ulrich Drepper <drepper@redhat.com>
689
690 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
691 strncase_l-nonascii.
692 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
693 Add strncase_l-ssse3.
694 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
695 * sysdeps/x86_64/strcmp.S: Likewise.
696 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
697 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
698 * sysdeps/x86_64/strncase.S: New file.
699 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
700 * sysdeps/x86_64/strncase_l.S: New file.
701 * string/Makefile (strop-tests): Add strncasecmp.
702 * string/test-strncasecmp.c: New file.
703
704 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
705 warning.
706
707 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
708 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
709
7102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
711
712 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
713
7142010-08-12 Ulrich Drepper <drepper@redhat.com>
715
716 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
717 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
718 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
719
7202010-05-01 Alan Modra <amodra@gmail.com>
721
722 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
723 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
724 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
725 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
726 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
727 tidying. Don't tail-call __sigjmp_save for static lib.
728 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
729 save location.
730 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
731 (CALL_MCOUNT): Add eh info, and nop after bl.
732 (TAIL_CALL_SYSCALL_ERROR): New macro.
733 (PSEUDO_RET): Use it.
734 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
735 Correct save location of integer regs and cr.
736 (_dl_profile_resolve): Correct cr save location. Delete nops
737 after bl when SHARED. Reduce cfi size a little by better
738 placement of cfi directives.
739 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
740 make a stack frame. Instead use parm save area as a temp.
741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
742 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
744 Don't make a stack frame for parent, use parm save area.
745 Increase child stack frame to 112 bytes. Don't save unused reg,
746 and adjust reg usage. Set up cfi on error recovery and
747 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
749 (__makecontext): Add dummy nop after jump to exit.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
751 Use correct parm save area and cr save, reduce stack frame.
752 Correct cfi for possible PSEUDO_RET frame setup.
753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
754 Branch to local label emitted by PSEUDO_RET rather than
755 __syscall_error.
756
7572010-08-12 Andreas Schwab <schwab@redhat.com>
758
759 [BZ #11904]
760 * locale/programs/locale.c (print_assignment): New function.
761 (show_locale_vars): Use it.
762
7632010-08-11 Ulrich Drepper <drepper@redhat.com>
764
765 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
766 field.
767 (struct statfs64): Likewise.
768 (_STATFS_F_FLAGS): Define.
769 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
770 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
771 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
772 (ST_VALID): Define locally.
773 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
774 __statvfs_getflags, use the provided value.
775 * sysdeps/unix/sysv/linux/kernel-features.h: Define
776 __ASSUME_STATFS_F_FLAGS.
777
778 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
779
780 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
781 Add sys/fanotify.h.
782 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
783 fanotify_mask for GLIBC_2.13.
784 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
785 fanotify_init and fanotify_mark.
786 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
787 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
788
789 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
790 Add prlimit.
791 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
792 prlimit64 for GLIBC_2.13.
793 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
794 prlimit64.
795 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
796 syscall.
797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
798 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
799 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
800 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
802 add prlimit alias.
803 * sysdeps/unix/sysv/linux/prlimit.c: New file.
804
805 [BZ #11903]
806 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
807 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
808
809 * nss/Makefile: Add rules to build and run tst-nss-test1.
810 * shlib-versions: Add entry for libnss_test1.
811 * nss/nss_test1.c: New file.
812 * nss/tst-nss-test1.c: New file.
813
814 * nss/nsswitch.c (__nss_database_custom): Define new variable.
815 (__nss_configure_lookup): Set appropriate entry in
816 __nss_configure_lookup to true.
817 * nss/nsswitch.h: Define enum with indeces of databases in
818 databases and __nss_database_custom arrays. Declare
819 __nss_database_custom.
820 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
821 to avoid using nscd when custom rules are installed.
822 * nss/getXXbyYY_r.c: Likewise.
823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
824
825 * nss/nss_files/files-parse.c: Whitespace fixes.
826
8272010-08-09 Ulrich Drepper <drepper@redhat.com>
828
829 [BZ #11883]
830 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
831 * posix/fnmatch_loop.c: Likewise.
832
8332010-07-17 Andi Kleen <ak@linux.intel.com>
834
835 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
836 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
837 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
838 * Versions.def [GLIBC_2.13]: Add.
839
8402010-08-06 Ulrich Drepper <drepper@redhat.com>
841
842 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
843 Also fail if tpwd after pwuid call is NULL.
844
8452010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
846
847 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
848 when converting to ms.
849
8502010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
851
852 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
853 EOPNOTSUPP errors with ENOTTY.
854 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
855 EOPNOTSUPP errors with ENOTTY.
856
8572010-07-31 Ulrich Drepper <drepper@redhat.com>
858
859 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
860 Add strcasecmp_l-ssse3.
861 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
862 strcasecmp.
863 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
864 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
865 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
866
8672010-07-30 Ulrich Drepper <drepper@redhat.com>
868
869 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
870
871 * string/Makefile (strop-tests): Add strcasecmp.
872 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
873 strcasecmp_l-nonascii.
874 (gen-as-const-headers): Add locale-defines.sym.
875 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
876 * sysdeps/x86_64/strcasecmp.S: New file.
877 * sysdeps/x86_64/strcasecmp_l.S: New file.
878 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
879 * sysdeps/x86_64/locale-defines.sym: New file.
880 * string/test-strcasecmp.c: New file.
881
882 * string/test-strcasestr.c: Test both ends of the range of characters.
883 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
884
8852010-07-29 Roland McGrath <roland@redhat.com>
886
887 [BZ #11856]
888 * manual/locale.texi (Yes-or-No Questions): Fix example code.
889
8902010-07-27 Ulrich Drepper <drepper@redhat.com>
891
892 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
893 for ld.so.
894
8952010-07-27 Andreas Schwab <schwab@redhat.com>
896
897 * manual/memory.texi (Malloc Tunable Parameters): Document
898 M_PERTURB.
899
9002010-07-26 Roland McGrath <roland@redhat.com>
901
902 [BZ #11840]
903 * configure.in (-fgnu89-inline check): Set and substitute
904 gnu89_inline, not libc_cv_gnu89_inline.
905 * configure: Regenerated.
906 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
907
9082010-07-26 Ulrich Drepper <drepper@redhat.com>
909
910 * string/test-strnlen.c: New file.
911 * string/Makefile (strop-tests): Add strnlen.
912 * string/tester.c (test_strnlen): Add a few more test cases.
913 * string/tst-strlen.c: Better error reporting.
914
915 * sysdeps/x86_64/strnlen.S: New file.
916
9172010-07-24 Ulrich Drepper <drepper@redhat.com>
918
919 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
920 lower-latency instructions.
921
9222010-07-23 Ulrich Drepper <drepper@redhat.com>
923
924 * string/test-strcasestr.c: New file.
925 * string/test-strstr.c: New file.
926 * string/Makefile (strop-tests): Add strstr and strcasestr.
927 * string/str-two-way.h: Don't undefine MAX.
928 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
929
9302010-07-21 Andreas Schwab <schwab@redhat.com>
931
932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
933 strcasestr-nonascii.
934 (CFLAGS-strcasestr-nonascii.c): Define.
935 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
936 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
937 Remove unused attribute.
938
9392010-07-20 Roland McGrath <roland@redhat.com>
940
941 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
942 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
943 ld.so.cache was broken. With it, there is no way to disable dsocaps
944 like LD_HWCAP_MASK can disable hwcaps.
945
9462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
947
948 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
949
9502010-07-16 Ulrich Drepper <drepper@redhat.com>
951
952 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
953 call in strcasestr.
954 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
955 __strcasestr_sse42_nonascii.
956 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
957 strcasestr-nonascii.c.
958 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
959
9602010-06-15 Luis Machado <luisgpm@br.ibm.com>
961
962 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
963 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
964 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
965 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
966
9672010-07-09 Ulrich Drepper <drepper@redhat.com>
968
969 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
970 fcntl.
971
9722010-07-06 Andreas Schwab <schwab@redhat.com>
973
974 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
975 dl_signal_cerror.
976
9772010-07-06 Ulrich Drepper <drepper@redhat.com>
978
979 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
980 _PC_PIPE_BUF using F_GETPIPE_SZ.
981
9822010-07-05 Roland McGrath <roland@redhat.com>
983
984 * manual/arith.texi (Rounding Functions): Fix rint description
985 implicit in round description.
986
9872010-07-02 Ulrich Drepper <drepper@redhat.com>
988
989 * elf/Makefile: Fix linking for a few tests to make recent linker
990 happy.
991
9922010-06-30 Andreas Schwab <schwab@redhat.com>
993
994 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
995 $(common-objpfx)libc_nonshared.a.
996
9972010-06-21 Luis Machado <luisgpm@br.ibm.com>
998
999 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
1000 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
1001 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1002 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1003 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
1004 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
1005 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1006 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
1021 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
1022 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
1023 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
1024 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
1025 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
1026 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
1027 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
1028 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
1029 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
1030 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
1031 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
1032 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
1039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
1047
10482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
1049
1050 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
1051 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
1052 * string/memmove.c (memmove): Renamed to ...
1053 (MEMMOVE): ...this. Default to memmove.
1054 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
1055 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
1056 (END_CHK): Define.
1057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1058 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
1059 mempcpy-ssse3-back memmove-ssse3-back.
1060 * sysdeps/x86_64/multiarch/bcopy.S: New file .
1061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
1062 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
1063 * sysdeps/x86_64/multiarch/memcpy.S: New file.
1064 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
1065 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
1066 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
1067 * sysdeps/x86_64/multiarch/memmove.c: New file.
1068 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
1069 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
1070 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
1071 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
1072 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
1073 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
1074 Define.
1075 (index_Fast_Copy_Backward): Define.
1076 (HAS_ARCH_FEATURE): Define.
1077 (HAS_FAST_REP_STRING): Define.
1078 (HAS_FAST_COPY_BACKWARD): Define.
1079
10802010-06-21 Andreas Schwab <schwab@redhat.com>
1081
1082 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1083 Restore proper fallback handling.
1084
10852010-06-19 Ulrich Drepper <drepper@redhat.com>
1086
1087 [BZ #11701]
1088 * posix/group_member.c (__group_member): Correct checking loop.
1089
1090 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
1091 OOM in getpwuid_r correctly. Return error number when the caller
1092 should return, otherwise -1.
1093 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
1094 call returning > 0 value.
1095 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
1096
10972010-06-07 Andreas Schwab <schwab@redhat.com>
1098
1099 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1100 libc_nonshared.a from targets in modules-names.
1101
11022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
1103
1104 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1105 requires it.
1106
11072010-06-10 Luis Machado <luisgpm@br.ibm.com>
1108
1109 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1110 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1111 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1112 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1113
11142010-06-02 Andreas Schwab <schwab@redhat.com>
1115
1116 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1117
11182010-06-14 Ulrich Drepper <drepper@redhat.com>
1119
1120 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1121 and F_GETPIPE_SZ.
1122 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1123 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1124 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1126 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1127 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1128
11292010-06-14 Roland McGrath <roland@redhat.com>
1130
1131 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1132
11332010-06-07 Jakub Jelinek <jakub@redhat.com>
1134
1135 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1136 __REDIRECT followed by __THROW.
1137 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1138 * posix/getopt.h (getopt): Likewise.
1139
11402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
1141
1142 * hurd/lookup-at.c (__file_name_lookup_at): Accept
1143 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
1144 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1145 in AT_FLAGS.
1146 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1147 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1148
11492010-05-28 Luis Machado <luisgpm@br.ibm.com>
1150
1151 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1152
11532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
1154
1155 [BZ #11640]
1156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1157 Properly check family and model.
1158
11592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
1160
1161 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1162
11632010-05-24 Luis Machado <luisgpm@br.ibm.com>
1164
1165 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1166
11672010-05-21 Ulrich Drepper <drepper@redhat.com>
1168
1169 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1170 symbol reference.
1171
11722010-05-19 Andreas Schwab <schwab@redhat.com>
1173
1174 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1175 symbol reference.
1176
11772010-05-21 Andreas Schwab <schwab@redhat.com>
1178
1179 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1180 and internal_recvmmsg.
1181 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1182 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1183 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1184 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1185
1186 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1187 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1188 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1189
11902010-05-20 Andreas Schwab <schwab@redhat.com>
1191
1192 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1193
11942010-05-17 Luis Machado <luisgpm@br.ibm.com>
1195
1196 POWER7 optimizations.
1197 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1198 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1199
12002010-05-19 Ulrich Drepper <drepper@redhat.com>
1201
1202 * version.h: Update for 2.13 development version.
1203
12042010-05-12 Andrew Stubbs <ams@codesourcery.com>
1205
1206 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1207 exceptions. Return 0.
1208
12092010-05-07 Roland McGrath <roland@redhat.com>
1210
1211 * elf/ldconfig.c (main): Add a const.
1212
12132010-05-06 Ulrich Drepper <drepper@redhat.com>
1214
1215 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1216 (args_options): Add no-idn option.
1217 (ahosts_keys_int): Add idn_flags to ai_flags.
1218 (parse_option): Handle 'i' option to clear idn_flags.
1219
1220 * malloc/malloc.c (_int_free): Possible race in the most recently
1221 added check. Only act on the data if no current modification
1222 happened.
1223
1224See ChangeLog.17 for earlier changes.