]> sourceware.org Git - glibc.git/blame - ChangeLog
isinf returns the sign of the number, use it in printf*
[glibc.git] / ChangeLog
CommitLineData
6a621eb7
UD
12011-10-08 Ulrich Drepper <drepper@gmail.com>
2
187da0ae
UD
3 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4 of the number.
5 * stdio-common/printf_fphex.c: Likewise.
6 * stdio-common/printf_size.c: Likewise.
7
9277c064
UD
8 * math/e_exp10.c: Include math_private.h using <...> not "...".
9 * math/e_exp10f.c: Likewise.
10 * math/e_exp10l.c: Likewise.
11 * math/e_exp2l.c: Likewise.
12 * math/e_j0l.c: Likewise.
13 * math/e_j1l.c: Likewise.
14 * math/e_jnl.c: Likewise.
15 * math/e_lgammal_r.c: Likewise.
16 * math/e_rem_pio2l.c: Likewise.
17 * math/e_scalb.c: Likewise.
18 * math/e_scalbf.c: Likewise.
19 * math/e_scalbl.c: Likewise.
20 * math/k_cosl.c: Likewise.
21 * math/k_sinl.c: Likewise.
22 * math/k_tanl.c: Likewise.
23 * math/s_cacoshf.c: Likewise.
24 * math/s_catan.c: Likewise.
25 * math/s_catanf.c: Likewise.
26 * math/s_catanh.c: Likewise.
27 * math/s_catanhf.c: Likewise.
28 * math/s_catanhl.c: Likewise.
29 * math/s_catanl.c: Likewise.
30 * math/s_ccosh.c: Likewise.
31 * math/s_ccoshf.c: Likewise.
32 * math/s_ccoshl.c: Likewise.
33 * math/s_cexp.c: Likewise.
34 * math/s_cexpf.c: Likewise.
35 * math/s_cexpl.c: Likewise.
36 * math/s_clog.c: Likewise.
37 * math/s_clog10.c: Likewise.
38 * math/s_clog10f.c: Likewise.
39 * math/s_clog10l.c: Likewise.
40 * math/s_clogf.c: Likewise.
41 * math/s_clogl.c: Likewise.
42 * math/s_csin.c: Likewise.
43 * math/s_csinf.c: Likewise.
44 * math/s_csinh.c: Likewise.
45 * math/s_csinhf.c: Likewise.
46 * math/s_csinhl.c: Likewise.
47 * math/s_csinl.c: Likewise.
48 * math/s_csqrt.c: Likewise.
49 * math/s_csqrtf.c: Likewise.
50 * math/s_csqrtl.c: Likewise.
51 * math/s_ctan.c: Likewise.
52 * math/s_ctanf.c: Likewise.
53 * math/s_ctanh.c: Likewise.
54 * math/s_ctanhf.c: Likewise.
55 * math/s_ctanhl.c: Likewise.
56 * math/s_ctanl.c: Likewise.
57 * math/s_ldexp.c: Likewise.
58 * math/s_ldexpf.c: Likewise.
59 * math/s_ldexpl.c: Likewise.
60 * math/s_significand.c: Likewise.
61 * math/s_significandf.c: Likewise.
62 * math/s_significandl.c: Likewise.
63 * math/w_acos.c: Likewise.
64 * math/w_acosf.c: Likewise.
65 * math/w_acosh.c: Likewise.
66 * math/w_acoshf.c: Likewise.
67 * math/w_acoshl.c: Likewise.
68 * math/w_acosl.c: Likewise.
69 * math/w_asin.c: Likewise.
70 * math/w_asinf.c: Likewise.
71 * math/w_asinl.c: Likewise.
72 * math/w_atan2.c: Likewise.
73 * math/w_atan2f.c: Likewise.
74 * math/w_atan2l.c: Likewise.
75 * math/w_atanh.c: Likewise.
76 * math/w_atanhf.c: Likewise.
77 * math/w_atanhl.c: Likewise.
78 * math/w_cosh.c: Likewise.
79 * math/w_coshf.c: Likewise.
80 * math/w_coshl.c: Likewise.
81 * math/w_dremf.c: Likewise.
82 * math/w_exp10.c: Likewise.
83 * math/w_exp10f.c: Likewise.
84 * math/w_exp10l.c: Likewise.
85 * math/w_exp2.c: Likewise.
86 * math/w_exp2f.c: Likewise.
87 * math/w_fmod.c: Likewise.
88 * math/w_fmodf.c: Likewise.
89 * math/w_fmodl.c: Likewise.
90 * math/w_hypot.c: Likewise.
91 * math/w_hypotf.c: Likewise.
92 * math/w_hypotl.c: Likewise.
93 * math/w_j0.c: Likewise.
94 * math/w_j0f.c: Likewise.
95 * math/w_j0l.c: Likewise.
96 * math/w_j1.c: Likewise.
97 * math/w_j1f.c: Likewise.
98 * math/w_j1l.c: Likewise.
99 * math/w_jn.c: Likewise.
100 * math/w_jnf.c: Likewise.
101 * math/w_jnl.c: Likewise.
102 * math/w_lgamma.c: Likewise.
103 * math/w_lgamma_r.c: Likewise.
104 * math/w_lgammaf.c: Likewise.
105 * math/w_lgammaf_r.c: Likewise.
106 * math/w_lgammal.c: Likewise.
107 * math/w_lgammal_r.c: Likewise.
108 * math/w_log.c: Likewise.
109 * math/w_log10.c: Likewise.
110 * math/w_log10f.c: Likewise.
111 * math/w_log10l.c: Likewise.
112 * math/w_log2.c: Likewise.
113 * math/w_log2f.c: Likewise.
114 * math/w_log2l.c: Likewise.
115 * math/w_logf.c: Likewise.
116 * math/w_logl.c: Likewise.
117 * math/w_pow.c: Likewise.
118 * math/w_powf.c: Likewise.
119 * math/w_powl.c: Likewise.
120 * math/w_remainder.c: Likewise.
121 * math/w_remainderf.c: Likewise.
122 * math/w_remainderl.c: Likewise.
123 * math/w_scalb.c: Likewise.
124 * math/w_scalbf.c: Likewise.
125 * math/w_scalbl.c: Likewise.
126 * math/w_sinh.c: Likewise.
127 * math/w_sinhf.c: Likewise.
128 * math/w_sinhl.c: Likewise.
129 * math/w_sqrt.c: Likewise.
130 * math/w_sqrtf.c: Likewise.
131 * math/w_sqrtl.c: Likewise.
132 * math/w_tgamma.c: Likewise.
133 * math/w_tgammaf.c: Likewise.
134 * math/w_tgammal.c: Likewise.
135
6a621eb7
UD
136 * po/ja.po: Update from translation team.
137
bf582445
AJ
1382011-09-29 Andreas Jaeger <aj@suse.de>
139
f9efbf3a
AJ
140 [BZ #13179]
141 * sunrpc/netname.c (netname2host): Fix logic.
142
bf582445
AJ
143 [BZ #6779]
144 [BZ #6783]
145 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
146 correctly.
147 * math/w_remainder.c (__remainder): Likewise.
148 * math/w_remainderf.c (__remainderf): Likewise.
149 * math/libm-test.inc (remainder_test): Add test cases.
150
48693bea
AK
1512011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
152
153 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
154 sdiv_qrnnd.
155
42622229
LD
1562011-10-07 Ulrich Drepper <drepper@gmail.com>
157
158 * string/test-memcmp.c: Avoid unncessary #defines.
159 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
160
093ecf92
LD
1612011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
162
163 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
164 Use new sse2 version for core i3 - i7 as it's faster
165 than sse42 version.
166 (bit_Prefer_PMINUB_for_stringop): New.
167 * sysdeps/x86_64/rawmemchr.S: Update.
168 Replace with faster SSE2 version.
169 * sysdeps/x86_64/memrchr.S: New file.
170 * sysdeps/x86_64/memchr.S: Update.
171 Replace with faster SSE2 version.
172
fde56e5c
MP
1732011-09-12 Marek Polacek <mpolacek@redhat.com>
174
175 * elf/dl-load.c (lose): Add cast to avoid warning.
176
21fd49a9
UD
1772011-10-07 Ulrich Drepper <drepper@gmail.com>
178
5a06e643
UD
179 * po/ca.po: Update from translation team.
180
684ae515
UD
181 * inet/getnetgrent_r.c: Hook up nscd.
182 * nscd/Makefile (routines): Add nscd_netgroup.
183 (nscd-modules): Add netgroupcache.
184 (CFLAGS-netgroupcache.c): Define.
185 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
186 (cache_search): Add const to second parameter.
187 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
188 INNETGR.
189 (dbs): Add netgrdb entry.
190 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
191 (verify_persistent_db): Handle netgrdb.
192 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
193 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
194 GETFDNETGR.
195 (netgroup_response_header): Define.
196 (innetgroup_response_header): Define.
197 (datahead): Add netgroup_response_header and innetgroup_response_header
198 elements.
199 * nscd/nscd.conf: Add entries for netgroup cache.
200 * nscd/nscd.h (dbtype): Add netgrdb.
201 (_PATH_NSCD_NETGROUP_DB): Define.
202 (netgroup_iov_disabled): Declare.
203 (xmalloc, xcalloc, xrealloc): Move declarations here.
204 (cache_search): Adjust prototype.
205 Add netgroup-related prototypes.
206 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
207 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
208 (__nscd_innetgr): Declare.
209 * nscd/selinux.c (perms): Use access_vector_t as element type and
210 add netgroup-related initializers.
211 * nscd/netgroupcache.c: New file.
212 * nscd/nscd_netgroup.c: New file.
213 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
214 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
215 For four parameters use innetgr.
216 * nss/nss_files/files-init.c: Add definition and callback for netgr.
217 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
218 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
219 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
220
21fd49a9
UD
221 * nscd/connections.c (register_traced_file): Don't register file
222 for disabled databases.
223
054c0457
UD
2242011-10-06 Ulrich Drepper <drepper@gmail.com>
225
32b63198
UD
226 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
227
054c0457
UD
228 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
229 from tree and freeing node.
230
64031225
JO
2312011-09-25 Jiri Olsa <jolsa@redhat.com>
232
233 * nss/nsswitch.c (__nss_database_lookup): Handle
234 nss_parse_service_list out of memory case.
235
0490345c
JO
2362011-09-15 Jiri Olsa <jolsa@redhat.com>
237
238 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
239 out of memory case.
240
3a62d00d
AS
2412011-10-04 Andreas Schwab <schwab@redhat.com>
242
243 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
244 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
245 pass it down.
246 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
247 elf_machine_rela, elf_machine_lazy_rel.
248 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
249 (ELF_DYNAMIC_DO_REL): Likewise.
250 (ELF_DYNAMIC_DO_RELA): Likewise.
251 (ELF_DYNAMIC_RELOCATE): Likewise.
252 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
253 to ELF_DYNAMIC_DO_REL.
254 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
255 (dl_main): In trace mode always set __RTLD_NOIFUNC.
256 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
257 elf_machine_rela.
258 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
259 skip_ifunc, don't call ifunc function if non-zero.
260 (elf_machine_rela): Likewise.
261 (elf_machine_lazy_rel): Likewise.
262 (elf_machine_lazy_rela): Likewise.
263 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
264 (elf_machine_lazy_rel): Likewise.
265 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
266 Likewise.
267 (elf_machine_lazy_rel): Likewise.
268 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
269 Likewise.
270 (elf_machine_lazy_rel): Likewise.
271 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
272 (elf_machine_lazy_rel): Likewise.
273 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
274 (elf_machine_lazy_rel): Likewise.
275 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
276 (elf_machine_lazy_rel): Likewise.
277 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
278 (elf_machine_lazy_rel): Likewise.
279 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
280 (elf_machine_lazy_rel): Likewise.
281 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
282 (elf_machine_lazy_rel): Likewise.
283
68577918
UD
2842011-09-28 Ulrich Drepper <drepper@gmail.com>
285
286 * nss/nss_files/files-init.c (_nss_files_init): Use static
287 initialization for all the *_traced_file variables.
288
68822d74
AS
2892011-09-28 Andreas Schwab <schwab@redhat.com>
290
291 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
292
2056100b
RM
2932011-09-27 Roland McGrath <roland@hack.frob.com>
294
295 [BZ #13226]
296 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
297
32c76b63
AS
2982011-09-27 Andreas Schwab <schwab@redhat.com>
299
300 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
301 Reread the line before reparsing it.
302
bf972c9d
AS
3032011-09-26 Andreas Schwab <schwab@redhat.com>
304
305 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
306
e057a1b5
JM
3072011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
308 Maxim Kuvyrkov <maxim@codesourcery.com>
309 Joseph Myers <joseph@codesourcery.com>
310
311 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
312 if needed for __stack_chk_guard.
313
bc7e1c36
RM
3142011-09-19 Roland McGrath <roland@hack.frob.com>
315
ecb1482f
RM
316 * sysdeps/posix/spawni.c (script_execute): Always define it.
317 It will be optimized away if unused.
318 (maybe_script_execute): New function.
319 (__spawni): Call it.
320
bc7e1c36
RM
321 * Makerules: Don't include tls.make.
322 (config-tls): Always set to thread.
323 * tls.make.c: File removed.
324
1c3b002b
MF
3252011-09-19 Mike Frysinger <vapier@gentoo.org>
326
327 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
328 * config.make.in (CPPFLAGS-config): New substituted variable.
329
2840865d
UD
3302011-09-15 Ulrich Drepper <drepper@gmail.com>
331
88738eb6
UD
332 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
333
cbf645a6 334 [BZ #13192]
2840865d
UD
335 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
336 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
337
b402e91a
RM
3382011-09-15 Roland McGrath <roland@hack.frob.com>
339
340 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
341 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
342 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
343 (CALL_FAIL): Likewise.
344 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
345 (CALL_FAIL): Macro removed.
346 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
347
4c1a1f71
UD
3482011-09-15 Ulrich Drepper <drepper@gmail.com>
349
350 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
351 for __FINITE_MATH_ONLY__ == 1.
352
edc121be
AS
3532011-09-15 Andreas Schwab <schwab@redhat.com>
354
355 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
356 __ieee754_sqrt instead of sqrt.
357 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
358 __ieee754_sqrtf instead of sqrtf.
359 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
360 __floorf instead of floorf.
361 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
362 __floorf, __truncf instead of floorf, truncf.
363
cd205654
UD
3642011-09-14 Ulrich Drepper <drepper@gmail.com>
365
ee4d0315
UD
366 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
367
cd205654
UD
368 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
369 __extern_always_inline.
370 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
371 32-bit.
372
48b67d71
AS
3732011-09-14 Andreas Schwab <schwab@redhat.com>
374
375 * elf/rtld.c (dl_main): Also relocate in dependency order when
376 doing symbol dependency testing.
377
1ae12c75
AS
3782011-09-13 Andreas Schwab <schwab@linux-m68k.org>
379
380 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
381 Always define `refsym'.
382
995a80df
AS
3832011-09-13 Andreas Schwab <schwab@redhat.com>
384
e529793b
AS
385 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
386 (__FD_ELT): Renamed from __FDELT.
387 * misc/bits/select2.h (__FD_ELT): Likewise.
388 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
389 __FD_MASK instead of __FDELT, __FDMASK.
390 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
391 Likewise.
392 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
393 Likewise.
394
52d4fef8
AS
395 * elf/Makefile (gen-ldd): Fix pattern.
396
995a80df
AS
397 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
398 (init_tls): Likewise.
399
8682f8b0
UD
4002011-09-12 Ulrich Drepper <drepper@gmail.com>
401
402 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
403
de82006d
AS
4042011-09-12 Andreas Schwab <schwab@redhat.com>
405
a7c8e6a1
AS
406 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
407 `struct cmsghdr *' instead of `void *'.
408 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
409 Likewise.
410
0f31fe77
AS
4112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
412
413 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
414 if non-absolute.
415 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
416 ldd_rewrite_script.
0f31fe77 417
32b4c839
UD
4182011-09-11 Ulrich Drepper <drepper@gmail.com>
419
83cd1420
UD
420 * configure.in: Remove --with-tls option.
421 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
422 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
423 out in case it is missing.
424 * sysdeps/ia64/elf/configure.in: Likewise.
425 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
426 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
427 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
428 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
429 * sysdeps/sh/elf/configure.in: Likewise.
430 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
431 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
432 * sysdeps/x86_64/elf/configure.in: Likewise.
433 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
434 * sysdeps/mach/hurd/tls.h: Likewise.
435
633f745d
UD
436 [BZ #13067]
437 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
438
f318beb8
UD
439 [BZ #13090]
440 * configure.in: Fix use of AC_INIT.
441
32b4c839
UD
442 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
443
3ce1f295
UD
4442011-09-10 Ulrich Drepper <drepper@gmail.com>
445
bb016596
UD
446 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
447 __set_errno.
8e58439c
UD
448 * malloc/hooks.c: Likewise.
449
02d46fc4
UD
450 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
451 variables statically.
452 (narenas): Initialize.
453 (list_lock): Initialize.
bb016596
UD
454 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
455 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
456 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
457 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
458 Add initializers to main_arena and mp_.
459 (malloc_state): Remove pagesize member. Change all users to use
460 GLRO(dl_pagesize).
461
462 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
463 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
464 is always initialized.
465
22a89187
UD
466 * malloc/malloc.c: Removed unused configurations and dead code.
467 * malloc/arena.c: Likewise.
468 * malloc/hooks.c: Likewise.
02d46fc4 469 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 470
d063d164
UD
471 * include/tls.h: Removed. USE___THREAD must always be defined.
472 * bits/libc-tsd.h: Don't handle !USE___THREAD.
473 * elf/dl-libc.c: Likewise.
474 * elf/dl-tsd.c: Likewise.
475 * include/errno.h: Likewise.
476 * include/netdb.h: Likewise.
477 * include/resolv.h: Likewise.
478 * inet/herrno-loc.c: Likewise.
479 * inet/herrno.c: Likewise.
480 * malloc/arena.c: Likewise.
481 * malloc/hooks.c: Likewise.
482 * malloc/malloc.c: Likewise.
483 * resolv/res-state.c: Likewise.
484 * resolv/res_libc.c: Likewise.
485 * sysdeps/i386/dl-machine.h: Likewise.
486 * sysdeps/ia64/dl-machine.h: Likewise.
487 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
488 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
489 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
490 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
491 * sysdeps/sh/dl-machine.h: Likewise.
492 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
493 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
494 * sysdeps/unix/i386/sysdep.S: Likewise.
495 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
496 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
497 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
498 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
500 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
501 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
503 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
505 * sysdeps/unix/x86_64/sysdep.S: Likewise.
506 * sysdeps/x86_64/dl-machine.h: Likewise.
507 * tls.make.c: Likewise.
508
3ce1f295
UD
509 * configure.in: Remove --with-__thread option. Make tests for
510 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
511 tls_model attribute fail if no support is available. Remove
512 USE_IN_LIBIO.
513 * Makeconfig: Adjust for dropped configure option. All features are
514 now mandatory.
515 * Makerules: Likewise.
516 * Versions.def: Likewise.
517 * argp/argp-fmtstream.c: Likewise.
518 * argp/argp-fmtstream.h: Likewise.
519 * argp/argp-help.c: Likewise.
520 * assert/assert.c: Likewise.
521 * config.h.in: Likewise.
522 * config.make.in: Likewise.
523 * configure: Likewise.
524 * configure.in: Likewise.
525 * csu/Versions: Likewise.
526 * csu/init.c: Likewise.
527 * elf/tst-audit2.c: Likewise.
528 * elf/tst-tls10.c: Likewise.
529 * elf/tst-tls10.h: Likewise.
530 * elf/tst-tls11.c: Likewise.
531 * elf/tst-tls12.c: Likewise.
532 * elf/tst-tls14.c: Likewise.
533 * elf/tst-tlsmod11.c: Likewise.
534 * elf/tst-tlsmod12.c: Likewise.
535 * elf/tst-tlsmod13.c: Likewise.
536 * elf/tst-tlsmod13a.c: Likewise.
537 * elf/tst-tlsmod14a.c: Likewise.
538 * elf/tst-tlsmod15b.c: Likewise.
539 * elf/tst-tlsmod16a.c: Likewise.
540 * elf/tst-tlsmod16b.c: Likewise.
541 * elf/tst-tlsmod7.c: Likewise.
542 * elf/tst-tlsmod8.c: Likewise.
543 * elf/tst-tlsmod9.c: Likewise.
544 * gmon/gmon.c: Likewise.
545 * grp/fgetgrent_r.c: Likewise.
546 * grp/putgrent.c: Likewise.
547 * hurd/fopenport.c: Likewise.
548 * include/libc-symbols.h: Likewise.
549 * include/tls.h: Likewise.
550 * intl/gettextP.h: Likewise.
551 * intl/loadinfo.h: Likewise.
552 * locale/global-locale.c: Likewise.
553 * locale/localeinfo.h: Likewise.
554 * mach/devstream.c: Likewise.
555 * malloc/arena.c: Likewise.
556 * malloc/set-freeres.c: Likewise.
557 * misc/err.c: Likewise.
558 * misc/getttyent.c: Likewise.
559 * misc/mntent_r.c: Likewise.
560 * posix/getopt.c: Likewise.
561 * posix/wordexp.c: Likewise.
562 * pwd/fgetpwent_r.c: Likewise.
563 * resolv/Versions: Likewise.
564 * resolv/res_hconf.c: Likewise.
565 * shadow/fgetspent_r.c: Likewise.
566 * shadow/putspent.c: Likewise.
567 * stdio-common/printf_fphex.c: Likewise.
568 * stdio-common/tmpfile.c: Likewise.
569 * stdlib/abort.c: Likewise.
570 * stdlib/fmtmsg.c: Likewise.
571 * sunrpc/auth_unix.c: Likewise.
572 * sunrpc/clnt_perr.c: Likewise.
573 * sunrpc/clnt_tcp.c: Likewise.
574 * sunrpc/clnt_udp.c: Likewise.
575 * sunrpc/clnt_unix.c: Likewise.
576 * sunrpc/openchild.c: Likewise.
577 * sunrpc/svc_simple.c: Likewise.
578 * sunrpc/svc_tcp.c: Likewise.
579 * sunrpc/svc_udp.c: Likewise.
580 * sunrpc/svc_unix.c: Likewise.
581 * sunrpc/xdr.c: Likewise.
582 * sunrpc/xdr_array.c: Likewise.
583 * sunrpc/xdr_rec.c: Likewise.
584 * sunrpc/xdr_ref.c: Likewise.
585 * sunrpc/xdr_stdio.c: Likewise.
586
1248c1c4
PB
5872011-09-09 Ulrich Drepper <drepper@gmail.com>
588
589 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
590
5912011-07-03 Andreas Jaeger <aj@suse.de>
592
593 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
594 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
595 regenerate with gen-libm-tests.pl.
596
5972010-05-12 Petr Baudis <pasky@suse.cz>
598
599 [BZ #11589]
600 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
601 around j0() zero points by switching to j1().
602 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
603 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
604 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
605 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
606
f22e1074
UD
6072011-09-09 Ulrich Drepper <drepper@gmail.com>
608
f19009c1
UD
609 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
610 instead of 0.
611 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
612 instead of 0. .
613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
614 Patch in part by Pavel Roskin <proski@gnu.org>.
615
3f8cc204
UD
616 [BZ #13138]
617 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
618 realloc.
619 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
620 Free memory block if necessary.
621
f22e1074
UD
622 [BZ #12847]
623 * libio/genops.c (INTDEF): For string streams the _lock pointer can
624 be NULL. Don't lock in this case.
625
0a2349f9
RM
6262011-09-09 Roland McGrath <roland@hack.frob.com>
627
628 * elf/elf.h (ELFOSABI_GNU): New macro.
629 (ELFOSABI_LINUX): Define to that.
630
f3cdd467
DZ
6312011-07-29 Denis Zaitceff <zaitceff@gmail.com>
632
633 * string/strncat.c (strncat): Undef the symbol in case it has been
634 defined in bits/string.h.
635
74718d13
UD
6362011-09-09 Ulrich Drepper <drepper@gmail.com>
637
633e9e0f
UD
638 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
639
0a2349f9 640 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
641 link map.
642
f9924780
AJ
6432011-08-17 Andreas Jaeger <aj@suse.de>
644
645 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
646
7f5517aa
PP
6472011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
648 Ian Lance Taylor <iant@google.com>
649
650 * math/libm-test.inc (lround_test): New testcase.
651 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
652
762011fe
UD
6532011-09-08 Ulrich Drepper <drepper@gmail.com>
654
92963737
UD
655 * Makefile: Remove support for automatic cvs check-ins.
656 * Makerules: Likewise.
657 * config.make.in: Likewise.
658 * configure.in: Likewise.
659 * intl/Makefile: Likewise.
660 * locale/Makefile: Likewise.
661 * po/Makefile: Likewise.
662 * posix/Makefile: Likewise.
663 * sysdeps/gnu/Makefile: Likewise.
664 * sysdeps/mach/hurd/Makefile: Likewise.
665 * sysdeps/sparc/sparc32/Makefile: Likewise.
666
b0727fd8
JS
667 [BZ #13118]
668 * posix/Makefile (bug-regex32-ENV): Define.
669 Patch by John Stanley <jpsinthemix@verizon.net>.
670
a0f33f99
UD
671 * misc/Makefile (headers): Add bits/select2.h.
672 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
673 * misc/bits/select2.h: New file.
674 * include/bits/select2.h: New file.
675 * debug/Makefile (routines): Add fdelt_chk.
676 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
677 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
678 FD_ISSET.
679 * debug/fdelt_chk.c: New file.
680
762011fe
UD
681 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
682 * wcsmbs/test-wmemcmp.c: Likewise.
683 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 684 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
685
6862011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
687
688 * string/Makefile (strop-tests): Add memcmp.
689 * string/test-wmemcmp.c: New file.
690 * string/test-memcmp.c: Add wmemcmp support.
691
7f513ec8
RM
6922011-09-08 Roland McGrath <roland@hack.frob.com>
693
0442afb4
RM
694 [BZ #13153]
695 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
696 2011-07-19 change.
697
7f513ec8
RM
698 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
699 garbage value in a __mach_port_mod_refs call in the cases of the
700 task-self and thread-self ports.
701
a12b2239
ST
7022011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
703
704 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
705
610f9ab4
AS
7062011-09-08 Andreas Schwab <schwab@redhat.com>
707
7f513ec8 708 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 709
48882a1a
LD
7102011-09-07 Ulrich Drepper <drepper@gmail.com>
711
b49865be
UD
712 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
713
fdc86bc9
UD
714 * elf/dl-libc.c (dlerror_run): Pass back error code from
715 dl_catch_error.
716
c966526a
UD
717 [BZ #13123]
718 * elf/dl-load.c (lose): Free l_origin if it is valid.
719
48882a1a
LD
720 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
721 names.
722 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
723 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
724 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
725 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
726 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
727 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
728
77a2a8b4
AZ
7292011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
730
731 * sysdeps/powerpc/fpu/e_hypot.c: New file.
732 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
733 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
734 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
735 * sysdeps/powerpc/fpu/k_cosf.c: New file.
736 * sysdeps/powerpc/fpu/k_sinf.c: New file.
737 * sysdeps/powerpc/fpu/s_cosf.c: New file.
738 * sysdeps/powerpc/fpu/s_sinf.c: New file.
739 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
740 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
741
24f579d8
AM
7422011-08-15 Alan Modra <amodra@gmail.com>
743
744 [BZ #13092]
745 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
746 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
747 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
748 ppc_mcount to static-only-routines.
749 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
750 __mcount_internal.
751 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
752 __mcount_internal with usual JUMPTARGET. Remove useless nop.
753
3d4837df
UD
7542011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
755
756 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
757 for finite and infinity parameters.
758
22700377
WS
7592011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
760
761 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
762 and add nop instructions for throughput optimization.
763 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
764
5025581e
WS
7652011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
766
767 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
768 aligned copy for power7 with vector-scalar instructions.
769 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
770
08a300c9
L
7712011-07-24 H.J. Lu <hongjiu.lu@intel.com>
772
773 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
774 AVX check.
775
59178ef9
AS
7762011-09-07 Andreas Schwab <schwab@redhat.com>
777
778 [BZ #13144]
779 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
780 last change.
781
e38ba7ab
UD
7822011-09-07 Ulrich Drepper <drepper@gmail.com>
783
784 * sysdeps/unix/sysv/linux/x86_64/init-first.c
785 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
786 syscall wrapper around clock_gettime in __vdso_clock_gettime.
787 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
788 clock_gettime.
789
d53a73ac
UD
7902011-09-06 Ulrich Drepper <drepper@gmail.com>
791
fc8bffcc
UD
792 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
793 Forgot to demangle the pointer.
794
ceaa0c5d
UD
795 * sysdeps/i386/sysdep.h: Define atom_text_section.
796 * sysdeps/x86_64/sysdep.h: Likewise.
797 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
798 section with atom_text_section.
799 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
800 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
801 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
802 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
803 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
804
a77d3c17
UD
805 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
806 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
807 already be defined. Change to take two parameters and don't assign
808 result to variable. Adjust all users.
809 Define INTERNAL_GETTIME if not already defined.
810 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
811 call.
812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
813 HAVE_CLOCK_GETTIME_VSYSCALL.
814 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
815
d53a73ac
UD
816 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
817 gettimeofday vsyscall, just use time.
818
a8f84144
AS
8192011-09-06 Andreas Schwab <schwab@redhat.com>
820
821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
822 <errno.h>.
823
ef606249
UD
8242011-09-06 Ulrich Drepper <drepper@gmail.com>
825
826 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
827 syscall on x86-64.
828 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
829 syscall.
830 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
831 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
832 syscall if possible.
833
6585cb60
UD
8342011-09-05 Ulrich Drepper <drepper@gmail.com>
835
836 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
837 e_ident. Don't pass to find_mapsXX.
838 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
839
a5f524e4
LD
8402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
841
842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
843 strchr-sse2-no-bsf strrchr-sse2-no-bsf
844 * sysdeps/x86_64/multiarch/strchr.S: Update.
845 Check bit_slow_BSF bit.
846 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
847 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
848 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
849
554881ef
UD
8502011-09-05 Ulrich Drepper <drepper@gmail.com>
851
d96de963
UD
852 [BZ #13134]
853 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
854 before glibc 2.15.
855 (tryshell): Define.
856 (__spawni): Change last parameter to be flag. Test
857 SPAWN_XFLAGS_USE_PATH flag to use path or not.
858 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
859 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
860 * posix/spawni.c: Likewise.
861 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
862 * posix/spawnp.c: Likewise. Change normal version to use
863 SPAWN_XFLAGS_USE_PATH.
864 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
865 SPAWN_XFLAGS_TRY_SHELL.
866
d48e5868
UD
867 [BZ #13150]
868 * posix/glob.h: Remove gcc 1.x support.
869
554881ef
UD
870 [BZ #13068]
871 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
872
693fb948
LD
8732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
874
875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
876 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
877 strrchr-sse2-bsf
878 * sysdeps/i386/i686/multiarch/strchr.S: New file.
879 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
880 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
881 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
882 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
883 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
884
1b48c537
UD
8852011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
886
49d42c37
UD
887 * sysdeps/x86_64/wcscmp.S: New file.
888
1b48c537
UD
889 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
890 wcscmp-c wcscmp-sse2
891 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
892 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
893 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
894 * wcsmbs/wcscmp.c: Allow renaming.
895
15c95c5d
DM
8962011-09-05 David S. Miller <davem@davemloft.net>
897
898 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
899 stack slot, rather than the struct return pointer slot.
900 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
901 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
903 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
904
2f0ad8f3
UD
9052011-09-05 Ulrich Drepper <drepper@gmail.com>
906
d88ae418
UD
907 * po/ja.po: Update from translation team.
908
2f0ad8f3
UD
909 [BZ #13144]
910 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
911 kernel in 64-bit binaries.
912
5f4318d1
DM
9132011-09-01 David S. Miller <davem@davemloft.net>
914
915 * elf/elf.h (HWCAP_SPARC_*): Move to..
916 * sysdeps/sparc/sysdep.h: this new file and add new values.
917 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
918 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
919 _DL_HWCAP_COUNT to 24.
920 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
921 entries.
922 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
923 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
924 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
925 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
926 instead of magic constants.
927 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
928
3ba57516
DM
9292011-08-31 David S. Miller <davem@davemloft.net>
930
931 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
933 Reimplement to do errno handling inline.
934 (SYSCALL_ERROR_HANDLER): New macro.
935 (__SYSCALL_STRING): Do not do errno handling in asm.
936 (__CLONE_SYSCALL_STRING): Delete.
937 (__INTERNAL_SYSCALL_STRING): Delete.
938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
939 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
940 (PSEUDO): Reimplement to do errno handling inline.
941 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
942 (SYSCALL_ERROR_HANDLER): New macro.
943 (__SYSCALL_STRING): Do not do errno handling in asm.
944 (__CLONE_SYSCALL_STRING): Delete.
945 (__INTERNAL_SYSCALL_STRING): Delete.
946 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
947 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
948 i386.
949 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
950 (inline_syscall*): Add 'err' argument.
951 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
952 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
953 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
954 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
955
956 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
957 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
958
2bc17433
AS
9592011-08-30 Andreas Schwab <schwab@redhat.com>
960
961 * elf/rtld.c (dl_main): Relocate objects in dependency order.
962
fbeb5f4d
JO
9632011-08-29 Jiri Olsa <jolsa@redhat.com>
964
965 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
966 directive.
967
ad69cc26
DM
9682011-08-24 David S. Miller <davem@davemloft.net>
969
970 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
971
39dd69df
AS
9722011-08-24 Andreas Schwab <schwab@redhat.com>
973
974 * elf/Makefile: Add rules to build and run unload8 test.
975 * elf/unload8.c: New file.
976 * elf/unload8mod1.c: New file.
977 * elf/unload8mod1x.c: New file.
978 * elf/unload8mod2.c: New file.
979 * elf/unload8mod3.c: New file.
980
981 * elf/dl-close.c (_dl_close_worker): Reset private search list if
982 it wasn't used.
983
2c0b250a
DM
9842011-08-23 David S. Miller <davem@davemloft.net>
985
986 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
987 subtract stack bias.
988 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
989 %sp not %fp in calculations.
990 (_JMPBUF_UNWINDS_ADJ): Likewise.
991
22044b48
DM
992 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
993 (aio_suspend): Call it to force an exception region around the
994 AIO_MISC_WAIT() invocation.
995
2cae4995
AS
9962011-08-23 Andreas Schwab <schwab@redhat.com>
997
998 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
999 backslash.
1000
873a772e
AJ
10012011-07-04 Aurelien Jarno <aurelien@aurel32.net>
1002
1003 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
1004 protection macro.
1005 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
1006 and <dl-machine.h>.
1007 (Elf64_FuncDesc): Remove.
1008
25ad0df1
DM
10092011-08-22 David S. Miller <davem@davemloft.net>
1010
1011 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
1012 sigaltstack check, add missing cfi directives.
1013 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
1014 missing cfi directives, and sigaltstack handling.
1015
e888bcbe
AS
10162011-08-16 Andreas Schwab <schwab@redhat.com>
1017
1018 [BZ #11724]
1019 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
1020 object is seen twice.
1021 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1022
1023 * elf/Makefile (distribute): Add tst-initorder2.c.
1024 (tests): Add tst-initorder2.
1025 (modules-names): Add tst-initorder2a tst-initorder2b
1026 tst-initorder2c tst-initorder2d. Add rules to build them.
1027 ($(objpfx)tst-initorder2.out): New rule.
1028 * elf/tst-initorder2.c: New file.
1029 * elf/tst-initorder2.exp: New file.
1030
87162f46
AS
10312011-08-22 Andreas Schwab <schwab@redhat.com>
1032
70538b7f
AS
1033 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
1034
f55ffe58
AS
1035 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
1036 dependencies back to end of function.
1037
87162f46
AS
1038 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
1039 $(elfobjdir)/ld.so.
1040
91b392a4
UD
10412011-08-21 Ulrich Drepper <drepper@gmail.com>
1042
1043 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
1044 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
1045 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
1046 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
1047 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
1048 of __vdso_gettimeofday.
1049 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
1050 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
1051 attribute_hidden.
1052 (_libc_vdso_platform_setup): Remove initialization of
1053 __vdso_gettimeofday and __vdso_time.
1054
5c43483f
UD
10552011-08-20 Ulrich Drepper <drepper@gmail.com>
1056
775a77e7
UD
1057 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
1058 and fgetc_unlocked.
1059 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
1060 getc_unlocked.
89f447ed 1061
49c74ba9
UD
1062 * elf/dl-open.c (add_to_global): Report additions to the global scope
1063 for LD_DEBUG=scopes.
1064 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 1065 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 1066
5c43483f
UD
1067 [BZ #13114]
1068 * stdio-common/Makefile (tests): Add bug24.
1069 * stdio-common/bug24.c: New file.
1070
a101b025
AJ
10712011-08-19 Andreas Jaeger <aj@suse.de>
1072
1073 [BZ #13114]
1074 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
1075 non-existant file when using close-on-exec mode.
1076
c88f1766
UD
10772011-08-20 Ulrich Drepper <drepper@gmail.com>
1078
0276a718
UD
1079 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
1080 the very first instruction.
1081
c88f1766
UD
1082 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
1083 the CFI state in the end.
1084 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
1085 inclusion of dl-trampoline.h.
1086 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
1087
51ccffa0
AS
10882011-08-19 Andreas Schwab <schwab@redhat.com>
1089
94d7165f
AS
1090 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
1091 expectations for long double.
1092
51ccffa0
AS
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
1094 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
1095
fd708658 10962011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
1097
1098 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
1099 artificual limit depends upon the system page size.
1100
44f0a71e
UD
11012011-08-17 Ulrich Drepper <drepper@gmail.com>
1102
1103 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
1104 * resolv/Makefile: Define CFLAGS-libresolv.
1105
8de79a24
AS
11062011-08-17 Andreas Schwab <schwab@redhat.com>
1107
1108 * nss/makedb.c (compute_tables): Make variables used in nested
1109 function static.
1110
27724598
UD
11112011-08-17 Ulrich Drepper <drepper@gmail.com>
1112
c5305d88
UD
1113 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
1114 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
1115 if buffer was too small.
1116
27724598
UD
1117 * elf/pldd.c (main): Attach to all threads in the process.
1118 Rewrite /proc handling to use *at functions.
1119
076fe015
UD
11202011-08-16 Ulrich Drepper <drepper@gmail.com>
1121
174baab3
UD
1122 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
1123 specifies first scope to show.
1124 (dl_open_worker): Update callers. Move printing scope of new
1125 object to before the relocation.
44f0a71e 1126 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
1127 * sysdeps/generic/ldsodefs.h: Update declaration.
1128
076fe015
UD
1129 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
1130 string for the scope number.
1131
a60df2c3
UD
11322011-08-14 Ulrich Drepper <drepper@gmail.com>
1133
1134 * nscd/servicescache.c (cache_addserv): Make sure written is always
1135 initialized.
1136
5e4287d1
RM
11372011-08-14 Roland McGrath <roland@hack.frob.com>
1138
85ae0589
RM
1139 * sysdeps/i386/i486/bits/atomic.h
1140 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
1141 statement expression, so as to suppress "set but not used" warning.
1142 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
1143
69f63097
RM
1144 * string/strncat.c (STRNCAT): Use prototype definition.
1145
675456ef
RM
1146 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
1147 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
1148 -Iprograms here.
1149 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
1150 (localedef-modules): Add localedef.
1151 (locale-modules): Add locale.
1152
5e4287d1
RM
1153 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
1154 * elf/rtld.c (dl_main): Invert order of assignment in last change,
1155 to avoid a warning.
1156
9c96ff23
DM
11572011-08-14 David S. Miller <davem@davemloft.net>
1158
1159 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
1160 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
1161
f9ddf089
UD
11622011-08-13 Ulrich Drepper <drepper@gmail.com>
1163
44f0a71e 1164 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
1165 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
1166 * elf/rtld.c (dl_main): Set l_name of vDSO.
1167 Call _dl_show_scope when DL_DEBUG_SCOPES.
1168 (process_dl_debug): Recognize scopes flag and also set it for all.
1169 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
1170 Declare _dl_show_scope.
1171
1dc27704
UD
1172 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
1173 (do_dlopen): Pass caller_dlopen to dl_open.
1174 (__libc_dlopen_mode): Initialize caller_dlopen.
1175
f9ddf089
UD
1176 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
1177 of libc. Make tolower call locale-independent. Optimize a bit by
1178 using isdigit instead of isalnum.
1179 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
1180
9ac533d3
UD
11812011-08-12 Ulrich Drepper <drepper@gmail.com>
1182
1183 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
1184 was a dependency or dynamically loaded.
1185
89edf2e9
UD
11862011-08-11 Ulrich Drepper <drepper@gmail.com>
1187
8e999d29
UD
1188 * intl/l10nflist.c: Allow architecture-specific pop function.
1189 * sysdeps/x86_64/l10nflist.c: New file.
1190
89edf2e9
UD
1191 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
1192 classification.
1193
14d96785
AS
11942011-08-10 Andreas Schwab <schwab@redhat.com>
1195
1196 * include/dirent.h: Add libc_hidden_proto for scandirat and
1197 scandirat64. Don't declare __scandirat64.
1198 * dirent/scandirat.c: Add libc_hidden_def.
1199 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
1200 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
1201
6761ac04
DM
12022011-08-10 David S. Miller <davem@davemloft.net>
1203
1204 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
1205 enum.
1206 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1207 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1208 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1209
c55fbd1e
UD
12102011-08-09 Ulrich Drepper <drepper@gmail.com>
1211
1212 * Versions.def [libc]: Add GLIBC_2.15.
1213 * dirent/Makefile (routines): Add scandirat and scandirat64.
1214 * dirent/Versions [libc]: Export scandirat and scandirat64 for
1215 GLIBC_2.15.
1216 * dirent/dirent.h: Declare scandirat and scandirat64.
1217 * dirent/scandirat.c: New file.
1218 * dirent/scandirat64.c: New file.
1219 * sysdeps/wordsize-64/scandirat.c: New file.
1220 * sysdeps/wordsize-64/scandirat64.c: New file.
1221 * dirent/opendir.c: Define opendirat.
1222 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
1223 using scandirat.
1224 * dirent/scandir64.c: Adjust for scandir.c change.
1225 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
1226 __scandirat64, and __scandir_cancel_handler.
1227 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
1228 additional parameter and use openat instead of open (outside of ld.so).
1229 Add new __opendir as wrapper around __opendirat.
1230 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
1231 here without requiring old scandirat implementation.
1232
879165f2
UD
12332011-08-08 Ulrich Drepper <drepper@gmail.com>
1234
1235 * dirent/scandir.c (cancel_handler): Renamed to
1236 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
1237 defined. Adjust users.
1238 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
1239 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
1240
cb7e923b
UD
12412011-08-04 Ulrich Drepper <drepper@gmail.com>
1242
16292edd
UD
1243 * string/test-string.h (IMPL): Use __STRING to expand name and then
1244 stringify it.
1245
cb7e923b
UD
1246 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
1247 of cleanups.
1248
cff82933
LD
12492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1250
1251 * string/Makefile: Update.
1252 (strop-tests): Append strncat.
1253 * string/test-wcscmp.c: New file.
1254 New comprehensive test for wcscmp.
1255 * string/test-strcmp.c: Update.
1256 (WIDE): New define.
1257
9be9bfcc
AS
12582011-07-22 Andreas Schwab <schwab@redhat.com>
1259
1260 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
1261 line.
1262
2e96f1c7
AS
12632011-07-26 Andreas Schwab <schwab@redhat.com>
1264
1265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
1266 encoding to ACE if AI_IDN.
1267
85188888
JJ
12682011-08-01 Jakub Jelinek <jakub@redhat.com>
1269
1270 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
1271 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
1272
5fa16e9b
LD
12732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1274
1275 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
1276 Fix overflow bug in strncat.
1277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1278
1279 * string/test-strncat.c: Update.
1280 Add new tests for checking overflow bugs.
1281
12822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1283
1284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1285 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
1286 * sysdeps/i386/i686/multiarch/strcat.S: New file.
1287 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
1288 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
1289 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
1290 * sysdeps/i386/i686/multiarch/strncat.S: New file.
1291 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
1292 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
1293
1294 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
1295 (USE_AS_STRCAT): Define.
1296 Add strcat and strncat support.
1297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1298
8c1a459f
AS
12992011-07-25 Andreas Schwab <schwab@redhat.com>
1300
1301 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
1302 __n bigger than INT_MAX+1.
1303 (__strncmp_g): Likewise.
1304
bba33c28
UD
13052011-07-23 Ulrich Drepper <drepper@gmail.com>
1306
798be72d
UD
1307 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
1308 * libio/stido.h: Likewise.
1309
8accd4dc
UD
1310 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
1311 (AF_NFC): Define.
1312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
1313 (AF_NFC): Define.
1314
cbff0d96
UD
1315 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
1316 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1317 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1318 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1319 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1320
9191c04a
UD
1321 [BZ #13021]
1322 * scripts/test-installation.pl: Don't expect libnss_test1 to be
1323 installed.
1324
bba33c28
UD
1325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
1326 typo.
1327 (_dl_x86_64_save_sse): Likewise.
1328
90f139dd
UD
13292011-07-22 Ulrich Drepper <drepper@gmail.com>
1330
1aae088a
UD
1331 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
1332 OSXSAVE.
1333 (_dl_x86_64_save_sse): Likewise.
1334
8e2045f5
UD
1335 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
1336
90f139dd
UD
1337 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
1338
1d002f25
AS
13392011-07-21 Andreas Schwab <schwab@redhat.com>
1340
1341 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
1342 change.
1343 (_dl_x86_64_save_sse): Use correct AVX check.
1344
21137f89
UD
13452011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1346
1347 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
1348 bug in strncpy/strncat.
1349 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1350
a65c0b7a
UD
13512011-07-21 Ulrich Drepper <drepper@gmail.com>
1352
1353 * string/tester.c (test_strcat): Add tests for different alignments
1354 of source and destination.
1355 (test_strncat): Likewise.
1356
6986b98a
UD
13572011-07-20 Ulrich Drepper <drepper@gmail.com>
1358
90bb2039
UD
1359 [BZ #12852]
1360 * posix/glob.c (glob): Check passed in values before using them in
1361 expressions to avoid some overflows.
1362 (glob_in_dir): Likewise.
1363
5644ef54
UD
1364 [BZ #13007]
1365 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
1366 check for AVX enablement so that we don't crash with old kernels and
1367 new hardware.
1368 * elf/tst-audit4.c: Add same checks here.
1369 * elf/tst-audit6.c: Likewise.
1370
1371 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 1372
bfc9dc9b
AS
13732011-07-09 Andreas Schwab <schwab@linux-m68k.org>
1374
1375 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
1376
702e64bb
UD
13772011-07-20 Ulrich Drepper <drepper@gmail.com>
1378
1379 * po/cs.po: Update from translation team.
1380 * po/bg.po: Likewise.
1381
295e904f
MP
13822011-07-12 Marek Polacek <mpolacek@redhat.com>
1383
1384 * misc/sys/cdefs.h: Add support for const attribute.
1385 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
1386 to gnu_dev_{major,minor,makedev} functions.
1387
3ff94596
MP
13882011-07-20 Marek Polacek <mpolacek@redhat.com>
1389
1390 * intl/dcigettext.c (get_output_charset): Add missing bracket.
1391
28b59fca
AS
13922011-07-20 Andreas Schwab <schwab@redhat.com>
1393
1394 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
1395 strlen results.
1396
19df733e
AK
13972011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1398
1399 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1400 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
1401 register in order to avoid conflicts with the soft frame pointer
1402 being held in r11 when necessary.
1403 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1404 (INTERNAL_VSYSCALL_NCS): Likewise.
1405
c8835729
MP
14062011-07-14 Marek Polacek <mpolacek@redhat.com>
1407
1408 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
1409 * elf/dl-fini.c (_dl_fini): Adjust caller.
1410 * elf/dl-close.c (_dl_close_worker): Likewise.
1411 * sysdeps/generic/ldsodefs.h: Adjust declaration.
1412
b902330c
MP
14132011-07-15 Marek Polacek <mpolacek@redhat.com>
1414
8991e135
MP
1415 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
1416 "aux_cache->nlibs < 0".
1417
b902330c
MP
1418 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
1419 in the reload-count case.
1420
99710781
LD
14212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1422
1423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1424 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
1425 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
1426 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
1427 * sysdeps/x86_64/multiarch/strcat.S: New file.
1428 * sysdeps/x86_64/multiarch/strncat.S: New file.
1429 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
1430 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
1431 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
1432 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
1433 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
1434 (USE_AS_STRCAT): Define.
1435 Add strcat and strncat support.
1436 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
1437 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1438 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
1439 * string/strncat.c: Update.
1440 (USE_AS_STRNCAT): Define.
1441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1442 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
1443 and i7.
1444 * sysdeps/x86_64/multiarch/init-arch.h
1445 (bit_Prefer_PMINUB_for_stringop): New.
1446 (index_Prefer_PMINUB_for_stringop): Likewise.
1447 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
1448 bit_Prefer_PMINUB_for_stringop.
1449
7dc6bd90
UD
14502011-07-19 Ulrich Drepper <drepper@gmail.com>
1451
1452 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
1453 buffer64.
1454 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
1455 of casting of buffer.
1456 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
1457 buffer32 and buffer64.
1458 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
1459 writes instead of casting of buffer.
1460 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
1461 buffer32.
1462 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
1463 casting of buffer.
1464
e0e72284
AS
14652011-07-19 Andreas Schwab <schwab@redhat.com>
1466
1467 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
1468
feb1eb0b
UD
14692011-07-19 Ulrich Drepper <drepper@gmail.com>
1470
1471 * nscd/nscd.c (termination_handler): Don't do anything for a database
1472 if it has not yet been initialized.
1473
298711ff
UD
14742011-07-18 Ulrich Drepper <drepper@gmail.com>
1475
1476 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
1477
14782011-07-15 Marek Polacek <mpolacek@redhat.com>
1479
1480 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
1481
f9d68389
UD
14822011-07-18 Ulrich Drepper <drepper@gmail.com>
1483
1484 * po/nl.po: Update from translation team.
1485 * po/sv.po: Likewise.
1486
db290cf5
RM
14872011-07-16 Roland McGrath <roland@hack.frob.com>
1488
1489 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
1490 now disallowed by GCC.
5c550700 1491
fd5e21c7
RM
1492 * configure.in (use-default-link): Default to yes if a test -shared
1493 link meets our qualifications.
1494 * configure: Regenerated.
1495
5c550700
RM
1496 * config.make.in (output-format): New variable.
1497 * configure.in: Check for ld --print-output-format support.
1498 * configure: Regenerated.
1499 * Makerules ($(common-objpfx)format.lds)
1500 [$(output-format) != unknown]: Just use $(output-format),
1501 instead of the linker-script munging.
1502
9fa2c032
RM
15032011-07-14 Roland McGrath <roland@hack.frob.com>
1504
a6928d51
RM
1505 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
1506 of $(common-objpfx)shlib.lds.
1507 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
1508
661607b3
RM
1509 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
1510 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
1511
9fa2c032
RM
1512 * configure.in (-z relro check): Adjust test code to add a large
1513 writable data section after it.
1514 * configure: Regenerated.
1515
defe9061
RM
15162011-07-11 Roland McGrath <roland@hack.frob.com>
1517
1518 * configure.in (-z relro check): Fix test code to make the variable
1519 truly const.
1520 * configure: Regenerated.
1521
319b9ad4
UD
15222011-07-11 Ulrich Drepper <drepper@gmail.com>
1523
1524 * nscd/nscd.h (struct traced_file): Define.
1525 (struct database_dyn): Remove inotify_descr, reset_res, and filename
1526 elements. Add traced_files.
1527 (inotify_fd): Declare.
1528 (register_traced_file): Declare.
1529 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
1530 (inotify_fd): Export.
1531 (resolv_conf_descr): Remove.
1532 (nscd_init): Move inotify descriptor creation to main.
1533 Don't register files for notification here.
1534 (register_traced_file): New function.
1535 (invalidate_cache): Don't use reset_res to determine whether to call
1536 res_init, go through the list of registered files.
1537 (main_loop_poll): The inotify descriptors are now stored in the
1538 structures for the traced files.
1539 (main_loop_epoll): Likewise
1540 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
1541 to __nss_disable_nscd.
1542 * nscd/cache.c (prune_cache): There is no single inotify descriptor
1543 for a database anymore. Check the records for all the registered
1544 files instead.
1545 * nss/Makefile (libnss_files-routines): Add files-init.
1546 (libnss_db-routines): Add db-init.
1547 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
1548 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
1549 * nss/nss_db/db-init.c: New file.
1550 * nss/nss_files/files-init.c: New file.
1551 * nss/nsswitch.c (nss_load_library): New function. Broken out of
1552 __nss_lookup_function.
1553 (__nss_lookup_function): Call nss_load_library.
1554 (nss_load_all_libraries): New function.
1555 (__nss_disable_nscd): Take parameter with callback function for files
1556 to register. Set is_nscd. Load all the DSOs for the NSS modules
1557 used for the cached services.
1558 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
1559 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
1560 options for features to all the files in nscd.
1561
1562 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
1563
23bee3e8
RM
15642011-07-10 Roland McGrath <roland@hack.frob.com>
1565
1566 * csu/elf-init.c (__libc_csu_init): Comment typo.
1567
46a5b7f0
UD
15682011-07-09 Ulrich Drepper <drepper@gmail.com>
1569
1570 * po/pl.po: Update from translation team.
1571 * po/ja.po: Likewise.
1572 * po/ru.po: Likewise.
1573 * po/ko.po: Likewise.
1574 * po/fr.po: Likewise.
1575
d30cf5bb
RM
15762011-07-09 Roland McGrath <roland@hack.frob.com>
1577
113ddea4
RM
1578 * configure.in (.ctors/.dtors header and trailer check):
1579 Use an empirical test on a built program.
1580 * configure: Regenerated.
1581
574920b4
RM
1582 * configure.in (-z relro check): Use an empirical test on a built DSO.
1583 Detect, but do not require, on ia64.
1584 * configure: Regenerated.
1585
d30cf5bb
RM
1586 * configure.in (READELF): Find it with AC_CHECK_TOOL.
1587 Update tests that use readelf to use $READELF instead.
1588 * configure: Regenerated.
1589
8538fdb3
UD
15902011-07-08 Ulrich Drepper <drepper@gmail.com>
1591
1592 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
1593 if the result is not used.
1594
04d08991
AJ
15952011-07-05 Andreas Jaeger <aj@suse.de>
1596
1597 [BZ#9696]
1598 * stdlib/tst-strtod.c: Add testcase.
1599
de283087
AD
16002011-07-07 Ulrich Drepper <drepper@gmail.com>
1601
4e5f31c8 1602 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 1603 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
1604 The latter has a higher limit. Take additional parameter to pass to
1605 the new function.
1606 (__pathconf): Pass file to __statfs_link_max.
1607 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
1608 __statfs_link_max.
1609 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
1610 __statfs_link_max.
1611
de283087
AD
1612 [BZ #12868]
1613 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
1614 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1615 Handle Lustre.
1616 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
1617 (__statfs_filesize_max): Likewise.
1618 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
1619
c75fa153
AJ
16202011-07-05 Andreas Jaeger <aj@suse.de>
1621
1622 * resolv/res_comp.c (dn_skipname): Remove unused variable.
1623
1a544854
UD
16242011-07-06 Marek Polacek <mpolacek@redhat.com>
1625
1626 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
1627 `status' variable.
1628 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
1629 Likewise.
1630
6f0eec67
UD
16312011-07-04 H.J. Lu <hongjiu.lu@intel.com>
1632
1633 * Makefile (strop-tests): Add strncat.
1634 * string/test-strncat.c: New file.
1635
aae30307
UD
16362011-06-30 Marek Polacek <mpolacek@redhat.com>
1637
1638 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
1639
c0cfb5eb
UD
16402011-06-21 Andreas Jaeger <aj@suse.de>
1641
1642 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
1643 Copy rule from iconvdata/Makefile.
1644
01636b21
UD
16452011-07-06 Ulrich Drepper <drepper@gmail.com>
1646
1647 [BZ #12922]
1648 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
1649 but no long options are defined, just return 'W'.
1650
9895c8bc
UD
16512011-06-22 Marek Polacek <mpolacek@redhat.com>
1652
1653 [BZ #9696]
1654 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
1655
5d4cf042
UD
16562011-07-06 Ulrich Drepper <drepper@gmail.com>
1657
1658 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
1659 netgroups to read.
960e5535 1660 (innetgr): Likewise.
5d4cf042 1661
751eb97e
RM
16622011-07-05 Roland McGrath <roland@hack.frob.com>
1663
1664 * config.make.in (install_root): Default to $(DESTDIR).
1665
f15f1e45
UD
16662011-07-05 Ulrich Drepper <drepper@gmail.com>
1667
1668 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
1669
4e34ac6a
RM
16702011-07-02 Roland McGrath <roland@hack.frob.com>
1671
5e9b6af4
RM
1672 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
1673
84f9ea0f
RM
1674 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
1675 containing directory rather than embedding absolute directory names.
1676
ea5ee9f7
RM
1677 * scripts/check-local-headers.sh: Rewritten using awk.
1678 Match by word, not by line. Print error messages for matches.
1679 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
1680
1b74661a
RM
1681 * Makerules [shlib-lds-flags empty]:
1682 ($(common-objpfx)libc_pic.opts): New target.
1683 ($(common-objpfx)libc_pic.os.clean): New target.
1684 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
1685
1686 * config.make.in (OBJCOPY): New variable.
1687 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
1688 * configure: Regenerated.
1689
f781ef40
RM
1690 * config.make.in (use-default-link): New variable.
1691 * configure.in (use_default_link): Grok --with-default-link to set it.
1692 * configure: Regenerated.
1693 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
1694 (shlib-lds, shlib-lds-flags): Define to empty.
1695
2d4fa81e
RM
1696 * Makerules (shlib-lds): New variable.
1697 (shlib-lds-flags): New variable.
1698 (build-shlib, build-moduile, build-module-asneeded): Use it.
1699 ($(common-objpfx)libc.so): Use $(shlib-lds).
1700 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
1701 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
1702
31fffa6b
RM
1703 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
1704 DT_FLAGS/DT_FLAGS_1 with zero flags.
1705
4e34ac6a
RM
1706 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
1707 linker script munging.
1708
fcfc776b
UD
17092011-07-02 Ulrich Drepper <drepper@gmail.com>
1710
1711 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
1712 as 128-bit value.
1713 * crypt/sha512.c (sha512_process_block): Perform total addition using
1714 128-bit if possible.
1715 (__sha512_finish_ctx): Likewise.
1716 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
1717 as 64-bit value.
1718 * crypt/sha256.c (SWAP64): Define.
1719 (sha256_process_block): Perform total addition using 64-bit if
1720 possible.
1721 (__sha256_finish_ctx): Likewise.
1722
99231d9a
UD
17232011-07-01 Ulrich Drepper <drepper@gmail.com>
1724
1725 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
1726 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1727 * nscd/hstcache.c (cache_addhst): Likewise.
1728 * nscd/grpcache.c (cache_addgr): Likewise.
1729 * nscd/aicache.c (addhstaiX): Likewise
1730 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
1731
445b4a53
TK
17322011-07-01 Thorsten Kukuk <kukuk@suse.de>
1733
1734 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
1735 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1736 * nscd/hstcache.c (cache_addhst): Likewise.
1737 * nscd/grpcache.c (cache_addgr): Likewise.
1738 * nscd/aicache.c (addhstaiX): Likewise
1739
6d4d8e8e
AS
17402011-07-01 Andreas Schwab <schwab@redhat.com>
1741
1742 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
1743 domain only when needed.
1744
89f654c5
AS
17452011-06-30 Andreas Schwab <schwab@redhat.com>
1746
1747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
1748 is always restored.
1749
cf3b23ff
UD
17502011-06-29 Ulrich Drepper <drepper@gmail.com>
1751
1752 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
1753 are re-adding the entry.
1754 * nscd/servicescache.c (cache_addserv): Likewise.
1755
751626f9
AJ
17562011-06-30 Aurelien Jarno <aurelien@aurel32.net>
1757
1758 * sysdeps/generic/dl-irel.h: fix protection against multiple
1759 inclusions.
1760 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
1761
9113ea1f
UD
17622011-06-28 Ulrich Drepper <drepper@gmail.com>
1763
5c0b8d90
UD
1764 [BZ #12935]
1765 * malloc/memusage.sh: Fix quoting in message.
1766 * debug/xtrace.sh: Likewise.
1767
9113ea1f
UD
1768 * configure.in: Remove support for --experimental-malloc option, make
1769 it the default.
1770 * config.make.in: Likewise.
1771 * malloc/Makefile: Likewise.
1772
a4172181
AS
17732011-06-27 Andreas Schwab <schwab@redhat.com>
1774
1775 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
1776 two-byte characters.
1777
78a7eee7
RM
17782011-06-27 Roland McGrath <roland@hack.frob.com>
1779
62bede13
RM
1780 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
1781 AC_CACHE_CHECK invocation.
1782 * configure: Regenerated.
1783
78a7eee7
RM
1784 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
1785
5ce33a62
UD
17862011-06-27 Ulrich Drepper <drepper@gmail.com>
1787
034807a9
UD
1788 [BZ #12350]
1789 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
1790 bit from old_res_options.
1791
4902da17
UD
1792 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
1793
5ce33a62
UD
1794 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
1795 value type for setfct.
1796
c2344f56
L
17972011-06-23 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
1800 __gettimeofday instead of gettimeofday.
1801
68468076
UD
18022011-06-26 Ulrich Drepper <drepper@gmail.com>
1803
1804 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
1805
acb0d739
L
18062011-06-24 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
1809
1810 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
1811 info.
1812
8912479f
L
18132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
1814
1815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1816 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
1817 strcpy-sse2-unaligned strncpy-sse2-unaligned
1818 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
1819 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
1820 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
1821 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
1822 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
1823 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
1824 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
1825 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
1826 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
1827 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
1828 (STRCPY): Support SSE2 and SSSE3 versions.
1829
d5495a11
UD
18302011-06-24 Ulrich Drepper <drepper@gmail.com>
1831
1832 [BZ #12874]
1833 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
1834 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
1835 kernels which artificially limit size of requests.
1836
0b1cbaae
L
18372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
1838
1839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1840 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
1841 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
1842 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
1843 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
1844 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
1845 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
1846 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
1847 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
1848 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
1849 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
1850 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
1851 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
1852 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
1853 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
1854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1855 Enable unaligned load optimization for Intel Core i3, i5 and i7
1856 processors.
1857 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
1858 Define.
1859 (index_Fast_Unaligned_Load): Define.
1860 (HAS_FAST_UNALIGNED_LOAD): Define.
1861
07f494a0
MP
18622011-06-23 Marek Polacek <mpolacek@redhat.com>
1863
1864 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
1865
fa3fc0fe
UD
18662011-06-22 Ulrich Drepper <drepper@gmail.com>
1867
1868 [BZ #12907]
1869 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
1870 until it is clear that the information is realy needed.
1871 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
1872
e12df166
AS
18732011-06-22 Andreas Schwab <schwab@redhat.com>
1874
1875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
1876
852eb34d
UD
18772011-06-22 Ulrich Drepper <drepper@gmail.com>
1878
84e2a551
UD
1879 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
1880 /sys/devices/system/cpu/online if it is usable.
1881
852eb34d
UD
1882 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
1883 reading the information from the /proc filesystem to once a second.
1884
6e502e19
UD
18852011-06-21 Andreas Jaeger <aj@suse.de>
1886
1887 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
1888 NULL after inclusion of kernel headers.
1889
75d39ff2
UD
18902011-06-21 Ulrich Drepper <drepper@gmail.com>
1891
51f9aa6a
UD
1892 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
1893 calls to internal_setent.
1894
c0244a9d
UD
1895 [BZ #12885]
1896 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
1897 addresses using gethostbyname4_r ignore IPv4 addresses.
1898
c5e3c2ae
UD
1899 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
1900 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
1901
75d39ff2
UD
1902 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
1903
42675c6f
DM
19042011-06-20 David S. Miller <davem@davemloft.net>
1905
1906 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
1907 inclusions.
1908 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
1909
1910 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
1911 (elf_irel): Use it.
1912 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
1913 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
1914 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
1915 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
1916 * sysdeps/x86_64/dl-irel.h: Likewise.
1917
1918 * elf/dl-runtime.c: Use elf_ifunc_invoke.
1919 * elf/dl-sym.c: Likewise.
1920
57912a71
UD
19212011-06-15 Ulrich Drepper <drepper@gmail.com>
1922
1923 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
1924 need to dereference resplen2.
1925
ee22793d
AS
19262011-06-14 Andreas Schwab <schwab@redhat.com>
1927
1928 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
1929
a9e836b0
UD
19302011-06-15 Ulrich Drepper <drepper@gmail.com>
1931
77fb9117
UD
1932 * Makeconfig: Define vardbdir and inst_vardbdir.
1933 * nss/Makefile: Add rules to install db-Makefile.
1934
40c1b22c
UD
1935 * nss/nss_db/db-XXX.c: Cleanup.
1936
9f2da732
UD
1937 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
1938 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
1939 GLIBC_PRIVATE.
1940 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
1941 * nss/makedb.c: Implement -g option to specify that value strings
1942 are generated and should not be added to table iterated over for
1943 get*ent calls.
1944 * nss/nss_db/db-initgroups.c: New file.
1945
82e9a1f7
UD
1946 * nss/getent.c: Add support for initgroups lookups through getgrouplist
1947 interface.
1948
c41af17e
UD
1949 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
1950 (internal_getgrouplist): Adjust to name change.
1951 Update use_initgroups_entry if this is not the first call.
1952 * nss/databases.def: Add initgroups entry.
1953
a9e836b0
UD
1954 * nss/makedb.c (compute_tables): Check result of multiple hash table
1955 sizes to minimize maximum chain length.
1956
2666d441
UD
19572011-06-14 Ulrich Drepper <drepper@gmail.com>
1958
1959 * Versions.def: Add entry for libnss_db.
1960 * shlib-versions: Likewise.
1961 * nss/Makefile: Add rules to build libnss_db.
1962 * nss/Versions: Add libnss_db information. Organize libnss_files
1963 entries better.
1964 * nss/db-Makefile: Add gshadow support. Change rules for the new
1965 makedb progra. Some minor improvements to generate smaller files.
1966 * nss/nss_db/nss_db.h: Move NSS database header data structures to
1967 here from...
1968 * nss/makedb.c: ...here.
1969 Improve database format to be smaller and require less memory at
1970 runtime.
1971 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
1972 db anymore.
1973 * nss/nss_db/db-netgrp.c: Likewise.
1974 * nss/nss_db/db-open.c: Likewise.
1975 * nss/nss_files/flies-XXX.x: Adjust comments.
1976 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
1977 * nss/nss_files/files-grp.c: Likewise.
1978 * nss/nss_files/files-hosts.c: Likewise.
1979 * nss/nss_files/files-network.c: Likewise.
1980 * nss/nss_files/files-proto.c: Likewise.
1981 * nss/nss_files/files-pwd.c: Likewise.
1982 * nss/nss_files/files-rpc.c: Likewise.
1983 * nss/nss_files/files-service.c: Likewise.
1984 * nss/nss_files/files-sgrp.c: Likewise.
1985 * nss/nss_files/files-spwd.c: Likewise.
1986 * nss/nss_db/db-alias.c: Removed.
1987 * nss/nss_db/dummy-db.h: Removed.
1988
9ee76b5a
UD
19892011-06-02 Ulrich Drepper <drepper@gmail.com>
1990
1991 * nss/makedb.c: Rewritten to not use database library.
1992 * nss/Makefile: Update to build new makedb program.
1993
c71ca1f8
AJ
19942011-06-14 Andreas Jaeger <aj@suse.de>
1995
1996 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
1997 memset declaration.
1998
3154bfb8
UD
19992011-06-10 Andreas Schwab <schwab@redhat.com>
2000
2001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
2002 tmpbuf.
2003
b350afab
RM
20042011-06-10 Roland McGrath <roland@hack.frob.com>
2005
decd4e50
RM
2006 * Makerules (shlib.lds): Fail if the linker script comes out empty.
2007 * elf/Makefile ($(objpfx)ld.so): Likewise.
2008
5615eaf2
RM
2009 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
2010 Don't list ld.so twice in dependencies.
2011
2012 * posix/bug-regex31.c: Include <stdlib.h>.
2013
2014 * nscd/hstcache.c (cache_addhst): Remove unused variable.
2015
2016 * nis/nss_compat/compat-spwd.c
2017 (getspent_next_nss_netgr): Remove unused variable.
2018 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2019
2020 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
2021 nonmembers" output to use the right array.
2022
2023 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
2024
2025 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
2026
2027 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
2028 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
2029 * catgets/gencat.c (read_input_file): Likewise.
2030 * locale/programs/locarchive.c (enlarge_archive): Likewise.
2031
2032 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
2033 variable definition inside #if's controlling its use.
2034
2035 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
2036
2037 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
2038
2039 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
2040
2041 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
2042 unreachable code.
2043
2044 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
2045
b68e08db
RM
2046 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
2047 * configure: Regenerated.
2048
b350afab
RM
2049 * Makerules: Revert last change.
2050 * elf/Makefile: Likewise.
2051
28368601
RM
20522011-06-09 Roland McGrath <roland@hack.frob.com>
2053
2054 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
2055 * elf/Makefile ($(objpfx)librtld.os): Likewise.
2056 (reloc-link): Likewise.
2057
11988f8f
UD
20582011-06-09 Ulrich Drepper <drepper@gmail.com>
2059
2060 * elf/Makefile: Add rules to build pldd.
2061 * elf/pldd.c: New file.
2062 * elf/pldd-xx.c: New file.
2063
e80fab37
UD
20642011-06-07 Ulrich Drepper <drepper@gmail.com>
2065
2066 * version.h: Update for 2.15 development version.
2067
9b849836
DM
20682011-06-07 David S. Miller <davem@davemloft.net>
2069
2070 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
2071 ifuncs.
2072 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2073 elf_machine_lazy_rel): Likewise.
2074 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2075 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2076 elf_machine_lazy_rel): Likewise.
2077 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
2078 dl_hwcap via passed in argument.
2079 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
2080 Likewise.
2081
5a31b283
AK
20822011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2083
2084 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
2085
069e52f8
RM
20862011-06-06 Roland McGrath <roland@hack.frob.com>
2087
2088 [BZ #12849]
2089 * manual/fdl-1.1.texi: New file, verbatim from:
2090 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
2091 * manual/lgpl-2.1.texi: New file, verbatim from:
2092 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
2093 * manual/Makefile (licenses): New variable, list those new file names.
2094 (texis): Use it.
2095 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
2096
2097 * manual/fdl.texi: File removed.
2098 * manual/lesser.texi: File removed.
2099 * manual/libc.texinfo (Copying, Documentation License):
2100 Use new @include file names, put @appendix directive before @include.
2101
f16846a5
JJ
21022011-06-04 Jakub Jelinek <jakub@redhat.com>
2103
2104 [BZ #12841]
2105 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
2106 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
2107 (mq_open): Add __NTH.
2108
3d29045b
L
21092011-06-02 H.J. Lu <hongjiu.lu@intel.com>
2110
2111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2112 Assume Intel Core i3/i5/i7 processor if AVX is available.
2113
8c297311
UD
21142011-05-31 Ulrich Drepper <drepper@gmail.com>
2115
2116 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2117 typo.
2118
c8fc0c91
UD
21192011-05-31 Andreas Schwab <schwab@redhat.com>
2120
2121 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
2122 memory. Use alloca_account. Fix memory leak when retrying.
2123
5b27a807
UD
21242011-05-31 Ulrich Drepper <drepper@gmail.com>
2125
356f8bc6
UD
2126 * version.h (RELEASE): Bump for 2.14 release.
2127 * include/features.h (__GLIBC_MINOR__): Bump to 14.
2128
5b27a807
UD
2129 * config.make.in (RANLIB): Remove entry.
2130
01f16ab0
UD
21312011-05-30 Ulrich Drepper <drepper@gmail.com>
2132
41fce8bd
UD
2133 * po/Makefile (po-sed-cmd): Add ksh to extensions.
2134 (libc.pot): Work around missing support for .ksh extension in xgettext.
2135
4769ae77
UD
2136 [BZ #12684]
2137 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
2138 if both request failed.
2139 (send_dg): In case of server errors clear resplen or *resplen2.
2140
6b1e7d19
UD
2141 [BZ #12454]
2142 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
2143 when there are multiple maps.
2144 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
2145 (_dl_fini): Remove test here.
2146
01f16ab0
UD
2147 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
2148
b1ebd700
UD
21492011-05-29 Ulrich Drepper <drepper@gmail.com>
2150
7ae22829
UD
2151 [BZ #12350]
2152 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
2153 bit from old_res_options.
2154 (gaih_inet): Likewise.
2155
553149f6 2156 [BZ #11099]
18a84741 2157 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
2158 as signed.
2159
652ffab1
UD
2160 * resolv/res_init.c (res_setoptions): Make the code more compact.
2161
16985fd0
UD
2162 [BZ #11558]
2163 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
2164 set RES_USEVC.
2165
0464f746
UD
2166 [BZ #11634]
2167 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
2168
7d17596c
UD
2169 * malloc/malloc.h: Mark malloc hook variables as deprecated.
2170
cf6bbbd7
UD
2171 [BZ #11781]
2172 * malloc/malloc.h: Declare malloc hook variables as volatile.
2173
13f1ab36
UD
2174 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
2175 in last patch.
2176
b1ebd700
UD
2177 [BZ #11799]
2178 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 2179 raise in the comment.
80e2212d
UD
2180 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2181 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2182 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 2183
ce67228d
UD
21842011-05-28 Ulrich Drepper <drepper@gmail.com>
2185
8887a920
UD
2186 [BZ #12811]
2187 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
2188 grow the buffers more if it already has to be sufficient.
2189 (build_wcs_upper_buffer): Likewise.
2190 * posix/regexec.c (check_matching): Likewise.
2191 (clean_state_log_if_needed): Likewise.
2192 (extend_buffers): Don't enlarge buffers beyond size of the input
2193 buffer.
2194 Patches mostly by Emil Wojak <emil@wojak.eu>.
2195 * posix/bug-regex32.c: New file.
2196 * posix/Makefile (tests): Add bug-regex32.
2197
4f031072
UD
2198 * locale/findlocale.c (_nl_find_locale): Return right away if
2199 _nl_explode_name failed.
2200 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2201
d0478f0c
UD
2202 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
2203
de81b246
UD
2204 * debug/xtrace.sh: Unify messages.
2205 * malloc/memusage.sh: Likewise.
2206
c738465a
UD
2207 [BZ #12813]
2208 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
2209 time symbol from vDSO. Substitute with vsyscall if not available.
2210 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
2211 __vdso_time.
2212
f1f929d7
UD
2213 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
2214 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
2215 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
2216 Add sendmmsg and internal_sendmmsg.
2217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
2218 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
2219 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
2220
ce67228d
UD
2221 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
2222 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
2223 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
2224
e57420c6
UD
22252011-05-27 Ulrich Drepper <drepper@gmail.com>
2226
a8509ca5
UD
2227 [BZ #12813]
2228 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
2229 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
2230 available.
2231 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
2232 __vdso_getcpu.
2233
e57420c6
UD
2234 [BZ #12814]
2235 * iconvdata/Makefile (tests): Add bug-iconv9.
2236 * iconvdata/bug-iconv9.c: New file.
2237
4d07db15
AS
22382011-05-27 Andreas Schwab <schwab@redhat.com>
2239
2240 [BZ #12814]
2241 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
2242
ea486f69
JJ
22432011-05-25 Jakub Jelinek <jakub@redhat.com>
2244
2245 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
2246 (struct user_regs_struct): Change intcs field back to cs.
2247
6f038433
UD
22482011-05-25 Ulrich Drepper <drepper@gmail.com>
2249
2250 * po/ja.po: Update from translation team.
2251
67f86a25
UD
22522011-05-23 Ulrich Drepper <drepper@gmail.com>
2253
2254 [BZ #12795]
2255 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
2256 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2257
def7fbd6
AS
22582011-05-20 Andreas Schwab <schwab@redhat.com>
2259
2260 * stdlib/longlong.h: Update from GCC.
2261
f50ef8f1
AS
22622011-05-23 Andreas Schwab <schwab@redhat.com>
2263
2264 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
2265 parameter name.
2266 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
2267 Add parameter name.
2268 (__sysconf): Pass it down.
2269
de7ce8f1
UD
22702011-05-22 Ulrich Drepper <drepper@gmail.com>
2271
f2962a71
UD
2272 [BZ #12671]
2273 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
2274 some situations.
2275 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2276 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
2277 add in in __libc_use_alloca calls. Adjust callers.
2278 (glob): Use malloc in some situations.
2279
de7ce8f1
UD
2280 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
2281 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
2282 pltexit.
2283
aec84f53
UD
22842011-05-21 Ulrich Drepper <drepper@gmail.com>
2285
05bb4a68
UD
2286 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
2287 and CLOCK_BOOTTIME_ALARM.
2288
7ea72f99
UD
2289 [BZ #12782]
2290 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
2291 is returned.
2292
7e4afad5
UD
2293 * string/_strerror.c (__strerror_r): Print negative errors as signed
2294 numbers.
2295
8e211fec
UD
2296 [BZ #12777]
2297 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
2298 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
2299 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
2300
f7d82dc9
UD
2301 * configure.in: Fix typo in redirection and correct removal of test
2302 files in two cases.
2303
cc9e536d
UD
2304 [BZ #12788]
2305 * locale/setlocale.c (new_composite_name): Fix test to check for
2306 identical name of all categories.
2307
aec84f53
UD
2308 [BZ #12792]
2309 * libio/filedoalloc.c (local_isatty): New function.
2310 (_IO_file_doallocate): Use local_isatty.
2311 * stdio-common/perror.c (perror): In case a new stream is used
2312 forward the stream error.
2313 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
2314 error flag.
2315
78e64fdc
RT
23162011-05-20 Ulrich Drepper <drepper@gmail.com>
2317
34a9094f
UD
2318 [BZ #11869]
2319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
2320 alloca.
2321 * include/alloca.h (extend_alloca_account): Define.
2322
78e64fdc
RT
2323 [BZ #11857]
2324 * posix/regex.h: Fix comments with documentation of user-accessible
2325 fields after compilation and describe correct free'ing of pattern
2326 after re_compile_pattern.
2327 Patch by Reuben Thomas <rrt@sc3d.org>.
2328
457bddfc
RA
23292011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
2330
2331 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
2332 and -mno-altivec to prevent the compiler from using Altivec and/or
2333 VSX instructions when the corresponding registers are not available.
2334
a4527b51
AS
23352011-05-19 Andreas Schwab <schwab@redhat.com>
2336
2337 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
2338
ed690b2f
UD
23392011-05-19 Ulrich Drepper <drepper@gmail.com>
2340
2341 * libio/freopen.c (freopen): Use __dup2, not dup2.
2342 * libio/freopen64.c (freopen64): Likewise.
2343
8db73634
L
23442011-05-17 H.J. Lu <hongjiu.lu@intel.com>
2345
2346 [BZ #12775]
2347 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
2348 * math/Makefile (tests): Add test-powl.
2349 (CFLAGS-test-powl.c): Define.
2350 * math/test-powl.c: New file.
2351
0a197a9d
L
23522011-05-16 H.J. Lu <hongjiu.lu@intel.com>
2353
2354 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
2355
ee30c380
UD
23562011-05-17 Ulrich Drepper <drepper@gmail.com>
2357
2358 [BZ #11837]
2359 * iconvdata/gb18030.c: Update to GB18020-2005.
2360
6ce75379
UD
23612011-05-16 Ulrich Drepper <drepper@gmail.com>
2362
a4b89fd8
AR
2363 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
2364 RE_SYNTAX_POSIX_AWK): Update to match recent development.
2365 Patch by Aharon Robbins <arnold@skeeve.com>.
2366
ea389b12
UD
2367 [BZ #11892]
2368 * stdlib/putenv.c (putenv): Don't always create copy of the variable
2369 on the stack.
2370
68a3f91f
UD
2371 [BZ #11895]
2372 * misc/pselect.c (__pselect): Handle timeout value errors hidden
2373 through underflows.
2374
15cc7dd1
UD
2375 [BZ #12766]
2376 * misc/error.c (error_at_line): Ensure file_name and old_file_name
2377 point to strings before performing equality test for error_one_per_line
2378 mode.
2379
f3799213
UD
2380 [BZ #11697]
2381 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
2382
d79a9c94
UD
2383 [BZ #11820]
2384 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
2385 (struct user_fpregs_struct): Avoid __uint*_t types.
2386
56e5eb46
UD
2387 [BZ #6420]
2388 * malloc/mtrace.c (tr_where): Add additional parameter to point to
2389 symbol info. Use it instead of calling _dl_addr locally.
2390 (lock_and_info): New function.
2391 (tr_freehook): Call lock_and_info and pass symbol info as additional
2392 parameter to tr_where.
2393 (tr_mallochook): Likewise.
2394 (tr_reallochook): Likewise.
2395 (tr_memalignhook): Likewise.
2396
6ce75379
UD
2397 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
2398 used and couldn't be at all thread-safe.
2399
f8a3b5bf
UD
24002011-05-15 Ulrich Drepper <drepper@gmail.com>
2401
94b7cc37
UD
2402 * libio/freopen.c (freopen): Don't close old file descriptor
2403 before the new one is opened. Instead dup the new file descriptor
2404 to the old one after the new stream is created.
2405 * libio/freopen64.c (freopen64): Likewise.
2406 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
2407 * libio/fileops.c (_IO_new_file_close_it): Handle new
2408 _IO_FLAGS2_NOCLOSE flag.
2409 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
2410 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
2411 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
2412 _IO_FLAGS2_NOCLOSE flag.
2413 * include/unistd.h: Add hidden_proto for dup3.
2414 Define __have_dup3.
2415 * io/dup3.c: Define hidden symbol.
2416 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
2417
bd25564e
UD
2418 [BZ #7101]
2419 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
2420 when an incomplete long option is used.
2421 * posix/tst-getopt_long1.c: New file.
2422 * posix/Makefile (tests): Add tst-getopt_long1.
2423
c84cfef4
UD
2424 [BZ #10138]
2425 * scripts/config.guess: Update from autoconf-2.68.
2426 * scripts/config.sub: Likewise.
2427
3b85df27
UD
2428 [BZ #10157]
2429 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
2430 tests into ...
2431 (has_cpuclock): ...this. New function.
2432 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
2433 macro here based on has_cpuclock code.
2434
15a856b1
UD
2435 [BZ #10149]
2436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2437 First byte (not low byte) is now always NUL.
2438 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
2439
05f399e6
UD
2440 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2441 Use non-cancelable interfaces.
2442
10a52685 2443 [BZ #9809]
94ecc67d
UD
2444 * locale/iso-639.def: Add entry for Sorani.
2445
f8a3b5bf
UD
2446 [BZ #11901]
2447 * include/stdlib.h: Move include protection to the right place.
2448 Define abort_msg_s. Declare __abort_msg with it.
2449 * stdlib/abort.c (__abort_msg): Adjust type.
2450 * assert/assert.c (__assert_fail_base): New function. Majority
2451 of code from __assert_fail. Allocate memory for __abort_msg with
2452 mmap.
2453 (__assert_fail): Now call __assert_fail_base.
2454 * assert/assert-perr.c: Remove bulk of implementation. Use
2455 __assert_fail_base.
2456 * include/assert.hL Declare __assert_fail_base.
2457 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
2458 mmap.
2459 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
2460
1af4e298
UD
24612011-05-14 Ulrich Drepper <drepper@gmail.com>
2462
f8a3b5bf 2463 [BZ #11952]
d26dfc60
MG
2464 [BZ #12453]
2465 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
2466 until all modules are registered in the DTV.
2467 * elf/Makefile: Add rules to build and run tst-tls19.
2468 * elf/tst-tls19.c: New file.
2469 * elf/tst-tls19mod1.c: New file.
2470 * elf/tst-tls19mod2.c: New file.
2471 * elf/tst-tls19mod3.c: New file.
2472 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
2473
2fc54d6f
UD
2474 [BZ #12083]
2475 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
2476 correctly.
2477
98d76b46
UD
2478 [BZ #12601]
2479 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
2480 two-byte sequence errors.
2481 * iconvdata/Makefile (tests): Add bug-iconv8.
2482 * iconvdata/bug-iconv8.c: New file.
2483
da3c19ef
UD
2484 [BZ #12626]
2485 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
2486 buf2 definition.
2487
ca408c15
UD
2488 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
2489
d6f67f7d
UD
2490 [BZ #12432]
2491 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
2492 (dummy_getcfa): New function.
2493 (init): Get _Unwind_GetCFA address, use dummy if not found.
2494 (backtrace_helper): In recursion check, also check whether CFA changes.
2495 (__backtrace): Completely initialize arg.
2496
1af4e298 2497 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
2498 storing incomplete byte sequence in state object. Avoid testing for
2499 guaranteed too small input if we know there is enough data available.
1af4e298 2500
da62f81b
AS
25012011-05-11 Andreas Schwab <schwab@redhat.com>
2502
2503 * Makeconfig (+link-pie): Indent.
2504 * Rules (binaries-pie): Define if $(have-fpie) and
2505 $(build-shared).
2506 (binaries-shared): Also filter out $(binaries-pie).
2507 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
2508 * nscd/Makefile (others-pie): Add nscd.
2509 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
2510 ($(objpfx)nscd): Remove command override.
2511 * login/Makefile (others-pie): Add pt_chown.
2512 ($(objpfx)pt_chown): Remove command override.
2513 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
2514 remove command overrides.
2515
fcabc0f8
UD
25162011-05-13 Ulrich Drepper <drepper@gmail.com>
2517
20030ae6
UD
2518 * libio/tst_putwc.c: Fix error messages.
2519
fcabc0f8
UD
2520 [BZ #12724]
2521 * libio/fileops.c (_IO_new_file_close_it): Always flush when
2522 currently writing and seek to current position when not.
2523 * libio/Makefile (tests): Add bug-fclose1.
2524 * libio/bug-fclose1.c: New file.
2525
320a5dc0
PB
25262011-05-12 Ulrich Drepper <drepper@gmail.com>
2527
2528 [BZ #12511]
2529 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
2530 don't set DF_1_NODELETE here.
2531 (do_lookup_x): When entering new entry test for copy relocation
2532 and if necessary set DF_1_NODELETE flag.
2533 * elf/tst-unique4.cc: New file.
2534 * elf/tst-unique4.h: New file.
2535 * elf/tst-unique4lib.cc: New file.
2536 * elf/Makefile: Add rules to build and run tst-unique4.
2537 Patch by Piotr Bury <pbury@goahead.com>.
2538
22836f52
UD
25392011-05-11 Ulrich Drepper <drepper@gmail.com>
2540
f574184a
UD
2541 [BZ #12052]
2542 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
2543
e1fb097f
UD
2544 [BZ #12625]
2545 * misc/mntent_r.c (addmntent): Flush the stream after the output
2546
22836f52
UD
2547 [BZ #12393]
2548 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
2549 (is_trusted_path_normalize): Skip initial colon. Append slash
2550 to empty buffer. Duplicate is_trusted_path code but allow
2551 constructed patch to be prefix.
2552 (is_dst): Allow $ORIGIN followed by /.
2553 (_dl_dst_substitute): Correct clearing of check_for_trusted.
2554 Correct testing of result of is_trusted_path_normalize
2555 (decompose_rpath): Fix warning.
2556
7b3b0b2a
UD
25572011-05-10 Ulrich Drepper <drepper@gmail.com>
2558
2559 [BZ #11257]
2560 * grp/initgroups.c (internal_getgrouplist): When we found the service
2561 list through the initgroups entry in nsswitch.conf do not always
2562 continue on a successful lookup. Don't always use the
eac80ce2 2563 __nss_group_database value if it is set.
7b3b0b2a
UD
2564 * nss/nsswitch.conf (initgroups): Change action for successful db
2565 lookup to continue for compatibility.
2566
2a81eaa5
UD
25672011-05-09 Ulrich Drepper <drepper@gmail.com>
2568
be97a69e
UD
2569 [BZ #11532]
2570 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
2571 and CP774 modules.
2572 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
2573 and CP774 modules.
2574 * iconvdata/tst-tables.sh: Likewise.
2575 * iconvdata/cp770.c: New file.
2576 * iconvdata/cp771.c: New file.
2577 * iconvdata/cp772.c: New file.
2578 * iconvdata/cp773.c: New file.
2579 * iconvdata/cp774.c: New file.
2580 * iconvdata/testdata/CP770: New file.
2581 * iconvdata/testdata/CP770..UTF8: New file.
2582 * iconvdata/testdata/CP771: New file.
2583 * iconvdata/testdata/CP771..UTF8: New file.
2584 * iconvdata/testdata/CP772: New file.
2585 * iconvdata/testdata/CP772..UTF8: New file.
2586 * iconvdata/testdata/CP773: New file.
2587 * iconvdata/testdata/CP773..UTF8: New file.
2588 * iconvdata/testdata/CP774: New file.
2589 * iconvdata/testdata/CP774..UTF8: New file.
2590
2591 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
2592 END CHARMAP line.
2593 * iconvdata/gen-8bit-gap.sh: Likewise.
2594 * iconvdata/gen-8bit.sh: Likewise.
2595
c1e9e399
UD
2596 * locale/iso-639.def: Add ary entry.
2597
24c55fb3 2598 [BZ #11258]
96b4b1b0
UD
2599 * locale/C-translit.h.in: Add U20A1 transliteration.
2600
bdc2f971
KB
2601 [BZ #12178]
2602 * locale/iso-639.def: Add wae entry.
2603 Patch by Kevin Bortis <bortis@translate-wae.ch>.
2604
2952b117
UD
2605 [BZ #12545]
2606 * locale/programs/localedef.c (construct_output_path): Use ssize_t
2607 for n.
2608
2a81eaa5
UD
2609 [BZ #12711]
2610 * locale/C-translit.h.in: Add entry for U20B9.
2611 Patch by pravin.d.s@gmail.com.
2612
28377d1b
UD
26132011-05-08 Ulrich Drepper <drepper@gmail.com>
2614
7fb90fb8
UD
2615 [BZ #12713]
2616 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
2617 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
2618 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
2619 in rtld. Use *stat64.
7fb90fb8 2620 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 2621 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 2622 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
2623 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
2624 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
2625 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
2626 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
2627 __fstatat64 macros.
7fb90fb8
UD
2628 * include/dirent.h: Add libc_hidden_proto for rewinddir.
2629 * dirent/rewinddir.c: Add libc_hidden_def.
2630 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 2631 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 2632
28377d1b
UD
2633 * include/dirent.h (__alloc_dir): Add flags parameter.
2634 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
2635 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
2636 __alloc_dir.
2637 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
2638 from fdopendir if O_CLOEXEC is already set.
2639
66bdbaa4
AM
26402011-03-15 Alan Modra <amodra@gmail.com>
2641
2642 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
2643 l_tls_firstbyte_offset non-zero. Save padding offset in
2644 l_tls_firstbyte_offset for later use.
2645 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
2646 freeing static tls block.
2647
95721191
JN
26482011-03-05 Jonathan Nieder <jrnieder@gmail.com>
2649
2650 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
2651 where #ifdef was intended. The intent is to prevent ARG_MAX from
2652 being defined by the kernel headers.
2653
f87dfb1f
UD
26542011-05-07 Ulrich Drepper <drepper@gmail.com>
2655
2656 [BZ #12734]
2657 * resolv/resolv.h: Define RES_NOTLDQUERY.
2658 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
2659 no-tld-query and set RES_NOTLDQUERY.
2660 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
2661 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
2662 modern BIND to search name as TLD unless forbidden.
2663
47c3cd7a
UD
26642011-05-07 Petr Baudis <pasky@suse.cz>
2665 Ulrich Drepper <drepper@gmail.com>
2666
2667 [BZ #12393]
2668 * elf/dl-load.c (fillin_rpath): Move trusted path check...
2669 (is_trusted_path): ...to here.
c1e9ea35 2670 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 2671 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 2672 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 2673
8a35c912
PP
26742011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2675
2676 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
2677 __BEGIN/__END_DECLS.
2678
acd41f47
UD
26792011-05-06 Ulrich Drepper <drepper@gmail.com>
2680
2681 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
2682 NSS_STATUS_NOTFOUND if no record was found.
2683
597df647
AS
26842011-05-05 Andreas Schwab <schwab@redhat.com>
2685
2686 * sunrpc/Makefile (headers): Add rpc/netdb.h.
2687 (headers-not-in-tirpc): Remove rpc/netdb.h
2688 * resolv/netdb.h: Revert last change.
2689
b9af1301
PP
26902011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2691
2692 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
2693 circular dependency between libgcc.a and libc.a.
2694
4e34d5f5
AS
26952011-05-05 Andreas Schwab <schwab@redhat.com>
2696
2697 * resolv/netdb.h: Don't include <rpc/netdb.h>.
2698 * nis/Makefile: Don't install rpcsvc/*.
2699 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
2700 instead of <rpc/types.h>.
2701 (MAXHOSTNAMELEN): Define.
2702
00ee369c
AS
27032011-05-03 Andreas Schwab <schwab@redhat.com>
2704
2705 * elf/ldconfig.c (add_dir): Don't crash on empty path.
2706
0b592a30
MB
27072011-04-28 Maciej Babinski <mbabinski@google.com>
2708
2709 [BZ #12714]
2710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
2711 gethostbyname4_r when IPv6 results are possible.
2712
6e04cbbe
UD
27132011-05-02 Ulrich Drepper <drepper@gmail.com>
2714
2715 [BZ #12723]
2716 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
2717 _PC_PIPE_BUF handling.
2718
e4ecafe0
BH
27192011-04-30 Bruno Haible <bruno@clisp.org>
2720
2721 [BZ #12717]
2722 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
2723 * resolv/netdb.h (getnameinfo): Change type of flags parameter
2724 to 'int'.
2725 * inet/getnameinfo.c (getnameinfo): Likewise.
2726
125ee683
UD
27272011-04-29 Ulrich Drepper <drepper@gmail.com>
2728
2729 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
2730 to groups setting in database lookup.
2731 * nss/nsswitch.conf: Add initgroups entry.
2732
b722481a
EB
27332011-04-22 Ulrich Drepper <drepper@gmail.com>
2734
2735 [BZ #12685]
2736 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
2737 mode string.
2738 Patch by Eric Blake <eblake@redhat.com>.
2739
4df46dbd
L
27402011-04-20 H.J. Lu <hongjiu.lu@intel.com>
2741
2742 * sunrpc/Makefile (need-export-routines): Add svc_run.
2743 (routines): Remove svc_run.
2744 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
2745 * sunrpc/clnt_perr.c (clnt_perrno): Export.
2746 * sunrpc/svc_run.c (svc_run): Likewise.
2747 * sunrpc/svc_udp.c (svcudp_create): Likewise.
2748
e84142d2
UD
27492011-04-21 Ulrich Drepper <drepper@gmail.com>
2750
2751 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
2752 problem in reallocation in last patch.
2753
877175d8
UD
27542011-04-20 Ulrich Drepper <drepper@gmail.com>
2755
2756 * sunrpc/Makefile: Move inclusion of Rules.
2757
ab8eed78
UD
27582011-04-19 Ulrich Drepper <drepper@gmail.com>
2759
2760 * nss/nss_files/files-initgroups.c: New file.
2761 * nss/Makefile (libnss_files-routines): Add files-initgroups.
2762 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
2763 _nss_files_initgroups_dyn.
2764
e3d8f584
RS
27652011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
2766
2767 * elf/elf.h (R_ARM_IRELATIVE): Define.
2768
af190f45
UD
27692011-04-19 Ulrich Drepper <drepper@gmail.com>
2770
2771 * po/ru.po: Update from translation team.
2772
53cf59ef
UD
27732011-04-17 Ulrich Drepper <drepper@gmail.com>
2774
2775 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
2776 dependencies.
2777
4c559bcd
MF
27782011-02-06 Mike Frysinger <vapier@gentoo.org>
2779
2780 [BZ #12653]
2781 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
2782 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
2783 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2784 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2785 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2786
4420675c
AS
27872011-03-28 Andreas Schwab <schwab@linux-m68k.org>
2788
2789 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
2790 differing bytes.
2791 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2792 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2793 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2794
75ea32ab
UD
27952011-04-17 Ulrich Drepper <drepper@gmail.com>
2796
2797 [BZ #12420]
2798 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
2799 storing it.
2800 * stdlib/bug-getcontext.c: New file.
2801 * stdlib/Makefile: Add rules to build and run bug-getcontext.
2802
27390476
AK
28032011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2804
2805 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
2806 instructions into .machine "z9-109".
2807 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2808 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2809
10442705
AK
28102011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2811
2812 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
2813 between environment variables and auxiliary vector.
2814
7b57bfe5
UD
28152011-04-16 Ulrich Drepper <drepper@gmail.com>
2816
2817 * Makefile: Add rules to build linkobj/libc.so.
2818 * include/libc-symbols.h: Define libc_hidden_nolink.
2819 * include/rpc/auth.h: Mark functions which are to be hidden.
2820 * include/rpc/auth_des.h: Likewise.
2821 * include/rpc/auth_unix.h: Likewise.
2822 * include/rpc/clnt.h: Likewise.
2823 * include/rpc/des_crypt.h: Likewise.
2824 * include/rpc/key_prot.h: Likewise.
2825 * include/rpc/pmap_clnt.h: Likewise.
2826 * include/rpc/pmap_prot.h: Likewise.
2827 * include/rpc/pmap_rmt.h: Likewise.
2828 * include/rpc/rpc_msg.h: Likewise.
2829 * include/rpc/svc.h: Likewise.
2830 * include/rpc/svc_auth.h: Likewise.
2831 * include/rpc/xdr.h: Likewise.
2832 * nis/Makefile: Link all DSOs against linkobj/libc.so.
2833 * nss/Makefile: Likewise.
2834 * sunrpc/Makefile: Don't install headers. Build library with normal
2835 entry points. Don't build rpcinfo. Link RPC tests appropriately.
2836 * sunrpc/auth_des.c: Hide exported symbols by default, export some
2837 for the compat linking library. Remove use of INTDEF/INTUSE.
2838 * sunrpc/auth_none.c: Likewise.
2839 * sunrpc/auth_unix.c: Likewise.
2840 * sunrpc/authdes_prot.c: Likewise.
2841 * sunrpc/authuxprot.c: Likewise.
2842 * sunrpc/clnt_gen.c: Likewise.
2843 * sunrpc/clnt_perr.c: Likewise.
2844 * sunrpc/clnt_raw.c: Likewise.
2845 * sunrpc/clnt_simp.c: Likewise.
2846 * sunrpc/clnt_tcp.c: Likewise.
2847 * sunrpc/clnt_udp.c: Likewise.
2848 * sunrpc/clnt_unix.c: Likewise.
2849 * sunrpc/des_crypt.c: Likewise.
2850 * sunrpc/des_soft.c: Likewise.
2851 * sunrpc/get_myaddr.c: Likewise.
2852 * sunrpc/key_call.c: Likewise.
2853 * sunrpc/key_prot.c: Likewise.
2854 * sunrpc/netname.c: Likewise.
2855 * sunrpc/pm_getmaps.c: Likewise.
2856 * sunrpc/pm_getport.c: Likewise.
2857 * sunrpc/pmap_clnt.c: Likewise.
2858 * sunrpc/pmap_prot.c: Likewise.
2859 * sunrpc/pmap_prot2.c: Likewise.
2860 * sunrpc/pmap_rmt.c: Likewise.
2861 * sunrpc/publickey.c: Likewise.
2862 * sunrpc/rpc_cmsg.c: Likewise.
2863 * sunrpc/rpc_common.c: Likewise.
2864 * sunrpc/rpc_dtable.c: Likewise.
2865 * sunrpc/rpc_prot.c: Likewise.
2866 * sunrpc/rpc_thread.c: Likewise.
2867 * sunrpc/rtime.c: Likewise.
2868 * sunrpc/svc.c: Likewise.
2869 * sunrpc/svc_auth.c: Likewise.
2870 * sunrpc/svc_authux.c: Likewise.
2871 * sunrpc/svc_raw.c: Likewise.
2872 * sunrpc/svc_run.c: Likewise.
2873 * sunrpc/svc_simple.c: Likewise.
2874 * sunrpc/svc_tcp.c: Likewise.
2875 * sunrpc/svc_udp.c: Likewise.
2876 * sunrpc/svc_unix.c: Likewise.
2877 * sunrpc/svcauth_des.c: Likewise.
2878 * sunrpc/xcrypt.c: Likewise.
2879 * sunrpc/xdr.c: Likewise.
2880 * sunrpc/xdr_array.c: Likewise.
2881 * sunrpc/xdr_float.c: Likewise.
2882 * sunrpc/xdr_intXX_t.c: Likewise.
2883 * sunrpc/xdr_mem.c: Likewise.
2884 * sunrpc/xdr_rec.c: Likewise.
2885 * sunrpc/xdr_ref.c: Likewise.
2886 * sunrpc/xdr_sizeof.c: Likewise.
2887 * sunrpc/xdr_stdio.c: Likewise.
2888
e6c61494
UD
28892011-04-10 Ulrich Drepper <drepper@gmail.com>
2890
2891 [BZ #12650]
2892 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
2893 * sysdeps/ia64/dl-tls.h: Likewise.
2894 * sysdeps/powerpc/dl-tls.h: Likewise.
2895 * sysdeps/s390/dl-tls.h: Likewise.
2896 * sysdeps/sh/dl-tls.h: Likewise.
2897 * sysdeps/sparc/dl-tls.h: Likewise.
2898 * sysdeps/x86_64/dl-tls.h: Likewise.
2899 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
2900
34fe483e
AS
29012011-03-14 Andreas Schwab <schwab@redhat.com>
2902
2903 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
2904 rpath element also skip the following colon.
2905 (expand_dynamic_string_token): Add is_path parameter and pass
2906 down to DL_DST_REQUIRED and _dl_dst_substitute.
2907 (decompose_rpath): Call expand_dynamic_string_token with
2908 non-zero is_path. Ignore empty rpaths.
2909 (_dl_map_object_from_fd): Call expand_dynamic_string_token
2910 with zero is_path.
2911
f12a32e6
AS
29122011-04-08 Andreas Schwab <schwab@linux-m68k.org>
2913
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2915 Make cancelable.
2916
38a7d692
UD
29172011-04-09 Ulrich Drepper <drepper@gmail.com>
2918
2919 [BZ #12655]
2920 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
2921 Patch by Filipe David Manana <fdmanana@apache.org>.
2922
e451d22b
AS
29232011-04-07 Andreas Schwab <schwab@redhat.com>
2924
2925 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
2926 Maintain aligned stack.
2927 (CHECK_RSP): Remove unused macro.
2928
dedc7c7b
UD
29292011-04-03 Ulrich Drepper <drepper@gmail.com>
2930
2931 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
2932 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
2933
94521213
UD
29342011-04-02 Ulrich Drepper <drepper@gmail.com>
2935
2936 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
2937
8cb700c0 2938 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 2939
0354e355
L
29402011-03-26 H.J. Lu <hongjiu.lu@intel.com>
2941
2942 [BZ #12518]
2943 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
2944 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
2945 * sysdeps/x86_64/memmove.c: New file.
2946 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
2947 (memcpy): Renamed to ...
2948 (__new_memcpy): This.
2949 (memcpy): Provide GLIBC_2_14 memcpy.
2950 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
2951 (memcpy): Provide GLIBC_2_2_5 memcpy.
2952
8593482f
UD
29532011-04-01 Ulrich Drepper <drepper@gmail.com>
2954
2955 [BZ #12631]
2956 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
2957
81a5726b
AS
29582011-03-30 Andreas Schwab <schwab@redhat.com>
2959
2960 * misc/syncfs.c: New file.
2961 * misc/Makefile (routines): Add syncfs.
2962 * posix/unistd.h: Declare syncfs.
2963 * sysdeps/unix/syscalls.list: Add syncfs.
2964
00e5419f
AS
29652011-04-01 Andreas Schwab <schwab@redhat.com>
2966
2967 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
2968 open_by_handle_at.
2969 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2970 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2972 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2974 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2975 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2976
748876bf
UD
29772011-04-01 Ulrich Drepper <drepper@gmail.com>
2978
658e451d
UD
2979 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
2980 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2981 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
2982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2983 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2984 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2985 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2986
748876bf
UD
2987 * io/Makefile: Compile fallocate.c, fallocate64.c, and
2988 sync_file_range.c with -fexceptions.
2989 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
2990 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
2991 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2992 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2993 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2994 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2995 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
2996 sync_file_range as cancellation point
2997 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
2998 now a wrapper around __call_sync_file_range with cancellation handling.
2999 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
3000 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
3001 function name to __call_sync_file_range.
3002 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
3003 Add call_sync_file_range.
748876bf 3004
6e63d5e1
AS
30052011-04-01 Andreas Schwab <schwab@redhat.com>
3006
3007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 3008 bits/timex.h.
6e63d5e1 3009
46998f74
UD
30102011-04-01 Ulrich Drepper <drepper@gmail.com>
3011
4c1423ed
UD
3012 * iconv/iconv.h: Fix typo in comment.
3013 * io/fcntl.h: Likewise.
3014 * libio/stdio.h: Likewise.
3015 * posix/spawn.h: Likewise.
3016 * posix/unistd.h: Likewise.
3017 * stdlib/stdlib.h: Likewise.
3018 * time/time.h: Likewise.
3019 * wcsmbs/wchar.h: Likewise.
3020
158648c0
UD
3021 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
3022 open_by_handle): Add.
3023 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
3024 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
3025 Augment a few comments.
3026 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3028 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3029 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3030 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3031 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
3032 open_by_handle.
3033
46998f74
UD
3034 * io/fcntl.h (AT_EMPTY_PATH): Define.
3035
83fe108b
UD
30362011-03-30 Ulrich Drepper <drepper@gmail.com>
3037
3038 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
3039 * sysdeps/unix/sysv/linux/bits/time.h: New file.
3040 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
3041 to...
3042 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
3043 * Versions.def: Add GLIBC_2.14.
3044 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
3045 Export.
83fe108b 3046
bb242059
UD
30472011-03-22 Ulrich Drepper <drepper@gmail.com>
3048
3049 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
3050 round counter.
3051 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
3052
c97a1282
L
30532011-03-20 H.J. Lu <hongjiu.lu@intel.com>
3054
3055 [BZ #12597]
3056 * string/test-strncmp.c (do_page_test): New function.
3057 (check2): Likewise.
3058 (test_main): Call check2.
3059 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
3060
2a115601
UD
30612011-03-20 Ulrich Drepper <drepper@gmail.com>
3062
3063 [BZ #12587]
3064 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
3065 Handle cache information in CPU leaf 4.
3066 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
3067
8126d904
UD
30682011-03-18 Ulrich Drepper <drepper@gmail.com>
3069
042c49c6 3070 [BZ #12583]
8126d904
UD
3071 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
3072 character representation.
3073 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
3074
ccfe366e
RA
30752011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
3076
3077 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
3078 END(__isnan) to END(__isnanf) to match function entry point/label
3079 EALIGN(__isnanf,...).
3080
c6e13027
JJ
30812011-03-10 Jakub Jelinek <jakub@redhat.com>
3082
3083 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
3084
33f85a3f
UD
30852011-03-10 Ulrich Drepper <drepper@gmail.com>
3086
028478fa
UD
3087 [BZ #12510]
3088 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
3089 copy from the symbol referenced in the relocation to initialize the
3090 used variable.
3091 Patch by Piotr Bury <pbury@goahead.com>.
3092 * elf/Makefile: Add rules to build and tst-unique3.
3093 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
3094 * elf/tst-unique3.cc: New file.
3095 * elf/tst-unique3.h: New file.
3096 * elf/tst-unique3lib.cc: New file.
3097 * elf/tst-unique3lib2.cc: New file.
3098
33f85a3f
UD
3099 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
3100
03592fc7
MF
31012011-03-10 Mike Frysinger <vapier@gentoo.org>
3102
3103 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
3104 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
3105 to _start.
03592fc7 3106
6a5ee102
UD
31072011-03-06 Ulrich Drepper <drepper@gmail.com>
3108
3109 * elf/dl-load.c (_dl_map_object): If we are looking for the first
3110 to-be-loaded object along a path to loader is ld.so.
3111
7e4ba49c
HJ
31122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
3113 Ulrich Drepper <drepper@gmail.com>
3114
3115 * sysdeps/x86_64/memset.S: After aligning destination, code
3116 branches to different locations depending on the value of
3117 misalignment, when multiarch is enabled. Fix this.
3118
31192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
3120
3121 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
3122 Set _x86_64_preferred_memory_instruction for AMD processsors.
3123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3124 Set bit_Prefer_SSE_for_memop for AMD processors.
3125
13a804de
UD
31262011-03-04 Ulrich Drepper <drepper@gmail.com>
3127
3128 * libio/fmemopen.c (fmemopen): Optimize a bit.
3129
9d25c392
AS
31302011-03-03 Andreas Schwab <schwab@redhat.com>
3131
3132 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
3133
a5543c6a
RM
31342011-03-03 Roland McGrath <roland@redhat.com>
3135
3136 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
3137
012d35f7
DM
31382011-02-28 Aurelien Jarno <aurelien@aurel32.net>
3139
7e4ba49c 3140 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
3141 __bzero_ultra1 instead of __memset_ultra1.
3142
4bff6e01
AS
31432011-02-23 Andreas Schwab <schwab@redhat.com>
3144 Ulrich Drepper <drepper@gmail.com>
3145
3146 [BZ #12509]
3147 * include/link.h (struct link_map): Add l_orig_initfini.
3148 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
3149 returning unsuccessfully.
3150 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
3151 close of a file loaded at startup, restore the original l_initfini
3152 list.
3153 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
3154 list, store the pointer.
3155 * elf/Makefile ($(objpfx)noload-mem): New rule.
3156 (noload-ENV): Define.
3157 (tests): Add $(objpfx)noload-mem.
3158 * elf/noload.c: Include <memcheck.h>.
3159 (main): Call mtrace. Close all opened handles.
3160
f2092faf
AS
31612011-02-17 Andreas Schwab <schwab@redhat.com>
3162
3163 [BZ #12454]
3164 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
3165 dependencies are missing.
3166
6c8a2e88
ST
31672011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3168
f2092faf 3169 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
3170 Hurd needs munmap.
3171 * sysdeps/mach/hurd/ifreq.h: New file.
3172
84a42118
PB
31732011-01-27 Petr Baudis <pasky@suse.cz>
3174 Ulrich Drepper <drepper@gmail.com>
3175
071f805e 3176 [BZ 12445]#
84a42118
PB
3177 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
3178 to extend_alloca().
3179 * stdio-common/bug23.c: New file.
3180 * stdio-common/Makefile (tests): Add bug23.
3181
e23fe25b
AS
31822010-09-28 Andreas Schwab <schwab@redhat.com>
3183 Ulrich Drepper <drepper@gmail.com>
3184
3185 [BZ #12489]
3186 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
3187 before performing relro protection. At old place add assertion
3188 to make sure nothing changed.
3189
d3f02e10
NS
31902011-02-17 Nathan Sidwell <nathan@codesourcery.com>
3191 Glauber de Oliveira Costa <glommer@gmail.com>
3192
3193 * elf/elf.h: Add new ARM TLS relocs.
3194
d55fd7a5
RA
31952011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
3196
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3198 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
3199 cast from r3.
3200 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
3201 'tests' variable.
3202 * sysdeps/wordsize-64/tst-writev.c: New file.
3203
2206397e
RA
32042011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
3205
3206 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
3207 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
3208 insns in _dl_start to prevent a TOC reference before relocs are
3209 resolved.
3210
e9433893
UD
32112011-02-15 Ulrich Drepper <drepper@gmail.com>
3212
3213 [BZ #12469]
3214 * Makeconfig: Remove RANLIB definition.
3215 * Makerules: Don't use RANLIB.
3216 * aclocal.m4: Remove ranlib test.
3217 * configure.in: No need to check for ranlib.
3218 * elf/rtld-Rules: Don't use RANLIB.
3219
f75286c6
ST
32202011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3221
8e31c82d
ST
3222 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
3223 protection macro.
3224 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
3225 inclusion protection macro.
3226
f75286c6
ST
3227 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
3228 SIGRTMIN and SIGRTMAX and print information in that case only when
3229 SIGRTMIN is defined.
3230
c1d0e639
JJ
32312011-02-11 Jakub Jelinek <jakub@redhat.com>
3232
3233 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
3234 arginfo fn returning -1.
3235
3236 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
3237 and thousands string is zero terminated.
3238
edf9294e
AS
32392011-02-03 Andreas Schwab <schwab@redhat.com>
3240
3241 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
3242 sysdeps/unix/sysv/linux/bits/socket.h.
3243
2b7e92df
ST
32442011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3245
edf9294e
AS
3246 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
3247 (__CPU_COUNT): Remove old macros.
3248 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
3249 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
3250 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
3251 (__sched_cpualloc, __sched_cpufree): Add declarations.
3252
a4c7ea7b
UD
32532011-02-05 Ulrich Drepper <drepper@gmail.com>
3254
3255 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
3256 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
3257 * nscd/aicache.c (addhstaiX): Return timeout of added value.
3258 (readdhstai): Return value of addhstaiX call.
3259 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
3260 (addgrbyX): Return value returned by cache_addgr.
3261 (readdgrbyname): Return value returned by addgrbyX.
3262 (readdgrbygid): Likewise.
3263 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
3264 (addpwbyX): Return value returned by cache_addpw.
3265 (readdpwbyname): Return value returned by addhstbyX.
3266 (readdpwbyuid): Likewise.
3267 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
3268 (addservbyX): Return value returned by cache_addserv.
3269 (readdservbyname): Return value returned by addservbyX:
3270 (readdservbyport): Likewise.
3271 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
3272 (addhstbyX): Return value returned by cache_addhst.
3273 (readdhstbyname): Return value returned by addhstbyX.
3274 (readdhstbyaddr): Likewise.
3275 (readdhstbynamev6): Likewise.
3276 (readdhstbyaddrv6): Likewise.
3277 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
3278 (readdinitgroups): Return value returned by addinitgroupsX.
3279 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
3280 (prune_cache): Keep track of timeout value of re-added entries.
3281 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
3282 * nscd/nscd.h: Adjust prototypes of readd* functions.
3283
a0bf67cc
RM
32842011-02-04 Roland McGrath <roland@redhat.com>
3285
3286 * nis/nis_server.c (nis_servstate): Use the right name for 0.
3287 (nis_stats): Likewise.
3288 * nis/nis_modify.c (nis_modify): Likewise.
3289 * nis/nis_remove.c (nis_remove): Likewise.
3290 * nis/nis_add.c (nis_add): Likewise.
3291
3292 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
3293
3294 * posix/fnmatch_loop.c: Add some consts.
3295
3296 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
3297
435b95eb
L
32982011-02-02 H.J. Lu <hongjiu.lu@intel.com>
3299
3300 [BZ #12460]
3301 * config.make.in (config-cflags-novzeroupper): Define.
3302 * configure.in: Substitute libc_cv_cc_novzeroupper.
3303 * elf/Makefile (AVX-CFLAGS): Define.
3304 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
3305 (CFLAGS-tst-auditmod4a.c): Likewise.
3306 (CFLAGS-tst-auditmod4b.c): Likewise.
3307 (CFLAGS-tst-auditmod6b.c): Likewise.
3308 (CFLAGS-tst-auditmod6c.c): Likewise.
3309 (CFLAGS-tst-auditmod7b.c): Likewise.
3310 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
3311
8517b15e
UD
33122011-02-02 Ulrich Drepper <drepper@gmail.com>
3313
3314 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
3315 function to the callback.
3316 Patch partly by Jiri Olsa <jolsa@redhat.com>.
3317
10a656fe
AS
33182011-02-02 Andreas Schwab <schwab@redhat.com>
3319
3320 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
3321 of errno.
3322
968dad0a
UD
33232011-01-19 Ulrich Drepper <drepper@gmail.com>
3324
9f94d2ea 3325 [BZ #11724]
968dad0a
UD
3326 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
3327 of constructors.
3328 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
3329 of destructors.
3330 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
3331
3332 [BZ #11724]
3333 * elf/Makefile: Add rules to build and run new test.
3334 * elf/tst-initorder.c: New file.
3335 * elf/tst-initorder.exp: New file.
3336 * elf/tst-initordera1.c: New file.
3337 * elf/tst-initordera2.c: New file.
3338 * elf/tst-initordera3.c: New file.
3339 * elf/tst-initordera4.c: New file.
3340 * elf/tst-initorderb1.c: New file.
3341 * elf/tst-initorderb2.c: New file.
3342 * elf/tst-order-a1.c: New file.
3343 * elf/tst-order-a2.c: New file.
3344 * elf/tst-order-a3.c: New file.
3345 * elf/tst-order-a4.c: New file.
3346 * elf/tst-order-b1.c: New file.
3347 * elf/tst-order-b2.c: New file.
3348 * elf/tst-order-main.c: New file.
3349 New test case by George Gensure <werkt0@gmail.com>.
3350
86e92359
UD
33512010-10-01 Andreas Schwab <schwab@redhat.com>
3352
3353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
3354 decoding ACE if AI_CANONIDN.
3355
5d5732b0
UD
33562011-01-18 Ulrich Drepper <drepper@gmail.com>
3357
3358 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
3359
a77e8cbc
UD
33602011-01-17 Ulrich Drepper <drepper@gmail.com>
3361
6392473f
UD
3362 * version.h (RELEASE): Bump for 2.13 release.
3363 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
3364
620a0529
UD
3365 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
3366
18ba70a5
UD
3367 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
3368 MADV_NOHUGEPAGE.
32465c3e
UD
3369 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
3370 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3371 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3372 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3373 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3374 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
3375
c0dafcf1
UD
3376 * posix/getconf.c: Update copyright year.
3377 * catgets/gencat.c: Likewise.
3378 * csu/version.c: Likewise.
3379 * debug/catchsegv.sh: Likewise.
3380 * debug/xtrace.sh: Likewise.
3381 * elf/ldconfig.c: Likewise.
3382 * elf/ldd.bash.in: Likewise.
3383 * elf/sprof.c (print_version): Likewise.
3384 * iconv/iconv_prog.c: Likewise.
3385 * iconv/iconvconfig.c: Likewise.
3386 * locale/programs/locale.c: Likewise.
3387 * locale/programs/localedef.c: Likewise.
3388 * malloc/memusage.sh: Likewise.
3389 * malloc/mtrace.pl: Likewise.
3390 * nscd/nscd.c (print_version): Likewise.
3391 * nss/getent.c: Likewise.
3392
a77e8cbc
UD
3393 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
3394 PF_CAIF, and PF_ALG.
3395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3396
77e8bddf
AS
33972011-01-16 Andreas Schwab <schwab@linux-m68k.org>
3398
1f20b93a
AS
3399 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
3400 (modules-names): Use them.
3401 (ifunc-test-modules, ifunc-pie-tests): Define.
3402 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
3403 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
3404 (test-extras): Likewise.
3405 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
3406 $(compile-command.c).
3407 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
3408 (all-built-dso): Define.
3409 (check-textrel.out, check-execstack.out): Depend on it.
3410
77e8bddf
AS
3411 * configure.in: Don't override --enable-multi-arch.
3412
bc425b33
UD
34132011-01-15 Ulrich Drepper <drepper@gmail.com>
3414
3415 [BZ #6812]
3416 * nscd/hstcache.c (tryagain): Define.
3417 (cache_addhst): Return tryagain not notfound for temporary errors.
3418 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
3419 failed.
3420
794c3ad3
UD
34212011-01-14 Ulrich Drepper <drepper@gmail.com>
3422
70181fdd
UD
3423 [BZ #10563]
3424 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
3425 to make the syscall.
3426 * sysdeps/unix/sysv/linux/setgroups.c: New file.
3427
794c3ad3
UD
3428 [BZ #12378]
3429 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
3430 and fall back to matching as normal character if the string ends before
3431 the matching ']' is found. This is what POSIX requires.
3432 * posix/testfnm.c: Adjust test result.
3433 * posix/globtest.sh: Adjust test result. Add new test.
3434 * posix/tst-fnmatch.input: Likewise.
3435 * posix/tst-fnmatch2.c: Add new test.
3436
68dc9497
AS
34372010-12-28 Andreas Schwab <schwab@linux-m68k.org>
3438
3439 * elf/Makefile (check-execstack): Revert last change. Depend on
3440 check-execstack.h.
3441 (check-execstack.h): New target.
3442 (generated): Add check-execstack.h.
3443 * elf/check-execstack.c: Include "check-execstack.h".
3444 (main): Revert last change.
3445 (handle_file): Return zero if GNU_STACK is absent and
3446 DEFAULT_STACK_PERMS doesn't include PF_X.
3447
451f001b
UD
34482011-01-13 Ulrich Drepper <drepper@gmail.com>
3449
cfa28e56
UD
3450 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
3451 in child fails because the descriptor is already closed.
8cf8ce17
UD
3452 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
3453 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
3454 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 3455
1086d70d
UD
3456 [BZ #12397]
3457 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
3458 syscall.
3459
451f001b
UD
3460 [BZ #10484]
3461 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
3462 temporary buffer used to handle multi lookups locally.
a85b5cb4 3463 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 3464
08769175
UD
34652011-01-12 Ulrich Drepper <drepper@gmail.com>
3466
3467 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
3468 loader is ld.so.
3469
5e49c52e
UD
34702011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
3471
3472 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
3473 alignment for SSE2.
3474
60522a5f
UD
34752011-01-12 Ulrich Drepper <drepper@gmail.com>
3476
3477 [BZ #12394]
3478 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
3479 characters. When rounding increased number of integer digits recompute
3480 number of groups.
3481 * stdio-common/tst-grouping.c: New file.
3482 * stdio-common/Makefile: Add rules to build and run tst-grouping.
3483
f257bbd7
UD
34842011-01-09 Ulrich Drepper <drepper@gmail.com>
3485
3486 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
3487 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
3488
3489 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
3490 void.
3491 * bits/select.h: Likewise.
3492
fa9c15cb
UD
34932011-01-08 Ulrich Drepper <drepper@gmail.com>
3494
3495 * po/ja.po: Update from translation team.
3496
16c2895f
DM
34972011-01-04 David S. Miller <davem@sunset.davemloft.net>
3498
3499 [BZ #11155]
3500 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
3501 implementation just like for lxstat, fxstatat, et al.
3502
2543fef2
JM
35032010-12-27 Jim Meyering <meyering@redhat.com>
3504
3505 [BZ #12348]
3506 * posix/regexec.c (build_trtable): Return failure indication upon
3507 calloc failure. Otherwise, re_search_internal could infloop on OOM.
3508
98727dbe
UD
35092010-12-25 Ulrich Drepper <drepper@gmail.com>
3510
5bd6dc5c
UD
3511 [BZ #12201]
3512 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
3513 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
3514 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
3515 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
3516
97983464
UD
3517 [BZ #12207]
3518 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
3519
98727dbe
UD
3520 [BZ #12204]
3521 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
3522 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
3523
4a531bb0
L
35242010-12-15 H.J. Lu <hongjiu.lu@intel.com>
3525
3526 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
3527 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
3528 script has SORT_BY_INIT_PRIORITY.
3529 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
3530 NO_CTORS_DTORS_SECTIONS is defined.
3531 * elf/soinit.c: Likewise.
3532 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
3533 NO_CTORS_DTORS_SECTIONS is defined.
3534 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3535 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
3536 * sysdeps/sh/init-first.c: Likewise.
3537 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3538
07eb4b71
UD
35392010-12-24 Ulrich Drepper <drepper@gmail.com>
3540
3541 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
3542 always use the slow path.
3543
30950a5f
RA
35442010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
3545
3546 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
3547 similar rule which adds the sysdep directories to the header search in
3548 order to pick up the correct platform stackinfo.h.
3549 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
3550 perform test if it is, otherwise return successfully without testing.
3551 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
3552 DEFAULT_STACK_PERMS define in stackinfo.h.
3553 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
3554 defined in stackinfo.h.
3555 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
3556 DEFAULT_STACK_PERMS defined in stackinfo.h.
3557 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
3558 * sysdeps/ia64/stackinfo.h: Likewise.
3559 * sysdeps/s390/stackinfo.h: Likewise.
3560 * sysdeps/sh/stackinfo.h: Likewise.
3561 * sysdeps/sparc/stackinfo.h: Likewise.
3562 * sysdeps/x86_64/stackinfo.h: Likewise.
3563 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
3564 PF_X for powerpc64. Retain PF_X for powerpc32.
3565
db753e2c
UD
35662010-12-19 Ulrich Drepper <drepper@gmail.com>
3567
14b697f7
UD
3568 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
3569 accurately.
db753e2c
UD
3570 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
3571 GETDENTS_64BIT_ALIGNED.
3572
28300719
UD
35732010-12-14 Ulrich Drepper <dreper@gmail.com>
3574
14b697f7 3575 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 3576
4f197237
AS
35772010-12-10 Andreas Schwab <schwab@redhat.com>
3578
dbb0472f
AS
3579 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
3580 _GNU_SOURCE.
3581
4f197237
AS
3582 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
3583 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
3584 Remove __restrict.
3585 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
3586 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
3587
fb88ac72
UD
35882010-12-09 Ulrich Drepper <drepper@gmail.com>
3589
3590 [BZ #11655]
3591 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
3592 are initialized.
3593
42acbb92
JJ
35942010-12-09 Jakub Jelinek <jakub@redhat.com>
3595
3596 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
3597
c038d98d
UD
35982010-12-03 Ulrich Drepper <drepper@gmail.com>
3599
3600 * po/it.po: Update from translation team.
3601
3a4a2499
L
36022010-12-01 H.J. Lu <hongjiu.lu@intel.com>
3603
3604 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
3605 unused codes.
3606
1e24cf6e
UD
36072010-11-30 Ulrich Drepper <drepper@gmail.com>
3608
3609 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
3610
a7690819
AS
36112010-11-24 Andreas Schwab <schwab@redhat.com>
3612
3613 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
3614 specially.
3615 (gaih_getanswer_slice): Likewise.
3616
3bf8d1b1
JJ
36172010-10-20 Jakub Jelinek <jakub@redhat.com>
3618
3619 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
3620
6db52fbb
PB
36212010-05-31 Petr Baudis <pasky@suse.cz>
3622
3623 [BZ #11149]
3624 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
3625 silently even in the chroot mode.
3626
eaca7569
UD
36272010-11-22 Ulrich Drepper <drepper@gmail.com>
3628
3629 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
3630 last patch a bit. Pretty printing
3631
3056dcdb
UD
36322010-05-31 Petr Baudis <pasky@suse.cz>
3633
3634 [BZ #10085]
3635 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
3636 initialization of skip_initgroups_dyn.
3637
cf7c9078
UD
36382010-11-19 Ulrich Drepper <drepper@gmail.com>
3639
3640 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
3641 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
3642
a1fb5e3e
UD
36432010-11-16 Ulrich Drepper <drepper@gmail.com>
3644
3645 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
3646
3540d66b
AS
36472010-11-11 Andreas Schwab <schwab@redhat.com>
3648
3649 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
3650 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
3651 (tst-fnmatch-ENV): Set MALLOC_TRACE.
3652 ($(objpfx)tst-fnmatch-mem): New rule.
3653 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
3654 * posix/tst-fnmatch.c (main): Call mtrace.
3655
13b69574
L
36562010-11-11 H.J. Lu <hongjiu.lu@intel.com>
3657
3658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3659 Support Intel processor model 6 and model 0x2c.
3660
da93d214
LM
36612010-11-10 Luis Machado <luisgpm@br.ibm.com>
3662
3663 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
3664 signed comparison.
3665
8ca52c6e
L
36662010-11-09 H.J. Lu <hongjiu.lu@intel.com>
3667
3668 [BZ #12205]
3669 * string/test-strncasecmp.c (check_result): New function.
3670 (do_one_test): Use it.
3671 (check1): New function.
3672 (test_main): Use it.
3673 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
3674 Support strcasecmp and strncasecmp.
3675
69da074d
UD
36762010-11-08 Ulrich Drepper <drepper@gmail.com>
3677
3678 [BZ #12194]
3679 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
3680 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3681
ff02d528
L
36822010-11-07 H.J. Lu <hongjiu.lu@intel.com>
3683
3684 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
3685 IFUNC support.
3686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3687 memset-x86-64.
3688 * sysdeps/x86_64/multiarch/bzero.S: New file.
3689 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
3690 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
3691 * sysdeps/x86_64/multiarch/memset.S: New file.
3692 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
3693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3694 Set bit_Prefer_SSE_for_memop for Intel processors.
3695 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
3696 Define.
3697 (index_Prefer_SSE_for_memop): Define.
3698 (HAS_PREFER_SSE_FOR_MEMOP): Define.
3699
344d0b54
LM
37002010-11-04 Luis Machado <luisgpm@br.ibm.com>
3701
3702 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
3703 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
3704
c0dde15b
UD
37052010-11-03 H.J. Lu <hongjiu.lu@intel.com>
3706
3707 [BZ #12191]
3708 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
3709 (__x86_64_raw_data_cache_size_half): Likewise.
3710 (__x86_64_raw_shared_cache_size): Likewise.
3711 (__x86_64_raw_shared_cache_size_half): Likewise.
3712
3713 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
3714 (__x86_64_raw_data_cache_size_half): Likewise.
3715 (__x86_64_raw_shared_cache_size): Likewise.
3716 (__x86_64_raw_shared_cache_size_half): Likewise.
3717 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
3718 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
3719 and __x86_64_raw_shared_cache_size_half. Round
3720 __x86_64_data_cache_size_half, __x86_64_data_cache_size
3721 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
3722 to multiple of 256 bytes.
3723
0e516e0e
MS
37242010-11-03 Ulrich Drepper <drepper@gmail.com>
3725
3726 [BZ #12167]
3727 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
3728 of inacessible symlinks. Verify result of symlink before returning it.
3729 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3730 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
3731
0e012e87
ER
37322010-10-28 Erich Ritz <erichritz@gmail.com>
3733
3734 * math/math.h (isinf): Fix typo in comment.
3735
de0ff7bc
UD
37362010-11-01 Ulrich Drepper <drepper@gmail.com>
3737
3738 * po/da.po: Update from translation team.
3739
fa41c84d
UD
37402010-10-26 Ulrich Drepper <drepper@gmail.com>
3741
3742 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
3743 is added to the list.
3744
f0967738
AK
37452010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3746 Ulrich Drepper <drepper@gmail.com>
3747
3748 * elf/dl-object.c (_dl_new_object): Don't append the new object to
3749 the global list here. Move code to...
3750 (_dl_add_to_namespace_list): ...here. New function.
3751 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
3752 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
3753 * elf/dl-load.c (lose): Don't remove the element from the list.
3754 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
3755 (_dl_map_object): Likewise.
3756
37572010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
3758
3759 [BZ #12159]
3760 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
3761 into all bytes of SSE register.
3762 Patch by Richard Li <richardpku@gmail.com>.
3763
f0967738 37642010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
3765
3766 [BZ #12140]
3767 * malloc/malloc.c (_int_free): Fill correct number of bytes when
3768 perturbing.
3769
d0b9e94f
MB
37702010-10-20 Michael B. Brutman <brutman@us.ibm.com>
3771
3772 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
3773 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
3774 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
3775 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
3777 submachine.
3778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
3779
8e9f92e9
AS
37802010-10-22 Andreas Schwab <schwab@redhat.com>
3781
3782 * include/dlfcn.h (__RTLD_SECURE): Define.
3783 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
3784 mode & __RTLD_SECURE instead.
3785 (open_path): Rename preloaded parameter to secure.
3786 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
3787 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
3788 * elf/dl-deps.c (openaux): Likewise.
3789 * elf/rtld.c (struct map_args): Remove is_preloaded.
3790 (map_doit): Don't use it.
3791 (dl_main): Likewise.
3792 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
3793 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
3794
bc96fbda
AS
37952010-09-09 Andreas Schwab <schwab@redhat.com>
3796
3797 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
3798 (sysd-rules-targets): Remove duplicates.
3799 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
3800 rtld-%.$o dependency.
3801
22cd1c9b
AS
38022010-10-18 Andreas Schwab <schwab@redhat.com>
3803
3804 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
3805 _dl_map_object do it.
3806
18edac48
UD
38072010-10-19 Ulrich Drepper <drepper@gmail.com>
3808
3809 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
3810 fast fma builtins, define the macros in the C99 standard.
3811 (FP_FAST_FMAF): Likewise.
3812 (FP_FAST_FMAL): Likewise.
3813 * sysdeps/x86_64/bits/mathdef.h: Likewise.
3814
3815 * bits/mathdef.h: Update copyright year.
3816 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3817
d2050124
MM
38182010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
3819
3820 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
3821 builtins, define the macros in the C99 standard.
3822 (FP_FAST_FMAF): Likewise.
3823 (FP_FAST_FMAL): Likewise.
3824 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
3825 multiply/add.
3826 (FP_FAST_FMAF): Likewise.
3827
475facd1
JJ
38282010-10-15 Jakub Jelinek <jakub@redhat.com>
3829
3830 [BZ #3268]
3831 * math/libm-test.inc (fma_test): Some new testcases.
3832 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
3833 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
3834 y and infinite z. Do multiplication by C already in long double.
3835 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
3836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
3837 y and infinite z. Do bitwise or of inexact bit into u.d.
3838 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
3839 * sysdeps/i386/fpu/s_fmaf.S: Removed.
3840 * sysdeps/i386/fpu/s_fma.S: Removed.
3841 * sysdeps/i386/fpu/s_fmal.S: Removed.
3842
7c08a05c
JJ
38432010-10-16 Jakub Jelinek <jakub@redhat.com>
3844
3845 [BZ #3268]
3846 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
3847 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
3848 computation is not scheduled after fetestexcept. Fix value
3849 of minimum denormal long double.
3850
f3f7372d
JJ
38512010-10-14 Jakub Jelinek <jakub@redhat.com>
3852
3853 [BZ #3268]
3854 * math/libm-test.inc (fma_test): Add some more tests.
3855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
3856 correctly.
3857
14d43591
AS
38582010-10-15 Andreas Schwab <schwab@redhat.com>
3859
3860 * scripts/data/localplt-s390-linux-gnu.data: New file.
3861 * scripts/data/localplt-s390x-linux-gnu.data: New file.
3862
5e908464
JJ
38632010-10-13 Jakub Jelinek <jakub@redhat.com>
3864
3865 [BZ #3268]
3866 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
3867 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
3868 instead of dbl-64.
3869 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
3870 inlines.
3871 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
3872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
3873 if one of x and y is very large and the other is subnormal.
3874 * sysdeps/s390/fpu/s_fmaf.c: New file.
3875 * sysdeps/s390/fpu/s_fma.c: New file.
3876 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
3877 * sysdeps/powerpc/fpu/s_fma.S: New file.
3878 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
3879 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
3880 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
3881
38822010-10-12 Jakub Jelinek <jakub@redhat.com>
3883
3884 [BZ #3268]
3885 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
3886 fma tests.
3887 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
3888 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
3889 * sysdeps/i386/i686/multiarch/s_fma.c: Include
3890 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
3891 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
3892 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
3894
b833d51f
UD
38952010-10-12 Ulrich Drepper <drepper@redhat.com>
3896
3897 [BZ #12078]
3898 * posix/regcomp.c (parse_branch): One more memory leak plugged.
3899 * posix/bug-regex31.input: Add test case.
3900
1751705d
UD
39012010-10-11 Ulrich Drepper <drepper@gmail.com>
3902
e9b9cbf5
UD
3903 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
3904 * posix/bug-regex31.input: New file.
3905
3906 [BZ #12078]
3907 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
3908 (parse_sub_exp): Fix last change, use postorder.
3909
ef06edbe
UD
3910 * posix/bug-regex31.c: New file.
3911 * posix/Makefile: Add rules to build and run bug-regex31.
3912
a129c80d
UD
3913 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
3914
3915 [BZ #12078]
3916 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
3917
b76b818e
UD
3918 [BZ #12108]
3919 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
3920 to have entries in sys_siglist.
3921
1751705d
UD
3922 [BZ #12093]
3923 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
3924 be NULL.
3925
9ff8d36f
JJ
39262010-10-07 Jakub Jelinek <jakub@redhat.com>
3927
3928 [BZ #3268]
3929 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
3930 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
3931 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
3932 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
3933 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3934 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
3935 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
3936 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
3937 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
3938 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
3939 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
3940 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
3941 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3942 * math/ftestexcept.c (fetestexcept): Likewise.
3943 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
3944 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3945 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
3946 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
3947 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
3948 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
3949 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3950
af325969
UD
39512010-10-11 Ulrich Drepper <drepper@gmail.com>
3952
c579b202 3953 [BZ #12107]
af325969
UD
3954 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
3955 newline.
3956
67a67b95
UD
39572010-10-06 Ulrich Drepper <drepper@gmail.com>
3958
3959 * string/bug-strstr1.c: New file.
3960 * string/Makefile: Add rules to build and run bug-strstr1.
3961
5fb308bc
EB
39622010-10-05 Eric Blake <eblake@redhat.com>
3963
3964 [BZ #12092]
3965 * string/str-two-way.h (two_way_long_needle): Always clear memory
3966 when skipping input due to the shift table.
3967
45db99c7
UD
39682010-10-03 Ulrich Drepper <drepper@gmail.com>
3969
3b111893
UD
3970 [BZ #12005]
3971 * malloc/mcheck.c: Handle large requests.
3972
45db99c7
UD
3973 [BZ #12077]
3974 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
3975 for strncmp and strncasecmp.
3976 * string/stratcliff.c: Add tests for strcmp and strncmp.
3977 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
3978
cf7a1eb8
NI
39792010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3980
3981 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
3982 __set_fpscr.
3983
6484ba5e
AJ
39842010-09-30 Andreas Jaeger <aj@suse.de>
3985
3986 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
3987 (CGROUP_SUPER_MAGIC): Define.
3988 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3989 Handle btrfs and cgroup file systems.
3990 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3991 Likewise.
3992
91c42559
LM
39932010-09-27 Luis Machado <luisgpm@br.ibm.com>
3994
3995 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
3996 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
3997
87a97932
AK
39982010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3999
4000 [BZ #12067]
4001 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
4002 trying to locate the ELF header.
4003
c21cc9bc
AS
40042010-09-27 Andreas Schwab <schwab@redhat.com>
4005
4006 [BZ #11611]
4007 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
4008 Mask out sign-bit copies when constructing f_fsid.
4009
315970f6
PB
40102010-09-24 Petr Baudis <pasky@suse.cz>
4011
4012 * debug/stack_chk_fail_local.c: Add missing licence exception.
4013 * debug/warning-nop.c: Likewise.
4014
1ac7a2c7
JM
40152010-09-15 Joseph Myers <joseph@codesourcery.com>
4016
4017 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
4018 implementing getdents64 using getdents syscall, set d_type if
4019 __ASSUME_GETDENTS32_D_TYPE.
4020
56801c50
AS
40212010-09-16 Andreas Schwab <schwab@redhat.com>
4022
4023 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
4024 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
4025
dda51327
UD
40262010-09-21 Ulrich Drepper <drepper@redhat.com>
4027
4028 [BZ #12037]
4029 * posix/unistd.h: Undo change of feature selection for ftruncate from
4030 2010-01-11.
4031
8ffcee4a
UD
40322010-09-20 Ulrich Drepper <drepper@redhat.com>
4033
a545ecd9 4034 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
4035 detection.
4036
e24f0a8b
AS
40372010-09-20 Andreas Schwab <schwab@redhat.com>
4038
4039 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
4040 fanotify_mark.
4041 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4042
7291c56f
AS
40432010-09-14 Andreas Schwab <schwab@redhat.com>
4044
4045 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
4046 variables after CHECK_SP call.
4047 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
4048
bc5fb037
AS
40492010-09-13 Andreas Schwab <schwab@redhat.com>
4050 Ulrich Drepper <drepper@redhat.com>
4051
4052 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
4053 re-relocationg ld.so.
4054 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
4055 _dl_init_paths call.
4056 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
4057 here anymore.
4058
e66e7419
UD
40592010-09-14 Ulrich Drepper <drepper@redhat.com>
4060
4061 * resolv/res_init.c (__res_vinit): Count the default server we added.
4062
c044aa75
CLT
40632010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
4064 Ulrich Drepper <drepper@redhat.com>
4065
4066 [BZ #11968]
4067 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4068 (____longjmp_chk): Use %ebx for saving value across system call.
4069 Add unwind info.
4070
32cf4069
AS
40712010-09-06 Andreas Schwab <schwab@redhat.com>
4072
4073 * manual/Makefile: Don't mix pattern rules with normal rules.
4074
817328ee
AS
40752010-09-05 Andreas Schwab <schwab@linux-m68k.org>
4076
4077 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
4078 operation.
4079 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4080 * libio/iofopncook.c (_IO_cookie_init): Likewise.
4081 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4082 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4083 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4084 Likewise.
4085
29fddf61
UD
40862010-09-04 Ulrich Drepper <drepper@redhat.com>
4087
4088 [BZ #11979]
4089 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
4090 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
4091
0959ffc9
UD
40922010-09-02 Ulrich Drepper <drepper@redhat.com>
4093
4094 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
4095 * sysdeps/x86_64/addmul_1.S: Likewise.
4096 * sysdeps/x86_64/lshift.S: Likewise.
4097 * sysdeps/x86_64/mul_1.S: Likewise.
4098 * sysdeps/x86_64/rshift.S: Likewise.
4099 * sysdeps/x86_64/sub_n.S: Likewise.
4100 * sysdeps/x86_64/submul_1.S: Likewise.
4101
ece29840
ST
41022010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4103
0959ffc9
UD
4104 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
4105 Define __sched_param instead of SCHED_* and sched_param when
ece29840 4106 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 4107 * bits/sched.h [__need_schedparam]
ece29840 4108 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
4109 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
4110 (__defined_schedparam): Define to 1.
ece29840
ST
4111 (__sched_param): New structure, identical to sched_param.
4112 (__need_schedparam): Undefine.
4113
e53a31fe
MF
41142010-08-31 Mike Frysinger <vapier@gentoo.org>
4115
fdc0c10d
MF
4116 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
4117 (epoll_create1): Declare.
4118
e53a31fe
MF
4119 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
4120
a726d796
AS
41212010-08-31 Andreas Schwab <schwab@redhat.com>
4122
4123 [BZ #7066]
4124 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
4125 shifting retval into place.
4126
2f3e3dc7
UD
41272010-09-01 Ulrich Drepper <drepper@redhat.com>
4128
f2933da9
UD
4129 * nis/rpcsvc/nis.h: Update copyright notice.
4130 * nis/rpcsvc/nis.x: Likewise.
4131 * nis/rpcsvc/nis_callback.h: Likewise.
4132 * nis/rpcsvc/nis_callback.x: Likewise.
4133 * nis/rpcsvc/nis_object.x: Likewise.
4134 * nis/rpcsvc/nis_tags.h: Likewise.
4135 * nis/rpcsvc/yp.h: Likewise.
4136 * nis/rpcsvc/yp.x: Likewise.
4137 * nis/rpcsvc/ypupd.h: Likewise.
4138 * nis/yp_xdr.c: Likewise.
4139 * nis/ypupdate_xdr.c: Likewise.
4140
2f3e3dc7
UD
4141 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
4142 mainly the body of pmap_getport. Add parameters to specify timeouts.
4143 (pmap_getport): Use __libc_rpc_getport.
4144 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
4145 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
4146 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
4147
f3dcc2f9
AS
41482010-08-31 Andreas Schwab <schwab@linux-m68k.org>
4149
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
4151 fanotify_mark.
4152
6d34eb5b
RM
41532010-08-27 Roland McGrath <roland@redhat.com>
4154
4155 * sysdeps/i386/i686/multiarch/Makefile
4156 (CFLAGS-varshift.c): New variable.
4157
9ea3de11
UD
41582010-08-27 Ulrich Drepper <drepper@redhat.com>
4159
c96d23fc
UD
4160 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
4161 * sysdeps/i386/i686/multiarch/varshift.c: New file.
4162
9ea3de11
UD
4163 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
4164
4165 * sysdeps/x86_64/strlen.S: Minimal code improvement.
4166
623aac7f
L
41672010-08-26 H.J. Lu <hongjiu.lu@intel.com>
4168
4169 * sysdeps/x86_64/strlen.S: Unroll the loop.
4170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4171 strlen-sse2 strlen-sse2-bsf.
4172 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
4173 __strlen_no_bsf if bit_Slow_BSF is set.
4174 (__strlen_sse42): Removed.
4175 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
4176 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
4177
8b2b7715
RM
41782010-08-25 Roland McGrath <roland@redhat.com>
4179
4180 * sysdeps/x86_64/multiarch/varshift.S: File removed.
4181 * sysdeps/x86_64/multiarch/varshift.c: New file.
4182 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
4183 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
4184 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
4185 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4186
e73015f2
L
41872010-08-25 H.J. Lu <hongjiu.lu@intel.com>
4188
4189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4190 strlen-sse2 strlen-sse2-bsf.
4191 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
4192 __strlen_sse2_bsf if bit_Slow_BSF is unset.
4193 (__strlen_sse2): Removed.
4194 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
4195 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
4196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4197 bit_Slow_BSF for Atom.
4198 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
4199 (index_Slow_BSF): Define.
4200 (HAS_SLOW_BSF): Define.
4201
df24a73e
UD
42022010-08-25 Ulrich Drepper <drepper@redhat.com>
4203
4204 [BZ #10851]
4205 * resolv/res_init.c (__res_vinit): When no server address at all
4206 is given default to loopback.
4207
f2ac4868
RM
42082010-08-24 Roland McGrath <roland@redhat.com>
4209
09055553
RM
4210 * configure.in: Remove config-name.h generation.
4211 * configure: Regenerated.
4212 * config-name.in: File removed.
4213 * scripts/config-uname.sh: New file.
4214 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
4215 ($(objdir)config-name.h): New target.
4216
f2ac4868
RM
4217 * sunrpc/rpc_parse.h: Avoid nested comment.
4218
73f27d5e
RH
42192010-08-24 Richard Henderson <rth@redhat.com>
4220 Ulrich Drepper <drepper@redhat.com>
4221 H.J. Lu <hongjiu.lu@intel.com>
4222
4223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
4224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
4225 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
4226 Replace _mm_srli_si128 with __m128i_shift_right. Replace
4227 _mm_alignr_epi8 with _mm_loadu_si128.
4228 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
4229 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
4230 (__m128i_shift_right): Removed.
4231 * sysdeps/i386/i686/multiarch/varshift.h: New file.
4232 * sysdeps/i386/i686/multiarch/varshift.S: New file.
4233 * sysdeps/x86_64/multiarch/varshift.h: New file.
4234 * sysdeps/x86_64/multiarch/varshift.S: New file.
4235
84b9230c
MF
42362010-08-21 Mike Frysinger <vapier@gentoo.org>
4237
4238 * configure.in: Move assembler checks to before sysdep dir checking.
4239
9bbd0ddc
PB
42402010-08-20 Petr Baudis <pasky@suse.cz>
4241
4242 * LICENSES: Sync the sunrpc license.
4243
9da4bb31
UD
42442010-08-19 Ulrich Drepper <drepper@redhat.com>
4245
a7ab6ec8
UD
4246 * sunrpc/auth_des.c: Update copyright notice once again.
4247 * sunrpc/auth_none.c: Likewise.
4248 * sunrpc/auth_unix.c: Likewise.
4249 * sunrpc/authdes_prot.c: Likewise.
4250 * sunrpc/authuxprot.c: Likewise.
4251 * sunrpc/bindrsvprt.c: Likewise.
4252 * sunrpc/clnt_gen.c: Likewise.
4253 * sunrpc/clnt_perr.c: Likewise.
4254 * sunrpc/clnt_raw.c: Likewise.
4255 * sunrpc/clnt_simp.c: Likewise.
4256 * sunrpc/clnt_tcp.c: Likewise.
4257 * sunrpc/clnt_udp.c: Likewise.
4258 * sunrpc/clnt_unix.c: Likewise.
4259 * sunrpc/des_crypt.c: Likewise.
4260 * sunrpc/des_soft.c: Likewise.
4261 * sunrpc/get_myaddr.c: Likewise.
4262 * sunrpc/getrpcport.c: Likewise.
4263 * sunrpc/key_call.c: Likewise.
4264 * sunrpc/key_prot.c: Likewise.
4265 * sunrpc/openchild.c: Likewise.
4266 * sunrpc/pm_getmaps.c: Likewise.
4267 * sunrpc/pm_getport.c: Likewise.
4268 * sunrpc/pmap_clnt.c: Likewise.
4269 * sunrpc/pmap_prot.c: Likewise.
4270 * sunrpc/pmap_prot2.c: Likewise.
4271 * sunrpc/pmap_rmt.c: Likewise.
4272 * sunrpc/rpc/auth.h: Likewise.
4273 * sunrpc/rpc/auth_unix.h: Likewise.
4274 * sunrpc/rpc/clnt.h: Likewise.
4275 * sunrpc/rpc/des_crypt.h: Likewise.
4276 * sunrpc/rpc/key_prot.h: Likewise.
4277 * sunrpc/rpc/netdb.h: Likewise.
4278 * sunrpc/rpc/pmap_clnt.h: Likewise.
4279 * sunrpc/rpc/pmap_prot.h: Likewise.
4280 * sunrpc/rpc/pmap_rmt.h: Likewise.
4281 * sunrpc/rpc/rpc.h: Likewise.
4282 * sunrpc/rpc/rpc_des.h: Likewise.
4283 * sunrpc/rpc/rpc_msg.h: Likewise.
4284 * sunrpc/rpc/svc.h: Likewise.
4285 * sunrpc/rpc/svc_auth.h: Likewise.
4286 * sunrpc/rpc/types.h: Likewise.
4287 * sunrpc/rpc/xdr.h: Likewise.
4288 * sunrpc/rpc_clntout.c: Likewise.
4289 * sunrpc/rpc_cmsg.c: Likewise.
4290 * sunrpc/rpc_common.c: Likewise.
4291 * sunrpc/rpc_cout.c: Likewise.
4292 * sunrpc/rpc_dtable.c: Likewise.
4293 * sunrpc/rpc_hout.c: Likewise.
4294 * sunrpc/rpc_main.c: Likewise.
4295 * sunrpc/rpc_parse.c: Likewise.
4296 * sunrpc/rpc_parse.h: Likewise.
4297 * sunrpc/rpc_prot.c: Likewise.
4298 * sunrpc/rpc_sample.c: Likewise.
4299 * sunrpc/rpc_scan.c: Likewise.
4300 * sunrpc/rpc_scan.h: Likewise.
4301 * sunrpc/rpc_svcout.c: Likewise.
4302 * sunrpc/rpc_tblout.c: Likewise.
4303 * sunrpc/rpc_util.c: Likewise.
4304 * sunrpc/rpc_util.h: Likewise.
4305 * sunrpc/rpcinfo.c: Likewise.
4306 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
4307 * sunrpc/rpcsvc/key_prot.x: Likewise.
4308 * sunrpc/rpcsvc/klm_prot.x: Likewise.
4309 * sunrpc/rpcsvc/mount.x: Likewise.
4310 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
4311 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
4312 * sunrpc/rpcsvc/rex.x: Likewise.
4313 * sunrpc/rpcsvc/rstat.x: Likewise.
4314 * sunrpc/rpcsvc/rusers.x: Likewise.
4315 * sunrpc/rpcsvc/sm_inter.x: Likewise.
4316 * sunrpc/rpcsvc/spray.x: Likewise.
4317 * sunrpc/rpcsvc/yppasswd.x: Likewise.
4318 * sunrpc/rtime.c: Likewise.
4319 * sunrpc/svc.c: Likewise.
4320 * sunrpc/svc_auth.c: Likewise.
4321 * sunrpc/svc_authux.c: Likewise.
4322 * sunrpc/svc_raw.c: Likewise.
4323 * sunrpc/svc_run.c: Likewise.
4324 * sunrpc/svc_simple.c: Likewise.
4325 * sunrpc/svc_tcp.c: Likewise.
4326 * sunrpc/svc_udp.c: Likewise.
4327 * sunrpc/svc_unix.c: Likewise.
4328 * sunrpc/svcauth_des.c: Likewise.
4329 * sunrpc/xcrypt.c: Likewise.
4330 * sunrpc/xdr.c: Likewise.
4331 * sunrpc/xdr_array.c: Likewise.
4332 * sunrpc/xdr_float.c: Likewise.
4333 * sunrpc/xdr_mem.c: Likewise.
4334 * sunrpc/xdr_rec.c: Likewise.
4335 * sunrpc/xdr_ref.c: Likewise.
4336 * sunrpc/xdr_sizeof.c: Likewise.
4337 * sunrpc/xdr_stdio.c: Likewise.
4338
9da4bb31
UD
4339 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
4340 handling.
4341
bdaa77bc
AS
43422010-08-19 Andreas Schwab <schwab@redhat.com>
4343
4344 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
4345
fe2f79db
LM
43462010-08-19 Luis Machado <luisgpm@br.ibm.com>
4347
4348 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
4349 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
4350 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
4351 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
4352 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
4353 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
4354 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
4355 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
4356 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
4357 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
4358 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
4359 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
4360 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
4361 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
4362
b9b42ee0
AB
43632010-07-26 Anton Blanchard <anton@samba.org>
4364
4365 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
4366 * malloc/arena.c (heap_trim): Likewise.
4367
1c06ba31
UD
43682010-08-16 Ulrich Drepper <drepper@redhat.com>
4369
4370 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
4371 here. Not...
4372 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
4373 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
4374
f8392f40
L
43752010-08-12 H.J. Lu <hongjiu.lu@intel.com>
4376
4377 * sysdeps/i386/elf/Makefile: New file.
4378
3162f12e
AS
43792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
4380
4381 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
4382 from fanotify_init.
4383 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4385
28c90b2c
UD
43862010-08-15 Ulrich Drepper <drepper@redhat.com>
4387
4388 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
4389 of strncasecmp_l.
1feccb6c 4390 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 4391
ca6bb004
UD
43922010-08-14 Ulrich Drepper <drepper@redhat.com>
4393
e9f82e0d
UD
4394 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
4395 strncase_l-nonascii.
4396 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
4397 Add strncase_l-ssse3.
4398 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
4399 * sysdeps/x86_64/strcmp.S: Likewise.
4400 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
4401 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
4402 * sysdeps/x86_64/strncase.S: New file.
4403 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
4404 * sysdeps/x86_64/strncase_l.S: New file.
4405 * string/Makefile (strop-tests): Add strncasecmp.
4406 * string/test-strncasecmp.c: New file.
4407
4408 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
4409 warning.
4410
ca6bb004
UD
4411 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
4412 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
4413
052fa7b3
AS
44142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
4415
4416 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
4417
962dba78
UD
44182010-08-12 Ulrich Drepper <drepper@redhat.com>
4419
4420 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
4421 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4422 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4423
bebff237
AM
44242010-05-01 Alan Modra <amodra@gmail.com>
4425
4426 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
4427 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
4428 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
4429 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
4430 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
4431 tidying. Don't tail-call __sigjmp_save for static lib.
4432 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
4433 save location.
4434 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
4435 (CALL_MCOUNT): Add eh info, and nop after bl.
4436 (TAIL_CALL_SYSCALL_ERROR): New macro.
4437 (PSEUDO_RET): Use it.
4438 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4439 Correct save location of integer regs and cr.
4440 (_dl_profile_resolve): Correct cr save location. Delete nops
4441 after bl when SHARED. Reduce cfi size a little by better
4442 placement of cfi directives.
4443 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
4444 make a stack frame. Instead use parm save area as a temp.
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
4446 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4448 Don't make a stack frame for parent, use parm save area.
4449 Increase child stack frame to 112 bytes. Don't save unused reg,
4450 and adjust reg usage. Set up cfi on error recovery and
4451 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
4452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4453 (__makecontext): Add dummy nop after jump to exit.
4454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
4455 Use correct parm save area and cr save, reduce stack frame.
4456 Correct cfi for possible PSEUDO_RET frame setup.
4457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
4458 Branch to local label emitted by PSEUDO_RET rather than
4459 __syscall_error.
4460
02637374
AS
44612010-08-12 Andreas Schwab <schwab@redhat.com>
4462
4463 [BZ #11904]
4464 * locale/programs/locale.c (print_assignment): New function.
4465 (show_locale_vars): Use it.
4466
c3e2f19b
UD
44672010-08-11 Ulrich Drepper <drepper@redhat.com>
4468
3cdaa6ad
UD
4469 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
4470 field.
4471 (struct statfs64): Likewise.
4472 (_STATFS_F_FLAGS): Define.
4473 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
4474 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4475 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
4476 (ST_VALID): Define locally.
4477 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
4478 __statvfs_getflags, use the provided value.
4479 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4480 __ASSUME_STATFS_F_FLAGS.
4481
754f7da3
UD
4482 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
4483
10b3bedc
UD
4484 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
4485 Add sys/fanotify.h.
4486 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
4487 fanotify_mask for GLIBC_2.13.
4488 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
4489 fanotify_init and fanotify_mark.
4490 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4491 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
4492
c08fb0d7
UD
4493 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
4494 Add prlimit.
4495 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
4496 prlimit64 for GLIBC_2.13.
4497 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
4498 prlimit64.
4499 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
4500 syscall.
4501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
4502 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4503 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
4504 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
4505 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
4506 add prlimit alias.
4507 * sysdeps/unix/sysv/linux/prlimit.c: New file.
4508
15bac72b
UD
4509 [BZ #11903]
4510 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
4511 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
4512
c3e2f19b
UD
4513 * nss/Makefile: Add rules to build and run tst-nss-test1.
4514 * shlib-versions: Add entry for libnss_test1.
4515 * nss/nss_test1.c: New file.
4516 * nss/tst-nss-test1.c: New file.
4517
4518 * nss/nsswitch.c (__nss_database_custom): Define new variable.
4519 (__nss_configure_lookup): Set appropriate entry in
4520 __nss_configure_lookup to true.
4521 * nss/nsswitch.h: Define enum with indeces of databases in
4522 databases and __nss_database_custom arrays. Declare
4523 __nss_database_custom.
4524 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
4525 to avoid using nscd when custom rules are installed.
4526 * nss/getXXbyYY_r.c: Likewise.
4527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4528
4529 * nss/nss_files/files-parse.c: Whitespace fixes.
4530
f15ce4d8
UD
45312010-08-09 Ulrich Drepper <drepper@redhat.com>
4532
4533 [BZ #11883]
4534 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
4535 * posix/fnmatch_loop.c: Likewise.
4536
d22e4cc9
AK
45372010-07-17 Andi Kleen <ak@linux.intel.com>
4538
4539 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
4540 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
4541 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
4542 * Versions.def [GLIBC_2.13]: Add.
4543
805bc17d
UD
45442010-08-06 Ulrich Drepper <drepper@redhat.com>
4545
4546 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4547 Also fail if tpwd after pwuid call is NULL.
4548
5a42321d
ST
45492010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4550
4551 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
4552 when converting to ms.
4553
fd3ebeda
ST
45542010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4555
4556 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
4557 EOPNOTSUPP errors with ENOTTY.
4558 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
4559 EOPNOTSUPP errors with ENOTTY.
4560
73507d3a
UD
45612010-07-31 Ulrich Drepper <drepper@redhat.com>
4562
4563 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
4564 Add strcasecmp_l-ssse3.
4565 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
4566 strcasecmp.
4567 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
4568 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
4569 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
4570
fe36dd02
UD
45712010-07-30 Ulrich Drepper <drepper@redhat.com>
4572
66f6765a
UD
4573 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
4574
42e08a54
UD
4575 * string/Makefile (strop-tests): Add strcasecmp.
4576 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
4577 strcasecmp_l-nonascii.
4578 (gen-as-const-headers): Add locale-defines.sym.
4579 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
4580 * sysdeps/x86_64/strcasecmp.S: New file.
4581 * sysdeps/x86_64/strcasecmp_l.S: New file.
4582 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
4583 * sysdeps/x86_64/locale-defines.sym: New file.
4584 * string/test-strcasecmp.c: New file.
4585
fe36dd02
UD
4586 * string/test-strcasestr.c: Test both ends of the range of characters.
4587 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
4588
48cbc0d6
RM
45892010-07-29 Roland McGrath <roland@redhat.com>
4590
76e6d6bc 4591 [BZ #11856]
48cbc0d6
RM
4592 * manual/locale.texi (Yes-or-No Questions): Fix example code.
4593
880113d9
UD
45942010-07-27 Ulrich Drepper <drepper@redhat.com>
4595
4596 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
4597 for ld.so.
4598
deb9cabb
AS
45992010-07-27 Andreas Schwab <schwab@redhat.com>
4600
4601 * manual/memory.texi (Malloc Tunable Parameters): Document
4602 M_PERTURB.
4603
1c7570ff
RM
46042010-07-26 Roland McGrath <roland@redhat.com>
4605
4606 [BZ #11840]
4607 * configure.in (-fgnu89-inline check): Set and substitute
4608 gnu89_inline, not libc_cv_gnu89_inline.
4609 * configure: Regenerated.
4610 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
4611
24fb0f88
UD
46122010-07-26 Ulrich Drepper <drepper@redhat.com>
4613
4614 * string/test-strnlen.c: New file.
4615 * string/Makefile (strop-tests): Add strnlen.
4616 * string/tester.c (test_strnlen): Add a few more test cases.
4617 * string/tst-strlen.c: Better error reporting.
4618
4619 * sysdeps/x86_64/strnlen.S: New file.
4620
8e96b93a
UD
46212010-07-24 Ulrich Drepper <drepper@redhat.com>
4622
4623 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
4624 lower-latency instructions.
4625
dbc676d4
UD
46262010-07-23 Ulrich Drepper <drepper@redhat.com>
4627
4628 * string/test-strcasestr.c: New file.
4629 * string/test-strstr.c: New file.
4630 * string/Makefile (strop-tests): Add strstr and strcasestr.
4631 * string/str-two-way.h: Don't undefine MAX.
4632 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
4633
f6a31e0e
AS
46342010-07-21 Andreas Schwab <schwab@redhat.com>
4635
4636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4637 strcasestr-nonascii.
4638 (CFLAGS-strcasestr-nonascii.c): Define.
4639 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
4640 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
4641 Remove unused attribute.
4642
5dbc3b6c
RM
46432010-07-20 Roland McGrath <roland@redhat.com>
4644
4645 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
4646 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
4647 ld.so.cache was broken. With it, there is no way to disable dsocaps
4648 like LD_HWCAP_MASK can disable hwcaps.
4649
23d101d8
EPM
46502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
4651
4652 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
4653
cc9f2e47
UD
46542010-07-16 Ulrich Drepper <drepper@redhat.com>
4655
4656 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
4657 call in strcasestr.
4658 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
4659 __strcasestr_sse42_nonascii.
4660 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
4661 strcasestr-nonascii.c.
4662 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
4663
77c1b069
LM
46642010-06-15 Luis Machado <luisgpm@br.ibm.com>
4665
4666 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
4667 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
4668 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
4669 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
4670
440566c3
UD
46712010-07-09 Ulrich Drepper <drepper@redhat.com>
4672
4673 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
4674 fcntl.
4675
5be9d05d
AS
46762010-07-06 Andreas Schwab <schwab@redhat.com>
4677
c30b7ee2 4678 [BZ #11577]
5be9d05d
AS
4679 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
4680 dl_signal_cerror.
4681
8a492a67
UD
46822010-07-06 Ulrich Drepper <drepper@redhat.com>
4683
4684 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
4685 _PC_PIPE_BUF using F_GETPIPE_SZ.
4686
713df3d5
RM
46872010-07-05 Roland McGrath <roland@redhat.com>
4688
4689 * manual/arith.texi (Rounding Functions): Fix rint description
4690 implicit in round description.
4691
702e8f14
UD
46922010-07-02 Ulrich Drepper <drepper@redhat.com>
4693
4694 * elf/Makefile: Fix linking for a few tests to make recent linker
4695 happy.
4696
52ed8be9
AS
46972010-06-30 Andreas Schwab <schwab@redhat.com>
4698
4699 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4700 $(common-objpfx)libc_nonshared.a.
4701
f47c9a11
LM
47022010-06-21 Luis Machado <luisgpm@br.ibm.com>
4703
4704 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
4705 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
4706 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
4707 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
4708 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
4709 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
4710 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
4711 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
4712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
4714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
4715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
4716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
4718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
4719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
4720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
4721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
4723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
4724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
4725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
4726 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
4727 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
4728 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
4729 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
4730 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
4731 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
4732 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
4733 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
4734 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
4735 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
4736 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
4737 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
4738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
4739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
4741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
4742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
4743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
4745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
4747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
4748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
4749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
4750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
4752
6fb8cbcb
L
47532010-06-25 H.J. Lu <hongjiu.lu@intel.com>
4754
4755 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
4756 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
4757 * string/memmove.c (memmove): Renamed to ...
4758 (MEMMOVE): ...this. Default to memmove.
4759 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
4760 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
4761 (END_CHK): Define.
4762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4763 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
4764 mempcpy-ssse3-back memmove-ssse3-back.
4765 * sysdeps/x86_64/multiarch/bcopy.S: New file .
4766 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
4767 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
4768 * sysdeps/x86_64/multiarch/memcpy.S: New file.
4769 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
4770 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
4771 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
4772 * sysdeps/x86_64/multiarch/memmove.c: New file.
4773 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
4774 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
4775 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
4776 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
4777 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
4778 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
4779 Define.
4780 (index_Fast_Copy_Backward): Define.
4781 (HAS_ARCH_FEATURE): Define.
4782 (HAS_FAST_REP_STRING): Define.
4783 (HAS_FAST_COPY_BACKWARD): Define.
4784
4e733bac 47852010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
4786
4787 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4788 Restore proper fallback handling.
4789
63c4ed22
UD
47902010-06-19 Ulrich Drepper <drepper@redhat.com>
4791
ac2b484c
UD
4792 [BZ #11701]
4793 * posix/group_member.c (__group_member): Correct checking loop.
4794
63c4ed22
UD
4795 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
4796 OOM in getpwuid_r correctly. Return error number when the caller
4797 should return, otherwise -1.
4798 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
4799 call returning > 0 value.
4800 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
4801
765ade4b
AS
48022010-06-07 Andreas Schwab <schwab@redhat.com>
4803
4804 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
4805 libc_nonshared.a from targets in modules-names.
4806
80da2e09
KS
48072010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
4808
4809 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
4810 requires it.
4811
158db122
LM
48122010-06-10 Luis Machado <luisgpm@br.ibm.com>
4813
4814 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
4815 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
4816 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
4817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
4818
caa78cf8
AS
48192010-06-02 Andreas Schwab <schwab@redhat.com>
4820
4821 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
4822
b2ef2c01
UD
48232010-06-14 Ulrich Drepper <drepper@redhat.com>
4824
4825 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
4826 and F_GETPIPE_SZ.
4827 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4828 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4829 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4831 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4832 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
4833
fbd643b6
RM
48342010-06-14 Roland McGrath <roland@redhat.com>
4835
4836 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
4837
f32f2869
JJ
48382010-06-07 Jakub Jelinek <jakub@redhat.com>
4839
4840 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
4841 __REDIRECT followed by __THROW.
4842 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
4843 * posix/getopt.h (getopt): Likewise.
4844
2a50c078
EPM
48452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
4846
4847 * hurd/lookup-at.c (__file_name_lookup_at): Accept
4848 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
4849 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
4850 in AT_FLAGS.
4851 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
4852 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
4853
eb5ad2eb
LM
48542010-05-28 Luis Machado <luisgpm@br.ibm.com>
4855
4856 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
4857
3c88fe1e
L
48582010-05-26 H.J. Lu <hongjiu.lu@intel.com>
4859
4860 [BZ #11640]
4861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4862 Properly check family and model.
4863
d2f73151
TY
48642010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
4865
4866 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
4867
ebd2e13d
LM
48682010-05-24 Luis Machado <luisgpm@br.ibm.com>
4869
4870 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
4871
b32b8b45
UD
48722010-05-21 Ulrich Drepper <drepper@redhat.com>
4873
4874 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
4875 symbol reference.
4876
9acbe24d
AS
48772010-05-19 Andreas Schwab <schwab@redhat.com>
4878
4879 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
4880 symbol reference.
4881
f0ccf6ea
AS
48822010-05-21 Andreas Schwab <schwab@redhat.com>
4883
3d04ff3a
AS
4884 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
4885 and internal_recvmmsg.
4886 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
4887 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
4888 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
4889 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
4890
f0ccf6ea
AS
4891 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
4892 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4893 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4894
5b08ac57
AS
48952010-05-20 Andreas Schwab <schwab@redhat.com>
4896
4897 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
4898
4828935d
LM
48992010-05-17 Luis Machado <luisgpm@br.ibm.com>
4900
4901 POWER7 optimizations.
4902 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
4903 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
4904
373d545e
UD
49052010-05-19 Ulrich Drepper <drepper@redhat.com>
4906
4907 * version.h: Update for 2.13 development version.
4908
21a2b1ae
AS
49092010-05-12 Andrew Stubbs <ams@codesourcery.com>
4910
4911 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
4912 exceptions. Return 0.
4913
3f7dcb2b
RM
49142010-05-07 Roland McGrath <roland@redhat.com>
4915
4916 * elf/ldconfig.c (main): Add a const.
4917
5f24d53a 49182010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 4919
a160f8d8
UD
4920 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
4921 (args_options): Add no-idn option.
4922 (ahosts_keys_int): Add idn_flags to ai_flags.
4923 (parse_option): Handle 'i' option to clear idn_flags.
4924
5f24d53a
UD
4925 * malloc/malloc.c (_int_free): Possible race in the most recently
4926 added check. Only act on the data if no current modification
4927 happened.
265bb1ce
UD
4928
4929See ChangeLog.17 for earlier changes.
This page took 0.634427 seconds and 5 git commands to generate.