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