]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix memory leak for some invalid regular expressions.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1751705d
UD
12010-10-11 Ulrich Drepper <drepper@gmail.com>
2
a129c80d
UD
3 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
4
5 [BZ #12078]
6 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
7
b76b818e
UD
8 [BZ #12108]
9 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10 to have entries in sys_siglist.
11
1751705d
UD
12 [BZ #12093]
13 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14 be NULL.
15
9ff8d36f
JJ
162010-10-07 Jakub Jelinek <jakub@redhat.com>
17
18 [BZ #3268]
19 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32 * math/ftestexcept.c (fetestexcept): Likewise.
33 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40
af325969
UD
412010-10-11 Ulrich Drepper <drepper@gmail.com>
42
c579b202 43 [BZ #12107]
af325969
UD
44 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45 newline.
46
67a67b95
UD
472010-10-06 Ulrich Drepper <drepper@gmail.com>
48
49 * string/bug-strstr1.c: New file.
50 * string/Makefile: Add rules to build and run bug-strstr1.
51
5fb308bc
EB
522010-10-05 Eric Blake <eblake@redhat.com>
53
54 [BZ #12092]
55 * string/str-two-way.h (two_way_long_needle): Always clear memory
56 when skipping input due to the shift table.
57
45db99c7
UD
582010-10-03 Ulrich Drepper <drepper@gmail.com>
59
3b111893
UD
60 [BZ #12005]
61 * malloc/mcheck.c: Handle large requests.
62
45db99c7
UD
63 [BZ #12077]
64 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65 for strncmp and strncasecmp.
66 * string/stratcliff.c: Add tests for strcmp and strncmp.
67 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
68
cf7a1eb8
NI
692010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
70
71 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72 __set_fpscr.
73
6484ba5e
AJ
742010-09-30 Andreas Jaeger <aj@suse.de>
75
76 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77 (CGROUP_SUPER_MAGIC): Define.
78 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79 Handle btrfs and cgroup file systems.
80 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
81 Likewise.
82
91c42559
LM
832010-09-27 Luis Machado <luisgpm@br.ibm.com>
84
85 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
87
87a97932
AK
882010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
89
90 [BZ #12067]
91 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
92 trying to locate the ELF header.
93
c21cc9bc
AS
942010-09-27 Andreas Schwab <schwab@redhat.com>
95
96 [BZ #11611]
97 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
98 Mask out sign-bit copies when constructing f_fsid.
99
315970f6
PB
1002010-09-24 Petr Baudis <pasky@suse.cz>
101
102 * debug/stack_chk_fail_local.c: Add missing licence exception.
103 * debug/warning-nop.c: Likewise.
104
1ac7a2c7
JM
1052010-09-15 Joseph Myers <joseph@codesourcery.com>
106
107 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
108 implementing getdents64 using getdents syscall, set d_type if
109 __ASSUME_GETDENTS32_D_TYPE.
110
56801c50
AS
1112010-09-16 Andreas Schwab <schwab@redhat.com>
112
113 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
114 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
115
dda51327
UD
1162010-09-21 Ulrich Drepper <drepper@redhat.com>
117
118 [BZ #12037]
119 * posix/unistd.h: Undo change of feature selection for ftruncate from
120 2010-01-11.
121
8ffcee4a
UD
1222010-09-20 Ulrich Drepper <drepper@redhat.com>
123
a545ecd9 124 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
125 detection.
126
e24f0a8b
AS
1272010-09-20 Andreas Schwab <schwab@redhat.com>
128
129 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
130 fanotify_mark.
131 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
132
7291c56f
AS
1332010-09-14 Andreas Schwab <schwab@redhat.com>
134
135 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
136 variables after CHECK_SP call.
137 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
138
bc5fb037
AS
1392010-09-13 Andreas Schwab <schwab@redhat.com>
140 Ulrich Drepper <drepper@redhat.com>
141
142 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
143 re-relocationg ld.so.
144 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
145 _dl_init_paths call.
146 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
147 here anymore.
148
e66e7419
UD
1492010-09-14 Ulrich Drepper <drepper@redhat.com>
150
151 * resolv/res_init.c (__res_vinit): Count the default server we added.
152
c044aa75
CLT
1532010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
154 Ulrich Drepper <drepper@redhat.com>
155
156 [BZ #11968]
157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
158 (____longjmp_chk): Use %ebx for saving value across system call.
159 Add unwind info.
160
32cf4069
AS
1612010-09-06 Andreas Schwab <schwab@redhat.com>
162
163 * manual/Makefile: Don't mix pattern rules with normal rules.
164
817328ee
AS
1652010-09-05 Andreas Schwab <schwab@linux-m68k.org>
166
167 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
168 operation.
169 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
170 * libio/iofopncook.c (_IO_cookie_init): Likewise.
171 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
172 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
173 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
174 Likewise.
175
29fddf61
UD
1762010-09-04 Ulrich Drepper <drepper@redhat.com>
177
178 [BZ #11979]
179 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
180 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
181
0959ffc9
UD
1822010-09-02 Ulrich Drepper <drepper@redhat.com>
183
184 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
185 * sysdeps/x86_64/addmul_1.S: Likewise.
186 * sysdeps/x86_64/lshift.S: Likewise.
187 * sysdeps/x86_64/mul_1.S: Likewise.
188 * sysdeps/x86_64/rshift.S: Likewise.
189 * sysdeps/x86_64/sub_n.S: Likewise.
190 * sysdeps/x86_64/submul_1.S: Likewise.
191
ece29840
ST
1922010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
193
0959ffc9
UD
194 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
195 Define __sched_param instead of SCHED_* and sched_param when
ece29840 196 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 197 * bits/sched.h [__need_schedparam]
ece29840 198 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
199 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
200 (__defined_schedparam): Define to 1.
ece29840
ST
201 (__sched_param): New structure, identical to sched_param.
202 (__need_schedparam): Undefine.
203
e53a31fe
MF
2042010-08-31 Mike Frysinger <vapier@gentoo.org>
205
fdc0c10d
MF
206 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
207 (epoll_create1): Declare.
208
e53a31fe
MF
209 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
210
a726d796
AS
2112010-08-31 Andreas Schwab <schwab@redhat.com>
212
213 [BZ #7066]
214 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
215 shifting retval into place.
216
2f3e3dc7
UD
2172010-09-01 Ulrich Drepper <drepper@redhat.com>
218
f2933da9
UD
219 * nis/rpcsvc/nis.h: Update copyright notice.
220 * nis/rpcsvc/nis.x: Likewise.
221 * nis/rpcsvc/nis_callback.h: Likewise.
222 * nis/rpcsvc/nis_callback.x: Likewise.
223 * nis/rpcsvc/nis_object.x: Likewise.
224 * nis/rpcsvc/nis_tags.h: Likewise.
225 * nis/rpcsvc/yp.h: Likewise.
226 * nis/rpcsvc/yp.x: Likewise.
227 * nis/rpcsvc/ypupd.h: Likewise.
228 * nis/yp_xdr.c: Likewise.
229 * nis/ypupdate_xdr.c: Likewise.
230
2f3e3dc7
UD
231 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
232 mainly the body of pmap_getport. Add parameters to specify timeouts.
233 (pmap_getport): Use __libc_rpc_getport.
234 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
235 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
236 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
237
f3dcc2f9
AS
2382010-08-31 Andreas Schwab <schwab@linux-m68k.org>
239
240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
241 fanotify_mark.
242
6d34eb5b
RM
2432010-08-27 Roland McGrath <roland@redhat.com>
244
245 * sysdeps/i386/i686/multiarch/Makefile
246 (CFLAGS-varshift.c): New variable.
247
9ea3de11
UD
2482010-08-27 Ulrich Drepper <drepper@redhat.com>
249
c96d23fc
UD
250 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
251 * sysdeps/i386/i686/multiarch/varshift.c: New file.
252
9ea3de11
UD
253 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
254
255 * sysdeps/x86_64/strlen.S: Minimal code improvement.
256
623aac7f
L
2572010-08-26 H.J. Lu <hongjiu.lu@intel.com>
258
259 * sysdeps/x86_64/strlen.S: Unroll the loop.
260 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
261 strlen-sse2 strlen-sse2-bsf.
262 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
263 __strlen_no_bsf if bit_Slow_BSF is set.
264 (__strlen_sse42): Removed.
265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
266 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
267
8b2b7715
RM
2682010-08-25 Roland McGrath <roland@redhat.com>
269
270 * sysdeps/x86_64/multiarch/varshift.S: File removed.
271 * sysdeps/x86_64/multiarch/varshift.c: New file.
272 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
273 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
274 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
275 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
276
e73015f2
L
2772010-08-25 H.J. Lu <hongjiu.lu@intel.com>
278
279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
280 strlen-sse2 strlen-sse2-bsf.
281 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
282 __strlen_sse2_bsf if bit_Slow_BSF is unset.
283 (__strlen_sse2): Removed.
284 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
285 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
286 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
287 bit_Slow_BSF for Atom.
288 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
289 (index_Slow_BSF): Define.
290 (HAS_SLOW_BSF): Define.
291
df24a73e
UD
2922010-08-25 Ulrich Drepper <drepper@redhat.com>
293
294 [BZ #10851]
295 * resolv/res_init.c (__res_vinit): When no server address at all
296 is given default to loopback.
297
f2ac4868
RM
2982010-08-24 Roland McGrath <roland@redhat.com>
299
09055553
RM
300 * configure.in: Remove config-name.h generation.
301 * configure: Regenerated.
302 * config-name.in: File removed.
303 * scripts/config-uname.sh: New file.
304 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
305 ($(objdir)config-name.h): New target.
306
f2ac4868
RM
307 * sunrpc/rpc_parse.h: Avoid nested comment.
308
73f27d5e
RH
3092010-08-24 Richard Henderson <rth@redhat.com>
310 Ulrich Drepper <drepper@redhat.com>
311 H.J. Lu <hongjiu.lu@intel.com>
312
313 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
315 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
316 Replace _mm_srli_si128 with __m128i_shift_right. Replace
317 _mm_alignr_epi8 with _mm_loadu_si128.
318 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
319 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
320 (__m128i_shift_right): Removed.
321 * sysdeps/i386/i686/multiarch/varshift.h: New file.
322 * sysdeps/i386/i686/multiarch/varshift.S: New file.
323 * sysdeps/x86_64/multiarch/varshift.h: New file.
324 * sysdeps/x86_64/multiarch/varshift.S: New file.
325
84b9230c
MF
3262010-08-21 Mike Frysinger <vapier@gentoo.org>
327
328 * configure.in: Move assembler checks to before sysdep dir checking.
329
9bbd0ddc
PB
3302010-08-20 Petr Baudis <pasky@suse.cz>
331
332 * LICENSES: Sync the sunrpc license.
333
9da4bb31
UD
3342010-08-19 Ulrich Drepper <drepper@redhat.com>
335
a7ab6ec8
UD
336 * sunrpc/auth_des.c: Update copyright notice once again.
337 * sunrpc/auth_none.c: Likewise.
338 * sunrpc/auth_unix.c: Likewise.
339 * sunrpc/authdes_prot.c: Likewise.
340 * sunrpc/authuxprot.c: Likewise.
341 * sunrpc/bindrsvprt.c: Likewise.
342 * sunrpc/clnt_gen.c: Likewise.
343 * sunrpc/clnt_perr.c: Likewise.
344 * sunrpc/clnt_raw.c: Likewise.
345 * sunrpc/clnt_simp.c: Likewise.
346 * sunrpc/clnt_tcp.c: Likewise.
347 * sunrpc/clnt_udp.c: Likewise.
348 * sunrpc/clnt_unix.c: Likewise.
349 * sunrpc/des_crypt.c: Likewise.
350 * sunrpc/des_soft.c: Likewise.
351 * sunrpc/get_myaddr.c: Likewise.
352 * sunrpc/getrpcport.c: Likewise.
353 * sunrpc/key_call.c: Likewise.
354 * sunrpc/key_prot.c: Likewise.
355 * sunrpc/openchild.c: Likewise.
356 * sunrpc/pm_getmaps.c: Likewise.
357 * sunrpc/pm_getport.c: Likewise.
358 * sunrpc/pmap_clnt.c: Likewise.
359 * sunrpc/pmap_prot.c: Likewise.
360 * sunrpc/pmap_prot2.c: Likewise.
361 * sunrpc/pmap_rmt.c: Likewise.
362 * sunrpc/rpc/auth.h: Likewise.
363 * sunrpc/rpc/auth_unix.h: Likewise.
364 * sunrpc/rpc/clnt.h: Likewise.
365 * sunrpc/rpc/des_crypt.h: Likewise.
366 * sunrpc/rpc/key_prot.h: Likewise.
367 * sunrpc/rpc/netdb.h: Likewise.
368 * sunrpc/rpc/pmap_clnt.h: Likewise.
369 * sunrpc/rpc/pmap_prot.h: Likewise.
370 * sunrpc/rpc/pmap_rmt.h: Likewise.
371 * sunrpc/rpc/rpc.h: Likewise.
372 * sunrpc/rpc/rpc_des.h: Likewise.
373 * sunrpc/rpc/rpc_msg.h: Likewise.
374 * sunrpc/rpc/svc.h: Likewise.
375 * sunrpc/rpc/svc_auth.h: Likewise.
376 * sunrpc/rpc/types.h: Likewise.
377 * sunrpc/rpc/xdr.h: Likewise.
378 * sunrpc/rpc_clntout.c: Likewise.
379 * sunrpc/rpc_cmsg.c: Likewise.
380 * sunrpc/rpc_common.c: Likewise.
381 * sunrpc/rpc_cout.c: Likewise.
382 * sunrpc/rpc_dtable.c: Likewise.
383 * sunrpc/rpc_hout.c: Likewise.
384 * sunrpc/rpc_main.c: Likewise.
385 * sunrpc/rpc_parse.c: Likewise.
386 * sunrpc/rpc_parse.h: Likewise.
387 * sunrpc/rpc_prot.c: Likewise.
388 * sunrpc/rpc_sample.c: Likewise.
389 * sunrpc/rpc_scan.c: Likewise.
390 * sunrpc/rpc_scan.h: Likewise.
391 * sunrpc/rpc_svcout.c: Likewise.
392 * sunrpc/rpc_tblout.c: Likewise.
393 * sunrpc/rpc_util.c: Likewise.
394 * sunrpc/rpc_util.h: Likewise.
395 * sunrpc/rpcinfo.c: Likewise.
396 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
397 * sunrpc/rpcsvc/key_prot.x: Likewise.
398 * sunrpc/rpcsvc/klm_prot.x: Likewise.
399 * sunrpc/rpcsvc/mount.x: Likewise.
400 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
401 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
402 * sunrpc/rpcsvc/rex.x: Likewise.
403 * sunrpc/rpcsvc/rstat.x: Likewise.
404 * sunrpc/rpcsvc/rusers.x: Likewise.
405 * sunrpc/rpcsvc/sm_inter.x: Likewise.
406 * sunrpc/rpcsvc/spray.x: Likewise.
407 * sunrpc/rpcsvc/yppasswd.x: Likewise.
408 * sunrpc/rtime.c: Likewise.
409 * sunrpc/svc.c: Likewise.
410 * sunrpc/svc_auth.c: Likewise.
411 * sunrpc/svc_authux.c: Likewise.
412 * sunrpc/svc_raw.c: Likewise.
413 * sunrpc/svc_run.c: Likewise.
414 * sunrpc/svc_simple.c: Likewise.
415 * sunrpc/svc_tcp.c: Likewise.
416 * sunrpc/svc_udp.c: Likewise.
417 * sunrpc/svc_unix.c: Likewise.
418 * sunrpc/svcauth_des.c: Likewise.
419 * sunrpc/xcrypt.c: Likewise.
420 * sunrpc/xdr.c: Likewise.
421 * sunrpc/xdr_array.c: Likewise.
422 * sunrpc/xdr_float.c: Likewise.
423 * sunrpc/xdr_mem.c: Likewise.
424 * sunrpc/xdr_rec.c: Likewise.
425 * sunrpc/xdr_ref.c: Likewise.
426 * sunrpc/xdr_sizeof.c: Likewise.
427 * sunrpc/xdr_stdio.c: Likewise.
428
9da4bb31
UD
429 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
430 handling.
431
bdaa77bc
AS
4322010-08-19 Andreas Schwab <schwab@redhat.com>
433
434 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
435
fe2f79db
LM
4362010-08-19 Luis Machado <luisgpm@br.ibm.com>
437
438 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
439 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
440 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
441 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
442 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
443 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
444 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
445 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
446 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
447 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
448 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
449 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
450 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
451 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
452
b9b42ee0
AB
4532010-07-26 Anton Blanchard <anton@samba.org>
454
455 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
456 * malloc/arena.c (heap_trim): Likewise.
457
1c06ba31
UD
4582010-08-16 Ulrich Drepper <drepper@redhat.com>
459
460 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
461 here. Not...
462 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
463 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
464
f8392f40
L
4652010-08-12 H.J. Lu <hongjiu.lu@intel.com>
466
467 * sysdeps/i386/elf/Makefile: New file.
468
3162f12e
AS
4692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
470
471 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
472 from fanotify_init.
473 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
474 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
475
28c90b2c
UD
4762010-08-15 Ulrich Drepper <drepper@redhat.com>
477
478 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
479 of strncasecmp_l.
1feccb6c 480 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 481
ca6bb004
UD
4822010-08-14 Ulrich Drepper <drepper@redhat.com>
483
e9f82e0d
UD
484 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
485 strncase_l-nonascii.
486 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
487 Add strncase_l-ssse3.
488 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
489 * sysdeps/x86_64/strcmp.S: Likewise.
490 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
491 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
492 * sysdeps/x86_64/strncase.S: New file.
493 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
494 * sysdeps/x86_64/strncase_l.S: New file.
495 * string/Makefile (strop-tests): Add strncasecmp.
496 * string/test-strncasecmp.c: New file.
497
498 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
499 warning.
500
ca6bb004
UD
501 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
502 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
503
052fa7b3
AS
5042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
505
506 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
507
962dba78
UD
5082010-08-12 Ulrich Drepper <drepper@redhat.com>
509
510 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
511 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
512 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
513
bebff237
AM
5142010-05-01 Alan Modra <amodra@gmail.com>
515
516 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
517 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
518 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
519 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
520 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
521 tidying. Don't tail-call __sigjmp_save for static lib.
522 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
523 save location.
524 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
525 (CALL_MCOUNT): Add eh info, and nop after bl.
526 (TAIL_CALL_SYSCALL_ERROR): New macro.
527 (PSEUDO_RET): Use it.
528 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
529 Correct save location of integer regs and cr.
530 (_dl_profile_resolve): Correct cr save location. Delete nops
531 after bl when SHARED. Reduce cfi size a little by better
532 placement of cfi directives.
533 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
534 make a stack frame. Instead use parm save area as a temp.
535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
536 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
538 Don't make a stack frame for parent, use parm save area.
539 Increase child stack frame to 112 bytes. Don't save unused reg,
540 and adjust reg usage. Set up cfi on error recovery and
541 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
543 (__makecontext): Add dummy nop after jump to exit.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
545 Use correct parm save area and cr save, reduce stack frame.
546 Correct cfi for possible PSEUDO_RET frame setup.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
548 Branch to local label emitted by PSEUDO_RET rather than
549 __syscall_error.
550
02637374
AS
5512010-08-12 Andreas Schwab <schwab@redhat.com>
552
553 [BZ #11904]
554 * locale/programs/locale.c (print_assignment): New function.
555 (show_locale_vars): Use it.
556
c3e2f19b
UD
5572010-08-11 Ulrich Drepper <drepper@redhat.com>
558
3cdaa6ad
UD
559 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
560 field.
561 (struct statfs64): Likewise.
562 (_STATFS_F_FLAGS): Define.
563 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
564 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
565 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
566 (ST_VALID): Define locally.
567 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
568 __statvfs_getflags, use the provided value.
569 * sysdeps/unix/sysv/linux/kernel-features.h: Define
570 __ASSUME_STATFS_F_FLAGS.
571
754f7da3
UD
572 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
573
10b3bedc
UD
574 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
575 Add sys/fanotify.h.
576 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
577 fanotify_mask for GLIBC_2.13.
578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
579 fanotify_init and fanotify_mark.
580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
581 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
582
c08fb0d7
UD
583 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
584 Add prlimit.
585 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
586 prlimit64 for GLIBC_2.13.
587 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
588 prlimit64.
589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
590 syscall.
591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
592 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
593 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
594 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
595 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
596 add prlimit alias.
597 * sysdeps/unix/sysv/linux/prlimit.c: New file.
598
15bac72b
UD
599 [BZ #11903]
600 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
601 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
602
c3e2f19b
UD
603 * nss/Makefile: Add rules to build and run tst-nss-test1.
604 * shlib-versions: Add entry for libnss_test1.
605 * nss/nss_test1.c: New file.
606 * nss/tst-nss-test1.c: New file.
607
608 * nss/nsswitch.c (__nss_database_custom): Define new variable.
609 (__nss_configure_lookup): Set appropriate entry in
610 __nss_configure_lookup to true.
611 * nss/nsswitch.h: Define enum with indeces of databases in
612 databases and __nss_database_custom arrays. Declare
613 __nss_database_custom.
614 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
615 to avoid using nscd when custom rules are installed.
616 * nss/getXXbyYY_r.c: Likewise.
617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
618
619 * nss/nss_files/files-parse.c: Whitespace fixes.
620
f15ce4d8
UD
6212010-08-09 Ulrich Drepper <drepper@redhat.com>
622
623 [BZ #11883]
624 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
625 * posix/fnmatch_loop.c: Likewise.
626
d22e4cc9
AK
6272010-07-17 Andi Kleen <ak@linux.intel.com>
628
629 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
630 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
631 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
632 * Versions.def [GLIBC_2.13]: Add.
633
805bc17d
UD
6342010-08-06 Ulrich Drepper <drepper@redhat.com>
635
636 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
637 Also fail if tpwd after pwuid call is NULL.
638
5a42321d
ST
6392010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
640
641 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
642 when converting to ms.
643
fd3ebeda
ST
6442010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
645
646 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
647 EOPNOTSUPP errors with ENOTTY.
648 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
649 EOPNOTSUPP errors with ENOTTY.
650
73507d3a
UD
6512010-07-31 Ulrich Drepper <drepper@redhat.com>
652
653 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
654 Add strcasecmp_l-ssse3.
655 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
656 strcasecmp.
657 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
658 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
659 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
660
fe36dd02
UD
6612010-07-30 Ulrich Drepper <drepper@redhat.com>
662
66f6765a
UD
663 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
664
42e08a54
UD
665 * string/Makefile (strop-tests): Add strcasecmp.
666 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
667 strcasecmp_l-nonascii.
668 (gen-as-const-headers): Add locale-defines.sym.
669 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
670 * sysdeps/x86_64/strcasecmp.S: New file.
671 * sysdeps/x86_64/strcasecmp_l.S: New file.
672 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
673 * sysdeps/x86_64/locale-defines.sym: New file.
674 * string/test-strcasecmp.c: New file.
675
fe36dd02
UD
676 * string/test-strcasestr.c: Test both ends of the range of characters.
677 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
678
48cbc0d6
RM
6792010-07-29 Roland McGrath <roland@redhat.com>
680
76e6d6bc 681 [BZ #11856]
48cbc0d6
RM
682 * manual/locale.texi (Yes-or-No Questions): Fix example code.
683
880113d9
UD
6842010-07-27 Ulrich Drepper <drepper@redhat.com>
685
686 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
687 for ld.so.
688
deb9cabb
AS
6892010-07-27 Andreas Schwab <schwab@redhat.com>
690
691 * manual/memory.texi (Malloc Tunable Parameters): Document
692 M_PERTURB.
693
1c7570ff
RM
6942010-07-26 Roland McGrath <roland@redhat.com>
695
696 [BZ #11840]
697 * configure.in (-fgnu89-inline check): Set and substitute
698 gnu89_inline, not libc_cv_gnu89_inline.
699 * configure: Regenerated.
700 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
701
24fb0f88
UD
7022010-07-26 Ulrich Drepper <drepper@redhat.com>
703
704 * string/test-strnlen.c: New file.
705 * string/Makefile (strop-tests): Add strnlen.
706 * string/tester.c (test_strnlen): Add a few more test cases.
707 * string/tst-strlen.c: Better error reporting.
708
709 * sysdeps/x86_64/strnlen.S: New file.
710
8e96b93a
UD
7112010-07-24 Ulrich Drepper <drepper@redhat.com>
712
713 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
714 lower-latency instructions.
715
dbc676d4
UD
7162010-07-23 Ulrich Drepper <drepper@redhat.com>
717
718 * string/test-strcasestr.c: New file.
719 * string/test-strstr.c: New file.
720 * string/Makefile (strop-tests): Add strstr and strcasestr.
721 * string/str-two-way.h: Don't undefine MAX.
722 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
723
f6a31e0e
AS
7242010-07-21 Andreas Schwab <schwab@redhat.com>
725
726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
727 strcasestr-nonascii.
728 (CFLAGS-strcasestr-nonascii.c): Define.
729 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
730 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
731 Remove unused attribute.
732
5dbc3b6c
RM
7332010-07-20 Roland McGrath <roland@redhat.com>
734
735 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
736 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
737 ld.so.cache was broken. With it, there is no way to disable dsocaps
738 like LD_HWCAP_MASK can disable hwcaps.
739
23d101d8
EPM
7402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
741
742 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
743
cc9f2e47
UD
7442010-07-16 Ulrich Drepper <drepper@redhat.com>
745
746 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
747 call in strcasestr.
748 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
749 __strcasestr_sse42_nonascii.
750 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
751 strcasestr-nonascii.c.
752 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
753
77c1b069
LM
7542010-06-15 Luis Machado <luisgpm@br.ibm.com>
755
756 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
757 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
758 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
759 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
760
440566c3
UD
7612010-07-09 Ulrich Drepper <drepper@redhat.com>
762
763 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
764 fcntl.
765
5be9d05d
AS
7662010-07-06 Andreas Schwab <schwab@redhat.com>
767
768 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
769 dl_signal_cerror.
770
8a492a67
UD
7712010-07-06 Ulrich Drepper <drepper@redhat.com>
772
773 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
774 _PC_PIPE_BUF using F_GETPIPE_SZ.
775
713df3d5
RM
7762010-07-05 Roland McGrath <roland@redhat.com>
777
778 * manual/arith.texi (Rounding Functions): Fix rint description
779 implicit in round description.
780
702e8f14
UD
7812010-07-02 Ulrich Drepper <drepper@redhat.com>
782
783 * elf/Makefile: Fix linking for a few tests to make recent linker
784 happy.
785
52ed8be9
AS
7862010-06-30 Andreas Schwab <schwab@redhat.com>
787
788 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
789 $(common-objpfx)libc_nonshared.a.
790
f47c9a11
LM
7912010-06-21 Luis Machado <luisgpm@br.ibm.com>
792
793 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
794 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
795 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
796 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
797 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
798 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
799 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
800 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
815 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
816 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
817 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
818 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
819 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
820 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
821 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
822 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
823 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
824 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
825 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
826 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
841
6fb8cbcb
L
8422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
843
844 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
845 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
846 * string/memmove.c (memmove): Renamed to ...
847 (MEMMOVE): ...this. Default to memmove.
848 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
849 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
850 (END_CHK): Define.
851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
852 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
853 mempcpy-ssse3-back memmove-ssse3-back.
854 * sysdeps/x86_64/multiarch/bcopy.S: New file .
855 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
856 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
857 * sysdeps/x86_64/multiarch/memcpy.S: New file.
858 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
859 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
860 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
861 * sysdeps/x86_64/multiarch/memmove.c: New file.
862 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
863 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
864 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
865 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
866 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
867 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
868 Define.
869 (index_Fast_Copy_Backward): Define.
870 (HAS_ARCH_FEATURE): Define.
871 (HAS_FAST_REP_STRING): Define.
872 (HAS_FAST_COPY_BACKWARD): Define.
873
4e733bac 8742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
875
876 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
877 Restore proper fallback handling.
878
63c4ed22
UD
8792010-06-19 Ulrich Drepper <drepper@redhat.com>
880
ac2b484c
UD
881 [BZ #11701]
882 * posix/group_member.c (__group_member): Correct checking loop.
883
63c4ed22
UD
884 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
885 OOM in getpwuid_r correctly. Return error number when the caller
886 should return, otherwise -1.
887 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
888 call returning > 0 value.
889 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
890
765ade4b
AS
8912010-06-07 Andreas Schwab <schwab@redhat.com>
892
893 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
894 libc_nonshared.a from targets in modules-names.
895
80da2e09
KS
8962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
897
898 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
899 requires it.
900
158db122
LM
9012010-06-10 Luis Machado <luisgpm@br.ibm.com>
902
903 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
904 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
905 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
906 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
907
caa78cf8
AS
9082010-06-02 Andreas Schwab <schwab@redhat.com>
909
910 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
911
b2ef2c01
UD
9122010-06-14 Ulrich Drepper <drepper@redhat.com>
913
914 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
915 and F_GETPIPE_SZ.
916 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
917 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
920 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
921 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
922
fbd643b6
RM
9232010-06-14 Roland McGrath <roland@redhat.com>
924
925 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
926
f32f2869
JJ
9272010-06-07 Jakub Jelinek <jakub@redhat.com>
928
929 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
930 __REDIRECT followed by __THROW.
931 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
932 * posix/getopt.h (getopt): Likewise.
933
2a50c078
EPM
9342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
935
936 * hurd/lookup-at.c (__file_name_lookup_at): Accept
937 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
938 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
939 in AT_FLAGS.
940 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
941 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
942
eb5ad2eb
LM
9432010-05-28 Luis Machado <luisgpm@br.ibm.com>
944
945 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
946
3c88fe1e
L
9472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
948
949 [BZ #11640]
950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
951 Properly check family and model.
952
d2f73151
TY
9532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
954
955 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
956
ebd2e13d
LM
9572010-05-24 Luis Machado <luisgpm@br.ibm.com>
958
959 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
960
b32b8b45
UD
9612010-05-21 Ulrich Drepper <drepper@redhat.com>
962
963 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
964 symbol reference.
965
9acbe24d
AS
9662010-05-19 Andreas Schwab <schwab@redhat.com>
967
968 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
969 symbol reference.
970
f0ccf6ea
AS
9712010-05-21 Andreas Schwab <schwab@redhat.com>
972
3d04ff3a
AS
973 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
974 and internal_recvmmsg.
975 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
976 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
977 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
978 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
979
f0ccf6ea
AS
980 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
981 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
982 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
983
5b08ac57
AS
9842010-05-20 Andreas Schwab <schwab@redhat.com>
985
986 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
987
4828935d
LM
9882010-05-17 Luis Machado <luisgpm@br.ibm.com>
989
990 POWER7 optimizations.
991 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
992 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
993
373d545e
UD
9942010-05-19 Ulrich Drepper <drepper@redhat.com>
995
996 * version.h: Update for 2.13 development version.
997
21a2b1ae
AS
9982010-05-12 Andrew Stubbs <ams@codesourcery.com>
999
1000 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1001 exceptions. Return 0.
1002
3f7dcb2b
RM
10032010-05-07 Roland McGrath <roland@redhat.com>
1004
1005 * elf/ldconfig.c (main): Add a const.
1006
5f24d53a 10072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 1008
a160f8d8
UD
1009 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1010 (args_options): Add no-idn option.
1011 (ahosts_keys_int): Add idn_flags to ai_flags.
1012 (parse_option): Handle 'i' option to clear idn_flags.
1013
5f24d53a
UD
1014 * malloc/malloc.c (_int_free): Possible race in the most recently
1015 added check. Only act on the data if no current modification
1016 happened.
265bb1ce
UD
1017
1018See ChangeLog.17 for earlier changes.