]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add missing file.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f0967738
AK
12010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2 Ulrich Drepper <drepper@gmail.com>
3
4 * elf/dl-object.c (_dl_new_object): Don't append the new object to
5 the global list here. Move code to...
6 (_dl_add_to_namespace_list): ...here. New function.
7 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9 * elf/dl-load.c (lose): Don't remove the element from the list.
10 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11 (_dl_map_object): Likewise.
12
132010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14
15 [BZ #12159]
16 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17 into all bytes of SSE register.
18 Patch by Richard Li <richardpku@gmail.com>.
19
f0967738 202010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21
22 [BZ #12140]
23 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24 perturbing.
25
d0b9e94f
MB
262010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27
28 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33 submachine.
34 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35
8e9f92e9
AS
362010-10-22 Andreas Schwab <schwab@redhat.com>
37
38 * include/dlfcn.h (__RTLD_SECURE): Define.
39 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
40 mode & __RTLD_SECURE instead.
41 (open_path): Rename preloaded parameter to secure.
42 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44 * elf/dl-deps.c (openaux): Likewise.
45 * elf/rtld.c (struct map_args): Remove is_preloaded.
46 (map_doit): Don't use it.
47 (dl_main): Likewise.
48 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50
bc96fbda
AS
512010-09-09 Andreas Schwab <schwab@redhat.com>
52
53 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54 (sysd-rules-targets): Remove duplicates.
55 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56 rtld-%.$o dependency.
57
22cd1c9b
AS
582010-10-18 Andreas Schwab <schwab@redhat.com>
59
60 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61 _dl_map_object do it.
62
18edac48
UD
632010-10-19 Ulrich Drepper <drepper@gmail.com>
64
65 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
66 fast fma builtins, define the macros in the C99 standard.
67 (FP_FAST_FMAF): Likewise.
68 (FP_FAST_FMAL): Likewise.
69 * sysdeps/x86_64/bits/mathdef.h: Likewise.
70
71 * bits/mathdef.h: Update copyright year.
72 * sysdeps/powerpc/bits/mathdef.h: Likewise.
73
d2050124
MM
742010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
75
76 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77 builtins, define the macros in the C99 standard.
78 (FP_FAST_FMAF): Likewise.
79 (FP_FAST_FMAL): Likewise.
80 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
81 multiply/add.
82 (FP_FAST_FMAF): Likewise.
83
475facd1
JJ
842010-10-15 Jakub Jelinek <jakub@redhat.com>
85
86 [BZ #3268]
87 * math/libm-test.inc (fma_test): Some new testcases.
88 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
90 y and infinite z. Do multiplication by C already in long double.
91 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
92 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
93 y and infinite z. Do bitwise or of inexact bit into u.d.
94 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95 * sysdeps/i386/fpu/s_fmaf.S: Removed.
96 * sysdeps/i386/fpu/s_fma.S: Removed.
97 * sysdeps/i386/fpu/s_fmal.S: Removed.
98
7c08a05c
JJ
992010-10-16 Jakub Jelinek <jakub@redhat.com>
100
101 [BZ #3268]
102 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
103 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
104 computation is not scheduled after fetestexcept. Fix value
105 of minimum denormal long double.
106
f3f7372d
JJ
1072010-10-14 Jakub Jelinek <jakub@redhat.com>
108
109 [BZ #3268]
110 * math/libm-test.inc (fma_test): Add some more tests.
111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
112 correctly.
113
14d43591
AS
1142010-10-15 Andreas Schwab <schwab@redhat.com>
115
116 * scripts/data/localplt-s390-linux-gnu.data: New file.
117 * scripts/data/localplt-s390x-linux-gnu.data: New file.
118
5e908464
JJ
1192010-10-13 Jakub Jelinek <jakub@redhat.com>
120
121 [BZ #3268]
122 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
123 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
124 instead of dbl-64.
125 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
126 inlines.
127 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
129 if one of x and y is very large and the other is subnormal.
130 * sysdeps/s390/fpu/s_fmaf.c: New file.
131 * sysdeps/s390/fpu/s_fma.c: New file.
132 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
133 * sysdeps/powerpc/fpu/s_fma.S: New file.
134 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
135 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
136 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
137
1382010-10-12 Jakub Jelinek <jakub@redhat.com>
139
140 [BZ #3268]
141 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
142 fma tests.
143 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
144 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
145 * sysdeps/i386/i686/multiarch/s_fma.c: Include
146 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
147 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
148 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
149 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
150
b833d51f
UD
1512010-10-12 Ulrich Drepper <drepper@redhat.com>
152
153 [BZ #12078]
154 * posix/regcomp.c (parse_branch): One more memory leak plugged.
155 * posix/bug-regex31.input: Add test case.
156
1751705d
UD
1572010-10-11 Ulrich Drepper <drepper@gmail.com>
158
e9b9cbf5
UD
159 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
160 * posix/bug-regex31.input: New file.
161
162 [BZ #12078]
163 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
164 (parse_sub_exp): Fix last change, use postorder.
165
ef06edbe
UD
166 * posix/bug-regex31.c: New file.
167 * posix/Makefile: Add rules to build and run bug-regex31.
168
a129c80d
UD
169 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
170
171 [BZ #12078]
172 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
173
b76b818e
UD
174 [BZ #12108]
175 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
176 to have entries in sys_siglist.
177
1751705d
UD
178 [BZ #12093]
179 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
180 be NULL.
181
9ff8d36f
JJ
1822010-10-07 Jakub Jelinek <jakub@redhat.com>
183
184 [BZ #3268]
185 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
186 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
187 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
188 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
189 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
190 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
191 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
192 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
193 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
194 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
195 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
196 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
197 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
198 * math/ftestexcept.c (fetestexcept): Likewise.
199 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
200 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
201 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
202 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
203 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
204 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
205 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
206
af325969
UD
2072010-10-11 Ulrich Drepper <drepper@gmail.com>
208
c579b202 209 [BZ #12107]
af325969
UD
210 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
211 newline.
212
67a67b95
UD
2132010-10-06 Ulrich Drepper <drepper@gmail.com>
214
215 * string/bug-strstr1.c: New file.
216 * string/Makefile: Add rules to build and run bug-strstr1.
217
5fb308bc
EB
2182010-10-05 Eric Blake <eblake@redhat.com>
219
220 [BZ #12092]
221 * string/str-two-way.h (two_way_long_needle): Always clear memory
222 when skipping input due to the shift table.
223
45db99c7
UD
2242010-10-03 Ulrich Drepper <drepper@gmail.com>
225
3b111893
UD
226 [BZ #12005]
227 * malloc/mcheck.c: Handle large requests.
228
45db99c7
UD
229 [BZ #12077]
230 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
231 for strncmp and strncasecmp.
232 * string/stratcliff.c: Add tests for strcmp and strncmp.
233 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
234
cf7a1eb8
NI
2352010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
236
237 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
238 __set_fpscr.
239
6484ba5e
AJ
2402010-09-30 Andreas Jaeger <aj@suse.de>
241
242 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
243 (CGROUP_SUPER_MAGIC): Define.
244 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
245 Handle btrfs and cgroup file systems.
246 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
247 Likewise.
248
91c42559
LM
2492010-09-27 Luis Machado <luisgpm@br.ibm.com>
250
251 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
252 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
253
87a97932
AK
2542010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
255
256 [BZ #12067]
257 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
258 trying to locate the ELF header.
259
c21cc9bc
AS
2602010-09-27 Andreas Schwab <schwab@redhat.com>
261
262 [BZ #11611]
263 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
264 Mask out sign-bit copies when constructing f_fsid.
265
315970f6
PB
2662010-09-24 Petr Baudis <pasky@suse.cz>
267
268 * debug/stack_chk_fail_local.c: Add missing licence exception.
269 * debug/warning-nop.c: Likewise.
270
1ac7a2c7
JM
2712010-09-15 Joseph Myers <joseph@codesourcery.com>
272
273 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
274 implementing getdents64 using getdents syscall, set d_type if
275 __ASSUME_GETDENTS32_D_TYPE.
276
56801c50
AS
2772010-09-16 Andreas Schwab <schwab@redhat.com>
278
279 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
280 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
281
dda51327
UD
2822010-09-21 Ulrich Drepper <drepper@redhat.com>
283
284 [BZ #12037]
285 * posix/unistd.h: Undo change of feature selection for ftruncate from
286 2010-01-11.
287
8ffcee4a
UD
2882010-09-20 Ulrich Drepper <drepper@redhat.com>
289
a545ecd9 290 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
291 detection.
292
e24f0a8b
AS
2932010-09-20 Andreas Schwab <schwab@redhat.com>
294
295 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
296 fanotify_mark.
297 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
298
7291c56f
AS
2992010-09-14 Andreas Schwab <schwab@redhat.com>
300
301 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
302 variables after CHECK_SP call.
303 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
304
bc5fb037
AS
3052010-09-13 Andreas Schwab <schwab@redhat.com>
306 Ulrich Drepper <drepper@redhat.com>
307
308 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
309 re-relocationg ld.so.
310 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
311 _dl_init_paths call.
312 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
313 here anymore.
314
e66e7419
UD
3152010-09-14 Ulrich Drepper <drepper@redhat.com>
316
317 * resolv/res_init.c (__res_vinit): Count the default server we added.
318
c044aa75
CLT
3192010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
320 Ulrich Drepper <drepper@redhat.com>
321
322 [BZ #11968]
323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
324 (____longjmp_chk): Use %ebx for saving value across system call.
325 Add unwind info.
326
32cf4069
AS
3272010-09-06 Andreas Schwab <schwab@redhat.com>
328
329 * manual/Makefile: Don't mix pattern rules with normal rules.
330
817328ee
AS
3312010-09-05 Andreas Schwab <schwab@linux-m68k.org>
332
333 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
334 operation.
335 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
336 * libio/iofopncook.c (_IO_cookie_init): Likewise.
337 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
338 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
339 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
340 Likewise.
341
29fddf61
UD
3422010-09-04 Ulrich Drepper <drepper@redhat.com>
343
344 [BZ #11979]
345 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
346 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
347
0959ffc9
UD
3482010-09-02 Ulrich Drepper <drepper@redhat.com>
349
350 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
351 * sysdeps/x86_64/addmul_1.S: Likewise.
352 * sysdeps/x86_64/lshift.S: Likewise.
353 * sysdeps/x86_64/mul_1.S: Likewise.
354 * sysdeps/x86_64/rshift.S: Likewise.
355 * sysdeps/x86_64/sub_n.S: Likewise.
356 * sysdeps/x86_64/submul_1.S: Likewise.
357
ece29840
ST
3582010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
359
0959ffc9
UD
360 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
361 Define __sched_param instead of SCHED_* and sched_param when
ece29840 362 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 363 * bits/sched.h [__need_schedparam]
ece29840 364 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
365 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
366 (__defined_schedparam): Define to 1.
ece29840
ST
367 (__sched_param): New structure, identical to sched_param.
368 (__need_schedparam): Undefine.
369
e53a31fe
MF
3702010-08-31 Mike Frysinger <vapier@gentoo.org>
371
fdc0c10d
MF
372 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
373 (epoll_create1): Declare.
374
e53a31fe
MF
375 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
376
a726d796
AS
3772010-08-31 Andreas Schwab <schwab@redhat.com>
378
379 [BZ #7066]
380 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
381 shifting retval into place.
382
2f3e3dc7
UD
3832010-09-01 Ulrich Drepper <drepper@redhat.com>
384
f2933da9
UD
385 * nis/rpcsvc/nis.h: Update copyright notice.
386 * nis/rpcsvc/nis.x: Likewise.
387 * nis/rpcsvc/nis_callback.h: Likewise.
388 * nis/rpcsvc/nis_callback.x: Likewise.
389 * nis/rpcsvc/nis_object.x: Likewise.
390 * nis/rpcsvc/nis_tags.h: Likewise.
391 * nis/rpcsvc/yp.h: Likewise.
392 * nis/rpcsvc/yp.x: Likewise.
393 * nis/rpcsvc/ypupd.h: Likewise.
394 * nis/yp_xdr.c: Likewise.
395 * nis/ypupdate_xdr.c: Likewise.
396
2f3e3dc7
UD
397 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
398 mainly the body of pmap_getport. Add parameters to specify timeouts.
399 (pmap_getport): Use __libc_rpc_getport.
400 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
401 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
402 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
403
f3dcc2f9
AS
4042010-08-31 Andreas Schwab <schwab@linux-m68k.org>
405
406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
407 fanotify_mark.
408
6d34eb5b
RM
4092010-08-27 Roland McGrath <roland@redhat.com>
410
411 * sysdeps/i386/i686/multiarch/Makefile
412 (CFLAGS-varshift.c): New variable.
413
9ea3de11
UD
4142010-08-27 Ulrich Drepper <drepper@redhat.com>
415
c96d23fc
UD
416 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
417 * sysdeps/i386/i686/multiarch/varshift.c: New file.
418
9ea3de11
UD
419 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
420
421 * sysdeps/x86_64/strlen.S: Minimal code improvement.
422
623aac7f
L
4232010-08-26 H.J. Lu <hongjiu.lu@intel.com>
424
425 * sysdeps/x86_64/strlen.S: Unroll the loop.
426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
427 strlen-sse2 strlen-sse2-bsf.
428 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
429 __strlen_no_bsf if bit_Slow_BSF is set.
430 (__strlen_sse42): Removed.
431 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
432 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
433
8b2b7715
RM
4342010-08-25 Roland McGrath <roland@redhat.com>
435
436 * sysdeps/x86_64/multiarch/varshift.S: File removed.
437 * sysdeps/x86_64/multiarch/varshift.c: New file.
438 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
439 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
440 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
441 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
442
e73015f2
L
4432010-08-25 H.J. Lu <hongjiu.lu@intel.com>
444
445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
446 strlen-sse2 strlen-sse2-bsf.
447 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
448 __strlen_sse2_bsf if bit_Slow_BSF is unset.
449 (__strlen_sse2): Removed.
450 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
451 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
453 bit_Slow_BSF for Atom.
454 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
455 (index_Slow_BSF): Define.
456 (HAS_SLOW_BSF): Define.
457
df24a73e
UD
4582010-08-25 Ulrich Drepper <drepper@redhat.com>
459
460 [BZ #10851]
461 * resolv/res_init.c (__res_vinit): When no server address at all
462 is given default to loopback.
463
f2ac4868
RM
4642010-08-24 Roland McGrath <roland@redhat.com>
465
09055553
RM
466 * configure.in: Remove config-name.h generation.
467 * configure: Regenerated.
468 * config-name.in: File removed.
469 * scripts/config-uname.sh: New file.
470 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
471 ($(objdir)config-name.h): New target.
472
f2ac4868
RM
473 * sunrpc/rpc_parse.h: Avoid nested comment.
474
73f27d5e
RH
4752010-08-24 Richard Henderson <rth@redhat.com>
476 Ulrich Drepper <drepper@redhat.com>
477 H.J. Lu <hongjiu.lu@intel.com>
478
479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
481 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
482 Replace _mm_srli_si128 with __m128i_shift_right. Replace
483 _mm_alignr_epi8 with _mm_loadu_si128.
484 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
485 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
486 (__m128i_shift_right): Removed.
487 * sysdeps/i386/i686/multiarch/varshift.h: New file.
488 * sysdeps/i386/i686/multiarch/varshift.S: New file.
489 * sysdeps/x86_64/multiarch/varshift.h: New file.
490 * sysdeps/x86_64/multiarch/varshift.S: New file.
491
84b9230c
MF
4922010-08-21 Mike Frysinger <vapier@gentoo.org>
493
494 * configure.in: Move assembler checks to before sysdep dir checking.
495
9bbd0ddc
PB
4962010-08-20 Petr Baudis <pasky@suse.cz>
497
498 * LICENSES: Sync the sunrpc license.
499
9da4bb31
UD
5002010-08-19 Ulrich Drepper <drepper@redhat.com>
501
a7ab6ec8
UD
502 * sunrpc/auth_des.c: Update copyright notice once again.
503 * sunrpc/auth_none.c: Likewise.
504 * sunrpc/auth_unix.c: Likewise.
505 * sunrpc/authdes_prot.c: Likewise.
506 * sunrpc/authuxprot.c: Likewise.
507 * sunrpc/bindrsvprt.c: Likewise.
508 * sunrpc/clnt_gen.c: Likewise.
509 * sunrpc/clnt_perr.c: Likewise.
510 * sunrpc/clnt_raw.c: Likewise.
511 * sunrpc/clnt_simp.c: Likewise.
512 * sunrpc/clnt_tcp.c: Likewise.
513 * sunrpc/clnt_udp.c: Likewise.
514 * sunrpc/clnt_unix.c: Likewise.
515 * sunrpc/des_crypt.c: Likewise.
516 * sunrpc/des_soft.c: Likewise.
517 * sunrpc/get_myaddr.c: Likewise.
518 * sunrpc/getrpcport.c: Likewise.
519 * sunrpc/key_call.c: Likewise.
520 * sunrpc/key_prot.c: Likewise.
521 * sunrpc/openchild.c: Likewise.
522 * sunrpc/pm_getmaps.c: Likewise.
523 * sunrpc/pm_getport.c: Likewise.
524 * sunrpc/pmap_clnt.c: Likewise.
525 * sunrpc/pmap_prot.c: Likewise.
526 * sunrpc/pmap_prot2.c: Likewise.
527 * sunrpc/pmap_rmt.c: Likewise.
528 * sunrpc/rpc/auth.h: Likewise.
529 * sunrpc/rpc/auth_unix.h: Likewise.
530 * sunrpc/rpc/clnt.h: Likewise.
531 * sunrpc/rpc/des_crypt.h: Likewise.
532 * sunrpc/rpc/key_prot.h: Likewise.
533 * sunrpc/rpc/netdb.h: Likewise.
534 * sunrpc/rpc/pmap_clnt.h: Likewise.
535 * sunrpc/rpc/pmap_prot.h: Likewise.
536 * sunrpc/rpc/pmap_rmt.h: Likewise.
537 * sunrpc/rpc/rpc.h: Likewise.
538 * sunrpc/rpc/rpc_des.h: Likewise.
539 * sunrpc/rpc/rpc_msg.h: Likewise.
540 * sunrpc/rpc/svc.h: Likewise.
541 * sunrpc/rpc/svc_auth.h: Likewise.
542 * sunrpc/rpc/types.h: Likewise.
543 * sunrpc/rpc/xdr.h: Likewise.
544 * sunrpc/rpc_clntout.c: Likewise.
545 * sunrpc/rpc_cmsg.c: Likewise.
546 * sunrpc/rpc_common.c: Likewise.
547 * sunrpc/rpc_cout.c: Likewise.
548 * sunrpc/rpc_dtable.c: Likewise.
549 * sunrpc/rpc_hout.c: Likewise.
550 * sunrpc/rpc_main.c: Likewise.
551 * sunrpc/rpc_parse.c: Likewise.
552 * sunrpc/rpc_parse.h: Likewise.
553 * sunrpc/rpc_prot.c: Likewise.
554 * sunrpc/rpc_sample.c: Likewise.
555 * sunrpc/rpc_scan.c: Likewise.
556 * sunrpc/rpc_scan.h: Likewise.
557 * sunrpc/rpc_svcout.c: Likewise.
558 * sunrpc/rpc_tblout.c: Likewise.
559 * sunrpc/rpc_util.c: Likewise.
560 * sunrpc/rpc_util.h: Likewise.
561 * sunrpc/rpcinfo.c: Likewise.
562 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
563 * sunrpc/rpcsvc/key_prot.x: Likewise.
564 * sunrpc/rpcsvc/klm_prot.x: Likewise.
565 * sunrpc/rpcsvc/mount.x: Likewise.
566 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
567 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
568 * sunrpc/rpcsvc/rex.x: Likewise.
569 * sunrpc/rpcsvc/rstat.x: Likewise.
570 * sunrpc/rpcsvc/rusers.x: Likewise.
571 * sunrpc/rpcsvc/sm_inter.x: Likewise.
572 * sunrpc/rpcsvc/spray.x: Likewise.
573 * sunrpc/rpcsvc/yppasswd.x: Likewise.
574 * sunrpc/rtime.c: Likewise.
575 * sunrpc/svc.c: Likewise.
576 * sunrpc/svc_auth.c: Likewise.
577 * sunrpc/svc_authux.c: Likewise.
578 * sunrpc/svc_raw.c: Likewise.
579 * sunrpc/svc_run.c: Likewise.
580 * sunrpc/svc_simple.c: Likewise.
581 * sunrpc/svc_tcp.c: Likewise.
582 * sunrpc/svc_udp.c: Likewise.
583 * sunrpc/svc_unix.c: Likewise.
584 * sunrpc/svcauth_des.c: Likewise.
585 * sunrpc/xcrypt.c: Likewise.
586 * sunrpc/xdr.c: Likewise.
587 * sunrpc/xdr_array.c: Likewise.
588 * sunrpc/xdr_float.c: Likewise.
589 * sunrpc/xdr_mem.c: Likewise.
590 * sunrpc/xdr_rec.c: Likewise.
591 * sunrpc/xdr_ref.c: Likewise.
592 * sunrpc/xdr_sizeof.c: Likewise.
593 * sunrpc/xdr_stdio.c: Likewise.
594
9da4bb31
UD
595 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
596 handling.
597
bdaa77bc
AS
5982010-08-19 Andreas Schwab <schwab@redhat.com>
599
600 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
601
fe2f79db
LM
6022010-08-19 Luis Machado <luisgpm@br.ibm.com>
603
604 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
605 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
606 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
607 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
608 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
609 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
610 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
611 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
612 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
613 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
614 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
615 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
616 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
617 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
618
b9b42ee0
AB
6192010-07-26 Anton Blanchard <anton@samba.org>
620
621 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
622 * malloc/arena.c (heap_trim): Likewise.
623
1c06ba31
UD
6242010-08-16 Ulrich Drepper <drepper@redhat.com>
625
626 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
627 here. Not...
628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
629 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
630
f8392f40
L
6312010-08-12 H.J. Lu <hongjiu.lu@intel.com>
632
633 * sysdeps/i386/elf/Makefile: New file.
634
3162f12e
AS
6352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
636
637 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
638 from fanotify_init.
639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
641
28c90b2c
UD
6422010-08-15 Ulrich Drepper <drepper@redhat.com>
643
644 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
645 of strncasecmp_l.
1feccb6c 646 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 647
ca6bb004
UD
6482010-08-14 Ulrich Drepper <drepper@redhat.com>
649
e9f82e0d
UD
650 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
651 strncase_l-nonascii.
652 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
653 Add strncase_l-ssse3.
654 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
655 * sysdeps/x86_64/strcmp.S: Likewise.
656 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
657 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
658 * sysdeps/x86_64/strncase.S: New file.
659 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
660 * sysdeps/x86_64/strncase_l.S: New file.
661 * string/Makefile (strop-tests): Add strncasecmp.
662 * string/test-strncasecmp.c: New file.
663
664 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
665 warning.
666
ca6bb004
UD
667 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
668 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
669
052fa7b3
AS
6702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
671
672 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
673
962dba78
UD
6742010-08-12 Ulrich Drepper <drepper@redhat.com>
675
676 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
677 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
678 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
679
bebff237
AM
6802010-05-01 Alan Modra <amodra@gmail.com>
681
682 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
683 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
684 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
685 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
686 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
687 tidying. Don't tail-call __sigjmp_save for static lib.
688 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
689 save location.
690 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
691 (CALL_MCOUNT): Add eh info, and nop after bl.
692 (TAIL_CALL_SYSCALL_ERROR): New macro.
693 (PSEUDO_RET): Use it.
694 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
695 Correct save location of integer regs and cr.
696 (_dl_profile_resolve): Correct cr save location. Delete nops
697 after bl when SHARED. Reduce cfi size a little by better
698 placement of cfi directives.
699 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
700 make a stack frame. Instead use parm save area as a temp.
701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
702 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
704 Don't make a stack frame for parent, use parm save area.
705 Increase child stack frame to 112 bytes. Don't save unused reg,
706 and adjust reg usage. Set up cfi on error recovery and
707 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
709 (__makecontext): Add dummy nop after jump to exit.
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
711 Use correct parm save area and cr save, reduce stack frame.
712 Correct cfi for possible PSEUDO_RET frame setup.
713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
714 Branch to local label emitted by PSEUDO_RET rather than
715 __syscall_error.
716
02637374
AS
7172010-08-12 Andreas Schwab <schwab@redhat.com>
718
719 [BZ #11904]
720 * locale/programs/locale.c (print_assignment): New function.
721 (show_locale_vars): Use it.
722
c3e2f19b
UD
7232010-08-11 Ulrich Drepper <drepper@redhat.com>
724
3cdaa6ad
UD
725 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
726 field.
727 (struct statfs64): Likewise.
728 (_STATFS_F_FLAGS): Define.
729 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
730 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
731 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
732 (ST_VALID): Define locally.
733 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
734 __statvfs_getflags, use the provided value.
735 * sysdeps/unix/sysv/linux/kernel-features.h: Define
736 __ASSUME_STATFS_F_FLAGS.
737
754f7da3
UD
738 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
739
10b3bedc
UD
740 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
741 Add sys/fanotify.h.
742 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
743 fanotify_mask for GLIBC_2.13.
744 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
745 fanotify_init and fanotify_mark.
746 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
747 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
748
c08fb0d7
UD
749 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
750 Add prlimit.
751 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
752 prlimit64 for GLIBC_2.13.
753 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
754 prlimit64.
755 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
756 syscall.
757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
758 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
759 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
760 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
761 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
762 add prlimit alias.
763 * sysdeps/unix/sysv/linux/prlimit.c: New file.
764
15bac72b
UD
765 [BZ #11903]
766 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
767 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
768
c3e2f19b
UD
769 * nss/Makefile: Add rules to build and run tst-nss-test1.
770 * shlib-versions: Add entry for libnss_test1.
771 * nss/nss_test1.c: New file.
772 * nss/tst-nss-test1.c: New file.
773
774 * nss/nsswitch.c (__nss_database_custom): Define new variable.
775 (__nss_configure_lookup): Set appropriate entry in
776 __nss_configure_lookup to true.
777 * nss/nsswitch.h: Define enum with indeces of databases in
778 databases and __nss_database_custom arrays. Declare
779 __nss_database_custom.
780 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
781 to avoid using nscd when custom rules are installed.
782 * nss/getXXbyYY_r.c: Likewise.
783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
784
785 * nss/nss_files/files-parse.c: Whitespace fixes.
786
f15ce4d8
UD
7872010-08-09 Ulrich Drepper <drepper@redhat.com>
788
789 [BZ #11883]
790 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
791 * posix/fnmatch_loop.c: Likewise.
792
d22e4cc9
AK
7932010-07-17 Andi Kleen <ak@linux.intel.com>
794
795 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
796 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
797 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
798 * Versions.def [GLIBC_2.13]: Add.
799
805bc17d
UD
8002010-08-06 Ulrich Drepper <drepper@redhat.com>
801
802 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
803 Also fail if tpwd after pwuid call is NULL.
804
5a42321d
ST
8052010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
806
807 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
808 when converting to ms.
809
fd3ebeda
ST
8102010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
811
812 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
813 EOPNOTSUPP errors with ENOTTY.
814 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
815 EOPNOTSUPP errors with ENOTTY.
816
73507d3a
UD
8172010-07-31 Ulrich Drepper <drepper@redhat.com>
818
819 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
820 Add strcasecmp_l-ssse3.
821 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
822 strcasecmp.
823 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
824 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
825 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
826
fe36dd02
UD
8272010-07-30 Ulrich Drepper <drepper@redhat.com>
828
66f6765a
UD
829 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
830
42e08a54
UD
831 * string/Makefile (strop-tests): Add strcasecmp.
832 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
833 strcasecmp_l-nonascii.
834 (gen-as-const-headers): Add locale-defines.sym.
835 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
836 * sysdeps/x86_64/strcasecmp.S: New file.
837 * sysdeps/x86_64/strcasecmp_l.S: New file.
838 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
839 * sysdeps/x86_64/locale-defines.sym: New file.
840 * string/test-strcasecmp.c: New file.
841
fe36dd02
UD
842 * string/test-strcasestr.c: Test both ends of the range of characters.
843 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
844
48cbc0d6
RM
8452010-07-29 Roland McGrath <roland@redhat.com>
846
76e6d6bc 847 [BZ #11856]
48cbc0d6
RM
848 * manual/locale.texi (Yes-or-No Questions): Fix example code.
849
880113d9
UD
8502010-07-27 Ulrich Drepper <drepper@redhat.com>
851
852 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
853 for ld.so.
854
deb9cabb
AS
8552010-07-27 Andreas Schwab <schwab@redhat.com>
856
857 * manual/memory.texi (Malloc Tunable Parameters): Document
858 M_PERTURB.
859
1c7570ff
RM
8602010-07-26 Roland McGrath <roland@redhat.com>
861
862 [BZ #11840]
863 * configure.in (-fgnu89-inline check): Set and substitute
864 gnu89_inline, not libc_cv_gnu89_inline.
865 * configure: Regenerated.
866 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
867
24fb0f88
UD
8682010-07-26 Ulrich Drepper <drepper@redhat.com>
869
870 * string/test-strnlen.c: New file.
871 * string/Makefile (strop-tests): Add strnlen.
872 * string/tester.c (test_strnlen): Add a few more test cases.
873 * string/tst-strlen.c: Better error reporting.
874
875 * sysdeps/x86_64/strnlen.S: New file.
876
8e96b93a
UD
8772010-07-24 Ulrich Drepper <drepper@redhat.com>
878
879 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
880 lower-latency instructions.
881
dbc676d4
UD
8822010-07-23 Ulrich Drepper <drepper@redhat.com>
883
884 * string/test-strcasestr.c: New file.
885 * string/test-strstr.c: New file.
886 * string/Makefile (strop-tests): Add strstr and strcasestr.
887 * string/str-two-way.h: Don't undefine MAX.
888 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
889
f6a31e0e
AS
8902010-07-21 Andreas Schwab <schwab@redhat.com>
891
892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
893 strcasestr-nonascii.
894 (CFLAGS-strcasestr-nonascii.c): Define.
895 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
896 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
897 Remove unused attribute.
898
5dbc3b6c
RM
8992010-07-20 Roland McGrath <roland@redhat.com>
900
901 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
902 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
903 ld.so.cache was broken. With it, there is no way to disable dsocaps
904 like LD_HWCAP_MASK can disable hwcaps.
905
23d101d8
EPM
9062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
907
908 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
909
cc9f2e47
UD
9102010-07-16 Ulrich Drepper <drepper@redhat.com>
911
912 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
913 call in strcasestr.
914 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
915 __strcasestr_sse42_nonascii.
916 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
917 strcasestr-nonascii.c.
918 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
919
77c1b069
LM
9202010-06-15 Luis Machado <luisgpm@br.ibm.com>
921
922 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
923 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
924 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
925 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
926
440566c3
UD
9272010-07-09 Ulrich Drepper <drepper@redhat.com>
928
929 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
930 fcntl.
931
5be9d05d
AS
9322010-07-06 Andreas Schwab <schwab@redhat.com>
933
934 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
935 dl_signal_cerror.
936
8a492a67
UD
9372010-07-06 Ulrich Drepper <drepper@redhat.com>
938
939 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
940 _PC_PIPE_BUF using F_GETPIPE_SZ.
941
713df3d5
RM
9422010-07-05 Roland McGrath <roland@redhat.com>
943
944 * manual/arith.texi (Rounding Functions): Fix rint description
945 implicit in round description.
946
702e8f14
UD
9472010-07-02 Ulrich Drepper <drepper@redhat.com>
948
949 * elf/Makefile: Fix linking for a few tests to make recent linker
950 happy.
951
52ed8be9
AS
9522010-06-30 Andreas Schwab <schwab@redhat.com>
953
954 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
955 $(common-objpfx)libc_nonshared.a.
956
f47c9a11
LM
9572010-06-21 Luis Machado <luisgpm@br.ibm.com>
958
959 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
960 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
961 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
962 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
963 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
964 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
965 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
966 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
981 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
982 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
983 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
984 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
985 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
986 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
987 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
988 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
989 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
990 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
991 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
992 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
1001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
1007
6fb8cbcb
L
10082010-06-25 H.J. Lu <hongjiu.lu@intel.com>
1009
1010 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
1011 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
1012 * string/memmove.c (memmove): Renamed to ...
1013 (MEMMOVE): ...this. Default to memmove.
1014 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
1015 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
1016 (END_CHK): Define.
1017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1018 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
1019 mempcpy-ssse3-back memmove-ssse3-back.
1020 * sysdeps/x86_64/multiarch/bcopy.S: New file .
1021 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
1022 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
1023 * sysdeps/x86_64/multiarch/memcpy.S: New file.
1024 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
1025 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
1026 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
1027 * sysdeps/x86_64/multiarch/memmove.c: New file.
1028 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
1029 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
1030 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
1031 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
1032 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
1033 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
1034 Define.
1035 (index_Fast_Copy_Backward): Define.
1036 (HAS_ARCH_FEATURE): Define.
1037 (HAS_FAST_REP_STRING): Define.
1038 (HAS_FAST_COPY_BACKWARD): Define.
1039
4e733bac 10402010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
1041
1042 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1043 Restore proper fallback handling.
1044
63c4ed22
UD
10452010-06-19 Ulrich Drepper <drepper@redhat.com>
1046
ac2b484c
UD
1047 [BZ #11701]
1048 * posix/group_member.c (__group_member): Correct checking loop.
1049
63c4ed22
UD
1050 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
1051 OOM in getpwuid_r correctly. Return error number when the caller
1052 should return, otherwise -1.
1053 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
1054 call returning > 0 value.
1055 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
1056
765ade4b
AS
10572010-06-07 Andreas Schwab <schwab@redhat.com>
1058
1059 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1060 libc_nonshared.a from targets in modules-names.
1061
80da2e09
KS
10622010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
1063
1064 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1065 requires it.
1066
158db122
LM
10672010-06-10 Luis Machado <luisgpm@br.ibm.com>
1068
1069 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1070 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1071 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1072 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1073
caa78cf8
AS
10742010-06-02 Andreas Schwab <schwab@redhat.com>
1075
1076 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1077
b2ef2c01
UD
10782010-06-14 Ulrich Drepper <drepper@redhat.com>
1079
1080 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1081 and F_GETPIPE_SZ.
1082 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1083 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1086 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1087 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1088
fbd643b6
RM
10892010-06-14 Roland McGrath <roland@redhat.com>
1090
1091 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1092
f32f2869
JJ
10932010-06-07 Jakub Jelinek <jakub@redhat.com>
1094
1095 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1096 __REDIRECT followed by __THROW.
1097 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1098 * posix/getopt.h (getopt): Likewise.
1099
2a50c078
EPM
11002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
1101
1102 * hurd/lookup-at.c (__file_name_lookup_at): Accept
1103 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
1104 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1105 in AT_FLAGS.
1106 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1107 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1108
eb5ad2eb
LM
11092010-05-28 Luis Machado <luisgpm@br.ibm.com>
1110
1111 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1112
3c88fe1e
L
11132010-05-26 H.J. Lu <hongjiu.lu@intel.com>
1114
1115 [BZ #11640]
1116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1117 Properly check family and model.
1118
d2f73151
TY
11192010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
1120
1121 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1122
ebd2e13d
LM
11232010-05-24 Luis Machado <luisgpm@br.ibm.com>
1124
1125 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1126
b32b8b45
UD
11272010-05-21 Ulrich Drepper <drepper@redhat.com>
1128
1129 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1130 symbol reference.
1131
9acbe24d
AS
11322010-05-19 Andreas Schwab <schwab@redhat.com>
1133
1134 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1135 symbol reference.
1136
f0ccf6ea
AS
11372010-05-21 Andreas Schwab <schwab@redhat.com>
1138
3d04ff3a
AS
1139 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1140 and internal_recvmmsg.
1141 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1142 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1143 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1144 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1145
f0ccf6ea
AS
1146 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1147 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1148 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1149
5b08ac57
AS
11502010-05-20 Andreas Schwab <schwab@redhat.com>
1151
1152 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1153
4828935d
LM
11542010-05-17 Luis Machado <luisgpm@br.ibm.com>
1155
1156 POWER7 optimizations.
1157 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1158 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1159
373d545e
UD
11602010-05-19 Ulrich Drepper <drepper@redhat.com>
1161
1162 * version.h: Update for 2.13 development version.
1163
21a2b1ae
AS
11642010-05-12 Andrew Stubbs <ams@codesourcery.com>
1165
1166 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1167 exceptions. Return 0.
1168
3f7dcb2b
RM
11692010-05-07 Roland McGrath <roland@redhat.com>
1170
1171 * elf/ldconfig.c (main): Add a const.
1172
5f24d53a 11732010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 1174
a160f8d8
UD
1175 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1176 (args_options): Add no-idn option.
1177 (ahosts_keys_int): Add idn_flags to ai_flags.
1178 (parse_option): Handle 'i' option to clear idn_flags.
1179
5f24d53a
UD
1180 * malloc/malloc.c (_int_free): Possible race in the most recently
1181 added check. Only act on the data if no current modification
1182 happened.
265bb1ce
UD
1183
1184See ChangeLog.17 for earlier changes.