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