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