]> sourceware.org Git - glibc.git/blob - ChangeLog
Remove __libc_csu_irel declaration
[glibc.git] / ChangeLog
1 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
2
3 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
4
5 2016-09-07 Joseph Myers <joseph@codesourcery.com>
6
7 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
8 file.
9
10 * sysdeps/sparc/fpu/fegetmode.c: New file.
11 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
12
13 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
14 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
15
16 * sysdeps/s390/fpu/fegetmode.c: New file.
17 * sysdeps/s390/fpu/fesetmode.c: Likewise.
18
19 * sysdeps/powerpc/fpu/fegetmode.c: New file.
20 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
21 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
22 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
23 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
24 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
25
26 * sysdeps/mips/fpu/fegetmode.c: New file.
27 * sysdeps/mips/fpu/fesetmode.c: Likewise.
28
29 * sysdeps/m68k/fpu/fegetmode.c: New file.
30 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
31
32 * sysdeps/ia64/fpu/fegetmode.c: New file.
33 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
34
35 * sysdeps/hppa/fpu/fegetmode.c: New file.
36 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
37
38 * sysdeps/arm/fegetmode.c: New file.
39 * sysdeps/arm/fesetmode.c: Likewise.
40
41 * sysdeps/alpha/fpu/fegetmode.c: New file.
42 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
43
44 * sysdeps/aarch64/fpu/fegetmode.c: New file.
45 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
46
47 * math/fegetmode.c: New file.
48 * math/fesetmode.c: Likewise.
49 * sysdeps/i386/fpu/fegetmode.c: Likewise.
50 * sysdeps/i386/fpu/fesetmode.c: Likewise.
51 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
52 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
53 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
54 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
55 declaration.
56 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
57 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
58 typedef.
59 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
60 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
61 (femode_t): New typedef.
62 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
63 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
64 (femode_t): New typedef.
65 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
66 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
67 (femode_t): New typedef.
68 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
69 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
70 (femode_t): New typedef.
71 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
72 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
73 (femode_t): New typedef.
74 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
75 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
76 (femode_t): New typedef.
77 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
78 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
79 (femode_t): New typedef.
80 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
81 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
82 (femode_t): New typedef.
83 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
84 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
85 (femode_t): New typedef.
86 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
87 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
88 (femode_t): New typedef.
89 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
90 declaration.
91 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
92 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
93 (femode_t): New typedef.
94 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
95 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
96 (femode_t): New typedef.
97 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
98 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
99 (femode_t): New typedef.
100 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
101 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
102 (femode_t): New typedef.
103 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
104 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
105 (femode_t): New typedef.
106 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
107 * manual/arith.texi (FE_DFL_MODE): Document macro.
108 (fegetmode): Document function.
109 (fesetmode): Likewise.
110 * math/Versions (fegetmode): New libm symbol at version
111 GLIBC_2.25.
112 (fesetmode): Likewise.
113 * math/Makefile (libm-support): Add fegetmode and fesetmode.
114 (tests): Add test-femode and test-femode-traps.
115 * math/test-femode-traps.c: New file.
116 * math/test-femode.c: Likewise.
117 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
118 alias for __fe_dfl_env.
119 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
120 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
121 (__fe_dfl_mode): Likewise.
122 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
123 version GLIBC_2.25.
124 * sysdeps/nacl/libm.abilist: Update.
125 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
126 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
127 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
128 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
129 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
130 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
131 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
132 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
133 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
134 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
135 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
136 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
138 Likewise.
139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
140 Likewise.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
142 Likewise.
143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
144 Likewise.
145 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
146 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
147 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
148 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
149 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
151 Likewise.
152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
153 Likewise.
154 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
155 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
156 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
157
158 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
159
160 [BZ #20495]
161 [BZ #20508]
162 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
163 processors, set Use_dl_runtime_resolve_slow and set
164 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
165 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
166 New.
167 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
168 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
169 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
170 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
171 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
172 if Use_dl_runtime_resolve_opt is set. Use
173 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
174 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
175 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
176 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
177 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
178 New.
179 (_dl_runtime_resolve_opt): Likewise.
180 (_dl_runtime_profile): Define only if _dl_runtime_profile is
181 defined.
182
183 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
184
185 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
186 __libc_memalign with "+ RELA R_390_GLOB_DAT".
187
188 2016-09-06 Florian Weimer <fweimer@redhat.com>
189
190 Convert malloc to __libc_lock. Automated part, using this Perl
191 s/// command:
192 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
193 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
194 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
195 conversion.
196
197 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
198
199 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
200 (linknamespace-symlists-tests): Likewise.
201 (linknamespace-header-tests): Likewise.
202
203 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
204
205 [BZ #19810]
206 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
207 * elf/tst-noload.c: New test case.
208 * elf/Makefile (tests): Add tst-noload.
209
210 2016-09-02 Roland McGrath <roland@hack.frob.com>
211
212 * sysdeps/nacl/dup.c: Add libc_hidden_def.
213
214 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
215 not any more.
216
217 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
218
219 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
220
221 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
222 (do_cos_slow): Likewise.
223 (do_sin): Likewise.
224 (do_sin_slow): Likewise.
225 (slow): Likewise.
226 (slow1): Likewise.
227 (slow2): Likewise.
228 (sloww): Likewise.
229 (sloww1): Likewise.
230 (sloww2): Likewise.
231 (bsloww): Likewise.
232 (bsloww1): Likewise.
233 (bsloww2): Likewise.
234 (cslow2): Likewise.
235
236 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
237
238 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
239 arguments. Consolidate input partitioning from callers here.
240 (do_cos_slow): Likewise.
241 (do_sin): Likewise.
242 (do_sin_slow): Likewise.
243 (do_sincos_1): Remove the no longer necessary input partitioning.
244 (do_sincos_2): Likewise.
245 (__sin): Likewise.
246 (__cos): Likewise.
247 (slow1): Likewise.
248 (slow2): Likewise.
249 (sloww1): Likewise.
250 (sloww2): Likewise.
251 (bsloww1): Likewise.
252 (bsloww2): Likewise.
253 (cslow2): Likewise.
254
255 2016-09-02 Florian Weimer <fweimer@redhat.com>
256
257 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
258 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
259 outside of allocated array.
260
261 2016-09-02 Florian Weimer <fweimer@redhat.com>
262
263 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
264 instead of MB_CUR_MAX to avoid variable-length array.
265
266 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
267
268 * math/Makefile (libm-calls): Remove k_rem_pio2F.
269 (type-double-routines): Add k_rem_pio2.
270 (type-float-routines): Add k_rem_pio2f.
271
272 * sysdeps/generic/math_private.h:
273 (__kernel_rem_pio2l): Removed.
274
275 * math/k_rem_pio2l.c: Removed.
276 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
277 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
278 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
279 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
280
281 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
282
283 * math/Makefile (gen-libm-calls): Add s_fmin
284 (libm-calls): Remove above.
285
286 * math/s_fmin.c: Refactor into ...
287 * math/s_fmin_template.c: New file.
288
289 * math/s_fminf.c: Removed.
290 * math/s_fminl.c: Removed.
291 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
292 (LDOUBLE_fmin_libm_version): New macro.
293
294 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
295 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
296
297 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
298
299 * math/Makefile: (gen-libm-calls): Add s_fmax.
300 (libm-calls): Remove above.
301
302 * math/s_fmax.c: Refactor into ...
303 * math/s_fmax_template.c: New file.
304 * math/s_fmaxf.c: Removed.
305 * math/s_fmaxl.c: Removed.
306
307 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
308 (LDOUBLE_fmaxl_libm_version): New macro.
309
310 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
311 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
312
313 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
314 s_fmin.c to pick the aarch64 version of the file.
315 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
316 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
317
318 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
319
320 * math/Makefile: (gen-libm-calls): Add s_nextdown.
321 (libm-calls): Remove above.
322
323 * math/s_nextdown.c: Refactor into ...
324 * math/s_nextdown_template.c: New file.
325 * math/s_nextdownf.c: Removed.
326 * math/s_nextdownl.c: Removed.
327
328 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
329
330 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
331
332 * math/Makefile (gen-libm-calls): Add s_fdim.
333 (libm-calls): Move to above.
334
335 * math/s_fdim.c: Renamed and refactored into to ...
336 * math/s_fdim_template.c: New file.
337 * math/s_fdiml.c: Removed.
338 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
339 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
340
341 * sysdeps/generic/math-type-macros-double.h:
342 (declare_mgen_alias): Don't declare if already declared.
343 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
344 Likewise.
345
346 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
347 (declare_mgen_alias): Don't declare if already declared.
348 (M_LIBM_NEED_COMPAT): Likewise.
349 (declare_mgen_libm_compat): Likewise.
350 (LDOUBLE_fdiml_libm_version): New macro.
351
352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
353 Include math/s_fdim.c now that ldbl-opt version is not needed.
354 (declare_mgen_alias): New macro to disable aliasing.
355
356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
357 (declare_mgen_alias): Likewise.
358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
359 (declare_mgen_alias): Likewise.
360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
361 (declare_mgen_alias): Likewise.
362 (M_LIBM_NEED_COMPAT): Likewise.
363
364 2016-09-01 Florian Weimer <fweimer@redhat.com>
365
366 [BZ #20525]
367 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
368 Include <linux/quota.h>.
369 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
370 and btodb.
371 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
372 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
373 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
374 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
375 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
376 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
377 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
378 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
379 types.
380 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
381 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
382
383 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
384
385 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
386 (gammal_positive): Fix spacing.
387 (__ieee754_gammal_r): Likewise.
388
389 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
390
391 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
392 (_Float128): Define as long double, always.
393 (L): Apply long double type suffix, always.
394
395 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
396 _Float128, excepting comments.
397
398 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
399 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
400 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
401 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
402 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
403 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
404 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
405 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
406 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
407 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
408 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
409 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
410 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
411 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
412 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
413 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
414 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
415 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
416 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
417 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
418 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
419 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
420 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
421 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
422 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
423 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
424 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
425 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
426 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
427 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
428 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
429 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
430 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
431 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
432 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
433 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
434 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
435 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
436 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
437 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
438 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
439 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
440 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
441 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
442 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
443 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
444 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
445 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
446 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
447 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
448 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
449 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
450 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
451 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
452 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
453 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
454 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
455 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
456 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
457 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
458 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
459 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
460 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
461 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
462 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
463 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
464 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
465 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
466
467 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
468 _Float128, and include math_private.h.
469 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
470
471 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
472 long double semantics.
473 (_Float128): Likewise.
474 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
475 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
476 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
477 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
478
479 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
480
481 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
482 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
483 * sysdeps/s390/configure: Regenerated.
484 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
485 instruction for raising over-/underflow if z196 zarch is supported
486 by default.
487 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
488
489 2016-08-30 Svante Signell <svante.signell@gmail.com>
490
491 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
492 it point to a dumb buffer for RPC to fill it.
493
494 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
495
496 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
497 instead of if/else.
498 (do_sin_slow): Likewise.
499 (do_sincos_1): Use fabs instead of if/else.
500 (do_sincos_2): Likewise.
501 (__sin): Likewise.
502 (__cos): Likewise.
503 (slow2): Likewise.
504 (sloww): Likewise.
505 (sloww1): Likewise. Drop argument M.
506 (sloww2): Use fabs instead of if/else.
507 (bsloww): Likewise.
508 (bsloww1): Likewise.
509 (bsloww2): Likewise.
510
511 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
512 fall through comment.
513 (do_sincos_1): Likewise.
514
515 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
516 Consolidate switch cases 0 and 2.
517
518 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
519
520 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
521 (libm-calls): Remove the above.
522
523 * math/s_cexp_template.c: Update using type-generic macros.
524 * math/s_clog10_template.c: Likewise.
525 * math/s_cpow_template.c: Likewise.
526 * math/s_clog_template.c: Likewise.
527 * math/s_cproj_template.c: Likewise.
528 * math/s_csqrt_template.c: Likewise.
529
530 * math/s_cexp.c: Removed.
531 * math/s_cexpf.c: Removed.
532 * math/s_cexpl.c: Removed.
533 * math/s_clog10.c: Removed.
534 * math/s_clog10f.c: Removed.
535 * math/s_clog10l.c: Removed.
536 * math/s_cpow.c: Removed.
537 * math/s_cpowf.c: Removed.
538 * math/s_cpowl.c: Removed.
539 * math/s_clog.c: Removed.
540 * math/s_clogf.c: Removed.
541 * math/s_clogl.c: Removed.
542 * math/s_cproj.c: Removed.
543 * math/s_cprojf.c: Removed.
544 * math/s_cprojl.c: Removed.
545 * math/s_csqrt.c: Removed.
546 * math/s_csqrtf.c: Removed.
547 * math/s_csqrtl.c: Removed.
548
549 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
550 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
551 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
552 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
553 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
554 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
555
556 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
557 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
558 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
559 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
560 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
561 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
562 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
563 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
564 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
565 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
566 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
567
568 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
569 version.
570
571 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
572 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
573 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
574 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
575
576 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
577
578 * s_cexp_template.c: Copy of s_cexp.c.
579 * s_clog_template.c: Copy of s_clog.c.
580 * s_clog10_template.c: Copy of s_clog10.c.
581 * s_cpow_template.c: Copy of s_cpow.c.
582 * s_cproj_template.c: Copy of s_cproj.c.
583 * s_csqrt_template.c: Copy of s_csqrt.c.
584
585 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
586
587 [BZ #20517]
588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
589 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
590 exported.
591
592 2016-08-29 Joseph Myers <joseph@codesourcery.com>
593
594 * math/fetestexceptflag.c: New file.
595 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
596 Stefan Liebler.
597 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
598 (fetestexceptflag): New function declaration.
599 * manual/arith.texi (fetestexceptflag): Document function.
600 * math/Versions (fetestexceptflag): New libm symbol at version
601 GLIBC_2.25.
602 * math/Makefile (libm-support): Add fetestexceptflag.
603 (tests): Add test-fetestexceptflag.
604 * math/test-fetestexceptflag.c: New file.
605 * sysdeps/nacl/libm.abilist: Update.
606 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
607 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
608 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
609 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
610 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
611 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
612 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
613 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
614 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
615 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
616 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
617 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
619 Likewise.
620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
621 Likewise.
622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
623 Likewise.
624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
625 Likewise.
626 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
627 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
628 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
629 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
630 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
632 Likewise.
633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
634 Likewise.
635 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
636 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
637 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
638
639 2016-08-26 Florian Weimer <fweimer@redhat.com>
640
641 [BZ #20432]
642 Avoid strong references to malloc-internal symbols when linking
643 statically, to support statically interposed mallocs.
644 * include/libc-symbols.h (call_function_static_weak): New macro.
645 * malloc/Makefile (tests): Add tst-interpose-nothread,
646 tst-interpose-thread, tst-interpose-static-nothread,
647 tst-interpose-static-thread.
648 (tests-static): Add tst-interpose-static-nothread,
649 tst-interpose-static-thread.
650 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
651 tst-interpose-aux-thread.o.
652 (test-extras): Add tst-interpose-aux-nothread,
653 tst-interpose-aux-thread.
654 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
655 tst-interpose-aux-nothread.o.
656 (tst-interpose-thread, tst-interpose-static-thread): Link with
657 tst-interpose-aux-thread.o and libthread.
658 * malloc/tst-interpose-aux-nothread.c: New file.
659 * malloc/tst-interpose-aux-thread.c: Likewise.
660 * malloc/tst-interpose-aux.c: Likewise.
661 * malloc/tst-interpose-aux.h: Likewise.
662 * malloc/tst-interpose-nothread.c: Likewise.
663 * malloc/tst-interpose-skeleton.c: Likewise.
664 * malloc/tst-interpose-static-nothread.c: Likewise.
665 * malloc/tst-interpose-static-thread.c: Likewise.
666 * malloc/tst-interpose-thread.c: Likewise.
667 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
668 * sysdeps/mach/hurd/fork.c (__fork): Only call
669 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
670 __malloc_fork_unlock_child if defined.
671 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
672
673 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
674
675 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
676 timespec C99 designated initialization.
677
678 2016-08-26 Florian Weimer <fweimer@redhat.com>
679
680 [BZ #19946]
681 Avoid expected SIGALRM signals.
682 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
683 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
684 (xpthread_create, xpthread_detach, xpthread_join)
685 (delayed_exit_thread, delayed_exit): New functions.
686 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
687 (tf): Use xpthread_cond_wait.
688 (do_test): Likewise. Replace alarm with delayed_exit.
689 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
690 (do_test): Call delayed_exit. Report failure.
691 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
692 (do_test): Call delayed_exit.
693 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
694 (do_test): Call delayed_exit. Use xpthread_join. Report error.
695 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
696 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
697 error.
698 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
699 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
700 error.
701 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
702 (do_test): Call delayed_exit.
703 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
704 (do_test): Call delayed_exit.
705 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
706 (do_test): Call delayed_exit instead of alarm. Use
707 xpthread_mutex_lock.
708 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
709 (do_test): Call delayed_exit instead of alarm. Use
710 xpthread_mutex_lock.
711 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
712 (do_test): Call delayed_exit instead of alarm.
713 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
714 (do_test): Call delayed_exit instead of alarm. Use
715 xpthread_spin_lock.
716 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
717 (do_test): Call delayed_exit instead of alarm. Use
718 xpthread_join.
719
720 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
721
722 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
723 adjust CFA when allocating register save area on re-aligned
724 stack.
725
726 2016-08-26 Florian Weimer <fweimer@redhat.com>
727
728 * string/tst-cmp.c: New test.
729 * string/Makefile (tests): Add it.
730
731 2016-08-25 Mark Wielaard <mark@klomp.org>
732
733 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
734 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
735 (check_tree_recurse): Use newly defined accessors.
736 (check_tree): Likewise.
737 (maybe_split_for_insert): Likewise.
738 (__tfind): Likewise.
739 (__tdelete): Likewise.
740 (trecurse): Likewise.
741 (tdestroy_recurse): Likewise.
742 (__tsearch): Likewise. And add asserts for malloc alignment.
743 (__twalk): Cast root to node in case CHECK_TREE is defined.
744
745 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
746
747 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
748
749 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
750
751 * math/Makefile (libm-gen-calls): Add
752 catan, catanh, ctan, ctanh.
753 (libm-calls): Remove the above.
754
755 * math/s_catan_template.c: Update using type-generic macros.
756 * math/s_catanh_template.c: Likewise.
757 * math/s_ctan_template.c: Likewise.
758 * math/s_ctanh_template.c: Likewise.
759
760 * math/s_catanf.c: Removed.
761 * math/s_catan.c: Removed.
762 * math/s_catanl.c: Removed.
763 * math/s_catanhf.c: Removed.
764 * math/s_catanh.c: Removed.
765 * math/s_catanhl.c: Removed.
766 * math/s_ctanf.c: Removed.
767 * math/s_ctan.c: Removed.
768 * math/s_ctanl.c: Removed.
769 * math/s_ctanhf.c: Removed.
770 * math/s_ctanh.c: Removed.
771 * math/s_ctanhl.c: Removed.
772
773 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
774 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
775 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
776 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
777 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
778 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
779
780 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
781 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
782 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
783 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
784
785 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
786
787 * s_catan_template.c: Copy of s_catan.c.
788 * s_catanh_template.c: Copy of s_catanh.c.
789 * s_ctan_template.c: Copy of s_ctan.c.
790 * s_ctanh_template.c: Copy of s_ctanh.c.
791
792 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
793
794 * math/Makefile (gen-libm-calls): Move
795 casin, casinh, csin, csinh here.
796 (libm-calls): Remove the above.
797
798 * math/s_casin_template.c: Update using type-generic macros.
799 * math/s_casinh_template.c: Likewise.
800 * math/s_csin_template.c: Likewise.
801 * math/s_csinh_template.c: Likewise.
802 * math/k_casinh_template.c: Likewise.
803
804 * math/s_casinf.c: Removed.
805 * math/s_casin.c: Removed.
806 * math/s_casinl.c: Removed.
807 * math/s_casinh.c: Removed.
808 * math/s_casinhf.c: Removed.
809 * math/s_casinhl.c: Removed.
810 * math/s_csin.c: Removed.
811 * math/s_csinf.c: Removed.
812 * math/s_csinl.c: Removed.
813 * math/s_csinh.c: Removed.
814 * math/s_csinhf.c: Removed.
815 * math/s_csinhl.c: Removed.
816 * math/k_casinh.c: Removed.
817 * math/k_casinhf.c: Removed.
818 * math/k_casinhl.c: Removed.
819
820 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
821 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
822 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
823 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
824
825 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
826 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
827 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
828 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
829 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
830 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
831 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
832 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
833
834 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
835 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
836 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
837 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
838
839 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
840 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
841 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
842 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
843
844 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
845
846 * s_casin_template.c: Copy of s_casin.c.
847 * s_casinh_template.c: Copy of s_casinh.c.
848 * s_csin_template.c: Copy of s_csin.c.
849 * s_csinh_template.c: Copy of s_csinh.c.
850 * k_casinh_template.c: Copy of k_casinh.c.
851
852 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
853
854 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
855
856 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
857
858 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
859 (mul_split) Remove, rename as mul_splitl, remove
860 redundant float.h include, and include via mul_splitl.h
861
862 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
863 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
864 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
865 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
866 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
867
868 * math/mul_splitl.h: New file.
869
870 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
871 Move into mul_split.h, and remove redundant float.h include.
872
873 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
874 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
875 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
876 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
877
878 * math/mul_split.h: New file.
879
880 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
881
882 * math/Makefile (libm-gen-calls): Move
883 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
884 (libm-calls): Remove above.
885
886 * math/s_cacos_template.c: Update using type-generic macros.
887 * math/s_cacosh_template.c: Likewise.
888 * math/s_ccos_template.c: Likewise.
889 * math/s_ccosh_template.c: Likwise.
890
891 * math/s_cacosf.c: Removed.
892 * math/s_cacos.c: Removed.
893 * math/s_cacosl.c: Removed.
894 * math/s_cacoshf.c: Removed.
895 * math/s_cacosh.c: Removed.
896 * math/s_cacoshl.c: Removed.
897 * math/s_ccosf.c: Removed.
898 * math/s_ccos.c: Removed.
899 * math/s_ccosl.c: Removed.
900 * math/s_ccoshf.c: Removed.
901 * math/s_ccosh.c: Removed.
902 * math/s_ccoshl.c: Removed.
903
904 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
905 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
906 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
907 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
908 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
909 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
910
911 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
912 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
913 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
914 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
915
916 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
917 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
918 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
919 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
920
921 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
922
923 * s_cacos_template.c: Copy of s_cacos.c.
924 * s_cacosh_template.c: Copy of s_cacosh.c.
925 * s_ccos_template.c: Copy of s_ccos.c.
926 * s_ccosh_template.c: Copy of s_ccosh.c.
927
928 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
929
930 * stdlib/tst-strtod-round-skeleton.c:
931 Refactored from tst-strtod-round.c.
932
933 (L_): New macro to apply literal modifier.
934 (FNPFX): New macro to select str or wcs prefix.
935 (CHAR): New macro to choose wchar_t or char.
936 (STRM): New macro to choose printf for tested character type.
937
938 (STRTO): New macro to choose appropriate string -> real function.
939 (FNPFXS): Stringitized version of FNPFX.
940 (STR): Support for above macro.
941 (STRX): Likewise.
942
943 (TEST): Update with above macros.
944 (test): Likewise.
945 (GEN_ONE_TEST): Likewise.
946 (test_in_one_mode): Likewise.
947
948 * stdlib/tst-strtod-round.c: New file.
949 * wcsmbs/tst-wcstod-round.c: New file.
950
951 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
952 (tst-wcstod-round): Add libm depencency for fesetround.
953
954 2016-08-19 Zack Weinberg <zackw@panix.com>
955
956 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
957
958 2016-08-18 Torvald Riegel <triegel@redhat.com>
959
960 [BZ #20477]
961 * resolv/res_hconf.c (do_init): Use atomic access.
962 * resolv/res_hconf.h: Add comments.
963 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
964 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
966
967 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
968
969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
970 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
971 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
972 Likewise.
973
974 2016-08-18 Florian Weimer <fweimer@redhat.com>
975
976 [BZ #16907]
977 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
978 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
979 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
980 (__attribute__): Remove definition.
981
982 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
983
984 * sysdeps/ieee754/ldbl-128/e_asinl.c:
985 Remove unused sqrtl declaration.
986
987 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
988
989 * math/Makefile: (gen-libm-templates.stmp): New rule.
990 (libm-calls): Move carg conj cimag and cabs into ...
991 (gen-libm-calls): New variable.
992 (generated): Inform Make objects from gen-libm-calls
993 may be generated.
994
995 * sysdeps/generic/math-type-macros.h: New file.
996 * sysdeps/generic/math-type-macros-float.h: Likewise.
997 * sysdeps/generic/math-type-macros-double.h: Likewise.
998 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
999 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1000 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1001
1002 * math/cabs.c: Refactor into
1003 * math/cabs_template.c: new file.
1004 * math/cabsf.c: Removed.
1005 * math/cabsl.c: Removed.
1006 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1007 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1008
1009 * math/carg.c: Refactor into
1010 * math/carg_template.c: new file.
1011 * math/cargf.c: Removed.
1012 * math/cargl.c: Removed.
1013 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1014 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1015
1016 * math/conj.c: Refactor into
1017 * math/conj_template.c: new file.
1018 * math/conjf.c: Removed.
1019 * math/conjl.c: Removed.
1020 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1021 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1022
1023 * math/cimag.c: Refactor into
1024 * math/cimag_template.c: new file.
1025 * math/cimagf.c: Removed.
1026 * math/cimagl.c: Removed.
1027 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1028 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1029
1030 * math/cimag.c: Refactor into
1031 * math/cimag_template.c: new file.
1032 * math/cimagf.c: Removed.
1033 * math/cimagl.c: Removed.
1034 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1035 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1036
1037 2016-08-17 Florian Weimer <fweimer@redhat.com>
1038
1039 Reduce time to expected nptl/tst-once5 failure.
1040 * nptl/tst-once5.cc (TIMEOUT): Define.
1041
1042 2016-08-17 Florian Weimer <fweimer@redhat.com>
1043
1044 [BZ #20452]
1045 Avoid additional copies of objects in libc.a in static libraries.
1046 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1047 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1048 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1049 rt-sysdep.
1050 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1051 Add nptl-sysdep.
1052 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1053 Add ptw-sysdep.
1054 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1055 rt-sysdep.
1056 * sysdeps/unix/sysv/linux/alpha/Makefile
1057 (libpthread-shared-only-routines): Add ptw-sysdep,
1058 ptw-sigprocmask, ptw-rt_sigaction.
1059 * sysdeps/unix/sysv/linux/ia64/Makefile
1060 (librt-shared-only-routines): Add rt-sysdep.
1061 * sysdeps/unix/sysv/linux/i386/Makefile
1062 (libpthread-shared-only-routines): Add libc-do-syscall.
1063 * sysdeps/unix/sysv/linux/microblaze/Makefile
1064 (libpthread-shared-only-routines): Add sysdep.
1065 * sysdeps/unix/sysv/linux/powerpc/Makefile
1066 (librt-shared-only-routines): Add rt-sysdep.
1067 (libpthread-shared-only-routines): Add sysdep.
1068 * sysdeps/unix/sysv/linux/s390/Makefile
1069 (librt-shared-only-routines): Add rt-sysdep.
1070 * sysdeps/unix/sysv/linux/sparc/Makefile
1071 (librt-shared-only-routines): Add rt-sysdep.
1072 (libpthread-shared-only-routines): Add sysdep.
1073 * sysdeps/unix/sysv/linux/tile/Makefile
1074 (libpthread-shared-only-routines): Likewise.
1075
1076 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1077
1078 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1079 Mask implicit bit out of unpacked value.
1080 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1081 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1082 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1083
1084 * sysdeps/sparc/fpu/fesetexcept.c: New file.
1085
1086 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1087
1088 * sysdeps/s390/fpu/fesetexcept.c: New file.
1089
1090 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1091 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1092 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1093
1094 * sysdeps/mips/fpu/fesetexcept.c: New file.
1095
1096 * sysdeps/m68k/fpu/fesetexcept.c: New file.
1097
1098 * sysdeps/ia64/fpu/fesetexcept.c: New file.
1099
1100 * sysdeps/hppa/fpu/fesetexcept.c: New file.
1101
1102 * sysdeps/arm/fesetexcept.c: New file.
1103
1104 * sysdeps/alpha/fpu/fesetexcept.c: New file.
1105
1106 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1107
1108 * math/fesetexcept.c: New file.
1109 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1110 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1111 * math/fenv.h: Define
1112 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1113 <bits/libc-header-start.h> instead of including <features.h>.
1114 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1115 declaration.
1116 * manual/arith.texi (fesetexcept): Document function.
1117 * math/Versions (fesetexcept): New libm symbol at version
1118 GLIBC_2.25.
1119 * math/Makefile (libm-support): Add fesetexcept.
1120 (tests): Add test-fesetexcept and test-fesetexcept-traps.
1121 * math/test-fesetexcept.c: New file.
1122 * math/test-fesetexcept-traps.c: Likewise.
1123 * sysdeps/nacl/libm.abilist: Update.
1124 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1125 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1126 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1127 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1128 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1129 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1130 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1131 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1132 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1133 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1134 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1135 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1137 Likewise.
1138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1139 Likewise.
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1141 Likewise.
1142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1143 Likewise.
1144 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1145 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1146 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1147 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1148 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1150 Likewise.
1151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1152 Likewise.
1153 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1154 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1155 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1156
1157 2016-08-16 Florian Weimer <fweimer@redhat.com>
1158
1159 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1160 New.
1161 (do_test): Apply default_stack_size_in_mb if not set.
1162 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1163
1164 2016-08-15 Andreas Schwab <schwab@suse.de>
1165
1166 [BZ #20435]
1167 CVE-2016-6323
1168 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1169 as .cantunwind.
1170
1171 2016-08-12 Joseph Myers <joseph@codesourcery.com>
1172
1173 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1174 comment from fraiseexcpt.c.
1175
1176 * math/test-fexcept.c (feraiseexcept_exact): New function.
1177 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1178 (test_except): Likewise.
1179
1180 2016-08-10 Joseph Myers <joseph@codesourcery.com>
1181
1182 [BZ #20455]
1183 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1184 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1185 to be restored.
1186
1187 * math/test-fexcept-traps.c: New file.
1188 * math/test-fexcept.c: Likewise.
1189 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1190 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1191 macro.
1192 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1193 (EXCEPTION_SET_FORCES_TRAP): Likewise.
1194
1195 2016-08-09 Torvald Riegel <triegel@redhat.com>
1196
1197 * include/atomic.h (atomic_fetch_and_relaxed,
1198 atomic_fetch_and_release, atomic_fetch_or_release,
1199 atomic_fetch_xor_release): New.
1200
1201 2016-08-06 Christian Seiler <christian@iwakd.de>
1202
1203 [BZ #20444]
1204 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1205 MACH_PORT_NULL.
1206
1207 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
1208
1209 * math/s_fdim.c: Avoid alias renamed.
1210 * math/s_fdimf.c: Likewise.
1211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1212 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1213 Add s_fdimf-vis3, s_fdim-vis3.
1214 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1215 (CFLAGS-s_fdim-vis3.c): Likewise.
1216 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1217 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1218
1219 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
1220
1221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1222 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1223 Remove s_fdimf-vis3, s_fdim-vis3.
1224 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1225 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1232 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1233 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1234
1235 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
1236
1237 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1238 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1239 -Wa,-Av9a -mvis.
1240
1241 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1242
1243 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1244 LIT() to individual constants in simple expressions
1245 after splitting on spaces.
1246 (_apply_lit): Rename replaced version, and use it to
1247 apply to what appears to be a token.
1248
1249 * math/libm-test.inc: Fix many, many issues with
1250 spacing.
1251
1252 2016-08-05 Joseph Myers <joseph@codesourcery.com>
1253
1254 * math/math.h: Move comment about <bits/mathdef.h> definitions
1255 above inclusion of <bits/mathdef.h>. Do not mention
1256 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1257
1258 2016-08-05 Torvald Riegel <triegel@redhat.com>
1259
1260 * include/atomic.h (atomic_exchange_relaxed): New.
1261
1262 2016-08-04 Joseph Myers <joseph@codesourcery.com>
1263
1264 * math/e_scalb.c: Do not include <fenv.h>.
1265 (invalid_fn): Do calculation resulting in NaN instead of raising
1266 FE_INVALID and returning a NaN explicitly.
1267 * math/e_scalbf.c: Do not include <fenv.h>.
1268 (invalid_fn): Do calculation resulting in NaN instead of raising
1269 FE_INVALID and returning a NaN explicitly.
1270 * math/e_scalbl.c: Do not include <fenv.h>.
1271 (invalid_fn): Do calculation resulting in NaN instead of raising
1272 FE_INVALID and returning a NaN explicitly.
1273
1274 2016-08-04 Carlos O'Donell <carlos@redhat.com>
1275
1276 * po/de.po: Updated from Translation Project.
1277 * po/fi.po: Likewise.
1278 * po/sv.po: Likewise.
1279
1280 2016-08-04 Florian Weimer <fweimer@redhat.com>
1281
1282 [BZ #20452]
1283 Use sysdep.o from libc.a in static libraries.
1284 * sysdeps/unix/sysv/linux/i386/Makefile
1285 (libpthread-shared-only-routines): Add sysdep.
1286 (librt-shared-only-routines): Likewise.
1287
1288 2016-08-03 Joseph Myers <joseph@codesourcery.com>
1289
1290 * math/tgmath.h (nextdown): Define if
1291 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1292 (nextup): Likewise.
1293
1294 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1295 macro.
1296 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1297 Document.
1298 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1299 Document macro.
1300 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1301 (exp10f): Likewise.
1302 (exp10l): Likewise.
1303 * math/bits/mathcalls.h (exp10): Declare if
1304 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1305
1306 * manual/arith.texi (nextup): Fix typo in last change.
1307
1308 2016-08-03 Zack Weinberg <zackw@panix.com>
1309
1310 [BZ #19239]
1311 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1312 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1313 define major, minor, and makedev to issue deprecation warnings on use.
1314 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1315 previously-activated deprecation warnings for these macros and prevent
1316 subsequent inclusions of this header from having any effect.
1317 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1318 including <sys/sysmacros.h>, and undefine it again afterward.
1319
1320 2016-08-03 Zack Weinberg <zackw@panix.com>
1321
1322 * sysdeps/generic/sys/sysmacros.h: Delete file.
1323 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1324 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1325 * bits/sysmacros.h: ... here; this encoding is now the generic
1326 encoding. Now defines only the following macros:
1327 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1328 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1329 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1330
1331 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1332 bits/sysmacros.h and the above new macros to generate the
1333 public implementations of major, minor, and makedev.
1334 * misc/tst-makedev.c: New test.
1335 * include/sys/sysmacros.h: New wrapper.
1336
1337 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1338 (routines): Add makedev.
1339 (tests): Add tst-makedev.
1340 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1341 gnu_dev_makedev.
1342 * posix/Makefile (headers): Remove sys/sysmacros.h.
1343 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1344
1345 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1346 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1347 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1348 * sysdeps/unix/sysv/linux/alpha/libc.abilist
1349 * sysdeps/unix/sysv/linux/arm/libc.abilist
1350 * sysdeps/unix/sysv/linux/hppa/libc.abilist
1351 * sysdeps/unix/sysv/linux/i386/libc.abilist
1352 * sysdeps/unix/sysv/linux/ia64/libc.abilist
1353 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1354 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1355 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1356 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1357 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1358 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1359 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1360 * sysdeps/unix/sysv/linux/nios2/libc.abilist
1361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1365 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1366 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1367 * sysdeps/unix/sysv/linux/sh/libc.abilist
1368 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1369 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1372 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1373 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1374 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1375 Add GLIBC_2.25.
1376
1377 * include/features.h (__glibc_clang_prereq): New macro.
1378 * misc/sys/cdefs.h (__glibc_clang_has_extension)
1379 (__attribute_deprecated_msg__): New macros.
1380
1381 2016-08-03 Joseph Myers <joseph@codesourcery.com>
1382
1383 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1384 macro.
1385 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1386 * manual/arith.texi (issignaling): Document as ISO from TS
1387 18661-1:2014.
1388 (nextup): Likewise.
1389 (nextupf): Likewise.
1390 (nextupl): Likewise.
1391 (nextdown): Likewise.
1392 (nextdownf): Likewise.
1393 (nextdownl): Likewise.
1394 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1395 macro.
1396 * math/math.h: Define
1397 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1398 <bits/libc-header-start.h> instead of including <features.h>.
1399 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1400 [__USE_GNU].
1401 * math/bits/mathcalls.h (nextdown): Declare if
1402 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1403 (nextup): Likewise.
1404 (__issignaling): Likewise.
1405
1406 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1407
1408 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1409 check, and remove __glibc_likely hint
1410 from FP_INFINITE check.
1411 * s_csinhf.c (__csinhf): Likewise.
1412
1413 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1414 hint from FP_INFINITE check.
1415 * s_csinhl.c (__csinhl): Likewise.
1416
1417 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1418
1419 * math/Makefile (libm-calls): Insert F placeholder into
1420 object names. Move w_lgamma_compat* routines into
1421 (libm-compat-calls): New variable.
1422 (libm-compat-calls-ldouble-yes): New variable.
1423 (calls): Insert F placeholder.
1424 (generated): Redefine using new type-foreach macro call.
1425 (routines): Likewise.
1426
1427 (types): New variable to hold a list of symbolic names
1428 for each type supported by the target machine.
1429 (libm-routines): Redefine using new types variable.
1430 (type-foreach): macro to replace fooF with the
1431 appropriately suffixed foo for each types.
1432
1433 (type-ldouble-suffix): New variable.
1434 (type-ldouble-routines): Likewise.
1435 (type-ldouble-yes): Likewise.
1436 (type-double-suffix): Likewise.
1437 (type-double-routines): Likewise.
1438 (type-float-suffix): Likewise.
1439 (type-float-routines): Likewise.
1440
1441 (dbl-only-routines): Remove.
1442 (long-c-yes): Likewise.
1443 (long-m-routines): Likewise.
1444 (long-m-support): Likewise.
1445 (long-m-yes): Likewise.
1446 (test-longdouble-yes): Likewise.
1447
1448 (test-float.o): Simplify by increasing the scope of the
1449 recipe which adds libm-test.stmp to the vector types.
1450 (test-ifloat.o): Likewise.
1451 (test-float-finite.o): Likewise.
1452 (test-double.o): Likewise
1453 (test-idouble.o): Likewise.
1454 (test-double-finite.o): Likewise.
1455 (test-ldouble.o): Likewise
1456 (test-ildoubl.o): Likewise.
1457 (test-ldouble-finite.o): Likewise.
1458
1459 (libm-tests): Redefine type tests using foreach and the
1460 list of types in types.
1461
1462 (CPPFLAGS-test-ildoubl.c): Rename to
1463 (CPPFLAGS-test-ildouble.c): New variable
1464
1465 * math/test-ildoubl.c: Rename to
1466 * math/test-ildouble.c: New file.
1467
1468 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1469
1470 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1471 Use fabsl instead of fabs.
1472 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1473 Likewise.
1474 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1475 Add long double suffix to constant to ensure proper
1476 promotion to long double.
1477
1478 2016-08-03 Tom Tromey <tom@tromey.com>
1479
1480 [BZ #20311]
1481 * nptl_db/Makefile (headers): Add proc_service.h.
1482 * nptl_db/proc_service.h: Add include guard. Use
1483 __BEGIN/__END_DECLS.
1484 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1485 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1486 arguments.
1487
1488
1489 2016-08-03 Florian Weimer <fweimer@redhat.com>
1490
1491 [BZ #17730]
1492 Avoid using memalign for TCB allocations.
1493 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1494 (_dl_allocate_tls_storage): Use malloc and manual alignment.
1495 Avoid alignment gap in the TLS_DTV_AT_TP case.
1496 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1497 determine the pointer to free.
1498 * nptl/tst-tls3-malloc.c: New test.
1499 * nptl/Makefile (tests): Add it.
1500 (tst-tls3-malloc): Link with libdl, libpthread.
1501 (LDFLAGS-tst-tls3-malloc): Set.
1502 (tst-tls3-malloc.out): Depend on DSO used in test.
1503
1504 2016-08-03 Florian Weimer <fweimer@redhat.com>
1505
1506 [BZ #17730]
1507 Avoid using memalign for TLS allocations.
1508 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
1509 is_static member with to_free member.
1510 (union dtv): Use struct dtv_pointer.
1511 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1512 dtv_pointer instead of is_static.
1513 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1514 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1515 instead of val.
1516 (allocate_dtv_entry): New function.
1517 (allocate_and_init): Return struct dtv_pointer. Call
1518 allocate_dtv_entry instead of __libc_memalign.
1519 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1520 instead of val.
1521 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1522 instead of is_static. Adjust call to allocate_and_init.
1523 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1524 struct dtv_pointer instead of val.
1525
1526 2016-08-03 Florian Weimer <fweimer@redhat.com>
1527
1528 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1529 (MALLOC_ALIGN_MASK): Move ...
1530 * malloc/malloc-internal.h: ... to here.
1531 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1532
1533 2016-08-03 Joseph Myers <joseph@codesourcery.com>
1534
1535 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1536 (UDP_ENCAP_GTP1U): Likewise.
1537
1538 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1539 (PF_MAX): Update value.
1540 (AF_QIPCRTR): New macro.
1541
1542 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
1543
1544 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1545 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1546 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1547 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1548 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1549 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1550 s_truncf-vis3, s_trunc-vis3.
1551 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1552 (CFLAGS-s_ceil-vis3.c): Likewise.
1553 (CFLAGS-s_floorf-vis3.c): Likewise.
1554 (CFLAGS-s_floor-vis3.c): Likewise.
1555 (CFLAGS-s_truncf-vis3.c): Likewise.
1556 (CFLAGS-s_trunc-vis3.c): Likewise.
1557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1565 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1566 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1567 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1568 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1569
1570 2016-08-02 David S. Miller <davem@davemloft.net>
1571
1572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1573 (__nearbyint_vis3): Don't check for sNaN before float register is
1574 loaded with the incoming argument.
1575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1576 (__nearbyintf_vis3): Likewise.
1577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1578 Likewise.
1579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1580 Likewise.
1581
1582 * string/test-strncmp.c (do_test_limit): Make sure the test data
1583 stream is aligned as required for the type "CHAR".
1584 (do_test): Likewise.
1585
1586 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
1587
1588 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1589 by beq instructions jumping to the end of the function.
1590 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1591 clobber list. Use "i" constraint instead of "X".
1592 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1593 of "X".
1594
1595 2016-08-02 Joseph Myers <joseph@codesourcery.com>
1596
1597 * bits/libc-header-start.h: New file.
1598 * Makefile (headers): Add bits/libc-header-start.h.
1599 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1600 (__GLIBC_USE): New macro.
1601 * libio/stdio.h: Define
1602 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1603 <bits/libc-header-start.h> instead of including <features.h>.
1604 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1605 (open_memstream): Likewise.
1606 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1607 (__asprintf): Likewise.
1608 (asprintf): Likewise.
1609 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1610 (getdelim): Likewise.
1611 (getline): Likewise.
1612 * string/string.h: Define
1613 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1614 <bits/libc-header-start.h> instead of including <features.h>.
1615 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1616 (strndup): Likewise.
1617 * wcsmbs/wchar.h: Define
1618 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1619 <bits/libc-header-start.h> instead of including <features.h>.
1620 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1621 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1622
1623 2016-08-02 Florian Weimer <fweimer@redhat.com>
1624
1625 Support linking against compatibility symbols, for use in tests.
1626 * include/libc-symbols.h (symbol_version_reference): New macro.
1627 (symbol_version): Use it.
1628 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1629 (compat_symbol): Use compat_symbol_reference.
1630 (compat_symbol_1, compat_symbol_2): Remove.
1631 (compat_symbol_reference, compat_symbol_reference_1)
1632 (compat_symbol_reference_2): New macro. Use
1633 symbol_version_reference.
1634
1635 2016-08-02 Florian Weimer <fweimer@redhat.com>
1636
1637 [BZ #19469]
1638 * malloc/Makefile (CPPFLAGS): Compile tests with
1639 -DTEST_NO_MALLOPT.
1640 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1641
1642 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
1643
1644 [BZ #20033]
1645 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1646 finite version.
1647 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1648 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1649 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1650 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1651 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1652 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1653 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1654 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1655 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1656 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1657 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1658 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1659 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1660 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1661 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1662 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1663 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1664 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1665 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1666 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1667 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1668 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1669 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1670 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1671 in zero power.
1672
1673 2016-08-02 Florian Weimer <fweimer@redhat.com>
1674
1675 [BZ #20370]
1676 * malloc/arena.c (get_free_list): Update comment. Assert that
1677 arenas on the free list have no attached threads.
1678 (remove_from_free_list): New function.
1679 (reused_arena): Call it.
1680
1681 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
1682
1683 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1684 when it is a NaN.
1685 [_IEEE_FP_INEXACT] Remove.
1686 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1687 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1688 when it is a NaN.
1689 [_IEEE_FP_INEXACT] Remove.
1690 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1691 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1692 when it is a NaN.
1693 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1694 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1695 when its absolute value is greater than 0x1.0p52.
1696 [_IEEE_FP_INEXACT] Remove.
1697 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1698 when its absolute value is greater than 0x1.0p23.
1699 [_IEEE_FP_INEXACT] Remove.
1700
1701 2016-08-01 Carlos O'Donell <carlos@redhat.com>
1702
1703 * version.h (RELEASE): Set to "development"
1704 (VERSION): Set to 2.24.90.
1705 * NEWS: Add 2.25 section.
1706
1707 * version.h (RELEASE): Set to "stable"
1708 (VERSION): Set to 2.24.
1709 * include/features.h (__GLIBC_MINOR__): Set to 24.
1710
1711 * NEWS: Add 2.24 fixed bugs.
1712 * po/libc.pot: Regenerate.
1713
1714 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
1715
1716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1717 [$(subdir) = math] (libm-sysdep_routines): Remove.
1718 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1719 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1720 s_truncf-vis3, s_trunc-vis3.
1721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1723 file.
1724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1757 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1758 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1759 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1760 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1761 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1762 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1763 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1764 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1765 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1766 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1767
1768 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
1769
1770 [BZ #20384]
1771 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1772 test-double-libmvec-sincos-avx-main.o,
1773 test-double-libmvec-sincos-avx2-main.o,
1774 test-double-libmvec-sincos-main.o,
1775 test-float-libmvec-sincosf-avx-main.o,
1776 test-float-libmvec-sincosf-avx2-main.o and
1777 test-float-libmvec-sincosf-main.o.
1778 test-float-libmvec-sincosf-avx512-main.o.
1779 ($(objpfx)test-double-libmvec-sincos): Also link with
1780 $(objpfx)test-double-libmvec-sincos-main.o.
1781 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
1782 $(objpfx)test-double-libmvec-sincos-avx-main.o.
1783 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
1784 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
1785 ($(objpfx)test-float-libmvec-sincosf): Also link with
1786 $(objpfx)test-float-libmvec-sincosf-main.o.
1787 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
1788 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
1789 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
1790 test-double-libmvec-sincos-avx512-main.o and
1791 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
1792 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
1793 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
1794 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
1795 (CFLAGS-test-double-libmvec-sincos.c): Removed.
1796 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
1797 (CFLAGS-test-double-libmvec-sincos-main.c): New.
1798 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
1799 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
1800 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
1801 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
1802 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
1803 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
1804 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
1805 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
1806 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
1807 -DREQUIRE_AVX2.
1808 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
1809 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
1810 -DREQUIRE_AVX512F.
1811 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
1812 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
1813 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1814 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
1815 file.
1816 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
1817 Likewise.
1818 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
1819 Likewise.
1820 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
1821 Likewise.
1822 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
1823 Likewise.
1824 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
1825 Likewise.
1826 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
1827 Likewise.
1828 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
1829 Likewise.
1830
1831 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
1832
1833 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
1834
1835 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
1836
1837 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
1838 and typo in a comment about AT_HWCAP entry.
1839
1840 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1841
1842 * sysdeps/aarch64/libm-test-ulps: Updated.
1843
1844 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1845
1846 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
1847 of r13 as it is not restored in mvcle case.
1848
1849 2016-07-19 Mike Frysinger <vapier@gentoo.org>
1850
1851 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1852 Rename "ret" to "__ret".
1853 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1854 inline_syscall5, inline_syscall6): Likewise.
1855
1856 2016-07-19 Will Newton <will.newton@gmail.com>
1857
1858 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1859 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1860 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1861 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1862 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1863
1864 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
1865
1866 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1867 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1868 -mfpmath=387 with $(rtld-CFLAGS).
1869 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1870 $(rtld-CFLAGS).
1871
1872 2016-07-18 Ross Burton <ross.burton@intel.com>
1873 Khem Raj <raj.khem@gmail.com>
1874
1875 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1876 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1877 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1878 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1879 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1880 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1881 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1882 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1883 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1884 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1885 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1886 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1887 R_METAG_TLS_DTPOFF): New.
1888
1889 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
1890 Matt Clay <mclay@lycos.com>
1891
1892 [BZ #20357]
1893 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1894 to call __mpsin/__mpcos and to negate values.
1895 * math/auto-libm-test-in: Add test.
1896 * math/auto-libm-test-out: Regenerate.
1897
1898 2016-07-18 Zack Weinberg <zackw@panix.com>
1899
1900 * grp/Makefile: Don't install the internal header grp-merge.h.
1901
1902 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1903
1904 * sysdeps/aarch64/libm-test-ulps: Regenerated.
1905
1906 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1907
1908 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1909
1910 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1911
1912 [BZ #15368]
1913 * sysdeps/unix/sysv/linux/nptl-signals.h
1914 (__nptl_clear_internal_signals): New function.
1915 (__libc_signal_block_all): Likewise.
1916 (__libc_signal_block_app): Likewise.
1917 (__libc_signal_restore_set): Likewise.
1918 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1919 implementation.
1920 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1921 the cached pid/tid value in pthread structure.
1922
1923 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
1924
1925 [BZ #20347]
1926 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1927
1928 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
1929
1930 [BZ #20348]
1931 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1932 preadv64, pwrite64 and pwritev64.
1933
1934 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
1935
1936 [BZ #20350]
1937 * posix/tst-preadwrite.c: Renamed to ...
1938 * posix/tst-preadwrite-common.c: This.
1939 (PREAD): Removed.
1940 (PWRITE): Likewise.
1941 (STRINGIFY): Likewise.
1942 (STRINGIFY2): Likewise.
1943 (do_prepare): Make it static and remove function arguments.
1944 (do_test): Likewise.
1945 (PREPARE): Updated.
1946 (TEST_FUNCTION): New.
1947 (name): Make it static.
1948 (fd): Likewise.
1949 (do_prepare): Use create_temp_file.
1950 (do_test): Renamed to ...
1951 (do_test_with_offset): This. Make it static and accept offset.
1952 Properly check return value of PWRITE and PREAD. Return bytes
1953 read. Don't close fd nor unlink name.
1954 * posix/tst-preadwrite.c: Rewrite.
1955 * posix/tst-preadwrite64.c: Likewise.
1956
1957 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
1958
1959 [BZ #20309]
1960 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1961 -mtls-dialect=gnu2 works.
1962 * configure: Regenerated.
1963 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1964 (tests): Add tst-gnu2-tls1.
1965 (modules-names): Add tst-gnu2-tls1mod.
1966 ($(objpfx)tst-gnu2-tls1): New.
1967 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1968 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1969 * elf/tst-gnu2-tls1.c: New file.
1970 * elf/tst-gnu2-tls1mod.c: Likewise.
1971 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1972 bytes for push in the PLT entry to align the stack.
1973
1974 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
1975
1976 [BZ #20349]
1977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1978
1979 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1980
1981 [BZ #18707]
1982 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1983 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1984
1985 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1986
1987 * sysdeps/unix/sysv/linux/sysdep.h
1988 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1989 guards.
1990 * misc/tst-preadvwritev-common.c: New file.
1991 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1992 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1993 a check for files larger than 2GB.
1994
1995 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1996 (__ASSUME_OFF_DIFF_OFF64): Remove define.
1997 * sysdeps/unix/sysv/linux/pread.c
1998 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1999 __OFF_T_MATCHES_OFF64_T.
2000 * sysdeps/unix/sysv/linux/pread64.c
2001 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2002 * sysdeps/unix/sysv/linux/preadv.c
2003 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2004 * sysdeps/unix/sysv/linux/preadv64.c
2005 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2006 * sysdeps/unix/sysv/linux/pwrite.c
2007 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2008 * sysdeps/unix/sysv/linux/pwrite64.c
2009 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2010 * sysdeps/unix/sysv/linux/pwritev.c
2011 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2012 * sysdeps/unix/sysv/linux/pwritev64.c
2013 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2014
2015 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
2016
2017 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2018 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2019
2020 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
2021
2022 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2023
2024 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
2025
2026 [BZ #20240]
2027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2028 (CFLAGS-s_modf-ppc32.c): New variable.
2029 (CFLAGS-s_modff-ppc32.c): Likewise.
2030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2031 (CFLAGS-s_modf-ppc64.c): Likewise.
2032 (CFLAGS-s_modff-ppc64.c): Likewise.
2033
2034 2016-07-07 Andreas Schwab <schwab@suse.de>
2035
2036 [BZ #20263]
2037 * nptl/tst-robust10.c: New test.
2038 * nptl/Makefile (tests): Add tst-robust10.
2039
2040 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
2041
2042 [BZ #20263]
2043 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2044
2045 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
2046
2047 * sysdeps/s390/linkmap.h (struct link_map_machine):
2048 Remove member gotplt and add member jmprel.
2049 * sysdeps/s390/s390-32/dl-machine.h
2050 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2051 instead of gotplt with &got[3].
2052 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2053 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2054
2055 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
2056
2057 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2058
2059 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2060
2061 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2062 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2063 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2064 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2065 * libio/vtables.c (_IO_vtable_check)
2066 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2067 * libio/libioP.h (IO_set_accept_foreign_vtables)
2068 [!PTR_MANGLE]: Do not call PTR_MANGLE.
2069
2070 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
2071
2072 [BZ #20314]
2073 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2074 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2075 $(common-objpfx)cmath.
2076 ($(common-objpfx)cstdlib): New target.
2077 ($(common-objpfx)cmath): Likewise.
2078
2079 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
2080
2081 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2082
2083 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2084
2085 [BZ #20327]
2086 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2087 are not part of the string.
2088
2089 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2090
2091 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2092 * nptl/tst-cancel4-common.h (fifoname): New variable.
2093 (fifofd): Likewise.
2094 (cl_fifo): New function.
2095 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2096 SIGINT.
2097 (tf_open): Add early cancel test.
2098
2099 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
2100
2101 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2102
2103 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
2104
2105 * sysdeps/generic/ldsodefs.h
2106 (dl_symbol_visibility_binds_local_p): New inline function.
2107 * elf/dl-addr.c (determine_info): Treat hidden and internal
2108 symbols as local.
2109 * elf/dl-lookup.c (do_lookup_x): Likewise.
2110 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2111
2112 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
2113
2114 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2115 invalid exception for a sNaN input.
2116 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2117 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2118 (__nearbyint_vis3): Likewise
2119 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2120 (__nearbyintf_vis3): Likewise
2121 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2122 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2123 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2124 Likewise.
2125 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2126 Likewise.
2127
2128 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
2129
2130 [BZ #20139]
2131 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2132 (HAVE_AVX512DQ_ASM_SUPPORT): This.
2133 * sysdeps/x86_64/configure.ac: Require assembler from binutils
2134 2.24 or above.
2135 (HAVE_AVX512_ASM_SUPPORT): Removed.
2136 (HAVE_AVX512DQ_ASM_SUPPORT): New.
2137 * sysdeps/x86_64/configure: Regenerated.
2138 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2139 check unconditional.
2140 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2141 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2142 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2143 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2144 Likewise.
2145 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2146 Likewise.
2147 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2148 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2149 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2150 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2151 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2152 Likewise.
2153 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2154 Likewise.
2155 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2156 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2157 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2158 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2159 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2160 Likewise.
2161 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2162 Likewise.
2163 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2164 Likewise.
2165 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2166 Likewise.
2167 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2168 Likewise.
2169 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2170 Likewise.
2171 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2172 Likewise.
2173 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2174 Likewise.
2175 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2176 Likewise.
2177 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2178 Likewise.
2179 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2180 Likewise.
2181
2182 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
2183
2184 [BZ #20024]
2185 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2186 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2187 of this implementation of vector function.
2188 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2189 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2190 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2191 Likewise.
2192 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2193 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2194 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2195 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2196 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2197 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2198 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2199 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2200 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2201 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2202 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2203 for testing vector sincos with fixed ABI.
2204 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2205 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2206 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2207 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2208 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2209 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2210 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2211 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2212 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2213 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2214 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2215 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2216 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2217 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2218 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2219 * sysdeps/x86_64/fpu/Makefile: Added new tests.
2220
2221 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
2222
2223 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2224
2225 2016-06-30 Anton Blanchard <anton@samba.org>
2226
2227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2228 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2229 s_sinf-ppc64.
2230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2233 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2234
2235 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2236
2237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2239 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2240 e_expf-ppc64.
2241 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2242 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2243 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2244 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2245
2246 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
2247
2248 [BZ #20277]
2249 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2250 when SHARED is defined.
2251
2252 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
2253
2254 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2255 (index_arch_Prefer_ERMS): Likewise.
2256 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2257 __memcpy_erms for Prefer_ERMS.
2258 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2259 (__memmove_erms): Enabled for libc.a.
2260 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2261 __memmove_erms or Prefer_ERMS.
2262 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2263 __mempcpy_erms for Prefer_ERMS.
2264 * sysdeps/x86_64/multiarch/memset.S (memset): Return
2265 __memset_erms for Prefer_ERMS.
2266
2267 2016-06-30 Andreas Schwab <schwab@suse.de>
2268
2269 [BZ #20262]
2270 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2271 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
2272 of memory.
2273
2274 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
2275
2276 [BZ #18645]
2277 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2278 (test-extras): Add tst-cleanupx4aux.
2279 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
2280 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2281 tst-cleanupx4aux.o.
2282 * nptl/tst-cleanupx4aux.c: New file.
2283
2284 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
2285
2286 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2287
2288 2016-06-29 Andreas Schwab <schwab@suse.de>
2289
2290 [BZ #20260]
2291 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2292 address before the beginning of the string as an integer to avoid
2293 array-bounds warning.
2294
2295 2016-06-28 Richard Henderson <rth@redhat.com>
2296
2297 * elf/elf.h (EM_BPF): New.
2298 (EM_NUM): Update.
2299 (R_BPF_NONE, R_BPF_MAP_FD): New.
2300
2301 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2302 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2303 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2304 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2305 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2306 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2307 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2308 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2309 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2310 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2311 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2312 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2313 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2314 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2315 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2316 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2317 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2318 (EM_NUM): Update.
2319
2320 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
2321
2322 [BZ #18960]
2323 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2324 Set _nl_current_LC_CATEGORY_used to two instead of one.
2325
2326 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
2327
2328 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2329 (do_test): ... this.
2330 (TEST_FUNCTION): New macro.
2331 Include test-skeleton.c.
2332 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2333 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2334
2335 2016-06-27 Joseph Myers <joseph@codesourcery.com>
2336
2337 [BZ #15479]
2338 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2339 floating-point environment rather than just control word.
2340 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2341 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2342 floating-point environment, with "invalid" exceptions merged in,
2343 rather than just control word.
2344 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2345 * math/libm-test.inc (trunc_test_data): Do not allow spurious
2346 "inexact" exceptions.
2347
2348 [BZ #15479]
2349 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2350 floating-point environment rather than just control word.
2351 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2352 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2353 floating-point environment, with "invalid" exceptions merged in,
2354 rather than just control word.
2355 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2356 * math/libm-test.inc (floor_test_data): Do not allow spurious
2357 "inexact" exceptions.
2358
2359 [BZ #15479]
2360 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2361 floating-point environment rather than just control word.
2362 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2363 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2364 floating-point environment, with "invalid" exceptions merged in,
2365 rather than just control word.
2366 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2367 * math/libm-test.inc (ceil_test_data): Do not allow spurious
2368 "inexact" exceptions.
2369
2370 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
2371
2372 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2373 __libc_vfork.
2374 (__vfork) [IS_IN (libc)]: Remove alias.
2375 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2376 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2377 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2378
2379 2016-06-24 Torvald Riegel <triegel@redhat.com>
2380
2381 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2382 of atomic_compare_and_exchange_bool_rel.
2383 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2384 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2385 catomic_compare_and_exchange_bool_rel): Remove.
2386 * sysdeps/aarch64/atomic-machine.h
2387 (atomic_compare_and_exchange_bool_rel): Likewise.
2388 * sysdeps/alpha/atomic-machine.h
2389 (atomic_compare_and_exchange_bool_rel): Likewise.
2390 * sysdeps/arm/atomic-machine.h
2391 (atomic_compare_and_exchange_bool_rel): Likewise.
2392 * sysdeps/mips/atomic-machine.h
2393 (atomic_compare_and_exchange_bool_rel): Likewise.
2394 * sysdeps/microblaze/atomic-machine.h
2395 ( __arch_compare_and_exchange_bool_8_rel,
2396 __arch_compare_and_exchange_bool_16_rel): Likewise.
2397 * sysdeps/powerpc/atomic-machine.h
2398 ( __arch_compare_and_exchange_bool_8_rel,
2399 __arch_compare_and_exchange_bool_16_rel): Likewise.
2400 * sysdeps/powerpc/powerpc32/atomic-machine.h
2401 ( __arch_compare_and_exchange_bool_32_rel,
2402 __arch_compare_and_exchange_bool_64_rel): Likewise.
2403 * sysdeps/powerpc/powerpc64/atomic-machine.h
2404 ( __arch_compare_and_exchange_bool_32_rel,
2405 __arch_compare_and_exchange_bool_64_rel): Likewise.
2406 * sysdeps/tile/atomic-machine.h
2407 (atomic_compare_and_exchange_bool_rel): Likewise.
2408
2409 2016-06-23 Joseph Myers <joseph@codesourcery.com>
2410
2411 [BZ #20296]
2412 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2413 when either argument is a NaN.
2414 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2415 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2416
2417 * math/libm-test.inc (snan_value_ld): New macro.
2418 (isgreater_test_data): Add sNaN tests.
2419 (isgreaterequal_test_data): Likewise.
2420 (isless_test_data): Likewise.
2421 (islessequal_test_data): Likewise.
2422 (islessgreater_test_data): Likewise.
2423 (isunordered_test_data): Likewise.
2424 (nextafter_test_data): Likewise.
2425 (nexttoward_test_data): Likewise.
2426 (remainder_test_data): Likewise.
2427 (remquo_test_data): Likewise.
2428 (significand_test_data): Likewise.
2429 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2430
2431 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
2432
2433 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2434 environment macros are defined.
2435 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2436
2437 2016-06-23 Florian Weimer <fweimer@redhat.com>
2438
2439 [BZ #20191]
2440 Implement vtable verification in libio.
2441 * Makerules (shlib.lds): Place __libc_IO_vtables section.
2442 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2443 * debug/vdprintf_chk.c (__vdprintf_chk): Call
2444 _IO_new_file_init_internal instead of _IO_file_init.
2445 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2446 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2447 * libio/Makefile (routines): Add vtables.
2448 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2449 (_IO_init): Remove, not for internal use.
2450 (_IO_init_internal): Declare, internal replacement for _IO_init.
2451 (_IO_file_init): Remove, not for internal use.
2452 (_IO_new_file_init): Remove, not for internal use.
2453 (_IO_new_file_init_internal): Declare, internal replacement for
2454 _IO_new_file_init.
2455 (_IO_old_file_init): Remove, not for internal use.
2456 (_IO_old_file_init_internal): Declare, internal replacement for
2457 _IO_old_file_init.
2458 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2459 internal use.
2460 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2461 Declare.
2462 (libio_vtable): New macro.
2463 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2464 functions.
2465 * libio/fileops.c (_IO_new_file_init_internal): Rename from
2466 _IO_new_file_init.
2467 (_IO_new_file_init): New externally visible wrapper which disables
2468 vtable verification.
2469 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2470 Define as vtables.
2471 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2472 (_IO_init): New externally visible wrapper which disables
2473 vtable verification.
2474 * libio/iofdopen.c (_IO_new_fdopen): Call
2475 _IO_new_file_init_internal instead of _IO_file_init. Adjust
2476 comment.
2477 * libio/iofopen.c (__fopen_internal): Call
2478 _IO_new_file_init_internal instead of _IO_file_init.
2479 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2480 Define as vtables.
2481 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2482 _IO_new_file_init_internal instead of _IO_file_init.
2483 * libio/iopopen.c (_IO_new_popen): Likewise.
2484 (_IO_proc_jumps): Define as vtable.
2485 * libio/iovdprintf.c (_IO_vdprintf): Call
2486 _IO_new_file_init_internal instead of _IO_file_init.
2487 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2488 (__open_memstream): Call _IO_init_internal instead of _IO_init.
2489 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2490 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2491 _IO_old_file_init.
2492 (_IO_old_file_init): New externally visible wrapper which disables
2493 vtable verification.
2494 (_IO_old_file_jumps): Define as vtable.
2495 * libio/oldiofdopen.c (_IO_old_fdopen): Call
2496 _IO_old_file_init_internal instead of _IO_old_file_init.
2497 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2498 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2499 (_IO_old_proc_jumps): Define as vtable.
2500 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2501 Define as vtables.
2502 * libio/vtables.c: New file.
2503 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2504 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2505 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2506 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2507 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2508 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2509 instead of _IO_init.
2510
2511 2016-06-23 Florian Weimer <fweimer@redhat.com>
2512
2513 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2514
2515 2016-06-23 Florian Weimer <fweimer@redhat.com>
2516
2517 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2518 potentially unused.
2519
2520 2016-06-22 Florian Weimer <fweimer@redhat.com>
2521
2522 * test-skeleton.c (write_message): New function.
2523 * malloc/tst-mallocfork2.c (write_message): Remove.
2524 * debug/tst-longjmp_chk2.c (write_indented): New function.
2525 (write_message): Remove.
2526 (stackoverflow_handler): Call write_indented.
2527
2528 2016-06-22 Joseph Myers <joseph@codesourcery.com>
2529
2530 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2531 "inexact" exceptions after fnstenv.
2532 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2533 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2534 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2535
2536 2015-06-22 Zack Weinberg <zackw@panix.com>
2537
2538 * sysdeps/generic/bits/hwcap.h: Moved to ...
2539 * bits/hwcap.h: Here.
2540
2541 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
2542
2543 * sysdeps/aarch64/memcpy.S (memcpy):
2544 Further tuning for performance.
2545
2546 2016-06-21 Florian Weimer <fweimer@redhat.com>
2547
2548 [BZ #20284]
2549 * malloc/arena.c (reused_arena): Do not return NULL if we start
2550 out with a non-corrupted arena.
2551
2552 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2553
2554 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2555 * misc/tst-preadvwritev.c: New file.
2556 * misc/tst-preadvwritev64.c: Likewise.
2557 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2558 usage.
2559 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2560 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2561 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2562 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2563
2564 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
2565
2566 [BZ #19654]
2567 * sysdeps/x86_64/fpu/Makefile: Added new tests.
2568 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2569 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2570 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2571 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2572 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2573 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2574 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2575 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2576 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2577 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2578 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2579 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2580 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2581 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2582 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2583 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2584 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2585 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2586 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2587 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2588 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2589 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2590 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2591 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2592 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2593
2594 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2595
2596 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2597 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2598
2599 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
2600
2601 * sysdeps/aarch64/memcpy.S (memcpy):
2602 Rewrite of optimized memcpy and memmove.
2603 * sysdeps/aarch64/memmove.S (memmove): Remove
2604 memmove code (merged into memcpy.S).
2605
2606 2016-06-20 Florian Weimer <fweimer@redhat.com>
2607
2608 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2609 * sysdeps/generic/dl-dtv.h: New file.
2610 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2611 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2612 (dtv_t): Remove.
2613 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2614 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2615 (dtv_t): Remove.
2616 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2617 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2618 (dtv_t): Remove.
2619 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2620 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2621 (dtv_t): Remove.
2622 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2623 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2624 (dtv_t): Remove.
2625 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2626 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2627 (dtv_t): Remove.
2628 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2629 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2630 (dtv_t): Remove.
2631 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2632 (dtv_t): Remove.
2633 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2634 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2635 (dtv_t): Remove.
2636 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2637 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2638 (dtv_t): Remove.
2639 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2640 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2641 (dtv_t): Remove.
2642 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2643 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2644 (dtv_t): Remove.
2645 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2646 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2647 (dtv_t): Remove.
2648 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2649 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2650 (dtv_t): Remove.
2651 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2652 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2653 (dtv_t): Remove.
2654 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2655 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2656 (dtv_t): Remove.
2657
2658 2016-06-20 Florian Weimer <fweimer@redhat.com>
2659
2660 Revert symbol poisoning of __malloc_initialize_hook.
2661 * include/stdc-predef.h (__malloc_initialize_hook): Remove
2662 poisoning.
2663 * malloc/Makefile: Remove un-poisoning.
2664 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2665 instead of old__malloc_initialize_hook.
2666 * malloc/malloc-hooks.h: Likewise.
2667 * malloc/malloc.c: Likewise.
2668 * malloc/mcheck-init.c: Likewise.
2669
2670 2016-06-19 Carlos O'Donell <carlos@redhat.com>
2671
2672 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2673
2674 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
2675
2676 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2677 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2678 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2679 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2680
2681 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2682
2683 * NEWS: Mention addition of nextup and nextdown.
2684 * manual/arith.texi: Document nextup and nextdown.
2685 * manual/libm-err-tab.pl: Add nextup and nextdown.
2686 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2687 * math/Versions (libm): Add GLIBC_2.24.
2688 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2689 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2690 Add new test.
2691 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2692 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2693 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2694 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2695 (nextup_test_data): Likewise.
2696 (nextdown_test_data): Likewise.
2697 * math/s_nextdown.c: New file.
2698 * math/s_nextdownf.c: Likewise.
2699 * math/s_nextdownl.c: Likewise.
2700 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2701 F(nextup): New function.
2702 F(nextdown): Likewise.
2703 * math/tgmath.h: Add nextup and nextdown.
2704 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2705 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2706 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2707 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2708 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2709 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2710 Add nextup and nextdown.
2711 (CFLAGS-nldbl-nextup.c): New variable.
2712 (CFLAGS-nldbl-nextdown.c): Likewise.
2713 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2714 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2715 * sysdeps/nacl/libm.abilist: Update.
2716 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2717 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2718 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2719 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2720 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2721 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2722 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2723 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2724 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2725 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2726 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2727 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2730 Likewise.
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2733 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2734 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2735 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2736 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2737 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2740 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2741 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2742 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2743 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2744
2745 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2746
2747 * manual/pattern.texi: Fix typos & grammar errors.
2748
2749 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2750
2751 * manual/search.texi: Fix typos & grammar errors.
2752
2753 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2754
2755 * manual/message.texi: Fix typos & grammar errors.
2756
2757 2016-06-16 Mike Frysinger <vapier@gentoo.org>
2758
2759 * manual/contrib.texi: Fix spelling typos.
2760 * manual/crypt.texi: Likewise.
2761 * manual/filesys.texi: Likewise.
2762 * manual/locale.texi: Likewise.
2763 * manual/message.texi: Likewise.
2764 * manual/nss.texi: Likewise.
2765 * manual/string.texi: Likewise.
2766
2767 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2768
2769 * manual/locale.texi: Fix typos & grammar errors.
2770
2771 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2772
2773 * manual/charset.texi: Fix typos & grammar errors.
2774
2775 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2776
2777 * manual/string.texi: Fix typos.
2778
2779 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2780
2781 * manual/ctype.texi: Fix typos.
2782
2783 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
2784
2785 * manual/memory.texi: Fix various typos & grammar errors.
2786
2787 2016-06-14 Joseph Myers <joseph@codesourcery.com>
2788
2789 [BZ #20255]
2790 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
2791 * math/libm-test.inc (fdim_test_data): Add another test.
2792
2793 [BZ #6796]
2794 [BZ #20255]
2795 [BZ #20256]
2796 * math/s_fdim.c: Include <math_private.h>.
2797 (__fdim): Use math_narrow_eval on result.
2798 * math/s_fdimf.c: Include <math_private.h>.
2799 (__fdimf): Use math_narrow_eval on result.
2800 * sysdeps/i386/fpu/s_fdim.S: Remove file.
2801 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
2802 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
2803 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
2804 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
2805 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
2806 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
2807 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
2808 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
2809 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
2810 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
2811 * math/libm-test.inc (fdim_test_data): Expect errno setting on
2812 overflow. Add sNaN tests.
2813
2814 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
2815 fpclassify.
2816 * math/s_fdimf.c (__fdimf): Likewise.
2817 * math/s_fdiml.c (__fdiml): Likewise.
2818
2819 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2820
2821 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2822 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
2823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2824 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2825 ifunc'ed strcasecmp/strncasecmp.
2826 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
2827 [EALIGN]: Removed.
2828 [END]: Likewise.
2829 [__strcasecmp]: Define instead of the above to control symbol name.
2830 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
2831 for __strcasecmp_power8.
2832 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
2833 for __strncasecmp_power8.
2834 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
2835 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
2836 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2837 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
2838 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
2839 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
2840
2841 2016-06-13 Joseph Myers <joseph@codesourcery.com>
2842
2843 [BZ #20252]
2844 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
2845 arguments when second argument is a NaN.
2846 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
2847 qNaN tests.
2848
2849 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
2850 (conj_test_data): Likewise.
2851 (copysign_test_data): Likewise.
2852 (creal_test_data): Likewise.
2853 (fma_test_data): Likewise.
2854 (fmod_test_data): Likewise.
2855
2856 [BZ #20250]
2857 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2858 itself.
2859 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2860 zero input to itself.
2861 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2862 Likewise.
2863 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2864 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2865 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2866 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2867 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2868
2869 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2870
2871 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2872 * nptl/tst-cancel4-common.c: New file.
2873 * nptl/tst-cancel4-common.h: Likewise.
2874 * nptl/tst-cancel4.c: Move common definitions to
2875 tst-cancel4-common.{c,h} file.
2876 * nptl/tst-cancel4_1.c: New test.
2877 * nptl/tst-cancel4_2.c: New test.
2878
2879 2016-06-13 Florian Weimer <fweimer@redhat.com>
2880
2881 [BZ #20248]
2882 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2883 (write_message): New function.
2884 (stackoverflow_handler): Call it instead of printf, to avoid
2885 excessive stack usage by printf.
2886 (do_test): Restore SIGSEGV, SIGBUS default handlers.
2887
2888 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2889
2890 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2891 (prio_inherit_missing): Remove define.
2892 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2893 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2894 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2895 Likewise.
2896 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2897 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2898 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2899 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2900 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2901 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2902
2903 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2904
2905 [BZ #19670]
2906 [BZ #19672]
2907
2908 * io/test-lfs.c (do_prepare): Use xmalloc.
2909 * io/tst-fcntl.c (do_prepare): Likewise.
2910 * libio/tst-fopenloc.c (do_bz17916): Likewise.
2911 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2912 * login/tst-utmp.c (do_prepare): Likewise.
2913 * posix/tst-exec.c (do_prepare): Likewise.
2914 * posix/tst-pathconf.c (prepare): Likewise.
2915 * posix/tst-spawn.c (do_prepare): Likewise.
2916 * posix/tst-truncate.c (do_prepare): Likewise.
2917 * rt/tst-aio.c (do_prepare): Likewise.
2918 * rt/tst-aio64.c (do_prepare): Likewise.
2919
2920 2016-06-11 Florian Weimer <fweimer@redhat.com>
2921
2922 [BZ #20237]
2923 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2924 (get*ent): Set entidx to NULL during initialization. If entidx is
2925 NULL, start iteration from the beginning.
2926
2927 2016-06-11 Florian Weimer <fweimer@redhat.com>
2928
2929 * malloc/malloc.c (musable): Return correct size for dumped fake
2930 mmapped chunk.
2931
2932 2016-06-11 Florian Weimer <fweimer@redhat.com>
2933
2934 [BZ #20222]
2935 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2936 (_IO_cookie_write): Likewise.
2937 (_IO_cookie_seek): Likewise.
2938 (_IO_cookie_close): Likewise.
2939 (_IO_old_cookie_seek): Likewise.
2940 (set_callbacks): New function.
2941 (_IO_cookie_init): Call set_callbacks to copy callbacks.
2942
2943 2016-06-11 Marko Myllynen <myllynen@redhat.com>
2944
2945 * locale/programs/localedef.c (oldstyle_tables): Remove.
2946 * locale/programs/localedef.h (oldstyle_tables): Likewise.
2947
2948 2016-06-10 Joseph Myers <joseph@codesourcery.com>
2949
2950 [BZ #20240]
2951 * math/Makefile (CFLAGS-s_modf.c): New variable.
2952 (CFLAGS-s_modff.c): Likewise.
2953 (CFLAGS-s_modfl.c): Likewise.
2954 * math/libm-test.inc (modf_test_data): Add sNaN tests.
2955
2956 2016-06-09 Carlos O'Donell <carlos@redhat.com>
2957
2958 [BZ #20215]
2959 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2960 [!__GNUC_PREREQ (3,2)]: Likewise.
2961
2962 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
2963
2964 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2965 (msghdr.msg_controllen): Likewise.
2966 (cmsghdr.cmsg_len): Likewise.
2967 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2968 ptw-oldsendmsg.
2969 (CFLAGS-oldrecvmsg.c): Remove rule.
2970 (CFLAGS-oldsendmsg.c): Likewise.
2971 (CFLAGS-recvmsg.c): Add rule.
2972 (CFLAGS-sendmsg.c): Likewise.
2973 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2974 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2975 (CFLAGS-recvmsg.c): Remove rule.
2976 (CFLAGS-sendmsg.c): Likewise.
2977 (CFLAGS-oldrecvmsg.c): Likewise.
2978 (CFLAGS-oldsendmsg.c): Likewise.
2979 (CFLAGS-recvmmsg.c): Likewise.
2980 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2981 to kernel defined interfaces.
2982 (msghdr.msg_controllen): Likewise.
2983 (cmsghdr.cmsg_len): Likewise.
2984 (msghdr.__glibc_reserved1): Remove member.
2985 (msghdr.__glibc_reserved2): Likewise.
2986 (cmsghdr.__glibc_reserved1): Likewise.
2987 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2988 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2989 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2990 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2991 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2992 version.
2993 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2994 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2995 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2996 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2997 Remove recvmsg and sendmsg.
2998 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2999 Likewise.
3000 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3001 Likewise.
3002 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3003 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3004 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3005 Likewise.
3006 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3007 Likewise.
3008 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3009 [libc] (GLIBC_2.24): Likewise.
3010 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3011 Likewise.
3012 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3013 Likewise.
3014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3015 [libc] (GLIBC_2.24): Likewise.
3016 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3017 Likewise.
3018 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3019 Likewise.
3020 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3021 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3022 Likewise.
3023 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3024 Likewise.
3025 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3026 Likewise.
3027 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3028 Likewise.
3029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3030 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3031 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3032 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3033 version for {recv,send,recm,sendm}msg.
3034 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3035 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3036 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3037 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3038 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3039 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3040 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3041 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3042 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3043 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3044 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3045 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3047 Likewise.
3048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3049 Likewise.
3050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3052 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3053 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3054 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3055 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3056 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3057 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3060 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3061 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3062 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3063
3064 2016-06-10 Florian Weimer <fweimer@redhat.com>
3065
3066 [BZ #19564]
3067 Remove __malloc_initialize_hook from the API.
3068 * malloc/malloc.h (__malloc_initialize_hook): Remove.
3069 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3070 #pragma GCC poison.
3071 * malloc/malloc-hooks.h: New file.
3072 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3073 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3074 (old__malloc_initialize_hook): Rename from
3075 __malloc_initialize_hook to evade poisoning. Turn into compat
3076 symbol.
3077 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3078 __malloc_initialize_hook.
3079 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3080 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3081 * manual/memory.texi (Hooks for Malloc): Remove
3082 __malloc_initialize_hook. Adjust hook example.
3083
3084 2016-06-09 Joseph Myers <joseph@codesourcery.com>
3085
3086 [BZ #20235]
3087 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3088 itself.
3089 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3090 * math/libm-test.inc (log2_test_data): Add sNaN tests.
3091
3092 [BZ #20234]
3093 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3094 infinity or NaN input to itself.
3095
3096 [BZ #20233]
3097 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3098 to itself.
3099
3100 [BZ #20232]
3101 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3102 itself.
3103
3104 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
3105
3106 * sysdeps/x86_64/start.S (_start): Always indirect branch to
3107 __libc_start_main via GOT.
3108
3109 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
3110
3111 * sysdeps/x86_64/memcopy.h: New file.
3112 * sysdeps/x86_64/wordcopy.c: Likewise.
3113
3114 2016-06-09 Florian Weimer <fweimer@redhat.com>
3115
3116 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3117 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3118 <cstdlib>.
3119 (optimization_barrier): New.
3120 (do_test): Use it. Call quick_exit in the global namespace.
3121 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3122 instead of <cstdlib>, <thread>.
3123 (optimization_barrier): New.
3124 (non_main_thread): Adjust declaration. Call optimization_barrier.
3125 Call quick_exit in the global namespace.
3126 (do_test): Call optimization_barrier. Use pthread_create,
3127 pthread_join instead of std::thread.
3128
3129 2016-06-09 Andreas Schwab <schwab@suse.de>
3130
3131 [BZ #19755]
3132 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3133 new entries in auto-propagate mode.
3134 * nscd/grpcache.c (cache_addgr): Likewise.
3135
3136 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3137
3138 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3139 New functions.
3140 (add_temp_file): Use them.
3141
3142 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
3143
3144 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3145
3146 2016-06-08 Joseph Myers <joseph@codesourcery.com>
3147
3148 [BZ #20229]
3149 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3150 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3151 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3152
3153 [BZ #20228]
3154 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3155 itself.
3156 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3157 * math/libm-test.inc (log10_test_data): Add sNaN tests.
3158
3159 [BZ #20227]
3160 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3161 itself.
3162 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3163 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3164 * math/libm-test.inc (log_test_data): Add sNaN tests.
3165
3166 [BZ #20226]
3167 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3168 itself.
3169 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3170 * math/libm-test.inc (exp_test_data): Add sNaN tests.
3171 (exp10_test_data): Likewise.
3172 (expm1_test_data): Likewise.
3173
3174 [BZ #20225]
3175 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3176 itself.
3177 * math/s_ldexpf.c (__ldexpf): Likewise.
3178 * math/s_ldexpl.c (__ldexpl): Likewise.
3179 * math/w_scalbln.c (__w_scalbln): Likewise.
3180 * math/w_scalblnf.c (__w_scalblnf): Likewise.
3181 * math/w_scalblnl.c (__w_scalblnl): Likewise.
3182 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3183 (scalbln_test_data): Likewise.
3184
3185 [BZ #20224]
3186 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3187 argument to itself.
3188 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3189
3190 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
3191
3192 [BZ #19776]
3193 * sysdeps/x86_64/memcpy.S: Make it dummy.
3194 * sysdeps/x86_64/mempcpy.S: Likewise.
3195 * sysdeps/x86_64/memmove.S: New file.
3196 * sysdeps/x86_64/memmove_chk.S: Likewise.
3197 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3198 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3199 * sysdeps/x86_64/memmove.c: Removed.
3200 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3201 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3202 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3203 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3204 Likewise.
3205 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3206 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3208 memcpy-sse2-unaligned, memmove-avx-unaligned,
3209 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3210 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3211 (__libc_ifunc_impl_list): Replace
3212 __memmove_chk_avx512_unaligned_2 with
3213 __memmove_chk_avx512_unaligned. Remove
3214 __memmove_chk_avx_unaligned_2. Replace
3215 __memmove_chk_sse2_unaligned_2 with
3216 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
3217 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
3218 with __memmove_avx512_unaligned. Replace
3219 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3220 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
3221 with __memcpy_chk_avx512_unaligned. Remove
3222 __memcpy_chk_avx_unaligned_2. Replace
3223 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3224 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
3225 Replace __memcpy_avx512_unaligned_2 with
3226 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
3227 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
3228 with __mempcpy_chk_avx512_unaligned. Remove
3229 __mempcpy_chk_avx_unaligned_2. Replace
3230 __mempcpy_chk_sse2_unaligned_2 with
3231 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
3232 Replace __mempcpy_avx512_unaligned_2 with
3233 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
3234 Replace __mempcpy_sse2_unaligned_2 with
3235 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
3236 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3237 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3238 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3239 if processor has ERMS. Default to __memcpy_sse2_unaligned.
3240 (ENTRY): Removed.
3241 (END): Likewise.
3242 (ENTRY_CHK): Likewise.
3243 (libc_hidden_builtin_def): Likewise.
3244 Don't include ../memcpy.S.
3245 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3246 __memcpy_chk_avx512_unaligned_erms and
3247 __memcpy_chk_avx512_unaligned. Use
3248 __memcpy_chk_avx_unaligned_erms and
3249 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3250 Default to __memcpy_chk_sse2_unaligned.
3251 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3252 Change function suffix from unaligned_2 to unaligned.
3253 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3254 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3255 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3256 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
3257 (ENTRY): Removed.
3258 (END): Likewise.
3259 (ENTRY_CHK): Likewise.
3260 (libc_hidden_builtin_def): Likewise.
3261 Don't include ../mempcpy.S.
3262 (mempcpy): New. Add a weak alias.
3263 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3264 __mempcpy_chk_avx512_unaligned_erms and
3265 __mempcpy_chk_avx512_unaligned. Use
3266 __mempcpy_chk_avx_unaligned_erms and
3267 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3268 Default to __mempcpy_chk_sse2_unaligned.
3269
3270 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
3271
3272 [BZ #19881]
3273 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3274 into ...
3275 * sysdeps/x86_64/memset.S: This.
3276 (__bzero): Removed.
3277 (__memset_tail): Likewise.
3278 (__memset_chk): Likewise.
3279 (memset): Likewise.
3280 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3281 defined.
3282 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3283 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3284 (__memset_zero_constant_len_parameter): Check SHARED instead of
3285 PIC.
3286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3287 memset-avx2 and memset-sse2-unaligned-erms.
3288 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3289 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3290 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3291 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3292 (__bzero): Enabled.
3293 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3294 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3295 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
3296 or __memset_avx2_unaligned_erms if processor has ERMS. Support
3297 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3298 (memset): Removed.
3299 (__memset_chk): Likewise.
3300 (MEMSET_SYMBOL): New.
3301 (libc_hidden_builtin_def): Replace __memset_sse2 with
3302 __memset_sse2_unaligned.
3303 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3304 __memset_chk_sse2 and __memset_chk_avx2 with
3305 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3306 Use __memset_chk_sse2_unaligned_erms or
3307 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
3308 __memset_chk_avx512_unaligned_erms and
3309 __memset_chk_avx512_unaligned.
3310
3311 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3312
3313 * math/gen-auto-libm-test.c (fp_format_desc): remove
3314 suffix member.
3315 (output_generic_value): Remove usage of suffix member,
3316 and the resulting unuse of the fp_format argument.
3317 (output_for_one_input_case): Remove unused fp_format
3318 parameter.
3319
3320 * math/auto-libm-test-out: Regenerate.
3321
3322 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3323 usage with TEST_COND_ibm128.
3324 (TEST_COND_flt_32): Remove.
3325 (TEST_COND_dbl_64): Remove.
3326 (TEST_COND_ldbl_96_intel): Remove.
3327 (TEST_COND_ldbl_96_m68k): Remove.
3328 (TEST_COND_ldbl_128): Remove.
3329
3330 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3331
3332 * auto-libm-test-in:
3333 Replace flt-32 usage with binary32.
3334 Replace dbl-64 usage with binary64.
3335 Replace ldbl-intel-96 usage with intel96.
3336 Replace ldbl-m68k-96 usage with m68k96.
3337 Replace ldbl-128ibm usage with ibm128.
3338 Replace ldbl-128 usage with binary128.
3339
3340 * auto-libm-test-out: Regenerate.
3341
3342 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3343
3344 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3345 (parse_ulps): Dynamically generate type name matching
3346 string from all_floats.
3347 (get_ulps): Generate the ulps as an array instead.
3348 (output_ulps): Dynamically compose the type based
3349 on the number of supported formats, and print
3350 the indices as type specific helper macros.
3351
3352 * math/libm-test.inc: Remove comment about CHOOSE.
3353 (ulp_data): Generate the type in libm-test-ulps.h.
3354 (ULP_IDX): New macro.
3355 (find_ulps): Update usage of max_ulp.
3356
3357 * math/test-double-vlen2.h (CHOOSE): Remove.
3358 * math/test-double-vlen4.h (CHOOSE): Likewise.
3359 * math/test-double-vlen8.h (CHOOSE): Likewise.
3360 * math/test-float.c (CHOOSE): Likewise.
3361 * math/test-float-finite.c (CHOOSE): Likewise.
3362 * math/test-double.c (CHOOSE): Likewise.
3363 * math/test-double-finite.c (CHOOSE): Likewise.
3364 * math/test-idouble.c (CHOOSE): Likewise.
3365 * math/test-ifloat.c (CHOOSE): Likewise.
3366 * math/test-ildoubl.c (CHOOSE): Likewise.
3367 * math/test-ldouble-finite.c (CHOOSE): Likewise.
3368 * math/test-ldouble.c (CHOOSE): Likewise.
3369
3370 * math/test-float.h (TEST_FLOAT): Remove.
3371 * math/test-double.h (TEST_DOUBLE): Likewise.
3372 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3373
3374 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3375
3376 * math/gen-libm-test.pl: (apply_lit): New subroutine.
3377 (parse_args): Strip C suffix from floating point literals
3378 typed with 'f' and wrap them with LIT().
3379
3380 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3381 (test_ff_f_data_nexttoward): Rename to
3382 (test_fj_f_data): New struct.
3383 (nexttoward_test_data): Relabel tests as
3384 TEST_fj_f instead of TEST_ff_f.
3385
3386 2016-06-08 Florian Weimer <fweimer@redhat.com>
3387
3388 Emacs bug 23726.
3389 * malloc/malloc.c (dumped_main_arena_start): Update comment.
3390 (__libc_realloc): Correct size computation for dumped fake mmapped
3391 chunks.
3392
3393 2016-06-07 Joseph Myers <joseph@codesourcery.com>
3394
3395 [BZ #20219]
3396 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3397 to itself.
3398 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3399
3400 [BZ #20218]
3401 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3402 to itself.
3403 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3404
3405 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
3406
3407 [BZ #20195]
3408 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3409 check to ...
3410 (init_cpu_features): Here.
3411
3412 2016-06-07 Carlos O'Donell <carlos@redhat.com>
3413
3414 [BZ #20214]
3415 * sysdeps/unix/sysv/linux/bits/in.h
3416 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3417 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3418 Define to 1.
3419 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3420 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3421 Define to 0.
3422 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3423 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3424
3425 2016-06-06 Carlos O'Donell <carlos@redhat.com>
3426
3427 [BZ #20198]
3428 * stdlib/Makefile (tests): Add tst-quick_exit, and
3429 tst-thread-quick_exit.
3430 [ifeq ($(have-cxx-thread_local),yes)]
3431 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3432 (CFLAGS-tst-thread-quick_exit.o): Likewise.
3433 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3434 (LDLIBS-tst-thread-quick_exit): Likewise.
3435 [ifneq ($(have-cxx-thread_local),yes)]
3436 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3437 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3438 If run_dtors is true call __call_tls_dtors.
3439 (exit): Call __run_exit_handlers with run_dtors set to true.
3440 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3441 definition.
3442 * stdlib/quick_exit.c (quick_exit): Remove function.
3443 (__new_quick_exit): New function.
3444 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3445 function.
3446 * stdlib/tst-quick_exit.cc: New file.
3447 * stdlib/tst-thread-quick_exit.cc: New file.
3448 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3449 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3450 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3451 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3452 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3453 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3454 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3455 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3456 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3457 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3458 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3459 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3460 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3461 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3462 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3463 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3468 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3469 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3470 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3471 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3472 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3475 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3476 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3477 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3478
3479 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
3480
3481 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3482 a typo in comments.
3483
3484 2016-06-06 Joseph Myers <joseph@codesourcery.com>
3485
3486 [BZ #20213]
3487 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3488 argument to itself.
3489 * math/libm-test.inc (asin_test_data): Add sNaN tests.
3490
3491 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3492
3493 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3494 required flags.
3495 (CFLAGS-pwritev64.c): Likewise.
3496 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3497 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3498 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3499 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3500 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3501 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3502 syscall from auto-generation.
3503 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3504 [WORDSIZE == 64] (pwritev64): Remove macro.
3505 [!PWRITEV] (PWRITEV): Likewise.
3506 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3507 [!PWRITEV] (PWRITE): Likewise.
3508 [!PWRITEV] (OFF_T): Likewise.
3509 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3510 (LO_HI_LONG): Remove macro.
3511 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3512 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3513 (PWRITEV): Remove macro.
3514 (PWRITEV_REPLACEMENTE): Likewise.
3515 (PWRITE): Likewise.
3516 (OFF_T): Likewise.
3517 (pwritev64): New function.
3518 * nptl/tst-cancel4.c (tf_writev): Add test.
3519
3520 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3521 required flags.
3522 (CFLAGS-preadv64.c): Likewise.
3523 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3524 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3525 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3526 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3527 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3528 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3529 syscall from auto-generation.
3530 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3531 [WORDSIZE == 64] (preadv64): Remove macro.
3532 [!PREADV] (PREADV): Likewise.
3533 [!PREADV] (PREADV_REPLACEMENT): Likewise.
3534 [!PREADV] (PREAD): Likewise.
3535 [!PREADV] (OFF_T): Likewise.
3536 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3537 (LO_HI_LONG): Remove macro.
3538 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3539 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3540 (PREADV): Remove macro.
3541 (PREADV_REPLACEMENTE): Likewise.
3542 (PREAD): Likewise.
3543 (OFF_T): Likewise.
3544 (preadv64): New function.
3545 * nptl/tst-cancel4.c (tf_preadv): Add test.
3546
3547 2016-06-06 Joseph Myers <joseph@codesourcery.com>
3548
3549 [BZ #20212]
3550 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3551 argument to itself.
3552 * math/libm-test.inc (acos_test_data): Add sNaN tests.
3553
3554 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3555
3556 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3557 New symbol defined as libc_hidden_def.
3558 (strcasestr): Became a weak alias to __strcasestr.
3559 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3560 according to multi-arch support. Move __stpncpy hidden
3561 definition from here to...
3562 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
3563 symbol stpncpy.
3564 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3565 libc_hidden_builtin_def.
3566 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3567 memset symbol to use when multi-arch support is available.
3568
3569 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3570
3571 * dlfcn/tst-rec-dlopen.c: Include string.h.
3572
3573 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3574
3575 * manual/install.texi: Remove mention of --without-tls
3576 * INSTALL: Regenerate.
3577
3578 2016-06-05 Florian Weimer <fweimer@redhat.com>
3579
3580 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3581 Remove.
3582 (call_function, interposed_malloc_called): New variables.
3583 (malloc): New function.
3584 (do_test): Do not change malloc hooks. Initialize malloc. Set
3585 and clear call_function as needed.
3586
3587 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
3588
3589 * include/wchar.h (__wmemset): Use __typeof.
3590
3591 2016-06-03 Carlos O'Donell <carlos@redhat.com>
3592
3593 * include/wchar.h (__wmemset): Declare function without typeof.
3594
3595 2016-06-03 Joseph Myers <joseph@codesourcery.com>
3596
3597 [BZ #20205]
3598 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3599 exponent when incrementing negative subnormal with low mantissa
3600 word zero.
3601 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3602 Add another test.
3603
3604 2016-06-03 Florian Weimer <fweimer@redhat.com>
3605
3606 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3607 __wmemset instead of wmemset.
3608
3609 2016-06-02 Carlos O'Donell <carlos@redhat.com>
3610
3611 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3612 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3613 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3614 __USE_KERNEL_IPV6_DEFS to 0.
3615 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3616 Update comment.
3617
3618 2016-06-01 Florian Weimer <fweimer@redhat.com>
3619
3620 [BZ #19861]
3621 Do not use IFUNC resolver with potentially unrelocated symbol.
3622 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3623 (DEFINE_FORK): Remove macro and inline definition.
3624 (fork_alias): Renamed from fork_ifunc.
3625 (__fork_alias): Renamed from __fork_ifunc.
3626
3627 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
3628
3629 [BZ 19653]
3630 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3631 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3632
3633 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3634
3635 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3636 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3637 i386-linux-gnu).
3638 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3639 Set to no.
3640 * sysdeps/mach/hurd/configure: Refresh.
3641
3642 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3643
3644 [BZ #20178]
3645 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3646 on failure instead of exit.
3647
3648 2016-05-30 Roland McGrath <roland@hack.frob.com>
3649
3650 [BZ #3629]
3651 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3652 of POSIX.1-2008.
3653
3654 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3655
3656 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3657 Use PLT entry for calling _hurd_self_sigstate.
3658
3659 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
3660
3661 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3662 available logical processors with SMT level type sharing L2
3663 cache for Intel processors.
3664
3665 2016-05-27 Joseph Myers <joseph@codesourcery.com>
3666
3667 [BZ #20160]
3668 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3669 argument to itself before returning the result.
3670 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3671 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3672 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3674 Likewise.
3675 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3676 Likewise.
3677 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3678 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3679 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3680 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3681 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3682 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3683
3684 [BZ #20160]
3685 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3686 argument to itself before returning the result.
3687 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3688 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3689 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3690 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3691 Likewise.
3692 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3693 Likewise.
3694 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3695 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3696 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3697 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3698 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3699 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3700
3701 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3702
3703 * libm-test.inc: Replace usage of M_El with
3704 (lit_e): New macro.
3705
3706 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3707
3708 * libm-test.inc: Replace usage of M_PI_4l with
3709 (lit_pi_4_d): New macro.
3710
3711 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3712
3713 * libm-test.inc: Replace usage of M_PIl with
3714 (lit_pi): New macro.
3715
3716 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3717
3718 * libm-test.inc: Replace usage of M_PI2l with
3719 (lit_pi_2_d): New macro.
3720
3721 * math/test-double.h (LITM): New macro.
3722 * math/test-float.h (LITM): Likewise.
3723 * math/test-ldouble.h (LITM): Likewise.
3724
3725 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3726
3727 * libm-test.inc (M_PI_34l): Rename to
3728 (lit_pi_3_m_4_d): New Macro.
3729 (M_PI_34_LOG10El): Rename to
3730 (lit_pi_3_m_4_ln10_m_d): New Macro.
3731 (M_PI2_LOG10El): Rename to
3732 (lit_pi_2_ln10_m_d): New Macro.
3733 (M_PI4_LOG10El): Rename to
3734 (lit_pi_4_ln10_m_d): New Macro.
3735 (M_PI_LOG10El): Rename to
3736 (lit_pi_ln10_d): New Macro.
3737
3738 2016-05-27 Joseph Myers <joseph@codesourcery.com>
3739
3740 [BZ #20157]
3741 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3742 determine whether to negate low half if [_ARCH_PPCGR], and integer
3743 comparison otherwise.
3744 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3745 determine whether to negate low half.
3746
3747 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3748 (NO_TEST_INLINE_DOUBLE): Likewise.
3749 (TEST_COND_x86_64): Likewise.
3750 (TEST_COND_x86): Likewise.
3751 (M_PI_6l): Likewise.
3752
3753 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3754
3755 * math/libm-test.inc:
3756 (TEST_FLOAT): Change usage to TEST_COND_binary32.
3757 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3758 (TEST_LDOUBLE): Update usage to evaluate as true if
3759 the guarded tests match the property being tested.
3760 (LDBL_MAX_EXP): Change to MAX_EXP.
3761 (LDBL_MIN_EXP): Change to MIN_EXP.
3762 (LDBL_MANT_DIG): Change to MANT_DIG, except for
3763 nexttoward tests.
3764
3765 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3766
3767 * math/libm-test.inc:
3768 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3769 (TYPE_MIN): Likewise.
3770 (TYPE_TRUE_MIN): Likewise.
3771 (TYPE_MAX): Likewise.
3772 (MIN_EXP): Likewise.
3773 (MAX_EXP): Likewise.
3774 (MANT_DIG): Likewise.
3775
3776 (FSTR_MAX): New macro.
3777 (__CONCATX): Likewise.
3778 (QTYPE_STR): Likewise.
3779 (TEST_COND_binary32): Likewise.
3780 (TEST_COND_binary64): Likewise.
3781 (TEST_COND_binary128): Likewise.
3782 (TEST_COND_ibm128): Likewise.
3783 (TEST_COND_intel96): Likewise.
3784 (TEST_COND_m68k96): Likewise.
3785
3786 (TEST_COND_flt_32): Redefine as equivalent format test macro.
3787 (TEST_COND_dbl_64): Likewise.
3788 (TEST_COND_ldbl_96_intel): Likewise.
3789 (TEST_COND_ldbl_96_m68k): Likewise.
3790 (TEST_COND_ldbl_128): Likewise.
3791 (TEST_COND_ldbl_128ibm): Likewise.
3792
3793 (plus_zero): Redefine using LIT macro.
3794 (minus_zero): Likewise.
3795 (plus_infty): Redefine as (INF).
3796 (minux_infty): Redefine as (-INF).
3797 (max_value): Redefine as TYPE_MAX.
3798 (min_value): Redefine as TYPE_MIN.
3799 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
3800
3801 (print_float): Refactor to use snprintf to convert FLOAT values
3802 to string. This brings it closer to dropin replacement of strtof
3803 for the TS 18661 defined types.
3804 (update_stats): Likewise.
3805 (print_complex_function_ulps): Likewise.
3806 (print_max_error): Likewise.
3807 (print_complex_max_error): Likewise.
3808 (check_float_internal): Likewise.
3809
3810 * math/test-float.h (PREFIX): New macro.
3811 (LIT): Likewise.
3812 (TYPE_STR): Likewise.
3813 (FTOSTR): Likewise.
3814
3815 * math/test-double.h (PREFIX): New macro.
3816 (LIT): Likewise.
3817 (TYPE_STR): Likewise.
3818 (FTOSTR): Likewise.
3819
3820 * math/test-ldouble.h (PREFIX): New macro.
3821 (LIT): Likewise.
3822 (TYPE_STR): Likewise.
3823 (FTOSTR): Likewise.
3824
3825 2016-05-27 Joseph Myers <joseph@codesourcery.com>
3826
3827 [BZ #20156]
3828 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
3829 to itself when zero or not finite.
3830 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
3831 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3832 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
3833 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3834
3835 2016-05-26 Joseph Myers <joseph@codesourcery.com>
3836
3837 [BZ #20153]
3838 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
3839 x * x + x for infinities and NaNs.
3840
3841 [BZ #20151]
3842 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
3843 argument to itself before returning result.
3844 (__ieee754_y0l): Likewise.
3845 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3846 (__ieee754_y1l).
3847
3848 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
3849 (atan_test_data): Likewise.
3850 (ceil_test_data): Likewise.
3851 (cos_test_data): Likewise.
3852 (cosh_test_data): Likewise.
3853 (erf_test_data): Likewise.
3854 (exp2_test_data): Likewise.
3855 (fabs_test_data): Likewise.
3856 (floor_test_data): Likewise.
3857 (ilogb_test_data): Likewise.
3858 (j0_test_data): Likewise.
3859 (j1_test_data): Likewise.
3860 (jn_test_data): Likewise.
3861 (lgamma_test_data): Likewise.
3862 (lrint_test_data): Likewise.
3863 (llrint_test_data): Likewise.
3864 (logb_test_data): Likewise.
3865 (lround_test_data): Likewise.
3866 (llround_test_data): Likewise.
3867 (nearbyint_test_data): Likewise.
3868 (rint_test_data): Likewise.
3869 (round_test_data): Likewise.
3870 (sin_test_data): Likewise.
3871 (sincos_test_data): Likewise.
3872 (sinh_test_data): Likewise.
3873 (sqrt_test_data): Likewise.
3874 (tan_test_data): Likewise.
3875 (tanh_test_data): Likewise.
3876 (tgamma_test_data): Likewise.
3877 (trunc_test_data): Likewise.
3878 (y0_test_data): Likewise.
3879 (y1_test_data): Likewise.
3880 (yn_test_data): Likewise.
3881
3882 * math/libm-test.inc: Update comment about NaN testing.
3883 (TEST_SNAN): New macro.
3884 (snan_value): Likewise.
3885 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3886 (fpclassify_test_data): Add sNaN tests.
3887 (isfinite_test_data): Likewise.
3888 (isinf_test_data): Likewise.
3889 (isnan_test_data): Likewise.
3890 (isnormal_test_data): Likewise.
3891 (issignaling_test_data): Likewise.
3892 (signbit_test_data): Likewise.
3893 * math/gen-libm-test.pl (%beautify): Add snan_value.
3894 (show_exceptions): Add argument $test_snan.
3895 (parse_args): Handle snan_value as non-finite. Update call to
3896 show_exceptions.
3897 * math/Makefile (libm-test-no-inline-cflags): Add
3898 -fsignaling-nans.
3899
3900 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3901
3902 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3903 (CFLAGS-oldsendmsg.c): Add rule.
3904 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3905 Correct recvmsg symbol name.
3906 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3907 Likewise.
3908
3909 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3910
3911 * sysdeps/unix/sysv/linux/Makefile
3912 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3913 oldsendmmsg.
3914 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3915 sendmmsg.
3916 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3917 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3918 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3919 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3921 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3922 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3924 Likewise.
3925 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3926 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3927 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3928 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3929 iovlen and controllen fields to adjust to POSIX specification.
3930 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3931
3932 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3933 and change to correct expected type.
3934 (msghdr.msg_controllen): Likewise.
3935 (cmsghdr.cmsg_len): Likewise.
3936 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3937 expected POSIX assumption about the size.
3938 (msghdr.msg_controllen): Likewise.
3939 (msghdr.__glibc_reserved1): Likewise.
3940 (msghdr.__glibc_reserved2): Likewise.
3941 (cmsghdr.cmsg_len): Likewise.
3942 (cmsghdr.__glibc_reserved1): Likewise.
3943 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3944 Add ptw-oldrecvmsg and ptw-oldsendmsg.
3945 (CFLAGS-sendmsg.c): Remove rule.
3946 (CFLAGS-recvmsg.c): Likewise.
3947 (CFLAGS-oldsendmsg.c): Add rule.
3948 (CFLAGS-oldrecvmsg.c): Likewise.
3949 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3950 recvmsg and sendmsg.
3951 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3952 Likewise.
3953 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3954 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3955 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3956 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3957 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3958 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3959 Likewise.
3960 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3961 Likewise.
3962 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3963 Likewise.
3964 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3965 Likewise.
3966 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3967 Likewise.
3968 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3969 Likewise.
3970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3971 (GLIBC_2.24): Likewise.
3972 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3973 Likewise.
3974 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3975 Likewise.
3976 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3977 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3978 Likewise.
3979 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3980 Likewise.
3981 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3982 Likewise.
3983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3984 (GLIBC_2.24): Likewise.
3985 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3986 Likewise.
3987 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3988 Likewise.
3989 * sysdeps/unix/sysv/linux/Makefile
3990 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3991 (CFLAGS-sendmsg.c): Add rule.
3992 (CFLAGS-recvmsg.c): Likewise.
3993 (CFLAGS-oldsendmsg.c): Likewise.
3994 (CFLAGS-oldrecvmsg.c): Likewise.
3995 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3996 initialization.
3997 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3998 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3999 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4000 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4001 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4002 iovlen and controllen fields to adjust to POSIX specification.
4003 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4004 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4005 added recvmsg and sendmsg.
4006 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4007 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4008 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4009 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4010 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4011 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4012 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4013 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4014 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4015 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4016 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4017 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4019 Likewise.
4020 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4022 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4023 Likewise.
4024 Likewise.
4025 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4026 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4027 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4028 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4029 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4030 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4032 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4034 Likewise.
4035 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4036 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4037
4038 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4039 from auto-generation.
4040 (sendmsg): Likewise.
4041 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4042 (sendmsg): Likewise.
4043 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4044 (sendmsg): Likewise.
4045 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4046 (sendmsg): Likewise.
4047 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4048 (sendmsg): Likewise.
4049 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4050 (sendmsg): Likewise.
4051 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4052 Likewise.
4053 (sendmsg): Likewise.
4054 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4055 (sendmsg): Likewise.
4056 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4057 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4058 Remove.
4059 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4060 Likewise.
4061 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4062 Undefine.
4063 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4064 Likewise.
4065 * sysdeps/unix/sysv/linux/kernel-features.h
4066 (__ASSUME_SENDMSG_SYSCALL): Define.
4067 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4068 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4069 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4070 Remove.
4071 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4072 Likewise.
4073 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4074 Undefine.
4075 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4076 Likewise.
4077 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4078 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4079 Remove.
4080 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4081 Likewise.
4082 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4083 Undefine.
4084 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4085 Likewise.
4086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4087 (__ASSUME_SENDMSG_SYSCALL): Undefine.
4088 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4089 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4090 (__ASSUME_SENDMSG_SYSCALL): Likewise.
4091 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4092 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4093 (__ASSUME_SENDMSG_SYSCALL): Likewise.
4094 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4095
4096 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4097
4098 * stdlib/gen-tst-strtod-round.c: Add backslash to
4099 compile command in comment.
4100 (printfp): Remove the literal suffix, and define an infinite
4101 value as INF to avoid expansion clash with INFINITY.
4102 (round_str): Remove the literal suffix.
4103 (round_for_all): Likewise, remove the now duplicate ldbl-64
4104 entry, and remove some magic constants.
4105
4106 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4107 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
4108 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4109 (_CONCAT): New macro.
4110 (CONCAT): Likewise.
4111 (CHOOSE_ld): Likewise.
4112 (CHOOSE_f): Likewise.
4113 (CHOOSE_d): Likewise.
4114 (FTYPE_MEMBER): Likewise.
4115 (BOOL_MEMBER): Likewise.
4116 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4117 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4118 (_XNTRY): Likewise.
4119 (XNTRY): Likewise.
4120 (_ENTRY): Likewise.
4121 (ENTRY): Likewise.
4122 (test_exactness): Generate members via macro.
4123 (test_results): Likewise.
4124 (test): Update members.
4125 (TEST): Redefine using new macros.
4126 (INF): New macro.
4127 (fetestmodes): New structure.
4128 (do_test): Refactor to be type generic.
4129 (test_in_one_mode): Refactor duplicate code into
4130 (GEN_ONE_TEST): New macro.
4131
4132 * stdlib/tst-strtod-round-data.h: Regenerate.
4133
4134 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4135 Extend to pass additional arbitrary parameters to
4136 generators.
4137
4138 2016-05-25 Joseph Myers <joseph@codesourcery.com>
4139
4140 [BZ #15479]
4141 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4142 floating-point state after first floating-point operation on
4143 input. Restore full floating-point state instead of just rounding
4144 mode.
4145 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4146 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4147 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4148 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4149 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4150
4151 [BZ #15479]
4152 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4153 floating-point state after first floating-point operation on
4154 input. Restore full floating-point state instead of just rounding
4155 mode.
4156 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4157 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4158 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4159 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4160 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4161
4162 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4163
4164 [BZ #19727]
4165 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4166 valid high surrogate.
4167 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4168 of an utf16 surrogate.
4169 * iconv/gconv_simple.c (BODY): Likewise.
4170 * iconvdata/bug-iconv12.c: New file.
4171 * iconvdata/Makefile (tests): Add bug-iconv12.
4172
4173 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4174
4175 [BZ #19726]
4176 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4177 outptrp in case of an illegal input.
4178 * iconv/tst-iconv6.c: New file.
4179 * iconv/Makefile (tests): Add tst-iconv6.
4180
4181 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4182
4183 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4184 an error in case of a value in range of an utf16 low surrogate.
4185
4186 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4187
4188 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4189 an error in case of a value in range of an utf16 low surrogate.
4190
4191 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4192
4193 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4194 Move to ...
4195 * sysdeps/s390/Makefile: ... here.
4196 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4197 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4198 (BRANCH_ON_COUNT): New define.
4199 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4200 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4201 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4202 run on s390-32, too.
4203 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4204 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4205 run on s390-32, too.
4206 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4207 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4208 run on s390-32, too.
4209
4210 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4211
4212 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4213 etf3eh or new vector loop-variant.
4214
4215 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4216
4217 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4218 etf3eh or new vector loop-variant.
4219
4220 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4221
4222 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4223 or new vector loop-variant.
4224
4225 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4226
4227 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4228 Rename to TR_LOOP and usage of tr instead of troo instruction.
4229
4230 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4231
4232 * sysdeps/s390/multiarch/gconv_simple.c: New File.
4233 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4234
4235 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4236
4237 * sysdeps/s390/multiarch/8bit-generic.c: New File.
4238 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4239 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4240 New override define.
4241 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4242
4243 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4244
4245 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4246 * sysdeps/s390/configure.ac: Add test for S390 vector register
4247 support in gcc.
4248 * sysdeps/s390/configure: Regenerated.
4249
4250 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4251
4252 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4253 Install file from $(objpfx)gconv-modules.
4254 ($(objpfx)gconv-modules): Concatenate architecture specific file
4255 in variable sysdeps-gconv-modules and gconv-modules in src dir.
4256 * sysdeps/s390/gconv-modules: New file.
4257 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4258 Deleted.
4259 ($(objpfx)gconv-modules-s390): Deleted.
4260 (sysdeps-gconv-modules): New variable.
4261
4262 2016-05-24 Joseph Myers <joseph@codesourcery.com>
4263
4264 [BZ #15479]
4265 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4266 of immediate operand to rounding instruction.
4267 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4268 Likewise.
4269 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4270 Likewise.
4271 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4272 Likewise.
4273
4274 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4275
4276 * math/libm-test.inc (MIN_EXP): Directly define as
4277 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4278
4279 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4280
4281 * math/libm-test.inc (MANT_DIG): Directly define as
4282 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4283
4284 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4285
4286 * stdlib/gen-tst-strtod-round.c (main):
4287 Change usage to more closely match the generated
4288 output. Add usage and compilation instructions.
4289 (string_to_fp): Add and use FILE* parameter as
4290 output target.
4291 (print_fp): Likewise.
4292 (round_str): Likewise.
4293 (round_for_all): Likewise.
4294 * stdlib/tst-strtod-round.c (tests): Move into
4295 * stdlib/tst-strtod-round-data.h: New file.
4296
4297 2016-05-24 Joseph Myers <joseph@codesourcery.com>
4298
4299 [BZ #15479]
4300 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4301 (__round): Do not force "inexact" exception.
4302 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4303 variable.
4304 (__round): Do not force "inexact" exception.
4305 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4306 (__roundf): Do not force "inexact" exception.
4307 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4308 (__roundl): Do not force "inexact" exception.
4309 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4310 (__roundl): Do not force "inexact" exception.
4311 * math/libm-test.inc (round_test_data): Do not allow spurious
4312 "inexact" exceptions.
4313
4314 [BZ #15479]
4315 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4316 exception in comment.
4317 (huge): Remove variable.
4318 (__floor): Do not force "inexact" exception.
4319 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4320 "inexact" exception in comment.
4321 (huge): Remove variable.
4322 (__floor): Do not force "inexact" exception.
4323 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4324 exception in comment.
4325 (huge): Remove variable.
4326 (__floorf): Do not force "inexact" exception.
4327 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4328 exception in comment.
4329 (huge): Remove variable.
4330 (__floorl): Do not force "inexact" exception.
4331
4332 [BZ #15479]
4333 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4334 exception in comment.
4335 (huge): Remove variable.
4336 (__ceil): Do not force "inexact" exception.
4337 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4338 "inexact" exception in comment.
4339 (huge): Remove variable.
4340 (__ceil): Do not force "inexact" exception.
4341 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4342 (__ceilf): Do not force "inexact" exception.
4343 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4344 exception in comment.
4345 (huge): Remove variable.
4346 (__ceill): Do not force "inexact" exception.
4347
4348 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
4349
4350 * config.h.in (BIND_NOW): New.
4351 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
4352 * configure: Regenerated.
4353 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4354 indirect branch via the GOT slot.
4355
4356 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4357
4358 [BZ #19765]
4359 * sysdeps/s390/mempcpy.S: New File.
4360 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4361 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4362 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4363 Add mempcpy variants.
4364 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4365 (memcpy): Adjust to be usable from mempcpy entry point.
4366 (__memcpy_mvcle): Likewise.
4367 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4368 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4369 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4370 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4371 (__memcpy_z10): Likewise.
4372 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4373
4374 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4375
4376 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4377 Remove __GI_ symbol.
4378 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4379 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4380 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4381 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4382 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4383 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4384
4385 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4386
4387 * sysdeps/s390/s390-64/memcpy.S (memcpy):
4388 Use cghi instead of chi to compare 64bit value.
4389
4390 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4391
4392 * sysdeps/s390/s390-32/memcpy.S (memcpy):
4393 Jump to 1MB check before executing mvc-loop.
4394
4395 2016-05-24 Florian Weimer <fweimer@redhat.com>
4396
4397 [BZ #6527]
4398 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4399 unconditionally.
4400 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4401
4402 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4403
4404 * stdlib/tst-strtod6.c (do_test): Use new type generic
4405 invocation of the test function.
4406 (test): Refactor into ...
4407 (TEST_STRTOD): New macro base function.
4408
4409 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4410
4411 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4412 (TEST_STRTOD): New macro.
4413 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4414
4415 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4416
4417 * stdlib/tst-strtod6.c (do_test): Use new type generic
4418 invocation of the test function.
4419 (test): Refactor into ...
4420 (TEST_STRTOD): New macro base function.
4421
4422 2016-05-23 Florian Weimer <fweimer@redhat.com>
4423
4424 CVE-2016-4429
4425 [BZ #20112]
4426 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4427 payload.
4428
4429 2016-05-23 Florian Weimer <fweimer@redhat.com>
4430
4431 [BZ #20111]
4432 * bits/sockaddr.h (_SS_SIZE): Define.
4433 * bits/socket.h (_SS_SIZE): Remove.
4434 (_SS_PADSIZE): Adjust to account for all padding.
4435 (struct sockaddr_storage): Update comment. Avoid implicit
4436 padding.
4437 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4438 (_SS_PADSIZE): Adjust to account for all padding.
4439 (struct sockaddr_storage): Update comment. Avoid implicit
4440 padding.
4441 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4442 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4443 (_SS_PADSIZE): Adjust to account for all padding.
4444 (struct sockaddr_storage): Update comment. Avoid implicit
4445 padding.
4446 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4447 __SS_SIZE is 126 in this version.
4448 * inet/tst-sockaddr.c: New file.
4449 * inet/Makefile (tests): Add tst-sockaddr.c
4450 (tst-sockaddr.c): Compile with non-strict aliasing.
4451
4452 2016-05-23 Joseph Myers <joseph@codesourcery.com>
4453
4454 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4455 [XPG3 || XPG4].
4456 (NL_ARGMAX): Also expect for [XPG3].
4457 (NL_LANGMAX): Likewise.
4458 (NL_MSGMAX): Likewise.
4459 (NL_NMAX): Likewise.
4460 (NL_SETMAX): Likewise.
4461 (NL_TEXTMAX): Likewise.
4462 (NZERO): Likewise.
4463 (TMP_MAX): Likewise.
4464 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4465 variable.
4466
4467 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4468 (PF_MAX): Update value.
4469 (AF_KCM): New macro.
4470 (SOL_NETBEUI): Likewise.
4471 (SOL_LLC): Likewise.
4472 (SOL_DCCP): Likewise.
4473 (SOL_NETLINK): Likewise.
4474 (SOL_TIPC): Likewise.
4475 (SOL_RXRPC): Likewise.
4476 (SOL_PPPOL2TP): Likewise.
4477 (SOL_BLUETOOTH): Likewise.
4478 (SOL_PNPIPE): Likewise.
4479 (SOL_RDS): Likewise.
4480 (SOL_IUCV): Likewise.
4481 (SOL_CAIF): Likewise.
4482 (SOL_ALG): Likewise.
4483 (SOL_NFC): Likewise.
4484 (SOL_KCM): Likewise.
4485 (MSG_BATCH): New enum value and macro.
4486
4487 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
4488
4489 [BZ #18185]
4490 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4491 sharing L2 cache to 2 for Knights Landing.
4492
4493 2016-05-20 Joseph Myers <joseph@codesourcery.com>
4494
4495 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4496 (FTW_DP): Do not expect for [XPG3 || XPG4].
4497 (FTW_SL): Do not expect for [XPG3].
4498 (FTW_SLN): Likewise.
4499 (FTW_PHYS): Likewise.
4500 (FTW_MOUNT): Likewise.
4501 (FTW_DEPTH): Likewise.
4502 (FTW_CHDIR): Likewise.
4503 (nftw): Likewise.
4504 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4505 variable.
4506
4507 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
4508
4509 * manual/errno.texi: Fix various typos & grammar errors.
4510
4511 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
4512
4513 * manual/intro.texi: Fix duplicated typo.
4514
4515 2016-05-19 Joseph Myers <joseph@codesourcery.com>
4516
4517 [BZ #13304]
4518 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4519 <float.h>, <math_private.h> and <stdlib.h>.
4520 (add_split): New function.
4521 (mul_split): Likewise.
4522 (ext_val): New typedef.
4523 (store_ext_val): New function.
4524 (mul_ext_val): New function.
4525 (compare): New function.
4526 (add_split_ext): New function.
4527 (__fmal): After checking for Inf, NaN and zero, compute result as
4528 an exact sum of scaled double values in round-to-nearest before
4529 adding those up and adjusting for other rounding modes.
4530 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4531 tests of fma.
4532 * math/auto-libm-test-out: Regenerated.
4533
4534 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
4535
4536 [BZ #20119]
4537 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4538 processor level type mask for CPUID with EAX == 11.
4539
4540 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
4541
4542 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4543 logical threads if the HTT bit is 0.
4544 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4545 (index_cpu_HTT): Likewise.
4546 (reg_HTT): Likewise.
4547
4548 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
4549
4550 [BZ #20115]
4551 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4552 Remove alignments on jump targets.
4553
4554 2016-05-19 Joseph Myers <joseph@codesourcery.com>
4555
4556 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4557 (getpwent): Likewise.
4558 (setpwent): Likewise.
4559 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4560 variable.
4561
4562 * conform/data/search.h-data (insque): Do not expect for [XPG3].
4563 (remque): Likewise.
4564 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4565 variable.
4566
4567 2016-05-18 Joseph Myers <joseph@codesourcery.com>
4568
4569 * math/libm-test.inc: Update comment not to refer to signs of NaNs
4570 not being tested.
4571
4572 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
4573
4574 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4575 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
4576 call.
4577 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4578 (__condvar_cleanup1): Likewise.
4579
4580 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
4581
4582 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4583 New
4584 (__pthread_unwind): Renamed to ...
4585 (PTHREAD_UNWIND): This.
4586 (__pthread_enable_asynccancel): Replace
4587 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4588
4589 2016-05-18 Joseph Myers <joseph@codesourcery.com>
4590
4591 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4592 (CLONE_NEWCGROUP): New macro.
4593
4594 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4595 (Q_GETNEXTQUOTA): New macro.
4596
4597 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
4598
4599 [BZ #19907]
4600 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4601 buffer updated by the previous run.
4602 * string/test-memcpy.c (do_one_test): Likewise.
4603 * benchtests/bench-memmove.c (do_one_test): Add a comment.
4604 * string/test-memmove.c (do_one_test): Likewise.
4605
4606 2016-05-17 Joseph Myers <joseph@codesourcery.com>
4607
4608 [BZ #20094]
4609 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4610 not [__USE_XOPEN].
4611 (unlockpt): Likewise.
4612 (ptsname): Likewise.
4613 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4614 variable.
4615
4616 [BZ #20076]
4617 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4618 instead of [__USE_UNIX98].
4619 (S_ISSOCK): Likewise.
4620 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4621 variable.
4622
4623 [BZ #20074]
4624 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4625 [__USE_POSIX].
4626 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4627 variable.
4628
4629 [BZ #20051]
4630 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4631 (ttyslot): Do not declare.
4632 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4633 (ttyslot): New prototype.
4634 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4635 variable.
4636 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4637
4638 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4639
4640 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4641
4642 2016-05-13 Florian Weimer <fweimer@redhat.com>
4643
4644 Fix race condition in tst-mallocfork2, use fewer resources.
4645 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4646 to current process group.
4647 (signal_sender): Yield in the non-sleeping case.
4648
4649 2016-05-13 Joseph Myers <joseph@codesourcery.com>
4650
4651 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4652 (ecvt): Likewise.
4653 (fcvt): Likewise.
4654 (gcvt): Likewise.
4655 (getsubopt): Likewise.
4656 (grantpt): Likewise.
4657 (initstate): Likewise.
4658 (l64a): Likewise.
4659 (mktemp): Likewise.
4660 (mkstemp): Likewise.
4661 (ptsname): Likewise.
4662 (random): Likewise.
4663 (realpath): Likewise.
4664 (setstate): Likewise.
4665 (srandom): Likewise.
4666 (ttyslot): Likewise.
4667 (unlockpt): Likewise.
4668 (valloc): Likewise.
4669
4670 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4671 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4672 variable.
4673
4674 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
4675
4676 [BZ #20072]
4677 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4678 init_cpu_features only if SHARED is defined.
4679 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4680
4681 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
4682
4683 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4684 non-inclusive caches on Intel processors.
4685
4686 2016-05-13 Florian Weimer <fweimer@redhat.com>
4687
4688 * malloc/malloc.c (dumped_main_arena_start)
4689 (dumped_main_arena_end): New variables.
4690 (DUMPED_MAIN_ARENA_CHUNK): New macro.
4691 (do_check_chunk): Skip dumped fake mmapped chunks.
4692 (munmap_chunk): Likewise.
4693 (__libc_free): Do not adjust statistics for fake mmapped chunks.
4694 (__libc_realloc): Adjust hardening check. Always copy dumped fake
4695 mmapped chunks.
4696 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4697 Mark dumped chunks as using mmap. Update dumped_main_arena_start
4698 and dumped_main_arena_end to cover the dumped heap.
4699
4700 2016-05-12 Joseph Myers <joseph@codesourcery.com>
4701
4702 * conform/data/time.h-data (getdate_err): Do not expect for
4703 [XPG3].
4704 (getdate): Likewise.
4705 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4706 variable.
4707
4708 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4709 (F_ULOCK): Likewise.
4710 (F_TEST): Likewise.
4711 (F_TLOCK): Likewise.
4712 (useconds_t): Likewise.
4713 (intptr_t): Do not expect for [XPG3] or [XPG4].
4714 (brk): Do not expect for [XPG3]
4715 (fchown): Likewise.
4716 (fchdir): Likewise.
4717 (ftruncate): Likewise.
4718 (getdtablesize): Likewise.
4719 (gethostid): Likewise.
4720 (getpagesize): Likewise.
4721 (getpgid): Likewise.
4722 (getsid): Likewise.
4723 (getwd): Likewise.
4724 (lchown): Likewise.
4725 (lockf): Likewise.
4726 (readlink): Likewise.
4727 (sbrk): Likewise.
4728 (setpgrp): Likewise.
4729 (setregid): Likewise.
4730 (setreuid): Likewise.
4731 (symlink): Likewise.
4732 (sync): Likewise.
4733 (truncate): Likewise.
4734 (ualarm): Likewise.
4735 (usleep): Likewise.
4736 (vfork): Likewise.
4737 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4738 variable.
4739
4740 [BZ #20054]
4741 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4742 not [__USE_UNIX98].
4743 * conform/data/unistd.h-data (gethostname): Do not expect for
4744 [XPG3].
4745
4746 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4747 [!POSIX] (S_IFBLK): Likewise.
4748 [!POSIX] (S_IFCHR): Likewise.
4749 [!POSIX] (S_IFIFO): Likewise.
4750 [!POSIX] (S_IFREG): Likewise.
4751 [!POSIX] (S_IFDIR): Likewise.
4752 [!POSIX] (S_IFLNK): Likewise.
4753 [!POSIX] (S_IFSOCK): Likewise.
4754 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4755 variable.
4756 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4757
4758 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
4759
4760 * sysdeps/aarch64/memset.S (__memset):
4761 Rewrite of optimized memset.
4762
4763 2016-05-12 Florian Weimer <fweimer@redhat.com>
4764
4765 [BZ #19703]
4766 Partially async-signal-safe fork for single-threaded processes.
4767 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4768 variable. Do not acquire and reset/release malloc and libio locks
4769 in single-threaded processes.
4770 * malloc/tst-mallocfork2.c: New file.
4771 * malloc/Makefile (tests): Add it.
4772
4773 2016-05-12 Florian Weimer <fweimer@redhat.com>
4774
4775 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4776 argument. Use scratch buffer instead of extend_alloca.
4777 (gethosts): Use scratch buffer instead of extend_alloca.
4778 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
4779 extend_alloca.
4780 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
4781
4782 2016-05-11 Joseph Myers <joseph@codesourcery.com>
4783
4784 [BZ #20055]
4785 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
4786 instead of [__USE_UNIX98].
4787 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
4788 [__USE_UNIX98].
4789 * conform/data/termios.h-data (tcgetsid): Do not expect for
4790 [XPG3].
4791 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
4792 variable.
4793 (test-xfail-XPG4/termios.h/conform): Likewise.
4794
4795 2016-05-11 Florian Weimer <fweimer@redhat.com>
4796
4797 Do not use mcheck in localedef.
4798 * locale/programs/localedef.c (turn_on_mcheck)
4799 (__malloc_initialize_hook): Remove.
4800
4801 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4802
4803 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
4804 * sysdeps/s390/s390-64/Makefile: Likewise.
4805
4806 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
4807
4808 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
4809 Remove ifunc-defines.sym.
4810 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
4811 Likewise.
4812 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
4813 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4814 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
4815 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
4816 rtld-global-offsets.sym.
4817 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
4818 * sysdeps/x86/cpu-features-offsets.sym: This.
4819 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
4820 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
4821
4822 2016-05-10 Joseph Myers <joseph@codesourcery.com>
4823
4824 [BZ #20073]
4825 * io/sys/stat.h (fchmod): Declare for
4826 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
4827 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
4828 variable.
4829
4830 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4831 [XPG3] (S_IFSOCK): Likewise.
4832 [XPG3] (S_ISVTX): Likewise.
4833 [XPG3] (S_ISLNK): Likewise.
4834 [XPG3] (S_ISSOCK): Likewise.
4835 [XPG3] (fchmod): Likewise.
4836 [XPG3] (lstat): Likewise.
4837 [XPG3] (mknod): Likewise.
4838
4839 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
4840 [XPG3]. Expect type long and XFAIL for [XPG4].
4841 (st_blocks): Likewise.
4842
4843 [BZ #20044]
4844 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
4845 (pthread_atfork): New prototype.
4846 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
4847 variable.
4848
4849 [BZ #20043]
4850 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4851 prototype.
4852
4853 2016-05-10 Florian Weimer <fweimer@redhat.com>
4854
4855 [BZ #20017]
4856 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4857 gmtime.
4858
4859 2016-05-10 Florian Weimer <fweimer@redhat.com>
4860
4861 [BZ #19994]
4862 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4863 flag in _res.options.
4864
4865 2016-05-09 Joseph Myers <joseph@codesourcery.com>
4866
4867 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4868 [XPG3 || XPG4].
4869 (blksize_t): Likewise.
4870 (clockid_t): Likewise.
4871 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4872 variable.
4873 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4874
4875 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
4876
4877 * sysdeps/unix/sysv/linux/s390/init-first.c:
4878 Add VDSO_SYMBOL(getcpu).
4879 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4880 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4881 Add VDSO_SYMBOL(getcpu).
4882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4883 New define HAVE_GETCPU_VSYSCALL.
4884 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4885
4886 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
4887
4888 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4889 instead of <sysdeps/x86_64/cacheinfo.c>.
4890 * sysdeps/x86_64/cacheinfo.c: Moved to ...
4891 * sysdeps/x86/cacheinfo.c: Here.
4892
4893 2016-05-04 Florian Weimer <fweimer@redhat.com>
4894
4895 * malloc/malloc-internal.h: Adjust header file guard.
4896
4897 2016-05-04 Florian Weimer <fweimer@redhat.com>
4898
4899 [BZ #19787]
4900 * inet/getnameinfo.c (check_sprintf_result): New function.
4901 (CHECKED_SNPRINTF): New macro.
4902 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4903 to the host buffer.
4904 (gni_host_local): Use checked_copy to copy the host name.
4905 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4906 (gni_serv_local): Use checked_copy to copy the service name.
4907 (getnameinfo): Remove unnecessary truncation of result buffers.
4908
4909 2016-05-04 Florian Weimer <fweimer@redhat.com>
4910
4911 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4912 in case of inet_ntop failure.
4913
4914 2016-05-04 Florian Weimer <fweimer@redhat.com>
4915
4916 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4917 avoid long lines.
4918 (gni_host_inet_numeric): Likewise. Reduce scope of local
4919 variables.
4920 (gni_host_inet, gni_host_local): Add comment.
4921 (gni_host): Add comment. Use temporary to avoid long lines.
4922
4923 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4924
4925 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4926 registers specifiers where general purpose registers specifiers should
4927 have been used.
4928
4929 2016-05-04 Florian Weimer <fweimer@redhat.com>
4930
4931 [BZ #19779]
4932 CVE-2016-1234
4933 Avoid copying names of directory entries.
4934 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4935 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4936 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4937 (struct readdir_result): New type.
4938 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4939 (GL_READDIR): New macros.
4940 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4941 (convert_dirent, convert_dirent64): New functions.
4942 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
4943 convert_dirent64. Adjust references to the readdir result.
4944 * sysdeps/unix/sysv/linux/i386/glob64.c:
4945 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4946 * posix/bug-glob2.c (LONG_NAME): Define.
4947 (filesystem): Add LONG_NAME.
4948 (my_DIR): Increase the size of room_for_dirent.
4949
4950 2016-05-03 Joseph Myers <joseph@codesourcery.com>
4951
4952 [BZ #20041]
4953 * misc/sys/select.h (__need_timespec): Only define if
4954 [__USE_XOPEN2K].
4955 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4956 variable.
4957 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4958 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4959 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4960
4961 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4962 Segher Boessenkool <segher@gcc.gnu.org>
4963
4964 [BZ #20004]
4965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4966 (__novec_swapcontext): Add missing load.
4967
4968 2016-05-02 Joseph Myers <joseph@codesourcery.com>
4969
4970 [BZ #20023]
4971 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4972 <time.h>.
4973 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4974 variable.
4975 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4976
4977 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4978
4979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4980 flags CLONE_VM compare.
4981
4982 2016-05-02 Florian Weimer <fweimer@redhat.com>
4983
4984 [BZ #20031]
4985 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4986 completely empty.
4987
4988 2016-05-02 Florian Weimer <fweimer@redhat.com>
4989
4990 [BZ #19573]
4991 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4992 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4993 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4994 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4995 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4996 (hesiod_free_list): Mark as hidden.
4997 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4998 res_set, res_get.
4999 * hesiod/hesiod.c: Remove unnecessary forward declarations.
5000 (init, __hesiod_res_get, __hesiod_res_set): Remove.
5001 (hesiod_init): Remove obsolete res_ninit call.
5002 (hesiod_end): Do not free resolver state. Do not invoke callback.
5003 (hesiod_bind): Do not call init.
5004 (get_txt_records): Use res_mkquery, res_send instead of
5005 res_nmkquery, res_nsend.
5006 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5007 instead of _nss_hesiod_init.
5008 (_nss_hesiod_initgroups_dyn): Likewise.
5009 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5010 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5011 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5012
5013 2016-05-02 Florian Weimer <fweimer@redhat.com>
5014
5015 * hesiod/hesiod_p.h (DEF_RHS): Remove.
5016 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5017
5018 2016-05-02 Florian Weimer <fweimer@redhat.com>
5019
5020 * hesiod/hesiod.h: Remove RCS keyword.
5021 * hesiod/hesiod_p.h: Likewise.
5022
5023 * hesiod/hesiod.c: Likewise.
5024
5025 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
5026
5027 [BZ #12450]
5028 * locale/iso-639.def: Add Samogitian/sgs.
5029
5030 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
5031
5032 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5033
5034 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5035
5036 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
5037 Carlos O'Donell <carlos@redhat.com>
5038
5039 [BZ #19072]
5040 * grp/Makefile (headers): Add grp-merge.h
5041 (routines): Add grp-merge.
5042 * grp/getgrgid_r.c: Include grp-merge.h.
5043 (DEEPCOPY_FN): Define.
5044 (MERGE_FN): Define.
5045 * grp/getgrname_r.c: Include grp-merge.h.
5046 (DEEPCOPY_FN): Define.
5047 (MERGE_FN): Define.
5048 * grp/grp-merge.c: New file.
5049 * grp/grp-merge.h: New file.
5050 * include/grp-merge.h: New file.
5051 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5052 __copy_grp@GLIBC_PRIVATE.
5053 * manual/nss.texi (Actions in the NSS configuration): Describe
5054 return, continue, and merge.
5055 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5056 (DEEPCOPY_FN): Define.
5057 (MERGE_FN): Define.
5058 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5059 (DEEPCOPY_FN): Define.
5060 (MERGE_FN): Define.
5061 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5062 [!MERGE_FN]: Define __merge_einval.
5063 (CHECK_MERGE): Define.
5064 (REENTRANT_NAME): Process merge if do_merge is true.
5065 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5066 (__nss_getent_r): Likewise.
5067 * nss/nsswitch.c (nss_parse_service_list): Likewise.
5068 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5069
5070 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5071
5072 [BZ #20012]
5073 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5074 length to calculate the buffer to read.
5075 (fmemopen_write): Set the buffer position based on bytes written.
5076 (fmemopen_seek): Return EINVAL for invalid whence modes.
5077
5078 [BZ #19957]
5079 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5080 tst-getpid2.
5081 (test): Add tst-clone2.
5082 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5083 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5084 pid/tid fields for CLONE_VM.
5085 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5086 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5087 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5088 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5089 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5090 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5091 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5092 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5094 Likewise.
5095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5096 Likewise.
5097 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5098 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5099 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5100 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5101 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5102 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5103 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5104 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5105
5106 2016-04-29 Florian Weimer <fweimer@redhat.com>
5107
5108 [BZ #19642]
5109 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5110 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5111 (gni_serv_local, gni_serv): New functions extracted from
5112 getnameinfo.
5113 (getnameinfo): Call gni_host and gni_serv to perform the
5114 processing. Always free scratch buffer.
5115
5116 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5117
5118 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5119 remaining bytes in the dest string, with zeros.
5120
5121 2016-04-29 Florian Weimer <fweimer@redhat.com>
5122
5123 [BZ #20010]
5124 CVE-2016-3706
5125 * sysdeps/posix/getaddrinfo.c
5126 (convert_hostent_to_gaih_addrtuple): New function.
5127 (gethosts): Call convert_hostent_to_gaih_addrtuple.
5128 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5129 AF_INET data.
5130
5131 2016-04-29 Florian Weimer <fweimer@redhat.com>
5132
5133 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5134 callback function gl_readdir.
5135 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5136 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5137 (glob_in_dir): Remove len. Use strdup instead of malloc and
5138 memcpy to copy the name.
5139 * manual/pattern.texi (Calling Glob): Document requirements for
5140 implementations of the gl_readdir callback function.
5141 * manual/examples/mkdirent.c: New example.
5142 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5143 per the manual guidance.
5144 * posix/tst-gnuglob.c (my_readdir): Likewise.
5145
5146 2016-04-28 Joseph Myers <joseph@codesourcery.com>
5147
5148 [BZ #20014]
5149 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5150 not [__USE_POSIX].
5151 (getchar_unlocked): Likewise.
5152 (putc_unlocked): Likewise.
5153 (putchar_unlocked): Likewise.
5154 (flockfile): Likewise.
5155 (ftrylockfile): Likewise.
5156 (funlockfile): Likewise.
5157 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5158 variable.
5159 (test-xfail-XPG4/stdio.h/conform): Likewise.
5160
5161 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5162 Expect constant.
5163 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5164 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5165 variable.
5166 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5167 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5168
5169 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5170 [__USE_LARGEFILE64] (off64_t): Likewise.
5171 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5172 variable.
5173
5174 2016-04-28 Florian Weimer <fweimer@redhat.com>
5175
5176 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5177
5178 2016-04-28 Florian Weimer <fweimer@redhat.com>
5179
5180 * resolv/inet_addr.c: Reindent preprocessor conditionals.
5181 * resolv/res_init.c: Likewise.
5182 * resolv/res_mkquery.c: Likewise.
5183
5184 2016-04-28 Florian Weimer <fweimer@redhat.com>
5185
5186 * resolv/res_init.c (isascii): Do not define. Use definition in
5187 <ctype.h>.
5188 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5189 (LOG_AUTH): Remove.
5190 (SPRINTF): Remove, adjust caller.
5191 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5192
5193 2016-04-28 Florian Weimer <fweimer@redhat.com>
5194
5195 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5196 SUNSECURITY conditional.
5197 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5198
5199 2016-04-28 Florian Weimer <fweimer@redhat.com>
5200
5201 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5202 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5203 Remove BSD-related preprocessor conditionals.
5204 * conf/portability.h: Remove.
5205
5206 2016-04-28 Florian Weimer <fweimer@redhat.com>
5207
5208 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5209 * resolv/res_data.c: Likewise.
5210
5211 2016-04-28 Florian Weimer <fweimer@redhat.com>
5212
5213 * resolv/res_comp.c: Remove code conditional on __ultrix__.
5214 * resolv/res_data.c: Remove code conditional on ultrix.
5215
5216 2016-04-28 Florian Weimer <fweimer@redhat.com>
5217
5218 * resolv/res_init.c (RFC1535): Do not define. Remove
5219 RFC1535 preprocessor conditionals.
5220 * resolv/README: Update. Do not claim strict RFC 1535 compliance
5221 because there configuration options which make the resolver
5222 behavior different.
5223
5224 2016-04-28 Florian Weimer <fweimer@redhat.com>
5225
5226 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
5227 RESOLVSORT preprocessor conditionals.
5228 * resolv/nss_dns/dns-host.c: Likewise.
5229 * resolv/res_init.c: Likewise.
5230
5231 2016-04-28 Florian Weimer <fweimer@redhat.com>
5232
5233 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
5234 is never defined.
5235
5236 2016-04-28 Florian Weimer <fweimer@redhat.com>
5237
5238 * inet/inet_lnaof.c: Remove SCSS keyword.
5239 * inet/inet_mkadr.c: Likewise.
5240 * inet/inet_net.c: Likewise.
5241 * inet/inet_netof.c: Likewise.
5242 * inet/rcmd.c: Likewise.
5243 * inet/rexec.c: Likewise.
5244 * inet/ruserpass.c: Likewise.
5245
5246 2016-04-28 Florian Weimer <fweimer@redhat.com>
5247
5248 * resolv/inet_addr.c: Remove _LIBC conditionals.
5249 * resolv/res_data.c: Likewise.
5250 * resolv/res_init.c: Likewise.
5251 * resolv/res_mkquery.c: Likewise.
5252 * resolv/res_libc.c: Update comment.
5253 * resolv/README: Update.
5254
5255 2016-04-28 Florian Weimer <fweimer@redhat.com>
5256
5257 * resolv/gethnamaddr.c: Remove SCSS keyword.
5258 * resolv/herror.c: Likewise.
5259 * resolv/inet_addr.c: Likewise.
5260 * resolv/inet_net_ntop.c: Likewise.
5261 * resolv/inet_net_pton.c: Likewise.
5262 * resolv/inet_neta.c: Likewise.
5263 * resolv/inet_ntop.c: Likewise.
5264 * resolv/inet_pton.c: Likewise.
5265 * resolv/ns_date.c: Remove RCS keyword.
5266 * resolv/ns_name.c: Likewise.
5267 * resolv/ns_netint.c: Likewise.
5268 * resolv/ns_parse.c: Likewise.
5269 * resolv/ns_print.c: Likewise.
5270 * resolv/ns_samedomain.c: Likewise.
5271 * resolv/ns_ttl.c: Likewise.
5272 * resolv/nsap_addr.c: Likewise.
5273 * resolv/res_comp.c: Remove SCSS and RCS keyword.
5274 * resolv/res_data.c: Remove RCS keyword.
5275 * resolv/res_debug.c: Remove SCSS and RCS keyword.
5276 * resolv/res_init.c: Likewise.
5277 * resolv/res_mkquery.c: Likewise.
5278 * resolv/res_query.c: Likewise.
5279 * resolv/res_send.c: Likewise.
5280
5281 2016-04-27 Joseph Myers <joseph@codesourcery.com>
5282
5283 * conform/data/stdio.h-data (fdopen): Expect also for
5284 [XPG3 || XPG4].
5285
5286 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5287 (fseeko): Likewise.
5288 (ftello): Likewise.
5289 (ftrylockfile): Likewise.
5290 (funlockfile): Likewise.
5291 (getc_unlocked): Likewise.
5292 (getchar_unlocked): Likewise.
5293 (putc_unlocked): Likewise.
5294 (putchar_unlocked): Likewise.
5295
5296 2016-04-27 Florian Weimer <fweimer@redhat.com>
5297
5298 [BZ #19868]
5299 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5300 DNS packet syntax checks (which were not needed before). Skip
5301 over non-PTR records.
5302
5303 2016-04-27 Florian Weimer <fweimer@redhat.com>
5304
5305 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5306 definition. Include <stddef.h> instead.
5307
5308 2016-04-27 Florian Weimer <fweimer@redhat.com>
5309
5310 [BZ #19831]
5311 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5312 function.
5313 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5314 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5315
5316 2016-04-27 Florian Weimer <fweimer@redhat.com>
5317
5318 [BZ #19862]
5319 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5320 (getanswer_r): Do not call syslog.
5321 (gaih_getanswer_slice): Likewise.
5322 * resolv/gethnamaddr.c (AskedForGot): Remove.
5323 (getanswer): Do not call syslog.
5324 (gethostbyaddr): Likewise.
5325
5326 2016-04-27 Joseph Myers <joseph@codesourcery.com>
5327
5328 * conform/data/signal.h-data (union sigval): Expect also if
5329 [XOPEN2K].
5330 (struct sigevent): Likewise.
5331 (SIGEV_NONE): Likewise.
5332 (SIGEV_SIGNAL): Likewise.
5333 (SIGEV_THREAD): Likewise.
5334 (SIGRTMIN): Likewise.
5335 (SIGRTMAX): Likewise.
5336 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5337 variable.
5338 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5339
5340 2016-04-27 Florian Weimer <fweimer@redhat.com>
5341
5342 [BZ #19830]
5343 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5344 (gaih_getanswer_slice): Likewise.
5345 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5346 Also check for availability of RR metadata.
5347
5348 2016-04-27 Florian Weimer <fweimer@redhat.com>
5349
5350 [BZ #19825]
5351 * resolv/res_send.c (send_vc): Remove early *resplen2
5352 initialization. Set *resplen2 on socket error. Call
5353 close_and_return_error for other errors.
5354
5355 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
5356
5357 * sysdeps/unix/sysv/linux/netiucv/iucv.h
5358 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5359 (SCM_IUCV_TRGCLS): New define.
5360
5361 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5362
5363 [BZ #20005]
5364 * libio/fmemopen.c (fmemopen_write): Update internal position after
5365 write.
5366 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5367 * stdio-common/tst-fmemopen4.c: New file..
5368
5369 2016-04-26 Joseph Myers <joseph@codesourcery.com>
5370
5371 [BZ #19996]
5372 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5373 not [__USE_XOPEN2K].
5374 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5375 variable.
5376
5377 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5378 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5379 variable.
5380
5381 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5382 [__USE_XOPEN2K8].
5383 [__USE_LARGEFILE64] (off64_t): Likewise.
5384 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5385 variable.
5386
5387 2016-04-25 Joseph Myers <joseph@codesourcery.com>
5388
5389 [BZ #19989]
5390 * libio/stdio.h (cuserid): Do not declare if
5391 [__USE_XOPEN2K && !__USE_GNU].
5392 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5393 variable.
5394
5395 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5396
5397 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5398 (sysdep_routines): Add P8 and PPC64 strcspn targets.
5399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5400 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5401 ifunc'ed strcspn.
5402 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5403 [EALIGN]: Removed.
5404 [END]: Likewise
5405 [STRSPN]: Define instead of the above to control symbol name.
5406 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5407 New file.
5408 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5409 Likewise.
5410 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5411 Likewise.
5412 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5413 Likewise.
5414 * sysdeps/powerpc/powerpc64/power8/strspn.S:
5415 [INITIAL_MASK]: New macro.
5416 [STRCSPN]: Likewise.
5417 [UPDATE_MASK]: Likewise.
5418 [USE_AS_STRCSPN]: Lisewise.
5419
5420 2016-04-25 Florian Weimer <fweimer@redhat.com>
5421
5422 [BZ #19931]
5423 * stdio-common/tst-vfprintf-width-prec.c: New file.
5424 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5425 (tests-special): Add tst-vfprintf-width-prec-mem.out.
5426 (generated): Add mtrace-related files.
5427 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5428 (tst-%-mem.out): New pattern rule, replaces
5429 tst-printf-bz18872-mem.out.
5430 * stdio-common/vfprintf.c (vfprintf): When handling a precision
5431 specifier, deallocate any previously allocated work buffer.
5432
5433 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5434
5435 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5436 Add nop before __startcontext, add explaining comments.
5437
5438 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
5439
5440 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5441 any more. Notably since IPV6_PKTINFO has been reintroduced with a
5442 completely different API.
5443
5444 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5445 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5446 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5447 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5448 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5449 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5450 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5451 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5452 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5453 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5454
5455 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
5456
5457 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5458
5459 2016-04-23 Mike Frysinger <vapier@gentoo.org>
5460
5461 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5462 when it is the default of 0.
5463
5464 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5465
5466 * sysdeps/powerpc/locale-defines.sym: Add new macros.
5467 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5468 (sysdep_routines): Add new strcasestr targets.
5469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5470 (__libc_ifunc_impl_list): Likewise.
5471 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5472 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5473 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5474 * sysdeps/powerpc/powerpc64/power8/Makefile:
5475 New file to add strcasestr-ppc64 to sysdep_routines.
5476 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5477 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5478
5479 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
5480
5481 * benchtests/Makefile (wcsmbs-benchset): Include only for
5482 native builds and runs.
5483 (LOCALES): Likewise.
5484 (bench-build): Build timing-type here instead of the bench
5485 target. Generate locale only for native builds.
5486 * benchtests/README: Add note for cross-building.
5487
5488 * benchtests/Makefile (bench-clean): Clean up extra-objs.
5489
5490 * benchtests/README: Update README to include instructions on
5491 using bench-build.
5492
5493 * Makefile.in (bench-build): New target.
5494 * Rules (PHONY): Add bench-build target.
5495 * benchtests/Makefile (bench): Depend on bench-build.
5496 (bench-build): New target.
5497
5498 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5499
5500 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5501 profil_reply_port.
5502 (profile_waiter): Do not initialize profil_reply_port.
5503 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5504 frequency instead of tick length in us.
5505
5506 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
5507
5508 [BZ #18712]
5509 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5510 (__old_mempcpy_small): Likewise.
5511 (__old_strcpy_small): Likewise.
5512 (__old_stpcpy_small): Likewise.
5513 (__old_strpbrk_c2): Fix compat symbol name.
5514 (__old_strpbrk_c3): Likewise.
5515 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5516 (__mempcpy_small): Remove.
5517 (__strcpy_small): Remove.
5518 (__stpcpy_small): Remove.
5519
5520 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
5521
5522 [BZ #19400]
5523 * locale/iso-639.def: Add the Talossan/tzl language.
5524
5525 2016-04-16 Mike Frysinger <vapier@gentoo.org>
5526
5527 [BZ #16983]
5528 * locale/programs/ld-address.c (address_finish): Update postal_fmt
5529 comment. Add "ln" to strchr check on postal_fmt.
5530
5531 2016-04-16 Mike Frysinger <vapier@gentoo.org>
5532
5533 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5534 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
5535 tel_dom_fmt.
5536
5537 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5538
5539 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5540 (sysdep_routines): Added __strlen_power8.
5541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5542 __strlen_power8 entry.
5543 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5544 Implementation for POWER8.
5545 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5546 for __strlen_power8.
5547 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5548 Implementation for POWER8.
5549
5550 2016-04-15 Mike Frysinger <vapier@gentoo.org>
5551
5552 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5553
5554 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
5555
5556 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5557 Goldmont and Airmont processors.
5558
5559 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
5560
5561 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5562 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5563 (__STRING2_SMALL_GET32): Remove.
5564 (memset): Remove.
5565 (__memset_1): Remove.
5566 (__memset_gc): Remove.
5567 (__mempcpy): Remove.
5568 (mempcpy): Remove.
5569 (__mempcpy_args): Remove.
5570 (strchr): Remove.
5571 (strcpy): Remove.
5572 (strcpy_args): Remove.
5573 (__stpcpy_args): Remove.
5574 (__strcmp_cc): Remove.
5575 (__strcmp_gc): Remove.
5576 (strstr): Remove.
5577
5578 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
5579
5580 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5581 * nis/nis_call.c (nis_server_cache_add): Likewise.
5582
5583 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5584
5585 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5586
5587 2016-04-14 Florian Weimer <fweimer@redhat.com>
5588
5589 * malloc/arena.c (__malloc_fork_lock_parent)
5590 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5591 internal_function attribute.
5592
5593 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
5594
5595 * stdio-common/printf_fp.c (__printf_fp_l):
5596 Rename ___printf_fp_l to __printf_fp_l and
5597 remove strong alias. Use libc_hidden_def instead
5598 of ldbl_hidden_def macro.
5599
5600 2016-04-14 Florian Weimer <fweimer@redhat.com>
5601
5602 Remove malloc hooks from fork handler. They are no longer needed
5603 because malloc runs right before fork, and no malloc calls from
5604 other fork handlers are not possible anymore.
5605 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5606 declarations.
5607 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5608 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5609 (atfork_recursive_cntr): Remove.
5610 (__malloc_fork_lock_parent): Do not override malloc hooks and
5611 thread_arena.
5612 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5613 thread_arena.
5614 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
5615 thread_arena instead of save_arena.
5616
5617 2016-04-14 Florian Weimer <fweimer@redhat.com>
5618
5619 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5620 (thread_atfork, thread_atfork_static): Remove.
5621 * sysdeps/mach/hurd/malloc-machine.h:
5622 (thread_atfork, thread_atfork_static): Remove.
5623
5624 2016-04-14 Florian Weimer <fweimer@redhat.com>
5625
5626 [BZ #19431]
5627 Run the malloc fork handler as late as possible to avoid deadlocks.
5628 * malloc/malloc-internal.h: New file.
5629 * malloc/malloc.c: Include it.
5630 * malloc/arena.c (ATFORK_MEM): Remove.
5631 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5632 Update comment.
5633 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5634 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5635 Remove outdated comment.
5636 (ptmalloc_init): Do not call thread_atfork. Remove
5637 thread_atfork_static.
5638 * malloc/tst-malloc-fork-deadlock.c: New file.
5639 * Makefile (tests): Add tst-malloc-fork-deadlock.
5640 (tst-malloc-fork-deadlock): Link against libpthread.
5641 * manual/memory.texi (Aligned Memory Blocks): Update safety
5642 annotation comments.
5643 * sysdeps/nptl/fork.c (__libc_fork): Call
5644 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5645 __malloc_fork_unlock_child.
5646 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5647
5648 2016-04-14 Florian Weimer <fweimer@redhat.com>
5649
5650 [BZ #19613]
5651 Remove union wait.
5652 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5653 (w_stopsig, w_stopval): Remove.
5654 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5655 stat_loc argument.
5656 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5657 (__WAIT_STATUS_DEFN): Remove.
5658 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5659 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5660 (wait, wait3, wait4): Use int * for the stat_loc argument.
5661 * posix/wait.c (__wait): Likewise.
5662 * posix/wait3.c (__wait3): Likewise.
5663 * posix/wait4.c (__wait4): Likewise.
5664 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5665 (__WAIT_STATUS_DEFN): Remove.
5666 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5667 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5668 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5669 argument.
5670 * sysdeps/posix/wait.c (__libc_wait): Likewise.
5671 * sysdeps/posix/wait3.c (__wait3): Likewise.
5672 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5673 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5674 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5675 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5676 stat_loc argument.
5677 * manual/process.texi (BSD Wait Functions): Remove union wait.
5678
5679 2016-04-13 Andreas Schwab <schwab@suse.de>
5680
5681 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5682 (test-extras): Add tst-tlsalign-vars.
5683 * math/Makefile: Wrap long lines.
5684 (libm-vec-test-wrappers): Define.
5685 (test-extras): Add $(libm-vec-test-wrappers).
5686 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5687 * nss/Makefile (extra-test-objs): Add nss_test1.os.
5688 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5689 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5690 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5691 (extra-test-objs): Add corresponding objects.
5692
5693 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
5694
5695 [BZ #19928]
5696 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5697 New.
5698 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5699 times of shared cache size.
5700 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5701 (VMOVNT): New.
5702 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5703 (VMOVNT): Likewise.
5704 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5705 (VMOVNT): Likewise.
5706 (VMOVU): Changed to movups for smaller code sizes.
5707 (VMOVA): Changed to movaps for smaller code sizes.
5708 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5709 comments.
5710 (PREFETCH): New.
5711 (PREFETCH_SIZE): Likewise.
5712 (PREFETCHED_LOAD_SIZE): Likewise.
5713 (PREFETCH_ONE_SET): Likewise.
5714 Rewrite to use forward and backward loops, which move 4 vector
5715 registers at a time, to support overlapping addresses and use
5716 non temporal store if size is above the threshold and there is
5717 no overlap between destination and source.
5718
5719 2016-04-12 Alex Smith <alex.smith@imgtec.com>
5720
5721 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5722 Include dl-vdso.
5723 * sysdeps/unix/sysv/linux/mips/Versions: Add
5724 __vdso_clock_gettime.
5725 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5726 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5727 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5728 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5729 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5730 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5731 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5732 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5733 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5734
5735 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5736
5737 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5738 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5739 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5740 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5741 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5742 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5745 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5746 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5747 syscalls generation.
5748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5749 [__NR_pwrite64] (__NR_write): Remove define.
5750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5751 [__NR_pwrite64] (__NR_write): Remove define.
5752 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5753 Remove define.
5754 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5755 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5756 Remove define.
5757 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5758 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5759 Linux implementation as base.
5760 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5761
5762 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5763 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5764 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5765 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5768 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5770 syscall generation.
5771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5772 [__NR_pread64] (__NR_pread): Remove define.
5773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5774 [__NR_pread64] (__NR_pread): Likewise.
5775 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5776 define.
5777 (__libc_pread): Use SYSCALL_LL macro on offset argument.
5778 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
5779 Remove define.
5780 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
5781 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
5782 Linux implementation as base.
5783 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5784 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5785 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5786
5787 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5788 definition.
5789 (__ALIGNMENT_COUNT): Likewise.
5790 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
5791 (__ALIGNMENT_COUNT): Likewise.
5792 (SYSCALL_LL): New define.
5793 (SYSCALL_LL64): Likewise.
5794 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
5795 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
5796 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
5797 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
5798
5799 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5800 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
5801 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5802 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5803 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5804 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5805
5806 2016-04-11 Florian Weimer <fweimer@redhat.com>
5807
5808 [BZ #19865]
5809 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
5810 original buffer before retry.
5811
5812 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5813
5814 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
5815 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
5816 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
5817 GLRO(dl_auxv) list.
5818 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
5819 including <ldsodefs.h>.
5820 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
5821
5822 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
5823
5824 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
5825 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
5826 $(CPPFLAGS).
5827
5828 2016-04-09 Khem Raj <raj.khem@gmail.com>
5829
5830 [BZ #17950]
5831 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
5832 Add -mfpmath=387.
5833
5834 2016-04-09 Mike Frysinger <vapier@gentoo.org>
5835
5836 * sysdeps/i386/configure.ac: Change == to = when calling test.
5837 * sysdeps/x86_64/configure.ac: Likewise.
5838 * sysdeps/i386/configure: Regenerated.
5839 * sysdeps/x86_64/configure: Likewise.
5840
5841 2016-04-08 Mike Frysinger <vapier@gentoo.org>
5842
5843 [BZ #16137]
5844 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
5845 * benchtests/bench-strcoll.c (input_files): Likewise.
5846 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5847 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
5848 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
5849
5850 2016-04-08 Joseph Myers <joseph@codesourcery.com>
5851
5852 [BZ #19929]
5853 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5854 [__USE_XOPEN2K8 && !__USE_GNU].
5855 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5856 variable.
5857
5858 [BZ #19925]
5859 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5860 define if [!__USE_MISC && __USE_XOPEN2K].
5861 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5862 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5863 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5864 Likewise.
5865 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5866 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5867 variable.
5868 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5869
5870 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5871
5872 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5873 (sysdep_routines): Add new strspn targets.
5874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5875 (__libc_ifunc_impl_list): Add strspn.
5876 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5877 New file.
5878 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5879 Likewise.
5880 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5881 Likewise.
5882 * sysdeps/powerpc/powerpc64/power8/strspn.S:
5883 Likewise.
5884
5885 2016-04-07 Florian Weimer <fweimer@redhat.com>
5886
5887 * misc/hsearch_r.c: Include <limits.h>.
5888
5889 2016-04-07 Florian Weimer <fweimer@redhat.com>
5890
5891 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5892
5893 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
5894
5895 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5896 (MEMCPY_SYMBOL): New.
5897 (MEMPCPY_SYMBOL): Likewise.
5898 (MEMMOVE_CHK_SYMBOL): Likewise.
5899 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5900 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5901 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
5902 Provide alias for memcpy in libc.a and ld.so.
5903
5904 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
5905
5906 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5907 (MEMSET_CHK_SYMBOL): New. Define if not defined.
5908 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5909 Disabled fro now.
5910 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5911 symbols. Properly check USE_MULTIARCH on __memset symbols.
5912
5913 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
5914
5915 * benchtests/Makefile (string-benchset): Add memcpy-large,
5916 memmove-large and memset-large.
5917 * benchtests/bench-memcpy-large.c: New file.
5918 * benchtests/bench-memmove-large.c: Likewise.
5919 * benchtests/bench-memmove-large.c: Likewise.
5920 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5921
5922 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
5923
5924 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5925 32-bit displacement to avoid long nop between instructions.
5926
5927 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
5928
5929 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5930 a comment on VMOVU and VMOVA.
5931
5932 2016-04-04 Florian Weimer <fweimer@redhat.com>
5933
5934 [BZ #19633]
5935 Use specified locale for number formatting in strfmon_l.
5936 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5937 (__nl_lookup_word): New inline functions.
5938 * include/printf.h (__print_fp_l): Declare.
5939 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5940 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
5941 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5942 (___printf_fp): New function.
5943 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5944 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5945 * stdlib/tst-strfmon_l.c (do_test): New test.
5946 * stdlib/Makefile (tests): Add kt.
5947 (LOCALES): Build additional locales.
5948 (tst-strfmon_l.out): Require locales.
5949
5950 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
5951
5952 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5953 if not in libc.
5954 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5955 Likewise.
5956 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5957 Likewise.
5958 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5959 Likewise.
5960
5961 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
5962
5963 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5964 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5965 with unaligned_erms.
5966 (__memmove_erms): Skip if source == destination.
5967 (__memmove_unaligned_erms): Don't check source == destination
5968 first.
5969
5970 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
5971
5972 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5973 bit_arch_Fast_Copy_Backward for Intel Core proessors.
5974
5975 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5976
5977 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5978 * string/strspn.c (strspn): Likewise.
5979
5980 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
5981
5982 * benchtests/bench-memset.c (do_test): Support 64-byte
5983 alignment.
5984 (test_main): Test 64-byte alignment.
5985
5986 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
5987
5988 * benchtests/bench-memmove.c (test_main): Test 64-byte
5989 alignment.
5990
5991 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
5992
5993 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5994
5995 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5996
5997 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5998 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5999 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6000
6001 * string/strpbrk.c (strpbrk): Rewrite function.
6002 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6003 (__strpbrk_c2): Likewise.
6004 (__strpbrk_c3): Likewise.
6005 * string/string-inlines.c
6006 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6007 Likewise.
6008 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6009 Likewise.
6010
6011 * string/strspn.c (strcspn): Rewrite function.
6012 * string/bits/string2.h (strspn): Use __builtin_strcspn.
6013 (__strspn_c1): Remove inline function.
6014 (__strspn_c2): Likewise.
6015 (__strspn_c3): Likewise.
6016 * string/string-inlines.c
6017 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6018 compatibility symbol.
6019 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6020 Likewise.
6021 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6022 Likewise.
6023 * string/string-inlines.c: Include generic version.
6024
6025 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
6026 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6027
6028 * string/Version (libc): Add GLIBC_2.24.
6029 * string/strcspn.c (strcspn): Rewrite function.
6030 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6031 (__strcspn_c1): Remove inline function.
6032 (__strcspn_c2): Likewise.
6033 (__strcspn_c3): Likewise.
6034 * string/string-inline.c
6035 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6036 compatibility symbol.
6037 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6038 Likewise.
6039 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6040 Likewise.
6041 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6042
6043 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6044
6045 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6046 Use ahi instead of aghi to adjust stack pointer.
6047
6048 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6049
6050 [BZ #19853]
6051 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6052 TEST to take significant digits as second parameter.
6053 [TEST]: Redefine in terms of TEST_N taking 30
6054 significant digits.
6055 (do_test): Add test case to demonstrate precision
6056 failure in the ldbl-128ibm printf.
6057 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6058 (__mpn_extract_long_double): Carry 7 extra intermediate
6059 bits of precision to aide computing difference when
6060 signs differ.
6061
6062 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
6063
6064 [BZ #19881]
6065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6066 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6067 memset-avx512-unaligned-erms.
6068 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6069 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6070 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6071 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6072 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6073 __memset_sse2_unaligned_erms, __memset_erms,
6074 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6075 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6076 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6077 file.
6078 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6079 Likewise.
6080 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6081 Likewise.
6082 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6083 Likewise.
6084
6085 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
6086
6087 [BZ #19776]
6088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6089 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6090 memmove-avx512-unaligned-erms.
6091 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6092 (__libc_ifunc_impl_list): Test
6093 __memmove_chk_avx512_unaligned_2,
6094 __memmove_chk_avx512_unaligned_erms,
6095 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6096 __memmove_chk_sse2_unaligned_2,
6097 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6098 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6099 __memmove_avx512_unaligned_erms, __memmove_erms,
6100 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6101 __memcpy_chk_avx512_unaligned_2,
6102 __memcpy_chk_avx512_unaligned_erms,
6103 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6104 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6105 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6106 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6107 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6108 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6109 __mempcpy_chk_avx512_unaligned_erms,
6110 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6111 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6112 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6113 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6114 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6115 __mempcpy_erms.
6116 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6117 file.
6118 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6119 Likwise.
6120 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6121 Likwise.
6122 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6123 Likwise.
6124
6125 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6126
6127 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6128 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6129 (La_s390_64_regs): Likewise.
6130 (La_s390_32_retval): Append vector register lrv_v24.
6131 (La_s390_64_retval): Likeweise.
6132 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6133 Handle extended structs La_s390_32_regs and La_s390_32_retval.
6134 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6135 Handle extended structs La_s390_64_regs and La_s390_64_retval.
6136
6137 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6138
6139 [BZ #19916]
6140 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6141 to create a non-vector/vector version for _dl_runtime_resolve and
6142 _dl_runtime_profile. Move implementation to ...
6143 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6144 (_dl_runtime_resolve) Save and restore fpr/vrs.
6145 (_dl_runtime_profile) Save and restore vrs and fix some issues
6146 if _dl_call_pltexit is called.
6147 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6148 Choose the correct resolver function if running on a machine with vx.
6149 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6150 to create a non-vector/vector version for _dl_runtime_resolve and
6151 _dl_runtime_profile. Move implementation to ...
6152 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6153 (_dl_runtime_resolve) Save and restore fpr/vrs.
6154 (_dl_runtime_profile) Save and restore vrs and fix some issues
6155 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6156 Choose the correct resolver function if running on a machine with vx.
6157
6158 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6159
6160 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6161
6162 2016-03-31 Florian Weimer <fweimer@redhat.com>
6163
6164 [BZ #19509]
6165 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6166 skip_map != NULL.
6167 * elf/tst-dlsym-error.c: New file.
6168 * elf/Makefile (tests): Add tst-dlsym-error.
6169 (tst-dlsym-error): Link against libdl.
6170
6171 2016-03-29 Joseph Myers <joseph@codesourcery.com>
6172
6173 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6174 (__ASSUME_FUTIMESAT): Remove macro.
6175 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6176
6177 2016-03-29 Florian Weimer <fweimer@redhat.com>
6178
6179 [BZ #19879]
6180 CVE-2016-3075
6181 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6182 copy name.
6183
6184 2016-03-29 Florian Weimer <fweimer@redhat.com>
6185
6186 [BZ #19837]
6187 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6188 error if parse_line fails.
6189
6190 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
6191
6192 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6193 (index_cpu_ERMS): Likewise.
6194 (reg_ERMS): Likewise.
6195
6196 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
6197
6198 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6199 PER_LINUX_FDPIC): Add.
6200
6201 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
6202
6203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6204 memcpy-avx512-no-vzeroupper.
6205 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6206 to ...
6207 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6208 (MEMCPY): Don't define.
6209 (MEMCPY_CHK): Likewise.
6210 (MEMPCPY): Likewise.
6211 (MEMPCPY_CHK): Likewise.
6212 (MEMPCPY_CHK): Renamed to ...
6213 (__mempcpy_chk_avx512_no_vzeroupper): This.
6214 (MEMPCPY_CHK): Renamed to ...
6215 (__mempcpy_chk_avx512_no_vzeroupper): This.
6216 (MEMCPY_CHK): Renamed to ...
6217 (__memmove_chk_avx512_no_vzeroupper): This.
6218 (MEMCPY): Renamed to ...
6219 (__memmove_avx512_no_vzeroupper): This.
6220 (__memcpy_avx512_no_vzeroupper): New alias.
6221 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6222
6223 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
6224
6225 [BZ #18858]
6226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6227 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6228 and mempcpy-avx512-no-vzeroupper.
6229 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6230 New.
6231 (MEMPCPY): Likewise.
6232 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6233 (MEMPCPY_CHK): New.
6234 (MEMPCPY): Likewise.
6235 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6236 (MEMPCPY): Likewise.
6237 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6238 (MEMPCPY): Likewise.
6239 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6240 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6241 Likewise.
6242 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6243 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6244
6245 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
6246 Amit Pawar <Amit.Pawar@amd.com>
6247
6248 [BZ #19583]
6249 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6250 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6251 processors. Set Fast_Copy_Backward for AMD Excavator
6252 processors.
6253 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6254 New.
6255 (index_arch_Fast_Unaligned_Copy): Likewise.
6256 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6257 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6258
6259 2016-03-25 Florian Weimer <fweimer@redhat.com>
6260
6261 [BZ #19791]
6262 * resolv/res_send.c (close_and_return_error): New function.
6263 (send_dg): Initialize *resplen2 after reopen failure. Call
6264 close_and_return_error for error returns. On error paths without
6265 __res_iclose, initialze *resplen2 explicitly. Update comment for
6266 successful return.
6267
6268 2016-03-25 Florian Weimer <fweimer@redhat.com>
6269
6270 [BZ# 19860]
6271 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6272 zero if the compiler does not provide the AVX512F bit.
6273
6274 2016-03-24 Joseph Myers <joseph@codesourcery.com>
6275
6276 [BZ #19848]
6277 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6278 from 8 to 4.
6279 (__ieee754_powl): Compare integer exponent against 4 not 8.
6280 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6281 from 8 to 4.
6282 (__ieee754_powl): Compare integer exponent against 4 not 8.
6283 * math/auto-libm-test-in: Add more tests of pow.
6284 * math/auto-libm-test-out: Regenerated.
6285 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6287
6288 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
6289
6290 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6291 Make code unconditional.
6292 [!__NR_utimensat]: Remove conditional code.
6293 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6294 Make code unconditional.
6295 [!__NR_utimensat]: Remove conditional code.
6296 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6297 Make code unconditional.
6298 [!__NR_utimensat]: Remove conditional code.
6299
6300 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
6301
6302 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6303 Make code unconditional.
6304
6305 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
6306
6307 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6308 call-clobbered %eax on retry path.
6309 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6310
6311 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
6312
6313 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6314 Don't set %rcx twice before "rep movsb".
6315
6316 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
6317
6318 [BZ #19583]
6319 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6320 inline. Check family before setting family, model and
6321 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
6322 bits here.
6323 (init_cpu_features): Replace HAS_CPU_FEATURE and
6324 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6325 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
6326 for Intel processors with usable AVX2. Call get_common_indeces
6327 for other processors with family == NULL.
6328 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6329 (CPU_FEATURES_ARCH_P): Likewise.
6330 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6331 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6332
6333 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6334
6335 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6336 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6337 $(shared-thread-library) instead of hardcoding the path to libpthread.
6338
6339 2016-03-22 Joseph Myers <joseph@codesourcery.com>
6340
6341 * sysdeps/unix/sysv/linux/kernel-features.h
6342 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6343 * sysdeps/unix/sysv/linux/getdents.c
6344 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6345 [!have_no_getdents64_defined]: Likewise.
6346 (__GETDENTS): Remove __have_no_getdents64 conditional.
6347
6348 2016-03-21 Joseph Myers <joseph@codesourcery.com>
6349
6350 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6351 Remove macro.
6352 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6353 <kernel-features.h>.
6354 (signalfd) [__NR_signalfd4]: Make code unconditional.
6355 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6356
6357 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6358
6359 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6360 style.
6361
6362 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
6363
6364 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6365 (__pthread_enable_asynccancel): Use JUMPTARGET to call
6366 __pthread_unwind.
6367 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6368 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6369 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6370 (__condvar_cleanup1): Likewise.
6371
6372 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
6373
6374 [BZ #19822]
6375 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6376 move it to the final $@ location.
6377
6378 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6379
6380 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6381 access where posix_spawn success and pid argument is null.
6382 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6383 success case.
6384
6385 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
6386
6387 * sysdeps/mach/hurd/i386/c++-types.data: New file.
6388
6389 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6390
6391 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6392 and __fcntl.
6393 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6394 __fcntl only.
6395 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6396 adding attribute_hidden to __open and __fcntl.
6397
6398 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6399 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6400 depend on libc-modules.h,
6401 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6402
6403 2016-03-17 Joseph Myers <joseph@codesourcery.com>
6404
6405 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6406 Remove macro.
6407 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6408 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6409 entry.
6410
6411 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6412 Remove macro.
6413 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6414 include <kernel-features.h>.
6415 [!__ASSUME_FALLOCATE]: Remove conditional code.
6416 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6417
6418 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
6419
6420 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6421 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6422 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6423 (_ZGVdN4v_cos_avx2): Likewise.
6424 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6425 (_ZGVdN4v_cos): Likewise.
6426 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6427 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6428 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6429 (_ZGVdN4v_exp_avx2): Likewise.
6430 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6431 (_ZGVdN4v_exp): Likewise.
6432 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6433 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6434 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6435 (_ZGVdN4v_log_avx2): Likewise.
6436 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6437 (_ZGVdN4v_log): Likewise.
6438 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6439 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6440 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6441 (_ZGVdN4vv_pow_avx2): Likewise.
6442 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6443 (_ZGVdN4vv_pow): Likewise.
6444 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6445 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6446 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6447 (_ZGVdN4v_sin_avx2): Likewise.
6448 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6449 (_ZGVdN4v_sin): Likewise.
6450 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6451 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6452 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6453 (_ZGVdN4vvv_sincos_avx2): Likewise.
6454 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6455 (_ZGVdN4vvv_sincos): Likewise.
6456 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6457 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6458 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6459 (_ZGVbN4v_cosf_sse4): Likewise.
6460 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6461 (_ZGVdN8v_cosf_avx2): Likewise.
6462 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6463 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6464 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6465 (_ZGVbN4v_expf_sse4): Likewise.
6466 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6467 (_ZGVdN8v_expf_avx2): Likewise.
6468 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6469 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6470 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6471 (_ZGVbN4v_logf_sse4): Likewise.
6472 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6473 (_ZGVdN8v_logf_avx2): Likewise.
6474 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6475 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6476 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6477 (_ZGVbN4vv_powf_sse4): Likewise.
6478 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6479 (_ZGVdN8vv_powf_avx2): Likewise.
6480 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6481 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6482 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6483 (_ZGVbN4vvv_sincosf_sse4): Likewise.
6484 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6485 (_ZGVdN8vvv_sincosf_avx2): Likewise.
6486 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6487 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6488 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6489 (_ZGVbN4v_sinf_sse4): Likewise.
6490 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6491 (_ZGVdN8v_sinf_avx2): Likewise.
6492 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6493 Use JUMPTARGET to call callee.
6494 (WRAPPER_IMPL_SSE2_ff): Likewise.
6495 (WRAPPER_IMPL_SSE2_fFF): Likewise.
6496 (WRAPPER_IMPL_AVX): Likewise.
6497 (WRAPPER_IMPL_AVX_ff): Likewise.
6498 (WRAPPER_IMPL_AVX_fFF): Likewise.
6499 (WRAPPER_IMPL_AVX512): Likewise.
6500 (WRAPPER_IMPL_AVX512_ff): Likewise.
6501 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6502 Likewise.
6503 (WRAPPER_IMPL_SSE2_ff): Likewise.
6504 (WRAPPER_IMPL_SSE2_fFF): Likewise.
6505 (WRAPPER_IMPL_AVX): Likewise.
6506 (WRAPPER_IMPL_AVX_ff): Likewise.
6507 (WRAPPER_IMPL_AVX_fFF): Likewise.
6508 (WRAPPER_IMPL_AVX512): Likewise.
6509 (WRAPPER_IMPL_AVX512_ff): Likewise.
6510 (WRAPPER_IMPL_AVX512_fFF): Likewise.
6511
6512 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6513
6514 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6515 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6516 qualifier.
6517 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6518 internal_function qualifiers.
6519
6520 2016-03-15 Carlos O'Donell <carlos@redhat.com>
6521
6522 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6523 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6524 * math/atest-exp.c (exp_mpn): Mark chk unused.
6525 * math/atest-exp2.c (exp_mpn): Likwise.
6526 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6527 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6528
6529 2016-03-15 Joseph Myers <joseph@codesourcery.com>
6530
6531 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6532 Remove macro.
6533 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6534 <kernel-features.h>.
6535 [__NR_ppoll]: Make code unconditional.
6536 [!__ASSUME_PPOLL]: Remove conditional code.
6537
6538 * sysdeps/unix/sysv/linux/kernel-features.h
6539 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6540 (__ASSUME_ACCEPT4): Likewise.
6541 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6542 Define.
6543 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6544 Likewise.
6545 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6546 Likewise.
6547 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6548 Likewise.
6549 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6550 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6551 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6552 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6553 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6554 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6555 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6556 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6557 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6558 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6559 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6560 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6561 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6562 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6563 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6564 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6565 Likewise.
6566 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6567 Likewise.
6568 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6569 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6570 0x040300].
6571 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6572 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6573 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6574 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6575 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6576 0x030300].
6577 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6578 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6579 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6580 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6581 0x040300].
6582 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6583 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6584 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6585 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6586 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6587 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6588 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6589 0x030300].
6590 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6591 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6592 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6593 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6594 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6595 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6596 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6597 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6598 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6599 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6600 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6601 0x040300].
6602 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6603 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6604 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6605 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6606 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6607 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6608 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6609 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6610 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6611 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6612 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6613 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6614 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6615 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6616 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6617 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6618 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6619 Likewise.
6620 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6621 Likewise.
6622
6623 2016-03-15 Andreas Schwab <schwab@suse.de>
6624
6625 [BZ #19257]
6626 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6627 statp->_u._ext.nscount as loop count.
6628
6629 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
6630
6631 * math/test-signgam-finite-c99.c: Also #undef
6632 __LIBC_INTERNAL_MATH_INLINES.
6633 * math/test-signgam-main.c: Likewise.
6634
6635 2016-03-14 Joseph Myers <joseph@codesourcery.com>
6636
6637 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6638 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6639 (MADV_FREE): Likewise.
6640 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6641 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6642 EPOLLEXCLUSIVE.
6643
6644 2016-03-14 Carlos O'Donell <carlos@redhat.com>
6645
6646 * timezone/README: Remove mention of checktab.awk. Mention wiki
6647 SharedSourceFiles.
6648
6649 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
6650
6651 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6652 WUNTRACED.
6653
6654 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6655
6656 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6657 order to match the type of p when calling atomic_exchange_acq().
6658
6659 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6660
6661 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6662 cfi_offset calls.
6663 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6664 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6665 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6666 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6667 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6668
6669 2016-03-10 Carlos O'Donell <carlos@redhat.com>
6670
6671 * timezone/checktab.awk: Removed.
6672
6673 2016-03-10 Joseph Myers <joseph@codesourcery.com>
6674
6675 * manual/math.texi (Errors in Math Functions): Document relaxed
6676 accuracy goals for IBM long double.
6677 * math/libm-test.inc (test_exceptions): Always allow spurious
6678 "underflow" and "inexact" exceptions for IBM long double.
6679
6680 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
6681
6682 [BZ #19762]
6683 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6684 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6685 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6686 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6687 (bit_arch_*): This for feature array.
6688 (bit_*): Renamed to ...
6689 (bit_cpu_*): This for cpu array.
6690 (index_*): Renamed to ...
6691 (index_arch_*): This for feature array.
6692 (index_*): Renamed to ...
6693 (index_cpu_*): This for cpu array.
6694 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6695 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6696 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6697 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6698 bit_##name with index_cpu_##name and bit_cpu_##name.
6699 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6700 bit_##name with index_arch_##name and bit_arch_##name.
6701
6702 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
6703
6704 [BZ #19792]
6705 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6706 Terminate FDE before return label.
6707
6708 2016-03-09 Joseph Myers <joseph@codesourcery.com>
6709
6710 [BZ #19790]
6711 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6712 (rintl): Define as macro.
6713 [USE_AS_NEARBYINTL] (__rintl): Likewise.
6714 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6715 of fesetround. Ensure results are evaluated before end of scope.
6716 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6717 USE_AS_NEARBYINTL and include s_rintl.c.
6718 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6719 Disable exception traps in new environment.
6720 (libc_feholdsetround_ppc_ctx): Likewise.
6721
6722 2016-03-08 Roland McGrath <roland@hack.frob.com>
6723
6724 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6725 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6726 (tst_audit10_aux) [__AVX512F__]: ... here.
6727
6728 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
6729
6730 * include/sys/auxv.h: New file.
6731
6732 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
6733
6734 [BZ #19759]
6735 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6736
6737 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6738
6739 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6740 operand modifier.
6741 (feclearexcept): Likewise.
6742
6743 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6744
6745 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6746 to reflect the entire 32-bit HWCAP.
6747 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6748 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
6749
6750 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
6751
6752 [BZ #19783]
6753 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6754 $(test-via-rtld-prefix).
6755 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6756
6757 2016-03-08 Florian Weimer <fweimer@redhat.com>
6758
6759 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6760 union wait. Report any non-zero exit status as error.
6761
6762 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6763
6764 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6765 configured with --enable-hardcoded-path-in-tests.
6766
6767 2016-03-08 Joseph Myers <joseph@codesourcery.com>
6768
6769 [BZ #19677]
6770 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6771 (__ieee754_remainderl): Put zero low parts in canonical form.
6772 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6773 file. Based on
6774 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6775 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6776 with wrapper round test-fmodrem-ldbl-128ibm.c.
6777 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
6778 file.
6779 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
6780 Likewise.
6781 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6782 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
6783
6784 2016-03-07 Florian Weimer <fweimer@redhat.com>
6785
6786 [BZ #19610]
6787 * elf/ldconfig.c (opt_link): Update comment.
6788 (options): Update help string for option -X.
6789 (search_dir): Unlink stale symbolic link only if updating symbolic
6790 links.
6791 * elf/tst-ldconfig-X.sh: New file.
6792 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
6793 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
6794
6795 2016-03-07 Andreas Schwab <schwab@suse.de>
6796
6797 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
6798 needed arguments.
6799
6800 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
6801
6802 [BZ #15333]
6803 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
6804 to lstat64.
6805
6806 2016-03-07 Florian Weimer <fweimer@redhat.com>
6807
6808 * libio/filedoalloc.c (isatty): Remove.
6809 (local_isatty): Add comment. Call __isatty directly.
6810 (_IO_file_doallocate): Update comment. Assume _LIBC.
6811 * libio/wfiledoalloc.c (isatty): Remove.
6812 (_IO_wfile_doallocate): Update comment.
6813
6814 2016-03-07 Florian Weimer <fweimer@redhat.com>
6815
6816 [BZ #19269]
6817 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
6818 tst-audit4-aux.o.
6819 (tst-audit10): Depend on tst-audit10-aux.o.
6820 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
6821 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
6822 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
6823 instead of inline AVX code.
6824 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
6825 instead of inline AVX512 code.
6826 * sysdeps/x86_64/tst-audit4-aux.c: New file
6827 * sysdeps/x86_64/tst-audit10-aux.c: New file
6828
6829 [BZ #19648]
6830 * test-skeleton.c (main): Do not set RLIMIT_DATA.
6831
6832 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6833
6834 [BZ #14750]
6835 [BZ #10354]
6836 [BZ #18433]
6837 * include/sched.h (__clone): Add hidden prototype.
6838 (__clone2): Likewise.
6839 * include/unistd.h (__dup): Likewise.
6840 * posix/Makefile (tests): Add tst-spawn2.
6841 * posix/tst-spawn2.c: New file.
6842 * sysdeps/posix/dup.c (__dup): Add hidden definition.
6843 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
6844 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6845 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6846 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6847 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6848 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
6849 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6850 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6851 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6852 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6854 Likewise.
6855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6856 Likewise.
6857 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6858 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6859 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6860 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6861 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6862 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6863 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6864 * sysdeps/unix/sysv/linux/nptl-signals.h
6865 (____nptl_is_internal_signal): New function.
6866 * sysdeps/unix/sysv/linux/spawni.c: New file.
6867
6868 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6869 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6870 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6871 * posix/tst-execvp2.c (do_test): Likewise.
6872 * posix/tst-execvp3.c (do_test): Likewise.
6873 * posix/tst-execvp4.c (do_test): Likewise.
6874 * posix/tst-execvpe1.c: New file.
6875 * posix/tst-execvpe2.c: Likewise.
6876 * posix/tst-execvpe3.c: Likewise.
6877 * posix/tst-execvpe4.c: Likewise.
6878 * posix/tst-execvpe5.c: Likewise.
6879 * posix/tst-execvpe6.c: Likewise.
6880
6881 [BZ #19534]
6882 * posix/execl.c (execl): Remove dynamic memory allocation.
6883 * posix/execle.c (execle): Likewise.
6884 * posix/execlp.c (execlp): Likewise.
6885
6886 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
6887
6888 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6889 Replace .text with .text.avx512.
6890 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6891 Likewise.
6892
6893 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
6894
6895 * sysdeps/generic/libnsl.abilist: New file.
6896 * sysdeps/generic/libutil.abilist: New file.
6897
6898 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
6899
6900 [BZ #19762]
6901 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6902 HAS_ARCH_FEATURE with Fast_Rep_String.
6903 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6904 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6905 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6906 Likewise.
6907 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6908 Likewise.
6909 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6910 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6911 Likewise.
6912 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6913 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6914 Likewise.
6915
6916 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
6917
6918 [BZ #19745]
6919 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6920 with *%rax in call.
6921
6922 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
6923
6924 [BZ #19745]
6925 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6926 with *__libc_start_main@GOTPCREL(%rip) in call.
6927
6928 2016-03-04 Roland McGrath <roland@hack.frob.com>
6929
6930 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6931 inside conditional for nonempty $(CXX).
6932
6933 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6934 nonempty.
6935
6936 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6937 to test for empty $(CXX) rather than $(CXX) of "no".
6938
6939 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
6940
6941 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6942
6943 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
6944 H.J. Lu <hongjiu.lu@intel.com>
6945
6946 [BZ #18880]
6947 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6948 instead of Slow_BSF, and also check for Fast_Copy_Backward to
6949 enable __memcpy_ssse3_back.
6950
6951 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
6952
6953 [BZ #19758]
6954 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6955 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6956
6957 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6958
6959 [BZ #19490]
6960 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6961 (__fentry__): Likewise.
6962
6963 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
6964
6965 * gmon/Makefile (noprof): Add $(sysdep_noprof).
6966 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6967
6968 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
6969
6970 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6971 __mcount_internal directly.
6972 (C_LABEL(__fentry__)): Likewise.
6973 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6974 directly.
6975
6976 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
6977
6978 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6979 (__start_context): Call __setcontext directly.
6980
6981 2016-02-26 Joseph Myers <joseph@codesourcery.com>
6982
6983 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6984 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6985 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6986 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6987 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6988 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6989 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6990 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6991 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6992 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6993 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6994 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6995 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6996 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6997 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6998 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6999 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7000 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7001 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7002 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7003 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7004 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7005 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7006 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7007 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7008 Remove conditional code.
7009 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7010 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7011 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7012 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7013 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7014 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7015 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7016 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7017 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7018 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7019 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7020 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7021
7022 2016-02-24 Marko Myllynen <myllynen@redhat.com>
7023
7024 * NEWS (2.23): Fix typo in bug 19048 text.
7025
7026 2016-02-24 Carlos O'Donell <carlos@redhat.com>
7027
7028 [BZ #14259]
7029 * Makeconfig: Rename msgcatdir to localedir.
7030 Rename inst_msgcatdir to inst_localedir.
7031 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7032 * config.make.in: Add localedir.
7033 * elf/Makefile ($(objpfx)sotruss): Use localedir.
7034 (ldd-rewrite): Likewise.
7035 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7036 (install-others): Use inst_localedir.
7037 (CPPFLAGS): Use localedir.
7038 * locale/Makefile (locale-CPPFLAGS): Likewise.
7039 * po/Makefile (mo-installed): Use inst_localedir.
7040
7041 [BZ #19575]
7042 * localedata/charmaps/GB18030: Update comments regarding PAU to
7043 non-PUA mappings.
7044
7045 2016-02-24 Joseph Myers <joseph@codesourcery.com>
7046
7047 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7048 test for header.
7049 * sysdeps/unix/sysv/linux/configure: Regenerated.
7050 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7051 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7052 Remove conditional code.
7053 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7054
7055 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7056 Define to 3.2.0.
7057 (arch_minimum_kernel): Likewise.
7058 * sysdeps/unix/sysv/linux/configure: Regenerated.
7059 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7060 Define to 2.6.32.
7061 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7062 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7063 (arch_minimum_kernel): Define to 2.6.32.
7064 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7065 * README: Document Linux 3.2 requirement.
7066 * manual/install.texi (Linux): Document Linux 3.2 headers
7067 requirement.
7068 * INSTALL: Regenerated.
7069
7070 2016-02-24 Andreas Schwab <schwab@suse.de>
7071
7072 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7073 if !NO_LONG_DOUBLE.
7074
7075 2016-02-22 Roland McGrath <roland@hack.frob.com>
7076
7077 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7078 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7079
7080 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
7081
7082 [BZ #19512]
7083 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7084
7085 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
7086
7087 * posix/tst-dir.c: Include libc-internal.h.
7088
7089 2016-02-20 Florian Weimer <fweimer@redhat.com>
7090
7091 [BZ #19056]
7092 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7093 * manual/filesys.texi (Reading/Closing Directory): Mention
7094 deprecaion.
7095 * posix/tst-dir.c (main): Disable deprecation warning in test.
7096
7097 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
7098
7099 [BZ #19679]
7100 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7101 Renamed to ...
7102 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
7103 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7104 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
7105 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7106 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7107 * sysdeps/x86_64/dl-trampoline.h
7108 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7109 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7110
7111 2016-02-19 Mark Wielaard <mjw@redhat.com>
7112
7113 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7114
7115 2016-02-19 Mark Wielaard <mjw@redhat.com>
7116
7117 * elf/elf.h (R_386_GOT32X): New.
7118 (R_386_NUM): Update.
7119 (R_X86_64_GOTPCRELX: New.
7120 (R_X86_64_REX_GOTPCRELX): New.
7121 (R_X86_64_NUM): Update.
7122
7123 2016-02-19 Mike Frysinger <vapier@gentoo.org>
7124
7125 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7126
7127 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
7128
7129 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7130 assign attr->stackaddr to it, and adjust it down when
7131 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
7132 [_STACK_GROWS_UP]: Delete assert.
7133 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7134 Implement stack grows up logic.
7135 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7136 stack grows up logic.
7137
7138 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7139
7140 * NEWS: Update with 2.24 template.
7141
7142 2016-02-19 Joseph Myers <joseph@codesourcery.com>
7143
7144 [BZ #19678]
7145 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7146 Ensure +0.0 is returned when taking the next value below the least
7147 positive value.
7148
7149 2016-02-19 Florian Weimer <fweimer@redhat.com>
7150
7151 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7152 available. Do not define NO_THREADS.
7153 * malloc/malloc.c: Do not check NO_THREADS.
7154 * malloc/arena.c: Likewise.
7155
7156 2016-02-19 Florian Weimer <fweimer@redhat.com>
7157
7158 * malloc/malloc.c (__libc_mallinfo): Update comment.
7159 (struct malloc_par): Remove max_total_mem member, it was always 0.
7160 (int_mallinfo): Store 0 into usmblks (no functional change).
7161 * malloc/hooks.c (struct malloc_state): Document that
7162 max_total_mem is always 0.
7163 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7164 always 0.
7165 * manual/memory.texi (Statistics of Malloc): Likewise.
7166
7167 2016-02-19 Florian Weimer <fweimer@redhat.com>
7168
7169 * malloc/malloc.c (sysmalloc): Do not update arena_max.
7170 * malloc/arena.c (arena_max): Remove.
7171 (heap_trim, _int_new_arena): Do not update arena_max.
7172
7173 2016-02-19 Florian Weimer <fweimer@redhat.com>
7174
7175 * resolv/res_init.c (res_ninit): Update comment.
7176
7177 2016-02-19 Florian Weimer <fweimer@redhat.com>
7178
7179 [BZ #19505]
7180 * posix/spawn_int.h: Add headers and include guard.
7181 (__spawn_valid_fd): New function.
7182 * posix/spawn_faction_addopen.c
7183 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7184 * posix/spawn_faction_addclose.c
7185 (posix_spawn_file_actions_addclose): Likewise.
7186 * posix/spawn_faction_adddup2.c
7187 (posix_spawn_file_actions_adddup2): Likewise. Add check for
7188 second file descriptor.
7189 * posix/spawn_valid_fd.c: New file.
7190 * posix/tst-posix_spawn-fd.c: New file.
7191 * posix/Makefile (routines): Add spawn_valid_fd.
7192 (tests): Add tst-posix_spawn-fd.
7193
7194 2016-02-19 Florian Weimer <fweimer@redhat.com>
7195
7196 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7197 (do_test): Limit the number of arenas, so that we can use fewer
7198 outer threads. Limit timeout to 3 seconds, in preparation for a
7199 larger TIMEOUT value.
7200
7201 2016-02-19 Joseph Myers <joseph@codesourcery.com>
7202
7203 [BZ #19674]
7204 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7205 sign in overflowing and underflowing results when overflow or
7206 underflow is detected early. Include sign in result before rather
7207 than after scaling.
7208
7209 [BZ #19603]
7210 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7211 (__ieee754_remainderl): Adjust sign of integer version of low part
7212 when taking absolute value of high part.
7213 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7214 * math/libm-test.inc (remainder_test_data): Add another test.
7215 (remquo_test_data): Likewise.
7216
7217 2016-02-18 Joseph Myers <joseph@codesourcery.com>
7218
7219 [BZ #19602]
7220 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7221 equal high parts and both low parts zero specially.
7222 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7223 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7224 Add test-fmodl-ldbl-128ibm.
7225
7226 [BZ #19595]
7227 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7228 common logic for all cases of shifting subnormal results. Do not
7229 insert sign bit in shifted mantissa. Always pass -1023 as biased
7230 exponent to ldbl_insert_mantissa in subnormal case.
7231
7232 [BZ #19594]
7233 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7234 on high and low parts then adjust result and use
7235 ldbl_canonicalize_int if needed.
7236
7237 [BZ #19593]
7238 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7239 on high part and __floor or __ceil on low part then use
7240 ldbl_canonicalize_int if needed.
7241
7242 [BZ #19592]
7243 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7244 high and low parts then use ldbl_canonicalize_int if needed.
7245
7246 [BZ #17899]
7247 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7248 New function.
7249 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7250 on high and low parts then use ldbl_canonicalize_int if needed.
7251
7252 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7253
7254 * configure: Regenerated.
7255
7256 * po/libc.pot: Regenerated.
7257
7258 * po/be.po: Updated translation.
7259 * po/bg.po: Likewise.
7260 * po/ca.po: Likewise.
7261 * po/cs.po: Likewise.
7262 * po/da.po: Likewise.
7263 * po/el.po: Likewise.
7264 * po/eo.po: Likewise.
7265 * po/es.po: Likewise.
7266 * po/fi.po: Likewise.
7267 * po/fr.po: Likewise.
7268 * po/gl.po: Likewise.
7269 * po/hr.po: Likewise.
7270 * po/hu.po: Likewise.
7271 * po/ia.po: Likewise.
7272 * po/id.po: Likewise.
7273 * po/it.po: Likewise.
7274 * po/ja.po: Likewise.
7275 * po/lt.po: Likewise.
7276 * po/nb.po: Likewise.
7277 * po/nl.po: Likewise.
7278 * po/pt_BR.po: Likewise.
7279 * po/rw.po: Likewise.
7280 * po/sk.po: Likewise.
7281 * po/sl.po: Likewise.
7282 * po/sv.po: Likewise.
7283 * po/tr.po: Likewise.
7284 * po/zh_CN.po: Likewise.
7285 * po/zh_TW.po: Likewise.
7286
7287 * version.h (RELEAES): Set to "development".
7288 (VERSION): Set to 2.23.90.
7289
7290 * version.h (RELEASE): Set to "stable".
7291 (VERSION): Set to 2.23.
7292 * include/feature.h (__GLIBC_MINOR__): Set to 23.
7293
7294 * NEWS: Updated fixed bugs.
7295
7296 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
7297 Wilco Dijkstra <wdijkstr@arm.com>
7298
7299 [BZ #19462]
7300 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7301 (_STRING_INLINE_unaligned): This.
7302 * include/string.h: Include <string_private.h>.
7303 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7304 _STRING_INLINE_unaligned.
7305 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7306 (_STRING_INLINE_unaligned): New.
7307 * sysdeps/aarch64/string_private.h: New file.
7308 * sysdeps/generic/string_private.h: Likewise.
7309 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7310 * sysdeps/s390/string_private.h: Likewise.
7311 * sysdeps/x86/string_private.h: Likewise.
7312 * sysdeps/m68k/m680x0/m68020/bits/string.h
7313 (_STRING_ARCH_unaligned): Renamed to ...
7314 (_STRING_INLINE_unaligned): This.
7315 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7316 to ...
7317 (_STRING_INLINE_unaligned): This.
7318 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7319 to ...
7320 (_STRING_INLINE_unaligned): This.
7321 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7322 to ...
7323 (_STRING_INLINE_unaligned): This.
7324
7325 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
7326 H.J. Lu <hongjiu.lu@intel.com>
7327
7328 [BZ #19590]
7329 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7330 relocation.
7331
7332 2016-02-15 Carlos O'Donell <carlos@redhat.com>
7333
7334 [BZ #18665]
7335 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7336 *herrno_p.
7337 (gaih_getanswer): Document functional behviour. Return tryagain
7338 if any result is tryagain.
7339 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7340 when freed.
7341 * resolv/res_send.c: Add copyright text.
7342 (__libc_res_nsend): Document that MAXPACKET is expected.
7343 (send_vc): Document. Remove buffer reuse.
7344 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7345 size of the buffer. Add Dprint for truncated UDP buffer.
7346
7347 2016-02-14 Carlos O'Donell <carlos@redhat.com>
7348
7349 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7350 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7351 * INSTALL: Regenerate.
7352
7353 2016-02-14 Jakub Jelinek <jakub@redhat.com>
7354 Jonathan Wakely <jwakely@redhat.com>
7355 Carlos O'Donell <carlos@redhat.com>
7356
7357 [BZ 19439]
7358 * math/Makefile (tests): Add test-math-isinff.
7359 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7360 * math/bits/mathcalls.h [__USE_MISC]: Use
7361 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7362 functions not in C++11 and which don't conflict e.g. isinff,
7363 isinfl etc.
7364 * math/test-math-isinff.cc: New file.
7365
7366 2016-02-12 Florian Weimer <fweimer@redhat.com>
7367
7368 * misc/bug18240.c (do_test): Set RLIMIT_AS.
7369
7370 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7371
7372 [BZ #19529]
7373 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7374
7375 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7376
7377 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7378
7379 2016-02-01 Joseph Myers <joseph@codesourcery.com>
7380
7381 [BZ #19550]
7382 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7383 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7384 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7385 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7386 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7387 New syscall entry.
7388 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7389 New syscall entry.
7390 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7391 syscall entry.
7392
7393 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
7394
7395 [BZ #18240]
7396 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7397 unsigned int wraparound.
7398
7399 2016-01-27 Florian Weimer <fweimer@redhat.com>
7400
7401 [BZ #18240]
7402 * misc/bug18240.c: New test.
7403 * misc/Makefile (tests): Add it.
7404
7405 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
7406 Joseph Myers <joseph@codesourcery.com>
7407
7408 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7409 load in branch delay slot when less than a word of input left.
7410
7411 2016-01-27 Andreas Schwab <schwab@suse.de>
7412
7413 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7414 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7415 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7416 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7417
7418 2016-01-26 David S. Miller <davem@davemloft.net>
7419
7420 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7421
7422 2016-01-25 David S. Miller <davem@davemloft.net>
7423
7424 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7425 __sqrtl_finite.
7426 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7427 instead using versioned_symbol.
7428 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7429 of entries.
7430
7431 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7432 __sqrtl_finite to GLIBC_2.23
7433
7434 2016-01-25 Ricchard Henderson <rth@redhat.com>
7435
7436 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7437
7438 2016-01-25 Andreas Schwab <schwab@suse.de>
7439
7440 [BZ #17514]
7441 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7442 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7443 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7444 * nptl/tst-mutex-errorcheck.c: New file.
7445
7446 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7447
7448 [BZ #18560]
7449 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7450 (IPCOP_semop): Likewise.
7451 (IPCOP_semget): Likewise.
7452 (IPCOP_semctl): Likewise.
7453 (IPCOP_msgsnd): Likewise.
7454 (IPCOP_msgrcv): Likewise.
7455 (IPCOP_msgget): Likewise.
7456 (IPCOP_msgctl): Likewise.
7457 (IPCOP_shmat): Likewise.
7458 (IPCOP_shmdt): Likewise.
7459 (IPCOP_shmget): Likewise.
7460 (IPCOP_shmctl): Likewise.
7461
7462 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
7463
7464 * string/tst-endian.c: Include <libc-internal.h>.
7465 (do_test): Ignore tautological-compare warnings around
7466 "htobeXX (beXXtoh (i)) != i" and
7467 "htoleXX (leXXtoh (i)) != i" if-statements.
7468
7469 2016-01-24 David S. Miller <davem@davemloft.net>
7470
7471 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7472 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7473 alias.
7474 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7475 __sqrtl_finite.
7476
7477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7478
7479 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
7480
7481 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7482 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7483 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7484
7485 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7486
7487 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7488 (thread_func): Use new function to simplify barrier check.
7489 (do_test): Use new function to simplify checking barrier exit
7490 code, and actually join the child thread.
7491
7492 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7493
7494 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7495 semicolon.
7496 (__libc_tend): Likewise.
7497 (__libc_tabort): Likewise.
7498
7499 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
7500
7501 * sysdeps/nios2/libm-test-ulps: Update.
7502 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7503 (__gtsf2): Likewise.
7504 (__unorddf2): Likewise.
7505 (__unordsf2): Likewise.
7506 (__ledf2): Likewise.
7507
7508 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
7509
7510 * nis/nis_table.c (__follow_path): Disable diagnostic for
7511 uninitialized variable that is a false positive for gcc 4.7.
7512 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7513
7514 2016-01-20 Roland McGrath <roland@hack.frob.com>
7515
7516 * sysdeps/nacl/lowlevellock-futex.h
7517 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7518 Always evaluate PRIVATE argument.
7519
7520 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
7521
7522 [BZ #19490]
7523 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7524 (pthread_cond_broadcast): Use ENTRY/END
7525 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7526 (pthread_cond_signal): Likewise.
7527 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7528 Likewise.
7529 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7530 Likewise.
7531 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7532 Likewise.
7533
7534 2016-01-20 Joseph Myers <joseph@codesourcery.com>
7535
7536 * sysdeps/ieee754/dbl-64/s_finite.c
7537 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7538 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7539 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7540 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7541 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7542
7543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7544 (__gtsf2): Add as optional for libc.so.
7545 (__unordsf2): Likewise.
7546 (__signbit): Remove for libc.so.
7547 (__signbitl): Likewise.
7548
7549 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
7550
7551 * iconvdata/bug-iconv11.c (test_ibm93x):
7552 Use %zu printf format specifier for size_t argument.
7553
7554 2016-01-19 Joseph Myers <joseph@codesourcery.com>
7555
7556 * math/gen-libm-test.pl (parse_ulps): Do not reduce
7557 already-recorded ulps.
7558 * sysdeps/arm/libm-test-ulps: Regenerated.
7559 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7560 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7561 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7562
7563 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
7564 Paul Pluzhnikov <ppluzhnikov@google.com>
7565
7566 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7567 assembler not supporting AVX-512.
7568
7569 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
7570
7571 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7572
7573 2016-01-18 Joseph Myers <joseph@codesourcery.com>
7574
7575 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7576 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7577
7578 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7579
7580 * sysdeps/arm/libm-test-ulps: Regenerated.
7581
7582 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7583
7584 [BZ #19451]
7585 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7586
7587 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
7588
7589 [BZ #19486]
7590 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7591 * sysdeps/generic/fix-fp-int-convert-overflow.h
7592 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7593 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7594 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7595 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7596 Likewise.
7597 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7598 Avoid conversions to long int where inexact exceptions
7599 could be raised.
7600 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7601 Likewise.
7602 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7603 Avoid conversions to long long int where inexact exceptions
7604 could be raised.
7605 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7606 Likewise.
7607
7608 2016-01-17 Mike Frysinger <vapier@gentoo.org>
7609
7610 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7611 * configure: Regenerated.
7612
7613 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
7614
7615 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7616
7617 2016-01-16 Mike Frysinger <vapier@gentoo.org>
7618
7619 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7620 outside of comment.
7621
7622 2016-01-15 Torvald Riegel <triegel@redhat.com>
7623
7624 * nptl/tst-barrier1.c: Add description on first line.
7625 * nptl/tst-barrier2.c: Likewise.
7626 * nptl/tst-barrier3.c: Likewise.
7627 * nptl/tst-barrier4.c: Likewise.
7628 * nptl/tst-barrier5.c: Likewise.
7629
7630 2016-01-15 Torvald Riegel <triegel@redhat.com>
7631
7632 [BZ #18868]
7633 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7634
7635 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
7636
7637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7638 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7639 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7640 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7641 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7642 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7643 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7644 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7645 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7646 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7647 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7648
7649 2016-01-15 Torvald Riegel <triegel@redhat.com>
7650
7651 [BZ #13065]
7652 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7653 new implementation.
7654 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7655 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7656 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7657 (BARRIER_IN_THRESHOLD): New macro.
7658 * nptl/pthread_barrierattr_setpshared.c
7659 (pthread_barrierattr_setpshared): Clean up.
7660 * nptl/tst-barrier4.c: Correct comment.
7661 * nptl/tst-barrier5.c: New file.
7662 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7663 (gen-as-const-headers): Remove lowlevelbarrier.sym.
7664 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7665 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7666 * nptl/lowlevelbarrier.sym: Remove.
7667 * nptl/DESIGN-barrier.txt: Remove.
7668 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7669 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7670 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7671 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7672 error.
7673 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7674 implementation.
7675
7676 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7677
7678 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7679 (do_child): Mask SIGRTMIN while thr is running.
7680
7681 2016-01-15 Martin Sebor <msebor@redhat.com>
7682
7683 [BZ #19432]
7684 * iconvdata/Makefile: Add bug-iconv11.
7685 * iconvdata/bug-iconv11.c: New test.
7686 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7687 * iconvdata/ibm933.c: Same.
7688 * iconvdata/ibm935.c: Same.
7689 * iconvdata/ibm937.c: Same.
7690 * iconvdata/ibm939.c: Same.
7691
7692 2016-01-15 Martin Sebor <msebor@redhat.com>
7693
7694 [BZ #19443]
7695 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7696 [DEBUG] (_ufc_set_bits): Declare used.
7697 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7698 [DEBUG] (print_all): Declare used.
7699 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7700 operands of the ternary ?: expression to target type.
7701 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7702 calling the undeclared abort.
7703 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7704
7705 2016-01-15 Martin Sebor <msebor@redhat.com>
7706
7707 [BZ #18755]
7708 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7709 warnings.
7710 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7711 (__gai_create_helper_thread): Same.
7712 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7713 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7714 to suppress -Wmaybe-uninitialized warnings.
7715
7716 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
7717
7718 [BZ #19465]
7719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7720 inside if.
7721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7722 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7723 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7724
7725 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
7726
7727 [BZ #19466]
7728 * time/tst-mktime2.c (time_t_max): Removed.
7729 (time_t_min): Likewise.
7730 (TYPE_SIGNED): New.
7731 (TYPE_MINIMUM): Likewise.
7732 (TYPE_MAXIMUM): Likewise.
7733 (TIME_T_MIN): Likewise.
7734 (TIME_T_MAX): Likewise.
7735 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7736 and TIME_T_MIN.
7737 (do_test): Likewise.
7738
7739 2016-01-14 Amit Pawar <amit.pawar@amd.com>
7740
7741 [BZ #19467]
7742 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7743 index_Fast_Unaligned_Load flag for Excavator family CPUs.
7744
7745 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
7746
7747 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7748
7749 2016-01-13 Carlos O'Donell <carlos@redhat.com>
7750
7751 * benchtests/Makefile (PYTHON): Define.
7752 (bench-func): Use $(PYTHON) to run python scripts.
7753 ($(objpfx)bench-%.c): Likewise.
7754
7755 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
7756
7757 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7758 leading slash when `file_name' is "/".
7759
7760 2016-01-12 Joseph Myers <joseph@codesourcery.com>
7761
7762 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7763 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7764 Likewise.
7765 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7766 Likewise.
7767 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7768 Likewise.
7769 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7770 enum constant and macro.
7771 (PTRACE_SETSIGMASK): Likewise.
7772 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7773 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7774 (PTRACE_GETSIGMASK): Likewise.
7775 (PTRACE_SETSIGMASK): Likewise.
7776 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7777 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
7778 Likewise.
7779 (PTRACE_SETSIGMASK): Likewise.
7780 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7782 (PTRACE_GETSIGMASK): Likewise.
7783 (PTRACE_SETSIGMASK): Likewise.
7784 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
7786 Likewise.
7787 (PTRACE_SETSIGMASK): Likewise.
7788 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7789 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
7790 Likewise.
7791 (PTRACE_SETSIGMASK): Likewise.
7792 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7793 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
7794 Likewise.
7795 (PTRACE_SETSIGMASK): Likewise.
7796 (PTRACE_SECCOMP_GET_FILTER): Likewise.
7797
7798 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
7799 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7800
7801 [BZ #19439]
7802 * math/bits/mathcalls.h
7803 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7804 prototype.
7805 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
7806
7807 2016-01-11 Andreas Schwab <schwab@suse.de>
7808
7809 [BZ #19253]
7810 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
7811 cache when TZDEFRULES was used.
7812 * time/tst-tzname.c: New file.
7813 * time/Makefile (test): Add tst-tzname.
7814 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
7815 * timezone/Makefile (test-zones): Add $(posixrules-file).
7816 ($(testdata)/$(posixrules-file)): New rule.
7817
7818 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
7819
7820 Fix doc quoting problems with Texinfo 5
7821 Without this change, in the info file output, Texinfo 5 quotes code
7822 in text with undirected single quotes 'like this' and generates
7823 code examples that with many PDF readers cannot be cut out of PDFs
7824 and pasted into code.
7825 * manual/libc.texinfo: Configure the libc manual like the GNU
7826 Emacs manual, by using @documentencoding and setting
7827 txicodequoteundirected and txicodequotebacktick. This way,
7828 Texinfo 5 quotes code in text with directed single quotes ‘like
7829 this’ and produces examples that can be cut out of PDFs. This
7830 change causes Texinfo 5 to generate info files that contain UTF-8
7831 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
7832 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
7833
7834 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7835
7836 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
7837 __libc_tabort, __libc_tend): New wrappers that enforce compiler
7838 barriers to their respective compiler built-ins.
7839 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7840 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
7841 * sysdeps/powerpc/sysdep.h: Likewise.
7842 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
7843 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
7844 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
7845
7846 2016-01-08 Marko Myllynen <myllynen@redhat.com>
7847
7848 * scripts/config.guess: Revert previous shebang change.
7849 * scripts/config.sub: Likewise.
7850 * scripts/mkinstalldirs: Likewise.
7851
7852 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7853
7854 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7855 PPC_FEATURE2_HAS_IEEE128.
7856 * sysdeps/powerpc/dl-procinfo.c:
7857 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7858
7859 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
7860
7861 [BZ #19415]
7862 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7863 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
7864 (_dl_lookup_address): Rewrite using function resolver trampoline.
7865 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7866 two bits in address.
7867
7868 2016-01-07 Mike Frysinger <vapier@gentoo.org>
7869
7870 * longlong.h: Change !__SHMEDIA__ to
7871 (!defined (__SHMEDIA__) || !__SHMEDIA__).
7872 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7873
7874 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
7875 Joseph Myers <joseph@codesourcery.com>
7876 Mark Shinwell <shinwell@codesourcery.com>
7877 Andrew Stubbs <ams@codesourcery.com>
7878 Rich Felker <dalias@libc.org>
7879
7880 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7881
7882 2016-01-07 Richard Henderson <rth@redhat.com>
7883
7884 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7885
7886 2016-01-07 Mike Frysinger <vapier@gentoo.org>
7887
7888 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7889 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7890 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7891 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7892 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7893
7894 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
7895 Joseph Myers <joseph@codesourcery.com>
7896
7897 * timezone/private.h: Update from tzcode 2015g.
7898 * timezone/tzfile.h: Likewise.
7899 * timezone/tzselect.ksh: Likewise.
7900 * timezone/zdump.c: Likewise.
7901 * timezone/zic.c: Likewise.
7902 * timezone/ialloc.c: Remove file.
7903 * timezone/scheck.c: Likewise.
7904 * timezone/Makefile (extra-objs): Remove variable.
7905 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7906 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7907 -Wno-maybe-uninitialized.
7908 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7909 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7910 (CFLAGS-ialloc.c): Remove variable.
7911 (CFLAGS-scheck.c): Likewise.
7912 * timezone/README: Update list of files from tzcode.
7913
7914 2016-01-07 Khem Raj <raj.khem@gmail.com>
7915
7916 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7917 instead of __fxprintf when _LIBC is undefined.
7918
7919 2016-01-07 Marko Myllynen <myllynen@redhat.com>
7920
7921 * catgets/test-gencat.sh: Remove space after shebang.
7922 * conform/GlibcConform.pm: Likewise.
7923 * conform/check-header-lists.sh: Likewise.
7924 * conform/conformtest.pl: Likewise.
7925 * conform/linknamespace.pl: Likewise.
7926 * conform/list-header-symbols.pl: Likewise.
7927 * debug/catchsegv.sh: Likewise.
7928 * elf/genrtldtbl.awk: Likewise.
7929 * elf/tst-pathopt.sh: Likewise.
7930 * elf/tst-rtld-load-self.sh: Likewise.
7931 * grp/tst_fgetgrent.sh: Likewise.
7932 * iconvdata/gen-8bit-gap-1.sh: Likewise.
7933 * iconvdata/gen-8bit-gap.sh: Likewise.
7934 * iconvdata/gen-8bit.sh: Likewise.
7935 * iconvdata/run-iconv-test.sh: Likewise.
7936 * intl/tst-gettext.sh: Likewise.
7937 * intl/tst-gettext2.sh: Likewise.
7938 * intl/tst-gettext4.sh: Likewise.
7939 * intl/tst-gettext6.sh: Likewise.
7940 * intl/tst-translit.sh: Likewise.
7941 * io/ftwtest-sh: Likewise.
7942 * libio/test-freopen.sh: Likewise.
7943 * locale/gen-translit.pl: Likewise.
7944 * malloc/tst-mtrace.sh: Likewise.
7945 * manual/check-safety.sh: Likewise.
7946 * manual/libc-texinfo.sh: Likewise.
7947 * manual/tsort.awk: Likewise.
7948 * manual/xtract-typefun.awk: Likewise.
7949 * nptl/tst-cancel-wrappers.sh: Likewise.
7950 * nptl/tst-tls6.sh: Likewise.
7951 * posix/globtest.sh: Likewise.
7952 * posix/tst-getconf.sh: Likewise.
7953 * posix/wordexp-tst.sh: Likewise.
7954 * scripts/check-c++-types.sh: Likewise.
7955 * scripts/check-local-headers.sh: Likewise.
7956 * scripts/config.guess: Likewise.
7957 * scripts/config.sub: Likewise.
7958 * scripts/cpp: Likewise.
7959 * scripts/cross-test-ssh.sh: Likewise.
7960 * scripts/documented.sh: Likewise.
7961 * scripts/evaluate-test.sh: Likewise.
7962 * scripts/gen-libc-abis: Likewise.
7963 * scripts/gen-sorted.awk: Likewise.
7964 * scripts/list-fixed-bugs.py: Likewise.
7965 * scripts/merge-test-results.sh: Likewise.
7966 * scripts/mkinstalldirs: Likewise.
7967 * scripts/rellns-sh: Likewise.
7968 * scripts/test-installation.pl: Likewise.
7969 * scripts/update-copyrights: Likewise.
7970 * stdio-common/tst-printf.sh: Likewise.
7971 * stdio-common/tst-unbputc.sh: Likewise.
7972 * stdlib/tst-fmtmsg.sh: Likewise.
7973 * stdlib/tst-setcontext3.sh: Likewise.
7974 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7975 * sysdeps/unix/make-syscalls.sh: Likewise.
7976
7977 2016-01-06 John David Anglin <dave.anglin@bell.net>
7978
7979 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7980 asm stw with atomic_exchange_rel. Add explanatory comment.
7981 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7982 Likewise.
7983
7984 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
7985
7986 [BZ #19122]
7987 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7988 * sysdeps/generic/dl-unistd.h: New file.
7989 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7990
7991 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
7992
7993 [BZ #19122]
7994 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7995 * sysdeps/generic/dl-mman.h: New file.
7996 * sysdeps/mach/hurd/dl-mman.h: Likewise.
7997
7998 2016-01-05 Joseph Myers <joseph@codesourcery.com>
7999
8000 * manual/texinfo.tex: Update to version 2016-01-04.21 with
8001 trailing whitespace removed.
8002 * scripts/config.guess: Update to version 2016-01-01.
8003 * scripts/config.sub: Update to version 2016-01-01.
8004 * scripts/move-if-change: Update from gnulib.
8005
8006 2016-01-04 Anton Blanchard <anton@samba.org>
8007
8008 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8009 for array indices.
8010 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8011
8012 2016-01-04 Joseph Myers <joseph@codesourcery.com>
8013
8014 * NEWS: Update copyright dates.
8015 * catgets/gencat.c (print_version): Likewise.
8016 * csu/version.c (banner): Likewise.
8017 * debug/catchsegv.sh: Likewise.
8018 * debug/pcprofiledump.c (print_version): Likewise.
8019 * debug/xtrace.sh (do_version): Likewise.
8020 * elf/ldconfig.c (print_version): Likewise.
8021 * elf/ldd.bash.in: Likewise.
8022 * elf/pldd.c (print_version): Likewise.
8023 * elf/sotruss.sh: Likewise.
8024 * elf/sprof.c (print_version): Likewise.
8025 * iconv/iconv_prog.c (print_version): Likewise.
8026 * iconv/iconvconfig.c (print_version): Likewise.
8027 * locale/programs/locale.c (print_version): Likewise.
8028 * locale/programs/localedef.c (print_version): Likewise.
8029 * login/programs/pt_chown.c (print_version): Likewise.
8030 * malloc/memusage.sh (do_version): Likewise.
8031 * malloc/memusagestat.c (print_version): Likewise.
8032 * malloc/mtrace.pl: Likewise.
8033 * manual/libc.texinfo: Likewise.
8034 * nptl/version.c (banner): Likewise.
8035 * nscd/nscd.c (print_version): Likewise.
8036 * nss/getent.c (print_version): Likewise.
8037 * nss/makedb.c (print_version): Likewise.
8038 * posix/getconf.c (main): Likewise.
8039 * scripts/test-installation.pl: Likewise.
8040 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8041
8042 * All files with FSF copyright notices: Update copyright dates
8043 using scripts/update-copyrights.
8044 * intl/plural.c: Regenerated.
8045 * locale/programs/charmap-kw.h: Likewise.
8046 * locale/programs/locfile-kw.h: Likewise.
8047
8048 2016-01-02 Helge Deller <deller@gmx.de>
8049
8050 [BZ #19285]
8051 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8052 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8053 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8054 (MADV_xxK_PAGES): Remove.
8055
8056 2016-01-01 Mike Frysinger <vapier@gentoo.org>
8057
8058 [BZ #15421]
8059 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8060 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
8061 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8062 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8063
8064 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
8065
8066 [BZ #19408]
8067 * sysdeps/unix/sysv/linux/personality.c: New file.
8068 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8069 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8070 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8071 (sysdep_routines): Add personality.
8072 (tests): Add tst-personality.
8073 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8074 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8075 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8076 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8077 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8078 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8079 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8080 Likewise.
8081 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8082 Likewise.
8083 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8084 Likewise.
8085 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8086 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8087 Likewise.
8088
8089 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
8090
8091 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8092 (PATH_ARM_SYSTYPE): Remove.
8093 (PATH_CPUINFO): Likewise.
8094 (IO_BASE_FOOTBRIDGE): Likewise.
8095 (IO_SHIFT_FOOTBRIDGE): Likewise.
8096 (struct platform): Likewise.
8097 (init_iosys): Remove compatibility code for 2.4 kernels.
8098 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8099
8100 2015-12-29 Florian Weimer <fweimer@redhat.com>
8101
8102 * malloc/tst-malloc-thread-fail.c: New file.
8103 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8104 (tst-malloc-thread-fail): Link against libpthread.
8105
8106 2015-12-29 Mike Frysinger <vapier@gentoo.org>
8107
8108 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
8109 (get_parser): New function.
8110 (main): New function.
8111
8112 2015-12-29 Rob Wu <rob@robwu.nl>
8113
8114 [BZ #19369]
8115 * resolv/res_init.c (__res_vinit): Reset defdname before use.
8116
8117 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
8118
8119 [BZ #19270]
8120 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8121
8122 2015-12-28 Mike Frysinger <vapier@gentoo.org>
8123
8124 [BZ #15421]
8125 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8126
8127 2015-12-23 Torvald Riegel <triegel@redhat.com>
8128
8129 [BZ #13690]
8130 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8131 after releasing it.
8132 (__lll_robust_unlock): Likewise.
8133 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8134 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8135 (lll_robust_unlock): Likewise.
8136 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8137 Prevent warnings in callers.
8138
8139 2015-12-23 Florian Weimer <fweimer@redhat.com>
8140
8141 * malloc/arena.c (list_lock): Update comment.
8142
8143 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8144
8145 * sysdeps/powerpc/hwcapinfo.c: Export symbol
8146 __parse_hwcap_and_convert_at_platform to libc.a.
8147
8148 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8149
8150 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8151 platform and feature support for POWER9.
8152 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8153 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8154 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8155 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8156 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8157 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8158 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8159 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8160
8161 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8162
8163 Harmonize generic stdio-lock support with nptl
8164
8165 This fixes build when _IO_funlockfile is a macro, fixes build where
8166 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8167 stack unwind.
8168
8169 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8170 _IO_release_lock ): Use cleanup attribute on new
8171 _IO_acquire_lock_file variable instead of assuming that
8172 _IO_release_lock will be called.
8173 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8174 _IO_acquire_lock_needs_exceptions_enabled.
8175 (_IO_acquire_lock_clear_flags2): New macro.
8176
8177 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8178
8179 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8180
8181 2015-12-21 Florian Weimer <fweimer@redhat.com>
8182
8183 [BZ #19182]
8184 * malloc/arena.c (list_lock): Document lock ordering requirements.
8185 (free_list_lock): New lock.
8186 (ptmalloc_lock_all): Comment on free_list_lock.
8187 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8188 (detach_arena): Update comment. free_list_lock is now needed.
8189 (_int_new_arena): Use free_list_lock around detach_arena call.
8190 Acquire arena lock after list_lock. Add comment, including FIXME
8191 about incorrect synchronization.
8192 (get_free_list): Switch to free_list_lock.
8193 (reused_arena): Acquire free_list_lock around detach_arena call
8194 and attached threads counter update. Add two FIXMEs about
8195 incorrect synchronization.
8196 (arena_thread_freeres): Switch to free_list_lock.
8197 * malloc/malloc.c (struct malloc_state): Update comments to
8198 mention free_list_lock.
8199
8200 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
8201
8202 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8203 Remove functions.
8204 (sloww, sloww1): Accept argument to offset quadrant.
8205 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8206 quadrant.
8207 (__sin, __cos): Consolidate common code into new functions.
8208 (reduce_sincos_1, do_sincos_1): New functions.
8209 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8210
8211 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8212 code to new functions.
8213 (reduce_sincos_2, do_sincos_2): New functions.
8214 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8215
8216 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8217 common code for sincos.
8218 (__cos) [!IN_SINCOS]: Likewise.
8219 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8220 New function.
8221 (__sincos): Use it.
8222
8223 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
8224
8225 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8226 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8227 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8228
8229 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
8230
8231 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8232 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8234 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8235 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8236 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8237 index_Prefer_No_VZEROUPPER): New feature.
8238 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8239 Prefer_No_VZEROUPPER for Knights Landing.
8240
8241 015-12-18 Torvald Riegel <triegel@redhat.com>
8242
8243 * math/atest-exp2.c (mp_exp_m1): Remove.
8244
8245 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8246
8247 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8248 syscalls.
8249 (__SYSCALL0): New macro.
8250 (__SYSCALL1): Likewise.
8251 (__SYSCALL2): Likewise.
8252 (__SYSCALL3): Likewise.
8253 (__SYSCALL4): Likewise.
8254 (__SYSCALL5): Likewise.
8255 (__SYSCALL6): Likewise.
8256 (__SYSCALL_CONCAT_X): Likewise.
8257 (__SYSCALL_CONCAT): Likewise.
8258 (__SYSCALL_DIST): Likewise.
8259 (__SYSCALL_CALL): Likewise.
8260
8261 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
8262
8263 [BZ #19363]
8264 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8265
8266 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8267
8268 [BZ #19375]
8269 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8270 negative subnormals.
8271
8272 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
8273
8274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8275 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8276 (INTERNAL_SYSCALL_NCS): Use it.
8277 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8278
8279 2015-12-16 Florian Weimer <fweimer@redhat.com>
8280
8281 [BZ #19243]
8282 * malloc/arena.c (get_free_list): Remove assert and adjust
8283 reference count handling. Add comment about reused_arena
8284 interaction.
8285 (reused_arena): Add comments abount get_free_list interaction.
8286 * malloc/tst-malloc-thread-exit.c: New file.
8287 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8288 (tst-malloc-thread-exit): Link against libpthread.
8289
8290 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
8291
8292 [BZ #19367]
8293 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8294 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8295 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8296 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8297 (index_Prefer_MAP_32BIT_EXEC): Likewise.
8298
8299 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
8300
8301 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8302 Silvermont optimizations for Knights Landing.
8303
8304 2015-12-15 Andreas Schwab <schwab@suse.de>
8305
8306 [BZ #17197]
8307 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8308 immediately after emitting SI.
8309 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8310 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8311 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8312 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8313 * iconvdata/bug-iconv10.c: New file.
8314 * iconvdata/Makefile (tests): Add bug-iconv10.
8315 ($(objpfx)bug-iconv10.out): New rule.
8316
8317 2015-12-15 Florian Weimer <fweimer@redhat.com>
8318
8319 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8320 aliasing violation.
8321
8322 2015-12-14 Joseph Myers <joseph@codesourcery.com>
8323
8324 [BZ #18472]
8325 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8326 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8327 conditionals for them.
8328 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8329 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8331 sys/kdaemon.h.
8332 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8333 compat-only syscall, obsoleted in glibc 2.23.
8334 (create_module): Likewise.
8335 (get_kernel_syms): Likewise.
8336 (query_module): Likewise.
8337 (uselib): Likewise.
8338 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8339
8340 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
8341
8342 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8343 <linux/version.h>.
8344 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8345 conditional code.
8346 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8347 and ioshift_name initialization.
8348
8349 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
8350
8351 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8352 Fix indentation.
8353
8354 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
8355
8356 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8357
8358 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
8359
8360 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8361
8362 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
8363 Jakub Wilk <jwilk@debian.org>
8364
8365 [BZ #19347]
8366 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8367 to change the group of the device to the tty group.
8368
8369 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
8370
8371 Split large string section; add truncation advice
8372 * manual/examples/strncat.c: Remove.
8373 This example was misleading, as the code would have undefined
8374 behavior if "hello" was longer than SIZE. Anyway, the manual
8375 shouldn't encourage strncpy+strncat for this sort of thing.
8376 * manual/string.texi (Copying Strings and Arrays): Split into
8377 three sections Copying Strings and Arrays, Concatenating Strings,
8378 and Truncating Strings, as this section was way too long. All
8379 cross-referenced changed. Add advice about string-truncation
8380 functions. Remove misleading strncat example.
8381
8382 2015-12-10 Carlos O'Donell <carlos@redhat.com>
8383
8384 * manual/nss.texi (NSS Modules Interface): Document
8385 NSS_STATUS_NOTFOUND and SUCCESS.
8386
8387 2015-12-09 Mike FABIAN <mfabian@redhat.com>
8388
8389 [BZ 18568]
8390 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8391 201505L, for Unicode 8.
8392
8393 2015-12-09 Carlos O'Donell <carlos@redhat.com>
8394
8395 * locale/C-translit.h: Regenerate.
8396
8397 2015-12-09 Mike FABIAN <mfabian@redhat.com>
8398
8399 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8400 and U+0153.
8401
8402 2015-12-09 Joseph Myers <joseph@codesourcery.com>
8403
8404 [BZ #19351]
8405 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8406 expanding log(1+z), compare z rather than its square with epsilon
8407 to determine when to avoid evaluating the expansion.
8408
8409 [BZ #19350]
8410 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8411 Increase overflow threshold.
8412
8413 [BZ #19349]
8414 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8415 when small.
8416
8417 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8418 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8419 New macro.
8420 [__LINUX_KERNEL_VERSION >= 0x040300]
8421 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8422 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8423 Likewise.
8424 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8425 Likewise.
8426 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8427 Likewise.
8428 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8429 Likewise.
8430 [__LINUX_KERNEL_VERSION >= 0x040300]
8431 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8432 [__LINUX_KERNEL_VERSION >= 0x040300]
8433 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8434 [__LINUX_KERNEL_VERSION >= 0x040300]
8435 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8436 [__LINUX_KERNEL_VERSION >= 0x040300]
8437 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8438 [__LINUX_KERNEL_VERSION >= 0x040300]
8439 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8440 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8441 Likewise.
8442 [__LINUX_KERNEL_VERSION >= 0x040300]
8443 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8444 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8445 Likewise.
8446 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8447 Likewise.
8448 [__LINUX_KERNEL_VERSION >= 0x040300]
8449 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8450 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8451 Likewise.
8452 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8453 Likewise.
8454 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8455 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8456 Likewise.
8457 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8458 Likewise.
8459 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8460 Likewise.
8461 [__LINUX_KERNEL_VERSION >= 0x040300]
8462 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8463 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8464 Likewise.
8465 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8466 Likewise.
8467 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8468 Likewise.
8469 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8470 Likewise.
8471 [__LINUX_KERNEL_VERSION >= 0x040300]
8472 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8473 [__LINUX_KERNEL_VERSION >= 0x040300]
8474 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8475 [__LINUX_KERNEL_VERSION >= 0x040300]
8476 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8477 [__LINUX_KERNEL_VERSION >= 0x040300]
8478 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8479 [__LINUX_KERNEL_VERSION >= 0x040300]
8480 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8481 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8482 Likewise.
8483 [__LINUX_KERNEL_VERSION >= 0x040300]
8484 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8485 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8486 Likewise.
8487 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8488 Likewise.
8489 [__LINUX_KERNEL_VERSION >= 0x040300]
8490 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8491 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8492 Likewise.
8493 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8494 Likewise.
8495 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8496 (__ASSUME_SOCKET_SYSCALL): Likewise.
8497 (__ASSUME_BIND_SYSCALL): Likewise.
8498 (__ASSUME_CONNECT_SYSCALL): Likewise.
8499 (__ASSUME_LISTEN_SYSCALL): Likewise.
8500 (__ASSUME_ACCEPT_SYSCALL): Likewise.
8501 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8502 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8503 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8504 (__ASSUME_SEND_SYSCALL): Likewise.
8505 (__ASSUME_SENDTO_SYSCALL): Likewise.
8506 (__ASSUME_RECV_SYSCALL): Likewise.
8507 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8508 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8509 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8510 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8511 (__ASSUME_SENDMSG_SYSCALL): Likewise.
8512 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8513 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8514 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8515 Likewise.
8516 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8517 Likewise.
8518 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8519 Likewise.
8520 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8521 Likewise.
8522 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8523 Likewise.
8524 [__LINUX_KERNEL_VERSION >= 0x020625]
8525 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8526 [__LINUX_KERNEL_VERSION >= 0x020625]
8527 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8528 [__LINUX_KERNEL_VERSION >= 0x020625]
8529 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8530 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8531 Likewise.
8532 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8533 Likewise.
8534 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8535 Likewise.
8536 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8537 Likewise.
8538 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8539 Likewise.
8540 [__LINUX_KERNEL_VERSION >= 0x020625]
8541 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8542 [__LINUX_KERNEL_VERSION >= 0x020625]
8543 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8544 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8545 Likewise.
8546 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8547 Likewise.
8548
8549 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
8550
8551 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8552 record the current if the current ABI and CPU support the FP64
8553 extension.
8554 (has-modd-spreg): Define to record the current if the current ABI and
8555 CPU support 32-bit floating point values in odd FPU registers.
8556 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8557 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8558 $(has-modd-spreg) equals yes.
8559 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8560 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8561 $(has-modd-spreg) equal yes.
8562
8563 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
8564
8565 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8566 basename.
8567
8568 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
8569
8570 * benchtests/Makefile (bench-math): Move ffs and ffsll...
8571 (bench-string): ... here.
8572 (bench): Add bench-string.
8573 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8574 to *-benchset to reflect what they are.
8575 (benchset): Adjust.
8576
8577 * benchtests/sincos-inputs: Add inputs from sin-inputs and
8578 cos-inputs.
8579
8580 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
8581
8582 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8583 __attribute__ ((__simd__)) for vector math function declarations.
8584
8585 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
8586
8587 Fix typo in strncat, wcsncat manual entries
8588 * manual/string.texi (Copying and Concatenation): Fix typos in
8589 sample implementations of strncat and wcsncat, by having them use
8590 the old value of the destination length, not the new one.
8591
8592 2015-12-04 Joseph Myers <joseph@codesourcery.com>
8593
8594 [BZ #16961]
8595 [BZ #16962]
8596 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8597 string on the stack for strtod.
8598 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8599 a string on the stack for strtof.
8600 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8601 constructing a string on the stack for strtold.
8602 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8603 __strtold_nan to GLIBC_PRIVATE.
8604 * math/test-nan-overflow.c: New file.
8605 * math/test-nan-payload.c: Likewise.
8606 * math/Makefile (tests): Add test-nan-overflow and
8607 test-nan-payload.
8608
8609 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
8610
8611 Consistency about byte vs character in string.texi
8612 * manual/string.texi (String and Array Utilities):
8613 Distinguish more carefully among bytes, multibyte characters,
8614 and wide characters. Use "byte" when talking about C 'char',
8615 to distinguish it more clearly from multibyte characters.
8616 Say "wide character" or "multibyte character" instead of
8617 "character", when a wide or multibyte character is intended.
8618 Similarly for "multibyte string" versus "string".
8619 Define these terms more carefully.
8620
8621 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
8622
8623 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8624 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8625 Likewise.
8626 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8627 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8628 * sysdeps/sh/math_private.h: New file.
8629 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8630 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8631 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8632 long double function name.
8633 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8634 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8635 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8636 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8639 Remove __finitel, __isinfl, and __isnanl.
8640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8641 Likewise.
8642 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8644 Remove __finitel.
8645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8646 Likewise.
8647 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8648
8649 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
8650
8651 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8652 installed libmvec_nonshared.a.
8653
8654 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8655
8656 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8657 (sysdep_routines): Likewise.
8658 (sysdep-rtld-routines): Likewise.
8659 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8660 [$(subdir) = nptl](tests-static): test-get_hwcap-static
8661 * sysdeps/powerpc/Versions: Added new
8662 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8663 * sysdeps/powerpc/hwcapinfo.c: New file.
8664 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8665 and parse hwcap, hwcap2 and platform number information.
8666 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
8667 to store HWCAP+HWCAP2 and platform number.
8668 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8669 for HWCAP+HWCAP2 and platform number in the TCB.
8670 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
8671 the HWCAP, HWCAP2 and platform number in the TCB.
8672 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8673 (TLS_INIT_TP): Included calls to add the hwcap and
8674 at_platform values in the TCB in TP initialization.
8675 (TLS_DEFINE_INIT_TP): Likewise.
8676 (THREAD_GET_HWCAP): New macro.
8677 (THREAD_SET_HWCAP): Likewise.
8678 (THREAD_GET_AT_PLATFORM): Likewise.
8679 (THREAD_SET_AT_PLATFORM): Likewise.
8680 * sysdeps/powerpc/powerpc32/dl-machine.h:
8681 (dl_platform_init): New function that calls
8682 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8683 powerpc32.
8684 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8685 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
8686 this functionality, static linking case.
8687 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
8688 linking case.
8689 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8690 __parse_hwcap_and_convert_at_platform for the static linking case.
8691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8692 Included the new __parse_hwcap_and_convert_at_platform symbol in the
8693 ABI list for GLIBC 2.23.
8694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8695 Likewise.
8696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8697 Likewise.
8698
8699 2015-12-02 Ludovic Courtès <ludo@gnu.org>
8700
8701 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8702 * configure: Regenerate.
8703 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8704 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
8705
8706 2015-12-02 Carlos O'Donell <carlos@redhat.com>
8707
8708 * iconvdata/ibm930.c: Add comment explaining encoding uses.
8709 * iconvdata/ibm933.c: Likewise.
8710 * iconvdata/ibm935.c: Likewise.
8711 * iconvdata/ibm937.c: Likewise.
8712 * iconvdata/ibm939.c: Likewise.
8713
8714 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8715
8716 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8717 pthread_join.
8718 * nptl/tst-cancel21.c (tf): Likewise.
8719
8720 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
8721
8722 [BZ #19313]
8723 * bits/typesizes.h (__CPU_MASK_TYPE): New.
8724 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8725 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8726 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8727 Likewise.
8728 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8729 Likewise.
8730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8731 Likewise.
8732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8733 Likewise.
8734 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8735 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8736 unsigned long int with __CPU_MASK_TYPE.
8737
8738 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
8739
8740 * sysdeps/aarch64/libm-test-ulps: Regenerated.
8741
8742 2015-12-01 Joseph Myers <joseph@codesourcery.com>
8743
8744 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8745 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8746 t512.x.
8747 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8748
8749 2015-11-30 Amit Pawar <amit.pawar@amd.com>
8750
8751 [BZ #19214]
8752 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8753 argument to return extended model. Update family and model
8754 with extended family and model when family == 0x0f.
8755 (init_cpu_features): Updated.
8756
8757 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
8758
8759 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8760 signed off_t, so 32bit bigger than 2GiB values are fine actually.
8761
8762 * sysdeps/mach/hurd/mmap64.c: New file.
8763
8764 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
8765
8766 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8767 rights for its main user thread in NEWTASK.
8768
8769 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
8770
8771 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8772 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8773
8774 2015-11-27 Carlos O'Donell <carlos@redhat.com>
8775
8776 [BZ #14259]
8777 * Makeconfig: Rename localedir to complocaledir.
8778 Rename inst_localedir to inst_complocaledir.
8779 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
8780 * config.make.in: Use complocaledir and libc_cv_complocaledir.
8781 * configure.ac: Use libc_cv_complocaledir.
8782 * configure: Regenerate.
8783 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
8784 -DCOMPLOCALEDIR.
8785 * locale/findlocale.c: Use COMPLOCALEDIR.
8786 * locale/loadarchive.c: Likewise.
8787 * locale/programs/locale.c: Likewise.
8788 * locale/programs/localedef.c: Likewise.
8789 * locale/programs/locarchive.c: Likewise.
8790 * localedata/Makefile: Use inst_complocaledir.
8791 * sysdeps/gnu/configure: Regenerate.
8792 * sysdeps/hppa/configure: Regenerate.
8793 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
8794 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8796 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
8797 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
8798 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
8799 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
8800
8801 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
8802
8803 [BZ #19058]
8804 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
8805 AS_NEEDED.
8806 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
8807 workaround.
8808 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
8809 libmvec-static-only-routines): Added new file.
8810 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
8811
8812 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8813
8814 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
8815 of interrupted RPC instead of restoring it.
8816
8817 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
8818 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8819 libc_hidden_def.
8820 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
8821 into initialized data instead of common. Define rtld_hidden_data_def.
8822 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
8823 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
8824 libc_hidden_def.
8825 (if_freenameindex): Add libc_hidden_weak.
8826 (if_nameindex): Add libc_hidden_weak.
8827 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
8828 __open64.
8829 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
8830 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
8831 * sysdeps/mach/nanosleep.c: Include <time.h>
8832 (__nanosleep): Rename to __libc_nanosleep.
8833 (__nanosleep): Add weak_alias.
8834 (nanosleep): Update alias.
8835
8836 2015-11-24 Joseph Myers <joseph@codesourcery.com>
8837
8838 * stdlib/strtod_nan.c: New file.
8839 * stdlib/strtod_nan_double.h: Likewise.
8840 * stdlib/strtod_nan_float.h: Likewise.
8841 * stdlib/strtod_nan_main.c: Likewise.
8842 * stdlib/strtod_nan_narrow.h: Likewise.
8843 * stdlib/strtod_nan_wide.h: Likewise.
8844 * stdlib/strtof_nan.c: Likewise.
8845 * stdlib/strtold_nan.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
8848 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
8849 * wcsmbs/wcstod_nan.c: Likewise.
8850 * wcsmbs/wcstof_nan.c: Likewise.
8851 * wcsmbs/wcstold_nan.c: Likewise.
8852 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8853 strtold_nan.
8854 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8855 wcstof_nan.
8856 * include/stdlib.h (__strtof_nan): Declare and use
8857 libc_hidden_proto.
8858 (__strtod_nan): Likewise.
8859 (__strtold_nan): Likewise.
8860 (__wcstof_nan): Likewise.
8861 (__wcstod_nan): Likewise.
8862 (__wcstold_nan): Likewise.
8863 * include/wchar.h (____wcstoull_l_internal): Declare.
8864 * stdlib/strtod_l.c: Do not include <ieee754.h>.
8865 (____strtoull_l_internal): Remove declaration.
8866 (STRTOF_NAN): Define macro.
8867 (SET_MANTISSA): Remove macro.
8868 (STRTOULL): Likewise.
8869 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8870 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8871 (STRTOF_NAN): Define macro.
8872 (SET_MANTISSA): Remove macro.
8873 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8874 (SET_MANTISSA): Remove macro.
8875 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8876 macro.
8877 (SET_MANTISSA): Remove macro.
8878 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8879 macro.
8880 (SET_MANTISSA): Remove macro.
8881 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8882 (SET_MANTISSA): Remove macro.
8883 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8884 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8885 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8886
8887 [BZ #19266]
8888 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8889 upper case and lower case letters inside NAN(), not using TOLOWER.
8890 * stdlib/tst-strtod-nan-locale-main.c: New file.
8891 * stdlib/tst-strtod-nan-locale.c: Likewise.
8892 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8893 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8894 Depend on $(gen-locales).
8895 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8896 * wcsmbs/tst-wcstod-nan-locale.c: New file.
8897 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8898 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8899 Depend on $(gen-locales).
8900 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8901
8902 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
8903
8904 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8905
8906 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8908 __finitel, __isinfl, and __isnanl.
8909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8910 Likewise.
8911 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8913 __finitel.
8914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8915 Likewise.
8916 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8917
8918 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
8919
8920 * malloc/memusage.c (me): Remove redundant getenv call.
8921
8922 2015-10-24 Florian Weimer <fweimer@redhat.com>
8923
8924 [BZ #19143]
8925 [BZ #19164]
8926 * nptl/check-cpuset.h: Remove.
8927 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8928 Remove CPU set size check.
8929 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8930 Likewise.
8931 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8932 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8933 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8934 (__pthread_setaffinity_new): Remove CPU set size check.
8935 * sysdeps/unix/sysv/linux/sched_setaffinity.c
8936 (__kernel_cpumask_size): Remove.
8937 (__sched_setaffinity_new): Remove CPU set size check.
8938 * manual/threads.texi (Default Thread Attributes): Remove stale
8939 reference to check_cpuset_attr, determine_cpumask_size in comment.
8940 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8941 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
8942 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8943 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8944 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8945 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8946 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8947 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8948 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8949 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8950 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8951 skeleton test file.
8952 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
8953 tst-affinity-pid.
8954
8955 2015-11-24 Florian Weimer <fweimer@redhat.com>
8956
8957 * scripts/update-abilist.sh: New file.
8958 * Makefile (+subdir_targets): Add subdir_update-all-abi.
8959 * Makerules (update-all-abi-%, update-all-abi)
8960 (subdir_update-all-abi): New targets.
8961 * elf/Makefile (update-all-abi): New target.
8962
8963 2015-11-24 Florian Weimer <fweimer@redhat.com>
8964
8965 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8966 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8967 (__libc_lock_define_initialized): Use it.
8968 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8969 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8970 * malloc/malloc.c (main_arena): Likewise.
8971 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8972 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8973
8974 2015-11-23 Joseph Myers <joseph@codesourcery.com>
8975
8976 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8977 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8978 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8979 (PTRACE_O_MASK): Update value.
8980 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8981 New value in enum __ptrace_setoptions.
8982 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8983 (PTRACE_O_MASK): Update value.
8984 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8985 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8986 (PTRACE_O_MASK): Update value.
8987 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8988 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8989 (PTRACE_O_MASK): Update value.
8990 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8991 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8992 (PTRACE_O_MASK): Update value.
8993 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8994 New value in enum __ptrace_setoptions.
8995 (PTRACE_O_MASK): Update value.
8996 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8997 New value in enum __ptrace_setoptions.
8998 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8999 (PTRACE_O_MASK): Update value.
9000
9001 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9002 New macro.
9003 (PACKET_AUXDATA): Likewise.
9004 (PACKET_ORIGDEV): Likewise.
9005 (PACKET_VERSION): Likewise.
9006 (PACKET_HDRLEN): Likewise.
9007 (PACKET_RESERVE): Likewise.
9008 (PACKET_TX_RING): Likewise.
9009 (PACKET_LOSS): Likewise.
9010 (PACKET_VNET_HDR): Likewise.
9011 (PACKET_TX_TIMESTAMP): Likewise.
9012 (PACKET_TIMESTAMP): Likewise.
9013 (PACKET_FANOUT): Likewise.
9014 (PACKET_TX_HAS_OFF): Likewise.
9015 (PACKET_QDISC_BYPASS): Likewise.
9016 (PACKET_ROLLOVER_STATS): Likewise.
9017 (PACKET_FANOUT_DATA): Likewise.
9018 (PACKET_MR_UNICAST): Likewise.
9019
9020 [BZ #19242]
9021 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9022 (TOUPPER): Likewise.
9023 * stdlib/tst-strtol-locale-main.c: New file.
9024 * stdlib/tst-strtol-locale.c: Likewise.
9025 * stdlib/Makefile (tests): Add tst-strtol-locale.
9026 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9027 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9028 Depend on $(gen-locales).
9029 * wcsmbs/tst-wcstol-locale.c: New file.
9030 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9031 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9032 tr_TR.ISO-8859-9.
9033 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9034 Depend on $(gen-locales).
9035
9036 2015-11-20 Roland McGrath <roland@hack.frob.com>
9037
9038 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9039 __glibc_likely instead of __builtin_expect. After falling back to
9040 dyncode_create in a non-ET_DYN case, use the allocate_code_data
9041 system interface to register the code pages as occupied.
9042
9043 2015-11-20 Joseph Myers <joseph@codesourcery.com>
9044
9045 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9046 [!ARM_MATH_PRIVATE_H].
9047 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9048 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9049 [!HPPA_MATH_PRIVATE_H].
9050 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9051 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9052 to [!I386_MATH_PRIVATE_H].
9053 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9054 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9055 Change guard to [!M68K_MATH_PRIVATE_H].
9056 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9057 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9058 guard to [!MICROBLAZE_MATH_PRIVATE_H].
9059 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9060 macro.
9061 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9062 [!MIPS_MATH_PRIVATE_H].
9063 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9064 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9065 [!NIO2_MATH_PRIVATE_H].
9066 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9067 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9068 [!TILE_MATH_PRIVATE_H].
9069 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9070
9071 [BZ #15421]
9072 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9073 initialize with 0 and define as weak alias of __signgam.
9074 * include/math.h [!_ISOMAC] (__signgam): Declare.
9075 * math/Makefile (libm-calls): Add w_lgamma_compat.
9076 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9077 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9078 test-signgam-ullong-init.
9079 (tests-static): Add test-signgam-uchar-static,
9080 test-signgam-uchar-init-static, test-signgam-uint-static,
9081 test-signgam-uint-init-static, test-signgam-ullong-static and
9082 test-signgam-ullong-init-static.
9083 (CFLAGS-test-signgam-uchar.c): New variable.
9084 (CFLAGS-test-signgam-uchar-init.c): Likewise.
9085 (CFLAGS-test-signgam-uchar-static.c): Likewise.
9086 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9087 (CFLAGS-test-signgam-uint.c): Likewise.
9088 (CFLAGS-test-signgam-uint-init.c): Likewise.
9089 (CFLAGS-test-signgam-uint-static.c): Likewise.
9090 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9091 (CFLAGS-test-signgam-ullong.c): Likewise.
9092 (CFLAGS-test-signgam-ullong-init.c): Likewise.
9093 (CFLAGS-test-signgam-ullong-static.c): Likewise.
9094 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9095 * math/Versions (libm): Add GLIBC_2.23.
9096 * math/lgamma-compat.h: New file.
9097 * math/test-signgam-main.c: Likewise.
9098 * math/test-signgam-uchar-init-static.c: Likewise.
9099 * math/test-signgam-uchar-init.c: Likewise.
9100 * math/test-signgam-uchar-static.c: Likewise.
9101 * math/test-signgam-uchar.c: Likewise.
9102 * math/test-signgam-uint-init-static.c: Likewise.
9103 * math/test-signgam-uint-init.c: Likewise.
9104 * math/test-signgam-uint-static.c: Likewise.
9105 * math/test-signgam-uint.c: Likewise.
9106 * math/test-signgam-ullong-init-static.c: Likewise.
9107 * math/test-signgam-ullong-init.c: Likewise.
9108 * math/test-signgam-ullong-static.c: Likewise.
9109 * math/test-signgam-ullong.c: Likewise.
9110 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9111 wrapper of w_lgamma_main.c.
9112 * math/w_lgamma_compat.c: New file.
9113 * math/w_lgamma_compatf.c: Likewise.
9114 * math/w_lgamma_compatl.c: Likewise.
9115 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
9116 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
9117 defining compatibility symbols.
9118 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
9119 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9120 wrapper of w_lgammaf_main.c.
9121 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
9122 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
9123 defining compatibility symbols.
9124 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
9125 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9126 wrapper of w_lgammal_main.c.
9127 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
9128 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
9129 defining compatibility symbols.
9130 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
9131 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9132 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9133 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
9134 <lgamma-compat.h>.
9135 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
9136 (__ieee754_gamma): Define as alias.
9137 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9138 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
9139 <lgamma-compat.h>.
9140 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
9141 (__ieee754_gammaf): Define as alias.
9142 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9143 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
9144 <lgamma-compat.h>.
9145 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
9146 (__ieee754_gammal): Define as alias.
9147 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9148 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
9149 <math/w_lgamma_compat.c>.
9150 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9151 Define as alias of __lgamma_compat and use in defining lgammal.
9152 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9153 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
9154 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9155 (USE_AS_COMPAT): New macro.
9156 (LGAMMA_OLD_VER): Undefine and redefine.
9157 (lgammal): Do not define here.
9158 (gammal): Only define here if [GAMMA_ALIAS].
9159 * conform/linknamespace.pl (@whitelist): Remove signgam.
9160 * sysdeps/nacl/libm.abilist: Update.
9161 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9162 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9163 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9164 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9165 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9166 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9167 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9168 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9169 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9170 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9171 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9172 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9174 Likewise.
9175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9176 Likewise.
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9178 Likewise.
9179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9180 Likewise.
9181 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9182 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9183 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9184 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9185 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9187 Likewise.
9188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9189 Likewise.
9190 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9191 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9192 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9193
9194 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9195
9196 [BZ #16364]
9197 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9198 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9199
9200 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9201
9202 * sysdeps/s390/fpu/bits/mathinline.h:
9203 Use __asm__ [__volatile__] instead of asm [volatile].
9204 * sysdeps/s390/abort-instr.h: Likewise.
9205 * sysdeps/s390/atomic-machine.h: Likewise.
9206 * sysdeps/s390/bits/string.h: Likewise.
9207 * sysdeps/s390/dl-tls.h: Likewise.
9208 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9209 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9210 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9211 * sysdeps/s390/fpu/fesetround.c: Likewise.
9212 * sysdeps/s390/fpu/fpu_control.h: Likewise.
9213 * sysdeps/s390/fpu/s_fma.c: Likewise.
9214 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9215 * sysdeps/s390/memusage.h: Likewise.
9216 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9217 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9218 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9219 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9220 * sysdeps/s390/nptl/tls.h: Likewise.
9221 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9222 * sysdeps/s390/s390-32/backtrace.c: Likewise.
9223 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9224 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9225 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9226 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9227 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9228 * sysdeps/s390/s390-64/backtrace.c: Likewise.
9229 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9230 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9231 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9232 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9233 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9234 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9235 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9236 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9237 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9238 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9239 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9240 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9241 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9242 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9243 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9244
9245 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9246 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9247
9248 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9249 Add lwarx hint, and use macro for acquire instruction.
9250 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9251 Likewise.
9252 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9253 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9254 update to use new atomic macros.
9255
9256 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9257
9258 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9259 (__lll_trylock_elision): Fix setting of adapt_count.
9260 * sysdeps/unix/sysv/linux/powerpc/htm.h
9261 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9262 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9263 (_ABORT_SYSCALL): Renumber, and clarify definition.
9264 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9265
9266 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9267
9268 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9269 after system headers to prevent MIN/MAX redefinition. Define
9270 HAVE_ALLOCA to preserve builtin alloca usage.
9271
9272 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
9273
9274 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9275 static and don't set or restore rounding.
9276 (__cos)[IN_SINCOS]: Likewise.
9277 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9278 (__sincos): Set and restore rounding mode. Remove check for infinite
9279 or NaN input.
9280
9281 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9282
9283 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9284 as used.
9285
9286 2015-11-16 Florian Weimer <fweimer@redhat.com>
9287
9288 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9289
9290 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
9291
9292 * config.make.in (have-glob-dat-reloc): New.
9293 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
9294 target supports GLOB_DAT relocaton. AC_SUBST.
9295 * configure: Regenerated.
9296 * elf/Makefile (tests): Add tst-prelink.
9297 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9298 (tst-prelink-ENV): New.
9299 ($(objpfx)tst-prelink-conflict.out): Likewise.
9300 ($(objpfx)tst-prelink-cmp.out): Likewise.
9301 * sysdeps/x86/tst-prelink.c: Moved to ...
9302 * elf/tst-prelink.c: Here.
9303 * sysdeps/x86/tst-prelink.exp: Moved to ...
9304 * elf/tst-prelink.exp: Here.
9305 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9306 (tst-prelink-ENV): Removed.
9307 ($(objpfx)tst-prelink-conflict.out): Likewise.
9308 ($(objpfx)tst-prelink-cmp.out): Likewise.
9309 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9310
9311 2015-11-13 Joseph Myers <joseph@codesourcery.com>
9312
9313 [BZ #14551]
9314 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9315 (__mpn_construct_long_double): If high part overflows to infinity,
9316 set errno and recompute overflowed result of the correct sign.
9317 * sysdeps/ieee754/ldbl-128ibm/Makefile
9318 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9319 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9320 $(libm).
9321 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9322
9323 2015-11-12 Joseph Myers <joseph@codesourcery.com>
9324
9325 [BZ #15479]
9326 [BZ #19238]
9327 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9328 floating-point state after first operation on input. Restore full
9329 state rather than just rounding mode.
9330 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9331 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9332 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9333
9334 [BZ #19235]
9335 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9336 add 0.5 to integer arguments.
9337 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9338 Likewise.
9339 (.LC2): New object.
9340
9341 2015-11-11 Mike Frysinger <vapier@gentoo.org>
9342
9343 * scripts/pylintrc (reports): Set to no.
9344
9345 2015-11-10 Roland McGrath <roland@hack.frob.com>
9346
9347 * elf/dl-load.c (open_verify): Take new argument FD.
9348 Skip __open call if passed FD is not -1.
9349 (_dl_map_object, open_path): Update callers.
9350 * elf/dl-sysdep-open.h: New file.
9351 * elf/dl-load.c: Include it.
9352 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9353 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9354 * sysdeps/nacl/dl-sysdep-open.h: New file.
9355 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9356 from libc to rtld.
9357
9358 2015-11-10 Joseph Myers <joseph@codesourcery.com>
9359
9360 [BZ #19228]
9361 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9362 and restore full floating-point state.
9363 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9364 Likewise.
9365 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9366 Likewise.
9367 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9368 Likewise.
9369 * math/test-nearbyint-except-2.c: New file.
9370 * math/Makefile (tests): Add test-nearbyint-except-2.
9371
9372 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
9373
9374 [BZ #19178]
9375 * sysdeps/x86/Makefile (tests): Add tst-prelink.
9376 (tst-prelink-ENV): New.
9377 ($(objpfx)tst-prelink-conflict.out): Likewise.
9378 ($(objpfx)tst-prelink-cmp.out): Likewise.
9379 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9380 * sysdeps/x86/tst-prelink.c: New file.
9381 * sysdeps/x86/tst-prelink.exp: Likewise.
9382
9383 2015-11-10 Joseph Myers <joseph@codesourcery.com>
9384
9385 * math/auto-libm-test-in: Add another test of pow.
9386 * math/auto-libm-test-out: Regenerated.
9387 * math/libm-test.inc (pow_test_data): Add another test.
9388
9389 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9390
9391 [BZ #19219]
9392 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9393 weak_alias to nearbyintl.
9394
9395 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
9396
9397 * sysdeps/aarch64/bits/string.h: New file.
9398 (_STRING_ARCH_unaligned): Define.
9399
9400 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
9401
9402 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9403 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9404 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9405 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9407
9408 2015-11-09 Ulrich Drepper <drepper@gmail.com>
9409
9410 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9411 for original name of the DSO. Add it to the name list of the DSO
9412 if it is actually given.
9413 (_dl_map_object): Keep track of whether an audit module rewrote
9414 the file name. If yes, pass the original name to
9415 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
9416 debugging is enabled, log the change of the file name.
9417 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9418 _dl_map_object_from_fd.
9419 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9420 * elf/tst-audit11.c: New file
9421 * elf/tst-auditmod11.c: New file.
9422 * elf/tst-audit11mod1.c: New file.
9423 * elf/tst-audit11mod2.c: New file.
9424 * elf/tst-audit11mod2.map: New file.
9425 * elf/tst-audit12.c: New file
9426 * elf/tst-auditmod12.c: New file.
9427 * elf/tst-audit12mod1.c: New file.
9428 * elf/tst-audit12mod2.c: New file.
9429 * elf/tst-audit12mod2.map: New file.
9430 * elf/tst-audit12mod3.c: New file.
9431
9432 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
9433
9434 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9435 Don't create weak aliases,
9436 because versioned symbols are created later.
9437 * sysdeps/s390/s390-32/setjmp.S
9438 (setjmp, _setjmp): Remove weak and rename to an unique name
9439 in SHARED case due to existing versioned symbols.
9440 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9441 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9442 (getcontext): Create weak alias only in non SHARED case.
9443 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9444
9445 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
9446
9447 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9448 (__ASSUME_*_SYSCALL) Define new macros.
9449 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9450 Remove socketcall syscalls.
9451 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9452 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9453 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9454 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9455 * sysdeps/unix/sysv/linux/send.c (__libc_send):
9456 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9457
9458 2015-11-09 Florian Weimer <fweimer@redhat.com>
9459
9460 [BZ #12926]
9461 Terminate process on invalid netlink response.
9462 * sysdeps/unix/sysv/linux/netlinkaccess.h
9463 (__netlink_assert_response): Declare.
9464 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9465 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9466 (sysdep_routines): Add netlink_assert_response.
9467 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9468 __netlink_assert_response.
9469 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9470 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9471 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9472 __netlink_assert_response.
9473
9474 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
9475
9476 [BZ #19178]
9477 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9478 (RTYPE_CLASS_PLT): Likewise.
9479 (RTYPE_CLASS_COPY): Likewise.
9480 (RTYPE_CLASS_TLS): Likewise.
9481 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9482 to set relocation type class for DL_DEBUG_PRELINK. Keep only
9483 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9484 DL_DEBUG_PRELINK.
9485
9486 2015-11-06 Joseph Myers <joseph@codesourcery.com>
9487
9488 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9489 calls with argument -0.5.
9490 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9491
9492 * configure.ac (libc_cv_z_nodelete): Remove configure test.
9493 (libc_cv_z_nodlopen): Likewise.
9494 (libc_cv_z_initfirst): Likewise.
9495 * configure: Regenerated.
9496
9497 2015-11-06 Florian Weimer <fweimer@redhat.com>
9498
9499 Simplify abilist format to be line-based.
9500 * scripts/abilist.awk: Collect descriptors in the descs variable.
9501 (emit): Write descs variable and sort it
9502 externally, with sort.
9503 * sysdeps/**/*.abilist: Convert to new format.
9504
9505 2015-11-06 Mark Wielaard <mjw@redhat.com>
9506
9507 [BZ #11460]
9508 * io/Makefile (routines): Add fts64.
9509 (tests): Add tst-fts and tst-fts-lfs.
9510 (CFLAGS-fts64.c): New.
9511 * io/Versions (GLIBC_2.23): New.
9512 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9513 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9514 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9515 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9516 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9517 (FTSENT64): Likewise.
9518 (fts64_children): Likewise.
9519 (fts64_close): Likewise.
9520 (fts64_open): Likewise.
9521 (fts64_read): Likewise.
9522 (fts64_set): Likewise.
9523 * io/fts64.c: New file.
9524 * io/tst-fts.c: New test.
9525 * io/tst-fts-lfs.c: Likewise.
9526 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9527 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9528 fts64_set.
9529 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9530 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9531 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9532 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9533 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9534 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9535 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9536 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9537 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9538 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9539 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9540 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9541 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9543 Likewise.
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9545 Likewise.
9546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9548 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9549 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9550 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9551 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9552 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9555 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9556 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9557 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9558 * sysdeps/wordsize-64/fts.c: New file.
9559 * sysdeps/wordsize-64/fts64.c: Likewise.
9560 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9561 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9562 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9563 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9564
9565 2015-11-05 Joseph Myers <joseph@codesourcery.com>
9566
9567 * math/libm-test.inc (NON_FINITE): New macro.
9568 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9569 * math/gen-libm-test.pl (show_exceptions): Add argument
9570 $non_finite.
9571 (parse_args): Update call to show_exceptions.
9572 * math/test-math-finite.h: New file.
9573 * math/test-math-no-finite.h: Likewise.
9574 * math/test-double-finite.c: Likewise.
9575 * math/test-float-finite.c: Likewise.
9576 * math/test-ldouble-finite.c: Likewise.
9577 * math/test-double.c: Include "test-math-no-finite.h".
9578 * math/test-float.c: Include "test-math-no-finite.h".
9579 * math/test-ldouble.c: Include "test-math-no-finite.h".
9580 * math/test-math-inline.h (TEST_FINITE): New macro.
9581 * math/test-math-vector.h (TEST_FINITE): Likewise.
9582 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9583 (libm-tests): Add test-float-finite and test-double-finite.
9584 ($(objpfx)test-float-finite.o): New dependency on
9585 $(objpfx)libm-test.stmp.
9586 ($(objpfx)test-double-finite.o): Likewise.
9587 ($(objpfx)test-ldouble-finite.o): Likewise.
9588 (libm-test-no-inline-cflags): New variable.
9589 (libm-test-finite-cflags): Likewise.
9590 (CFLAGS-test-float-finite.c): Likewise.
9591 (CFLAGS-test-double-finite.c): Likewise.
9592 (CFLAGS-test-ldouble-finite.c): Likewise.
9593 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9594 (CFLAGS-test-double.c): Likewise.
9595 (CFLAGS-test-ldouble.c): Likewise.
9596
9597 2015-11-05 Roland McGrath <roland@hack.frob.com>
9598
9599 * io/fcntl.c (__fcntl): Add ... to prototype.
9600 * misc/ioctl.c (__ioctl): Likewise.
9601 * misc/syscall.c (syscall): Likewise.
9602
9603 2015-11-05 Joseph Myers <joseph@codesourcery.com>
9604
9605 * scripts/list-fixed-bugs.py: New file.
9606
9607 [BZ #19213]
9608 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9609 returned for argument 1.
9610 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9611 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9612 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9613 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9614 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9615 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9616
9617 [BZ #19211]
9618 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9619 __USE_XOPEN], not if [!__USE_ISOC99].
9620 (lgammaf): Likewise.
9621 (lgammal): Likewise.
9622 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9623 (gammaf): Likewise.
9624 (gammal): Likewise.
9625 * math/test-signgam-finite-c11.c: New file.
9626 * math/test-signgam-finite-c99.c: Likewise.
9627 * math/test-signgam-finite.c: Likewise.
9628 * math/Makefile (tests): Add test-signgam-finite,
9629 test-signgam-finite-c99 and test-signgam-finite-c11.
9630 (CFLAGS-test-signgam-finite.c): New variable.
9631 (CFLAGS-test-signgam-finite-c99.c): Likewise.
9632 (CFLAGS-test-signgam-finite-c11.c): Likewise.
9633
9634 [BZ #19212]
9635 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9636 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9637 500].
9638 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9639 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9640 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9641 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9642 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9643 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9644 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9645 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9646 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9647 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9648
9649 [BZ #19209]
9650 * math/bits/math-finite.h (ldexp): Remove declaration.
9651 (ldexpf): Likewise.
9652 (ldexpl): Likewise.
9653
9654 [BZ #19205]
9655 * math/bits/math-finite.h (acosf): Condition declaration on
9656 [__USE_ISOC99].
9657 (acosl): Likewise.
9658 (acoshf): Likewise.
9659 (acoshl): Likewise.
9660 (asinf): Likewise.
9661 (asinl): Likewise.
9662 (atan2f): Likewise.
9663 (atan2l): Likewise.
9664 (atanhf): Likewise.
9665 (atanhl): Likewise.
9666 (coshf): Likewise.
9667 (coshl): Likewise.
9668 (expf): Likewise.
9669 (expl): Likewise.
9670 (fmodf): Likewise.
9671 (fmodl): Likewise.
9672 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9673 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9674 (j0l): Likewise.
9675 (y0f): Likewise.
9676 (y0l): Likewise.
9677 (j1f): Likewise.
9678 (j1l): Likewise.
9679 (y1f): Likewise.
9680 (y1l): Likewise.
9681 (jnf): Likewise.
9682 (jnl): Likewise.
9683 (ynf): Likewise.
9684 (ynl): Likewise.
9685 (lgammaf_r): Condition declaration on [__USE_ISOC99].
9686 (lgammal_r): Likewise.
9687 (__lgamma_r_finite): New declaration.
9688 (__lgammaf_r_finite): Likewise.
9689 (__lgammal_r_finite): Likewise.
9690 (lgamma): Use __lgamma_r_finite.
9691 (lgammaf): Condition definition on [__USE_ISOC99]. Use
9692 __lgammaf_r_finite.
9693 (lgammal): Condition definition on [__USE_ISOC99]. Use
9694 __lgammal_r_finite.
9695 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
9696 __lgamma_r_finite.
9697 (gammaf): Condition definition on [__USE_ISOC99]. Use
9698 __lgammaf_r_finite.
9699 (gammal): Condition definition on [__USE_ISOC99]. Use
9700 __lgammal_r_finite.
9701 (logf): Condition declaration on [__USE_ISOC99].
9702 (logl): Likewise.
9703 (log10f): Likewise.
9704 (log10l): Likewise.
9705 (ldexpf): Likewise.
9706 (ldexpl): Likewise.
9707 (powf): Likewise.
9708 (powl): Likewise.
9709 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9710 __USE_ISOC99].
9711 (remainderf): Condition declaration on [__USE_ISOC99].
9712 (remainderl): Likewise.
9713 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9714 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9715 (scalbl): Likewise.
9716 (sinhf): Condition declaration on [__USE_ISOC99].
9717 (sinhl): Likewise.
9718 (sqrtf): Likewise.
9719 (sqrtl): Likewise.
9720
9721 2015-11-04 Joseph Myers <joseph@codesourcery.com>
9722
9723 * sysdeps/arm/atomic-machine.h
9724 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9725 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9726 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9727 Remove conditional code.
9728 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9729 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9730 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9731 Change conditional to [__ASSEMBLER__].
9732 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9733 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9734 [!__ASSEMBLER__].
9735 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9736 code.
9737 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9738 conditional macro definitions.
9739 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9740 (__arch_compare_and_exchange_val_16_acq): Likewise.
9741 (__arch_compare_and_exchange_val_32_acq): Likewise.
9742 (atomic_exchange_and_add): Likewise.
9743 (atomic_add): Likewise.
9744 (atomic_add_negative): Likewise.
9745 (atomic_add_zero): Likewise.
9746 (atomic_bit_set): Likewise.
9747 (atomic_bit_test_set): Likewise.
9748 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9749 code unconditional.
9750 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9751
9752 * math/test-math-errno.h: New file.
9753 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9754 empty.
9755 (TEST_ERRNO): New macro.
9756 (TEST_EXCEPTIONS): Likewise.
9757 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9758 (TEST_EXCEPTIONS): Likewise.
9759 * math/test-math-vector.h (TEST_ERRNO): Likewise.
9760 * math/test-double.c: Include "test-math-errno.h".
9761 * math/test-float.c: Likewise.
9762 * math/test-ldouble.c: Likewise.
9763 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9764 code unconditional.
9765 (test_exceptions): Only run code if TEST_EXCEPTIONS.
9766 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9767 unconditional.
9768 (test_errno): Only run code if TEST_ERRNO.
9769 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9770
9771 2015-11-04 Florian Weimer <fweimer@redhat.com>
9772
9773 * nptl/tst-once5.cc: Remove attribution.
9774
9775 2015-11-04 Joseph Myers <joseph@codesourcery.com>
9776
9777 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
9778 sqrt, tan, tanh, y0, y1 and yn.
9779 * math/auto-libm-test-out: Regenerated.
9780 * math/libm-test.inc (scalb_test_data): Add more tests.
9781 (scalbn_test_data): Likewise.
9782 (scalbln_test_data): Likewise.
9783 (signbit_test_data): Likewise.
9784 (sin_test_data): Likewise.
9785 (sincos_test_data): Likewise.
9786 (sinh_test_data): Likewise.
9787 (sqrt_test_data): Likewise.
9788 (tan_test_data): Likewise.
9789 (tanh_test_data): Likewise.
9790 (tgamma_test_data): Likewise.
9791 (y0_test_data): Likewise.
9792 (y1_test_data): Likewise.
9793 (yn_test_data): Likewise.
9794 (significand_test_data): Likewise.
9795 * sysdeps/i386/fpu/libm-test-ulps: Update.
9796
9797 2015-11-03 David Kastrup <dak@gnu.org>
9798
9799 [BZ #18604]
9800 * assert/assert.h (assert): Don't macro-expand failed assertion
9801 expression in error message.
9802 * malloc/malloc.c (assert): Likewise.
9803
9804 2015-11-03 Joseph Myers <joseph@codesourcery.com>
9805
9806 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
9807 test.
9808 * configure: Regenerated.
9809
9810 2015-11-02 Joseph Myers <joseph@codesourcery.com>
9811
9812 * math/libm-test.inc (modf_test_data): Add more tests.
9813 (nearbyint_test_data): Likewise.
9814 (nextafter_test_data): Likewise.
9815 (nexttoward_test_data): Likewise.
9816 (pow_test_data): Likewise.
9817 (remainder_test_data): Likewise.
9818 (remquo_test_data): Likewise.
9819 (rint_test_data): Likewise.
9820
9821 [BZ #19201]
9822 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9823 Check for zero remainder in case of large exponents and ensure
9824 correct sign of result in that case.
9825 * math/libm-test.inc (remainder_test_data): Add more tests.
9826
9827 [BZ #6799]
9828 * math/s_nextafter.c: Include <errno.h>.
9829 (__nextafter): Set errno on overflow and underflow.
9830 * math/s_nexttowardf.c: Include <errno.h>.
9831 (__nexttowardf): Set errno on overflow and underflow.
9832 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
9833 (__nextafterl): Set errno on overflow and underflow.
9834 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
9835 (__nexttoward): Set errno on overflow and underflow.
9836 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
9837 (__nexttowardf): Set errno on overflow and underflow.
9838 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
9839 (__nextafterf): Set errno on overflow and underflow.
9840 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
9841 (__nextafterl): Set errno on overflow and underflow.
9842 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
9843 (__nexttoward): Set errno on overflow and underflow.
9844 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
9845 (__nexttowardf): Set errno on overflow and underflow.
9846 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
9847 (__nextafterl): Set errno on overflow and underflow.
9848 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
9849 (__nexttoward): Set errno on overflow and underflow.
9850 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9851 (__nexttowardf): Set errno on overflow and underflow.
9852 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9853 (__nexttoward): Set errno on overflow and underflow.
9854 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9855 (__nexttowardf): Set errno on overflow and underflow.
9856 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9857 (__nldbl_nexttowardf): Set errno on overflow and underflow.
9858 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9859 (__nextafterl): Set errno on overflow and underflow.
9860 * math/libm-test.inc (nextafter_test_data): Do not allow errno
9861 setting to be missing on overflow. Add more tests.
9862 (nexttoward_test_data): Likewise.
9863
9864 * configure.ac (libc_cv_initfini_array): Remove configure test.
9865 * configure: Regenerated.
9866
9867 2015-10-29 Joseph Myers <joseph@codesourcery.com>
9868
9869 [BZ #19189]
9870 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9871 non-finite argument handle arguments with negative sign.
9872
9873 * math/libm-test.inc (j0_test_data): Do not test sign of zero
9874 result from infinite argument.
9875 (j1_test_data): Likewise.
9876 (jn_test_data): Likewise.
9877 (y0_test_data): Likewise.
9878 (y1_test_data): Likewise.
9879 (yn_test_data): Likewise.
9880
9881 [BZ #16171]
9882 * math/w_remainder.c (drem): Define as weak alias of __remainder.
9883 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9884 * math/w_remainderf.c (dremf): Define as weak alias of
9885 __remainderf.
9886 * math/w_remainderl.c (dreml): Define as weak alias of
9887 __remainderl.
9888 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9889 __remainder.
9890 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9891 __remainderf.
9892 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9893 __remainderl.
9894 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9895 weak alias of remainderl.
9896 * sysdeps/ieee754/ldbl-opt/w_remainder.c
9897 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9898 alias of __remainder.
9899 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9900 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9901 strong alias of __remainderl.
9902 (dreml): Use long_double_symbol.
9903 * math/Makefile (libm-calls): Remove w_drem.
9904 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9905 (CFLAGS-nldbl-drem.c): Remove variable.
9906 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9907 * math/w_drem.c: Remove file.
9908 * math/w_dremf.c: Likewise.
9909 * math/w_dreml.c: Likewise.
9910 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9911 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9912 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9913
9914 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9915 * sysdeps/i386/configure: Regenerated.
9916 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9917 * sysdeps/x86_64/configure: Regenerated.
9918
9919 * configure.ac (libc_cv_asm_protected_directive): Remove configure
9920 test.
9921 (libc_cv_visibility_attribute): Likewise.
9922 (libc_cv_protected_data): Test unconditionally.
9923 (libc_cv_broken_visibility_attribute): Remove configure test.
9924 (libc_cv_have_sdata_section): Test unconditionally.
9925 * configure: Regenerated.
9926
9927 * include/libc-internal.h (libc_max_align_t): Remove typedef.
9928 * include/scratch_buffer.h: Include <stddef.h> instead of
9929 <libc-internal.h>.
9930 (struct scratch_buffer): Use max_align_t instead of
9931 libc_max_align_t.
9932
9933 2015-10-29 Florian Weimer <fweimer@redhat.com>
9934
9935 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9936 instead of extend_alloca. Change control flow to avoid a goto.
9937 Remove assert which is trivially always true.
9938
9939 2015-10-28 Joseph Myers <joseph@codesourcery.com>
9940
9941 [BZ #16068]
9942 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9943 (FE_ALL_EXCEPT_X86): New macro.
9944 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9945 FE_ALL_EXCEPT. Ensure precision control is included in
9946 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9947 handle "denormal operand exception" and clear FZ and DAZ bits.
9948 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9949 (FE_ALL_EXCEPT_X86): New macro.
9950 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9951 FE_ALL_EXCEPT. Ensure precision control is included in
9952 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9953 handle "denormal operand exception" and clear FZ and DAZ bits.
9954 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9955 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9956 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9957 test-fenv-x87 and test-fenv-sse-2.
9958 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9959
9960 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9961 * math/test-double.h (BUILD_COMPLEX): New macro.
9962 * math/test-float.h (BUILD_COMPLEX): Likewise.
9963 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9964
9965 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9966 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9967 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9969 instead of DBL_DENORM_MIN in comment.
9970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9971 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9972 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9973 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9974 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9975 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9976
9977 2015-10-28 Florian Weimer <fweimer@redhat.com>
9978
9979 [BZ# 19048]
9980 * malloc/malloc.c (struct malloc_state): Update comment. Add
9981 attached_threads member.
9982 (main_arena): Initialize attached_threads.
9983 * malloc/arena.c (list_lock): Update comment.
9984 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9985 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9986 (deattach_arena): New function.
9987 (_int_new_arena): Initialize arena reference count and deattach
9988 replaced arena.
9989 (get_free_list, reused_arena): Update reference count and deattach
9990 replaced arena.
9991 (arena_thread_freeres): Update arena reference count and only put
9992 unreferenced arenas on the free list.
9993
9994 2015-10-28 Joseph Myers <joseph@codesourcery.com>
9995
9996 [BZ #19181]
9997 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9998 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9999 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10000 * math/test-fenv-clear-main.c: New file.
10001 * math/test-fenv-clear.c: Likewise.
10002 * math/Makefile (tests): Add test-fenv-clear.
10003 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10004 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10005 test-fenv-clear-sse.
10006 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10007
10008 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10009 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10010 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10011
10012 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10013
10014 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10015 static libc.
10016
10017 2015-10-28 Joseph Myers <joseph@codesourcery.com>
10018
10019 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10020 test.
10021 * sysdeps/i386/configure: Regenerated.
10022 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10023 test.
10024 * sysdeps/x86_64/configure: Regenerated.
10025 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10027 memset-avx2 unconditionally instead of conditionally on
10028 [$(config-cflags-avx2) = yes].
10029 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10030 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10031 unconditional.
10032 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10033 * sysdeps/x86_64/multiarch/memset_chk.S
10034 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10035 to [IS_IN (libc) && SHARED].
10036
10037 2015-10-27 Joseph Myers <joseph@codesourcery.com>
10038
10039 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10040 configure test.
10041 * sysdeps/arm/configure: Regenerated.
10042 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10043 Define variable if not already defined.
10044
10045 [BZ #17404]
10046 * sysdeps/mips/atomic-machine.h
10047 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10048 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10049 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10050
10051 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10052 unconditional.
10053 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10054 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10055 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10056 unconditional.
10057 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10058 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10059 unconditional.
10060 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10061 * stdlib/setenv.c
10062 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10063 code unconditional.
10064 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10065 Remove conditional code.
10066 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10067 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10068 unconditional.
10069 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10070 code.
10071 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10072 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10073 unconditional.
10074 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10075 code.
10076 * sysdeps/ieee754/ldbl-128/k_tanl.c
10077 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10078 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10079 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10080 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10081 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10082 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10083 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10084 unconditional.
10085 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10086 code.
10087 * sysdeps/ieee754/ldbl-96/k_tanl.c
10088 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10089 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10090
10091 * nptl/tst-initializers1-c11.c: New file.
10092 * nptl/tst-initializers1-gnu11.c: Likewise.
10093 * nptl/Makefile (tests): Add these new tests.
10094 (CFLAGS-tst-initializers1-c11.c): New variable.
10095 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10096
10097 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10098 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10099 instead of -std=gnu99.
10100 * configure.ac (systemtap): Test with -std=gnu11 instead of
10101 -std=gnu99.
10102 * configure: Regenerated.
10103 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10104 in compilation command in comment.
10105
10106 * sysdeps/nptl/configure.ac: Remove file.
10107 * sysdeps/nptl/configure: Remove generated file.
10108 * configure.ac (libc_cv_forced_unwind): Do not substitute.
10109 * configure: Regenerated.
10110 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10111 * config.make.in (have-forced-unwind): Remove variable.
10112 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10113 unconditional.
10114 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10115 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10116 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10117 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10118 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10119 unconditional.
10120
10121 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10122
10123 [BZ #19174]
10124 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10125 .skip_lock_out_of_tbegin_retries.
10126 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10127 (__lll_lock_elision): Likewise, and respect a value of
10128 try_tbegin <= 0.
10129
10130 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10131
10132 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10133 statement.
10134
10135 2015-10-27 Joseph Myers <joseph@codesourcery.com>
10136
10137 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10138 variable.
10139 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10140 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10141
10142 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10143 of -std=c1x -D_ISOC11_SOURCE.
10144
10145 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10146 * configure: Regenerated.
10147 * manual/install.texi (Tools for Compilation): Document
10148 requirement for GCC 4.7 or later.
10149 * INSTALL: Regenerated.
10150
10151 2015-10-27 Ludovic Courtès <ludo@gnu.org>
10152
10153 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10154 on CNT to a conditional jump to 'puntdata'.
10155
10156 2015-10-27 Joseph Myers <joseph@codesourcery.com>
10157
10158 * configure.ac (libc_cv_gcc___thread): Remove configure test.
10159 (libc_cv_gcc_tls_model_attr): Likewise.
10160 * configure: Regenerated.
10161
10162 * configure.ac (libc_cv_need_minus_P): Remove configure test.
10163 * configure: Regenerated.
10164 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10165
10166 2015-10-26 Joseph Myers <joseph@codesourcery.com>
10167
10168 * configure.ac (old_glibc_headers): Remove configure test.
10169 * configure: Regenerated.
10170 * config.make.in (old-glibc-headers): Remove variable.
10171 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10172 (install): Remove dependency on remove-old-headers.
10173 (headers2_0): Remove variable.
10174 (remove-old-headers): Remove rule.
10175
10176 * configure.ac (libc_cv_dot_text): Remove configure test.
10177 (libc_cv_asm_set_directive): Use .text instead of
10178 ${libc_cv_dot_text} in configure test.
10179 * configure: Regenerated.
10180
10181 2015-10-26 Florian Weimer <fweimer@redhat.com>
10182
10183 [BZ #19168]
10184 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10185
10186 2015-10-26 Florian Weimer <fweimer@redhat.com>
10187
10188 * configure.ac (CXX): Clear the variable if the C++ toolchain does
10189 not support static linking.
10190 * configure: Regenerate.
10191
10192 2015-10-23 Joseph Myers <joseph@codesourcery.com>
10193
10194 * math/libm-test.inc (check_float_internal): Do not special-case
10195 errors up to 0.5 ulp.
10196
10197 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10198 log2.
10199 * math/auto-libm-test-out: Regenerated.
10200 * math/libm-test.inc (MAX_EXP): New macro.
10201 (ilogb_test_data): Add more tests.
10202 (isfinite_test_data): Likewise.
10203 (isgreater_test_data): Likewise.
10204 (isgreaterequal_test_data): Likewise.
10205 (isinf_test_data): Likewise.
10206 (isless_test_data): Likewise.
10207 (islessequal_test_data): Likewise.
10208 (islessgreater_test_data): Likewise.
10209 (isnan_test_data): Likewise.
10210 (isnormal_test_data): Likewise.
10211 (issignaling_test_data): Likewise.
10212 (isunordered_test_data): Likewise.
10213 (j0_test_data): Likewise.
10214 (j1_test_data): Likewise.
10215 (jn_test_data): Likewise.
10216 (lgamma_test_data): Likewise.
10217 (log_test_data): Likewise.
10218 (log10_test_data): Likewise.
10219 (log1p_test_data): Likewise.
10220 (log2_test_data): Likewise.
10221 (logb_test_data): Likewise.
10222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10223
10224 [BZ #18611]
10225 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10226 avoid excess range and precision on underflow.
10227 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10228 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10229 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10230 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10231 underflow.
10232 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10233 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10234 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10235 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10236 * math/auto-libm-test-in: Do not allow missing errno setting for
10237 tests of j1 and jn.
10238 * math/auto-libm-test-out: Regenerated.
10239
10240 2015-10-22 Joseph Myers <joseph@codesourcery.com>
10241
10242 [BZ #15491]
10243 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10244 floating-point environment instead of clearing all exceptions.
10245 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10246 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10247 merging in "invalid" exceptions from frndint.
10248 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10249 * math/test-nearbyint-except.c: New file.
10250 * math/Makefile (tests): Add test-nearbyint-except.
10251
10252 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
10253
10254 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10255
10256 * sysdeps/tile/libm-test-ulps: Regenerated.
10257
10258 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10259
10260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10261 (__NR_sync_file_range2): Assume it is always defined.
10262 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10263 (__NR_sync_file_range): Assume it is always defined.
10264
10265 2015-10-22 Andreas Schwab <schwab@suse.de>
10266
10267 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10268 INTERNAL_SYSCALL_ERRNO.
10269 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10270 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10271 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10272 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10273 Likewise.
10274 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10275
10276 2015-10-21 Joseph Myers <joseph@codesourcery.com>
10277
10278 * io/tst-fcntl.c (fd): New static variable.
10279 (do_prepare): Open temporary file here....
10280 (do_test): ...not here.
10281
10282 * io/ftwtest-sh: Also trap on exit to remove temporary files.
10283
10284 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
10285
10286 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10287 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10288 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10289 Moved before "#ifdef __ASSEMBLER__".
10290
10291 2015-10-21 Joseph Myers <joseph@codesourcery.com>
10292
10293 [BZ #19156]
10294 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10295 arguments very close to 0.
10296
10297 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
10298
10299 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10300 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10301
10302 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
10303
10304 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10305 New. Defined for GCC 5 and above when not compiling for
10306 profiling.
10307 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10308
10309 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10310 Renamed to ...
10311 (CFLAGS-epoll_pwait.o): This.
10312 (CFLAGS-mmap.c): Renamed to ...
10313 (CFLAGS-mmap.o): This.
10314 (CFLAGS-mmap64.c): Renamed to ...
10315 (CFLAGS-mmap64.o): This.
10316 (CFLAGS-epoll_pwait.os): New.
10317 (CFLAGS-mmap.os): Likewise.
10318 (CFLAGS-mmap64.os): Likewise.
10319 (CFLAGS-semtimedop.os): Likewise.
10320 (CFLAGS-semtimedop.c): Renamed to ...
10321 (CFLAGS-semtimedop.o): This.
10322
10323 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10324
10325 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10326 warning message.
10327
10328 2015-10-21 Joseph Myers <joseph@codesourcery.com>
10329
10330 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10331 * Makefile ($(objpfx)c++-types-check.out): Filter out
10332 $(+gccwarn-c) instead of -Wstrict-prototypes.
10333
10334 * io/fts.c (fts_open): Convert to prototype-style function
10335 definition.
10336 * malloc/mcheck.c (mcheck): Likewise.
10337 (mcheck_pedantic): Likewise.
10338 * posix/regexec.c (re_search_2_stub): Likewise. Use
10339 internal_function.
10340 (re_search_internal): Likewise.
10341 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10342 prototype-style function definition.
10343 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10344 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10345 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10346 (xdr_utmpptr): Likewise.
10347 (xdr_utmparr): Likewise.
10348 (xdr_utmpidle): Likewise.
10349 (xdr_utmpidleptr): Likewise.
10350 (xdr_utmpidlearr): Likewise.
10351
10352 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10353 log, log10 and log2.
10354 * math/auto-libm-test-out: Regenerated.
10355 * math/libm-test.inc (fmod_test_data): Add more tests.
10356 (fpclassify_test_data): Likewise.
10357 (frexp_test_data): Likewise.
10358 (hypot_test_data): Likewise.
10359 (ilogb_test_data): Likewise.
10360
10361 2015-10-20 Joseph Myers <joseph@codesourcery.com>
10362
10363 * debug/fortify_fail.c (__fortify_fail): Convert to
10364 prototype-style function definition. Use internal_function.
10365 * libio/genops.c (save_for_backup): Convert to prototype-style
10366 function definition.
10367 * libio/wgenops.c (save_for_wbackup): Likewise.
10368 * login/grantpt.c (grantpt): Likewise.
10369 * login/ptsname.c (ptsname): Likewise.
10370 (__ptsname_r): Likewise.
10371 * login/unlockpt.c (unlockpt): Likewise.
10372 * mach/msgserver.c (__mach_msg_server): Likewise.
10373 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10374 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10375 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10376 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10377 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10378 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10379 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10380 Likewise.
10381 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
10382 internal_function.
10383 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10384 prototype-style function definition.
10385 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10386 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10387 (__pthread_create_2_0): Likewise.
10388 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10389 * nptl/register-atfork.c (__register_atfork): Likewise.
10390 * posix/glob.c (glob): Likewise.
10391 * posix/regcomp.c (re_comp): Likewise.
10392 * posix/regexec.c (re_exec): Likewise.
10393 * stdlib/add_n.c [__STDC__]: Make code unconditional.
10394 [!__STDC__]: Remove conditional code.
10395 * stdlib/cmp.c [__STDC__]: Make code unconditional.
10396 [!__STDC__]: Remove conditional code.
10397 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10398 [!__STDC__]: Remove conditional code.
10399 * stdlib/divrem.c [__STDC__]: Make code unconditional.
10400 [!__STDC__]: Remove conditional code.
10401 * stdlib/lshift.c [__STDC__]: Make code unconditional.
10402 [!__STDC__]: Remove conditional code.
10403 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10404 [!__STDC__]: Remove conditional code.
10405 * stdlib/mul.c [__STDC__]: Make code unconditional.
10406 [!__STDC__]: Remove conditional code.
10407 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10408 [!__STDC__]: Remove conditional code.
10409 * stdlib/rshift.c [__STDC__]: Make code unconditional.
10410 [!__STDC__]: Remove conditional code.
10411 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10412 function definition.
10413 (STRTOF): Likewise.
10414 * stdlib/strtod_l.c (__STRTOF): Likewise.
10415 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10416 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10417 (__strtol_l): Likewise.
10418 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10419 [!__STDC__]: Remove conditional code.
10420 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10421 definition.
10422 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10423 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10424 type.
10425 (__strcasecmp): Convert to prototype-style function definition.
10426 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10427 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10428 type.
10429 (__strncasecmp): Convert to prototype-style function definition.
10430 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10431 * sunrpc/xdr.c (xdr_union): Likewise.
10432 * sunrpc/xdr_array.c (xdr_array): Likewise.
10433 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10434 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10435 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10436 Likewise.
10437 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10438 Likewise.
10439 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10440 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10441 Likewise.
10442 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10443 (LOCALE_PARAM_PROTO): Likewise.
10444 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10445 argument type.
10446 (ut_argument_spec): Remove macro.
10447 (ut_argument_spec_iso): Rename to ut_argument_spec.
10448 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
10449 prototype-style function definition.
10450 (memcpy_uppcase): Likewise.
10451 (__strftime_internal): Likewise.
10452 (my_strftime): Likewise.
10453 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10454 (LOCALE_PARAM_DECL): Likewise.
10455 [_LIBC] (LOCALE_PARAM): Include argument type.
10456 (__strptime_internal): Convert to prototype-style function
10457 definition.
10458 (strptime): Likewise.
10459 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10460 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10461 type.
10462 (__wcscasecmp): Convert to prototype-style function definition.
10463 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10464 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10465 type.
10466 (__wcsncasecmp): Convert to prototype-style function definition.
10467
10468 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10469 function definition.
10470 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10471 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10472 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10473 * elf/dl-minimal.c (_itoa): Likewise.
10474 * hurd/hurdmalloc.c (malloc): Likewise.
10475 (free): Likewise.
10476 (realloc): Likewise.
10477 * inet/inet6_option.c (inet6_option_space): Likewise.
10478 (inet6_option_init): Likewise.
10479 (inet6_option_append): Likewise.
10480 (inet6_option_alloc): Likewise.
10481 (inet6_option_next): Likewise.
10482 (inet6_option_find): Likewise.
10483 * io/ftw.c (FTW_NAME): Likewise.
10484 (NFTW_NAME): Likewise.
10485 (NFTW_NEW_NAME): Likewise.
10486 (NFTW_OLD_NAME): Likewise.
10487 * libio/iofwide.c (_IO_fwide): Likewise.
10488 * libio/strops.c (_IO_str_init_static_internal): Likewise.
10489 (_IO_str_init_static): Likewise.
10490 (_IO_str_init_readonly): Likewise.
10491 (_IO_str_overflow): Likewise.
10492 (_IO_str_underflow): Likewise.
10493 (_IO_str_count): Likewise.
10494 (_IO_str_seekoff): Likewise.
10495 (_IO_str_pbackfail): Likewise.
10496 (_IO_str_finish): Likewise.
10497 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10498 (_IO_wstr_overflow): Likewise.
10499 (_IO_wstr_underflow): Likewise.
10500 (_IO_wstr_count): Likewise.
10501 (_IO_wstr_seekoff): Likewise.
10502 (_IO_wstr_pbackfail): Likewise.
10503 (_IO_wstr_finish): Likewise.
10504 * locale/programs/localedef.c (normalize_codeset): Likewise.
10505 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10506 (add_locales_to_archive): Likewise.
10507 (delete_locales_from_archive): Likewise.
10508 * malloc/malloc.c (__libc_mallinfo): Likewise.
10509 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10510 * misc/tsearch.c (__tfind): Likewise.
10511 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10512 * nptl/pthread_attr_getdetachstate.c
10513 (__pthread_attr_getdetachstate): Likewise.
10514 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10515 Likewise.
10516 * nptl/pthread_attr_getinheritsched.c
10517 (__pthread_attr_getinheritsched): Likewise.
10518 * nptl/pthread_attr_getschedparam.c
10519 (__pthread_attr_getschedparam): Likewise.
10520 * nptl/pthread_attr_getschedpolicy.c
10521 (__pthread_attr_getschedpolicy): Likewise.
10522 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10523 Likewise.
10524 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10525 Likewise.
10526 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10527 Likewise.
10528 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10529 Likewise.
10530 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10531 (__pthread_attr_init_2_0): Likewise.
10532 * nptl/pthread_attr_setdetachstate.c
10533 (__pthread_attr_setdetachstate): Likewise.
10534 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10535 Likewise.
10536 * nptl/pthread_attr_setinheritsched.c
10537 (__pthread_attr_setinheritsched): Likewise.
10538 * nptl/pthread_attr_setschedparam.c
10539 (__pthread_attr_setschedparam): Likewise.
10540 * nptl/pthread_attr_setschedpolicy.c
10541 (__pthread_attr_setschedpolicy): Likewise.
10542 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10543 Likewise.
10544 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10545 Likewise.
10546 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10547 Likewise.
10548 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10549 Likewise.
10550 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10551 Likewise.
10552 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10553 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10554 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10555 use internal_function.
10556 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10557 prototype-style function definition.
10558 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10559 (__pthread_mutex_cond_lock_adjust): Likewise. Use
10560 internal_function.
10561 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10562 Convert to prototype-style function definition.
10563 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10564 Likewise.
10565 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10566 Likewise.
10567 (__pthread_mutex_unlock): Likewise.
10568 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10569 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10570 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10571 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10572 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10573 * nss/makedb.c (process_input): Likewise.
10574 * posix/fnmatch.c (__strchrnul): Likewise.
10575 (__wcschrnul): Likewise.
10576 (fnmatch): Likewise.
10577 * posix/fnmatch_loop.c (FCT): Likewise.
10578 * posix/glob.c (globfree): Likewise.
10579 (__glob_pattern_type): Likewise.
10580 (__glob_pattern_p): Likewise.
10581 * posix/regcomp.c (re_compile_pattern): Likewise.
10582 (re_set_syntax): Likewise.
10583 (re_compile_fastmap): Likewise.
10584 (regcomp): Likewise.
10585 (regerror): Likewise.
10586 (regfree): Likewise.
10587 * posix/regexec.c (regexec): Likewise.
10588 (re_match): Likewise.
10589 (re_search): Likewise.
10590 (re_match_2): Likewise.
10591 (re_search_2): Likewise.
10592 (re_search_stub): Likewise. Use internal_function
10593 (re_copy_regs): Likewise.
10594 (re_set_registers): Convert to prototype-style function
10595 definition.
10596 (prune_impossible_nodes): Likewise. Use internal_function.
10597 * resolv/inet_net_pton.c (inet_net_pton): Convert to
10598 prototype-style function definition.
10599 (inet_net_pton_ipv4): Likewise.
10600 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10601 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10602 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10603 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10604 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10605 Make variadic.
10606 * time/strptime_l.c (localtime_r): Convert to prototype-style
10607 function definition.
10608 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10609 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10610 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10611 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10612
10613 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10614 definition.
10615 (_ufc_doit_r): Likewise.
10616 * crypt/crypt_util.c (_ufc_copymem): Likewise.
10617 (_ufc_output_conversion_r): Likewise.
10618 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10619 * inet/rcmd.c (rcmd_af): Likewise.
10620 (rcmd): Likewise.
10621 (ruserok_af): Likewise.
10622 (ruserok): Likewise.
10623 (ruserok2_sa): Likewise.
10624 (ruserok_sa): Likewise.
10625 (iruserok_af): Likewise.
10626 (iruserok): Likewise.
10627 (__ivaliduser): Likewise.
10628 (__validuser2_sa): Likewise.
10629 * inet/rexec.c (rexec_af): Likewise.
10630 (rexec): Likewise.
10631 * inet/ruserpass.c (ruserpass): Likewise.
10632 * locale/programs/xmalloc.c (xcalloc): Likewise.
10633 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10634 * math/w_drem.c (__drem): Likewise.
10635 * math/w_dremf.c (__dremf): Likewise.
10636 * math/w_dreml.c (__dreml): Likewise.
10637 * misc/daemon.c (daemon): Likewise.
10638 * resolv/res_debug.c (p_fqnname): Likewise.
10639 * stdlib/div.c (div): Likewise.
10640 * string/memcmp.c (memcmp_bytes): Likewise.
10641 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10642 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10643
10644 * crypt/cert.c (main): Convert to prototype-style function
10645 definition.
10646 * io/pipe.c (__pipe): Likewise.
10647 * io/pipe2.c (__pipe2): Likewise.
10648 * misc/futimesat.c (futimesat): Likewise.
10649 * misc/utimes.c (__utimes): Likewise.
10650 * posix/execve.c (__execve): Likewise.
10651 * posix/execvp.c (execvp): Likewise.
10652 * posix/execvpe.c (__execvpe): Likewise.
10653 * posix/fexecve.c (fexecve): Likewise.
10654 * socket/socketpair.c (socketpair): Likewise.
10655 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10656 * stdlib/erand48.c (erand48): Likewise.
10657 * stdlib/erand48_r.c (__erand48_r): Likewise.
10658 * stdlib/jrand48.c (jrand48): Likewise.
10659 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10660 * stdlib/lcong48.c (lcong48): Likewise.
10661 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10662 * stdlib/nrand48.c (nrand48): Likewise.
10663 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10664 * stdlib/seed48.c (seed48): Likewise.
10665 * stdlib/seed48_r.c (__seed48_r): Likewise.
10666 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10667 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10668 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10669
10670 2015-10-19 Joseph Myers <joseph@codesourcery.com>
10671
10672 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10673 * configure: Regenerated.
10674 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10675 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10676 unconditional.
10677 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10678 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10679 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10680 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10681 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10682 unconditional.
10683 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10684
10685 * posix/Makefile (CFLAGS-regex.c): Remove variable.
10686 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10687
10688 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10689 function definition.
10690 * crypt/crypt_util.c (__encrypt_r): Likewise.
10691 * libio/genops.c (_IO_no_init): Likewise.
10692 * libio/iofopncook.c (_IO_fopencookie): Likewise.
10693 (_IO_old_fopencookie): Likewise.
10694 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10695 * libio/iogetline.c (_IO_getline): Likewise.
10696 (_IO_getline_info): Likewise.
10697 * libio/iogetwline.c (_IO_getwline): Likewise.
10698 (_IO_getwline_info): Likewise.
10699 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10700 * libio/vswprintf.c (_IO_vswprintf): Likewise.
10701 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10702 (find_entry): Likewise.
10703 (iterate_table): Likewise.
10704 (lookup): Likewise.
10705 * login/forkpty.c (forkpty): Likewise.
10706 * misc/hsearch_r.c (__hsearch_r): Likewise.
10707 * misc/select.c (__select): Likewise.
10708 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10709 Likewise.
10710 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10711 Likewise.
10712 * nptl/old_pthread_cond_timedwait.c
10713 (__pthread_cond_timedwait_2_0): Likewise.
10714 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10715 * nptl/pthread_barrierattr_getpshared.c
10716 (pthread_barrierattr_getpshared): Likewise.
10717 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10718 Likewise.
10719 * nptl/pthread_mutex_setprioceiling.c
10720 (pthread_mutex_setprioceiling): Likewise.
10721 * nptl/pthread_mutexattr_getprioceiling.c
10722 (pthread_mutexattr_getprioceiling): Likewise.
10723 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10724 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10725 Likewise.
10726 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10727 Likewise.
10728 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10729 Likewise.
10730 * socket/recvfrom.c (__recvfrom): Likewise.
10731 * socket/sendto.c (__sendto): Likewise.
10732 * socket/setsockopt.c (__setsockopt): Likewise.
10733 * stdio-common/_itoa.c (_itoa): Likewise.
10734 * stdio-common/_itowa.c (_itowa): Likewise.
10735 * stdio-common/reg-printf.c (__register_printf_specifier):
10736 Likewise.
10737 (__register_printf_function): Likewise.
10738 * stdio-common/tempname.c (__path_search): Likewise.
10739 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10740 * stdlib/mul_1.c (mpn_mul_1): Likewise.
10741 * stdlib/random_r.c (__initstate_r): Likewise.
10742 * stdlib/setenv.c (__add_to_environ): Likewise.
10743 * stdlib/submul_1.c (mpn_submul_1): Likewise.
10744 * streams/getpmsg.c (getpmsg): Likewise.
10745 * streams/putmsg.c (putmsg): Likewise.
10746 * streams/putpmsg.c (putpmsg): Likewise.
10747 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10748 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10749 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10750 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10751 * sunrpc/pm_getport.c (pmap_getport): Likewise.
10752 * sunrpc/svc_udp.c (cache_get): Likewise.
10753 * sunrpc/xdr_array.c (xdr_vector): Likewise.
10754 * sysdeps/mach/hurd/getcwd.c
10755 (__canonicalize_directory_name_internal): Likewise.
10756 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10757 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10758 * sysdeps/mach/hurd/select.c (__select): Likewise.
10759 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10760 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10761 * sysdeps/sparc/nptl/pthread_barrier_init.c
10762 (__pthread_barrier_init): Likewise.
10763 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10764 (__pthread_cond_timedwait): Likewise.
10765 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10766 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10767 Likewise.
10768 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10769 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10770 Likewise.
10771 * sysvipc/semtimedop.c (semtimedop): Likewise.
10772 * time/setitimer.c (__setitimer): Likewise.
10773 * time/strftime_l.c (emacs_strftime): Likewise.
10774
10775 2015-10-19 Mike Frysinger <vapier@gentoo.org>
10776
10777 * config.make.in (have-ssp): Delete.
10778 (stack-protector): New variable.
10779 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
10780 cache test for -fstack-protector-strong. Export stack_protector to
10781 the best ssp flag.
10782 * configure: Regenerated.
10783 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
10784 * nscd/Makefile (CFLAGS-nscd): Likewise.
10785 * resolv/Makefile (CFLAGS-libresolv): Likewise.
10786
10787 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
10788
10789 [BZ #19122]
10790 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
10791 attribute_hidden.
10792
10793 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10794
10795 [BZ #18743]
10796 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
10797 code to...
10798 (ELIDE_LOCK): ...here.
10799 (__get_new_count): New function with part of the code from
10800 __elide_lock that updates the value of adapt_count after a
10801 transaction abort.
10802 (__elided_trylock): Moved this code to...
10803 (ELIDE_TRYLOCK): ...here.
10804
10805 2015-10-19 Mike Frysinger <vapier@gentoo.org>
10806
10807 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
10808 * configure: Regenerate.
10809 * INSTALL: Regenerate.
10810 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
10811 and tweak grammar.
10812
10813 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
10814
10815 * login/programs/pt_chown.c: Include signal.h
10816 (main): Clear any signal mask from the parent process.
10817
10818 2015-10-19 Joseph Myers <joseph@codesourcery.com>
10819
10820 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
10821 * configure: Regenerated.
10822 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
10823 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
10824 $(gnu89-inline-CFLAGS).
10825
10826 * configure.ac (libc_cv_asm_weak_directive): Remove configure
10827 test.
10828 (libc_cv_asm_weakext_directive): Likewise.
10829 * configure: Regenerated.
10830 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
10831 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
10832 * include/libc-symbols.h
10833 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
10834 #error.
10835 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
10836 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
10837
10838 * sysdeps/arm/backtrace.c (__backtrace): Convert to
10839 prototype-style function definition.
10840 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10841 * sysdeps/i386/ffs.c (__ffs): Likewise.
10842 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10843 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
10844 Likewise.
10845 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10846 Likewise.
10847 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10848 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10849 Likewise.
10850 * sysdeps/m68k/ffs.c (__ffs): Likewise.
10851 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10852 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10853 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10854 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10855 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10856 * sysdeps/mach/hurd/access.c (__access): Likewise.
10857 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10858 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10859 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10860 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10861 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10862 (cthread_getspecific): Likewise.
10863 (cthread_setspecific): Likewise.
10864 (__libc_getspecific): Likewise.
10865 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10866 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10867 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10868 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10869 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10870 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10871 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10872 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10873 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10874 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10875 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10876 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10877 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10878 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10879 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10880 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10881 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10882 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10883 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10884 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10885 * sysdeps/mach/hurd/link.c (__link): Likewise.
10886 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10887 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10888 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10889 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10890 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10891 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10892 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10893 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10894 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10895 * sysdeps/mach/hurd/rename.c (rename): Likewise.
10896 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10897 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10898 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10899 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10900 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10901 * sysdeps/mach/hurd/send.c (__send): Likewise.
10902 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10903 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10904 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10905 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10906 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10907 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10908 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10909 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10910 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10911 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10912 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10913 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10914 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10915 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10916 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10917 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10918 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10919 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10920 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10921 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10922 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10923 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10924 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10925 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10926 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10927 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10928 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10929 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10930 * sysdeps/posix/alarm.c (alarm): Likewise.
10931 * sysdeps/posix/cuserid.c (cuserid): Likewise.
10932 * sysdeps/posix/dirfd.c (dirfd): Likewise.
10933 * sysdeps/posix/dup.c (__dup): Likewise.
10934 * sysdeps/posix/dup2.c (__dup2): Likewise.
10935 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10936 (main): Likewise.
10937 * sysdeps/posix/flock.c (__flock): Likewise.
10938 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10939 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10940 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10941 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10942 * sysdeps/posix/isatty.c (__isatty): Likewise.
10943 * sysdeps/posix/killpg.c (killpg): Likewise.
10944 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10945 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10946 * sysdeps/posix/raise.c (raise): Likewise.
10947 * sysdeps/posix/remove.c (remove): Likewise.
10948 * sysdeps/posix/rename.c (rename): Likewise.
10949 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10950 * sysdeps/posix/seekdir.c (seekdir): Likewise.
10951 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10952 * sysdeps/posix/sigignore.c (sigignore): Likewise.
10953 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10954 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10955 * sysdeps/posix/sigset.c (sigset): Likewise.
10956 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10957 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10958 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10959 * sysdeps/posix/time.c (time): Likewise.
10960 * sysdeps/posix/ttyname.c (getttyname): Likewise.
10961 (ttyname): Likewise.
10962 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10963 * sysdeps/posix/utime.c (utime): Likewise.
10964 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10965 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10966 Likewise.
10967 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10968 (pthread_spin_trylock): Likewise.
10969 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10970 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10971 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10972 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10973 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10974 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10975 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10976 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10977 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10978 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10979 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10980 * sysdeps/s390/ffs.c (__ffs): Likewise.
10981 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10982 Likewise.
10983 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10984 Likewise.
10985 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10986 Likewise.
10987 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10988 (pthread_barrier_destroy): Likewise.
10989 * sysdeps/sparc/nptl/pthread_barrier_wait.c
10990 (__pthread_barrier_wait): Likewise.
10991 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10992 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10993 (__pthread_barrier_wait): Likewise.
10994 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10995 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10996 (memcmp_not_common_alignment): Likewise.
10997 (MEMCMP): Likewise.
10998 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10999 (_wordcopy_fwd_dest_aligned): Likewise.
11000 (_wordcopy_bwd_aligned): Likewise.
11001 (_wordcopy_bwd_dest_aligned): Likewise.
11002 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11003 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11004 * sysdeps/unix/bsd/stty.c (stty): Likewise.
11005 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11006 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11007 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11008 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11009 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11010 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11011 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11012 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11013 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11014 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11015 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11016 * sysdeps/unix/stime.c (stime): Likewise.
11017 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11018 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11019 Likewise. Use internal_function.
11020 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11021 Convert to prototype-style function definition.
11022 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11023 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11024 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11025 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11026 Likewise. Use internal_function.
11027 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11028 prototype-style function definition
11029 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11030 Likewise.
11031 (__getlogin_r): Likewise.
11032 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11033 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11034 (__pthread_cond_broadcast): Likewise.
11035 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11036 (__pthread_cond_destroy): Likewise.
11037 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11038 (__pthread_cond_init): Likewise.
11039 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11040 (__pthread_cond_signal): Likewise.
11041 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11042 (__pthread_cond_wait): Likewise.
11043 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11044 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11045 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11046 Likewise.
11047 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11048 Likewise.
11049 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11050 Likewise.
11051 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11052 Likewise.
11053 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11055 (__ftruncate64): Likewise.
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11057 (truncate64): Likewise.
11058 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11059 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11060 (pthread_getcpuclockid): Likewise.
11061 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11062 Likewise.
11063 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11064 Likewise.
11065 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11066 Likewise.
11067 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11068 Likewise.
11069 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11070 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11071 (__libc_sigaction): Likewise.
11072 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11073 Likewise.
11074 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11075 (__sigprocmask): Likewise.
11076 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11077 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11078 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11079 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11080 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11081 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11082 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11083 Likewise.
11084 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11085 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11086 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11087 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11088 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11089 Likewise.
11090 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11091 (__sigprocmask): Likewise.
11092 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11093 (cfgetispeed): Likewise.
11094 (cfsetospeed): Likewise.
11095 (cfsetispeed): Likewise.
11096 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11097 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11098 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11099 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11100 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11101 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11102 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11103 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11104 Likewise.
11105 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11106 Likewise.
11107 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11108 Likewise.
11109 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11110 Likewise.
11111 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11112
11113 2015-10-17 Florian Weimer <fweimer@redhat.com>
11114
11115 sunrpc: Rewrite with explicit TLS access using __thread.
11116 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11117 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11118 directly.
11119 (__rpc_thread_variables): Access thread_rpc_vars directly.
11120 Eliminate redundant assignment of the tvp variable.
11121
11122 2015-10-17 Florian Weimer <fweimer@redhat.com>
11123
11124 malloc: Rewrite with explicit TLS access using __thread.
11125 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11126 (tsd_setspecific, tsd_getspecific): Remove.
11127 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11128 (tsd_setspecific, tsd_getspecific): Likewise.
11129 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11130 (tsd_setspecific, tsd_getspecific): Likewise.
11131 * malloc/arena.c (thread_arena): New TLS variable.
11132 (arena_key): Remove variable.
11133 (arena_get): Use thread_arena.
11134 (arena_lookup): Remove macro.
11135 (malloc_atfork, free_atfork, ptmalloc_lock_all)
11136 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11137 (_int_new_arena, get_free_list, reused_arena)
11138 (arena_thread_freeres): Use thread_arena.
11139 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11140 tsd_getspecific, tsd_setspecific from safety annotations.
11141 (Allocating Cleared Space): Remove arena_lookup from safety
11142 annotations.
11143
11144 2015-10-17 Florian Weimer <fweimer@redhat.com>
11145
11146 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11147 struct scratch_buffer instead of extend_alloca.
11148
11149 2015-10-17 Florian Weimer <fweimer@redhat.com>
11150
11151 * sysdeps/unix/sysv/linux/kernel-features.h
11152 (__ASSUME_SOCK_CLOEXEC): Remove.
11153 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11154 (__have_paccept): Remove unused macro.
11155 * include/unistd.h (__have_sock_cloexec): Remove declaration.
11156 * misc/syslog.c (openlog_internal): Remove fallback code for
11157 !__ASSUME_SOCK_CLOEXEC.
11158 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11159 missing SOCK_CLOEXEC.
11160 * nscd/connections.c (have_sock_cloexec): Remove definition.
11161 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11162 * nscd/nscd_helper.c (open_socket): Remove fallback code for
11163 !__ASSUME_SOCK_CLOEXEC.
11164 * resolv/res_send.c (__have_o_nonblock): Remove definition.
11165 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11166 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11167 definition.
11168 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11169 code for !__ASSUME_SOCK_CLOEXEC.
11170
11171 2015-10-17 Florian Weimer <fweimer@redhat.com>
11172
11173 [BZ #18982]
11174 * manual/stdio.texi (Variable Arguments Output): Add portability
11175 note, explaining that vfprintf clobbers the va_list pointer.
11176
11177 2015-10-16 Joseph Myers <joseph@codesourcery.com>
11178
11179 * math/libm-test.inc (fabs_test_data): Add more tests.
11180 (fdim_test_data): Likewise.
11181 (fma_test_data): Likewise.
11182 (fmax_test_data): Likewise.
11183 (fmin_test_data): Likewise.
11184 (fmod_test_data): Likewise.
11185
11186 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
11187
11188 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
11189 data.
11190
11191 2015-10-16 Joseph Myers <joseph@codesourcery.com>
11192
11193 * math/libm-test.inc (ceil_test_data): Add more tests and more
11194 expectations for "inexact".
11195 (floor_test_data): Add more tests.
11196 (round_test_data): Likewise.
11197 (trunc_test_data): Likewise.
11198
11199 * crypt/cert.c (good_bye): Convert to prototype-style function
11200 definition.
11201 (get8): Likewise.
11202 (put8): Likewise.
11203 * crypt/crypt-entry.c (crypt): Likewise.
11204 (__fcrypt): Likewise.
11205 * crypt/crypt_util.c (_ufc_prbits): Likewise.
11206 (_ufc_set_bits): Likewise.
11207 (_ufc_clearmem): Likewise.
11208 (__init_des_r): Likewise.
11209 (shuffle_sb): Likewise.
11210 (shuffle_sb): Likewise.
11211 (_ufc_setup_salt_r): Likewise.
11212 (_ufc_mk_keytab_r): Likewise.
11213 (_ufc_dofinalperm_r): Likewise.
11214 (encrypt): Likewise.
11215 (__setkey_r): Likewise.
11216 (setkey): Likewise.
11217 * crypt/md5.c (md5_init_ctx): Likewise.
11218 (md5_read_ctx): Likewise.
11219 (md5_finish_ctx): Likewise.
11220 (md5_stream): Likewise.
11221 (md5_buffer): Likewise.
11222 (md5_process_bytes): Likewise.
11223 * crypt/sha256.c (__sha256_init_ctx): Likewise.
11224 (__sha256_finish_ctx): Likewise.
11225 (__sha256_process_bytes): Likewise.
11226 * crypt/sha512.c (__sha512_init_ctx): Likewise.
11227 (__sha512_finish_ctx): Likewise.
11228 (__sha512_process_bytes): Likewise.
11229 * ctype/isctype.c (__isctype): Likewise.
11230 * debug/backtrace.c (__backtrace): Likewise.
11231 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11232 * debug/fgets_chk.c (__fgets_chk): Likewise.
11233 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11234 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11235 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11236 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11237 * debug/memset_chk.c (__memset_chk): Likewise.
11238 * debug/strcat_chk.c (__strcat_chk): Likewise.
11239 * debug/strncat_chk.c (__strncat_chk): Likewise.
11240 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11241 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11242 * dirent/dirfd.c (dirfd): Likewise.
11243 * dirent/getdents.c (__getdirentries): Likewise.
11244 * dirent/getdents64.c (getdirentries64): Likewise.
11245 * dirent/rewinddir.c (__rewinddir): Likewise.
11246 * dirent/seekdir.c (seekdir): Likewise.
11247 * dirent/telldir.c (telldir): Likewise.
11248 * elf/sln.c (makesymlinks): Likewise.
11249 (makesymlink): Likewise.
11250 * gmon/gmon.c (__moncontrol): Likewise.
11251 (__monstartup): Likewise.
11252 (write_hist): Likewise.
11253 (write_call_graph): Likewise.
11254 (write_bb_counts): Likewise.
11255 * grp/setgroups.c (setgroups): Likewise.
11256 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11257 * inet/inet_net.c (inet_network): Likewise.
11258 * inet/inet_netof.c (inet_netof): Likewise.
11259 * inet/rcmd.c (rresvport_af): Likewise.
11260 (rresvport): Likewise.
11261 * io/access.c (__access): Likewise.
11262 * io/chdir.c (__chdir): Likewise.
11263 * io/chmod.c (__chmod): Likewise.
11264 * io/chown.c (__chown): Likewise.
11265 * io/close.c (__close): Likewise.
11266 * io/creat.c (creat): Likewise.
11267 * io/creat64.c (creat64): Likewise.
11268 * io/dup.c (__dup): Likewise.
11269 * io/dup2.c (__dup2): Likewise.
11270 * io/dup3.c (__dup3): Likewise.
11271 * io/euidaccess.c (__euidaccess): Likewise.
11272 * io/faccessat.c (faccessat): Likewise.
11273 * io/fchmod.c (__fchmod): Likewise.
11274 * io/fchmodat.c (fchmodat): Likewise.
11275 * io/fchown.c (__fchown): Likewise.
11276 * io/fchownat.c (fchownat): Likewise.
11277 * io/fcntl.c (__fcntl): Likewise.
11278 * io/flock.c (__flock): Likewise.
11279 * io/fts.c (fts_load): Likewise.
11280 (fts_close): Likewise.
11281 (fts_read): Likewise.
11282 (fts_set): Likewise.
11283 (fts_children): Likewise.
11284 (fts_build): Likewise.
11285 (fts_stat): Likewise.
11286 (fts_sort): Likewise.
11287 (fts_alloc): Likewise.
11288 (fts_lfree): Likewise.
11289 (fts_palloc): Likewise.
11290 (fts_padjust): Likewise.
11291 (fts_maxarglen): Likewise.
11292 (fts_safe_changedir): Likewise.
11293 * io/getwd.c (getwd): Likewise.
11294 * io/isatty.c (__isatty): Likewise.
11295 * io/lchown.c (__lchown): Likewise.
11296 * io/link.c (__link): Likewise.
11297 * io/linkat.c (linkat): Likewise.
11298 * io/lseek.c (__libc_lseek): Likewise.
11299 * io/mkdir.c (__mkdir): Likewise.
11300 * io/mkdirat.c (mkdirat): Likewise.
11301 * io/mkfifo.c (mkfifo): Likewise.
11302 * io/mkfifoat.c (mkfifoat): Likewise.
11303 * io/open.c (__libc_open): Likewise.
11304 * io/open64.c (__libc_open64): Likewise.
11305 * io/readlink.c (__readlink): Likewise.
11306 * io/readlinkat.c (readlinkat): Likewise.
11307 * io/rmdir.c (__rmdir): Likewise.
11308 * io/symlink.c (__symlink): Likewise.
11309 * io/symlinkat.c (symlinkat): Likewise.
11310 * io/ttyname.c (ttyname): Likewise.
11311 * io/ttyname_r.c (__ttyname_r): Likewise.
11312 * io/umask.c (__umask): Likewise.
11313 * io/unlink.c (__unlink): Likewise.
11314 * io/unlinkat.c (unlinkat): Likewise.
11315 * io/utime.c (utime): Likewise.
11316 * libio/clearerr.c (clearerr): Likewise.
11317 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11318 * libio/feof.c (_IO_feof): Likewise.
11319 * libio/feof_u.c (feof_unlocked): Likewise.
11320 * libio/ferror.c (_IO_ferror): Likewise.
11321 * libio/ferror_u.c (ferror_unlocked): Likewise.
11322 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11323 * libio/fileno.c (__fileno): Likewise.
11324 * libio/fputc.c (fputc): Likewise.
11325 * libio/fputc_u.c (fputc_unlocked): Likewise.
11326 * libio/fputwc.c (fputwc): Likewise.
11327 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11328 * libio/freopen.c (freopen): Likewise.
11329 * libio/freopen64.c (freopen64): Likewise.
11330 * libio/fseek.c (fseek): Likewise.
11331 * libio/fseeko.c (fseeko): Likewise.
11332 * libio/fseeko64.c (fseeko64): Likewise.
11333 * libio/ftello.c (__ftello): Likewise.
11334 * libio/ftello64.c (ftello64): Likewise.
11335 * libio/fwide.c (fwide): Likewise.
11336 * libio/genops.c (_IO_un_link): Likewise.
11337 (_IO_link_in): Likewise.
11338 (_IO_least_marker): Likewise.
11339 (_IO_switch_to_main_get_area): Likewise.
11340 (_IO_switch_to_backup_area): Likewise.
11341 (_IO_switch_to_get_mode): Likewise.
11342 (_IO_free_backup_area): Likewise.
11343 (_IO_switch_to_put_mode): Likewise.
11344 (__overflow): Likewise.
11345 (__underflow): Likewise.
11346 (__uflow): Likewise.
11347 (_IO_setb): Likewise.
11348 (_IO_doallocbuf): Likewise.
11349 (_IO_default_underflow): Likewise.
11350 (_IO_default_uflow): Likewise.
11351 (_IO_default_xsputn): Likewise.
11352 (_IO_sgetn): Likewise.
11353 (_IO_default_xsgetn): Likewise.
11354 (_IO_sync): Likewise.
11355 (_IO_default_setbuf): Likewise.
11356 (_IO_default_seekpos): Likewise.
11357 (_IO_default_doallocate): Likewise.
11358 (_IO_init): Likewise.
11359 (_IO_old_init): Likewise.
11360 (_IO_default_sync): Likewise.
11361 (_IO_default_finish): Likewise.
11362 (_IO_default_seekoff): Likewise.
11363 (_IO_sputbackc): Likewise.
11364 (_IO_sungetc): Likewise.
11365 (_IO_set_column): Likewise.
11366 (_IO_set_column): Likewise.
11367 (_IO_adjust_column): Likewise.
11368 (_IO_get_column): Likewise.
11369 (_IO_init_marker): Likewise.
11370 (_IO_remove_marker): Likewise.
11371 (_IO_marker_difference): Likewise.
11372 (_IO_marker_delta): Likewise.
11373 (_IO_seekmark): Likewise.
11374 (_IO_unsave_markers): Likewise.
11375 (_IO_nobackup_pbackfail): Likewise.
11376 (_IO_default_pbackfail): Likewise.
11377 (_IO_default_seek): Likewise.
11378 (_IO_default_stat): Likewise.
11379 (_IO_default_read): Likewise.
11380 (_IO_default_write): Likewise.
11381 (_IO_default_showmanyc): Likewise.
11382 (_IO_default_imbue): Likewise.
11383 (_IO_iter_next): Likewise.
11384 (_IO_iter_file): Likewise.
11385 * libio/getc.c (_IO_getc): Likewise.
11386 * libio/getwc.c (_IO_getwc): Likewise.
11387 * libio/iofclose.c (_IO_new_fclose): Likewise.
11388 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11389 * libio/iofflush.c (_IO_fflush): Likewise.
11390 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11391 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11392 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11393 * libio/iofgets.c (_IO_fgets): Likewise.
11394 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11395 * libio/iofgetws.c (fgetws): Likewise.
11396 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11397 * libio/iofopen64.c (_IO_fopen64): Likewise.
11398 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11399 (_IO_cookie_write): Likewise.
11400 (_IO_cookie_seek): Likewise.
11401 (_IO_cookie_close): Likewise.
11402 (_IO_cookie_seekoff): Likewise.
11403 (_IO_old_cookie_seek): Likewise.
11404 * libio/iofputs.c (_IO_fputs): Likewise.
11405 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11406 * libio/iofputws.c (fputws): Likewise.
11407 * libio/iofputws_u.c (fputws_unlocked): Likewise.
11408 * libio/iofread.c (_IO_fread): Likewise.
11409 * libio/iofread_u.c (__fread_unlocked): Likewise.
11410 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11411 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11412 * libio/ioftell.c (_IO_ftell): Likewise.
11413 * libio/iofwrite.c (_IO_fwrite): Likewise.
11414 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11415 * libio/iogets.c (_IO_gets): Likewise.
11416 * libio/iopadn.c (_IO_padn): Likewise.
11417 * libio/iopopen.c (_IO_new_proc_open): Likewise.
11418 (_IO_new_popen): Likewise.
11419 (_IO_new_proc_close): Likewise.
11420 * libio/ioputs.c (_IO_puts): Likewise.
11421 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11422 (_IO_seekoff): Likewise.
11423 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11424 (_IO_seekpos): Likewise.
11425 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11426 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11427 * libio/ioungetc.c (_IO_ungetc): Likewise.
11428 * libio/ioungetwc.c (ungetwc): Likewise.
11429 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11430 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11431 * libio/iowpadn.c (_IO_wpadn): Likewise.
11432 * libio/libc_fatal.c (__libc_fatal): Likewise.
11433 * libio/memstream.c (__open_memstream): Likewise.
11434 (_IO_mem_sync): Likewise.
11435 (_IO_mem_finish): Likewise.
11436 * libio/oldfileops.c (_IO_old_file_init): Likewise.
11437 (_IO_old_file_close_it): Likewise.
11438 (_IO_old_file_finish): Likewise.
11439 (_IO_old_file_fopen): Likewise.
11440 (_IO_old_file_attach): Likewise.
11441 (_IO_old_file_setbuf): Likewise.
11442 (_IO_old_do_write): Likewise.
11443 (old_do_write): Likewise.
11444 (_IO_old_file_underflow): Likewise.
11445 (_IO_old_file_overflow): Likewise.
11446 (_IO_old_file_sync): Likewise.
11447 (_IO_old_file_seekoff): Likewise.
11448 (_IO_old_file_write): Likewise.
11449 (_IO_old_file_xsputn): Likewise.
11450 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11451 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11452 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11453 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11454 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11455 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11456 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11457 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11458 (_IO_old_popen): Likewise.
11459 (_IO_old_proc_close): Likewise.
11460 * libio/oldpclose.c (__old_pclose): Likewise.
11461 * libio/pclose.c (__new_pclose): Likewise.
11462 * libio/peekc.c (_IO_peekc_locked): Likewise.
11463 * libio/putc.c (_IO_putc): Likewise.
11464 * libio/putc_u.c (putc_unlocked): Likewise.
11465 * libio/putchar.c (putchar): Likewise.
11466 * libio/putchar_u.c (putchar_unlocked): Likewise.
11467 * libio/putwc.c (putwc): Likewise.
11468 * libio/putwc_u.c (putwc_unlocked): Likewise.
11469 * libio/putwchar.c (putwchar): Likewise.
11470 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11471 * libio/rewind.c (rewind): Likewise.
11472 * libio/setbuf.c (setbuf): Likewise.
11473 * libio/setlinebuf.c (setlinebuf): Likewise.
11474 * libio/vasprintf.c (_IO_vasprintf): Likewise.
11475 * libio/vscanf.c (_IO_vscanf): Likewise.
11476 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11477 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11478 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11479 * libio/wgenops.c (_IO_least_wmarker): Likewise.
11480 (_IO_switch_to_main_wget_area): Likewise.
11481 (_IO_switch_to_wbackup_area): Likewise.
11482 (_IO_wsetb): Likewise.
11483 (_IO_wdefault_pbackfail): Likewise.
11484 (_IO_wdefault_finish): Likewise.
11485 (_IO_wdefault_uflow): Likewise.
11486 (__woverflow): Likewise.
11487 (__wuflow): Likewise.
11488 (__wunderflow): Likewise.
11489 (_IO_wdefault_xsputn): Likewise.
11490 (_IO_wdefault_xsgetn): Likewise.
11491 (_IO_wdoallocbuf): Likewise.
11492 (_IO_wdefault_doallocate): Likewise.
11493 (_IO_switch_to_wget_mode): Likewise.
11494 (_IO_free_wbackup_area): Likewise.
11495 (_IO_switch_to_wput_mode): Likewise.
11496 (_IO_sputbackwc): Likewise.
11497 (_IO_sungetwc): Likewise.
11498 (_IO_adjust_wcolumn): Likewise.
11499 (_IO_init_wmarker): Likewise.
11500 (_IO_wmarker_delta): Likewise.
11501 (_IO_seekwmark): Likewise.
11502 (_IO_unsave_wmarkers): Likewise.
11503 * libio/wmemstream.c (open_wmemstream): Likewise.
11504 (_IO_wmem_sync): Likewise.
11505 (_IO_wmem_finish): Likewise.
11506 * locale/nl_langinfo.c (nl_langinfo): Likewise.
11507 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11508 * locale/programs/simple-hash.c (init_hash): Likewise.
11509 (delete_hash): Likewise.
11510 (insert_entry): Likewise.
11511 (set_entry): Likewise.
11512 (next_prime): Likewise.
11513 (is_prime): Likewise.
11514 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11515 (xmalloc): Likewise.
11516 (xrealloc): Likewise.
11517 * locale/programs/xstrdup.c (xstrdup): Likewise.
11518 * localedata/collate-test.c (xstrcoll): Likewise.
11519 * localedata/xfrm-test.c (xstrcmp): Likewise.
11520 * login/getlogin_r.c (__getlogin_r): Likewise.
11521 * login/getpt.c (__posix_openpt): Likewise.
11522 * login/login_tty.c (login_tty): Likewise.
11523 * login/setlogin.c (setlogin): Likewise.
11524 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11525 (mach_msg_destroy_port): Likewise.
11526 (mach_msg_destroy_memory): Likewise.
11527 * malloc/mcheck.c (flood): Likewise.
11528 * misc/acct.c (acct): Likewise.
11529 * misc/brk.c (__brk): Likewise.
11530 * misc/chflags.c (chflags): Likewise.
11531 * misc/chroot.c (chroot): Likewise.
11532 * misc/fchflags.c (fchflags): Likewise.
11533 * misc/fstab.c (getfsspec): Likewise.
11534 (getfsfile): Likewise.
11535 * misc/fsync.c (fsync): Likewise.
11536 * misc/ftruncate.c (__ftruncate): Likewise.
11537 * misc/ftruncate64.c (__ftruncate64): Likewise.
11538 * misc/getdomain.c (getdomainname): Likewise.
11539 (getdomainname): Likewise.
11540 * misc/gethostname.c (__gethostname): Likewise.
11541 * misc/getpass.c (getpass): Likewise.
11542 * misc/getttyent.c (skip): Likewise.
11543 (value): Likewise.
11544 * misc/gtty.c (gtty): Likewise.
11545 * misc/hsearch.c (hsearch): Likewise.
11546 (hcreate): Likewise.
11547 * misc/hsearch_r.c (__hcreate_r): Likewise.
11548 (__hdestroy_r): Likewise.
11549 * misc/ioctl.c (__ioctl): Likewise.
11550 * misc/mkdtemp.c (mkdtemp): Likewise.
11551 * misc/mkostemp.c (mkostemp): Likewise.
11552 * misc/mkostemp64.c (mkostemp64): Likewise.
11553 * misc/mkostemps.c (mkostemps): Likewise.
11554 * misc/mkostemps64.c (mkostemps64): Likewise.
11555 * misc/mkstemp.c (mkstemp): Likewise.
11556 * misc/mkstemp64.c (mkstemp64): Likewise.
11557 * misc/mkstemps.c (mkstemps): Likewise.
11558 * misc/mkstemps64.c (mkstemps64): Likewise.
11559 * misc/mktemp.c (__mktemp): Likewise.
11560 * misc/preadv.c (preadv): Likewise.
11561 * misc/preadv64.c (preadv64): Likewise.
11562 * misc/pwritev.c (pwritev): Likewise.
11563 * misc/pwritev64.c (pwritev64): Likewise.
11564 * misc/readv.c (__readv): Likewise.
11565 * misc/revoke.c (revoke): Likewise.
11566 * misc/setdomain.c (setdomainname): Likewise.
11567 * misc/setegid.c (setegid): Likewise.
11568 * misc/seteuid.c (seteuid): Likewise.
11569 * misc/sethostid.c (sethostid): Likewise.
11570 * misc/sethostname.c (sethostname): Likewise.
11571 * misc/setregid.c (__setregid): Likewise.
11572 * misc/setreuid.c (__setreuid): Likewise.
11573 * misc/sstk.c (sstk): Likewise.
11574 * misc/stty.c (stty): Likewise.
11575 * misc/syscall.c (syscall): Likewise.
11576 * misc/syslog.c (setlogmask): Likewise.
11577 * misc/truncate.c (__truncate): Likewise.
11578 * misc/truncate64.c (truncate64): Likewise.
11579 * misc/ualarm.c (ualarm): Likewise.
11580 * misc/usleep.c (usleep): Likewise.
11581 * misc/ustat.c (ustat): Likewise.
11582 * misc/writev.c (__writev): Likewise.
11583 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11584 * nptl/old_pthread_cond_broadcast.c
11585 (__pthread_cond_broadcast_2_0): Likewise.
11586 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11587 Likewise.
11588 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11589 Likewise.
11590 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11591 Likewise.
11592 * nptl/pt-raise.c (raise): Likewise.
11593 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11594 Likewise.
11595 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11596 * nptl/pthread_barrierattr_destroy.c
11597 (pthread_barrierattr_destroy): Likewise.
11598 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11599 Likewise.
11600 * nptl/pthread_barrierattr_setpshared.c
11601 (pthread_barrierattr_setpshared): Likewise.
11602 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11603 Likewise.
11604 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11605 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11606 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11607 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11608 Likewise.
11609 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11610 Likewise.
11611 * nptl/pthread_condattr_getpshared.c
11612 (pthread_condattr_getpshared): Likewise.
11613 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11614 Likewise.
11615 * nptl/pthread_condattr_setpshared.c
11616 (pthread_condattr_setpshared): Likewise.
11617 * nptl/pthread_detach.c (pthread_detach): Likewise.
11618 * nptl/pthread_equal.c (__pthread_equal): Likewise.
11619 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11620 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11621 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11622 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11623 Likewise.
11624 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11625 Likewise.
11626 * nptl/pthread_mutex_getprioceiling.c
11627 (pthread_mutex_getprioceiling): Likewise.
11628 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11629 Likewise.
11630 * nptl/pthread_mutexattr_getprotocol.c
11631 (pthread_mutexattr_getprotocol): Likewise.
11632 * nptl/pthread_mutexattr_getpshared.c
11633 (pthread_mutexattr_getpshared): Likewise.
11634 * nptl/pthread_mutexattr_getrobust.c
11635 (pthread_mutexattr_getrobust): Likewise.
11636 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11637 Likewise.
11638 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11639 Likewise.
11640 * nptl/pthread_mutexattr_setprioceiling.c
11641 (pthread_mutexattr_setprioceiling): Likewise.
11642 * nptl/pthread_mutexattr_setprotocol.c
11643 (pthread_mutexattr_setprotocol): Likewise.
11644 * nptl/pthread_mutexattr_setpshared.c
11645 (pthread_mutexattr_setpshared): Likewise.
11646 * nptl/pthread_mutexattr_setrobust.c
11647 (pthread_mutexattr_setrobust): Likewise.
11648 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11649 Likewise.
11650 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11651 Likewise.
11652 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11653 Likewise.
11654 * nptl/pthread_rwlockattr_getkind_np.c
11655 (pthread_rwlockattr_getkind_np): Likewise.
11656 * nptl/pthread_rwlockattr_getpshared.c
11657 (pthread_rwlockattr_getpshared): Likewise.
11658 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11659 Likewise.
11660 * nptl/pthread_rwlockattr_setkind_np.c
11661 (pthread_rwlockattr_setkind_np): Likewise.
11662 * nptl/pthread_rwlockattr_setpshared.c
11663 (pthread_rwlockattr_setpshared): Likewise.
11664 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11665 Likewise.
11666 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11667 Likewise.
11668 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11669 Likewise.
11670 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11671 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11672 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11673 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11674 * nptl/sem_close.c (sem_close): Likewise.
11675 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11676 * nptl/sem_init.c (__old_sem_init): Likewise.
11677 * nptl/sigaction.c (__sigaction): Likewise.
11678 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11679 * posix/_exit.c (_exit): Likewise.
11680 * posix/alarm.c (alarm): Likewise.
11681 * posix/confstr.c (confstr): Likewise.
11682 * posix/fpathconf.c (__fpathconf): Likewise.
11683 * posix/getgroups.c (__getgroups): Likewise.
11684 * posix/getpgid.c (__getpgid): Likewise.
11685 * posix/group_member.c (__group_member): Likewise.
11686 * posix/pathconf.c (__pathconf): Likewise.
11687 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11688 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11689 * posix/setgid.c (__setgid): Likewise.
11690 * posix/setpgid.c (__setpgid): Likewise.
11691 * posix/setuid.c (__setuid): Likewise.
11692 * posix/sleep.c (__sleep): Likewise.
11693 * posix/sysconf.c (__sysconf): Likewise.
11694 * posix/times.c (__times): Likewise.
11695 * posix/uname.c (__uname): Likewise.
11696 * posix/waitid.c (__waitid): Likewise.
11697 * pwd/getpw.c (__getpw): Likewise.
11698 * resolv/base64.c (b64_pton): Likewise.
11699 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11700 * resolv/gethnamaddr.c (Dprintf): Likewise.
11701 (gethostbyname): Likewise.
11702 (gethostbyname2): Likewise.
11703 (gethostbyaddr): Likewise.
11704 (_sethtent): Likewise.
11705 (_gethtbyname): Likewise.
11706 (_gethtbyname2): Likewise.
11707 (_gethtbyaddr): Likewise.
11708 (map_v4v6_address): Likewise.
11709 (map_v4v6_hostent): Likewise.
11710 (addrsort): Likewise.
11711 (ht_sethostent): Likewise.
11712 (ht_gethostbyname): Likewise.
11713 (ht_gethostbyaddr): Likewise.
11714 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11715 (inet_net_ntop_ipv4): Likewise.
11716 * resolv/inet_neta.c (inet_neta): Likewise.
11717 * resolv/inet_ntop.c (inet_ntop): Likewise.
11718 (inet_ntop4): Likewise.
11719 (inet_ntop6): Likewise.
11720 * resolv/inet_pton.c (__inet_pton): Likewise.
11721 (inet_pton4): Likewise.
11722 (inet_pton6): Likewise.
11723 * resolv/res_debug.c (loc_aton): Likewise.
11724 (loc_ntoa): Likewise.
11725 * resource/getpriority.c (__getpriority): Likewise.
11726 * resource/getrusage.c (__getrusage): Likewise.
11727 * resource/nice.c (nice): Likewise.
11728 * resource/setpriority.c (__setpriority): Likewise.
11729 * resource/setrlimit64.c (setrlimit64): Likewise.
11730 * resource/vlimit.c (vlimit): Likewise.
11731 * resource/vtimes.c (vtimes): Likewise.
11732 * rt/aio_error.c (aio_error): Likewise.
11733 * rt/aio_return.c (aio_return): Likewise.
11734 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11735 * signal/kill.c (__kill): Likewise.
11736 * signal/killpg.c (killpg): Likewise.
11737 * signal/raise.c (raise): Likewise.
11738 * signal/sigaction.c (__sigaction): Likewise.
11739 * signal/sigaddset.c (sigaddset): Likewise.
11740 * signal/sigaltstack.c (sigaltstack): Likewise.
11741 * signal/sigandset.c (sigandset): Likewise.
11742 * signal/sigblock.c (__sigblock): Likewise.
11743 * signal/sigdelset.c (sigdelset): Likewise.
11744 * signal/sigempty.c (sigemptyset): Likewise.
11745 * signal/sigfillset.c (sigfillset): Likewise.
11746 * signal/sighold.c (sighold): Likewise.
11747 * signal/sigignore.c (sigignore): Likewise.
11748 * signal/sigintr.c (siginterrupt): Likewise.
11749 * signal/sigisempty.c (sigisemptyset): Likewise.
11750 * signal/sigismem.c (sigismember): Likewise.
11751 * signal/signal.c (signal): Likewise.
11752 * signal/sigorset.c (sigorset): Likewise.
11753 * signal/sigpause.c (__sigpause): Likewise.
11754 * signal/sigpending.c (sigpending): Likewise.
11755 * signal/sigprocmask.c (__sigprocmask): Likewise.
11756 * signal/sigrelse.c (sigrelse): Likewise.
11757 * signal/sigreturn.c (__sigreturn): Likewise.
11758 * signal/sigset.c (sigset): Likewise.
11759 * signal/sigsetmask.c (__sigsetmask): Likewise.
11760 * signal/sigstack.c (sigstack): Likewise.
11761 * signal/sigsuspend.c (__sigsuspend): Likewise.
11762 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11763 * signal/sysv_signal.c (__sysv_signal): Likewise.
11764 * socket/accept.c (accept): Likewise.
11765 * socket/accept4.c (__libc_accept4): Likewise.
11766 * socket/bind.c (__bind): Likewise.
11767 * socket/connect.c (__connect): Likewise.
11768 * socket/getpeername.c (getpeername): Likewise.
11769 * socket/getsockname.c (__getsockname): Likewise.
11770 * socket/getsockopt.c (getsockopt): Likewise.
11771 * socket/listen.c (__listen): Likewise.
11772 * socket/recv.c (__recv): Likewise.
11773 * socket/recvmsg.c (__recvmsg): Likewise.
11774 * socket/send.c (__send): Likewise.
11775 * socket/sendmsg.c (__sendmsg): Likewise.
11776 * socket/shutdown.c (shutdown): Likewise.
11777 * socket/sockatmark.c (sockatmark): Likewise.
11778 * socket/socket.c (__socket): Likewise.
11779 * stdio-common/ctermid.c (ctermid): Likewise.
11780 * stdio-common/cuserid.c (cuserid): Likewise.
11781 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
11782 * stdio-common/remove.c (remove): Likewise.
11783 * stdio-common/rename.c (rename): Likewise.
11784 * stdio-common/renameat.c (renameat): Likewise.
11785 * stdio-common/tempname.c (__gen_tempname): Likewise.
11786 * stdio-common/xbug.c (InitBuffer): Likewise.
11787 (AppendToBuffer): Likewise.
11788 (ReadFile): Likewise.
11789 * stdlib/a64l.c (a64l): Likewise.
11790 * stdlib/drand48_r.c (drand48_r): Likewise.
11791 * stdlib/getcontext.c (getcontext): Likewise.
11792 * stdlib/getenv.c (getenv): Likewise.
11793 * stdlib/l64a.c (l64a): Likewise.
11794 * stdlib/llabs.c (llabs): Likewise.
11795 * stdlib/lldiv.c (lldiv): Likewise.
11796 * stdlib/lrand48_r.c (lrand48_r): Likewise.
11797 * stdlib/mrand48_r.c (mrand48_r): Likewise.
11798 * stdlib/putenv.c (putenv): Likewise.
11799 * stdlib/random.c (__srandom): Likewise.
11800 (__initstate): Likewise.
11801 (__setstate): Likewise.
11802 * stdlib/random_r.c (__srandom_r): Likewise.
11803 (__setstate_r): Likewise.
11804 (__random_r): Likewise.
11805 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
11806 * stdlib/setcontext.c (setcontext): Likewise.
11807 * stdlib/setenv.c (setenv): Likewise.
11808 (unsetenv): Likewise.
11809 * stdlib/srand48.c (srand48): Likewise.
11810 * stdlib/srand48_r.c (__srand48_r): Likewise.
11811 * stdlib/swapcontext.c (swapcontext): Likewise.
11812 * stdlib/system.c (__libc_system): Likewise.
11813 * stdlib/tst-strtod.c (expand): Likewise.
11814 * stdlib/tst-strtol.c (expand): Likewise.
11815 * stdlib/tst-strtoll.c (expand): Likewise.
11816 * streams/fattach.c (fattach): Likewise.
11817 * streams/fdetach.c (fdetach): Likewise.
11818 * streams/getmsg.c (getmsg): Likewise.
11819 * streams/isastream.c (isastream): Likewise.
11820 * string/ffs.c (__ffs): Likewise.
11821 * string/ffsll.c (ffsll): Likewise.
11822 * string/memcmp.c (memcmp_common_alignment): Likewise.
11823 (memcmp_not_common_alignment): Likewise.
11824 (MEMCMP): Likewise.
11825 * string/memcpy.c (memcpy): Likewise.
11826 * string/memmove.c (MEMMOVE): Likewise.
11827 * string/memset.c (memset): Likewise.
11828 * string/rawmemchr.c (RAWMEMCHR): Likewise.
11829 * string/strchrnul.c (STRCHRNUL): Likewise.
11830 * string/strerror.c (strerror): Likewise.
11831 * string/strndup.c (__strndup): Likewise.
11832 * string/strverscmp.c (__strverscmp): Likewise.
11833 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
11834 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
11835 (clnttcp_freeres): Likewise.
11836 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
11837 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
11838 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
11839 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
11840 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
11841 (xdr_callhdr): Likewise.
11842 * sunrpc/rpcinfo.c (udpping): Likewise.
11843 (tcpping): Likewise.
11844 (pstatus): Likewise.
11845 (pmapdump): Likewise.
11846 (brdcst): Likewise.
11847 (deletereg): Likewise.
11848 (getprognum): Likewise.
11849 (getvers): Likewise.
11850 (get_inet_address): Likewise.
11851 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11852 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11853 (svcudp_stat): Likewise.
11854 (svcudp_recv): Likewise.
11855 (svcudp_reply): Likewise.
11856 (svcudp_getargs): Likewise.
11857 (svcudp_freeargs): Likewise.
11858 (svcudp_destroy): Likewise.
11859 * sunrpc/xdr.c (xdr_bytes): Likewise.
11860 (xdr_netobj): Likewise.
11861 (xdr_string): Likewise.
11862 (xdr_wrapstring): Likewise.
11863 * sunrpc/xdr_float.c (xdr_float): Likewise.
11864 (xdr_double): Likewise.
11865 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11866 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11867 * sysvipc/ftok.c (ftok): Likewise.
11868 * sysvipc/msgctl.c (msgctl): Likewise.
11869 * sysvipc/msgget.c (msgget): Likewise.
11870 * sysvipc/msgrcv.c (msgrcv): Likewise.
11871 * sysvipc/msgsnd.c (msgsnd): Likewise.
11872 * sysvipc/semget.c (semget): Likewise.
11873 * sysvipc/semop.c (semop): Likewise.
11874 * sysvipc/shmat.c (shmat): Likewise.
11875 * sysvipc/shmctl.c (shmctl): Likewise.
11876 * sysvipc/shmdt.c (shmdt): Likewise.
11877 * sysvipc/shmget.c (shmget): Likewise.
11878 * termios/cfmakeraw.c (cfmakeraw): Likewise.
11879 * termios/speed.c (cfgetospeed): Likewise.
11880 (cfgetispeed): Likewise.
11881 (cfsetospeed): Likewise.
11882 (cfsetispeed): Likewise.
11883 * termios/tcflow.c (tcflow): Likewise.
11884 * termios/tcflush.c (tcflush): Likewise.
11885 * termios/tcgetattr.c (__tcgetattr): Likewise.
11886 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11887 * termios/tcgetsid.c (tcgetsid): Likewise.
11888 * termios/tcsendbrk.c (tcsendbreak): Likewise.
11889 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11890 * time/adjtime.c (__adjtime): Likewise.
11891 * time/dysize.c (dysize): Likewise.
11892 * time/ftime.c (ftime): Likewise.
11893 * time/getitimer.c (__getitimer): Likewise.
11894 * time/gettimeofday.c (__gettimeofday): Likewise.
11895 * time/gmtime.c (__gmtime_r): Likewise.
11896 (gmtime): Likewise.
11897 * time/localtime.c (__localtime_r): Likewise.
11898 (localtime): Likewise.
11899 * time/offtime.c (__offtime): Likewise.
11900 * time/settimeofday.c (__settimeofday): Likewise.
11901 * time/stime.c (stime): Likewise.
11902 * time/strftime_l.c (tm_diff): Likewise.
11903 (iso_week_days): Likewise.
11904 * time/strptime.c (strptime): Likewise.
11905 * time/time.c (time): Likewise.
11906 * time/timespec_get.c (timespec_get): Likewise.
11907 * time/tzset.c (tzset_internal): Likewise.
11908 (compute_change): Likewise.
11909 (__tz_compute): Likewise.
11910 * wcsmbs/btowc.c (__btowc): Likewise.
11911 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11912 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11913 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11914 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11915 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11916 * wcsmbs/wcscat.c (__wcscat): Likewise.
11917 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11918 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11919 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11920 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11921 * wcsmbs/wcsdup.c (wcsdup): Likewise.
11922 * wcsmbs/wcslen.c (__wcslen): Likewise.
11923 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11924 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11925 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11926 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11927 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11928 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11929 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11930 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11931 * wcsmbs/wcstok.c (wcstok): Likewise.
11932 * wcsmbs/wctob.c (wctob): Likewise.
11933 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11934 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11935 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11936 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11937 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11938 * wcsmbs/wmemset.c (__wmemset): Likewise.
11939 * wctype/wcfuncs.c (__towlower): Likewise.
11940 (__towupper): Likewise.
11941
11942 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11943 (lll_unlock_elision): Add adapt_count parameter.
11944
11945 2015-10-15 Joseph Myers <joseph@codesourcery.com>
11946
11947 * sysdeps/nptl/configure.ac: Do not give errors based on the
11948 results of top-level configure tests.
11949 * sysdeps/nptl/configure: Regenerated.
11950
11951 * configure.ac (libc_cv_Bgroup): Remove configure test.
11952 * configure: Regenerated.
11953 * config.make.in (have-Bgroup): Remove variable.
11954
11955 * configure.ac (sizeof_long_double): Remove configure test.
11956 * configure: Regenerated.
11957 * config.make.in (sizeof-long-double): Remove variable.
11958
11959 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11960 * configure: Regenerated.
11961 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11962 variable.
11963 (exceptions): Likewise.
11964 * sysdeps/arm/configure: Regenerated.
11965 * config.make.in (exceptions): Remove variable.
11966 * Makeconfig (uses-callbacks): Use -fexceptions instead of
11967 $(exceptions).
11968 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11969 (CFLAGS-vdprintf_chk.c): Likewise.
11970 (CFLAGS-printf_chk.c): Likewise.
11971 (CFLAGS-fprintf_chk.c): Likewise.
11972 (CFLAGS-vprintf_chk.c): Likewise.
11973 (CFLAGS-vfprintf_chk.c): Likewise.
11974 (CFLAGS-gets_chk.c): Likewise.
11975 (CFLAGS-fgets_chk.c): Likewise.
11976 (CFLAGS-fgets_u_chk.c): Likewise.
11977 (CFLAGS-fread_chk.c): Likewise.
11978 (CFLAGS-fread_u_chk.c): Likewise.
11979 (CFLAGS-wprintf_chk.c): Likewise.
11980 (CFLAGS-fwprintf_chk.c): Likewise.
11981 (CFLAGS-vwprintf_chk.c): Likewise.
11982 (CFLAGS-vfwprintf_chk.c): Likewise.
11983 (CFLAGS-fgetws_chk.c): Likewise.
11984 (CFLAGS-fgetws_u_chk.c): Likewise.
11985 * libio/Makefile (CFLAGS-fileops.c): Likewise.
11986 (CFLAGS-fputc.c): Likewise.
11987 (CFLAGS-fputwc.c): Likewise.
11988 (CFLAGS-freopen64.c): Likewise.
11989 (CFLAGS-freopen.c): Likewise.
11990 (CFLAGS-fseek.c): Likewise.
11991 (CFLAGS-fseeko64.c): Likewise.
11992 (CFLAGS-fseeko.c): Likewise.
11993 (CFLAGS-ftello64.c): Likewise.
11994 (CFLAGS-ftello.c): Likewise.
11995 (CFLAGS-fwide.c): Likewise.
11996 (CFLAGS-genops.c): Likewise.
11997 (CFLAGS-getc.c): Likewise.
11998 (CFLAGS-getchar.c): Likewise.
11999 (CFLAGS-getwc.c): Likewise.
12000 (CFLAGS-getwchar.c): Likewise.
12001 (CFLAGS-iofclose.c): Likewise.
12002 (CFLAGS-iofflush.c): Likewise.
12003 (CFLAGS-iofgetpos64.c): Likewise.
12004 (CFLAGS-iofgetpos.c): Likewise.
12005 (CFLAGS-iofgets.c): Likewise.
12006 (CFLAGS-iofgetws.c): Likewise.
12007 (CFLAGS-iofputs.c): Likewise.
12008 (CFLAGS-iofputws.c): Likewise.
12009 (CFLAGS-iofread.c): Likewise.
12010 (CFLAGS-iofsetpos64.c): Likewise.
12011 (CFLAGS-iofsetpos.c): Likewise.
12012 (CFLAGS-ioftell.c): Likewise.
12013 (CFLAGS-iofwrite.c): Likewise.
12014 (CFLAGS-iogetdelim.c): Likewise.
12015 (CFLAGS-iogetline.c): Likewise.
12016 (CFLAGS-iogets.c): Likewise.
12017 (CFLAGS-iogetwline.c): Likewise.
12018 (CFLAGS-ioputs.c): Likewise.
12019 (CFLAGS-ioseekoff.c): Likewise.
12020 (CFLAGS-ioseekpos.c): Likewise.
12021 (CFLAGS-iosetbuffer.c): Likewise.
12022 (CFLAGS-iosetvbuf.c): Likewise.
12023 (CFLAGS-ioungetc.c): Likewise.
12024 (CFLAGS-ioungetwc.c): Likewise.
12025 (CFLAGS-oldfileops.c): Likewise.
12026 (CFLAGS-oldiofclose.c): Likewise.
12027 (CFLAGS-oldiofgetpos64.c): Likewise.
12028 (CFLAGS-oldiofgetpos.c): Likewise.
12029 (CFLAGS-oldiofsetpos64.c): Likewise.
12030 (CFLAGS-oldiofsetpos.c): Likewise.
12031 (CFLAGS-peekc.c): Likewise.
12032 (CFLAGS-putc.c): Likewise.
12033 (CFLAGS-putchar.c): Likewise.
12034 (CFLAGS-putwc.c): Likewise.
12035 (CFLAGS-putwchar.c): Likewise.
12036 (CFLAGS-rewind.c): Likewise.
12037 (CFLAGS-wfileops.c): Likewise.
12038 (CFLAGS-wgenops.c): Likewise.
12039 (CFLAGS-oldiofopen.c): Likewise.
12040 (CFLAGS-iofopen.c): Likewise.
12041 (CFLAGS-iofopen64.c): Likewise.
12042 (CFLAGS-oldtmpfile.c): Likewise.
12043 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12044 (CFLAGS-fprintf.c): Likewise.
12045 (CFLAGS-printf.c): Likewise.
12046 (CFLAGS-vfwprintf.c): Likewise.
12047 (CFLAGS-vfscanf.c): Likewise.
12048 (CFLAGS-vfwscanf.c): Likewise.
12049 (CFLAGS-fscanf.c): Likewise.
12050 (CFLAGS-scanf.c): Likewise.
12051 (CFLAGS-isoc99_vfscanf.c): Likewise.
12052 (CFLAGS-isoc99_vscanf.c): Likewise.
12053 (CFLAGS-isoc99_fscanf.c): Likewise.
12054 (CFLAGS-isoc99_scanf.c): Likewise.
12055 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12056 (CFLAGS-isoc99_fwscanf.c): Likewise.
12057 (CFLAGS-isoc99_vwscanf.c): Likewise.
12058 (CFLAGS-isoc99_vfwscanf.c): Likewise.
12059
12060 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12061 after mkstemp64.
12062 * login/tst-utmp.c (do_prepare): Likewise.
12063 * rt/tst-aio.c (do_prepare): Likewise.
12064 * rt/tst-aio64.c (do_prepare): Likewise.
12065
12066 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12067
12068 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12069 (__lll_lock_elision): Remove adapt_count decrement...
12070 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12071 (__lll_trylock_elision): Likewise.
12072 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12073 (__lll_unlock_elision): ... to here. And utilize
12074 new adapt_count parameter.
12075 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12076 (__lll_unlock_elision): Update to include adapt_count
12077 parameter.
12078 (lll_unlock_elision): Pass pointer to adapt_count
12079 variable.
12080
12081 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12082
12083 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12084 Add elision adapt_count parameter to list of arguments.
12085 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12086 (lll_unlock_elision): Update with new parameter list
12087 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12088 (lll_unlock_elision): Likewise.
12089 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12090 (lll_unlock_elision): Likewise.
12091
12092 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
12093
12094 [BZ #19122]
12095 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12096 attribute_hidden.
12097
12098 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12099 attribute_hidden.
12100 [IS_IN (rtld)] (__strdup): Likewise.
12101 [IS_IN (rtld)] (__strerror_r): Likewise.
12102 [IS_IN (rtld)] (__strsep_g): Likewise.
12103 [IS_IN (rtld)] (memchr): Likewise.
12104 [IS_IN (rtld)] (memcmp): Likewise.
12105 [IS_IN (rtld)] (memcpy): Likewise.
12106 [IS_IN (rtld)] (memmove): Likewise.
12107 [IS_IN (rtld)] (memset): Likewise.
12108 [IS_IN (rtld)] (rawmemchr): Likewise.
12109 [IS_IN (rtld)] (stpcpy): Likewise.
12110 [IS_IN (rtld)] (strchr): Likewise.
12111 [IS_IN (rtld)] (strcmp): Likewise.
12112 [IS_IN (rtld)] (strlen): Likewise.
12113 [IS_IN (rtld)] (strnlen): Likewise.
12114 [IS_IN (rtld)] (strsep): Likewise.
12115
12116 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12117 attribute_hidden.
12118 [IS_IN (rtld)] (__strtoul_internal): Likewise.
12119
12120 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12121 attribute_hidden.
12122 [IS_IN (rtld)] (__libc_sigaction): Likewise.
12123
12124 * include/setjmp.h (__longjmp): Add attribute_hidden.
12125 [IS_IN (rtld)] (__sigsetjmp): Likewise.
12126
12127 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12128 Add attribute_hidden.
12129
12130 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12131 [IS_IN (rtld)] (__open): Likewise.
12132 [IS_IN (rtld)] (__fcntl): Likewise.
12133
12134 * include/dirent.h (__opendirat): Add attribute_hidden.
12135 (__getdents): Likewise.
12136 (__getdents64): Likewise.
12137 (__alloc_dir): Likewise.
12138 [IS_IN (rtld)] (__closedir): Likewise.
12139 [IS_IN (rtld)] (__fdopendir): Likewise.
12140 [IS_IN (rtld)] (__readdir): Likewise.
12141 [IS_IN (rtld)] (__readdir64): Likewise.
12142 [IS_IN (rtld)] (__rewinddir): Likewise.
12143
12144 * include/dlfcn.h (_dl_catch_error): Moved to ...
12145 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12146 attribute_hidden.
12147
12148 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12149 (_itoa_word): Likewise.
12150
12151 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12152 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12153 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12154 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12155 (_dl_higher_prime_number): Likewise.
12156 (_dl_debug_printf_c): Likewise.
12157 (_dl_signal_cerror): Likewise.
12158 (_dl_receive_error): Likewise.
12159 (_dl_reloc_bad_type): Likewise.
12160 (_dl_resolve_conflicts): Likewise.
12161 (_dl_check_all_versions): Likewise.
12162 (_dl_check_map_versions): Likewise.
12163 (_dl_sort_fini): Likewise.
12164 (_dl_debug_initialize): Likewise.
12165 (_dl_init_paths): Likewise.
12166 (_dl_show_auxv): Likewise.
12167 (_dl_next_ld_env_entry): Likewise.
12168 (_dl_important_hwcaps): Likewise.
12169 (_dl_load_cache_lookup): Likewise.
12170 (_dl_update_slotinfo): Likewise.
12171 (_dl_show_scope): Likewise.
12172
12173 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12174 attribute_hidden.
12175 (_wordcopy_fwd_dest_aligned): Likewise.
12176 (_wordcopy_bwd_aligned): Likewise.
12177 (_wordcopy_bwd_dest_aligned): Likewise.
12178
12179 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12180 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12181 Likewise.
12182 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12183 Likewise.
12184 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12185
12186 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
12187
12188 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12189 GCC 5 requirement.
12190
12191 2015-10-15 Joseph Myers <joseph@codesourcery.com>
12192
12193 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12194 test.
12195 * sysdeps/i386/configure: Regenerated.
12196 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12197 code unconditional.
12198
12199 * configure.ac (libc_cv_asm_previous_directive): Remove configure
12200 test.
12201 (libc_cv_asm_popsection_directive): Likewise.
12202 * configure: Regenerated.
12203 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12204 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12205 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12206 (__make_section_unallocated): Make definition unconditional.
12207 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12208 Remove conditional definition.
12209 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12210 (__make_section_unallocated): Likewise.
12211
12212 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12213 * configure: Regenerated.
12214 * config.make.in (static-libgcc): Remove variable.
12215 * Makerules (build-shlib-helper): Use -static-libgcc instead of
12216 $(static-libgcc).
12217 (build-module-helper): Likewise.
12218
12219 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12220 * configure: Regenerated.
12221
12222 2015-10-15 Florian Weimer <fweimer@redhat.com>
12223
12224 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12225 (struct char_buffer): New type.
12226 (char_buffer_start, char_buffer_size, char_buffer_error)
12227 (char_buffer_rewind, char_buffer_add): New functions.
12228 (ADDW): Remove macro, replaced by the char_buffer_add function.
12229 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12230 of extend_alloca. Make control flow more explicit.
12231
12232 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
12233
12234 [BZ #19137]
12235 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12236 Add -fomit-frame-pointer.
12237 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12238
12239 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
12240
12241 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12242 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12243 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12244 only if !__GNUC_PREREQ (5,0).
12245 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12246 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12247 (INTERNAL_SYSCALL_NCS): Likewise.
12248 (LOADREGS_0): New macro for GCC 5.
12249 (ASMARGS_0): Likewise.
12250 (LOADREGS_1): Likewise.
12251 (ASMARGS_1): Likewise.
12252 (LOADREGS_2): Likewise.
12253 (ASMARGS_2): Likewise.
12254 (LOADREGS_3): Likewise.
12255 (ASMARGS_3): Likewise.
12256 (LOADREGS_4): Likewise.
12257 (ASMARGS_4): Likewise.
12258 (LOADREGS_5): Likewise.
12259 (ASMARGS_5): Likewise.
12260 (LOADREGS_6): Likewise.
12261 (ASMARGS_6): Likewise.
12262
12263 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
12264
12265 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12266 -fomit-frame-pointer.
12267 (CFLAGS-mmap64.c): Likewise.
12268 (CFLAGS-semtimedop.c): Likewise.
12269 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12270 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12271 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12272 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12273
12274 2015-10-15 Florian Weimer <fweimer@redhat.com>
12275
12276 [BZ #18928]
12277 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12278 _dl_pointer_guard member.
12279 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12280 initializer.
12281 (security_init): Always set up pointer guard.
12282 (process_envvars): Do not process LD_POINTER_GUARD.
12283
12284 2015-10-14 Joseph Myers <joseph@codesourcery.com>
12285
12286 [BZ #19134]
12287 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12288 (.LC2): Likewise.
12289 (.LC3): Likewise.
12290 (__lround): Do not add 0.5 to integer or out-of-range arguments.
12291
12292 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
12293
12294 [BZ #19129]
12295 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12296 r0 and r1.
12297
12298 2015-10-14 Namhyung Kim <namhyung@gmail.com>
12299
12300 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12301
12302 2015-10-14 Carlos O'Donell <carlos@redhat.com>
12303
12304 * include/stap-probe.h: Fix macro definition formatting.
12305
12306 2015-10-14 Florian Weimer <fweimer@redhat.com>
12307
12308 [BZ #19074]
12309 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12310 load and store num_ifs.
12311
12312 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
12313
12314 [BZ #18822]
12315 * sysdeps/unix/sysv/linux/sched_getaffinity.c
12316 (__sched_getaffinity_new): Add libc_hidden_proto and
12317 libc_hidden_def.
12318
12319 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
12320
12321 [BZ #19007]
12322 * scripts/localplt.awk: Also allow GOT references.
12323 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12324 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12325 with "+ REL R_386_GLOB_DAT".
12326 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12327 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12328
12329 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
12330
12331 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12332 INLINE_SYSCALL_ERROR_RETURN_VALUE.
12333 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12334 Likewise.
12335 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12336 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12337 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12338 INTERNAL_SYSCALLINTERNAL_SYSCALL and
12339 INLINE_SYSCALL_ERROR_RETURN_VALUE.
12340 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12341 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12342 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12343 Likewise.
12344 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12345
12346 2015-10-13 Joseph Myers <joseph@codesourcery.com>
12347
12348 [BZ #19125]
12349 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12350 <math_private.h> and <stdint.h>.
12351 (__llround): Avoid conversions to and from long long int, and
12352 subtractions, where those might raise spurious exceptions.
12353 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12354 <math_private.h> and <stdint.h>.
12355 (__llroundf): Avoid conversions to and from long long int, and
12356 subtractions, where those might raise spurious exceptions.
12357
12358 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
12359
12360 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12361 INLINE_SYSCALL_ERROR_RETURN_VALUE.
12362 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12363 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12364 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12365 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12366 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12367 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12368 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12369 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12370 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12371 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12372 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12373 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12374 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12375 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12376 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12377 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12378 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12379 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12380 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12381 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12382 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12383 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12384 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12385 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12386 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12387 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12388 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12389 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12390 (__xstat64_conv): Likewise.
12391 (__xstat32_conv): Likewise.
12392
12393 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
12394
12395 * sysdeps/unix/sysv/linux/sysdep.h: New file.
12396 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12397 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12398 <sysdeps/unix/sysv/linux/sysdep.h>.
12399 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12400 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12401 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12402 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12403 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12404 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12405 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12406 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12407 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12410 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12411 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12412 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12413 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12415 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12416 (sysdep-dl-routines): Add sysdep.
12417 [$(subdir) == nptl] (libpthread-routines): Likewise.
12418 [$(subdir) == rt] (librt-routines): Likewise.
12419 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12420 PIC when branching to SYSCALL_ERROR_LABEL.
12421 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12422 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12423 <sysdeps/unix/sysv/linux/sysdep.h>.
12424 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12425 (SYSCALL_ERROR_ERRNO): Removed.
12426 (SYSCALL_ERROR_HANDLER): Changed to empty.
12427 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12428 (__syscall_error): New prototype.
12429 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12430 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12431
12432 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
12433
12434 [BZ #19124]
12435 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12436 (_dl_runtime_resolve_avx512): Make it a hidden alias of
12437 _dl_runtime_resolve_avx.
12438 (_dl_runtime_profile_avx512): Make it a hidden alias of
12439 _dl_runtime_profile_avx.
12440
12441 2015-10-13 Joseph Myers <joseph@codesourcery.com>
12442
12443 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12444 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12445 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12446 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12447
12448 [BZ #16422]
12449 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12450 New configure test.
12451 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12452 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12453 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12454 <math_private.h> and <stdint.h>.
12455 (__llrint): Avoid conversions to long long int where those might
12456 raise spurious exceptions.
12457 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12458 <math_private.h> and <stdint.h>.
12459 (__llrintf): Avoid conversions to long long int where those might
12460 raise spurious exceptions.
12461
12462 2015-10-12 Andreas Schwab <schwab@suse.de>
12463
12464 [BZ #18969]
12465 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
12466 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12467 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
12468 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12469 $(gen-locales).
12470 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
12471 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12472 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12473 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12474 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12475 $(gen-locales).
12476 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
12477 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12478 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12479 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12480 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12481 ($(objpfx)tst-ftell-active-handler.out)
12482 ($(objpfx)tst-ftell-append.out)
12483 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12484 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12485 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12486 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12487 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
12488 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12489 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12490 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12491 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12492 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12493 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12494 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12495 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12496 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12497 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12498 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12499 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12500 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12501 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
12502 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12503 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12504 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12505 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12506 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
12507 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12508 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12509 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12510 $(gen-locales).
12511 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
12512 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12513 $(gen-locales).
12514 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
12515 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12516 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12517 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12518 $(gen-locales).
12519 * libio/tst_wprintf2.c (main): Use explicit locale.
12520 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12521
12522 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12523
12524 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12525 __msg_sig_post.
12526 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12527
12528 2015-10-09 Joseph Myers <joseph@codesourcery.com>
12529
12530 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12531 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12532
12533 * sysdeps/arm/libm-test-ulps: Regenerated.
12534
12535 [BZ #15470]
12536 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12537
12538 [BZ #16399]
12539 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12540 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12541 and <fix-fp-int-convert-overflow.h>.
12542 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12543 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12544 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12545 and <fix-fp-int-convert-overflow.h>.
12546 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12547 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12548 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12549 <fix-fp-int-convert-overflow.h>.
12550 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12551 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12552 * sysdeps/ieee754/dbl-64/s_lround.c: Include
12553 <fix-fp-int-convert-overflow.h>.
12554 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12555 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12556 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12557 and <fix-fp-int-convert-overflow.h>.
12558 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12559 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12560 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12561 <limits.h> and <fix-fp-int-convert-overflow.h>.
12562 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12563 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12564 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12565 and <fix-fp-int-convert-overflow.h>.
12566 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12567 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12568 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12569 and <fix-fp-int-convert-overflow.h>.
12570 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12571 FIX_DBL_LLONG_CONVERT_OVERFLOW.
12572 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12573
12574 2015-10-09 Carlos O'Donell <carlos@redhat.com>
12575
12576 [BZ #18589]
12577 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12578 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12579 $(gen-locales).
12580
12581 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12582 Phil Blundell <pb@pbcl.net>
12583
12584 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12585 * nptl/tst-cancel26.c: New file.
12586 * nptl/tst-cancel27.c: Likewise.
12587
12588 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
12589
12590 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12591 __ILP32__ isn't defined.
12592 (lrint): Likewise.
12593 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12594 (lrintf): Likewise.
12595 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12596 (lrintl): Likewise.
12597 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12598 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12599 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12600
12601 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12602
12603 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12604 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12605
12606 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12607 file.
12608 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12609 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12610
12611 2015-10-09 Joseph Myers <joseph@codesourcery.com>
12612
12613 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12614 configure test.
12615 * sysdeps/i386/configure: Regenerated.
12616 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12617 configure test.
12618 * sysdeps/x86_64/configure: Regenerated.
12619 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12620 Make code unconditional.
12621
12622 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12623 test.
12624 * sysdeps/i386/configure: Regenerated.
12625 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12626 test.
12627 * sysdeps/x86_64/configure: Regenerated.
12628 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12629 Make code unconditional.
12630 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12631 Likewise.
12632 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12633 Likewise.
12634 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12635 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12636 code unconditional.
12637 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12638 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12639 code unconditional.
12640 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12641 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12642 code unconditional.
12643 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12644 code unconditional.
12645 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12646 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12647 code unconditional.
12648 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12649 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12650 code unconditional.
12651 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12652 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12653 code unconditional.
12654 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12655 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12656 code unconditional.
12657 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12658 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12659
12660 [BZ #19095]
12661 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12662 mantissa to long int before shifting left.
12663
12664 2015-10-08 Joseph Myers <joseph@codesourcery.com>
12665
12666 [BZ #19094]
12667 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12668 <limits.h>.
12669 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12670 when result overflows but exception would not result from cast.
12671 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12672 <limits.h>.
12673 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12674 when result overflows but exception would not result from cast.
12675 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12676 <limits.h>.
12677 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12678 when result overflows but exception would not result from cast.
12679 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12680 <limits.h>.
12681 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12682 when result overflows but exception would not result from cast.
12683 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12684 <limits.h>.
12685 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12686 when result overflows but exception would not result from cast.
12687 * math/libm-test.inc (lrint_test_data): Add more tests.
12688 (llrint_test_data): Likewise.
12689
12690 2015-10-08 Roland McGrath <roland@hack.frob.com>
12691
12692 [BZ #18872]
12693 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12694 Move out from under [$(run-built-tests) = yes] conditional.
12695 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12696 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12697
12698 2015-10-08 Carlos O'Donell <carlos@redhat.com>
12699
12700 [BZ #18589]
12701 * string/Makefile (tests): Add bug-strcoll2.
12702 (LOCALES): Add cs_CZ.UTF-8.
12703 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12704
12705 [BZ #18589]
12706 * string/bug-strcoll2.c: New file.
12707 * locale/categories.def: Revert commit
12708 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12709 * locale/langinfo.h: Likewise.
12710 * locale/localeinfo.h: Likewise.
12711 * locale/C-collate.c: Likewise.
12712 * locale/programs/ld-collate.c (collate_output): Likewise.
12713 * string/strcoll_l.c (STRDIFF): Likewise.
12714 (STRCOLL): Likewise.
12715 * wcsmbs/wcscoll_l.c: Likewise.
12716
12717 2015-10-08 Joseph Myers <joseph@codesourcery.com>
12718
12719 * math/libm-test.inc (lround_test_data): Do not expect the absence
12720 of "inexact" for some tests with non-integer arguments.
12721 (llround_test_data): Likewise.
12722
12723 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12724 test.
12725 (libc_cv_cc_sse2avx): Likewise.
12726 * sysdeps/i386/configure: Regenerated.
12727 * sysdeps/i386/i686/multiarch/Makefile
12728 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12729 [$(subdir) = math].
12730 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12731 code unconditional.
12732 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12733 Likewise.
12734 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12735 Likewise.
12736 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12737 Likewise.
12738 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12739 test.
12740 (libc_cv_cc_sse2avx): Likewise.
12741 * sysdeps/x86_64/configure: Regenerated.
12742 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12743 unconditional.
12744 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12745 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12746 unconditional.
12747 (_dl_runtime_profile)
12748 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12749 conditional code.
12750 * sysdeps/x86_64/fpu/multiarch/Makefile
12751 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12752 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12753 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12754 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12755 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12756 * sysdeps/x86_64/fpu/multiarch/e_log.c
12757 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12758 * sysdeps/x86_64/fpu/multiarch/s_atan.c
12759 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12760 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12761 Likewise.
12762 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12763 Likewise.
12764 * sysdeps/x86_64/fpu/multiarch/s_sin.c
12765 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12766 * sysdeps/x86_64/fpu/multiarch/s_tan.c
12767 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12768 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12769 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12770 (HAVE_SSE2AVX_SUPPORT): Likewise.
12771
12772 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
12773
12774 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12775 instead of #pragma optimize.
12776
12777 2015-10-07 Carlos O'Donell <carlos@redhat.com>
12778
12779 [BZ #17195]
12780 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
12781 as is similarly done in systrim and _int_free already.
12782
12783 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12784
12785 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
12786
12787 2015-10-07 Joseph Myers <joseph@codesourcery.com>
12788
12789 [BZ #19088]
12790 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
12791 <limits.h>.
12792 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12793 overflows but exception would not result from cast.
12794 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
12795 and <limits.h>.
12796 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12797 overflows but exception would not result from cast.
12798 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
12799 <limits.h>.
12800 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12801 overflows but exception would not result from cast.
12802 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
12803 <limits.h>.
12804 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12805 overflows but exception would not result from cast.
12806 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
12807 <limits.h>.
12808 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12809 overflows but exception would not result from cast.
12810 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
12811 <limits.h>.
12812 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12813 overflows but exception would not result from cast.
12814 * math/libm-test.inc (lround_test_data): Add more tests.
12815 (llround_test_data): Likewise.
12816
12817 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
12818
12819 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
12820 (CFLAGS-ialloc.c): Ditto.
12821 (CFLAGS-scheck.c): Ditto.
12822
12823 2015-10-07 Carlos O'Donell <carlos@redhat.com>
12824
12825 [BZ #19086]
12826 * manual/filesys.texi (Storage Allocation): Fix argument order for
12827 posix_fallocate64.
12828
12829 2015-10-07 Joseph Myers <joseph@codesourcery.com>
12830
12831 [BZ #19085]
12832 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
12833 exponent below 48 inside case for non-overflowing exponent.
12834 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12835
12836 2015-10-07 Florian Weimer <fweimer@redhat.com>
12837
12838 * iconvdata/cp737.h (from_idx): Add const.
12839 * iconvdata/cp775.h (from_idx): Likewise.
12840
12841 2015-10-07 Joseph Myers <joseph@codesourcery.com>
12842
12843 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
12844 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12845 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
12846
12847 [BZ #19079]
12848 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
12849 file, conditioned on [!_LP64].
12850 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12851 [!_LP64] (__lround): Do not define as function or alias.
12852 [!_LP64] (lround): Likewise.
12853 [!_LP64] (__lroundl): Likewise.
12854 [!_LP64] (lroundl): Likewise.
12855 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12856 macro.
12857 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12858 Likewise.
12859
12860 2015-10-06 Joseph Myers <joseph@codesourcery.com>
12861
12862 * math/libm-test.inc (lrint_test_data): Add more tests.
12863 (llrint_test_data): Likewise.
12864 (lround_test_data): Likewise.
12865 (llround_test_data): Likewise.
12866
12867 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12868 (llrint_test_data): Add tests used for lrint.
12869
12870 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12871 test.
12872 * sysdeps/i386/configure: Regenerated.
12873 * sysdeps/i386/i686/multiarch/Makefile
12874 [$(config-cflags-sse4) = yes]: Make code unconditional.
12875 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12876 Likewise.
12877 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12878 Likewise.
12879 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12880 test.
12881 * sysdeps/x86_64/configure: Regenerated.
12882 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12883 Make code unconditional.
12884 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12885 Likewise.
12886 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12887 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12888
12889 * scripts/rpm2dynsym.sh: Remove file.
12890
12891 2015-10-06 Florian Weimer <fweimer@redhat.com>
12892
12893 * configure.ac (libc_cv_cxx_thread_local): Define.
12894 * configure: Regenerate.
12895 * config.make.in (have-cxx-thread_local): Define.
12896 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12897 (LDLIBS-tst-thread_local1): Define.
12898 (tests): Add tst-thread_local1.
12899 [have-cxx-thread_local != yes] (tests-unsupported): Add
12900 tst-thread_local1.
12901 * nptl/tst-thread_local1.cc: New file.
12902
12903 2015-10-06 Joseph Myers <joseph@codesourcery.com>
12904
12905 [BZ #19078]
12906 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12907 (u_thres): Likewise.
12908 (__expl): Determine whether to call __kernel_standard_l based on
12909 value of result, not argument.
12910
12911 * math/libm-test.inc (scalb_test_data): Add more expectations for
12912 the "inexact" exception.
12913
12914 [BZ #19077]
12915 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12916 0.0L for argument 1.0L.
12917
12918 [BZ #19076]
12919 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12920 constant 0.0L when computing infinite result.
12921
12922 2015-10-06 Florian Weimer <fweimer@redhat.com>
12923
12924 [BZ #10432]
12925 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12926 malloc_usable_size.
12927
12928 2015-10-06 Florian Weimer <fweimer@redhat.com>
12929
12930 [BZ #19018]
12931 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12932 Mangle function pointer before storing it.
12933 (__call_tls_dtors): Demangle function pointer before calling it.
12934
12935 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12936
12937 [BZ #19012]
12938 * iconv/gconv_db.c (gen_steps): Check for additional errors.
12939 Clean up on failure.
12940
12941 2015-10-05 Joseph Myers <joseph@codesourcery.com>
12942
12943 [BZ #19071]
12944 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12945 long int variable to store possibly incremented high part of
12946 mantissa.
12947 * math/libm-test.inc (lround_test_data): Add tests used for
12948 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
12949 for tests requiring 64-bit long. Do not condition tests on
12950 [TEST_FLOAT] unnecessarily.
12951 (llround_test_data): Add tests used for lround. Add another
12952 expectation for the "inexact" exception. Do not condition tests
12953 on [TEST_FLOAT] unnecessarily.
12954
12955 [BZ #887]
12956 [BZ #19049]
12957 [BZ #19050]
12958 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12959 * sysdeps/ieee754/dbl-64/e_log10.c: Include
12960 <fix-int-fp-convert-zero.h>.
12961 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12962 * sysdeps/ieee754/dbl-64/e_log2.c: Include
12963 <fix-int-fp-convert-zero.h>.
12964 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12965 * sysdeps/ieee754/dbl-64/s_erf.c: Include
12966 <fix-int-fp-convert-zero.h>.
12967 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12968 * sysdeps/ieee754/dbl-64/s_logb.c: Include
12969 <fix-int-fp-convert-zero.h>.
12970 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12971 * sysdeps/ieee754/flt-32/e_log10f.c: Include
12972 <fix-int-fp-convert-zero.h>.
12973 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12974 * sysdeps/ieee754/flt-32/e_log2f.c: Include
12975 <fix-int-fp-convert-zero.h>.
12976 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12977 * sysdeps/ieee754/flt-32/s_erff.c: Include
12978 <fix-int-fp-convert-zero.h>.
12979 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12980 * sysdeps/ieee754/flt-32/s_logbf.c: Include
12981 <fix-int-fp-convert-zero.h>.
12982 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12983 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12984 <fix-int-fp-convert-zero.h>.
12985 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12986 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12987 <fix-int-fp-convert-zero.h>.
12988 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12989 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12990 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12991 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12992 file.
12993 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12994
12995 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12996
12997 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12998
12999 2015-10-02 Joseph Myers <joseph@codesourcery.com>
13000
13001 [BZ #19059]
13002 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13003 overflowing computation.
13004 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13005 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13006 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13007 Likewise.
13008 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13009 Likewise.
13010 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13011 Likewise.
13012 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13013 Likewise.
13014 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13015 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13016 Likewise.
13017 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13018 Likewise.
13019 * math/libm-test.inc (nexttoward_test_data): Add more tests.
13020
13021 * nss/rewrite_field.c (__nss_rewrite_field): Use
13022 internal_function.
13023 * nss/valid_field.c (__nss_valid_field): Likewise.
13024 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13025
13026 2015-10-02 Florian Weimer <fweimer@redhat.com>
13027
13028 [BZ #18724]
13029 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13030 (__nss_invalid_field_characters, __nss_valid_field)
13031 (__nss_valid_list_field, __nss_rewrite_field): Declare.
13032 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13033 tst-field.c: New file.
13034 * nss/Makefile (routines): Add valid_field, rewrite_field.
13035 (tests-static): Define unconditionally.
13036 (tests): Include tests-static.
13037 [build-static-nss] (tests-static): Use append.
13038 [build-static-nss] (tests): Remove modification.
13039 * nss/getent.c (print_group): Call putgrent. Report error.
13040 (print_gshadow): Call putsgent. Report error.
13041 (print_passwd): Call putpwent. Report error.
13042 (print_shadow): Call putspent. Report error.
13043 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13044 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13045 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
13046 name, password, directory, shell fields for valid syntax. Rewrite
13047 GECOS field to match syntax.
13048 * pwd/Makefile (tests): Add tst-putpwent.
13049 * pwd/tst-putpwent.c: New file.
13050 * grp/putgrent.c (putgrent): Convert to ISO function definition.
13051 Check grName, grpasswd, gr_mem fields for valid syntax.
13052 Change loop variable i to size_t.
13053 * grp/Makefile (tests): Add tst-putgrent.
13054 * grp/tst-putgrent.c: New file.
13055 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13056 valid syntax.
13057 * shadow/Makefile (tests): Add tst-putspent.
13058 * shadow/tst-putspent.c: New file.
13059 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13060 sg_mem fields for valid syntax.
13061 * gshadow/Makefile (tests): Add tst-putsgent.
13062 * gshadow/tst-putsgent.c: New file.
13063
13064 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13065
13066 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13067 assembly instructions.
13068
13069 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13070
13071 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13072 prefix from operands.
13073
13074 2015-10-01 Joseph Myers <joseph@codesourcery.com>
13075
13076 [BZ #16347]
13077 [BZ #19046]
13078 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13079 <libc-internal.h>.
13080 (MAXLGM): Do not use diagnostic control macros.
13081 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13082 threshold for ldbl-128ibm.
13083 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13084 instead of multiplying by log then subtracting.
13085 * math/auto-libm-test-in: Add more tests of lgamma.
13086 * math/auto-libm-test-out: Regenerated.
13087
13088 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13089 (TYPE_HEX_DIG): Likewise.
13090 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13091 precisions when printing floating-point numbers.
13092 (check_float_internal): Likewise.
13093
13094 2015-09-30 Joseph Myers <joseph@codesourcery.com>
13095
13096 [BZ #16620]
13097 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13098 of log (10) rounded downward to 48 bits.
13099 (log10_low): Use corresponding low part of log (10).
13100
13101 [BZ #19032]
13102 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13103 compute result as (x - x) / (x - x) not as 0 / 0.
13104 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13105 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13106
13107 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13108 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13109 and expm1.
13110 * math/auto-libm-test-out: Regenerated.
13111 * math/libm-test.inc (acos_test_data): Add more tests.
13112 (asin_test_data): Likewise.
13113 (asinh_test_data): Likewise.
13114 (atan_test_data): Likewise.
13115 (atanh_test_data): Likewise.
13116 (atan2_test_data): Likewise.
13117 (cbrt_test_data): Likewise.
13118 (ceil_test_data): Likewise.
13119 (copysign_test_data): Likewise.
13120 (cos_test_data): Likewise.
13121 (cosh_test_data): Likewise.
13122 (erf_test_data): Likewise.
13123 (erfc_test_data): Likewise.
13124 (exp_test_data): Likewise.
13125 (exp10_test_data): Likewise.
13126 (exp2_test_data): Likewise.
13127 (expm1_test_data): Likewise.
13128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13129
13130 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
13131
13132 [BZ #19006]
13133 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13134 to ...
13135 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13136 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13137 to ...
13138 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13139 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13140 to ...
13141 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13142 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13143 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13144 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13145 to ...
13146 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13147 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13148 Moved to ...
13149 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13150 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13151 Moved to ...
13152 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13153 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13154 to ...
13155 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13156 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13157 Moved to ...
13158 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13159 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13160 to ...
13161 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13162 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13163 Removed.
13164 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13165 Likewise.
13166 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13167 Likewise.
13168 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13169 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13170 Likewise.
13171 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13172 Likewise.
13173 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13174 Likewise.
13175 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13176 Likewise.
13177 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13178 Likewise.
13179 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13180 Likewise.
13181 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13182 Likewise.
13183 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13184 Likewise.
13185 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13186 Likewise.
13187 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13188 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13189 Likewise.
13190 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13191 Likewise.
13192 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13193 Likewise.
13194 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13195 Likewise.
13196 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13197 Likewise.
13198 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13199 Replace ../i486/pthread_cond_timedwait.S with
13200 ../pthread_cond_timedwait.S.
13201
13202 2015-09-30 Joseph Myers <joseph@codesourcery.com>
13203
13204 * math/libm-test.inc (acos_test_data): Refine expectations for
13205 errno and "inexact" exceptions.
13206 (acosh_test_data): Likewise.
13207 (asin_test_data): Likewise.
13208 (asinh_test_data): Likewise.
13209 (atan_test_data): Likewise.
13210 (atanh_test_data): Likewise.
13211 (atan2_test_data): Likewise.
13212 (cbrt_test_data): Likewise.
13213 (ceil_test_data): Likewise.
13214 (copysign_test_data): Likewise.
13215 (cosh_test_data): Likewise.
13216 (erf_test_data): Likewise.
13217 (erfc_test_data): Likewise.
13218 (exp_test_data): Likewise.
13219 (exp10_test_data): Likewise.
13220 (exp2_test_data): Likewise.
13221 (expm1_test_data): Likewise.
13222 (fabs_test_data): Likewise.
13223 (floor_test_data): Likewise.
13224 (fma_test_data): Likewise.
13225 (fmax_test_data): Likewise.
13226 (fmin_test_data): Likewise.
13227 (fmod_test_data): Likewise.
13228 (fpclassify_test_data): Likewise.
13229 (frexp_test_data): Likewise.
13230 (hypot_test_data): Likewise.
13231 (ilogb_test_data): Likewise.
13232 (isgreater_test_data): Likewise.
13233 (isgreaterequal_test_data): Likewise.
13234 (isinf_test_data): Likewise.
13235 (isless_test_data): Likewise.
13236 (islessequal_test_data): Likewise.
13237 (islessgreater_test_data): Likewise.
13238 (isnan_test_data): Likewise.
13239 (isnormal_test_data): Likewise.
13240 (issignaling_test_data): Likewise.
13241 (isunordered_test_data): Likewise.
13242 (j0_test_data): Likewise.
13243 (j1_test_data): Likewise.
13244 (jn_test_data): Likewise.
13245 (lgamma_test_data): Likewise.
13246 (lrint_test_data): Likewise.
13247 (llrint_test_data): Likewise.
13248 (log_test_data): Likewise.
13249 (log10_test_data): Likewise.
13250 (log1p_test_data): Likewise.
13251 (log2_test_data): Likewise.
13252 (logb_test_data): Likewise.
13253 (lround_test_data): Likewise.
13254 (llround_test_data): Likewise.
13255 (modf_test_data): Likewise.
13256 (nearbyint_test_data): Likewise.
13257 (nextafter_test_data): Likewise.
13258 (nexttoward_test_data): Likewise.
13259 (pow_test_data): Likewise.
13260 (remainder_test_data): Likewise.
13261 (remquo_test_data): Likewise.
13262 (rint_test_data): Likewise.
13263 (round_test_data): Likewise.
13264 (signbit_test_data): Likewise.
13265 (sinh_test_data): Likewise.
13266 (sqrt_test_data): Likewise.
13267 (tanh_test_data): Likewise.
13268 (tgamma_test_data): Likewise.
13269 (trunc_test_data): Likewise.
13270 (y0_test_data): Likewise.
13271 (y1_test_data): Likewise.
13272 (yn_test_data): Likewise.
13273 (significand_test_data): Likewise.
13274
13275 2015-09-29 Carlos O'Donell <carlos@redhat.com>
13276
13277 * manual/filesys.texi (Storage Allocation): Document that
13278 posix_fallocate emulation fails when fd is open with O_WRONLY.
13279
13280 2015-09-28 Joseph Myers <joseph@codesourcery.com>
13281
13282 [BZ #19016]
13283 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13284 allow more cases with X^2 + Y^2 >= 0.5.
13285 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
13286 normal element in sum instead of special-casing based on values of
13287 arguments.
13288 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13289 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
13290 -1 as normal element in sum instead of special-casing based on
13291 values of arguments.
13292 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13293 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13294 (__x2y2m1): Update comment.
13295 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
13296 as normal element in sum instead of special-casing based on values
13297 of arguments.
13298 * math/s_clog.c (__clog): Handle more cases using log1p without
13299 hypot.
13300 * math/s_clog10.c (__clog10): Likewise.
13301 * math/s_clog10f.c (__clog10f): Likewise.
13302 * math/s_clog10l.c (__clog10l): Likewise.
13303 * math/s_clogf.c (__clogf): Likewise.
13304 * math/s_clogl.c (__clogl): Likewise.
13305 * math/auto-libm-test-in: Add more tests of clog and clog10.
13306 * math/auto-libm-test-out: Regenerated.
13307 * sysdeps/i386/fpu/libm-test-ulps: Update.
13308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13309
13310 2015-09-28 Martin Sebor <msebor@redhat.com>
13311
13312 [BZ #18969]
13313 * string/Makefile (LOCALES): Define.
13314 (gen-locales.mk): Include.
13315 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13316 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13317 * string/tst-strxfrm2.c (do_test): Print the name of the locale
13318 on setlocale failure.
13319
13320 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13321
13322 [BZ #18985]
13323 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13324 (__strftime_internal): Likewise.
13325 * time/tst-strftime.c (do_bz18985): New test.
13326 (do_test): Call it.
13327
13328 2015-09-26 Joseph Myers <joseph@codesourcery.com>
13329
13330 [BZ #18956]
13331 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13332 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
13333 extracting high part.
13334 * math/auto-libm-test-in: Add another test of pow.
13335 * math/auto-libm-test-out: Regenerated.
13336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13337
13338 2015-09-25 Joseph Myers <joseph@codesourcery.com>
13339
13340 [BZ #18825]
13341 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13342 New macro.
13343 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13344 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13345 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13346 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13347 DBL_NARROW_EVAL, reloading the PIC register as needed.
13348 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13349 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13350 FLT_NARROW_EVAL. Use separate return path for case when first
13351 argument is NaN.
13352 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
13353 DEFINE_LDBL_MIN.
13354 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13355 PIC register.
13356 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13357 math_check_force_underflow_nonneg.
13358 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13359 underflow for subnormal result.
13360 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13362 math_check_force_underflow_nonneg.
13363 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13364 math_check_force_underflow.
13365 * sysdeps/x86_64/fpu/x86_64-math-asm.h
13366 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13367 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
13368 DEFINE_LDBL_MIN.
13369 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13370 * math/auto-libm-test-in: Add more tests of pow.
13371 * math/auto-libm-test-out: Regenerated.
13372
13373 2015-09-25 Florian Weimer <fweimer@redhat.com>
13374
13375 * nss/bug17079.c (init_test_items): Add diagnostic for
13376 inconsistent entries.
13377 (test_buffer_size): Skip inconsistent entries.
13378
13379 2015-09-25 Joseph Myers <joseph@codesourcery.com>
13380
13381 [BZ #13304]
13382 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13383 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13384 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13385
13386 [BZ #13304]
13387 * sysdeps/microblaze/s_fma.c: New file.
13388 * sysdeps/microblaze/s_fmaf.c: Likewise.
13389 * sysdeps/microblaze/sfp-machine.h: Likewise.
13390
13391 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
13392
13393 [BZ #17250]
13394 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13395 member.
13396
13397 2015-09-24 Joseph Myers <joseph@codesourcery.com>
13398
13399 [BZ #18803]
13400 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13401 (MO): New macro.
13402 (__ieee754_hypot) [PIC]: Load PIC register.
13403 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13404 DBL_NARROW_EVAL.
13405 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13406 math_check_force_underflow_nonneg in case where result might be
13407 tiny.
13408 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13409 Likewise.
13410 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13411 Likewise.
13412 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13413 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13414 * math/auto-libm-test-in: Add more tests of hypot.
13415 * math/auto-libm-test-out: Regenerated.
13416
13417 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
13418
13419 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13420
13421 2015-09-24 Joseph Myers <joseph@codesourcery.com>
13422
13423 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13424 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13425 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13426 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13427 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13428 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13429 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13430
13431 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13432 LOAD_PIC_REG.
13433
13434 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13435 (FLT_CHECK_FORCE_UFLOW): Likewise.
13436 (DBL_CHECK_FORCE_UFLOW): Likewise.
13437 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13438 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13439 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13440 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13441 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13442 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13443 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13444 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13445 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13446 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13447 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13448 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13449 (flt_min): Replace with use of DEFINE_FLT_MIN.
13450 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13451 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13452 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13453 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13454 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13455 (flt_min): Replace with use of DEFINE_FLT_MIN.
13456 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13457 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13458 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13459 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13460 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13461 (flt_min): Replace with use of DEFINE_FLT_MIN.
13462 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13463 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13464 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13465 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13466 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13467 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13468 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13469 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13470 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13471 (__atan): Use DBL_CHECK_FORCE_UFLOW.
13472 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13473 (flt_min): Replace with use of DEFINE_FLT_MIN.
13474 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13475 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13476 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13477 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
13478 main computation.
13479 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13480 (flt_min): Replace with use of DEFINE_FLT_MIN.
13481 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
13482 main computation.
13483 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13484 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13485 (MO): New macro.
13486 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13487 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13488 (flt_min): Replace with use of DEFINE_FLT_MIN.
13489 (MO): New macro.
13490 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13491 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13492 (__log1pl): Use MO.
13493
13494 [BZ #19003]
13495 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13496 $(config-cflags-nofma).
13497
13498 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
13499
13500 * sysdeps/aarch64/libm-test-ulps: Regenerated.
13501
13502 2015-09-23 Joseph Myers <joseph@codesourcery.com>
13503
13504 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13505 (TWO127): Likewise.
13506
13507 * sysdeps/generic/math_private.h (fabs_tg): New macro.
13508 (min_of_type): Likewise.
13509 (math_check_force_underflow): Likewise.
13510 (math_check_force_underflow_nonneg): Likewise.
13511 (math_check_force_underflow_complex): Likewise.
13512 * math/e_exp2l.c (__ieee754_exp2l): Use
13513 math_check_force_underflow_nonneg.
13514 * math/k_casinh.c (__kernel_casinh): Likewise.
13515 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13516 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13517 * math/s_catan.c (__catan): Use
13518 math_check_force_underflow_complex.
13519 * math/s_catanf.c (__catanf): Likewise.
13520 * math/s_catanh.c (__catanh): Likewise.
13521 * math/s_catanhf.c (__catanhf): Likewise.
13522 * math/s_catanhl.c (__catanhl): Likewise.
13523 * math/s_catanl.c (__catanl): Likewise.
13524 * math/s_ccosh.c (__ccosh): Likewise.
13525 * math/s_ccoshf.c (__ccoshf): Likewise.
13526 * math/s_ccoshl.c (__ccoshl): Likewise.
13527 * math/s_cexp.c (__cexp): Likewise.
13528 * math/s_cexpf.c (__cexpf): Likewise.
13529 * math/s_cexpl.c (__cexpl): Likewise.
13530 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13531 * math/s_clog10.c (__clog10): Likewise.
13532 * math/s_clog10f.c (__clog10f): Likewise.
13533 * math/s_clog10l.c (__clog10l): Likewise.
13534 * math/s_clogf.c (__clogf): Likewise.
13535 * math/s_clogl.c (__clogl): Likewise.
13536 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13537 * math/s_csinf.c (__csinf): Likewise.
13538 * math/s_csinh.c (__csinh): Likewise.
13539 * math/s_csinhf.c (__csinhf): Likewise.
13540 * math/s_csinhl.c (__csinhl): Likewise.
13541 * math/s_csinl.c (__csinl): Likewise.
13542 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13543 * math/s_csqrtf.c (__csqrtf): Likewise.
13544 * math/s_csqrtl.c (__csqrtl): Likewise.
13545 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13546 * math/s_ctanf.c (__ctanf): Likewise.
13547 * math/s_ctanh.c (__ctanh): Likewise.
13548 * math/s_ctanhf.c (__ctanhf): Likewise.
13549 * math/s_ctanhl.c (__ctanhl): Likewise.
13550 * math/s_ctanl.c (__ctanl): Likewise.
13551 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13552 instead of volatile.
13553 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13554 math_check_force_underflow.
13555 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13556 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13557 volatile when forcing underflow.
13558 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13559 math_check_force_underflow_nonneg.
13560 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13561 Likewise.
13562 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13563 math_check_force_underflow.
13564 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13565 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13566 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13567 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13568 math_check_force_underflow_nonneg.
13569 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13570 math_check_force_underflow.
13571 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13573 instead of volatile.
13574 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13575 math_check_force_underflow.
13576 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13577 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13578 math_check_force_underflow_nonneg.
13579 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13580 math_check_force_underflow.
13581 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13582 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13583 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13584 math_check_force_underflow_nonneg.
13585 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13586 Likewise.
13587 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13588 math_check_force_underflow.
13589 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13590 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13591 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13592 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13593 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13594 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13595 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13596 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13597 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13598 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13599 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13600 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13601 Likewise.
13602 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13603 math_check_force_underflow_nonneg.
13604 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13605 Likewise.
13606 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13607 math_check_force_underflow.
13608 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13609 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13610 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13611 Likewise.
13612 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13613 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13614 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13615 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13616 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13617 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13619 instead of volatile.
13620 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13621 math_check_force_underflow.
13622 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13623 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13624 math_check_force_underflow.
13625 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13626 Likewise.
13627 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13628 Use math_check_force_underflow_nonneg.
13629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13630 math_check_force_underflow.
13631 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13632 Likewise.
13633 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13634 Likewise.
13635 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13636 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13637 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13639 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13640 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13641 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13642 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13643 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13644 math_check_force_underflow_nonneg.
13645 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13646 math_check_force_underflow.
13647 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13648 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13649 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13650 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13651 math_check_force_underflow_nonneg.
13652 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13653 math_check_force_underflow.
13654 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13655 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13656 instead of volatile.
13657 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13658 math_check_force_underflow.
13659
13660 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13661 * stdlib/strtod_l.c: Include <math_private.h>.
13662 (overflow_value): Use math_narrow_eval.
13663 (underflow_value): Likewise.
13664 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13665 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13666 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13667 (__ieee754_gamma_r): Likewise.
13668 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13669 Likewise.
13670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13671 Likewise.
13672 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13673 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13674 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13675 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13676 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13677 (__ieee754_gammaf_r): Likewise.
13678 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13679 Likewise.
13680 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13681 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13682 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13683 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13684 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13685 volatile.
13686 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13687 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13688 math_narrow_eval.
13689 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13690 Likewise.
13691 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13692 Likewise.
13693 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13694 Likewise.
13695 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13696 volatile.
13697 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13698 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13699 math_narrow_eval.
13700 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13701 Likewise.
13702 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13703 Likewise.
13704
13705 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
13706
13707 * nptl/Versions: Remove ignored symbols.
13708
13709 2015-09-22 Florian Weimer <fweimer@redhat.com>
13710
13711 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
13712 * nss/Makefile (tests): Update.
13713
13714 2015-09-22 Florian Weimer <fweimer@redhat.com>
13715
13716 * nss/bug18287.c: New file.
13717 * nss/Makefile (tests): Add bug18287.
13718
13719 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13720
13721 * mach/Versions (__mach_host_self_): Add symbol.
13722
13723 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
13724
13725 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13726 vm_page_size.
13727
13728 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13729
13730 Really fix sysdeps/i386/fpu/s_scalbn.S build
13731
13732 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13733 (libc: GLIBC_2_22): Remove unused version set.
13734
13735 2015-09-18 Mike Frysinger <vapier@gentoo.org>
13736
13737 * config.make.in (enable-timezone-tools): New variable.
13738 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13739 (enable_timezone_tools): Export to generated files.
13740 * configure: Regenerate.
13741 * INSTALL: Regenerate.
13742 * manual/install.texi (--disable-timezone-tools): Document new flag.
13743 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13744 ifeq ($(enable-timezone-tools),yes) check.
13745
13746 2015-09-18 Joseph Myers <joseph@codesourcery.com>
13747
13748 * timezone/Makefile: Revert previous change.
13749
13750 [BZ #18980]
13751 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13752 (DEFINE_DBL_MIN): Likewise.
13753 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13754 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13755 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13756 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13757 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13758 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13759 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13760 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13761 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13762 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13763 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13764 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13765 (flt_min): Replace with use of DEFINE_FLT_MIN.
13766 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13767 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13768 (dbl_min): Replace with use of DEFINE_DBL_MIN.
13769 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13770 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13771 (flt_min): Replace with use of DEFINE_FLT_MIN.
13772 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13773 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13774 (flt_min): Replace with use of DEFINE_FLT_MIN.
13775 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13776 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13777 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
13778 (__ieee754_hypot): Use DBL_NARROW_EVAL.
13779 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
13780 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
13781 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
13782 (__ieee754_pow): Use DBL_NARROW_EVAL.
13783 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
13784 (__ieee754_powf): Use FLT_NARROW_EVAL.
13785 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
13786 (__ieee754_expf_sse2): Convert double-precision result to single
13787 precision.
13788 * sysdeps/i386/fpu/libm-test-ulps: Update.
13789
13790 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13791
13792 * timezone/Makefile: Ignore unused variable errors due to private.h
13793 (time_t_min) and (time_t_max).
13794 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
13795 Likewise.
13796
13797 2015-09-18 Joseph Myers <joseph@codesourcery.com>
13798
13799 [BZ #18981]
13800 * sysdeps/i386/fpu/i386-math-asm.h: New file.
13801 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
13802 (__ieee754_scalb): Use DBL_NARROW_EVAL.
13803 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
13804 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
13805 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
13806 (__scalbn): Use DBL_NARROW_EVAL.
13807 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
13808 (__scalbnf): Use FLT_NARROW_EVAL.
13809
13810 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13811
13812 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
13813 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
13814 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
13815 * stdio-common/printf_fp.c (___printf_fp):
13816 Use signbit to get the sign. Use isinf macro to allow inlining.
13817 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
13818 * stdio-common/printf_size.c (__printf_size): Likewise.
13819
13820 2015-09-18 Mike Frysinger <vapier@gentoo.org>
13821
13822 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
13823
13824 2015-09-18 Joseph Myers <joseph@codesourcery.com>
13825
13826 [BZ #18980]
13827 * sysdeps/generic/math_private.h: Include <float.h>.
13828 (math_narrow_eval): New macro.
13829 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13830 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
13831 math_narrow_eval on overflowing return value.
13832 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
13833 Likewise.
13834 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13835 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
13836 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
13837 Likewise.
13838 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13839
13840 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13841
13842 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
13843 * math/Makefile: Remove isinf_ns.c.
13844 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
13845 * math/multc3.c (__multc3): Likewise.
13846 * math/s_casin.c (__casin): Likewise.
13847 * math/s_casinf.c (__casinf): Likewise.
13848 * math/s_casinl.c (__casinl): Likewise.
13849 * math/s_cproj.c (__cproj): Likewise.
13850 * math/s_cprojf.c (__cprojf): Likewise.
13851 * math/s_cprojl.c (__cprofl): Likewise.
13852 * math/s_ctan.c (__ctan): Likewise.
13853 * math/s_ctanf.c (__ctanf): Likewise.
13854 * math/s_ctanh.c (__ctanh): Likewise.
13855 * math/s_ctanhf.c (__ctanhf): Likewise.
13856 * math/s_ctanhl.c (__ctanhl): Likewise.
13857 * math/s_ctanl.c (__ctanl): Likewise.
13858 * math/w_fmod.c (__fmod): Likewise.
13859 * math/w_fmodf.c (__fmodf): Likewise.
13860 * math/w_fmodl.c (_fmodl): Likewise.
13861 * math/w_remainder.c (__remainder): Likewise.
13862 * math/w_remainderf.c (__remainderf): Likewise.
13863 * math/w_remainderl.c (__remainderl): Likewise.
13864 * math/w_scalb.c (__scalb): Likewise.
13865 * math/w_scalbf.c (__scalbf): Likewise.
13866 * math/w_scalbl.c (__scalbl): Likewise.
13867 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13868 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13869 with isinf.
13870 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13872 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13873 __isinf_nsf with isinf.
13874 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13875 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13876 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13877 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13878 with isinf.
13879 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13880 __isinf_nsl with isinf.
13881 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13882 with isinf.
13883 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13884 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13885 __isinf_nsl with isinf.
13886 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13887 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13888 with isinf.
13889
13890 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13891
13892 * resolv/base64.c (rcsid): Remove unused static.
13893 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13894 static. (tqpi1): Likewise.
13895 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13896 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13897 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13898 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13899 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13900 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13901 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13902 * timezone/private.h (time_t_min): Likewise. (time_t_max):
13903 Likewise.
13904
13905 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
13906
13907 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13908 <nptl/pthreadP.h>.
13909 (_longjmp_unwind): Use __libc_ptf_call.
13910 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13911
13912 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
13913
13914 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13915 * sysdeps/arm/__longjmp.S: Likewise.
13916
13917 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13918
13919 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13920 Use __builtin_signbit.
13921 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13922 Use __builtin_signbitf.
13923 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13924 Use __builtin_signbitl.
13925 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13926 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13927
13928 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13929
13930 [BZ #15367]
13931 [BZ #17441]
13932
13933 * math/Makefile: Build test-snan.c with -fsignaling-nans.
13934 * math/math.h (fpclassify): Use __builtin_fpclassify when
13935 available. (signbit): Use __builtin_signbit(f/l).
13936 (isfinite): Use__builtin_isfinite. (isnormal): Use
13937 __builtin_isnormal. (isnan): Use __builtin_isnan.
13938 (isinf): Use __builtin_isinf_sign.
13939
13940 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
13941
13942 * benchtests/Makefile: Add bench-math-inlines, link with libm.
13943 * benchtests/bench-math-inlines.c: New benchmark.
13944 * benchtests/bench-util.h: New file.
13945 * benchtests/bench-util.c: New file.
13946 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13947
13948 2015-09-18 Carlos O'Donell <carlos@redhat.com>
13949
13950 * elf/tst-dlmopen1.c: Define TEST_SO.
13951 (do_test): Use TEST_SO.
13952
13953 * elf/dl-load.c: Include libc-internal.h.
13954 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13955
13956 2015-09-18 Vincent Bernat <vincent@bernat.im>
13957
13958 [BZ #17887]
13959 * time/strptime_l.c (__strptime_internal): Make %z accept
13960 [+-]HH:MM time zones.
13961
13962 2015-09-18 Vincent Bernat <vincent@bernat.im>
13963
13964 [BZ #17886]
13965 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13966 valid time zone.
13967
13968 2015-09-17 Mike Frysinger <vapier@gentoo.org>
13969
13970 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13971 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13972 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13973 (__ASSUME_FDATASYNC): Delete.
13974
13975 2015-09-17 Joseph Myers <joseph@codesourcery.com>
13976
13977 * conform/linknamespace.pl: Require weak undefined symbols to be
13978 in the standard namespace.
13979 (%strong_syms): Rename to %seen_syms.
13980 (%strong_seen): Rename to %seen_where.
13981
13982 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
13983
13984 [BZ #18970]
13985 * misc/error.c (error): Replace pthread_setcancelstate with
13986 __pthread_setcancelstate.
13987 (error_at_line): Likewise.
13988 * posix/wordexp.c (parse_comm): Likewise.
13989 * stdlib/fmtmsg.c (fmtmsg): Likewise.
13990 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13991 (__pthread_setcancelstate): This.
13992 (pthread_setcancelstate): Add an alias.
13993 * nptl/nptl-init.c (pthread_functions): Replace
13994 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13995 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13996 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13997 hidden_proto.
13998 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13999 it with hidden_def.
14000 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14001 (pthread_setcancelstate): Renamed to ...
14002 (__pthread_setcancelstate): This.
14003 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14004 __libc_ptf_call with __pthread_setcancelstate.
14005
14006 2015-09-17 Joseph Myers <joseph@codesourcery.com>
14007 Andreas Schwab <schwab@suse.de>
14008
14009 [BZ #17118]
14010 * math/s_ctan.c (__ctan): Determine sign of zero real part of
14011 result when imaginary part of argument is infinite using sine and
14012 cosine.
14013 * math/s_ctanf.c (__ctanf): Likewise.
14014 * math/s_ctanl.c (__ctanl): Likewise.
14015 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14016 of result when real part of argument is infinite using sine and
14017 cosine.
14018 * math/s_ctanhf.c (__ctanhf): Likewise.
14019 * math/s_ctanhl.c (__ctanhl): Likewise.
14020 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14021 (ctanh_test_data): Add more tests of ctanh.
14022
14023 2015-09-17 Joseph Myers <joseph@codesourcery.com>
14024
14025 [BZ #15384]
14026 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14027 bit-mask as in subtraction.
14028 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14029 Likewise.
14030 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14031 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14032 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14033
14034 [BZ #18951]
14035 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14036 underflow exception for small results.
14037 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14038 Likewise.
14039 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14040 Likewise.
14041 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14042 Likewise.
14043 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14044 Likewise.
14045 * math/auto-libm-test-in: Add more tests of tgamma.
14046 * math/auto-libm-test-out: Regenerated.
14047
14048 2015-09-17 Andreas Schwab <schwab@suse.de>
14049
14050 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14051
14052 2015-09-16 Joseph Myers <joseph@codesourcery.com>
14053
14054 [BZ #18977]
14055 * math/bits/mathcalls.h
14056 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14057 not declare.
14058 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14059 Likewise.
14060 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14061 Likewise.
14062 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14063 Likewise.
14064 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14065 Likewise.
14066 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14067 Likewise.
14068 * conform/data/math.h-data
14069 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14070 function.
14071 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14072 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14073 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14074 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14075 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14076 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14077 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14078 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14079 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14080 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14081 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14082
14083 [BZ #6803]
14084 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14085 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14086 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14087 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14088 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14089 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14090 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14091 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14092 [NO_LONG_DOUBLE] (scalbnl): Likewise.
14093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14094 Likewise.
14095 [NO_LONG_DOUBLE] (scalbnl): Likewise.
14096 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14097 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14098 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14099 long_double_symbol calls.
14100 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14101 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14102 strong alias of __ldexpl.
14103 (scalbnl): Define using long_double_symbol.
14104 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14105 Remove alias.
14106 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14107 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14108 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14109 (scalbln_test_data): Add more errno expectations.
14110
14111 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
14112
14113 Cache the host port like we cache the task port. This way we do not
14114 need to call the kernel just to get the port. Furthermore, we no
14115 longer increase the reference count on every invocation of
14116 `mach_host_self'.
14117
14118 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14119 Protect declarations against the macro expansion.
14120 * mach/mach_init.c (__mach_host_self_): New variable.
14121 (mach_init): Initialize `__mach_host_self_'.
14122 * mach/mach_init.h (__mach_host_self_): New declaration.
14123 (__mach_host_self, mach_host_self): New macros.
14124 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14125 Release reference.
14126
14127 2015-09-16 Joseph Myers <joseph@codesourcery.com>
14128
14129 [BZ #4404]
14130 * po/de.po: Update from Translation Project.
14131
14132 [BZ #16415]
14133 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14134 (__expm1l): Remove code to handle positive infinity and overflow.
14135 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14136 variable.
14137 (__expm1l): Remove code to handle positive infinity and overflow.
14138
14139 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
14140 Paul Pluzhnikov <ppluzhnikov@google.com>
14141
14142 [BZ #18872]
14143 * stdio-common/Makefile (tst-printf-bz18872): New test.
14144 (tst-printf-bz18872-mem.out): Likewise.
14145 * stdio-common/tst-printf-bz18872.sh: Generate new test.
14146 * stdio-common/vfprintf.c: Fix memory leaks.
14147
14148 2015-09-16 Andreas Schwab <schwab@suse.de>
14149
14150 [BZ #17244]
14151 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14152 Remove extra va_start/va_end calls.
14153
14154 [BZ #17243]
14155 * posix/execl.c (execl): Add missing va_end.
14156 * posix/execle.c (execle): Likewise.
14157 * posix/execlp.c (execlp): Likewise.
14158
14159 2015-09-15 Roland McGrath <roland@hack.frob.com>
14160
14161 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14162 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14163
14164 2015-09-15 Joseph Myers <joseph@codesourcery.com>
14165
14166 [BZ #18967]
14167 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
14168 undefine around includes of <bits/mathcalls.h>.
14169 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14170 not declare function.
14171 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14172 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14173 (scalb): Likewise.
14174 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14175 not define macro.
14176 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14177 variable.
14178 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14179 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14180 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14181
14182 [BZ #18857]
14183 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14184 return non-finite argument without doing ordered comparisons on
14185 it.
14186
14187 [BZ #16296]
14188 * math/fenv.h (fegetround): Use __attribute_pure__.
14189 * include/fenv.h (__fegetround): Likewise.
14190
14191 [BZ #18595]
14192 * math/s_ctan.c (__ctan): Force underflow exception for results
14193 whose real or imaginary part has small absolute value.
14194 * math/s_ctanf.c (__ctanf): Likewise.
14195 * math/s_ctanh.c (__ctanh): Likewise.
14196 * math/s_ctanhf.c (__ctanhf): Likewise.
14197 * math/s_ctanhl.c (__ctanhl): Likewise.
14198 * math/s_ctanl.c (__ctanl): Likewise.
14199 * math/auto-libm-test-in: Do not allow missing underflow for ctan
14200 and ctanh. Add more tests of ctan and ctanh.
14201
14202 [BZ #15918]
14203 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14204 handling of cases where one argument is an infinity.
14205
14206 [BZ #18875]
14207 [BZ #18966]
14208 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14209 (MO): New macro.
14210 (__ieee754_exp10): For small results, force underflow exception
14211 and remove excess range and precision from return value.
14212 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14213 (MO): New macro.
14214 (__ieee754_exp10f): For small results, force underflow exception
14215 and remove excess range and precision from return value.
14216 * math/auto-libm-test-in: Add more tests of exp10.
14217 * math/auto-libm-test-out: Regenerated.
14218
14219 2015-09-14 Joseph Myers <joseph@codesourcery.com>
14220
14221 [BZ #18875]
14222 [BZ #18961]
14223 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14224 (MO): New macro.
14225 (__ieee754_exp): For small results, force underflow exception and
14226 remove excess range and precision from return value.
14227 (__exp_finite): Likewise.
14228 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14229 (MO): New macro.
14230 (__ieee754_expf): For small results, force underflow exception and
14231 remove excess range and precision from return value.
14232 (__expf_finite): Likewise.
14233 * math/auto-libm-test-in: Add more tests of exp.
14234 * math/auto-libm-test-out: Regenerated.
14235
14236 [BZ #16521]
14237 [BZ #18875]
14238 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14239 small results.
14240 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14241 (MO): New macro.
14242 (__ieee754_exp2): For small results, force underflow exception and
14243 remove excess range and precision from return value.
14244 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14245 (MO): New macro.
14246 (__ieee754_exp2f): For small results, force underflow exception
14247 and remove excess range and precision from return value.
14248 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14249 (MO): New macro.
14250 (__ieee754_exp2l): Force underflow exception for small results.
14251 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14252 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14253 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14254 (MO): New macro.
14255 (__ieee754_exp2l): Force underflow exception for small results.
14256 * math/auto-libm-test-in: Add more tests or exp2.
14257 * math/auto-libm-test-out: Regenerated.
14258
14259 2015-09-14 Carlos O'Donell <carlos@redhat.com>
14260
14261 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14262
14263 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14264 /dev/null.
14265
14266 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
14267
14268 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14269 io fs process)): Drop spurious backslash.
14270
14271 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14272
14273 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14274 Use sysinfo system call instead of parsing /proc/meminfo.
14275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14276 Likewise.
14277
14278 2015-09-11 Mike Frysinger <vapier@gentoo.org>
14279
14280 [BZ #16985]
14281 * programs/localedef.c (main): Display argv[remaining] when
14282 output_path is NULL.
14283
14284 2015-09-11 Joseph Myers <joseph@codesourcery.com>
14285
14286 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14287 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14288 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14289 tanh.
14290 * math/auto-libm-test-out: Regenerated.
14291 * sysdeps/i386/fpu/libm-test-ulps: Update.
14292 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14293 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14295
14296 2015-09-11 Roland McGrath <roland@hack.frob.com>
14297
14298 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14299 Use 'override' keyword to freeze the value here, preventing
14300 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14301
14302 2015-09-11 Joseph Myers <joseph@codesourcery.com>
14303
14304 [BZ #14912]
14305 * sysdeps/aarch64/bits/atomic.h: Move to ...
14306 * sysdeps/aarch64/atomic-machine.h: ...here.
14307 (_AARCH64_BITS_ATOMIC_H): Rename macro to
14308 _AARCH64_ATOMIC_MACHINE_H.
14309 * sysdeps/alpha/bits/atomic.h: Move to ...
14310 * sysdeps/alpha/atomic-machine.h: ...here.
14311 * sysdeps/arm/bits/atomic.h: Move to ...
14312 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
14313 * bits/atomic.h: Move to ...
14314 * sysdeps/generic/atomic-machine.h: ...here.
14315 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14316 * sysdeps/i386/bits/atomic.h: Move to ...
14317 * sysdeps/i386/atomic-machine.h: ...here.
14318 * sysdeps/ia64/bits/atomic.h: Move to ...
14319 * sysdeps/ia64/atomic-machine.h: ...here.
14320 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14321 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14322 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14323 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14324 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14325 * sysdeps/microblaze/bits/atomic.h: Move to ...
14326 * sysdeps/microblaze/atomic-machine.h: ...here.
14327 * sysdeps/mips/bits/atomic.h: Move to ...
14328 * sysdeps/mips/atomic-machine.h: ...here.
14329 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14330 * sysdeps/powerpc/bits/atomic.h: Move to ...
14331 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
14332 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14333 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
14334 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
14335 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14336 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
14337 <atomic-machine.h> instead of <bits/atomic.h>.
14338 * sysdeps/s390/bits/atomic.h: Move to ...
14339 * sysdeps/s390/atomic-machine.h: ...here.
14340 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14341 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14342 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14343 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14344 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14345 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14346 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14347 * sysdeps/tile/bits/atomic.h: Move to ...
14348 * sysdeps/tile/atomic-machine.h: ...here.
14349 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14350 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
14351 <sysdeps/tile/atomic-machine.h> instead of
14352 <sysdeps/tile/bits/atomic.h>.
14353 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14354 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14355 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
14356 <sysdeps/tile/atomic-machine.h> instead of
14357 <sysdeps/tile/bits/atomic.h>.
14358 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14359 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14360 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
14361 <sysdeps/arm/atomic-machine.h> instead of
14362 <sysdeps/arm/bits/atomic.h>.
14363 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14364 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14365 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14366 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14367 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14368 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14369 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14370 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14371 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14372 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14373 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14374 * sysdeps/x86_64/bits/atomic.h: Move to ...
14375 * sysdeps/x86_64/atomic-machine.h: ...here.
14376 * include/atomic.h: Include <atomic-machine.h> instead of
14377 <bits/atomic.h>.
14378
14379 * sysdeps/mips/mips32/libm-test-ulps: Update.
14380 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14381
14382 [BZ #18952]
14383 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14384 not convert non-integer negative arguments to int to determine the
14385 value of signgam.
14386 * math/auto-libm-test-in: Add more tests of lgamma.
14387 * math/auto-libm-test-out: Regenerated.
14388
14389 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14390 cosh, csqrt, erfc, expm1 and lgamma.
14391 * math/auto-libm-test-out: Regenerated.
14392 * sysdeps/i386/fpu/libm-test-ulps: Update.
14393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14394
14395 2015-09-10 Joseph Myers <joseph@codesourcery.com>
14396
14397 [BZ #2542]
14398 [BZ #2543]
14399 [BZ #2558]
14400 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14401 __lgamma_neg for arguments from -28.0 to -2.0.
14402 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14403 __lgamma_negf for arguments from -15.0 to -2.0.
14404 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14405 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14406 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14407 Call __lgamma_negl for arguments from -33.0 to -2.0.
14408 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14409 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14410 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14411 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14412 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14413 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14414 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14415 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14416 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14417 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14418 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14419 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14420 (__lgamma_neg): Likewise.
14421 (__lgamma_negl): Likewise.
14422 (__lgamma_product): Likewise.
14423 (__lgamma_productl): Likewise.
14424 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14425 * math/auto-libm-test-in: Add more tests of lgamma.
14426 * math/auto-libm-test-out: Regenerated.
14427 * sysdeps/i386/fpu/libm-test-ulps: Update.
14428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14429
14430 2015-09-09 Justin Maggard <jmaggard@netgear.com>
14431
14432 [BZ #18675]
14433 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14434
14435 2015-09-08 Joseph Myers <joseph@codesourcery.com>
14436
14437 [BZ #14912]
14438 * bits/libc-lock.h: Move to ...
14439 * sysdeps/generic/libc-lock.h: ...here.
14440 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14441 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14442 * sysdeps/mach/hurd/libc-lock.h: ...here.
14443 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14444 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14445 * sysdeps/mach/bits/libc-lock.h: Move to ...
14446 * sysdeps/mach/libc-lock.h: ...here.
14447 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14448 * sysdeps/nptl/bits/libc-lock.h: Move to ...
14449 * sysdeps/nptl/libc-lock.h: ...here.
14450 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14451 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14452 * sysdeps/nptl/libc-lockP.h: ...here.
14453 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14454 * crypt/crypt_util.c: Include <libc-lock.h> instead of
14455 <bits/libc-lock.h>.
14456 * dirent/scandir-tail.c: Likewise.
14457 * dlfcn/dlerror.c: Likewise.
14458 * elf/dl-close.c: Likewise.
14459 * elf/dl-iteratephdr.c: Likewise.
14460 * elf/dl-lookup.c: Likewise.
14461 * elf/dl-open.c: Likewise.
14462 * elf/dl-support.c: Likewise.
14463 * elf/dl-writev.h: Likewise.
14464 * elf/rtld.c: Likewise.
14465 * grp/fgetgrent.c: Likewise.
14466 * gshadow/fgetsgent.c: Likewise.
14467 * gshadow/sgetsgent.c: Likewise.
14468 * iconv/gconv_conf.c: Likewise.
14469 * iconv/gconv_db.c: Likewise.
14470 * iconv/gconv_dl.c: Likewise.
14471 * iconv/gconv_int.h: Likewise.
14472 * iconv/gconv_trans.c: Likewise.
14473 * include/link.h: Likewise.
14474 * inet/getnameinfo.c: Likewise.
14475 * inet/getnetgrent.c: Likewise.
14476 * inet/getnetgrent_r.c: Likewise.
14477 * intl/bindtextdom.c: Likewise.
14478 * intl/dcigettext.c: Likewise.
14479 * intl/finddomain.c: Likewise.
14480 * intl/gettextP.h: Likewise.
14481 * intl/loadmsgcat.c: Likewise.
14482 * intl/localealias.c: Likewise.
14483 * intl/textdomain.c: Likewise.
14484 * libidn/idn-stub.c: Likewise.
14485 * libio/libioP.h: Likewise.
14486 * locale/duplocale.c: Likewise.
14487 * locale/freelocale.c: Likewise.
14488 * locale/newlocale.c: Likewise.
14489 * locale/setlocale.c: Likewise.
14490 * login/getutent_r.c: Likewise.
14491 * login/getutid_r.c: Likewise.
14492 * login/getutline_r.c: Likewise.
14493 * login/utmp-private.h: Likewise.
14494 * login/utmpname.c: Likewise.
14495 * malloc/mtrace.c: Likewise.
14496 * misc/efgcvt.c: Likewise.
14497 * misc/error.c: Likewise.
14498 * misc/fstab.c: Likewise.
14499 * misc/getpass.c: Likewise.
14500 * misc/mntent.c: Likewise.
14501 * misc/syslog.c: Likewise.
14502 * nis/nis_call.c: Likewise.
14503 * nis/nis_callback.c: Likewise.
14504 * nis/nss-default.c: Likewise.
14505 * nis/nss_compat/compat-grp.c: Likewise.
14506 * nis/nss_compat/compat-initgroups.c: Likewise.
14507 * nis/nss_compat/compat-pwd.c: Likewise.
14508 * nis/nss_compat/compat-spwd.c: Likewise.
14509 * nis/nss_nis/nis-alias.c: Likewise.
14510 * nis/nss_nis/nis-ethers.c: Likewise.
14511 * nis/nss_nis/nis-grp.c: Likewise.
14512 * nis/nss_nis/nis-hosts.c: Likewise.
14513 * nis/nss_nis/nis-network.c: Likewise.
14514 * nis/nss_nis/nis-proto.c: Likewise.
14515 * nis/nss_nis/nis-pwd.c: Likewise.
14516 * nis/nss_nis/nis-rpc.c: Likewise.
14517 * nis/nss_nis/nis-service.c: Likewise.
14518 * nis/nss_nis/nis-spwd.c: Likewise.
14519 * nis/nss_nisplus/nisplus-alias.c: Likewise.
14520 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14521 * nis/nss_nisplus/nisplus-grp.c: Likewise.
14522 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14523 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14524 * nis/nss_nisplus/nisplus-network.c: Likewise.
14525 * nis/nss_nisplus/nisplus-proto.c: Likewise.
14526 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14527 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14528 * nis/nss_nisplus/nisplus-service.c: Likewise.
14529 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14530 * nis/ypclnt.c: Likewise.
14531 * nptl/libc_pthread_init.c: Likewise.
14532 * nss/getXXbyYY.c: Likewise.
14533 * nss/getXXent.c: Likewise.
14534 * nss/getXXent_r.c: Likewise.
14535 * nss/nss_db/db-XXX.c: Likewise.
14536 * nss/nss_db/db-netgrp.c: Likewise.
14537 * nss/nss_db/nss_db.h: Likewise.
14538 * nss/nss_files/files-XXX.c: Likewise.
14539 * nss/nss_files/files-alias.c: Likewise.
14540 * nss/nsswitch.c: Likewise.
14541 * posix/regex_internal.h: Likewise.
14542 * posix/wordexp.c: Likewise.
14543 * pwd/fgetpwent.c: Likewise.
14544 * resolv/res_hconf.c: Likewise.
14545 * resolv/res_libc.c: Likewise.
14546 * shadow/fgetspent.c: Likewise.
14547 * shadow/lckpwdf.c: Likewise.
14548 * shadow/sgetspent.c: Likewise.
14549 * socket/opensock.c: Likewise.
14550 * stdio-common/reg-modifier.c: Likewise.
14551 * stdio-common/reg-printf.c: Likewise.
14552 * stdio-common/reg-type.c: Likewise.
14553 * stdio-common/vfprintf.c: Likewise.
14554 * stdio-common/vfscanf.c: Likewise.
14555 * stdlib/abort.c: Likewise.
14556 * stdlib/cxa_atexit.c: Likewise.
14557 * stdlib/fmtmsg.c: Likewise.
14558 * stdlib/random.c: Likewise.
14559 * stdlib/setenv.c: Likewise.
14560 * string/strsignal.c: Likewise.
14561 * sunrpc/auth_none.c: Likewise.
14562 * sunrpc/bindrsvprt.c: Likewise.
14563 * sunrpc/create_xid.c: Likewise.
14564 * sunrpc/key_call.c: Likewise.
14565 * sunrpc/rpc_thread.c: Likewise.
14566 * sysdeps/arm/backtrace.c: Likewise.
14567 * sysdeps/generic/ldsodefs.h: Likewise.
14568 * sysdeps/generic/stdio-lock.h: Likewise.
14569 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14570 * sysdeps/i386/backtrace.c: Likewise.
14571 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14572 * sysdeps/m68k/backtrace.c: Likewise.
14573 * sysdeps/mach/hurd/cthreads.c: Likewise.
14574 * sysdeps/mach/hurd/dirstream.h: Likewise.
14575 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14576 * sysdeps/nptl/malloc-machine.h: Likewise.
14577 * sysdeps/nptl/stdio-lock.h: Likewise.
14578 * sysdeps/posix/dirstream.h: Likewise.
14579 * sysdeps/posix/getaddrinfo.c: Likewise.
14580 * sysdeps/posix/system.c: Likewise.
14581 * sysdeps/pthread/aio_suspend.c: Likewise.
14582 * sysdeps/s390/s390-32/backtrace.c: Likewise.
14583 * sysdeps/s390/s390-64/backtrace.c: Likewise.
14584 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14585 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14586 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14587 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14588 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14589 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14590 * sysdeps/unix/sysv/linux/system.c: Likewise.
14591 * sysdeps/x86_64/backtrace.c: Likewise.
14592 * time/alt_digit.c: Likewise.
14593 * time/era.c: Likewise.
14594 * time/tzset.c: Likewise.
14595 * wcsmbs/wcsmbsload.c: Likewise.
14596 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14597 instead of <bits/libc-lock.h> in comment.
14598
14599 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
14600
14601 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14602 Only use .set mips2 if the current ISA is below mips2.
14603 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14604 Likewise.
14605 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14606 mips32r2 if the current ISA is below mips32r2.
14607 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14608 (TLS_IE): Updated to use the TLD_RDHWR macro.
14609 (TLS_LE): Likewise.
14610 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14611 __ASSEMBLER__ condition.
14612
14613 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14614
14615 Fix parallel build of before-compile targets.
14616
14617 * sysdeps/mach/Makefile ($(patsubst
14618 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14619 mach-before-compile target.
14620 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14621 io fs process)): Move rule to dedicated hurd-before-compile target.
14622
14623 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14624
14625 Fix rules generating headers in hurd/ and mach/ when initial make call
14626 has subdir= explicitly set.
14627
14628 * sysdeps/mach/Makefile ($(patsubst
14629 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14630 calling $(MAKE).
14631 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14632 io fs process)): Force subdir to hurd when calling $(MAKE).
14633 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14634 subdir to mach when calling $(MAKE).
14635
14636 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
14637
14638 Check sysheaders when looking for Mach and Hurd headers
14639
14640 * sysdeps/mach/configure.ac: Add sysheaders check.
14641 * sysdeps/mach/configure: Regenerate.
14642 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14643 * sysdeps/mach/hurd/configure: Regenerate.
14644
14645 2015-09-04 Roland McGrath <roland@hack.frob.com>
14646
14647 [BZ #18921]
14648 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14649 Fix inverted sense of test of 'o_directory_works' value.
14650 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14651 Bernhard Voelker <mail@bernhard-voelker.de>.
14652
14653 2015-09-04 Joseph Myers <joseph@codesourcery.com>
14654
14655 [BZ #14912]
14656 * bits/linkmap.h: Move to ...
14657 * sysdeps/generic/linkmap.h: ...here.
14658 * sysdeps/aarch64/bits/linkmap.h: Move to ...
14659 * sysdeps/aarch64/linkmap.h: ...here.
14660 * sysdeps/arm/bits/linkmap.h: Move to ...
14661 * sysdeps/arm/linkmap.h: ...here.
14662 * sysdeps/hppa/bits/linkmap.h: Move to ...
14663 * sysdeps/hppa/linkmap.h: ...here.
14664 * sysdeps/ia64/bits/linkmap.h: Move to ...
14665 * sysdeps/ia64/linkmap.h: ...here.
14666 * sysdeps/mips/bits/linkmap.h: Move to ...
14667 * sysdeps/mips/linkmap.h: ...here.
14668 * sysdeps/s390/bits/linkmap.h: Move to ...
14669 * sysdeps/s390/linkmap.h: ...here.
14670 * sysdeps/sh/bits/linkmap.h: Move to ...
14671 * sysdeps/sh/linkmap.h: ...here.
14672 * sysdeps/x86/bits/linkmap.h: Move to ...
14673 * sysdeps/x86/linkmap.h: ...here.
14674 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14675
14676 2015-09-04 Andreas Schwab <schwab@suse.de>
14677
14678 [BZ #18635]
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14680 (__makecontext): Terminate FDE before return label.
14681 (__novec_makecontext): Likewise.
14682
14683 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14684
14685 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14686 first member of struct sv in syscall macro.
14687
14688 2015-09-04 Joseph Myers <joseph@codesourcery.com>
14689
14690 [BZ #14912]
14691 * bits/stdio-lock.h: Move to ...
14692 * sysdeps/generic/stdio-lock.h: ...here.
14693 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14694 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14695 * sysdeps/nptl/stdio-lock.h: ...here.
14696 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14697 * include/libio.h: Include <stdio-lock.h> instead of
14698 <bits/stdio-lock.h>.
14699 * sysdeps/nptl/fork.c: Likewise.
14700 * sysdeps/pthread/flockfile.c: Likewise.
14701 * sysdeps/pthread/ftrylockfile.c: Likewise.
14702 * sysdeps/pthread/funlockfile.c: Likewise.
14703
14704 [BZ #14912]
14705 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14706 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14707 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14708 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14709 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14710 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14711 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14712
14713 2015-09-03 Roland McGrath <roland@hack.frob.com>
14714
14715 * elf/Makefile (test-xfail-tst-protected1a): New variable.
14716 (test-xfail-tst-protected1b): New variable.
14717
14718 2015-09-03 Joseph Myers <joseph@codesourcery.com>
14719
14720 [BZ #14912]
14721 * bits/libc-tsd.h: Move to ...
14722 * sysdeps/generic/libc-tsd.h: ...here.
14723 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14724 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14725 * sysdeps/mach/hurd/libc-tsd.h: ...here.
14726 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14727 * include/ctype.h: Include <libc-tsd.h> instead of
14728 <bits/libc-tsd.h>.
14729 * include/rpc/rpc.h: Likewise.
14730 * locale/localeinfo.h: Likewise.
14731 * sunrpc/rpc_thread.c: Likewise.
14732 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14733 * sysdeps/nptl/malloc-machine.h: Likewise.
14734
14735 * Makefile (headers): Remove bits/libc-lock.h.
14736 * libio/Makefile (headers): Remove bits/stdio-lock.h.
14737
14738 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14739 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14740 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14741 <bits/stdio-lock.h>.
14742 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14743 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14744
14745 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
14746
14747 [BZ #18757]
14748 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14749 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14750 BZ #18757.
14751
14752 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
14753
14754 * malloc/mtrace.pl: Filter out NULL entries.
14755
14756 2015-09-01 Joseph Myers <joseph@codesourcery.com>
14757
14758 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14759 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14760 macro.
14761
14762 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14763 (TCP_CC_INFO): Likewise.
14764 (TCP_SAVE_SYN): Likewise.
14765 (TCP_SAVED_SYN): Likewise.
14766
14767 2015-08-31 Brett Neumeier <brett@neumeier.us>
14768
14769 [BZ #18870]
14770 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14771
14772 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
14773
14774 [BZ #18873]
14775 Fix broken overflow check in posix_fallocate
14776 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14777 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14778 Fix parenthesization typo.
14779
14780 2015-08-28 Mike Frysinger <vapier@gentoo.org>
14781
14782 [BZ #18887]
14783 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
14784 tst-mntent-blank-passno.
14785 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
14786 * misc/tst-mntent-blank-corrupt.c: New test.
14787 * misc/tst-mntent-blank-passno.c: New test ripped from ...
14788 * misc/tst-mntent.c (do_test): ... here.
14789
14790 2015-08-29 Mike Frysinger <vapier@gentoo.org>
14791
14792 [BZ #4404]
14793 * po/de.po: Fix SIGALRM typo.
14794
14795 2015-08-28 James Perkins <james@loowit.net>
14796
14797 * time/tst-strptime2.c (tests): Replace short list of test
14798 strings for strptime %z specifier with code which exhaustively
14799 tests every combination of sign and 0 to 5 digits. Tests for
14800 rejection of invalid strings.
14801
14802 2015-08-28 James Perkins <james@loowit.net>
14803
14804 [BZ #16141]
14805 * time/strptime_l.c (__strptime_internal): Fix %z minutes
14806 calculation, removing incorrect decimal time rounding, so that
14807 all minute values result in a valid seconds value.
14808 * time/strptime_l.c (__strptime_internal): Extend %z time zone
14809 offset range limits to UTC-99:59 through UTC+99:59 to parse
14810 current and historical use cases.
14811 * time/tst-strptime2.c (tests): Modify and add tests for the
14812 strptime %z input field descriptor, specifically conversion of
14813 minutes to seconds and validating an offset range of -9959 to
14814 +9959.
14815
14816 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14817 Dmitry V. Levin <ldv@altlinux.org>
14818
14819 [BZ #18877]
14820 * posix/Makefile (tests): Add tst-mmap-offset.
14821 * posix/tst-mmap.c: New file.
14822 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
14823 offset calculation for negative values.
14824
14825 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14826
14827 * sysdeps/i386/init-arch.h: New file.
14828 * sysdeps/i386/i586/init-arch.h: Likewise.
14829 * sysdeps/i386/i686/init-arch.h: Likewise.
14830 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
14831 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
14832 * sysdeps/x86/cpu-features.h (bit_I586): New.
14833 (bit_I686): Likewise.
14834 (bit_CX8): Likewise.
14835 (bit_CMOV): Likewise.
14836 (index_CX8): Likewise.
14837 (index_CMOV): Likewise.
14838 (index_I586): Likewise.
14839 (index_I686): Likewise.
14840 (reg_CX8): Likewise.
14841 (reg_CMOV): Likewise.
14842 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
14843 available at compile-time.
14844 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
14845 available at compile-time.
14846 * sysdeps/x86/init-arch.h (USE_I586): New macro.
14847 (USE_I686): Likewise.
14848
14849 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14850
14851 * sysdeps/i386/bcopy.S: New file.
14852 * sysdeps/i386/bzero.S: Likewise.
14853 * sysdeps/i386/memcpy.S: Likewise.
14854 * sysdeps/i386/memmove.S: Likewise.
14855 * sysdeps/i386/mempcpy.S: Likewise.
14856 * sysdeps/i386/memset.S: Likewise.
14857 * sysdeps/i386/bzero.c: Removed.
14858 * sysdeps/i386/memset.c: Likewise.
14859 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14860 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14861 * sysdeps/i386/i586/memset_chk.S: Likewise.
14862 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14863 * sysdeps/i386/memcpy_chk.S: Here.
14864 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14865 * sysdeps/i386/memmove_chk.S: Here.
14866 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14867 * sysdeps/i386/mempcpy_chk.S: Likewise.
14868 * sysdeps/i386/i686/memset_chk.S: Moved to ...
14869 * sysdeps/i386/memset_chk.S: Likewise.
14870
14871 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
14872
14873 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14874 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14875 file, move DIAG_POP_NEEDS_COMMENT to end of file.
14876 * soft-fp/fmadf4.c: Ditto.
14877 * soft-fp/fmatf4.c: Ditto.
14878
14879 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14880
14881 * sysdeps/i386/i586/Implies: Removed.
14882 * sysdeps/i386/i686/Implies: Likewise.
14883
14884 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14885
14886 * sysdeps/i386/i486/strlen.S: Moved to ...
14887 * sysdeps/i386/strlen.S: Here.
14888
14889 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14890
14891 * sysdeps/i386/i486/strcat.S: Moved to ...
14892 * sysdeps/i386/strcat.S: Here.
14893
14894 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14895
14896 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14897 * sysdeps/i386/pthread_spin_trylock.S: Here.
14898 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14899 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14900
14901 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14902
14903 * sysdeps/i386/i486/string-inlines.c: Moved to ...
14904 * sysdeps/i386/string-inlines.c: Here.
14905
14906 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14907
14908 * sysdeps/i386/i486/htonl.S: Moved ...
14909 * sysdeps/i386/htonl.S: here.
14910
14911 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14912
14913 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14914 * sysdeps/i386/bits/atomic.h: Here.
14915
14916 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
14917
14918 * sysdeps/i386/i486/Versions: Removed.
14919
14920 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
14921
14922 [BZ #2898]
14923 * misc/mktemp.c: Add mkdtemp to the link_warning message.
14924 Based on patch by Aurelien Jarno.
14925
14926 2015-08-26 Stan Shebs <stanshebs@google.com>
14927
14928 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14929 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14930
14931 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14932
14933 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14934 * sysdeps/powerpc/dl-procinfo.c:
14935 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14936 feature so it shows when LD_SHOW_AUXV=1.
14937
14938 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14939
14940 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14941 (__arch_compare_and_exchange_val_32_acq): Remove and use common
14942 definition. ISA 2.07B no longer requires full sync.
14943
14944 2015-08-26 Mike Frysinger <vapier@gentoo.org>
14945
14946 [BZ #18863]
14947 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14948 (si_call_addr): Define.
14949 (si_syscall): Define.
14950 (si_arch): Define.
14951
14952 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
14953
14954 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14955 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14956 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14957 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14958 (__memset_zero_constant_len_parameter): New.
14959 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14960 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14961 (__memset_zero_constant_len_parameter): Don't define if
14962 __memset_chk or USE_AS_BZERO are defined.
14963
14964 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14965 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14966 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14967
14968 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14969 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14970 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14971 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
14972 comments.
14973 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14974 -mno-mmx for $(all-rtld-routines).
14975 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14976 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
14977 i386.
14978
14979 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14980
14981 * sysdeps/generic/unwind.h
14982 (_Unwind_Word): Use __mode__(__unwind_word__)
14983 instead of __mode__(__word__).
14984 (_Unwind_Sword): Likewise.
14985
14986 * sysdeps/s390/s390-64/utf8-utf16-z9.c
14987 (MAX_NEEDED_INPUT): New define.
14988 (MAX_NEEDED_OUTPUT): New define.
14989
14990 * NEWS: New item for IBM z13 string optimizations.
14991
14992 * sysdeps/s390/multiarch/memrchr-c.c: New File.
14993 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14994 * sysdeps/s390/multiarch/memrchr.c: Likewise.
14995 * sysdeps/s390/multiarch/Makefile
14996 (sysdep_routines): Add memrchr functions.
14997 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14998 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14999
15000 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15001 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15002 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15003 * sysdeps/s390/multiarch/Makefile
15004 (sysdep_routines): Add wmemcmp functions.
15005 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15006 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15007 * benchtests/bench-wmemcmp.c: New File.
15008 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15009
15010 * sysdeps/s390/multiarch/wmemset-c.c: New File.
15011 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15012 * sysdeps/s390/multiarch/wmemset.c: Likewise.
15013 * sysdeps/s390/multiarch/Makefile
15014 (sysdep_routines): Add wmemset functions.
15015 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15016 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15017 * wcsmbs/wmemset.c: Use WMEMSET if defined.
15018 * string/test-memset.c: Add wmemset support.
15019 * wcsmbs/test-wmemset.c: New File.
15020 * wcsmbs/Makefile (strop-tests): Add wmemset.
15021 * benchtests/bench-memset.c: Add wmemset support.
15022 * benchtests/bench-wmemset.c: New File.
15023 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15024
15025 * sysdeps/s390/multiarch/memccpy-c.c: New File.
15026 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15027 * sysdeps/s390/multiarch/memccpy.c: Likewise.
15028 * sysdeps/s390/multiarch/Makefile
15029 (sysdep_routines): Add memccpy functions.
15030 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15031 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15032 * string/memccpy.c: Use MEMCCPY if defined.
15033
15034 * sysdeps/s390/multiarch/memchr-vx.S: New File.
15035 * sysdeps/s390/multiarch/memchr.c: Likewise.
15036 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15037 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15038 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15039 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15040 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15041 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15042 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15043 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15044 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15045 and rawmemchr functions.
15046 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15047 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15048 and wmemchr.
15049 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15050 * string/test-memchr.c: Add wmemchr support.
15051 * wcsmbs/test-wmemchr.c: New File.
15052 * wcsmbs/Makefile (strop-tests): Add wmemchr.
15053 * benchtests/bench-memchr.c: Add wmemchr support.
15054 * benchtests/bench-wmemchr.c: New File.
15055 * benchtests/Makefile (wcsmbs-bench): wmemchr.
15056
15057 * sysdeps/s390/multiarch/strcspn-c.c: New File.
15058 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15059 * sysdeps/s390/multiarch/strcspn.c: Likewise.
15060 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15061 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15062 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15063 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15064 wcscspn functions.
15065 * sysdeps/s390/multiarch/ifunc-impl-list.c
15066 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15067 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15068 * string/test-strcspn.c: Add wcscspn support.
15069 * wcsmbs/test-wcscspn.c: New File.
15070 * wcsmbs/Makefile (strop-tests): Add wcscspn.
15071 * benchtests/bench-strcspn.c: Add wcscspn support.
15072 * benchtests/bench-wcscspn.c: New File.
15073 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15074
15075 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15076 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15077 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15078 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15079 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15080 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15081 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15082 wcspbrk functions.
15083 * sysdeps/s390/multiarch/ifunc-impl-list.c
15084 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15085 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15086 * string/test-strpbrk.c: Add wcspbrk support.
15087 * wcsmbs/test-wcspbrk.c: New File.
15088 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15089 * benchtests/bench-strpbrk.c: Add wcspbrk support.
15090 * benchtests/bench-wcspbrk.c: New File.
15091 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15092
15093 * sysdeps/s390/multiarch/strspn-c.c: New File.
15094 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15095 * sysdeps/s390/multiarch/strspn.c: Likewise.
15096 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15097 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15098 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15099 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15100 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15101 wcsspn functions.
15102 * sysdeps/s390/multiarch/ifunc-impl-list.c
15103 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15104 * string/test-strspn.c: Add wcsspn support.
15105 * wcsmbs/test-wcsspn.c: New File.
15106 * wcsmbs/Makefile (strop-tests): Add wcsspn.
15107 * benchtests/bench-strspn.c: Add wcsspn support.
15108 * benchtests/bench-wcsspn.c: New File.
15109 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15110
15111 * sysdeps/s390/multiarch/strrchr-c.c: New File.
15112 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15113 * sysdeps/s390/multiarch/strrchr.c: Likewise.
15114 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15115 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15116 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15117 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15118 wcsrchr functions.
15119 * sysdeps/s390/multiarch/ifunc-impl-list.c
15120 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15121 * benchtests/bench-wcsrchr.c: New File.
15122 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15123
15124 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15125 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15126 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15127 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15128 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15129 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15130 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15131 wcschrnul functions.
15132 * sysdeps/s390/multiarch/ifunc-impl-list.c
15133 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15134 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15135 * string/test-strchr.c: Add wcschrnul support.
15136 * wcsmbs/test-wcschrnul.c: New File.
15137 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15138 * benchtests/bench-strchr.c: Add wcschrnul support.
15139 * benchtests/bench-wcschrnul.c: New File.
15140 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15141
15142 * sysdeps/s390/multiarch/strchr-c.c: New File.
15143 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15144 * sysdeps/s390/multiarch/strchr.c: Likewise.
15145 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15146 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15147 * sysdeps/s390/multiarch/wcschr.c: Likewise.
15148 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15149 wcschr functions.
15150 * sysdeps/s390/multiarch/ifunc-impl-list.c
15151 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15152 * string/strchr.c (STRCHR): Define and use macro.
15153 * benchtests/bench-wcschr.c: New File.
15154 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15155
15156 * sysdeps/s390/multiarch/strncmp-c.c: New File.
15157 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15158 * sysdeps/s390/multiarch/strncmp.c: Likewise.
15159 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15160 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15161 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15162 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15163 wcsncmp functions.
15164 * sysdeps/s390/multiarch/ifunc-impl-list.c
15165 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15166 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15167 * benchtests/bench-strncmp.c: Add wcsncmp support.
15168 * benchtests/bench-wcsncmp.c: New File.
15169 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15170
15171 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15172 * sysdeps/s390/multiarch/strcmp.c: Likewise.
15173 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15174 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15175 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15176 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15177 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15178 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15179 wcscmp functions.
15180 * sysdeps/s390/multiarch/ifunc-impl-list.c
15181 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15182 * string/strcmp.c (STRCMP): Define and use macro.
15183 * benchtests/bench-wcscmp.c: New File.
15184 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15185 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15186 instead of _HAVE_STRING_ARCH_memchr.
15187
15188 * sysdeps/s390/multiarch/strncat-c.c: New File.
15189 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15190 * sysdeps/s390/multiarch/strncat.c: Likewise.
15191 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15192 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15193 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15194 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15195 wcsncat functions.
15196 * sysdeps/s390/multiarch/ifunc-impl-list.c
15197 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15198 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15199 * string/test-strncat.c: Add wcsncat support.
15200 * wcsmbs/test-wcsncat.c: New File.
15201 * wcsmbs/Makefile (strop-tests): Add wcsncat.
15202 * benchtests/bench-strncat.c: Add wcsncat support.
15203 * benchtests/bench-wcsncat.c: New File.
15204 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15205
15206 * sysdeps/s390/multiarch/strcat-c.c: New File.
15207 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15208 * sysdeps/s390/multiarch/strcat.c: Likewise.
15209 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15210 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15211 * sysdeps/s390/multiarch/wcscat.c: Likewise.
15212 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15213 wcscat functions.
15214 * sysdeps/s390/multiarch/ifunc-impl-list.c
15215 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15216 * string/strcat.c (STRCAT): Define and use macro.
15217 * wcsmbs/wcscat.c: Use WCSCAT if defined.
15218 * string/test-strcat.c: Add wcscat support.
15219 * wcsmbs/test-wcscat.c: New File.
15220 * wcsmbs/Makefile (strop-tests): Add wcscat.
15221 * benchtests/bench-strcat.c: Add wcscat support.
15222 * benchtests/bench-wcscat.c: New File.
15223 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15224
15225 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15226 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15227 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15228 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15229 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15230 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15231 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15232 wcpncpy functions.
15233 * sysdeps/s390/multiarch/ifunc-impl-list.c
15234 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15235 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15236 * string/test-stpncpy.c: Add wcpncpy support.
15237 * wcsmbs/test-wcpncpy.c: New File.
15238 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15239 * benchtests/bench-stpncpy.c: Add wcpncpy support.
15240 * benchtests/bench-wcpncpy.c: New File.
15241 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15242
15243 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15244 * sysdeps/s390/multiarch/strncpy.c: Likewise.
15245 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15246 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15247 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15248 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15249 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15250 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15251 wcsncpy functions.
15252 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15253 * sysdeps/s390/multiarch/ifunc-impl-list.c
15254 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15255 * string/test-strncpy.c: Add wcsncpy support.
15256 * wcsmbs/test-wcsncpy.c: New File.
15257 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15258 * benchtests/bench-strncpy.c: Add wcsncpy support.
15259 * benchtests/bench-wcsncpy.c: New File.
15260 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15261
15262 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15263 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15264 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15265 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15266 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15267 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15268 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15269 wcpcpy functions.
15270 * string/stpcpy.c: Use STPCPY if defined.
15271 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15272 * sysdeps/s390/multiarch/ifunc-impl-list.c
15273 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15274 * string/test-stpcpy.c: Add wcpcpy support.
15275 * wcsmbs/test-wcpcpy.c: New File.
15276 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15277 * benchtests/bench-stpcpy.c: Add wcpcpy support.
15278 * benchtests/bench-wcpcpy.c: New File.
15279 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15280
15281 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15282 * sysdeps/s390/multiarch/strcpy.c: Likewise.
15283 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15284 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15285 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15286 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15287 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15288 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15289 wcscpy functions.
15290 * sysdeps/s390/multiarch/ifunc-impl-list.c
15291 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15292 * benchtests/bench-wcscpy.c: New File.
15293 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15294
15295 * sysdeps/s390/multiarch/strnlen-c.c: New File.
15296 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15297 * sysdeps/s390/multiarch/strnlen.c: Likewise.
15298 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15299 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15300 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15301 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15302 wcsnlen functions.
15303 * sysdeps/s390/multiarch/ifunc-impl-list.c
15304 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15305 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15306 * string/test-strnlen.c: Add wcsnlen support.
15307 * wcsmbs/test-wcsnlen.c: New File.
15308 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15309 * benchtests/bench-strnlen.c: Add wcsnlen support.
15310 * benchtests/bench-wcsnlen.c: New File.
15311 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15312
15313 * sysdeps/s390/multiarch/Makefile: New File.
15314 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15315 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15316 * sysdeps/s390/multiarch/strlen.c: Likewise.
15317 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15318 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15319 * sysdeps/s390/multiarch/wcslen.c: Likewise.
15320 * string/strlen.c (STRLEN): Define and use macro.
15321 * sysdeps/s390/multiarch/ifunc-impl-list.c
15322 (IFUNC_VX_IMPL): New macro function.
15323 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15324 * benchtests/Makefile (wcsmbs-bench): New variable.
15325 (string-bench-all): Added wcsmbs-bench.
15326 * benchtests/bench-wcslen.c: New File.
15327
15328 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15329 s390_vx_libc_ifunc2): New macro function.
15330
15331 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15332 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15333 assembler support.
15334 * sysdeps/s390/configure: Regenerated.
15335
15336 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15337 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15338
15339 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15340 * sysdeps/s390/dl-procinfo.h: Add vector capability.
15341 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15342
15343 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15344 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15345 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15346 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15347 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15348 (memcmp, bcmp): Use __memcmp_default as alias source.
15349 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15350 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15351 Rename to __memcmp_default.
15352 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15353 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15354 (memcpy): Use __memcpy_default as alias source.
15355 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15356 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15357 Rename to __memcpy_default.
15358 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15359 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15360 (memset): Use __memset_default as alias source.
15361 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15362 * sysdeps/s390/s390-32/memset.S (__memset_g5):
15363 Rename to __memset_default.
15364 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15365 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15366 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15367 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15368 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15369 (memcmp, bcmp): Use __memcmp_default as alias source.
15370 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15371 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15372 Rename to __memcmp_default.
15373 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15374 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15375 (memcpy): Use __memcpy_default as alias source.
15376 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15377 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15378 Rename to __memcpy_default.
15379 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15380 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15381 (memset): Use __memset_default as alias source.
15382 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15383 * sysdeps/s390/s390-64/memset.S (__memset_z900):
15384 Rename to __memset_default.
15385 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15386 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15387
15388 [BZ #18610]
15389 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15390 __ieee_instruction_pointer to __unused.
15391 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15392 __ieee_instruction_pointer.
15393 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15394 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15395 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15396 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15397 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15398 Mark dxc-field as reserved.
15399
15400 2015-08-25 Roland McGrath <roland@hack.frob.com>
15401
15402 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15403 if the weak reference is not null.
15404
15405 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
15406
15407 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15408
15409 [BZ #11214]
15410 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15411
15412 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15413
15414 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15415 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15416 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15417 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15418 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15419 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15420 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15421 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15422 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15423 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15424 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15425 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15426 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15427 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15428 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15429 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15430 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15431 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15432
15433 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15434
15435 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15436 register other than r0 for tabort, it has special meaning.
15437 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15438 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15439 transaction before starting syscall.
15440
15441 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15442
15443 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15444
15445 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
15446
15447 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15448
15449 * sysdeps/x86_64/rtld-memcmp.c: Removed.
15450 * sysdeps/x86_64/rtld-memset.S: Likewise.
15451 * sysdeps/x86_64/rtld-strchr.S: Likewise.
15452 * sysdeps/x86_64/rtld-strlen.S: Likewise.
15453 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15454 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15455
15456 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15457
15458 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
15459
15460 * debug/strcpy_chk.c: Improve performance.
15461 * debug/stpcpy_chk.c: Likewise.
15462 * sysdeps/x86_64/strcpy_chk.S: Remove.
15463 * sysdeps/x86_64/stpcpy_chk.S: Remove.
15464
15465 [BZ #18240]
15466 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15467
15468 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
15469
15470 [BZ #15128]
15471 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15472 ifuncmain8.
15473 (modules-names): Add ifuncmod8.
15474 ($(objpfx)ifuncmain8): New rule.
15475 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15476 <cpuid.h>.
15477 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15478 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15479 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15480 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15481 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15482 * sysdeps/x86_64/dl-trampoline.h: Likewise.
15483 * sysdeps/x86_64/ifuncmain8.c: New file.
15484 * sysdeps/x86_64/ifuncmod8.c: Likewise.
15485 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15486 Removed.
15487 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15488 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15489 Change rtld_savespace_sse to __glibc_unused2.
15490 (RTLD_CHECK_FOREIGN_CALL): Removed.
15491 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15492 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15493 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15494
15495 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
15496
15497 * sysdeps/aarch64/bzero.S (__bzero): Remove.
15498
15499 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
15500
15501 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15502 Unconditionally set __fpcr to avoid uninialized warning.
15503 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15504
15505 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15506
15507 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15508 is corrupt.
15509
15510 * malloc/arena.c (arena_get2): Drop unused argument.
15511 (arena_lock): Adjust.
15512 (arena_get_retry): Likewise.
15513
15514 2015-08-24 Andreas Schwab <schwab@suse.de>
15515
15516 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15517 Don't define.
15518 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15519 (__ASSUME_IPC64): Don't undef.
15520 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15521 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15522 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15523 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15524 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15525 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15526 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15527 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15528 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15529 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15530 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15531 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15532 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15533 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15534 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15535 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15536 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15537 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15538 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15539 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15540 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15541
15542 2015-08-21 Mike Frysinger <vapier@gentoo.org>
15543
15544 * manual/Makefile (install): Only build manual when perl is available.
15545
15546 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15547
15548 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15549 '#undef memcpy' by '#undef memchr'.
15550
15551 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15552
15553 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15554 memchr not point to the internal __GI_memchr implementation.
15555
15556 2015-08-20 Joseph Myers <joseph@codesourcery.com>
15557
15558 * timezone/Makefile (CFLAGS-zdump.c): Remove
15559 -Wno-strict-prototypes.
15560 (CFLAGS-zic.c): Likewise.
15561 (CFLAGS-ialloc.c): Likewise.
15562 (CFLAGS-scheck.c): Likewise.
15563
15564 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15565 -Wno-error=undef.
15566
15567 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
15568
15569 * i386/i686/multiarch/strcasestr-c.c: Removed.
15570 * x86_64/multiarch/strcasestr.c: Likewise.
15571 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15572 Remove strcasestr.
15573
15574 2015-08-20 Joseph Myers <joseph@codesourcery.com>
15575
15576 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15577
15578 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15579 variables for high and low parts before possibly modifying them.
15580
15581 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
15582
15583 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15584 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15585 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15586 of "multiarch/init-arch.h".
15587 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15588 * sysdeps/x86/init-arch.h: This.
15589
15590 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
15591
15592 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15593 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15594
15595 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
15596
15597 [BZ #17787]
15598 * manual/macros.texi: Add twoexp macro.
15599 * manual/filesys.texi: Fix exponents.
15600 * manual/llio.texi: Likewise.
15601 * manual/stdio.texi: Likewise.
15602
15603 2015-08-20 Florian Weimer <fweimer@redhat.com>
15604
15605 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15606 incorrect use.
15607
15608 2015-08-19 Joseph Myers <joseph@codesourcery.com>
15609
15610 [BZ #18370]
15611 * math/s_csqrt.c (__csqrt): Force underflow exception for results
15612 whose real or imaginary part has small absolute value.
15613 * math/s_csqrtf.c (__csqrtf): Likewise.
15614 * math/s_csqrtl.c (__csqrtl): Likewise.
15615 * math/auto-libm-test-in: Add more tests of csqrt.
15616 * math/auto-libm-test-out: Regenerated.
15617 * sysdeps/i386/fpu/libm-test-ulps: Update.
15618
15619 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15620
15621 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15622 __ppc_set_ppr_very_low): New functions.
15623 * manual/platform.texi: Add documentation about
15624 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15625
15626 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
15627
15628 * string/stpncpy.c (stpncpy): Improve performance using
15629 __strnlen/memcpy/memset.
15630
15631 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
15632
15633 [BZ #18796]
15634 * scripts/test-installation.pl: Don't add -lmvec to build options if
15635 libmvec wasn't built.
15636
15637 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
15638
15639 [BZ #14341]
15640 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15641 case when there is a gap between DT_REL and DT_JMPREL sections.
15642 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15643 (LDFLAGS-tst-split-dynreloc): New.
15644 (tst-split-dynreloc-ENV): Likewise.
15645 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15646 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15647
15648 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
15649
15650 [BZ #18822]
15651 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15652 attribute_hidden.
15653 (__xstat64_conv): Likewise.
15654 (__xstat32_conv): Likewise.
15655
15656 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
15657
15658 [BZ #18822]
15659 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15660 Don't load %ebx when calling __setcontext. Call __setcontext
15661 with HIDDEN_JUMPTARGET.
15662 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15663 libc_hidden_def.
15664
15665 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
15666
15667 * sysdeps/i386/i686/Makefile
15668 [$(subdir) == string] (sysdep_routines): Moved to ...
15669 * sysdeps/i386/Makefile: Here.
15670 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15671 * sysdeps/i386/cacheinfo.c: Here.
15672 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15673 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15674 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15675 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15676
15677 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
15678
15679 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15680 __i586__ is defined.
15681 (HAS_I686): Defined to 1 if __i686__ is defined.
15682
15683 2015-08-19 Joseph Myers <joseph@codesourcery.com>
15684
15685 * elf/Makefile [$(have-z-execstack) = yes]
15686 (CPPFLAGS-tst-execstack.c): New variable.
15687
15688 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15689 conditional to [defined UTMPX || _HAVE_UT_TYPE].
15690 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15691 UTMPX || _HAVE_UT_TV].
15692 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15693 UTMPX || _HAVE_UT_TV - 0].
15694
15695 2015-08-18 Joseph Myers <joseph@codesourcery.com>
15696
15697 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15698 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15699 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15700
15701 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15702
15703 * sysdeps/powerpc/dl-procinfo.c:
15704 (_dl_powerpc_cap_flags): Added missing strings for some
15705 hwcap features.
15706 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15707
15708 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
15709
15710 Port the 0x7efe...feff pattern to GCC 6.
15711 See Steve Ellcey's bug report in:
15712 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15713 * string/memrchr.c (MEMRCHR):
15714 * string/rawmemchr.c (RAWMEMCHR):
15715 * string/strchr.c (strchr):
15716 * string/strchrnul.c (STRCHRNUL):
15717 Rewrite code to avoid issues with signed shift overflow.
15718
15719 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
15720
15721 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15722 whether cpuid is available only if HAS_CPUID is 0.
15723 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15724 (HAS_I586): Likewise.
15725 (HAS_I686): Likewise.
15726
15727 2015-08-18 Zack Weinberg <zackw@panix.com>
15728
15729 * misc/Versions (libc): Add GLIBC_2.23.
15730
15731 2015-08-18 Alan Modra <amodra@gmail.com>
15732
15733 [BZ #18421]
15734 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15735 .Lp__global.
15736 (_start): Load %dp via .Lp__global.
15737 [!SHARED]: Use .section .rodata.
15738
15739 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15740
15741 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15742 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15743
15744 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15745
15746 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15747 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15748
15749 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15750
15751 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15752 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15753
15754 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15755
15756 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15757 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15758
15759 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15760
15761 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15762 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15763
15764 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15765
15766 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15767 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15768
15769 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15770
15771 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15772
15773 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15774
15775 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15776 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
15777 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15778 (__ASSUME_LWS_CAS): Delete.
15779
15780 2015-08-18 Mike Frysinger <vapier@gentoo.org>
15781
15782 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
15783 * sysdeps/hppa/configure: Regenerated.
15784 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
15785 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
15786 * sysdeps/hppa/nptl/tls.h: Likewise.
15787
15788 2015-08-17 Joseph Myers <joseph@codesourcery.com>
15789
15790 [BZ #18823]
15791 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
15792 for scaling up small arguments.
15793 * math/s_csqrtf.c (__csqrtf): Likewise.
15794 * math/s_csqrtl.c (__csqrtl): Likewise.
15795 * math/auto-libm-test-in: Add more tests of csqrt.
15796 * math/auto-libm-test-out: Regenerated.
15797
15798 2015-08-17 Andreas Schwab <schwab@suse.de>
15799
15800 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
15801 version set GLIBC_2.19.
15802
15803 2015-08-16 Zack Weinberg <zackw@panix.com>
15804
15805 [BZ #18681]
15806 * misc/regexp.h: This interface is no longer supported.
15807 Remove all contents, leaving only an #error directive.
15808 * misc/regexp.c (loc1, loc2, locs, step, advance):
15809 Demote to compatibility symbols.
15810
15811 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15812
15813 [BZ #18084]
15814 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
15815 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
15816 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15817 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
15818 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
15819 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
15820 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
15821 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
15822 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15823
15824 2015-08-15 Zack Weinberg <zackw@panix.com>
15825
15826 [BZ #18795]
15827 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
15828 buffer length is known to be too large, not if it's known to be
15829 small enough.
15830 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
15831 overflow at runtime, involving a length parameter, twice: once
15832 with a compile-time constant length parameter, once without.
15833
15834 2015-08-14 Joseph Myers <joseph@codesourcery.com>
15835
15836 [BZ #18824]
15837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
15838 scaling x * y up instead of down.
15839 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15840 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15841 * math/auto-libm-test-in: Add more tests of fma.
15842 * math/auto-libm-test-out: Regenerated.
15843
15844 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15845
15846 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15847
15848 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15849
15850 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15851 unnecessary movq.
15852 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15853 Likewise.
15854
15855 2015-08-13 Joseph Myers <joseph@codesourcery.com>
15856
15857 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15858 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15859 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15860 and tgamma.
15861 * math/auto-libm-test-out: Regenerated.
15862 * sysdeps/i386/fpu/libm-test-ulps: Update.
15863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15864
15865 [BZ #16520]
15866 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15867 (__tanh): Force underflow exception for arguments with small
15868 absolute value.
15869 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15870 (__tanhf): Force underflow exception for arguments with small
15871 absolute value.
15872 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15873 (__tanhl): Force underflow exception for arguments with small
15874 absolute value.
15875 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15876 (__tanhl): Force underflow exception for arguments with small
15877 absolute value.
15878 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15879 (__tanhl): Force underflow exception for arguments with small
15880 absolute value.
15881 * math/auto-libm-test-in: Add more tests of tanh.
15882 * math/auto-libm-test-out: Regenerated.
15883 * sysdeps/i386/fpu/libm-test-ulps: Update.
15884
15885 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15886
15887 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15888 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15889
15890 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15891
15892 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15893 <cpuid.h>.
15894
15895 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15896
15897 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15898 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15899
15900 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15901
15902 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15903 Remove $(objpfx)init-arch.o.
15904 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15905 init-arch.
15906 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15907 (INIT_ARCH_EXT): Defined as empty.
15908 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15909 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15910 __init_cpu_features call. Replace HAS_XXX with
15911 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15912 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15913 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15914 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15915 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15916 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15917 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15918 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15919 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15920 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15921 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15922 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15923 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15924 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15925 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15926 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15927 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15928 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15929 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15930 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15931 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15932 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15933 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15934 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15935 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15936 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15937 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15938 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15939 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15940 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15941 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15942 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15943 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15944 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15945 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15946 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15947
15948 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15949
15950 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15951 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15952 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15953 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15954 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15955 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15956 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15957 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15958 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15959 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15960 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15961 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
15962 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15963 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15964 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15965 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15966 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15967 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15968 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15969 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15970 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15971 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15972 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15973 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15974 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15975 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15976 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15977 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15978 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15979 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15980 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15981 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15982 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15983 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15984 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15985 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15986 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15987 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15988 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15989 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15990 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15991 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15992 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15993
15994 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
15995
15996 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15997 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15998 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15999 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16000 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16001 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16002 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16003 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16004 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16005 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16006 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16007 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16008 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16009 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16010 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16011 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16012 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16013 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16014 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16015 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16016 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16017 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16018 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16019 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16020 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16021 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16022 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16023 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
16024 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16025 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16026 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16027 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16028 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16029 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16030 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16031 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16032 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16033 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16034 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16035 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16036 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16037 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16038 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16039
16040 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
16041
16042 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16043 (dl_platform_init): Call init_cpu_features.
16044 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16045 * sysdeps/i386/i686/cacheinfo.c
16046 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16047 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16048 * sysdeps/i386/i686/multiarch/Versions: Removed.
16049 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16050 Removed.
16051 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16052 * sysdeps/unix/sysv/linux/x86/Makefile
16053 (libpthread-sysdep_routines): Remove init-arch.
16054 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16055 <sysdeps/x86_64/dl-procinfo.c> instead of
16056 sysdeps/generic/dl-procinfo.c>.
16057 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16058 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16059 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16060 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16061 [$(subdir) == elf] (tests-static): Add
16062 tst-get-cpu-features-static.
16063 * sysdeps/x86/Versions: New file.
16064 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16065 * sysdeps/x86/cpu-features.c: Likewise.
16066 * sysdeps/x86/cpu-features.h: Likewise.
16067 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16068 * sysdeps/x86/libc-start.c: Likewise.
16069 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16070 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16071 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16072 * sysdeps/x86_64/dl-procinfo.c: Likewise.
16073 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16074 Assume USE_MULTIARCH is defined and don't check it.
16075 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16076 (is_amd): Likewise.
16077 (max_cpuid): Likewise.
16078 (intel_check_word): Likewise.
16079 (__cache_sysconf): Don't call __init_cpu_features.
16080 (__x86_preferred_memory_instruction): Removed.
16081 (init_cacheinfo): Don't call __init_cpu_features. Replace
16082 __cpu_features with GLRO(dl_x86_cpu_features).
16083 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16084 (dl_platform_init): Call init_cpu_features.
16085 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16086 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16087 * sysdeps/x86_64/multiarch/Versions: Removed.
16088 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16089 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16090 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16091 Removed.
16092 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16093
16094 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16095
16096 [BZ #18820]
16097 * libio/Makefile (test-fmemopen-mem): New test.
16098 * libio/test-fmemopen.c (do_bz18820): New test.
16099 * libio/fmemopen.c (__fmemopen): Fix memory leak.
16100 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16101
16102 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16103
16104 [BZ #16734]
16105 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16106 (FREE_BUF): Delete.
16107 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16108 * libio/genops.c (_IO_setb): Use malloc and free directly.
16109 (_IO_default_doallocate, _IO_default_finish): Likewise.
16110 ( _IO_unbuffer_all): Likewise.
16111 ( libc_freeres_fn): Likewise.
16112 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16113 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16114 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16115 (_IO_wdefault_doallocate): Likewise.
16116
16117 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
16118
16119 [BZ #18086]
16120 * sysdeps/posix/nice.c (nice): Restore old errno.
16121 * posix/tst-nice.c (do_test): Add test for BZ #18086.
16122
16123 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
16124
16125 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16126
16127 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16128
16129 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16130 __bcopy and add a weak_alias to bcopy.
16131 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16132 for static build.
16133
16134 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16135 cleanup macro usage.
16136 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16137 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16138 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16139 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16140 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16141 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16142 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16143 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16144 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16145 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16146 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16147 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16148 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16149 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16150 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16151 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16152 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16153 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16154 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16155
16156 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16157 libc_hidden_def.
16158 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16159
16160 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16161 (sysdep_routines): Add strstr-ppc64.
16162 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16163
16164 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
16165
16166 [BZ #18778]
16167 * elf/Makefile (tests): Add Add tst-nodelete2.
16168 (modules-names): Add tst-nodelete2mod.
16169 (tst-nodelete2mod.so-no-z-defs): New.
16170 ($(objpfx)tst-nodelete2): Likewise.
16171 ($(objpfx)tst-nodelete2.out): Likewise.
16172 (LDFLAGS-tst-nodelete2): Likewise.
16173 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16174 out of loop through all loaded libraries.
16175 * elf/tst-nodelete2.c: New file.
16176 * elf/tst-nodelete2mod.c: Likewise.
16177 * elf/tst-znodelete-zlib.cc: Delete.
16178
16179 2015-08-11 Andreas Schwab <schwab@suse.de>
16180
16181 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16182 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16183 (__openat64_nocancel): Likewise.
16184
16185 2015-08-11 Joseph Myers <joseph@codesourcery.com>
16186
16187 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16188 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16189 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16190 * math/auto-libm-test-out: Regenerated.
16191 * sysdeps/i386/fpu/libm-test-ulps: Update.
16192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16193
16194 2015-08-10 Joseph Myers <joseph@codesourcery.com>
16195
16196 [BZ #18790]
16197 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16198 threshold for returning +/- 1.
16199 * math/auto-libm-test-in: Add more tests of tanh.
16200 * math/auto-libm-test-out: Regenerated.
16201 * sysdeps/i386/fpu/libm-test-ulps: Update.
16202
16203 2015-08-10 Andreas Schwab <schwab@suse.de>
16204
16205 [BZ #18781]
16206 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16207 MORE_OFLAGS to oflag.
16208 * io/test-lfs.c (do_test): Test openat64.
16209
16210 2015-08-10 Joseph Myers <joseph@codesourcery.com>
16211
16212 [BZ #18789]
16213 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16214 smaller threshold for returning the argument.
16215 * math/auto-libm-test-in: Add more tests of sinh.
16216 * math/auto-libm-test-out: Regenerated.
16217 * sysdeps/i386/fpu/libm-test-ulps: Update.
16218
16219 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
16220
16221 [BZ #18674]
16222 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16223 break.
16224
16225 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
16226
16227 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16228 (generated): Don't add $(addprefix z.,$(tzfiles)).
16229
16230 2015-08-09 Mike Frysinger <vapier@gentoo.org>
16231
16232 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16233 * scripts/sysd-rules.awk: Likewise.
16234
16235 2015-08-09 Mike Frysinger <vapier@gentoo.org>
16236
16237 * iconvdata/tst-tables.sh: Change echo -n to printf.
16238 * nss/db-Makefile: Likewise.
16239 * posix/tst-getconf.sh: Likewise.
16240 * stdio-common/tst-unbputc.sh: Likewise.
16241
16242 2015-08-09 Mike Frysinger <vapier@gentoo.org>
16243
16244 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16245 MADV_*_PAGES defines behind this feature check.
16246
16247 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
16248
16249 [BZ #18480]
16250 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16251 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16252 Define.
16253 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16254 LOAD_REGS_5, LOAD_REGS_6): Update.
16255 (INTERNAL_SYSCALL): Update using new LOAD defines.
16256 (INTERNAL_SYSCALL_NCS): Likewise.
16257 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16258
16259 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16260
16261 [BZ #16734]
16262 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16263
16264 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16265
16266 [BZ #17905]
16267 * catgets/Makefile (tst-catgets-mem): New test.
16268 * catgets/catgets.c (catopen): Don't use unbounded alloca.
16269 * catgets/open_catalog.c (__open_catalog): Likewise.
16270 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16271
16272 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
16273
16274 [BZ #18787]
16275 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16276 clobber registers.
16277 (atomic_compare_and_exchange_val_acq): Use register asms to assign
16278 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
16279 Cast return to __typeof (oldval).
16280
16281 2015-08-08 Mike Frysinger <vapier@gentoo.org>
16282
16283 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16284 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
16285 and delete sys/syscall.h include.
16286
16287 2015-08-07 Joseph Myers <joseph@codesourcery.com>
16288
16289 [BZ #16517]
16290 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16291 (tan): Force underflow exception for arguments with small absolute
16292 value.
16293 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16294 (__kernel_tanf): Force underflow exception for arguments with
16295 small absolute value.
16296 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16297 (__kernel_tanl): Force underflow exception for arguments with
16298 small absolute value.
16299 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16300 (__kernel_tanl): Force underflow exception for arguments with
16301 small absolute value.
16302 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16303 (__kernel_tanl): Force underflow exception for arguments with
16304 small absolute value.
16305 * math/auto-libm-test-in: Add more tests of tan.
16306 * math/auto-libm-test-out: Regenerated.
16307
16308 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
16309
16310 Fix sysdeps/i386/fpu/s_scalbn.S build
16311
16312 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16313
16314 2015-08-07 Mike Frysinger <vapier@gentoo.org>
16315
16316 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16317
16318 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
16319
16320 Fix gcrt0.o compilation
16321
16322 When static-start-installed-name is different from
16323 start-installed-name, we must not use the shared objects.
16324
16325 * csu/Makefile
16326 (extra-objs): Add gmon-start.o when building shared library and
16327 $(static-start-installed-name) is different from
16328 $(start-installed-name).
16329 $(objpfx)g$(static-start-installed-name): When building shared
16330 library and $(static-start-installed-name) is different from
16331 $(static-start-installed-name), revert to non-shared rule,
16332 i.e. using $(objpfx)% and gmon-start.o.
16333
16334 2015-08-06 Joseph Myers <joseph@codesourcery.com>
16335
16336 [BZ #16519]
16337 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16338 (__ieee754_sinh): Force underflow exception for arguments with
16339 small absolute value.
16340 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16341 (__ieee754_sinhf): Force underflow exception for arguments with
16342 small absolute value.
16343 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16344 (__ieee754_sinhl): Force underflow exception for arguments with
16345 small absolute value.
16346 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16347 (__ieee754_sinhl): Force underflow exception for arguments with
16348 small absolute value.
16349 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16350 (__ieee754_sinhl): Force underflow exception for arguments with
16351 small absolute value.
16352 * math/auto-libm-test-in: Add more tests of sinh.
16353 * math/auto-libm-test-out: Regenerated.
16354 * sysdeps/i386/fpu/libm-test-ulps: Update.
16355
16356 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16357
16358 * libio/oldfileops.c: Include unistd.h.
16359
16360 2015-08-06 Mike Frysinger <vapier@gentoo.org>
16361
16362 * stdlib/isomac.c: Include ctype.h.
16363
16364 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
16365
16366 * dirent/tst-seekdir.c (main): Converted to ...
16367 (do_test): ... this.
16368 (TEST_FUNCTION): New macro.
16369 Include test-skeleton.c.
16370 * elf/tst-dlmodcount.c (main): Converted to ...
16371 (do_test): ... this.
16372 (TEST_FUNCTION): New macro.
16373 Include test-skeleton.c.
16374 * elf/tst-order-main.c (main): Converted to ...
16375 (do_test): ... this.
16376 (TEST_FUNCTION): New macro.
16377 Include test-skeleton.c.
16378 * elf/tst-pie2.c (main): Converted to ...
16379 (do_test): ... this.
16380 (TEST_FUNCTION): New macro.
16381 Include test-skeleton.c.
16382 * inet/tst-ether_aton.c (main): Converted to ...
16383 (do_test): ... this.
16384 (TEST_FUNCTION): New macro.
16385 Include test-skeleton.c.
16386 * misc/tst-mntent.c (main): Converted to ...
16387 (do_test): ... this.
16388 (TEST_FUNCTION): New macro.
16389 Include test-skeleton.c.
16390 * misc/tst-tsearch.c (main): Converted to ...
16391 (do_test): ... this.
16392 (TEST_FUNCTION): New macro.
16393 Include test-skeleton.c.
16394 * posix/tst-regexloc.c (main): Converted to ...
16395 (do_test): ... this.
16396 (TEST_FUNCTION): New macro.
16397 Include test-skeleton.c.
16398 * resolv/tst-aton.c (main): Converted to ...
16399 (do_test): ... this.
16400 (TEST_FUNCTION): New macro.
16401 Include test-skeleton.c.
16402 * stdio-common/test-fwrite.c (main): Converted to ...
16403 (do_test): ... this.
16404 (TEST_FUNCTION): New macro.
16405 Include test-skeleton.c.
16406 * stdio-common/tst-ferror.c (main): Converted to ...
16407 (do_test): ... this.
16408 (TEST_FUNCTION): New macro.
16409 Include test-skeleton.c.
16410 * stdio-common/tst-printf.c (main): Converted to ...
16411 (do_test): ... this.
16412 (TEST_FUNCTION): New macro.
16413 Include test-skeleton.c.
16414 * stdio-common/tst-printfsz.c (main): Converted to ...
16415 (do_test): ... this.
16416 (TEST_FUNCTION): New macro.
16417 Include test-skeleton.c.
16418 * stdlib/tst-strtod.c (main): Converted to ...
16419 (do_test): ... this.
16420 (TEST_FUNCTION): New macro.
16421 Include test-skeleton.c.
16422 * string/tst-strlen.c (main): Converted to ...
16423 (do_test): ... this.
16424 (TEST_FUNCTION): New macro.
16425 Include test-skeleton.c.
16426 * string/tst-svc.c (main): Converted to ...
16427 (do_test): ... this.
16428 (TEST_FUNCTION): New macro.
16429 Include test-skeleton.c.
16430 * time/tst-strptime.c (main): Converted to ...
16431 (do_test): ... this.
16432 (TEST_FUNCTION): New macro.
16433 Include test-skeleton.c.
16434 * timezone/tst-timezone.c (main): Converted to ...
16435 (do_test): ... this.
16436 (TEST_FUNCTION): New macro.
16437 Include test-skeleton.c.
16438
16439 2015-08-05 Zack Weinberg <zackw@panix.com>
16440
16441 * misc/regexp.h: Update comments.
16442
16443 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
16444
16445 [BZ #18635]
16446 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16447 before return label.
16448
16449 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
16450
16451 [BZ #18661]
16452 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16453 when calling __errno_location.
16454 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16455 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16456
16457 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
16458
16459 [BZ #18661]
16460 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16461 (__lll_timedwait_tid): Align stack to 16 bytes when calling
16462 __gettimeofday.
16463
16464 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
16465
16466 [BZ #18661]
16467 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16468 (__start_context): Don't use pop to restore %rdi so that stack
16469 is aligned to 16 bytes when calling __setcontext.
16470
16471 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
16472
16473 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16474 only for libc.
16475 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16476
16477 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
16478
16479 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16480 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
16481 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16482
16483 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
16484
16485 * string/memccpy.c (memccpy):
16486 Improve performance by using memchr/memcpy/__mempcpy.
16487
16488 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
16489
16490 * string/strncpy.c (strncpy):
16491 Improve performance by using __strnlen/memcpy.
16492
16493 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
16494
16495 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16496 Optimize to avoid an unnecessary FPCR read.
16497
16498 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
16499
16500 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16501 Optimize to reduce FPCR/FPSR accesses.
16502
16503 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
16504
16505 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16506 dead->data[category] != NULL.
16507
16508 2015-08-05 Joseph Myers <joseph@codesourcery.com>
16509
16510 [BZ #18647]
16511 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16512 and |x| close to 1, use absolute value of x when computing log.
16513 * math/auto-libm-test-in: Add more tests of pow.
16514 * math/auto-libm-test-out: Regenerated.
16515
16516 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16517
16518 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16519 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16520 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16521
16522 2015-08-05 Marko Myllynen <myllynen@redhat.com>
16523
16524 [BZ #18525]
16525 * locales/km_KH: Remove timezone definition.
16526 * locales/lo_LA: Likewise.
16527 * locales/my_MM: Likewise.
16528 * locales/nan_TW@latin: Likewise.
16529 * locales/th_TH: Likewise.
16530 * locales/uk_UA: Likewise.
16531
16532 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
16533
16534 [BZ #18265]
16535 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16536 (wcsncat): Likewise.
16537 (wcscmp): Likewise.
16538 (wcsncmp): Likewise.
16539
16540 2015-08-05 Mike Frysinger <vapier@gentoo.org>
16541
16542 * test-skeleton.c (usage): New function.
16543 (main): Call usage when opt is '?'.
16544
16545 2015-08-05 Mike Frysinger <vapier@gentoo.org>
16546
16547 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16548 before first use.
16549
16550 2015-08-05 Mike Frysinger <vapier@gentoo.org>
16551
16552 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16553 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
16554 in there too.
16555
16556 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
16557
16558 * version.h (RELEASE): Set to "development".
16559 (VERSION): Set to "2.22.90"
16560
16561 * version.h (RELEASE): Set to "stable".
16562 (VERSION): Set to "2.22"
16563 * include/features.h (__GLIBC_MINOR__): Set to 22.
16564
16565 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
16566
16567 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16568 Restructure macro to avoid "value computed is not used" warning.
16569 (atomic_compare_and_exchange_val_acq): Likewise.
16570
16571 2015-08-04 Andreas Schwab <schwab@suse.de>
16572
16573 [BZ #18635]
16574 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16575 ret.
16576 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16577
16578 2015-08-01 Carlos O'Donell <carlos@redhat.com>
16579
16580 * po/pl.po: Updated translation.
16581 * po/uk.po: Likewise.
16582 * po/fi.po: Likewise.
16583 * po/ko.po: Likewise.
16584 * po/ru.po: Likewise.
16585 * po/vi.po: Likewise.
16586
16587 2015-07-31 Zack Weinberg <zackw@panix.com>
16588
16589 [BZ #18681]
16590 * regexp.h: Add unconditional #warning stating that this header
16591 will be removed soon. Revise banner comment to match.
16592 (compile): Consistently use ERROR instead of RETURN to report
16593 errors (partial fix for bz#18681).
16594 * regexp.c: Don't include regexp.h. Remove some unnecessary
16595 declarations.
16596
16597 2015-07-31 Carlos O'Donell <carlos@redhat.com>
16598
16599 * po/libc.pot: Regenerated.
16600
16601 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
16602
16603 [BZ #18740]
16604 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16605 float-vlen4-arch-ext-cflags): Removed.
16606 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16607 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16608
16609 2015-07-30 Mike Frysinger <vapier@gentoo.org>
16610
16611 [BZ #14113]
16612 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16613 aligned to __aligned__.
16614 (pthread_cond_t, pthread_rwlock_t): Likewise.
16615
16616 2015-07-30 Torvald Riegel <triegel@redhat.com>
16617
16618 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16619
16620 2015-07-30 Mike Frysinger <vapier@gentoo.org>
16621
16622 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16623 (struct sigaction): Change sa_flags from a long to an int, and add
16624 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16625
16626 2015-07-30 Mike Frysinger <vapier@gentoo.org>
16627
16628 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16629 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16630 sysdeps/generic/sysdep.h include.
16631 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16632 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
16633 sysdeps/hppa/sysdep.h.
16634 (ENTRY, PSEUDO): Undefine before defining.
16635
16636 2015-07-30 Mike Frysinger <vapier@gentoo.org>
16637
16638 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16639 from scratch to use INTERNAL_SYSCALL.
16640
16641 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
16642
16643 [BZ #18078]
16644 * scripts/check-localplt.awk: Support alternate relocations.
16645 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16646 sections.
16647 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16648 malloc entries with + REL R_386_GLOB_DAT.
16649 * sysdeps/x86_64/localplt.data: New file.
16650
16651 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
16652
16653 [BZ #18731]
16654 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16655 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16656 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16657
16658 2015-07-27 Mike Frysinger <vapier@gentoo.org>
16659
16660 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16661
16662 2015-07-27 Mike Frysinger <vapier@gentoo.org>
16663
16664 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16665 directly in terms of __sync_fetch_and_add and delete (int) cast.
16666
16667 2015-07-27 Mike Frysinger <vapier@gentoo.org>
16668
16669 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16670 the -D_ASM_IA64_CURRENT_H flag.
16671
16672 2015-07-27 Mike Frysinger <vapier@gentoo.org>
16673
16674 [BZ #18641]
16675 * pwd/pwd.h (putpwent): Delete __nonnull markings.
16676
16677 2015-07-27 Andreas Schwab <schwab@suse.de>
16678
16679 * conform/conformtest.pl (checknamespace): Filter out string
16680 literals while tokenizing.
16681
16682 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
16683
16684 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16685 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16686 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16687
16688 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
16689
16690 * nptl/tst-join7mod.c: Add #include <string.h>.
16691
16692 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
16693
16694 * sysdeps/nios2/libm-test-ulps: Update.
16695
16696 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
16697
16698 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16699 Fix order of arguments to the rt_sigprocmask syscall.
16700 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16701 Likewise.
16702
16703 2015-07-24 Roland McGrath <roland@hack.frob.com>
16704
16705 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16706
16707 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16708
16709 [BZ #18457]
16710 * nptl/Makefile (tests): New test case tst-join7.
16711 (modules-names): New test case module tst-join7mod.
16712 * nptl/tst-join7.c: New file.
16713 * nptl/tst-join7mod.c: New file.
16714 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16715 all translation units in libc.so, libpthread.so and rtld.
16716
16717 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16718
16719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16720
16721 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
16722
16723 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16724 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16725 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16726 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16727 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16728 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16729 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16730 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16731 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16732 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16733 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16734 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16735 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16736 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16737 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16738 implementation.
16739
16740 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16741
16742 [BZ #17711]
16743 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16744 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16745 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16746 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16747 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16748 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16749
16750 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16751
16752 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16753 instead of just saying load lock in the comments.
16754
16755 2015-07-23 Roland McGrath <roland@hack.frob.com>
16756
16757 * sysdeps/unix/Subdirs: Moved ...
16758 * sysdeps/posix/Subdirs: ... here.
16759 * login/pty.h (struct termios, struct winsize): Add forward decls.
16760 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16761 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16762 * sysdeps/arm/nacl/libc.abilist: Updated.
16763 * sysdeps/nacl/libutil.abilist: New file.
16764
16765 * bits/signum.h: Update comments to mention 1003.1-2013 too.
16766 (SIGWINCH): New macro.
16767
16768 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16769 * sysdeps/arm/nacl/libc.abilist: Add it.
16770
16771 2015-07-23 Mike Frysinger <vapier@gentoo.org>
16772
16773 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16774
16775 2015-07-23 Mike Frysinger <vapier@gentoo.org>
16776
16777 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16778 Swap __glibc_reserved0 and sa_flags order.
16779
16780 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16781
16782 [BZ #18657]
16783 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
16784 are pending TLS destructor calls.
16785 * include/link.h (struct link_map): Add concurrency note for
16786 L_TLS_DTOR_COUNT.
16787 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16788 Don't touch the link map flag. Atomically increment
16789 l_tls_dtor_count.
16790 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
16791 Avoid taking the load lock and don't touch the link map flag.
16792 * stdlib/tst-tls-atexit-nodelete.c: New test case.
16793 * stdlib/Makefile (tests): Use it.
16794 * stdlib/tst-tls-atexit.c (do_test): dlopen
16795 tst-tls-atexit-lib.so again before dlclose. Add conditionals
16796 to allow tst-tls-atexit-nodelete test case to use it.
16797
16798 2015-07-22 Mike Frysinger <vapier@gentoo.org>
16799
16800 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
16801 to bits/types.h.
16802 (msgqnum_t): New typedef.
16803 (msglen_t): Likewise.
16804 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
16805 and msg_qbytes type to msglen_t.
16806
16807 2015-07-22 Mike Frysinger <vapier@gentoo.org>
16808
16809 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
16810 pad0 to __glibc_reserved0.
16811 (struct stat64): Likewise.
16812
16813 2015-07-22 Mike Frysinger <vapier@gentoo.org>
16814
16815 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16816 Change sa_flags from a long to an int and add __glibc_reserved0 before
16817 it for padding.
16818
16819 2015-07-22 Mike Frysinger <vapier@gentoo.org>
16820
16821 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16822 anonymous by deleting "siginfo" name.
16823
16824 2015-07-21 Roland McGrath <roland@hack.frob.com>
16825
16826 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
16827 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
16828 rather than __nacl_irt_filename.
16829 * sysdeps/nacl/xstat.c (__xstat): Likewise.
16830
16831 * NEWS: New item for arm-nacl port.
16832 * sysdeps/arm/nacl/libc.abilist: New file.
16833 * sysdeps/nacl/ld.abilist: New file.
16834 * sysdeps/nacl/libBrokenLocale.abilist: New file.
16835 * sysdeps/nacl/libanl.abilist: New file.
16836 * sysdeps/nacl/libcrypt.abilist: New file.
16837 * sysdeps/nacl/libdl.abilist: New file.
16838 * sysdeps/nacl/libm.abilist: New file.
16839 * sysdeps/nacl/libpthread.abilist: New file.
16840 * sysdeps/nacl/libresolv.abilist: New file.
16841 * sysdeps/nacl/librt.abilist: New file.
16842
16843 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
16844
16845 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
16846 __startcontext to initialize the new context.
16847 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
16848 up CFI directive to forbid further backtracing.
16849
16850 2015-07-21 Marko Myllynen <myllynen@redhat.com>
16851
16852 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16853 reference.
16854 * charmaps/ANSI_X3.4-1968: Likewise.
16855 * charmaps/BS_4730: Likewise.
16856 * charmaps/BS_VIEWDATA: Likewise.
16857 * charmaps/CP1250: Likewise.
16858 * charmaps/CP1251: Likewise.
16859 * charmaps/CP1252: Likewise.
16860 * charmaps/CP1253: Likewise.
16861 * charmaps/CP1254: Likewise.
16862 * charmaps/CP1255: Likewise.
16863 * charmaps/CP1256: Likewise.
16864 * charmaps/CSN_369103: Likewise.
16865 * charmaps/EBCDIC-DK-NO: Likewise.
16866 * charmaps/GB_1988-80: Likewise.
16867 * charmaps/GREEK-CCITT: Likewise.
16868 * charmaps/GREEK7: Likewise.
16869 * charmaps/INIS-8: Likewise.
16870 * charmaps/ISIRI-3342: Likewise.
16871 * charmaps/ISO_2033-1983: Likewise.
16872 * charmaps/ISO_5427-EXT: Likewise.
16873 * locales/POSIX: Likewise.
16874 * locales/ar_SA: Likewise.
16875 * locales/be_BY: Likewise.
16876 * locales/be_BY@latin: Likewise.
16877 * locales/ca_ES: Likewise.
16878 * locales/cs_CZ: Likewise.
16879 * locales/da_DK: Likewise.
16880 * locales/de_BE: Likewise.
16881 * locales/de_CH: Likewise.
16882 * locales/de_LU: Likewise.
16883 * locales/en_AU: Likewise.
16884 * locales/en_BW: Likewise.
16885 * locales/en_CA: Likewise.
16886 * locales/en_DK: Likewise.
16887 * locales/en_GB: Likewise.
16888 * locales/en_IE: Likewise.
16889 * locales/en_NZ: Likewise.
16890 * locales/en_ZA: Likewise.
16891 * locales/en_ZW: Likewise.
16892 * locales/es_AR: Likewise.
16893 * locales/es_BO: Likewise.
16894 * locales/es_CL: Likewise.
16895 * locales/es_CO: Likewise.
16896 * locales/es_DO: Likewise.
16897 * locales/es_EC: Likewise.
16898 * locales/es_ES: Likewise.
16899 * locales/es_HN: Likewise.
16900 * locales/es_MX: Likewise.
16901 * locales/es_PA: Likewise.
16902 * locales/es_PE: Likewise.
16903 * locales/es_PY: Likewise.
16904 * locales/es_SV: Likewise.
16905 * locales/es_US: Likewise.
16906 * locales/es_UY: Likewise.
16907 * locales/es_VE: Likewise.
16908 * locales/et_EE: Likewise.
16909 * locales/fa_IR: Likewise.
16910 * locales/fo_FO: Likewise.
16911 * locales/fr_CA: Likewise.
16912 * locales/fr_CH: Likewise.
16913 * locales/gv_GB: Likewise.
16914 * locales/he_IL: Likewise.
16915 * locales/hr_HR: Likewise.
16916 * locales/id_ID: Likewise.
16917 * locales/is_IS: Likewise.
16918 * locales/it_CH: Likewise.
16919 * locales/iw_IL: Likewise.
16920 * locales/kl_GL: Likewise.
16921 * locales/ko_KR: Likewise.
16922 * locales/kw_GB: Likewise.
16923 * locales/lg_UG: Likewise.
16924 * locales/lt_LT: Likewise.
16925 * locales/lv_LV: Likewise.
16926 * locales/mi_NZ: Likewise.
16927 * locales/nhn_MX: Likewise.
16928 * locales/nl_BE: Likewise.
16929 * locales/pl_PL: Likewise.
16930 * locales/sk_SK: Likewise.
16931 * locales/sl_SI: Likewise.
16932 * locales/sv_FI: Likewise.
16933 * locales/tl_PH: Likewise.
16934 * locales/tr_TR: Likewise.
16935 * locales/vi_VN: Likewise.
16936
16937 2015-07-21 Khem Raj <raj.khem@gmail.com>
16938
16939 [BZ #17475]
16940 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16941 of tu_IN and bh_IN.
16942
16943 2015-07-21 Mike Frysinger <vapier@gentoo.org>
16944
16945 [BZ #18694]
16946 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16947 bits/wordsize.h.
16948 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16949
16950 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16951
16952 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16953 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16954 (spawn_thread): New function.
16955 (load): Rename to reg_dtor_and_close. Move dlopen to...
16956 (do_test): ... here. Use IS_LOADED to test for its
16957 availability.
16958
16959 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
16960
16961 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16962
16963 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
16964
16965 [BZ #18696]
16966 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16967 si_addr_bnd.
16968 (si_lower): New.
16969 (si_upper): Likewise.
16970
16971 2015-07-16 David S. Miller <davem@davemloft.net>
16972
16973 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16974
16975 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16976
16977 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16978 buffer.
16979 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16980 fail output information.
16981
16982 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16983
16984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16985 and strstr-ppc64..
16986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16987 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16988 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16989 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16990 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16991
16992 2015-07-16 Mike Frysinger <vapier@gentoo.org>
16993
16994 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16995 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16996 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16997 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16998
16999 2015-07-16 Mike Frysinger <vapier@gentoo.org>
17000
17001 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17002 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17003 rtld_hidden_proto.
17004 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17005
17006 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17007
17008 * tst-nodelete-opened.c (do_test): Add comment to clarify how
17009 the test can fail.
17010
17011 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17012
17013 [BZ #18676]
17014 * elf/tst-nodelete-opened.c: New test case.
17015 * elf/tst-nodelete-opened-lib.c: New test case module.
17016 * elf/Makefile (tests, modules-names): Use them.
17017 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17018 early.
17019
17020 2015-07-15 David S. Miller <davem@davemloft.net>
17021
17022 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17023 futex-intenal.h
17024 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17025 * sysdeps/sparc/sparc64/Makefile: Likewise.
17026 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17027 Remove space from macro define.
17028 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17029
17030 2015-07-15 Pravin Satpute <psatpute@redhat.com>
17031
17032 [BZ #17475]
17033 * locale/iso-639.def: Update Bhili and Tulu language codes as
17034 per iso639-3.
17035
17036 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
17037
17038 * elf/tst-leaks1.c (main): Converted to ...
17039 (do_test): ... this.
17040 (TEST_FUNCTION): New macro.
17041 Include test-skeleton.c.
17042 * localedata/tst-langinfo.c (main): Converted to ...
17043 (do_test): ... this.
17044 (TEST_FUNCTION): New macro.
17045 Include test-skeleton.c.
17046 * math/test-fpucw.c (main): Converted to ...
17047 (do_test): ... this.
17048 (TEST_FUNCTION): New macro.
17049 Include test-skeleton.c.
17050 * math/test-tgmath.c (main): Converted to ...
17051 (do_test): ... this.
17052 (TEST_FUNCTION): New macro.
17053 Include test-skeleton.c.
17054 * math/test-tgmath2.c (main): Converted to ...
17055 (do_test): ... this.
17056 (TEST_FUNCTION): New macro.
17057 Include test-skeleton.c.
17058 * setjmp/tst-setjmp.c (main): Converted to ...
17059 (do_test): ... this.
17060 (TEST_FUNCTION): New macro.
17061 Include test-skeleton.c.
17062 * stdio-common/tst-sscanf.c (main): Converted to ...
17063 (do_test): ... this.
17064 (TEST_FUNCTION): New macro.
17065 Include test-skeleton.c.
17066 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17067 (do_test): ... this.
17068 (TEST_FUNCTION): New macro.
17069 Include test-skeleton.c.
17070
17071 * elf/tst-audit9.c (main): Converted to ...
17072 (do_test): ... this.
17073 (TEST_FUNCTION): New macro.
17074 Include test-skeleton.c.
17075
17076 2015-07-15 Mike Frysinger <vapier@gentoo.org>
17077
17078 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17079
17080 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17081
17082 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17083 New variable.
17084
17085 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17086
17087 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17088
17089 2015-07-14 Roland McGrath <roland@hack.frob.com>
17090
17091 * sysdeps/generic/dl-fileid.h: New file.
17092 * sysdeps/posix/dl-fileid.h: New file.
17093 * sysdeps/nacl/dl-fileid.h: New file.
17094 * include/link.h: Include <dl-fileid.h>.
17095 (struct link_map): Replace l_dev and l_ino with l_file_id.
17096 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17097 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
17098 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
17099
17100 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17101
17102 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17103
17104 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17105
17106 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17107 Add iff $CXX is set.
17108 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17109 Likewise.
17110 (tst-nodelete-zmodiff): Likewise.
17111 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17112
17113 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17114
17115 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17116
17117 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
17118
17119 * sysdeps/aarch64/fpu/math_private.h
17120 (define math_opt_barrier): Add AArch64 version.
17121 (math_force_eval): Likewise.
17122
17123 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
17124
17125 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17126
17127 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
17128
17129 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17130 %ld with %jd and cast to intmax_t.
17131 (do_test_length_zero): Likewise.
17132
17133 2015-07-10 Roland McGrath <roland@hack.frob.com>
17134
17135 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17136
17137 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
17138
17139 * sysdeps/tile/libm-test-ulps: Regenerated.
17140
17141 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17142 Comment out the whole function, not just its body.
17143
17144 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17145
17146 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17147 locks.
17148
17149 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17150
17151 2015-07-10 Torvald Riegel <triegel@redhat.com>
17152
17153 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17154 (sem_assume_only_signals_cause_futex_EINTR): Remove.
17155
17156 2015-07-10 Torvald Riegel <triegel@redhat.com>
17157
17158 * sysdeps/nptl/futex-internal.h: New file.
17159 * sysdeps/nacl/futex-internal.h: New file.
17160 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17161 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17162 error checking.
17163 (setxid_unmark_thread): Likewise.
17164 (__nptl_setxid): Likewise.
17165 (__wait_lookup_done): Likewise.
17166 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17167 * nptl/nptl-init.c (sighandler_setxid): Likewise.
17168 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17169 * nptl/pthread_once.c (clear_once_control): Likewise.
17170 (__pthread_once_slow): Likewise.
17171 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17172 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17173 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17174 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17175 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17176 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17177 Likewise.
17178 (__pthread_rwlock_rdlock): Likewise.
17179 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17180 Likewise.
17181 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17182 Likewise.
17183 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17184 Likewise.
17185 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17186 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17187 Likewise.
17188 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17189 __ASSUME_PRIVATE_FUTEX check.
17190 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17191 Check that shared futexes are supported.
17192 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17193 wrappers with error checking.
17194 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17195 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17196 * nptl/pthread_barrierattr_setpshared.c
17197 (pthread_barrierattr_setpshared): Check that shared futexes are
17198 supported.
17199 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17200 Likewise.
17201 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17202 Likewise.
17203 * nptl/sem_init.c (futex_private_if_supported): Remove.
17204 (__new_sem_init): Adapt and check that shared futexes are supported.
17205 * nptl/sem_open.c (sem_open): Likewise.
17206 * nptl/sem_post.c (futex_wake): Remove.
17207 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17208 (do_futex_wait): Use futex wrappers with error checking.
17209 * nptl/sem_wait.c: Include lowlevellock.h.
17210 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17211 Use futex_supports_pshared.
17212 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17213 Use futex wrappers with error checking.
17214 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17215 Likewise.
17216 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17217 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17218 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17219 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17220 (futex_wake): Likewise.
17221 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17222 (do_futex_wait): Use futex wrappers with error checking.
17223 (__new_sem_wait_slow): Update EINTR handling.
17224 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17225
17226 2015-07-09 Martin Sebor <msebor@redhat.com>
17227
17228 [BZ #18435]
17229 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17230 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17231 * nptl/Makefile (test-xfail-tst-once5): Define.
17232
17233 2015-07-09 Roland McGrath <roland@hack.frob.com>
17234
17235 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17236 * elf/dl-minimal.c: For readability, reorder some definitions and
17237 introduce more page breaks. Include <stdio.h>.
17238 (__libc_fatal): New function.
17239
17240 * include/unistd.h: Add rtld_hidden_proto for _exit.
17241 * posix/_exit.c: Add rtld_hidden_def.
17242 * sysdeps/mach/hurd/_exit.c: Likewise.
17243 * sysdeps/nacl/_exit.c: Likewise.
17244 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17245 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17246
17247 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
17248
17249 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17250 bndmov encoding with zero displacement.
17251
17252 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
17253 H.J. Lu <hongjiu.lu@intel.com>
17254
17255 [BZ #18134]
17256 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17257 * sysdeps/i386/configure: Regenerated.
17258 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17259 (_dl_runtime_profile): Save and restore Intel MPX return bound
17260 registers when calling _dl_call_pltexit. Add
17261 PRESERVE_BND_REGS_PREFIX before return.
17262 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17263 (LRV_BND1_OFFSET): Likewise.
17264 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17265 lrv_bnd1.
17266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17267 typo in bndmov encoding.
17268 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17269 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
17270 branch instructions to preserve bounds.
17271
17272 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17273
17274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17275 [GLIBC_2.22]: Add fmemopen.
17276
17277 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
17278
17279 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17280 returns an error, also try to use host port from __mach_host_self for
17281 the __vm_wire call.
17282 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17283
17284 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
17285
17286 [BZ #18400]
17287 [BZ #18648]
17288 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17289 Fix pr_uid and pr_gid members.
17290 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17291 definition to elf_greg_t.
17292
17293 2015-07-08 Roland McGrath <roland@hack.frob.com>
17294
17295 [BZ #18383]
17296 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17297 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17298 * sysdeps/arm/configure: Regenerated.
17299 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17300 (test-xfail-tst-tlsalign-static): Variable removed.
17301
17302 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17303 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17304 rather than explicit 'ln -s'.
17305
17306 * resolv/rpc/netdb.h: New file.
17307 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17308
17309 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17310
17311 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17312 length buffers.
17313 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17314 test-skeleton.c.
17315
17316 [BZ #6544]
17317 [BZ #11216]
17318 [BZ #12836]
17319 [BZ #13151]
17320 [BZ #13152]
17321 [BZ #14292]
17322 * include/stdio.h (fmemopen): Remove hidden prototype.
17323 (__fmemopen): Add new hidden prototype.
17324 * libio/Makefile: Add oldfmemopen object.
17325 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17326 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17327 compliance.
17328 * libio/oldfmemopen.c: New file: old fmemopen implementation for
17329 symbol compatibility.
17330 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17331 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17332 fmemopen.
17333 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17334 on append and read mode.
17335 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17336 fmemopen.
17337 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17338 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17339 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17340 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17341 Likewise.
17342 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17343 [GLIBC_2.22]: Likewise.
17344 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17345 Likewise.
17346 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17347 Likewise.
17348 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17349 [GLIBC_2.22]: Likewise.
17350 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17351 [GLIBC_2.22]: Likewise.
17352 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17353 [GLIBC_2.22]: Likewise.
17354 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17355 [GLIBC_2.22]: Likewise.
17356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17357 [GLIBC_2.22]: Likewise.
17358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17359 [GLIBC_2.22]: Likewise.
17360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17361 [GLIBC_2.22]: Likewise.
17362 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17363 Likewise.
17364 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17365 Likewise.
17366 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17367 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17368 [GLIBC_2.22]: Likewise.
17369 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17370 [GLIBC_2.22]: Likewise.
17371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17372 [GLIBC_2.22]: Likewise.
17373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17374 [GLIBC_2.22]: Likewise.
17375 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17376 Likewise.
17377 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17378 Likewise.
17379 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17380 Likewise.
17381 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17382 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17383
17384 2015-07-08 Carlos O'Donell <carlos@redhat.com>
17385
17386 [BZ #18643]
17387 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17388 IPV6_PATHMTU, and IPV6_DONTFRAG.
17389
17390 2015-07-08 Feng Gao <gfree.wind@gmail.com>
17391
17392 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17393 and _IO_UNBUFFERED.
17394 * libio/oldfileops.c: Likewise.
17395 * libio/wfileops.c: Likewise.
17396
17397 2015-07-08 Mike Frysinger <vapier@gentoo.org>
17398
17399 * nscd/selinux.c: Delete selinux/flask.h include.
17400
17401 2015-07-08 Mike Frysinger <vapier@gentoo.org>
17402
17403 [BZ #18641]
17404 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17405 (putpwent): Likewise.
17406 (getpwnam): Likewise.
17407 (getpwent_r): Likewise.
17408 (getpwuid_r): Likewise.
17409 (getpwnam_r): Likewise.
17410 (fgetpwent_r): Likewise.
17411
17412 2015-07-08 Carlos O'Donell <carlos@redhat.com>
17413
17414 [BZ #18557]
17415 * inet/rcmd.c (__validuser2_sa): Check user first to
17416 short-circuit host check.
17417
17418 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
17419 Mikhail Ilin <m.ilin@samsung.com>
17420
17421 [BZ #17833]
17422 * elf/Makefile (tests): Add tst-nodelete.
17423 (modules-names): Add tst-nodelete-uniquemod.
17424 (tst-nodelete-uniquemod.so-no-z-defs): New.
17425 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17426 (tst-nodelete-zmod.so-no-z-defs): Likewise.
17427 ($(objpfx)tst-nodelete): Likewise.
17428 ($(objpfx)tst-nodelete.out): Likewise.
17429 (LDFLAGS-tst-nodelete): Likewise.
17430 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17431 * elf/dl-close.c (_dl_close_worker): Add a parameter to
17432 implement forced object deletion.
17433 (_dl_close): Pass false to _dl_close_worker.
17434 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17435 * elf/tst-nodelete.cc: New file.
17436 * elf/tst-nodeletelib.cc: Likewise.
17437 * elf/tst-znodeletelib.cc: Likewise.
17438 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17439
17440 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
17441
17442 [BZ #18508]
17443 * stdlib/Makefile ($(objpfx)tst-makecontext3):
17444 Depend on $(libdl).
17445 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17446 is not called infinitely times.
17447 (backtrace_helper): New function.
17448 (trace_arg): New struct.
17449 (st1): Enlarge stack size.
17450 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17451 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17452 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17453 Likewise.
17454
17455 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
17456
17457 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17458
17459 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
17460
17461 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17462 Include sys/types.h instead of bits/types.h.
17463 Remove inclusion of bits/wordsize.h.
17464
17465 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
17466
17467 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17468 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17469 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17470 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17471 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17472 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17473
17474 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
17475
17476 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17477 link-defines.sym.
17478 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17479 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17480 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17481 and LR_SIZE.
17482 * sysdeps/i386/link-defines.sym: New file.
17483
17484 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
17485
17486 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17487 (modules-names): Add tst-auditmod3a tst-auditmod3b.
17488 ($(objpfx)tst-audit3): New rule.
17489 ($(objpfx)tst-audit3.out): Likewise.
17490 * sysdeps/i386/tst-audit3.c: New file.
17491 * sysdeps/i386/tst-audit3.h: Likewise.
17492 * sysdeps/i386/tst-auditmod3a.c: Likewise.
17493 * sysdeps/i386/tst-auditmod3b.c: Likewise.
17494
17495 2015-07-07 Torvald Riegel <triegel@redhat.com>
17496
17497 [BZ #18633]
17498 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17499 pointer in C code.
17500 (__strcat_c): Likewise.
17501 (__strcat_g): Likewise.
17502
17503 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
17504
17505 [BZ #18592]
17506 * misc/sbrk.c: Set errno to ENOMEM on overflow.
17507
17508 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
17509
17510 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17511 New function. (__ieee754_sqrtf): New function.
17512 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17513 New function.
17514 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17515 New function.
17516
17517 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
17518
17519 * sysdeps/ieee754/support.c: Remove unused file.
17520
17521 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
17522
17523 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17524 registers instead of d ones so the layout is kernel abi compatible.
17525 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17526 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17527 Likewise.
17528
17529 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
17530
17531 * sysdeps/aarch64/libm-test-ulps: Regenerated.
17532
17533 2015-07-01 Joseph Myers <joseph@codesourcery.com>
17534
17535 [BZ #18619]
17536 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17537 and return argument in case of subnormal argument.
17538
17539 2015-07-01 Martin Sebor <msebor@redhat.com>
17540
17541 [BZ #18435]
17542 * nptl/Makefile: Add tst-once5.cc.
17543 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17544 Remove macro redefinitions.
17545 * nptl/tst-once5.cc: New test.
17546
17547 2015-07-01 Joseph Myers <joseph@codesourcery.com>
17548
17549 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17550
17551 * sysdeps/arm/libm-test-ulps: Regenerated.
17552
17553 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17554 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17555
17556 2015-06-30 Torvald Riegel <triegel@redhat.com>
17557
17558 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17559 lll_lock_wait_private and lll_futex_wake probes.
17560
17561 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17562 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17563 Likewise.
17564 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17565 atomic_spin_nop.
17566 * sysdeps/x86_64/bits/atomic.h: Likewise.
17567 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17568 to atomic_spin_nop and move ...
17569 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17570 ... here and ...
17571 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17572 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17573 atomic_spin_nop instead of BUSY_WAIT_NOP.
17574 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17575 Likewise.
17576 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17577 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17578 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17579 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17580 instead of atomic_delay.
17581
17582 2015-06-29 Joseph Myers <joseph@codesourcery.com>
17583
17584 [BZ #18613]
17585 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17586 X_ADJ not X when adjusting exponent.
17587 (__ieee754_gamma_r): Do intermediate computations in
17588 round-to-nearest then adjust overflowing and underflowing results
17589 as needed.
17590 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17591 of X_ADJ not X when adjusting exponent.
17592 (__ieee754_gammaf_r): Do intermediate computations in
17593 round-to-nearest then adjust overflowing and underflowing results
17594 as needed.
17595 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17596 log of X_ADJ not X when adjusting exponent.
17597 (__ieee754_gammal_r): Do intermediate computations in
17598 round-to-nearest then adjust overflowing and underflowing results
17599 as needed. Use 1.0L not 1.0f as numerator of division.
17600 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17601 log of X_ADJ not X when adjusting exponent.
17602 (__ieee754_gammal_r): Do intermediate computations in
17603 round-to-nearest then adjust overflowing and underflowing results
17604 as needed. Use 1.0L not 1.0f as numerator of division.
17605 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17606 of X_ADJ not X when adjusting exponent.
17607 (__ieee754_gammal_r): Do intermediate computations in
17608 round-to-nearest then adjust overflowing and underflowing results
17609 as needed. Use 1.0L not 1.0f as numerator of division.
17610 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
17611 to auto-libm-test-in.
17612 (tgamma_test): Use ALL_RM_TEST.
17613 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
17614 tests of tgamma with spurious-overflow.
17615 * math/auto-libm-test-out: Regenerated.
17616 * math/gen-libm-have-vector-test.sh: Do not check for START.
17617 * sysdeps/i386/fpu/libm-test-ulps: Update.
17618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17619
17620 [BZ #18612]
17621 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17622 arguments, just return 0.5 times the argument, with underflow
17623 forced as needed.
17624 * math/auto-libm-test-in: Add more tests of j1.
17625 * math/auto-libm-test-out: Regenerated.
17626
17627 [BZ #16559]
17628 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17629 (__ieee754_j1): Force underflow exception for small results.
17630 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17631 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17632 (__ieee754_j1f): Force underflow exception for small results.
17633 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17634 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17635 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17636 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17637 (__ieee754_j1l): Force underflow exception for small results.
17638 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17639 * math/auto-libm-test-in: Add more tests of j1 and jn.
17640 * math/auto-libm-test-out: Regenerated.
17641
17642 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17643 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17644 (PF_MPLS): Likewise.
17645 (AF_IB): Likewise.
17646 (AF_MPLS): Likewise.
17647 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17648 value and macro.
17649 (MS_RMT_MASK): Include MS_LAZYTIME.
17650
17651 2015-06-26 Mel Gorman <mgorman@suse.de>
17652
17653 [BZ #18502]
17654 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17655 already minimal.
17656
17657 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
17658
17659 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17660 (DT_MIPS_NUM): Update.
17661 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17662 DT_MIPS_RLD_MAP_REL.
17663
17664 2015-06-25 Joseph Myers <joseph@codesourcery.com>
17665
17666 [BZ #16559]
17667 [BZ #18602]
17668 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17669 round-to-nearest internally then recompute results that
17670 underflowed to zero in the original rounding mode.
17671 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17672 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17674 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17675 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17676 * sysdeps/i386/fpu/libm-test-ulps: Update.
17677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17678
17679 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
17680
17681 * NEWS: Fixed description of link with vector math library.
17682
17683 2015-06-25 Andreas Schwab <schwab@suse.de>
17684
17685 [BZ #18549]
17686 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17687 * libio/test-fmemopen.c (do_test): Add test for it.
17688
17689 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
17690
17691 [BZ #17841]
17692 * Makeconfig (no-pie-ldflag): New.
17693 (+link): Set to $(+link-pie) if default to PIE.
17694 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17695 * config.make.in (build-pie-default): New.
17696 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
17697 is default. AC_SUBST.
17698 * configure: Regenerated.
17699 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17700
17701 2015-06-24 Roland McGrath <roland@hack.frob.com>
17702
17703 * nptl/descr.h (struct pthread): Change type of field setxid_futex
17704 to 'unsigned int'.
17705
17706 * resolv/gai_misc.h (struct waitlist): Change type of field
17707 counterp to 'volatile unsigned int *'.
17708 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17709 FUTEXADDR and OLDVAL.
17710 * resolv/getaddrinfo_a.c (getaddrinfo_a):
17711 Give local variable TOTAL type 'volatile unsigned int'.
17712 (struct async_waitlist): Change type of field counter to 'unsigned int'.
17713 * resolv/gai_suspend.c (gai_suspend):
17714 Give local variable CNTR type 'unsigned int'.
17715
17716 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17717 counterp to 'volatile unsigned int *'.
17718 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17719 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17720 (aio_suspend): Give local variable CNTR type 'unsigned int'.
17721 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17722 Give local variable TOTAL type 'volatile unsigned int'.
17723 (struct async_waitlist): Change type of field counter to 'unsigned int'.
17724
17725 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
17726
17727 [BZ #18383]
17728 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17729 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
17730 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17731 comment for i386/x86-64.
17732 (test-xfail-tst-tlsalign-extern-static): Removed.
17733
17734 2015-06-24 Joseph Myers <joseph@codesourcery.com>
17735
17736 * math/test-double.h: New file.
17737 * math/test-float.h: Likewise.
17738 * math/test-ldouble.h: Likewise.
17739 * math/test-math-inline.h: Likewise.
17740 * math/test-math-no-inline.h: Likewise.
17741 * math/test-math-scalar.h: Likewise.
17742 * math/test-math-vector.h: Likewise.
17743 * math/test-vec-loop.h: Remove file. Contents moved into
17744 test-math-vector.h.
17745 * math/libm-test.inc (MATHCONST): Do not document macro.
17746 * math/test-double.c: Include test-double.h, test-math-no-inline.h
17747 and test-math-scalar.h.
17748 (FUNC): Remove macro.
17749 (FUNC_TEST): Likewise.
17750 (FLOAT): Likewise.
17751 (MATHCONST): Likewise.
17752 (PRINTF_EXPR): Likewise.
17753 (PRINTF_XEXPR): Likewise.
17754 (PRINTF_NEXPR): Likewise.
17755 (TEST_DOUBLE): Likewise.
17756 (TEST_MATHVEC): Likewise.
17757 (__NO_MATH_INLINES): Likewise.
17758 * math/test-float.c: Include test-float.h, test-math-no-inline.h
17759 and test-math-scalar.h.
17760 (FUNC): Remove macro.
17761 (FUNC_TEST): Likewise.
17762 (FLOAT): Likewise.
17763 (MATHCONST): Likewise.
17764 (PRINTF_EXPR): Likewise.
17765 (PRINTF_XEXPR): Likewise.
17766 (PRINTF_NEXPR): Likewise.
17767 (TEST_FLOAT): Likewise.
17768 (TEST_MATHVEC): Likewise.
17769 (__NO_MATH_INLINES): Likewise.
17770 * math/test-idouble.c: Include test-double.h, test-math-inline.h
17771 and test-math-scalar.h.
17772 (FUNC): Remove macro.
17773 (FUNC_TEST): Likewise.
17774 (FLOAT): Likewise.
17775 (MATHCONST): Likewise.
17776 (PRINTF_EXPR): Likewise.
17777 (PRINTF_XEXPR): Likewise.
17778 (PRINTF_NEXPR): Likewise.
17779 (TEST_DOUBLE): Likewise.
17780 (TEST_MATHVEC): Likewise.
17781 (TEST_INLINE): Likewise.
17782 (__NO_MATH_INLINES): Likewise.
17783 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
17784 test-math-scalar.h.
17785 (FUNC): Remove macro.
17786 (FUNC_TEST): Likewise.
17787 (FLOAT): Likewise.
17788 (MATHCONST): Likewise.
17789 (PRINTF_EXPR): Likewise.
17790 (PRINTF_XEXPR): Likewise.
17791 (PRINTF_NEXPR): Likewise.
17792 (TEST_FLOAT): Likewise.
17793 (TEST_MATHVEC): Likewise.
17794 (TEST_INLINE): Likewise.
17795 (__NO_MATH_INLINES): Likewise.
17796 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
17797 and test-math-scalar.h.
17798 (FUNC): Remove macro.
17799 (FUNC_TEST): Likewise.
17800 (FLOAT): Likewise.
17801 (MATHCONST): Likewise.
17802 (PRINTF_EXPR): Likewise.
17803 (PRINTF_XEXPR): Likewise.
17804 (PRINTF_NEXPR): Likewise.
17805 (TEST_LDOUBLE): Likewise.
17806 (TEST_MATHVEC): Likewise.
17807 (TEST_INLINE): Likewise.
17808 (__NO_MATH_INLINES): Likewise.
17809 * math/test-ldouble.c: Include test-ldouble.h,
17810 test-math-no-inline.h and test-math-scalar.h.
17811 (FUNC): Remove macro.
17812 (FUNC_TEST): Likewise.
17813 (FLOAT): Likewise.
17814 (MATHCONST): Likewise.
17815 (PRINTF_EXPR): Likewise.
17816 (PRINTF_XEXPR): Likewise.
17817 (PRINTF_NEXPR): Likewise.
17818 (TEST_LDOUBLE): Likewise.
17819 (TEST_MATHVEC): Likewise.
17820 (__NO_MATH_INLINES): Likewise.
17821 * math/test-double-vlen2.h: Include test-double.h,
17822 test-math-no-inline.h and test-math-vector.h.
17823 (FLOAT): Remove macro.
17824 (FUNC): Likewise.
17825 (MATHCONST): Likewise.
17826 (PRINTF_EXPR): Likewise.
17827 (PRINTF_XEXPR): Likewise.
17828 (PRINTF_NEXPR): Likewise.
17829 (TEST_DOUBLE): Likewise.
17830 (TEST_MATHVEC): Likewise.
17831 (__NO_MATH_INLINES): Likewise.
17832 (CNCT): Likewise.
17833 (CONCAT): Likewise.
17834 (WRAPPER_NAME): Likewise.
17835 (WRAPPER_DECL): Likewise.
17836 (WRAPPER_DECL_ff): Likewise.
17837 (WRAPPER_DECL_fFF): Likewise.
17838 (VECTOR_WRAPPER): Likewise.
17839 (VECTOR_WRAPPER_ff): Likewise.
17840 (VECTOR_WRAPPER_fFF): Likewise.
17841 (VEC_LEN): New macro.
17842 * math/test-double-vlen4.h: Include test-double.h,
17843 test-math-no-inline.h and test-math-vector.h.
17844 (FLOAT): Remove macro.
17845 (FUNC): Likewise.
17846 (MATHCONST): Likewise.
17847 (PRINTF_EXPR): Likewise.
17848 (PRINTF_XEXPR): Likewise.
17849 (PRINTF_NEXPR): Likewise.
17850 (TEST_DOUBLE): Likewise.
17851 (TEST_MATHVEC): Likewise.
17852 (__NO_MATH_INLINES): Likewise.
17853 (CNCT): Likewise.
17854 (CONCAT): Likewise.
17855 (WRAPPER_NAME): Likewise.
17856 (WRAPPER_DECL): Likewise.
17857 (WRAPPER_DECL_ff): Likewise.
17858 (WRAPPER_DECL_fFF): Likewise.
17859 (VECTOR_WRAPPER): Likewise.
17860 (VECTOR_WRAPPER_ff): Likewise.
17861 (VECTOR_WRAPPER_fFF): Likewise.
17862 (VEC_LEN): New macro.
17863 * math/test-double-vlen8.h: Include test-double.h,
17864 test-math-no-inline.h and test-math-vector.h.
17865 (FLOAT): Remove macro.
17866 (FUNC): Likewise.
17867 (MATHCONST): Likewise.
17868 (PRINTF_EXPR): Likewise.
17869 (PRINTF_XEXPR): Likewise.
17870 (PRINTF_NEXPR): Likewise.
17871 (TEST_DOUBLE): Likewise.
17872 (TEST_MATHVEC): Likewise.
17873 (__NO_MATH_INLINES): Likewise.
17874 (CNCT): Likewise.
17875 (CONCAT): Likewise.
17876 (WRAPPER_NAME): Likewise.
17877 (WRAPPER_DECL): Likewise.
17878 (WRAPPER_DECL_ff): Likewise.
17879 (WRAPPER_DECL_fFF): Likewise.
17880 (VECTOR_WRAPPER): Likewise.
17881 (VECTOR_WRAPPER_ff): Likewise.
17882 (VECTOR_WRAPPER_fFF): Likewise.
17883 (VEC_LEN): New macro.
17884 * math/test-float-vlen4.h: Include test-float.h,
17885 test-math-no-inline.h and test-math-vector.h.
17886 (FLOAT): Remove macro.
17887 (FUNC): Likewise.
17888 (MATHCONST): Likewise.
17889 (PRINTF_EXPR): Likewise.
17890 (PRINTF_XEXPR): Likewise.
17891 (PRINTF_NEXPR): Likewise.
17892 (TEST_FLOAT): Likewise.
17893 (TEST_MATHVEC): Likewise.
17894 (__NO_MATH_INLINES): Likewise.
17895 (CNCT): Likewise.
17896 (CONCAT): Likewise.
17897 (WRAPPER_NAME): Likewise.
17898 (WRAPPER_DECL): Likewise.
17899 (WRAPPER_DECL_ff): Likewise.
17900 (WRAPPER_DECL_fFF): Likewise.
17901 (VECTOR_WRAPPER): Likewise.
17902 (VECTOR_WRAPPER_ff): Likewise.
17903 (VECTOR_WRAPPER_fFF): Likewise.
17904 (VEC_LEN): New macro.
17905 * math/test-float-vlen8.h: Include test-float.h,
17906 test-math-no-inline.h and test-math-vector.h.
17907 (FLOAT): Remove macro.
17908 (FUNC): Likewise.
17909 (MATHCONST): Likewise.
17910 (PRINTF_EXPR): Likewise.
17911 (PRINTF_XEXPR): Likewise.
17912 (PRINTF_NEXPR): Likewise.
17913 (TEST_FLOAT): Likewise.
17914 (TEST_MATHVEC): Likewise.
17915 (__NO_MATH_INLINES): Likewise.
17916 (CNCT): Likewise.
17917 (CONCAT): Likewise.
17918 (WRAPPER_NAME): Likewise.
17919 (WRAPPER_DECL): Likewise.
17920 (WRAPPER_DECL_ff): Likewise.
17921 (WRAPPER_DECL_fFF): Likewise.
17922 (VECTOR_WRAPPER): Likewise.
17923 (VECTOR_WRAPPER_ff): Likewise.
17924 (VECTOR_WRAPPER_fFF): Likewise.
17925 (VEC_LEN): New macro.
17926 * math/test-float-vlen16.h: Include test-float.h,
17927 test-math-no-inline.h and test-math-vector.h.
17928 (FLOAT): Remove macro.
17929 (FUNC): Likewise.
17930 (MATHCONST): Likewise.
17931 (PRINTF_EXPR): Likewise.
17932 (PRINTF_XEXPR): Likewise.
17933 (PRINTF_NEXPR): Likewise.
17934 (TEST_FLOAT): Likewise.
17935 (TEST_MATHVEC): Likewise.
17936 (__NO_MATH_INLINES): Likewise.
17937 (CNCT): Likewise.
17938 (CONCAT): Likewise.
17939 (WRAPPER_NAME): Likewise.
17940 (WRAPPER_DECL): Likewise.
17941 (WRAPPER_DECL_ff): Likewise.
17942 (WRAPPER_DECL_fFF): Likewise.
17943 (VECTOR_WRAPPER): Likewise.
17944 (VECTOR_WRAPPER_ff): Likewise.
17945 (VECTOR_WRAPPER_fFF): Likewise.
17946 (VEC_LEN): New macro.
17947 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17948 test-vec-loop.h.
17949 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17950 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17951 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17952 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17953 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17954 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17955 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17956
17957 2015-06-24 Roland McGrath <roland@hack.frob.com>
17958
17959 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17960 (__getlogin_r): ... this.
17961
17962 2015-06-24 Joseph Myers <joseph@codesourcery.com>
17963
17964 [BZ #18594]
17965 * math/s_ccosh.c (__ccosh): Compare with least normal value
17966 instead of comparing class with FP_SUBNORMAL.
17967 * math/s_ccoshf.c (__ccoshf): Likewise.
17968 * math/s_ccoshl.c (__ccoshl): Likewise.
17969 * math/s_cexp.c (__cexp): Likewise.
17970 * math/s_cexpf.c (__cexpf): Likewise.
17971 * math/s_cexpl.c (__cexpl): Likewise.
17972 * math/s_csin.c (__csin): Likewise.
17973 * math/s_csinf.c (__csinf): Likewise.
17974 * math/s_csinh.c (__csinh): Likewise.
17975 * math/s_csinhf.c (__csinhf): Likewise.
17976 * math/s_csinhl.c (__csinhl): Likewise.
17977 * math/s_csinl.c (__csinl): Likewise.
17978 * math/s_ctan.c (__ctan): Likewise.
17979 * math/s_ctanf.c (__ctanf): Likewise.
17980 * math/s_ctanh.c (__ctanh): Likewise.
17981 * math/s_ctanhf.c (__ctanhf): Likewise.
17982 * math/s_ctanhl.c (__ctanhl): Likewise.
17983 * math/s_ctanl.c (__ctanl): Likewise.
17984 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17985 csin, csinh, ctan and ctanh.
17986 * math/auto-libm-test-out: Regenerated.
17987 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17988 * sysdeps/i386/fpu/libm-test-ulps: Update.
17989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17990
17991 2015-06-24 Roland McGrath <roland@hack.frob.com>
17992
17993 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17994 return value is wrong, print the expected value too.
17995
17996 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
17997
17998 [BZ #18585]
17999 * elf/readlib.c (is_gdb_python_file): New.
18000 (process_file): Don't issue errors on filenames with -gdb.py
18001 suffix.
18002
18003 2015-06-24 Joseph Myers <joseph@codesourcery.com>
18004
18005 * math/auto-libm-test-in: Add more tests of csin and csinh.
18006 * math/auto-libm-test-out: Regenerated.
18007 * math/libm-test.inc (csin_test_data): Remove tests moved to
18008 auto-libm-test-in.
18009 (csinh_test_data): Likewise.
18010
18011 [BZ #18593]
18012 * math/s_csin.c (__csin): Negate before rather than after possibly
18013 overflowing multiplication.
18014 * math/s_csinf.c (__csinf): Likewise.
18015 * math/s_csinh.c (__csinh): Likewise.
18016 * math/s_csinhf.c (__csinhf): Likewise.
18017 * math/s_csinhl.c (__csinhl): Likewise.
18018 * math/s_csinl.c (__csinl): Likewise.
18019 * math/auto-libm-test-in: Add some tests of csin and csinh.
18020 * math/auto-libm-test-out: Regenerated.
18021 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18022 (csinh_test_data): Likewise.
18023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18024
18025 [BZ #18586]
18026 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18027 underflow exception for small results.
18028
18029 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
18030
18031 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18032 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18033 variable and included header.
18034 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18035 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18036 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18037 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18038 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18039 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18040 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18041 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18042 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18043 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18044 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18045 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18046 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18047 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18048 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18049 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18050
18051 2015-06-23 Joseph Myers <joseph@codesourcery.com>
18052
18053 [BZ #16526]
18054 [BZ #16538]
18055 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18056 (__sin): Force underflow exception for arguments with small
18057 absolute value.
18058 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18059 (__kernel_sinf): Force underflow exception for arguments with
18060 small absolute value.
18061 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18062 (__kernel_sincosl): Force underflow exception for arguments with
18063 small absolute value.
18064 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18065 (__kernel_sinl): Force underflow exception for arguments with
18066 small absolute value.
18067 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18068 (__kernel_sincosl): Force underflow exception for arguments with
18069 small absolute value.
18070 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18071 (__kernel_sinl): Force underflow exception for arguments with
18072 small absolute value.
18073 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18074 (__kernel_sinl): Force underflow exception for arguments with
18075 small absolute value.
18076 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18077 (__kernel_sinf): Force underflow exception for arguments with
18078 small absolute value.
18079 * math/auto-libm-test-in: Add more tests of sin and sincos.
18080 * math/auto-libm-test-out: Regenerated.
18081
18082 [BZ #18245]
18083 [BZ #18583]
18084 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18085 (__kernel_standard_l): Use feholdexcept and fesetenv around
18086 conversion to double instead of special-casing overflow and
18087 underflow.
18088 * math/libm-test.inc (fmod_test_data): Add more tests.
18089 (remainder_test_data): Likewise.
18090 (sqrt_test_data): Likewise.
18091
18092 2015-06-23 Torvald Riegel <triegel@redhat.com>
18093
18094 [BZ #17403]
18095 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18096 atomic_read_barrier, atomic_write_barrier): Define.
18097 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18098 atomic_read_barrier, atomic_write_barrier): Define.
18099
18100 2015-06-23 Joseph Myers <joseph@codesourcery.com>
18101
18102 * math/Makefile [$(PERL) != no]
18103 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18104 dependency on libm-test.stmp below the inclusion of Rules.
18105
18106 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
18107
18108 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18109 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18110 and included header.
18111 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18112 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18113 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18114 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18115 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18116 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18117 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18119 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18120 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18121 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18122 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18123 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18124 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18125 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18126 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18127 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18128 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18129 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18130
18131 2015-06-23 Joseph Myers <joseph@codesourcery.com>
18132
18133 [BZ #18371]
18134 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18135 intermediate but not final result might underflow.
18136 * math/s_csqrtf.c (__csqrtf): Likewise.
18137 * math/s_csqrtl.c (__csqrtl): Likewise.
18138 * math/auto-libm-test-in: Add more tests of csqrt.
18139 * math/auto-libm-test-out: Regenerated.
18140 * sysdeps/i386/fpu/libm-test-ulps: Update.
18141
18142 [BZ #18219]
18143 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18144 threshold on absolute value of exponent for which scaling is used.
18145 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18146 * math/auto-libm-test-in: Add more tests of exp2.
18147 * math/auto-libm-test-out: Regenerated.
18148
18149 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
18150
18151 [BZ #17977]
18152 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18153 when initializing interface list, based on the bug analysis
18154 and the patch proposed by Eric Newton.
18155 * resolv/tst-res_hconf_reorder.c: New test.
18156 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18157 tst-res_hconf_reorder.
18158 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18159 and $(shared-thread-library).
18160 (tst-res_hconf_reorder-ENV): New variable.
18161
18162 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18163 in comment.
18164
18165 2015-06-22 Joseph Myers <joseph@codesourcery.com>
18166
18167 [BZ #16353]
18168 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18169 (__expm1): Force underflow exception for arguments with small
18170 absolute value.
18171 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18172 (__expm1f): Force underflow exception for arguments with small
18173 absolute value.
18174 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18175 (__expm1): Force underflow exception for arguments with small
18176 absolute value.
18177 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18178 (__expm1f): Force underflow exception for arguments with small
18179 absolute value.
18180 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18181 Check for small arguments before calling __expm1.
18182 * math/auto-libm-test-in: Do not mark underflow exceptions as
18183 possibly missing for bug 16353.
18184 * math/auto-libm-test-out: Regenerated.
18185
18186 2015-06-22 Andreas Schwab <schwab@suse.de>
18187
18188 [BZ #18513]
18189 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18190 PTR queries.
18191
18192 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
18193
18194 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18195
18196 * string/strcoll_l.c: Remove unused struct element idxnow.
18197
18198 2015-06-21 Joseph Myers <joseph@codesourcery.com>
18199
18200 [BZ #18569]
18201 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18202 underflow and return argument in case of subnormal argument.
18203 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18204 Likewise.
18205 * math/auto-libm-test-in: Add more tests of expm1.
18206 * math/auto-libm-test-out: Regenerated.
18207
18208 [BZ #16361]
18209 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18210 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18211 tiny results.
18212 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18213 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18214 tiny results.
18215 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
18216 mark underflow exceptions as possibly missing for bug 16361.
18217 * math/auto-libm-test-out: Regenerated.
18218
18219 2015-06-19 Joseph Myers <joseph@codesourcery.com>
18220
18221 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18222 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18223 Remove variable.
18224 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18225 (test-xfail-XOPEN2K8/utmpx.h/conform).
18226
18227 * conform/conformtest.pl ($xerrors): New variable.
18228 (note_error): New function.
18229 (compiletest): New argument $xfail. Use not_error.
18230 (runtest): Likewise.
18231 (top level): Handle xfail- lines. Update calls to compiletest and
18232 runtest. Handle xfail- and optional- in headers listed with
18233 allow-header.
18234 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18235 (O_EXEC): Likewise.
18236 (O_SEARCH): Likewise.
18237 * conform/data/stropts.h-data (ioctl): Likewise.
18238 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18239 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18240 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18241 (msghdr.msg_controllen): Likewise.
18242 (cmsghdr.cmsg_len): Likewise.
18243 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18244 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18245 variable.
18246 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18247 (test-xfail-XPG4/stropts.h/conform): Likewise.
18248 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18249 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18250 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18251 (test-xfail-UNIX98/stropts.h/conform): Likewise.
18252 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18253 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18254 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18255 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18256 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18257 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18258 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18259 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18260 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18261 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18262 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18263 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18264 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18265 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18266 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18267
18268 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
18269
18270 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18271 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18272 definitions for proper unfolding of __MATHDECL_VEC.
18273
18274 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18275
18276 * benchtests/bench-strcoll.c:
18277 Include string.h.
18278 (main): Remove unused variable res.
18279
18280 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18281
18282 * timezone/Makefile (%/UTC %/Universal):
18283 Generate test-result files for UTC and Universal.
18284
18285 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18286
18287 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18288
18289 2015-06-18 Joseph Myers <joseph@codesourcery.com>
18290
18291 [BZ #16350]
18292 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18293 for arguments with small absolute value.
18294 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18295 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18296 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18297 (__asinh): Force underflow exception for arguments with small
18298 absolute value.
18299 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18300 (__asinhf): Force underflow exception for arguments with small
18301 absolute value.
18302 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18303 (__asinhl): Force underflow exception for arguments with small
18304 absolute value.
18305 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18306 (__asinhl): Force underflow exception for arguments with small
18307 absolute value.
18308 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18309 (__asinhl): Force underflow exception for arguments with small
18310 absolute value.
18311 * math/auto-libm-test-in: Do not mark underflow exceptions as
18312 possibly missing for bug 16350.
18313 * math/auto-libm-test-out: Regenerated.
18314
18315 * include/bits/ipc.h: Remove file.
18316 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18317 variable.
18318 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18319 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18320 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18321 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18322 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18323 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18324 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18325 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18326 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18327
18328 * math/auto-libm-test-in: Remove spurious underflow allowance for
18329 tests of cexp.
18330 * math/auto-libm-test-out: Regenerated.
18331
18332 [BZ #18558]
18333 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18334 unconditional definition.
18335 (MCAST_BLOCK_SOURCE): Likewise.
18336 (MCAST_UNBLOCK_SOURCE): Likewise.
18337 (MCAST_LEAVE_GROUP): Likewise.
18338 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18339 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18340 (MCAST_MSFILTER): Likewise.
18341 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18342 Remove variable.
18343 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18344 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18345 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18346 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18347 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18348
18349 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
18350
18351 * NEWS: Mention addition of x86_64 vector sincosf.
18352 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18353 * math/test-float-vlen4.h: Likewise.
18354 * math/test-float-vlen8.h: Likewise.
18355 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18356 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18357 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18358 * sysdeps/x86_64/fpu/Versions: New versions added.
18359 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18360 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18361 Added build of SSE, AVX2 and AVX512 IFUNC versions.
18362 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18363 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18364 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18365 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18366 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18367 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18368 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18369 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18370 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18371 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18372 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18373 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18374 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18375 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18376 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18377 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18378 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18379 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18380 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18381 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18382 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18383
18384 * NEWS: Mention addition of x86_64 vector sincos.
18385 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18386 * math/math.h (__MATHDECL_VEC): New macro.
18387 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18388 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18389 declaration under condition.
18390 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18391 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18392 TEST_VEC_LOOP change.
18393 * math/test-double-vlen4.h: Likewise.
18394 * math/test-double-vlen8.h: Likewise.
18395 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18396 * math/test-float-vlen4.h: Likewise.
18397 * math/test-float-vlen8.h: Likewise.
18398 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18399 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18400 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18401 * sysdeps/x86_64/fpu/Versions: New versions added.
18402 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18403 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18404 Added build of SSE, AVX2 and AVX512 IFUNC versions.
18405 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18406 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18407 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18408 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18409 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18410 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18411 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18412 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18413 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18414 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18415 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18416 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18417 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18418 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18419 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18420 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18421 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18422 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18423 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18424 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18425 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18426
18427 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18428 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18429 redirections for powf.
18430 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18431 * sysdeps/x86_64/fpu/Versions: New versions added.
18432 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18433 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18434 Added build of SSE, AVX2 and AVX512 IFUNC versions.
18435 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18436 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18437 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18438 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18439 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18440 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18441 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18442 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18443 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18444 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18445 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18446 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18447 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18448 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18449 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18450 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18451 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18452 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18453 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18454 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18455 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18456 * math/test-float-vlen16.h: Fixed 2 argument macro.
18457 * math/test-float-vlen4.h: Likewise.
18458 * math/test-float-vlen8.h: Likewise.
18459 * NEWS: Mention addition of x86_64 vector powf.
18460
18461 2015-06-17 Joseph Myers <joseph@codesourcery.com>
18462
18463 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18464 and redefine.
18465 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18466 and redefine.
18467 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18468 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18469 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18470
18471 [BZ #18553]
18472 * resource/getpriority.c (getpriority): Rename to __getpriority
18473 and define as weak alias of __getpriority.
18474 * resource/setpriority.c (setpriority): Rename to __setpriority
18475 and define as weak alias of __setpriority.
18476 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18477 __getpriority and define as weak alias of __getpriority.
18478 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18479 __setpriority and define as weak alias of __setpriority.
18480 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18481 strong name.
18482 (setpriority): Use __setpriority as strong name.
18483 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18484 __getpriority and define as weak alias of __getpriority.
18485 * include/sys/resource.h (__getpriority): Declare. Use
18486 libc_hidden_proto.
18487 (__setpriority): Likewise.
18488 (getpriority): Don't use libc_hidden_proto.
18489 (setpriority): Likewise.
18490 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18491 getpriority. Call __setpriority instead of setpriority.
18492 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18493 Remove variable.
18494
18495 [BZ #18547]
18496 * misc/getttyent.c (getttynam): Rename to __getttynam and define
18497 as weak alias of __getttynam. Use prototype function definition.
18498 Call __setttyent, __getttyent and __endttyent instead of
18499 setttyent, getttyent and endttyent.
18500 (getttyent): Rename to __getttyent and define as weak alias of
18501 __getttyent. Call __setttyent instead of setttyent. Call
18502 __fgets_unlocked instead of fgets_unlocked.
18503 (setttyent): Rename to __setttyent and define as weak alias of
18504 __setttyent.
18505 (endttyent): Rename to __endttyent and define as weak alias of
18506 __endttyent.
18507 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
18508 (__setttyent): Likewise.
18509 (__endttyent): Likewise.
18510 (getttyent): Don't use libc_hidden_proto.
18511 (setttyent): Likewise.
18512 (endttyent): Likewise.
18513 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18514 __endttyent instead of setttyent, getttyent and endttyent.
18515 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18516 Remove variable.
18517
18518 [BZ #18546]
18519 * socket/recv.c (__recv): Use libc_hidden_def.
18520 * socket/socket.c (__socket): Likewise.
18521 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18522 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18523 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18524 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18525 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18526 libc_hidden_def.
18527 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18528 libc_hidden_weak.
18529 * include/sys/socket.h (__socket): Do not use attribute_hidden.
18530 Use libc_hidden_proto.
18531 (__recv): Likewise.
18532 * socket/Versions (libc): Export __recv and __socket at version
18533 GLIBC_PRIVATE.
18534 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18535 instead of recv.
18536 (init_mq_netlink): Call __socket instead of socket.
18537 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18538 Remove variable.
18539
18540 [BZ #18545]
18541 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18542 __mq_timedreceive and define as alias of __mq_timedreceive. Use
18543 hidden_weak.
18544 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18545 define as alias of __mq_timedsend. Use hidden_weak.
18546 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18547 __mq_timedsend as strong name.
18548 (mq_timedreceive): Use __mq_timedreceive as strong name.
18549 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
18550 (__mq_timedreceive): Likewise.
18551 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18552 __mq_timedreceive instead of mq_timedreceive.
18553 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18554 instead of mq_timedsend.
18555 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18556 Remove variable.
18557
18558 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18559 hidden_def and hidden_weak instead of libc_hidden_def and
18560 libc_hidden_weak.
18561 (top level): Refer to hidden_def in comment.
18562 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18563 macro. Use it instead of libc_hidden_def.
18564 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18565 specify __GI_* name explicitly.
18566 (mq_timedreceive): Likewise.
18567 (mq_setattr): Likewise.
18568
18569 [BZ #18544]
18570 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18571 __pthread_barrier_init and define as weak alias of
18572 __pthread_barrier_init.
18573 * sysdeps/sparc/nptl/pthread_barrier_init.c
18574 (pthread_barrier_init): Likewise.
18575 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18576 __pthread_barrier_wait and define as weak alias of
18577 __pthread_barrier_wait.
18578 * sysdeps/sparc/nptl/pthread_barrier_wait.c
18579 (pthread_barrier_wait): Likewise.
18580 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18581 (pthread_barrier_wait): Likewise.
18582 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18583 (pthread_barrier_wait): Likewise.
18584 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18585 (pthread_barrier_wait): Likewise.
18586 * nptl/Versions (libpthread): Export __pthread_barrier_init and
18587 __pthread_barrier_wait at version GLIBC_PRIVATE.
18588 * include/pthread.h (__pthread_barrier_init): Declare.
18589 (__pthread_barrier_wait): Likewise.
18590 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18591 Call __pthread_barrier_wait instead of pthread_barrier_wait.
18592 (helper_thread): Likewise.
18593 (init_mq_netlink): Call __pthread_barrier_init instead of
18594 pthread_barrier_init.
18595
18596 [BZ #18542]
18597 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18598 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18599 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
18600 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18601 vswscanf.
18602 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18603 Remove variable.
18604
18605 [BZ #18540]
18606 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18607 strong alias of _IO_fflush. Use libc_hidden_def.
18608 * libio/iofflush_u.c (fflush_unlocked): Rename to
18609 __fflush_unlocked and define as weak alias of __fflush_unlocked.
18610 Use libc_hidden_weak.
18611 * include/stdio.h (__fflush_unlocked): Declare. Use
18612 libc_hidden_proto.
18613 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18614 fflush_unlocked.
18615 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18616 Remove variable.
18617
18618 [BZ #18539]
18619 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18620 define as weak alias of __addseverity.
18621 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18622 Remove variable.
18623 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18624 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18625 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18626
18627 [BZ #18536]
18628 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18629 (__tfind): Likewise.
18630 (__tdelete): Likewise.
18631 (__twalk): Likewise.
18632 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18633 __twalk to GLIBC_PRIVATE.
18634 * include/search.h (__tsearch): Use libc_hidden_proto.
18635 (__tfind): Likewise.
18636 (__tdelete): Likewise.
18637 (__twalk): Likewise.
18638 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18639 Call __tdelete instead of tdelete.
18640 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18641 tfind. Call __tsearch instead of tsearch.
18642 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18643 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18644 Remove variable.
18645 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18646
18647 [BZ #18534]
18648 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18649 (dprintf): Define as a weak alias of __dprintf, not a strong
18650 alias.
18651 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
18652 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18653 dprintf.
18654 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18655 Remove variable.
18656 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18657 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18658
18659 [BZ #18533]
18660 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18661 not a strong alias.
18662 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18663 Remove variable.
18664
18665 [BZ #18532]
18666 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18667 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
18668 (in6addr_loopback): Rename to __in6addr_loopback and define as
18669 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
18670 * include/netinet/in.h (__in6addr_loopback): Declare. Use
18671 libc_hidden_proto.
18672 (__in6addr_any): Likewise.
18673 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18674 in6addr_any.
18675 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18676 variable.
18677 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18678
18679 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
18680
18681 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18682 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18683 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18684 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18685 redirections for pow.
18686 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18687 * sysdeps/x86_64/fpu/Versions: New versions added.
18688 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18689 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18690 build of SSE, AVX2 and AVX512 IFUNC versions.
18691 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18692 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18693 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18694 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18695 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18696 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18697 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18698 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18699 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18700 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18701 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18702 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18703 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18704 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18705 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18706 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18707 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18708 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18709 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18710 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18711 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18712 * NEWS: Mention addition of x86_64 vector pow.
18713
18714 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18715 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18716 redirections for expf.
18717 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18718 * sysdeps/x86_64/fpu/Versions: New versions added.
18719 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18720 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18721 build of SSE, AVX2 and AVX512 IFUNC versions.
18722 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18723 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18724 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18725 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18726 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18727 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18728 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18729 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18730 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18731 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18732 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18733 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18734 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18735 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18736 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18737 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18738 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18739 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18740 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18741 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18742 * NEWS: Mention addition of x86_64 vector expf.
18743
18744 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18745 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18746 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18747 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18748 redirections for exp.
18749 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18750 * sysdeps/x86_64/fpu/Versions: New versions added.
18751 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18752 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18753 build of SSE, AVX2 and AVX512 IFUNC versions.
18754 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18755 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18756 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18757 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18758 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18759 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18760 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18761 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18762 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18763 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18764 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18765 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18766 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18767 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18768 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18769 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18770 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18771 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18772 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18773 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18774 * NEWS: Mention addition of x86_64 vector exp.
18775
18776 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18777 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18778 redirections for logf.
18779 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18780 * sysdeps/x86_64/fpu/Versions: New versions added.
18781 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18782 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18783 build of SSE, AVX2 and AVX512 IFUNC versions.
18784 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
18785 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
18786 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
18787 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
18788 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
18789 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
18790 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
18791 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
18792 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
18793 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
18794 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
18795 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
18796 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
18797 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18798 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18799 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18800 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18801 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18802 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18803 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18804 * NEWS: Mention addition of x86_64 vector logf.
18805
18806 * bits/libm-simd-decl-stubs.h: Added stubs for log.
18807 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
18808 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18809 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18810 redirections for log.
18811 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18812 * sysdeps/x86_64/fpu/Versions: New versions added.
18813 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18814 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18815 build of SSE, AVX2 and AVX512 IFUNC versions.
18816 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
18817 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
18818 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
18819 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
18820 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
18821 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
18822 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
18823 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
18824 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
18825 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
18826 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
18827 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
18828 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
18829 test.
18830 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18831 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18832 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18833 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18834 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18835 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18836 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18837 * NEWS: Mention addition of x86_64 vector log.
18838
18839 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
18840
18841 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
18842 cfi_adjust_cfa_offset argument.
18843 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
18844 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
18845
18846 [BZ #18034]
18847 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
18848 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
18849 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
18850 ordering using ldar.
18851 (_dl_tlsdesc_dynamic): Likewise.
18852 (_dl_tlsdesc_return_lazy): Likewise.
18853 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18854 relaxed atomics instead of volatile and synchronize with release store.
18855 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18856 volatile.
18857 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18858
18859 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
18860
18861 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18862 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18863 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18864 * sysdeps/x86_64/fpu/Versions: New versions added.
18865 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18866 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18867 build of SSE, AVX2 and AVX512 IFUNC versions.
18868 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18869 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18870 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18871 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18872 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18873 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18874 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18875 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18876 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18877 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18878 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18879 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18880 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18881 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18882 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18883 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18884 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18885 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18886 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18887 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18888 * NEWS: Mention addition of x86_64 vector sinf.
18889
18890 2015-06-14 Joseph Myers <joseph@codesourcery.com>
18891
18892 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18893 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18894 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18895 Remove variable.
18896 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18897 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18898
18899 2015-06-12 Joseph Myers <joseph@codesourcery.com>
18900
18901 [BZ #18530]
18902 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18903 strong alias of _IO_fputs. Use libc_hidden_def.
18904 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18905 and define as weak alias of __fputs_unlocked. Use
18906 libc_hidden_weak.
18907 * include/stdio.h (__fputs_unlocked): Declare. Use
18908 libc_hidden_proto.
18909 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18910 fputs_unlocked.
18911
18912 [BZ #18529]
18913 * resolv/netdb.h [__USE_POSIX]: Change condition to
18914 [__USE_XOPEN2K].
18915 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18916 not expect.
18917 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18918 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18919 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18920 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18921 [XPG4 || UNIX98] (AI_ALL): Likewise.
18922 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18923 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18924 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18925 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18926 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18927 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18928 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18929 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18930 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18931 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18932 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18933 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18934 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18935 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18936 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18937 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18938 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18939 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18940 [XPG4 || UNIX98] (gai_strerror): Likewise.
18941 [XPG4 || UNIX98] (getaddrinfo): Likewise.
18942 [XPG4 || UNIX98] (getnameinfo): Likewise.
18943
18944 [BZ #18528]
18945 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18946 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18947 __USE_XOPEN2K8].
18948 (getgrent): Likewise.
18949 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18950 expect.
18951 [XPG3 || POSIX2008] (endgrent): Likewise.
18952 [XPG3] (setgrent): Likewise.
18953 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18954 variable.
18955 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18956
18957 [BZ #18527]
18958 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18959 define as weak alias of __getlogin_r. Use libc_hidden_weak.
18960 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18961 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18962 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18963 * include/unistd.h (__getlogin_r): Declare. Use
18964 libc_hidden_proto.
18965 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18966 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18967 variable.
18968 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18969 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18970 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18971
18972 2015-06-12 Martin Sebor <msebor@redhat.com>
18973
18974 [BZ #18512]
18975 * Makerules (check-install-supported): New target.
18976 (install): Add check-install-supported as a dependency.
18977 * manual/install.texi (Installing the C Library): Document
18978 that overriding prefix and exec_prefix is not supported.
18979 Mention DESTDIR.
18980 * INSTALL: Regenerate from the above.
18981
18982 2015-06-12 Joseph Myers <joseph@codesourcery.com>
18983
18984 [BZ #18519]
18985 * posix/Versions (libc): Export __libc_pread at version
18986 GLIBC_PRIVATE.
18987 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18988 instead of pread.
18989 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18990 variable.
18991
18992 [BZ #18522]
18993 * misc/efgcvt_r.c
18994 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18995 (cvt_symbol): Use weak_alias instead of strong_alias.
18996 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18997 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18998 Remove variable.
18999 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19000 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19001
19002 [BZ #18520]
19003 * inet/herrno.c (h_errno): Rename to __h_errno.
19004 (__libc_h_errno): Define as alias of __h_errno not h_errno.
19005 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19006 to __h_errno instead of h_errno.
19007 * nptl/herrno.c (h_errno): Rename to __h_errno.
19008 (__h_errno_location): Refer to __h_errno not h_errno.
19009 * resolv/Versions (h_errno): Rename to __h_errno.
19010 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19011 Remove variable.
19012 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19013
19014 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
19015
19016 * configure.ac: More strict check for AVX512 assembler support.
19017 * configure: Regenerated.
19018
19019 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19020 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19021 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19022 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19023 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19024 * sysdeps/x86_64/fpu/Versions: New versions added.
19025 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19026 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19027 Added build of SSE, AVX2 and AVX512 IFUNC versions.
19028 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19029 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19030 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19031 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19032 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19033 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19034 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19035 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19036 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19037 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19038 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19039 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19040 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19041 test.
19042 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19043 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19044 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19045 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19046 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19047 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19048 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19049 * NEWS: Mention addition of x86_64 vector sin.
19050
19051 2015-06-11 Florian Weimer <fweimer@redhat.com>
19052
19053 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19054 comment.
19055
19056 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
19057
19058 [BZ #18479]
19059 * nptl/pt-interp.c: New file.
19060 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19061 Add pt-interp.
19062 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19063 $(common-objpfx)runtime-linker.h.
19064
19065 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
19066
19067 * Makeconfig (+interp): Remove unused variable.
19068 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19069 only. Depend on $(common-objpfx)runtime-linker.h instead of
19070 $(elf-objpfx)runtime-linker.h.
19071 ($(elf-objpfx)runtime-linker.h): Rename to
19072 $(common-objpfx)runtime-linker.h and move ...
19073 * Makerules [$(build-shared) = yes]: ... here.
19074 * elf/interp.c: Include <runtime-linker.h> instead of
19075 <elf/runtime-linker.h>.
19076
19077 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19078
19079 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19080 (__gettimeofday_syscall): Remove vsyscall fallback.
19081 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19082 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19083 Add syscall fallback function.
19084 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19085 if vDSO is not present.
19086 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19087 fallback function.
19088 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19089 present.
19090 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19091 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19092
19093 2015-06-09 Joseph Myers <joseph@codesourcery.com>
19094
19095 [BZ #18497]
19096 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19097 of wcscmp.
19098 (wcscmp): Define as weak alias of WCSCMP.
19099 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19100 wcscoll.
19101 (USE_HIDDEN_DEF): Define.
19102 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19103 __wcscoll. Don't use libc_hidden_weak.
19104 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19105 wcscmp.
19106 * sysdeps/i386/i686/multiarch/wcscmp-c.c
19107 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19108 __GI_wcscmp.
19109 (weak_alias): Undefine and redefine.
19110 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19111 __wcscmp and define as weak alias of __wcscmp.
19112 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19113 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
19114 (__wcscoll): Likewise.
19115 (wcscmp): Don't use libc_hidden_proto.
19116 (wcscoll): Likewise.
19117 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19118 wcscoll.
19119 * posix/regexec.c (check_node_accept_bytes): Likewise.
19120 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19121 variable.
19122 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19123 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19124
19125 [BZ #18507]
19126 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19127 __fstatvfs and define as weak alias of __fstatvfs. Use
19128 libc_hidden_weak.
19129 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19130 and define as weak alias of __statvfs. Use libc_hidden_weak.
19131 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19132 Define as alias of __fstatvfs, not fstatvfs.
19133 (fstatvfs64): Likewise.
19134 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19135 Define as alias of __statvfs, not statvfs.
19136 (statvfs64): Likewise.
19137 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19138 Remove variable.
19139
19140 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19141
19142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19143 (HAVE_GETCPU_VSYSCALL): Define.
19144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19145 (HAVE_GETCPU_VSYSCALL): Likewise.
19146 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19147 * sysdeps/unix/sysv/linux/sched_getcpu.c
19148 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19149 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19150 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19151 prototype.
19152 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19153 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19154 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19156 Define.
19157 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19158 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19159 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19160 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19161
19162 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
19163
19164 * sysdeps/x86_64/fpu/Makefile: New file.
19165 * sysdeps/x86_64/fpu/Versions: New file.
19166 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19167 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19168 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19169 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19170 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19171 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19172 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19173 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19174 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19175 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19176 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19177 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19178 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19179 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19180 Added build of SSE, AVX2 and AVX512 IFUNC versions.
19181 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19182 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19183 * sysdeps/x86_64/configure.ac: Options for libmvec build.
19184 * sysdeps/x86_64/configure: Regenerated.
19185 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19186 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19187 * manual/install.texi (Configuring and compiling): Document
19188 --disable-mathvec.
19189 * INSTALL: Regenerated.
19190 * NEWS: Mention addition of libmvec and x86_64 vector cos.
19191
19192 * math/Makefile: Added rules for vector tests.
19193 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19194 declaration under condition.
19195 * math/test-double-vlen2.h: New file.
19196 * math/test-double-vlen4.h: New file.
19197 * math/test-double-vlen8.h: New file.
19198 * math/test-vec-loop.h: Added initialization macro.
19199 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19200 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19201 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19202 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19203 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19204 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19205 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19206 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19207 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19208 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19209 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19210
19211 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19212 * sysdeps/x86_64/fpu/Versions: New versions added.
19213 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19214 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19215 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19216 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19217 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19218 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19219 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19220 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19221 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19222 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19223 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19224 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19225 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19226 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19227 Added build of SSE, AVX2 and AVX512 IFUNC versions.
19228 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19229 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19230 * NEWS: Mention addition of x86_64 vector cosf.
19231
19232 * math/Makefile: Added CFLAGS for new tests.
19233 * math/test-float-vlen16.h: New file.
19234 * math/test-float-vlen4.h: New file.
19235 * math/test-float-vlen8.h: New file.
19236 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19237 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19238 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19239 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19240 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19241 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19242 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19243 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19244 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19245 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19246 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19247
19248 2015-06-09 Marko Myllynen <myllynen@redhat.com>
19249
19250 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19251 * locale/programs/ld-ctype.c: Likewise.
19252
19253 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
19254
19255 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19256 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19257 bit_ZMM16_31_state): New macro.
19258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19259 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19260
19261 2015-06-08 Joseph Myers <joseph@codesourcery.com>
19262
19263 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19264
19265 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
19266
19267 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19268
19269 2015-06-05 Joseph Myers <joseph@codesourcery.com>
19270
19271 [BZ #18498]
19272 * libio/memstream.c (open_memstream): Rename to __open_memstream
19273 and define as weak alias of __open_memstream.
19274 * include/stdio.h (__open_memstream): Declare. Use
19275 libc_hidden_proto.
19276 (open_memstream): Don't use libc_hidden_proto.
19277 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19278 open_memstream.
19279 * posix/getopt.c (_getopt_internal_r): Likewise.
19280 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19281 variable.
19282 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19283 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19284 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19285
19286 [BZ #18496]
19287 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19288 instead of wcrtomb.
19289
19290 [BZ #18483]
19291 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19292 [__USE_XOPEN2K8]. Remove redundant #endif.
19293 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19294 Remove redundant #if.
19295 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19296 Remove variable.
19297 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19298 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19299
19300 [BZ #18495]
19301 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19302 (__iswlower): Likewise.
19303 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
19304 (__iswlower): Likewise.
19305 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19306 instead of towlower.
19307 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19308 instead of iswlower. Call __towupper instead of towupper.
19309 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19310 instead of iswalnum.
19311
19312 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19313
19314 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19315 errors to stderr.
19316
19317 2015-06-05 Florian Weimer <fweimer@redhat.com>
19318
19319 [BZ #15661]
19320 [BZ #17322]
19321 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19322 Check for overflow properly. Check for O_APPEND. Ignore large
19323 file system block sizes. Add comments about problems.
19324 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19325 * manual/filesys.texi (Storage Allocation): New node.
19326
19327 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19328
19329 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19330 cancellable syscalls.
19331 (SYS_ify): Add guard to no redefine it.
19332 (INLINE_SYSCALL): Likewise.
19333 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19334 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19335 SYSCALL_CANCEL instead.
19336 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19337 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19338 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19339 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19340 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19341 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19342 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19343 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19344 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19345 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19346 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19347 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19348 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19349 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19350 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19351 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19352 Likewise.
19353 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19354 (__libc_pread64): Likewise.
19355 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19356 (__libc_preadv): Likewise.
19357 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19358 (__libc_readv64): Likewise.
19359 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19360 (__libc_pwrite): Likewise.
19361 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19362 (__libc_pwrite64): Likewise.
19363 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19364 (__libc_pwritev): Likewise.
19365 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19366 (__libc_pwritev64): Likewise.
19367 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19368 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19369 (sync_file_range): Likewise.
19370 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19371 Likewise.
19372 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19373 Likewise.
19374 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19375 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19376 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19377 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19378 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19379 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19380 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19381 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19383 Likewise.
19384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19385 (__libc_read64): Likewise.
19386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19387 Likewise.
19388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19389 Likewise.
19390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19391 Likewise.
19392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19393 Likewise.
19394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19395 (__libc_pread64): Likewise.
19396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19397 Likewise.
19398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19399 (__libc_pwrite64): Likewise.
19400 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19401 (sync_file_range): Likewise.
19402 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19403 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19404 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19405 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19406 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19407 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19408 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19409 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19410 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19411 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19412 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19413 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19414 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19415 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19416 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19417 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19418 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19419 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19420 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19421 Likewise.
19422 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19423 Likewise.
19424 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19425 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19426 Likewise.
19427 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19428 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19429 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19430 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19431 Likewise.
19432 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19433 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19434 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19435 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19436 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19437
19438 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
19439
19440 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19441 Include dl-vdso.
19442 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19443 Use VDSO routines for gettimeofday, clock_gettime if
19444 available.
19445 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19446 Declare VDSO symbols.
19447 * sysdeps/unix/sysv/linux/arm/sysdep.h:
19448 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19449 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19450 * sysdeps/unix/sysv/linux/arm/Versions: Add
19451 __vdso_clock_gettime.
19452
19453 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19454
19455 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19456 be an inline implementation regardless of library is built within.
19457 (open_not_cancel_2): Likewise.
19458 (__read_nocancel): Likewise.
19459 (__write_nocancel): Likewise.
19460 (openat_not_cancel): Likewise.
19461 (openat_not_cancel_3): Likewise.
19462 (openat64_not_cancel): Likewise.
19463 (openat64_not_cancel_3): Likewise.
19464 (__close_nocancel): Likewise.
19465 (pause_not_cancel): Likewise.
19466 (nanosleep_not_cancel): Likewise.
19467 (sigsuspend_not_cancel): Likewise.
19468
19469 2015-06-04 Torvald Riegel <triegel@redhat.com>
19470
19471 [BZ #14958]
19472 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19473 wake-up.
19474 (__pthread_rwlock_rdlock_slow): Likewise.
19475 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19476 Likewise.
19477 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19478 Likewise.
19479 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19480 * nptl/tst-rwlock16.c: New file.
19481 * nptl/Makefile (tests): Add new test.
19482
19483 2015-06-04 Torvald Riegel <triegel@redhat.com>
19484
19485 [BZ #18324]
19486 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19487 missing wake-up of readers.
19488 * nptl/tst-rwlock15.c: New file.
19489 * nptl/Makefile (tests): Add new test.
19490
19491 2015-06-03 Roland McGrath <roland@hack.frob.com>
19492
19493 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19494 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19495 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19496 and __nacl_supply_interface_rtld.
19497 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19498 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19499 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19500 Add __nacl_supply_interface_rtld.
19501 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19502
19503 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
19504
19505 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19506 isfinite.
19507 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19508 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19509
19510 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
19511
19512 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19513 __signbit* with standard C99 macros.
19514 * math/e_exp10l.c: Likewise.
19515 * math/e_exp2l.c: Likewise.
19516 * math/e_scalb.c: Likewise.
19517 * math/e_scalbf.c: Likewise.
19518 * math/e_scalbl.c: Likewise.
19519 * math/s_ldexp.c: Likewise.
19520 * math/s_ldexpf.c: Likewise.
19521 * math/s_ldexpl.c: Likewise.
19522 * math/w_atan2.c: Likewise.
19523 * math/w_atan2f.c: Likewise.
19524 * math/w_atan2l.c: Likewise.
19525 * math/w_cosh.c: Likewise.
19526 * math/w_coshf.c: Likewise.
19527 * math/w_coshl.c: Likewise.
19528 * math/w_exp10.c: Likewise.
19529 * math/w_exp10f.c: Likewise.
19530 * math/w_exp10l.c: Likewise.
19531 * math/w_exp2.c: Likewise.
19532 * math/w_exp2f.c: Likewise.
19533 * math/w_exp2l.c: Likewise.
19534 * math/w_fmod.c: Likewise.
19535 * math/w_fmodf.c: Likewise.
19536 * math/w_fmodl.c: Likewise.
19537 * math/w_hypot.c: Likewise.
19538 * math/w_hypotf.c: Likewise.
19539 * math/w_hypotl.c: Likewise.
19540 * math/w_jnl.c: Likewise.
19541 * math/w_lgamma.c: Likewise.
19542 * math/w_lgamma_r.c: Likewise.
19543 * math/w_lgammaf.c: Likewise.
19544 * math/w_lgammaf_r.c: Likewise.
19545 * math/w_lgammal.c: Likewise.
19546 * math/w_lgammal_r.c: Likewise.
19547 * math/w_pow.c: Likewise.
19548 * math/w_powf.c: Likewise.
19549 * math/w_powl.c: Likewise.
19550 * math/w_remainder.c: Likewise.
19551 * math/w_remainderf.c: Likewise.
19552 * math/w_remainderl.c: Likewise.
19553 * math/w_scalb.c: Likewise.
19554 * math/w_scalbf.c: Likewise.
19555 * math/w_scalbl.c: Likewise.
19556 * math/w_scalbln.c: Likewise.
19557 * math/w_scalblnf.c: Likewise.
19558 * math/w_scalblnl.c: Likewise.
19559 * math/w_sinh.c: Likewise.
19560 * math/w_sinhf.c: Likewise.
19561 * math/w_sinhl.c: Likewise.
19562 * math/w_tgamma.c: Likewise.
19563 * math/w_tgammaf.c: Likewise.
19564 * math/w_tgammal.c: Likewise.
19565 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19566 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19567 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19568 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19569 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19571 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19572 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19573 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19574 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19575 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19585 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19592 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19593 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19595 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19596 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19597 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19598 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19599 * stdio-common/printf_fp.c: Likewise.
19600 * stdio-common/printf_fphex.c: Likewise.
19601 * stdio-common/printf_size.c: Likewise.
19602
19603 2015-06-03 Joseph Myers <joseph@codesourcery.com>
19604
19605 [BZ #18470]
19606 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19607 strnlen.
19608 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19609 Remove variable.
19610 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19611 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19612 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19613 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19614 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19615 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19616 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19617 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19618 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19619 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19620
19621 [BZ #18468]
19622 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19623 weak alias of __wmemchr. Use libc_hidden_weak.
19624 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
19625 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19626 instead of wmemchr.
19627
19628 2015-06-02 Roland McGrath <roland@hack.frob.com>
19629
19630 [BZ #18383]
19631 * elf/tst-tlsalign-extern.c: New file.
19632 * elf/tst-tlsalign-extern-static.c: New file.
19633 * elf/tst-tlsalign-vars.c: New file.
19634 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19635 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19636 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19637 ($(objpfx)tst-tlsalign-extern-static): Likewise.
19638 (test-xfail-tst-tlsalign-extern-static): New variable.
19639
19640 2015-06-02 Joseph Myers <joseph@codesourcery.com>
19641
19642 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19643 Use variable name _sc_err instead of err.
19644 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19645 instead of ret.
19646 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19647 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19648 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19649 (INLINE_SYSCALL): Likewise.
19650
19651 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19652 * include/string.h (__strnlen): Use libc_hidden_proto.
19653 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19654 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19655 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19656 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19657 (libc_hidden_def): Undefine and redefine.
19658 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19659 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19660 __GI_strnlen.
19661 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19662 libc_hidden_def.
19663 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19664
19665 [BZ #18469]
19666 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19667 weak alias of __towlower. Use libc_hidden_weak.
19668 (towupper): Rename to __towupper and define as weak alias of
19669 __towupper. Use libc_hidden_weak.
19670 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
19671 (__towupper): Likewise.
19672 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19673 __towlower instead of towlower.
19674
19675 2015-06-02 Roland McGrath <roland@hack.frob.com>
19676
19677 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19678 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19679
19680 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
19681
19682 * sysdeps/aarch64/libm-test-ulps: Update.
19683
19684 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19685
19686 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19687 Define.
19688 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19690 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19691 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19692 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19693 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19694 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19695
19696 2015-06-01 Martin Sebor <msebor@redhat.com>
19697
19698 [BZ #18116]
19699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19700 (__setcontext): Use extended four-operand version of mtsf whenever
19701 possible.
19702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19703 (__novec_swapcontext): Likewise.
19704
19705 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19706
19707 * benchtests/scripts/compare_bench.py: New file.
19708 * benchtests/scripts/import_bench.py (mean): New function.
19709 (split_list): Likewise.
19710 (do_for_all_timings): Likewise.
19711 (compress_timings): Likewise.
19712
19713 * benchtests/scripts/import_bench.py: New file.
19714 * benchtests/scripts/validate_benchout.py: Import import_bench
19715 instead of jsonschema.
19716 (validate_bench): Remove function.
19717 (main): Use import_bench.
19718
19719 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
19720
19721 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19722 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19723
19724 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19725
19726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19727
19728 2015-05-28 Roland McGrath <roland@hack.frob.com>
19729
19730 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19731 set THREAD_SELF->tid to a magic value and futex-wake it.
19732 Pass its address to the thread_exit system call.
19733 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19734 bit is clear.
19735 * sysdeps/nacl/lowlevellock.h: New file.
19736 * sysdeps/nacl/lll_timedwait_tid.c: New file.
19737
19738 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19739 Add TIMEOUT to current time, don't subtract it.
19740
19741 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
19742
19743 [BZ #2981]
19744 [BZ #18422]
19745 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19746 ($(objpfx)tst-audit2.out): Also depend on
19747 $(objpfx)tst-auditmod9b.so.
19748 * elf/tst-audit2.c: Include <dlfcn.h>.
19749 (calloc_called): New.
19750 (calloc): Allow to be called more than once.
19751 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19752
19753 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
19754
19755 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19756 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19757
19758 2015-05-27 Marko Myllynen <myllynen@redhat.com>
19759
19760 * stdlib/monetary.h: Fix comment.
19761
19762 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
19763
19764 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19765 Avoid using variables in #defines that might cause shadowing.
19766 (INTERNAL_VSYSCALL_CALL): Likewise.
19767
19768 2015-05-26 Roland McGrath <roland@hack.frob.com>
19769
19770 * sysdeps/nacl/lll_timedlock_wait.c: New file.
19771
19772 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19773 * nptl/lll_timedlock_wait.c: ... to this new file.
19774 * nptl/Makefile (libpthread-routines): Add it.
19775 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19776 * nptl/lll_timedwait_tid.c: ... to this new file.
19777 * nptl/Makefile (libpthread-routines): Add it.
19778 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
19779 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
19780 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
19781 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
19782 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
19783 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
19784 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
19785 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
19786 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
19787 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
19788
19789 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19790
19791 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
19792 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19793 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19794 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
19795 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19796 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19797 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19798 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19799 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19800 * sysdeps/unix/sysv/linux/tile/sysdep.h
19801 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19802 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
19803 using vDSO syscall macro.
19804
19805 2015-05-26 Andriy Rysin <arysin@gmail.com>
19806
19807 [BZ #17293]
19808 * uk_UA: Fix sorting order for Ukrainian locale
19809
19810 2015-05-26 Marko Myllynen <myllynen@redhat.com>
19811
19812 * stdlib/monetary.h: Fix comment.
19813
19814 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
19815
19816 [BZ #18234]
19817 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
19818 st_mtim and st_ctim members.
19819 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
19820 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
19821 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
19822 (struct stat64): Likewise.
19823 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
19824 (struct stat64): Likewise.
19825 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
19826 (struct stat64): Likewise.
19827
19828 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19829
19830 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
19831 Define and include sysdep-vdso.h.
19832 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
19833 Likewise.
19834 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
19835 Likewise.
19836 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
19837 Define with VDSO_SYMBOL and use PTR_MANGLE.
19838 (__vdso_clock_gettime): Likewise.
19839 (__vdso_clock_getres): Likewise.
19840 (_libc_vdso_platform_setup): Likewise.
19841 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19842 Likewise.
19843 (_libc_vdso_platform_setup): Likewise.
19844 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
19845 Likewise.
19846 (__vdso_clock_gettime): Likewise.
19847 (__vdso_clock_getres): Likewise.
19848 (__vdso_get_tbfreq): Likewise.
19849 (__vdso_getcpu): Likewise.
19850 (__vdso_time): Likewise.
19851 (__vdso_sigtramp_rt64): Likewise.
19852 (__vdso_signtramp32): Likewise.
19853 (__vdso_sigtramp_rt32): Likewise.
19854 (_libc_vdso_platform_setup): Likewise.
19855 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19856 Likewise.
19857 (__vdso_clock_gettime): Likewise.
19858 (__vdso_clock_getres): Likewise.
19859 (_libc_vdso_platform_setup): Likewise.
19860 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19861 Likewise.
19862 (__vdso_clock_gettime): Likewise.
19863 (_libc_vdso_platform_setup): Likewise.
19864 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19865 Likewise.
19866 (__vdso_getcpu): Likewise.
19867 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19868 Use VDSO_SYMBOL macro to define.
19869 (__vdso_clock_gettime): Likewise.
19870 (__vdso_clock_getres): Likewise.
19871 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19872 Likewise.
19873 (__vdso_clock_gettime): Likewise.
19874 (__vdso_clock_getres): Likewise.
19875 (__vdso_get_tbfreq): Likewise.
19876 (__vdso_getcpu): Likewise.
19877 (__vdso_time): Likewise.
19878 (__vdso_sigtramp_rt64): Likewise.
19879 (__vdso_signtramp32): Likewise.
19880 (__vdso_sigtramp_rt32): Likewise.
19881 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19882 Likewise.
19883 (__vdso_clock_gettime): Likewise.
19884 (__vdso_clock_getres): Likewise.
19885 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19886 Likewise.
19887 (__vdso_clock_gettime): Likewise.
19888 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19889 Likewise.
19890 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
19891 macro.
19892 (INTERNAL_VSYSCALL): Likewise.
19893 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19894 Remove macro.
19895 (INTERNAL_VSYSCALL): Likewise.
19896 (INTERNAL_VSYSCALL_NCS): Likewise.
19897 (INTERNAL_VSYSCALL_CALL): New macro.
19898 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19899 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19900 Likewise.
19901 (INTERNAL_VSYSCALL): Likewise.
19902 (INTERNAL_VSYSCALL_NCS): Likewise.
19903 (INTERNAL_VSYSCALL_CALL): New macro.
19904 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19906 (INLINE_VSYSCALL): Remove macro.
19907 (INTERNAL_VSYSCALL): Remove macro.
19908 (INTERNAL_VSYSCALL_NCS): Remove macro.
19909 (INTERNAL_VSYSCALL_CALL): New macro.
19910 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19911 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19912 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19913 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19914 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19916 (INLINE_VSYSCALL): Remove macro.
19917 (INTERNAL_VSYSCALL): Likewise.
19918 (INTERNAL_VSYSCALL_NCS): Likewise.
19919 (INTERNAL_VSYSCALL_CALL): New macro.
19920 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19921 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19922 PTR_DEMANGLE on vDSO pointer.
19923 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19924 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19925 macro.
19926 (INTERNAL_SYSCALL): Likewise.
19927 (INTERNAL_VSYSCALL_NCS): Remove macro.
19928 (INTERNAL_VSYSCALL_CALL): New macro.
19929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19930 Remove macro.
19931 (INTERNAL_VSYSCALL): Likewise.
19932 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19933 sysdep-vdso.h instead of libc-vdso.h.
19934 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19935 definition.
19936 (INLINE_VSYSCALL): Likewise.
19937 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19938 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19939 definition.
19940 (INLINE_VSYSCALL): Likewise.
19941 (INTERNAL_VSYSCALL): Likewise.
19942 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19943 * sysdeps/unix/sysv/linux/timespec_get.c
19944 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19945 (timespec_get): Use ANSI prototype.
19946 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19947 and definition for Linux.
19948
19949 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
19950
19951 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19952 * include/libc-symbols.h: libmvec_hidden_* macro series added.
19953
19954 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
19955
19956 [BZ #2981]
19957 [BZ #18410]
19958 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19959 for missing DT_PLTRELSZ.
19960
19961 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
19962
19963 Remove obsolete aliases that broke 'locale -a'
19964 [BZ #18412]
19965 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19966 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19967 breaking some applications that use 'locale -a' output.
19968 Change the encoding of this file from Latin-1 to ASCII to avoid
19969 other potential problems with people grepping this file.
19970
19971 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19972
19973 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19974 -fasynchronous-unwind-tables.
19975 (CFLAGS-sendto.c): Likewise.
19976 (CFLAGS-sendmsg.c): Likewise.
19977 (CFLAGS-connect.c): Likewise.
19978 (CFLAGS-recvmsg.c): Likewise.
19979 (CFLAGS-recvfrom.c): Likewise.
19980 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19981 (SOCKETCALL): New macro: non-cancellable socketcall.
19982 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19983 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19984 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19985 * sysdeps/unix/sysv/linux/accept.c: New file.
19986 * sysdeps/unix/sysv/linux/bind.c: Likewise.
19987 * sysdeps/unix/sysv/linux/connect.c: Likewise.
19988 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19989 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19990 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19991 * sysdeps/unix/sysv/linux/listen.c: Likewise.
19992 * sysdeps/unix/sysv/linux/recv.c: Likewise.
19993 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19994 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19995 * sysdeps/unix/sysv/linux/send.c: Likewise.
19996 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19997 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19998 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19999 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20000 * sysdeps/unix/sysv/linux/socket.c: Likewise.
20001 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20002 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20003 prototype.
20004 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20005 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20006 instead of __internal_xxx function.
20007 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20008 prototype.
20009 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20010 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20011 instead of __internal_xxx function.
20012 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20013 prototype.
20014 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20015 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20016 instead of __internal_xxx function.
20017 * sysdeps/unix/sysv/linux/accept.S: Remove file.
20018 * sysdeps/unix/sysv/linux/bind.S: Likewise.
20019 * sysdeps/unix/sysv/linux/connect.S: Likewise.
20020 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20021 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20022 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20023 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20024 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20025 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20026 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20027 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20028 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20029 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20030 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20031 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20032 * sysdeps/unix/sysv/linux/listen.S: Likewise.
20033 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20034 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20035 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20036 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20039 * sysdeps/unix/sysv/linux/recv.S: Likewise.
20040 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20041 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20042 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20043 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20044 * sysdeps/unix/sysv/linux/send.S: Likewise.
20045 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20046 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20047 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20048 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20049 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20050 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20051 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20052 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20053 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20054 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20055 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20056 socketcall is implemented in GLIBC.
20057
20058 2015-05-22 Joseph Myers <joseph@codesourcery.com>
20059
20060 * soft-fp/fmadf4.c: Include <libc-internal.h>.
20061 (__fma): Ignore uninitialized warnings around packing.
20062 * soft-fp/fmasf4.c: Include <libc-internal.h>.
20063 (__fmaf): Ignore uninitialized warnings around packing.
20064 * soft-fp/fmatf4.c: Include <libc-internal.h>.
20065 (__fmal): Ignore uninitialized warnings around packing.
20066
20067 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20068 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20069 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20070 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20071
20072 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20073 switch statement into default case.
20074 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20075
20076 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20077 a conditional in forcing "inexact".
20078 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20079 Likewise.
20080
20081 2015-05-22 Roland McGrath <roland@hack.frob.com>
20082
20083 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20084 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20085 for each INTERNAL_SYSCALL use.
20086
20087 2015-05-22 Joseph Myers <joseph@codesourcery.com>
20088
20089 [BZ #438]
20090 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20091 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20092 variable.
20093
20094 [BZ #18444]
20095 * string/basename.c (basename): Rename to __basename and define as
20096 weak alias of __basename. Use libc_hidden_weak.
20097 * include/string.h (__basename): Declare. Use libc_hidden_proto.
20098 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20099 __basename instead of basename.
20100 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20101 Remove variable.
20102 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20103
20104 2015-05-18 Florian Weimer <fweimer@redhat.com>
20105
20106 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20107 (_IO_JUMPS_FILE_plus): New.
20108 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20109 _IO_CAST_FIELD_ACCESS.
20110 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20111 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20112 * libio/freopen.c (freopen): Likewise.
20113 * libio/freopen64.c (freopen64): Likewise.
20114 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20115 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20116 * libio/iofwide.c (_IO_fwide): Likewise.
20117 * libio/memstream.c (open_memstream): Likewise.
20118 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20119 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20120 * libio/oldiopopen.c (_IO_old_popen): Likewise.
20121
20122 2015-05-21 Joseph Myers <joseph@codesourcery.com>
20123
20124 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20125 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20126 NADJ.
20127 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20128 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20129 NADJ.
20130 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20131 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20132 NADJ.
20133
20134 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20135 (p == 4) case.
20136
20137 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20138 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20139 Remove variable.
20140 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20141 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20142 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20143
20144 2015-05-21 Florian Weimer <fweimer@redhat.com>
20145
20146 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20147 Adjust jump table label generation macros.
20148
20149 2015-05-21 Florian Weimer <fweimer@redhat.com>
20150
20151 * stdio-common/vfprintf.c (vfprintf): Move local variables
20152 args_malloced, specs, specs_malloced, and the code after
20153 do_positional to the printf_positional function.
20154 (printf_positional): New function.
20155
20156 2015-05-21 Florian Weimer <fweimer@redhat.com>
20157
20158 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20159 function.
20160 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20161 STEP4_TABLE, process_arg): Move macro definitions
20162 out of the vfprintf function. (Cosmetic change only.)
20163
20164 2015-05-21 Carlos O'Donell <carlos@redhat.com>
20165
20166 * benchtests/Makefile (stdio-common-bench): Define.
20167 (benchset): Add stdio-common-bench.
20168 * sprintf-inputs: New file.
20169 * sprintf-source.c: New file.
20170
20171 2015-05-21 Andreas Schwab <schwab@suse.de>
20172
20173 [BZ #13028]
20174 [BZ #17053]
20175 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20176 of struct __res_state.
20177 * resolv/res_send.c (__libc_res_nsend): Likewise.
20178 (get_nsaddr): New function.
20179 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20180 statp directly.
20181
20182 2015-05-20 Joseph Myers <joseph@codesourcery.com>
20183
20184 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20185 -D_POSIX_C_SOURCE=199506L.
20186
20187 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20188
20189 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20190 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20191 Do not mention otherwise.
20192 [POSIX] (_XOPEN_VERSION): Do not expect.
20193 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20194 [POSIX] (_POSIX2_C_BIND): Likewise.
20195 [POSIX] (_POSIX2_VERSION): Likewise.
20196 [POSIX] (_XOPEN_XPG2): Likewise.
20197 [POSIX] (_XOPEN_XPG3): Likewise.
20198 [POSIX] (_XOPEN_XPG4): Likewise.
20199 [POSIX] (_XOPEN_UNIX): Likewise.
20200 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20201 [POSIX] (_POSIX_BARRIERS): Likewise.
20202 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20203 [POSIX] (_POSIX_CPUTIME): Likewise.
20204 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20205 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20206 [POSIX] (_POSIX_SHELL): Likewise.
20207 [POSIX] (_POSIX_SPAWN): Likewise.
20208 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20209 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20210 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20211 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20212 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20213 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20214 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20215 [POSIX] (_XBS5_LP64_OFF64): Likewise.
20216 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20217 [POSIX] (_POSIX_TIMEOUTS): Likewise.
20218 [POSIX] (_POSIX2_PBS): Likewise.
20219 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20220 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20221 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20222 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20223 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20224 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20225 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20226 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20227 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20228 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20229 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20230 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20231 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20232 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20233 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20234 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20235 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20236 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20237 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20238 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20239 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20240 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20241 [POSIX] (_SC_2_C_BIND): Likewise.
20242 [POSIX] (_SC_2_C_VERSION): Likewise.
20243 [POSIX] (_SC_2_PBS): Likewise.
20244 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20245 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20246 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20247 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20248 [POSIX] (_SC_2_PBS_TRACK): Likewise.
20249 [POSIX] (_SC_ATEXIT_MAX): Likewise.
20250 [POSIX] (_SC_BARRIERS): Likewise.
20251 [POSIX] (_SC_BASE): Likewise.
20252 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20253 [POSIX] (_SC_DEVICE_IO): Likewise.
20254 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20255 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20256 [POSIX] (_SC_FD_MGMT): Likewise.
20257 [POSIX] (_SC_FIFO): Likewise.
20258 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20259 [POSIX] (_SC_FILE_LOCKING): Likewise.
20260 [POSIX] (_SC_FILE_SYSTEM): Likewise.
20261 [POSIX] (_SC_IOV_MAX): Likewise.
20262 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20263 [POSIX] (_SC_NETWORKING): Likewise.
20264 [POSIX] (_SC_PAGE_SIZE): Likewise.
20265 [POSIX] (_SC_PASS_MAX): Likewise.
20266 [POSIX] (_SC_PIPE): Likewise.
20267 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20268 [POSIX] (_SC_REGEXP): Likewise.
20269 [POSIX] (_SC_SHELL): Likewise.
20270 [POSIX] (_SC_SIGNALS): Likewise.
20271 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20272 [POSIX] (_SC_SPIN_LOCKS): Likewise.
20273 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20274 [POSIX] (_SC_USER_GROUPS): Likewise.
20275 [POSIX] (_SC_USER_GROUPS_R): Likewise.
20276 [POSIX] (_SC_STREAMS): Likewise.
20277 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20278 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20279 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20280 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20281 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20282 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20283 [POSIX] (_PC_FILESIZEBITS): Likewise.
20284 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20285 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20286 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20287 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20288 [POSIX] (uid_t): Likewise.
20289 [POSIX] (gid_t): Likewise.
20290 [POSIX] (off_t): Likewise.
20291 [POSIX] (pid_t): Likewise.
20292 [POSIX] (cuserid): Allow.
20293 (_SC_2_CHAR_TERM): Require constant.
20294 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20295 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20296 variable.
20297
20298 2015-05-20 Roland McGrath <roland@hack.frob.com>
20299
20300 * sysdeps/nacl/pthread-pids.h: New file.
20301 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20302 (create_thread): Use __nacl_get_tid to initialize PD->tid.
20303
20304 * nptl/pthread-pids.h: New file.
20305 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20306 * nptl/nptl-init.c: Include <pthread-pids.h>.
20307 (__pthread_initialize_minimal_internal):
20308 Call __pthread_initialize_pids instead of set_tid_address syscall.
20309
20310 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20311 * sysdeps/posix/usleep.c: ... here.
20312
20313 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20314
20315 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20316 call_pselect6 object.
20317 [$(subdir) = io]: Remove call_sync_file_range object.
20318 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20319 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20320 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20321 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20322
20323 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
20324
20325 * math/s_cproj.c: Add include "math_private.h".
20326 * math/s_cprojf.c: Likewise.
20327 * math/s_cprojl.c: Likewise.
20328
20329 2015-05-19 Joseph Myers <joseph@codesourcery.com>
20330
20331 [BZ #18244]
20332 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20333 high mantissa bit when testing whether P is a NaN.
20334 * math/libm-test.inc (remainder_test_data): Add more tests.
20335 (remquo_test_data): Likewise.
20336
20337 [BZ #18049]
20338 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20339 below -32, return the argument, with underflow if subnormal.
20340 * math/auto-libm-test-in: Add more tests of atanh.
20341 * math/auto-libm-test-out: Regenerated.
20342
20343 2015-05-19 Roland McGrath <roland@hack.frob.com>
20344
20345 [BZ #18434]
20346 * nptl/tst-sem15.c: New file.
20347 * nptl/Makefile (tests): Add it.
20348 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20349 s/<</>>/ to fix typo in EOVERFLOW check.
20350 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20351
20352 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20353
20354 * manual/strings.texi (envz_remove): Fix typo in safety
20355 annotations.
20356
20357 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
20358 Steve Ellcey <sellcey@imgtec.com>
20359
20360 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20361 in order to avoid strict alias warnings.
20362 (iruserok_af): Ditto for ra.
20363
20364 2015-05-19 James Lemke <jwlemke@codesourcery.com>
20365
20366 [BZ #17581]
20367 * malloc/hooks.c
20368 (magicbyte): Convert to a function and avoid returning 0x01.
20369 (mem2mem_check): Avoid using a length byte equal to the magic byte.
20370 (mem2chunk_check): Fix unsigned comparisons to zero.
20371 Hoist defs of sz and magic.
20372
20373 2015-05-19 Richard Henderson <rth@redhat.com>
20374
20375 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20376
20377 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20378
20379 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20380
20381 [BZ #16159]
20382 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20383 * malloc/arena.c (arena_lock): Check if arena is corrupt.
20384 (reused_arena): Find a non-corrupt arena.
20385 (heap_trim): Pass arena to unlink.
20386 * malloc/hooks.c (malloc_check_get_size): Pass arena to
20387 malloc_printerr.
20388 (top_check): Likewise.
20389 (free_check): Likewise.
20390 (realloc_check): Likewise.
20391 * malloc/malloc.c (malloc_printerr): Add arena argument.
20392 (unlink): Likewise.
20393 (munmap_chunk): Adjust.
20394 (ARENA_CORRUPTION_BIT): New macro.
20395 (arena_is_corrupt): Likewise.
20396 (set_arena_corrupt): Likewise.
20397 (sysmalloc): Use mmap if there are no usable arenas.
20398 (_int_malloc): Likewise.
20399 (__libc_malloc): Don't fail if arena_get returns NULL.
20400 (_mid_memalign): Likewise.
20401 (__libc_calloc): Likewise.
20402 (__libc_realloc): Adjust for additional argument to
20403 malloc_printerr.
20404 (_int_free): Likewise.
20405 (malloc_consolidate): Likewise.
20406 (_int_realloc): Likewise.
20407 (_int_memalign): Don't touch corrupt arenas.
20408 * malloc/tst-malloc-backtrace.c: New test case.
20409
20410 * Makefile (summarize-tests): Fix return value on success.
20411
20412 * manual/string.texi (Envz Functions): Add envz_remove.
20413
20414 2015-05-18 Roland McGrath <roland@hack.frob.com>
20415
20416 * sysdeps/posix/opendir.c: Include <stdbool.h>.
20417 (invalid_name): New function, broken out of ...
20418 (__opendirat): ... here. Call it.
20419 (need_isdir_precheck): New function, broken out of ...
20420 (__opendirat): ... here. Call it.
20421 Use __fxstatat64, not __xstatat64.
20422 (opendir_oflags): New function, broken out of ...
20423 (__opendirat): ... here. Call it.
20424 (opendir_tail): New function, broken out of ...
20425 (__opendirat): ... here. Call it.
20426 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20427 opendir_tail, rather than punting to __opendirat.
20428 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20429
20430 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20431
20432 * .gitignore: Ignore generated *.pyc.
20433
20434 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
20435
20436 * include/stdio.h: Define __need_wint_t.
20437 * test-skeleton.c: Avoid `for' loop initial declaration.
20438 * nptl/tst-initializers1.c: Use test-skeleton.c.
20439
20440 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20441
20442 [BZ #18418]
20443 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20444
20445 2015-05-15 Joseph Myers <joseph@codesourcery.com>
20446
20447 [BZ #16352]
20448 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20449 (__ieee754_atanh): Force underflow exception for results with
20450 small absolute value.
20451 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20452 (__ieee754_atanhf): Force underflow exception for results with
20453 small absolute value.
20454 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20455 (__ieee754_atanh): Force underflow exception for results with
20456 small absolute value.
20457 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20458 (__ieee754_atanhf): Force underflow exception for results with
20459 small absolute value.
20460 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20461 (__ieee754_atanhl): Force underflow exception for results with
20462 small absolute value.
20463 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20464 (__ieee754_atanhl): Force underflow exception for results with
20465 small absolute value.
20466 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20467 (__ieee754_atanhl): Force underflow exception for results with
20468 small absolute value.
20469 * math/auto-libm-test-in: Do not allow missing underflow
20470 exceptions from atanh.
20471 * math/auto-libm-test-out: Regenerated.
20472
20473 [BZ #18221]
20474 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20475 2**-28 as threshold for returning x or +/- 1/x.
20476 * math/auto-libm-test-in: Add more tests of tan.
20477 * math/auto-libm-test-out: Regenerated.
20478
20479 [BZ #18220]
20480 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20481 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20482 * math/auto-libm-test-in: Add another test of lgamma.
20483 * math/auto-libm-test-out: Regenerated.
20484
20485 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
20486
20487 * stdio-common/printf_fp.c (___printf_fp): Use abs.
20488 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
20489 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20490 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20491 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
20492 (ADD2A): Use fabs. (SUB2A): Use fabs.
20493 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20494 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20496 (log1): Use fabs. (my_log2): Use fabs.
20497 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20498 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20499 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20500 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20501 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20502 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
20503 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
20504 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
20505 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
20506 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20507 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20508
20509 2015-05-15 Joseph Myers <joseph@codesourcery.com>
20510
20511 [BZ #18217]
20512 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20513 as threshold for returning 1 - x.
20514 * math/auto-libm-test-in: Add more tests of erfc.
20515 * math/auto-libm-test-out: Regenerated.
20516
20517 2015-05-14 Joseph Myers <joseph@codesourcery.com>
20518
20519 [BZ #18196]
20520 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20521 threshold for large arguments.
20522 * math/auto-libm-test-in: Add another test of atan.
20523 * math/auto-libm-test-out: Regenerated.
20524
20525 [BZ #16339]
20526 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20527 (__log1p): Force underflow exception for results with small
20528 absolute value.
20529 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20530 (__log1pf): Force underflow exception for results with small
20531 absolute value.
20532 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20533 (__log1p): Force underflow exception for results with small
20534 absolute value.
20535 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20536 (__log1pf): Force underflow exception for results with small
20537 absolute value.
20538 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20539 (__log1pl): Force underflow exception for results with small
20540 absolute value.
20541 * math/auto-libm-test-in: Do not allow missing underflow
20542 exceptions from log1p.
20543 * math/auto-libm-test-out: Regenerated.
20544
20545 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
20546 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20547
20548 [BZ #16704]
20549 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20550
20551 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
20552
20553 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20554 (libmvec): New variable.
20555 * configure.ac: Added option for mathvec build.
20556 * configure: Regenerated.
20557 * mathvec/Depend: New file.
20558 * mathvec/Makefile: New file.
20559 * shlib-versions: Added libmvec.
20560 * math/Makefile: Added rule for libm.so installation.
20561
20562 * bits/math-vector.h: New file.
20563 * bits/libm-simd-decl-stubs.h: New header.
20564 * math/Makefile (headers): Added new header
20565 libm-simd-decl-stubs.h.
20566 * math/math.h (__MATHCALL_VEC): New macro.
20567
20568 * math/gen-libm-have-vector-test.sh: Script generates series of macros
20569 for conditions in testing functions.
20570 * math/Makefile: Added call of libm-have-vector-test.sh.
20571 * math/libm-test.inc (HAVE_VECTOR): New macros.
20572
20573 * math/libm-test.inc: START refactored.
20574 * math/test-double.c (TEST_MATHVEC): Add define.
20575 * math/test-float.c: Likewise.
20576 * math/test-idouble.c: Likewise.
20577 * math/test-ifloat.c: Likewise.
20578 * math/test-ildoubl.c: Likewise.
20579 * math/test-ldouble.c: Likewise.
20580 * sysdeps/generic/math-tests-arch.h
20581 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20582 architecture check.
20583
20584 * math/test-double.c (FUNC_TEST): New macro.
20585 * math/test-float.c: Likewise.
20586 * math/test-idouble.c: Likewise.
20587 * math/test-ifloat.c: Likewise.
20588 * math/test-ildoubl.c: Likewise.
20589 * math/test-ldouble.c: Likewise.
20590 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20591
20592 2015-05-13 Roland McGrath <roland@hack.frob.com>
20593
20594 * sysdeps/nacl/fdopendir.c: New file.
20595
20596 * dirent/scandir-tail.c: New file.
20597 * dirent/scandir64-tail.c: New file.
20598 * dirent/Makefile (routines): Add them.
20599 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20600 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20601 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20602 [!SCANDIR] (SCANDIR_TAIL): New macro.
20603 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20604 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20605 (SCANDIRAT): Macro removed.
20606 (SCANDIR_TAIL): New macro.
20607 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20608 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20609 (SCANDIRAT): Just call __opendirat and __scandir_tail.
20610 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20611 (READDIR): Macro removed.
20612 (SCANDIR_TAIL): New macro.
20613 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20614 (SCANDIR_TAIL): New macro.
20615
20616 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20617 * dirent/scandir-cancel.c: ... to this new file.
20618 * dirent/Makefile (routines): Add it.
20619 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20620 * sysdeps/unix/sysv/linux/i386/scandir64.c
20621 (SKIP_SCANDIR_CANCEL): Macro removed.
20622 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20623
20624 * dirent/tst-scandir.c: New file.
20625 * dirent/tst-scandir64.c: New file.
20626 * dirent/Makefile (tests): Add them.
20627
20628 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
20629
20630 [BZ #18409]
20631 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20632
20633 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
20634
20635 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20636 list.
20637
20638 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
20639
20640 * benchtests/bench-strcoll.c: New benchmark.
20641 * benchtests/Makefile: Generate locales and run benchmark.
20642 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20643 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20644 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20645 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20646 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20647 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20648 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20649 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20650 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20651 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20652 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20653 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20654 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20655 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20656 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20657 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20658 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20659 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20660 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20661 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20662 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20663 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20664 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20665 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20666
20667 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
20668
20669 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20670 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20671
20672 2015-05-12 Roland McGrath <roland@hack.frob.com>
20673
20674 * posix/uname-values.h: New file.
20675 * posix/uname.c: Include that instead of <config-name.h>.
20676 * sysdeps/nacl/uname-values.h: New file.
20677 * sysdeps/arm/nacl/uname-values.h: New file.
20678
20679 2015-05-12 Joseph Myers <joseph@codesourcery.com>
20680
20681 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20682 splitting into fields.
20683
20684 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
20685
20686 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20687 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20688 * locale/localeinfo.h: Add enum collation_encoding_type.
20689 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20690 * programs/ld-collate.c (collate_output): Add encoding type info.
20691 * string/strcoll_l.c (STRDIFF): New function.
20692 * (STRCOLL): Use STRDIFF to skip over equal prefix.
20693 * wcsmbs/wcscoll_l.c: Define STRDIFF.
20694
20695 2015-05-11 Joseph Myers <joseph@codesourcery.com>
20696
20697 [BZ #18397]
20698 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20699 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
20700 <fpu_control.h> instead of <math/fpu_control.c>.
20701 * sysdeps/mips/mips32/fpu/Makefile: New file.
20702
20703 2015-05-11 Andreas Schwab <schwab@suse.de>
20704
20705 [BZ #18007]
20706 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20707 nss_endgrent.
20708 (_nss_compat_endgrent): Call nss_endgrent.
20709 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20710 nss_endpwent.
20711 (_nss_compat_endpwent): Call nss_endpwent.
20712 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20713 needent, call nss_setspent only if non-zero.
20714 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20715 (internal_endspent): Don't call nss_endspent.
20716 (_nss_compat_endspent): Call nss_endspent.
20717 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20718 Remove. All uses removed.
20719 (internal_setent): Remove parameter stayopen, add parameter
20720 stream. Use it instead of global variable.
20721 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20722 (internal_endent, internal_getent): Add parameter stream. Use it
20723 instead of global variable.
20724 (CONCAT(_nss_files_end,ENTNAME))
20725 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20726 (_nss_files_get##name##_r): Pass local stream. Remove locking.
20727 * nss/nss_files/files-alias.c (position, last_use): Remove. All
20728 uses removed.
20729 (internal_setent, internal_endent): Add parameter stream. Use it
20730 instead of global variable.
20731 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20732 stream.
20733 (get_next_alias): Add parameter stream.
20734 (_nss_files_getaliasent_r): Pass global stream.
20735 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
20736 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20737 (_nss_files_gethostbyname4_r): Pass local stream to
20738 internal_setent, internal_getent and internal_endent. Remove
20739 locking.
20740
20741 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20742
20743 * tst-strfmon1.c (tests): Update expected currency symbol.
20744
20745 2015-05-08 Roland McGrath <roland@hack.frob.com>
20746
20747 * sysdeps/nacl/gethostname.c: New file.
20748
20749 2015-05-08 Joseph Myers <joseph@codesourcery.com>
20750
20751 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20752 and sinh.
20753 * math/auto-libm-test-out: Regenerated.
20754 * sysdeps/i386/fpu/libm-test-ulps: Update.
20755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20756
20757 2015-05-08 Carlos O'Donell <carlos@redhat.com>
20758
20759 [BZ #18125]
20760 * stdlib/tst-setcontext3.c: New file.
20761 * stdlib/tst-setcontext3.sh: New file.
20762 * stdlib/Makefile (tests): Add tst-setcontext3.
20763 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20764 to verify test program created output file.
20765 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20766 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20767 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20768 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20769
20770 2015-05-06 Roland McGrath <roland@hack.frob.com>
20771
20772 [BZ #18383]
20773 * elf/tst-tlsalign.c: New file.
20774 * elf/tst-tlsalign-static.c: New file.
20775 * elf/tst-tlsalign-lib.c: New file.
20776 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20777 (tests-static): Add tst-tlsalign-static.
20778 (modules-names): Add tst-tlsalign-lib.
20779 (test-xfail-tst-tlsalign): New variable.
20780 (test-xfail-tst-tlsalign-static): New variable.
20781
20782 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
20783 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
20784
20785 2015-05-06 Joseph Myers <joseph@codesourcery.com>
20786
20787 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
20788 csqrt, erfc, sin and sincos.
20789 * math/auto-libm-test-out: Regenerated.
20790 * sysdeps/i386/fpu/libm-test-ulps: Update.
20791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20792
20793 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
20794
20795 * sysdeps/aarch64/libm-test-ulps: Update.
20796
20797 2015-05-05 Joseph Myers <joseph@codesourcery.com>
20798
20799 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
20800 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
20801 * math/auto-libm-test-out: Regenerated.
20802 * sysdeps/i386/fpu/libm-test-ulps: Update.
20803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20804
20805 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
20806
20807 [BZ #18265]
20808 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
20809 (wcsncpy): Likewise.
20810
20811 2015-05-05 Florian Weimer <fweimer@redhat.com>
20812
20813 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20814 Assume __ASSUME_FALLOCATE is always true.
20815 * sysdeps/unix/sysv/linux/posix_fallocate64.c
20816 (__posix_fallocate64_l64): Likweise.
20817 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
20818 (posix_fallocate): Likewise.
20819 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
20820 (__posix_fallocate64_l64): Likewise.
20821 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20822 [!__ASSUME_FALLOCATE]: Add comment.
20823
20824 2015-05-05 Florian Weimer <fweimer@redhat.com>
20825
20826 * sysdeps/unix/sysv/linux/i386/Makefile
20827 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
20828 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
20829 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
20830 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20831 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20832 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
20833 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
20834
20835 2015-05-02 Joseph Myers <joseph@codesourcery.com>
20836
20837 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
20838 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
20839 tgamma.
20840 * math/auto-libm-test-out: Regenerated.
20841 * sysdeps/i386/fpu/libm-test-ulps: Update.
20842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20843
20844 2015-05-01 Joseph Myers <joseph@codesourcery.com>
20845
20846 * math/auto-libm-test-in: Add more tests of tgamma.
20847 * math/auto-libm-test-out: Regenerated.
20848 * sysdeps/i386/fpu/libm-test-ulps: Update.
20849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20850
20851 * math/auto-libm-test-in: Add more tests of tanh.
20852 * math/auto-libm-test-out: Regenerated.
20853 * sysdeps/i386/fpu/libm-test-ulps: Update.
20854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20855
20856 * math/auto-libm-test-in: Add more tests of tan.
20857 * math/auto-libm-test-out: Regenerated.
20858 * sysdeps/i386/fpu/libm-test-ulps: Update.
20859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20860
20861 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
20862 * math/auto-libm-test-out: Regenerated.
20863 * sysdeps/i386/fpu/libm-test-ulps: Update.
20864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20865
20866 * math/auto-libm-test-in: Add another test of pow.
20867 * math/auto-libm-test-out: Regenerated.
20868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20869
20870 * math/auto-libm-test-in: Add more tests of lgamma.
20871 * math/auto-libm-test-out: Regenerated.
20872 * sysdeps/i386/fpu/libm-test-ulps: Update.
20873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20874
20875 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
20876 log1p.
20877 * math/auto-libm-test-out: Regenerated.
20878 * sysdeps/i386/fpu/libm-test-ulps: Update.
20879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20880
20881 2015-05-01 Mark Wielaard <mjw@redhat.com>
20882
20883 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20884 Elf64_Chdr structs and ELFCOMPRESS constants.
20885
20886 2015-05-01 Joseph Myers <joseph@codesourcery.com>
20887
20888 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20889 expm1.
20890 * math/auto-libm-test-out: Regenerated.
20891 * sysdeps/i386/fpu/libm-test-ulps: Update.
20892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20893
20894 * math/auto-libm-test-in: Add more tests of erf and erfc.
20895 * math/auto-libm-test-out: Regenerated.
20896 * sysdeps/i386/fpu/libm-test-ulps: Update.
20897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20898
20899 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
20900
20901 * config.h.in (HAVE_AARCH64_BE): Add.
20902
20903 2015-04-30 Joseph Myers <joseph@codesourcery.com>
20904
20905 * math/auto-libm-test-in: Add more tests of csqrt.
20906 * math/auto-libm-test-out: Regenerated.
20907 * sysdeps/i386/fpu/libm-test-ulps: Update.
20908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20909
20910 * math/auto-libm-test-in: Add more tests of cosh and sinh.
20911 * math/auto-libm-test-out: Regenerated.
20912 * sysdeps/i386/fpu/libm-test-ulps: Update.
20913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20914
20915 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20916
20917 2015-04-29 Roland McGrath <roland@hack.frob.com>
20918
20919 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20920 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20921
20922 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20923 (euidaccess, eaccess): Define as weak aliases.
20924
20925 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20926 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
20927 but __suseconds_t is often 'long int' so some sources assume that
20928 type is being used (e.g. they use %ld to print tv_usec).
20929
20930 2015-04-29 Florian Weimer <fweimer@redhat.com>
20931
20932 [BZ #18007]
20933 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20934 (CVE-2014-8121)
20935 * nss/tst-nss-getpwent.c: New file.
20936 * nss/Makefile (tests): Add new test.
20937
20938 2015-04-28 Joseph Myers <joseph@codesourcery.com>
20939
20940 [BZ #18346]
20941 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20942 exponents less than 48 as cases where high part of mantissa needs
20943 examining to determine whether argument is integral.
20944 * math/libm-test.inc (round_test_data): Add more tests.
20945
20946 2015-04-28 Mark Wielaard <mjw@redhat.com>
20947
20948 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20949
20950 2015-04-27 David S. Miller <davem@davemloft.net>
20951
20952 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20953 __tls_get_addr.
20954 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20955
20956 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
20957
20958 [BZ#18333]
20959 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20960
20961 2015-04-27 Florian Weimer <fweimer@redhat.com>
20962
20963 [BZ#18333]
20964 * time/tzset.c (parse_tzname): Return error on memory allocation
20965 failure.
20966 * test-skeleton.c (struct temp_name_list): Change type of name
20967 member to non-const.
20968 (add_temp_file): Create a copy of the file name.
20969 (delete_temp_files): Deallocate memory.
20970 (create_temp_file): Add comment.
20971
20972 2015-04-24 Florian Weimer <fweimer@redhat.com>
20973
20974 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20975 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20976
20977 2015-04-24 Roland McGrath <roland@hack.frob.com>
20978
20979 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20980 * sysdeps/arm/configure: Regenerated.
20981
20982 2015-04-24 Florian Weimer <fweimer@redhat.com>
20983
20984 [BZ #17715]
20985 * time/tzfile.c (__tzfile_read): Check for large values of
20986 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
20987 * time/tzset.c (__tzstring_len): New function, based on the old
20988 __tzstring function.
20989 (__tzstring): Call __tzstring_len.
20990 (parse_tzname): New helper function extracted from
20991 __tzset_parse_tz. Call __tzstring_len, without making a copy of
20992 the input string.
20993 (parse_offset): New helper function extracted from
20994 __tzset_parse_tz. Replace switch with fallthrough with
20995 initialization before sscanf.
20996 (parse_rule): Likewise.
20997 (__tzset_parse_tz): Rewrite using the new helper functions. Use
20998 new-style function definition.
20999 * timezone/Makefile (tests): Add tst-tzset.
21000 (tst-tzset.out): Dependencies on time zone files.
21001 (tst-tzset-ENV): Set TZDIR.
21002 (testdata/XT%): Copy crafted time zone files.
21003 * timezone/README: Mention crafted time zone files.
21004 * timezone/testdata/XT1, timezone/testdata/XT2,
21005 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21006 files.
21007 * timezone/tst-tzset.c: New test.
21008
21009 2015-04-24 Florian Weimer <fweimer@redhat.com>
21010
21011 * Makeconfig (+gccwarn): Remove -Winline.
21012
21013 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21014
21015 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21016
21017 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21018
21019 * NEWS: Mention sysconf() cache information support for s390.
21020 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21021
21022 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
21023
21024 * math/k_casinh.c (__kernel_casinh): Use __copysign.
21025 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21026 (__nearbyint): Likewise.
21027 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21028 (copysignl): Likewise.
21029
21030 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
21031
21032 [BZ #18287]
21033 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21034 based on padding. (CVE-2015-1781)
21035
21036 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21037
21038 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21039 libc-vdso.h.
21040 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21041 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21042 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21043 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21044 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21045 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21046 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21047 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21048 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21049 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21050 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21051 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21052 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21053 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21054 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21055 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21056 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21057 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21058 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21059 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21060 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21061 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21062 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21063
21064 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
21065
21066 * stdlib/setenv.c (__add_to_environ):
21067 Dump core quickly if setenv (..., NULL, ...) is called.
21068 This time, do it the right way, and pacify GCC with a pragma.
21069
21070 2015-04-17 Roland McGrath <roland@hack.frob.com>
21071
21072 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21073 IMAP->l_prev cannot be null, and #if out the code for the contrary
21074 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21075 believe that NS (&_dl_ns[NSID]) could point outside the array.
21076
21077 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21078 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21079 before using NSID as an index.
21080
21081 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
21082
21083 [BZ #17825]
21084 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21085 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21086 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21087
21088 2015-04-17 Roland McGrath <roland@hack.frob.com>
21089
21090 Add preliminary port to Google Native Client on ARM.
21091 * abi-tags (.*-.*-nacl.*): New entry.
21092 * sysdeps/arm/nacl: New directory.
21093 * sysdeps/nacl: New directory.
21094
21095 2015-04-16 David S. Miller <davem@davemloft.net>
21096
21097 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21098 lowlevellock-futex.h
21099
21100 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
21101
21102 * sysdeps/tile/configure.ac: New file.
21103 * sysdeps/tile/configure: Regenerated.
21104
21105 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21106
21107 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
21108 conditionals for weak_alias and libc_hidden_weak.
21109 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21110 libc_hidden_weak and weak_alias.
21111 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21112 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21113 and weak_alias for static one.
21114
21115 2015-04-15 David S. Miller <davem@davemloft.net>
21116
21117 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21118
21119 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21120
21121 [BZ #18206]
21122 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21123 Use signed comparision instead of substraction to avoid
21124 overflow bug.
21125 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21126 Take the sign of ret.
21127 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21128 Do not expect precise return values. Only the sign matters.
21129 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21130 * wcsmbs/test-wcsncmp.c: New File.
21131 * string/test-strncmp.c: Add wcsncmp support.
21132
21133 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
21134
21135 [BZ #6792]
21136 * math/w_log1p.c: New file.
21137 * math/w_log1pf.c: Likewise.
21138 * math/w_log1pl.c: Likewise.
21139 * math/Makefile (libm-calls): Add w_log1p.
21140 * math/s_log1pl.c (log1pl): Remove weak_alias.
21141 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21142 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21143 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21144 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21145 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21146 [NO_LONG_DOUBLE] (log1pl): Likewise.
21147 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21148 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21149 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21150 (log1p): Remove long_double_symbol.
21151 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21152 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21153 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21154 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21155 remove weak_alias for corresponding log1p function.
21156 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21157 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21158 * sysdeps/ia64/fpu/w_log1p.c: New file.
21159 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21160 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21161 * math/libm-test.inc (log1p_test_data): Add errno expectations.
21162
21163 2015-04-10 Joseph Myers <joseph@codesourcery.com>
21164
21165 [BZ #18247]
21166 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21167 decimal exponent by 1.
21168 * stdlib/tst-strtod-round-data: Add more tests.
21169 * stdlib/tst-strtod-round.c (tests): Regenerated.
21170
21171 2015-04-09 Joseph Myers <joseph@codesourcery.com>
21172
21173 * math/auto-libm-test-in: Add more tests of clog and clog10.
21174 * math/auto-libm-test-out: Regenerated.
21175 * sysdeps/i386/fpu/libm-test-ulps: Update.
21176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21177
21178 2015-04-09 Roland McGrath <roland@hack.frob.com>
21179
21180 * Makeconfig (module-cppflags): Exclude all .v.i files.
21181 (skip-module-cppflags): Variable removed.
21182
21183 * configure.ac (libc_config_ok): Initialize before reading
21184 preconfigure scripts, not after.
21185 * configure: Regenerated.
21186
21187 * test-skeleton.c (TIMEOUT): Move #define to top level.
21188 (main): Grok environment variable TEST_DIRECT. If set, print
21189 test expectation details into that file and then behave as if
21190 given --direct.
21191
21192 2015-04-09 Florian Weimer <fweimer@redhat.com>
21193
21194 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21195 warning on 32-bit.
21196
21197 2015-04-08 David S. Miller <davem@davemloft.net>
21198
21199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21200
21201 2015-04-08 Joseph Myers <joseph@codesourcery.com>
21202
21203 * math/auto-libm-test-in: Add more tests of atanh.
21204 * math/auto-libm-test-out: Regenerated.
21205 * sysdeps/i386/fpu/libm-test-ulps: Update.
21206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21207
21208 * math/auto-libm-test-in: Add more tests of atan.
21209 * math/auto-libm-test-out: Regenerated.
21210 * sysdeps/i386/fpu/libm-test-ulps: Update.
21211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21212
21213 2015-04-08 Florian Weimer <fweimer@redhat.com>
21214
21215 * elf/pldd.c (main): Rewrite to use struct
21216 scratch_buffer instead of extend_alloca.
21217 * elf/pldd-xx.c (find_maps): Likewise.
21218 * grp/initgroups.c: Include <scratch_buffer.h> instead of
21219 <alloca.h>.
21220 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21221 scratch_buffer instead of extend_alloca.
21222 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21223 grp/compat-initgroups.c.
21224 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21225 Rewrite to use struct scratch_buffer instead of extend_alloca.
21226 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21227 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21228
21229 2015-04-08 Joseph Myers <joseph@codesourcery.com>
21230
21231 * math/auto-libm-test-in: Add more tests of cbrt.
21232 * math/auto-libm-test-out: Regenerated.
21233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21234
21235 * math/auto-libm-test-in: Add more tests of cabs.
21236 * math/auto-libm-test-out: Regenerated.
21237 * sysdeps/i386/fpu/libm-test-ulps: Update.
21238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21239
21240 [BZ #18210]
21241 [BZ #18211]
21242 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21243 (__ieee754_atan2): Set FE_TONEAREST mode for internal
21244 computations.
21245 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21246 clog10.
21247 * math/auto-libm-test-out: Regenerated.
21248 * sysdeps/i386/fpu/libm-test-ulps: Update.
21249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21250
21251 [BZ #18197]
21252 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21253 (atan): Set FE_TONEAREST mode for internal computations.
21254 * math/auto-libm-test-in: Add more tests of atan.
21255 * math/auto-libm-test-out: Regenerated.
21256
21257 2015-04-07 James Cowgill <james410@cowgill.org.uk>
21258
21259 [BZ #17930]
21260 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21261
21262 2015-04-07 Florian Weimer <fweimer@redhat.com>
21263
21264 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21265
21266 2015-04-07 Florian Weimer <fweimer@redhat.com>
21267
21268 * include/scratch_buffer.h: New file.
21269 * malloc/scratch_buffer_grow.c: Likewise.
21270 * malloc/scratch_buffer_grow_preserve.c: Likewise.
21271 * malloc/scratch_buffer_set_array_size.c: Likewise.
21272 * malloc/tst-scratch_buffer.c: Likewise.
21273 * malloc/Makefile (routines): Add scratch_buffer_grow.
21274 (tests): Add test case.
21275 * malloc/Versions (GLIBC_PRIVATE): Export
21276 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21277 __libc_scratch_buffer_set_array_size.
21278
21279 2015-04-06 Richard Henderson <rth@redhat.com>
21280
21281 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21282 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21283
21284 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21285 unsigned int before printing.
21286
21287 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21288
21289 [BZ #17596]
21290 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21291 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21292
21293 2015-04-02 Florian Weimer <fweimer@redhat.com>
21294
21295 * include/libc-internal.h (libc_max_align_t): Define.
21296
21297 2015-04-02 Andreas Schwab <schwab@suse.de>
21298
21299 [BZ #16850]
21300 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21301
21302 2015-04-02 Mel Gorman <mgorman@suse.de>
21303
21304 [BZ #17195]
21305 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21306 as well as the main arena.
21307
21308 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
21309
21310 [BZ #18185]
21311 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21312 sharing L2 cache to 2 for Silvermont/Knights Landing.
21313
21314 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
21315
21316 [BZ #17711]
21317 * config.make.in (have-protected-data): New.
21318 * configure.ac: Check linker support for protected data symbol.
21319 * configure: Regenerated.
21320 * elf/Makefile (modules-names): Add tst-protected1moda and
21321 tst-protected1modb if $(have-protected-data) is yes.
21322 (tests): Add tst-protected1a and tst-protected1b if
21323 $(have-protected-data) is yes.
21324 ($(objpfx)tst-protected1a): New.
21325 ($(objpfx)tst-protected1b): Likewise.
21326 (tst-protected1modb.so-no-z-defs): Likewise.
21327 * elf/tst-protected1a.c: New file.
21328 * elf/tst-protected1b.c: Likewise.
21329 * elf/tst-protected1mod.h: Likewise.
21330 * elf/tst-protected1moda.c: Likewise.
21331 * elf/tst-protected1modb.c: Likewise.
21332
21333 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
21334
21335 [BZ #17711]
21336 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21337 indicates it is called from do_lookup_x on relocation against
21338 protected data, skip the data definion in the executable from
21339 copy reloc.
21340 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21341 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21342 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21343 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21344 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21345 otherwise to 0.
21346 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21347 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21348 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21349 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21350 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21351 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21352
21353 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
21354
21355 * sysdeps/nptl/pthread.h: Remove duplicate definition of
21356 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21357
21358 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
21359
21360 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21361 THREAD_SETMEM_NC.
21362 * sysdeps/x86_64/nptl/tls.h: Ditto.
21363
21364 2015-03-27 Roland McGrath <roland@hack.frob.com>
21365
21366 * dlfcn/tststatic.c (main): Converted to ...
21367 (do_test): ... this.
21368 (TEST_FUNCTION): New macro.
21369 Include test-skeleton.c.
21370
21371 2015-03-26 Alan Modra <amodra@gmail.com>
21372
21373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21374 Don't segfault if ifunc resolver returns a NULL. Do set plt to
21375 zero for undefined weak.
21376 (elf_machine_plt_conflict): Similarly.
21377
21378 2015-03-25 Joseph Myers <joseph@codesourcery.com>
21379
21380 * math/auto-libm-test-in: Add more tests of acosh, asinh and
21381 atanh.
21382 * math/auto-libm-test-out: Regenerated.
21383 * sysdeps/i386/fpu/libm-test-ulps: Update.
21384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21385
21386 * math/auto-libm-test-in: Add another test of asin.
21387 * math/auto-libm-test-out: Regenerated.
21388 * sysdeps/i386/fpu/libm-test-ulps: Update.
21389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21390
21391 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21392 Remove macro.
21393 (LLL_EBX_REG): Likewise.
21394 (LLL_ENTER_KERNEL): Likewise.
21395
21396 * math/auto-libm-test-in: Add more tests of asin.
21397 * math/auto-libm-test-out: Regenerated.
21398 * sysdeps/i386/fpu/libm-test-ulps: Update.
21399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21400
21401 [BZ #18138]
21402 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21403 libc_do_syscall_args): New structure.
21404 (INTERNAL_SYSCALL_MAIN_0): New macro.
21405 (INTERNAL_SYSCALL_MAIN_1): Likewise.
21406 (INTERNAL_SYSCALL_MAIN_2): Likewise.
21407 (INTERNAL_SYSCALL_MAIN_3): Likewise.
21408 (INTERNAL_SYSCALL_MAIN_4): Likewise.
21409 (INTERNAL_SYSCALL_MAIN_5): Likewise.
21410 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
21411 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21412 Replace conditional definitions by conditional definitions of ....
21413 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
21414 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21415 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21416 (libpthread-sysdep_routines): Add libc-do-syscall.
21417 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21418 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21419 to __NR_futex not 240.
21420
21421 2015-03-25 Alan Modra <amodra@gmail.com>
21422
21423 * NEWS: Advertise TLS optimization.
21424 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21425 (DT_PPC_NUM): Increment.
21426 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21427 (CHECK_STATIC_TLS): Use here.
21428 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21429 TLS descriptors.
21430 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21431 * sysdeps/powerpc/dl-tls.c: New file.
21432 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21433 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21434 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21435 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21439
21440 2015-03-25 Alan Modra <amodra@gmail.com>
21441
21442 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21443 for overlapping .opd entries" to "support...".
21444 * sysdeps/powerpc/powerpc64/configure: Regenerate
21445
21446 2015-03-25 Joseph Myers <joseph@codesourcery.com>
21447
21448 * math/auto-libm-test-in: Add more tests of acos.
21449 * math/auto-libm-test-out: Regenerated.
21450 * sysdeps/i386/fpu/libm-test-ulps: Update.
21451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21452
21453 * math/auto-libm-test-in: Add more tests of expm1.
21454 * math/auto-libm-test-out: Regenerated.
21455 * sysdeps/i386/fpu/libm-test-ulps: Update.
21456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21457
21458 2015-03-24 Joseph Myers <joseph@codesourcery.com>
21459
21460 * math/auto-libm-test-in: Add more tests of cosh and sinh.
21461 * math/auto-libm-test-out: Regenerated.
21462 * sysdeps/i386/fpu/libm-test-ulps: Update.
21463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21464
21465 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21467
21468 * math/auto-libm-test-in: Add more tests of log2.
21469 * math/auto-libm-test-out: Regenerated.
21470 * sysdeps/i386/fpu/libm-test-ulps: Update.
21471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21472
21473 2015-03-23 Roland McGrath <roland@hack.frob.com>
21474
21475 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21476 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
21477 _IO_IS_APPENDING bit in READ_WRITE instead.
21478
21479 2015-03-23 Florian Weimer <fweimer@redhat.com>
21480
21481 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21482 (__determine_cpumask_size): Replace extend_alloca with a
21483 variable-length array. Do not treat res == 0 as an error.
21484
21485 2015-03-23 Florian Weimer <fweimer@redhat.com>
21486
21487 [BZ #18100]
21488 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21489 and integer overflow.
21490 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21491 (main): Add integer overflow tests.
21492 * manual/pattern.texi (Calling Wordexp): Document additional use
21493 for WRDE_SYNTAX.
21494
21495 2015-03-23 Alan Modra <amodra@gmail.com>
21496
21497 * config.h.in: Remove HAVE_ASM_PPC_REL16.
21498 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21499 and false branch of conditional.
21500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21501 Likewise.
21502
21503 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
21504
21505 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21506 libc-modules.h
21507 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21508 unused declaration of _hurd_intr_rpc_msg_in_trap.
21509 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21510 defined instead of whether it is non-zero.
21511 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21512 input constraint instead of both input and output constraint. Use ecx
21513 clobber instead of %ecx.
21514 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21515 mutex_unlock): Use a statement expression instead of an expression list.
21516 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21517 type to vm_size_t instead of vm_address_t.
21518 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21519 defined instead of whether it is non-zero.
21520 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21521 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21522 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21523 comparisons with mapaddr.
21524 * nscd/nscd-client.h: Include <time.h>.
21525 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21526 9th parameter to __vm_region instead of int.
21527 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21528 * scripts/check-local-headers.sh (exclude): Add device/,
21529 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21530 cthreads.h.
21531
21532 2015-03-19 Roland McGrath <roland@hack.frob.com>
21533
21534 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21535 to account for alignment padding.
21536 * sysdeps/arm/memmove.S: Likewise.
21537
21538 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
21539
21540 * sysdeps/unix/sysv/linux/generic/README: New file.
21541
21542 2015-03-18 Joseph Myers <joseph@codesourcery.com>
21543
21544 [BZ #18138]
21545 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21546 (futex_abstimed_wait)
21547 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21548 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21549 of lll_futex_timed_wait.
21550
21551 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
21552
21553 [BZ #17542]
21554 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21555
21556 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
21557
21558 [BZ #17090]
21559 [BZ #17620]
21560 [BZ #17621]
21561 [BZ #17628]
21562 * NEWS: Update.
21563 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21564 entries with Static TLS too. Skip entries past the end of the
21565 allocated DTV, from Alan Modra.
21566 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
21567 Static TLS DTV entry set up from...
21568 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21569 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21570 * nptl/allocatestack.c (init_one_static_tls): ... and here...
21571 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21572 for Static TLS.
21573 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
21574 that the slot we find is associated with the given map before
21575 using its generation count.
21576 * nptl_db/db_info.c: Include ldsodefs.h.
21577 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21578 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21579 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21580 (link_map::l_tls_offset): New struct field.
21581 (dtv_t::counter): Likewise.
21582 (rtld_global): New struct.
21583 (_rtld_global): New rtld variable.
21584 (dl_tls_dtv_slotinfo_list): New rtld global field.
21585 (dtv_slotinfo_list): New struct.
21586 (dtv_slotinfo): Likewise.
21587 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21588 (td_lookup): Rename to...
21589 (td_mod_lookup): ... this. Use new mod parameter instead of
21590 LIBPTHREAD_SO.
21591 * nptl_db/td_thr_tlsbase.c: Include link.h.
21592 (dtv_slotinfo_list, dtv_slotinfo): New functions.
21593 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
21594 addresses even if the DTV is out of date or missing them.
21595 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21596 index zero-length arrays.
21597 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21598 (td_lookup): Make it a macro implemented in terms of...
21599 (td_mod_lookup): ... this declaration.
21600 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21601 (DB_MAIN_VARIABLE): Likewise.
21602
21603 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
21604
21605 [BZ #18134]
21606 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21607
21608 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
21609
21610 * stdlib/setenv.c (__add_to_environ): Revert previous change.
21611
21612 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
21613
21614 [BZ #18128]
21615 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21616 (atomic_add, atomic_increment_and_test)
21617 (atomic_decrement_and_test): Fix 64-bit arithmetic.
21618
21619 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
21620
21621 * stdlib/setenv.c (__add_to_environ):
21622 Dump core quickly if setenv (..., NULL, ...) is called.
21623
21624 2015-03-13 Roland McGrath <roland@hack.frob.com>
21625
21626 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21627 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21628 all the necessary asm magic in one place.
21629 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21630 using those.
21631
21632 2015-03-13 Carlos O'Donell <carlos@redhat.com>
21633
21634 [BZ #14906]
21635 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21636 traced file mtime. Use consistent log message.
21637 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21638 (register_traced_file): Call install_watches. Always set mtime.
21639 (invalidate_cache): Iterate over all trace files. Call install_watches.
21640 (inotify_check_files): Don't inline. Handle watching parent
21641 directories and configuration file movement in and out.
21642 (handle_inotify_events): New function.
21643 (main_loop_poll): Call handle_inotify_events.
21644 (main_loop_epoll): Likewise.
21645 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21646 (struct traced_file): Use array of inotify fds. Add parent directory,
21647 and basename.
21648 (struct database_dyn): Remove unused file_mtime.
21649 (init_traced_file): New inline function.
21650 (define_traced_file): New macro.
21651 * nss/nss_db/db-init.c: Use define_traced_file.
21652 (_nss_db_init): Use init_traced_file.
21653 * nss/nss_files/files-init.c: Use define_traced_file.
21654 (_nss_files_init): Use init_traced_file.
21655
21656 2015-03-12 Joseph Myers <joseph@codesourcery.com>
21657
21658 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21659 [_LIBC]: Do not include <stdlib.h>.
21660 [!_LIBC] (abort): Remove declaration.
21661 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21662 _FP_STATIC_ASSERT instead of conditionally calling abort.
21663 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21664 (_FP_EXTEND_CNAN): Likewise.
21665 (FP_TRUNC): Likewise.
21666 (__FP_CLZ): Likewise.
21667 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21668
21669 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
21670
21671 * manual/string.texi (XPG basename): Fix prototype.
21672
21673 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
21674
21675 [BZ #18080]
21676 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21677 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21678 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21679 (__setcontext): Likewise.
21680 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21681 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21682 Call rt_sigprocmask syscall one time to set new signal mask
21683 and retrieve the current signal mask instead of two calls.
21684 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21685 (__swapcontext): Likewise.
21686 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21687 * stdlib/tst-setcontext2.c: New file.
21688
21689 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
21690
21691 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21692
21693 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
21694
21695 [BZ #18093]
21696 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21697 the wrong size.
21698
21699 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
21700
21701 [BZ #18043]
21702 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21703
21704 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21705
21706 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21707 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21708 Remove define.
21709 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21710 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21711 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21712 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21713 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21714 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21715 define.
21716 * nptl_db/td_symbol_list.c (td_lookup): Remove
21717 HAVE_ASM_GLOBAL_DOT_NAME code.
21718 * sysdeps/powerpc/powerpc64/configure.ac: Remove
21719 HAVE_ASM_GLOBAL_DOT_NAME check.
21720 * sysdeps/powerpc/powerpc64/configure: Regenerate.
21721 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21722 (DOT_LABEL): Remove define.
21723 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21724 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21725 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21726 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21727 (__TLS_GET_ADDR): Likewise.
21728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21729 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21730
21731 2015-03-11 Carlos O'Donell <carlos@redhat.com>
21732
21733 [BZ #18111]
21734 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21735 (_FPU_SETCW): Initialize cw from fpsr before storing.
21736 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21737 (fesetexceptflag): Rewrite using fpu_control.h.
21738 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21739
21740 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
21741
21742 [BZ #18110]
21743 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21744 asms.
21745 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21746
21747 2015-03-11 Joseph Myers <joseph@codesourcery.com>
21748
21749 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21750 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21751 abort.
21752 (_FP_FMA): Likewise.
21753 (_FP_DIV): Likewise.
21754
21755 2015-03-10 Roland McGrath <roland@hack.frob.com>
21756
21757 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21758 with 0 in that case.
21759 * Makefile (summarize-tests): New canned sequence, factored out of
21760 commands for targets tests and xtests. Display summary lines that
21761 don't start with PASS: or XFAIL: rather than ones that do start with
21762 ERROR: or FAIL:. Make the commands fail if any summary lines fail
21763 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21764 do start with ERROR: or FAIL:.
21765 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21766 (except for [$(build-shared) = yes]).
21767 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21768 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21769 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21770 * nptl/Makefile: Revert 2015-03-04 changes.
21771 [$(CXX) empty] (tests-unsupported): New variable.
21772 * debug/Makefile: Likewise.
21773
21774 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21775 gnulib file. Replace __attribute with __attribute__ throughout.
21776
21777 2015-03-10 Carlos O'Donell <carlos@redhat.com>
21778
21779 * sysdeps/hppa/fpu/libm-test-ulps: Update.
21780
21781 2015-03-10 Joseph Myers <joseph@codesourcery.com>
21782
21783 [BZ #18104]
21784 * math/auto-libm-test-in: Add another test of pow.
21785 * math/auto-libm-test-out: Regenerated.
21786
21787 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21788
21789 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
21790 $(config-cflags-nofma).
21791
21792 2015-03-10 Joseph Myers <joseph@codesourcery.com>
21793
21794 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
21795 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
21796 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
21797 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
21798 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
21799 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
21800 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
21801 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
21802 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
21803 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
21804 Add comment on closing #endif.
21805
21806 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
21807
21808 * posix/wordexp.c (CHAR_IN_SET): New macro.
21809 (parse_param): Use it.
21810
21811 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21812
21813 * sysdeps/powerpc/fpu/libm-test-ulps: update.
21814
21815 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
21816
21817 [BZ #18043]
21818 * posix/wordexp.c (parse_param): Fix buffer overflow.
21819 * posix/wordexp-test.c (test_case): Add test case.
21820
21821 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
21822
21823 [BZ #18042]
21824 * posix/wordexp.c (parse_backtick): Fix off-by-one.
21825 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21826
21827 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
21828
21829 [BZ #18043]
21830 * posix/wordexp-test.c (test_case): Add test for BZ #18043
21831 (do_bz18043): Delete.
21832 (at_page_end): New.
21833 (testit): Refactor to have words at the edge of unreadable page.
21834
21835 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21836
21837 [BZ #16734]
21838 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
21839 Cleanup read-only streams as well.
21840 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
21841
21842 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21843
21844 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
21845 <bits/libc-lockP.h>
21846
21847 2015-03-07 Joseph Myers <joseph@codesourcery.com>
21848
21849 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
21850 on [__KERNEL__].
21851 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21852 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21853 * soft-fp/op-common.h (_FP_DECL): Likewise.
21854
21855 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
21856
21857 * elf/ifuncdep2.c (global): Replace
21858 __attribute__((visibility("protected"))) with
21859 asm (".protected global").
21860 * elf/ifuncmod1.c (global): Likewise.
21861 * elf/ifuncmod5.c (global): Likewise.
21862
21863 2015-03-06 Joseph Myers <joseph@codesourcery.com>
21864
21865 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21866 <asm/sfp-machine.h> instead of <sfp-machine.h>.
21867
21868 2015-03-06 Roland McGrath <roland@hack.frob.com>
21869
21870 * manual/install.texi (Configuring and compiling):
21871 Document test-wrapper-env-only.
21872 * INSTALL: Regenerated.
21873
21874 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21875
21876 [BZ #18043]
21877 * posix/wordexp.c (parse_param): Fix buffer overflow.
21878 * posix/wordexp-test.c (do_bz18043): Add test case.
21879
21880 2015-03-06 Vincent Bernat <vincent@bernat.im>
21881
21882 * time/tst-strptime2.c (do_test): Ensure failing tests are
21883 reported correctly.
21884 * time/tst-strptime3.c (do_test): Likewise.
21885
21886 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
21887
21888 Fix aio_error thread-safety.
21889 * sysdeps/pthread/aio_error.c: New file
21890 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21891 synchronization.
21892
21893 2015-03-06 Florian Weimer <fweimer@redhat.com>
21894
21895 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21896 (group_number, vfprintf): Use it.
21897 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21898 (JUMP, REF): Use it.
21899 (WORK_BUFFER_SIZE): New enum constant.
21900 (process_arg, vfprintf): Use it.
21901
21902 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
21903
21904 * manual/errno.texi (Error Messages): Complete example function
21905 by adding missing #define.
21906 (program_invocation_name): Add statement indicating GNU
21907 extension and reference which header file declares the variable.
21908 (program_invocation_short_name): Likewise.
21909
21910 2015-03-06 Mike Frysinger <vapier@gentoo.org>
21911
21912 * manual/errno.texi (Error Messages): Delete strerror ISO C89
21913 compatibility note.
21914
21915 2015-03-05 Roland McGrath <roland@hack.frob.com>
21916
21917 * Makeconfig (test-wrapper-env-only): New variable.
21918 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21919 then use that with $(test-wrapper-env-only) rather than using
21920 $(test-wrapper-env) $(run-program-env) $($*-ENV).
21921
21922 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
21923
21924 [BZ #18082]
21925 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21926 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21927 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21928 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21929 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21930 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21931 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21932 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21933 Likewise.
21934 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21935 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21936 Likewise.
21937 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21938 Likewise.
21939 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21940 Likewise.
21941 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21942 Likewise.
21943 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21944 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21945 Likewise.
21946 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21947 Likewise.
21948 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21949 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21950
21951 2015-03-04 Roland McGrath <roland@hack.frob.com>
21952
21953 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21954 (ETH_ALEN): New macro.
21955 (struct ether_addr): Use it for length of ether_addr_octet.
21956
21957 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21958 (setdb): Don't call __nss_configure_lookup for "rpc".
21959 (do_test): Don't call test_rpc.
21960 (output_rpcent, test_rpc): Functions moved ...
21961 * sunrpc/test-rpcent.c: ... to this new file.
21962 * sunrpc/Makefile (tests): Add it.
21963
21964 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21965 __xpg_sigpause.
21966 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21967 * nptl/tst-signal6.c: Likewise.
21968 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21969 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21970
21971 * configure.ac (libc_cv_cxx_link_ok): New check.
21972 Reset CXX to empty if it fails to link.
21973 * configure: Regenerated.
21974 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21975 bug-atexit3-lib only if $(CXX) is nonempty.
21976 * nptl/Makefile (tests): Likewise for tst-cancel24.
21977 (tests, tests-static): Likewise for tst-cancel24-static.
21978 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21979 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21980 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21981 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21982
21983 2015-03-04 Andreas Schwab <schwab@suse.de>
21984
21985 [BZ #17631]
21986 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21987 for non-GCC compilers.
21988 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21989 Likewise.
21990
21991 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21992
21993 [BZ #17776]
21994 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21995 integer before bitwise and assembly operations.
21996 (feclearexcept): Likewise.
21997 * math/test-fenvinline.c: New file.
21998 * math/Makefile: Add test-fenvinline test.
21999
22000 2015-03-03 Alan Modra <amodra@gmail.com>
22001
22002 [BZ #16512]
22003 * scripts/localplt.awk: Strip off symbol version.
22004 * NEWS: Mention bug fix.
22005
22006 2015-03-02 Roland McGrath <roland@hack.frob.com>
22007
22008 * sysdeps/pthread/timer_routines.c
22009 (timer_free_list, thread_free_list, thread_active_list): Make static.
22010
22011 2015-03-02 Joseph Myers <joseph@codesourcery.com>
22012
22013 [BZ #17779]
22014 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22015 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22016 Undefine.
22017 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22018 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22019 Likewise.
22020 * sysdeps/unix/sysv/linux/sh/kernel-features.h
22021 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22022 Likewise.
22023
22024 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22025
22026 [BZ #18036]
22027 * posix/fnmatch_loop.c (END): Detect invalid pattern.
22028 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22029
22030 2015-03-02 Andreas Schwab <schwab@suse.de>
22031
22032 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22033 variable name.
22034
22035 2015-03-02 Florian Weimer <fweimer@redhat.com>
22036
22037 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22038 Return error status.
22039
22040 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
22041
22042 [BZ #15969]
22043 * locale/findlocale.c (_nl_find_locale): Introduce const
22044 version of loc_name and drop unsafe type casts.
22045
22046 2015-02-27 Roland McGrath <roland@hack.frob.com>
22047
22048 * dlfcn/tststatic2.c (main): Converted to ...
22049 (do_test): ... this.
22050 (TEST_FUNCTION): New macro.
22051 Include test-skeleton.c.
22052
22053 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
22054
22055 [BZ #17711]
22056 * elf/Makefile (tests): Add vismain only if PIE is enabled.
22057 (tests-pie): Add vismain.
22058 (CFLAGS-vismain.c): New.
22059 * elf/vismain.c: Add comments for PIE requirement.
22060
22061 2015-02-27 Joseph Myers <joseph@codesourcery.com>
22062
22063 [BZ #18046]
22064 [BZ #18047]
22065 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22066 0x1p-56L as threshold for just returning the argument.
22067 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22068 0x1p-32L as threshold for just returning the argument.
22069 * math/auto-libm-test-in: Add more tests of atanh.
22070 * math/auto-libm-test-out: Regenerated.
22071 * sysdeps/i386/fpu/libm-test-ulps: Update.
22072 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22073
22074 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
22075
22076 * string/bcopy.c (bcopy): Call memmove for performance.
22077
22078 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
22079
22080 * string/bzero.c (__bzero): Call memset for performance.
22081
22082 2015-02-27 John David Anglin <dave.anglin@bell.net>
22083
22084 [BZ #18068]
22085 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22086 to 00100000.
22087
22088 2015-02-27 Joseph Myers <joseph@codesourcery.com>
22089
22090 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22091
22092 2015-02-26 Joseph Myers <joseph@codesourcery.com>
22093
22094 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22095 (__kernel_standard): Use CSTR macro when setting exc.name.
22096 * sysdeps/ieee754/Makefile [$(subdir) = math]
22097 (CFLAGS-k_standard.c): Remove variable.
22098
22099 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22100 setting p and q from "else if" to "else".
22101 (qzero): Likewise.
22102 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22103 (qone): Likewise.
22104 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22105 (qzerof): Likewise.
22106 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22107 (qonef): Likewise.
22108 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22109 (qzero): Likewise.
22110 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22111 (qone): Likewise.
22112
22113 [BZ #18038]
22114 [BZ #18039]
22115 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22116 return pi/2 for arguments below 0x1p-113L.
22117 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22118 return pi/2 for arguments below 0x1p-106L.
22119 * math/auto-libm-test-in: Add more tests of acos.
22120 * math/auto-libm-test-out: Regenerated.
22121
22122 [BZ #16351]
22123 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22124 (MO): New macro.
22125 (__ieee754_asin): Force underflow exception for results with small
22126 absolute value.
22127 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22128 (MO): New macro.
22129 (__ieee754_asinf): Force underflow exception for results with
22130 small absolute value.
22131 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22132 (__ieee754_asin): Force underflow exception for results with small
22133 absolute value.
22134 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22135 (__ieee754_asinf): Force underflow exception for results with
22136 small absolute value.
22137 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22138 (__ieee754_asinl): Force underflow exception for results with
22139 small absolute value.
22140 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22141 (__ieee754_asinl): Force underflow exception for results with
22142 small absolute value.
22143 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22144 (__ieee754_asinl): Force underflow exception for results with
22145 small absolute value.
22146 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22147 Include <math.h>.
22148 * math/auto-libm-test-in: Do not mark underflow exceptions as
22149 possibly missing for bug 16351.
22150 * math/auto-libm-test-out: Regenerated.
22151
22152 [BZ #18030]
22153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22154 of power of 2 down when low part has opposite sign.
22155 * math/libm-test.inc (logb_test_data): Add more tests.
22156
22157 2015-02-26 Andreas Schwab <schwab@suse.de>
22158
22159 [BZ #18032]
22160 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22161 over collating symbol inside a bracket expression. Minor cleanup.
22162 * posix/tst-fnmatch3.c (do_test): Add test case.
22163
22164 2015-02-26 Joseph Myers <joseph@codesourcery.com>
22165
22166 [BZ #18029]
22167 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22168 Adjust exponent of power of 2 down when low part has opposite
22169 sign.
22170 * math/libm-test.inc (ilogb_test_data): Add more tests.
22171
22172 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
22173
22174 [BZ #15969]
22175 * locale/findlocale.c (_nl_find_locale): Fix constness error in
22176 the previous change.
22177
22178 [BZ #15969]
22179 * locale/findlocale.c (_nl_find_locale): Retry archive search
22180 after alias expansion.
22181
22182 2015-02-25 Roland McGrath <roland@hack.frob.com>
22183
22184 * iconv/tst-iconv3.c (main): Converted to ...
22185 (do_test): ... this.
22186 (TEST_FUNCTION): New macro.
22187 Include test-skeleton.c.
22188
22189 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22190 (convert): Make function static.
22191 (test_unalign): Likewise. Add const to argument pointee types.
22192 (main): Replace with static function do_test.
22193 Print "Succeeded." only if RET is zero.
22194 (TEST_FUNCTION): New macro.
22195 Include test-skeleton.c.
22196
22197 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22198 returns a null pointer.
22199
22200 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22201
22202 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22203 to __memcpy_ppc only for static builds.
22204
22205 2015-02-25 Joseph Myers <joseph@codesourcery.com>
22206
22207 [BZ #18020]
22208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22209 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22210 * math/auto-libm-test-in: Add more tests of asinh.
22211 * math/auto-libm-test-out: Regenerated.
22212 * sysdeps/i386/fpu/libm-test-ulps: Update.
22213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22214
22215 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
22216
22217 [BZ #15850]
22218 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22219 and ip6_mtuinfo definitions here.
22220 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22221 in this define too. Update comment.
22222
22223 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
22224
22225 * elf/sprof.c (load_shobj): Tweak error message to match others.
22226
22227 2015-02-24 Kevin Easton <kevin@guarana.org>
22228
22229 [BZ #16145] (partial fix)
22230 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22231 to reduce lock contention.
22232
22233 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
22234
22235 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22236 (struct timex): Update time comment.
22237 (ADJ_SETOFFSET): Define.
22238
22239 2015-02-24 Joseph Myers <joseph@codesourcery.com>
22240
22241 [BZ #18019]
22242 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22243 2**56 not 2**28 as threshold for log (2x) formula.
22244 * math/auto-libm-test-in: Add more tests of acosh.
22245 * math/auto-libm-test-out: Regenerated.
22246 * sysdeps/i386/fpu/libm-test-ulps: Update.
22247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22248
22249 2015-02-24 Mike Frysinger <vapier@gentoo.org>
22250
22251 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22252 parenthesis around the buf assignment.
22253 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22254
22255 2015-02-24 Joseph Myers <joseph@codesourcery.com>
22256
22257 [BZ #16783]
22258 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22259 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22260 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22261 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22262 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22263 * math/libm-test.inc (scalb_test_data): Add more tests.
22264
22265 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22266
22267 [BZ #17916]
22268 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22269 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22270
22271 2015-02-24 Eric Rannaud <e@nanocritical.com>
22272
22273 [BZ #17523]
22274 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22275 * io/bits/fcntl2.h (open): Use it.
22276 (openat): Likewise.
22277 * io/open.c (__libc_open): Likewise.
22278 * io/open64.c (__libc_open64): Likewise.
22279 * io/open64_2.c (__open64_2): Likewise.
22280 * io/open_2.c (__open_2): Likewise.
22281 * io/openat.c (__openat): Likewise.
22282 * io/openat64.c (__openat64): Likewise.
22283 * io/openat64_2.c (__openat64_2): Likewise.
22284 * io/openat_2.c (__openat_2): Likewise.
22285 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22286 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22287 * sysdeps/posix/open64.c (__libc_open64): Likewise.
22288 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22289 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22290 (__open_nocancel): Likewise.
22291 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22292 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22293 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22294
22295 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22296
22297 [BZ #14841]
22298 * resolv/gethnamaddr.c (getanswer): Skip logging if
22299 RES_USE_DNSSEC is set.
22300 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22301
22302 2015-02-24 Mike Frysinger <vapier@gentoo.org>
22303
22304 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22305
22306 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
22307
22308 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22309 201304L, for Unicode 7.
22310
22311 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
22312
22313 [BZ #17836]
22314 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22315 shared library. Add gmon-start.os otherwise.
22316 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22317 $(objpfx)gmon-start.os if builing shared library.
22318 ($(objpfx)g$(static-start-installed-name)): Likewise.
22319
22320 2015-02-23 Andreas Schwab <schwab@suse.de>
22321
22322 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22323
22324 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22325
22326 [BZ #17269]
22327 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22328 (enlarge_userbuf): Likewise.
22329
22330 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
22331
22332 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22333 * math/atest-exp.c (TIMEOUT): Adjust to 200.
22334 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22335 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22336
22337 2015-02-20 Joseph Myers <joseph@codesourcery.com>
22338
22339 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22340 expression inside statement expression.
22341
22342 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
22343
22344 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22345 <sysdeps/nptl/lowlevellock.h> and remove macros and
22346 functions that are now defined there.
22347 (SYS_futex): Remove.
22348 (lll_compare_and_swap): Remove.
22349 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22350
22351 2015-02-19 Joseph Myers <joseph@codesourcery.com>
22352
22353 [BZ #17999]
22354 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22355 instead of scandirat.
22356 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22357 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22358 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22359 __scandirat.
22360 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22361 (__scandirat): Declare. Use libc_hidden_proto.
22362 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22363 Remove variable.
22364 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22365
22366 2015-02-18 Joseph Myers <joseph@codesourcery.com>
22367
22368 [BZ #15319]
22369 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22370 (MO): New macro.
22371 (__ieee754_atan2): For results with small absolute value, force
22372 underflow exception and remove excess range and precision from
22373 return value.
22374 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22375 (MO): New macro.
22376 (__ieee754_atan2f): For results with small absolute value, force
22377 underflow exception and remove excess range and precision from
22378 return value.
22379 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22380 (MO): New macro.
22381 (__atan): For results with small absolute value, force underflow
22382 exception and remove excess range and precision from return value.
22383 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22384 (MO): New macro.
22385 (__atanf): For results with small absolute value, force underflow
22386 exception and remove excess range and precision from return value.
22387 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22388 <math.h>.
22389 (__ieee754_atan2): Force underflow exception for results with
22390 small absolute value.
22391 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22392 <math_private.h>.
22393 (atan): Force underflow exception for results with small absolute
22394 value.
22395 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22396 (__atanf): Force underflow exception for results with small
22397 absolute value.
22398 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22399 <math.h>.
22400 (__atanl): Force underflow exception for results with small
22401 absolute value.
22402 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22403 (__atanl): Force underflow exception for results with small
22404 absolute value.
22405 * sysdeps/x86/fpu/bits/mathinline.h
22406 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22407 (__ieee754_atan2): Only define inline for long double.
22408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22409 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22410 * math/auto-libm-test-in: Do not mark underflow exceptions as
22411 possibly missing for bug 15319. Add more tests of atan2.
22412 * math/auto-libm-test-out: Regenerated.
22413 * math/libm-test.inc (casin_test_data): Do not mark underflow
22414 exceptions as possibly missing for bug 15319.
22415 (casinh_test_data): Likewise.
22416 * sysdeps/i386/fpu/libm-test-ulps: Update.
22417
22418 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
22419
22420 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22421 * sysdeps/mips/bits/endian.h: Fix comments.
22422
22423 2015-02-18 Joseph Myers <joseph@codesourcery.com>
22424
22425 [BZ #17996]
22426 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22427 (hdestroy_r): Likewise.
22428 (hsearch_r): Likewise.
22429 (__hcreate_r): Declare and use libc_hidden_proto.
22430 (__hdestroy_r): Likewise.
22431 (__hsearch_r): Likewise.
22432 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22433 (hcreate): Call __hcreate_r instead of hcreate_r.
22434 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22435 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22436 as weak alias of __hcreate_r.
22437 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22438 __hdestroy_r.
22439 (hsearch_r): Rename to __hsearch_r and define as weak alias of
22440 __hsearch_r.
22441 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22442 Remove variable.
22443 (test-xfail-XPG4/search.h/linknamespace): Likewise.
22444 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22445 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22446 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22447
22448 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22449
22450 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22451 arena_lock into a single arena_get.
22452
22453 2015-02-17 Carlos O'Donell <carlos@redhat.com>
22454
22455 * dl-reloc.c: Inlucde libc-internal.h.
22456 (_dl_try_allocate_static_tls): Call ALIGN_UP.
22457 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22458 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22459 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22460 (grow_heap): Likewise.
22461 * malloc/malloc.c: Include libc-internal.h.
22462 (do_check_malloc): Call powerof2.
22463 (sysmalloc): Use pagesize. Call ALIGN_UP.
22464 (systrim): Use pagesize.
22465 (mremap_chunk): Use pagesize. Call ALIGN_UP.
22466 (__libc_valloc): Use pagesize.
22467 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22468
22469 2015-02-17 Joseph Myers <joseph@codesourcery.com>
22470
22471 [BZ #17991]
22472 * include/sys/resource.h (__getrlimit64): Declare. Use
22473 libc_hidden_proto.
22474 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22475 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
22476 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22477 getrlimit64.
22478 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22479 __getrlimit64.
22480 [!getrlimit64] (getrlimit64): Define as weak alias of
22481 __getrlimit64. Use libc_hidden_weak.
22482 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22483 using __getrlimit64 not __new_getrlimit64.
22484 (__GI_getrlimit64): Likewise.
22485 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22486 Likewise.
22487 (__GI_getrlimit64): Likewise.
22488 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22490 (getrlimit): Add __getrlimit64 alias.
22491 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22492 Likewise.
22493 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22494 Remove variable.
22495 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22496 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22497
22498 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
22499
22500 * libio/fileops.c: Add missing sys/mman.h
22501 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22502
22503 2015-02-17 Joseph Myers <joseph@codesourcery.com>
22504
22505 * manual/math.texi (Errors in Math Functions): Clarify goals
22506 regarding inexact and underflow exceptions.
22507
22508 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
22509
22510 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22511 * sysdeps/mips/memset.S: Ditto.
22512
22513 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
22514
22515 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22516
22517 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
22518
22519 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22520 (__v1longjmp): Remove versioned symbol.
22521 (__v1siglongjmp): Remove alias and versioned symbol.
22522 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22523 (__v2siglongjmp): Likewise.
22524
22525 2015-02-16 Torvald Riegel <triegel@redhat.com>
22526
22527 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22528
22529 2015-02-16 Mike Frysinger <vapier@gentoo.org>
22530
22531 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22532
22533 2015-02-16 Joseph Myers <joseph@codesourcery.com>
22534
22535 [BZ #17987]
22536 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22537 zero result does not depend on the sign resulting from
22538 subtraction.
22539 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22540 Likewise.
22541 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22542 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22543 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22544 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22545 * math/libm-test.inc (remquo_test_data): Add more tests.
22546
22547 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
22548
22549 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22550 Problem reported by J William Piggott.
22551
22552 2015-02-16 Joseph Myers <joseph@codesourcery.com>
22553
22554 [BZ #17978]
22555 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22556 products 4 * y and 2 * y where those would overflow.
22557 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22558 Likewise.
22559 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22560 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22561 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22562 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22563 * math/libm-test.inc (remquo_test_data): Add more tests.
22564
22565 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22566
22567 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22568 [defined _COMPILING_NEWLIB].
22569 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22570 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22571
22572 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22573 [!defined __mips_isa_rev || __mips_isa_rev < 6].
22574
22575 2015-02-16 Torvald Riegel <triegel@redhat.com>
22576
22577 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22578 acquired.
22579
22580 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
22581
22582 [BZ #17792]
22583 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22584 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22585 HOST_STACK_END_ADDR): Likewise.
22586
22587 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
22588
22589 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22590 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22591 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22592
22593 2015-02-13 Roland McGrath <roland@hack.frob.com>
22594
22595 * sysdeps/generic/c++-types.data: New file.
22596 * sysdeps/generic/ld.abilist: New file.
22597 * sysdeps/generic/libBrokenLocale.abilist: New file.
22598 * sysdeps/generic/libanl.abilist: New file.
22599 * sysdeps/generic/libc.abilist: New file.
22600 * sysdeps/generic/libcrypt.abilist: New file.
22601 * sysdeps/generic/libdl.abilist: New file.
22602 * sysdeps/generic/libm.abilist: New file.
22603 * sysdeps/generic/libpthread.abilist: New file.
22604 * sysdeps/generic/libresolv.abilist: New file.
22605 * sysdeps/generic/librt.abilist: New file.
22606
22607 2015-02-13 Joseph Myers <joseph@codesourcery.com>
22608
22609 [BZ #17569]
22610 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22611 Compute absolute value of x as modified by fmod, not original
22612 value of x.
22613 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22614 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
22615 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
22616 RUN_TEST_ffI_f1_mod8.
22617 (remquo_test_data): Add more tests.
22618
22619 2015-02-13 Roland McGrath <roland@hack.frob.com>
22620
22621 * sysdeps/init_array/pt-crti.S: New file.
22622
22623 2015-02-13 Joseph Myers <joseph@codesourcery.com>
22624
22625 [BZ #17967]
22626 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22627 __builtin_fmaf instead of relying on contraction of a * b + c.
22628
22629 2015-02-12 J William Piggott <elseifthen@gmx.com>
22630
22631 [BZ #17969]
22632 * manual/time.texi: correct the zoneinfo path in the TZ Variable
22633 node.
22634
22635 2015-02-12 Joseph Myers <joseph@codesourcery.com>
22636
22637 [BZ #17964]
22638 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22639 __builtin_fma instead of relying on contraction of a * b + c.
22640
22641 2015-02-12 Roland McGrath <roland@hack.frob.com>
22642
22643 * Makeconfig (ASFLAGS): Add -Werror=undef.
22644 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22645 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22646 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22647
22648 * Makeconfig (after-link): New variable.
22649 (+link-pie, +link-pie-tests): Use it.
22650 (+link-static, +link-static-tests): Likewise.
22651 (+link, +link-tests): Likewise.
22652 * Makerules (build-module, build-module-asneeded): Likewise.
22653 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22654 Likewise.
22655 * elf/Makefile ($(objpfx)ld.so): Likewise.
22656
22657 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
22658
22659 [BZ #17965]
22660 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22661 both struct timeval and struct timespec.
22662
22663 2015-02-12 Joseph Myers <joseph@codesourcery.com>
22664
22665 [BZ #16560]
22666 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22667 and redefine.
22668 (__ieee754_exp2l): Do not multiply small fractional parts by
22669 M_LN2l.
22670 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22671 small argument.
22672 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22673 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22674 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22675 * math/auto-libm-test-in: Add more tests of exp2.
22676 * math/auto-libm-test-out: Regenerated.
22677
22678 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22679
22680 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22681 unaligned path.
22682
22683 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22684
22685 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22686 little endian.
22687
22688 2015-02-12 Andreas Schwab <schwab@suse.de>
22689
22690 [BZ #15790]
22691 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22692 Filter out elision flags from value returned in kind.
22693 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22694 * nptl/tst-pthread-mutexattr.c: New file.
22695
22696 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
22697
22698 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22699 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22700 into gnu-gnu, and update comment to refer to abi-tags.
22701
22702 2015-02-11 Joseph Myers <joseph@codesourcery.com>
22703
22704 [BZ #15467]
22705 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22706 (__sincos): Set errno to EDOM for infinite argument.
22707 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22708 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22709 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22710 (__sincosl): Set errno to EDOM for infinite argument.
22711 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22712 (__sincosl): Set errno to EDOM for infinite argument.
22713 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22714 (__sincosl): Set errno to EDOM for infinite argument.
22715 * math/libm-test.inc (sincos_test_data): Test errno setting.
22716
22717 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
22718
22719 * string/strxfrm_l.c: Remove #define STRCMP.
22720 * string/strcoll_l.c: Remove #define STRLEN.
22721 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22722 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22723
22724 2015-02-10 Joseph Myers <joseph@codesourcery.com>
22725
22726 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22727 * sysdeps/mips/mips32/sfp-machine.h: ... here.
22728 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22729 * sysdeps/mips/mips64/Makefile: ... here.
22730 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22731 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22732 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22733 * sysdeps/mips/mips64/sfp-machine.h: ... here.
22734 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22735 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22736 * sysdeps/mips/mips64/n64/Implies: Likewise.
22737
22738 2015-02-10 Roland McGrath <roland@hack.frob.com>
22739
22740 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22741 <sys/time.h>, <string.h>, and <errno.h>.
22742 (dest_offset, dest_address, value, zero): Remove unused variables.
22743 (ldouble): Remove typedef.
22744 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22745 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
22746 1). Fix code style.
22747 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22748 (check): Function removed.
22749 (CHECK): New macro.
22750 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
22751 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22752 Don't call set_sigaction_FP and remove_sigaction_FP here.
22753 (ldouble_test): Just use 'long double' as macro argument, no need for
22754 the 'ldouble' typedef.
22755 (do_test): Set up SIGFPE handler at start, using plain signal rather
22756 than sigaction. Fix code style.
22757
22758 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
22759
22760 [BZ #17949]
22761 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22762 jump label.
22763
22764 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
22765
22766 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22767 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22768
22769 * sysdeps/powerpc/configure.ac: Remove file.
22770 * sysdeps/powerpc/configure: Likewise.
22771
22772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22773 [sysdep_routines]: Remove wordcopy-power6 object.
22774 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22775 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22776 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22777 (__memmove_ppc32): Likewise.
22778 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
22779 file.
22780 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
22781 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
22782 Remove preprocessor.
22783
22784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22785 [sysdep_routines]: Remove wide chars objects.
22786 [wcsmbs]: New rule for wide char objects.
22787
22788 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22789 Remove wordcopy-power6 obejct.
22790 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
22791 Use local call for wordcopy and memcpy symbols.
22792 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
22793 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
22794 implementation for loader.
22795 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
22796
22797 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22798 Remove wordcopy-power7 object.
22799 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
22800 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
22801 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
22802 (_wordcopy_fwd_dest_aligned): Likewise.
22803 (_wordcopy_bwd_aligned): Likewise.
22804 (_wordcopy_bwd_dest_aligned): Likewise.
22805
22806 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
22807 Rewrite to call __memmove_ppc instead of include default
22808 implementation.
22809
22810 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22811 Remove wide chars objects.
22812 [wcsmbs]: New rule for wide char objects.
22813
22814 2015-02-09 Andreas Schwab <schwab@suse.de>
22815
22816 [BZ #17912]
22817 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22818 in terms of __O_DIRECTORY.
22819
22820 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
22821
22822 * time/getdate.c: Include <stdbool.h>.
22823 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
22824 call PTR_MANGLE.
22825 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
22826 PTR_DEMANGLE.
22827
22828 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
22829
22830 Add ersatz _Static_assert on older C hosts
22831 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
22832 pre-C11 C platform that is not known to support _Static_assert.
22833
22834 2015-02-07 Richard Braun <rbraun@sceen.net>
22835
22836 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
22837 sigstate.
22838 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
22839
22840 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22841
22842 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
22843 priority against unexistent AIO_PRIO_DELTA_MAX.
22844 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
22845 instead of int.
22846 * misc/fchflags.c (fchflags): Likewise.
22847 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
22848 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
22849 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
22850 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22851 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22852 Declare macros.
22853 [__USE_MISC] (chflags, fchflags): Declare functions.
22854 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22855 EINVAL when nfds is greater than FD_SETSIZE.
22856 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22857 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22858 45.
22859 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22860 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22861 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22862 MACH_RCV_TIMED_OUT.
22863 * hurd/hurd/signal.h (_hurd_self_sigstate,
22864 _hurd_critical_section_lock, _hurd_critical_section_unlock):
22865 Explicit casts from void *.
22866 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22867 * abi-tags: Rename gnu-gnu os into gnu.
22868
22869 [BZ #4719]
22870 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22871 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22872 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22873 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22874 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22875 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22876
22877 [BZ #17944]
22878 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22879 duplicates ADDR->sun_path with sockaddr LEN limitation.
22880 * sysdeps/mach/hurd/connect.c: Include <string.h>
22881 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22882 * sysdeps/mach/hurd/sendmsg.c: Likewise.
22883 * sysdeps/mach/hurd/sendto.c: Likewise.
22884 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22885 implementing it by hand.
22886
22887 2015-02-06 Roland McGrath <roland@hack.frob.com>
22888
22889 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22890 Use sfi_breg on ldr.
22891 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22892 Likewise.
22893
22894 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22895 it's defined.
22896 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22897 Test SIGSETXID only if it's defined.
22898
22899 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22900
22901 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22902 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
22903
22904 * nptl/tst-align2.c: Moved ...
22905 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22906 * nptl/Makefile (tests): Remove tst-align2.
22907 * sysdeps/unix/sysv/linux/Makefile
22908 [$(subdir) = nptl] (tests): Add tst-align-clone.
22909 * nptl/tst-getpid1.c: Moved ...
22910 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22911 * nptl/tst-getpid2.c: Moved ...
22912 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22913 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22914 * sysdeps/unix/sysv/linux/Makefile
22915 [$(subdir) = nptl] (tests): ... here.
22916 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22917 * sysdeps/unix/sysv/linux/Makefile
22918 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22919
22920 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22921 Drop trailing \n from perror argument. Use return rather than exit.
22922
22923 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22924 on [SA_SIGINFO].
22925 * nptl/tst-cancel21.c (do_test): Likewise.
22926 * debug/tst-backtrace6.c: Include <signal.h> first thing.
22927 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22928 [!SA_SIGINFO]: Make it a stub test.
22929
22930 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22931 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22932
22933 * posix/tst-getlogin.c: Move to ...
22934 * login/tst-getlogin.c: ... here.
22935 * posix/Makefile (tests): Move tst-getlogin to ...
22936 * login/Makefile (tests): ... here.
22937
22938 * libio/tst-atime.c (do_test): Move local variables SV and E
22939 inside [ST_NOATIME] conditional.
22940
22941 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22942
22943 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22944
22945 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22946 (wait_code): New function replaces macro.
22947 Call nanosleep rather than syscall.
22948
22949 * nptl/pt-system.c: Rewritten. Put everything under
22950 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22951 Use IFUNC to redirect when possible.
22952
22953 * nptl/pt-longjmp.c: Rewritten. Put everything under
22954 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22955 Use IFUNC to redirect when possible.
22956
22957 * nptl/pt-fork.c: Rewritten. Put everything under
22958 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22959 Use IFUNC to redirect when possible.
22960 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22961
22962 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22963 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22964 unconditionally nowadays. This included the only reference to
22965 __vdso_clock_gettime that appears outside libc proper.
22966 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22967 Remove version set (containing only __vdso_clock_gettime).
22968 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22969 Add attribute_hidden.
22970 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22971 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22972 libc_hidden_data_def.
22973 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22974 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22975
22976 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22977 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22978 setrpcent, and getrpcport to ...
22979 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22980 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22981 getrpcbynumber_r, and getrpcent_r to ...
22982 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22983 * inet/getrpcbyname.c: Moved ...
22984 * sunrpc/getrpcbyname.c: ... here.
22985 * inet/getrpcbyname_r.c: Moved ...
22986 * sunrpc/getrpcbyname_r.c: ... here.
22987 * inet/getrpcbynumber.c: Moved ...
22988 * sunrpc/getrpcbynumber.c: ... here.
22989 * inet/getrpcbynumber_r.c: Moved ...
22990 * sunrpc/getrpcbynumber_r.c: ... here.
22991 * inet/getrpcent.c: Moved ...
22992 * sunrpc/getrpcent.c: ... here.
22993 * inet/getrpcent_r.c: Moved ...
22994 * sunrpc/getrpcent_r.c: ... here.
22995 * inet/Makefile (routines): Move those to ...
22996 * sunrpc/Makefile (routines): ... here.
22997 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22998 the $(subdirs) list.
22999 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
23000 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23001 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23002 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23003
23004 * elf/Makefile (routines): Include $(all-dl-routines), not just
23005 $(dl-routines).
23006 (rtld-routines): Likewise. Use = rather than :=.
23007 * sysdeps/aarch64/Makefile [$(subdir) = elf]
23008 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23009 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23010 * sysdeps/arm/Makefile: Likewise.
23011 * sysdeps/i386/Makefile: Likewise.
23012 * sysdeps/x86_64/Makefile: Likewise.
23013 * sysdeps/hppa/Makefile [$(subdir) = elf]
23014 (sysdep_routines, sysdep-rtld-routines): Don't add
23015 $(sysdep-dl-routines) to these.
23016 * sysdeps/ia64/Makefile: Likewise.
23017 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23018 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23019 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23020 Don't add dl-static to these; sysdep-dl-routines alone is enough.
23021 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23022 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23023 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23024 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23025 * sysdeps/powerpc/Makefile [$(subdir) = elf]
23026 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23027 these; sysdep-dl-routines alone is enough.
23028
23029 2015-02-06 Joseph Myers <joseph@codesourcery.com>
23030
23031 [BZ #17932]
23032 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23033 where multiplication results in zero and third argument is finite
23034 and nonzero.
23035 * math/auto-libm-test-in: Add more tests of fma.
23036 * math/auto-libm-test-out: Regenerated.
23037
23038 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23039 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23040 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23041 (_FP_CMP_EQ): Likewise.
23042 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23043
23044 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23045 extra argument CHECK_NAN. Redefine as wrapper around
23046 _FP_EXTEND_CNAN.
23047
23048 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
23049
23050 * version.h (RELEASE): Set to "stable".
23051 (VERSION): Set to "2.21"
23052 * include/features.h (__GLIBC_MINOR__): Set to 21.
23053
23054 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23055
23056 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23057 Paul Eggert <eggert@cs.ucla.edu>
23058
23059 [BZ #16618]
23060 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23061 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23062 size in bytes. Store needed elements in wpmax. Use needed size
23063 in bytes for extend_alloca.
23064
23065 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
23066
23067 * manual/install.texi: Latest tested versions are GCC 4.9.2,
23068 binutls 2.25, and texinfo 5.2.
23069 * INSTALL: Regenerate.
23070 * sysdeps/nios2/configure: Regenerate.
23071 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23072 * manual/contrib.texi: Update.
23073 * po/be.po: Update.
23074 * po/bg.po: Update.
23075 * po/ca.po: Update.
23076 * po/cs.po: Update.
23077 * po/da.po: Update.
23078 * po/de.po: Update.
23079 * po/el.po: Update.
23080 * po/eo.po: Update.
23081 * po/es.po: Update.
23082 * po/fi.po: Update.
23083 * po/fr.po: Update.
23084 * po/gl.po: Update.
23085 * po/hr.po: Update.
23086 * po/hu.po: Update.
23087 * po/ia.po: Update.
23088 * po/id.po: Update.
23089 * po/it.po: Update.
23090 * po/ja.po: Update.
23091 * po/ko.po: Update.
23092 * po/lt.po: Update.
23093 * po/nb.po: Update.
23094 * po/nl.po: Update.
23095 * po/pl.po: Update.
23096 * po/pt_BR.po: Update.
23097 * po/ru.po: Update.
23098 * po/rw.po: Update.
23099 * po/sk.po: Update.
23100 * po/sl.po: Update.
23101 * po/sv.po: Update.
23102 * po/tr.po: Update.
23103 * po/uk.po: Update.
23104 * po/vi.po: Update.
23105 * po/zh_CN.po: Update.
23106 * po/zh_TW.po: Update.
23107
23108 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23109 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23110 * sysdeps/hppa/dl-irel.h: Remove #warning.
23111 * sysdeps/hppa/entry.h: Provide prototype for
23112 __canonicalize_funcptr_for_compare and cast argument.
23113 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23114 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23115 * sysdeps/hppa/sotruss-lib.c: New file.
23116 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23117 (atomic_compare_and_exchange_val_acq): Use __typeof__.
23118 (atomic_compare_and_exchange_bool_acq): Likewise.
23119 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23120 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23121
23122 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23123 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23124 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23125
23126 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
23127
23128 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23129 called function in non-PIC case.
23130
23131 2015-01-31 David S. Miller <davem@davemloft.net>
23132
23133 * sysdeps/sparc/sparc32/bits/atomic.h
23134 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23135 unlock not after it.
23136 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23137 volatile register usage warnings from the compiler.
23138
23139 * sysdeps/sparc/nptl/sem_init.c: Delete.
23140 * sysdeps/sparc/nptl/sem_post.c: Delete.
23141 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23142 * sysdeps/sparc/nptl/sem_wait.c: Delete.
23143 * sysdeps/sparc/sparc32/sem_init.c: New file.
23144 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23145 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23146 padding explicitly initialized.
23147 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23148 padding for in-semaphore spinlock.
23149 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23150 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23151 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23152 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23153 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23154 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23155 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23156 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23157 version.
23158 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23159 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23160
23161 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
23162
23163 [BZ #17801]
23164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23165 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23166 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23167 New.
23168 (index_AVX_Fast_Unaligned_Load): Likewise.
23169 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23170 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23171 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23172 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23173 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23174 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23175 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23176 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23177 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23178
23179 2015-01-29 Andreas Schwab <schwab@suse.de>
23180
23181 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23182
23183 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23184
23185 [BZ #17892]
23186 * nscd/nscd_stat.c (send_stats): Initialize DATA.
23187
23188 2015-01-28 Martin Sebor <msebor@redhat.com>
23189
23190 * math/README.libm-test: Clarify. Add "How to read the test output."
23191
23192 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
23193
23194 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23195 Define to 0.
23196
23197 2015-01-28 Joseph Myers <joseph@codesourcery.com>
23198
23199 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23200 (__HAVE_64B_ATOMICS): Define to 0.
23201
23202 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
23203
23204 [BZ #17885]
23205 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23206 value to set as new flag.
23207
23208 [BZ #16576]
23209 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23210 and use _ARCH_PPCSQ instead.
23211 (__ieee754_sqrt): Likewise.
23212 (__ieee754_sqrtf): Likewise.
23213 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23214 _ARCH_PPCSQ is defined.
23215 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23216 fsqrt instruction.
23217 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23218 _ARCH_PPCSQ is defined.
23219 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23220 fsqrts instruction.
23221 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23222
23223 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23224
23225 * iconv/loop.c: Suppress array out of bound warning caused by GCC
23226 bug (GCC BZ #64739).
23227
23228 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
23229
23230 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23231 Mark _retval as used.
23232 (lll_futex_wake_unlock): Likewise.
23233 (lll_futex_timed_wait_requeue_pi): Likewise.
23234
23235 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23236 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23237 register variables.
23238
23239 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23240 libm_hidden_def.
23241
23242 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23243 (__bswap_64): Mark as __always_inline.
23244
23245 2015-01-25 Bram <bug_rh@spam.wizbit.be>
23246
23247 [BZ #15378]
23248 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23249 when none of the search directories exist.
23250
23251 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
23252
23253 [BZ #17869]
23254 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23255 power8 in .machine directive.
23256
23257 [BZ #17868]
23258 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23259 set dependency from opd value.
23260
23261 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
23262
23263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23264 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23265 architecture.
23266
23267 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
23268
23269 [BZ #17870]
23270 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23271 with uint64_t.
23272 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23273 (uint64_t) 1.
23274 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23275 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23276 Replace 1UL with (uint64_t) 1.
23277 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23278 int with uint64_t.
23279
23280 2015-01-23 Roland McGrath <roland@hack.frob.com>
23281
23282 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23283 (if_freenameindex): Likewise.
23284
23285 * resource/getrlimit64.c: Add missing libc_hidden_def.
23286
23287 2015-01-22 Joseph Myers <joseph@codesourcery.com>
23288
23289 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23290 __label__.
23291 (_FP_FMA): Likewise.
23292 (_FP_TO_INT_ROUND): Likewise.
23293 (_FP_FROM_INT): Likewise.
23294
23295 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23296
23297 [BZ #16418]
23298 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23299 Make code racy and cancel safe.
23300
23301 2015-01-21 Carlos O'Donell <carlos@redhat.com>
23302
23303 * sysdeps/arm/unwind-resume.h: Fix copyright year.
23304 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23305 attribution.
23306
23307 * pwd/tst-getpw.c: Rewrite.
23308
23309 [BZ #17702]
23310 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23311 (modules-names): Add moddummy1 and moddummy2.
23312 ($(objpfx)tst-rec-dlopen): Define.
23313 * dlfcn/moddummy1.c: New file.
23314 * dlfcn/moddummy2.c: New file.
23315 * dlfcn/tst-rec-dlopen.c: New file.
23316 * elf/dl-cache.c (_dl_load_cache_lookup):
23317 Return char*. Copy result with alloca/strcpy/strdup.
23318 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23319 returns char*. Free cached. If not saving realname
23320 free cached.
23321 * elf/dl-open.c (dl_open_worker): Do not assert that
23322 _r_debug->r_state is RT_CONSISTENT.
23323 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23324 returns char*.
23325
23326 2015-01-21 Torvald Riegel <triegel@redhat.com>
23327 Carlos O'Donell <carlos@redhat.com>
23328
23329 [BZ #12674]
23330 * nptl/sem_waitcommon.c: New file.
23331 * nptl/sem_wait.c: Include sem_waitcommon.c.
23332 (__sem_wait_cleanup, do_futex_wait): Remove.
23333 (__new_sem_wait): Adapt.
23334 (__new_sem_trywait): New function.
23335 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23336 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23337 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23338 (sem_timedwait): Adapt.
23339 * nptl/sem_post.c (__new_sem_post): Adapt.
23340 (futex_wake): New function.
23341 (__old_sem_post): Add release MO fence.
23342 * nptl/sem_open.c (sem_open): Adapt.
23343 * nptl/sem_init.c (__new_sem_init): Adapt.
23344 (futex_private_if_supported): New function.
23345 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23346 (__old_sem_getvalue): Add using previous code.
23347 * sysdeps/nptl/internaltypes.h: Adapt.
23348 * nptl/tst-sem13.c (do_test): Adapt.
23349 * nptl/tst-sem11.c (main): Adapt.
23350 * nptl/sem_trywait.c: Remove.
23351 * nptl/DESIGN-sem.txt: Remove.
23352 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23353 (gen-as-const-headers): Remove structsem.sym.
23354 * nptl/structsem.sym: Remove.
23355 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23356 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23357 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23358 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23359 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23360 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23361 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23362 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23363 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23364 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23365 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23366 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23367 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23368 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23369 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23370 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23371 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23372 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23373 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23374 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23375 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23376 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23377
23378 2015-01-20 Carlos O'Donell <carlos@redhat.com>
23379
23380 * INSTALL: Regenerated.
23381
23382 * po/libc.pot: Regenerated.
23383
23384 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
23385 Sandra Loosemore <sandra@codesourcery.com>
23386 Andrew Jenner <andrew@codesourcery.com>
23387 Joseph Myers <joseph@codesourcery.com>
23388 Nathan Sidwell <nathan@codesourcery.com>
23389
23390 * NEWS: Mention new Nios II port.
23391 * sysdeps/nios2/Implies: New file.
23392 * sysdeps/nios2/Makefile: New file.
23393 * sysdeps/nios2/Subdirs: New file.
23394 * sysdeps/nios2/Versions: New file.
23395 * sysdeps/nios2/__longjmp.S: New file.
23396 * sysdeps/nios2/abort-instr.h: New file.
23397 * sysdeps/nios2/backtrace.c: New file.
23398 * sysdeps/nios2/bits/endian.h: New file.
23399 * sysdeps/nios2/bits/fenv.h: New file.
23400 * sysdeps/nios2/bits/link.h: New file.
23401 * sysdeps/nios2/bits/setjmp.h: New file.
23402 * sysdeps/nios2/bsd-_setjmp.S: New file.
23403 * sysdeps/nios2/bsd-setjmp.S: New file.
23404 * sysdeps/nios2/configure: New generated file.
23405 * sysdeps/nios2/configure.ac: New file.
23406 * sysdeps/nios2/crti.S: New file.
23407 * sysdeps/nios2/crtn.S: New file.
23408 * sysdeps/nios2/dl-init.c: New file.
23409 * sysdeps/nios2/dl-machine.h: New file.
23410 * sysdeps/nios2/dl-sysdep.h: New file.
23411 * sysdeps/nios2/dl-tls.h: New file.
23412 * sysdeps/nios2/dl-trampoline.S: New file.
23413 * sysdeps/nios2/gccframe.h: New file.
23414 * sysdeps/nios2/gmp-mparam.h: New file.
23415 * sysdeps/nios2/jmpbuf-offsets.h: New file.
23416 * sysdeps/nios2/jmpbuf-unwind.h: New file.
23417 * sysdeps/nios2/ldsodefs.h: New file.
23418 * sysdeps/nios2/libc-tls.c: New file.
23419 * sysdeps/nios2/libm-test-ulps: New file.
23420 * sysdeps/nios2/machine-gmon.h: New file.
23421 * sysdeps/nios2/math-tests.h: New file.
23422 * sysdeps/nios2/math_private.h: New file.
23423 * sysdeps/nios2/memusage.h: New file.
23424 * sysdeps/nios2/nptl/Makefile: New file.
23425 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23426 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23427 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23428 * sysdeps/nios2/nptl/pthreaddef.h: New file.
23429 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23430 * sysdeps/nios2/nptl/tls.h: New file.
23431 * sysdeps/nios2/preconfigure: New file.
23432 * sysdeps/nios2/s_fma.c: New file.
23433 * sysdeps/nios2/s_fmaf.c: New file.
23434 * sysdeps/nios2/setjmp.S: New file.
23435 * sysdeps/nios2/sfp-machine.h: New file.
23436 * sysdeps/nios2/sotruss-lib.c: New file.
23437 * sysdeps/nios2/stackguard-macros.h: New file.
23438 * sysdeps/nios2/stackinfo.h: New file.
23439 * sysdeps/nios2/start.S: New file.
23440 * sysdeps/nios2/sysdep.h: New file.
23441 * sysdeps/nios2/tls-macros.h: New file.
23442 * sysdeps/nios2/tst-audit.h: New file.
23443 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23444 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23445 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23446 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23447 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23448 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23449 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23450 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23451 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23452 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23453 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23454 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23455 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23456 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23457 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23458 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23459 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23460 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23461 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23462 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23463 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23464 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23465 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23466 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23467 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23468 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23469 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23470 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23471 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23472 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23473 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23474 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23475 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23476 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23477 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23478 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23479 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23480 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23481 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23482 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23483 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23484 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23485 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23486 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23487
23488 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23489
23490 [BZ #17844]
23491 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23492 (getutent): Use weak_alias in non SHARED case
23493 and default_symbol_version in SHARED case.
23494 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23495 (getutent_r, pututline): Likewise.
23496 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23497 (getutid): Likewise.
23498 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23499 (getutid_r): Likewise.
23500 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23501 (getutline): Likewise.
23502 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23503 (getutline_r): Likewise.
23504 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23505 (updwtmp): Likewise.
23506
23507 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
23508
23509 [BZ #17848]
23510 * sysdeps/s390/s390-32/memcmp.S
23511 (memcmp_g5): Rename to __memcmp_g5.
23512 * sysdeps/s390/s390-32/memcpy.S
23513 (memcpy_g5): Rename to __memcpy_g5.
23514 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23515 (memcpy_mvcle) Rename to __memcpy_mvcle.
23516 * sysdeps/s390/s390-32/memset.S
23517 (memset_g5): Rename to __memset_g5.
23518 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23519 (IFUNC_RESOLVE): Prefix ifunc-resolve function
23520 and use prefixed functions.
23521 * sysdeps/s390/s390-32/multiarch/memcmp.S
23522 (memcmp_z196): Rename to __memcmp_z196.
23523 (memcmp_z10): Rename to __memcmp_z10.
23524 (memcmp): Set alias to __memcmp_g5.
23525 (bcmp): Set alias to __memcmp_g5.
23526 * sysdeps/s390/s390-32/multiarch/memcpy.S
23527 (memcpy_z196): Rename to __memcpy_z196.
23528 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23529 (memcpy_z10): Rename to __memcpy_z10.
23530 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23531 (memcpy): Set alias to __memcpy_g5.
23532 * sysdeps/s390/s390-32/multiarch/memset.S
23533 (memset_z196): Rename to __memset_z196.
23534 Jump to __memset_mvcle instead of memset_mvcle.
23535 (memset_z10): Rename to __memset_z10.
23536 Jump to __memset_mvcle instead of memset_mvcle.
23537 (memset_mvcle) Rename to __memset_mvcle.
23538 (memset): Set alias to __memset_g5.
23539 * sysdeps/s390/s390-64/memcmp.S
23540 (memcmp_z900): Rename to __memcmp_z900.
23541 * sysdeps/s390/s390-64/memcpy.S
23542 (memcpy_z900): Rename to __memcpy_z900.
23543 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23544 (memcpy_mvcle) Rename to __memcpy_mvcle.
23545 * sysdeps/s390/s390-64/memset.S
23546 (memset_z900): Rename to __memset_z900.
23547 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23548 (IFUNC_RESOLVE): Prefix ifunc-resolve function
23549 and use prefixed functions.
23550 * sysdeps/s390/s390-64/multiarch/memcmp.S
23551 (memcmp_z196): Rename to __memcmp_z196.
23552 (memcmp_z10): Rename to __memcmp_z10.
23553 (memcmp): Set alias to __memcmp_z900.
23554 (bcmp): Set alias to __memcmp_z900.
23555 * sysdeps/s390/s390-64/multiarch/memcpy.S
23556 (memcpy_z196): Rename to __memcpy_z196.
23557 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23558 (memcpy_z10): Rename to __memcpy_z10.
23559 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23560 (memcpy): Set alias to __memcpy_z900.
23561 * sysdeps/s390/s390-64/multiarch/memset.S
23562 (memset_z196): Rename to __memset_z196.
23563 Jump to __memset_mvcle instead of memset_mvcle.
23564 (memset_z10): Rename to __memset_z10.
23565 Jump to __memset_mvcle instead of memset_mvcle.
23566 (memset_mvcle) Rename to __memset_mvcle.
23567 (memset): Set alias to __memset_z900.
23568
23569 2015-01-14 Joseph Myers <joseph@codesourcery.com>
23570
23571 [BZ #17748]
23572 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23573 __fesetenv instead of fesetenv.
23574
23575 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23576
23577 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23578 macro.
23579
23580 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23581
23582 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23583 regression on LE.
23584
23585 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23586 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23587 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23588 strncmp-power8 object.
23589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23590 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23591 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23592 * NEWS: Update.
23593
23594 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23595 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23596
23597 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23598 trailing byte check.
23599
23600 2015-01-13 David S. Miller <davem@davemloft.net>
23601
23602 * include/signal.h (__sigreturn): Guard with __USE_MISC.
23603
23604 2015-01-13 Roland McGrath <roland@hack.frob.com>
23605
23606 * login/logout.c (logout): Use memset rather than bzero.
23607 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23608 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23609 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23610 (_gethtbyaddr): Likewise.
23611 * locale/programs/simple-hash.c (bcopy): Macro removed.
23612
23613 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23614
23615 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23616 Add strcmp-power8 object.
23617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23618 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23619 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23620 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23621 __strcmp_power8 implementation.
23622 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23623 * NEWS: Update.
23624
23625 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23626 Add strncpy-power8 and stpncpy-power8 objects.
23627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23628 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23629 implementations.
23630 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23631 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23632 __stpncpy_power8 implementation.
23633 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23634 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23635 __strncpy_power8 implementation.
23636 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23637 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23638 * NEWS: Update.
23639
23640 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23641 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23642 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23643
23644 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23645 strncat-power8 object.
23646 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23647 __strcat_power8 implementation.
23648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23649 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23650 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23651 optimized strcat for power8.
23652
23653 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23654 strcpy-power8 and stpcpy-power8 objects.
23655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23656 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23657 implementations.
23658 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23659 multiarch stpcpy implementation for POWER8.
23660 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23661 multiarch strcpy implementation for POWER8.
23662 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23663 __strcpy_power8 function.
23664 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23665 stpcpy for POWER8.
23666 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23667 strcpy for POWER8.
23668 * NEWS: Update.
23669
23670 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
23671
23672 [BZ #16009]
23673 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23674 weights and rules. Use do_xfrm_cached if data fits in cache,
23675 do_xfrm otherwise. Moved former main loop to...
23676 * (do_xfrm_cached): New function.
23677 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23678 find_idx, find_position and stack_push.
23679 * (find_idx): New function.
23680 * (find_position): Likewise.
23681 * localedata/sort-test.sh: Added test run for do_xfrm.
23682 * localedata/xfrm-test.c (main): Added command line option
23683 -nocache to run the test with strings that are too large for
23684 the STRXFRM cache.
23685
23686 2015-01-13 Torvald Riegel <triegel@redhat.com>
23687
23688 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23689 variable to lll_futex_wake call, not the value itself.
23690
23691 2015-01-12 Joseph Myers <joseph@codesourcery.com>
23692
23693 [BZ #17803]
23694 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23695 twom64. Adjust value to 0x1p-64L.
23696 (__scalblnl): Only return standard underflowing result for K <=
23697 -64 not K <= -63; adjust exponent for underflowing result by 64
23698 not 63.
23699 * math/libm-test.inc (scalbn_test_data): Add more tests.
23700 (scalbln_test_data): Likewise.
23701
23702 [BZ #17834]
23703 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23704 0x1p63L.
23705 (__scalblnl): Get new exponent of adjusted subnormal value from ES
23706 not HX.
23707 * math/libm-test.inc (scalbn_test_data): Add more tests.
23708 (scalbln_test_data): Likewise.
23709
23710 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23711 Stefani Seibold <stefani@seibold.net>
23712
23713 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23714 (sysdep_routines): Add dl-vdso here, ...
23715 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23716 (sysdep_routines): ... not here.
23717 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23718 fallback when vDSO is not presented.
23719 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23720 Define with libc_hidden_proto/libc_hidden_data_def definitions.
23721 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23722 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23723 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23724 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23725 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23726 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23727 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23728 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23729 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
23730 fallback configurable symbol when vDSO is not available.
23731 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23732 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
23733 be able to redefine fallback symbol when vDSO is not available.
23734 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23735 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23736
23737 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23738
23739 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23740 (TLS_INIT_TP): Add tm_capable initialization.
23741 (TLS_DEFINE_INIT_TP): Likewise.
23742 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23743 TCB.
23744 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23745 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23746 calculation.
23747 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23748 transactoion is lock elision is built and TCB tm_capable is set.
23749 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23751 (INTERNAL_SYSCALL_NCS): Likewise.
23752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23753 (INTERNAL_SYSCALL_NCS): Likewise.
23754 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23755
23756 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23757 for powerpc.
23758 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23759 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23760 and remove it for 32 bits case.
23761 [pthread_rwlock_t] (__rwelision): New field for lock elision.
23762 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23763 initialization.
23764 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23765 Disable lock elision with rdlocks if elision is not available.
23766
23767 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23768 (sysdep_routines): Add lock elision objects.
23769 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23770 [pthread_mutex_t] (__spins): Rework to add lock elision field.
23771 [pthread_mutex_t] (__elision): Add field.
23772 [__PTHREAD_SPINS]: Adjust to init lock elision field.
23773 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23774 elision definitions for powerpc.
23775 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23776 implementation of lock elision for powerpc.
23777 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
23778 implementation of timed lock elision for powerpc.
23779 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
23780 implementation of trylock with lock elision for powerpc.
23781 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
23782 implementaion of unlock for lock elision for powerpc.
23783 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
23784 automatic enable lock elision for mutexes.
23785 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
23786 transaction execution definitions for powerpc.
23787 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
23788 definitions.
23789 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
23790 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
23791 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
23792 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
23793 * NEWS: Update.
23794
23795 2015-01-09 Roland McGrath <roland@hack.frob.com>
23796
23797 * sysdeps/posix/shm-directory.c: Use <> rather than ""
23798 for #include of <shm-directory.h>.
23799
23800 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
23801
23802 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
23803 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
23804
23805 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
23806
23807 [BZ #17791]
23808 * NEWS: Mention bug fix.
23809 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
23810 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
23811 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
23812
23813 2015-01-09 Torvald Riegel <triegel@redhat.com>
23814
23815 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
23816
23817 2015-01-09 Torvald Riegel <triegel@redhat.com>
23818
23819 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
23820
23821 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
23822
23823 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
23824 pointer and cast to uintptr_t.
23825
23826 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
23827
23828 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
23829 removed.
23830 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
23831
23832 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
23833
23834 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
23835 of 0.
23836
23837 2015-01-08 Roland McGrath <roland@hack.frob.com>
23838
23839 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
23840 <nptl/pthreadP.h> instead.
23841 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
23842
23843 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
23844 already defined.
23845 [__SIGRTMIN] (init): Function removed.
23846 [__SIGRTMIN] (initialized): Variable removed.
23847 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23848 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
23849 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
23850 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23851 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23852 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23853 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23854 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23855 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23856 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23857 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23858 * sysdeps/nptl/allocrtsig.c: New file.
23859 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23860 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23861 * sysdeps/generic/testrtsig.h: File removed.
23862
23863 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23864 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23865
23866 * nptl/nptl-init.c (pthread_functions): Conditionalize
23867 .ptr__nptl_setxid initialization on [SIGSETXID].
23868
23869 * sysdeps/nptl/sys/procfs.h: New file.
23870 * nptl_db/Makefile (headers): Add it.
23871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23872
23873 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23874 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23875 * nptl/pthread_attr_setaffinity.c: Include it.
23876 * nptl/pthread_setattr_default_np.c: Likewise.
23877 * nptl/check-cpuset.h: New file.
23878
23879 2015-01-08 Richard Henderson <rth@redhat.com>
23880
23881 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23882 (CFLAGS-tst-execstack-prog.c): Likewise.
23883 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23884
23885 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
23886 Sandra Loosemore <sandra@codesourcery.com>
23887 Andrew Jenner <andrew@codesourcery.com>
23888 Joseph Myers <joseph@codesourcery.com>
23889 Nathan Sidwell <nathan@codesourcery.com>
23890
23891 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23892 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23893 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23894 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23895 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23896 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23897 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23898 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23899 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23900 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23901 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23902 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23903 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23904 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23905 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23906 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23907 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23908
23909 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23910
23911 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23912 timespec struct member in syscall macro.
23913 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23914 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23915 first timeval struct member in syscall macro.
23916 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23917
23918 2015-01-07 Joseph Myers <joseph@codesourcery.com>
23919
23920 [BZ #17748]
23921 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23922 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23923 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23924 __feupdateenv and define as weak alias of __feupdateenv. Use
23925 libm_hidden_weak.
23926 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23927 libm_hidden_def.
23928 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23929 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
23930 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23931 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23932 libm_hidden_def.
23933 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23934 __feupdateenv and define as weak alias of __feupdateenv. Use
23935 libm_hidden_weak.
23936 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23937 libm_hidden_def.
23938 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23939 __feupdateenv and define as weak alias of __feupdateenv. Use
23940 libm_hidden_weak.
23941 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23942 libm_hidden_def.
23943 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23944 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23945 (__feupdateenv): Likewise.
23946 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23947 __feupdateenv and define as weak alias of __feupdateenv. Use
23948 libm_hidden_weak.
23949 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23950 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23951 libm_hidden_def.
23952 * sysdeps/tile/math_private.h (__feupdateenv): New inline
23953 function.
23954 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23955 libm_hidden_def.
23956 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23957 __feupdateenv instead of feupdateenv.
23958 (default_libc_feupdateenv_test): Likewise.
23959 (libc_feresetround_ctx): Likewise.
23960
23961 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23962
23963 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23964 prototype.
23965
23966 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
23967
23968 * posix/regcomp.c (parse_bracket_exp): Initialize type to
23969 COLL_SYM in a couple of places to avoid uninitialized variable
23970 wanings on tilegx gcc 4.8.2.
23971
23972 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
23973
23974 * sysdeps/aarch64/strcpy.S: New file.
23975 * sysdeps/aarch64/stpcpy.S: New file.
23976 * NEWS: Updated.
23977
23978 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
23979
23980 * sysdeps/aarch64/strrchr.S: New file.
23981 * NEWS: Updated.
23982
23983 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
23984
23985 [BZ #17658]
23986 * stdlib/setenv.c: Fix memory leak when setting large,
23987 duplicate string.
23988
23989 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
23990
23991 [BZ #17273]
23992 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23993 and tabs from buffer before parsing fstab entry.
23994 * misc/tst-mntent.c (main): Add test for mount entry with
23995 trailing spaces and tabs.
23996
23997 2015-01-06 Joseph Myers <joseph@codesourcery.com>
23998
23999 [BZ #17748]
24000 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
24001 * math/fesetround.c (fesetround): Rename to __fesetround and
24002 define as weak alias of __fesetround. Use libm_hidden_weak.
24003 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24004 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24005 * sysdeps/arm/fesetround.c (fesetround): Likewise.
24006 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24007 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24008 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24009 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24010 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24011 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24012 __fesetround_inline.
24013 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24014 __fesetround_inline instead of __fesetround.
24015 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24016 __fesetround and define as weak alias of __fesetround. Use
24017 libm_hidden_weak. Call __fesetround_inline instead of
24018 __fesetround.
24019 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24020 __fesetround and define as weak alias of __fesetround. Use
24021 libm_hidden_weak.
24022 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24023 Likewise.
24024 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24025 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24026 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24027 * sysdeps/tile/math_private.h (__fesetround): New inline function.
24028 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24029 __fesetround and define as weak alias of __fesetround. Use
24030 libm_hidden_weak.
24031 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24032 __fesetround instead of fesetround.
24033 (default_libc_feholdexcept_setround): Likewise.
24034 (libc_feholdsetround_ctx): Likewise.
24035 (libc_feholdsetround_noex_ctx): Likewise.
24036
24037 [BZ #17748]
24038 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24039 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24040 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24041 and define as weak alias of __fesetenv. Use libm_hidden_weak.
24042 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24043 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24044 define as weak alias of __fesetenv. Use libm_hidden_weak.
24045 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24046 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24047 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24048 define as weak alias of __fesetenv. Use libm_hidden_weak.
24049 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24050 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24051 define as weak alias of __fesetenv. Use libm_hidden_weak.
24052 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24053 libm_hidden_def.
24054 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24055 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24056 Likewise.
24057 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24058 define as weak alias of __fesetenv. Use libm_hidden_weak.
24059 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24060 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24061 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24062 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24063 and define as weak alias of __fesetenv. Use libm_hidden_weak.
24064 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24065 __fesetenv instead of fesetenv.
24066 (libc_feresetround_noex_ctx): Likewise.
24067 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24068 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24069 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24070 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24071 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24072 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24073 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24074 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24075 (__feupdateenv): Likewise.
24076 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24077 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24078 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24079 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24080
24081 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
24082
24083 [BZ #17806]
24084 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24085 addresses have been freed.
24086
24087 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
24088
24089 * resolv/res_init.c (__res_vinit): Improve comments about nserv
24090 and nservall.
24091
24092 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
24093
24094 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24095 Clean up check_pf allocation pattern. addresses
24096
24097 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24098
24099 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24100 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24101 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24102 * nptl/pthread_exit.c (__pthread_exit): Likewise.
24103 * nptl/pthread_join.c (pthread_join): Likewise.
24104 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24105 * sysdeps/posix/waitid.c (__waitid): Likewise.
24106 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24107 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24108 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24109 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24110 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24111 Likewise.
24112 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24113 (__libc_pread64): Likewise.
24114 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24115 (__libc_pwrite): Likewise.
24116 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24117 (__libc_pwrite64): Likewsie.
24118 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24119 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24120 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24121 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24122 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24123 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24124 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24126 Likewise.
24127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24128 (__libc_pread64): Likewise.
24129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24130 Likewise.
24131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24132 (__libc_pwrite64): Likewise.
24133 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24134 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24135 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24136 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24137 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24138 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24139 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24140 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24141 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24142 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24143 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24144 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24145 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24146 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24147 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24148 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24149 Likewise.
24150
24151 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
24152
24153 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24154 (CFLAGS-test-double.c): Likewise.
24155 (CFLAGS-test-ldouble.c): Likewise.
24156 (CPPFLAGS-test-ifloat.c): Likewise.
24157 (CPPFLAGS-test-idouble.c): Likewise.
24158 (CPPFLAGS-test-ildoubl.c): Likewise.
24159 (CFLAGS-test-test-fenv.c): Remove variable.
24160 (CFLAGS-test-misc.c): Likewise.
24161
24162 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
24163
24164 [BZ #17797]
24165 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24166 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24167 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24168 CLOCKS_PER_SEC == 1000000.
24169 * time/clocktest.c (main): Replace %ld with %jd and cast to
24170 intmax_t.
24171
24172 2015-01-05 Roland McGrath <roland@hack.frob.com>
24173
24174 * sysdeps/generic/unwind-resume.h: New file.
24175 * sysdeps/gnu/unwind-resume.c: Include it.
24176 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24177 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24178 argument list.
24179 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24180 global rather than static.
24181 (_Unwind_Resume): Update user.
24182 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24183 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
24184 rather than static. Add __attribute__ ((cold)).
24185 (_Unwind_Resume, __gcc_personality_v0): Update callers.
24186 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24187 * sysdeps/arm/arm-unwind-resume.S: New file.
24188 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24189 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24190 * sysdeps/arm/Makefile [$(subdir) = csu]
24191 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24192 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24193 Add rt-arm-unwind-resume.
24194 [$(subdir) = nptl]
24195 (libpthread-sysdep_routines, libpthread-shared-only-routines):
24196 Add pt-arm-unwind-resume.
24197 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24198 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24199
24200 2015-01-05 Joseph Myers <joseph@codesourcery.com>
24201
24202 [BZ #17748]
24203 * include/fenv.h (__feholdexcept): Declare. Use
24204 libm_hidden_proto.
24205 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24206 define as weak alias of __feholdexcept. Use libm_hidden_weak.
24207 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24208 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24209 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24210 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24211 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24212 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24213 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24214 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24215 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24216 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24217 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24218 (feholdexcept): Likewise.
24219 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24220 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24221 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24222 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24223 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24224 __feholdexcept instead of feholdexcept.
24225 (default_libc_feholdexcept_setround): Likewise.
24226
24227 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
24228
24229 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24230 to avoid using stl/str to align destination.
24231
24232 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
24233
24234 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24235
24236 2015-01-05 Joseph Myers <joseph@codesourcery.com>
24237
24238 [BZ #17796]
24239 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24240 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24241 Define as weak alias not strong alias.
24242
24243 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
24244
24245 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24246 bltzal with addiupc.
24247 (RTLD_START): Ditto.
24248
24249 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
24250
24251 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24252 for __vdso_* functions in declarations.
24253 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24254 definitions.
24255 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24256 INTERNAL_VSYSCALL): Use struct return types to check for error.
24257
24258 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24259 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24260 function with cast from llround().
24261 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24262 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24263 Define.
24264
24265 2015-01-05 Joseph Myers <joseph@codesourcery.com>
24266
24267 [BZ #17793]
24268 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24269 Define as weak alias not strong alias.
24270
24271 [BZ #17635]
24272 * ctype/ctype-c99.c: New file. isblank implementation moved from
24273 ...
24274 * ctype/ctype-extn.c: ... here.
24275 (__isblank_l): Move to ...
24276 * ctype/ctype-c99_l.c: ... here. New file.
24277 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24278 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24279 Remove variable.
24280 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24281 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24282 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24283 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24284 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24285
24286 [BZ #17777]
24287 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24288 (posix_fadvise64): Define as weak alias not strong alias.
24289 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24290 (posix_fallocate64): Likewise.
24291 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24292 Remove variable.
24293 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24294 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24295 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24296 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24297 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24298
24299 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
24300
24301 [BZ #16191]
24302 * NEWS: Mention bug fix.
24303 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24304 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24305 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24306 (HOST_STACK_END_ADDR): Likewise.
24307
24308 2015-01-02 Joseph Myers <joseph@codesourcery.com>
24309
24310 [BZ #17748]
24311 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
24312 * math/fegetround.c (fegetround): Rename to __fegetround and
24313 define as weak alias of __fegetround. Use libm_hidden_weak.
24314 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24315 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24316 * sysdeps/arm/fegetround.c (fegetround): Likewise.
24317 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24318 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24319 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24320 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24321 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24322 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24323 Undefine after rather than before function definition; use
24324 parentheses around function name in definition.
24325 (__fegetround): Also undefine macro after function definition.
24326 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24327 __fegetround and define as weak alias of __fegetround. Use
24328 libm_hidden_weak. Do not undefine as macro.
24329 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24330 Likewise.
24331 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24332 __fegetround and define as weak alias of __fegetround. Use
24333 libm_hidden_weak.
24334 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24335 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24336 * sysdeps/tile/math_private.h (__fegetround): New inline function.
24337 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24338 __fegetround and define as weak alias of __fegetround. Use
24339 libm_hidden_weak.
24340 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24341 __fegetround instead of fegetround.
24342
24343 [BZ #17782]
24344 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24345 Condition macro definition on [__USE_MISC].
24346
24347 [BZ #17781]
24348 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24349 (struct sigaction): Change type of sa_flags field to int.
24350
24351 [BZ #17780]
24352 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24353 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24354 __glibc_reserved0.
24355
24356 * nptl/version.c (banner): Use single year in copyright notice.
24357
24358 * NEWS: Update copyright dates.
24359 * catgets/gencat.c (print_version): Likewise.
24360 * csu/version.c (banner): Likewise.
24361 * debug/catchsegv.sh: Likewise.
24362 * debug/pcprofiledump.c (print_version): Likewise.
24363 * debug/xtrace.sh (do_version): Likewise.
24364 * elf/ldconfig.c (print_version): Likewise.
24365 * elf/ldd.bash.in: Likewise.
24366 * elf/pldd.c (print_version): Likewise.
24367 * elf/sotruss.sh: Likewise.
24368 * elf/sprof.c (print_version): Likewise.
24369 * iconv/iconv_prog.c (print_version): Likewise.
24370 * iconv/iconvconfig.c (print_version): Likewise.
24371 * locale/programs/locale.c (print_version): Likewise.
24372 * locale/programs/localedef.c (print_version): Likewise.
24373 * login/programs/pt_chown.c (print_version): Likewise.
24374 * malloc/memusage.sh (do_version): Likewise.
24375 * malloc/memusagestat.c (print_version): Likewise.
24376 * malloc/mtrace.pl: Likewise.
24377 * manual/libc.texinfo: Likewise.
24378 * nptl/version.c (banner): Likewise.
24379 * nscd/nscd.c (print_version): Likewise.
24380 * nss/getent.c (print_version): Likewise.
24381 * nss/makedb.c (print_version): Likewise.
24382 * posix/getconf.c (main): Likewise.
24383 * scripts/test-installation.pl: Likewise.
24384 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24385
24386 2015-01-02 Will Newton <will.newton@linaro.org>
24387
24388 * sysdeps/arm/armv7/configure: Removed.
24389 * sysdeps/arm/armv7/configure.ac: Likewise.
24390
24391 2015-01-02 Joseph Myers <joseph@codesourcery.com>
24392
24393 * All files with FSF copyright notices: Update copyright dates
24394 using scripts/update-copyrights.
24395 * intl/plural.c: Regenerated.
24396 * locale/programs/charmap-kw.h: Likewise.
24397 * locale/programs/locfile-kw.h: Likewise.
24398
24399 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24400
24401 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24402
24403 2014-12-31 Joseph Myers <joseph@codesourcery.com>
24404
24405 [BZ #17748]
24406 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24407 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24408 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24409 and define as weak alias of __fegetenv. Use libm_hidden_weak.
24410 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24411 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24412 define as weak alias of __fegetenv. Use libm_hidden_weak.
24413 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24414 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24415 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24416 define as weak alias of __fegetenv. Use libm_hidden_weak.
24417 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24418 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24419 define as weak alias of __fegetenv. Use libm_hidden_weak.
24420 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24421 libm_hidden_def.
24422 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24423 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24424 Likewise.
24425 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24426 define as weak alias of __fegetenv. Use libm_hidden_weak.
24427 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24428 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24429 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24430 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24431 and define as weak alias of __fegetenv. Use libm_hidden_weak.
24432 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24433 __fegetenv instead of fegetenv.
24434 (libc_feholdsetround_noex_ctx): Likewise.
24435
24436 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
24437
24438 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24439 (Elf_MIPS_ABIFlags_v0): New structure.
24440 (EF_MIPS_FP64): Define.
24441 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24442 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24443 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24444 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24445 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24446 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24447 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24448 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24449 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24450 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24451 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24452 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24453 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24454 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24455 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24456 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24457 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24458 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24459 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24460 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24461 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24462 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24463 field.
24464 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24465 EF_MIPS_FP64.
24466 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24467 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24468 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24469 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24470 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24471 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24472 * sysdeps/mips/tst-abi-interlink.c: Likewise.
24473 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24474 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24475 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24476 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24477 record the current FP ABI extension.
24478 (mips-mode-switch): Define to show if kernel headers support mode
24479 switching.
24480 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24481 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24482 supported SYSV ABI version to 3.
24483 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24484 feature.
24485
24486 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24487 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24488
24489 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24490 path.
24491 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24492
24493 2014-12-31 Joseph Myers <joseph@codesourcery.com>
24494
24495 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24496 __fegetround and redefine to call __fegetround. Remove condition
24497 on [!__NO_MATH_INLINES].
24498 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24499 function.
24500 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24501 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24502 Remove macro.
24503 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24504 instead of <fenv_libc.h>.
24505 (__llrintl): Call fegetround instead of __fegetround.
24506 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24507 instead of <fenv_libc.h>.
24508 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24509 (__lrintl): Call fegetround instead of __fegetround.
24510 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24511 instead of <fenv_libc.h>.
24512 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24513 (__rintl): Call fegetround instead of __fegetround.
24514
24515 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24516
24517 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24518 arrays.
24519
24520 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
24521
24522 [BZ #17775]
24523 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24524 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24525 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24526
24527 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
24528
24529 * sysdeps/i386/tls-macros.h: Include <features.h>.
24530 (TLS_LE): Use non-PIC version for GCC >= 5.0.
24531 (TLS_IE): Likewise.
24532 (TLS_LD): Likewise.
24533 (TLS_GD): Likewise.
24534 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24535 define for GCC >= 5.0.
24536
24537 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
24538
24539 * math/test-fenv.c (test_single_exception, set_single_exc,
24540 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24541 feexcp_mask_test, feenable_test, fe_single_test): Add
24542 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24543 case where they are not used.
24544 * math/libm-test.inc: Likewise.
24545 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24546 unused in the absence of FP rounding/exception support.
24547 * stdio-common/tst-printf-round.c: Likewise.
24548 * stdlib/tst-strtod-round.c: Likewise.
24549 * stdlib/tst-strtod-underflow.c: Likewise.
24550
24551 2014-12-30 Joseph Myers <joseph@codesourcery.com>
24552
24553 [BZ #17723]
24554 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24555 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24556 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24557 __feraiseexcept and define as weak alias of __feraiseexcept. Use
24558 libm_hidden_weak.
24559 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24560 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24561 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24562 libm_hidden_def.
24563 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24564 __feraiseexcept and define as weak alias of __feraiseexcept. Use
24565 libm_hidden_weak.
24566 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24567 Likewise.
24568 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24569 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24570 __feraiseexcept and define as weak alias of __feraiseexcept. Use
24571 libm_hidden_weak.
24572 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24573 libm_hidden_def.
24574 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24575 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24576 (__feraiseexcept): Likewise.
24577 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24578 __feraiseexcept and define as weak alias of __feraiseexcept. Use
24579 libm_hidden_weak.
24580 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24581 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24582 libm_hidden_def.
24583 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24584 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24585 Use libm_hidden_def.
24586 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24587 libm_hidden_def.
24588 (feraiseexcept): Define as weak not strong alias. Use
24589 libm_hidden_weak.
24590 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24591 New inline function. Factored out of ...
24592 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
24593 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24594 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24595 feraiseexcept.
24596 * math/w_acos.c (__acos): Likewise.
24597 * math/w_asin.c (__asin): Likewise.
24598 * math/w_ilogb.c (__ilogb): Likewise.
24599 * math/w_j0.c (y0): Likewise.
24600 * math/w_j1.c (y1): Likewise.
24601 * math/w_jn.c (yn): Likewise.
24602 * math/w_log.c (__log): Likewise.
24603 * math/w_log10.c (__log10): Likewise.
24604 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24605 * sysdeps/aarch64/fpu/math_private.h
24606 (libc_feupdateenv_test_aarch64): Likewise.
24607 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24608 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24609 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24610 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24611 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24612 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24613 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24614 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24615 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24616 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24617
24618 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
24619
24620 [BZ #17732]
24621 * io/test-utime.c (main): Replace %ld with %jd and cast to
24622 intmax_t.
24623 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24624 * nptl/tst-mutex5.c: Include <stdint.h>.
24625 (do_test): Replace %ld with %jd and cast to intmax_t.
24626 * posix/tst-regex.c (run_test): Likewise.
24627 (run_test_backwards): Likewise.
24628 * rt/tst-clock.c: Include <stdint.h>.
24629 (clock_test): Replace %ld with %jd and cast to intmax_t.
24630 * rt/tst-cpuclock1.c: Include <stdint.h>.
24631 (do_test): Replace %lu with %ju and cast to uintmax_t.
24632 * rt/tst-cpuclock2.c: Include <stdint.h>.
24633 (do_test): Replace %lu with %ju and cast to uintmax_t.
24634 * rt/tst-mqueue1.c: Include <stdint.h>.
24635 (check_attrs): Replace %ld with %jd and cast to intmax_t.
24636 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24637 intmax_t.
24638 * rt/tst-mqueue4.c (do_test): Likewise.
24639 * rt/tst-timer4.c: Include <stdint.h>.
24640 (check_ts): Replace %ld with %jd and cast to intmax_t.
24641 (do_test): Likewise.
24642 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24643 and cast to intmax_t.
24644 * sysdeps/pthread/tst-timer.c (main): Likewise.
24645 * time/clocktest.c (main): Likewise.
24646 * time/tst-posixtz.c (do_test): Likewise.
24647 * timezone/tst-timezone.c (main): Likewise.
24648
24649 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
24650 H.J. Lu <hongjiu.lu@intel.com>
24651
24652 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24653 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24654 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24655 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24656 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24657 version if bit_Fast_Unaligned_Load is set.
24658 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24659 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24660 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24661 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24662 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24663 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24665 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24666 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24667 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24668 to 4.
24669 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24670 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24671 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24672 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24673
24674 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
24675
24676 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24677 instead of #if to avoid a Wundef warning.
24678 * stdlib/tst-limits.c (do_test): Likewise.
24679
24680 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24681 parallel other exception macros.
24682 (fegetenv): Convert from macro to extern inline so that it applies
24683 retroactively to inline functions already seen by the compiler.
24684 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24685
24686 * posix/Makefile (before-compile): Use $(objpfx) for
24687 posix-conf-vars-def.h.
24688
24689 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24690
24691 * posix/getconf.c (main): Use size_t for type of I.
24692 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24693 NSPEC.
24694
24695 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24696 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24697 * posix/posix-envs.def: Likewise.
24698 * sysdeps/posix/sysconf.c: Likewise.
24699 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24700 (specs): Remove array.
24701 * scripts/gen-posix-conf-vars.awk: Support generation of specs
24702 array.
24703
24704 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24705 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24706 (__sysconf): Use CONF_IS_* macros.
24707
24708 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24709 ($(objpfx)posix-conf-vars-def.h): New target.
24710 * posix/posix-conf-vars.list: New file.
24711 * posix/posix-conf-vars.h: New file.
24712 * posix/confstr.c: Include posix-conf-vars.h.
24713 (confstr): Use CONF_IS_* macros.
24714 * posix/posix-envs.def: Include posix-conf-vars.h. Use
24715 CONF_IS_* macros.
24716 * scripts/gen-posix-conf-vars.awk: New file.
24717
24718 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
24719
24720 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24721 fegetround): Add no-op macros to avoid linknamespace issues.
24722
24723 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24724 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24725
24726 * sysdeps/unix/sysv/linux/tile/sysdep.h
24727 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24728 assembly-specific section to avoid a redefinition warning.
24729
24730 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24731 long before casting to pointer to avoid a cast warning.
24732
24733 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
24734
24735 * sysdeps/tile/tilegx/Implies: New file.
24736
24737 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
24738
24739 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24740
24741 2014-12-23 Florian Weimer <fweimer@redhat.com>
24742
24743 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24744
24745 2014-12-22 Joseph Myers <joseph@codesourcery.com>
24746
24747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24748 not define.
24749 * sysdeps/unix/sysv/linux/utimes.c: Do not include
24750 <kernel-features.h>.
24751 (__utimes) [__NR_utimes]: Make code unconditional.
24752 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24753 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24754 (__ASSUME_UTIMES): Do not undefine.
24755 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24756 (__ASSUME_UTIMES): Likewise.
24757 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24758 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24759 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24760 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24761
24762 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
24763
24764 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24765
24766 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
24767
24768 [BZ #17747]
24769 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24770 alias to weak alias for j0l, y0l.
24771 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24772 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24773
24774 [BZ #17746]
24775 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24776 conversion.
24777
24778 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
24779
24780 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
24781 to zero if not already defined.
24782
24783 2014-12-22 Joseph Myers <joseph@codesourcery.com>
24784
24785 [BZ #17724]
24786 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
24787 (__kernel_standard_f): Remove. Moved to k_standardf.c.
24788 (__kernel_standard_l): Remove. Moved to k_standardl.c with
24789 (char *) casts added.
24790 * sysdeps/ieee754/k_standardf.c: New file.
24791 * sysdeps/ieee754/k_standardl.c: Likewise.
24792 * math/Makefile (libm-support): Remove k_standard.
24793 (libm-calls): Add k_standard.
24794
24795 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
24796
24797 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24798 Optimize to avoid an unnecessary FPCR read.
24799
24800 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
24801
24802 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24803 Optimize to reduce FPCR/FPSR accesses.
24804
24805 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
24806
24807 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
24808 Call libc_fetestexcept_aarch64.
24809
24810 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
24811
24812 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
24813 Call libc_fesetround_aarch64.
24814
24815 2014-12-22 Joseph Myers <joseph@codesourcery.com>
24816
24817 [BZ #17733]
24818 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
24819 (__bind): Do not define as weak alias.
24820 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
24821 define.
24822 (__getsockname): Do not define as weak alias.
24823
24824 2014-12-22 Will Newton <will.newton@linaro.org>
24825
24826 * manual/install.texi: Document that we require bison 2.7
24827 or above.
24828 * INSTALL: Regenerate.
24829 * configure.ac: Use AC_CHECK_PROG_VER instead of
24830 AC_PATH_PROG when checking for bison and check for
24831 version 2.7 or above.
24832 * configure: Regenerate.
24833
24834 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
24835
24836 [BZ #17745]
24837 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
24838 * sysdeps/tile/ffsll.c (ffsll): To here.
24839
24840 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
24841
24842 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
24843
24844 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
24845 if not defined.
24846 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
24847 definition.
24848 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24849 hidden ___tls_get_addr.
24850 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24851 hidden __tls_get_addr.
24852 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24853 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24854 Likewise.
24855
24856 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
24857
24858 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24859 _dl_init call.
24860
24861 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
24862
24863 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24864 from "call _dl_init@PLT".
24865 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24866
24867 2014-12-21 Anders Kaseorg <andersk@mit.edu>
24868
24869 * manual/search.texi: (Array Sort Function): Clarify stable sorting
24870 guarantees.
24871
24872 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
24873
24874 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24875
24876 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
24877
24878 [BZ #17744]
24879 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24880 strnlen.
24881
24882 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
24883
24884 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24885 of multu on MIPSr6.
24886 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24887 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24888 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24889 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24890 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24891
24892 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
24893
24894 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24895 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24896 (PTR_SUBU): Use subu for mips32r6/mips64r6.
24897 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24898 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24899 mips32r6/mips64r6.
24900 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24901
24902 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
24903
24904 * string/strncat.c (STRNCAT): Simplify implementation.
24905
24906 2014-12-19 David S. Miller <davem@davemloft.net>
24907
24908 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24909 access the quad as both a long double and as a series of 4 words.
24910
24911 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24912 link_map->l_info array access.
24913
24914 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
24915
24916 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24917
24918 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24919 * math/atest-exp2.c (TIMEOUT): Likewise.
24920 * math/atest-sincos.c (TIMEOUT): Likewise.
24921
24922 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
24923
24924 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24925 -Wno-error with -fno-builtin-lround.
24926
24927 2014-12-19 Torvald Riegel <triegel@redhat.com>
24928
24929 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24930 Contains futex constants and functions moved over from ...
24931 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
24932 <lowlevellock-futex.h>.
24933 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24934 (lll_timedwait_tid): Add comments and parentheses around macro
24935 arguments.
24936
24937 2014-12-19 Torvald Riegel <triegel@redhat.com>
24938
24939 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24940 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
24941 (__lll_private_flag): Remove.
24942 (lll_futex_wait): Likewise.
24943 (lll_futex_timed_wait): Likewise.
24944 (lll_futex_wake): Likewise.
24945 (lll_futex_requeue): Likewise.
24946 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24947 (__lll_timedwait_tid): Spell out argument names.
24948 (lll_timedwait_tid): Add comments and parentheses around macro
24949 arguments.
24950 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24951 LLL_SHARED and LLL_PRIVATE usable from assembly code.
24952
24953 2014-12-19 Torvald Riegel <triegel@redhat.com>
24954
24955 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24956 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24957 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24958 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24959 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24960 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24961 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24962 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24963 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24964 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24965 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24966 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24967 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24968 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24969 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24970 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24971 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24972 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24973 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24974
24975 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
24976
24977 * sysdeps/x86_64/x32/Makefile: New file.
24978
24979 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
24980
24981 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24982 1L with (mp_limb_t) 1.
24983
24984 2014-12-17 Roland McGrath <roland@hack.frob.com>
24985
24986 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24987 * nptl/libc_pthread_init.c: ... here.
24988 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24989 * nptl/register-atfork.c: ... here.
24990
24991 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24992 Use pthread_sigmask rather than INTERNAL_SYSCALL.
24993 Use assert_perror to check its return value.
24994 (__gai_create_helper_thread): Likewise.
24995
24996 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24997
24998 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24999
25000 2014-12-17 Joseph Myers <joseph@codesourcery.com>
25001
25002 [BZ #17725]
25003 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25004 __profil_counter.
25005 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25006 Likewise.
25007 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25008 Likewise.
25009 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25010 Likewise.
25011 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25012 (profil_counter): Likewise.
25013 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25014 (profil_counter): Likewise.
25015 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25016 Likewise.
25017 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25018 Likewise.
25019 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25020 (profil_counter): Likewise.
25021 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25022 Likewise.
25023 [!__profil_counter] (profil_counter): Define as weak alias of
25024 __profil_counter.
25025 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25026 (profil_counter): Rename to __profil_counter.
25027 [!__profil_counter] (profil_counter): Define as weak alias of
25028 __profil_counter.
25029 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25030 (profil_counter): Rename to __profil_counter.
25031 [!__profil_counter] (profil_counter): Define as weak alias of
25032 __profil_counter.
25033 * sysdeps/posix/profil.c: Update comment referring to
25034 profil_counter.
25035 (__profil): Use __profil_counter instead of profil_counter.
25036 * sysdeps/posix/sprofil.c (profil_counter): Rename to
25037 __profil_counter. Use __profil_counter_ushort and
25038 __profil_counter_uint in definitions.
25039 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25040 instead of profil_counter_uint and profil_counter_ushort.
25041
25042 [BZ #17722]
25043 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25044 define as weak alias of __inet_makeaddr.
25045 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25046 as weak alias of __inet_addr.
25047 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25048 as weak alias of __inet_pton. Use libc_hidden_weak.
25049 * include/arpa/inet.h (__inet_pton): Declare. Use
25050 libc_hidden_proto.
25051 (inet_makeaddr): Don't use libc_hidden_proto.
25052 (__inet_makeaddr): Declare. Use libc_hidden_proto.
25053 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25054 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
25055 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25056 Remove variable.
25057 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25058 (test-xfail-POSIX/time.h/linknamespace): Likewise.
25059
25060 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
25061
25062 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25063
25064 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
25065
25066 * stdio-common/bug-vfprintf-nargs.c (do_test):
25067 Cast value to intptr_t to avoid format warning
25068 for usage with PRIdPTR printing macro.
25069
25070 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
25071
25072 * libio/tst-widetext.c (do_test):
25073 Use format type %td instead of %Zd for ptrdiff_t
25074 in order to avoid format warning.
25075
25076 2014-12-17 Andreas Schwab <schwab@suse.de>
25077
25078 * nscd/mem.c (gc): Add size_t cast to match printf format.
25079
25080 2014-12-16 Roland McGrath <roland@hack.frob.com>
25081
25082 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25083 (init): Apply PTR_MANGLE to pointers before storing them.
25084 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25085 before using them.
25086
25087 2014-12-16 Joseph Myers <joseph@codesourcery.com>
25088
25089 [BZ #17719]
25090 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25091 define as weak alias of __memrchr.
25092 (__memrchr): Do not define as strong alias of memrchr.
25093 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25094 Remove variable.
25095 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25096 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25097 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25098
25099 [BZ #17717]
25100 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25101 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
25102 (if_indextoname): Rename to __if_indextoname and define as weak
25103 alias of __if_indextoname. Use libc_hidden_weak.
25104 (if_freenameindex): Rename to __if_freenameindex and define as
25105 weak alias of __if_freenameindex.
25106 (if_nameindex): Rename to __if_nameindex and define as weak alias
25107 of __if_nameindex.
25108 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25109 __if_nametoindex and define as weak alias of __if_nametoindex.
25110 Use libc_hidden_weak.
25111 (if_freenameindex): Rename to __if_freenameindex and define as
25112 weak alias of __if_freenameindex.
25113 (if_nameindex): Rename to __if_nameindex and define as weak alias
25114 of __if_nameindex.
25115 (if_indextoname): Rename to __if_indextoname and define as weak
25116 alias of __if_indextoname. Use libc_hidden_weak.
25117 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25118 __if_nametoindex and define as weak alias of __if_nametoindex.
25119 Use libc_hidden_weak.
25120 (if_freenameindex): Rename to __if_freenameindex and define as
25121 weak alias of __if_freenameindex. Use libc_hidden_weak.
25122 (if_nameindex_netlink): Use __if_freenameindex instead of
25123 if_freenameindex.
25124 (if_nameindex): Rename to __if_nameindex and define as weak alias
25125 of __if_nameindex. Use libc_hidden_weak.
25126 (if_indextoname): Rename to __if_indextoname and define as weak
25127 alias of __if_indextoname. Use libc_hidden_weak.
25128 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25129 libc_hidden_proto.
25130 [!_ISOMAC] (__if_freenameindex): Likewise.
25131 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25132 if_nametoindex.
25133 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25134 variable.
25135 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25136 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25137 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25138 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25139 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25140 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25141 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25142
25143 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25144 Remove variable.
25145 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25146 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25147
25148 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25149
25150 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25151 subscript above bounds'
25152
25153 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25154 bounds.
25155
25156 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
25157
25158 * libio/tst-fopenloc.c: Use test-skeleton.c.
25159
25160 * stdlib/tst-bsearch.c: Use test-skeleton.c.
25161 (entry): Rename to ITEM.
25162 (do_test, comp): Adjust.
25163
25164 * stdio-common/tst-fseek.c: Use test-skeleton.c.
25165
25166 2014-12-16 Torvald Riegel <triegel@redhat.com>
25167
25168 * string/tester.c: Include <libc-internal.h>.
25169 (test_memset): Ignore -Wmemset-transposed-args.
25170
25171 2014-12-16 Torvald Riegel <triegel@redhat.com>
25172
25173 * misc/tst-mntent2.c (do_test): Fix warning.
25174
25175 2014-12-16 Torvald Riegel <triegel@redhat.com>
25176
25177 * elf/tst-unique4lib.cc(a): Mark as used.
25178
25179 2014-12-16 Florian Weimer <fweimer@redhat.com>
25180
25181 [BZ #17630]
25182 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25183 names.
25184
25185 2014-12-16 Allan McRae <allan@archlinux.org>
25186
25187 * stdio-common/Makefile (tests): Re-add bug26.
25188
25189 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
25190
25191 [BZ #17657]
25192 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25193 static array.
25194
25195 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
25196
25197 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25198 (__lll_lock_wait): Likewise.
25199 (__lll_timedlock_wait): Likewise.
25200 (__lll_timedwait_tid): Likewise.
25201 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25202 (__lll_robust_timedlock_wait): Likewise.
25203 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25204 (lll_cond_trylock): Likewise.
25205 (__lll_lock): Likewise.
25206 (__lll_robust_lock): Likewise.
25207 (__lll_cond_lock): Likewise.
25208 (lll_robust_cond_lock): Likewise.
25209 (__lll_timedlock): Likewise.
25210 (__lll_robust_timedlock): Likewise.
25211 (__lll_unlock): Likewise.
25212 (__lll_robust_unlock): Likewise.
25213 (lll_wait_tid): Likewise.
25214 (lll_timedwait_tid): Likewise.
25215
25216 2014-12-15 Torvald Riegel <triegel@redhat.com>
25217
25218 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25219
25220 2014-12-15 Torvald Riegel <triegel@redhat.com>
25221
25222 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25223
25224 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
25225
25226 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25227 * stdio-common/tst-sprintf.c: Likewise.
25228
25229 2014-12-15 Torvald Riegel <triegel@redhat.com>
25230
25231 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25232
25233 2014-12-15 Jeff Law <law@redhat.com>
25234
25235 [BZ #16617]
25236 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25237 on the heap. (CVE-2012-3406)
25238 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25239 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
25240 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25241
25242 2014-12-15 Will Newton <will.newton@linaro.org>
25243
25244 * manual/install.texi: Bump required version of texinfo
25245 to 4.7 from 4.5.
25246 * INSTALL: Regenerated.
25247 * configure.ac: Check for makeinfo version 4.7 and above.
25248 * configure: Regenerated.
25249
25250 2014-12-12 Roland McGrath <roland@hack.frob.com>
25251
25252 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25253 PREFIX, string constant to insert between directory and name.
25254 * sysdeps/posix/shm_open.c: Update caller.
25255 * sysdeps/posix/shm_unlink.c: Likewise.
25256 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25257 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25258 (SEM_SHM_PREFIX): New macro.
25259 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25260 [$(have-thread-library) = no].
25261 * nptl/Makefile (libpthread-routines): Add shm-directory.
25262 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25263 * sysdeps/nptl/shm-directory.h: New file.
25264 * sysdeps/posix/shm-directory.c
25265 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25266 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25267 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25268 INTERNAL_SYSCALL.
25269 (__where_is_shmfs): Function removed.
25270 (mountpoint, defaultmount, defaultdir, __namedsem_once):
25271 Variables removed.
25272 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25273 Use SHM_GET_NAME.
25274 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
25275
25276 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25277 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25278 unconditional for use inside libpthread.
25279 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25280
25281 2014-12-12 Roland McGrath <roland@hack.frob.com>
25282
25283 * nptl/pthread_getaffinity.c: New file.
25284 * nptl/pthread_setaffinity.c: New file.
25285 * nptl/pthread_getname.c: New file.
25286 * nptl/pthread_setname.c: New file.
25287
25288 * nptl/pthread_create.c (START_THREAD_DEFN)
25289 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25290
25291 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
25292 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25293
25294 * resolv/res_send.c (send_vc): Disable warning resplen may
25295 be used uninitialized.
25296
25297 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
25298
25299 * nptl/tst-mutex6.c
25300 (ATTR_NULL): New define checks ATTR against NULL.
25301 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25302 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25303
25304 2014-12-11 James Lemke <jwlemke@codesourcery.com>
25305
25306 [BZ #17581]
25307 * malloc/hooks.c
25308 (mem2mem_check): Revert my previous change.
25309 (malloc_check_get_size): Revert my previous change.
25310 (mem2chunk_check): Revert my previous change.
25311
25312 2014-12-11 Roland McGrath <roland@hack.frob.com>
25313
25314 * sysdeps/posix/shm-directory.c: New file.
25315 * sysdeps/posix/shm-directory.h: New file.
25316 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25317 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25318 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
25319 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25320 Transmute EPERM to EACCES.
25321 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25322 from ...
25323 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
25324 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25325
25326 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25327
25328 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25329 pointer and cast to uintptr_t.
25330 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25331 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25332 Add cast to avoid warning.
25333 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25334
25335 2014-12-11 Joseph Myers <joseph@codesourcery.com>
25336
25337 * nptl/semaphore.h: Move to ...
25338 * sysdeps/pthread/semaphore.h: ... here.
25339 * Makefile (installed-headers): Change nptl/semaphore.h to
25340 sysdeps/pthread/semaphore.h.
25341
25342 2014-12-11 Roland McGrath <roland@hack.frob.com>
25343
25344 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25345 generated error format strings.
25346
25347 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25348 -Wformat-extra-args warnings for scanf formats.
25349 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25350 test of zero-length format (duh).
25351 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25352 corner-case scanf format test.
25353 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25354 generated fprintf format string.
25355 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25356 corner-case sprintf format tests.
25357 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25358 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25359 -Wformat-extra-args warnings throughout.
25360 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25361 (CFLAGS-scanf4.c): Likewise.
25362 (CFLAGS-scanf7.c): Likewise.
25363 (CFLAGS-tst-sprintf.c): Likewise.
25364 (CFLAGS-tst-printf.c): Likewise.
25365 (CFLAGS-tst-printfsz.c): Likewise.
25366
25367 2014-12-11 Joseph Myers <joseph@codesourcery.com>
25368
25369 * include/cpio.h: New file.
25370 * include/fmtmsg.h: Likewise.
25371
25372 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
25373 corresponding format argument to size_t.
25374 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
25375 arguments.
25376 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
25377 corresponding format argument to size_t.
25378 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
25379 arguments.
25380 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
25381 corresponding format argument to size_t.
25382 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25383 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25384 (CFLAGS-tst-mbswcs2.c): Likewise.
25385 (CFLAGS-tst-mbswcs3.c): Likewise.
25386 (CFLAGS-tst-mbswcs4.c): Likewise.
25387 (CFLAGS-tst-mbswcs5.c): Likewise.
25388 (CFLAGS-tst-trans.c): Likewise.
25389
25390 2014-12-11 Roland McGrath <roland@hack.frob.com>
25391
25392 * posix/regexbug1.c (main): Use "%s" format with regerror results,
25393 rather than assuming they won't contain any '%'s.
25394
25395 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
25396
25397 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25398 inhibit_loop_to_libcall to avoid recursive calls.
25399 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25400 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25401
25402 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
25403
25404 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25405 prototype.
25406
25407 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
25408
25409 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25410 integer value instead of boolean.
25411
25412 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
25413
25414 * malloc/malloc.c: Fix powerof2 check.
25415
25416 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25417
25418 * locale/programs/locfile.h (maybe_swap_uint32):
25419 Remove inline and add unused attribute.
25420
25421 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25422
25423 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25424 Truncating assembler expression to a .long expression.
25425
25426 2014-12-11 Andreas Schwab <schwab@suse.de>
25427
25428 * elf/rtld.c (struct map_args): Constify str member.
25429 (do_preload): Constify fname argument.
25430
25431 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25432
25433 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25434 constants definition.
25435
25436 2014-12-11 Andreas Schwab <schwab@suse.de>
25437
25438 [BZ #16657]
25439 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25440 FORCE_ELISION instead of DO_ELISION.
25441 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25442 Remove.
25443 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25444 Likewise.
25445
25446 * iconvdata/gconv-modules: Remove duplicate entry.
25447
25448 2014-12-11 Will Newton <will.newton@linaro.org>
25449
25450 Merge gettext 0.19.3 into intl/.
25451
25452 This involves a number of cosmetic changes to comments
25453 and ANSI function definitions and prototypes throughout
25454 all the files. The gettext copyright header is used but
25455 with the date ranges taken from the glibc copy.
25456
25457 * NEWS: Add gettext merge to 2.21.
25458 * intl/bindtextdom.c: Switch to gettext copyright.
25459 Use ANSI definitions and prototypes.
25460 Use gl_* locking primitives rather than __libc_* ones.
25461 Use __builtin_expect rather than __glibc_likely/unlikely.
25462 * intl/dcgettext.c: Switch to gettext copyright.
25463 Use ANSI definitions and prototypes.
25464 * intl/dcigettext.c: Switch to gettext copyright.
25465 Use ANSI definitions and prototypes.
25466 (INTDIV0_RAISES_SIGFPE): New define.
25467 Use gl_* locking primitives rather than __libc_* ones.
25468 Include eval-plural.h instead of plural-eval.c.
25469 Use __builtin_expect rather than __glibc_likely/unlikely.
25470 * intl/dcngettext.c: Switch to gettext copyright.
25471 Use ANSI definitions and prototypes.
25472 * intl/dgettext.c: Likewise.
25473 * intl/dngettext.c: Likewise.
25474 * intl/plural-eval.c: Renamed to...
25475 * intl/eval-plural.h: ...this.
25476 * intl/explodename.c: Switch to gettext copyright.
25477 Use ANSI definitions and prototypes.
25478 (_nl_explode_name): Use strchr instead of __rawmemchr.
25479 * intl/finddomain.c: Switch to gettext copyright.
25480 Use ANSI definitions and prototypes.
25481 Use gl_* locking primitives rather than __libc_* ones.
25482 (_nl_find_domain): Use malloc rather than alloca for
25483 allocation of temporary locale name.
25484 * intl/gettext.c: Switch to gettext copyright.
25485 Use ANSI definitions and prototypes.
25486 * intl/gettextP.h: Switch to gettext copyright.
25487 Use ANSI definitions and prototypes.
25488 Use gl_* locking primitives rather than __libc_* ones.
25489 * intl/gmo.h: Switch to gettext copyright.
25490 (struct sysdep_string): Move struct segment_pair outside of
25491 struct definition.
25492 * intl/hash-string.c: Use ANSI definitions and prototypes.
25493 * intl/hash-string.h: Switch to gettext copyright.
25494 Use ANSI definitions and prototypes.
25495 * intl/l10nflist.c: Switch to gettext copyright.
25496 Use ANSI definitions and prototypes.
25497 (_nl_normalize_codeset): Avoid integer overflow.
25498 * intl/loadinfo.h: Switch to gettext copyright.
25499 Use ANSI definitions and prototypes.
25500 (LIBINTL_DLL_EXPORTED): New define.
25501 (PATH_SEPARATOR): New define.
25502 * intl/loadmsgcat.c: Switch to gettext copyright.
25503 * intl/localealias.c: Switch to gettext copyright.
25504 Use ANSI definitions and prototypes.
25505 (_nl_expand_alias): Use PATH_SEPARATOR.
25506 * intl/ngettext.c: Switch to gettext copyright.
25507 Use ANSI definitions and prototypes.
25508 * intl/plural-exp.c: Likewise.
25509 * intl/plural-exp.h: Switch to gettext copyright.
25510 Use ANSI definitions and prototypes.
25511 (struct expression): Move definition of enum operator outside
25512 of struct definition.
25513 * intl/plural.c: Regenerate.
25514 * intl/plural.y: Switch to gettext copyright.
25515 Use ANSI definitions and prototypes.
25516 Port to bison 3.0.
25517 * intl/textdomain.c: Switch to gettext copyright.
25518 Use ANSI definitions and prototypes.
25519 Use gl_* locking primitives rather than __libc_* ones.
25520
25521 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
25522
25523 * debug/warning-nop.c: Add used atrribute.
25524
25525 2014-12-10 Joseph Myers <joseph@codesourcery.com>
25526
25527 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25528
25529 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25530 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25531 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25532
25533 2014-12-10 Joseph Myers <joseph@codesourcery.com>
25534 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25535
25536 [BZ #17634]
25537 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25538 Undefine after defining function. Define as weak alias of
25539 __wcschr. Use libc_hidden_weak.
25540 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
25541 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25542 (libc_hidden_def): Also define __GI___wcschr alias.
25543 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25544 __wcschr and define as weak alias of __wcschr.
25545 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25546 __wcschr.
25547 [!WCSCHR] (DEFAULT_WCSCHR): Define.
25548 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25549 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
25550 libc_hidden_weak. Do not use libc_hidden_def.
25551 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25552 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25553 __GI___wcschr alias.
25554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25555 [IS_IN (libc)] (wcschr): Define as macro expanding to
25556 __redirect_wcschr.
25557 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25558 [IS_IN (libc)] (__wcschr_power6): Likewise.
25559 [IS_IN (libc)] (__wcschr_power7): Likewise.
25560 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
25561 instead of wcschr.
25562 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25563 __libc_wcschr.
25564 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25565 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25566 __wcschr and define as weak alias of __wcschr. Use
25567 libc_hidden_builtin_def.
25568 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25569 as weak alias of __wcschr. Use libc_hidden_weak.
25570 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25571 wcschr.
25572 * time/era.c (_nl_init_era_entries): Likewise.
25573 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25574 variable.
25575 (test-xfail-XPG3/time.h/linknamespace): Likewise.
25576 (test-xfail-XPG4/time.h/linknamespace): Likewise.
25577
25578 2014-12-10 Joseph Myers <joseph@codesourcery.com>
25579
25580 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25581 format for long int variable.
25582
25583 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
25584
25585 [BZ #10672]
25586 * manual/search.texi: (Array Sort Function): Remove claim how to make
25587 qsort stable.
25588
25589 2014-12-10 Andreas Schwab <schwab@suse.de>
25590
25591 [BZ #12847]
25592 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25593 user-controlled locks.
25594
25595 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
25596
25597 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25598 register.
25599
25600 2014-12-10 Joseph Myers <joseph@codesourcery.com>
25601
25602 * configure.ac (--disable-werror): New configure option.
25603 (enable_werror): New AC_SUBST.
25604 * configure: Regenerated.
25605 * config.make.in (enable-werror): New variable.
25606 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25607 -Wno-error=undef.
25608 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25609 * manual/install.texi (Configuring and compiling): Document
25610 --disable-werror.
25611 * INSTALL: Regenerated.
25612 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25613 (CFLAGS-tst-chk2.c): Likewise.
25614 (CFLAGS-tst-chk3.c): Likewise.
25615 (CFLAGS-tst-chk4.cc): Likewise.
25616 (CFLAGS-tst-chk5.cc): Likewise.
25617 (CFLAGS-tst-chk6.cc): Likewise.
25618 (CFLAGS-tst-lfschk1.c): Likewise.
25619 (CFLAGS-tst-lfschk2.c): Likewise.
25620 (CFLAGS-tst-lfschk3.c): Likewise.
25621 (CFLAGS-tst-lfschk4.cc): Likewise.
25622 (CFLAGS-tst-lfschk5.cc): Likewise.
25623 (CFLAGS-tst-lfschk6.cc): Likewise.
25624
25625 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25626 (main): Disable -Wdeprecated-declarations around calls to
25627 register_printf_function.
25628
25629 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25630 (do_test): Disable -Wdiv-by-zero around some calls to
25631 fwrite_unlocked and fread_unlocked.
25632
25633 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25634 (DIAG_POP_NEEDS_COMMENT): Likewise.
25635 (_DIAG_STR1): Likewise.
25636 (_DIAG_STR): Likewise.
25637 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25638 * stdio-common/bug21.c: Include <libc-internal.h>.
25639 (do_test): Disable -Wformat around call to sscanf.
25640 * stdio-common/scanf14.c: Include <libc-internal.h>.
25641 (main): Disable -Wformat around some calls to scanf functions.
25642
25643 2014-12-09 Torvald Riegel <triegel@redhat.com>
25644
25645 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25646
25647 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25648
25649 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25650 stack variable alignment.
25651
25652 2014-12-06 Joseph Myers <joseph@codesourcery.com>
25653
25654 [BZ #17682]
25655 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25656 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25657 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25658 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25659 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25660 __getrlimit instead of getrlimit.
25661 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25662 __gettimeofday instead of gettimeofday.
25663 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25664 Likewise.
25665 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25666 Likewise.
25667 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25668 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25669 Remove variable.
25670 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25671 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25672
25673 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25674
25675 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25676 for wide-character tests.
25677
25678 2014-12-04 Roland McGrath <roland@hack.frob.com>
25679
25680 * io/openat64.c: #include <libc-internal.h>
25681 (__openat64): Prototypify. Use ignore_value on MODE.
25682 * io/openat.c: Likewise.
25683 * misc/reboot.c: #include <libc-internal.h>
25684 (reboot): Prototypify. Use ignore_value on HOWTO.
25685 * misc/ptrace.c: #include <libc-internal.h>
25686 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
25687
25688 2014-12-04 Joseph Myers <joseph@codesourcery.com>
25689
25690 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25691 XPG4, UNIX98 and XOPEN2K.
25692 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25693 Remove variable.
25694 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25695
25696 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25697
25698 * libio/fileops.c: Use ISO C style for function definitions.
25699 * libio/iofopen.c: Likewise.
25700 * libio/wfileops.c: Likewise.
25701
25702 [BZ #17653]
25703 * libio/fileops.c (_IO_new_file_underflow): Unset cached
25704 offset on EOF.
25705 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25706 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25707 (fgets_func): Function pointer to fgets and fgetws.
25708 (do_ftell_test): Add test to verify ftell value after read
25709 EOF.
25710 (do_test): Set fgets_func.
25711
25712 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25713 O_TRUNC flag for w and w+ modes.
25714 (do_rewind_test): Likewise.
25715 (do_ftell_test): Likewise.
25716 (do_write_test): Likewise.
25717
25718 [BZ #17647]
25719 * libio/fileops.c (do_ftell): Seek only when there are
25720 unflushed writes.
25721 * libio/wfileops.c (do_ftell_wide): Likewise.
25722 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25723 test case.
25724 (do_one_test): Call it.
25725
25726 2014-12-03 Joseph Myers <joseph@codesourcery.com>
25727
25728 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25729 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25730 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25731 Remove variable.
25732 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25733 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25734 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25735
25736 2014-12-02 Joseph Myers <joseph@codesourcery.com>
25737
25738 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25739 Remove variable.
25740 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25741
25742 [BZ #17668]
25743 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25744 as weak alias of __getifaddrs. Use libc_hidden_weak.
25745 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25746 __freeifaddrs. Use libc_hidden_weak.
25747 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25748 define as weak alias of __getifaddrs. Use libc_hidden_weak.
25749 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25750 __freeifaddrs. Use libc_hidden_weak.
25751 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25752 __getifaddrs and define as weak alias of __getifaddrs. Use
25753 libc_hidden_weak.
25754 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25755 __freeifaddrs. Use libc_hidden_weak.
25756 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25757 Remove variable.
25758 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25759 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25760
25761 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
25762
25763 [BZ #17601]
25764 * sysdeps/mips/start.S (__start): Use indirect jump to call
25765 __libc_start_main.
25766
25767 2014-12-02 Joseph Myers <joseph@codesourcery.com>
25768
25769 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25770
25771 * nptl/tst-mutex1.c: Include <stdbool.h>.
25772 [!ATTR] (ATTR_NULL): New macro.
25773 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25774 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25775 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25776
25777 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
25778 to char *.
25779
25780 [BZ #17665]
25781 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
25782 Change conditional to [__USE_MISC].
25783
25784 [BZ #17664]
25785 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
25786 fgets_unlocked.
25787 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
25788 __fgets_unlocked.
25789 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
25790 fgets_unlocked.
25791 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
25792 Remove variable.
25793 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25794 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25795 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25796 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25797 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25798 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25799 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25800 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25801 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25802
25803 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
25804
25805 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25806
25807 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25808 Remove strpbrk objects.
25809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25810 (__libc_ifunc_impl_list): Remove strpbrk implementation.
25811 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
25812 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
25813 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
25814 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
25815
25816 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25817 Remove strcspn objects.
25818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25819 (__libc_ifunc_impl_list): Remove strcspn implementation.
25820 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
25821 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
25822 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
25823 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
25824
25825 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25826 Remove strspn objetcs.
25827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25828 (__libc_ifunc_impl_list): Remove strspn implementation.
25829 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
25830 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25831 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
25832 * sysdeps/powerpc/powerpc64/strspn.S: New file.
25833
25834 2014-12-01 James Lemke <jwlemke@codesourcery.com>
25835
25836 [BZ #17581]
25837 * malloc/hooks.c
25838 (mem2mem_check): Add a terminator to the chain of checking blocks.
25839 (malloc_check_get_size): Use it here.
25840 (mem2chunk_check): Ditto.
25841
25842 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25843
25844 * sysdeps/powerpc/powerpc64/strtok.S: New file.
25845 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
25846
25847 2014-11-29 Carlos O'Donell <carlos@redhat.com>
25848
25849 * bits/ioctl-types.h: Indent preprocessor directives correctly.
25850
25851 * nptl/nptl-init.c: Include libc-internal.h.
25852 (__pthread_initialize_minimal_internal): Use ROUND_UP.
25853
25854 * elf/ldconfig.c (search_dir): Expand comment.
25855
25856 2014-11-29 Joseph Myers <joseph@codesourcery.com>
25857
25858 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25859 variable.
25860 (linknamespace-symlist-stdlibs-tests): Likewise.
25861 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25862 instead of $(objpfx)symlist-stdlibs.
25863 (linknamespace-libs-isoc): New variable.
25864 (linknamespace-libs): Use $(linknamespace-libs-isoc).
25865 (linknamespace-libs-ISO): New variable.
25866 (linknamespace-libs-ISO99): Likewise.
25867 (linknamespace-libs-ISO11): Likewise.
25868 (linknamespace-libs-XPG3): Likewise.
25869 (linknamespace-libs-XPG4): Likewise.
25870 (linknamespace-libs-POSIX): Likewise.
25871 (linknamespace-libs-UNIX98): Likewise.
25872 (linknamespace-libs-XOPEN2K): Likewise.
25873 (linknamespace-libs-POSIX2008): Likewise.
25874 (linknamespace-libs-XOPEN2K8): Likewise.
25875 ($(objpfx)symlist-stdlibs): Replace by
25876 $(linknamespace-symlist-stdlibs-tests). Use
25877 $(linknamespace-libs-$*) as set of libraries.
25878 ($(linknamespace-header-tests)): Update dependencies. Use
25879 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25880 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25881 * conform/linknamespace.pl: Remove comment about considering
25882 definitions of symbols from irrelevant libraries.
25883
25884 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
25885
25886 [BZ #13862]
25887 * elf/dl-tls.c: Include <atomic.h>.
25888 (oom): Remove #ifdef SHARED/#endif.
25889 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25890 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
25891 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25892 big enough.
25893 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25894 * nptl/Makefile (tests): Add tst-stack4.
25895 (modules-names): Add tst-stack4mod.
25896 ($(objpfx)tst-stack4): New.
25897 (tst-stack4mod.sos): Likewise.
25898 ($(objpfx)tst-stack4.out): Likewise.
25899 ($(tst-stack4mod.sos)): Likewise.
25900 (clean): Likewise.
25901 * nptl/tst-stack4.c: New file.
25902 * nptl/tst-stack4mod.c: Likewise.
25903
25904 2014-11-27 J. Brown <jb999@gmx.de>
25905
25906 * sysdeps/x86/bits/string.h: Add recent CPUs.
25907
25908 2014-11-27 Joseph Myers <joseph@codesourcery.com>
25909
25910 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25911 sigblock.
25912
25913 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25914 feof.
25915
25916 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25917 variable.
25918
25919 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
25920
25921 * nscd/connections.c: Include libc-internal.h because of macro
25922 usage ignore_value.
25923
25924 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25925
25926 * string/bits/string3.h (__warn_memset_zero_len): Don't
25927 declare for gcc newer than 5.0.
25928 (memset): Don't test for zero-length __LEN for gcc newer than
25929 5.0.
25930
25931 2014-11-27 Joseph Myers <joseph@codesourcery.com>
25932
25933 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25934 size_t for %zu format.
25935
25936 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25937 difference, not %ju.
25938
25939 2014-11-26 Joseph Myers <joseph@codesourcery.com>
25940
25941 * include/libc-internal.h (ignore_value): New macro.
25942 * nscd/connections.c (restart): Wrap calls to setuid and setgid
25943 with ignore_value.
25944
25945 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25946 definition.
25947
25948 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25949 pthread_cleanup_push to void *.
25950
25951 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25952 Undefine.
25953
25954 [BZ #16619]
25955 [BZ #16740]
25956 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25957 instead of 1L << 52.
25958
25959 * libio/bug-rewind.c (do_test): Check fwscanf return values.
25960 * libio/bug-rewind2.c (do_test): Likewise.
25961
25962 * debug/test-stpcpy_chk-ifunc.c: Remove file.
25963 * debug/test-strcpy_chk-ifunc.c: Likewise.
25964 * wcsmbs/test-wcschr-ifunc.c: Likewise.
25965 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25966 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25967 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25968 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25969 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25970 * Rules [$(multi-arch) = no] (tests): Do not filter out
25971 $(tests-ifunc).
25972 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25973 * debug/Makefile (tests-ifunc): Remove variable.
25974 (tests): Do not add $(tests-ifunc).
25975 * wcsmbs/Makefile (tests-ifunc): Remove variable.
25976 (tests): Do not add $(tests-ifunc).
25977 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25978 [TEST_IFUNC]: Remove conditionals.
25979 * string/test-string.h (TEST_IFUNC): Remove macro.
25980 [TEST_IFUNC]: Remove conditionals.
25981
25982 * string/test-strchr.c [!WIDE] (L): New macro.
25983 [WIDE] (L): Likewise.
25984 (check1): Use CHAR instead of char. Use L on string and character
25985 constants.
25986
25987 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
25988
25989 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25990 tests.
25991 * sysdeps/powerpc/bits/atomic.h
25992 (__arch_atomic_exchange_and_add_32_acq): Add definition.
25993 (__arch_atomic_exchange_and_add_32_rel): Likewise.
25994 (atomic_exchange_and_add_acq): Likewise.
25995 (atomic_exchange_and_add_rel): Likewise.
25996 * sysdeps/powerpc/powerpc32/bits/atomic.h
25997 (__arch_atomic_exchange_and_add_64_acq): Add definition.
25998 (__arch_atomic_exchange_and_add_64_rel): Likewise.
25999 * sysdeps/powerpc/powerpc64/bits/atomic.h
26000 (__arch_atomic_exchange_and_add_64_acq): Add definition.
26001 (__arch_atomic_exchange_and_add_64_rel): Likewise.
26002
26003 2014-11-26 Torvald Riegel <triegel@redhat.com>
26004
26005 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26006 Change synchronization of __sched_fifo_min_prio and
26007 __sched_fifo_max_prio.
26008 * nptl/pthread_mutexattr_getprioceiling.c
26009 (pthread_mutexattr_getprioceiling): Likewise.
26010 * nptl/pthread_mutexattr_setprioceiling.c
26011 (pthread_mutexattr_setprioceiling): Likewise.
26012 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26013 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26014 Likewise.
26015
26016 2014-11-26 Joseph Myers <joseph@codesourcery.com>
26017
26018 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26019 void.
26020
26021 2014-11-25 Joseph Myers <joseph@codesourcery.com>
26022
26023 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26024 third argument const.
26025
26026 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
26027
26028 fnmatch: work around GCC compiler warning bug with uninit var
26029 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26030 This works around a bug with x86-64 GCC 4.9.2 and earlier
26031 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26032 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26033 used uninitialized in this function [-Wmaybe-uninitialized]".
26034
26035 2014-11-25 Joseph Myers <joseph@codesourcery.com>
26036
26037 * posix/bug-regex31.c (main): Return RES not 0.
26038
26039 2014-11-25 Anton Blanchard <anton@samba.org>
26040
26041 * sysdeps/powerpc/bits/atomic.h
26042 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26043
26044 2014-11-24 Sterling Augustine <saugustine@google.com>
26045
26046 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26047
26048 2014-11-24 Ryan Cumming <etaoins@gmail.com>
26049
26050 [BZ #17608]
26051 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26052
26053 2014-11-24 Joseph Myers <joseph@codesourcery.com>
26054
26055 [BZ #17633]
26056 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26057 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26058 variable.
26059 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26060 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26061
26062 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
26063
26064 * string/strncpy.c (strncpy): Improve performance by using memset.
26065
26066 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
26067
26068 * string/strcpy.c (strcpy):
26069 Improve performance by using strlen and memcpy.
26070
26071 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
26072
26073 * string/strcoll_l.c (get_next_seq): __always_inline.
26074 * string/strcoll_l.c (do_compare): __always_inline.
26075
26076 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26077
26078 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26079 defined.
26080 * include/mqueue.h: Likewise.
26081 * include/stdlib.h: Likewise.
26082
26083 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26084 (get_null_defines): Adjust.
26085 * sunrpc/Makefile: Adjust comment.
26086 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26087 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26088 (CFLAGS-interp.c): Likewise.
26089 (CFLAGS-ldconfig.c): Likewise.
26090 (CPPFLAGS-.os): Likewise.
26091 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26092 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26093 * extra-modules.mk (extra-modules.mk): Likewise.
26094 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26095 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26096 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26097 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26098 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26099 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26100 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26101 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26102 * iconvdata/Makefile (CPPFLAGS): Likewise.
26103 (cpp-srcs-left): Add libof for all iconvdata routines.
26104 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26105 * include/assert.h: Likewise.
26106 * include/ctype.h: Likewise.
26107 * include/errno.h: Likewise.
26108 * include/libc-symbols.h: Likewise.
26109 * include/math.h: Likewise.
26110 * include/netdb.h: Likewise.
26111 * include/resolv.h: Likewise.
26112 * include/stdio.h: Likewise.
26113 * include/stdlib.h: Likewise.
26114 * include/string.h: Likewise.
26115 * include/sys/stat.h: Likewise.
26116 * include/wctype.h: Likewise.
26117 * intl/l10nflist.c: Likewise.
26118 * libidn/idn-stub.c: Likewise.
26119 * libio/libioP.h: Likewise.
26120 * nptl/libc_multiple_threads.c: Likewise.
26121 * nptl/pthreadP.h: Likewise.
26122 * posix/regex_internal.h: Likewise.
26123 * resolv/res_hconf.c: Likewise.
26124 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26125 * sysdeps/arm/memmove.S: Likewise.
26126 * sysdeps/arm/sysdep.h: Likewise.
26127 * sysdeps/generic/_itoa.h: Likewise.
26128 * sysdeps/generic/symbol-hacks.h: Likewise.
26129 * sysdeps/gnu/errlist.awk: Likewise.
26130 * sysdeps/gnu/errlist.c: Likewise.
26131 * sysdeps/i386/i586/memcpy.S: Likewise.
26132 * sysdeps/i386/i586/memset.S: Likewise.
26133 * sysdeps/i386/i686/memcpy.S: Likewise.
26134 * sysdeps/i386/i686/memmove.S: Likewise.
26135 * sysdeps/i386/i686/mempcpy.S: Likewise.
26136 * sysdeps/i386/i686/memset.S: Likewise.
26137 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26138 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26139 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26140 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26141 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26142 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26143 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26144 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26145 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26146 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26147 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26148 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26149 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26150 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26151 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26152 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26153 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26154 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26155 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26156 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26157 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26158 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26159 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26160 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26161 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26162 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26163 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26164 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26165 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26166 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26167 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26168 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26169 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26170 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26171 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26172 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26173 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26174 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26175 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26176 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26177 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26178 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26179 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26180 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26181 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26182 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26183 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26184 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26185 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26186 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26187 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26188 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26189 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26190 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26191 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26192 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26193 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26194 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26195 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26196 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26197 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26198 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26199 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26200 * sysdeps/nptl/bits/libc-lock.h: Likewise.
26201 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26202 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26203 * sysdeps/posix/closedir.c: Likewise.
26204 * sysdeps/posix/opendir.c: Likewise.
26205 * sysdeps/posix/readdir.c: Likewise.
26206 * sysdeps/posix/rewinddir.c: Likewise.
26207 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26208 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26209 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26210 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26211 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26212 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26213 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26214 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26215 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26216 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26217 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26218 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26219 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26220 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26221 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26222 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26223 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26224 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26225 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26226 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26227 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26228 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26229 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26230 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26231 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26232 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26233 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26234 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26235 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26242 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26243 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26244 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26245 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26246 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26247 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26248 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26249 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26250 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26251 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26252 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26253 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26254 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26255 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26256 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26257 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26258 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26259 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26260 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26261 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26262 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26263 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26264 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26265 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26266 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26267 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26268 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26269 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26270 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26271 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26272 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26273 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26274 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26275 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26276 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26277 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26278 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26279 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26280 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26281 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26282 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26283 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26284 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26285 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26286 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26287 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26288 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26289 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26290 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26291 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26292 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26293 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26294 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26295 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26296 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26297 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26298 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26299 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26300 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26301 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26302 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26303 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26305 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26306 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26307 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26308 * sysdeps/unix/alpha/sysdep.S: Likewise.
26309 * sysdeps/unix/alpha/sysdep.h: Likewise.
26310 * sysdeps/unix/make-syscalls.sh: Likewise.
26311 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26312 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26313 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26314 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26315 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26316 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26317 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26318 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26319 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26320 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26321 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26322 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26323 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26324 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26325 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26326 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26327 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26328 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26329 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26330 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26331 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26332 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26333 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26334 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26335 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26336 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26337 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26340 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26341 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26342 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26344 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26345 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26346 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26347 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26348 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26349 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26350 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26351 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26352 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26353 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26354 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26355 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26356 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26357 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26358 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26361 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26362 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26363 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26364 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26365 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26366 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26367 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26369 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26370 * sysdeps/x86_64/memcpy.S: Likewise.
26371 * sysdeps/x86_64/memmove.c: Likewise.
26372 * sysdeps/x86_64/memset.S: Likewise.
26373 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26374 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26375 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26376 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26377 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26378 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26379 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26380 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26381 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26382 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26383 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26384 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26385 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26386 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26387 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26388 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26389 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26390 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26391 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26392 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26393 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26394 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26395 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26396 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26397 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26398 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26399 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26400 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26401 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26402 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26403 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26404 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26405 * sysdeps/x86_64/strcmp.S: Likewise.
26406
26407 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26408
26409 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26410 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26411 * elf/rtld-Rules: Likewise.
26412 * elf/setup-vdso.h: Likewise.
26413 * include/assert.h: Likewise.
26414 * include/bits/stdlib-float.h: Likewise.
26415 * include/errno.h: Likewise.
26416 * include/sys/stat.h: Likewise.
26417 * include/unistd.h: Likewise.
26418 * sysdeps/aarch64/setjmp.S: Likewise.
26419 * sysdeps/alpha/setjmp.S: Likewise.
26420 * sysdeps/arm/__longjmp.S: Likewise.
26421 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26422 * sysdeps/arm/setjmp.S: Likewise.
26423 * sysdeps/arm/sysdep.h: Likewise.
26424 * sysdeps/generic/_itoa.h: Likewise.
26425 * sysdeps/generic/dl-sysdep.h: Likewise.
26426 * sysdeps/generic/ldsodefs.h: Likewise.
26427 * sysdeps/i386/dl-tls.h: Likewise.
26428 * sysdeps/i386/setjmp.S: Likewise.
26429 * sysdeps/m68k/setjmp.c: Likewise.
26430 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26431 * sysdeps/mach/hurd/opendir.c: Likewise.
26432 * sysdeps/posix/getcwd.c: Likewise.
26433 * sysdeps/posix/opendir.c: Likewise.
26434 * sysdeps/posix/profil.c: Likewise.
26435 * sysdeps/powerpc/dl-procinfo.h: Likewise.
26436 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26437 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26438 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26439 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26440 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26441 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26442 * sysdeps/s390/dl-tls.h: Likewise.
26443 * sysdeps/s390/s390-32/setjmp.S: Likewise.
26444 * sysdeps/s390/s390-64/setjmp.S: Likewise.
26445 * sysdeps/sh/sh3/setjmp.S: Likewise.
26446 * sysdeps/sh/sh4/setjmp.S: Likewise.
26447 * sysdeps/unix/alpha/sysdep.h: Likewise.
26448 * sysdeps/unix/arm/sysdep.S: Likewise.
26449 * sysdeps/unix/i386/sysdep.S: Likewise.
26450 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26451 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26452 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26453 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26454 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26455 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26456 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26457 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26458 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26459 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26460 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26461 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26462 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26465 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26466 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26467 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26468 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26469 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26470 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26471 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26473 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26474 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26475 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26477 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26478 * sysdeps/x86_64/setjmp.S: Likewise.
26479
26480 * include/math.h: Use IS_IN instead of IS_IN_libm.
26481 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26482 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26483 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26484 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26485 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26486 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26487 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26488 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26489 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26490 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26491 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26492 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26493 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26494 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26495 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26496 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26497 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26498 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26499 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26500 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26501 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26502 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26503 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26504 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26505 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26506 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26507 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26508 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26509 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26510 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26511 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26512 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26513 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26515 Likewise.
26516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26517 Likewise.
26518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26519 Likewise.
26520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26521 Likewise.
26522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26523 Likewise.
26524 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26525 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26526 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26527 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26528 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26529 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26535 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26536 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26537 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26538 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26539 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26540 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26541 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26542 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26543 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26544 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26545 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26546 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26547 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26548 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26550 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26551
26552 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26553 * nptl/pthreadP.h: Likewise.
26554 * nptl_db/structs.def: Likewise.
26555 * sysdeps/arm/sysdep.h: Likewise.
26556 * sysdeps/nptl/bits/libc-lock.h: Likewise.
26557 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26558 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26559 * sysdeps/unix/alpha/sysdep.h: Likewise.
26560 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26561 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26562 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26563 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26564 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26565 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26566 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26567 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26568 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26569 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26570 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26571 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26572 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26573 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26576 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26578 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26579 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26581 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26582 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26583 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26584 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26585 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26586
26587 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26588 * nptl/pthreadP.h: Likewise.
26589 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26590 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26591 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26592 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26593 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26594 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26595 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26596 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26597 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26598 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26599 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26600 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26602 Likewise.
26603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26604 Likewise.
26605 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26607 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26610 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26611 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26612 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26613
26614 * dlfcn/dladdr.c: Use IS_IN.
26615 * dlfcn/dladdr1.c: Likewise.
26616 * dlfcn/dlclose.c: Likewise.
26617 * dlfcn/dlerror.c: Likewise.
26618 * dlfcn/dlinfo.c: Likewise.
26619 * dlfcn/dlmopen.c: Likewise.
26620 * dlfcn/dlopen.c: Likewise.
26621 * dlfcn/dlsym.c: Likewise.
26622 * dlfcn/dlvsym.c: Likewise.
26623
26624 * include/ifaddrs.h: Use IS_IN.
26625 * inet/check_pf.c: Likewise.
26626 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26627 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26628
26629 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26630 IS_IN_ldconfig.
26631 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26632 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26633
26634 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26635 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26636 IS_IN (libc).
26637
26638 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26639
26640 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26641 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26642 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26643 * include/libc-symbols.h (IS_IN_LIB): New macro.
26644 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26645 * include/netdb.h: Likewise.
26646 * include/stap-probe.h: Remove all uses of IN_LIB.
26647
26648 * Makeconfig (module-cppflags-real): Define MODULE_NAME
26649 instead of IN_MODULE.
26650 * include/libc-symbols.h (IN_MODULE): Define using
26651 MODULE_NAME.
26652 (PASTE_NAME, PASTE_NAME1): New macros.
26653 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26654 of IN_LIB.
26655 (STAP_PROBE_ASM): Likewise.
26656
26657 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
26658
26659 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26660 __mach_init in dlopened libc.
26661
26662 2014-11-22 Mike Frysinger <vapier@gentoo.org>
26663
26664 * sysdeps/arm/preconfigure.ac: Delete EABI check.
26665 * sysdeps/arm/preconfigure: Regenerate.
26666
26667 2014-11-21 Roland McGrath <roland@hack.frob.com>
26668
26669 * nptl/pthread_create.c (__pthread_create_2_1): Set
26670 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26671 when copying values from IATTR into PD.
26672
26673 2014-11-21 Will Newton <will.newton@linaro.org>
26674 Andrew Pinski <andrew.pinski@caviumnetworks.com>
26675
26676 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26677 Refactor inline-asm. Also add comment.
26678
26679 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26680 ElfW macro instead of hardcoded Elf64 types.
26681 (la_aarch64_gnu_pltenter): Likewise.
26682 * sysdeps/aarch64/dl-machine.h
26683 (elf_machine_runtime_setup): Use ElfW(Addr).
26684
26685 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26686 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26687 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26688 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26689 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26690 (R_AARCH64_TLS_DTPMOD64): Rename to ..
26691 (R_AARCH64_TLS_DTPMOD): This.
26692 (R_AARCH64_TLS_DTPREL64): Rename to ...
26693 (R_AARCH64_TLS_DTPREL): This.
26694 (R_AARCH64_TLS_TPREL64): Rename to ...
26695 (R_AARCH64_TLS_TPREL): This.
26696 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26697 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26698 R_AARCH64_TLS_TPREL64.
26699 (elf_machine_rela): Likewise.
26700
26701 2014-11-21 Torvald Riegel <triegel@redhat.com>
26702
26703 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26704 by setting it to 0. 64b atomics are not supported currently.
26705
26706 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
26707
26708 [BZ #16469]
26709 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26710 search domain names.
26711
26712 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
26713
26714 [BZ #16469]
26715 * NEWS: Update.
26716 * resolv/res_query.c (__libc_res_nquerydomain): Retain
26717 trailing dot.
26718 * posix/tst-getaddrinfo5.c: New.
26719 * posix/Makefile (tests): Add it.
26720
26721 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
26722
26723 [BZ #14498]
26724 * NEWS: Fixed.
26725 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26726 after parsing line but before break_if_match.
26727 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26728 if there is a protocol mismatch.
26729
26730 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26731
26732 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26733 because the potential race is on the user-supplied stream.
26734
26735 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
26736
26737 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26738 string literal if not passed a buffer.
26739 * manual/job.texi (ctermid): Update reasoning, note deviation
26740 from posix, suggest mtasurace when not passed a buffer, for
26741 future non-preliminary safety notes.
26742
26743 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
26744
26745 * manual/users.texi (cuserid): Fix MT-Safety note for the case
26746 of not passing it a buffer.
26747 Reported by Peng Haitao.
26748
26749 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
26750
26751 * manual/Makefile ($(objpfx)stamp-summary): Require
26752 check-safety.sh to pass.
26753 * manual/check-safety.sh: Wish for verification that every
26754 @deftypefn and @deftypefun is followed by a @safety remark.
26755
26756 2014-11-20 Roland McGrath <roland@hack.frob.com>
26757
26758 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26759
26760 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26761 PTHREAD_CANCEL_ASYNCHRONOUS.
26762 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26763 send SIGCANCEL.
26764
26765 * nptl/default-sched.h: New file.
26766 * sysdeps/unix/sysv/linux/default-sched.h: New file.
26767 * nptl/pthread_create.c: Include it.
26768 (__pthread_create_2_1): Use collect_default_sched instead of making
26769 Linux syscalls here directly.
26770
26771 2014-11-20 Torvald Riegel <triegel@redhat.com>
26772
26773 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26774 __pthread_once): Use C11 atomics.
26775
26776 2014-11-20 Torvald Riegel <triegel@redhat.com>
26777
26778 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
26779
26780 2014-11-20 Torvald Riegel <triegel@redhat.com>
26781
26782 * include/atomic.h (__atomic_link_error, __atomic_check_size,
26783 atomic_thread_fence_acquire, atomic_thread_fence_release,
26784 atomic_thread_fence_seq_cst, atomic_load_relaxed,
26785 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
26786 atomic_compare_exchange_weak_relaxed,
26787 atomic_compare_exchange_weak_acquire,
26788 atomic_compare_exchange_weak_release,
26789 atomic_exchange_acquire, atomic_exchange_release,
26790 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
26791 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
26792 atomic_fetch_and_acquire,
26793 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
26794
26795 2014-11-20 Torvald Riegel <triegel@redhat.com>
26796
26797 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
26798 USE_ATOMIC_COMPILER_BUILTINS): Define.
26799 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
26800 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26801 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
26802 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26803 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
26804 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26805 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
26806 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26807 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
26808 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26809 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
26810 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26811 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
26812 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26813 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
26814 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26815 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26816 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26817 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26818 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26819 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26820 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26821 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26822 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26823 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
26824 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26825 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26826 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26827 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
26828 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26829 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
26830 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26831 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
26832 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26833 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26834 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26835 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
26836 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26837 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
26838 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26839
26840 2014-11-19 Roland McGrath <roland@hack.frob.com>
26841
26842 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
26843 the sched_priority value here. It was already checked when the user
26844 called pthread_attr_setschedparam.
26845
26846 * nptl/tst-bad-schedattr.c: New file.
26847 * nptl/Makefile (tests): Add it.
26848
26849 2014-11-19 Carlos O'Donell <carlos@redhat.com>
26850 Florian Weimer <fweimer@redhat.com>
26851 Joseph Myers <joseph@codesourcery.com>
26852 Adam Conrad <adconrad@0c3.net>
26853 Andreas Schwab <schwab@suse.de>
26854 Brooks <bmoses@google.com>
26855
26856 [BZ #17625]
26857 * wordexp-test.c (__dso_handle): Add prototype.
26858 (__register_atfork): Likewise.
26859 (__app_register_atfork): New function.
26860 (registered_forks): New global.
26861 (register_fork): New function.
26862 (test_case): Add 3 new tests for WRDE_CMDSUB.
26863 (main): Call __app_register_atfork.
26864 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26865 fork count is non-zero fail the test.
26866 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26867 is set.
26868 (parse_dollars): Remove check for WRDE_NOCMD.
26869 (parse_dquote): Likewise.
26870
26871 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26872
26873 * Makeconfig (built-modules): List non-library modules to be
26874 built.
26875 (module-cppflags): Include libc-modules.h for
26876 everything except shlib-versions.v.i.
26877 (CPPFLAGS): Use it.
26878 (before-compile): Add libc-modules.h.
26879 ($(common-objpfx)libc-modules.h,
26880 $(common-objpfx)libc-modules.stmp): New targets.
26881 (common-generated): Add libc-modules.h and libc-modules.stmp.
26882 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26883 * include/libc-symbols.h: Don't include libc-modules.h.
26884 * include/libc-modules.h: Remove file.
26885 * scripts/gen-libc-modules.awk: New script to generate
26886 libc-modules.h.
26887 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26888 Depend on libc-modules.stmp.
26889
26890 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26891
26892 * Makeconfig (in-module): Get value of libof set for the
26893 translation unit.
26894 (CPPFLAGS): Use $(in-module).
26895 * Makerules: Don't suffix routine names for nonlib.
26896 * include/libc-modules.h: New file.
26897 * include/libc-symbols.h: Include libc-modules.h
26898 (IS_IN): New macro to replace IS_IN_* macros.
26899 * elf/Makefile: Set libof-* for each routine.
26900 * elf/rtld-Rules: Likewise.
26901 * extra-modules.mk: Likewise.
26902 * iconv/Makefile: Likewise.
26903 * iconvdata/Makefile: Likewise.
26904 * locale/Makefile: Likewise.
26905 * malloc/Makefile: Likewise.
26906 * nss/Makefile: Likewise.
26907 * sysdeps/gnu/Makefile: Likewise.
26908 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26909 * sysdeps/unix/sysv/linux/Makefile: Likewise.
26910 * sysdeps/s390/s390-64/Makefile: Likewise.
26911 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
26912 CPPFLAGS for nscd instead of nonlib.
26913
26914 2014-11-18 Roland McGrath <roland@hack.frob.com>
26915
26916 * nptl/createthread.c: New file.
26917
26918 * nptl/createthread.c: Moved ...
26919 * sysdeps/unix/sysv/linux/createthread.c: ... here.
26920
26921 * nptl/createthread.c: Add proper top-line comment.
26922 (do_clone): Folded into ...
26923 (create_thread): ... here. Take new arguments STOPPED_START and
26924 THREAD_RAN. Always set PD->stopped_start to something here. Don't
26925 increment __nptl_threads, do event-reporting logic, do
26926 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26927 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
26928 resource cleanup if sched_setaffinity or sched_setscheduler fails,
26929 just send SIGCANCEL.
26930 * nptl/pthread_create.c: Forward-declare create_thread before
26931 including createthread.c.
26932 (start_thread): Use new macro START_THREAD_DEFN to replace defining
26933 declaration, and new macro START_THREAD_SELF to replace argument.
26934 Remove return statement.
26935 (report_thread_creation): New function.
26936 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
26937 synchronization logic, and __nptl_nthreads increment here, around
26938 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
26939 PD->parent_cancelhandling here, before create_thread. When
26940 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26941 __deallocate_stack, and ENOMEM translation here.
26942
26943 2014-11-18 Joseph Myers <joseph@codesourcery.com>
26944
26945 [BZ #17616]
26946 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26947 (mptwo): Rename to __mptwo.
26948 (__inv): Use __mptwo instead of mptwo.
26949 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26950 (mptwo): Rename to __mptwo.
26951 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26952 of mpone and __mptwo instead of mptwo.
26953 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26954 instead of mpone.
26955 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26956 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26957 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26958 of mpone and __mptwo instead of mptwo.
26959 (__mpranred): Use __mpone instead of mpone.
26960 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26961 variable.
26962 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26963 (test-xfail-ISO99/math.h/linknamespace): Likewise.
26964 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26965 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26966 (test-xfail-ISO11/math.h/linknamespace): Likewise.
26967 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26968 (test-xfail-XPG3/math.h/linknamespace): Likewise.
26969 (test-xfail-XPG4/math.h/linknamespace): Likewise.
26970 (test-xfail-POSIX/math.h/linknamespace): Likewise.
26971 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26972 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26973 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26974 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26975 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26976 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26977 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26978 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26979 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26980 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26981
26982 2014-11-18 Tom de Vries <tom@codesoucery.com>
26983
26984 * manual/signal.texi (Primitives Interrupted by Signals): In section,
26985 replace BSD Handler xref with BSD Signal Handling.
26986
26987 2014-11-17 Richard Henderson <rth@redhat.com>
26988
26989 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26990 (_FP_PACK_RAW_2): Remove.
26991 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26992 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26993 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26994 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26995 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26996 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26997 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26998 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26999 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27000 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27001 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27002 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27003 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27004 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27005 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27006 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27007
27008 2014-11-14 Roland McGrath <roland@hack.frob.com>
27009
27010 * signal/signal.h [__USE_MISC]
27011 (struct sigvec): Remove type.
27012 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27013 (sigvec): Remove declaration.
27014 * sysdeps/posix/sigvec.c: Moved ...
27015 * signal/sigvec.c: ... here, replacing old file.
27016 (struct sigvec): New type, copied from old signal.h definition.
27017 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27018 (__sigvec): Convert definition to prototype.
27019 (sigvec): Replace weak_alias with compat_symbol.
27020 * signal/Versions (libc: GLIBC_2.21): New version set.
27021 * include/signal.h: Remove __sigvec declaration.
27022 * sysdeps/unix/bsd/sigvec.c: Remove file.
27023 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27024 * manual/signal.texi (BSD Handler): Remove subsection.
27025 Move siginterrupt up to ...
27026 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
27027 (Blocking in BSD): Fold subsection into its parent.
27028 * NEWS: Mention sigvec removal.
27029
27030 2014-11-14 Joseph Myers <joseph@codesourcery.com>
27031
27032 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27033 (DLA_FMS): Make definition conditional only on [__FMA4__].
27034 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27035 definition.
27036
27037 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27038 Make definition conditional only on [PROF].
27039 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27040 definition.
27041 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27042 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27043
27044 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27045 !__GNUC__].
27046 * include/signal.h (__sigpause): Move declaration above call to
27047 libc_hidden_proto.
27048 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27049 variable.
27050 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27051 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27052
27053 2014-11-14 David S. Miller <davem@davemloft.net>
27054
27055 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27056 Define before including <string/memcpy.c> and <string/mempcpy.c>.
27057
27058 2014-11-14 Joseph Myers <joseph@codesourcery.com>
27059
27060 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27061 * configure: Regenerated.
27062 * manual/install.texi (Tools for Compilation): Document a
27063 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27064 compiler verified to work.
27065 * INSTALL: Regenerated.
27066
27067 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27068 redeclare with asm name.
27069 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27070 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27071 including <string.h>.
27072 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27073 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27074 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27075 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27076 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27077 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27078 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27079
27080 2014-11-13 Joseph Myers <joseph@codesourcery.com>
27081
27082 * stdlib/strtol.c (__strtol): Use prototype definition.
27083
27084 [BZ #17594]
27085 * stdlib/strtol.c (SYM__): New macro.
27086 (SYM__1): Likewise.
27087 (__strtol): Likewise.
27088 (strtol): Rename to __strtol and define as weak alias of
27089 __strtol. Use libc_hidden_weak.
27090
27091 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27092
27093 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27094 Use numbered labels in inline assembly.
27095
27096 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27097
27098 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27099 Add setjmp LIBC_PROBE.
27100 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27101 Likewise.
27102 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27103 Add longjmp, longjmp_target LIBC_PROBE.
27104 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27105 Likewise.
27106
27107 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27108
27109 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27110 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27111 to get rid of unused variable warning.
27112
27113 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27114
27115 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27116 Check for unwind_backtrace == NULL only in SHARED case.
27117 (__backchain_backtrace): Compile only in SHARED case.
27118 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27119 Likewise.
27120 (__backchain_backtrace): Declare as static.
27121
27122 2014-11-12 Roland McGrath <roland@hack.frob.com>
27123
27124 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27125 (__libc_multiple_threads_ptr): Variable moved ...
27126 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27127
27128 2014-11-12 Joseph Myers <joseph@codesourcery.com>
27129
27130 * conform/GlibcConform.pm: New file.
27131 * conform/conformtest.pl: Use GlibcConform module.
27132 * conform/linknamespace.pl: New file.
27133 * conform/list-header-symbols.pl: Likewise.
27134 * conform/Makefile (linknamespace-symlists-base): New variable.
27135 (linknamespace-symlists-tests): Likewise.
27136 (linknamespace-header-base): Likewise.
27137 (linknamespace-header-tests): Likewise.
27138 (tests-special): Add new tests.
27139 ($(linknamespace-symlists-tests)): New rule.
27140 (linknamespace-libs): New variable.
27141 ($(objpfx)symlist-stdlibs): New rule.
27142 ($(linknamespace-header-tests)): Likewise.
27143 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27144 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27145 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27146 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27147 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27148 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27149 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27150 (test-xfail-ISO/math.h/linknamespace): Likewise.
27151 (test-xfail-ISO/signal.h/linknamespace): Likewise.
27152 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27153 (test-xfail-ISO/time.h/linknamespace): Likewise.
27154 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27155 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27156 (test-xfail-ISO99/math.h/linknamespace): Likewise.
27157 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27158 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27159 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27160 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27161 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27162 (test-xfail-ISO11/math.h/linknamespace): Likewise.
27163 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27164 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27165 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27166 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27167 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27168 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27169 (test-xfail-XPG3/math.h/linknamespace): Likewise.
27170 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27171 (test-xfail-XPG3/search.h/linknamespace): Likewise.
27172 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27173 (test-xfail-XPG3/time.h/linknamespace): Likewise.
27174 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27175 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27176 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27177 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27178 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27179 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27180 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27181 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27182 (test-xfail-XPG4/math.h/linknamespace): Likewise.
27183 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27184 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27185 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27186 (test-xfail-XPG4/search.h/linknamespace): Likewise.
27187 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27188 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27189 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27190 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27191 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27192 (test-xfail-XPG4/time.h/linknamespace): Likewise.
27193 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27194 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27195 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27196 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27197 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27198 (test-xfail-POSIX/math.h/linknamespace): Likewise.
27199 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27200 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27201 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27202 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27203 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27204 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27205 (test-xfail-POSIX/time.h/linknamespace): Likewise.
27206 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27207 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27208 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27209 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27210 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27211 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27212 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27213 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27214 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27215 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27216 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27217 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27218 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27219 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27220 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27221 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27222 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27223 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27224 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27225 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27226 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27227 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27228 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27229 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27230 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27231 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27232 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27233 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27234 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27235 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27236 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27237 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27238 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27239 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27240 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27241 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27242 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27243 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27244 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27245 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27246 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27247 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27248 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27249 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27250 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27251 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27252 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27253 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27254 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27255 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27256 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27257 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27258 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27259 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27260 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27261 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27262 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27263 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27264 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27265 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27266 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27267 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27268 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27269 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27270 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27271 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27272 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27273 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27274 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27275 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27276 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27277 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27278 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27279 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27280 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27281 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27282 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27283 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27284 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27285 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27286 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27287 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27288 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27289 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27290 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27291 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27292 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27293 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27294 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27295 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27296 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27297 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27298 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27299 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27300 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27301 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27302 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27303 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27304
27305 [BZ #17589]
27306 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27307 of fgets_unlocked.
27308
27309 [BZ #17585]
27310 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27311 (memmem): Rename to __memmem and define as weak alias of
27312 __memmem. Use libc_hidden_weak.
27313 (__memmem): Use libc_hidden_def.
27314 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
27315 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27316 memmem.
27317
27318 [BZ #17582]
27319 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27320 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
27321 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27322 and define as weak alias of __fgets_unlocked. Use
27323 libc_hidden_weak.
27324 (__fgets_unlocked): Use libc_hidden_def.
27325 * include/stdio.h (__fgets_unlocked): Declare. Use
27326 libc_hidden_proto.
27327 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27328 __fgets_unlocked instead of fgets_unlocked.
27329 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27330 (GET_NPROCS_CONF_PARSER): Likewise.
27331 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27332 (GET_NPROCS_CONF_PARSER): Likewise.
27333
27334 [BZ #17574]
27335 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27336 weak alias of __wmemset. Use libc_hidden_weak.
27337 (__wmemset): Use libc_hidden_def.
27338 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
27339 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27340 of wmemset.
27341
27342 [BZ #17573]
27343 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27344 with asm name __mempcpy.
27345 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27346
27347 [BZ #17572]
27348 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27349 and define as weak alias of __rawmemchr.
27350 (__rawmemchr): Do not define as strong alias of rawmemchr.
27351
27352 [BZ #17571]
27353 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27354 alias of __qsort_r.
27355 (qsort): Call __qsort_r instead of qsort_r.
27356 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27357 (__qsort_r): Declare. Call libc_hidden_proto.
27358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27359 instead of qsort_r.
27360 * nscd/gai.c (__qsort_r): Define to qsort_r.
27361 * posix/tst-rfc3484.c (__qsort_r): Likewise.
27362 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27363 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27364
27365 [BZ #17570]
27366 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27367 define as weak alias of __malloc_info.
27368
27369 [BZ #17584]
27370 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27371 as weak alias of __rewinddir. Don't use libc_hidden_def.
27372 (__rewinddir): Use libc_hidden_def.
27373 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27374 as weak alias of __rewinddir. Don't use libc_hidden_def.
27375 (__rewinddir): Use libc_hidden_def.
27376 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27377 weak alias of __rewinddir. Don't use libc_hidden_def.
27378 (__rewinddir): Use libc_hidden_def.
27379 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27380 (__rewinddir): Use libc_hidden_proto.
27381 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27382 rewinddir.
27383 (__getcwd): Use __rewinddir instead of rewinddir.
27384
27385 [BZ #17583]
27386 * libio/fileno.c (fileno): Rename to __fileno and define as weak
27387 alias of __fileno. Use libc_hidden_weak.
27388 (__fileno): Use libc_hidden_def.
27389 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27390 * libio/ftello.c (ftello): Rename to __ftello and define as weak
27391 alias of __ftello.
27392 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27393 __ftello.
27394 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27395 (__fread_unlocked): Define as strong alias of _IO_fread. Use
27396 libc_hidden_def.
27397 (fread_unlocked): Don't use libc_hidden_ver.
27398 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27399 and define as weak alias of __fread_unlocked. Don't use
27400 libc_hidden_def.
27401 (__fread_unlocked): Use libc_hidden_def.
27402 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
27403 (ftello): Don't use libc_hidden_proto.
27404 (__ftello): Declare. Use libc_hidden_proto.
27405 (fread_unlocked): Don't use libc_hidden_proto.
27406 (__fread_unlocked): Declare. Use libc_hidden_proto.
27407 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27408 and __ftello instead of fileno, fread_unlocked and ftello.
27409
27410 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27411
27412 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27413 GOT12.
27414 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27415 Likewise.
27416 (_dl_start_user): Likewise.
27417 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27418
27419 2014-11-12 Carlos O'Donell <carlos@redhat.com>
27420 Siddhesh Poyarekar <siddhesh@redhat.com>
27421
27422 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27423 Move argv and envp down instead of moving argc up.
27424 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27425
27426 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
27427
27428 [BZ #17506]
27429 * test-skeleton.c (main): Return successful if one of
27430 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27431 * string/tst-strcoll-overflow.c: Define expected status.
27432
27433 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
27434
27435 [BZ #17475]
27436 * locale/iso-639.def: Define Bhili and Tulu language codes.
27437
27438 2014-11-11 Alan Hayward <alan.hayward@arm.com>
27439
27440 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27441
27442 2014-11-10 Renlin Li <Renlin.Li@arm.com>
27443
27444 [BZ #17555]
27445 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27446
27447 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
27448
27449 * configure.ac: Updated check of minimal required version to
27450 2.22.
27451 * manual/install.texi (Tools for Compilation): Updated version
27452 number.
27453 * configure: Regenerated.
27454 * INSTALL: Likewise.
27455
27456 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
27457
27458 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27459 __tls_get_addr.
27460
27461 2014-11-07 Joseph Myers <joseph@codesourcery.com>
27462
27463 * include/sys/wait.h (__libc_waitpid): Remove declaration.
27464 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27465 (__waitpid): Don't define as alias. Use libc_hidden_def not
27466 libc_hidden_weak.
27467 (waitpid): Define as alias of __waitpid.
27468 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27469 __waitpid.
27470 (__waitpid): Don't define as alias. Use libc_hidden_def not
27471 libc_hidden_weak.
27472 (waitpid): Define as alias of __waitpid.
27473 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27474 __libc_waitpid alias.
27475 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27476 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27477 Likewise.
27478 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27479 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27480 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27481 alias.
27482 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27483 __waitpid.
27484 (__waitpid): Don't define as alias. Use libc_hidden_def not
27485 libc_hidden_weak.
27486 (waitpid): Define as alias of __waitpid.
27487
27488 2014-11-06 Carlos O'Donell <carlos@redhat.com>
27489
27490 * manual/llio.texi: Add comment that write safety has been
27491 fixed in Linux.
27492
27493 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27494 (localplt-build-dso): Add elf/ld.so.
27495 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27496 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27497 and free for ld.so.
27498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27499 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27501 Likewise.
27502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27503 Likewise.
27504 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27505 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27506 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27507 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27508 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27509 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27510 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27511 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27512 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27513 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27514 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27515
27516 2014-11-05 Joseph Myers <joseph@codesourcery.com>
27517
27518 [BZ #14132]
27519 * include/libc-symbols.h (INTUSE): Remove macro.
27520 (INTDEF): Likewise.
27521 (INTVARDEF): Likewise.
27522 (_INTVARDEF): Likewise.
27523 (INTDEF2): Likewise.
27524 (INTVARDEF2): Likewise.
27525 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27526 rtld_hidden_def instead of INTVARDEF.
27527 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27528 (_dl_starting_up_internal): Remove declaration.
27529 (_dl_starting_up): Use rtld_hidden_proto.
27530 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27531 declaration.
27532 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27533 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27534 _dl_starting_up.
27535 * elf/dl-writev.h (_dl_writev): Likewise.
27536 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27537 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27538 _dl_starting_up_internal.
27539
27540 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27541
27542 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27543 test-skeleton.c.
27544
27545 2014-11-05 Will Newton <will.newton@linaro.org>
27546
27547 * benchtests/Makefile: (bench-malloc): Add malloc thread
27548 scalability benchmark.
27549 * benchtests/bench-malloc-threads.c: New file.
27550
27551 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
27552
27553 * sysdeps/aarch64/strchrnul.S: New file.
27554
27555 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27556
27557 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27558 definition.
27559 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27560 Likwise.
27561 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27562 Likewise.
27563 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27564 Likewise.
27565 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27566 Likewise.
27567 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27568 Likewise.
27569
27570 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
27571
27572 * catgets/test-gencat.c: Use test-skeleton.c.
27573 * catgets/tst-catgets.c: Likewise.
27574 * csu/tst-empty.c: Likewise.
27575 * elf/tst-audit2.c: Likewise.
27576 * elf/tst-global1.c: Likewise.
27577 * elf/tst-pathopt.c: Likewise.
27578 * elf/tst-piemod1.c: Likewise.
27579 * elf/tst-tls10.c: Likewise.
27580 * elf/tst-tls11.c: Likewise.
27581 * elf/tst-tls12.c: Likewise.
27582 * gnulib/tst-gcc.c: Likewise.
27583 * iconvdata/tst-e2big.c: Likewise.
27584 * iconvdata/tst-loading.c: Likewise.
27585 * iconv/tst-iconv1.c: Likewise.
27586 * iconv/tst-iconv2.c: Likewise.
27587 * inet/test-inet6_opt.c: Likewise.
27588 * inet/tst-gethnm.c: Likewise.
27589 * inet/tst-network.c: Likewise.
27590 * inet/tst-ntoa.c: Likewise.
27591 * intl/tst-codeset.c: Likewise.
27592 * intl/tst-gettext2.c: Likewise.
27593 * intl/tst-gettext3.c: Likewise.
27594 * intl/tst-ngettext.c: Likewise.
27595 * intl/tst-translit.c: Likewise.
27596 * io/test-stat.c: Likewise.
27597 * libio/test-fmemopen.c: Likewise.
27598 * libio/tst-freopen.c: Likewise.
27599 * libio/tst-sscanf.c: Likewise.
27600 * libio/tst-ungetwc1.c: Likewise.
27601 * libio/tst-ungetwc2.c: Likewise.
27602 * libio/tst-widetext.c: Likewise.
27603 * localedata/tst-ctype.c: Likewise.
27604 * localedata/tst-digits.c: Likewise.
27605 * localedata/tst-leaks.c: Likewise.
27606 * localedata/tst-mbswcs1.c: Likewise.
27607 * localedata/tst-mbswcs2.c: Likewise.
27608 * localedata/tst-mbswcs3.c: Likewise.
27609 * localedata/tst-mbswcs4.c: Likewise.
27610 * localedata/tst-mbswcs5.c: Likewise.
27611 * localedata/tst-setlocale.c: Likewise.
27612 * localedata/tst-trans.c: Likewise.
27613 * localedata/tst-wctype.c: Likewise.
27614 * localedata/tst-xlocale1.c: Likewise.
27615 * login/tst-grantpt.c: Likewise.
27616 * malloc/tst-calloc.c: Likewise.
27617 * malloc/tst-malloc.c: Likewise.
27618 * malloc/tst-mallocstate.c: Likewise.
27619 * malloc/tst-mcheck.c: Likewise.
27620 * malloc/tst-mtrace.c: Likewise.
27621 * malloc/tst-obstack.c: Likewise.
27622 * math/atest-exp2.c: Likewise.
27623 * math/atest-exp.c: Likewise.
27624 * math/atest-sincos.c: Likewise.
27625 * math/test-matherr.c: Likewise.
27626 * math/test-misc.c: Likewise.
27627 * math/test-powl.c: Likewise.
27628 * math/tst-definitions.c: Likewise.
27629 * misc/tst-dirname.c: Likewise.
27630 * misc/tst-efgcvt.c: Likewise.
27631 * misc/tst-fdset.c: Likewise.
27632 * misc/tst-hsearch.c: Likewise.
27633 * misc/tst-mntent2.c: Likewise.
27634 * nptl/tst-sem7.c: Likewise.
27635 * nptl/tst-sem8.c: Likewise.
27636 * nptl/tst-sem9.c: Likewise.
27637 * nss/test-netdb.c: Likewise.
27638 * posix/tst-fnmatch.c: Likewise.
27639 * posix/tst-getlogin.c: Likewise.
27640 * posix/tst-gnuglob.c: Likewise.
27641 * posix/tst-mmap.c: Likewise.
27642 * pwd/tst-getpw.c: Likewise.
27643 * resolv/tst-inet_ntop.c: Likewise.
27644 * rt/tst-timer.c: Likewise.
27645 * stdio-common/test-fseek.c: Likewise.
27646 * stdio-common/test-popen.c: Likewise.
27647 * stdio-common/test-vfprintf.c: Likewise.
27648 * stdio-common/tst-cookie.c: Likewise.
27649 * stdio-common/tst-fileno.c: Likewise.
27650 * stdio-common/tst-gets.c: Likewise.
27651 * stdio-common/tst-obprintf.c: Likewise.
27652 * stdio-common/tst-perror.c: Likewise.
27653 * stdio-common/tst-sprintf2.c: Likewise.
27654 * stdio-common/tst-sprintf3.c: Likewise.
27655 * stdio-common/tst-sprintf.c: Likewise.
27656 * stdio-common/tst-swprintf.c: Likewise.
27657 * stdio-common/tst-tmpnam.c: Likewise.
27658 * stdio-common/tst-unbputc.c: Likewise.
27659 * stdio-common/tst-wc-printf.c: Likewise.
27660 * stdlib/tst-environ.c: Likewise.
27661 * stdlib/tst-fmtmsg.c: Likewise.
27662 * stdlib/tst-limits.c: Likewise.
27663 * stdlib/tst-rand48-2.c: Likewise.
27664 * stdlib/tst-rand48.c: Likewise.
27665 * stdlib/tst-random2.c: Likewise.
27666 * stdlib/tst-random.c: Likewise.
27667 * stdlib/tst-strtol.c: Likewise.
27668 * stdlib/tst-strtoll.c: Likewise.
27669 * stdlib/tst-tls-atexit.c: Likewise.
27670 * stdlib/tst-xpg-basename.c: Likewise.
27671 * string/test-ffs.c: Likewise.
27672 * string/tst-bswap.c: Likewise.
27673 * string/tst-inlcall.c: Likewise.
27674 * string/tst-strtok.c: Likewise.
27675 * string/tst-strxfrm.c: Likewise.
27676 * sysdeps/x86_64/tst-audit10.c: Likewise.
27677 * sysdeps/x86_64/tst-audit3.c: Likewise.
27678 * sysdeps/x86_64/tst-audit4.c: Likewise.
27679 * sysdeps/x86_64/tst-audit5.c: Likewise.
27680 * time/tst-ftime_l.c: Likewise.
27681 * time/tst-getdate.c: Likewise.
27682 * time/tst-mktime3.c: Likewise.
27683 * time/tst-mktime.c: Likewise.
27684 * time/tst-posixtz.c: Likewise.
27685 * time/tst-strptime2.c: Likewise.
27686 * time/tst-strptime3.c: Likewise.
27687 * wcsmbs/tst-btowc.c: Likewise.
27688 * wcsmbs/tst-mbrtowc.c: Likewise.
27689 * wcsmbs/tst-mbsrtowcs.c: Likewise.
27690 * wcsmbs/tst-wchar-h.c: Likewise.
27691 * wcsmbs/tst-wcpncpy.c: Likewise.
27692 * wcsmbs/tst-wcrtomb.c: Likewise.
27693 * wcsmbs/tst-wcsnlen.c: Likewise.
27694 * wcsmbs/tst-wcstof.c: Likewise.
27695
27696 2014-11-04 Joseph Myers <joseph@codesourcery.com>
27697
27698 [BZ #14132]
27699 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27700 INTDEF.
27701 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27702 declaration.
27703 (_dl_mcount): Use rtld_hidden_proto.
27704 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27705 _dl_mcount.
27706 * elf/rtld.c (_rtld_global_ro): Likewise.
27707
27708 [BZ #14132]
27709 * elf/dl-init.c (_dl_init): Don't use INTDEF.
27710 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27711 of _dl_init_internal.
27712 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27713 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27714 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27715 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27716 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27717 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27718 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27719 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27720 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27721 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27722 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27723 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27724 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27725 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27726 * sysdeps/tile/dl-start.S (_start): Likewise.
27727 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27728 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27729
27730 [BZ #14132]
27731 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27732 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27733 (rtld_progname): Make macro definition unconditional.
27734 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27735 INTDEF.
27736 (dlmopen_doit): Do not use INTUSE with _dl_argv.
27737 (dl_main): Likewise.
27738 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27739 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27740 instead of _dl_argv_internal.
27741 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27742 __GI__dl_argv instead of INTUSE(_dl_argv).
27743 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27744 __GI__dl_argv instead of _dl_argv_internal.
27745
27746 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27747 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27748 macro.
27749 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27750 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27751 New macro.
27752 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27753 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27754 macro.
27755 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27756 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27757
27758 2014-11-04 Andreas Schwab <schwab@suse.de>
27759
27760 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27761
27762 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27763
27764 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27765 mtvsrd instruction in binary form.
27766
27767 2014-11-03 Andreas Schwab <schwab@suse.de>
27768
27769 [BZ #17522]
27770 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27771 for less than MB_LEN_MAX use a local buffer of that size.
27772 * libio/tst-fputws.c: New file.
27773 * libio/Makefile (tests): Add tst-fputws.
27774
27775 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
27776
27777 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
27778 the size of the fpu_fr.fpu_dregs[] array.
27779
27780 2014-11-01 Joseph Myers <joseph@codesourcery.com>
27781
27782 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
27783 (__nanosleep): Do not define as alias.
27784 (nanosleep): Define as alias of __nanosleep.
27785 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
27786 __libc_nanosleep name.
27787
27788 2014-10-31 Joseph Myers <joseph@codesourcery.com>
27789
27790 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
27791 install.texi in comment.
27792
27793 2014-10-31 Torvald Riegel <triegel@redhat.com>
27794
27795 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
27796 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
27797 ... add here and use lwsync or sync ...
27798 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
27799 ... and add here using lwsync.
27800
27801 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
27802
27803 * elf/dl-machine-reject-phdr.h: New file.
27804 * elf/dl-load.c: #include that.
27805 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
27806 if that returned true.
27807
27808 2014-10-31 Roland McGrath <roland@hack.frob.com>
27809
27810 [BZ #17496]
27811 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
27812 gen-as-const-headers chunk. Add a big scare comment after the last
27813 safe place to touch before-compile.
27814
27815 2014-10-31 Joseph Myers <joseph@codesourcery.com>
27816
27817 * manual/install.texi (Tools for Compilation): Update autoconf
27818 version requirements.
27819 * INSTALL: Regenerated.
27820
27821 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
27822 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
27823 (__libc_pselect): Likewise.
27824
27825 [BZ #14138]
27826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
27827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27830
27831 2014-10-31 Torvald Riegel <triegel@redhat.com>
27832
27833 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
27834 correct barrier instruction.
27835 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
27836 Likewise.
27837 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
27838 Likewise.
27839
27840 2014-10-30 Roland McGrath <roland@hack.frob.com>
27841
27842 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
27843 after defining inlines. Instead, just use parens to defeat macro
27844 expansion of __isctype in its declaration.
27845
27846 2014-10-30 Joseph Myers <joseph@codesourcery.com>
27847
27848 * include/sys/uio.h (__libc_readv): Remove declaration.
27849 (__libc_writev): Likewise.
27850 * misc/readv.c (__libc_readv): Rename to __readv.
27851 (__readv): Do not define as alias.
27852 (readv): Define as alias of __readv.
27853 * misc/writev.c (__libc_writev): Rename to __writev.
27854 (__writev): Do not define as alias.
27855 (writev): Define as alias of __writev.
27856 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27857 (__readv): Do not define as alias.
27858 (readv): Define unconditionally as alias of __readv.
27859 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27860 (__writev): Do not define as alias.
27861 (writev): Define unconditionally as alias of __writev.
27862 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27863 name.
27864 (writev): Do not define __libc_writev name.
27865
27866 2014-10-30 Roland McGrath <roland@hack.frob.com>
27867
27868 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27869 (convert_charseq): New function, broken out of ...
27870 (use_from_charmap): ... here. Call it.
27871 (use_to_charmap): Use convert_charseq and free instead of duplicating
27872 its code with a variable-length stack struct.
27873
27874 2014-10-30 Joseph Myers <joseph@codesourcery.com>
27875
27876 * include/fcntl.h (__libc_creat): Remove declaration.
27877 * io/creat.c (__libc_creat): Rename to creat.
27878 (creat): Do not define as alias.
27879 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27880 of creat instead of __libc_creat.
27881 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27882 to creat.
27883 (creat): Do not define as alias.
27884 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27885 __libc_creat.
27886 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27887 __libc_creat name.
27888 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27889 Likewise.
27890
27891 2014-10-29 Carlos O'Donell <carlos@redhat.com>
27892
27893 * manual/llio.texi: Add comments discussing why write() may be
27894 considered MT-unsafe on Linux.
27895
27896 2014-10-28 Carlos O'Donell <carlos@redhat.com>
27897
27898 * dl-load.c (local_strdup): Remove.
27899 (expand_dynamic_string_token): Use __strdup.
27900 (decompose_rpath): Likewise.
27901 (_dl_map_object): Likewise.
27902
27903 2014-10-28 Joseph Myers <joseph@codesourcery.com>
27904
27905 [BZ #14132]
27906 * sysdeps/generic/unwind-dw2-fde.c
27907 (__register_frame_info_bases_internal): Do not declare.
27908 (__register_frame_info_table_bases_internal): Likewise.
27909 (__deregister_frame_info_bases_internal): Likewise.
27910 (__register_frame_info_bases): Declare and use hidden_proto before
27911 definition. Use hidden_def instead of INTDEF.
27912 (__register_frame_info_table_bases): Likewise.
27913 (__deregister_frame_info_bases): Likewise.
27914 (__register_frame_info): Do not use INTUSE.
27915 (__register_frame): Likewise.
27916 (__register_frame_info_table): Likewise.
27917 (__register_frame_table): Likewise.
27918 (__deregister_frame_info): Likewise.
27919 (__deregister_frame): Likewise.
27920
27921 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
27922
27923 * sysdeps/unix/sysv/linux/arm/kernel-features.h
27924 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27925 not undefine.
27926 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27927 Likewise.
27928 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27929 Likewise.
27930
27931 2014-10-27 Joseph Myers <joseph@codesourcery.com>
27932
27933 [BZ #14138]
27934 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27935 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27936 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27937 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27938 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27939 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27940 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27941 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27942 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27943 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27944 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27945 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27946 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27947 syscall.
27948 (setfsuid): Likewise.
27949 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27950 (setfsuid): Likewise.
27951 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27952 (setfsuid): Likewise.
27953 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27954 Likewise.
27955 (setfsuid): Likewise.
27956 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27957 (setfsuid): Likewise.
27958 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27959 Likewise.
27960 (setfsuid): Likewise.
27961
27962 2014-10-27 Andreas Schwab <schwab@suse.de>
27963
27964 [BZ #17501]
27965 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27966 check for Slow_SSE4_2 feature bit.
27967 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27968 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27969 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27970 Likewise. Fix check for Fast_Unaligned_Load feature bit.
27971
27972 2014-10-24 Roland McGrath <roland@hack.frob.com>
27973
27974 * configure.ac: Validate compiler version with a empirical test of
27975 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27976 $CC -v output.
27977 * configure: Regenerated.
27978
27979 * inet/htons.c (htons): Prototypify.
27980 * inet/htonl.c (htonl): Likewise.
27981
27982 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
27983
27984 * string/strncat.c (strncat): Improve performance by using strlen.
27985
27986 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
27987
27988 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27989
27990 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
27991
27992 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27993 Call libc_fetestexcept_aarch64.
27994
27995 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
27996
27997 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27998 Call libc_feholdexcept_aarch64.
27999
28000 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
28001
28002 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28003 Call get_rounding_mode.
28004
28005 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
28006
28007 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28008 Simplify logic.
28009
28010 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
28011
28012 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28013 Simplify logic.
28014
28015 2014-10-24 Joseph Myers <joseph@codesourcery.com>
28016
28017 [BZ #14138]
28018 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28019 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28020 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28021 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28022 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28023 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28024 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28025 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28026 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28027 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28028 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28029 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28030 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28031 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28032 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28033 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28034 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28035 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28036 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28037 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28038 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28039 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28040 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28041 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28042 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28043 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28044 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28045 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28046 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28047 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28048 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28049 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28050 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28051 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28052 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28053 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28054 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28055 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28056 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28057 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28058 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28059 syscall.
28060 (geteuid): Likewise.
28061 (getgid): Likewise.
28062 (getuid): Likewise.
28063 (getresgid): Likewise.
28064 (getresuid): Likewise.
28065 (getgroups): Likewise.
28066 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28067 (geteuid): Likewise.
28068 (getgid): Likewise.
28069 (getuid): Likewise.
28070 (getresgid): Likewise.
28071 (getresuid): Likewise.
28072 (getgroups): Likewise.
28073 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28074 (geteuid): Likewise.
28075 (getgid): Likewise.
28076 (getuid): Likewise.
28077 (getresgid): Likewise.
28078 (getresuid): Likewise.
28079 (getgroups): Likewise.
28080 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28081 Likewise.
28082 (geteuid): Likewise.
28083 (getgid): Likewise.
28084 (getuid): Likewise.
28085 (getresgid): Likewise.
28086 (getresuid): Likewise.
28087 (getgroups): Likewise.
28088 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28089 (geteuid): Likewise.
28090 (getgid): Likewise.
28091 (getuid): Likewise.
28092 (getresgid): Likewise.
28093 (getresuid): Likewise.
28094 (getgroups): Likewise.
28095 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28096 Likewise.
28097 (geteuid): Likewise.
28098 (getgid): Likewise.
28099 (getuid): Likewise.
28100 (getgroups): Likewise.
28101
28102 [BZ #14138]
28103 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28104 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28105 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28106 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28107 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28108 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28109 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28110 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28111 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28112 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28113 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28114 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28115 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28116 __chown.
28117 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28118 (lchown): Likewise.
28119 (fchown): Likewise.
28120 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28121 Likewise.
28122 (lchown): Likewise.
28123 (fchown): Likewise.
28124 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28125 (lchown): Likewise.
28126 (fchown): Likewise.
28127 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28128 Likewise.
28129 (lchown): Likewise.
28130 (fchown): Likewise.
28131
28132 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28133
28134 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28135 Simplify logic.
28136
28137 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28138
28139 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28140 Cleanup logic.
28141
28142 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28143
28144 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28145 Remove unused include.
28146
28147 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
28148
28149 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28150 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28151 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28152 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28153
28154 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
28155 Helge Deller <deller@gmx.de>
28156
28157 [BZ #17508]
28158 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28159 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28160 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28161
28162 2014-10-23 Joseph Myers <joseph@codesourcery.com>
28163
28164 [BZ #14132]
28165 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28166 Remove macro definition.
28167 (__ashrdi3_v_glibc20): Likewise.
28168 (__lshrdi3_v_glibc20): Likewise.
28169 (__cmpdi2_v_glibc20): Likewise.
28170 (__ucmpdi2_v_glibc20): Likewise.
28171 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28172 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28173 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28174 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28175 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28176 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28177
28178 2014-10-22 Roland McGrath <roland@hack.frob.com>
28179
28180 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28181 old GNU extension [0] syntax.
28182 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28183 alloca rather than an array member with variable length.
28184 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28185 * nscd/nscd.c (invalidate_db): New function, broken out of ...
28186 (parse_opt): ... here. Likewise use alloca there.
28187 Validate the -i argument before checking for rootness.
28188 (send_shutdown): New function, broken out of ...
28189 (parse_opt): ... here.
28190
28191 2014-10-22 Roland McGrath <roland@hack.frob.com>
28192
28193 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28194 macro to get at the _rt_local_ro field.
28195 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28196 ([PIC] case) or _dl_hwcap ([!PIC] case).
28197 * sysdeps/arm/setjmp.S: Likewise.
28198
28199 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28200 * sysdeps/arm/configure.ac: New check to define it.
28201 * sysdeps/arm/configure: Regenerated.
28202 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28203 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28204 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28205 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28206 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28207 Use move/movt pair instead of a load.
28208 (LDST_GLOBAL): Macro removed.
28209 (LDR_GLOBAL): New macro replaces it.
28210 (LDR_HIDDEN): New macro.
28211 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28212 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28213
28214 * setjmp/tst-setjmp-static.c: New file.
28215 * setjmp/Makefile (tests): Add it.
28216 (tests-static): New variable.
28217
28218 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
28219
28220 [BZ #17485]
28221 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28222
28223 2014-10-21 Joseph Myers <joseph@codesourcery.com>
28224
28225 [BZ #14132]
28226 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28227
28228 2014-10-21 Roland McGrath <roland@hack.frob.com>
28229
28230 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28231
28232 2014-10-20 Roland McGrath <roland@hack.frob.com>
28233
28234 * io/fts.c (dirent_not_directory): New function.
28235 (fts_build): Call it.
28236
28237 2014-10-20 Roland McGrath <roland@hack.frob.com>
28238
28239 * nptl/version.c (__nptl_main): Use normal __write rather than
28240 INTERNAL_SYSCALL.
28241 (banner): Update copyright years.
28242
28243 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28244 gettimeofday.
28245 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28246 * nptl/pthread_cond_timedwait.c: Likewise.
28247 * nptl/pthread_mutex_timedlock.c: Likewise.
28248 * nptl/sem_timedwait.c: Likewise.
28249
28250 * sysdeps/nptl/bits/libc-lock.h
28251 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28252 (__libc_lock_init_recursive): Return void, not 0.
28253 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28254 (__libc_rwlock_init): Likewise.
28255 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28256
28257 2014-10-20 Torvald Riegel <triegel@redhat.com>
28258
28259 [BZ #15215]
28260 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28261 (__pthread_once_slow): ... here.
28262 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28263 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28264
28265 2014-10-20 Torvald Riegel <triegel@redhat.com>
28266
28267 [BZ #15215]
28268 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28269 __PTHREAD_ONCE_FORK_GEN_INCR): New.
28270 * sysdeps/nptl/fork.c (__libc_fork): Use them.
28271 * nptl/pthread_once.c (__pthread_once): Likewise.
28272 Update comments.
28273
28274 2014-10-20 Joseph Myers <joseph@codesourcery.com>
28275
28276 [BZ #14138]
28277 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28278 name.
28279 (writev): Use __libc_writev as strong name.
28280 * sysdeps/unix/sysv/linux/readv.c: Remove file.
28281 * sysdeps/unix/sysv/linux/writev.c: Likewise.
28282
28283 2014-10-17 Roland McGrath <roland@hack.frob.com>
28284
28285 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28286
28287 * sysdeps/i386/nptl/tls.h
28288 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28289 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28290 New macros.
28291 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28292 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28293 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28294 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28295 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28296 Call CHECK_THREAD_SYSINFO instead of doing an assert.
28297
28298 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28299 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28300 on [__NR_futex].
28301 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28302 broken out of ...
28303 (__pthread_mutex_init): ... here. Call it.
28304 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28305 Conditionalize PI cases on [__NR_futex].
28306 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28307 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28308 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28309
28310 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28311 conditional on [SIGSETXID].
28312 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28313 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28314 is defined. Likewise for SIGSETXID.
28315 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28316 Conditionalize definitions on [SIGSETXID].
28317 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28318 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28319 unblocking on [SIGCANCEL].
28320
28321 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28322 [__NR_set_robust_list].
28323
28324 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28325
28326 * string/strcoll_l.c (get_next_seq): Fix up formatting.
28327 (do_compare): Likewise.
28328
28329 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
28330
28331 [BZ #15884]
28332 * string/strcoll_l.c: Don't include stdio.h.
28333 (coll_seq): Remove members idxarr and rulearr.
28334 (get_next_seq_cached): Remove function.
28335 (get_next_seq): Likewise.
28336 (get_next_seq_nocache): Rename to get_next_seq.
28337 (do_compare): Remove function.
28338 (do_compare_nocache): Rename to do_compare.
28339 (STRCOLL): Remove weight and rules cache.
28340
28341 2014-10-16 Roland McGrath <roland@hack.frob.com>
28342
28343 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28344 * sysdeps/arm/sfp-machine.h: ... to here.
28345 * sysdeps/arm/Implies: Remove arm/soft-fp.
28346
28347 2014-10-14 Joseph Myers <joseph@codesourcery.com>
28348
28349 * conform/data/sys/utsname.h-data (*_t): Allow.
28350 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28351 [POSIX] (WEXITED): Do not expect constant.
28352 [POSIX] (WSTOPPED): Likewise.
28353 [POSIX] (WNOHANG): Likewise.
28354 [POSIX] (WNOWAIT): Likewise.
28355 [POSIX] (siginfo_t): Do not expect type or elements.
28356 [POSIX] (pid_t): Do not expect type.
28357 [POSIX] (signal.h): Do not allow header.
28358 [POSIX] (sys/resource.h): Likewise.
28359 [POSIX] (si_*): Do not allow pattern.
28360 [POSIX] (W*): Likewise.
28361 [POSIX] (P_*): Likewise.
28362 [POSIX] (BUS_*): Likewise.
28363 [POSIX] (CLD_*): Likewise.
28364 [POSIX] (FPE_*): Likewise.
28365 [POSIX] (ILL_*): Likewise.
28366 [POSIX] (POLL_*): Likewise.
28367 [POSIX] (SEGV_*): Likewise.
28368 [POSIX] (SI_*): Likewise.
28369 [POSIX] (TRAP_*): Likewise.
28370 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28371 variable.
28372
28373 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
28374
28375 [BZ #12926]
28376 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28377 infinite loop when __recvmsg returns 0.
28378
28379 2014-10-10 Joseph Myers <joseph@codesourcery.com>
28380
28381 * CANCEL-FCT-WAIVE: Remove file.
28382 * CANCEL-FILE-WAIVE: Likewise.
28383
28384 [BZ #14132]
28385 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28386 instead of INTVARDEF.
28387 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28388 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28389 rtld_hidden_data_def instead of INTVARDEF.
28390 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28391 * elf/dl-deps.c (expand_dst): Likewise.
28392 * elf/dl-load.c (_dl_dst_count): Likewise.
28393 (_dl_dst_substitute): Likewise.
28394 (decompose_rpath): Likewise.
28395 (_dl_init_paths): Likewise.
28396 (open_path): Likewise.
28397 (_dl_map_object): Likewise.
28398 * elf/rtld.c (dl_main): Likewise.
28399 (process_dl_audit): Likewise.
28400 (process_envvars): Likewise.
28401 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28402 Remove declaration.
28403 (__libc_enable_secure): Use rtld_hidden_proto.
28404
28405 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28406
28407 * elf/dl-load.c
28408 (add_path): New function broken out of _dl_rtld_di_serinfo.
28409 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
28410
28411 2014-10-09 Joseph Myers <joseph@codesourcery.com>
28412
28413 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28414 parentheses around macro arguments.
28415 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28416 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28417 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28418 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28419 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28420 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28421 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28422 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28423 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28424 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28425 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28426 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28427 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28428 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28429 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28430 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28431 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28432 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28433 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28434 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28435 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28436 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28437 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28438 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28439 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28440 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28441 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28442 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28443 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28444 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28445 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28446 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28447 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28448 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28449 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28450 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28451 Likewise.
28452 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28453 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28454 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28455 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28456 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28457 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28458 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28459 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28460 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28461 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28462 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28463 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28464 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28465 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28466 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28467 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28468 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28469 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28470 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28471 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28472 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28473 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28474 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28475 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28476 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28477 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28478 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28479 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28480 (_FP_FRAC_SRS_1): Likewise.
28481 (_FP_FRAC_CLZ_1): Likewise.
28482 (_FP_MUL_MEAT_1_imm): Likewise.
28483 (_FP_MUL_MEAT_1_wide): Likewise.
28484 (_FP_MUL_MEAT_1_hard): Likewise.
28485 (_FP_SQRT_MEAT_1): Likewise.
28486 (_FP_FRAC_ASSEMBLE_1): Likewise.
28487 (_FP_FRAC_DISASSEMBLE_1): Likewise.
28488 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28489 (__FP_CLZ_2): Likewise.
28490 (_FP_MUL_MEAT_2_wide): Likewise.
28491 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28492 (_FP_MUL_MEAT_2_gmp): Likewise.
28493 (_FP_MUL_MEAT_2_120_240_double): Likewise.
28494 (_FP_SQRT_MEAT_2): Likewise.
28495 (_FP_FRAC_ASSEMBLE_2): Likewise.
28496 (_FP_FRAC_DISASSEMBLE_2): Likewise.
28497 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28498 (_FP_FRAC_CLZ_4): Likewise.
28499 (_FP_MUL_MEAT_4_wide): Likewise.
28500 (_FP_MUL_MEAT_4_gmp): Likewise.
28501 (_FP_SQRT_MEAT_4): Likewise.
28502 (_FP_FRAC_ASSEMBLE_4): Likewise.
28503 (_FP_FRAC_DISASSEMBLE_4): Likewise.
28504 * soft-fp/op-common.h (_FP_CMP): Likewise.
28505 (_FP_CMP_EQ): Likewise.
28506 (_FP_CMP_UNORD): Likewise.
28507 (_FP_TO_INT): Likewise.
28508 (_FP_FROM_INT): Likewise.
28509 [!__FP_CLZ] (__FP_CLZ): Likewise.
28510 (_FP_DIV_HELP_imm): Likewise.
28511 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28512 Likewise.
28513 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28514 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28515 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28516 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28517 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28518 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28519 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28520 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28521 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28522 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28523 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28524 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28525 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28526 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28527 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28528 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28529 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28530 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28531 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28532 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28533 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28534 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28535 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28536 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28537 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28538 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28539 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28540 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28541 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28542 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28543 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28544 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28545 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28546 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28547 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28548 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28549 (FP_UNPACK_RAW_SP): Likewise.
28550 (FP_PACK_RAW_S): Likewise.
28551 (FP_PACK_RAW_SP): Likewise.
28552 (FP_UNPACK_S): Likewise.
28553 (FP_UNPACK_SP): Likewise.
28554 (FP_UNPACK_SEMIRAW_S): Likewise.
28555 (FP_UNPACK_SEMIRAW_SP): Likewise.
28556 (FP_PACK_S): Likewise.
28557 (FP_PACK_SP): Likewise.
28558 (FP_PACK_SEMIRAW_S): Likewise.
28559 (FP_PACK_SEMIRAW_SP): Likewise.
28560 (_FP_SQRT_MEAT_S): Likewise.
28561 (FP_CMP_S): Likewise.
28562 (FP_CMP_EQ_S): Likewise.
28563 (FP_CMP_UNORD_S): Likewise.
28564 (FP_TO_INT_S): Likewise.
28565 (FP_FROM_INT_S): Likewise.
28566
28567 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28568
28569 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28570 (FP_EX_INVALID_IMZ): Likewise.
28571 (FP_EX_INVALID_IMZ_FMA): Likewise.
28572 (FP_EX_INVALID_ISI): Likewise.
28573 (FP_EX_INVALID_ZDZ): Likewise.
28574 (FP_EX_INVALID_IDI): Likewise.
28575 (FP_EX_INVALID_SQRT): Likewise.
28576 (FP_EX_INVALID_CVI): Likewise.
28577 (FP_EX_INVALID_VC): Likewise.
28578 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28579 "invalid" exceptions.
28580 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28581 (_FP_ADD_INTERNAL): Likewise.
28582 (_FP_MUL): Likewise.
28583 (_FP_FMA): Likewise.
28584 (_FP_DIV): Likewise.
28585 (_FP_CMP_CHECK_NAN): Likewise.
28586 (_FP_SQRT): Likewise.
28587 (_FP_TO_INT): Likewise.
28588 (FP_EXTEND): Likewise.
28589
28590 2014-10-09 Allan McRae <allan@archlinux.org>
28591
28592 * po/fr.po: Update French translation from translation project.
28593
28594 2014-10-09 Joseph Myers <joseph@codesourcery.com>
28595
28596 [BZ #14132]
28597 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28598 of INTDEF.
28599 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28600 (__cxa_atexit): Use libc_hidden_proto.
28601 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28602
28603 [BZ #14132]
28604 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28605 declaration.
28606 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28607 [!_ISOMAC] (__iswspace_l_internal): Likewise.
28608 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28609 [!_ISOMAC] (__iswctype_internal): Likewise.
28610 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28611 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28612 alias.
28613 (fcntl): Remove __fcntl_internal alias.
28614 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28615 __connect_internal alias.
28616 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28617 Likewise.
28618
28619 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28620 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28621 FP_DENORM_ZERO.
28622 (_FP_CHECK_FLUSH_ZERO): New macro.
28623 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28624 (_FP_CMP): Likewise.
28625 (_FP_CMP_EQ): Likewise.
28626 (_FP_TO_INT): Do not set inexact for subnormal arguments if
28627 FP_DENORM_ZERO.
28628 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28629 (FP_TRUNC): Likewise.
28630
28631 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28632 treated as invalid conversion, not as normal exponent.
28633
28634 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28635 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
28636 (_FP_CMP_EQ): Likewise.
28637 (_FP_CMP_UNORD): Likewise.
28638 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28639 (FP_CMP_EQ_D): Likewise.
28640 (FP_CMP_UNORD_D): Likewise.
28641 * soft-fp/extended.h (FP_CMP_E): Likewise.
28642 (FP_CMP_EQ_E): Likewise.
28643 (FP_CMP_UNORD_E): Likewise.
28644 * soft-fp/quad.h (FP_CMP_Q): Likewise.
28645 (FP_CMP_EQ_Q): Likewise.
28646 (FP_CMP_UNORD_Q): Likewise.
28647 * soft-fp/single.h (FP_CMP_S): Likewise.
28648 (FP_CMP_EQ_S): Likewise.
28649 (FP_CMP_UNORD_S): Likewise.
28650 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28651 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28652 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28653 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28654 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28655 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28656 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28657 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28658 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28659 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28660 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28661 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28662 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28663 to FP_CMP_Q.
28664 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28665 FP_CMP_Q.
28666 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28667 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28668 FP_CMP_EQ_Q.
28669 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28670 FP_CMP_Q.
28671 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28672 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28673 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28674 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28675 FP_CMP_EQ_Q.
28676 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28677 FP_CMP_Q.
28678 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28679 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28680 FP_CMP_EQ_Q.
28681 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28682 FP_CMP_Q.
28683 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28684 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28685 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28686 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28687 FP_CMP_EQ_Q.
28688
28689 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28690 a subnormal result, set the underflow exception if trapping on
28691 underflow is enabled.
28692 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28693 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28694 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28695 redefine to 0.
28696 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28697 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28698 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28699 * soft-fp/extendxftf2.c (__extendxftf2): Use
28700 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28701
28702 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28703 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28704 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28705 FP_HANDLE_EXCEPTIONS.
28706 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28707 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28708 FP_HANDLE_EXCEPTIONS.
28709 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28710 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28711 FP_HANDLE_EXCEPTIONS.
28712 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28713 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28714 FP_HANDLE_EXCEPTIONS.
28715
28716 2014-10-08 Joseph Myers <joseph@codesourcery.com>
28717
28718 [BZ #14132]
28719 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28720 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28721 use INTUSE.
28722 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28723 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28724 Remove alias.
28725 (__adjtimex): Define using libc_hidden_ver.
28726 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28727 Remove declaration.
28728 (ntp_gettime): Call __adjtimex directly.
28729 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28730 Remove declaration.
28731 (ntp_gettimex): Call __adjtimex directly.
28732 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28733 __adjtimex_internal alias.
28734
28735 2014-10-08 Roland McGrath <roland@hack.frob.com>
28736
28737 [BZ #17460]
28738 * nscd/nscd.c (more_help): Rewrite list of tables collection
28739 using xstrdup and asprintf.
28740
28741 * nscd/nscd_conf.c: Remove local xstrdup declaration.
28742
28743 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28744 Roland McGrath <roland@hack.frob.com>
28745
28746 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28747 (do_lookup_unique): ... local function 'enter' here; update callers.
28748
28749 2014-10-06 Joseph Myers <joseph@codesourcery.com>
28750
28751 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28752 compat_symbol calls on [SHARED].
28753 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28754 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28755 Remove.
28756 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28757 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28758 (oldsetrlimit): Remove.
28759 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28761 (lchown): New syscall entry.
28762 (oldsetrlimit): Remove.
28763 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28764 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28765 (oldsetrlimit): Remove.
28766 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28767
28768 [BZ #14138]
28769 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28770 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28771 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28772 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28773 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28774 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28775 (fchown): Likewise.
28776 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28777 (fchown): Likewise.
28778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
28779 Likewise.
28780
28781 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28782
28783 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
28784 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
28785 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
28786 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
28787 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
28788 Likewise.
28789 (__old_sem_post): Likewise.
28790
28791 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
28792
28793 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
28794 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
28795 HAVE_CLOCK_GETTIME_VSYSCALL macros.
28796 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
28797 Use INLINE_VSYSCALL macro.
28798 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
28799 __vdso_clock_gettime.
28800 * sysdeps/unix/sysv/linux/tile/init-first.c
28801 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
28802 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
28803 __vdso_clock_gettime.
28804
28805 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
28806 to set up frame more cleanly.
28807
28808 * sysdeps/tile/memcmp.c: New file.
28809
28810 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
28811
28812 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
28813 * sysdeps/tile/tilegx/strcasestr.c: New file.
28814 * sysdeps/tile/tilegx/strnlen.c: New file.
28815 * sysdeps/tile/tilegx/strstr.c: New file.
28816
28817 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
28818
28819 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
28820
28821 * nptl/tst-setuid3.c: Write errors to stdout.
28822
28823 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28824
28825 * elf/dl-deps.c
28826 (preload): New functions broken out of _dl_map_object_deps.
28827 (_dl_map_object_deps): Remove a nested function. Update call sites.
28828
28829 2014-10-01 Joseph Myers <joseph@codesourcery.com>
28830
28831 [BZ #14138]
28832 * sysdeps/unix/sysv/linux/execve.c: Remove file.
28833 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
28834
28835 2014-10-01 Steve Ellcey <sellcey@mips.com>
28836
28837 * sysdeps/mips/strcmp.S: New.
28838
28839 2014-09-30 Joseph Myers <joseph@codesourcery.com>
28840
28841 [BZ #14138]
28842 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
28843 (linkat): Likewise.
28844 (mkdirat): Likewise.
28845 (readlinkat): Likewise.
28846 (renameat): Likewise.
28847 (symlinkat): Likewise.
28848 (unlinkat): Likewise.
28849 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28850 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28851 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28852 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28853 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28854 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28855 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28856
28857 2014-09-30 Will Newton <will.newton@linaro.org>
28858
28859 * math/math.h: Define long double math functions if
28860 _LIBC_TEST is defined.
28861 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28862
28863 * localedata/Makefile: Move assignment to tests-special
28864 into an ifdef testing run-built-tests.
28865 * timezone/Makefile: Likewise.
28866
28867 2014-09-29 Joseph Myers <joseph@codesourcery.com>
28868
28869 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28870 with $(BASH) not $(SHELL).
28871
28872 2014-09-29 Carlos O'Donell <carlos@redhat.com>
28873 Matthew LeGendre <legendre1@llnl.gov>
28874
28875 [BZ #17411]
28876 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28877 l_reloc_result.
28878
28879 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28880
28881 * stdio-common/printf_fp.c
28882 (hack_digit): New function, broken out of ...
28883 (__printf_fp): ... local function here. Update call sites.
28884 hack_digit now takes an additional parameter that is a pointer
28885 to a struct of the referenced locals. Those locals moved inside
28886 the struct and references updated.
28887
28888 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
28889
28890 * aclocal.m4: Require autoconf 2.69.
28891 * configure: Regenerated.
28892 * sysdeps/aarch64/configure: Likewise.
28893 * sysdeps/alpha/configure: Likewise.
28894 * sysdeps/arm/armv7/configure: Likewise.
28895 * sysdeps/arm/configure: Likewise.
28896 * sysdeps/ia64/configure: Likewise.
28897 * sysdeps/mach/configure: Likewise.
28898 * sysdeps/mips/configure: Likewise.
28899 * sysdeps/s390/configure: Likewise.
28900 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28902
28903 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28904 file.
28905 * sysdeps/ia64/configure.ac: Likewise.
28906
28907 2014-09-26 Joseph Myers <joseph@codesourcery.com>
28908
28909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28910 specify symbol version for ld.so. Do not include entry for
28911 libpthread.
28912 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28913 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28915
28916 [BZ #14171]
28917 * Makeconfig [$(build-shared) = yes]
28918 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28919 makefiles.
28920 [$(build-shared) = yes && $(soversions.mk-done) = t]
28921 ($(common-objpfx)gnu/lib-names.h): Remove rule.
28922 [$(build-shared) = yes && $(soversions.mk-done) = t]
28923 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
28924 to Makerules.
28925 [$(build-shared) = yes && $(soversions.mk-done) = t]
28926 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28927 here.
28928 [$(build-shared) = yes && $(soversions.mk-done) = t]
28929 (common-generated): Don't append gnu/lib-names.h and
28930 gnu/lib-names.stmp here.
28931 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28932 (lib-names-h-abi): New variable.
28933 [$(build-shared) = yes && $(soversions.mk-done) = t]
28934 (lib-names-stmp-abi): Likewise.
28935 [$(build-shared) = yes && $(soversions.mk-done) = t &&
28936 abi-variants] (before-compile): Append
28937 $(common-objpfx)$(lib-names-h-abi).
28938 [$(build-shared) = yes && $(soversions.mk-done) = t &&
28939 abi-variants] (common-generated): Append gnu/lib-names.h.
28940 [$(build-shared) = yes && $(soversions.mk-done) = t &&
28941 abi-variants] (install-others-nosubdir): Depend on
28942 $(inst_includedir)/$(lib-names-h-abi).
28943 [$(build-shared) = yes && $(soversions.mk-done) = t &&
28944 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28945 [$(build-shared) = yes && $(soversions.mk-done) = t]
28946 ($(common-objpfx)$(lib-names-h-abi)): New rule.
28947 [$(build-shared) = yes && $(soversions.mk-done) = t]
28948 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28949 [$(build-shared) = yes && $(soversions.mk-done) = t]
28950 (common-generated): Append $(lib-names-h-abi) and
28951 $(lib-names-stmp-abi).
28952 * scripts/lib-names.awk: Do not handle multi being set.
28953 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28954 Remove variable.
28955 (abi-lp64_be-ld-soname): Likewise.
28956 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28957 Likewise.
28958 (abi-hard-ld-soname): Likewise.
28959 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28960 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28961 Remove variable.
28962 (abi-o32_hard-ld-soname): Likewise.
28963 (abi-o32_soft_2008-ld-soname): Likewise.
28964 (abi-o32_hard_2008-ld-soname): Likewise.
28965 (abi-n32_soft-ld-soname): Likewise.
28966 (abi-n32_hard-ld-soname): Likewise.
28967 (abi-n32_soft_2008-ld-soname): Likewise.
28968 (abi-n32_hard_2008-ld-soname): Likewise.
28969 (abi-n64_soft-ld-soname): Likewise.
28970 (abi-n64_hard-ld-soname): Likewise.
28971 (abi-n64_soft_2008-ld-soname): Likewise.
28972 (abi-n64_hard_2008-ld-soname): Likewise.
28973 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28974 Likewise.
28975 (abi-64-v2-ld-soname): Likewise.
28976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28977 ld.so entries.
28978 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28979 variable.
28980 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28981 entry.
28982 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28983 variable.
28984 (abi-64-ld-soname): Likewise.
28985 (abi-x32-ld-soname): Likewise.
28986 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28987 entry.
28988 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28989
28990 2014-09-23 Joseph Myers <joseph@codesourcery.com>
28991
28992 [BZ #14138]
28993 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28994 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28995 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28996 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28997 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28998 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28999 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29000 syscall entry for GLIBC_2.2 symbol version.
29001 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29002 Likewise.
29003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29004 (setrlimit): Likewise.
29005 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29006 Likewise.
29007
29008 2014-09-23 Will Newton <will.newton@linaro.org>
29009
29010 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29011 _LINUX_ARM_SYSDEP_H include guard too.
29012 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29013 define.
29014
29015 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
29016
29017 * sysdeps/unix/sysv/linux/eventfd.c:
29018 Make first argument unsigned.
29019 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29020 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29021
29022 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
29023
29024 [BZ #16852]
29025 * socket/recvmmsg.c (recvmmsg): Drop const argument.
29026 * socket/sys/socket.h: Likewise.
29027 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29028
29029 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29030
29031 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29032
29033 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
29034
29035 * time/tst-ftime.c: New test.
29036 * time/Makefile (tests): Add tst-ftime.
29037
29038 2014-09-17 Joseph Myers <joseph@codesourcery.com>
29039
29040 * soft-fp/extended.h: Fix comment formatting.
29041 * soft-fp/op-1.h: Likewise.
29042 * soft-fp/op-2.h: Likewise.
29043 * soft-fp/op-4.h: Likewise.
29044 * soft-fp/op-8.h: Likewise.
29045 * soft-fp/op-common.h: Likewise.
29046 * soft-fp/soft-fp.h: Likewise.
29047
29048 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29049
29050 2014-09-16 Joseph Myers <joseph@codesourcery.com>
29051
29052 [BZ #6652]
29053 * Makeconfig (soversions-default-setname): Remove variable.
29054 ($(common-objpfx)soversions.i): Don't pass default_setname to
29055 soversions.awk.
29056 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29057 oldest_abi to abi-versions.awk.
29058 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29059 * config.make.in (oldest-abi): Remove variable.
29060 * configure.ac (--enable-oldest-abi): Remove configure option.
29061 * configure: Regenerated.
29062 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29063 text.
29064 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29065 * scripts/soversions.awk: Do not handle default_setname variable.
29066 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29067 variable.
29068 * sysdeps/mach/hurd/configure: Regenerated.
29069 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29070 variable.
29071 * sysdeps/unix/sysv/linux/configure: Regenerated.
29072
29073 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29074
29075 * elf/Makefile (CFLAGS-interp.c): Remove.
29076 ($(elf-objpfx)runtime-linker.h): Generate header with linker
29077 path string.
29078 * elf/interp.c: Include generated runtime-linker.h
29079
29080 * Makerules (lib%.so): Don't include $(+interp) in
29081 prerequisites.
29082 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29083 * dlfcn/eval.c: Remove file.
29084
29085 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29086 macros.
29087
29088 [BZ #17266]
29089 * misc/sys/cdefs.h: Define __extern_always_inline for clang
29090 4.2 and newer.
29091
29092 [BZ #17370]
29093 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29094
29095 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29096 Jakub Jelinek <jakub@redhat.com>
29097
29098 [BZ #17266]
29099 * libio/stdio.h: Check definition of __fortify_function
29100 instead of __extern_always_inline to include bits/stdio2.h.
29101 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29102 check if __extern_always_inline is defined.
29103 [__USE_MISC || __USE_XOPEN]: Likewise.
29104 [__USE_ISOC99] Likewise.
29105 * misc/sys/cdefs.h (__fortify_function): Define only if
29106 __extern_always_inline is defined.
29107 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29108 __extern_always_inline and __extern_inline only for g++-4.3
29109 and newer or a compatible gcc.
29110
29111 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
29112
29113 [BZ #17371]
29114 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29115 last change to handle zero prefix length.
29116
29117 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29118
29119 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29120 _SC_REGEX_VERSION.
29121
29122 * posix/getconf.c (vars): Add _POSIX_IPV6 and
29123 _POSIX_RAW_SOCKETS.
29124
29125 2014-09-13 Allan McRae <allan@archlinux.org>
29126
29127 * po/ru.po: Update Russian translation from translation project.
29128
29129 2014-09-12 Roland McGrath <roland@hack.frob.com>
29130
29131 * locale/programs/locale.c (show_locale_vars): Inline local function
29132 into its sole call site. Clean up some style nits.
29133 (print_item): New function, broken out of ...
29134 (show_info): ... local function here. Clean up style nits.
29135
29136 * locale/programs/ld-ctype.c (set_one_default): New function, broken
29137 out of ...
29138 (set_class_defaults): ... local function set_default here.
29139 Define set_default as a macro locally to pass constant parameters.
29140 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29141 rather than a shared local.
29142
29143 * stdlib/rpmatch.c (try): New function, broken out of ...
29144 (rpmatch): ... local function here. Also, prototypify definition.
29145
29146 2014-09-12 Joseph Myers <joseph@codesourcery.com>
29147
29148 * scripts/soversions.awk: Do not handle configuration names.
29149 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29150 vendor and os variables to soversions.awk.
29151 * configure.ac: Do not modify gnu-* host_os.
29152 * configure: Regenerated
29153 * shlib-versions: Remove first column with configuration names.
29154 * nptl/shlib-versions: Likewise.
29155 * nptl_db/shlib-versions: Likewise.
29156 * sysdeps/hppa/shlib-versions: Likewise.
29157 * sysdeps/m68k/shlib-versions: Likewise.
29158 * sysdeps/mach/hurd/shlib-versions: Likewise.
29159 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29160 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29161 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29162 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29163 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29164 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29165 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29166 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29168 Likewise.
29169 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29170 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29171 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29172 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29173 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29174 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29175 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29176 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29177
29178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29179 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29181 Regenerated.
29182 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29184 Condition symbol version definitions on [HAVE_ELFV2_ABI].
29185
29186 * shlib-versions: Remove OS-specific entries. Moved to files in
29187 sysdeps.
29188 * sysdeps/mach/hurd/shlib-versions: New file.
29189 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29190
29191 * nptl/shlib-versions: Remove architecture-specific entries.
29192 Moved to files in sysdeps.
29193 * shlib-versions: Likewise.
29194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29195 file.
29196 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29197 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29198 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29199 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29200
29201 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29202 (UDP_NO_CHECK6_RX): Likewise.
29203
29204 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29205
29206 * sysdeps/posix/sysconf.c (__sysconf): Spell
29207 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29208
29209 2014-08-12 Florian Weimer <fweimer@redhat.com>
29210
29211 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29212 loading.
29213 * iconv/Versions (__gconv_transliterate): Export for use from
29214 gconv modules.
29215 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29216 (struct __gconv_trans_data, __gconv_trans_fct,
29217 __gconv_trans_context_fct, __gconv_trans_query_fct,
29218 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29219 definitions.
29220 (struct __gconv_step_data): Remove __trans member.
29221 (__gconv_transliterate): Declaration moved from gconv_int.h. No
29222 longer hidden. Remove unused trans_data argument.
29223 * iconv/gconv_int.h (struct trans_struct): Remove definition.
29224 (__gconv_translit_find): Remove declaration.
29225 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
29226 prototype.
29227 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29228 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29229 trans_data argument. Add hidden definition.
29230 (__gconv_translit_find): Remove.
29231 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29232 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29233 * iconv/skeleton.c: Remove transliteration initialization.
29234 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29235 __gconv_step_data initialization.
29236 * libio/iofwide.c (__libio_translit_): Remove.
29237 (_IO_fwide): Adjust struct __gconv_step_data initialization.
29238 * wcsmbs/btowc.c (__btowc): Likewise.
29239 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29240 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29241 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29242 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29243 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29244 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29245 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29246 * wcsmbs/wctob.c (wctob): Likewise.
29247
29248 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29249
29250 [BZ #16194]
29251 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29252 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
29253 register usage.
29254 * sysdeps/x86/Makefile: Adjust.
29255
29256 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
29257 Roland McGrath <roland@hack.frob.com>
29258
29259 * locale/weight.h: Add include guard.
29260 (findidx): Make static rather than auto; take new parameters
29261 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29262 * locale/weightwc.h: Likewise.
29263 * posix/fnmatch_loop.c
29264 (FCT): Change type of EXTRA from int32_t to wint_t.
29265 Don't include either header inside the function.
29266 Call FINDIDX rather than findidx, and pass new arguments.
29267 #undef FINDIDX at the end of the file.
29268 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29269 FINDIDX before including fnmatch_loop.c for the non-wide version.
29270 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29271 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29272 for the wide version.
29273 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29274 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29275 Pass new arguments to findidx.
29276 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29277 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29278 Don't #include it inside the function. Pass new arguments to findidx.
29279 * posix/regex_internal.h
29280 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29281 (re_string_elem_size_at): Don't #include it inside the function.
29282 Pass new arguments to findidx.
29283 * string/strcoll_l.c: #include WEIGHT_H at top level.
29284 (get_next_seq): Don't #include it inside the function.
29285 Pass new arguments to findidx.
29286 (get_next_seq_nocache): Likewise.
29287 * string/strxfrm_l.c: #include WEIGHT_H at top level.
29288 (STRXFRM): Don't #include it inside the function.
29289 Pass new arguments to findidx.
29290
29291 2014-09-11 Florian Weimer <fweimer@redhat.com>
29292
29293 [BZ #17344]
29294 * malloc/malloc.c (unlink): Turn asserts into a call to
29295 malloc_printerr.
29296
29297 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
29298
29299 [BZ #17370]
29300 * libio/wfileops (do_ftell_wide): Free OUT.
29301
29302 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
29303
29304 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29305
29306 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29307
29308 [BZ #17363]
29309 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29310 group if the current group is empty.
29311
29312 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29313
29314 * benchtests/bench-memset.c (test_main): Add more test from size
29315 from 32 to 512 bytes.
29316 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29317 Add POWER8 memset object.
29318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29319 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29320 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29321 implementation.
29322 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29323 Likewise.
29324 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29325 multiarch POWER8 memset optimization.
29326 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29327 POWER8 memset optimization.
29328
29329 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29330 Remove bzero multiarch objects.
29331 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29332 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29333 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29334 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29335 Remove define.
29336 [__bzero]: Redefine to specific name.
29337 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29338 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29339 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29340 define.
29341 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29342 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29343
29344 2014-09-10 Florian Weimer <fweimer@redhat.com>
29345
29346 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29347 warnings into errors.
29348
29349 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29350 __cxa_thread_atexit_impl prototype.
29351
29352 2014-09-09 Steve Ellcey <sellcey@mips.com>
29353
29354 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29355 Fix capitalization of error message.
29356
29357 2014-09-09 Steve Ellcey <sellcey@mips.com>
29358
29359 * sysdeps/mips/preconfigure: Modify ABI tests.
29360
29361 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
29362
29363 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29364
29365 2014-09-07 Roland McGrath <roland@hack.frob.com>
29366 Carlos O'Donell <carlos@systemhalted.org>
29367
29368 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29369 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29370 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29371 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29372 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29373 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29374 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29375 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29376 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29377 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29378 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29379 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29380 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29381 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29382 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29383 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29384 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29385 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29386 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29387 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29388 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29389 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29390 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29391 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29392 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29393 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29394 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29395 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29396 Deconditionalize the code that was previously under [RESET_PID].
29397 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29398 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29399 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29400 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29401 include sysdep.h.
29402
29403 2014-09-08 Allan McRae <allan@archlinux.org>
29404
29405 * version.h (RELEASE): Set to "development".
29406 (VERSION): Set to "2.20.90"
29407
29408 2014-09-07 Allan McRae <allan@archlinux.org
29409
29410 * version.h (RELEASE): Set to "stable".
29411 (VERSION): Set to "2.20"
29412 * include/features.h (__GLIBC_MINOR__): Set to 20.
29413
29414 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29415 Liebler.
29416
29417 * po/ko.po: Update Korean translation from translation project.
29418
29419 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
29420
29421 [BZ #17354]
29422 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29423 macro for handling signed relocations.
29424
29425 2014-09-03 Florian Weimer <fweimer@redhat.com>
29426
29427 [BZ #17325]
29428 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29429 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29430 assert.
29431 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29432 * iconvdata/ibm935.c (BODY): Likewise.
29433 * iconvdata/ibm937.c (BODY): Likewise.
29434 * iconvdata/ibm939.c (BODY): Likewise.
29435 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29436 assert.
29437 * iconvdata/Makefile (iconv-test.out): Pass module list to test
29438 script.
29439 * iconvdata/run-iconv-test.sh: New test loop for checking for
29440 decoder crashers.
29441
29442 2014-09-02 Khem Raj <raj.khem@gmail.com>
29443
29444 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29445 libm_hidden_ver.
29446
29447 2014-09-01 Allan McRae <allan@archlinux.org>
29448
29449 * po/eo.po: Update Esperanto translation from translation project.
29450
29451 * po/ca.po: Update Catalan translation from translation project.
29452
29453 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
29454
29455 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29456 __proc_dostop call.
29457
29458 2014-08-27 Mark Wielaard <mjw@redhat.com>
29459
29460 [BZ #17319]
29461 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29462 to call set_thread_area instead of hand written asm.
29463 (__NR_set_thread_area): Removed define.
29464 (TLS_FLAG_WRITABLE): Likewise.
29465 (__ASSUME_SET_THREAD_AREA): Remove check.
29466 (TLS_EBX_ARG): Remove define.
29467 (TLS_LOAD_EBX): Likewise.
29468
29469 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29470
29471 Simplify atomicity of socket creation in bind.
29472
29473 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29474 looking up the name after linking the file.
29475
29476 2014-08-27 Allan McRae <allan@archlinux.org>
29477
29478 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29479
29480 2014-08-26 Florian Weimer <fweimer@redhat.com>
29481
29482 [BZ #17187]
29483 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29484 trans_compare, open_translit, __gconv_translit_find):
29485 Remove module loading code.
29486
29487 2014-08-26 Allan McRae <allan@archlinux.org>
29488
29489 * po/vi.po: Update Vietnamese translation from translation project.
29490
29491 * po/uk.po: Update Ukrainian translation from translation project.
29492
29493 * po/fr.po: Update French translation from translation project.
29494
29495 * po/ru.po: Update Russian translation from translation project.
29496
29497 * po/pl.po: Update Polish translation from translation project.
29498
29499 * po/cs.po: Update Czech translation from translation project.
29500
29501 * po/de.po: Update German translation from translation project.
29502
29503 * po/bg.po: Update Bulgarian translation from translation project.
29504
29505 * po/sv.po: Update Sweedish translation from translation project.
29506
29507 * po/nl.po: Update Dutch translation from translation project.
29508
29509 * po/es.po: Update Spanish translation from translation project.
29510
29511 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29512
29513 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29514
29515 * catgets/Makefile (CPPFLAGS-gencat): Remove.
29516 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29517 (CPPFLAGS-iconvconfig): Likewise.
29518 * timezone/Makefile (CPPFLAGS-zic): Likewise.
29519
29520 * include/libc-symbols.h: Remove unnecessary check for
29521 NOT_IN_libc.
29522 * nptl/pthreadP.h: Likewise.
29523 * sysdeps/aarch64/setjmp.S: Likewise.
29524 * sysdeps/alpha/setjmp.S: Likewise.
29525 * sysdeps/arm/sysdep.h: Likewise.
29526 * sysdeps/i386/setjmp.S: Likewise.
29527 * sysdeps/m68k/setjmp.c: Likewise.
29528 * sysdeps/posix/getcwd.c: Likewise.
29529 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29530 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29531 * sysdeps/s390/s390-32/setjmp.S: Likewise.
29532 * sysdeps/s390/s390-64/setjmp.S: Likewise.
29533 * sysdeps/sh/sh3/setjmp.S: Likewise.
29534 * sysdeps/sh/sh4/setjmp.S: Likewise.
29535 * sysdeps/unix/alpha/sysdep.h: Likewise.
29536 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29537 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29538 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29539 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29542 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29543 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29544 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29545 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29546 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29547 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29549 * sysdeps/x86_64/setjmp.S: Likewise.
29550
29551 2014-08-13 Joseph Myers <joseph@codesourcery.com>
29552
29553 [BZ #17263]
29554 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29555 <stdint.h>.
29556 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29557 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29558
29559 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29560
29561 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29562
29563 [BZ #17262]
29564 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29565 and __x86_64__ when disabling x87 inline functions.
29566
29567 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
29568
29569 [BZ #17259]
29570 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29571 asm statement with __cpuid_count.
29572
29573 2014-08-12 Mike Frysinger <vapier@gentoo.org>
29574
29575 * configure.ac: Change __ehdr_start code to dereference the struct.
29576 Run readelf on the output to look for relocations.
29577 * configure: Regenerated.
29578
29579 2014-08-12 Joseph Myers <joseph@codesourcery.com>
29580
29581 [BZ #17261]
29582 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29583 value to 0.
29584 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29585
29586 2014-08-12 Roland McGrath <roland@hack.frob.com>
29587
29588 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29589
29590 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
29591
29592 [BZ #16892]
29593 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29594 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29595
29596 2014-08-12 Sean Anderson <seanga2@gmail.com>
29597
29598 * malloc/malloc.c: Fix typo in comment.
29599
29600 2014-08-09 Allan McRae <allan@archlinux.org>
29601
29602 * Regenerate libc.po.
29603
29604 2014-08-08 Mike Frysinger <vapier@gentoo.org>
29605
29606 * intl/tst-gettext2.sh: Check every lang file for creation.
29607
29608 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
29609
29610 * sysdeps/aarch64/fpu/math_private.h
29611 (libc_feholdsetround_noex_aarch64_ctx): New function.
29612
29613 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
29614
29615 * sysdeps/arm/armv6/strcpy.S (strcpy):
29616 Fix performance issue in misaligned cases.
29617
29618 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29619
29620 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29621 Move definition from termios.h.
29622 (struct termio): Likewise.
29623 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29624 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29625 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29626 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29627 Likewise.
29628 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29629 Move definition to ioctl-types.h
29630 (struct termio): Likewise.
29631 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29632 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29633 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29634 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29635 Likewise.
29636
29637 2014-08-05 Richard Henderson <rth@redhat.com>
29638
29639 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29640 exceptions.
29641 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29642 Add fraiseexcpt.
29643 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29644 Use __feraiseexcept.
29645 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29646 Protect libm symbols with IS_IN_libm.
29647
29648 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29649
29650 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
29651
29652 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29653
29654 2014-08-04 Will Newton <will.newton@linaro.org>
29655
29656 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29657 file.
29658
29659 2014-08-04 Mike Frysinger <vapier@gentoo.org>
29660
29661 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29662 variants for each function.
29663
29664 2014-08-04 Roland McGrath <roland@hack.frob.com>
29665
29666 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29667 appended ...
29668 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29669 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29670 appended ...
29671 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29672 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29673 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29674 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29675 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29676 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29677 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29678 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29679 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29680 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29681 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29682 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29683 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29684 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29685 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29686 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29687 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29688 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29689 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29690 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29691 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29692 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29693 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29694 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29695 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29696 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29697 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29698 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29699 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29700 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29701 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29702 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29703 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29704 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29705 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29706 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29707 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29708 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29709 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29710 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29711 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29712 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29713 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29714 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29715 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29716 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29717 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29718 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29719 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29720 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29721 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29722 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29723 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29724 Update #include.
29725 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29726 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29727
29728 2014-08-04 Roland McGrath <roland@hack.frob.com>
29729
29730 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29731 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29732 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29733 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29734 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29735 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29736
29737 2014-08-04 Roland McGrath <roland@hack.frob.com>
29738
29739 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29740 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29741 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29742 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29743
29744 2014-08-04 Roland McGrath <roland@hack.frob.com>
29745
29746 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29747 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29748 (__libc_vfork): Define function under this name.
29749 (__vfork): Define as an alias.
29750 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29751 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29752
29753 2014-08-04 Roland McGrath <roland@hack.frob.com>
29754
29755 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29756 that was previously under [RESET_PID].
29757 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29758
29759 2014-08-04 Andreas Schwab <schwab@suse.de>
29760
29761 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29762
29763 2014-08-03 Mike Frysinger <vapier@gentoo.org>
29764
29765 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29766 (main): Likewise.
29767
29768 2014-08-01 Roland McGrath <roland@hack.frob.com>
29769
29770 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29771
29772 2014-08-01 Richard Henderon <rth@redhat.com>
29773
29774 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29775 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29776 typo in exact zero test.
29777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29778 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29780
29781 2014-08-01 Roland McGrath <roland@hack.frob.com>
29782
29783 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
29784 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
29785 * sysdeps/arm/sysdep.h: ... here.
29786 [!__ASSEMBLER__]: Include <stdint.h>.
29787
29788 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29789
29790 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29791 (HAVE_WCTYPE_H): Likewise.
29792 (HAVE_ISWCTYPE): Likewise.
29793 (ENABLE_NLS): Likewise.
29794 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
29795 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
29796
29797 * posix/regex_internal.c: Check if DEBUG is defined and is
29798 set.
29799
29800 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
29801 (HAVE_MBSRTOWCS): Likewise.
29802 * posix/fnmatch.c: Include string.h unconditionally.
29803
29804 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
29805
29806 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29807 reversal.
29808
29809 2014-07-31 Roland McGrath <roland@hack.frob.com>
29810
29811 * sysdeps/generic/safe-fatal.h: New file.
29812 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
29813 * nptl/forward.c: Include it.
29814 (__pthread_unwind): Use __safe_fatal as default action, rather
29815 than a bogus use of INTERNAL_SYSCALL that could never work.
29816
29817 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
29818 * configure.ac (libc_cv_builtin_trap): New test.
29819 * configure: Regenerated.
29820 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
29821 (ABORT_INSTRUCTION): Define using __builtin_trap.
29822
29823 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
29824 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
29825 * sysdeps/nptl/nptl-signals.h: New file.
29826 * nptl/pthreadP.h: Include <nptl-signals.h>.
29827
29828 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
29829
29830 * sysdeps/s390/s390-64/utf16-utf32-z9.c
29831 (ONE_DIRECTION): Define.
29832 * sysdeps/s390/s390-64/utf8-utf16-z9.c
29833 (ONE_DIRECTION): Define.
29834 * sysdeps/s390/s390-64/utf8-utf32-z9.c
29835 (ONE_DIRECTION): Define.
29836
29837 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
29838
29839 * sysdeps/s390/Makefile: Delete file.
29840 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
29841 * sysdeps/s390/__longjmp.c: Delete file.
29842 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29843 Remove fields __flags and __reserved.
29844 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
29845 and add versioning.
29846 * sysdeps/s390/rtld-__longjmp.c: Delete file.
29847 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
29848 * sysdeps/s390/rtld-setjmp.S: Likewise.
29849 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
29850 * sysdeps/s390/s390-32/__longjmp.c: ... here.
29851 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29852 * sysdeps/s390/s390-32/setjmp.S: ... here.
29853 Add versioning.
29854 (__sigsetjmp): Remove setting __flags field.
29855 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29856 * sysdeps/s390/s390-64/__longjmp.c: ... here.
29857 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29858 * sysdeps/s390/s390-64/setjmp.S: ... here.
29859 Add versioning.
29860 (__sigsetjmp): Remove setting __flags field.
29861 * sysdeps/s390/setjmp.S: Delete file.
29862 * sysdeps/s390/sigjmp.c: Likewise.
29863 * sysdeps/s390/v1-longjmp.c: Likewise.
29864 * sysdeps/s390/v1-setjmp.h: Likewise.
29865 * sysdeps/s390/v1-sigjmp.c: Likewise.
29866 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29867 Remove v1-longjmp_chk.
29868 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29869 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29870 Include debug/longjmp_chk.c and add versioning.
29871 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29872 Include nptl/pt-longjmp.c and add versioning.
29873 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29874 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29875 Include __longjmp.c.
29876 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29877 Move to ...
29878 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29879 (__getcontext): Remove setting __flags field.
29880 Add versioning.
29881 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29882 Don't restore upper high grps.
29883 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29884 Likewise.
29885 (__swapcontext): Remove setting uc_flags field.
29886 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29887 Delete file.
29888 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29889 Include __longjmp.c.
29890 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29891 Move to ...
29892 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29893 (__getcontext): Remove setting __flags field.
29894 Add versioning.
29895 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29896 (__swapcontext): Remove setting uc_flags field.
29897 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29898 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29899 Remove fields uc_high_gprs and __reserved.
29900 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29901 New file with reverted content.
29902 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29903 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29904 Regenerated.
29905 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29906 Regenerated.
29907
29908 2014-07-31 Andreas Schwab <schwab@suse.de>
29909
29910 * config.h.in (HAVE_IFUNC): Define to 0.
29911 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29912 definedness.
29913
29914 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
29915
29916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29917 memmove-avx-unaligned, memcpy-avx-unaligned and
29918 mempcpy-avx-unaligned.
29919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29920 Add tests for AVX memcpy functions.
29921 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29922 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29923 memcpy_chk.
29924 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29925 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29926 memmove_chk.
29927 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29928 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29929 mempcpy_chk.
29930 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29931 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29932 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29933
29934 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29935
29936 [BZ #17213]
29937 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29938 powerpc64le.
29939
29940 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
29941
29942 [BZ #16839]
29943 * manual/llio.texi: Add section about open file description locks.
29944 * manual/examples/ofdlocks.c: Example of open file description
29945 lock usage.
29946 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29947 F_OFD_SETLK, and F_OFD_SETLKW.
29948
29949 2014-07-23 Allan McRae <allan@archlinux.org>
29950
29951 * po/es.po: Update Spanish translation from translation project.
29952
29953 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
29954
29955 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29956
29957 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
29958
29959 [BZ #17078]
29960 * sysdeps/arm/dl-machine.h (elf_machine_rela)
29961 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29962 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29963
29964 2014-07-17 Joseph Myers <joseph@codesourcery.com>
29965
29966 [BZ #17088]
29967 * math/fesetenv.c (__fesetenv)
29968 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29969 * math/feupdateenv.c (__feupdateenv)
29970 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29971
29972 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29973 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29974 (__ASSUME_SOCKETCALL): Do not define.
29975
29976 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29977 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29978 (__ASSUME_SOCKETCALL): Do not define.
29979 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29980 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29981 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29982 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29983 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29984 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29985 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29986 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29987
29988 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29989 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29990 (__ASSUME_SOCKETCALL): Do not define.
29991 (__ASSUME_IPC64): Define unconditionally.
29992 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29993 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29994 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29995 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29996 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29997 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29998 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29999 Likewise.
30000
30001 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30002 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30003 (__ASSUME_SOCKETCALL): Do not define.
30004 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30005 (__ASSUME_FUTEX_LOCK_PI): Likewise.
30006 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30007 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30008 (__ASSUME_REQUEUE_PI): Define unconditionally.
30009 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30010 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30011 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30012 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30013 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30014 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30015
30016 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30017 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30018 (__ASSUME_SOCKETCALL): Do not define.
30019 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30020 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30021 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30022 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30023 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30024 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30025
30026 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30027 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30028 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30029 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30030 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30031 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30032 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30033 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30034 (__ASSUME_GETCPU_SYSCALL): Likewise.
30035
30036 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30037 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
30038 cases for individual architectures.
30039 * sysdeps/gnu/configure: Regenerated.
30040 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30041 LIBC_SLIBDIR_RTLDDIR.
30042 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30043 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30044 LIBC_SLIBDIR_RTLDDIR.
30045 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30047 LIBC_SLIBDIR_RTLDDIR.
30048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30049 Regenerated.
30050 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30051 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30052 file.
30053 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30054 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30055 file.
30056 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30057 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30058 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30059 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30060
30061 * sysdeps/aarch64/shlib-versions: Move to ...
30062 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30063 * sysdeps/alpha/shlib-versions: Move to ...
30064 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30065 * sysdeps/arm/shlib-versions: Move to ...
30066 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30067 * sysdeps/hppa/shlib-versions: Move all contents except for
30068 libgcc_s entry to ...
30069 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
30070 entry from ...
30071 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
30072 * sysdeps/ia64/shlib-versions: Move to ...
30073 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
30074 entry from ...
30075 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
30076 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30077 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30078 * sysdeps/microblaze/shlib-versions: Move to ...
30079 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30080 * sysdeps/mips/shlib-versions: Move to ...
30081 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
30082 entry from ...
30083 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
30084 * sysdeps/tile/shlib-versions: Move to ...
30085 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30086 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30087 from ...
30088 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
30089 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30090 entry from ...
30091 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
30092
30093 2014-07-17 Will Newton <will.newton@linaro.org>
30094
30095 * sysdeps/arm/bits/atomic.h
30096 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30097 (__arch_compare_and_exchange_bool_16_int): Likewise.
30098 (__arch_compare_and_exchange_bool_64_int): Likewise.
30099
30100 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30101 into an #else block.
30102
30103 2014-07-16 Roland McGrath <roland@hack.frob.com>
30104
30105 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30106 just Linux configurations. Test empirically that the compiler sets
30107 __ARM_EABI__, rather than using the tuple to decide.
30108 * sysdeps/arm/preconfigure: Regenerated.
30109 * sysdeps/unix/sysv/linux/arm/configure: File removed.
30110 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30111 contents appended ...
30112 * sysdeps/arm/configure.ac: ... here.
30113 * sysdeps/arm/configure: Regenerated.
30114
30115 2014-07-15 Roland McGrath <roland@hack.frob.com>
30116
30117 * nptl/pthread_kill.c: New file.
30118 * nptl/pthread_sigmask.c: New file.
30119 * nptl/pthread_sigqueue.c: New file.
30120
30121 * sysdeps/nptl/lowlevellock.h: New file.
30122 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30123 * sysdeps/nptl/lowlevellock-futex.h: New file.
30124
30125 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30126 Remove dead declarations.
30127
30128 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
30129
30130 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30131 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30132 config-cflags-avx2.
30133 * sysdeps/x86_64/configure.ac: Likewise.
30134 * sysdeps/i386/configure: Regenerated.
30135 * sysdeps/x86_64/configure: Likewise.
30136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30137 memset-avx2 only if config-cflags-avx2 is yes.
30138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30139 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30140 defined.
30141 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30142 only if HAVE_AVX2_SUPPORT is defined.
30143 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30144
30145 2014-07-14 Alan Modra <amodra@gmail.com>
30146
30147 [BZ #17153]
30148 * elf/elf.h (DT_PPC64_NUM): Correct value.
30149 * NEWS: Add to fixed bug list.
30150
30151 2014-07-13 Jim Meyering <meyering@fb.com>
30152
30153 [BZ 17150]
30154 regex: don't deref NULL upon heap allocation failure
30155 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30156 failure in one more place.
30157 To trigger the segfault, configure grep -with-included-regex,
30158 build it, and run these commands:
30159 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30160
30161 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
30162
30163 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30164
30165 2014-07-11 Richard Henderson <rth@redhat.com>
30166
30167 * sysdeps/aarch64/libm-test-ulps: Update.
30168
30169 2014-07-10 Florian Weimer <fweimer@redhat.com>
30170
30171 [BZ #17135]
30172 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30173 * nptl/allocatestack.c (__nptl_setxid_error): New function.
30174 (__nptl_setxid): Initialize error member. Call
30175 __nptl_setxid_error.
30176 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30177 * nptl/descr.h (struct xid_command): Add error member.
30178 * nptl/tst-setuid3.c: New file.
30179 * nptl/Makefile (tests): Add it.
30180
30181 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30182
30183 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30184 New define.
30185 (__lll_trylock): Use __lll_base_trylock.
30186 (__lll_cond_trylock): Likewise.
30187
30188 2014-07-10 Roland McGrath <roland@hack.frob.com>
30189
30190 * nptl/pthread_create.c (start_thread): Use atomic_or and
30191 lll_futex_wake directly rather than lll_robust_dead.
30192 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30193 (lll_robust_dead): Macro removed.
30194 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30195 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30196 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30197 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30198 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30199 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30200 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30201 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30202 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30203 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30204 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30205 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30206 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30207 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30208 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30209
30210 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30211 Use atomic_compare_and_exchange_val_acq directly rather than
30212 lll_robust_trylock.
30213 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30214 (__lll_robust_trylock, lll_robust_trylock): Removed.
30215 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30216 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30217 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30218 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30219 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30220 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30221 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30222 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30223 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30224 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30225 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30226 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30227 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30228 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30229
30230 2014-07-02 Florian Weimer <fweimer@redhat.com>
30231
30232 * manual/locale.texi (Locale Names): New section documenting
30233 locale name syntax. Adjust menu and node chaining accordingly.
30234 (Choosing Locale): Reference Locale Names, Locale Categories.
30235 Mention setting LC_ALL=C. Reflect that name syntax is now
30236 documented.
30237 (Locale Categories): New section title. Reference Locale Names.
30238 LC_ALL is an environment variable, but not a category.
30239 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30240 description, now in Locale Name. Reference that section. Locale
30241 name syntax is now documented.
30242
30243 2014-07-02 Florian Weimer <fweimer@redhat.com>
30244
30245 [BZ #17137]
30246 * locale/findlocale.c (name_present, valid_locale_name): New
30247 functions.
30248 (_nl_find_locale): Use the loc_name variable to store name
30249 candidates. Call name_present and valid_locale_name to check and
30250 validate locale names. Return an error if the locale is invalid.
30251
30252 2014-07-02 Florian Weimer <fweimer@redhat.com>
30253
30254 * locale/setlocale.c (setlocale): Use strdup for allocating
30255 composite name copy.
30256
30257 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30258
30259 Sync up with gnulib.
30260 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30261 [!_LIBC && ENABLE_NLS]: Include gettext.h.
30262 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30263 and _GL_ARG_NONNULL.
30264 [USE_UNLOCKED_IO]: Include unlocked-io.h.
30265 [!_LIBC]: Include code for Windows and Cygwin.
30266 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30267 Include prototype for int strerror_r.
30268 [!_LIBC] (is_open): New function.
30269 (flush_stdout): New function.
30270 (print_errno_message): Use it.
30271 (error): Likewise.
30272 (error_at_line): Likewise.
30273 (error_tail) Add function attribute macros. Use
30274 __builtin_expect.
30275
30276 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30277
30278 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30279
30280 * io/ftw.c: Include sys/param.h unconditionally.
30281
30282 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30283
30284 [BZ #17125]
30285 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30286 libc_freeres_ptr.
30287 (freecache): New function to free CACHE on exit.
30288
30289 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30290 initialization.
30291
30292 2014-07-09 David S. Miller <davem@davemloft.net>
30293
30294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30295
30296 * sysdeps/sparc/nptl/internaltypes.h: Delete.
30297 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30298 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30299 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30300 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30301 * sysdeps/sparc/nptl/sem_init.c: Likewise.
30302 * sysdeps/sparc/nptl/sem_post.c: Likewise.
30303 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30304 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30305 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30306 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30307 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30308 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30309
30310 2014-07-09 Andreas Schwab <schwab@suse.de>
30311
30312 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30313 output.
30314 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30315 (do_test): Likewise.
30316
30317 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30318
30319 2014-07-09 Will Newton <will.newton@linaro.org>
30320
30321 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30322 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30323 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30324 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30325 * sysdeps/hppa/start.S (_start): Likewise.
30326
30327 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30328
30329 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30330
30331 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30332 defined.
30333
30334 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30335
30336 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30337 after checking that it is non-NULL.
30338
30339 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30340
30341 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30342
30343 * sysdeps/powerpc/memmove.c: Remove file.
30344 * sysdeps/powerpc/powerpc32/power4/memcopy.h
30345 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30346 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30347 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30348 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30349 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30350 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30351 string memmove instead of removed powerpc one.
30352
30353 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30354 [weak_alias]: Fix compiler warning due trailing data.
30355 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30356 [weak_alias]: Likewise.
30357 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30358 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30359
30360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30361 (__libc_ifunc_impl_list): Add memmove functions.
30362
30363 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30364
30365 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30366 Remove code.
30367 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30368 Likewise.
30369 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30370 Likewise.
30371 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30372 Likewise.
30373 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30374 Likewise.
30375 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30376 Likewise.
30377 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30378 Likewise.
30379 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30380 Likewise.
30381 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30382 Likewise.
30383 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30384 Likewise.
30385 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30386 Likewise.
30387 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30388 Likewise.
30389 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30390 Likewise.
30391 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30392 Likewise.
30393 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30394 Likewise.
30395 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30396 Likewise.
30397 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30398 Likewise.
30399
30400 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30401
30402 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30403 to avoid alignment traps in non-cacheable memory.
30404 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30405
30406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30407 multiarch objects.
30408 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30409 file: multiarch power7 memmove.
30410 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30411 multiarch default memmove.
30412 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30413 multiarch memove for powerpc32/power4.
30414
30415 * string/bcopy.c: Use full path to include memmove.c.
30416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30417 multiarch objects.
30418 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30419 bcopy for powerpc64.
30420 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30421 bcopy for powerpc64.
30422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30423 and memmove implementations.
30424 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30425 optimized multiarch memmove for POWER7/powerpc64.
30426 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30427 default multiarch memmove for powerpc64.
30428 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30429 multiarch for powerpc64.
30430 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30431 for POWER7/powerpc64.
30432 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30433 memmove for POWER7/powerpc64.
30434
30435 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30436 glibc default one.
30437
30438 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30439 __ELF_NATIVE_CLASS equal to 64.
30440
30441 2014-07-07 Roland McGrath <roland@hack.frob.com>
30442
30443 * sysdeps/nptl/lowlevellock.h: File removed.
30444
30445 * NEWS: NPTL is no longer an add-on!
30446 * nptl/internaltypes.h: Moved ...
30447 * sysdeps/nptl/internaltypes.h: ... here.
30448 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30449 * sysdeps/nptl/fork.c: Likewise.
30450 * sysdeps/nptl/gai_misc.h: Likewise.
30451 * sysdeps/nptl/librt-cancellation.c: Likewise.
30452 * sysdeps/nptl/jmp-unwind.c: Likewise.
30453 * sysdeps/nptl/setxid.h: Likewise.
30454 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30455 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30456 * sysdeps/unix/sysv/linux/arm/Implies: New file.
30457 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30458 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30459 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30460 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30461 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30462 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30463 * sysdeps/unix/sysv/linux/mips/Implies: New file.
30464 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30465 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30466 * sysdeps/unix/sysv/linux/sh/Implies: New file.
30467 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30468 * sysdeps/unix/sysv/linux/tile/Implies: New file.
30469 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30470 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30471 * nptl/Makeconfig: Moved ...
30472 * sysdeps/nptl/Makeconfig: ... here.
30473 * nptl/configure: File removed.
30474 * nptl/ANNOUNCE: File removed.
30475 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30476 * sysdeps/unix/sysv/linux/configure: Regenerated.
30477
30478 * nptl/Makefile (routines): Add libc_pthread_init,
30479 libc_multiple_threads, register-atfork and unregister-atfork.
30480 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30481 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30482 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30483 pthread-pi-defines.sym, structsem.sym.
30484 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30485 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30486 [$(subdir) = nptl] (tests): Add tst-setgetname.
30487 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30488 * sysdeps/unix/sysv/linux/sigaction.c: Just include
30489 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30490 [!LIBC_SIGACTION]: Remove aliases.
30491 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30492 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30493 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30494 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30495 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30496 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30497 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30498 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30499 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30500 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30501 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30502 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30503 __libc_allocate_rtsig_private.
30504 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30505 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30506 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30507 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30508 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30509 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30510 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30511 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30512 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30513 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30514 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30515 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30516 * nptl/internaltypes.h: ... here.
30517 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30518 * sysdeps/nptl/jmp-unwind.c: ... here.
30519 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30520 * nptl/libc-lowlevellock.c: ... here.
30521 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30522 * nptl/libc_multiple_threads.c: ... here.
30523 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30524 * nptl/libc_pthread_init.c: ... here.
30525 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30526 * nptl/lowlevelbarrier.sym: ... here.
30527 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30528 * nptl/lowlevelcond.sym: ... here.
30529 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30530 * nptl/lowlevellock.c: ... here.
30531 * nptl/lowlevellock.h: Moved ...
30532 * sysdeps/nptl/lowlevellock.h: ... here.
30533 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30534 * nptl/lowlevelrobustlock.c: ... here.
30535 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30536 * nptl/lowlevelrobustlock.sym: ... here.
30537 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30538 * nptl/lowlevelrwlock.sym: ... here.
30539 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30540 * nptl/pt-fork.c: ... here.
30541 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30542 * nptl/pthread-pi-defines.sym: ... here.
30543 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30544 * nptl/pthread_attr_getaffinity.c: ... here.
30545 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30546 * nptl/pthread_attr_setaffinity.c: ... here.
30547 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30548 * nptl/pthread_mutex_cond_lock.c: ... here.
30549 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30550 Update #include.
30551 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30552 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30553 * nptl/pthread_once.c: ... here, replacing old file.
30554 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30555 * nptl/pthread_yield.c: ... here.
30556 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30557 * nptl/register-atfork.c: ... here.
30558 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30559 * nptl/sem_post.c: ... here.
30560 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30561 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30562 * nptl/sem_timedwait.c: ... here.
30563 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30564 * nptl/sem_trywait.c: ... here.
30565 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30566 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30567 * nptl/sem_wait.c: ... here.
30568 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30569 * nptl/structsem.sym: ... here.
30570 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30571 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30572 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30573 * nptl/unregister-atfork.c: ... here.
30574 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30575 * nptl/unwindbuf.sym: ... here.
30576 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30577 * sysdeps/nptl/fork.c: ... here.
30578 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30579 * sysdeps/nptl/fork.h: ... here.
30580 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30581 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30582 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30583 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30584 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30585 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30586 * sysdeps/unix/sysv/linux/getpid.c: ... here.
30587 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30588 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30589 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30590 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30591 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30592 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30593 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30594 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30595 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30596 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30597 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30598 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30599 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30600 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30601 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30602 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30603 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30604 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30605 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30606 * sysdeps/unix/sysv/linux/raise.c: ... here.
30607 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30608 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30609 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30610 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30611 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30612 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30613 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30614 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30615 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30616 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30617 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30618 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30619 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30620 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30621 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30622
30623 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30624
30625 * sysdeps/generic/memcopy.h: Add comment for
30626 MEMCPY_OK_FOR_FWD_MEMMOVE.
30627
30628 2014-07-04 Will Newton <will.newton@linaro.org>
30629
30630 * string/memchr.c: Merge from gnulib.
30631 [_LIBC]: Remove conditionals.
30632 (__ptr_t): Remove define.
30633 (LONG_MAX_32_BITS): Likewise.
30634 (LONG_MAX): Likewise.
30635 (MEMCHR): Use ANSI prototype and optimize algorithm.
30636
30637 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30638
30639 2014-07-03 Roland McGrath <roland@hack.frob.com>
30640
30641 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30642 (lll_futex_timed_wait_bitset): Fix syscall argument count.
30643
30644 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30645 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30646 in a bare environment with no <stdlib.h> installed.
30647 * sysdeps/nptl/configure: Regenerated.
30648
30649 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30650
30651 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30652 AC_EGREP_CPP for kernel header checks, so they only succeed if
30653 including <linux/version.h> actually works right.
30654 * sysdeps/unix/sysv/linux/configure: Regenerated.
30655
30656 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30657 value so it's not diagnosed as unused.
30658
30659 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30660 thing) with "ifeq ($(subdir),rt)".
30661
30662 2014-07-03 Richard Henderson <rth@redhat.com>
30663
30664 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30665 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30666 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30667
30668 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30669 (math_force_eval): New.
30670
30671 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30672 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30673
30674 * sysdeps/alpha/fpu/s_round.c: Remove file.
30675 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30676
30677 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30678 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30679 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30680 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30681 (_dl_start, print_statistics): Likewise.
30682 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30683 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30684
30685 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30686 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30687 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30688 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30689 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30690 (HP_SMALL_TIMING_AVAIL): Define.
30691 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30692 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30693 (HP_SMALL_TIMING_AVAIL): Define.
30694 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30695 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30696
30697 * sysdeps/aarch64/hp-timing.h: New file.
30698
30699 * sysdeps/generic/hp-timing.h: Remove dead comment.
30700 * sysdeps/generic/hp-timing-common.h: New file.
30701 * sysdeps/alpha/hp-timing.h: Include it.
30702 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30703 * sysdeps/i386/i686/hp-timing.h: Likewise.
30704 * sysdeps/ia64/hp-timing.h: Likewise.
30705 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30706 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30707 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30708 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30709 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30710 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30711 (hp_timing_t): New.
30712
30713 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30714 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30715 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30716 * elf/rtld.c (_dl_start_final): Likewise.
30717 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30718 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30719 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30720 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30721 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30722 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30723 (HP_TIMING_DIFF_INIT): Remove.
30724 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30725 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30726 (HP_TIMING_DIFF_INIT): Remove.
30727 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30728 * sysdeps/i386/i686/hp-timing.c: Remove file.
30729 * sysdeps/x86_64/hp-timing.c: Remove file.
30730 * sysdeps/ia64/hp-timing.c: Remove file.
30731 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30732 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30733 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30734 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30735
30736 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30737 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30738 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30739 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30740 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30741 (HP_TIMING_ACCUM): Remove.
30742 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30743 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30744 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30745
30746 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30747 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30748 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30749 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30750 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30751 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30752 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30753 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30754
30755 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30756
30757 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
30758
30759 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30760
30761 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30762
30763 Sync up with gettext.
30764 * intl/loadmsgcat.c: Define O_BINARY if not defined.
30765 [_MSC_VER]: Include malloc.h
30766 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30767 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30768 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
30769 TEMP_FAILURE_RETRY. Cast return of alloca.
30770 [!_LIBC] Call gl_rwlock_init.
30771 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30772
30773 2014-07-02 Roland McGrath <roland@hack.frob.com>
30774
30775 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30776 before checking its value.
30777
30778 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30779
30780 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
30781
30782 * debug/memcpy_chk.c: Don't include pagecopy.h.
30783 * debug/mempcpy_chk.c: Likewise.
30784 * string/memcpy.c: Likewise.
30785 * string/memmove.c: Likewise.
30786 * sysdeps/powerpc/memmove.c: Likewise.
30787 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
30788 definition of PAGE_COPY_FWD_MAYBE here...
30789 * sysdeps/generic/pagecopy.h: ... from here.
30790 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
30791
30792 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
30793 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30794
30795 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
30796 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
30797 optimizations.
30798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30799 (__libc_ifunc_impl_list): Likewise.
30800 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
30801 multiarch strcat for PPC64.
30802 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
30803 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
30804
30805 2014-07-02 Roland McGrath <roland@hack.frob.com>
30806
30807 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
30808
30809 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30810
30811 * intl/loadmsgcat.c: Remove declaration of
30812 get_sysdep_segment_value.
30813 (get_sysdep_segment_value): Use ISO C style.
30814 (_nl_load_domain): Use ISO C style. Get rid of redundant
30815 semicolon. Fix typo and formatting in comment.
30816 (_nl_unload_domain): Use ISO C style.
30817
30818 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
30819
30820 2014-07-02 Will Newton <will.newton@linaro.org>
30821
30822 * malloc/obstack.c: Merge from gnulib master.
30823 [HAVE_CONFIG_H]: Remove conditional code.
30824 [!_LIBC]: Include config.h.
30825 [!ELIDE_CODE]: Don't include inttypes.h, include
30826 stdint.h unconditionally.
30827 (print_and_abort): Mark as _Noreturn.
30828 (_obstack_allocated_p): Mark as __attribute_pure__.
30829 (obstack_free): Rename to __obstack_free.
30830 [!__attribute__]: Remove conditional code.
30831 * malloc/obstack.h: Merge from gnulib master.
30832 [__cplusplus]: Move conditional down.
30833 [!__attribute_pure__]: Define __attribute_pure__ here
30834 if it is not already defined.
30835 (_obstack_memory_used): Mark as __attribute_pure__.
30836 [!__obstack_free]: Define as obstack_free.
30837 [__GNUC__]: Remove check for ancient NeXT gcc.
30838
30839 2014-07-02 Will Newton <will.newton@linaro.org>
30840 Paul Eggert <eggert@cs.ucla.edu>
30841
30842 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
30843
30844 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30845
30846 * resolv/gethnamaddr.c: Add comment warning that the file is
30847 not maintained.
30848
30849 2014-07-01 Carlos O'Donell <carlos@redhat.com>
30850
30851 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30852 entries.
30853
30854 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30855 entry for aio_cancel and aio_cancel64.
30856 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30857 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30858 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30859 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30860 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30861 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30862 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30863 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30864 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30865 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30866 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30867 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30868 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30869
30870 2014-07-01 Roland McGrath <roland@hack.frob.com>
30871
30872 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30873 * nptl/pthread_mutex_lock.c: Likewise.
30874 * nptl/pthread_mutex_timedlock.c: Likewise.
30875 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30876
30877 2014-07-01 Richard henderson <rth@redhat.com>
30878
30879 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30880 (__isnan, __isnanl): Remove.
30881 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30882
30883 * sysdeps/alpha/fpu/libm-test-ulps: Update.
30884
30885 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
30886
30887 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30888
30889 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30890
30891 * resolv/nss_dns/dns-host.c (getanswer_r)
30892 [MULTI_PTRS_ARE_ALIASES]: Remove code.
30893
30894 2014-07-01 Joseph Myers <joseph@codesourcery.com>
30895
30896 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30897 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30898 undefine.
30899 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30900 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30901
30902 2014-07-01 Roland McGrath <roland@hack.frob.com>
30903
30904 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30905 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30906
30907 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30908 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30909
30910 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30911 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30912 ... here.
30913 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30914 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30915
30916 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30917 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30918 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30919 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30920
30921 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30922 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30923 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30924 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30925 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30926 Moved ...
30927 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30928 ... here.
30929 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30930 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30931 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30932 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30933 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30934 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30935 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30936 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30937 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30938 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30939 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30940 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30941 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30942 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30943 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30944 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30945 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30946 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30947 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30948 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30949 ... here.
30950 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30951 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30952 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30953 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30954 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30955 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30956 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30957 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30958
30959 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
30960
30961 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30962 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30963 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30964 Add sysdep.
30965
30966 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30967
30968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30969
30970 2014-06-30 Joseph Myers <joseph@codesourcery.com>
30971
30972 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30973 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30974
30975 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30976
30977 * sysdeps/arm/libm-test-ulps: Regenerated.
30978
30979 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
30980 Roland McGrath <roland@hack.frob.com>
30981
30982 * test-skeleton.c (signal_handler): Kill the whole process group
30983 before killing the child individually.
30984 (main): Report any failure on `setpgid'.
30985
30986 2014-06-30 Roland McGrath <roland@hack.frob.com>
30987
30988 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30989 from _TLS_H to _ARM_NPTL_TLS_H.
30990 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30991 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30992
30993 2014-06-30 Joseph Myers <joseph@codesourcery.com>
30994
30995 [BZ #16539]
30996 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30997 (__expm1l): Return argument unchanged when small but not
30998 subnormal.
30999
31000 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31001 include macro name.
31002 (_FP_UNPACK_RAW_1_P): Likewise.
31003 (_FP_PACK_RAW_1): Likewise.
31004 (_FP_PACK_RAW_1_P): Likewise.
31005 (_FP_MUL_MEAT_1_wide): Likewise.
31006 (_FP_MUL_MEAT_DW_1_hard): Likewise.
31007 (_FP_MUL_MEAT_1_hard): Likewise.
31008 (_FP_DIV_MEAT_1_imm): Likewise.
31009 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31010 (_FP_DIV_MEAT_1_udiv): Likewise.
31011 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31012 (_FP_UNPACK_RAW_2): Likewise.
31013 (_FP_UNPACK_RAW_2_P): Likewise.
31014 (_FP_PACK_RAW_2): Likewise.
31015 (_FP_PACK_RAW_2_P): Likewise.
31016 (_FP_MUL_MEAT_DW_2_wide): Likewise.
31017 (_FP_MUL_MEAT_2_wide): Likewise.
31018 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31019 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31020 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31021 (_FP_MUL_MEAT_2_gmp): Likewise.
31022 (_FP_DIV_MEAT_2_udiv): Likewise.
31023 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31024 (_FP_FRAC_SRL_4): Likewise.
31025 (_FP_FRAC_SRST_4): Likewise.
31026 (_FP_FRAC_SRS_4): Likewise.
31027 (_FP_UNPACK_RAW_4): Likewise.
31028 (_FP_UNPACK_RAW_4_P): Likewise.
31029 (_FP_PACK_RAW_4): Likewise.
31030 (_FP_PACK_RAW_4_P): Likewise.
31031 (_FP_MUL_MEAT_DW_4_wide): Likewise.
31032 (_FP_MUL_MEAT_4_wide): Likewise.
31033 (_FP_MUL_MEAT_4_gmp): Likewise.
31034 (umul_ppppmnnn): Likewise.
31035 (_FP_DIV_MEAT_4_udiv): Likewise.
31036 (__FP_FRAC_ADD_4): Likewise.
31037 (__FP_FRAC_SUB_3): Likewise.
31038 (__FP_FRAC_SUB_4): Likewise.
31039 (__FP_FRAC_DEC_3): Likewise.
31040 (__FP_FRAC_DEC_4): Likewise.
31041 (__FP_FRAC_ADDI_4): Likewise.
31042 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31043 (_FP_FRAC_SRL_8): Likewise.
31044 (_FP_FRAC_SRS_8): Likewise.
31045
31046 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31047 include macro name.
31048 (FP_UNPACK_RAW_EP): Likewise.
31049 (FP_PACK_RAW_E): Likewise.
31050 (FP_PACK_RAW_EP): Likewise.
31051 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31052 (_FP_ISSIGNAN): Likewise.
31053 (_FP_ADD_INTERNAL): Likewise.
31054 (_FP_FMA): Likewise.
31055 (_FP_CMP): Likewise.
31056 (_FP_SQRT): Likewise.
31057 (_FP_TO_INT): Likewise.
31058 (_FP_FROM_INT): Likewise.
31059 (FP_EXTEND): Likewise.
31060 (_FP_DIV_MEAT_N_loop): Likewise.
31061
31062 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
31063
31064 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31065 throughout.
31066
31067 2014-06-29 Joseph Myers <joseph@codesourcery.com>
31068
31069 [BZ #17097]
31070 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31071 result with correct sign in case of exponents that produce
31072 overflow except for X very close to 1.
31073
31074 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
31075
31076 mktime: merge #if/#ifdef usage from glibc
31077 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31078 as that works with both Glibc's and Gnulib's style.
31079 See thread starting at Siddhesh Poyarekar's bug report at:
31080 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31081
31082 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31083
31084 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31085 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31086 * sysdeps/tile/tilegx/memmove.c: Remove file.
31087
31088 2014-06-27 Joseph Myers <joseph@codesourcery.com>
31089
31090 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31091 abi-name definition.
31092 * scripts/soversions.awk: Do not handle or generate ABI lines.
31093 * shlib-versions: Remove ABI entries.
31094 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31095 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31096
31097 2014-06-27 Roland McGrath <roland@hack.frob.com>
31098
31099 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31100 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31101 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31102 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31103 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31104 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31105 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31106 Moved ...
31107 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31108 ... here.
31109 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31110 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31111 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31112 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31113 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31114 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31115 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31116 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31117 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31118 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31119 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31120 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31121 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31122 Moved ...
31123 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31124 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31125 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31126 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31127 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31128 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31129 Moved ...
31130 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31132 Moved ...
31133 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31134 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31135 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31136 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31137 Moved ...
31138 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31139 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31140 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31141 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31142 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31143 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31144 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31145 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31146 Moved ...
31147 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31148 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31149 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31150 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31151 Moved ...
31152 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31153 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31154 Moved ...
31155 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31156 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31157 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31158 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31159 Moved ...
31160 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31161 ... here.
31162 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31163 Identical file removed.
31164 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31165 Moved ...
31166 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31167 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31168 Identical file removed.
31169 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31170 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31171 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31172 Moved ...
31173 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31174 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31175 Identical file removed.
31176 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31177 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31178 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31179 Identical file removed.
31180 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31181 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31182 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31183 Identical file removed.
31184 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31185 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31186 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31187 Identical file removed.
31188 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31189 Moved ...
31190 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31191 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31192 Identical file removed.
31193 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31194 Moved ...
31195 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31196 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31197 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31198 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31199 Identical file removed.
31200 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31201 Moved ...
31202 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31203 ... here.
31204 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31205 Identical file removed.
31206 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31207 Moved ...
31208 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31209 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31210 Identical file removed.
31211 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31212 Moved ...
31213 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31214 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31215 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31216 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31217 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31218 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31219 Moved ...
31220 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31221 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31222 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31223
31224 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31225 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31226 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31227 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31228 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31229
31230 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
31231
31232 [BZ #17092]
31233 * nscd/nscd.c (monitor_child): Return exit status of child
31234 instead of return value from wait syscall.
31235
31236 2014-06-27 Joseph Myers <joseph@codesourcery.com>
31237
31238 * configure.ac (libc_commonpagesize): Remove variable.
31239 (libc_relro_required): Likewise.
31240 (libc_cv_z_relro): Remove configure test.
31241 * configure: Regenerated.
31242 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31243 variable.
31244 (libc_relro_required): Likewise.
31245 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31246 (libc_relro_required): Likewise.
31247 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31248 (libc_relro_required): Likewise.
31249 * sysdeps/arm/preconfigure: Regenerated.
31250 * sysdeps/ia64/preconfigure: Remove file.
31251 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31252 variable.
31253 (libc_relro_required): Likewise.
31254
31255 [BZ #16561]
31256 [BZ #16562]
31257 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31258 (__ieee754_yn): Set FE_TONEAREST mode internally and then
31259 recompute overflowing results in original rounding mode.
31260 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31261 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31262 recompute overflowing results in original rounding mode.
31263 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31264 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31265 recompute overflowing results in original rounding mode.
31266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31267 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31268 recompute overflowing results in original rounding mode.
31269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31270 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31271 recompute overflowing results in original rounding mode.
31272 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31273 (libc_feholdsetround_ctx): New macro.
31274 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31275 * sysdeps/i386/fpu/libm-test-ulps: Update.
31276 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31277
31278 2014-06-26 Joseph Myers <joseph@codesourcery.com>
31279
31280 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31281 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31282 corresponding .cpsetup call.
31283
31284 2014-06-26 Roland McGrath <roland@hack.frob.com>
31285
31286 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31287 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31288 * sysdeps/arm/Makefile [$(subdir) = csu]
31289 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31290 (static-only-routines): Add aeabi_read_tp here.
31291 (shared-only-routines): Add libc-aeabi_read_tp here.
31292 (CFLAGS-libc-start.c): Add -fexceptions here.
31293 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31294 (sysdep_routines, static-only-routines, shared-only-routines):
31295 Don't add to these here.
31296 (CFLAGS-libc-start.c): Likewise.
31297
31298 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31299 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31300 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31301 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31302 * sysdeps/arm/Makefile [$(subdir) = rt]
31303 (librt-sysdep_routines, librt-shared-only-routines):
31304 Append rt-aeabi_unwind_cpp_pr1 here.
31305 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31306 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31307 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31308 (libpthread-sysdep_routines, libpthread-shared-only-routines):
31309 Append nptl-aeabi_unwind_cpp_pr1 here.
31310 (tests): Filter out tst-cleanupx4 here.
31311 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31312 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31313 Don't do those here.
31314
31315 2014-06-26 Joseph Myers <joseph@codesourcery.com>
31316
31317 * scripts/list-sources.sh: Do not handle ports specially.
31318
31319 2014-06-26 Roland McGrath <roland@hack.frob.com>
31320
31321 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31322 * sysdeps/arm/feupdateenv.c: Likewise.
31323
31324 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31325
31326 2014-06-26 Joseph Myers <joseph@codesourcery.com>
31327
31328 * manual/texinfo.tex: Update to version 2014-05-05.10 with
31329 trailing whitespace removed.
31330 * scripts/config.guess: Update to version 2014-03-23.
31331 * scripts/config.sub: Update to version 2014-05-01
31332 * scripts/install-sh: Update to version 2013-12-25.23.
31333 * scripts/move-if-change: Update from gnulib.
31334
31335 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31336
31337 * debug/memmove_chk.c: Remove pagecopy.h include.
31338
31339 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
31340
31341 * time/mktime.c (leapyear): Remove inline keyword. The code is now
31342 identical to gnulib mktime.
31343
31344 2014-06-26 Joseph Myers <joseph@codesourcery.com>
31345
31346 * configure.ac: Do not test for machine being rs6000. Do not test
31347 for powerpc*-*soft.
31348 * configure: Regenerated.
31349
31350 [BZ #11505]
31351 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31352 test.
31353 * configure: Regenerated.
31354 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31355 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31356 Remove configure test.
31357 * sysdeps/arm/configure: Regenerated.
31358 * sysdeps/nptl/configure.ac: Do not check
31359 libc_cv_asm_cfi_directives.
31360 * sysdeps/nptl/configure: Regenerated.
31361 * sysdeps/x86_64/nptl/configure.ac: Remove file.
31362 * sysdeps/x86_64/nptl/configure: Remove generated file.
31363 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31364 unconditional.
31365 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31366
31367 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31368
31369 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31370 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31371 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31372 it is defined.
31373
31374 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31375 instead of whether it is defined.
31376 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31377 * sysdeps/hppa/dl-machine.h: Likewise.
31378 * sysdeps/ia64/dl-machine.h: Likewise.
31379 * sysdeps/m68k/dl-machine.h: Likewise.
31380 * sysdeps/microblaze/dl-machine.h: Likewise.
31381 * sysdeps/mips/dl-machine.: Likewise.
31382 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31383 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31384 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31385 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31386 * sysdeps/sh/dl-machine.h: Likewise.
31387 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31388 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31389 * sysdeps/tile/dl-machine.h: Likewise.
31390 * sysdeps/x86_64/dl-machine.h: Likewise.
31391
31392 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31393 code.
31394 (verify_persistent_db): Likewise.
31395
31396 2014-06-26 Roland McGrath <roland@hack.frob.com>
31397
31398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31399 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31401 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31403 Moved ...
31404 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31405 ... here.
31406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31407 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31409 Identical file removed.
31410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31411 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31413 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31415 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31417 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31419 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31421 Moved ...
31422 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31424 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31426 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31428 Moved ...
31429 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31431 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31433 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31435 Identical file removed.
31436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31437 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31439 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31441 Moved ...
31442 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31443 ... here.
31444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31445 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31447 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31449 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31451 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31453 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31455 Moved ...
31456 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31458 Moved ...
31459 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31461 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31463 Moved ...
31464 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31466 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31467
31468 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31469 folded into ...
31470 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31471 * sysdeps/unix/sysv/linux/s390/Versions
31472 (libpthread: GLIBC_2.19): New version set.
31473 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31474 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31475 (librt: GLIBC_2.3.3): New version set.
31476 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31477 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31478 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31479 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31480 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31481 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31482 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31483 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31484 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31485 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31486 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31487 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31488 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31489 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31490 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31491 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31492 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31493 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31494 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31495 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31496 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31497 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31498 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31499 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31500 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31501 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31502 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31503 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31504 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31505 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31506 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31507 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31508 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31509 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31510 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31511 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31512 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31513 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31514 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31515 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31516 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31517 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31518 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31519 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31520 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31521
31522 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31523 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31524 (__libc_vfork): Define the function under this name.
31525 [!NOT_IN_libc] (__vfork): Make this an alias.
31526 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31527 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31528 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31529 (__libc_vfork): Define the function under this name.
31530 [!NOT_IN_libc] (__vfork): Make this an alias.
31531 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31532 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31533 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31534 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31535 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31536 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31537
31538 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31539 code that was previously under [RESET_PID].
31540 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31541 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31543
31544 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31545 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31546 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31547 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31548 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31549 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31550 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31551 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31552 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31553 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31554 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31555 Moved ...
31556 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31557 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31558 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31559 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31560 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31561 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31562 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31563 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31564 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31565 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31566 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31567 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31568 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31569 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31570 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31571 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31572 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31573 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31574 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31575 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31576 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31577 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31578 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31579 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31580 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31581 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31582 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31583 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31584 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31585
31586 2014-06-25 Roland McGrath <roland@hack.frob.com>
31587
31588 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31589 that was previously under [RESET_PID].
31590 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31591
31592 2014-06-25 Joseph Myers <joseph@codesourcery.com>
31593
31594 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31595 not undefine and redefine.
31596 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31597 [O_CLOEXEC]: Make code unconditional.
31598 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31599 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31600 <kernel-features.h>.
31601 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31602 conditional variable definition.
31603 (shm_open) [O_CLOEXEC]: Make code unconditional.
31604 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31605 code.
31606
31607 * configure.ac (USE_REGPARMS): Don't define here.
31608 * configure: Regenerated.
31609 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31610 * sysdeps/i386/configure: Regenerated.
31611
31612 * nptl/createthread.c: Don't include kernel-features.h.
31613 * nptl/pthread_cancel.c: Likewise.
31614 * nptl/pthread_condattr_setclock.c: Likewise.
31615 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31616 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31617 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31618 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31619 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31620 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31621 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31622 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31624 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31625 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31626 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31627 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31628 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31629 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31630 * nscd/gai.c: Likewise.
31631 * nss/nss_db/db-open.c: Likewise.
31632 * sysdeps/generic/ldsodefs.h: Likewise.
31633 * sysdeps/sh/nptl/tls.h: Likewise.
31634 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31635 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31636 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31637 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31638 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31639 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31640 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31641 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31642 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31643 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31644 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31645 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31646 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31647 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31648 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31649 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31650 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31651 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31652 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31653 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31654 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31655 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31656 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31657 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31658 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31659 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31660 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31661 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31662 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31663 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31664 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31665 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31666 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31667 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31668 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31669 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31670 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31671 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31672 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31673 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31674 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31675 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31676 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31677 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31678 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31679 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31680 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31681 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31682 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31683 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31684 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31685 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31686 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31687 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31688 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31689 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31690 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31691 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31714 * sysdeps/unix/sysv/linux/pread.c: Likewise.
31715 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31716 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31717 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31718 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31719 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31720 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31721 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31722 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31723 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31724 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31725 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31726 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31727 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31728 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31729 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31730 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31731 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31732 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31733 * sysdeps/unix/sysv/linux/system.c: Likewise.
31734 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31735 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31736 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31737 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31738 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31739 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31740 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31741
31742 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31743 * configure: Regenerated.
31744 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31745
31746 * configure.ac (base_machine): Do not set specially for particular
31747 machines here.
31748 * configure: Regenerated.
31749 * sysdeps/powerpc/preconfigure: Move machine and base_machine
31750 settings from configure.ac.
31751 * sysdeps/i386/preconfigure: New file.
31752 * sysdeps/s390/preconfigure: Likewise.
31753 * sysdeps/sh/preconfigure: Likewise.
31754 * sysdeps/sparc/preconfigure: Likewise.
31755
31756 2014-06-25 Roland McGrath <roland@hack.frob.com>
31757
31758 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31759 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31760 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31761 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31762 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31763 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31764 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31765 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31766 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31767 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31768 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31769 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31770 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31771 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31772 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31773 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31774 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31775 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31776 * sysdeps/sparc/sparc64/Makefile: ... appended here.
31777
31778 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
31779 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
31780 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
31781 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
31782 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
31783 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
31784 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
31785 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31786 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
31787 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
31788 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
31789 * sysdeps/sparc/sparc32/sem_post.c: ... here.
31790 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
31791 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
31792 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
31793 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
31794 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
31795 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
31796 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
31797 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
31798 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
31799 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
31800 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
31801 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
31802 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
31803 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
31804 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
31805 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
31806 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
31807 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
31808 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
31809 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
31810 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
31811 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
31812 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
31813 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
31814 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
31815 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
31816
31817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
31818 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
31819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
31820 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
31821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31822 Moved ...
31823 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
31824 ... here.
31825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
31826 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
31827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
31828 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
31829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
31830 Moved ...
31831 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
31832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
31833 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
31834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
31835 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
31836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
31837 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
31838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31839 Moved ...
31840 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
31841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31842 Moved ...
31843 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
31844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31845 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
31846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31847 Moved ...
31848 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
31849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
31850 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31852 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31854 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31856 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31858 Moved ...
31859 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31860 ... here.
31861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31862 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31864 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31866 Moved ...
31867 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31869 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31871 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31873 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31875 Moved ...
31876 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31878 Moved ...
31879 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31881 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31883 Moved ...
31884 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31886 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31888 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31889
31890 2014-06-25 Joseph Myers <joseph@codesourcery.com>
31891
31892 * timezone/checktab.awk: Update from tzcode 2014e.
31893 * timezone/private.h: Likewise.
31894 * timezone/tzfile.h: Likewise.
31895 * timezone/zdump.c: Likewise.
31896 * timezone/zic.c: Likewise.
31897
31898 * sysdeps/unix/sysv/linux/kernel-features.h
31899 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31900 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31901 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31902 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31903 Remove conditional code.
31904
31905 2014-06-25 Will Newton <will.newton@linaro.org>
31906
31907 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31908 (_dl_arm_cap_flags): Add HWCAP2 values.
31909 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31910 (_DL_HWCAP_COUNT): Increase to 37.
31911 (_DL_HWCAP_LAST): New define.
31912 (_DL_HWCAP2_LAST): New define.
31913 (_dl_procinfo): Add support for printing
31914 AT_HWCAP2 entries.
31915 (_dl_string_hwcap): Use _dl_hwcap_string.
31916
31917 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31918
31919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31920
31921 2014-06-25 Joseph Myers <joseph@codesourcery.com>
31922
31923 * README: Do not mention ports directory.
31924
31925 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31926 Remove macro.
31927 * sysdeps/unix/sysv/linux/futimes.c: Do not include
31928 <kernel-features.h>.
31929 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31930 conditional variable definition.
31931 (__futimes): Update comment.
31932 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31933 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31934
31935 [BZ #16560]
31936 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31937 arguments close to 0.
31938 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31939 Likewise.
31940 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31941 Likewise.
31942 * math/auto-libm-test-in: Add more tests of exp10.
31943 * math/auto-libm-test-out: Regenerated.
31944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31945
31946 * sysdeps/unix/sysv/linux/kernel-features.h
31947 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31948 * sysdeps/unix/sysv/linux/readv.c: Do not include
31949 <kernel-features.h>.
31950 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31951 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31952 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31953 unconditional.
31954 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31955 conditional code.
31956 * sysdeps/unix/sysv/linux/writev.c: Do not include
31957 <kernel-features.h>.
31958 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31959 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31960 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31961 unconditional.
31962 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31963 conditional code.
31964
31965 2014-06-25 Will Newton <will.newton@linaro.org>
31966
31967 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31968 comment changes throughout the file. Remove checks
31969 for HAVE_*_H definitions that are not required.
31970 (__gen_tempname): Call abort if an unknown kind value is
31971 passed.
31972
31973 2014-06-25 Andreas Schwab <schwab@suse.de>
31974
31975 [BZ #17086]
31976 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31977 scalbln, scalblnf, scalblnl in libc.
31978
31979 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31980
31981 [BZ #17086]
31982 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31983 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31984 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31985
31986 2014-06-24 Roland McGrath <roland@hack.frob.com>
31987
31988 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31989 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31990 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31991 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31992 Update #include.
31993 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31994 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31995 Update #include.
31996 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31997 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31998 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31999 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32000 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32001 * sysdeps/x86/bits/pthreadtypes.h: ... here.
32002 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32003 * sysdeps/x86/bits/semaphore.h: ... here.
32004 * sysdeps/x86/nptl/elide.h: Moved ...
32005 * sysdeps/x86/elide.h: ... here.
32006 * sysdeps/x86_64/nptl/Implies: File removed.
32007 * sysdeps/i386/nptl/Implies: File removed.
32008
32009 2014-06-24 Joseph Myers <joseph@codesourcery.com>
32010
32011 [BZ #16539]
32012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32013 return the argument for normal arguments with exponent below -64.
32014 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32015 Likewise.
32016 * math/auto-libm-test-in: Add another test of expm1.
32017 * math/auto-libm-test-out: Regenerated.
32018
32019 [BZ #16287]
32020 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32021 calling __erfcl for arguments at least 16.
32022 * math/auto-libm-test-in: Add more tests of erf.
32023 * math/auto-libm-test-out: Regenerated.
32024
32025 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32026 individual architectures.
32027 * sysdeps/unix/sysv/linux/configure: Regenerated.
32028 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32029 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32030 * sysdeps/unix/sysv/linux/powerpc/configure.ac
32031 (ldd_rewrite_script): Define variable.
32032 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32034 file.
32035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32036 generated file.
32037 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32038 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32039 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32040 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32041 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32042 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32043 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32044 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32045
32046 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32047
32048 [BZ #17084]
32049 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32050 Rename member __data.d to __data.__elision_data.
32051
32052 2014-06-24 Wilco <wdijkstr@arm.com>
32053
32054 * NEWS: Add 16918 to fixed bug list.
32055
32056 2014-06-24 Wilco <wdijkstr@arm.com>
32057
32058 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32059
32060 2014-06-24 Wilco <wdijkstr@arm.com>
32061
32062 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32063 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32064 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32065 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32066 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32067 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32068 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32069 Use _FPU_MASK_RM.
32070
32071 2014-06-24 Wilco <wdijkstr@arm.com>
32072
32073 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32074
32075 2014-06-24 Wilco <wdijkstr@arm.com>
32076
32077 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32078 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32079 * sysdeps/arm/fesetround.c (fesetround): Remove space.
32080 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32081
32082 2014-06-24 Wilco <wdijkstr@arm.com>
32083
32084 [BZ #16918]
32085 * sysdeps/arm/feupdateenv.c (feupdateenv):
32086 Rewrite to reduce FPSCR accesses and fix return value.
32087
32088 2014-06-24 Wilco <wdijkstr@arm.com>
32089
32090 * sysdeps/arm/fclrexcpt.c (feclearexcept):
32091 Optimize to avoid unnecessary FPSCR writes.
32092 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32093 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32094 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32095 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32096
32097 2014-06-24 Wilco <wdijkstr@arm.com>
32098
32099 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32100 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32101 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32102 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32103 Call libc_fetestexcept_vfp.
32104 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32105 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32106 __SOFTFP__ ifdef so that they can be built for softfp.
32107
32108 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32109
32110 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32111 argument type signed char.
32112
32113 * Makerules (check-abi): Dump diff of symlist if the test
32114 fails.
32115
32116 2014-06-23 Roland McGrath <roland@hack.frob.com>
32117
32118 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32119 using abort.
32120
32121 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32122 Remove unused variable ST.
32123
32124 2014-06-23 Joseph Myers <joseph@codesourcery.com>
32125
32126 [BZ #16354]
32127 [BZ #17061]
32128 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32129 small arguments before calling __expm1.
32130 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32131 small arguments before calling __expm1f.
32132 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32133 small arguments before calling __expm1l.
32134 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32135 Likewise.
32136 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32137 * math/auto-libm-test-in: Add more cosh tests. Do not allow
32138 spurious underflow for some cosh tests.
32139 * math/auto-libm-test-out: Regenerated.
32140 * sysdeps/i386/fpu/libm-test-ulps: Update.
32141
32142 [BZ #17050]
32143 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32144 (__ieee754_y1): Set errno if return value overflows.
32145 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32146 (__ieee754_y1f): Set errno if return value overflows.
32147 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32148 (__ieee754_y1l): Set errno if return value overflows.
32149 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32150 (__ieee754_y1l): Set errno if return value overflows.
32151 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32152 * math/auto-libm-test-out: Regenerated.
32153
32154 * math/gen-auto-libm-tests.c: Document use of
32155 ignore-zero-inf-sign.
32156 (input_flag_type): Add value flag_ignore_zero_inf_sign.
32157 (input_flags): Add ignore-zero-inf-sign.
32158 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32159 * math/gen-libm-test.pl (generate_testfile): Handle
32160 ignore-zero-inf-sign.
32161 * math/auto-libm-test-in: Mark some cpow tests with
32162 ignore-zero-inf-sign and some with xfail-rounding.
32163 * math/auto-libm-test-out: Regenerated.
32164 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32165 * sysdeps/i386/fpu/libm-test-ulps: Update.
32166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32167
32168 [BZ #16315]
32169 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32170 overflowing or underflowing operations take place with sign of
32171 result.
32172 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32173 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32174 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32175 (__ieee754_pow): Recompute overflowing and underflowing results in
32176 original rounding mode.
32177 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32178 (__powl_helper): Allow negative argument X and scale negated value
32179 as needed. Avoid passing value outside [-1, 1] to f2xm1.
32180 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32181 overflowing or underflowing operations take place with sign of
32182 result.
32183 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32184 Include <math.h>.
32185 * math/auto-libm-test-in: Add more tests of pow.
32186 * math/auto-libm-test-out: Regenerated.
32187 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32188 (pow_tonearest_test_data): Remove.
32189 (pow_test_tonearest): Likewise.
32190 (pow_towardzero_test_data): Likewise.
32191 (pow_test_towardzero): Likewise.
32192 (pow_downward_test_data): Likewise.
32193 (pow_test_downward): Likewise.
32194 (pow_upward_test_data): Likewise.
32195 (pow_test_upward): Likewise.
32196 (main): Don't call removed functions.
32197 * sysdeps/i386/fpu/libm-test-ulps: Update.
32198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32199
32200 2014-06-23 Roland McGrath <roland@hack.frob.com>
32201
32202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32203 Moved ...
32204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32206 Moved ...
32207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32209 Moved ...
32210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32212 Moved ...
32213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32215 File removed.
32216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32217 File removed.
32218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32219 File removed.
32220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32221 File removed.
32222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32223 File removed.
32224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32225 File removed.
32226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32227 File removed.
32228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32229 File removed.
32230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32231 File removed.
32232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32233 File removed.
32234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32235 File removed.
32236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32237 File removed.
32238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32239 Moved ...
32240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32242 Moved ...
32243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32244 ... here.
32245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32246 Moved ...
32247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32249 Moved ...
32250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32252 Moved ...
32253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32255 Moved ...
32256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32258 Moved ...
32259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32261 Moved ...
32262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32264 Moved ...
32265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32268 ... here.
32269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32270 Moved ...
32271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32273 Moved ...
32274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32275 ... here.
32276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32277 Moved ...
32278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32279 ... here.
32280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32281 Moved ...
32282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32283 ... here.
32284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32285 Moved ...
32286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32288 Moved ...
32289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32293 Moved ...
32294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32295 ... here.
32296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32297 Moved ...
32298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32299 ... here.
32300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32301 Moved ...
32302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32304 Moved ...
32305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32307 Moved ...
32308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32310 Moved ...
32311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32313 Moved ...
32314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32315 ... here.
32316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32317 Moved ...
32318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32320 Moved ...
32321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32323 Moved ...
32324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32326 Moved ...
32327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32331 Moved ...
32332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32334 Moved ...
32335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32337 Moved ...
32338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32339 ... here.
32340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32341 Moved ...
32342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32343 ... here.
32344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32345 Moved ...
32346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32347 ... here.
32348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32349 Moved ...
32350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32352 Moved ...
32353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32355 Moved ...
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32358 Moved ...
32359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32360 ... here.
32361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32362 Moved ...
32363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32364 ... here.
32365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32366 Moved ...
32367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32368 ... here.
32369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32370 Moved ...
32371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32373 Moved ...
32374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32375
32376 2014-06-23 Will Newton <will.newton@linaro.org>
32377 Wilco <wdijkstr@arm.com>
32378
32379 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32380 implementation. Include get-rounding-mode.h.
32381 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32382 [!libc_feholdsetround_noex_ctx]: Define
32383 libc_feholdsetround_noex_ctx.
32384 [!libc_feholdsetround_noexf_ctx]: Define
32385 libc_feholdsetround_noexf_ctx.
32386 [!libc_feholdsetround_noexl_ctx]: Define
32387 libc_feholdsetround_noexl_ctx.
32388 (libc_feholdsetround_ctx): New function.
32389 (libc_feresetround_ctx): New function.
32390 (libc_feholdsetround_noex_ctx): New function.
32391 (libc_feresetround_noex_ctx): New function.
32392
32393 2014-06-23 Roland McGrath <roland@hack.frob.com>
32394
32395 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32396 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32397 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32398 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32399 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32400 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32401
32402 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32403 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32404 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32405 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32406 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32407 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32408 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32409 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32411 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32412 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32413 Moved ...
32414 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32415 ... here.
32416 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32417 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32418 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32419 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32420 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32421 Moved ...
32422 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32423 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32424 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32425 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32426 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32427 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32428 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32429 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32430 Moved ...
32431 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32432 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32433 Moved ...
32434 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32435 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32436 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32437 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32438 Moved ...
32439 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32440 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32441 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32442 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32443 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32444 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32445 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32446 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32447 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32448 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32449 Moved ...
32450 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32451 ... here.
32452 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32453 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32454 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32455 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32456 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32457 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32458 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32459 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32460 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32461 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32462 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32463 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32464 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32465 Moved ...
32466 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32467 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32468 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32469 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32470 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32471 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32472 Moved ...
32473 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32474 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32475 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32476 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32477 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32478
32479 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32480 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32481 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32482 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32483 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32484 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32485 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32486 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32488 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32489 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32490 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32491 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32492 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32493 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32494 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32495 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32496 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32497 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32498 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32499 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32500 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32501 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32502 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32503 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32504 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32505 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32506 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32507
32508 2014-06-23 Joseph Myers <joseph@codesourcery.com>
32509
32510 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32511 (FALLOC_FL_COLLAPSE_RANGE): New macro.
32512 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32513 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32514 (IPV6_PMTUDISC_INTERFACE): Likewise.
32515 (IPV6_PMTUDISC_OMIT): Likewise.
32516
32517 2014-06-23 Andreas Schwab <schwab@suse.de>
32518
32519 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32520 Remove unused errout label.
32521
32522 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32523
32524 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32525 macro: hardware supports Vector Crypto instructions.
32526
32527 2014-06-23 Will Newton <will.newton@linaro.org>
32528
32529 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32530 rather than __builtin_expect.
32531
32532 * elf/dl-lookup.c (undefined_msg): Remove variable.
32533 (_dl_lookup_symbol_x): Replace undefined_msg with string
32534 literal.
32535
32536 * elf/dl-lookup.c (do_lookup_unique): New function.
32537 (do_lookup_x): Move STB_GNU_UNIQUE handling code
32538 to a separate function.
32539
32540 2014-06-23 Andreas Schwab <schwab@suse.de>
32541
32542 [BZ #17079]
32543 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32544 before reading the next line.
32545
32546 2014-06-23 Will Newton <will.newton@linaro.org>
32547
32548 * test-skeleton.c (signal_handler): Use printf and %m
32549 rather than perror. Use printf rather than fprintf to
32550 stderr. Use puts rather than fputs to stderr.
32551 (main): Likewise.
32552
32553 2014-06-22 Ludovic Courtès <ludo@gnu.org>
32554
32555 * nscd/nscd.c (thread_info_t): Remove typedef.
32556 (thread_info): Remove variable.
32557
32558 2014-06-21 Allan McRae <allan@archlinux.org>
32559
32560 * NEWS: Mention CVE-2014-4043.
32561
32562 2014-06-20 Roland McGrath <roland@hack.frob.com>
32563
32564 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32565 * nptl/smp.h: ... here.
32566
32567 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32568
32569 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32570 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32571 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32572 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32573
32574 * nptl/allocatestack.c: Include <stack-aliasing.h>.
32575 * nptl/stack-aliasing.h: New file.
32576 * sysdeps/i386/i686/stack-aliasing.h: New file.
32577 * sysdeps/i386/i686/nptl/Makefile: File removed.
32578 * sysdeps/x86_64/stack-aliasing.h: New file.
32579 * sysdeps/x86_64/nptl/Makefile
32580 (CFLAGS-pthread_create.c): Variable removed.
32581
32582 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32583 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32584 old file.
32585 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32586 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32587 old file.
32588
32589 2014-06-21 Joseph Myers <joseph@codesourcery.com>
32590
32591 * sysdeps/unix/sysv/linux/arm/kernel-features.h
32592 (__ASSUME_SIGFRAME_V2): Remove macro.
32593 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32594 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32595 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32596 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32597 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32598 Declare as function. Remove conditional macro definitions.
32599 (__default_rt_sa_restorer): Likewise.
32600 (__default_sa_restorer_v1): Remove declaration.
32601 (__default_sa_restorer_v2): Likewise.
32602 (__default_rt_sa_restorer_v1): Likewise.
32603 (__default_rt_sa_restorer_v2): Likewise.
32604 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32605 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32606 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32607
32608 2014-06-20 Roland McGrath <roland@hack.frob.com>
32609
32610 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32611 (libpthread-routines): Add sysdep.
32612 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32613 * sysdeps/unix/sysv/linux/sparc/Versions
32614 (libpthread: GLIBC_2.3.3): New version set.
32615 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32616 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32617 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32618 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32619 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
32620 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32621 Moved ...
32622 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32623 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32624 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32625 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32626 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32627 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32628 * sysdeps/sparc/nptl/sem_init.c: ... here.
32629 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32630 * sysdeps/sparc/nptl/sem_post.c: ... here.
32631 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32632 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32633 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32634 * sysdeps/sparc/nptl/sem_wait.c: ... here.
32635 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32636 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32637 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32638 (libpthread-routines): Add cpu_relax.
32639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32640 File removed.
32641 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32642 (librt: GLIBC_2.3.3): New version set.
32643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32644 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32645 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32646 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32648 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32649 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32651 Moved ...
32652 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32654 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32656 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32658 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32660 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32662 Moved ...
32663 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32664 Update #include.
32665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32666 Moved ...
32667 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32668 Update #include.
32669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32670 Moved ...
32671 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32672 Update #include.
32673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32674 Moved ...
32675 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32676 Update #include.
32677 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32678 Moved ...
32679 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32680 Update #include.
32681 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32682 Moved ...
32683 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32684 Update #include.
32685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32686 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32692 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32693 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32694 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32696 Moved ...
32697 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32699 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32701 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32702
32703 2014-06-20 Joseph Myers <joseph@codesourcery.com>
32704
32705 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32706 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32707 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32708 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32709 * nscd/nscd.c: Likewise.
32710 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32711 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32712 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32713 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32714
32715 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32716 <kernel-features.h>.
32717 (init_mq_netlink): Remove conditional have_sock_cloexec
32718 definitions. Remove code conditional on have_sock_cloexec < 0.
32719 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32720 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32721 * sysdeps/unix/sysv/linux/opensock.c: Do not include
32722 <kernel-features.h>.
32723 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32724 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32725
32726 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
32727
32728 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32729 Add tests for memset_chk and memset.
32730
32731 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32732 with AVX2_Usable.
32733
32734 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
32735
32736 [BZ #16046]
32737 * elf/tst-dl-iter-static.c: New file.
32738 * elf/Makefile (tests-static): Add tst-dl-iter-static.
32739
32740 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32741 error.
32742
32743 2014-06-20 Joseph Myers <joseph@codesourcery.com>
32744
32745 * sysdeps/unix/sysv/linux/kernel-features.h
32746 (__ASSUME_F_GETOWN_EX): Remove macro.
32747 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32748 <kernel-features.h>.
32749 (miss_F_GETOWN_EX): Remove variable or macro.
32750 (do_fcntl): Do not check miss_F_GETOWN_EX.
32751 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32752
32753 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32754 Remove macro.
32755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32756 [!__ASSUME_AT_RANDOM]: Remove conditional code.
32757 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32758
32759 * sysdeps/unix/sysv/linux/kernel-features.h
32760 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32761 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32762 [ADJ_OFFSET_SS_READ]: Make code unconditional.
32763 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32764
32765 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
32766
32767 [BZ #17075]
32768 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32769 Fix calculation of the symbol's value.
32770 * sysdeps/arm/tst-armtlsdescloc.c: New file.
32771 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32772 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32773 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32774 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32775 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32776 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32777 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
32778 (modules-names): Add `tst-armtlsdescmod',
32779 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
32780 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
32781 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32782 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
32783 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
32784 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32785 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
32786 ($(objpfx)tst-armtlsdescloc): New dependency.
32787 ($(objpfx)tst-armtlsdescextnow): Likewise.
32788 ($(objpfx)tst-armtlsdescextlazy): Likewise.
32789 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
32790 TLS scheme support.
32791 * sysdeps/arm/configure: Regenerate.
32792
32793 2014-06-20 Joseph Myers <joseph@codesourcery.com>
32794
32795 * include/fcntl.h (__atfct_seterrno): Remove prototype.
32796 (__atfct_seterrno_2): Likewise.
32797 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
32798 <kernel-features.h>.
32799 (__ASSUME_ATFCTS): Do not undefine and redefine.
32800 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
32801 (__have_atfcts): Remove conditional definition.
32802 (__fxstatat([__NR_fstatat64]: Make code unconditional.
32803 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
32804 unreachable if [__ASSUME_ATFCTS].
32805 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
32806 not undefine and redefine.
32807 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
32808 <kernel-features.h>.
32809 (faccessat) [__NR_faccessat]: Make code unconditional.
32810 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
32811 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
32812 <kernel-features.h>.
32813 (fchmodat) [__NR_fchmodat]: Make code unconditional.
32814 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32815 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
32816 <kernel-features.h>.
32817 (fchownat) [__NR_fchownat]: Make code unconditional.
32818 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
32819 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
32820 <kernel-features.h>.
32821 (futimesat) [__NR_futimesat]: Make code unconditional.
32822 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
32823 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32824 <kernel-features.h>.
32825 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32826 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32827 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32828 <kernel-features.h>.
32829 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
32830 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32831 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
32832 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32833 <kernel-features.h>.
32834 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
32835 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32836 * sysdeps/unix/sysv/linux/linkat.c: Do not include
32837 <kernel-features.h>.
32838 (linkat) [__NR_linkat]: Make code unconditional.
32839 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32840 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
32841 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
32842 <kernel-features.h>.
32843 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
32844 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32845 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
32846 <kernel-features.h>.
32847 (mkdirat) [__NR_mkdirat]: Make code unconditional.
32848 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
32849 * sysdeps/unix/sysv/linux/openat.c: Do not include
32850 <kernel-features.h>.
32851 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32852 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32853 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32854 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32855 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32856 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32857 <kernel-features.h>.
32858 (readlinkat) [__NR_readlinkat]: Make code unconditional.
32859 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
32860 result of INLINE_SYSCALL directly, not via int variable.
32861 * sysdeps/unix/sysv/linux/renameat.c: Do not include
32862 <kernel-features.h>.
32863 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32864 (renameat) [__NR_renameat]: Make code unconditional.
32865 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32866 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32867 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32868 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32869 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32870 (__ASSUME_ATFCTS): Do not undefine and redefine.
32871 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32872 <kernel-features.h>.
32873 (symlinkat) [__NR_symlinkat]: Make code unconditional.
32874 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32875 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32876 <kernel-features.h>.
32877 (unlinkat) [__NR_unlinkat]: Make code unconditional.
32878 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32879 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32880 (__ASSUME_ATFCTS): Do not undefine and redefine.
32881 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32882 <kernel-features.h>.
32883 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32884 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32885 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32886 <kernel-features.h>.
32887 (__xmknodat) [__NR_mknodat]: Make code unconditional.
32888 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32889
32890 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
32891
32892 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32893
32894 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
32895
32896 [BZ #17069]
32897 * posix/regcomp.c (parse_reg_exp): Deallocate partially
32898 constructed tree before returning error.
32899 * posix/bug-regexp36.c: Expand test case.
32900
32901 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
32902
32903 [BZ #6803]
32904 * math/libm-test.inc (scalbln_test_date):
32905 Add errno expectations.
32906 * math/w_scalblnf.c: New File.
32907 Add wrapper which checks for setting errno to ERANGE.
32908 Add weak_alias for corresponding scalbln function.
32909 * math/w_scalbln.c: Likewise.
32910 * math/w_scalblnl.c: Likewise.
32911 * math/Makefile (libm-calls): Add w_scalbln.
32912 * sysdeps/ieee754/flt-32/s_scalblnf.c:
32913 Remove weak_alias for corresponding scalbln function.
32914 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32915 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32916 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32917 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32918 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32919 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32920 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32921 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32922 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32923 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32924 Remove long_double_symbol for scalblnl function in libm, libc.
32925 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32926 Add wrapper which checks for setting errno to ERANGE.
32927 Add long_double_symbol for scalblnl function in libm, libc.
32928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32929 Remove long_double_symbol for scalblnl in libm.
32930 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32931 Add wrapper which checks for setting errno to ERANGE.
32932 Add long_double_symbol for scalblnl function in libm.
32933 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32934 Do not use wrapper because of own implementation.
32935
32936 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
32937
32938 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32939 3 bytes for __pad1 for x32.
32940 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32941
32942 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
32943 H.J. Lu <hongjiu.lu@intel.com>
32944
32945 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32946 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32947 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32948 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32949 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32950
32951 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
32952
32953 [BZ #17069]
32954 * posix/regcomp.c (parse_expression): Deallocate partially
32955 constructed tree before returning error.
32956 * posix/Makefile.c (tests): Add bug-regex36.
32957 (generated): Add bug-regex36.mtrace.
32958 (tests-special): Add $(objpfx)bug-regex36-mem.out
32959 (bug-regex36-ENV): New variable.
32960 ($(objpfx)bug-regex36-mem.out): New rule.
32961 * posix/bug-regex36.c: New file.
32962
32963 2014-06-19 Will Newton <will.newton@linaro.org>
32964
32965 * malloc/malloc.c (systrim): If extra is zero then return
32966 early.
32967
32968 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32969
32970 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32971
32972 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
32973
32974 * sysdeps/aarch64/strchr.S: New file.
32975
32976 2014-06-18 Joseph Myers <joseph@codesourcery.com>
32977
32978 [BZ #17022]
32979 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32980 from arguments -2 or below.
32981 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32982 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32983
32984 2014-06-18 Andreas Schwab <schwab@suse.de>
32985
32986 [BZ #17062]
32987 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32988 of a bracket expr not to run off the end of the string.
32989 * posix/Makefile (tests): Add tst-fnmatch3.
32990 * posix/tst-fnmatch3.c: New file.
32991
32992 2014-06-18 Joseph Myers <joseph@codesourcery.com>
32993
32994 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32995 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32996 [$(cross-compiling) = no]: Likewise.
32997 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32998 [$(cross-compiling) = no]: Likewise.
32999
33000 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33001
33002 [BZ #17031]
33003 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33004 double, adjusted for any remainder from the high double.
33005 * math/libm-test.inc (nearbyint): Add tests.
33006 (rint): Likewise.
33007
33008 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33009
33010 * nptl/sysdeps/powerpc/Makefile: Moved ...
33011 * sysdeps/powerpc/nptl/Makefile: ... here.
33012 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33013 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33014 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33015 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33016 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33017 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33018 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33019 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33020 * nptl/sysdeps/powerpc/tls.h: Moved ...
33021 * sysdeps/powerpc/nptl/tls.h: ... here.
33022
33023 2014-06-16 Joseph Myers <joseph@codesourcery.com>
33024
33025 [BZ #16681]
33026 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33027 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33028 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33029 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33030 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33031 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33032 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33033 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33034 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33035
33036 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
33037
33038 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33039
33040 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
33041
33042 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33043 defined operator.
33044
33045 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33046 $TIMEOUTFACTOR.
33047
33048 2014-06-16 Florian Weimer <fweimer@redhat.com>
33049
33050 [BZ #17058]
33051 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33052 non-executed part of the test.
33053
33054 2014-06-16 Andreas Schwab <schwab@suse.de>
33055
33056 * string/bits/string2.h (strdup, strndup): Update feature guard.
33057
33058 2014-06-14 David S. Miller <davem@davemloft.net>
33059
33060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33061
33062 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
33063
33064 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33065 that was previously under [RESET_PID].
33066 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33067
33068 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33069 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33070 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33071 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33072 (__libc_vfork): New strong alias.
33073 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33074
33075 2014-06-14 Andi Kleen <ak@linux.intel.com>
33076
33077 * sysdeps/generic/elide.h: New file.
33078
33079 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33080
33081 * Makefile (installed-headers): Adjust path of pthread.h header.
33082
33083 2014-06-13 Roland McGrath <roland@hack.frob.com>
33084
33085 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33086 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33087 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33088 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33089
33090 * nptl/sysdeps/s390/Makefile: Moved ...
33091 * sysdeps/s390/nptl/Makefile: ... here.
33092 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33093 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33094 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33095 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33096 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33097 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33098 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33099 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33100 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33101 * sysdeps/s390/nptl/pthreaddef.h: ... here.
33102 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33103 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33104 * nptl/sysdeps/s390/tls.h: Moved ...
33105 * sysdeps/s390/nptl/tls.h: ... here.
33106
33107 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33108 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33109
33110 2014-06-13 David S. Miller <davem@davemloft.net>
33111
33112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33113 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33115 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33118 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33119 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33120 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33121 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33122 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33123 Remove RESET_PID cpp guards.
33124 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33125 Remove RESET_PID cpp guards.
33126 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33127
33128 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
33129
33130 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33131 __sp to uintptr_t.
33132
33133 2014-06-13 Andi Kleen <ak@linux.intel.com>
33134
33135 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33136 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33137 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33138 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33139 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33140 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33141 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33142 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33143 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33144 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33145 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33146 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33147 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33148 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33149 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33150 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33151 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33152 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33153 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33154 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33155
33156 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33157 (pthread_rwlock_rdlock): Add elision.
33158 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33159 (pthread_rwlock_wrlock): Add elision.
33160 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33161 (pthread_rwlock_trywrlock): Add elision.
33162 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33163 (pthread_rwlock_tryrdlock): Add elision.
33164 * nptl/pthread_rwlock_unlock.c: Include elide.h.
33165 (pthread_rwlock_tryrdlock): Add elision unlock.
33166 * nptl/sysdeps/pthread/pthread.h:
33167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33168 (PTHREAD_RWLOCK_INITIALIZER,
33169 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33170 Handle new elision field.
33171 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33172 * sysdeps/arm/nptl/bits/pthreadtypes.h
33173 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33174 * sysdeps/sh/nptl/bits/pthreadtypes.h
33175 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33176 * sysdeps/tile/nptl/bits/pthreadtypes.h
33177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33178 * sysdeps/a/nptl/bits/pthreadtypes.h
33179 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33180 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33181 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33182 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33183 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33184 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33185 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33186 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33187 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33188 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33189 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33190 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33191 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33192 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33193 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33194 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33195 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33196 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33197 (elision_init): Set try_xbegin to zero when no RTM.
33198 * sysdeps/x86/nptl/bits/pthreadtypes.h
33199 (pthread_rwlock_t): Change __pad1 to __rwelision.
33200 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33201
33202 2014-06-13 Andi Kleen <ak@linux.intel.com>
33203
33204 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33205 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33206 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33207 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33208
33209 2014-06-13 Meador Inge <meadori@codesourcery.com>
33210
33211 [BZ #16996]
33212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33213 that the cached result has been set before returning it.
33214
33215 2014-06-12 Roland McGrath <roland@hack.frob.com>
33216
33217 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33218 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33219 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33220 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33221 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33222 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33223
33224 * nptl/sysdeps/sparc/Makefile: Moved ...
33225 * sysdeps/sparc/nptl/Makefile: ... here.
33226 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33227 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33228 * nptl/sysdeps/sparc/tls.h: Moved ...
33229 * sysdeps/sparc/nptl/tls.h: ... here.
33230 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33231 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33232 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33233 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33234 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33235 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33236 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33237 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33238 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33239 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33240 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33241 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33242 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33243 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33244 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33245 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33246 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33247 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33248 Update #include.
33249 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33250 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33251 Update #include.
33252 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33253 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33254 Update #include.
33255 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33256 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33257 Update #include.
33258
33259 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33260
33261 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33262 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33263
33264 * sysdeps/pthread/posix-timer.h: Include <list.h>.
33265 (struct list_links): Type removed.
33266 (struct thread_node, struct timer_node): Replace struct list_links
33267 with struct list_head.
33268 (list_unlink_ip): Likewise.
33269 * sysdeps/pthread/timer_routines.c
33270 (timer_free_list, thread_free_list, thread_active_list): Likewise.
33271 (list_append, list_insbefore): Likewise.
33272 (list_init): Function removed.
33273 (thread_init, init_module): Use INIT_LIST_HEAD instead.
33274 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33275 * sysdeps/pthread/Makefile: ... here, new file.
33276
33277 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33278 * sysdeps/nptl/Implies: ... here.
33279 * sysdeps/unix/sysv/linux/Implies: Add nptl.
33280 * nptl/sysdeps/pthread/list.h: Moved ...
33281 * include/list.h: ... here.
33282 * nptl/sysdeps/pthread/createthread.c: Moved ...
33283 * nptl/createthread.c: ... here.
33284 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33285 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33286 * nptl/pt-longjmp.c: ... here.
33287 * nptl/sysdeps/pthread/Makefile: Moved ...
33288 * sysdeps/nptl/Makefile: ... here.
33289 * nptl/sysdeps/pthread/Subdirs: Moved ...
33290 * sysdeps/nptl/Subdirs: ... here.
33291 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33292 * sysdeps/nptl/aio_misc.h: ... here.
33293 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33294 * sysdeps/nptl/bits/libc-lock.h: ... here.
33295 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33296 * sysdeps/nptl/bits/libc-lockP.h: ... here.
33297 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33298 * sysdeps/nptl/bits/stdio-lock.h: ... here.
33299 * nptl/sysdeps/pthread/configure: Moved ...
33300 * sysdeps/nptl/configure: ... here.
33301 * nptl/sysdeps/pthread/configure.ac: Moved ...
33302 * sysdeps/nptl/configure.ac: ... here.
33303 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33304 * sysdeps/nptl/gai_misc.h: ... here.
33305 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33306 * sysdeps/nptl/librt-cancellation.c: ... here.
33307 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33308 * sysdeps/nptl/malloc-machine.h: ... here.
33309 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33310 * sysdeps/nptl/pthread-functions.h: ... here.
33311 * nptl/sysdeps/pthread/pthread.h: Moved ...
33312 * sysdeps/nptl/pthread.h: ... here.
33313 * nptl/sysdeps/pthread/setxid.h: Moved ...
33314 * sysdeps/nptl/setxid.h: ... here.
33315 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33316 * sysdeps/nptl/sigfillset.c: ... here.
33317 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33318 * sysdeps/nptl/tcb-offsets.h: ... here.
33319 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33320 * sysdeps/nptl/tst-mqueue8x.c: ... here.
33321 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33322 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33323 * nptl/sysdeps/pthread/allocalim.h: Moved ...
33324 * sysdeps/pthread/allocalim.h: ... here.
33325 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33326 * sysdeps/pthread/bits/sigthread.h: ... here.
33327 * nptl/sysdeps/pthread/flockfile.c: Moved ...
33328 * sysdeps/pthread/flockfile.c: ... here.
33329 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33330 * sysdeps/pthread/ftrylockfile.c: ... here.
33331 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33332 * sysdeps/pthread/funlockfile.c: ... here.
33333 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33334 * sysdeps/pthread/posix-timer.h: ... here.
33335 * nptl/sysdeps/pthread/timer_create.c: Moved ...
33336 * sysdeps/pthread/timer_create.c: ... here.
33337 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33338 * sysdeps/pthread/timer_delete.c: ... here.
33339 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33340 * sysdeps/pthread/timer_getoverr.c: ... here.
33341 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33342 * sysdeps/pthread/timer_gettime.c: ... here.
33343 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33344 * sysdeps/pthread/timer_routines.c: ... here.
33345 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33346 * sysdeps/pthread/timer_settime.c: ... here.
33347 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33348 * sysdeps/pthread/tst-timer.c: ... here.
33349 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33350 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33351
33352 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33353 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33354
33355 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33356 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33357 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33358 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33359 Update #include target.
33360 * nptl/sysdeps/i386/i686/Makefile: Moved ...
33361 * sysdeps/i386/i686/nptl/Makefile: ... here.
33362 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33363 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33364 Update #include target.
33365 * nptl/sysdeps/i386/i686/tls.h: Moved ...
33366 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
33367 * nptl/sysdeps/i386/Makefile: Moved ...
33368 * sysdeps/i386/nptl/Makefile: ... here.
33369 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33370 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33371 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33372 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33373 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33374 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33375 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33376 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33377 * sysdeps/i386/nptl/pthreaddef.h: ... here.
33378 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33379 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33380 * nptl/sysdeps/i386/tls.h: Moved ...
33381 * sysdeps/i386/nptl/tls.h: ... here.
33382
33383 * sysdeps/sh/Makefile [$(subdir) = csu]
33384 (gen-as-const-headers): Add tcb-offsets.sym.
33385 * nptl/sysdeps/sh/Makefile: File removed.
33386 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33387 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33388 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33389 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33390 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33391 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33392 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33393 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33394 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33395 * sysdeps/sh/nptl/pthreaddef.h: ... here.
33396 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33397 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33398 * nptl/sysdeps/sh/tls.h: Moved ...
33399 * sysdeps/sh/nptl/tls.h: ... here.
33400 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33401 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33402 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33403 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33404 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33405 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33406 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33407 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33408 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33409 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33410 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33411 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33412 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33413 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33414 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33415 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33416 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33417 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33418 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33419 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33420 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33421 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33422 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33423 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33424 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33425 Moved ...
33426 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33427 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33428 Moved ...
33429 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33430 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33431 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33432 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33433 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33434 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33435 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33436 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33437 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33438 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33439 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33440 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33441 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33442 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33443 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33444 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33445 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33446 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33447 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33448
33449 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
33450
33451 * posix/spawn_faction_addopen.c: Include string.h.
33452
33453 2014-06-11 Roland McGrath <roland@hack.frob.com>
33454
33455 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33456 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33457 * nptl/sysdeps/x86_64/Makefile: Moved ...
33458 * sysdeps/x86_64/nptl/Makefile: ... here.
33459 * nptl/sysdeps/x86_64/configure: Moved ...
33460 * sysdeps/x86_64/nptl/configure: ... here.
33461 * nptl/sysdeps/x86_64/configure.ac: Moved ...
33462 * sysdeps/x86_64/nptl/configure.ac: ... here.
33463 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33464 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33465 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33466 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33467 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33468 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33469 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33470 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33471 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33472 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33473 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33474 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33475 * nptl/sysdeps/x86_64/tls.h: Moved ...
33476 * sysdeps/x86_64/nptl/tls.h: ... here.
33477 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33478 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33479 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33480 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33481
33482 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33483
33484 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33485
33486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33487
33488 2014-06-11 Joseph Myers <joseph@codesourcery.com>
33489
33490 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33491 type.
33492 [POSIX] (off_t): Likewise.
33493 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33494 [POSIX] (S_ISBLK): Require macro.
33495 [POSIX] (S_ISCHR): Likewise.
33496 [POSIX] (S_ISDIR): Likewise.
33497 [POSIX] (S_ISFIFO): Likewise.
33498 [POSIX] (S_ISREG): Likewise.
33499 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33500 optional-macro.
33501 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33502 type.
33503 [POSIX] (time_t): Likewise.
33504 [POSIX] (timer_t): Likewise.
33505
33506 2014-06-11 Florian Weimer <fweimer@redhat.com>
33507
33508 [BZ #17048]
33509 * posix/spawn_int.h (struct __spawn_action): Make the path string
33510 non-const to support deallocation.
33511 * posix/spawn_faction_addopen.c
33512 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33513 * posix/spawn_faction_destroy.c
33514 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
33515 path in all spawn_do_open actions.
33516 * posix/tst-spawn.c (do_test): Exercise the copy operation in
33517 posix_spawn_file_actions_addopen.
33518
33519 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
33520
33521 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33522 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33523 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33524 conditional code always true.
33525 (__libc_vfork): New alias.
33526
33527 2014-06-11 Roland McGrath <roland@hack.frob.com>
33528
33529 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33530 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33531
33532 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33533
33534 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33535 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33536
33537 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33538 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33539
33540 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33541 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33542
33543 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
33544
33545 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33546 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33547 multiarch strcmp for PPC64.
33548 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33549 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33551 multiarch optimizations.
33552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33553 (__libc_ifunc_impl_list): Likewise.
33554
33555 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33556
33557 * benchtests/scripts/validate_benchout.py: New script.
33558 * benchtests/Makefile (bench-func): Call it.
33559 * benchtests/scripts/benchout.schema.json: New file.
33560
33561 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
33562
33563 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33564 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33565 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33566 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33567 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33568 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33569 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33570 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33571 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33572 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33573 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33574 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33575 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33576 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33577 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33578 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33580 Moved ...
33581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33582 ... here.
33583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33584 Moved ...
33585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33587 Moved ...
33588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33589 ... here.
33590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33591 Moved ...
33592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33593 ... here.
33594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33595 Moved ...
33596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33598 Moved ...
33599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33600 ... here.
33601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33602 Moved ...
33603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33604 ... here.
33605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33606 Moved ...
33607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33609 Moved ...
33610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33611 ... here.
33612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33613 Moved ...
33614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33615 ... here.
33616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33617 Moved ...
33618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33619 ... here.
33620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33621 Moved ...
33622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33624 Moved ...
33625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33626 ... here.
33627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33628 Moved ...
33629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33630 ... here.
33631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33632 Moved ...
33633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33634 ... here.
33635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33636 Moved ...
33637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33639 Moved ...
33640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33641 ... here.
33642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33643 Moved ...
33644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33645 ... here.
33646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33647 Moved ...
33648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33650 Moved ...
33651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33652 ... here.
33653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33654 Moved ...
33655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33657 Moved ...
33658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33660 Moved ...
33661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33662 ... here.
33663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33664 Moved ...
33665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33666 ... here.
33667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33668 Moved ...
33669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33670 ... here.
33671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33672 Moved ...
33673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33675 Moved ...
33676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33677 ... here.
33678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33679 Moved ...
33680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33681 ... here.
33682 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33683 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33684 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33685 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33687 Moved ...
33688 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33689 ... here.
33690 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33691 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33692 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33693 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33694 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33695 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33696 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33697 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33698 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33699 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33700 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33701 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33702 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33703 Moved ...
33704 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33705 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33706 Moved ...
33707 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33708 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33709 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33710 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33711 Moved ...
33712 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33713 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33714 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33715 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33716 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33717 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33718 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33719
33720 2014-06-10 Wilco <wdijkstr@arm.com>
33721
33722 * math/test-fenv-return.c: New file.
33723 * math/Makefile: Add new test test-fenv-return.
33724
33725 2014-06-10 Joseph Myers <joseph@codesourcery.com>
33726
33727 [BZ #17042]
33728 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33729 when x - 1 is zero.
33730 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33731 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33732 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33733 0.0L for an argument of 1.0L.
33734 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33735 Likewise.
33736 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33737 value when x - 1 is zero.
33738 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33739 * sysdeps/i386/fpu/libm-test-ulps: Update.
33740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33741
33742 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
33743
33744 [BZ #15119]
33745 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33746
33747 2014-06-09 Roland McGrath <roland@hack.frob.com>
33748
33749 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33750 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33751
33752 2014-06-09 Roland McGrath <roland@hack.frob.com>
33753
33754 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33755 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33756
33757 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33758 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33759
33760 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33761 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33762
33763 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33764 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33765
33766 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33767 if not already defined.
33768 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33769 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33770 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33771 (TLS_INIT_TP): Use it.
33772 (TLS_DEFINE_INIT_TP): New macro.
33773 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33774
33775 2014-06-09 Joseph Myers <joseph@codesourcery.com>
33776
33777 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
33778 constant.
33779 [POSIX] (IXANY): Likewise.
33780 [POSIX] (OLCUC): Likewise.
33781 [POSIX || POSIX2008] (CBAUD): Do not allow.
33782 [POSIX || POSIX2008] (DEFECHO): Likewise.
33783 [POSIX || POSIX2008] (ECHOCTL): Likewise.
33784 [POSIX || POSIX2008] (ECHOKE): Likewise.
33785 [POSIX || POSIX2008] (ECHOPRT): Likewise.
33786 [POSIX || POSIX2008] (EXTA): Likewise.
33787 [POSIX || POSIX2008] (EXTB): Likewise.
33788 [POSIX || POSIX2008] (FLUSHO): Likewise.
33789 [POSIX || POSIX2008] (LOBLK): Likewise.
33790 [POSIX || POSIX2008] (PENDIN): Likewise.
33791 [POSIX || POSIX2008] (SWTCH): Likewise.
33792 [POSIX || POSIX2008] (VDISCARD): Likewise.
33793 [POSIX || POSIX2008] (VDSUSP): Likewise.
33794 [POSIX || POSIX2008] (VLNEXT): Likewise.
33795 [POSIX || POSIX2008] (VREPRINT): Likewise.
33796 [POSIX || POSIX2008] (VSTATUS): Likewise.
33797 [POSIX || POSIX2008] (VWERASE): Likewise.
33798 (B*): Change to B[0123456789]*.
33799 * conform/data/time.h-data [POSIX || UNIX98]
33800 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
33801 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33802 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
33803 [POSIX] (tm_*): Do not allow.
33804
33805 2014-06-07 Joseph Myers <joseph@codesourcery.com>
33806
33807 * Makefile (install): Don't set LANGUAGE.
33808 * Makefile.in (install): Likewise.
33809 * assert/Makefile (test-assert-ENV): Remove variable.
33810 (test-assert-perr-ENV): Likewise.
33811 * elf/Makefile (neededtest4-ENV): Likewise.
33812 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33813 [$(cross-compiling) = no]: Don't set LANGUAGE.
33814 * io/ftwtest-sh (LANG): Remove variable.
33815 * libio/Makefile (tst-widetext-ENV): Likewise.
33816 * manual/install.texi (Running make install): Don't refer to
33817 environment settings for make install.
33818 * INSTALL: Regenerated.
33819 * nptl/tst-tls6.sh: Don't set LANG.
33820 * posix/globtest.sh (LANG): Remove variable.
33821 * string/Makefile (tester-ENV): Likewise.
33822 (inl-tester-ENV): Likewise.
33823 (noinl-tester-ENV): Likewise.
33824 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33825 [$(cross-compiling) = no]: Don't set LANGUAGE.
33826 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
33827 without explicit environment settings.
33828
33829 2014-06-06 Roland McGrath <roland@hack.frob.com>
33830
33831 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
33832 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
33833 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
33834 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
33835
33836 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
33837
33838 * crypt/crypt-private.h [DOS]: Add some includes taken from the
33839 other files in the crypt directory.
33840 * crypt/crypt.c: Remove duplicate includes.
33841 * crypt/crypt-entry.c: Likewise.
33842 * crypt/crypt_util.c: Likewise.
33843
33844 2014-06-06 Joseph Myers <joseph@codesourcery.com>
33845
33846 * Makeconfig (run-program-env): New variable.
33847 (run-program-prefix-before-env): Likewise.
33848 (run-program-prefix-after-env): Likewise.
33849 (run-program-prefix): Define in terms of new variables.
33850 (built-program-cmd-before-env): New variable.
33851 (built-program-cmd-after-env): Likewise.
33852 (built-program-cmd): Define in terms of new variables.
33853 (test-program-prefix-before-env): New variable.
33854 (test-program-prefix-after-env): Likewise.
33855 (test-program-prefix): Define in terms of new variables.
33856 (test-program-cmd-before-env): New variable.
33857 (test-program-cmd-after-env): Likewise.
33858 (test-program-cmd): Define in terms of new variables.
33859 * Rules (make-test-out): Use $(run-program-env).
33860 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33861 (help): Do not mention environment variables. Mention
33862 --timeoutfactor option.
33863 (timeoutfactor): New variable.
33864 (blacklist_exports): Remove function.
33865 (exports): Remove variable.
33866 (command): Do not include ${exports}.
33867 * manual/install.texi (Configuring and compiling): Do not mention
33868 test wrappers preserving environment variables. Mention that last
33869 assignment to a variable must take precedence.
33870 * INSTALL: Regenerated.
33871 * benchtests/Makefile (run-bench): Use $(run-program-env).
33872 * catgets/Makefile ($(objpfx)test1.cat): Use
33873 $(built-program-cmd-before-env), $(run-program-env) and
33874 $(built-program-cmd-after-env).
33875 ($(objpfx)test2.cat): Do not specify environment variables
33876 explicitly.
33877 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33878 $(run-program-env) and $(built-program-cmd-after-env).
33879 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33880 $(run-program-env) and $(test-program-cmd-after-env).
33881 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33882 explicitly.
33883 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33884 run_program_env and test_program_cmd_after_env arguments.
33885 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33886 * elf/tst-pathopt.sh: Use run_program_env argument.
33887 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33888 $(test-wrapper-env) and $(run-program-env).
33889 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33890 run_program_env arguments.
33891 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33892 * intl/Makefile ($(objpfx)tst-gettext.out): Use
33893 $(test-program-prefix-before-env), $(run-program-env) and
33894 $(test-program-prefix-after-env).
33895 ($(objpfx)tst-gettext2.out): Likewise.
33896 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33897 run_program_env and test_program_prefix_after_env arguments.
33898 * intl/tst-gettext2.sh: Likewise.
33899 * intl/tst-gettext4.sh: Do not set environment variables
33900 explicitly.
33901 * intl/tst-gettext6.sh: Likewise.
33902 * intl/tst-translit.sh: Likewise.
33903 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33904 $(test-program-prefix-before-env), $(run-program-env) and
33905 $(test-program-prefix-after-env).
33906 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33907 run_program_env and test_program_prefix_after_env arguments.
33908 * math/Makefile (run-regen-ulps): Use $(run-program-env).
33909 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33910 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
33911 explicitly with each use of ${test_wrapper_env}.
33912 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33913 $(test-program-prefix-before-env), $(run-program-env) and
33914 $(test-program-prefix-after-env).
33915 * posix/tst-getconf.sh: Do not set environment variables
33916 explicitly.
33917 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33918 run_program_env and test_program_prefix_after_env arguments.
33919 * stdio-common/tst-printf.sh: Do not set environment variables
33920 explicitly.
33921 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33922 $(test-program-prefix-before-env), $(run-program-env) and
33923 $(test-program-prefix-after-env).
33924 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33925 run_program_env and test_program_prefix_after_env arguments.
33926 Split $test calls into $test_pre and $test.
33927 * timezone/Makefile (build-testdata): Use
33928 $(built-program-cmd-before-env), $(run-program-env) and
33929 $(built-program-cmd-after-env).
33930
33931 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33932
33933 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33934 strlen for non SHARED builds.
33935
33936 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33937
33938 * nptl/allocatestack.c (check_list): Inlined function...
33939 (__reclaim_stacks): ... here.
33940
33941 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
33942
33943 [BZ #15698]
33944 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33945 memory overrun.
33946
33947 2014-06-05 Joseph Myers <joseph@codesourcery.com>
33948
33949 * Rules (make-test-out): Include
33950 LOCPATH=$(common-objpfx)localedata in default environment.
33951 * debug/Makefile (tst-chk1-ENV): Remove variable.
33952 (tst-chk2-ENV): Likewise.
33953 (tst-chk3-ENV): Likewise.
33954 (tst-chk4-ENV): Likewise.
33955 (tst-chk5-ENV): Likewise.
33956 (tst-chk6-ENV): Likewise.
33957 (tst-lfschk1-ENV): Likewise.
33958 (tst-lfschk2-ENV): Likewise.
33959 (tst-lfschk3-ENV): Likewise.
33960 (tst-lfschk4-ENV): Likewise.
33961 (tst-lfschk5-ENV): Likewise.
33962 (tst-lfschk6-ENV): Likewise.
33963 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33964 (tst-iconv7-ENV): Likewise.
33965 * intl/Makefile (LOCPATH-ENV): Likewise.
33966 (tst-codeset-ENV): Likewise.
33967 (tst-gettext3-ENV): Likewise.
33968 (tst-gettext5-ENV): Likewise.
33969 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33970 (tst-fopenloc-ENV): Likewise.
33971 (tst-fgetws-ENV): Remove variable.
33972 (tst-ungetwc1-ENV): Likewise.
33973 (tst-ungetwc2-ENV): Likewise.
33974 (bug-ungetwc2-ENV): Likewise.
33975 (tst-swscanf-ENV): Likewise.
33976 (bug-ftell-ENV): Likewise.
33977 (tst-fgetwc-ENV): Likewise.
33978 (tst-fseek-ENV): Likewise.
33979 (tst-ftell-partial-wide-ENV): Likewise.
33980 (tst-ftell-active-handler-ENV): Likewise.
33981 (tst-ftell-append-ENV): Likewise.
33982 * posix/Makefile (tst-fnmatch-ENV): Likewise.
33983 (tst-regexloc-ENV): Likewise.
33984 (bug-regex1-ENV): Likewise.
33985 (tst-regex-ENV): Likewise.
33986 (tst-regex2-ENV): Likewise.
33987 (bug-regex5-ENV): Likewise.
33988 (bug-regex6-ENV): Likewise.
33989 (bug-regex17-ENV): Likewise.
33990 (bug-regex18-ENV): Likewise.
33991 (bug-regex19-ENV): Likewise.
33992 (bug-regex20-ENV): Likewise.
33993 (bug-regex22-ENV): Likewise.
33994 (bug-regex23-ENV): Likewise.
33995 (bug-regex25-ENV): Likewise.
33996 (bug-regex26-ENV): Likewise.
33997 (bug-regex30-ENV): Likewise.
33998 (bug-regex32-ENV): Likewise.
33999 (bug-regex33-ENV): Likewise.
34000 (bug-regex34-ENV): Likewise.
34001 (bug-regex35-ENV): Likewise.
34002 (tst-rxspencer-ENV): Likewise.
34003 (tst-rxspencer-no-utf8-ENV): Likewise.
34004 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34005 (tst-sscanf-ENV): Likewise.
34006 (tst-swprintf-ENV): Likewise.
34007 (tst-swscanf-ENV): Likewise.
34008 (test-vfprintf-ENV): Likewise.
34009 (scanf13-ENV): Likewise.
34010 (bug14-ENV): Likewise.
34011 (tst-grouping-ENV): Likewise.
34012 * stdlib/Makefile (tst-strtod-ENV): Likewise.
34013 (tst-strtod3-ENV): Likewise.
34014 (tst-strtod4-ENV): Likewise.
34015 (tst-strtod5-ENV): Likewise.
34016 (testmb2-ENV): Likewise./
34017 * string/Makefile (tst-strxfrm-ENV): Likewise.
34018 (tst-strxfrm2-ENV): Likewise.
34019 (bug-strcoll1-ENV): Likewise.
34020 (test-strcasecmp-ENV): Likewise.
34021 (test-strncasecmp-ENV): Likewise.
34022 * time/Makefile (tst-strptime-ENV): Likewise.
34023 (tst-ftime_l-ENV): Likewise.
34024 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34025 (tst-mbrtowc-ENV): Likewise.
34026 (tst-wcrtomb-ENV): Likewise.
34027 (tst-mbrtowc2-ENV): Likewise.
34028 (tst-c16c32-1-ENV): Likewise.
34029 (tst-mbsnrtowcs-ENV): Likewise.
34030
34031 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
34032
34033 * manual/resource.texi (How to get information about the memory
34034 subsystem?): Fix typo.
34035 Reported by Peon de la Parra Ivan <peon@keba.com>
34036
34037 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
34038
34039 [BZ #16882]
34040 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34041 (pthread_spin_lock): Branch out of spin loop to proper location.
34042 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34043 (pthread_spin_lock): Likewise.
34044
34045 * nptl/tst-spin4.c: New test.
34046 * nptl/Makefile (tests): Add tst-spin4.
34047
34048 2014-06-03 Andreas Schwab <schwab@suse.de>
34049
34050 [BZ #15946]
34051 * resolv/res_send.c (send_dg): Reload file descriptor after
34052 calling reopen.
34053
34054 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
34055
34056 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34057
34058 2014-06-03 Richard Henderson <rth@redhat.com>
34059
34060 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34061 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34062 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34063 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
34064 in the SAVE_PID block.
34065 (__libc_vfork): New alias.
34066 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34067
34068 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34069 child in registers, not on the stack. Remove RESET_PID conditionals.
34070 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34071
34072 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
34073
34074 * sysdeps/aarch64/libm-test-ulps: Regenerate.
34075
34076 2014-06-03 Wilco <wdijkstr@arm.com>
34077
34078 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34079 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34080 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34081 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34082 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34083 Likewise.
34084
34085 2014-06-03 Wilco <wdijkstr@arm.com>
34086
34087 * sysdeps/aarch64/fpu/math_private.h
34088 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34089 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34090 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34091 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34092 Fix declarations.
34093
34094 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34095
34096 * crypt/crypt-private.h: Include ufc-crypt.h.
34097 (__b64_from_24bit): Declare extern.
34098 * crypt/crypt_util.c(__b64_from_24bit): New function.
34099 (b64t): New static const variable.
34100 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34101 (b64t): Remove variable.
34102 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34103 * crypt/sha256-crypt.c: Include crypt-private.h.
34104 (b64t): Remove variable.
34105 (__sha256_crypt_r): Remove b64_from_24bit and replace
34106 with __b64_from_24bit.
34107 * crypt/sha512-crypt.c: Likewise.
34108
34109 2014-06-02 Roland McGrath <roland@hack.frob.com>
34110
34111 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34112 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34113 Label the code __libc_vfork rather than __vfork.
34114 [!NOT_IN_libc] (vfork): Define as weak alias.
34115 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34116 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34117 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34118
34119 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34120
34121 * malloc/malloc.c (malloc_info): Fix format specifier for
34122 n_mmaps.
34123
34124 2014-06-02 Wilco <wdijkstr@arm.com>
34125
34126 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34127 FPCR write.
34128
34129 2014-06-02 Wilco <wdijkstr@arm.com>
34130
34131 [BZ #17009]
34132 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34133 Rewrite to reduce FPCR/FPSR accesses.
34134
34135 2014-06-01 David S. Miller <davem@davemloft.net>
34136
34137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34138
34139 2014-05-31 David S. Miller <davem@davemloft.net>
34140
34141 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34142 to occur in round to nearest mode when |x| >= 2.0
34143
34144 2014-05-30 Richard Henderson <rth@twiddle.net>
34145
34146 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34147 (PSEUDO_RET_NOERRNO): Remove.
34148 (ret): Don't redefine.
34149 (ret_NOERRNO): Define in terms of ret.
34150 (ret_ERRVAL): Likewise.
34151
34152 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34153 use of PSEUDO_RET; perform the error check directly.
34154
34155 2014-05-30 Marko Myllynen <myllynen@redhat.com>
34156
34157 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34158 with __int128_t.
34159
34160 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34161
34162 * malloc/malloc (malloc_info): Fix formatting.
34163
34164 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34165 Roland McGrath <roland@hack.frob.com>
34166
34167 * malloc/malloc (malloc_info): Also print mmapped statistics.
34168
34169 2014-05-30 Roland McGrath <roland@hack.frob.com>
34170
34171 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34172 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34173
34174 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
34175
34176 * malloc/malloc.c (malloc_info): Inline mi_arena.
34177
34178 2014-05-29 Richard Henderson <rth@twiddle.net>
34179
34180 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34181 Remove comma before expanding ASM_ARGS_##nr.
34182 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34183 Make _x0 a strict output; make _x8 a strict input; adjust expansion
34184 of ASM_ARGS_##nr.
34185 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34186 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34187 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34188 (ASM_ARGS_1): Add leading comma.
34189
34190 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34191 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34192 to __errno_location.
34193 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34194 Remove the expected plt for __errno_location.
34195
34196 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34197 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34198 call to __read_tp.
34199
34200 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34201 Always allocate 64 bytes of stack frame. Use ldp/stp to create
34202 it and break it down.
34203 (DOCARGS_0, DOCARGS_1): Do nothing.
34204 (DOCARGS_2): Update to store into the new stack frame.
34205 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34206 (UNDOCARGS_1): Update to restore from the new stack frame.
34207 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34208 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34209
34210 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34211 (SINGLE_THREAD_P): New parameter for result regno.
34212 (PSEUDO): Update to match; use cbz instead of beq.
34213
34214 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34215 Use ENTRY to define the _nocancel entry point. Share the syscall
34216 and syscall error check paths with the cancel path.
34217 (PSEUDO_END): New.
34218
34219 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34220 whitespace; tabs before and after asm mnemonics.
34221
34222 2014-05-29 Eric Wong <normalperson@yhbt.net>
34223
34224 [BZ #15132]
34225 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34226 Call fstat64 or stat64 internally, depending on arguments passed.
34227 Replace stat buffer argument with file descriptor argument.
34228 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34229 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34230 Pass fd to __internal_statvfs instead of calling fstat64.
34231 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34232 Pass fd to __internal_statvfs64 instead of calling fstat64.
34233 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34234 Pass -1 to __internal_statvfs instead of calling stat64.
34235 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34236 Pass -1 to __internal_statvfs64 instead of calling stat64.
34237
34238 2014-05-28 Roland McGrath <roland@hack.frob.com>
34239
34240 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34241 that was previously under [RESET_PID].
34242 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34243
34244 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34245 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34246
34247 2014-05-27 Roland McGrath <roland@hack.frob.com>
34248
34249 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34250
34251 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34252 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34253
34254 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
34255
34256 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34257
34258 2014-05-27 Andreas Schwab <schwab@suse.de>
34259
34260 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34261 TLS_INIT_TP macro.
34262 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34263 * elf/rtld.c (init_tls, dl_main): Likewise.
34264 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34265 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34266 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34267 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34268 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34269 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34270 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34271 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34272 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34273 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34274 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34275 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34276 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34277 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34278 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34279 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34280 * sysdeps/generic/tls.h: Update description.
34281
34282 2014-05-27 Will Newton <will.newton@linaro.org>
34283
34284 [BZ #16990]
34285 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34286 and restore r2 rather than just restoring.
34287
34288 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34289
34290 [BZ #16724]
34291 * libio/tst-ftell-append.c: New test case.
34292 * libio/Makefile (tests): Add test case.
34293 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34294 append mode.
34295 * libio/wfileops.c (do_ftell_wide): Likewise.
34296
34297 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34298
34299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34300
34301 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34302 ...
34303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34305 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34306 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34307 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34308 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34309 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34310 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34312 Moved ...
34313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34314 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34315 Moved ...
34316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34317 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34318 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34319 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34320 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34321 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34322 ...
34323 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34324 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34325 Moved ...
34326 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34327 here.
34328 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34329 ...
34330 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34331 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34332 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34333
34334 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34335 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34336 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34337 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34338
34339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34340 merge into ...
34341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34342 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34343 ...
34344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34345 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34346 ...
34347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34348 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34349 Moved ...
34350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34351 here.
34352 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34353 Moved ...
34354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34356 Moved ...
34357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34358
34359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34360 conditional [RESET_PID].
34361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34363 removed.
34364 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34365 removed.
34366
34367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34368 <tcb-offsets.h>.
34369 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34370 (__libc_vfork): New strong alias.
34371 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34372 removed.
34373 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34374 Removed.
34375
34376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34377 <tcb-offsets.h>.
34378 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34379 (__libc_vfork): New strong alias.
34380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34381 removed.
34382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34383 removed.
34384
34385 2014-05-26 Carlos O'Donell <carlos@redhat.com>
34386
34387 * malloc/malloc.c (mi_arena): New function.
34388 (malloc_info): Remove nested function mi_arena. Call non-nosted
34389 function mi_arena.
34390
34391 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34392
34393 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34394 by insrwi.
34395 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34396 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34397 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34398 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34399 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34400 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34401 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34402
34403 2014-05-26 Andreas Schwab <schwab@suse.de>
34404
34405 [BZ #16984]
34406 * locale/programs/repertoire.c (repertoire_read): Add slash
34407 between I18NPATH element and file name.
34408 * locale/programs/locfile.c (locfile_read): Likewise.
34409
34410 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
34411
34412 * nptl/pthread_mutexattr_settype.c
34413 (__pthread_mutexattr_settype):
34414 Disable lock elision for PTHREAD_MUTEX_NORMAL.
34415
34416 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
34417
34418 * nptl/tst-mutex5 (do_test):
34419 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34420
34421 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34422
34423 * benchtests/README: Document 'init' directive.
34424 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34425 BENCH_INIT.
34426 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34427 (parse_file): Recognize 'init' directive.
34428
34429 2014-05-26 Kyle McMartin <kyle@redhat.com>
34430
34431 [BZ #16796]
34432 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34433 alignment of struct pthread.
34434
34435 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34436
34437 [BZ #16878]
34438 * nscd/netgroupcache.c (addgetnetgrentX): Look for
34439 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34440 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34441 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34442
34443 2014-05-25 Richard Henderson <rth@twiddle.net>
34444
34445 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34446 (SINGLE_THREAD_P_PIC): Remove.
34447 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34448 (SINGLE_THREAD_P_PIC): Remove.
34449
34450 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34451 branch to syscall error ...
34452 (PSEUDO): ... here.
34453 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34454 from __local_syscall_error to .Lsyscall_error.
34455 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34456 (SYSCALL_ERROR): Update label name.
34457
34458 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34459 Do not use DOARGS/UNDOARGS.
34460 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34461 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34462 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34463 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34464 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34465
34466 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34467 block comment.
34468
34469 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34470 define if !NOT_IN_libc.
34471 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34472 define with non-default symbol versions.
34473
34474 2014-05-23 Richard Henderson <rth@twiddle.net>
34475
34476 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34477 (vfork, __vfork): Define via compat_symbol.
34478
34479 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34480 [!HAVE_IFUNC] (vfork_compat): Remove.
34481 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34482
34483 2014-05-23 Joseph Myers <joseph@codesourcery.com>
34484
34485 [BZ #16978]
34486 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34487 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34488 variable.
34489
34490 2014-05-23 Richard Henderson <rth@twiddle.net>
34491
34492 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34493 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34494 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34495 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34496
34497 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34498 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34499 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34500 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34501 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34502 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34503 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34504 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34505 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34506 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34507 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34508 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34509 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34510 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34511 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34512 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34513 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34514 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34515 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34516 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34517 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34518 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34519 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34520 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34521 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34522 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34523 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34524 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34525 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34526 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34527 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34528 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34529 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34530 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34531 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34532 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34533 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34534 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34535 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34536 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34537 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34538 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34539 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34540 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34541 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34542 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34543 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34544 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34545 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34546 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34547 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34548 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34549 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34550 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34551 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34552 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34553
34554 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34555 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34556 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
34557 before exiting on error.
34558 (__libc_vfork): New strong alias.
34559 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34560 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34561
34562 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34563 that was previously under [RESET_PID].
34564 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34565
34566 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34567
34568 2014-05-23 Joseph Myers <joseph@codesourcery.com>
34569
34570 [BZ #16977]
34571 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34572 value when x - 1 is zero.
34573 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34574 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34575 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34576 0.0L for an argument of 1.0L.
34577 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34578 Likewise.
34579 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34580 value when x - 1 is zero.
34581 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34582 * sysdeps/i386/fpu/libm-test-ulps: Update.
34583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34584
34585 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
34586
34587 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34588 alphasort and versionsort.
34589
34590 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34591
34592 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34593 macro.
34594 [copysignf]: Likewise.
34595
34596 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34597
34598 * crypt/md5-crypt.c: Fix formatting.
34599
34600 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34601
34602 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34603 (b64_from_24bit): New function.
34604
34605 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34606
34607 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34608 libc_hidden_builtin_def to ifunc.
34609 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34610 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34611
34612 2014-05-21 Roland McGrath <roland@hack.frob.com>
34613
34614 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34615 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34616
34617 2014-05-21 Joseph Myers <joseph@codesourcery.com>
34618
34619 * nscd/Depend (linuxthreads): Remove.
34620 (nptl): Add.
34621 * resolv/Depend (linuxthreads): Remove.
34622 * rt/Depend (linuxthreads): Remove.
34623
34624 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34625 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34626 $(common-objpfx)elf/.
34627 (link-libc-before-gnulib): Likewise.
34628 (elfobjdir): Remove variable.
34629 * Makefile (install): Use $(elf-objpfx) instead of
34630 $(common-objpfx)elf/.
34631 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34632 $(elfobjdir)/.
34633 (link-libc-deps): Likewise.
34634 ($(common-objpfx)libc.so): Likewise.
34635 ($(common-objpfx)linkobj/libc.so): Likewise.
34636 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34637 instead of $(common-objpfx)elf/.
34638 (symbolic-link-list): Likewise.
34639 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34640 [$(cross-compiling) = no]: Likewise.
34641 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34642 $(elfobjdir)/.
34643 (static-gnulib-arch): Likewise.
34644 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34645 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34646 $(common-objpfx)elf/.
34647
34648 2014-05-21 Richard Henderson <rth@redhat.com>
34649
34650 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34651 (SINGLE_THREAD_P): Use the correct width load. Fold
34652 into the ldr offset.
34653
34654 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34655 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34656
34657 2014-05-20 Joseph Myers <joseph@codesourcery.com>
34658
34659 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34660 (libgcc_s_resume): Use __attribute_used__.
34661 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34662 Likewise.
34663
34664 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34665
34666 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34667 optimization when used with float constants.
34668
34669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34670
34671 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
34672
34673 [BZ #16915]
34674 * locale/nl_langinfo_l.c: Make direct reference to every
34675 _nl_current_CATEGORY symbol.
34676 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34677 (tests-static): Add tst-langinfo-static.
34678 (tests-special): Add tst-langinfo-static.out.
34679 ($(objpfx)tst-langinfo.out): Redirect output.
34680 ($(objpfx)tst-langinfo-static.out): New.
34681 * localedata/tst-langinfo.sh: Send output to stdout.
34682 * localedata/tst-langinfo-static.c: New file.
34683
34684 [BZ #16965]
34685 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34686 when the shift amount is modulo the limb size.
34687
34688 2014-05-20 Richard Henderson <rth@redhat.com>
34689
34690 [BZ #16967]
34691 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34692 Change type of sa_flags from unsigned int to int.
34693
34694 [BZ #16966]
34695 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34696
34697 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34698
34699 2014-05-20 Will Newton <will.newton@linaro.org>
34700
34701 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34702 Test the return value of the system call in the nocancel case.
34703
34704 2014-05-20 Will Newton <will.newton@linaro.org>
34705 Yvan Roux <yvan.roux@linaro.org>
34706
34707 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34708 #include of asm/ptrace.h.
34709 (PTRACE_GET_THREAD_AREA): Remove #undef.
34710 (PTRACE_GETHBPREGS): Likewise.
34711 (PTRACE_SETHBPREGS): Likewise.
34712 (struct user_regs_struct): New structure.
34713 (struct user_fpsimd_struct): New structure.
34714 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34715 #include of asm/ptrace.h and second #include of sys/user.h.
34716 (PTRACE_GET_THREAD_AREA): Remove #undef.
34717 (PTRACE_GETHBPREGS): Likewise.
34718 (PTRACE_SETHBPREGS): Likewise.
34719 (ELF_NGREG): Use new struct user_regs_struct.
34720 (elf_fpregset_t): Use new struct user_fpsimd_struct.
34721
34722 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34723
34724 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34725 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34726
34727 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
34728
34729 [BZ #16958]
34730 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34731 membar to avoid block loads/stores to overlap previous stores.
34732
34733 2014-05-17 Richard Henderson <rth@redhat.com>
34734
34735 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34736 Create the __##syscall_name##_nocancel entry point.
34737 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34738 Remove; let the sysdep-cancel.h code create it.
34739
34740 2014-05-17 David S. Miller <davem@davemloft.net>
34741
34742 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34743 Protect with __USE_GNU.
34744 (TIOCSET_TEMPT): Likewise.
34745 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34746 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34747 these are already provided in bits/ioctl-types.h
34748
34749 2014-05-16 Roland McGrath <roland@hack.frob.com>
34750
34751 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34752 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34753
34754 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34755 Use wait4 regardless of [__NR_waitpid].
34756
34757 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
34758
34759 PR libgcc/60166
34760 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34761 (_FP_NANSIGN_Q): Set the quiet bit.
34762
34763 2014-05-16 Joseph Myers <joseph@codesourcery.com>
34764
34765 * benchtests/Makefile
34766 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34767 not $(common-objpfx)math/libm.so.
34768 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34769 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34770 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34771 $(common-objpfx)dlfcn/libdl.so.
34772 ($(objpfx)tst-audit8): Depend on $(libm), not
34773 $(common-objpfx)math/libm.so.
34774 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34775 not $(common-objpfx)dlfcn/libdl.so.
34776 * math/Makefile
34777 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34778 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
34779 [$(build-shared) = yes].
34780 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
34781 $(common-objpfx)nptl/libpthread.so.
34782 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
34783 $(common-objpfx)math/libm.so$(libm.so-version) or
34784 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
34785 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
34786 $(common-objpfx)dlfcn/libdl.so.
34787 * setjmp/Makefile (link-libm): Remove variable.
34788 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
34789 * stdio-common/Makefile (link-libm): Remove variable.
34790 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
34791 * stdlib/Makefile (link-libm): Remove variable.
34792 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
34793 ($(objpfx)tst-strtod-round): Likewise.
34794 ($(objpfx)tst-tininess): Likewise.
34795 ($(objpfx)tst-strtod-underflow): Likewise.
34796 ($(objpfx)tst-strtod6): Likewise.
34797 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
34798 $(libdl), not $(common-objpfx)nptl/libpthread.so and
34799 $(common-objpfx)dlfcn/libdl.so.
34800
34801 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34802
34803 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
34804 BSD terminal modes definitions.
34805
34806 2014-05-16 Roland McGrath <roland@hack.frob.com>
34807
34808 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
34809 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
34810
34811 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
34812 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
34813 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
34814 Don't do #include_next.
34815 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
34816 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
34817 Don't do #include_next.
34818 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
34819 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
34820 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
34821 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
34822
34823 2014-05-16 Allan McRae <allan@archlinux.org>
34824
34825 * po/sv.po: Update Swedish translation from translation project.
34826
34827 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
34828 in sed expression.
34829
34830 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
34831
34832 [BZ #16917]
34833 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
34834 errno if the TIOCGPTN ioctl fails with an error different than
34835 EINVAL.
34836 * login/tst-ptsname.c: New file.
34837 * login/Makefile (tests): Add tst-ptsname.
34838
34839 [BZ #16943]
34840 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
34841 and prlimit64.
34842
34843 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34844
34845 [BZ #16849]
34846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
34847 herrno to return EAI_AGAIN.
34848
34849 2014-05-14 Roland McGrath <roland@hack.frob.com>
34850
34851 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34852 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34853 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34854 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34855 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34856 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34857 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34858 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34859 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34860 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34861 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34862 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34863 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34864 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34865 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34866 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34867 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34868 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34869 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34870 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34871 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34872 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34873 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34874 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34875 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34876 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34877 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34878 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34879 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34880 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34882 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34884 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34886 Moved ...
34887 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34889 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34891 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34893 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34895 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34897 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34899 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34901 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34903 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34905 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34907 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34909 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34911 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34913 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34915 Moved ...
34916 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34918 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34920 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34922 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34924 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34926 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34928 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34930 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34932 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34934 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34936 Moved ...
34937 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34939 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34940
34941 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34942 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34943 (libpthread-sysdep_routines): Add elision-related stuff here instead.
34944 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34945 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34946 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34947 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34948 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34949 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34950 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34951 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34952 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34953 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34954 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34955 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34956 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34957 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34958 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34959 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34960 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34961 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34962 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34963 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34964 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34965 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34966 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34967 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34968 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34969 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34970 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34971 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34972
34973 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34974 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34975
34976 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34977 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34978 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34979 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34980 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34981 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34982 Moved ...
34983 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34984 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34985 Moved ...
34986 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34987 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34988 Moved ...
34989 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34990 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34991 Moved ...
34992 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34993 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34994 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34995 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34996 Moved ...
34997 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34998 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34999 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35000 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35001 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35002 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35003 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35004 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35005 Moved ...
35006 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35007 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35008 Moved ...
35009 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35010 ... here.
35011 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35012 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35013 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35014 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35015 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35016 Moved ...
35017 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35018 ... here.
35019 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35020 Moved ...
35021 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35022 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35023 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35024 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35025 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35026 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35027 Moved ...
35028 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35029 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35030 Moved ...
35031 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35032 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35033 Moved ...
35034 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35035 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35036 Moved ...
35037 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35038 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35039 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35040 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35041 Moved ...
35042 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35043 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35044 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35045 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35046 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35047 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35048 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35049 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35050 Moved ...
35051 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35052 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35053 Moved ...
35054 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35055 ... here.
35056 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35057 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35058 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35059 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35060 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35061 Moved ...
35062 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35063 ... here.
35064 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35065 Moved ...
35066 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35067 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35068 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35069 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35070 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35071 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35072 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35073 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35074 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35075 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35076 Moved ...
35077 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35078 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35079 Moved ...
35080 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35081 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35082 Moved ...
35083 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35084 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35085 Moved ...
35086 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35087 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35088 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35089 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35090 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35091 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35092 Moved ...
35093 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35094 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35095 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35096 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35097 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35098 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35099 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35100 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35101 Moved ...
35102 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35103 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35104 Moved ...
35105 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35106 ... here.
35107 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35108 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35109 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35110 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35111 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35112 Moved ...
35113 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35114 ... here.
35115 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35116 Moved ...
35117 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35118 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35119 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35120 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35121 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35122 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35123 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35124 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35125 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35126 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35127 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35128
35129 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35130 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35131
35132 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35133 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35134
35135 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35136 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35137 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35138 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35139 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35140 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35141 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35142 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35143 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35144 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35145 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35146 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35147 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35148 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35149 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35150 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35151 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35152 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35153 Moved ...
35154 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35155 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35156 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35157 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35158 Moved ...
35159 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35160 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35161 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35162 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35163 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35164 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35165 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35166 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35167 Moved ...
35168 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35169 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35170 Moved ...
35171 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35172 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35173 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35174 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35175 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35176 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35177 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35178 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35179 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35180 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35181 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35182 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35183 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35184 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35185 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35186 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35187 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35188
35189 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35190 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35191 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35192 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35193 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35194
35195 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35196 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35197 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35198 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35199 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35200 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35201 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35202 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35203 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35204 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35205
35206 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35207 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35208
35209 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35210 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35211 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35212 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35213 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35214 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35215 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35216 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35217 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35218 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35219 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35220 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35221 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35222 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35224 Update #include.
35225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35226 Likewise.
35227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35228 Likewise.
35229 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35230 Likewise.
35231 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35232 Likewise.
35233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35234 Likewise.
35235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35236 Likewise.
35237 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35238 Likewise.
35239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35240 Likewise.
35241 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35242 Likewise.
35243 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35244 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35245 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35246 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35247 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35248 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35249 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35250 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35251 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35252 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35253 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35254 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35255 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35256 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
35257 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
35258
35259 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35260 that was previously under [RESET_PID].
35261 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35262 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35263 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35264
35265 * sysdeps/i386/nptl/Implies: New file.
35266 * sysdeps/x86_64/nptl/Implies: New file.
35267 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35268 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35269 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35270 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35271
35272 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35273 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35274 (__libc_vfork): New strong alias.
35275 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35276 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35277
35278 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35279 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35280 (__libc_vfork): New strong alias.
35281 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35282 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35283
35284 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35285 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35286 (__libc_vfork): New strong alias.
35287 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35288 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35289 * nptl/pt-vfork.c: New file.
35290 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35291 (libpthread: GLIBC_2.20): New version set (empty).
35292
35293 2014-05-14 Will Newton <will.newton@linaro.org>
35294
35295 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35296 rather than #if.
35297
35298 2014-05-14 Joseph Myers <joseph@codesourcery.com>
35299
35300 [BZ #16564]
35301 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35302 arguments with exponent 65 or above.
35303 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35304 arguments 0x1p113L or above.
35305 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35306 to arguments 0x1p107L or above.
35307 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35308 positive arguments with exponent 65 or above.
35309 * math/auto-libm-test-in: Add more tests of log1p.
35310 * math/auto-libm-test-out: Regenerated.
35311
35312 [BZ #16928]
35313 * math/s_cacos.c (__cacos): Ensure zero real part of result from
35314 non-finite arguments is +0.
35315 * math/s_cacosf.c (__cacosf): Likewise.
35316 * math/s_cacosl.c (__cacosl): Likewise.
35317 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35318 * sysdeps/i386/fpu/libm-test-ulps: Update.
35319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35320
35321 [BZ #16927]
35322 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35323 value.
35324 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35325 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35326 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35327 for explicit high bit of mantissa when testing for argument equal
35328 to 1.
35329 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35330 * sysdeps/i386/fpu/libm-test-ulps: Update.
35331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35332
35333 [BZ #16516]
35334 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35335 (__erf): Scale by 16 instead of 8 in potentially underflowing
35336 case. Ensure exception if result actually underflows.
35337 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35338 (__erff): Scale by 16 instead of 8 in potentially underflowing
35339 case. Ensure exception if result actually underflows.
35340 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35341 (efx8): Remove variable.
35342 (__erfl): Scale by 16 instead of 8 in potentially underflowing
35343 case. Ensure exception if result actually underflows.
35344 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35345 (efx8): Remove variable.
35346 (__erfl): Scale by 16 instead of 8 in potentially underflowing
35347 case. Ensure exception if result actually underflows.
35348 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35349 (efx8): Remove variable.
35350 (__erfl): Scale by 16 instead of 8 in potentially underflowing
35351 case. Ensure exception if result actually underflows.
35352 * math/auto-libm-test-in: Add more tests of erf.
35353 * math/auto-libm-test-out: Regenerated.
35354
35355 2014-05-14 Andreas Schwab <schwab@suse.de>
35356
35357 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35358 Remove code conditionalized on USE___THREAD.
35359
35360 * config.h.in (HAVE_PT_CHOWN): Define as 0.
35361 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35362 not definedness.
35363
35364 2014-05-14 Joseph Myers <joseph@codesourcery.com>
35365
35366 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35367 Define unconditionally.
35368 (__ASSUME_O_CLOEXEC): Likewise.
35369 (__ASSUME_SOCK_CLOEXEC): Likewise.
35370 (__ASSUME_IN_NONBLOCK): Likewise.
35371 (__ASSUME_PIPE2): Likewise.
35372 (__ASSUME_EVENTFD2): Likewise.
35373 (__ASSUME_SIGNALFD4): Likewise.
35374 (__ASSUME_DUP3): Likewise.
35375 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35376 (__ASSUME_DUP3): Do not define.
35377 (__ASSUME_EVENTFD2): Likewise.
35378 (__ASSUME_IN_NONBLOCK): Likewise.
35379 (__ASSUME_O_CLOEXEC): Likewise.
35380 (__ASSUME_PIPE2): Likewise.
35381 (__ASSUME_SIGNALFD4): Likewise.
35382 (__ASSUME_SOCK_CLOEXEC): Likewise.
35383 (__ASSUME_UTIMES): Undefine.
35384 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35385 (__ASSUME_UTIMES): Do not define.
35386 (__ASSUME_O_CLOEXEC): Likewise.
35387 (__ASSUME_SOCK_CLOEXEC): Likewise.
35388 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35389 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35390 0x020621].
35391 (__ASSUME_PIPE2): Likewise.
35392 (__ASSUME_EVENTFD2): Likewise.
35393 (__ASSUME_SIGNALFD4): Likewise.
35394 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35395 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35396 Do not define.
35397 (__ASSUME_EVENTFD2): Likewise.
35398 (__ASSUME_SIGNALFD4): Likewise.
35399 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35400 (__ASSUME_32BITUIDS): Likewise.
35401 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35402 (__ASSUME_IPC64): Likewise.
35403 (__ASSUME_ST_INO_64_BIT): Likewise.
35404 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35405 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35406 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35407 (__ASSUME_UTIMES): Do not define.
35408 (__ASSUME_PSELECT): Likewise.
35409 (__ASSUME_PPOLL): Likewise.
35410 (__ASSUME_O_CLOEXEC): Likewise.
35411 (__ASSUME_SOCK_CLOEXEC): Likewise.
35412 (__ASSUME_IN_NONBLOCK): Likewise.
35413 (__ASSUME_PIPE2): Likewise.
35414 (__ASSUME_EVENTFD2): Likewise.
35415 (__ASSUME_SIGNALFD4): Likewise.
35416 (__ASSUME_DUP3): Likewise.
35417 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35418 (__ASSUME_UTIMES): Likewise.
35419 (__ASSUME_O_CLOEXEC): Likewise.
35420 (__ASSUME_SOCK_CLOEXEC): Likewise.
35421 (__ASSUME_IN_NONBLOCK): Likewise.
35422 (__ASSUME_PIPE2): Likewise.
35423 (__ASSUME_EVENTFD2): Likewise.
35424 (__ASSUME_SIGNALFD4): Likewise.
35425 (__ASSUME_DUP3): Likewise.
35426 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35427 (__ASSUME_UTIMES): Likewise.
35428 (__ASSUME_O_CLOEXEC): Likewise.
35429 (__ASSUME_SOCK_CLOEXEC): Likewise.
35430 (__ASSUME_IN_NONBLOCK): Likewise.
35431 (__ASSUME_PIPE2): Likewise.
35432 (__ASSUME_EVENTFD2): Likewise.
35433 (__ASSUME_SIGNALFD4): Likewise.
35434 (__ASSUME_DUP3): Likewise.
35435 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35436 Likewise.
35437 (__ASSUME_UTIMES): Likewise.
35438 (__ASSUME_EVENTFD2): Likewise.
35439 (__ASSUME_SIGNALFD4): Likewise.
35440 * sysdeps/unix/sysv/linux/tile/kernel-features.h
35441 (__ASSUME_O_CLOEXEC): Likewise.
35442 (__ASSUME_SOCK_CLOEXEC): Likewise.
35443 (__ASSUME_IN_NONBLOCK): Likewise.
35444 (__ASSUME_PIPE2): Likewise.
35445 (__ASSUME_EVENTFD2): Likewise.
35446 (__ASSUME_SIGNALFD4): Likewise.
35447 (__ASSUME_DUP3): Likewise.
35448 (__ASSUME_UTIMES): Undefine.
35449
35450 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35451 feclearexcept. Remove symbol versioning code.
35452 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
35453 symbol versioning code.
35454 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
35455 symbol versioning code.
35456 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35457 feupdateenv. Remove symbol versioning code.
35458 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35459 fegetexceptflag. Remove symbol versioning code.
35460 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35461 fesetexceptflag. Remove symbol versioning code.
35462 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35463 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
35464 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35465 (__posix_fadvise64_l32): Remove prototype.
35466 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35467 code.
35468
35469 2014-05-13 Roland McGrath <roland@hack.frob.com>
35470
35471 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35472 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35473 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35474 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35475
35476 2014-05-13 Sami Kerola <kerolasa@iki.fi>
35477
35478 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35479 current working directory
35480
35481 2014-05-13 Roland McGrath <roland@hack.frob.com>
35482
35483 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35484 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35485 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35486 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35487 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35488 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35489 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35490 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35491 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35492 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35493 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35494 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35495 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35496 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35497 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35498 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35499 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35500 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35501 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35502 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35503 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35504 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35505 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35506 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35507 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35508 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35509 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35510 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35511 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35512 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35513 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35514 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35515 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35516 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35517 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35518 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35519 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35520 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35521 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35522 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35523 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35524 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35525
35526 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35527 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35528
35529 * sysdeps/unix/sysv/linux/arm/Makefile
35530 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35531 Add rt-aeabi_unwind_cpp_pr1.
35532 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35533 Add nptl-aeabi_unwind_cpp_pr1.
35534 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35535 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35536 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35537 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35538 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35539 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35540
35541 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35542 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35543 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35544 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35545
35546 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35547 Deconditionalize the code that was previously under [RESET_PID].
35548 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35549
35550 * sysdeps/generic/exit-thread.h: New file.
35551 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35552 * include/unistd.h (__exit_thread): Remove declaration.
35553 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35554 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35555 * csu/libc-start.c: Include <exit-thread.h>.
35556 (LIBC_START_MAIN): Pass no argument to __exit_thread.
35557 * nptl/pthread_create.c: Include <exit-thread.h>.
35558 (start_thread): Call __exit_thread in place of __exit_thread_inline.
35559 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35560 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35561 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35562 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35563 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35564 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35565 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35566 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35567 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35568 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35569 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35570 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35571 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35572 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35573 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35574 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35575
35576 2014-05-13 Andreas Schwab <schwab@suse.de>
35577
35578 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35579
35580 2014-05-12 Joseph Myers <joseph@codesourcery.com>
35581
35582 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35583 (__ASSUME_UTIMES): Do not condition on kernel version.
35584 (__ASSUME_PSELECT): Define unconditionally.
35585 (__ASSUME_PPOLL): Likewise.
35586 (__ASSUME_ATFCTS): Likewise.
35587 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35588 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35589 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35590 (__ASSUME_UTIMENSAT): Define unconditionally.
35591 (__ASSUME_PRIVATE_FUTEX): Likewise.
35592 (__ASSUME_FALLOCATE): Likewise.
35593 (__ASSUME_O_CLOEXEC): Likewise.
35594 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35595 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35596 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35597 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35598 (__ASSUME_IN_NONBLOCK): Likewise.
35599 (__ASSUME_PIPE2): Likewise.
35600 (__ASSUME_EVENTFD2): Likewise.
35601 (__ASSUME_SIGNALFD4): Likewise.
35602 (__ASSUME_DUP3): Likewise.
35603 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35604 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35605 (__ASSUME_AT_RANDOM): Likewise.
35606 (__ASSUME_PREADV): Likewise.
35607 (__ASSUME_PWRITEV): Likewise.
35608 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35609 (__ASSUME_F_GETOWN_EX): Define unconditionally.
35610 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35611 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35612 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35613 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35614 (__ASSUME_O_CLOEXEC): Define unconditionally.
35615 (__ASSUME_PSELECT): Do not undefine conditionally.
35616 (__ASSUME_PPOLL): Likewise.
35617 (__ASSUME_ATFCTS): Likewise.
35618 (__ASSUME_SET_ROBUST_LIST): Likewise.
35619 (__ASSUME_UTIMENSAT): Likewise.
35620 (__ASSUME_FDATASYNC): Define unconditionally.
35621 * sysdeps/unix/sysv/linux/arm/kernel-features.h
35622 (__ASSUME_SIGFRAME_V2): Likewise.
35623 )__ASSUME_EVENTFD2): Likewise.
35624 (__ASSUME_SIGNALFD4): Likewise.
35625 (__ASSUME_PSELECT): Do not undefine conditionally.
35626 (__ASSUME_PPOLL): Likewise.
35627 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35628 (__ASSUME_PSELECT): Define unconditionally.
35629 (__ASSUME_PPOLL): Likewise.
35630 (__ASSUME_O_CLOEXEC): Likewise.
35631 (__ASSUME_SOCK_CLOEXEC): Likewise.
35632 (__ASSUME_IN_NONBLOCK): Likewise.
35633 (__ASSUME_PIPE2): Likewise.
35634 (__ASSUME_EVENTFD2): Likewise.
35635 (__ASSUME_SIGNALFD4): Likewise.
35636 (__ASSUME_DUP3): Likewise.
35637 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35638 (__ASSUME_O_CLOEXEC): Likewise.
35639 (__ASSUME_SOCK_CLOEXEC): Likewise.
35640 (__ASSUME_IN_NONBLOCK): Likewise.
35641 (__ASSUME_PIPE2): Likewise.
35642 (__ASSUME_EVENTFD2): Likewise.
35643 (__ASSUME_SIGNALFD4): Likewise.
35644 (__ASSUME_DUP3): Likewise.
35645 * sysdeps/unix/sysv/linux/mips/kernel-features.h
35646 (__ASSUME_EVENTFD2): Likewise.
35647 (__ASSUME_SIGNALFD4): Likewise.
35648 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35649
35650 2014-05-12 Andreas Schwab <schwab@suse.de>
35651
35652 [BZ #16932]
35653 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35654 (_nss_nis_gethostbyname4_r): Return error if item length is larger
35655 than maximum RPC packet size.
35656 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35657 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35658 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35659 (_nss_nis_getservbyport_r): Likewise.
35660
35661 2014-05-12 Will Newton <will.newton@linaro.org>
35662
35663 * malloc/Makefile (tests): Add tst-mallopt.
35664 * malloc/tst-mallopt.c: New file.
35665
35666 2014-05-09 Roland McGrath <roland@hack.frob.com>
35667
35668 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35669 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35670
35671 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35672
35673 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35674 (tst-tlsmod6.so): Likewise.
35675
35676 2014-05-09 Roland McGrath <roland@hack.frob.com>
35677
35678 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35679
35680 2014-05-09 Joseph Myers <joseph@codesourcery.com>
35681
35682 [BZ #16064]
35683 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35684 and <dl-procinfo.h>.
35685 (__fegetenv): Save SSE state in envp->__eip if supported.
35686 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35687 envp->__eip if supported.
35688 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35689 and <dl-procinfo.h>.
35690 (__fesetenv): Always set __eip, __cs_selector, __opcode,
35691 __data_offset and __data_selector in environment to 0. Set SSE
35692 state if supported.
35693 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35694 test-fenv-sse.
35695 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35696 -mfpmath=sse.
35697 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35698
35699 2014-05-09 Will Newton <will.newton@linaro.org>
35700
35701 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35702 and libc_relro_required for ARM.
35703 * sysdeps/arm/preconfigure: Regenerate.
35704
35705 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
35706 Stefan Liebler <stli@linux.vnet.ibm.com>
35707
35708 * config.make.in (enable-lock-elision): New Makefile variable.
35709 * configure.ac: Likewise.
35710 * configure: Regenerate.
35711 * sysdeps/s390/configure.ac:
35712 Add check for gcc transactions support.
35713 * sysdeps/s390/configure: Regenerate.
35714 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35715 Build elision files if enabled.
35716 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35717 Add lock elision support for s390.
35718 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35719 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35720 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35721 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35722 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35723 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35724 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35725 Likewise.
35726 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35727 Likewise.
35728 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35729 Likewise.
35730 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35731 Likewise.
35732 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35733 (__lll_timedlock_elision, __lll_lock_elision)
35734 (__lll_unlock_elision, __lll_trylock_elision)
35735 (lll_timedlock_elision, lll_lock_elision)
35736 (lll_unlock_elision, lll_trylock_elision): Add.
35737 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35738 (pthread_mutex_t): Add lock elision support for s390.
35739
35740 2014-05-14 Wilco <wdijkstr@arm.com>
35741
35742 * sysdeps/arm/fclrexcpt.c: Cleanup.
35743 * sysdeps/arm/fedisblxcpt.c: Cleanup.
35744 * sysdeps/arm/feenablxcpt.c: Cleanup.
35745 * sysdeps/arm/fegetenv.c: Cleanup.
35746 * sysdeps/arm/fegetexcept.c: Cleanup.
35747 * sysdeps/arm/fegetround.c: Cleanup.
35748 * sysdeps/arm/feholdexcpt.c: Cleanup.
35749 * sysdeps/arm/fesetenv.c: Cleanup.
35750 * sysdeps/arm/fesetround.c: Cleanup.
35751 * sysdeps/arm/feupdateenv.c: Cleanup.
35752 * sysdeps/arm/fgetexcptflg.c: Cleanup.
35753 * sysdeps/arm/fraiseexcpt.c: Cleanup.
35754 * sysdeps/arm/fsetexcptflg.c: Cleanup.
35755 * sysdeps/arm/ftestexcept.c: Cleanup.
35756 * sysdeps/arm/get-rounding-mode.h: Cleanup.
35757 * sysdeps/arm/setfpucw.c: Cleanup.
35758
35759 2014-05-09 Will Newton <will.newton@linaro.org>
35760
35761 * sysdeps/arm/armv7/strcmp.S: New file.
35762 * NEWS: Mention addition of ARMv7 optimized strcmp.
35763
35764 2014-05-08 Roland McGrath <roland@hack.frob.com>
35765
35766 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35767 look for %.ac rather than %.in.
35768
35769 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35770 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35771 * sysdeps/mach/hurd/configure: Regenerated.
35772 * sysdeps/unix/sysv/linux/configure: Regenerated.
35773
35774 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35775
35776 2014-05-07 Steve Ellcey <sellcey@mips.com>
35777
35778 [BZ# 16922]
35779 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
35780 (LONG_SUB): Ditto.
35781 (PTR_SUB): Ditto.
35782
35783 2014-05-07 Andreas Schwab <schwab@suse.de>
35784
35785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
35786 when skipping over non-matching result from nscd.
35787
35788 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
35789
35790 [BZ #16876]
35791 * nptl/sockperf.c (client): Check socket return value.
35792
35793 [BZ #16877]
35794 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
35795 nscd security class.
35796
35797 2014-05-06 Roland McGrath <roland@hack.frob.com>
35798
35799 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
35800 * sysdeps/arm/unwind.h: ... here.
35801
35802 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
35803
35804 [BZ# 16916]
35805 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35806 Define.
35807
35808 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35809
35810 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
35811 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
35812 multiarch strncpy for PPC64.
35813 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
35814 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
35815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
35816 multiarch optimizations.
35817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35818 (__libc_ifunc_impl_list): Likewise.
35819 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
35820 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
35821 multiarch stpncpy for PPC64.
35822 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35823 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
35824
35825 2014-05-06 Andreas Schwab <schwab@suse.de>
35826
35827 [BZ #16912]
35828 * gmon/mcount.c (_MCOUNT_DECL): Use
35829 atomic_compare_and_exchange_bool_acq instead of
35830 catomic_compare_and_exchange_bool_acq.
35831
35832 2014-05-05 Roland McGrath <roland@hack.frob.com>
35833
35834 * elf/Makefile (others, install-bin): Remove pldd.
35835 (pldd-modules): Variable removed.
35836 ($(objpfx)pldd): Target removed.
35837 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
35838 (others, install-bin): Append pldd here.
35839 ($(objpfx)pldd): New target.
35840
35841 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
35842 to 0, so the first #if test emitted later doesn't see it undefined.
35843 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
35844 * sysdeps/gnu/errlist.c: Regenerated.
35845
35846 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35847
35848 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35849 [libc_hidden_builtin_def]: Define to empty value.
35850 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35851 [libc_hidden_builtin_def]: Likewise.
35852 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35853 [libc_hidden_builtin_def]: Likewise.
35854 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35855 [libc_hidden_builtin_def]: Likewise.
35856 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35857 __redirect_memcpy and define ifunc as default hidden symbol.
35858 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35859 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35860
35861 2014-05-04 Adam Conrad <adconrad@0c3.net>
35862
35863 * locale/iso-4217.def: Reintroduce XDR currency.
35864
35865 2014-05-04 Allan McRae <allan@archlinux.org>
35866
35867 * po/eo.po: Update Esperanto translation from translation project.
35868
35869 2014-05-02 Carlos O'Donell <carlos@redhat.com>
35870
35871 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35872 and FEATURE_INDEX_MAX to 1.
35873 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35874
35875 2014-05-01 Steve Ellcey <sellcey@mips.com>
35876
35877 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35878 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35879 * iconvdata/big5.c (ONE_DIRECTION): Define.
35880 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35881 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35882 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35883 * iconvdata/cp932.c (ONE_DIRECTION): Define.
35884 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35885 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35886 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35887 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35888 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35889 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35890 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35891 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35892 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35893 * iconvdata/gbk.c (ONE_DIRECTION): Define.
35894 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35895 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35896 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35897 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35898 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35899 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35900 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35901 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35902 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35903 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35904 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35905 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35906 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35907 * iconvdata/iso646.c (ONE_DIRECTION): Define.
35908 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35909 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35910 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35911 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35912 * iconvdata/johab.c (ONE_DIRECTION): Define.
35913 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35914 * iconvdata/sjis.c (ONE_DIRECTION): Define.
35915 * iconvdata/t.61.c (ONE_DIRECTION): Define.
35916 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35917 * iconvdata/tscii.c (ONE_DIRECTION): Define.
35918 * iconvdata/uhc.c (ONE_DIRECTION): Define.
35919 * iconvdata/unicode.c (ONE_DIRECTION): Define.
35920 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35921 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35922 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35923
35924 2014-05-01 Roland McGrath <roland@hack.frob.com>
35925
35926 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35927 (_IO_JUMPS_OFFSET): Define to 0.
35928
35929 * nptl/sysdeps/pthread/bits/libc-lock.h
35930 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35931 (__libc_lock_define_initialized_recursive): Always define using
35932 initializer. Modern compilers treat uninitialized (implicit zero) and
35933 explicit zero initializers the same (i.e. put the datum in bss).
35934
35935 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
35936
35937 * nscd/nscd-client.h: Include <string.h>.
35938
35939 2014-05-01 David S. Miller <davem@davemloft.net>
35940
35941 [BZ #16885]
35942 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35943 multiple zero bytes exist at the end of a string.
35944 Reported by Aurelien Jarno <aurelien@aurel32.net>
35945
35946 * string/test-strcmp.c (check): Add explicit test for situations where
35947 there are multiple zero bytes after the first.
35948
35949 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
35950
35951 [BZ #16890]
35952 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35953 when compiling wprintf.
35954 * stdio-common/tstdiomisc.c (t3): New function.
35955 (main): Call it.
35956
35957 2014-05-01 Steve Ellcey <sellcey@mips.com>
35958
35959 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35960 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35961 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35962 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35963
35964 2014-05-01 Steve Ellcey <sellcey@mips.com>
35965
35966 * stdlib/longlong.h: Updated from GCC.
35967
35968 2014-05-01 Will Newton <will.newton@linaro.org>
35969 Bernard Ogden <bernie.ogden@linaro.org>
35970
35971 * NEWS: Update fixed bug list.
35972
35973 [BZ #15119]
35974 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35975
35976 2014-04-30 David S. Miller <davem@davemloft.net>
35977
35978 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35979 (libc_feholdexcept_setround_sparc_ctx): New function.
35980 (libc_fesetenv_sparc_ctx): Likewise.
35981 (libc_feupdateenv_sparc_ctx): Likewise.
35982 (libc_feholdsetround_sparc_ctx): Likewise.
35983 (libc_feholdexcept_setround_ctx): Define.
35984 (libc_feholdexcept_setroundf_ctx): Likewise.
35985 (libc_feholdexcept_setroundl_ctx): Likewise.
35986 (libc_fesetenv_ctx): Likewise.
35987 (libc_fesetenvf_ctx): Likewise.
35988 (libc_fesetenvl_ctx): Likewise.
35989 (libc_feupdateenv_ctx): Likewise.
35990 (libc_feupdateenvf_ctx): Likewise.
35991 (libc_feupdateenvl_ctx): Likewise.
35992 (libc_feresetround_ctx): Likewise.
35993 (libc_feresetroundf_ctx): Likewise.
35994 (libc_feresetroundl_ctx): Likewise.
35995 (libc_feholdsetround_ctx): Likewise.
35996 (libc_feholdsetroundf_ctx): Likewise.
35997 (libc_feholdsetroundl_ctx): Likewise.
35998
35999 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36000 with __USE_GNU instead of XOPEN cpp guards.
36001
36002 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36003 0.
36004
36005 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36006 with XOPEN cpp guards.
36007
36008 2014-04-30 Julian Brown <julian@codesourcery.com>
36009
36010 [BZ #16888]
36011 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36012 handling.
36013
36014 2014-04-30 Joseph Myers <joseph@codesourcery.com>
36015
36016 [BZ #9894]
36017 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36018 Change to 2.6.32.
36019 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36020 * sysdeps/unix/sysv/linux/configure: Regenerated.
36021 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36022 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36023 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36024 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36025 * README: Update reference to required Linux kernel version.
36026 * manual/install.texi (Linux): Update reference to required Linux
36027 kernel headers version.
36028 * INSTALL: Regenerated.
36029
36030 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36031 header inclusion.
36032 [POSIX] (limits.h): Likewise.
36033 [POSIX] (math.h): Likewise.
36034 [POSIX] (sys/wait.h): Likewise.
36035 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36036 function.
36037 [POSIX] (stddef.h): Do not allow header inclusion.
36038
36039 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36040
36041 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36042
36043 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
36044
36045 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36046 Return immediately after lll_futex_wake.
36047
36048 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36049
36050 [BZ #16791]
36051 * nscd/nscd-client.h (datahead_init_common): Initialize entire
36052 structure.
36053 (datahead_init_pos): Call datahead_init_common early.
36054 (datahead_init_neg): Likewise.
36055
36056 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36057 datahead_init_neg): New functions.
36058 * nscd/aicache.c (addhstaiX): Use them.
36059 * nscd/grpcache.c (cache_addgr): Likewise.
36060 * nscd/hstcache.c (cache_addhst): Likewise.
36061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36062 * nscd/netgroupcache.c (do_notfound): Likewise.
36063 (addgetnetgrentX): Likewise.
36064 (addinnetgrX): Likewise.
36065 * nscd/pwdcache.c (cache_addpw): Likewise.
36066 * nscd/servicescache.c (cache_addserv): Likewise.
36067
36068 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36069 Atsushi Onoe <atsushi@onoe.org>
36070
36071 [BZ #14308]
36072 [BZ #12994]
36073 [BZ #13651]
36074 * resolv/res_query.c (__libc_res_nsearch): Return if at least
36075 one response is valid.
36076 * resolv/res_send.c (send_dg): Check for validity of other
36077 response if the current response is a referral.
36078
36079 2014-04-29 Steve Ellcey <sellcey@mips.com>
36080
36081 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36082
36083 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
36084
36085 [BZ #16823]
36086 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36087 Always divide by positive zero when computing -Inf result.
36088 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36089 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36090
36091 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36092
36093 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36094 FPSCR if value do not change.
36095 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36096 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36097 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36098 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36099 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36100 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36101 function.
36102
36103 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
36104
36105 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36106 * sysdeps/unix/sysv/linux/hppa: Move directory from
36107 ports/systeps/unix/sysv/linux/hppa.
36108 * README: Update listing for hppa-*-linux-gnu.
36109
36110 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
36111
36112 [BZ #16754]
36113 * manual/stdio.texi (Hook functions): Fix types of stream hook
36114 functions.
36115 [BZ #16854]
36116 * socket/sys/socket.h: Fix typo in comment.
36117
36118 2014-04-28 Wilco <wdijkstr@arm.com>
36119
36120 * sysdeps/arm/fenv_private.h: New file.
36121 * sysdeps/arm/math_private.h: New file.
36122 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36123
36124 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
36125
36126 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36127 with __int128_t.
36128 (La_x86_64_retval): Likewise.
36129
36130 2014-04-24 Ian Bolton <ian.bolton@arm.com>
36131
36132 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36133 fpsr if value didn't change.
36134 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36135 to fpcr if value didn't change.
36136 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36137 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36138 fpsr or fpcr if value didn't change.
36139 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36140 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36141 fpcr if value didn't change.
36142 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36143 to fpsr if value didn't change.
36144
36145 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
36146
36147 * nptl/tst-sem3.c: Use test-skeleton.c
36148 (main): Rename to do_test. Use return instead of
36149 exit.
36150 * nptl/tst-sem4.c: Use test-skeleton.c
36151 (main): Rename to do_test.
36152
36153 2014-04-22 David S. Miller <davem@davemloft.net>
36154
36155 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36156 (struct sigaction): New struct member __glibc_reserved0, change
36157 type of sa_flags to int.
36158
36159 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
36160
36161 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36162 (COUNT_LEADING_ZEROS_0): Define for AArch64.
36163
36164 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36165
36166 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36167 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36168
36169 2014-04-22 Will Newton <will.newton@linaro.org>
36170 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
36171
36172 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36173 (__longjmp): Add longjmp and longjmp_target SystemTap
36174 probes.
36175 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36176 (__sigsetjmp): Add setjmp SystemTap probe.
36177
36178 2014-04-17 Carlos O'Donell <carlos@redhat.com>
36179
36180 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36181 match manual order.
36182
36183 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36184
36185 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36186
36187 * sysdeps/powerpc/fpu/fenv_private.h
36188 (libc_feholdexcept_setroundl_ctx): Define to
36189 libc_feholdexcept_setround_ppc_ctx.
36190 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36191 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36192 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36193 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36194
36195 2014-04-17 Ian Bolton <ian.bolton@arm.com>
36196
36197 * sysdeps/aarch64/math-tests.h: New file.
36198
36199 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
36200
36201 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36202 New.
36203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36204 Check and set bit_AVX2_Usable.
36205 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36206 macro.
36207 (bit_AVX2): Likewise.
36208 (index_AVX2_Usable): Likewise.
36209 (CPUID_AVX2): Likewise.
36210 (HAS_AVX2): Likewise.
36211
36212 2014-04-17 Will Newton <will.newton@linaro.org>
36213
36214 * manual/setjmp.texi (System V contexts): Add note that
36215 calling setcontext on a context created by a call to a
36216 signal handler is undefined. Update text to note that
36217 setcontext from a signal handler is possible but not
36218 recommended.
36219
36220 [BZ #16629]
36221 * stdlib/tst-setcontext.c: Include signal.h.
36222 (main): Check that the signal stack before and
36223 after swapcontext is the same.
36224
36225 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36226 Re-implement to restore registers in user code and avoid
36227 rt_sigreturn system call.
36228
36229 2014-04-17 Wilco <wdijkstr@arm.com>
36230
36231 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36232 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36233 * math/test-fenv.c: Skip exception trap tests on targets which only
36234 support non-stop mode.
36235
36236 2014-04-17 Ian Bolton <ian.bolton@arm.com>
36237 Wilco Dijkstra <wilco.dijkstra@arm.com>
36238
36239 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36240 (libc_feholdsetround_aarch64_ctx)
36241 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36242 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36243 (libc_feresetround_ctx, libc_feresetroundf_ctx)
36244 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36245 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36246 (libc_feresetround_noexl_ctx): Define.
36247
36248 2014-04-16 Richard Henderson <rth@redhat.com>
36249
36250 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36251
36252 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36253 unwind tables.
36254
36255 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36256 const from the non-libc, non-ldso copy.
36257
36258 * sysdeps/alpha/libm-test-ulps: Regenerate.
36259
36260 2014-04-16 Ian Bolton <ian.bolton@arm.com>
36261 Wilco Dijkstra <wilco.dijkstra@arm.com>
36262
36263 * sysdeps/aarch64/fpu/math_private.h: New file.
36264
36265 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
36266
36267 * sysdeps/aarch64/libm-test-ulps: Regenerate.
36268
36269 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
36270
36271 [BZ #16275]
36272 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36273 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36275 Intel MPX bound registers before _dl_profile_fixup.
36276 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36277 registers after _dl_profile_fixup. Save and restore bound
36278 registers bnd0/bnd1 when calling _dl_call_pltexit.
36279 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36280 (LR_BND_OFFSET): Likewise.
36281 (LRV_BND0_OFFSET): Likewise.
36282 (LRV_BND1_OFFSET): Likewise.
36283
36284 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36285
36286 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36287 to...
36288 * sysdeps/mach/hurd/i386/tls.h: ... here.
36289 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36290 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36291 fields.
36292
36293 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36294
36295 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36296
36297 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
36298
36299 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36300
36301 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
36302
36303 [BZ #14770]
36304 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36305 * sysdeps/s390/configure: Regenerate.
36306
36307 [BZ #16824]
36308 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36309 Set round-to-nearest internally to reduce error accumulation.
36310
36311 2014-04-16 Alan Modra <amodra@gmail.com>
36312
36313 [BZ #16740]
36314 [BZ #16619]
36315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36316 * math/libm-test.inc (frexp_test_data): Add tests.
36317 * NEWS: Update fixed bug list.
36318
36319 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36320
36321 * benchtests/Makefile: Depend on libraries in build directory.
36322 (bench-math): Separate out math tests.
36323 (bench-pthread): Separate out pthread tests.
36324 (bench): Include math and pthread tests.
36325
36326 2014-04-14 Carlos O'Donell <carlos@redhat.com>
36327
36328 [BZ #16831]
36329 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36330 _dl_debug_initialize.
36331
36332 * configure.ac: Remove SELinux header check.
36333 * configure: Regenerate.
36334 * nscd/selinux.c (perms): Array of const char* to permission names.
36335 (nscd_request_avc_has_perm): Call security_deny_unknown to find
36336 default policy. Call string_to_security_class and string_to_av_perm to
36337 translate strings. Enforce default policy and call avs_has_perm with
36338 results of translated strings.
36339
36340 2014-04-13 David S. Miller <davem@davemloft.net>
36341
36342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36343
36344 2014-04-12 Allan McRae <allan@archlinux.org>
36345
36346 [BZ #16838]
36347 * manual/string.texi (Collation Functions): Fix qsort argument
36348 order in example.
36349 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36350
36351 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
36352
36353 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36354 Make the test a no-op if there are no exceptions defined.
36355
36356 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
36357
36358 * elf/Makefile (tests): make tst-dlopen-aout conditional on
36359 enable-hardcoded-path-in-tests
36360
36361 2014-04-11 Will Newton <will.newton@linaro.org>
36362
36363 * benchtests/Makefile (extra-objs): Add json-lib.o.
36364 (bench-func): Tidy up JSON output.
36365 * benchtests/bench-skeleton.c: Include json-lib.h.
36366 (main): Use JSON library functions to do output of
36367 benchmark results.
36368 * benchtests/bench-timing-type.c (main): Output the
36369 timing type simply, leaving formatting to the user.
36370 * benchtests/json-lib.c: New file.
36371 * benchtests/json-lib.h: Likewise.
36372
36373 2014-04-11 Torvald Riegel <triegel@redhat.com>
36374
36375 [BZ #15215]
36376 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36377 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
36378 memory barriers. Add comments.
36379 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36380 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36381 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36382 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36383 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36384 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36385
36386 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
36387
36388 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36389 * sysdeps/s390/s390-64/configure.ac: ... this ...
36390 * sysdeps/s390/configure.ac: ... to here.
36391 * sysdeps/s390/s390-32/configure: Delete file.
36392 * sysdeps/s390/s390-64/configure: Delete file.
36393 * sysdeps/s390/configure: Regenerate.
36394
36395 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
36396
36397 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36398
36399 2014-04-11 Will Newton <will.newton@linaro.org>
36400
36401 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36402 to zero if it is not defined elsewhere. (mtrim): Test
36403 the value of MALLOC_DEBUG with #if rather than #ifdef.
36404
36405 2014-04-10 Torvald Riegel <triegel@redhat.com>
36406
36407 * benchtests/pthread_once-inputs: New file.
36408 * benchtests/pthread_once-source.c: New file.
36409 * benchtests/README: Update documentation.
36410
36411 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
36412 H.J. Lu <hongjiu.lu@intel.com>
36413
36414 [BZ #16275]
36415 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36416 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36417 * sysdeps/x86_64/configure: Regenerated.
36418 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36419 macro.
36420 (REGISTER_SAVE_RAX): Likewise.
36421 (REGISTER_SAVE_RCX): Likewise.
36422 (REGISTER_SAVE_RDX): Likewise.
36423 (REGISTER_SAVE_RSI): Likewise.
36424 (REGISTER_SAVE_RDI): Likewise.
36425 (REGISTER_SAVE_R8): Likewise.
36426 (REGISTER_SAVE_R9): Likewise.
36427 (REGISTER_SAVE_BND0): Likewise.
36428 (REGISTER_SAVE_BND1): Likewise.
36429 (REGISTER_SAVE_BND2): Likewise.
36430 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
36431 bound registers when calling _dl_fixup.
36432
36433 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36434
36435 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36436 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36437 of its definition.
36438 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36439 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36440 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36441 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36442 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36443 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36444 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36445
36446 2014-04-09 Peter Brett <peter@peter-b.co.uk>
36447
36448 [BZ #15514]
36449 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36450 pathconf(_PC_NAME_MAX).
36451
36452 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36453
36454 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36455 Remove macro usage.
36456 (__PTHREAD_SPINS): Move definition to ...
36457 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36458 (__PTHREAD_SPINS): ... here.
36459 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36460 (__PTHREAD_SPIN): Likewise.
36461 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36462 (__PTHREAD_SPIN): Likewise.
36463 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36464 (__PTHREAD_SPIN): Likewise.
36465 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36466 (__PTHREAD_SPIN): Likewise.
36467 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36468 (__PTHREAD_SPIN): Likewise.
36469 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36470 (__PTHREAD_SPIN): Likewise.
36471 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36472 (__PTHREAD_SPIN): Likewise.
36473 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36474 (__PTHREAD_SPIN): Likewise.
36475 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36476 (__PTHREAD_SPIN): Likewise.
36477 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36478 (__PTHREAD_SPIN): Likewise.
36479 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36480 (__PTHREAD_SPIN): Likewise.
36481 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36482 (__PTHREAD_SPIN): Likewise.
36483
36484 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36485 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36486 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36487 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36488 imply folder.
36489 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36490 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36491 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36492 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36493 correct imply path.
36494 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36495 strlen symbol for non multi-arch builds.
36496 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36497 missing hidden_def and weak_alias.
36498
36499 2014-04-08 Carlos O'Donell <carlos@redhat.com>
36500
36501 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36502
36503 2014-04-07 Will Newton <will.newton@linaro.org>
36504
36505 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36506 and contents. [!_LIBC] Remove #ifndef and contents.
36507 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
36508 * string/memccpy.c (__memccpy): Use ANSI prototype.
36509 * string/memfrob.c (memfrob): Likewise.
36510 * string/strcoll.c (STRCOLL): Likewise.
36511 * string/strlen.c (strlen): Likewise.
36512 * string/strtok.c (STRTOK): Likewise.
36513 * string/strcat.c: Remove unused #include of memcopy.h.
36514 (strcat): Use ANSI prototype.
36515 * string/strchr.c: Remove unused #include of memcopy.h.
36516 (strchr): Use ANSI prototype.
36517 * string/strcmp.c: Remove unused #include of memcopy.h.
36518 (strcmp): Use ANSI prototype.
36519 * string/strcpy.c: Remove unused #include of memcopy.h.
36520 (strcpy): Use ANSI prototype.
36521
36522 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36523
36524 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36525 * config.make.in (config-extra-cppflags): Set it from
36526 libc_extra_cppflags.
36527 * configure.ac (libc_extra_cflags): Make it accumulate over
36528 configure fragments.
36529 (libc_extra_cppflags): New flag.
36530 * configure. Regenerate.
36531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36532 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36533 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36535
36536 [BZ #16815]
36537 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36538 result for FE_DOWNWARD rounding mode.
36539 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36540 Likewise.
36541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36542
36543 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
36544
36545 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36546 in function argument name.
36547
36548 2014-04-03 David Svoboda <svoboda@cert.org>
36549
36550 [BZ #5666]
36551 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36552 explicitly.
36553
36554 2014-04-03 Roland McGrath <roland@hack.frob.com>
36555
36556 * elf/dl-unmap-segments.h: New file.
36557 * sysdeps/generic/ldsodefs.h
36558 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36559 * elf/dl-close.c: Include <dl-unmap-segments.h>.
36560 * elf/dl-fptr.c: Likewise.
36561 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36562 * sysdeps/aarch64/tlsdesc.c: Likewise.
36563 * sysdeps/arm/tlsdesc.c: Likewise.
36564 * sysdeps/i386/tlsdesc.c: Likewise.
36565 * sysdeps/tile/dl-runtime.c: Likewise.
36566 * sysdeps/x86_64/tlsdesc.c: Likewise.
36567 * elf/dl-load.h: New file.
36568 * elf/dl-load.c: Include it.
36569 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36570 Macros moved to dl-load.h.
36571 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36572 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36573 Use _dl_unmap_segments in place of __munmap.
36574 Break out segment-mapping loop into ...
36575 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36576
36577 2014-04-03 Will Newton <will.newton@linaro.org>
36578
36579 * elf/dl-lookup.c (do_lookup_x): Remove comment
36580 referring to nested function and move variable
36581 declarations down to before first use.
36582
36583 2014-04-02 Joseph Myers <joseph@codesourcery.com>
36584
36585 [BZ #16799]
36586 [BZ #16800]
36587 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36588 with 0 numerator.
36589 * math/s_catanf.c (__catanf): Likewise.
36590 * math/s_catanh.c (__catanh): Likewise.
36591 * math/s_catanhf.c (__catanhf): Likewise.
36592 * math/s_catanhl.c (__catanhl): Likewise.
36593 * math/s_catanl.c (__catanl): Likewise.
36594 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36595 by positive zero when computing -Inf result.
36596 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36597 (catanh_test): Likewise.
36598 * sysdeps/i386/fpu/libm-test-ulps: Update.
36599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36600
36601 [BZ #16789]
36602 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36603 instead of using underflowing value in computing result.
36604 * math/s_clog10.c (__clog10): Likewise.
36605 * math/s_clog10f.c (__clog10f): Likewise.
36606 * math/s_clog10l.c (__clog10l): Likewise.
36607 * math/s_clogf.c (__clogf): Likewise.
36608 * math/s_clogl.c (__clogl): Likewise.
36609 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36610 (clog10_test): Likewise.
36611 * sysdeps/i386/fpu/libm-test-ulps: Update.
36612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36613
36614 2014-04-02 Alan Modra <amodra@gmail.com>
36615
36616 [BZ #16739]
36617 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36618 output when value is near a power of two. Use int64_t for lx and
36619 remove casts. Use decimal rather than hex exponent constants.
36620 Don't use long double multiplication when double will suffice.
36621 * math/libm-test.inc (nextafter_test_data): Add tests.
36622 * NEWS: Add 16739 and 16786 to bug list.
36623
36624 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36625
36626 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36627
36628 2014-04-01 Will Newton <will.newton@linaro.org>
36629
36630 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36631 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
36632
36633 2014-04-01 Florian Weimer <fweimer@redhat.com>
36634
36635 [BZ #13347]
36636 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36637 * nptl/tst-setuid2.c: New file.
36638 * nptl/Makefile (xtests): Add tst-setuid2.
36639
36640 2014-04-01 Alan Modra <amodra@gmail.com>
36641
36642 [BZ #16786]
36643 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36644
36645 2014-03-31 Joseph Myers <joseph@codesourcery.com>
36646
36647 [BZ #6803]
36648 [BZ #6804]
36649 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36650 set errno as appropriate.
36651 * math/w_scalbf.c (__scalbf): Likewise.
36652 * math/w_scalbl.c (__scalbl): Likewise.
36653 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36654 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36655 * math/libm-test.inc (scalb_test_data): Add errno expectations.
36656 Add more NaN tests.
36657
36658 [BZ #16349]
36659 * math/w_atan2.c: Include <errno.h>.
36660 (__atan2): Set errno for result underflowing to zero.
36661 * math/w_atan2f.c: Include <errno.h>.
36662 (__atan2f): Set errno for result underflowing to zero.
36663 * math/w_atan2l.c: Include <errno.h>.
36664 (__atan2l): Set errno for result underflowing to zero.
36665 * math/auto-libm-test-in: Don't allow missing errno for some atan2
36666 tests.
36667 * math/auto-libm-test-out: Regenerated.
36668
36669 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36670
36671 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36672 Encode instruction correctly in little endian.
36673 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36674 Likewise.
36675 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36676 Likewise.
36677 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36678 Likewise.
36679 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36680 Likewise.
36681
36682 2014-03-31 Joseph Myers <joseph@codesourcery.com>
36683
36684 [BZ #9894]
36685 * sysdeps/unix/sysv/linux/kernel-features.h
36686 [__sparc__ && !__arch64__ && !__sparc_v9__]
36687 (__ASSUME_SET_ROBUST_LIST): Do not define.
36688 [__sparc__ && !__arch64__ && !__sparc_v9__]
36689 (__ASSUME_FUTEX_LOCK_PI): Likewise.
36690 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36691 Likewise.
36692 * sysdeps/unix/sysv/linux/arm/kernel-features.h
36693 (__ASSUME_FUTEX_LOCK_PI): Undefine.
36694 (__ASSUME_REQUEUE_PI): Likewise.
36695 (__ASSUME_SET_ROBUST_LIST): Likewise.
36696 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36697 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36698 Undefine.
36699 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36700 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36701 Likewise.
36702 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36703 Likewise.
36704 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36705 Likewise.
36706 * sysdeps/unix/sysv/linux/mips/kernel-features.h
36707 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36708 Undefine.
36709 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36710 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36711 Likewise.
36712
36713 [BZ #16648]
36714 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36715 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36716 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36717
36718 2014-03-31 Will Newton <will.newton@linaro.org>
36719
36720 * benchtests/Makefile (bench): Add ffs and ffsll to list
36721 of tests.
36722 * benchtests/ffs-inputs: New file.
36723 * benchtests/ffsll-inputs: Likewise.
36724
36725 2014-03-29 Joseph Myers <joseph@codesourcery.com>
36726
36727 [BZ #16770]
36728 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36729 too large before casting to int.
36730 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36731 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36732 * math/libm-test.inc (scalb_test_data): Add more tests.
36733
36734 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36735
36736 * benchtests/Makefile (DETAILED_OPT): New make option.
36737 (bench-func): Run benchmark program with -d if DETAILED_OPT is
36738 set.
36739 * benchtests/bench-skeleton.c: Include stdbool.h.
36740 (main): Store and print timings per input.
36741 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36742 member to each argument value.
36743 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36744 (_print_arg_data): Initialize per-input timing to 0.
36745
36746 * benchtests/Makefile (timing-type): New binary.
36747 (bench-clean): Also remove bench-timing-type.
36748 (bench): New target for timing-type.
36749 (bench-func): Print output in JSON format.
36750 * benchtests/bench-skeleton.c (main): Print output in JSON
36751 format.
36752 * benchtests/bench-timing-type.c: New file.
36753 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36754 (TIMING_PRINT_STATS): Remove.
36755 * benchtests/scripts/bench.py (_print_arg_data): Store variant
36756 name separately.
36757
36758 * benchtests/bench-modf.c: Remove.
36759 * benchtests/modf-inputs: New inputs file.
36760
36761 2014-03-28 Joseph Myers <joseph@codesourcery.com>
36762
36763 [BZ #16362]
36764 * math/s_clog10.c (M_PI_LOG10E): New macro.
36765 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36766 imaginary parts are 0.
36767 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36768 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36769 imaginary parts are 0.
36770 * math/s_clog10l.c (M_PI_LOG10El): New macro.
36771 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36772 imaginary parts are 0.
36773 * math/libm-test.inc (clog10_test_data): Update expected results
36774 for when real and imaginary parts are 0.
36775
36776 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
36777
36778 * elf/dl-load.c: Finish conversion of __builtin_expect into
36779 __glibc_{un}likely.
36780
36781 2014-03-27 Joseph Myers <joseph@codesourcery.com>
36782
36783 [BZ #16348]
36784 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
36785 1+x for argument with exponent below -67.
36786 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
36787 Likewise.
36788 * math/auto-libm-test-in: Add more tests of exp.
36789 * math/auto-libm-test-out: Regenerated.
36790
36791 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36792
36793 [BZ #16759]
36794 * inet/getnetgrent_r.c (get_nonempty_val): New function.
36795 (nscd_getnetgrent): Use it.
36796
36797 [BZ #16760]
36798 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
36799 of stpcpy.
36800
36801 2014-03-27 Andi Kleen <ak@linux.intel.com>
36802
36803 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
36804 (lll_robust_lock, lll_cond_lock, lll_timedlock)
36805 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36806 (lll_robust_unlock): Remove out of line section. Use cfi
36807 intrinsics.
36808 (LLL_STUB_UNWIND_INFO*): Remove.
36809 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
36810 (lll_robust_lock, lll_cond_lock, lll_timedlock)
36811 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36812 (lll_robust_unlock): Remove out of line section. Use cfi
36813 intrinsics.
36814 (LLL_STUB_UNWIND_INFO*): Remove.
36815
36816 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36817
36818 [BZ #16758]
36819 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
36820 blank values.
36821
36822 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
36823
36824 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
36825
36826 2014-03-26 Joseph Myers <joseph@codesourcery.com>
36827
36828 [BZ #16198]
36829 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
36830 fnstenv.
36831 * math/test-fenv-preserve.c: New file.
36832 * math/Makefile (tests): Add test-fenv-preserve.
36833
36834 2014-03-26 Will Newton <will.newton@linaro.org>
36835
36836 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
36837
36838 2014-03-25 Roland McGrath <roland@hack.frob.com>
36839
36840 * scripts/versionlist.awk: Partition the version sets and emit all
36841 GLIBC_* (sorted) before all others (sorted).
36842
36843 2014-03-25 Joseph Myers <joseph@codesourcery.com>
36844
36845 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
36846 GLIBC_2.2.5 version.
36847
36848 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36849
36850 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36851 calls.
36852
36853 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36854 previous change.
36855
36856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36857
36858 2014-03-25 Andreas Schwab <schwab@suse.de>
36859
36860 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36861 label to be used after in6ailist is initialized.
36862
36863 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36864
36865 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36866 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36867
36868 2014-03-25 Joseph Myers <joseph@codesourcery.com>
36869
36870 [BZ #16357]
36871 [BZ #16599]
36872 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36873 min_plus_half.
36874 (fp_formats): Update initializers.
36875 (init_fp_formats): Initialize new field.
36876 (output_for_one_input_case): Allow underflow for results up to
36877 min_plus_half.
36878 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36879 * math/auto-libm-test-in: Don't mark some underflows from asin and
36880 atanh as spurious.
36881 * math/auto-libm-test-out: Regenerated.
36882 * sysdeps/i386/fpu/libm-test-ulps: Update.
36883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36884
36885 2014-03-25 Andreas Schwab <schwab@suse.de>
36886
36887 * libio/Makefile (tst-ftell-partial-wide-ENV)
36888 (tst-ftell-active-handler-ENV): Define.
36889
36890 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
36891
36892 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36893
36894 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
36895
36896 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36897
36898 2014-03-24 Joseph Myers <joseph@codesourcery.com>
36899
36900 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36901 * sysdeps/x86_64/fpu/multiarch/e_exp.c
36902 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36903
36904 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
36905
36906 [BZ #16634]
36907 * elf/dl-load.c (open_verify): Add mode parameter.
36908 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36909 (open_path): Change from boolean 'secure' to complete flag 'mode'
36910 (_dl_map_object): Adjust.
36911 * elf/Makefile (tests): Add tst-dlopen-aout.
36912 * elf/tst-dlopen-aout.c: New test.
36913
36914 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
36915
36916 [BZ #16714]
36917 * sysdeps/unix/sysv/linux/s390/bits/stat.h
36918 (struct stat): Rename member pad0 to __glibc_reserved0.
36919
36920 [BZ #16712]
36921 * sysdeps/s390/s390-32/bits/wordsize.h
36922 (__WORDSIZE32_SIZE_ULONG): New define.
36923 * sysdeps/s390/s390-64/bits/wordsize.h
36924 (__WORDSIZE32_SIZE_ULONG): Likewise.
36925 * sysdeps/generic/stdint.h (SIZE_MAX):
36926 Define as UL if __WORDSIZE32_SIZE_ULONG.
36927
36928 [BZ #16713]
36929 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36930 (__glibc_reserved0): New variable.
36931 (sa_flags): Change type to int.
36932
36933 * posix/Makefile (before-compile): Use += before-compile instead
36934 of a :=.
36935
36936 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36937 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36938
36939 2014-03-20 Andreas Schwab <schwab@suse.de>
36940
36941 [BZ #16743]
36942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36943 non-matching result from nscd.
36944
36945 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
36946
36947 * scripts/bench.py: Moved to ...
36948 * benchtests/scripts/bench.py: ... here.
36949 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36950
36951 2014-03-24 Andreas Schwab <schwab@suse.de>
36952
36953 [BZ #16002]
36954 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36955 alloca_account and account alloca use for struct in6ailist.
36956
36957 2014-03-24 Joseph Myers <joseph@codesourcery.com>
36958
36959 [BZ #16284]
36960 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36961 rounding mode to recompute results that overflow to infinity or
36962 underflow to zero.
36963 * math/auto-libm-test-in: Don't mark tests as expected to fail for
36964 bug 16284.
36965 * math/auto-libm-test-out: Regenerated.
36966 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36967 (ccosh_test): Likewise.
36968 (csin_test_data): Use plus_oflow.
36969 (csin_test): Use ALL_RM_TEST.
36970 (csinh_test_data): Use plus_oflow.
36971 (csinh_test): Use ALL_RM_TEST.
36972 * sysdeps/i386/fpu/libm-test-ulps: Update.
36973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36974
36975 2014-03-21 Joseph Myers <joseph@codesourcery.com>
36976
36977 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36978 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36979 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36980
36981 [BZ #16731]
36982 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36983 when x - 1 is zero.
36984 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36985 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36986 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36987 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36988 argument is 1.
36989 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36990 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36991 zero.
36992 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36993 * sysdeps/i386/fpu/libm-test-ulps: Update.
36994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36995
36996 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36997
36998 * scripts/bench.pl: Remove file.
36999 * scripts/bench.py: New benchmark script.
37000 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37001 * benchtests/README: Mention python dependency.
37002 * scripts/pylintrc: New file.
37003 * scripts/pylint: New file.
37004
37005 * bits/mathdef.h: Use #ifdef instead of #if.
37006 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37007 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37008 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37009 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37010 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37011 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37012
37013 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37014 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37015
37016 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37018 and strpbrk-ppc64 objects.
37019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37020 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37021 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37022 multiarch strpbrk for POWER7.
37023 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37024 multiarch strpbrk for PPC64.
37025 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37026 ifunc selector.
37027 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37028 strpbrk for POWER7.
37029
37030 2014-03-20 Joseph Myers <joseph@codesourcery.com>
37031
37032 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37033 (atan_test): Likewise.
37034 (atanh_test_data): Use NO_TEST_INLINE for two tests.
37035 (atanh_test): Use ALL_RM_TEST.
37036 (atan2_test_data): Likewise.
37037 (cabs_test): Likewise.
37038 (cacosh_test): Likewise.
37039 (carg_test): Likewise.
37040 (casin_test): Likewise.
37041 (casinh_test): Likewise.
37042 (cbrt_test): Likewise.
37043 (csqrt_test): Likewise.
37044 (erf_test): Likewise.
37045 (erfc_test): Likewise.
37046 (pow10_test): Likewise.
37047 (exp2_test): Likewise.
37048 (hypot_test): Likewise.
37049 (j0_test): Likewise.
37050 (j1_test): Likewise.
37051 (lgamma_test): Likewise.
37052 (gamma_test): Likewise.
37053 (sincos_test): Likewise.
37054 (tanh_test): Likewise.
37055 (y0_test): Likewise.
37056 (y1_test): Likewise.
37057 * sysdeps/i386/fpu/libm-test-ulps: Update.
37058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37059
37060 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37061
37062 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37064 and strcspn-ppc64 objects.
37065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37066 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37067 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37068 multiarch strcspn for POWER7.
37069 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37070 multiarch strcspn for PPC64.
37071 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37072 ifunc selector.
37073 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37074 strcspn for POWER7.
37075
37076 2014-03-20 Joseph Myers <joseph@codesourcery.com>
37077
37078 * math/gen-libm-test.pl (generate_testfile): Expect only function
37079 name as argument to AUTO_TESTS_* and pass results for all rounding
37080 modes to parse_args.
37081 (parse_auto_input): Separate inputs of automatic tests from
37082 outputs before storing in %auto_tests.
37083 * math/libm-test.inc (acos_test_data): Update call to
37084 AUTO_TESTS_f_f.
37085 (acos_test): Use ALL_RM_TEST.
37086 (acos_tonearest_test_data): Remove.
37087 (acos_test_tonearest): Likewise.
37088 (acos_towardzero_test_data): Likewise.
37089 (acos_test_towardzero): Likewise.
37090 (acos_downward_test_data): Likewise.
37091 (acos_test_downward): Likewise.
37092 (acos_upward_test_data): Likewise.
37093 (acos_test_upward): Likewise.
37094 (acosh_test_data): Update call to AUTO_TESTS_f_f.
37095 (asin_test_data): Likewise.
37096 (asin_test): Use ALL_RM_TEST.
37097 (asin_tonearest_test_data): Remove.
37098 (asin_test_tonearest): Likewise.
37099 (asin_towardzero_test_data): Likewise.
37100 (asin_test_towardzero): Likewise.
37101 (asin_downward_test_data): Likewise.
37102 (asin_test_downward): Likewise.
37103 (asin_upward_test_data): Likewise.
37104 (asin_test_upward): Likewise.
37105 (asinh_test_data): Update call to AUTO_TESTS_f_f.
37106 (atan_test_data): Likewise.
37107 (atanh_test_data): Likewise.
37108 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37109 (cabs_test_data): Update call to AUTO_TESTS_c_f.
37110 (carg_test_data): Likewise.
37111 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37112 (ccos_test_data): Update call to AUTO_TESTS_c_c.
37113 (ccosh_test_data): Likewise.
37114 (cexp_test_data): Likewise.
37115 (clog_test_data): Likewise.
37116 (clog10_test_data): Likewise.
37117 (cos_test_data): Update call to AUTO_TESTS_f_f.
37118 (cos_test): Use ALL_RM_TEST.
37119 (cos_tonearest_test_data): Remove.
37120 (cos_test_tonearest): Likewise.
37121 (cos_towardzero_test_data): Likewise.
37122 (cos_test_towardzero): Likewise.
37123 (cos_downward_test_data): Likewise.
37124 (cos_test_downward): Likewise.
37125 (cos_upward_test_data): Likewise.
37126 (cos_test_upward): Likewise.
37127 (cosh_test_data): Update call to AUTO_TESTS_f_f.
37128 (cosh_test): Use ALL_RM_TEST.
37129 (cosh_tonearest_test_data): Remove.
37130 (cosh_test_tonearest): Likewise.
37131 (cosh_towardzero_test_data): Likewise.
37132 (cosh_test_towardzero): Likewise.
37133 (cosh_downward_test_data): Likewise.
37134 (cosh_test_downward): Likewise.
37135 (cosh_upward_test_data): Likewise.
37136 (cosh_test_upward): Likewise.
37137 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37138 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37139 (ctan_test_data): Likewise.
37140 (ctan_test): Use ALL_RM_TEST.
37141 (ctan_tonearest_test_data): Remove.
37142 (ctan_test_tonearest): Likewise.
37143 (ctan_towardzero_test_data): Likewise.
37144 (ctan_test_towardzero): Likewise.
37145 (ctan_downward_test_data): Likewise.
37146 (ctan_test_downward): Likewise.
37147 (ctan_upward_test_data): Likewise.
37148 (ctan_test_upward): Likewise.
37149 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37150 (ctanh_test): Use ALL_RM_TEST.
37151 (ctanh_tonearest_test_data): Remove.
37152 (ctanh_test_tonearest): Likewise.
37153 (ctanh_towardzero_test_data): Likewise.
37154 (ctanh_test_towardzero): Likewise.
37155 (ctanh_downward_test_data): Likewise.
37156 (ctanh_test_downward): Likewise.
37157 (ctanh_upward_test_data): Likewise.
37158 (ctanh_test_upward): Likewise.
37159 (erf_test_data): Update call to AUTO_TESTS_f_f.
37160 (erfc_test_data): Likewise.
37161 (exp_test_data): Likewise.
37162 (exp_test): Use ALL_RM_TEST.
37163 (exp_tonearest_test_data): Remove.
37164 (exp_test_tonearest): Likewise.
37165 (exp_towardzero_test_data): Likewise.
37166 (exp_test_towardzero): Likewise.
37167 (exp_downward_test_data): Likewise.
37168 (exp_test_downward): Likewise.
37169 (exp_upward_test_data): Likewise.
37170 (exp_test_upward): Likewise.
37171 (exp10_test_data): Update call to AUTO_TESTS_f_f.
37172 (exp10_test): Use ALL_RM_TEST.
37173 (exp10_tonearest_test_data): Remove.
37174 (exp10_test_tonearest): Likewise.
37175 (exp10_towardzero_test_data): Likewise.
37176 (exp10_test_towardzero): Likewise.
37177 (exp10_downward_test_data): Likewise.
37178 (exp10_test_downward): Likewise.
37179 (exp10_upward_test_data): Likewise.
37180 (exp10_test_upward): Likewise.
37181 (exp2_test_data): Update call to AUTO_TESTS_f_f.
37182 (expm1_test_data): Likewise.
37183 (expm1_test): Use ALL_RM_TEST.
37184 (expm1_tonearest_test_data): Remove.
37185 (expm1_test_tonearest): Likewise.
37186 (expm1_towardzero_test_data): Likewise.
37187 (expm1_test_towardzero): Likewise.
37188 (expm1_downward_test_data): Likewise.
37189 (expm1_test_downward): Likewise.
37190 (expm1_upward_test_data): Likewise.
37191 (expm1_test_upward): Likewise.
37192 (fma_test_data): Update call to AUTO_TESTS_fff_f.
37193 (fma_test): Use ALL_RM_TEST.
37194 (fma_towardzero_test_data): Remove.
37195 (fma_test_towardzero): Likewise.
37196 (fma_downward_test_data): Likewise.
37197 (fma_test_downward): Likewise.
37198 (fma_upward_test_data): Likewise.
37199 (fma_test_upward): Likewise.
37200 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37201 (j0_test_data): Update call to AUTO_TESTS_f_f.
37202 (j1_test_data): Likewise.
37203 (jn_test_data): Update call to AUTO_TESTS_if_f.
37204 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37205 (log_test_data): Update call to AUTO_TESTS_f_f.
37206 (log10_test_data): Likewise.
37207 (log1p_test_data): Likewise.
37208 (log2_test_data): Likewise.
37209 (pow_test_data): Update call to AUTO_TESTS_ff_f.
37210 (pow_tonearest_test_data): Likewise.
37211 (sin_test_data): Update call to AUTO_TESTS_f_f.
37212 (sin_test): Use ALL_RM_TEST.
37213 (sin_tonearest_test_data): Remove.
37214 (sin_test_tonearest): Likewise.
37215 (sin_towardzero_test_data): Likewise.
37216 (sin_test_towardzero): Likewise.
37217 (sin_downward_test_data): Likewise.
37218 (sin_test_downward): Likewise.
37219 (sin_upward_test_data): Likewise.
37220 (sin_test_upward): Likewise.
37221 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37222 (sinh_test_data): Update call to AUTO_TESTS_f_f.
37223 (sinh_test): Use ALL_RM_TEST.
37224 (sinh_tonearest_test_data): Remove.
37225 (sinh_test_tonearest): Likewise.
37226 (sinh_towardzero_test_data): Likewise.
37227 (sinh_test_towardzero): Likewise.
37228 (sinh_downward_test_data): Likewise.
37229 (sinh_test_downward): Likewise.
37230 (sinh_upward_test_data): Likewise.
37231 (sinh_test_upward): Likewise.
37232 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37233 (sqrt_test): Use ALL_RM_TEST.
37234 (sqrt_tonearest_test_data): Remove.
37235 (sqrt_test_tonearest): Likewise.
37236 (sqrt_towardzero_test_data): Likewise.
37237 (sqrt_test_towardzero): Likewise.
37238 (sqrt_downward_test_data): Likewise.
37239 (sqrt_test_downward): Likewise.
37240 (sqrt_upward_test_data): Likewise.
37241 (sqrt_test_upward): Likewise.
37242 (tan_test_data): Update call to AUTO_TESTS_f_f.
37243 (tan_test): Use ALL_RM_TEST.
37244 (tan_tonearest_test_data): Remove.
37245 (tan_test_tonearest): Likewise.
37246 (tan_towardzero_test_data): Likewise.
37247 (tan_test_towardzero): Likewise.
37248 (tan_downward_test_data): Likewise.
37249 (tan_test_downward): Likewise.
37250 (tan_upward_test_data): Likewise.
37251 (tan_test_upward): Likewise.
37252 (tanh_test_data): Update call to AUTO_TESTS_f_f.
37253 (tgamma_test_data): Likewise.
37254 (y0_test_data): Likewise.
37255 (y1_test_data): Likewise.
37256 (yn_test_data): Update call to AUTO_TESTS_if_f.
37257 (main): Do not call removed functions.
37258
37259 2014-03-19 Joseph Myers <joseph@codesourcery.com>
37260
37261 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37262 (ldexp_test_data): Remove.
37263 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
37264 scalbn_test_data.
37265 (scalb_test): Use ALL_RM_TEST.
37266
37267 2014-03-19 Andreas Schwab <schwab@suse.de>
37268
37269 * nscd/nscd.service: Also invalidate netgroup cache on reload.
37270
37271 2014-03-19 Joseph Myers <joseph@codesourcery.com>
37272
37273 [BZ #16649]
37274 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37275 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37276 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37277 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37278 (__ASSUME_PREADV): Undefine.
37279 (__ASSUME_PWRITEV): Likewise.
37280
37281 2014-03-18 Roland McGrath <roland@hack.frob.com>
37282
37283 * bits/mman-linux.h: Add comment about non-Linux use.
37284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37285 bits/mman-linux.h resting place.
37286
37287 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37288 * bits/mman-linux.h: ... here.
37289
37290 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37291
37292 * conform/conformtest.pl: Add standard definition when calling C
37293 preprocessor on data files.
37294 (checknamespace): Remove unused variable.
37295
37296 2014-03-18 Joseph Myers <joseph@codesourcery.com>
37297
37298 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37299 minus_oflow, plus_uflow and minus_uflow in expected results.
37300 * math/libm-test.inc (scalbn_test_data): Add more tests of
37301 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
37302 minus_uflow.
37303 (scalbn_test): Use ALL_RM_TEST.
37304 (scalbln_test_data): Add more tests of negative arguments. Use
37305 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37306 (scalbln_test): Use ALL_RM_TEST.
37307
37308 2014-03-18 Roland McGrath <roland@hack.frob.com>
37309
37310 * scripts/abilist.awk: Ignore symbols marked with .hidden.
37311
37312 2014-03-18 Will Newton <will.newton@linaro.org>
37313
37314 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37315 inaccurate comment.
37316
37317 2014-03-18 Joseph Myers <joseph@codesourcery.com>
37318
37319 * Makerules [!subdir] (check-abi): Exit with error status if a
37320 test failed.
37321
37322 2014-03-17 Joseph Myers <joseph@codesourcery.com>
37323
37324 * math/libm-test.inc (nearbyint_test_data): Include all tests used
37325 for rint. Include results for all rounding modes.
37326 (nearbyint_test): Use ALL_RM_TEST.
37327 (rint_test_data): Include all tests used for nearbyint.
37328
37329 2014-03-17 Will Newton <will.newton@linaro.org>
37330
37331 * nptl/sysdeps/pthread/pthread.h: Revert previous
37332 change.
37333
37334 * sysdeps/generic/ldsodefs.h: Revert previous
37335 change.
37336
37337 * libio/genops.c: Revert previous change.
37338 * libio/libioP.h: Likewise.
37339 * stdio-common/vfprintf.c: Likewise.
37340
37341 * sysdeps/generic/math_private.h: Revert previous
37342 change.
37343
37344 * sysdeps/generic/math_private.h: Check whether
37345 HAVE_RM_CTX is defined with #ifdef rather
37346 than #if.
37347
37348 * argp/argp-fmtstream.h: Check whether
37349 __STRICT_ANSI__ is defined with #ifdef rather
37350 than #if.
37351 * argp/argp.h: Likewise.
37352
37353 * libio/genops.c: Check whether
37354 _IO_JUMPS_OFFSET is defined with #ifdef rather
37355 than #if.
37356 * libio/libioP.h: Likewise.
37357 * stdio-common/vfprintf.c: Likewise.
37358
37359 * sysdeps/generic/ldsodefs.h: Check whether
37360 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37361 than #if.
37362
37363 * nptl/sysdeps/pthread/pthread.h: Check
37364 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37365 its value.
37366
37367 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37368
37369 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37370 setting O_APPEND.
37371 * libio/tst-ftell-active-handler.c (do_append_test): Add a
37372 test case.
37373
37374 [BZ #16680]
37375 * libio/fileops.c (_IO_file_open): Seek to end of file but
37376 don't cache the offset.
37377 (get_file_offset): Remove function.
37378 (do_ftell): Use cached offset when available.
37379 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37380 don't cache the offset.
37381 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37382 case.
37383 (do_one_test): Call it.
37384 (do_ftell_test): Fix up expected old offset for a+ mode.
37385 * libio/wfileops.c (do_ftell_wide): Used cached offset when
37386 available.
37387
37388 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37389 up test status with function return status.
37390 (do_write_test): Likewise.
37391 (do_append_test): Likewise.
37392
37393 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37394 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37395 Remove.
37396
37397 2014-03-17 Joseph Myers <joseph@codesourcery.com>
37398
37399 * math/gen-libm-test.pl (parse_args): Handle results specified for
37400 each rounding mode separately.
37401 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37402 tests and results from lrint_tonearest_test_data,
37403 lrint_towardzero_test_data, lrint_downward_test_data and
37404 lrint_upward_test_data.
37405 (lrint_test): Use ALL_RM_TEST.
37406 (lrint_tonearest_test_data): Remove.
37407 (lrint_test_tonearest): Likewise.
37408 (lrint_towardzero_test_data): Likewise.
37409 (lrint_test_towardzero): Likewise.
37410 (lrint_downward_test_data): Likewise.
37411 (lrint_test_downward): Likewise.
37412 (lrint_upward_test_data): Likewise.
37413 (lrint_test_upward): Likewise.
37414 (llrint_test_data): Merge in per-rounding-mode tests and results
37415 from llrint_tonearest_test_data, llrint_towardzero_test_data,
37416 llrint_downward_test_data and llrint_upward_test_data.
37417 (llrint_test): Use ALL_RM_TEST.
37418 (llrint_tonearest_test_data): Remove.
37419 (llrint_test_tonearest): Likewise.
37420 (llrint_towardzero_test_data): Likewise.
37421 (llrint_test_towardzero): Likewise.
37422 (llrint_downward_test_data): Likewise.
37423 (llrint_test_downward): Likewise.
37424 (llrint_upward_test_data): Likewise.
37425 (llrint_test_upward): Likewise.
37426 (rint_test_data): Merge in per-rounding-mode tests and results
37427 from rint_tonearest_test_data, rint_towardzero_test_data,
37428 rint_downward_test_data and rint_upward_test_data. Add
37429 per-rounding-mode results for tests not in those arrays.
37430 (rint_test): Use ALL_RM_TEST.
37431 (rint_tonearest_test_data): Remove.
37432 (rint_test_tonearest): Likewise.
37433 (rint_towardzero_test_data): Likewise.
37434 (rint_test_towardzero): Likewise.
37435 (rint_downward_test_data): Likewise.
37436 (rint_test_downward): Likewise.
37437 (rint_upward_test_data): Likewise.
37438 (rint_test_upward): Likewise.
37439 (main): Don't call removed functions.
37440
37441 2014-03-14 Roland McGrath <roland@hack.frob.com>
37442
37443 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37444 "Compiled on ..." crapola. It is anti-useful.
37445
37446 2014-03-14 Joseph Myers <joseph@codesourcery.com>
37447
37448 * scripts/evaluate-test.sh: Handle fourth argument to determine
37449 whether test run should stop on failure.
37450 * Makeconfig (stop-on-test-failure): New variable.
37451 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37452 $(stop-on-test-failure).
37453 * Makefile (tests): Give a summary of results from testing and
37454 exit with failure status if they include an ERROR or FAIL.
37455 (xtests): Likewise.
37456 * manual/install.texi (Configuring and compiling): Mention
37457 stop-on-test-failure=y.
37458 * INSTALL: Regenerated.
37459
37460 2014-03-14 Roland McGrath <roland@hack.frob.com>
37461
37462 * scripts/versionlist.awk: New file.
37463 * Makerules [$(build-shared) = yes]
37464 (postclean-generated): Add Versions.def, not Versions.def.v and
37465 Versions.def.v.i.
37466 ($(common-objpfx)Versions.def.v.i): Target removed.
37467 ($(common-objpfx)Versions.def): New target.
37468 ($(common-objpfx)Versions.all): Depend on that rather that
37469 $(common-objpfx)Versions.def.v.
37470 * Versions.def: File removed.
37471
37472 * Makeconfig (+gccwarn): Add -Wundef.
37473 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37474 a dl-sysdep.h breaking its contract.
37475 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37476 * include/stackinfo.h: New file.
37477 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37478 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37479 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37480 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37481 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37482 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37483 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37484 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37485 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37486 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37487 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37488 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37489 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37490 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37491 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37492
37493 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37494
37495 [BZ #16707]
37496 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37497 implementation.
37498 * math/libm-test.inc (round_test_data): Add more tests.
37499
37500 [BZ #16706]
37501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37502 implementation.
37503 * math/libm-test.inc (nearbyint_test_data): Add more tests.
37504
37505 [BZ #16701]
37506 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37507 implementation.
37508 * math/libm-test.inc (ceil_test_data): Add more tests.
37509
37510 * math/libm-test.inc (trunc_test_data): Add more tests related to
37511 BZ#16414.
37512
37513 2014-03-14 Roland McGrath <roland@hack.frob.com>
37514
37515 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37516 with #if rather than #ifdef.
37517 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37518
37519 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
37520
37521 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37522 first. Disable AVX-512 GCC support if assembler doesn't support
37523 it.
37524 * sysdeps/x86_64/configure: Regenerated.
37525
37526 2014-03-13 Carlos O'Donell <carlos@redhat.com>
37527
37528 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37529 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37530 (__old_pthread_attr_setstack): Likewise.
37531 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37532 [!_STACK_GROWS_DOWN]: Likewise.
37533
37534 2014-03-13 Mike Frysinger <vapier@gentoo.org>
37535
37536 * config.make.in (have-bash2): Delete.
37537 * configure.ac (libc_cv_have_bash2): Delete.
37538 * configure: Regenerate.
37539 * elf/Makefile (common-ldd-rewrite): Rename to ...
37540 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
37541 (sh-ldd-rewrite): Delete.
37542 (bash-ldd-rewrite): Delete.
37543 (have-bash2): Delete checks.
37544 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37545 ldd-rewrite.
37546
37547 * config.make.in (have-ksh): Delete.
37548 (KSH): Delete.
37549 * configure.ac (libc_cv_have_ksh): Delete.
37550 * configure: Regenerate.
37551
37552 * elf/Makefile: Delete $(have-ksh) check.
37553 ($(objpfx)sotruss): Change KSH to BASH.
37554 * elf/sotruss.ksh: Rename to ...
37555 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
37556 function style to match POSIX. Drop ksh vim mode setting.
37557
37558 * manual/time.texi (Specifying the Time Zone with TZ): Change
37559 Tuesday to Thursday.
37560
37561 * debug/tst-longjmp_chk2.c: Update header comment.
37562 (stackoverflow_handler): Add comment. Call assert on pass value.
37563
37564 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
37565
37566 [BZ #16194]
37567 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37568 (HAVE_AVX512_ASM_SUPPORT): Likewise.
37569 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37570 (La_x86_64_vector): Add zmm.
37571 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37572 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37573 ($(objpfx)tst-audit10): New target.
37574 ($(objpfx)tst-audit10.out): Likewise.
37575 (tst-audit10-ENV): New.
37576 (AVX512-CFLAGS): Likewise.
37577 (CFLAGS-tst-audit10.c): Likewise.
37578 (CFLAGS-tst-auditmod10a.c): Likewise.
37579 (CFLAGS-tst-auditmod10b.c): Likewise.
37580 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37581 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37582 * sysdeps/x86_64/configure: Regenerated.
37583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37584 AVX-512 zmm register support.
37585 (_dl_x86_64_save_sse): Likewise.
37586 (_dl_x86_64_restore_sse): Likewise.
37587 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37588 size vector registers.
37589 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37590 (ZMM_SIZE): Likewise.
37591 * sysdeps/x86_64/tst-audit10.c: New file.
37592 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37593 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37594
37595 2014-03-13 Roland McGrath <roland@hack.frob.com>
37596
37597 * configure.ac (HAVE_EHDR_START): New check.
37598 * configure: Regenerated.
37599 * config.h.in (HAVE_EHDR_START): New #undef.
37600 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37601 assuming the lowest-addressed segment maps the start of the file.
37602
37603 2014-03-13 Joseph Myers <joseph@codesourcery.com>
37604
37605 * INSTALL: Regenerated.
37606
37607 2014-03-13 Will Newton <will.newton@linaro.org>
37608
37609 * manual/setjmp.texi (System V contexts): Improve
37610 clarity and grammar of documentation.
37611
37612 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
37613
37614 [BZ #16381]
37615 * elf/Makefile (tests): Add tst-pie2.
37616 (tests-pie): Add tst-pie2.
37617 * elf/tst-pie2.c: New file.
37618 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37619 for ET_EXEC.
37620 * elf/rtld.c (map_doit): Load executable as lt_executable.
37621 (dl_main): Likewise.
37622
37623 2014-03-12 Joseph Myers <joseph@codesourcery.com>
37624
37625 [BZ #16642]
37626 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37627 (__ASSUME_PSELECT): Undefine.
37628
37629 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37630
37631 [BZ #16689]
37632 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37633 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37634 static build.
37635 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37636 selector for static builds.
37637
37638 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37639
37640 [BZ #16695]
37641 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37642 key in the buffer.
37643
37644 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37645
37646 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37647 IFUNC selector for static builds.
37648
37649 2014-03-11 Joseph Myers <joseph@codesourcery.com>
37650
37651 * sysdeps/mips/math_private.h [__mips_hard_float]
37652 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37653 libc_feresetround_mips_ctx.
37654 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37655 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37656 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37657
37658 [BZ #16677]
37659 * math/s_nextafter.c (__nextafter): Do not return value from
37660 overflowing computation.
37661 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37662 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37663 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37664 Likewise.
37665 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37666 Likewise.
37667 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37668 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37669
37670 2014-03-11 Roland McGrath <roland@hack.frob.com>
37671
37672 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37673 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37674 Move sfi_sp use from the load-multiple (that no longer sets sp) to
37675 the new mov targetting sp.
37676
37677 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37678
37679 [BZ #16683]
37680 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37681 Define it for static builds as well.
37682 (NO_BZERO_IMPL): Likewise.
37683
37684 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37685
37686 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37687 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37688 multiarch strspn for PPC64.
37689 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37690 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37692 (__libc_ifunc_impl_list): Likewise.
37693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37694 multiarch optimizations
37695 * string/strspn.c (strspn): Using macro to redefine symbol name.
37696
37697 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37698 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37699
37700 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37701 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37702 multiarch strncat for PPC64.
37703 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37704 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37706 (__libc_ifunc_impl_list): Likewise.
37707 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37708 multiarch optimizations
37709
37710 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37711
37712 [BZ #16639]
37713 * nscd/nscd.service: Make service type forking.
37714
37715 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37716
37717 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37718 sign in non default rounding modes.
37719 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37720
37721 2014-03-08 Joseph Myers <joseph@codesourcery.com>
37722
37723 * math/libm-test.inc (ALL_RM_TEST): New macro.
37724 (ceil_test): Use ALL_RM_TEST.
37725 (cimag_test): Likewise.
37726 (conj_test): Likewise.
37727 (copysign_test): Likewise.
37728 (cproj_test): Likewise.
37729 (creal_test): Likewise.
37730 (fabs_test): Likewise.
37731 (floor_test): Likewise.
37732 (fmax_test): Likewise.
37733 (fmin_test): Likewise.
37734 (fmod_test): Likewise.
37735 (fpclassify_test): Likewise.
37736 (frexp_test): Likewise.
37737 (ilogb_test): Likewise.
37738 (isfinite_test): Likewise.
37739 (finite_test): Likewise.
37740 (isgreater_test): Likewise.
37741 (isgreaterequal_test): Likewise.
37742 (isinf_test): Likewise.
37743 (isless_test): Likewise.
37744 (islessequal_test): Likewise.
37745 (islessgreater_test): Likewise.
37746 (isnan_test): Likewise.
37747 (isnormal_test): Likewise.
37748 (issignaling_test): Likewise.
37749 (isunordered_test): Likewise.
37750 (logb_test): Likewise.
37751 (logb_downward_test_data): Remove.
37752 (logb_test_downward): Likewise.
37753 (lround_test): Use ALL_RM_TEST.
37754 (llround_test): Likewise.
37755 (modf_test): Likewise.
37756 (nexttoward_test): Likewise.
37757 (remainder_test): Likewise.
37758 (drem_test): Likewise.
37759 (remainder_tonearest_test_data): Likewise.
37760 (remainder_test_tonearest): Likewise.
37761 (drem_test_tonearest): Likewise.
37762 (remainder_towardzero_test_data): Likewise.
37763 (remainder_test_towardzero): Likewise.
37764 (drem_test_towardzero): Likewise.
37765 (remainder_downward_test_data): Likewise.
37766 (remainder_test_downward): Likewise.
37767 (drem_test_downward): Likewise.
37768 (remainder_upward_test_data): Likewise.
37769 (remainder_test_upward): Likewise.
37770 (drem_test_upward): Likewise.
37771 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
37772 (round_test): Use ALL_RM_TEST.
37773 (signbit_test): Likewise.
37774 (trunc_test): Likewise.
37775 (significand_test): Likewise.
37776 (main): Don't call removed functions.
37777
37778 2014-03-07 Joseph Myers <joseph@codesourcery.com>
37779
37780 [BZ #16674]
37781 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
37782 || __USE_XOPEN2K8].
37783 (ILL_ILLOPN): Likewise.
37784 (ILL_ILLADR): Likewise.
37785 (ILL_ILLTRP): Likewise.
37786 (ILL_PRVOPC): Likewise.
37787 (ILL_PRVREG): Likewise.
37788 (ILL_COPROC): Likewise.
37789 (ILL_BADSTK): Likewise.
37790 (FPE_INTDIV): Likewise.
37791 (FPE_INTOVF): Likewise.
37792 (FPE_FLTDIV): Likewise.
37793 (FPE_FLTOVF): Likewise.
37794 (FPE_FLTUND): Likewise.
37795 (FPE_FLTRES): Likewise.
37796 (FPE_FLTINV): Likewise.
37797 (FPE_FLTSUB): Likewise.
37798 (SEGV_MAPERR): Likewise.
37799 (SEGV_ACCERR): Likewise.
37800 (BUS_ADRALN): Likewise.
37801 (BUS_ADRERR): Likewise.
37802 (BUS_OBJERR): Likewise.
37803 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37804 (TRAP_TRACE): Likewise.
37805 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37806 __USE_XOPEN2K8].
37807 (CLD_KILLED): Likewise.
37808 (CLD_DUMPED): Likewise.
37809 (CLD_TRAPPED): Likewise.
37810 (CLD_STOPPED): Likewise.
37811 (CLD_CONTINUED): Likewise.
37812 (POLL_IN): Likewise.
37813 (POLL_OUT): Likewise.
37814 (POLL_MSG): Likewise.
37815 (POLL_ERR): Likewise.
37816 (POLL_PRI): Likewise.
37817 (POLL_HUP): Likewise.
37818 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
37819 Likewise.
37820 (ILL_ILLOPN): Likewise.
37821 (ILL_ILLADR): Likewise.
37822 (ILL_ILLTRP): Likewise.
37823 (ILL_PRVOPC): Likewise.
37824 (ILL_PRVREG): Likewise.
37825 (ILL_COPROC): Likewise.
37826 (ILL_BADSTK): Likewise.
37827 (FPE_INTDIV): Likewise.
37828 (FPE_INTOVF): Likewise.
37829 (FPE_FLTDIV): Likewise.
37830 (FPE_FLTOVF): Likewise.
37831 (FPE_FLTUND): Likewise.
37832 (FPE_FLTRES): Likewise.
37833 (FPE_FLTINV): Likewise.
37834 (FPE_FLTSUB): Likewise.
37835 (SEGV_MAPERR): Likewise.
37836 (SEGV_ACCERR): Likewise.
37837 (BUS_ADRALN): Likewise.
37838 (BUS_ADRERR): Likewise.
37839 (BUS_OBJERR): Likewise.
37840 (BUS_MCEERR_AR): Likewise.
37841 (BUS_MCEERR_AO): Likewise.
37842 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37843 (TRAP_TRACE): Likewise.
37844 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37845 __USE_XOPEN2K8].
37846 (CLD_KILLED): Likewise.
37847 (CLD_DUMPED): Likewise.
37848 (CLD_TRAPPED): Likewise.
37849 (CLD_STOPPED): Likewise.
37850 (CLD_CONTINUED): Likewise.
37851 (POLL_IN): Likewise.
37852 (POLL_OUT): Likewise.
37853 (POLL_MSG): Likewise.
37854 (POLL_ERR): Likewise.
37855 (POLL_PRI): Likewise.
37856 (POLL_HUP): Likewise.
37857 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37858 (ILL_ILLOPN): Likewise.
37859 (ILL_ILLADR): Likewise.
37860 (ILL_ILLTRP): Likewise.
37861 (ILL_PRVOPC): Likewise.
37862 (ILL_PRVREG): Likewise.
37863 (ILL_COPROC): Likewise.
37864 (ILL_BADSTK): Likewise.
37865 (FPE_INTDIV): Likewise.
37866 (FPE_INTOVF): Likewise.
37867 (FPE_FLTDIV): Likewise.
37868 (FPE_FLTOVF): Likewise.
37869 (FPE_FLTUND): Likewise.
37870 (FPE_FLTRES): Likewise.
37871 (FPE_FLTINV): Likewise.
37872 (FPE_FLTSUB): Likewise.
37873 (SEGV_MAPERR): Likewise.
37874 (SEGV_ACCERR): Likewise.
37875 (BUS_ADRALN): Likewise.
37876 (BUS_ADRERR): Likewise.
37877 (BUS_OBJERR): Likewise.
37878 (BUS_MCEERR_AR): Likewise.
37879 (BUS_MCEERR_AO): Likewise.
37880 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37881 (TRAP_TRACE): Likewise.
37882 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37883 __USE_XOPEN2K8].
37884 (CLD_KILLED): Likewise.
37885 (CLD_DUMPED): Likewise.
37886 (CLD_TRAPPED): Likewise.
37887 (CLD_STOPPED): Likewise.
37888 (CLD_CONTINUED): Likewise.
37889 (POLL_IN): Likewise.
37890 (POLL_OUT): Likewise.
37891 (POLL_MSG): Likewise.
37892 (POLL_ERR): Likewise.
37893 (POLL_PRI): Likewise.
37894 (POLL_HUP): Likewise.
37895 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37896 Likewise.
37897 (ILL_ILLOPN): Likewise.
37898 (ILL_ILLADR): Likewise.
37899 (ILL_ILLTRP): Likewise.
37900 (ILL_PRVOPC): Likewise.
37901 (ILL_PRVREG): Likewise.
37902 (ILL_COPROC): Likewise.
37903 (ILL_BADSTK): Likewise.
37904 (ILL_BADIADDR): Likewise.
37905 (ILL_BREAK): Likewise.
37906 (FPE_INTDIV): Likewise.
37907 (FPE_INTOVF): Likewise.
37908 (FPE_FLTDIV): Likewise.
37909 (FPE_FLTOVF): Likewise.
37910 (FPE_FLTUND): Likewise.
37911 (FPE_FLTRES): Likewise.
37912 (FPE_FLTINV): Likewise.
37913 (FPE_FLTSUB): Likewise.
37914 (FPE_DECOVF): Likewise.
37915 (FPE_DECDIV): Likewise.
37916 (FPE_DECERR): Likewise.
37917 (FPE_INVASC): Likewise.
37918 (FPE_INVDEC): Likewise.
37919 (SEGV_MAPERR): Likewise.
37920 (SEGV_ACCERR): Likewise.
37921 (SEGV_PSTKOVF): Likewise.
37922 (BUS_ADRALN): Likewise.
37923 (BUS_ADRERR): Likewise.
37924 (BUS_OBJERR): Likewise.
37925 (BUS_MCEERR_AR): Likewise.
37926 (BUS_MCEERR_AO): Likewise.
37927 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37928 (TRAP_TRACE): Likewise.
37929 (TRAP_BRANCH): Likewise.
37930 (TRAP_HWBKPT): Likewise.
37931 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37932 __USE_XOPEN2K8].
37933 (CLD_KILLED): Likewise.
37934 (CLD_DUMPED): Likewise.
37935 (CLD_TRAPPED): Likewise.
37936 (CLD_STOPPED): Likewise.
37937 (CLD_CONTINUED): Likewise.
37938 (POLL_IN): Likewise.
37939 (POLL_OUT): Likewise.
37940 (POLL_MSG): Likewise.
37941 (POLL_ERR): Likewise.
37942 (POLL_PRI): Likewise.
37943 (POLL_HUP): Likewise.
37944 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37945 (ILL_ILLOPN): Likewise.
37946 (ILL_ILLADR): Likewise.
37947 (ILL_ILLTRP): Likewise.
37948 (ILL_PRVOPC): Likewise.
37949 (ILL_PRVREG): Likewise.
37950 (ILL_COPROC): Likewise.
37951 (ILL_BADSTK): Likewise.
37952 (FPE_INTDIV): Likewise.
37953 (FPE_INTOVF): Likewise.
37954 (FPE_FLTDIV): Likewise.
37955 (FPE_FLTOVF): Likewise.
37956 (FPE_FLTUND): Likewise.
37957 (FPE_FLTRES): Likewise.
37958 (FPE_FLTINV): Likewise.
37959 (FPE_FLTSUB): Likewise.
37960 (SEGV_MAPERR): Likewise.
37961 (SEGV_ACCERR): Likewise.
37962 (BUS_ADRALN): Likewise.
37963 (BUS_ADRERR): Likewise.
37964 (BUS_OBJERR): Likewise.
37965 (BUS_MCEERR_AR): Likewise.
37966 (BUS_MCEERR_AO): Likewise.
37967 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37968 (TRAP_TRACE): Likewise.
37969 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37970 __USE_XOPEN2K8].
37971 (CLD_KILLED): Likewise.
37972 (CLD_DUMPED): Likewise.
37973 (CLD_TRAPPED): Likewise.
37974 (CLD_STOPPED): Likewise.
37975 (CLD_CONTINUED): Likewise.
37976 (POLL_IN): Likewise.
37977 (POLL_OUT): Likewise.
37978 (POLL_MSG): Likewise.
37979 (POLL_ERR): Likewise.
37980 (POLL_PRI): Likewise.
37981 (POLL_HUP): Likewise.
37982 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37983 (ILL_ILLOPN): Likewise.
37984 (ILL_ILLADR): Likewise.
37985 (ILL_ILLTRP): Likewise.
37986 (ILL_PRVOPC): Likewise.
37987 (ILL_PRVREG): Likewise.
37988 (ILL_COPROC): Likewise.
37989 (ILL_BADSTK): Likewise.
37990 (FPE_INTDIV): Likewise.
37991 (FPE_INTOVF): Likewise.
37992 (FPE_FLTDIV): Likewise.
37993 (FPE_FLTOVF): Likewise.
37994 (FPE_FLTUND): Likewise.
37995 (FPE_FLTRES): Likewise.
37996 (FPE_FLTINV): Likewise.
37997 (FPE_FLTSUB): Likewise.
37998 (SEGV_MAPERR): Likewise.
37999 (SEGV_ACCERR): Likewise.
38000 (BUS_ADRALN): Likewise.
38001 (BUS_ADRERR): Likewise.
38002 (BUS_OBJERR): Likewise.
38003 (BUS_MCEERR_AR): Likewise.
38004 (BUS_MCEERR_AO): Likewise.
38005 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38006 (TRAP_TRACE): Likewise.
38007 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38008 __USE_XOPEN2K8].
38009 (CLD_KILLED): Likewise.
38010 (CLD_DUMPED): Likewise.
38011 (CLD_TRAPPED): Likewise.
38012 (CLD_STOPPED): Likewise.
38013 (CLD_CONTINUED): Likewise.
38014 (POLL_IN): Likewise.
38015 (POLL_OUT): Likewise.
38016 (POLL_MSG): Likewise.
38017 (POLL_ERR): Likewise.
38018 (POLL_PRI): Likewise.
38019 (POLL_HUP): Likewise.
38020 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38021 (ILL_ILLOPN): Likewise.
38022 (ILL_ILLADR): Likewise.
38023 (ILL_ILLTRP): Likewise.
38024 (ILL_PRVOPC): Likewise.
38025 (ILL_PRVREG): Likewise.
38026 (ILL_COPROC): Likewise.
38027 (ILL_BADSTK): Likewise.
38028 (FPE_INTDIV): Likewise.
38029 (FPE_INTOVF): Likewise.
38030 (FPE_FLTDIV): Likewise.
38031 (FPE_FLTOVF): Likewise.
38032 (FPE_FLTUND): Likewise.
38033 (FPE_FLTRES): Likewise.
38034 (FPE_FLTINV): Likewise.
38035 (FPE_FLTSUB): Likewise.
38036 (SEGV_MAPERR): Likewise.
38037 (SEGV_ACCERR): Likewise.
38038 (BUS_ADRALN): Likewise.
38039 (BUS_ADRERR): Likewise.
38040 (BUS_OBJERR): Likewise.
38041 (BUS_MCEERR_AR): Likewise.
38042 (BUS_MCEERR_AO): Likewise.
38043 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38044 (TRAP_TRACE): Likewise.
38045 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38046 __USE_XOPEN2K8].
38047 (CLD_KILLED): Likewise.
38048 (CLD_DUMPED): Likewise.
38049 (CLD_TRAPPED): Likewise.
38050 (CLD_STOPPED): Likewise.
38051 (CLD_CONTINUED): Likewise.
38052 (POLL_IN): Likewise.
38053 (POLL_OUT): Likewise.
38054 (POLL_MSG): Likewise.
38055 (POLL_ERR): Likewise.
38056 (POLL_PRI): Likewise.
38057 (POLL_HUP): Likewise.
38058 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38059 (ILL_ILLOPN): Likewise.
38060 (ILL_ILLADR): Likewise.
38061 (ILL_ILLTRP): Likewise.
38062 (ILL_PRVOPC): Likewise.
38063 (ILL_PRVREG): Likewise.
38064 (ILL_COPROC): Likewise.
38065 (ILL_BADSTK): Likewise.
38066 (ILL_DBLFLT): Likewise.
38067 (ILL_HARDWALL): Likewise.
38068 (FPE_INTDIV): Likewise.
38069 (FPE_INTOVF): Likewise.
38070 (FPE_FLTDIV): Likewise.
38071 (FPE_FLTOVF): Likewise.
38072 (FPE_FLTUND): Likewise.
38073 (FPE_FLTRES): Likewise.
38074 (FPE_FLTINV): Likewise.
38075 (FPE_FLTSUB): Likewise.
38076 (SEGV_MAPERR): Likewise.
38077 (SEGV_ACCERR): Likewise.
38078 (BUS_ADRALN): Likewise.
38079 (BUS_ADRERR): Likewise.
38080 (BUS_OBJERR): Likewise.
38081 (BUS_MCEERR_AR): Likewise.
38082 (BUS_MCEERR_AO): Likewise.
38083 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38084 (TRAP_TRACE): Likewise.
38085 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38086 __USE_XOPEN2K8].
38087 (CLD_KILLED): Likewise.
38088 (CLD_DUMPED): Likewise.
38089 (CLD_TRAPPED): Likewise.
38090 (CLD_STOPPED): Likewise.
38091 (CLD_CONTINUED): Likewise.
38092 (POLL_IN): Likewise.
38093 (POLL_OUT): Likewise.
38094 (POLL_MSG): Likewise.
38095 (POLL_ERR): Likewise.
38096 (POLL_PRI): Likewise.
38097 (POLL_HUP): Likewise.
38098 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38099 (ILL_ILLOPN): Likewise.
38100 (ILL_ILLADR): Likewise.
38101 (ILL_ILLTRP): Likewise.
38102 (ILL_PRVOPC): Likewise.
38103 (ILL_PRVREG): Likewise.
38104 (ILL_COPROC): Likewise.
38105 (ILL_BADSTK): Likewise.
38106 (FPE_INTDIV): Likewise.
38107 (FPE_INTOVF): Likewise.
38108 (FPE_FLTDIV): Likewise.
38109 (FPE_FLTOVF): Likewise.
38110 (FPE_FLTUND): Likewise.
38111 (FPE_FLTRES): Likewise.
38112 (FPE_FLTINV): Likewise.
38113 (FPE_FLTSUB): Likewise.
38114 (SEGV_MAPERR): Likewise.
38115 (SEGV_ACCERR): Likewise.
38116 (BUS_ADRALN): Likewise.
38117 (BUS_ADRERR): Likewise.
38118 (BUS_OBJERR): Likewise.
38119 (BUS_MCEERR_AR): Likewise.
38120 (BUS_MCEERR_AO): Likewise.
38121 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38122 (TRAP_TRACE): Likewise.
38123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38124 __USE_XOPEN2K8].
38125 (CLD_KILLED): Likewise.
38126 (CLD_DUMPED): Likewise.
38127 (CLD_TRAPPED): Likewise.
38128 (CLD_STOPPED): Likewise.
38129 (CLD_CONTINUED): Likewise.
38130 (POLL_IN): Likewise.
38131 (POLL_OUT): Likewise.
38132 (POLL_MSG): Likewise.
38133 (POLL_ERR): Likewise.
38134 (POLL_PRI): Likewise.
38135 (POLL_HUP): Likewise.
38136 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38137 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38138
38139 [BZ #16670]
38140 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38141 before #include of <time.h>.
38142 [!__USE_XOPEN2K] (__need_timespec): Likewise.
38143 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38144 (test-xfail-UNIX98/sched.h/conform): Likewise.
38145
38146 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
38147
38148 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38149 error absence of trapping exception support.
38150 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38151
38152 2014-03-07 Joseph Myers <joseph@codesourcery.com>
38153
38154 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38155 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38156 * timezone/Makefile (testdata): Move definition above include of
38157 Rules.
38158 (test-zones): New variable.
38159 (tests-special): Add zone files.
38160 (build-testdata): Use $(evaluate-test).
38161
38162 * elf/Makefile (tests-special): Rename tests to end with .out.
38163 ($(objpfx)noload-mem): Likewise.
38164 ($(objpfx)tst-leaks1-mem): Likewise.
38165 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38166 * iconv/Makefile (xtests-special): Change test-iconvconfig to
38167 $(objpfx)test-iconvconfig.out.
38168 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
38169 set -e inside subshell and redirect output to file.
38170 * iconvdata/Makefile (generated): Rename tests to end with .out.
38171 Correct type.
38172 (tests-special): Rename tests to end with .out.
38173 ($(objpfx)mtrace-tst-loading): Likewise.
38174 * intl/Makefile (generated): Likewise.
38175 (tests-special): Likewise.
38176 ($(objpfx)mtrace-tst-gettext): Likewise.
38177 * misc/Makefile (generated): Likewise.
38178 (tests-special): Likewise.
38179 ($(objpfx)tst-error1-mem): Likewise.
38180 * nptl/Makefile (tests-special): Likewise.
38181 ($(objpfx)tst-stack3-mem): Likewise.
38182 (generated): Likewise.
38183 * posix/Makefile (generated): Likewise.
38184 (tests-special): Likewise.
38185 (xtests-special): Likewise.
38186 ($(objpfx)tst-fnmatch-mem): Likewise.
38187 ($(objpfx)bug-regex2-mem): Likewise.
38188 ($(objpfx)bug-regex14-mem): Likewise.
38189 ($(objpfx)bug-regex21-mem): Likewise.
38190 ($(objpfx)bug-regex31-mem): Likewise.
38191 ($(objpfx)tst-vfork3-mem): Likewise.
38192 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38193 ($(objpfx)tst-pcre-mem): Likewise.
38194 ($(objpfx)tst-boost-mem): Likewise.
38195 ($(objpfx)bug-ga2-mem): Likewise.
38196 ($(objpfx)bug-glob2-mem): Likewise.
38197 * resolv/Makefile (generate): Likewise.
38198 (tests-special): Likewise.
38199 (xtests-special): Likewise.
38200 (generated): Likewise.
38201 ($(objpfx)mtrace-tst-leaks): Likewise.
38202 ($(objpfx)mtrace-tst-leaks2): Likewise.
38203
38204 * scripts/merge-test-results.sh: New file.
38205 * Makefile (tests-special-notdir): New variable.
38206 (tests): Run merge-test-results.sh.
38207 (xtests): Likewise.
38208 * Rules (tests-special-notdir): New variable.
38209 (xtests-special-notdir): Likewise.
38210 (tests): Run merge-test-results.sh
38211 (xtests): Likewise.
38212
38213 * Makeconfig (test-xfail-name): New variable.
38214 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38215 compute variable name for expected failures.
38216 * conform/Makefile (conformtest-headers-data): New variable.
38217 (conformtest-standards): Likewise.
38218 (conformtest-headers-ISO): Likewise.
38219 (conformtest-headers-ISO99): Likewise.
38220 (conformtest-headers-ISO11): Likewise.
38221 (conformtest-headers-POSIX): Likewise.
38222 (conformtest-headers-XPG3): Likewise.
38223 (conformtest-headers-XPG4): Likewise.
38224 (conformtest-headers-UNIX98): Likewise.
38225 (conformtest-headers-XOPEN2K): Likewise.
38226 (conformtest-headers-POSIX2008): Likewise.
38227 (conformtest-headers-XOPEN2K8): Likewise.
38228 (conformtest-header-list-base): Likewise.
38229 (conformtest-header-list-tests): Likewise.
38230 (conformtest-header-base): Likewise.
38231 (conformtest-header-tests): Likewise.
38232 (tests-special): Add $(conformtest-header-list-tests). If
38233 [$(fast-check) && !$(cross-compiling)], add
38234 $(conformtest-header-tests) instead of
38235 $(objpfx)run-conformtest.out.
38236 (generated): Add $(conformtest-header-list-base). If
38237 [$(fast-check) && !$(cross-compiling)], add
38238 $(conformtest-header-base). Remove previous setting.
38239 ($(conformtest-header-list-tests)): New target.
38240 (test-xfail-run-conformtest): Remove variable.
38241 ($(objpfx)run-conformtest.out): Remove target.
38242 (test-xfail-ISO11/complex.h/conform): New variable.
38243 (test-xfail-ISO11/stdalign.h/conform): Likewise.
38244 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38245 (test-xfail-XPG3/varargs.h/conform): Likewise.
38246 (test-xfail-XPG4/varargs.h/conform): Likewise.
38247 (test-xfail-UNIX98/varargs.h/conform): Likewise.
38248 (test-xfail-XPG4/ndbm.h/conform): Likewise.
38249 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38250 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38251 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38252 (test-xfail-XPG3/fcntl.h/conform): Likewise.
38253 (test-xfail-XPG3/ftw.h/conform): Likewise.
38254 (test-xfail-XPG3/grp.h/conform): Likewise.
38255 (test-xfail-XPG3/langinfo.h/conform): Likewise.
38256 (test-xfail-XPG3/limits.h/conform): Likewise.
38257 (test-xfail-XPG3/pwd.h/conform): Likewise.
38258 (test-xfail-XPG3/search.h/conform): Likewise.
38259 (test-xfail-XPG3/signal.h/conform): Likewise.
38260 (test-xfail-XPG3/stdio.h/conform): Likewise.
38261 (test-xfail-XPG3/stdlib.h/conform): Likewise.
38262 (test-xfail-XPG3/string.h/conform): Likewise.
38263 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38264 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38265 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38266 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38267 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38268 (test-xfail-XPG3/sys/types.h/conform): Likewise.
38269 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38270 (test-xfail-XPG3/termios.h/conform): Likewise.
38271 (test-xfail-XPG3/time.h/conform): Likewise.
38272 (test-xfail-XPG3/unistd.h/conform): Likewise.
38273 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38274 (test-xfail-XPG4/fcntl.h/conform): Likewise.
38275 (test-xfail-XPG4/langinfo.h/conform): Likewise.
38276 (test-xfail-XPG4/netdb.h/conform): Likewise.
38277 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38278 (test-xfail-XPG4/signal.h/conform): Likewise.
38279 (test-xfail-XPG4/stdio.h/conform): Likewise.
38280 (test-xfail-XPG4/stdlib.h/conform): Likewise.
38281 (test-xfail-XPG4/stropts.h/conform): Likewise.
38282 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38283 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38284 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38285 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38286 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38287 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38288 (test-xfail-XPG4/sys/time.h/conform): Likewise.
38289 (test-xfail-XPG4/sys/types.h/conform): Likewise.
38290 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38291 (test-xfail-XPG4/termios.h/conform): Likewise.
38292 (test-xfail-XPG4/ucontext.h/conform): Likewise.
38293 (test-xfail-XPG4/unistd.h/conform): Likewise.
38294 (test-xfail-XPG4/utmpx.h/conform): Likewise.
38295 (test-xfail-POSIX/sched.h/conform): Likewise.
38296 (test-xfail-POSIX/signal.h/conform): Likewise.
38297 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38298 (test-xfail-POSIX/tar.h/conform): Likewise.
38299 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38300 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38301 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38302 (test-xfail-UNIX98/netdb.h/conform): Likewise.
38303 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38304 (test-xfail-UNIX98/sched.h/conform): Likewise.
38305 (test-xfail-UNIX98/signal.h/conform): Likewise.
38306 (test-xfail-UNIX98/stdio.h/conform): Likewise.
38307 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38308 (test-xfail-UNIX98/stropts.h/conform): Likewise.
38309 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38310 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38311 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38312 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38313 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38314 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38315 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38316 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38317 (test-xfail-UNIX98/unistd.h/conform): Likewise.
38318 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38319 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38320 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38321 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38322 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38323 (test-xfail-XOPEN2K/math.h/conform): Likewise.
38324 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38325 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38326 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38327 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38328 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38329 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38330 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38331 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38332 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38333 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38334 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38335 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38336 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38337 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38338 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38339 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38340 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38341 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38342 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38343 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38344 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38345 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38346 (test-xfail-POSIX2008/signal.h/conform): Likewise.
38347 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38348 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38349 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38350 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38351 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38352 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38353 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38354 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38355 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38356 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38357 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38358 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38359 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38360 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38361 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38362 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38363 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38364 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38365 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38366 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38367 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38368 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38369 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38370 (conformtest-cc-flags): Likewise.
38371 ($(conformtest-header-tests): New target.
38372 * conform/check-header-lists.sh: New file.
38373 * conform/run-conformtest.sh: Remove.
38374
38375 * conform/conformtest.pl: Allow ' and \ in values given for
38376 constants.
38377 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38378 inclusion.
38379 [POSIX] (sys/types.h): Likewise.
38380 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38381 inclusion.
38382 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38383 inclusion.
38384 * conform/data/signal.h-data (SIGIO): Remove expectation.
38385 [XPG3] (SIGBUS): Do not expect.
38386 [POSIX || XPG3] (SIGPOLL): Likewise.
38387 [POSIX || XPG3] (SIGPROF): Likewise.
38388 [POSIX || XPG3] (SIGSYS): Likewise.
38389 [XPG3] (SIGTRAP): Likewise.
38390 [POSIX || XPG3] (SIGURG): Likewise.
38391 [POSIX || XPG3] (SIGVTALRM): Likewise.
38392 [POSIX || XPG3] (SIGXCPU): Likewise.
38393 [POSIX || XPG3] (SIGXFSZ): Likewise.
38394 [POSIX] (SA_SIGINFO): Expect.
38395 [XPG3] (siginfo_t): Do not expect type or contents.
38396 [POSIX] (si_pid): Do not expect element.
38397 [POSIX] (si_uid): Likewise.
38398 [POSIX] (si_addr): Likewise.
38399 [POSIX] (si_status): Likewise.
38400 [POSIX] (si_band): Likewise.
38401 [XPG4] (si_value): Likewise.
38402 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38403 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38404 [POSIX || XPG3] (ILL_ILLADR): Likewise.
38405 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38406 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38407 [POSIX || XPG3] (ILL_PRVREG): Likewise.
38408 [POSIX || XPG3] (ILL_COPROC): Likewise.
38409 [POSIX || XPG3] (ILL_BADSTK): Likewise.
38410 [POSIX || XPG3] (FPE_INTDIV): Likewise.
38411 [POSIX || XPG3] (FPE_INTOVF): Likewise.
38412 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38413 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38414 [POSIX || XPG3] (FPE_FLTUND): Likewise.
38415 [POSIX || XPG3] (FPE_FLTRES): Likewise.
38416 [POSIX || XPG3] (FPE_FLTINV): Likewise.
38417 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38418 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38419 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38420 [POSIX || XPG3] (BUS_ADRALN): Likewise.
38421 [POSIX || XPG3] (BUS_ADRERR): Likewise.
38422 [POSIX || XPG3] (BUS_OBJERR): Likewise.
38423 [POSIX || XPG3] (CLD_EXITED): Likewise.
38424 [POSIX || XPG3] (CLD_KILLED): Likewise.
38425 [POSIX || XPG3] (CLD_DUMPED): Likewise.
38426 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38427 [POSIX || XPG3] (CLD_STOPPED): Likewise.
38428 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38429 [POSIX || XPG3] (POLL_IN): Likewise.
38430 [POSIX || XPG3] (POLL_OUT): Likewise.
38431 [POSIX || XPG3] (POLL_MSG): Likewise.
38432 [POSIX || XPG3] (POLL_ERR): Likewise.
38433 [POSIX || XPG3] (POLL_PRI): Likewise.
38434 [POSIX || XPG3] (POLL_HUP): Likewise.
38435 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38436 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38437 (SIG*): Do not allow.
38438 [XPG3] (si_*): Likewise.
38439 [XPG3] (SI_*): Likewise.
38440 [XPG3 || XPG4] (sigev_*): Likewise.
38441 [XPG3 || XPG4] (SIGEV_*): Likewise.
38442 [XPG3 || XPG4] (sival_*): Likewise.
38443 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38444 [POSIX || XPG3] (BUS_*): Likewise.
38445 [POSIX || XPG3] (CLD_*): Likewise.
38446 [POSIX || XPG3] (FPE_*): Likewise.
38447 [POSIX || XPG3] (ILL_*): Likewise.
38448 [POSIX || XPG3] (POLL_*): Likewise.
38449 [POSIX || XPG3] (SEGV_*): Likewise.
38450 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38451 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38452 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38453 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38454 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38455 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38456 Specify type and value.
38457 (TVERSLEN): Likewise.
38458 (REGTYPE): Likewise.
38459 (AREGTYPE): Likewise.
38460 (LNKTYPE): Likewise.
38461 (SYMTYPE): Likewise.
38462 (CHRTYPE): Likewise.
38463 (BLKTYPE): Likewise.
38464 (DIRTYPE): Likewise.
38465 (FIFOTYPE): Likewise.
38466 (CONTTYPE): Likewise.
38467 (TSUID): Likewise.
38468 (TSGID): Likewise.
38469 (TSVTX): Likewise.
38470 (TUREAD): Likewise.
38471 (TUWRITE): Likewise.
38472 (TUEXEC): Likewise.
38473 (TGREAD): Likewise.
38474 (TGWRITE): Likewise.
38475 (TGEXEC): Likewise.
38476 (TOREAD): Likewise.
38477 (TOWRITE): Likewise.
38478 (TOEXEC): Likewise.
38479 [POSIX] (TSVTX): Expect constant.
38480
38481 2014-03-06 Joseph Myers <joseph@codesourcery.com>
38482
38483 * Makefile (tests): Change dependencies to ....
38484 (tests-special): ... additions to this variable.
38485 (tests): Depend on $(tests-special).
38486 * Makerules (check-abi-list): New variable.
38487 (check-abi): Depend on $(check-abi-list).
38488 [$(subdir) = elf] (tests-special): Add
38489 $(objpfx)check-abi-libc.out.
38490 [$(build-shared) = yes && subdir] (tests-special): Add
38491 $(check-abi-list).
38492 [$(build-shared) = yes && subdir] (tests): Do not depend on
38493 check-abi.
38494 * Rules (tests): Depend on $(tests-special).
38495 (xtests): Depend on $(xtests-special).
38496 * catgets/Makefile (tests): Change dependencies to ....
38497 (tests-special): ... additions to this variable.
38498 * conform/Makefile (tests): Change dependencies to ....
38499 (tests-special): ... additions to this variable.
38500 * elf/Makefile (tests): Change dependencies to ....
38501 (tests-special): ... additions to this variable.
38502 * grp/Makefile (tests): Change dependencies to ....
38503 (tests-special): ... additions to this variable.
38504 * iconv/Makefile (xtests): Change dependencies to ....
38505 (xtests-special): ... additions to this variable.
38506 * iconvdata/Makefile (tests): Change dependencies to ....
38507 (tests-special): ... additions to this variable.
38508 * intl/Makefile (tests): Change dependencies to ....
38509 (tests-special): ... additions to this variable. Also add
38510 $(objpfx)tst-gettext.out.
38511 * io/Makefile (tests): Change dependencies to ....
38512 (tests-special): ... additions to this variable.
38513 * libio/Makefile (tests): Change dependencies to ....
38514 (tests-special): ... additions to this variable.
38515 * malloc/Makefile (tests): Change dependencies to ....
38516 (tests-special): ... additions to this variable.
38517 * misc/Makefile (tests): Change dependencies to ....
38518 (tests-special): ... additions to this variable.
38519 * nptl/Makefile (tests): Change dependencies to ....
38520 (tests-special): ... additions to this variable.
38521 * nptl_db/Makefile (tests): Change dependencies to ....
38522 (tests-special): ... additions to this variable.
38523 * posix/Makefile (tests): Change dependencies to ....
38524 (tests-special): ... additions to this variable.
38525 (xtests): Change dependencies to ....
38526 (xtests-special): ... additions to this variable.
38527 * resolv/Makefile (tests): Change dependencies to ....
38528 (tests-special): ... additions to this variable.
38529 (xtests): Change dependencies to ....
38530 (xtests-special): ... additions to this variable.
38531 * stdio-common/Makefile (tests): Change dependencies to ....
38532 (tests-special): ... additions to this variable.
38533 (do-tst-unbputc): Remove target.
38534 (do-tst-printf): Likewise.
38535 * stdlib/Makefile (tests): Change dependencies to ....
38536 (tests-special): ... additions to this variable.
38537 * string/Makefile (tests): Change dependencies to ....
38538 (tests-special): ... additions to this variable.
38539 * sysdeps/x86/Makefile (tests): Change dependencies to ....
38540 (tests-special): ... additions to this variable.
38541
38542 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38543 whole file.
38544 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38545 whole file.
38546 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38547 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38548
38549 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38550 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38551 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38552 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38553 * conform/data/libgen.h-data [XPG3]: Likewise.
38554 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38555 * conform/data/ndbm.h-data [XPG3]: Likewise.
38556 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38557 * conform/data/netdb.h-data [XPG3]: Likewise.
38558 * conform/data/netinet/in.h-data [XPG3]: Likewise.
38559 * conform/data/poll.h-data [XPG3]: Likewise.
38560 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38561 * conform/data/strings.h-data [XPG3]: Likewise.
38562 * conform/data/stropts.h-data [XPG3]: Likewise.
38563 * conform/data/sys/mman.h-data [XPG3]: Likewise.
38564 * conform/data/sys/resource.h-data [XPG3]: Likewise.
38565 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38566 Likewise.
38567 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38568 * conform/data/sys/time.h-data [XPG3]: Likewise.
38569 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38570 * conform/data/sys/uio.h-data [XPG3]: Likewise.
38571 * conform/data/sys/un.h-data [XPG3]: Likewise.
38572 * conform/data/syslog.h-data [XPG3]: Likewise.
38573 * conform/data/ucontext.h-data [XPG3]: Likewise.
38574 * conform/data/utmpx.h-data [XPG3]: Likewise.
38575 * conform/data/varargs.h-data [UNIX98]: Enable file.
38576
38577 * manual/Makefile (INSTALL_INFO): Remove variable setting.
38578
38579 * math/libm-test.inc (struct test_f_f_data): Move expected results
38580 into structure for each rounding mode.
38581 (struct test_ff_f_data): Likewise.
38582 (struct test_ff_f_data_nexttoward): Likewise.
38583 (struct test_fi_f_data): Likewise.
38584 (struct test_fl_f_data): Likewise.
38585 (struct test_if_f_data): Likewise.
38586 (struct test_fff_f_data): Likewise.
38587 (struct test_c_f_data): Likewise.
38588 (struct test_f_f1_data): Likewise.
38589 (struct test_fF_f1_data): Likewise.
38590 (struct test_ffI_f1_data): Likewise.
38591 (struct test_c_c_data): Likewise.
38592 (struct test_cc_c_data): Likewise.
38593 (struct test_f_i_data): Likewise.
38594 (struct test_ff_i_data): Likewise.
38595 (struct test_f_l_data): Likewise.
38596 (struct test_f_L_data): Likewise.
38597 (struct test_fFF_11_data): Likewise.
38598 (RM_): New macro.
38599 (RM_FE_DOWNWARD): Likewise.
38600 (RM_FE_TONEAREST): Likewise.
38601 (RM_FE_TOWARDZERO): Likewise.
38602 (RM_FE_UPWARD): Likewise.
38603 (RUN_TEST_LOOP_f_f): Update references to expected results.
38604 (RUN_TEST_LOOP_2_f): Likewise.
38605 (RUN_TEST_LOOP_fff_f): Likewise.
38606 (RUN_TEST_LOOP_c_f): Likewise.
38607 (RUN_TEST_LOOP_f_f1): Likewise.
38608 (RUN_TEST_LOOP_fF_f1): Likewise.
38609 (RUN_TEST_LOOP_fI_f1): Likewise.
38610 (RUN_TEST_LOOP_ffI_f1): Likewise.
38611 (RUN_TEST_LOOP_c_c): Likewise.
38612 (RUN_TEST_LOOP_cc_c): Likewise.
38613 (RUN_TEST_LOOP_f_i): Likewise.
38614 (RUN_TEST_LOOP_f_i_tg): Likewise.
38615 (RUN_TEST_LOOP_ff_i_tg): Likewise.
38616 (RUN_TEST_LOOP_f_b): Likewise.
38617 (RUN_TEST_LOOP_f_b_tg): Likewise.
38618 (RUN_TEST_LOOP_f_l): Likewise.
38619 (RUN_TEST_LOOP_f_L): Likewise.
38620 (RUN_TEST_LOOP_fFF_11): Likewise.
38621 * math/gen-libm-test.pl (parse_args): Output four copies of
38622 expected results for each test.
38623
38624 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38625 (__ASSUME_UTIMES): Remove.
38626 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38627 (__ASSUME_UTIMES): Likewise.
38628
38629 * math/gen-auto-libm-tests.c: Update comment on output format.
38630 (output_for_one_input_case): Generate before-rounding and
38631 after-rounding information as conditions on output flags not
38632 floating-point format.
38633 * math/auto-libm-test-out: Regenerated.
38634 * math/gen-libm-test.pl (cond_value): New function.
38635 (or_cond_value): Use cond_value.
38636 (generate_testfile): Handle conditional exceptions.
38637
38638 2014-03-05 Joseph Myers <joseph@codesourcery.com>
38639
38640 * math/libm-test.inc (max_valid_error): New variable.
38641 (init_max_error): Take new argument specifying whether function
38642 results are exactly determined. Set max_valid_error and bound
38643 other variables for errors based on this argument.
38644 (set_max_error): Do not record results above max_valid_error.
38645 (check_float_internal): Only accept errors of up to 0.5ulps if
38646 also at most max_valid_error.
38647 (START): Take new argument EXACT and pass it to init_max_error.
38648 (acos_test): Update call to START.
38649 (acos_test_tonearest): Likewise.
38650 (acos_test_towardzero): Likewise.
38651 (acos_test_downward): Likewise.
38652 (acos_test_upward): Likewise.
38653 (acosh_test): Likewise.
38654 (asin_test): Likewise.
38655 (asin_test_tonearest): Likewise.
38656 (asin_test_towardzero): Likewise.
38657 (asin_test_downward): Likewise.
38658 (asin_test_upward): Likewise.
38659 (asinh_test): Likewise.
38660 (atan_test): Likewise.
38661 (atanh_test): Likewise.
38662 (atan2_test): Likewise.
38663 (cabs_test): Likewise.
38664 (cacos_test): Likewise.
38665 (cacosh_test): Likewise.
38666 (carg_test): Likewise.
38667 (casin_test): Likewise.
38668 (casinh_test): Likewise.
38669 (catan_test): Likewise.
38670 (catanh_test): Likewise.
38671 (cbrt_test): Likewise.
38672 (ccos_test): Likewise.
38673 (ccosh_test): Likewise.
38674 (ceil_test): Likewise.
38675 (cexp_test): Likewise.
38676 (cimag_test): Likewise.
38677 (clog_test): Likewise.
38678 (clog10_test): Likewise.
38679 (conj_test): Likewise.
38680 (copysign_test): Likewise.
38681 (cos_test): Likewise.
38682 (cos_test_tonearest): Likewise.
38683 (cos_test_towardzero): Likewise.
38684 (cos_test_downward): Likewise.
38685 (cos_test_upward): Likewise.
38686 (cosh_test): Likewise.
38687 (cosh_test_tonearest): Likewise.
38688 (cosh_test_towardzero): Likewise.
38689 (cosh_test_downward): Likewise.
38690 (cosh_test_upward): Likewise.
38691 (cpow_test): Likewise.
38692 (cproj_test): Likewise.
38693 (creal_test): Likewise.
38694 (csin_test): Likewise.
38695 (csinh_test): Likewise.
38696 (csqrt_test): Likewise.
38697 (ctan_test): Likewise.
38698 (ctan_test_tonearest): Likewise.
38699 (ctan_test_towardzero): Likewise.
38700 (ctan_test_downward): Likewise.
38701 (ctan_test_upward): Likewise.
38702 (ctanh_test): Likewise.
38703 (ctanh_test_tonearest): Likewise.
38704 (ctanh_test_towardzero): Likewise.
38705 (ctanh_test_downward): Likewise.
38706 (ctanh_test_upward): Likewise.
38707 (erf_test): Likewise.
38708 (erfc_test): Likewise.
38709 (exp_test): Likewise.
38710 (exp_test_tonearest): Likewise.
38711 (exp_test_towardzero): Likewise.
38712 (exp_test_downward): Likewise.
38713 (exp_test_upward): Likewise.
38714 (exp10_test): Likewise.
38715 (exp10_test_tonearest): Likewise.
38716 (exp10_test_towardzero): Likewise.
38717 (exp10_test_downward): Likewise.
38718 (exp10_test_upward): Likewise.
38719 (pow10_test): Likewise.
38720 (exp2_test): Likewise.
38721 (expm1_test): Likewise.
38722 (expm1_test_tonearest): Likewise.
38723 (expm1_test_towardzero): Likewise.
38724 (expm1_test_downward): Likewise.
38725 (expm1_test_upward): Likewise.
38726 (fabs_test): Likewise.
38727 (fdim_test): Likewise.
38728 (floor_test): Likewise.
38729 (fma_test): Likewise.
38730 (fma_test_towardzero): Likewise.
38731 (fma_test_downward): Likewise.
38732 (fma_test_upward): Likewise.
38733 (fmax_test): Likewise.
38734 (fmin_test): Likewise.
38735 (fmod_test): Likewise.
38736 (fpclassify_test): Likewise.
38737 (frexp_test): Likewise.
38738 (hypot_test): Likewise.
38739 (ilogb_test): Likewise.
38740 (isfinite_test): Likewise.
38741 (finite_test): Likewise.
38742 (isgreater_test): Likewise.
38743 (isgreaterequal_test): Likewise.
38744 (isinf_test): Likewise.
38745 (isless_test): Likewise.
38746 (islessequal_test): Likewise.
38747 (islessgreater_test): Likewise.
38748 (isnan_test): Likewise.
38749 (isnormal_test): Likewise.
38750 (issignaling_test): Likewise.
38751 (isunordered_test): Likewise.
38752 (j0_test): Likewise.
38753 (j1_test): Likewise.
38754 (jn_test): Likewise.
38755 (ldexp_test): Likewise.
38756 (lgamma_test): Likewise.
38757 (gamma_test): Likewise.
38758 (lrint_test): Likewise.
38759 (lrint_test_tonearest): Likewise.
38760 (lrint_test_towardzero): Likewise.
38761 (lrint_test_downward): Likewise.
38762 (lrint_test_upward): Likewise.
38763 (llrint_test): Likewise.
38764 (llrint_test_tonearest): Likewise.
38765 (llrint_test_towardzero): Likewise.
38766 (llrint_test_downward): Likewise.
38767 (llrint_test_upward): Likewise.
38768 (log_test): Likewise.
38769 (log10_test): Likewise.
38770 (log1p_test): Likewise.
38771 (log2_test): Likewise.
38772 (logb_test): Likewise.
38773 (logb_test_downward): Likewise.
38774 (lround_test): Likewise.
38775 (llround_test): Likewise.
38776 (modf_test): Likewise.
38777 (nearbyint_test): Likewise.
38778 (nextafter_test): Likewise.
38779 (nexttoward_test): Likewise.
38780 (pow_test): Likewise.
38781 (pow_test_tonearest): Likewise.
38782 (pow_test_towardzero): Likewise.
38783 (pow_test_downward): Likewise.
38784 (pow_test_upward): Likewise.
38785 (remainder_test): Likewise.
38786 (drem_test): Likewise.
38787 (remainder_test_tonearest): Likewise.
38788 (drem_test_tonearest): Likewise.
38789 (remainder_test_towardzero): Likewise.
38790 (drem_test_towardzero): Likewise.
38791 (remainder_test_downward): Likewise.
38792 (drem_test_downward): Likewise.
38793 (remainder_test_upward): Likewise.
38794 (drem_test_upward): Likewise.
38795 (remquo_test): Likewise.
38796 (rint_test): Likewise.
38797 (rint_test_tonearest): Likewise.
38798 (rint_test_towardzero): Likewise.
38799 (rint_test_downward): Likewise.
38800 (rint_test_upward): Likewise.
38801 (round_test): Likewise.
38802 (scalb_test): Likewise.
38803 (scalbn_test): Likewise.
38804 (scalbln_test): Likewise.
38805 (signbit_test): Likewise.
38806 (sin_test): Likewise.
38807 (sin_test_tonearest): Likewise.
38808 (sin_test_towardzero): Likewise.
38809 (sin_test_downward): Likewise.
38810 (sin_test_upward): Likewise.
38811 (sincos_test): Likewise.
38812 (sinh_test): Likewise.
38813 (sinh_test_tonearest): Likewise.
38814 (sinh_test_towardzero): Likewise.
38815 (sinh_test_downward): Likewise.
38816 (sinh_test_upward): Likewise.
38817 (sqrt_test): Likewise.
38818 (sqrt_test_tonearest): Likewise.
38819 (sqrt_test_towardzero): Likewise.
38820 (sqrt_test_downward): Likewise.
38821 (sqrt_test_upward): Likewise.
38822 (tan_test): Likewise.
38823 (tan_test_tonearest): Likewise.
38824 (tan_test_towardzero): Likewise.
38825 (tan_test_downward): Likewise.
38826 (tan_test_upward): Likewise.
38827 (tanh_test): Likewise.
38828 (tgamma_test): Likewise.
38829 (trunc_test): Likewise.
38830 (y0_test): Likewise.
38831 (y1_test): Likewise.
38832 (yn_test): Likewise.
38833 (significand_test): Likewise.
38834
38835 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
38836 individual tests in comment.
38837 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
38838 (prev_max_error): New variable.
38839 (prev_real_max_error): Likewise.
38840 (prev_imag_max_error): Likewise.
38841 (compare_ulp_data): Don't refer to test names in comment.
38842 (find_test_ulps): Remove function.
38843 (find_function_ulps): Likewise.
38844 (find_complex_function_ulps): Likewise.
38845 (init_max_error): Take function name as argument. Look up ulps
38846 for that function.
38847 (print_ulps): Remove function.
38848 (print_max_error): Use prev_max_error instead of calling
38849 find_function_ulps.
38850 (print_complex_max_error): Use prev_real_max_error and
38851 prev_imag_max_error instead of calling find_complex_function_ulps.
38852 (check_float_internal): Take max_ulp parameter instead of calling
38853 find_test_ulps. Don't call print_ulps.
38854 (check_float): Update call to check_float_internal.
38855 (check_complex): Update calls to check_float_internal.
38856 (START): Pass argument to init_max_error.
38857 * math/gen-libm-test.pl (%results): Don't include "kind"
38858 information.
38859 (parse_ulps): Don't handle ulps of individual tests.
38860 (print_ulps_file): Likewise.
38861 (output_ulps): Likewise.
38862 * math/README.libm-test: Update.
38863 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38864 individual tests.
38865 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38866 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38867 * sysdeps/arm/libm-test-ulps: Likewise.
38868 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38869 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38870 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38871 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38872 * sysdeps/microblaze/libm-test-ulps: Likewise.
38873 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38874 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38875 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38876 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38877 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38878 * sysdeps/sh/libm-test-ulps: Likewise.
38879 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38880 * sysdeps/tile/libm-test-ulps: Likewise.
38881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38882
38883 2014-03-04 Joseph Myers <joseph@codesourcery.com>
38884
38885 * math/libm-test.inc (print_complex_max_error): Check separately
38886 whether real and imaginary errors are within allowed range and
38887 pass 0 to print_complex_function_ulps instead of value within
38888 allowed range.
38889
38890 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38891
38892 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38893 formatting.
38894 (get_handles_fopen): Likewise.
38895 (do_write_test): Likewise.
38896
38897 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38898
38899 * libio/fileops.c (do_ftell): Use cached offset when
38900 available.
38901 * libio/iofwide.c (do_ftell_wide): Likewise.
38902 * libio/iofdopen.c (_IO_new_fdopen): Don't use
38903 _IO_file_attach.
38904 * libio/wfileops.c (_IO_fwide): Don't cache offset.
38905
38906 [BZ #16532]
38907 * libio/libioP.h (get_file_offset): New function.
38908 * libio/fileops.c (get_file_offset): Likewise.
38909 (do_ftell): Likewise.
38910 (_IO_new_file_seekoff): Split out ftell logic.
38911 * libio/wfileops.c (do_ftell_wide): Likewise.
38912 (_IO_wfile_seekoff): Split out ftell logic.
38913 * libio/tst-ftell-active-handler.c: New test case.
38914 * libio/Makefile (tests): Add it.
38915
38916 2014-03-03 Roland McGrath <roland@hack.frob.com>
38917
38918 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38919 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38920
38921 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
38922
38923 [BZ #16639]
38924 * nscd/connections.c (nscd_init): Call do_exit.
38925 (start_threads): Call do_exit and notify_parent.
38926 (begin_drop_privileges): Call do_exit.
38927 (finish_drop_privileges): Likewise.
38928 * nscd/selinux.c (preserve_capabilities): Likewise.
38929 (install_real_capabilities): Likewise.
38930 (nscd_selinux_enabled): Likewise.
38931 (avc_create_thread): Likewise.
38932 (avc_alloc_lock): Likewise.
38933 (nscd_avc_init): Likewise.
38934 * nscd/nscd.c (parent_fd): New static variable.
38935 (main): Create a pipe between parent and child processes.
38936 Skip closing parent_fd.
38937 (monitor_child): New function.
38938 (do_exit): Likewise.
38939 (notify_parent): Likewise.
38940 * nscd/nscd.h (notify_parent): Likewise.
38941 (do_exit): Likewise.
38942
38943 2014-03-03 Carlos O'Donell <carlos@redhat.com>
38944
38945 * malloc/malloc.c (__libc_calloc): Revert last change.
38946
38947 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38948
38949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38950
38951 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38952
38953 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38955 implementation.
38956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38957 (__libc_ifunc_impl_list): Likewise.
38958 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38959 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38960 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38961 * string/strrchr.c: Define STRRCHR.
38962
38963 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
38964
38965 * benchtest/bench-strtok.c (simple_strtok): Delete.
38966 (strtok_string): Use as benchmark.
38967 * string/strtok (STRTOK): New macro.
38968
38969 2014-02-28 Carlos O'Donell <carlos@redhat.com>
38970
38971 * manual/threads.texi: Add header and standard comments to all
38972 functions.
38973
38974 * elf/dl-lookup.c (check_match): New function.
38975 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38976 (do_lookup_x): Remove nested function check_match. Use non-nested
38977 function check_match.
38978
38979 2014-02-28 Roland McGrath <roland@hack.frob.com>
38980
38981 * csu/Makefile (generated, before-compile): Use += rather than =.
38982 * catgets/Makefile (generated, generated-dirs): Likewise.
38983 * debug/Makefile (generated): Likewise.
38984 * dlfcn/Makefile (generated): Likewise.
38985 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38986 * iconvdata/Makefile (before-compile, generated): Likewise.
38987 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38988 * libio/Makefile (generated): Likewise.
38989 * malloc/Makefile (generated): Likewise.
38990 * manual/Makefile (generated, generated-dirs): Likewise.
38991 * misc/Makefile (generated): Likewise.
38992 * posix/Makefile (generated): Likewise.
38993 * resolv/Makefile (generated): Likewise.
38994 * sunrpc/Makefile (generated, generated-dirs): Likewise.
38995 * timezone/Makefile (generated, generated-dirs): Likewise.
38996
38997 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38998
38999 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39000
39001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39002 power8 implementation.
39003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39004 file: POWER8 llround ifunc implementation.
39005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39006 (__lllround): Add POWER8 implementation.
39007 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39008 POWER8 llround implementation.
39009
39010 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39011 power8 implementation.
39012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39013 file: POWER8 llrint ifunc implementation.
39014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39015 Add POWER8 implementation.
39016 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39017 POWER8 llrint implementation.
39018
39019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39020 power8 implementation.
39021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39022 file: POWER8 finite ifunc implementation.
39023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39024 Add POWER8 implementation.
39025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39026 Likewise.
39027 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39028 POWER8 finite implementation.
39029 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39030
39031 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39032 power8 implementation.
39033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39034 file: POWER8 isinf ifunc implementation.
39035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39036 POWER8 implementation.
39037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39038 Likewise.
39039 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39040 isinf implementation.
39041 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39042
39043 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39044 (INIT_ARCH): Add hwcap2 initialization.
39045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39046 power8 implementation.
39047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39048 file: POWER8 isnan ifunc implementation.
39049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39050 POWER8 implementation.
39051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39052 Likewise.
39053 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39054 isnan implementation.
39055 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39056
39057 2014-02-27 Joey Ye <joey.ye@arm.com>
39058
39059 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39060 (_FP_NANFRAC_Q): Set to zero.
39061
39062 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39063
39064 [BZ #16623]
39065 * math/auto-libm-test-in: New test inputs.
39066 * math/auto-libm-test-out: Regenerate.
39067 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39068 and DA.
39069 (__cos): Likewise.
39070 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39071
39072 2014-02-27 Joseph Myers <joseph@codesourcery.com>
39073
39074 * scripts/evaluate-test.sh: Take new argument indicating whether
39075 failure is expected.
39076 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39077 indicating whether failure is expected.
39078 * conform/Makefile (test-xfail-run-conformtest): New variable.
39079 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39080 level.
39081 * posix/Makefile (test-xfail-annexc): New variable.
39082 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39083
39084 2014-02-26 Joseph Myers <joseph@codesourcery.com>
39085
39086 * argp/Makefile: Include Makeconfig immediately after defining
39087 subdir.
39088 * assert/Makefile: Likewise.
39089 * benchtests/Makefile: Likewise.
39090 * catgets/Makefile: Likewise.
39091 * conform/Makefile: Likewise.
39092 * crypt/Makefile: Likewise.
39093 * csu/Makefile: Likewise.
39094 (all): Remove target.
39095 * ctype/Makefile: Include Makeconfig immediately after defining
39096 subdir.
39097 * debug/Makefile: Likewise.
39098 * dirent/Makefile: Likewise.
39099 * dlfcn/Makefile: Likewise.
39100 * gmon/Makefile: Likewise.
39101 * gnulib/Makefile: Likewise.
39102 * grp/Makefile: Likewise.
39103 * gshadow/Makefile: Likewise.
39104 * hesiod/Makefile: Likewise.
39105 * hurd/Makefile: Likewise.
39106 (all): Remove target.
39107 * iconvdata/Makefile: Include Makeconfig immediately after
39108 defining subdir.
39109 * inet/Makefile: Likewise.
39110 * intl/Makefile: Likewise.
39111 * io/Makefile: Likewise.
39112 * libio/Makefile: Likewise.
39113 (all): Remove target.
39114 * locale/Makefile: Include Makeconfig immediately after defining
39115 subdir.
39116 * login/Makefile: Likewise.
39117 * mach/Makefile: Likewise.
39118 (all): Remove target.
39119 * malloc/Makefile: Include Makeconfig immediately after defining
39120 subdir.
39121 (all): Remove target.
39122 * manual/Makefile: Include Makeconfig immediately after defining
39123 subdir.
39124 * math/Makefile: Likewise.
39125 * misc/Makefile: Likewise.
39126 * nis/Makefile: Likewise.
39127 * nss/Makefile: Likewise.
39128 * po/Makefile: Likewise.
39129 (all): Remove target.
39130 * posix/Makefile: Include Makeconfig immediately after defining
39131 subdir.
39132 * pwd/Makefile: Likewise.
39133 * resolv/Makefile: Likewise.
39134 * resource/Makefile: Likewise.
39135 * rt/Makefile: Likewise.
39136 * setjmp/Makefile: Likewise.
39137 * shadow/Makefile: Likewise.
39138 * signal/Makefile: Likewise.
39139 * socket/Makefile: Likewise.
39140 * soft-fp/Makefile: Likewise.
39141 * stdio-common/Makefile: Likewise.
39142 * stdlib/Makefile: Likewise.
39143 * streams/Makefile: Likewise.
39144 * string/Makefile: Likewise.
39145 * sunrpc/Makefile: Likewise.
39146 (all): Remove target.
39147 * sysvipc/Makefile: Include Makeconfig immediately after defining
39148 subdir.
39149 * termios/Makefile: Likewise.
39150 * time/Makefile: Likewise.
39151 * timezone/Makefile: Likewise.
39152 (all): Remove target.
39153 * wcsmbs/Makefile: Include Makeconfig immediately after defining
39154 subdir.
39155 * wctype/Makefile: Likewise.
39156
39157 2014-02-26 Steve Ellcey <sellcey@mips.com>
39158
39159 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39160 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39161 (libc_feholdexcept_setround_mips): Ditto.
39162 (libc_feholdsetround): New.
39163 (libc_feholdsetroundf): New.
39164 (libc_feholdsetroundl): New.
39165 (libc_feupdateenv_test_mips): New.
39166 (libc_feupdateenv_test): New.
39167 (libc_feupdateenv_testf): New.
39168 (libc_feupdateenv_testl): New.
39169 (libc_feresetround): New.
39170 (libc_feresetroundf): New.
39171 (libc_feresetroundl): New.
39172 (libc_fetestexcept_mips): New.
39173 (libc_fetestexcept): New.
39174 (libc_fetestexceptf): New.
39175 (libc_fetestexceptl): New.
39176 (HAVE_RM_CTX): New.
39177 (libc_feholdexcept_setround_mips_ctx): New.
39178 (libc_feholdexcept_setround_ctx): New.
39179 (libc_feholdexcept_setroundf_ctx): New.
39180 (libc_feholdexcept_setroundl_ctx): New.
39181 (libc_fesetenv_mips_ctx): New.
39182 (libc_fesetenv_ctx): New.
39183 (libc_fesetenv_ctxf): New.
39184 (libc_fesetenv_ctxl): New.
39185 (libc_feupdateenv_mips_ctx): New.
39186 (libc_feupdateenv_ctx): New.
39187 (libc_feupdateenvf_ctx): New.
39188 (libc_feupdateenvl_ctx): New.
39189 (libc_feholdsetround_mips_ctx): New.
39190 (libc_feholdsetround_ctx): New.
39191 (libc_feholdsetroundf_ctx): New.
39192 (libc_feholdsetroundl_ctx): New.
39193 (libc_feresetround_mips_ctx): New.
39194 (libc_feresetround_ctx): New.
39195 (libc_feresetroundf_ctx): New.
39196 (libc_feresetroundl_ctx): New.
39197
39198 2014-02-26 Carlos O'Donell <carlos@redhat.com>
39199
39200 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39201
39202 * manual/ipc.texi: New file.
39203 * manual/Makefile (chapters): Add ipc.
39204 * manual/job.texi: Add "Inter-Process Communication" to next.
39205 * manual/process.texi: Add "Inter-Process Communication" to prev.
39206
39207 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39208
39209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39210
39211 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
39212
39213 * malloc/malloc.c (__libc_calloc): Simplify implementation.
39214
39215 * manual/arith.texi: Fix spaces after sentences.
39216 * manual/charset.texi: Likewise.
39217 * manual/errno.texi: Likewise.
39218 * manual/install.texi: Likewise.
39219 * manual/llio.texi: Likewise.
39220 * manual/locale.texi: Likewise.
39221 * manual/maint.texi: Likewise.
39222 * manual/math.texi: Likewise.
39223 * manual/memory.texi: Likewise.
39224 * manual/message.texi: Likewise.
39225 * manual/probes.texi: Likewise.
39226 * manual/resource.texi: Likewise.
39227 * manual/signal.texi: Likewise.
39228 * manual/socket.texi: Likewise.
39229 * manual/stdio.texi: Likewise.
39230 * manual/string.texi: Likewise.
39231 * manual/time.texi: Likewise.
39232 * manual/users.texi: Likewise.
39233
39234 2014-02-25 Carlos O'Donell <carlos@redhat.com>
39235
39236 [BZ #16632]
39237 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39238 _DEFAULT_SOURCE is defined.
39239
39240 2014-02-25 Ulrich Drepper <drepper@gmail.com>
39241 Carlos O'Donell <carlos@redhat.com>
39242
39243 [BZ #16613]
39244 * elf/dl-tls.c (_dl_count_modids): New function.
39245 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39246 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39247 audit library and increment generation counter.
39248 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39249 * elf/tst-audit9.c: New file.
39250 * elf/tst-auditmod9a.c: New file.
39251 * elf/tst-auditmod9b.c: New file.
39252 * elf/Makefile: Add rules to build and run tst-audit9.
39253
39254 2014-02-25 Florian Weimer <fweimer@redhat.com>
39255
39256 [BZ #15347]
39257 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39258
39259 2014-02-25 Will Newton <will.newton@linaro.org>
39260
39261 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39262 (__longjmp): Restore sp and lr before restoring callee
39263 saved registers. Add longjmp and longjmp_target
39264 SystemTap probe point.
39265 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39266 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39267 Define to zero to match jmpbuf layout.
39268 * sysdeps/arm/setjmp.S: Include stap-probe.h.
39269 (__sigsetjmp): Save sp and lr before saving callee
39270 saved registers. Add setjmp SystemTap probe point.
39271
39272 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
39273
39274 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39275
39276 2014-02-24 Andreas Schwab <schwab@suse.de>
39277
39278 [BZ #15804]
39279 * elf/pldd.c (wait_for_ptrace_stop): New function.
39280 (main): Call it after attaching.
39281
39282 2014-02-22 Roland McGrath <roland@hack.frob.com>
39283
39284 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39285 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39286 Versions files is now verboten.
39287 * hurd/Versions (libc: GLIBC_2.0):
39288 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39289 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39290 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39291 * mach/Versions: Likewise.
39292
39293 * csu/Versions: Remove unused %include.
39294 * resolv/Versions: Likewise.
39295
39296 2014-02-21 Joseph Myers <joseph@codesourcery.com>
39297
39298 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39299 ($(objpfx)check-local-headers.out): Likewise.
39300 ($(objpfx)begin-end-check.out): Likewise.
39301 * Makerules (check-abi-%.out): Likewise.
39302 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39303 ($(objpfx)test2.cat): Likewise.
39304 ($(objpfx)de/libc.cat): Likewise.
39305 ($(objpfx)test-gencat.out): Likewise.
39306 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39307 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39308 ($(objpfx)noload-mem): Likewise.
39309 ($(objpfx)tst-pathopt.out): Likewise.
39310 ($(objpfx)tst-rtld-load-self.out): Likewise.
39311 ($(objpfx)tst-array1-cmp.out): Likewise.
39312 ($(objpfx)tst-array1-static-cmp.out): Likewise.
39313 ($(objpfx)tst-array2-cmp.out): Likewise.
39314 ($(objpfx)tst-array3-cmp.out): Likewise.
39315 ($(objpfx)tst-array4-cmp.out): Likewise.
39316 ($(objpfx)tst-array5-cmp.out): Likewise.
39317 ($(objpfx)tst-array5-static-cmp.out): Likewise.
39318 ($(objpfx)check-textrel.out): Likewise.
39319 ($(objpfx)check-execstack.out): Likewise.
39320 ($(objpfx)check-localplt.out): Likewise.
39321 ($(objpfx)order2-cmp.out): Likewise.
39322 ($(objpfx)tst-leaks1-mem): Likewise.
39323 ($(objpfx)tst-leaks1-static-mem): Likewise.
39324 ($(objpfx)tst-initorder-cmp.out): Likewise.
39325 ($(objpfx)tst-initorder2-cmp.out): Likewise.
39326 ($(objpfx)tst-unused-dep.out): Likewise.
39327 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39328 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39329 * iconv/Makefile (test-iconvconfig): Likewise.
39330 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39331 ($(objpfx)iconv-test.out): Likewise.
39332 ($(objpfx)tst-tables.out): Likewise.
39333 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39334 ($(objpfx)tst-gettext.out): Likewise.
39335 ($(objpfx)tst-translit.out): Likewise.
39336 ($(objpfx)tst-gettext2.out): Likewise.
39337 ($(objpfx)tst-gettext4.out): Likewise.
39338 ($(objpfx)tst-gettext6.out): Likewise.
39339 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39340 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39341 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39342 ($(objpfx)tst-fopenloc-mem.out): Likewise.
39343 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39344 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39345 * posix/Makefile ($(objpfx)globtest.out): Likewise.
39346 ($(objpfx)wordexp-tst.out): Likewise.
39347 ($(objpfx)annexc.out): Likewise.
39348 ($(objpfx)tst-fnmatch-mem): Likewise.
39349 ($(objpfx)bug-regex2-mem): Likewise.
39350 ($(objpfx)bug-regex14-mem): Likewise.
39351 ($(objpfx)bug-regex21-mem): Likewise.
39352 ($(objpfx)bug-regex31-mem): Likewise.
39353 ($(objpfx)tst-vfork3-mem): Likewise.
39354 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39355 ($(objpfx)tst-pcre-mem): Likewise.
39356 ($(objpfx)tst-boost-mem): Likewise.
39357 ($(objpfx)tst-getconf.out): Likewise.
39358 ($(objpfx)bug-ga2-mem): Likewise.
39359 ($(objpfx)bug-glob2-mem): Likewise.
39360 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39361 ($(objpfx)mtrace-tst-leaks2): Likewise.
39362 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39363 ($(objpfx)tst-printf.out): Likewise.
39364 ($(objpfx)tst-setvbuf1.out): Likewise.
39365 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39366 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39367 ($(objpfx)tst-fmtmsg.out): Likewise.
39368 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39369 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39370
39371 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39372 * bits/sigaction.h [__USE_MISC]: Likewise.
39373 * bits/waitstatus.h: Update #endif comments.
39374 * ctype/ctype.h: Likewise.
39375 * dirent/dirent.h: Likewise.
39376 [__USE_MISC]: Remove redundant conditionals.
39377 * grp/grp.h: Update #endif comments.
39378 [__USE_GNU]: Remove redundant conditionals.
39379 [__USE_MISC]: Likewise.
39380 * inet/netinet/in.h [__USE_GNU]: Likewise.
39381 * io/sys/stat.h [__USE_MISC]: Likewise.
39382 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39383 * libio/bits/stdio.h: Update #endif comments.
39384 [__USE_MISC]: Remove redundant conditionals.
39385 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39386 * libio/stdio.h: Update #endif comments.
39387 [__USE_MISC]: Remove redundant conditionals.
39388 * math/bits/math-finite.h [__USE_MISC]: Likewise.
39389 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39390 * math/math.h: Update #else and #endif comments.
39391 [__USE_MISC]: Remove redundant conditionals.
39392 * misc/sys/uio.h: Update #endif comments.
39393 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39394 * posix/glob.h [__USE_MISC]: Likewise.
39395 * posix/sys/types.h: Update #endif comments.
39396 [__USE_MISC]: Remove redundant conditionals.
39397 * posix/sys/wait.h: Update #endif comments.
39398 [__USE_MISC]: Remove redundant conditionals.
39399 * posix/unistd.h: Update #endif comments.
39400 [__USE_MISC]: Remove redundant conditionals.
39401 * pwd/pwd.h [__USE_GNU]: Likewise.
39402 [__USE_MISC]: Likewise.
39403 * resolv/netdb.h [__USE_GNU]: Likewise.
39404 * signal/signal.h: Update #endif comments.
39405 [__USE_MISC]: Remove redundant conditionals.
39406 * stdlib/stdlib.h: Update #else and #endif comments.
39407 [__USE_MISC]: Remove redundant conditionals.
39408 [__USE_GNU]: Likewise.
39409 * string/bits/string2.h [__USE_MISC]: Likewise.
39410 * string/string.h: Update #endif comments.
39411 [__USE_MISC]: Remove redundant conditionals.
39412 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39413 Likewise.
39414 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39415 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39416 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39417 Likewise.
39418 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39419 Likewise.
39420 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39421 comments.
39422 [__USE_MISC]: Remove redundant conditionals.
39423 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39424 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39425 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39426 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39427 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39428 Likewise.
39429 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39430 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39431 Likewise.
39432 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39433 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39434 Likewise.
39435 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39436 Likewise.
39437 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39438 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39439 Likewise.
39440 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39441 Likewise.
39442 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39443 * sysdeps/x86/bits/string.h: Update #endif comments.
39444 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39445 conditionals.
39446 * time/sys/time.h: Update #endif comments.
39447 * time/time.h: Likewise.
39448 [__USE_MISC]: Remove redundant conditionals.
39449
39450 2014-02-21 Yury Gribov <y.gribov@samsung.com>
39451
39452 [BZ #16600]
39453 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39454
39455 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
39456
39457 * Versions.def (librt): Add GLIBC_2.17.
39458
39459 2014-02-21 Adam Conrad <adconrad@0c3.net>
39460
39461 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39462 synonym for _SYS_AUXV_H to allow direct inclusion.
39463 * sysdeps/sparc/bits/hwcap.h: Likewise.
39464 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39465 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39466 * sysdeps/sparc/sysdep.h: Likewise.
39467
39468 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39469
39470 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39471
39472 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39473
39474 * benchtests/bench-strrchr.c: Print length instead of position.
39475
39476 2014-02-20 Joseph Myers <joseph@codesourcery.com>
39477
39478 [BZ #16611]
39479 * sysdeps/unix/sysv/linux/kernel-features.h
39480 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39481 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39482 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39483 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39484 Likewise.
39485 [__i386__ || __powerpc__ || __sh__ || __sparc__]
39486 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39487 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39488 (__ASSUME_SENDMMSG): Define instead of using previous
39489 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39490 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39491 (__ASSUME_SENDMMSG_SYSCALL): Define.
39492 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39493 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39494 Likewise.
39495 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39496 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39497 Likewise.
39498 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39499 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39500 Likewise.
39501 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39502 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39503 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39504 [__ASSUME_SENDMMSG]: Change conditionals to
39505 [__ASSUME_SENDMMSG_SOCKETCALL].
39506 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39507 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39508 Define.
39509 * sysdeps/unix/sysv/linux/mips/kernel-features.h
39510 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39511 Likewise.
39512 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39513 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39514 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39515 [!__ASSUME_SENDMMSG]: Change conditional to
39516 [!__ASSUME_SENDMMSG_SOCKETCALL].
39517 * sysdeps/unix/sysv/linux/tile/kernel-features.h
39518 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39519 Define.
39520
39521 [BZ #16610]
39522 * sysdeps/unix/sysv/linux/kernel-features.h
39523 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39524 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39525 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39526 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39527 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39528 [__i386__ || __sparc__]
39529 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39530 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39531 (__ASSUME_RECVMMSG): Define instead of using previous
39532 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39533 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39534 (__ASSUME_RECVMMSG_SYSCALL): Define.
39535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39536 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39537 Likewise.
39538 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39539 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39540 Likewise.
39541 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39542 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39543 Likewise.
39544 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39545 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39546 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39547 [__ASSUME_RECVMMSG]: Change condition to
39548 [__ASSUME_RECVMMSG_SOCKETCALL].
39549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39550 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39551 Define.
39552 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39553 * sysdeps/unix/sysv/linux/mips/kernel-features.h
39554 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39555 Likewise.
39556 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39557 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39558 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39559 [!__ASSUME_RECVMMSG]: Change condition to
39560 [!__ASSUME_RECVMMSG_SOCKETCALL].
39561 * sysdeps/unix/sysv/linux/tile/kernel-features.h
39562 (__ASSUME_RECVMMSG_SYSCALL): Define.
39563
39564 [BZ #16609]
39565 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39566 __powerpc__ || __s390__ || __sh__ || __sparc__]
39567 (__ASSUME_SOCKETCALL): Define.
39568 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39569 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39570 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39571 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39572 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39573 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39574 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39575 (__ASSUME_ACCEPT4): Define instead of using previous
39576 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39577 __powerpc__ || __sparc__ || __s390__)] condition.
39578 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39579 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39580 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
39581 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39582 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39583 [!__ASSUME_ACCEPT4]: Change condition to
39584 [!__ASSUME_ACCEPT4_SOCKETCALL].
39585 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39586 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
39587 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39588 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39589 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39590 __ASSUME_ACCEPT4_SYSCALL.
39591 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39592 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39593 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39594 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39595 __ASSUME_ACCEPT4_SYSCALL.
39596 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39597 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39598 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39599 [__ASSUME_ACCEPT4]: Change condition to
39600 [__ASSUME_ACCEPT4_SOCKETCALL].
39601 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39602 (__ASSUME_SOCKETCALL): Define.
39603 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39605 (__ASSUME_SOCKETCALL): Define.
39606 (__ASSUME_ACCEPT4): Remove.
39607 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39608 Define.
39609 * sysdeps/unix/sysv/linux/mips/kernel-features.h
39610 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39611 Likewise.
39612 * sysdeps/unix/sysv/linux/tile/kernel-features.h
39613 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39614
39615 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39616 macro.
39617 (HWCAP_ARM_LPAE): Likewise.
39618 (HWCAP_ARM_EVTSTRM): Likewise.
39619 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39620 Add vpfd32, lpae and evtstrm.
39621 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39622 Increase to 22.
39623
39624 2014-02-19 Joseph Myers <joseph@codesourcery.com>
39625
39626 * math/auto-libm-test-in: Add tests of clog10.
39627 * math/auto-libm-test-out: Regenerated.
39628 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39629 * sysdeps/i386/fpu/libm-test-ulps: Update.
39630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39631
39632 2014-02-18 Andreas Schwab <schwab@suse.de>
39633
39634 [BZ #16574]
39635 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39636 Store non-zero if the second buffer was newly allocated.
39637 (send_dg): Likewise.
39638 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39639 to send_vc and send_dg.
39640 (res_nsend): Pass NULL for ansp2_malloced.
39641 * resolv/res_query.c (__libc_res_nquery): Add parameter
39642 answerp2_malloced and pass it down to __libc_res_nsend.
39643 (res_nquery): Pass additional NULL to __libc_res_nquery.
39644 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39645 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
39646 second answer buffer if answerp2_malloced was set.
39647 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39648 (__libc_res_nquerydomain): Add parameter
39649 answerp2_malloced and pass it down to __libc_res_nquery.
39650 (res_nquerydomain): Pass additional NULL to
39651 __libc_res_nquerydomain.
39652 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39653 additional NULL to __libc_res_nsend and __libc_res_nquery.
39654 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39655 additional NULL to __libc_res_nsearch.
39656 (_nss_dns_gethostbyname4_r): Revert last change. Use new
39657 parameter of __libc_res_nsearch to check for separately allocated
39658 second buffer.
39659 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39660 __libc_res_nquery.
39661 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39662 additional NULL to __libc_res_nquery.
39663 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39664 __libc_res_nsearch.
39665 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39666 * include/resolv.h: Update prototypes of __libc_res_nquery,
39667 __libc_res_nsearch, __libc_res_nsend.
39668
39669 2014-02-18 Joseph Myers <joseph@codesourcery.com>
39670
39671 * math/auto-libm-test-in: Add tests of fma.
39672 * math/auto-libm-test-out: Regenerated.
39673 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39674 (fma_towardzero_test_data): Likewise.
39675 (fma_downward_test_data): Likewise.
39676 (fma_upward_test_data): Likewise.
39677 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39678 mpc_mode.
39679 (rounding_modes): Add values for new field.
39680 (func_calc_method): Add value mpfr_fff_f.
39681 (func_calc_desc): Add mpfr_fff_f union field.
39682 (test_function): Add field exact_args.
39683 (FUNC): Add macro argument EXACT_ARGS.
39684 (FUNC_mpfr_f_f): Update call to FUNC.
39685 (FUNC_mpfr_f_f): Likewise.
39686 (FUNC_mpfr_ff_f): Likewise.
39687 (FUNC_mpfr_if_f): Likewise.
39688 (FUNC_mpc_c_f): Likewise.
39689 (FUNC_mpc_c_c): Likewise.
39690 (test_functions): Add fma. Update calls to FUNC.
39691 (handle_input_arg): Add argument exact_args.
39692 (add_test): Update call to handle_input_arg.
39693 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
39694 (output_for_one_input_case): Update call to calc_generic_results.
39695 Recalculate exact zero results in each rounding mode.
39696
39697 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39698 non-negative before setting low bit.
39699 * math/auto-libm-test-in: Mark one asin test possibly having
39700 spurious underflow.
39701 * math/auto-libm-test-out: Regenerated.
39702 * sysdeps/i386/fpu/libm-test-ulps: Update.
39703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39704
39705 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
39706
39707 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39708 * sysdeps/unix/sysv/linux/microblaze: Move directory from
39709 ports/sysdeps/unix/sysv/linux/microblaze.
39710 * README: Add missing listing for microblaze*-*-linux-gnu.
39711
39712 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
39713
39714 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39715 duplicate code
39716
39717 2014-02-16 Mike Frysinger <vapier@gentoo.org>
39718
39719 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39720 * sysdeps/unix/sysv/linux/ia64: Move directory from
39721 ports/sysdeps/unix/sysv/linux/ia64.
39722 * README: Update listing for ia64-*-linux-gnu.
39723
39724 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
39725 Joseph Myers <joseph@codesourcery.com>
39726
39727 * Makeconfig (test-name): New variable.
39728 (evaluate-test): Likewise.
39729 * Makerules (do-test-clean): Remove .test-result files.
39730 (common-mostlyclean): Likewise.
39731 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39732 * scripts/evaluate-test.sh: New file.
39733
39734 2014-02-14 Joseph Myers <joseph@codesourcery.com>
39735
39736 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39737 separate $(objpfx)tst-fopenloc-cmp.out and
39738 $(objpfx)tst-fopenloc-mem.out targets.
39739 (tests): Update dependencies.
39740 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39741 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39742 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39743 (tst-rxspencer-no-utf8-ARGS): New variable.
39744 (tst-rxspencer-no-utf8-ENV): Likewise.
39745 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39746 instead of $(objpfx)tst-rxspencer-mem.
39747 ($(objpfx)tst-rxspencer-mem): Change target to
39748 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
39749 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39750 * posix/tst-rxspencer-no-utf8.c: New file.
39751
39752 * elf/Makefile ($(objpfx)order.out): Remove rule.
39753 [$(run-built-tests) = yes] (tests): Depend on
39754 $(objpfx)order-cmp.out.
39755 ($(objpfx)order-cmp.out): New rule.
39756 [$(run-built-tests) = yes] (tests): Depend on
39757 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39758 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39759 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39760 $(objpfx)tst-array5-static-cmp.out.
39761 ($(objpfx)tst-array1.out): Remove rule.
39762 ($(objpfx)tst-array1-cmp.out): New rule.
39763 ($(objpfx)tst-array1-static.out): Remove rule.
39764 ($(objpfx)tst-array1-static-cmp.out): New rule.
39765 ($(objpfx)tst-array2.out): Remove rule.
39766 ($(objpfx)tst-array2-cmp.out): New rule.
39767 ($(objpfx)tst-array3.out): Remove rule.
39768 ($(objpfx)tst-array3-cmp.out): New rule.
39769 ($(objpfx)tst-array4.out): Remove rule.
39770 ($(objpfx)tst-array4-cmp.out): New rule.
39771 ($(objpfx)tst-array5.out): Remove rule.
39772 ($(objpfx)tst-array5-cmp.out): New rule.
39773 ($(objpfx)tst-array5-static.out): Remove rule.
39774 ($(objpfx)tst-array5-static-cmp.out): New rule.
39775 [$(run-built-tests) = yes] (tests): Depend on
39776 $(objpfx)order2-cmp.out.
39777 ($(objpfx)order2.out): Remove rule.
39778 ($(objpfx)order2-cmp.out): New rule.
39779 ($(objpfx)tst-initorder.out): Remove rule.
39780 [$(run-built-tests) = yes] (tests): Depend on
39781 $(objpfx)tst-initorder-cmp.out.
39782 ($(objpfx)tst-initorder-cmp.out): New rule.
39783 ($(objpfx)tst-initorder2.out): Remove rule.
39784 [$(run-built-tests) = yes] (tests): Depend on
39785 $(objpfx)tst-initorder2-cmp.out.
39786 ($(objpfx)tst-initorder2-cmp.out): New rule.
39787 [$(run-built-tests) = yes] (tests): Depend on
39788 $(objpfx)tst-unused-dep-cmp.out.
39789 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
39790 ($(objpfx)tst-unused-dep-cmp.out): New rule.
39791 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
39792 on $(objpfx)tst-setvbuf1-cmp.out.
39793 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
39794 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
39795 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
39796 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
39797 ($(objpfx)tst-svc.out): Remove rule.
39798 ($(objpfx)tst-svc-cmp.out): New rule.
39799
39800 2014-02-13 Joseph Myers <joseph@codesourcery.com>
39801
39802 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
39803 * ctype/ctype.h [__USE_MISC]: Likewise.
39804 * dirent/dirent.h [__USE_MISC]: Likewise.
39805 * grp/grp.h [__USE_MISC]: Likewise.
39806 * io/fcntl.h [__USE_MISC]: Likewise.
39807 * io/sys/stat.h [__USE_MISC]: Likewise.
39808 * libio/stdio.h [__USE_MISC]: Likewise.
39809 * posix/unistd.h [__USE_MISC]: Likewise.
39810 * pwd/pwd.h [__USE_MISC]: Likewise.
39811 * stdlib.h [__USE_MISC]: Likewise.
39812 * string/bits/string2.h [__USE_MISC]: Likewise.
39813 * string/string.h [__USE_MISC]: Likewise.
39814 * time/time.h [__USE_MISC]: Likewise.
39815
39816 2014-02-13 Andreas Schwab <schwab@suse.de>
39817
39818 [BZ #16574]
39819 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
39820 second answer buffer if it was separately allocated.
39821
39822 2014-02-12 Joseph Myers <joseph@codesourcery.com>
39823
39824 * sysdeps/mips/math-tests.h: Include <features.h>.
39825 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39826 (ROUNDING_TESTS_long_double): Do not define.
39827 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39828 (EXCEPTION_TESTS_long_double): Likewise.
39829 * sysdeps/mips/mips64/libm-test-ulps: Update.
39830
39831 * include/features.h (__USE_BSD): Remove macro definitions.
39832 (__USE_SVID): Likewise.
39833 (_BSD_SOURCE): Likewise.
39834 (_SVID_SOURCE): Likewise.
39835 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
39836 from definition of _DEFAULT_SOURCE.
39837 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
39838 [_DEFAULT_SOURCE].
39839 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
39840 * bits/mman.h [__USE_BSD]: Likewise.
39841 * bits/termios.h [__USE_BSD]: Likewise.
39842 * bits/waitstatus.h [__USE_BSD]: Likewise.
39843 * ctype/ctype.h [__USE_SVID]: Likewise.
39844 * dirent/dirent.h [__USE_BSD]: Likewise.
39845 * grp/grp.h [__USE_SVID]: Likewise.
39846 [__USE_BSD]: Likewise.
39847 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
39848 * io/fcntl.h [__USE_BSD]: Likewise.
39849 * io/ftw.h [__USE_BSD]: Likewise.
39850 * io/sys/stat.h [__USE_BSD]: Likewise.
39851 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39852 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39853 * libio/stdio.h [__USE_SVID]: Likewise.
39854 [__USE_BSD]: Likewise.
39855 * math/math.h [__USE_SVID]: Likewise.
39856 [__USE_BSD]: Likewise.
39857 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39858 * misc/bits/syslog.h [__USE_BSD]: Likewise.
39859 * misc/search.h [__USE_SVID]: Likewise.
39860 * misc/sys/mman.h [__USE_BSD]: Likewise.
39861 * misc/sys/syslog.h [__USE_BSD]: Likewise.
39862 * misc/sys/uio.h [__USE_BSD]: Likewise.
39863 * posix/bits/unistd.h [__USE_BSD]: Likewise.
39864 * posix/glob.h [__USE_BSD]: Likewise.
39865 * posix/regex.h [__USE_BSD]: Likewise.
39866 * posix/sys/types.h [__USE_BSD]: Likewise.
39867 [__USE_SVID]: Likewise.
39868 * posix/sys/utsname.h [__USE_SVID]: Likewise.
39869 * posix/sys/wait.h [__USE_BSD]: Likewise.
39870 [__USE_SVID]: Likewise.
39871 * posix/unistd.h [__USE_BSD]: Likewise.
39872 [__USE_SVID]: Likewise.
39873 * pwd/pwd.h [__USE_SVID]: Likewise.
39874 * resolv/netdb.h [__USE_BSD]: Likewise.
39875 * setjmp/setjmp.h [__USE_BSD]: Likewise.
39876 * signal/signal.h [__USE_BSD]: Likewise.
39877 [__USE_SVID]: Likewise.
39878 * socket/sys/socket.h [__USE_BSD]: Likewise.
39879 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39880 * stdlib/stdlib.h [__USE_BSD]: Likewise.
39881 [__USE_SVID]: Likewise.
39882 * string/bits/string2.h [__USE_BSD]: Likewise.
39883 [__USE_SVID]: Likewise.
39884 * string/bits/string3.h [__USE_BSD]: Likewise.
39885 * string/endian.h [__USE_BSD]: Likewise.
39886 * string/string.h [__USE_SVID]: Likewise.
39887 [__USE_BSD]: Likewise.
39888 * string/strings.h [__USE_BSD]: Likewise.
39889 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39890 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39891 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39892 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39893 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39894 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39895 Likewise.
39896 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39897 Likewise.
39898 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39899 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39900 Likewise.
39901 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39902 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39903 Likewise.
39904 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39905 Likewise.
39906 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39907 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39908 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39909 Likewise.
39910 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39911 Likewise.
39912 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39913 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39914 * termios/termios.h [__USE_BSD]: Likewise.
39915 * time/sys/time.h [__USE_BSD]: Likewise.
39916 * time/time.h [__USE_BSD]: Likewise.
39917 [__USE_SVID]: Likewise.
39918
39919 * Makefile (subdir_targets): Remove subdir_lint.out.
39920
39921 * stdio-common/Makefile (do-tst-unbputc): Remove target.
39922 (do-tst-printf): Likewise.
39923 (tests): Depend directly on $(objpfx)tst-unbputc.out and
39924 $(objpfx)tst-printf.out.
39925
39926 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39927
39928 * Makerules (check-abi-%): Change target to
39929 $(objpfx)check-abi-%.out.
39930 (check-abi target): Update dependencies.
39931 (check-abi-pattern variable): Redirect output of diff to $@.
39932 (check-abi variable): Likewise.
39933 * elf/Makefile (check-abi): Update dependencies.
39934
39935 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39936 unused.
39937 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39938 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39939 subnormal range.
39940 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39941 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39942 value has largest subnormal exponent.
39943 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39944 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39945 * sysdeps/aarch64/soft-fp/sfp-machine.h
39946 (_FP_TININESS_AFTER_ROUNDING): New macro.
39947 * sysdeps/alpha/soft-fp/sfp-machine.h
39948 (_FP_TININESS_AFTER_ROUNDING): Likewise.
39949 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39950 Likewise.
39951 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39952 (_FP_TININESS_AFTER_ROUNDING): Likewise.
39953 * sysdeps/mips/soft-fp/sfp-machine.h
39954 (_FP_TININESS_AFTER_ROUNDING): Likewise.
39955 * sysdeps/powerpc/soft-fp/sfp-machine.h
39956 (_FP_TININESS_AFTER_ROUNDING): Likewise.
39957 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39958 Likewise.
39959 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39960 (_FP_TININESS_AFTER_ROUNDING): Likewise.
39961 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39962 (_FP_TININESS_AFTER_ROUNDING): Likewise.
39963 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39964 Likewise.
39965
39966 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
39967
39968 [BZ #16545]
39969 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39970 model 1.
39971
39972 2014-02-12 Richard Henderson <rth@redhat.com>
39973
39974 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39975 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39976 * sysdeps/unix/sysv/linux/alpha: Move directory from
39977 ports/sysdeps/unix/sysv/linux/alpha.
39978 * README: Update listing for alpha-*-linux-gnu.
39979
39980 2014-02-11 Joseph Myers <joseph@codesourcery.com>
39981
39982 * include/features.h: Update comment documenting feature test
39983 macros.
39984 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
39985 _DEFAULT_SOURCE.
39986 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39987 (_SVID_SOURCE): Likewise.
39988 (_DEFAULT_SOURCE): Update description of default features.
39989 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39990 with _GNU_SOURCE.
39991 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39992 (S_ISVTX): Likewise.
39993 * manual/math.texi (Mathematical Constants): Likewise.
39994 * manual/signal.texi (Interrupted Primitives): Likewise.
39995 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39996 * math/test-matherr.c (_SVID_SOURCE): Do not define.
39997 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39998 Don't refer to _SVID_SOURCE in warning text.
39999
40000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40001
40002 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40003 already defined.
40004 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40005 * sysdeps/mips/dl-lookup.c: Remove.
40006 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40007
40008 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
40009
40010 [BZ #16447]
40011 * math/auto-libm-test-in: Add testcase for expl.
40012 * math/auto-libm-test-out: Regenerate.
40013 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40014 calculation of unsafe.
40015 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40016
40017 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
40018
40019 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40020 * sysdeps/unix/sysv/linux/aarch64: Move directory from
40021 ports/sysdeps/unix/sysv/linux/aarch64.
40022 * README: Update listing for aarch64*-*-linux-gnu.
40023
40024 2014-02-11 Will Newton <will.newton@linaro.org>
40025
40026 * manual/probes.texi (Mathematical Function Probes): Use
40027 "triggered" instead of "hit".
40028
40029 * manual/probes.texi (Internal Probes): Add documentation
40030 of setjmp, longjmp and longjmp_target probes.
40031
40032 * include/stap-probe.h: Add comment about probe argument
40033 format.
40034
40035 * malloc/mtrace.c (attribute_hidden): Remove unused macro
40036 definition. (tr_where, tr_freehook, tr_mallochook,
40037 tr_reallochook, tr_memalignhook): Use ANSI protoype.
40038
40039 2014-02-11 David S. Miller <davem@davemloft.net>
40040
40041 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40042 processing int_tests.
40043
40044 2014-02-10 Joseph Myers <joseph@codesourcery.com>
40045
40046 * sysdeps/mips: Move directory from ports/sysdeps/mips.
40047 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40048 * sysdeps/unix/sysv/linux/mips: Move directory from
40049 ports/sysdeps/unix/sysv/linux/mips.
40050 * README: Update listing for mips-*-linux-gnu and
40051 mips64-*-linux-gnu.
40052
40053 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
40054
40055 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40056 * sysdeps/unix/sysv/linux/m68k: Move directory from
40057 ports/sysdeps/unix/sysv/linux/m68k.
40058 * README: Update listing for m68k-*-linux-gnu.
40059
40060 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
40061
40062 * sysdeps/tile: Move directory from ports/sysdeps/tile.
40063 * sysdeps/unix/sysv/linux/generic: Move directory from
40064 ports/sysdeps/unix/sysv/linux/generic.
40065 * sysdeps/unix/sysv/linux/tile: Move directory from
40066 ports/sysdeps/unix/sysv/linux/tile.
40067 * README: Update listing for tile*-*-linux-gnu.
40068
40069 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
40070
40071 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40072 __builtin_expect.
40073 * benchtests/bench-memmem.c (simple_memmem): Likewise.
40074 * catgets/open_catalog.c (__open_catalog): Likewise.
40075 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40076 * debug/confstr_chk.c: Likewise.
40077 * debug/fread_chk.c (__fread_chk): Likewise.
40078 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40079 * debug/getgroups_chk.c: Likewise.
40080 * debug/mbsnrtowcs_chk.c: Likewise.
40081 * debug/mbsrtowcs_chk.c: Likewise.
40082 * debug/mbstowcs_chk.c: Likewise.
40083 * debug/memcpy_chk.c: Likewise.
40084 * debug/memmove_chk.c: Likewise.
40085 * debug/mempcpy_chk.c: Likewise.
40086 * debug/memset_chk.c: Likewise.
40087 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40088 * debug/strcat_chk.c (__strcat_chk): Likewise.
40089 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40090 * debug/strncat_chk.c (__strncat_chk): Likewise.
40091 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40092 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40093 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40094 * debug/wcpncpy_chk.c: Likewise.
40095 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40096 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40097 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40098 * debug/wcsncpy_chk.c: Likewise.
40099 * debug/wcsnrtombs_chk.c: Likewise.
40100 * debug/wcsrtombs_chk.c: Likewise.
40101 * debug/wcstombs_chk.c: Likewise.
40102 * debug/wmemcpy_chk.c: Likewise.
40103 * debug/wmemmove_chk.c: Likewise.
40104 * debug/wmempcpy_chk.c: Likewise.
40105 * debug/wmemset_chk.c: Likewise.
40106 * dirent/scandirat.c (SCANDIRAT): Likewise.
40107 * dlfcn/dladdr1.c (dladdr1): Likewise.
40108 * dlfcn/dladdr.c (dladdr): Likewise.
40109 * dlfcn/dlclose.c (dlclose_doit): Likewise.
40110 * dlfcn/dlerror.c (__dlerror): Likewise.
40111 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40112 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40113 * dlfcn/dlopen.c (dlopen_doit): Likewise.
40114 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40115 * dlfcn/dlsym.c (dlsym_doit): Likewise.
40116 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40117 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40118 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40119 Likewise.
40120 * elf/dl-conflict.c: Likewise.
40121 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40122 * elf/dl-dst.h: Likewise.
40123 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40124 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40125 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40126 * elf/dl-init.c (call_init, _dl_init): Likewise.
40127 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40128 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40129 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40130 Likewise.
40131 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40132 Likewise.
40133 * elf/dl-minimal.c (__libc_memalign): Likewise.
40134 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40135 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40136 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40137 * elf/dl-sym.c (do_sym): Likewise.
40138 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40139 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40140 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40141 * elf/dl-writev.h (_dl_writev): Likewise.
40142 * elf/ldconfig.c (search_dir): Likewise.
40143 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40144 (dl_main): Likewise.
40145 * elf/setup-vdso.h (setup_vdso): Likewise.
40146 * grp/compat-initgroups.c (compat_call): Likewise.
40147 * grp/fgetgrent.c (fgetgrent): Likewise.
40148 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40149 * grp/putgrent.c (putgrent): Likewise.
40150 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40151 Likewise.
40152 * hurd/hurdinit.c: Likewise.
40153 * iconvdata/8bit-gap.c (struct): Likewise.
40154 * iconvdata/ansi_x3.110.c : Likewise.
40155 * iconvdata/big5.c : Likewise.
40156 * iconvdata/big5hkscs.c : Likewise.
40157 * iconvdata/cp1255.c: Likewise.
40158 * iconvdata/cp1258.c : Likewise.
40159 * iconvdata/cp932.c : Likewise.
40160 * iconvdata/euc-cn.c: Likewise.
40161 * iconvdata/euc-jisx0213.c : Likewise.
40162 * iconvdata/euc-jp.c: Likewise.
40163 * iconvdata/euc-jp-ms.c : Likewise.
40164 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40165 * iconvdata/gb18030.c : Likewise.
40166 * iconvdata/gbbig5.c (const): Likewise.
40167 * iconvdata/gbgbk.c: Likewise.
40168 * iconvdata/gbk.c : Likewise.
40169 * iconvdata/ibm1364.c : Likewise.
40170 * iconvdata/ibm930.c : Likewise.
40171 * iconvdata/ibm932.c: Likewise.
40172 * iconvdata/ibm933.c : Likewise.
40173 * iconvdata/ibm935.c : Likewise.
40174 * iconvdata/ibm937.c : Likewise.
40175 * iconvdata/ibm939.c : Likewise.
40176 * iconvdata/ibm943.c: Likewise.
40177 * iconvdata/iso_11548-1.c: Likewise.
40178 * iconvdata/iso-2022-cn.c : Likewise.
40179 * iconvdata/iso-2022-cn-ext.c : Likewise.
40180 * iconvdata/iso-2022-jp-3.c: Likewise.
40181 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40182 * iconvdata/iso-2022-kr.c : Likewise.
40183 * iconvdata/iso646.c (gconv_end): Likewise.
40184 * iconvdata/iso_6937-2.c : Likewise.
40185 * iconvdata/iso_6937.c : Likewise.
40186 * iconvdata/iso8859-1.c: Likewise.
40187 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40188 * iconvdata/shift_jisx0213.c : Likewise.
40189 * iconvdata/sjis.c : Likewise.
40190 * iconvdata/t.61.c : Likewise.
40191 * iconvdata/tcvn5712-1.c : Likewise.
40192 * iconvdata/tscii.c: Likewise.
40193 * iconvdata/uhc.c : Likewise.
40194 * iconvdata/unicode.c (gconv_end): Likewise.
40195 * iconvdata/utf-16.c (gconv_end): Likewise.
40196 * iconvdata/utf-32.c (gconv_end): Likewise.
40197 * iconvdata/utf-7.c (base64): Likewise.
40198 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40199 * iconv/gconv_close.c (__gconv_close): Likewise.
40200 * iconv/gconv_open.c (__gconv_open): Likewise.
40201 * iconv/gconv_simple.c (internal_ucs4_loop_single)
40202 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40203 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40204 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40205 (ucs4le_internal_loop_single): Likewise.
40206 * iconv/iconv.c (iconv): Likewise.
40207 * iconv/iconv_close.c: Likewise.
40208 * iconv/loop.c (SINGLE): Likewise.
40209 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40210 * include/atomic.h: Likewise.
40211 * inet/inet6_option.c (option_alloc): Likewise.
40212 * intl/bindtextdom.c (set_binding_values): Likewise.
40213 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40214 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40215 * intl/localealias.c (read_alias_file): Likewise.
40216 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40217 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40218 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40219 * libio/fmemopen.c (fmemopen): Likewise.
40220 * libio/iofgets.c (_IO_fgets): Likewise.
40221 * libio/iofgets_u.c (fgets_unlocked): Likewise.
40222 * libio/iofgetws.c (fgetws): Likewise.
40223 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40224 * libio/iogetdelim.c (_IO_getdelim): Likewise.
40225 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40226 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40227 * locale/findlocale.c (_nl_find_locale): Likewise.
40228 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40229 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40230 Likewise.
40231 * locale/setlocale.c (setlocale): Likewise.
40232 * login/programs/pt_chown.c (main): Likewise.
40233 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40234 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40235 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40236 (mmap, mmap64, mremap, munmap): Likewise.
40237 * math/e_exp2l.c: Likewise.
40238 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40239 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40240 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40241 * math/s_catan.c (__catan): Likewise.
40242 * math/s_catanf.c (__catanf): Likewise.
40243 * math/s_catanh.c (__catanh): Likewise.
40244 * math/s_catanhf.c (__catanhf): Likewise.
40245 * math/s_catanhl.c (__catanhl): Likewise.
40246 * math/s_catanl.c (__catanl): Likewise.
40247 * math/s_ccosh.c (__ccosh): Likewise.
40248 * math/s_ccoshf.c (__ccoshf): Likewise.
40249 * math/s_ccoshl.c (__ccoshl): Likewise.
40250 * math/s_cexp.c (__cexp): Likewise.
40251 * math/s_cexpf.c (__cexpf): Likewise.
40252 * math/s_cexpl.c (__cexpl): Likewise.
40253 * math/s_clog10.c (__clog10): Likewise.
40254 * math/s_clog10f.c (__clog10f): Likewise.
40255 * math/s_clog10l.c (__clog10l): Likewise.
40256 * math/s_clog.c (__clog): Likewise.
40257 * math/s_clogf.c (__clogf): Likewise.
40258 * math/s_clogl.c (__clogl): Likewise.
40259 * math/s_csin.c (__csin): Likewise.
40260 * math/s_csinf.c (__csinf): Likewise.
40261 * math/s_csinh.c (__csinh): Likewise.
40262 * math/s_csinhf.c (__csinhf): Likewise.
40263 * math/s_csinhl.c (__csinhl): Likewise.
40264 * math/s_csinl.c (__csinl): Likewise.
40265 * math/s_csqrt.c (__csqrt): Likewise.
40266 * math/s_csqrtf.c (__csqrtf): Likewise.
40267 * math/s_csqrtl.c (__csqrtl): Likewise.
40268 * math/s_ctan.c (__ctan): Likewise.
40269 * math/s_ctanf.c (__ctanf): Likewise.
40270 * math/s_ctanh.c (__ctanh): Likewise.
40271 * math/s_ctanhf.c (__ctanhf): Likewise.
40272 * math/s_ctanhl.c (__ctanhl): Likewise.
40273 * math/s_ctanl.c (__ctanl): Likewise.
40274 * math/w_pow.c: Likewise.
40275 * math/w_powf.c: Likewise.
40276 * math/w_powl.c: Likewise.
40277 * math/w_scalb.c (sysv_scalb): Likewise.
40278 * math/w_scalbf.c (sysv_scalbf): Likewise.
40279 * math/w_scalbl.c (sysv_scalbl): Likewise.
40280 * misc/error.c (error_tail): Likewise.
40281 * misc/pselect.c (__pselect): Likewise.
40282 * nis/nis_callback.c (__nis_create_callback): Likewise.
40283 * nis/nis_call.c (__nisfind_server): Likewise.
40284 * nis/nis_creategroup.c (nis_creategroup): Likewise.
40285 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40286 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40287 * nis/nis_getservlist.c (nis_getservlist): Likewise.
40288 * nis/nis_lookup.c (nis_lookup): Likewise.
40289 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40290 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40291 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40292 * nis/nis_xdr.c (xdr_endpoint): Likewise.
40293 * nis/nss_compat/compat-grp.c (getgrent_next_file)
40294 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40295 * nis/nss_compat/compat-initgroups.c (add_group)
40296 (internal_getgrent_r): Likewise.
40297 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40298 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40299 * nis/nss_compat/compat-spwd.c (getspent_next_file)
40300 (internal_getspnam_r): Likewise.
40301 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40302 (_nss_nis_getaliasbyname_r): Likewise.
40303 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40304 (_nss_nis_getntohost_r): Likewise.
40305 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40306 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40307 (_nss_nis_getgrgid_r): Likewise.
40308 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40309 (internal_nis_gethostent_r, internal_gethostbyname2_r)
40310 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40311 (_nss_nis_gethostbyname4_r): Likewise.
40312 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40313 (initgroups_netid): Likewise.
40314 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40315 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40316 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40317 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40318 (_nss_nis_getprotobynumber_r): Likewise.
40319 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40320 (_nss_nis_getsecretkey): Likewise.
40321 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40322 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40323 (_nss_nis_getpwuid_r): Likewise.
40324 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40325 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40326 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40327 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40328 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40329 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40330 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40331 Likewise.
40332 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40333 (_nss_nisplus_getntohost_r): Likewise.
40334 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40335 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40336 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40337 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40338 Likewise.
40339 * nis/nss_nisplus/nisplus-initgroups.c
40340 (_nss_nisplus_initgroups_dyn): Likewise.
40341 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40342 (_nss_nisplus_getnetbyaddr_r): Likewise.
40343 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40344 (_nss_nisplus_getprotobynumber_r): Likewise.
40345 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40346 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40347 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40348 Likewise.
40349 * nis/nss_nisplus/nisplus-service.c
40350 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40351 (_nss_nisplus_getservbyport_r): Likewise.
40352 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40353 (_nss_nisplus_getspnam_r): Likewise.
40354 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40355 Likewise.
40356 * nscd/aicache.c (addhstaiX): Likewise.
40357 * nscd/cache.c (cache_search, prune_cache): Likewise.
40358 * nscd/connections.c (register_traced_file, send_ro_fd)
40359 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40360 (main_loop_epoll): Likewise.
40361 * nscd/grpcache.c (addgrbyX): Likewise.
40362 * nscd/hstcache.c (addhstbyX): Likewise.
40363 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40364 * nscd/mem.c (gc, mempool_alloc): Likewise.
40365 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40366 (addinnetgrX): Likewise.
40367 * nscd/nscd-client.h (__nscd_acquire_maplock)
40368 (__nscd_drop_map_ref): Likewise.
40369 * nscd/nscd_getai.c (__nscd_getai): Likewise.
40370 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40371 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40372 Likewise.
40373 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40374 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40375 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40376 (__nscd_get_map_ref): Likewise.
40377 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40378 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40379 Likewise.
40380 * nscd/pwdcache.c (addpwbyX): Likewise.
40381 * nscd/selinux.c (preserve_capabilities): Likewise.
40382 * nscd/servicescache.c (addservbyX): Likewise.
40383 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40384 * posix/fnmatch.c (fnmatch): Likewise.
40385 * posix/getopt.c (_getopt_internal_r): Likewise.
40386 * posix/glob.c (glob, glob_in_dir): Likewise.
40387 * posix/wordexp.c (exec_comm_child): Likewise.
40388 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40389 (getanswer_r, gaih_getanswer_slice): Likewise.
40390 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40391 * resolv/res_init.c: Likewise.
40392 * resolv/res_mkquery.c (res_nmkquery): Likewise.
40393 * resolv/res_query.c (__libc_res_nquery): Likewise.
40394 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40395 Likewise.
40396 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40397 * stdio-common/perror.c (perror): Likewise.
40398 * stdio-common/printf_fp.c (___printf_fp): Likewise.
40399 * stdio-common/tmpnam.c (tmpnam): Likewise.
40400 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40401 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40402 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40403 Likewise.
40404 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40405 * stdlib/putenv.c (putenv): Likewise.
40406 * stdlib/setenv.c (__add_to_environ): Likewise.
40407 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40408 * stdlib/strtol_l.c (INTERNAL): Likewise.
40409 * string/memmem.c (memmem): Likewise.
40410 * string/strerror.c (strerror): Likewise.
40411 * string/strnlen.c (__strnlen): Likewise.
40412 * string/test-memmem.c (simple_memmem): Likewise.
40413 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40414 * sunrpc/pm_getport.c (__get_socket): Likewise.
40415 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40416 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40417 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40418 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40419 Likewise.
40420 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40421 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40422 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40423 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40424 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40425 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40426 Likewise.
40427 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40428 Likewise.
40429 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40430 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40431 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40432 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40433 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40435 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40436 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40437 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40438 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40439 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40440 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40441 Likewise.
40442 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40443 Likewise.
40444 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40445 Likewise.
40446 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40447 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40448 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40449 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40450 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40451 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40452 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40453 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40454 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40455 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40456 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40457 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40458 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40459 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40461 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40462 Likewise.
40463 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40464 Likewise.
40465 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40466 Likewise.
40467 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40468 Likewise.
40469 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40470 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40471 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40472 Likewise.
40473 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40474 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40475 * sysdeps/posix/opendir.c (__opendirat): Likewise.
40476 * sysdeps/posix/sleep.c: Likewise.
40477 * sysdeps/posix/tempname.c: Likewise.
40478 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40479 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40480 Likewise.
40481 * sysdeps/powerpc/powerpc32/dl-machine.h
40482 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40483 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40485 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40486 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40487 Likewise.
40488 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40489 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40490 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40491 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40492 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40493 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40494 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40495 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40496 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40497 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40498 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40499 (elf_machine_lazy_rel): Likewise.
40500 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40501 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40502 (elf_machine_lazy_rel): Likewise.
40503 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40504 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40505 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40506 * sysdeps/unix/grantpt.c (grantpt): Likewise.
40507 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40508 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40509 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40511 Likewise.
40512 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40513 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40514 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40515 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40516 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40517 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40518 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40519 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40520 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40521 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40522 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40523 Likewise.
40524 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40525 (__posix_fallocate64_l64): Likewise.
40526 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40527 (posix_fallocate): Likewise.
40528 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40529 Likewise.
40530 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40531 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40532 (getifaddrs_internal): Likewise.
40533 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40534 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40535 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40536 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40537 * sysdeps/unix/sysv/linux/posix_fallocate64.c
40538 (__posix_fallocate64_l64): Likewise.
40539 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40540 Likewise.
40541 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40542 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40543 (__get_clockfreq): Likewise.
40544 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40545 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40546 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40547 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40548 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40549 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40550 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40551 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40552 Likewise.
40553 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40554 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40555 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40556 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40557 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40558 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40559 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40560 Likewise.
40561 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40562 (posix_fallocate): Likewise.
40563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40564 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40565 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40566 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40567 (elf_machine_rela, elf_machine_rela_relative)
40568 (elf_machine_lazy_rel): Likewise.
40569 * time/asctime.c (asctime_internal): Likewise.
40570 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40571 * time/tzset.c (__tzset_parse_tz): Likewise.
40572 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40573 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40574 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40575 * wcsmbs/wcsmbsload.h: Likewise.
40576
40577 [BZ #15894]
40578 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40579
40580 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40581 (arena_get2): Remove THREAD_STATS conditionals.
40582 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40583 (__malloc_stats, int): Likewise.
40584
40585 2014-02-08 Mike Frysinger <vapier@gentoo.org>
40586
40587 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40588 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
40589
40590 * manual/setjmp.texi: Fix typos/grammar errors.
40591
40592 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40593 Only return early when n is <= 0. Delete unused return statement.
40594
40595 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40596 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40597 * debug/tst-longjmp_chk3.c: New file.
40598
40599 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40600 (test_main): Replace code with set_fortify_handler call.
40601 * debug/test-strcpy_chk.c: Likewise.
40602 * debug/tst-chk1.c: Likewise.
40603 * debug/tst-longjmp_chk.c: Likewise.
40604 * test-skeleton.c: Include fcntl.h & paths.h
40605 (set_fortify_handler): Define.
40606
40607 * debug/tst-longjmp_chk.c: Add header comment and include
40608 ../test-skeleton.c.
40609 (do_test): Mark static.
40610 (TEST_FUNCTION): Define.
40611
40612 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40613 (IP_PMTUDISC_INTERFACE): Likewise.
40614 (IP_MULTICAST_IF): Likewise.
40615 (IP_MULTICAST_TTL): Likewise.
40616 (IP_MULTICAST_LOOP): Likewise.
40617 (IP_ADD_MEMBERSHIP): Likewise.
40618 (IP_DROP_MEMBERSHIP): Likewise.
40619 (IP_UNBLOCK_SOURCE): Likewise.
40620 (IP_BLOCK_SOURCE): Likewise.
40621 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40622 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40623 (IP_MSFILTER): Likewise.
40624 (MCAST_JOIN_GROUP): Likewise.
40625 (MCAST_BLOCK_SOURCE): Likewise.
40626 (MCAST_UNBLOCK_SOURCE): Likewise.
40627 (MCAST_LEAVE_GROUP): Likewise.
40628 (MCAST_JOIN_SOURCE_GROUP): Likewise.
40629 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40630 (MCAST_MSFILTER): Likewise.
40631 (IP_MULTICAST_ALL): Likewise.
40632 (IP_UNICAST_IF): Likewise.
40633
40634 * timezone/Makefile: Delete $(have-ksh) check.
40635 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40636 * timezone/tzselect.ksh: Add +x mode bits.
40637
40638 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40639 (ANON_INODE_FS_MAGIC): Likewise.
40640 (BDEVFS_MAGIC): Likewise.
40641 (BINFMTFS_MAGIC): Likewise.
40642 (BTRFS_TEST_MAGIC): Likewise.
40643 (CRAMFS_MAGIC_WEND): Likewise.
40644 (DEBUGFS_MAGIC): Likewise.
40645 (ECRYPTFS_SUPER_MAGIC): Likewise.
40646 (EXT3_SUPER_MAGIC): Likewise.
40647 (EXT4_SUPER_MAGIC): Likewise.
40648 (FUTEXFS_SUPER_MAGIC): Likewise.
40649 (HOSTFS_SUPER_MAGIC): Likewise.
40650 (HUGETLBFS_MAGIC): Likewise.
40651 (MINIX3_SUPER_MAGIC): Likewise.
40652 (MTD_INODE_FS_MAGIC): Likewise.
40653 (NILFS_SUPER_MAGIC): Likewise.
40654 (OPENPROM_SUPER_MAGIC): Likewise.
40655 (PIPEFS_MAGIC): Likewise.
40656 (PSTOREFS_MAGIC): Likewise.
40657 (QNX6_SUPER_MAGIC): Likewise.
40658 (RAMFS_MAGIC): Likewise.
40659 (REISERFS_SUPER_MAGIC_STRING): Likewise.
40660 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40661 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40662 (SECURITYFS_MAGIC): Likewise.
40663 (SELINUX_MAGIC): Likewise.
40664 (SMACK_MAGIC): Likewise.
40665 (SOCKFS_MAGIC): Likewise.
40666 (SQUASHFS_MAGIC): Likewise.
40667 (STACK_END_MAGIC): Likewise.
40668 (TMPFS_MAGIC): Likewise.
40669 (USBDEVICE_SUPER_MAGIC): Likewise.
40670 (V9FS_MAGIC): Likewise.
40671 (XENFS_SUPER_MAGIC): Likewise.
40672 (CRAMFS_MAGIC): Fix typo in comment.
40673 (EXT2_SUPER_MAGIC): Update comment.
40674 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40675
40676 2014-02-08 Joseph Myers <joseph@codesourcery.com>
40677
40678 * sysdeps/arm: Move directory from ports/sysdeps/arm.
40679 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40680 * sysdeps/unix/sysv/linux/arm: Move directory from
40681 ports/sysdeps/unix/sysv/linux/arm.
40682 * README: Update listing for arm-*-linux-gnueabi.
40683
40684 * README: Remove mention of am33.
40685
40686 2014-02-07 Roland McGrath <roland@hack.frob.com>
40687
40688 * bits/sigset.h (__sigemptyset): Use a statement expression rather
40689 than the comma operator, to avoid "rhs of comma has no effect"
40690 compiler warnings.
40691 (__sigfillset, __sigandset, __sigorset): Likewise.
40692 * include/signal.h (__sigemptyset): Likewise.
40693 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40694
40695 2014-02-07 Allan McRae <allan@archlinux.org>
40696
40697 * version.h (RELEASE): Set to "development".
40698 (VERSION): Set to "2.19.90"
40699 * NEWS: Add 2.20 section.
40700
40701 2014-02-06 Carlos O'Donell <carlos@redhat.com>
40702
40703 [BZ #16529]
40704 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40705
40706 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40707
40708 * manual/contrib.texi: Update entry for Carlos O'Donell,
40709 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40710
40711 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
40712
40713 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40714
40715 * sysdeps/unix/sysv/linux/kernel-features.h
40716 [__LINUX_KERNEL_VERSION >= 0x020621]
40717 (__ASSUME_PROC_PID_TASK_COMM): Define.
40718
40719 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40720
40721 [BZ #16398]
40722 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40723 conversion when destination buffer does not have enough space.
40724 * libio/tst-ftell-partial-wide.c: New test case.
40725 * libio/Makefile (tests): Add tst-ftell-partial-wide.
40726
40727 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40728 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
40729 Leonard and Allan McRae.
40730
40731 2014-02-04 David S. Miller <davem@davemloft.net>
40732
40733 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40734 32-bit.
40735
40736 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40737
40738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40739 New file
40740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40741 New file
40742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40743 New file.
40744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40745 New file.
40746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40747 New file.
40748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40749 New file.
40750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40751 New file.
40752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40753 New file.
40754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40755 New file.
40756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40757 New file.
40758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40759 New file.
40760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40761 New file.
40762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40763 New file.
40764
40765 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40766
40767 * nptl/shlib-versions: Change powerpc*le start to 2.17.
40768 * shlib-versions: Likewise.
40769
40770 2014-02-04 Roland McGrath <roland@hack.frob.com>
40771 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40772
40773 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40774 (abilist-pattern): New variable, set to %-le.abilist.
40775
40776 * Makerules (abilist-pattern): New variable.
40777 (vpath): Use $(abilist-pattern) in place of %.abilist.
40778 (check-abi-% pattern rule): Likewise.
40779 (check-abi, update-abi): Likewise.
40780
40781 2014-02-04 Eric Wong <normalperson@yhbt.net>
40782
40783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40784
40785 2014-02-03 Carlos O'Donell <carlos@redhat.com>
40786
40787 * manual/startup.texi: Add next, previous, and top entries for
40788 the `Program Arguments' and `Environment Variables' nodes.
40789
40790 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
40791
40792 * manual/macros.texi: Add comments before MTASC-safety macros.
40793
40794 * manual/users.texi: Document MTASC-safety properties.
40795
40796 * manual/threads.texi (pthread_key_create, pthread_key_delete)
40797 (pthread_getspecific, pthread_setspecific): Format with
40798 @deftypefun, and add @safety note.
40799 * manual/signal.texi: Move comments that analyze the above
40800 functions to their home place.
40801
40802 2014-02-03 Allan McRae <allan@archlinux.org>
40803
40804 * po/sl.po: Update Slovenian translation from translation project.
40805
40806 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
40807
40808 * manual/time.texi (timegm): Add missing blank after @c.
40809 Reported by Joseph Myers <joseph@codesourcery.com>.
40810
40811 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
40812
40813 * manual/check-safety.sh: New.
40814 * manual/Makefile ($(objpfx)stamp-summary): Run it.
40815
40816 * manual/terminal.texi: Document MTASC-safety properties.
40817
40818 * manual/filesys.texi: Document MTASC-safety properties.
40819
40820 * manual/errno.texi: Document MTASC-safety properties.
40821
40822 * manual/intro.texi: Document safety identifiers and
40823 conditionals.
40824
40825 * manual/string.texi (wcstok): Fix prototype.
40826 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
40827
40828 * manual/time.texi: Document MTASC-safety properties.
40829
40830 * manual/string.texi: Document MTASC-safety properties.
40831
40832 * manual/threads.texi: Document MTASC-safety properties.
40833
40834 * manual/stdio.texi: Document MTASC-safety properties.
40835
40836 * manual/syslog.texi: Document MTASC-safety properties.
40837
40838 * manual/sysinfo.texi: Document MTASC-safety properties.
40839
40840 * manual/startup.texi: Document MTASC-safety properties.
40841
40842 * manual/socket.texi: Document MTASC-safety properties.
40843
40844 * manual/signal.texi: Document MTASC-safety properties.
40845
40846 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
40847
40848 * manual/setjmp.texi: Document MTASC-safety properties.
40849
40850 * manual/search.texi: Document MTASC-safety properties.
40851
40852 * manual/resource.texi: Document MTASC-safety properties.
40853
40854 * manual/process.texi: Document MTASC-safety properties.
40855
40856 * manual/platform.texi: Document MTASC-safety properties.
40857
40858 * manual/pipe.texi: Document MTASC-safety properties.
40859
40860 * manual/pattern.texi: Document MTASC-safety properties.
40861
40862 * manual/message.texi: Document MTASC-safety properties.
40863
40864 [BZ #12751]
40865 * manual/memory.texi: Document MTASC-safety properties.
40866
40867 * manual/math.texi: Document MTASC-safety properties.
40868
40869 * manual/locale.texi: Document MTASC-safety properties.
40870
40871 * manual/llio.texi: Document MTASC-safety properties.
40872
40873 * manual/libdl.texi: New.
40874
40875 * manual/lang.texi: Document MTASC-safety properties.
40876
40877 * manual/job.texi: Document MTASC-safety properties.
40878
40879 * manual/getopt.texi: Document MTASC-safety properties.
40880
40881 * manual/ctype.texi: Document MTASC-safety properties.
40882
40883 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
40884
40885 [BZ #16046]
40886 * csu/libc-tls.c (static_map): Remove variable.
40887 (__libc_setup_tls): Use main executable's link map for TLS data.
40888 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40889 casing for LM_ID_BASE and GL(dl_nns).
40890 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40891 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
40892 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40893 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40894 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40895 member.
40896 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40897 l_phnum members.
40898
40899 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
40900
40901 * manual/debug.texi: Document MTASC-safety properties.
40902
40903 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
40904
40905 [BZ #16510]
40906 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40907 of __x86_64__ when disabling x87 inline functions.
40908
40909 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
40910
40911 * manual/charset.texi: Document MTASC-safety properties.
40912
40913 * manual/crypt.texi: Document MTASC-safety properties.
40914
40915 * manual/conf.texi: Document MTASC-safety properties.
40916
40917 * manual/arith.texi: Document MTASC-safety properties.
40918
40919 * manual/argp.texi: Document MTASC-safety properties.
40920
40921 * manual/macros.texi: Introduce macros to document multi
40922 thread, asynchronous signal and asynchronous cancellation
40923 safety properties.
40924 * manual/intro.texi: Introduce the properties themselves.
40925
40926 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40927
40928 * sysdeps/sh/sh4/Makefile: New file.
40929
40930 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
40931
40932 * math/gen-libm-test.pl ($srcdir): New variable.
40933 ($auto_input): Use it.
40934
40935 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40936
40937 [BZ #16506]
40938 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40939 access beyond array bounds when parsing netgroups file.
40940
40941 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40942 the old buffer before realloc.
40943
40944 2014-01-27 Allan McRae <allan@archlinux.org>
40945
40946 * po/fr.po: Update French translation from translation project.
40947
40948 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40949
40950 * sysdeps/sh/libm-test-ulps: Regenerate.
40951
40952 2014-01-24 David S. Miller <davem@davemloft.net>
40953
40954 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40955
40956 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40957
40958 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40959 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40960
40961 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
40962
40963 [BZ #16474]
40964 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40965 string pointers after reallocation.
40966
40967 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40968
40969 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40970 __SH4A__ instead of __SH_FPU_ANY__.
40971
40972 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40973
40974 * sysdeps/sh/fpu_control.h: New file.
40975 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40976 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40977 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40978 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40979 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40980 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40981 * sysdeps/sh/sys/ucontext.h: Remove.
40982 * sysdeps/sh/sys: Remove directory.
40983
40984 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40985
40986 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40987 s390/sys/ucontext.h.
40988 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40989 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40990
40991 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
40992
40993 [BZ #15605]
40994 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40995
40996 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40997
40998 [BZ#16431]
40999 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41000 Adjust the vDSO correctly for internal calls.
41001 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41002
41003 2014-01-20 Allan McRae <allan@archlinux.org>
41004
41005 * po/ca.po: Update Catalan translation from translation project.
41006
41007 2014-01-16 Mike Frysinger <vapier@gentoo.org>
41008
41009 * sysdeps/s390/sotruss-lib.c: New file.
41010
41011 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41012
41013 [BZ#16430]
41014 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41015 (__GI___gettimeofday): Alias for a different internal symbol to avoid
41016 local calls issues by not having a PLT stub required for IFUNC calls.
41017 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41018
41019 2014-01-16 Joseph Myers <joseph@codesourcery.com>
41020
41021 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41022 * math/test-fpucw-static.c: Likewise.
41023
41024 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41025
41026 [BZ #16453]
41027 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41028
41029 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41030
41031 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41032 implementation for powerpc.
41033
41034 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
41035
41036 [BZ #14782]
41037 * sysdeps/posix/system.c (__libc_system): Do not enable
41038 asynchronous cancellation.
41039
41040 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41041
41042 [BZ #16427]
41043 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41044 handling only for numbers special also in the IEEE case.
41045
41046 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41047
41048 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41049
41050 2014-01-11 Allan McRae <allan@archlinux.org>
41051
41052 * po/bg.po: Update Bulgarian translation from translation project.
41053
41054 * po/de.po: Update German translation from translation project.
41055
41056 2014-01-10 Roland McGrath <roland@hack.frob.com>
41057
41058 * sysdeps/generic/gcc-compat.h: New file.
41059
41060 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41061
41062 * benchtests/asin-inputs: Correct slow inputs.
41063 * benchtests/acos-inputs: Likewise.
41064
41065 2014-01-10 Allan McRae <allan@archlinux.org>
41066
41067 * po:sv.po: Update Swedish translation from translation project.
41068
41069 * po/vi.po: Update Vietnamese translation from translation project.
41070
41071 * po/eo.po: Update Esperanto translation from translation project.
41072
41073 * po/cs.po: Update Czech translation from translation project.
41074
41075 * po/nl.po: Update Dutch translation from translation project.
41076
41077 * po/pl.po: Update Polish translation from translation project.
41078
41079 * po/ru.po: Update Russian translation from translation project.
41080
41081 * po/uk.po: Update Ukrainian translation from translation project.
41082
41083 2014-01-08 Brooks Moses <bmoses@google.com>
41084
41085 * elf/dl-load.c: Fix comment typo.
41086
41087 2014-01-08 Carlos O'Donell <carlos@redhat.com>
41088
41089 * po/header.pot: Rename to...
41090 * po/pot.header: ... this.
41091 * po/Makefile: Use pot.header.
41092
41093 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
41094 Maxim Kuvyrkov <maxim@kugelworks.com>
41095
41096 [BZ #16394]
41097 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41098 SRC and DEST against LEN.
41099
41100 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41101
41102 [BZ #16414]
41103 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41104 implementation.
41105 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41106
41107 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41108
41109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41110
41111 2014-01-08 Joseph Myers <joseph@codesourcery.com>
41112
41113 [BZ #16408]
41114 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41115 for large positive arguments.
41116
41117 2014-01-07 Joseph Myers <joseph@codesourcery.com>
41118
41119 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41120
41121 * math/auto-libm-test-in: Mark various tests with
41122 xfail-rounding:ldbl-128ibm.
41123 * math/auto-libm-test-out: Regenerated.
41124
41125 [BZ #16407]
41126 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41127 Increase overflow threshold.
41128
41129 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
41130
41131 [BZ #14286]
41132 * stdio-common/vfprintf.c: Check for integer overflow.
41133
41134 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41135
41136 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41137 the first argument and return value of __tls_get_addr_internal.
41138
41139 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41140
41141 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41142 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41143
41144 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41145
41146 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41147 * sysdeps/s390/rtld-global-offsets.sym: New file.
41148 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41149 GLIBC_2.19 symbol.
41150 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41151 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41152 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41153 ... this.
41154 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41155 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41156 ... this.
41157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41158 Regenerate.
41159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41160 Regenerate.
41161 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41162 halfs of GPRs for high_gprs contexts.
41163 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41164 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
41165 field.
41166 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41167 uc_flags field.
41168 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41169 64 bit versions:
41170 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41171 for high GPRs (uc_high_gprs) and for future extensions
41172 (__reserved).
41173 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41174 for future extensions (__reserved).
41175 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41176 64 bit versions:
41177 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41178 SC_HIGHGPRS offset definition.
41179 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41180 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41181
41182 * Versions.def: Add GLIBC_2.19 for libpthread.
41183 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41184 siglongjmp for libpthread with GLIBC_2.19 symver.
41185 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41186 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41187 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41188 * sysdeps/s390/__longjmp.c: New file.
41189 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41190 * sysdeps/s390/longjmp.c: New file.
41191 * sysdeps/s390/setjmp.S: New file.
41192 * sysdeps/s390/sigjmp.S: New file.
41193 * sysdeps/s390/v1-longjmp.c: New file.
41194 * sysdeps/s390/v1-setjmp.h: New file.
41195 * sysdeps/s390/v1-sigjmp.c: New file.
41196 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41197 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41198 GLIBC_2.19 version.
41199 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41200 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41201 versioned symbols for ____longjmp_chk.
41202 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41203 Likewise.
41204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41205 Regenerate.
41206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41207 Regenerate.
41208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41209 Regenerate.
41210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41211 Regenerate.
41212 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41213 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41214 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41215 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41216 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41217 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41218 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41219 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41220 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41221 * sysdeps/s390/rtld-__longjmp.c: New file.
41222 * sysdeps/s390/rtld-setjmp.S: New file.
41223
41224 2014-01-06 Joseph Myers <joseph@codesourcery.com>
41225
41226 [BZ #16400]
41227 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41228 Return -__logl (x) for small positive arguments without evaluating
41229 a polynomial.
41230
41231 2014-01-06 Mike Frysinger <vapier@gentoo.org>
41232
41233 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41234 Rename to ...
41235 (__ptrace_peeksiginfo_args): ... this.
41236 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41237 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41238 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41239
41240 2014-01-06 Allan McRae <allan@archlinux.org>
41241
41242 * inet/netinet/in.h: Fix typo in comment.
41243
41244 2014-01-05 Andreas Jaeger <aj@suse.de>
41245
41246 * sysdeps/i386/fpu/libm-test-ulps: Update.
41247
41248 2014-01-05 Allan McRae <allan@archlinux.org>
41249
41250 * po/libc.pot: Regenerated.
41251
41252 * malloc/memusagestat.c: Fix gettext call formatting.
41253
41254 2014-01-04 Sami Kerola <kerolasa@iki.fi>
41255
41256 * nscd/nscd.c: Improve usage() output.
41257
41258 2014-01-04 Mike Frysinger <vapier@gentoo.org>
41259
41260 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41261 * sysdeps/unix/sysv/linux/configure: Regenerated.
41262 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41263 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41264
41265 2014-01-03 Joseph Myers <joseph@codesourcery.com>
41266
41267 [BZ #16390]
41268 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41269 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41270
41271 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41272
41273 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41274 extra tokens at end of #undef directive.
41275 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41276 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41277 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41278
41279 2014-01-03 Joseph Myers <joseph@codesourcery.com>
41280
41281 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41282
41283 * math/auto-libm-test-in: Mark various tests with
41284 xfail-rounding:ldbl-128ibm.
41285 * math/auto-libm-test-out: Regenerated.
41286
41287 2014-01-02 Joseph Myers <joseph@codesourcery.com>
41288
41289 [BZ #16386]
41290 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41291 numbers with subnormal high part when calculating exponent.
41292
41293 [BZ #16385]
41294 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41295 fabs.
41296
41297 [BZ #16384]
41298 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41299 M_LN2l.
41300 (__ieee754_acoshl): Use __log1pl not __log1p.
41301
41302 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
41303
41304 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41305 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41306 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41307 (grow_heap, heap_trim, _int_new_arena, get_free_list)
41308 (reused_arena, arena_get2): Convert to GNU style.
41309 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41310 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41311 (memalign_check, __malloc_set_state): Likewise.
41312 * malloc/mallocbug.c (main): Likewise.
41313 * malloc/malloc.c (__malloc_assert, malloc_init_state)
41314 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41315 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41316 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41317 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41318 (__posix_memalign, malloc_info): Likewise.
41319 * malloc/malloc.h: Likewise.
41320 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41321 (mallochook, memalignhook, reallochook, mabort): Likewise.
41322 * malloc/mcheck.h: Likewise.
41323 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41324 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41325 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41326 * malloc/morecore.c (__default_morecore): Likewise.
41327 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41328 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41329 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41330 (print_and_abort): Likewise.
41331 * malloc/obstack.h: Likewise.
41332 * malloc/set-freeres.c (__libc_freeres): Likewise.
41333 * malloc/tst-mallocstate.c (main): Likewise.
41334 * malloc/tst-mtrace.c (main): Likewise.
41335 * malloc/tst-realloc.c (do_test): Likewise.
41336
41337 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41338
41339 [BZ #16366]
41340 * nscd/netgroupcache.c (do_notfound): New function.
41341 (addgetnetgrentX): Use it.
41342
41343 [BZ # 16365]
41344 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41345 NSS_STATUS_NOTFOUND.
41346
41347 2014-01-01 Joseph Myers <joseph@codesourcery.com>
41348
41349 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41351
41352 2014-01-01 Allan McRae <allan@archlinux.org>
41353
41354 * scripts/update-copyrights: Update configure input file suffix.
41355
41356 * NEWS: Update copyright year.
41357 * catgets/gencat.c: Likewise.
41358 * csu/version.c: Likewise.
41359 * debug/catchsegv.sh: Likewise.
41360 * debug/pcprofiledump.c: Likewise.
41361 * debug/xtrace.sh: Likewise.
41362 * elf/ldconfig.c: Likewise.
41363 * elf/ldd.bash.in: Likewise.
41364 * elf/pldd.c: Likewise.
41365 * elf/sotruss.ksh: Likewise.
41366 * elf/sprof.c: Likewise.
41367 * iconv/iconv_prog.c: Likewise.
41368 * iconv/iconvconfig.c: Likewise.
41369 * locale/programs/locale.c: Likewise.
41370 * locale/programs/localedef.c: Likewise.
41371 * login/programs/pt_chown.c: Likewise.
41372 * malloc/memusage.sh: Likewise.
41373 * malloc/memusagestat.c: Likewise.
41374 * malloc/mtrace.pl: Likewise.
41375 * manual/libc.texinfo: Likewise.
41376 * nscd/nscd.c: Likewise.
41377 * nss/getent.c: Likewise.
41378 * nss/makedb.c: Likewise.
41379 * posix/getconf.c: Likewise.
41380 * scripts/test-installation.pl: Likewise.
41381
41382 * All files with FSF copyright notices: Update copyright dates
41383 using scripts/update-copyrights.
41384 * intl/plural.c: Regenerated.
41385 * locale/programs/charmap-kw.h: Likewise.
41386 * locale/programs/locfile-kw.h: Likewise.
41387
41388 2013-12-31 Mike Frysinger <vapier@gentoo.org>
41389
41390 * sysdeps/unix/sysv/linux/configure: Regenerated.
41391 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41392 the linux/fanotify.h header.
41393 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41394 HAVE_LINUX_FANOTIFY_H is defined.
41395
41396 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41397
41398 * benchtests/cos-inputs: New inputs.
41399 * benchtests/sin-inputs: Likewise.
41400
41401 * benchtests/atan-inputs: New inputs. Fix name of multiple
41402 precision fallback inputs.
41403
41404 * benchtests/atanh-inputs: New inputs.
41405 * benchtests/tanh-inputs: Likewise.
41406
41407 * benchtests/acosh-inputs: New inputs.
41408 * benchtests/asinh-inputs: Likewise.
41409
41410 * benchtests/cosh-inputs: New inputs.
41411 * benchtests/sinh-inputs: Likewise.
41412
41413 * benchtests/acos-inputs: Add more inputs.
41414 * benchtests/asin-inputs: Likewise.
41415
41416 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
41417
41418 [BZ #16375]
41419 * manual/arith.texi: Fix spelling.
41420 * manual/charset.texi: Likewise.
41421 * manual/errno.texi: Likewise.
41422 * manual/filesys.texi: Likewise.
41423 * manual/lang.texi: Likewise.
41424 * manual/llio.texi: Likewise.
41425 * manual/locale.texi: Likewise.
41426 * manual/message.texi: Likewise.
41427 * manual/resource.texi: Likewise.
41428 * manual/search.texi: Likewise.
41429 * manual/setjmp.texi: Likewise.
41430 * manual/stdio.texi: Likewise.
41431 * manual/string.texi: Likewise.
41432 * manual/sysinfo.texi: Likewise.
41433 * manual/time.texi: Likewise.
41434
41435 2013-12-27 Carlos O'Donell <carlos@redhat.com>
41436
41437 * po/sl.po: New file.
41438
41439 2013-12-27 Mike Frysinger <vapier@gentoo.org>
41440
41441 * .gitignore: Add core/.gdbinit/.gdb_history.
41442
41443 2013-12-27 Allan McRae <allan@archlinux.org>
41444
41445 [BZ #16369]
41446 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41447 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41448
41449 2013-12-24 Brooks Moses <bmoses@google.com>
41450
41451 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41452 all compilers that claim C++98 compliance, not just GCC.
41453 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41454 Likewise.
41455
41456 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
41457
41458 * NEWS: Restore accidentally deleted bug-fix entries.
41459
41460 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
41461 Ondřej Bílka <neleai@seznam.cz>
41462
41463 [BZ #15073]
41464 * malloc/malloc.c (_int_free): Perform sanity check only if we
41465 have_lock.
41466
41467 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
41468
41469 [BZ #12986]
41470 * manual/stdio.texi (String Input Conversions): Clarify that character
41471 classes are not supported.
41472
41473 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41474
41475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41476
41477 2013-12-22 Joseph Myers <joseph@codesourcery.com>
41478
41479 [BZ #16337]
41480 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41481 Calculate results for small negative arguments directly rather
41482 than using reflection formula with special underflow handling.
41483
41484 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41485 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41486 sysdeps/unix/bsd/bsd4.4/syscalls.list.
41487 (fchflags): Likewise.
41488 (revoke): Likewise.
41489 (setlogin): Likewise.
41490 (sigaltstack): Likewise.
41491 (wait4): Likewise.
41492 (sigblock): Remove.
41493 (sigsetmask): Likewise.
41494 (wait3): Likewise.
41495 (waitpid): Likewise.
41496 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41497 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41498 file.
41499 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41500 * sysdeps/unix/bsd/Makefile: ... here.
41501 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41502 * sysdeps/unix/bsd/Versions: ... here.
41503 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41504 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41505 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41506 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41507 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41508 * sysdeps/unix/bsd/sigblock.c: ... here.
41509 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41510 * sysdeps/unix/bsd/sigsetmask.c: ... here.
41511 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41512 * sysdeps/unix/bsd/sigvec.c: ... here.
41513 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41514 * sysdeps/unix/bsd/tcdrain.c: ... here.
41515 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41516 * sysdeps/unix/bsd/tcgetattr.c: ... here.
41517 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41518 * sysdeps/unix/bsd/tcsetattr.c: ... here.
41519 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41520 * sysdeps/unix/bsd/wait.c: ... here.
41521 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41522 * sysdeps/unix/bsd/wait3.c: ... here.
41523 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41524 * sysdeps/unix/bsd/waitpid.c: ... here.
41525
41526 2013-12-21 Joseph Myers <joseph@codesourcery.com>
41527
41528 [BZ #16356]
41529 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41530 round-to-nearest for [!USE_AS_EXPM1L].
41531 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41532 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
41533 more tests of exp and exp10. Expect some exp10 tests to miss
41534 exceptions or fail in directed rounding modes.
41535 * math/auto-libm-test-out: Regenerated.
41536 * math/libm-test.inc (exp10_tonearest_test_data): New array.
41537 (exp10_test_tonearest): New function.
41538 (exp10_towardzero_test_data): New array.
41539 (exp10_test_towardzero): New function.
41540 (exp10_downward_test_data): New array.
41541 (exp10_test_downward): New function.
41542 (exp10_upward_test_data): New array.
41543 (exp10_test_upward): New function.
41544 (main): Call the new functions.
41545 * sysdeps/i386/fpu/libm-test-ulps: Update.
41546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41547
41548 2013-12-20 Joseph Myers <joseph@codesourcery.com>
41549
41550 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41551 asinh, atan, atan2, atanh, cbrt, cos and cosh.
41552 * math/auto-libm-test-out: Regenerated.
41553 * math/libm-test.inc (acosh_test_data): Add more tests.
41554 (atanh_test_data): Likewise.
41555 (ceil_test_data): Likewise.
41556 (copysign_test_data): Likewise.
41557 * sysdeps/i386/fpu/libm-test-ulps: Update.
41558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41559
41560 * timezone/checktab.awk: Update from tzcode 2013i.
41561 * timezone/private.h: Likewise.
41562 * timezone/scheck.c: Likewise.
41563 * timezone/tzfile.h: Likewise.
41564 * timezone/tzselect.ksh: Likewise.
41565 * timezone/zdump.c: Likewise.
41566 * timezone/zic.c: Likewise.
41567
41568 * math/auto-libm-test-in: Add tests of cpow.
41569 * math/auto-libm-test-out: Regenerated.
41570 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41571 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41572 mpc_cc_c.
41573 (func_calc_desc): Add mpc_cc_c union field.
41574 (test_functions): Add cpow.
41575 (special_fill_2pi): New function.
41576 (special_real_inputs): Add 2pi.
41577 (calc_generic_results): Handle mpc_cc_c.
41578 * sysdeps/i386/fpu/libm-test-ulps: Update.
41579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41580
41581 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41582 csqrt, ctan and ctanh.
41583 * math/auto-libm-test-out: Regenerated.
41584 * math/libm-test.inc (TEST_COND_x86_64): New macro.
41585 (TEST_COND_x86): Likewise.
41586 (ccos_test_data): Use AUTO_TESTS_c_c.
41587 (ccosh_test_data): Likewise.
41588 (cexp_test_data): Likewise.
41589 (clog_test_data): Likewise.
41590 (csqrt_test_data): Likewise.
41591 (ctan_test_data): Likewise.
41592 (ctan_tonearest_test_data): Likewise.
41593 (ctan_towardzero_test_data): Likewise.
41594 (ctan_downward_test_data): Likewise.
41595 (ctan_upward_test_data): Likewise.
41596 (ctanh_test_data): Likewise.
41597 (ctanh_tonearest_test_data): Likewise.
41598 (ctanh_towardzero_test_data): Likewise.
41599 (ctanh_downward_test_data): Likewise.
41600 (ctanh_upward_test_data): Likewise.
41601 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41602 mpc_c_c.
41603 (func_calc_desc): Add mpc_c_c union field.
41604 (FUNC_mpc_c_c): New macro.
41605 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41606 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41607 ctanh.
41608 (special_fill_min_subnorm_p120): New function.
41609 (special_real_inputs): Add min_subnorm_p120.
41610 (calc_generic_results): Handle mpc_c_c.
41611 * sysdeps/i386/fpu/libm-test-ulps: Update.
41612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41613
41614 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41615
41616 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41617 (do_sin_slow): New functions.
41618 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41619 (cslow2, csloww1, csloww2): Use the new functions.
41620
41621 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41622 Use M to change sign of result instead of X. Assume X is
41623 positive.
41624 (csloww1): Likewise.
41625 (__sin): Adjust.
41626 (__cos): Adjust.
41627
41628 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41629 arguments A and DA.
41630 (__sin): Adjust.
41631 (__cos): Likewise.
41632
41633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41634 (__cos): Likewise.
41635 (sloww1): Don't adjust sign of DX.
41636 (csloww1): Likewise.
41637 (sloww2): Use X directly and don't adjust sign of DX.
41638 (csloww2): Likewise.
41639
41640 2013-12-19 Joseph Myers <joseph@codesourcery.com>
41641
41642 * math/auto-libm-test-in: Add tests of cabs and carg.
41643 * math/auto-libm-test-out: Regenerated.
41644 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41645 (carg_test_data): Likewise.
41646 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41647 mpc_c_f.
41648 (func_calc_desc): Add mpc_c_f union field.
41649 (test_functions): Add cabs and carg.
41650 (calc_generic_results): Handle mpc_c_f.
41651
41652 * sysdeps/powerpc/powerpc32/libgcc-compat.S
41653 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41654 as a macro and a compat symbol.
41655 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41656 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41657 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41658 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41659 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41660 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41661 not use .hidden.
41662 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41663 Likewise.
41664 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41665 Likewise.
41666 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41667 Likewise.
41668 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41669 Likewise.
41670 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41671 Likewise.
41672 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41673 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41674 from GLIBC_2.3.2.
41675
41676 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41677
41678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41679
41680 2013-12-19 Joseph Myers <joseph@codesourcery.com>
41681
41682 * manual/texinfo.tex: Update to version 2013-11-26.10 with
41683 trailing whitespace removed.
41684 * scripts/config.guess: Update to version 2013-11-29.
41685 * scripts/config.sub: Update to version 2013-10-01.
41686
41687 * math/auto-libm-test-in: Add tests of sincos.
41688 * math/auto-libm-test-out: Regenerated.
41689 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41690 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41691 mpfr_f_11.
41692 (func_calc_desc): Add mpfr_f_11 union field.
41693 (test_functions): Add sincos.
41694 (calc_generic_results): Handle mpfr_f_11.
41695 * sysdeps/i386/fpu/libm-test-ulps: Update.
41696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41697
41698 2013-12-19 Andreas Schwab <schwab@suse.de>
41699
41700 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41701 CALL_MCOUNT.
41702 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41703 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41704 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41705
41706 2013-12-19 Joseph Myers <joseph@codesourcery.com>
41707
41708 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41709 * sysdeps/i386/fpu/libm-test-ulps: Update.
41710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41711
41712 [BZ #16293]
41713 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41714 round-to-nearest mode when using frndint.
41715 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41716 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41717 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41718 Likewise.
41719 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
41720 sinh test to fail.
41721 * math/auto-libm-test-out: Regenerated.
41722 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41723 (TEST_COND_x86): Likewise.
41724 (expm1_tonearest_test_data): New array.
41725 (expm1_test_tonearest): New function.
41726 (expm1_towardzero_test_data): New array.
41727 (expm1_test_towardzero): New function.
41728 (expm1_downward_test_data): New array.
41729 (expm1_test_downward): New function.
41730 (expm1_upward_test_data): New array.
41731 (expm1_test_upward): New function.
41732 (main): Run the new test functions.
41733 * sysdeps/i386/fpu/libm-test-ulps: Update.
41734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41735
41736 * include/features.h: Update comment documenting feature test
41737 macros. Mention _DEFAULT_SOURCE in comment.
41738 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41739 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41740 _BSD_SOURCE and _SVID_SOURCE.
41741 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41742 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41743 !_SVID_SOURCE]: Likewise.
41744 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41745 (__USE_POSIX_IMPLICITLY): Define.
41746 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41747 (_POSIX_SOURCE): Undefine and redefine.
41748 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41749 (_POSIX_C_SOURCE): Likewise.
41750 * manual/creature.texi (_DEFAULT_SOURCE): Document.
41751 (Feature Test Macros): Update documentation of default features.
41752
41753 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41754
41755 * benchtests/Makefile: Add bench-strtok.
41756 * benchtests/bench-strtok.c: New file: strtok benchtest.
41757
41758 2013-12-19 Allan McRae <allan@archlinux.org>
41759
41760 * manual/install.texi: Suppress menu for plain text output.
41761 * INSTALL: Regenerated.
41762
41763 2013-12-18 Brooks Moses <bmoses@google.com>
41764
41765 [BZ #15846]
41766 * misc/getauxval.c: Include errno.h.
41767 (__getauxval): Set errno to ENOENT if the requested type is not
41768 found.
41769 * misc/sys/auxv.h (getauxval): Document that it may set errno;
41770 don't declare with __attribute_const__.
41771 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41772 * manual/startup.texi: Document that getauxval sets errno.
41773
41774 2013-12-18 Joseph Myers <joseph@codesourcery.com>
41775
41776 * math/auto-libm-test-in: Add tests of jn and yn.
41777 * math/auto-libm-test-out: Regenerated.
41778 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
41779 (yn_test_data): Likewise.
41780 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41781 mpfr_if_f.
41782 (func_calc_desc): Add mpfr_if_f union field.
41783 (FUNC_mpfr_if_f): New macro.
41784 (test_functions): Add jn and yn.
41785 (calc_generic_results): Assert type of second input for
41786 mpfr_ff_f. Handle mpfr_if_f.
41787 (output_for_one_input_case): Disable all checking for arguments
41788 fitting floating-point types in case of an integer argument.
41789 * sysdeps/i386/fpu/libm-test-ulps: Update.
41790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41791
41792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41793 Don't expect fegetround reference in libm.so.
41794
41795 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41796
41797 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
41798 $(config-cflags-nofma).
41799
41800 2013-12-18 Joseph Myers <joseph@codesourcery.com>
41801
41802 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
41803 * math/auto-libm-test-out: Regenerated.
41804
41805 [BZ #16338]
41806 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
41807 to determine exponent and adjust argument to have exponent of -1.
41808 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
41809 log2.
41810 * math/auto-libm-test-out: Regenerated.
41811 * sysdeps/i386/fpu/libm-test-ulps: Update.
41812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41813
41814 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
41815
41816 * manual/probes.texi: Remove cases when per-thread arenas are
41817 disabled.
41818
41819 2013-12-18 Andreas Schwab <schwab@suse.de>
41820
41821 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
41822 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
41823 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
41824 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
41825 * sysdeps/i386/i686/multiarch/Makefile: Update.
41826 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
41827
41828 2013-12-17 Joseph Myers <joseph@codesourcery.com>
41829
41830 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
41831 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
41832
41833 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
41834
41835 [BZ #15968]
41836 Support TZ transition times < 00:00:00.
41837 This is needed for version-3 tz-format files; it supports time
41838 stamps past 2037 for America/Godthab (the only entry in the tz
41839 database for which this change is relevant).
41840 * manual/time.texi (TZ Variable): Document transition times
41841 from -167:59:59 through -00:00:01.
41842 * time/tzset.c (tz_rule): Time of day is now signed.
41843 (__tzset_parse_tz): Parse negative time of day.
41844
41845 Document TZ transition times >= 25:00:00.
41846 * manual/time.texi (TZ Variable): Document transition times from
41847 25:00:00 through 167:59:59. These are already supported, and this
41848 support will help with version-3 tz-format files.
41849
41850 * manual/time.texi (TZ Variable): Modernize North America example
41851 to reflect current (i.e., 2007-and-later) daylight saving rules.
41852
41853 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41854
41855 2013-12-17 Joseph Myers <joseph@codesourcery.com>
41856
41857 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41858 * sysdeps/unix/bsd/bits/stat.h: Likewise.
41859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41861 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41862 * sysdeps/unix/bsd/bsdstat.h: Likewise.
41863 * sysdeps/unix/bsd/clock.c: Likewise.
41864 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41865 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41866 * sysdeps/unix/bsd/init-posix.c: Likewise.
41867 * sysdeps/unix/bsd/poll.c: Likewise.
41868 * sysdeps/unix/bsd/ptsname.c: Likewise.
41869 * sysdeps/unix/bsd/seekdir.c: Likewise.
41870 * sysdeps/unix/bsd/setegid.c: Likewise.
41871 * sysdeps/unix/bsd/seteuid.c: Likewise.
41872 * sysdeps/unix/bsd/setgid.c: Likewise.
41873 * sysdeps/unix/bsd/setrgid.c: Likewise.
41874 * sysdeps/unix/bsd/setruid.c: Likewise.
41875 * sysdeps/unix/bsd/setsid.c: Likewise.
41876 * sysdeps/unix/bsd/setuid.c: Likewise.
41877 * sysdeps/unix/bsd/sigaction.c: Likewise.
41878 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41879 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41880 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41881 * sysdeps/unix/bsd/telldir.c: Likewise.
41882 * sysdeps/unix/bsd/times.c: Likewise.
41883 * sysdeps/unix/bsd/usleep.c: Likewise.
41884
41885 * misc/Makefile (install-lib): Remove libbsd-compat.a.
41886 ($(objpfx)libbsd-compat.a): Remove rule.
41887
41888 * include/features.h (__FAVOR_BSD): Do not define.
41889 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41890 features conflicting with POSIX.
41891 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41892 (_BSD_SOURCE): Remove description of not being a subset of other
41893 feature test macros.
41894 * manual/job.texi (getpgrp): Do not document BSD version.
41895 (getpgid): Do not document by reference to BSD getpgrp.
41896 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41897 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41898 * signal/signal.h [__FAVOR_BSD]: Likewise.
41899 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41900 instead of making contents conditional on [__FAVOR_BSD].
41901 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41902
41903 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41904
41905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41906
41907 2013-12-17 Joseph Myers <joseph@codesourcery.com>
41908
41909 [BZ #16314]
41910 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41911 values below 2**-450, not 2**-500.
41912 * math/auto-libm-test-in: Don't allow spurious underflow from
41913 hypot.
41914 * math/auto-libm-test-out: Regenerated.
41915
41916 [BZ #16316]
41917 [BZ #16330]
41918 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41919 values of ha and hb and sort them after adjusting subnormal
41920 arguments.
41921 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41922 Likewise.
41923 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41924 values of ea and eb and sort them after adjusting subnormal
41925 arguments.
41926 * math/auto-libm-test-in: Do not expect some hypot tests of
41927 subnormals to fail. Add more hypot tests.
41928 * math/auto-libm-test-out: Regenerated.
41929
41930 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41931
41932 [BZ #13304]
41933 * sysdeps/sh/s_fma.c: New file.
41934 * sysdeps/sh/s_fmaf.c: New file.
41935 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
41936 version.
41937 * sysdeps/sh/Implies: Add sh/soft-fp.
41938
41939 2013-12-16 Roland McGrath <roland@hack.frob.com>
41940
41941 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
41942 level of indirection to members `objname', `errstring', `malloced'.
41943 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41944 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
41945 it as the __longjmp argument (just pass 1 instead).
41946 (_dl_catch_error): Initialize C with argument pointers and address of
41947 volatile local ERRCODE rather than copying values out of C at return.
41948
41949 2013-12-16 Joseph Myers <joseph@codesourcery.com>
41950
41951 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41952 * math/auto-libm-test-out: Regenerated.
41953 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41954 (hypot_test_data): Likewise.
41955 (pow_test_data): Likewise.
41956 (pow_tonearest_test_data): Likewise.
41957 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41958 mpfr_ff_f.
41959 (func_calc_desc): Add mpfr_ff_f union field.
41960 (FUNC_mpfr_ff_f): New macro.
41961 (test_functions): Add atan2, hypot and pow.
41962 (special_fill_min): New function.
41963 (special_fill_minus_min): Likewise.
41964 (special_fill_min_subnorm): Likewise.
41965 (special_fill_minus_min_subnorm): Likewise.
41966 (special_real_inputs): Add min, -min, min_subnorm and
41967 -min_subnorm.
41968 (calc_generic_results): Handle mpfr_ff_f.
41969 * sysdeps/i386/fpu/libm-test-ulps: Update.
41970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41971
41972 2013-12-16 Will Newton <will.newton@linaro.org>
41973
41974 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41975 (Aligned Memory Blocks): Add documentation for aligned_alloc
41976 and suggest it as an alternative to posix_memalign.
41977 (Hooks for Malloc): Document __memalign_hook is also called
41978 for aligned_alloc. (Summary of Malloc): Add summary for
41979 aligned alloc. Document __memalign_hook is also called
41980 for aligned_alloc.
41981
41982 2013-12-16 Will Newton <will.newton@linaro.org>
41983
41984 * manual/memory.texi (Malloc Examples): Clarify default
41985 alignment documentation. Suggest posix_memalign rather
41986 than memalign or valloc.
41987 (Aligned Memory Blocks): Remove suggestion to use memalign
41988 or valloc. Remove obsolete comment about BSD.
41989 Document memalign errno values and mark the function obsolete.
41990 Document posix_memalign returned error codes. Mark valloc
41991 as obsolete. (Hooks for Malloc): __memalign_hook is also
41992 called for posix_memalign and valloc.
41993 (Summary of Malloc): Add posix_memalign to function summary.
41994 __memalign_hook is also called for posix_memalign and valloc.
41995
41996 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41997
41998 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41999 TAYLOR_SIN.
42000 (__sin): Adjust.
42001 (__cos): Likewise.
42002 (sloww): Use mynumber union. Expand ternary operator into
42003 if-else statements.
42004 (cslow): use mynumber union.
42005
42006 2013-12-16 Allan McRae <allan@archlinux.org>
42007
42008 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42009 * configure: Regenerated.
42010
42011 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42012
42013 [BZ #14120]
42014 * configure.ac: Added --enable-maintainer-mode. Check for
42015 autoconf when enabled.
42016 * configure: Regenerated.
42017
42018 * nscd/nscd.service: New file.
42019 * nscd/nscd.tmpfiles: New file.
42020
42021 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
42022
42023 [BZ #12100]
42024 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42025 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42026 * sysdeps/x86_64/multiarch/strstr.c: ... here.
42027 (strstr): Add __strstr_sse2_unaligned ifunc.
42028 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42029 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42030 (strcasestr): Remove __strcasestr_sse42 ifunc.
42031 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42034
42035 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42036
42037 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42038 * sysdeps/sh/bits/fenv.h: ... here.
42039 * sysdeps/sh/sh4/fpu/bits: Remove directory.
42040
42041 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42042
42043 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42044
42045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42046 hypotf multiarch implementations.
42047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42048 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42049 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42050 multiarch hypot for PPC64.
42051 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42052 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42053 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42054 multiarch hypotf for PPC64.
42055
42056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42057 modff multiarch implementations.
42058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42061 multiarch modf for PPC64.
42062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42065 multiarch modff for PPC64.
42066
42067 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42068 and logl multiarch implementations.
42069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42072 multiarch logb for PPC64.
42073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42076 multiarch logb for PPC64.
42077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42080 multiarch logb for PPC64.
42081
42082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42083 isinff multiarch implementation.
42084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42085 file.
42086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42088 multiarch isinf for PPC64.
42089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42090 file.
42091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42092 multiarch isinff for PPC64.
42093
42094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42095 finitef multiarch implementation.
42096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42097 file.
42098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42100 multiarch finite for PPC64.
42101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42102 file.
42103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42104 multiarch finitef for PPC64.
42105
42106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42107 lrint multiarch implementation.
42108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42109 file.
42110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42112 multiarch llrint for PPC64.
42113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42114 multiarch lrint for PPC64.
42115
42116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42117 copysignf multiarch implementation.
42118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42119 file.
42120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42121 file.
42122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42123 multiarch copysign for PPC64.
42124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42125 multiarch copysignf for PPC64.
42126
42127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42128 multiarch implementation.
42129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42130 file.
42131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42132 file.
42133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42134 file.
42135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42136 file.
42137 multiarch llround for PPC64.
42138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42139 multiarch trunc for PPC64.
42140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42141 multiarch truncf for PPC64.
42142
42143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42144 multiarch implementation.
42145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42146 file.
42147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42148 file.
42149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42150 file.
42151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42152 file.
42153 multiarch llround for PPC64.
42154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42155 multiarch round for PPC64.
42156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42157 multiarch roundf for PPC64.
42158
42159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42160 multiarch implementation.
42161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42162 file.
42163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42164 file.
42165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42166 file.
42167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42168 file.
42169 multiarch llround for PPC64.
42170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42171 multiarch floor for PPC64.
42172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42173 multiarch floorf for PPC64.
42174
42175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42176 multiarch implementation.
42177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42178 file.
42179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42180 file.
42181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42182 file.
42183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42184 file.
42185 multiarch llround for PPC64.
42186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42187 multiarch ceil for PPC64.
42188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42189 multiarch ceilf for PPC64.
42190
42191 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42192 multiarch implementation.
42193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42194 file.
42195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42196 file.
42197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42198 file.
42199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42200 multiarch llround for PPC64.
42201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42202 multiarch lround for PPC64.
42203
42204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42205 multiarch implementation.
42206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42209 file.
42210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42213 multiarch isnan for PPC64.
42214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42215 multiarch isnanf for PPC64.
42216
42217 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42218 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42219 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42220 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42221 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42223
42224 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42225 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42226 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42227 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42228
42229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42230 multiarch implementations.
42231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42232 (__libc_ifunc_impl_list): Likewise.
42233 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42234 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42235 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42236 multiarch stpcpy for PPC64.
42237
42238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42239 multiarch implementations.
42240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42241 (__libc_ifunc_impl_list): Likewise.
42242 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42243 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42244 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42245 multiarch strcpy for PPC64.
42246
42247 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42248 redefine function name.
42249 (_wordcopy_fwd_dest_aligned): Likewise.
42250 (_wordcopy_bwd_aligned): Likewise.
42251 (_wordcopy_bwd_dest_aligned): Likewise.
42252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42253 multiarch implementations.
42254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42255 (__libc_ifunc_impl_list): Likewise.
42256 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42257 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42258 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42259 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42260 multiarch wcscpy for PPC64.
42261
42262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42263 multiarch implementations.
42264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42265 (__libc_ifunc_impl_list): Likewise.
42266 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42267 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42268 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42269 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42270 multiarch wcscpy for PPC64.
42271
42272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42273 multiarch implementations.
42274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42275 (__libc_ifunc_impl_list): Likewise.
42276 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42277 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42278 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42279 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42280 multiarch wcsrchr for PPC64.
42281
42282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42283 multiarch implementations.
42284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42285 (__libc_ifunc_impl_list): Likewise.
42286 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42287 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42288 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42289 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42290 multiarch wcschr for PPC64.
42291
42292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42293 multiarch implementations.
42294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42295 (__libc_ifunc_impl_list): Likewise.
42296 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42297 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42298 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42299 multiarch strchrnul for PPC64.
42300
42301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42302 implementations.
42303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42304 (__libc_ifunc_impl_list): Likewise.
42305 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42306 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42307 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42308 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42309 strchr for PPC64.
42310
42311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42312 implementations.
42313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42314 (__libc_ifunc_impl_list): Likewise.
42315 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42316 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42317 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42318 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42319 strncmp for PPC64.
42320
42321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42322 multiarch implementations.
42323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42324 (__libc_ifunc_impl_list): Likewise.
42325 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42326 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42327 strncasecmp for PPC64.
42328 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42329 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42330 multiarch strncasecmp_l for PPC64.
42331
42332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42333 multiarch implementations.
42334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42335 (__libc_ifunc_impl_list): Likewise.
42336 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42337 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42338 multiarch strcasecmp for PPC64.
42339 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42340 file.
42341 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42342 multiarch strcasecmp_l for PPC64.
42343
42344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42345 implementations.
42346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42347 (__libc_ifunc_impl_list): Likewise.
42348 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42349 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42350 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42351 strnlen for PPC64.
42352
42353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42354 implementations.
42355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42356 (__libc_ifunc_impl_list): Likewise.
42357 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42358 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42359 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42360 strlen for PPC64.
42361
42362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42363 implementations.
42364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42365 (__libc_ifunc_impl_list): Likewise.
42366 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42367 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42368 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42369 rawmemrchr for PPC64.
42370
42371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42372 implementation.
42373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42374 (__libc_ifunc_impl_list): Likewise.
42375 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42376 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42377 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42378 memrchr for PPC64.
42379
42380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42381 implementation.
42382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42383 (__libc_ifunc_impl_list): Likewise.
42384 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42385 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42386 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42387 memchr for PPC64.
42388
42389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42390 implementation.
42391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42392 (__libc_ifunc_impl_list): Likewise.
42393 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42394 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42395 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42396 mempcpy for PPC64.
42397
42398 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42399 avoid cretion of __bzero symbol.
42400 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42401 Likewise.
42402 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42403 Likewise.
42404 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42405 Likewise.
42406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42407 multiarch implementations.
42408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42409 (__libc_ifunc_impl_list): Likewise.
42410 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42411 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42412 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42413 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42414 bzero for PPC32.
42415 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42416 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42417 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42418 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42419 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42420 memset for PPC64.
42421 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42422
42423 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42425 implementations.
42426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42427 (__libc_ifunc_impl_list): Likewise.
42428 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42429 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42430 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42431 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42432 memcmp for PPC64.
42433
42434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42435 multiarch for POWER/PPC64.
42436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42437 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42438 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42440 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42441 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42442 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42443 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42444 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42445 memcpy for PPC64.
42446
42447 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42448 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42449 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42450 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42451 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42452 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42453 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42454 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42455 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42456 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42457 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42458 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42459 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42460 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42461 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42469
42470 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42471
42472 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42473
42474 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
42475
42476 * benchtests/Makefile (bench): Add exp2 and log2.
42477 (LDLIBS-bench-exp2): Add -lm.
42478 (LDLIBS-bench-log2): Likewise.
42479 * benchtests/exp2-inputs: New inputs file.
42480 * benchtests/log2-inputs: New inputs file.
42481 * benchtests/log-inputs: Add new inputs.
42482 * benchtests/tan-inputs: Likewise.
42483
42484 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42485
42486 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42487 definition...
42488 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42489 (csloww2): ... from here.
42490
42491 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42492 instead of structures.
42493 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42494 (POLYNOMIAL): Likewise.
42495 (TAYLOR_SLOW): Likewise.
42496 (__sin): Likewise.
42497 (__cos): Likewise.
42498 (slow1): Likewise.
42499 (slow2): Likewise.
42500 (sloww): Likewise.
42501 (sloww1); Likewise.
42502 (sloww2): Likewise.
42503 (bsloww1): Likewise.
42504 (bsloww2): Likewise.
42505 (cslow2): Likewise.
42506 (csloww): Likewise.
42507 (csloww1): Likewise.
42508 (csloww2): Likewise.
42509
42510 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
42511
42512 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42513 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42514 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42515 * malloc/hooks.c (realloc_check): Likewise.
42516
42517 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42518 * malloc/arena.c: Remove PER_THREAD conditional.
42519 [!PER_THREAD]: Remove code.
42520 (ptmalloc_unlock_all2): Likewise.
42521 (ptmalloc_init): Likewise.
42522 (_int_new_arena): Likewise.
42523 (arena_get2): Likewise.
42524 * malloc/hooks.c (__malloc_get_state): Likewise.
42525 (__malloc_set_state): Likewise.
42526 * malloc/malloc.c: Likewise.
42527 (struct malloc_state): Likewise.
42528 (struct malloc_par): Likewise.
42529 (__libc_realloc): Likewise.
42530 (__libc_mallopt): Likewise.
42531
42532 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42533
42534 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42535
42536 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
42537
42538 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42539 macro to a function. Check for zero perturb_byte.
42540 (_int_malloc, _int_free): Remove zero perturb_byte checks.
42541
42542 * malloc/malloc.c: (force_reg): Remove.
42543 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42544 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42545 force_reg by atomic_forced_read.
42546 * malloc/arena.c (ptmalloc_init): Likewise.
42547 * malloc/hooks.c (top_check): Likewise.
42548
42549 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42550
42551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42552
42553 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
42554
42555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42556
42557 2013-12-08 Joseph Myers <joseph@codesourcery.com>
42558
42559 * math/auto-libm-test-in: Add tests of lgamma.
42560 * math/auto-libm-test-out: Regenerated.
42561 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42562 (M_LOG_2_SQRT_PIl): Likewise.
42563 (lgamma_test_data): Use AUTO_TESTS_f_f1.
42564 * math/gen-auto-libm-tests.c (func_calc_method): Add value
42565 mpfr_f_f1.
42566 (func_calc_desc): Add mpfr_f_f1 union field.
42567 (ARGS1): New macro.
42568 (ARGS2): Likewise.
42569 (ARGS3): Likewise.
42570 (ARGS4): Likewise.
42571 (RET1): Likewise.
42572 (RET2): Likewise.
42573 (CALC): Likewise.
42574 (FUNC): Likewise.
42575 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42576 (test_functions): Add lgamma.
42577 (calc_generic_results): Handle mpfr_f_f1.
42578 * sysdeps/i386/fpu/libm-test-ulps: Update.
42579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42580
42581 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42582
42583 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42584 __mpn_add_n for PowerPC64/POWER7.
42585 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42586 __mpn_sub_n for PowerPC64/POWER7.
42587
42588 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42589 __mpn_addmul_1 for PowerPC64.
42590 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42591 __mpn_submul_1 for PowerPC64.
42592 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42593 for PowerPC64.
42594 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42595 for PowerPC64.
42596
42597 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
42598
42599 [BZ #15089]
42600 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42601
42602 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42603
42604 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42605
42606 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42607 add multiarch folders.
42608 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42609 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42610 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42611 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42612 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42613 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42614 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42615 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42616 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42617 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42618 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42625
42626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42627 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42629 New file.
42630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42631 New file.
42632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42633 multiarch __ieee754_hypot for PowerPC32.
42634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42635 New file.
42636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42637 New file.
42638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42639 multiarch __ieee754_hypotf for PowerPC32.
42640
42641 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42642 long_double_symbol only if __logbl is defined.
42643 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42644 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42646 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42648 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42649 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42650 path for implementation.
42651 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42652 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42654 logb, and logbl multiarch implementations for PowerPC32.
42655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42656 file.
42657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42658 file.
42659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42660 multiarch logb for PowerPC32.
42661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42662 file.
42663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42664 file.
42665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42666 multiarch logbf for PowerPC32.
42667 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42669 file.
42670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42671 multiarch logbl implementation for PowerPC32.
42672
42673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42674 and modff multiarch implementations.
42675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42676 New file.
42677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42678 New file.
42679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42680 multiarch modf for PowerPC32.
42681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42682 New file.
42683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42684 New file.
42685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42686 multiarch modff for PowerPC32.
42687
42688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42689 and lrintf multiarch implementations.
42690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42691 New file.
42692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42693 New file.
42694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42695 multiarch lrint for PowerPC32.
42696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42697 file: multiarch lrintf for PowerPC32.
42698
42699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42700 and lroundf multiarch implementations.
42701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42702 New file.
42703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42704 New file.
42705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42706 New file.
42707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42708 multiarch lround for PowerPC32.
42709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42710 file: multiarch lroundf for PowerPC32.
42711
42712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42713 copysign and copysignf multiarch implementations.
42714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42715 New file.
42716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42717 New file.
42718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42719 file: multiarch copysign for PowerPC32.
42720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42721 file: multiarch copysignf for PowerPC32.
42722
42723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42724 and truncf multiarch implementations.
42725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42726 New file.
42727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42728 file.
42729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42730 multiarch trunc for PowerPC32.
42731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42732 New file.
42733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42734 New file.
42735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42736 multiarch truncf for PowerPC32.
42737
42738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42739 and roundf multiarch implementations.
42740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42741 New file.
42742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42743 file.
42744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42745 multiarch round for PowerPC32.
42746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42747 New file.
42748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42749 New file.
42750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42751 multiarch roundf for PowerPC32.
42752
42753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42754 and floorf multiarch implementations.
42755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42756 New file.
42757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42758 file.
42759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42760 multiarch floor for PowerPC32.
42761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42762 New file.
42763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42764 New file.
42765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42766 multiarch floorf for PowerPC32.
42767
42768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42769 and ceilf multiarch implementations.
42770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42771 New file.
42772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42773 file.
42774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42775 multiarch ceil for PowerPC32.
42776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42777 New file.
42778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
42779 file.
42780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
42781 multiarch ceilf for PowerPC32.
42782
42783 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
42784 is defined.
42785 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
42786 FINITEF is defined.
42787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
42788 and finitef multiarch implementations.
42789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
42790 New file.
42791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
42792 file.
42793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
42794 multiarch finite for PowerPC32.
42795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
42796 New file.
42797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
42798 file: multiarch finitef for PowerPC32.
42799
42800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
42801 and isinff multiarch implementations.
42802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
42803 file.
42804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
42805 file.
42806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
42807 multiarch isinf for PowerPC32.
42808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42809 New file.
42810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
42811 multiarch isinff for PowerPC32.
42812
42813 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
42814 alias when __isnan is defined.
42815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
42816 and isnanf multiarch implementations.
42817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
42818 file.
42819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
42820 file.
42821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
42822 file.
42823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
42824 file.
42825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
42826 multiarch isnan for PowerPC32.
42827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
42828 New file.
42829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
42830 New file.
42831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
42832 multiarch isnanf for PowerPC32.
42833
42834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
42835 and sqrtf multiarch implementations.
42836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
42837 file.
42838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
42839 file.
42840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
42841 multiarch sqrt for PowerPC32.
42842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
42843 file.
42844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
42845 file.
42846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
42847 multiarch sqrtf for PowerPC32.
42848
42849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
42850 and llroundf multiarch implementations.
42851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42852 New file.
42853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42854 New file.
42855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42856 New file.
42857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42858 file: multiarch llround for PowerPC32.
42859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42860 file: multiarch llroundf for PowerPC32.
42861
42862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42863 multiarch PowerPC32 fpu implementations.
42864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42865 New file.
42866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42867 New file.
42868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42869 multiarch llrint for PowerPC32.
42870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42871 New file.
42872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42873 New file.
42874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42875 file.
42876
42877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42878
42879 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42880 file.
42881 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42882 file.
42883 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42884 file.
42885 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42886 multiarch wordcopy for PPC32.
42887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42888 wordcopy objects.
42889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42890 (__libc_ifunc_impl_list): Likewise.
42891 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42892 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42893 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42894 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42895 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42896 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42897
42898 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42900 file.
42901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42902 file.
42903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42904 file.
42905 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42906 multiarch wcscpy for PPC32.
42907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42908 multiarch objects.
42909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42910 (__libc_ifunc_impl_list): Likewise.
42911 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42912 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42913 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42914 sysdeps/powerpc/power6/wcscpy.c.
42915
42916 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42918 file.
42919 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42920 file.
42921 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42922 file.
42923 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42924 multiarch wcsrchr for PPC32.
42925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42926 multiarch objects.
42927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42928 (__libc_ifunc_impl_list): Likewise.
42929 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42930 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42931 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42932 sysdeps/powerpc/power6/wcsrchr.c.
42933
42934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42935 file.
42936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42937 file.
42938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42939 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42940 multiarch wcschr for PPc32.
42941 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42942 multiarch objects.
42943 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42944 (__libc_ifunc_impl_list): Likewise.
42945 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42946 * sysdeps/powerpc/power6/wcschr.c: ... to here.
42947 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42948 sysdeps/powerpc/power6/wcschr.c.
42949
42950 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42951 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42952 file.
42953 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42954 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42955 file: multiarch strchr for PPC32.
42956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42957 multiarch objects.
42958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42959 (__libc_ifunc_impl_list): Likewise.
42960
42961 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42962 name.
42963 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42964 file.
42965 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42966 file.
42967 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42968 multiarch strchrnul for PPC32.
42969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42970 multiarch objects.
42971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42972 (__libc_ifunc_impl_list): Likewise.
42973
42974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42975 file.
42976 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42977 multiarch strncasecmp for PPC32.
42978 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42979 file.
42980 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42981 multiarch strncasecmp_l for PPC32.
42982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42983 strncasecmp multiarch objects.
42984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42985 (__libc_ifunc_impl_list): Likewise.
42986
42987 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42988 file.
42989 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42990 multiarch strncasecmp for PPC32.
42991 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42992 New file.
42993 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42994 multiarch strcasecmp_l for PPC32.
42995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42996 multiarch objects.
42997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42998 (__libc_ifunc_impl_list): Likewise.
42999
43000 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43001 file.
43002 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43003 file.
43004 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43005 multiarch strncmp for PPC32.
43006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43007 multiarch objects.
43008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43009 (__libc_ifunc_impl_list): Likewise.
43010
43011 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43012 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43013 file.
43014 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43015 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43017 multiarch objects.
43018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43019 (__libc_ifunc_impl_list): Likewise.
43020
43021 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43022 file.
43023 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43024 file.
43025 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43027 multiarch objects.
43028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43029 (__libc_ifunc_impl_list): Likewise.
43030
43031 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43032 file.
43033 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43034 file.
43035 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43036 multiarch rawmemchr for PPC32.
43037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43038 multiarch objects.
43039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43040 (__libc_ifunc_impl_list): Likewise.
43041
43042 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43043 file.
43044 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43045 file.
43046 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43047 file: memrchr multiarch for PPC32.
43048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43049 multiarch objects.
43050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43051 (__libc_ifunc_impl_list): Likewise.
43052
43053 * string/memchr.c (__memchr): Using macro to redefine symbol name.
43054 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43055 file.
43056 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43057 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43058 multiarch memchr for PPC32.
43059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43060 multiarch objects.
43061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43062 (__libc_ifunc_impl_list): Likewise.
43063
43064 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43065 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43066 file.
43067 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43068 file.
43069 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43070 file: multiarch mempcpy for PPC32.
43071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43072 multiarch objects.
43073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43074 (__libc_ifunc_impl_list): Likewise.
43075
43076 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43077 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43078 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43079 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43080 multiarch bzero for PPC32.
43081 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43082 file.
43083 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43084 file.
43085 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43086 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43087 file: multiarch memset for PPC32.
43088 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43090 memset multiarch objects.
43091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43092 (__libc_ifunc_impl_list): Likewise.
43093
43094 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43095 file.
43096 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43097 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43098 memcmp for PPC32.
43099 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43101 multiarch objects.
43102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43103 (__libc_ifunc_impl_list): Likewise.
43104
43105 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43106 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43107 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43108 file.
43109 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43110 file.
43111 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43112 file.
43113 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43114 multiarch memcpy for PPC32.
43115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43116 multiarch objects.
43117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43118 (__libc_ifunc_impl_list): Likewise.
43119
43120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43121 support multiarch for POWER/PPC32.
43122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43123 Likewise.
43124 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43126 Implies file to make multiarch folder appers before the fpu and
43127 default folder for power4 configuration.
43128
43129 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43130
43131 * scripts/bench.pl: Append volatile keyword to type.
43132
43133 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43134
43135 * sysdeps/sh/sotruss-lib.c: New file.
43136 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43137
43138 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43139
43140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43141
43142 2013-12-05 Joseph Myers <joseph@codesourcery.com>
43143
43144 [BZ #6810]
43145 * math/w_tgamma.c: Include <errno.h>.
43146 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
43147 * math/w_tgammaf.c: Include <errno.h>.
43148 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
43149 * math/w_tgammal.c: Include <errno.h>.
43150 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
43151 * math/auto-libm-test-in: Do not allow missing errno on tgamma
43152 underflow. Add more tgamma tests.
43153 * math/auto-libm-test-out: Regenerated.
43154 * sysdeps/i386/fpu/libm-test-ulps: Update.
43155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43156
43157 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43158 sin, sinh, tan, tanh, tgamma, y0 and y1.
43159 * math/auto-libm-test-out: Regenerated.
43160 * math/libm-test.inc (TEST_COND_x86_64): New macro.
43161 (TEST_COND_x86): Likewise.
43162 (M_E2l): Remove macro.
43163 (M_E3l): Likewise.
43164 (M_2_SQRT_PIl): Likewise.
43165 (M_SQRT_PIl): Likewise.
43166 (M_1_DIV_El): Likewise.
43167 (log_test_data): Use AUTO_TESTS_f_f.
43168 (log10_test_data): Likewise.
43169 (log1p_test_data): Likewise.
43170 (log2_test_data): Likewise.
43171 (sin_test_data): Likewise.
43172 (sin_tonearest_test_data): Likewise.
43173 (sin_towardzero_test_data): Likewise.
43174 (sin_downward_test_data): Likewise.
43175 (sin_upward_test_data): Likewise.
43176 (sinh_test_data): Likewise.
43177 (sinh_tonearest_test_data): Likewise.
43178 (sinh_towardzero_test_data): Likewise.
43179 (sinh_downward_test_data): Likewise.
43180 (sinh_upward_test_data): Likewise.
43181 (tan_test_data): Likewise.
43182 (tan_tonearest_test_data): Likewise.
43183 (tan_towardzero_test_data): Likewise.
43184 (tan_downward_test_data): Likewise.
43185 (tan_upward_test_data): Likewise.
43186 (tanh_test_data): Likewise.
43187 (tgamma_test_data): Likewise.
43188 (y0_test_data): Likewise.
43189 (y1_test_data): Likewise.
43190 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43191 (special_real_inputs): Add pi/4.
43192 * sysdeps/i386/fpu/libm-test-ulps: Update.
43193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43194
43195 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43196
43197 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43198 "longjmp_target" static probes.
43199 (__longjmp): Rename to __longjmp_symbol.
43200 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43201 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43202 on which longjmp to generate.
43203 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43204 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43205 probe.
43206 (__sigsetjmp): Rename to __sigsetjmp_symbol.
43207 (__sigjmp_save): Rename to __sigjmp_save_symbol.
43208 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43209 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43210 and __sigjmp_save_symbol based on which sigsetjmp to generated.
43211 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43213 __longjmp_symbol based on which __longjmp to generate.
43214 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43215 probe.
43216 (setjmp): Rename to setjmp_symbol.
43217 (__sigsetjmp): Rename to __sigsetjmp_symbol.
43218 (_setjmp): Rename to _setjmp_symbol.
43219 (__sigsetjmp): Rename to __sigsetjmp_symbol.
43220 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43221 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43222 which setjmp to generate.
43223 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43224 "longjmp_target" static probes.
43225
43226 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43227
43228 * benchtests/README: Add note about output arguments.
43229 * benchtests/bench-sincos.c: Remove file.
43230 * benchtests/sincos-inputs: New file.
43231 * scripts/bench.pl: Identify output arguments and define
43232 static variables for them.
43233
43234 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43235
43236 [BZ #15941]
43237 * Makefile (INSTALL): Add install-plain.texi as the primary
43238 dependency.
43239 * manual/install-plain.texi: New file.
43240 * manual/install.texi: Include node directive only for
43241 non-plaintext output.
43242
43243 2013-12-04 Joseph Myers <joseph@codesourcery.com>
43244
43245 * stdlib/longlong.h: Update from GCC.
43246
43247 [BZ #6807]
43248 [BZ #15901]
43249 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43250 * math/w_j0f.c (y0f): Likewise.
43251 * math/w_j0l.c (__y0l): Likewise.
43252 * math/w_j1.c (y1): Likewise.
43253 * math/w_j1f.c (y1f): Likewise.
43254 * math/w_j1l.c (__y1l): Likewise.
43255 * math/w_jn.c (yn): Likewise.
43256 * math/w_jnf.c (ynf): Likewise.
43257 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43258 Bessel function pole errors in _POSIX_ mode. Use NAN as return
43259 value for Bessel function domain errors outside _SVID_ mode.
43260 Adjust sign of return value for yn (negative integer, 0).
43261 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43262 by zero in return for negative x and set sign appropriately for
43263 negative n.
43264 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43265 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43266 * math/libm-test.inc (y0_test_data): Add more tests and adjust
43267 expectations in error cases.
43268 (y1_test_data): Likewise.
43269 (yn_test_data): Likewise.
43270 * sysdeps/i386/fpu/libm-test-ulps: Update.
43271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43272
43273 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43274
43275 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43276 "64" to "64-v1". Add "64-v2".
43277 (abi-64-options): Rename to ...
43278 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
43279 (abi-64-condition): Rename to ...
43280 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
43281 (abi-64-ld-soname): Rename to ...
43282 (abi-64-v1-ld-soname): ... this.
43283 (abi-64-v2-options): Define.
43284 (abi-64-v2-condition): Likewise.
43285 (abi-64-v2-ld-soname): Likewise.
43286 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43287 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43291
43292 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43293 Alan Modra <amodra@gmail.com>
43294
43295 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43296 New versions for use with the ELFv2 ABI.
43297 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43298 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43299 declaration.
43300 (struct La_ppc64v2_retval): Likewise.
43301 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43302 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43303 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43304 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43305 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43306 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43307 Do not save or restore CR.
43308 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43309 (_dl_profile_resolve): Do no save or restore CR. Support extended
43310 return values for ELFv2 ABI. Fix location of FPR return registers.
43311 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43312 updated values for _CALL_ELF == 2.
43313 (La_regs, La_retval, int_retval): Likewise.
43314
43315 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43316
43317 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43318 (FRAME_MIN_SIZE_PARM): Likewise.
43319 (FRAME_BACKCHAIN): Likewise.
43320 (FRAME_CR_SAVE): Likewise.
43321 (FRAME_LR_SAVE): Likewise.
43322 (FRAME_TOC_SAVE): Likewise.
43323 (FRAME_PARM_SAVE): Likewise.
43324 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43325 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43326 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43327 (call_mcount_parm_offset): New macro.
43328 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43329 (PROF): Use symbolic stack frame offsets.
43330 (TAIL_CALL_SYSCALL_ERROR): Likewise.
43331 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43332 Redefine in terms of FRAME_MIN_SIZE.
43333 (_dl_runtime_resolve): Use symbolic stack frame offsets.
43334 (_dl_profile_resolve): Likewise. Update comment.
43335 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43336 symbols stack frame offsets.
43337 (__sigsetjmp): Likewise.
43338 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43339 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43340 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43341 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43342
43343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43344 (FRAME_BACKCHAIN): Remove.
43345 (FRAME_CR_SAVE): Likewise.
43346 (FRAME_LR_SAVE): Likewise.
43347 (FRAME_COMPILER_DW): Likewise.
43348 (FRAME_LINKER_DW): Likewise.
43349 (FRAME_TOC_SAVE): Likewise.
43350 (FRAME_PARM_SAVE): Likewise.
43351 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43352 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43353 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43355 (CHECK_SP): Use symbolic stack frame offsets.
43356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43357 zone" instead of caller's parameter save area for temp storage.
43358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43359 Likewise. Also, use symbolic stack frame offsets.
43360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43361 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43362 our own stack frame instead of the caller's.
43363 (__socket): Use symbolic stack frame offsets.
43364
43365 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43366 Alan Modra <amodra@gmail.com>
43367
43368 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43369 Define.
43370 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43371 (PPC64_LOCAL_ENTRY_OFFSET): Define.
43372 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43373 New function.
43374 (elf_machine_fixup_plt): Call it.
43375 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
43376 reloc arguments.
43377 (elf_machine_rela): Update call to elf_machine_plt_conflict.
43378 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43379 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43380 r2 before calling target.
43381
43382 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43383 Alan Modra <amodra@gmail.com>
43384
43385 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43386 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43387 versions of macros to support ELFv2 ABI.
43388 (LOCALENTRY): New macro.
43389 (ENTRY, EALIGN): Use it.
43390 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43391 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43392 fall through into ENTRY entry point.
43393 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43394 Only define if _CALL_ELF != 2.
43395
43396 (elf_machine_matches_host): Verify ABI version matches.
43397 (RTLD_START): Use LOCALENTRY.
43398 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43399 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43400 (PLT_ENTRY_WORDS): New macro.
43401 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43402 (elf_machine_runtime_setup): Support ELFv2 ABI.
43403 (elf_machine_fixup_plt): Likewise.
43404 (elf_machine_plt_conflict): Likewise.
43405 (resolve_ifunc): Likewise.
43406 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43407 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43408 Likewise.
43409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43410 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43412 (makecontext): Support ELFv2 ABI.
43413 * elf/elf.h (EF_PPC64_ABI): Define.
43414
43415 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43416
43417 * sysdeps/powerpc/powerpc64/sysdep.h
43418 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43419 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43420 (ENTRY) [ASSEMBLER]: ... but instead here ...
43421 (EALIGN) [ASSEMBLER]: ... and here.
43422 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43423 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43424 (ENTRY_2) [!ASSEMBLER]: Use it.
43425 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43426 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
43427 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43428 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43429 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43431 Use PPC64_LOAD_FUNCPTR.
43432
43433 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43434
43435 2013-12-04 Alan Modra <amodra@gmail.com>
43436
43437 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43438 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43439 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43440 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43441
43442 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43443 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43444 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43445 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43446 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43447 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43448
43449 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
43450
43451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43452 (__makecontext): Fix incorrect CFI when backtracing out of
43453 context created via makecontext.
43454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43455 (__setcontext): Fix incorrect CFI during switch to new context.
43456 (__novec_setcontext): Likewise.
43457
43458 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
43459
43460 [BZ #4772]
43461 * time/strptime_l.c (__strptime_internal): Allow modifiers
43462 in strptime.
43463 * time/tst-strptime.c (day_tests): Add testcase.
43464
43465 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43466
43467 * scripts/bench.pl: Skip over blank lines.
43468
43469 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
43470
43471 [BZ #926]
43472 * manual/time.texi (Calendar Time): Clarify what timezone functions
43473 use.
43474
43475 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43476
43477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43478
43479 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
43480
43481 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43482 implementation.
43483 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43484 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43485 * debug/memset_chk.c (__memset_chk): Likewise.
43486 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43487 * debug/strncpy_chk.c: Likewise.
43488
43489 2013-12-03 Joseph Myers <joseph@codesourcery.com>
43490
43491 [BZ #15268]
43492 [BZ #15425]
43493 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43494 (__ieee754_exp): For possibly underflowing results, check size of
43495 result and force underflow exception if required.
43496 * math/auto-libm-test-in: Add more tests of exp.
43497 * math/auto-libm-test-out: Regenerated.
43498 * sysdeps/i386/fpu/libm-test-ulps: Update.
43499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43500
43501 [BZ #16283]
43502 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43503 * math/w_exp2f.c (__exp2f): Likewise.
43504 * math/w_exp2l.c (__exp2l): Likewise.
43505 * math/auto-libm-test-in: Do not allow missing errno on exp2
43506 underflow.
43507 * math/auto-libm-test-out: Regenerated.
43508
43509 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
43510
43511 [BZ #16274]
43512 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43513 handle filename validation.
43514 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43515 (do_open): Delete.
43516
43517 2013-12-03 Joseph Myers <joseph@codesourcery.com>
43518
43519 [BZ #6786]
43520 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43521 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43522 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43523 <float.h>.
43524 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43525 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43526 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43527 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43528 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43529 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43530 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43531 * math/auto-libm-test-in: Don't allow missing errno from erfc.
43532 Add more erfc tests.
43533 * math/auto-libm-test-out: Regenerated.
43534 * sysdeps/i386/fpu/libm-test-ulps: Update.
43535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43536
43537 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43538 exp2, expm1, j0 and j1.
43539 * math/auto-libm-test-out: Regenerated.
43540 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43541 (erfc_test_data): Likewise.
43542 (exp_test_data): Likewise.
43543 (exp_tonearest_test_data): Likewise.
43544 (exp_towardzero_test_data): Likewise.
43545 (exp_downward_test_data): Likewise.
43546 (exp_upward_test_data): Likewise.
43547 (exp10_test_data): Likewise.
43548 (exp2_test_data): Likewise.
43549 (expm1_test_data): Likewise.
43550 (j0_test_data): Likewise.
43551 (j1_test_data): Likewise.
43552 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43553 (input_flag_type): Add flag_xfail_rounding.
43554 (input_flags): Add xfail-rounding.
43555 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43556 (output_for_one_input_case): Handle flag_xfail_rounding.
43557 * sysdeps/i386/fpu/libm-test-ulps: Update.
43558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43559
43560 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
43561
43562 [BZ #16289]
43563 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43564 division by 0.
43565
43566 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
43567
43568 [BZ #16195]
43569 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43570 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43571 (STAP_PROBE0): New macro.
43572 (STAP_PROBE1): Likewise.
43573 (STAP_PROBE2): Likewise.
43574 (STAP_PROBE3): Likewise.
43575 (STAP_PROBE4): Likewise.
43576
43577 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
43578
43579 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43580
43581 2013-12-02 Steve Ellcey <sellcey@mips.com>
43582
43583 * benchtests/Makefile (bench): Add sqrt.
43584 (LDLIBS-bench-sqrt): New.
43585 * benchtests/sqrt-input: New.
43586
43587 2013-12-02 Pavel Simerda <psimerda@redhat.com>
43588
43589 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43590 (GAIH_EAI): Likewise.
43591 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43592 (gaih_inet): Likewise.
43593 (getaddrinfo): Don't use GAIH_EAI.
43594
43595 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43596 (struct gaih): Remove definition.
43597
43598 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
43599
43600 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43601 Use HERRNOP directly.
43602
43603 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43604
43605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43606
43607 2013-11-30 Joseph Myers <joseph@codesourcery.com>
43608
43609 * math/gen-auto-libm-tests.c (test_functions): Add more
43610 single-argument functions.
43611 (special_fill_pi_2): New function.
43612 (special_fill_minus_pi_2): Likewise.
43613 (special_fill_pi_6): Likewise.
43614 (special_fill_minus_pi_6): Likewise.
43615 (special_fill_pi_3): Likewise.
43616 (special_fill_2pi_3): Likewise.
43617 (special_fill_e): Likewise.
43618 (special_fill_1_e): Likewise.
43619 (special_fill_e_minus_1): Likewise.
43620 (special_real_inputs): Add more special inputs.
43621 (output_for_one_input_case): Do not require ERANGE on underflow to
43622 zero if round-to-nearest result does not underflow to zero, unless
43623 exact results required.
43624 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43625 atan, atanh, cbrt, cos and cosh.
43626 * math/auto-libm-test-out: Regenerated.
43627 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43628 (acos_tonearest_test_data): Likewise.
43629 (acos_towardzero_test_data): Likewise.
43630 (acos_downward_test_data): Likewise.
43631 (acos_upward_test_data): Likewise.
43632 (acosh_test_data): Likewise.
43633 (asin_test_data): Likewise.
43634 (asin_tonearest_test_data): Likewise.
43635 (asin_towardzero_test_data): Likewise.
43636 (asin_upward_test_data): Likewise.
43637 (asinh_test_data): Likewise.
43638 (atan_test_data): Likewise.
43639 (atanh_test_data): Likewise.
43640 (cbrt_test_data): Likewise.
43641 (cos_test_data): Likewise.
43642 (cos_tonearest_test_data): Likewise.
43643 (cos_towardzero_test_data): Likewise.
43644 (cos_downward_test_data): Likewise.
43645 (cos_upward_test_data): Likewise.
43646 (cosh_test_data): Likewise.
43647 (cosh_tonearest_test_data): Likewise.
43648 (cosh_towardzero_test_data): Likewise.
43649 (cosh_downward_test_data): Likewise.
43650 (cosh_upward_test_data): Likewise.
43651 * sysdeps/i386/fpu/libm-test-ulps: Update.
43652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43653
43654 2013-11-29 Joseph Myers <joseph@codesourcery.com>
43655
43656 [BZ #6787]
43657 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43658 * math/w_exp10f.c (__exp10f): Likewise.
43659 * math/w_exp10l.c (__exp10l): Likewise.
43660 * math/libm-test.inc (exp10_test_data): Add more tests and expect
43661 errno settings in existing tests.
43662
43663 [BZ #14032]
43664 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43665 precision control set to double precision.
43666 * sysdeps/i386/fpu/w_sqrt.c: New file.
43667 * math/auto-libm-test-in: Add more tests.
43668 * math/auto-libm-test-out: Update.
43669
43670 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43671 (sqrt_test_tonearest): New function.
43672 (sqrt_towardzero_test_data): New variable.
43673 (sqrt_test_towardzero): New function.
43674 (sqrt_downward_test_data): New variable.
43675 (sqrt_test_downward): New function.
43676 (sqrt_upward_test_data): New variable.
43677 (sqrt_test_upward): New function.
43678 (main): Call the new functions.
43679
43680 * math/gen-auto-libm-tests.c: New file.
43681 * math/auto-libm-test-in: Likewise.
43682 * math/auto-libm-test-out: New generated file.
43683 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43684 variables.
43685 (%beautify): Add generated representations of zero.
43686 (top level): Set $auto_input and call parse_auto_input.
43687 (beautify): Remove trailing "f" from hex float constants.
43688 (parse_args): Handle XFAIL_TEST.
43689 (convert_condition): New function.
43690 (or_value): Likewise.
43691 (or_cond_value): Likewise.
43692 (generate_testfile): Handle AUTO_TESTS_* lines.
43693 (parse_auto_input): New function.
43694 * math/libm-test.inc (XFAIL_TEST): New macro.
43695 (ERRNO_UNCHANGED): Update value.
43696 (ERRNO_EDOM): Likewise.
43697 (ERRNO_ERANGE): Likewise.
43698 (IGNORE_RESULT): Likewise.
43699 (TEST_COND_flt_32): New macro.
43700 (TEST_COND_dbl_64): Likewise.
43701 (TEST_COND_ldbl_96_intel): Likewise.
43702 (TEST_COND_ldbl_96_m68k): Likewise.
43703 (TEST_COND_ldbl_128): Likewise.
43704 (TEST_COND_ldbl_128ibm): Likewise.
43705 (TEST_COND_long32): Likewise.
43706 (TEST_COND_long64): Likewise.
43707 (TEST_COND_before_rounding): Likewise.
43708 (TEST_COND_after_rounding): Likewise.
43709 (enable_test): Handle XFAIL_TEST flag.
43710 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43711 with finite results.
43712 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43713 auto-libm-test-out.
43714
43715 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43716 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43717
43718 [BZ #16214]
43719 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43720 __tls_get_addr_internal instead of __tls_get_offset in order to
43721 avoid GOT pointer dependency. Make rtld export
43722 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43723 __tls_get_addr since we are a __tls_get_offset platform.
43724 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43725 GOT pointer being set up before.
43726 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43727
43728 2013-11-28 Joseph Myers <joseph@codesourcery.com>
43729
43730 * manual/math.texi (Errors in Math Functions): Document accuracy
43731 goals.
43732
43733 [BZ #15004]
43734 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43735 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43736 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43737 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43738 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43739 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43740 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43741 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43742 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43743 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43744 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43745 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43746 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43747 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43748 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43749 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43750
43751 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43752 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43753 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43754 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43755 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43756 Likewise.
43757 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43758 Likewise.
43759 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43760 Likewise.
43761 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43762 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43763 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43764 atomic-feupdateenv and flt-rounds.
43765 * sysdeps/powerpc/nofpu/Versions (libc): Add
43766 __atomic_feholdexcept, __atomic_feclearexcept,
43767 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43768 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43769 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43770 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43771 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43772 here.
43773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43774 Update.
43775
43776 * manual/arith.texi (FP Exceptions): Document that exceptions may
43777 not be raised when matherr is used.
43778 (Math Error Reporting): Document overflow in directed rounding
43779 modes. Document that errno may not be set when finite values are
43780 returned on overflow. Document intent to set errno on underflow
43781 only for underflow to zero.
43782
43783 [BZ #16271]
43784 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
43785 round-to-nearest then adjust result for other rounding modes.
43786 * include/fenv.h (fegetround): Use libm_hidden_proto.
43787 * math/fegetround.c (fegetround): Use libm_hidden_def.
43788 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
43789 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
43790 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43791 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
43792 Likewise.
43793 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
43794 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43795 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
43796 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
43797
43798 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43799
43800 [BZ #16077]
43801 * nss/Versions (libnss_files): Add
43802 _nss_files_gethostbyname3_r.
43803 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
43804 New function.
43805 (HOST_DB_LOOKUP): Remove macro.
43806 (_nss_files_gethostbyname_r): Implement function without the
43807 HOST_DB_LOOKUP macro.
43808 (_nss_files_gethostbyname2_r): Likewise.
43809
43810 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
43811
43812 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
43813
43814 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
43815
43816 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
43817 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
43818 warning.
43819
43820 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43821
43822 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43823 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
43824 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43825 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
43826 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
43827 __fe_nomask_env_priv and attribute_hidden.
43828 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
43829 (libc_feupdateenv_test_ppc): Likewise.
43830 (libc_feresetround_ppc): Likewise.
43831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43832 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
43833 compat_symbol macro.
43834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43835 (__fe_nomask_env): Likewise.
43836 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
43837
43838 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
43839
43840 * string/Makefile: Remove ifunc tests.
43841 * string/test-string.h: Define TEST_IFUNC.
43842 * string/test-bcopy-ifunc.c: Remove.
43843 * string/test-bzero-ifunc.c: Likewise.
43844 * string/test-memccpy-ifunc.c: Likewise.
43845 * string/test-memchr-ifunc.c: Likewise.
43846 * string/test-memcmp-ifunc.c: Likewise.
43847 * string/test-memcpy-ifunc.c: Likewise.
43848 * string/test-memmem-ifunc.c: Likewise.
43849 * string/test-memmove-ifunc.c: Likewise.
43850 * string/test-mempcpy-ifunc.c: Likewise.
43851 * string/test-memrchr-ifunc.c: Likewise.
43852 * string/test-memset-ifunc.c: Likewise.
43853 * string/test-rawmemchr-ifunc.c: Likewise.
43854 * string/test-stpcpy-ifunc.c: Likewise.
43855 * string/test-stpncpy-ifunc.c: Likewise.
43856 * string/test-strcasecmp-ifunc.c: Likewise.
43857 * string/test-strcasestr-ifunc.c: Likewise.
43858 * string/test-strcat-ifunc.c: Likewise.
43859 * string/test-strchr-ifunc.c: Likewise.
43860 * string/test-strchrnul-ifunc.c: Likewise.
43861 * string/test-strcmp-ifunc.c: Likewise.
43862 * string/test-strcpy-ifunc.c: Likewise.
43863 * string/test-strcspn-ifunc.c: Likewise.
43864 * string/test-strlen-ifunc.c: Likewise.
43865 * string/test-strncasecmp-ifunc.c: Likewise.
43866 * string/test-strncat-ifunc.c: Likewise.
43867 * string/test-strncmp-ifunc.c: Likewise.
43868 * string/test-strncpy-ifunc.c: Likewise.
43869 * string/test-strnlen-ifunc.c: Likewise.
43870 * string/test-strpbrk-ifunc.c: Likewise.
43871 * string/test-strrchr-ifunc.c: Likewise.
43872 * string/test-strspn-ifunc.c: Likewise.
43873 * string/test-strstr-ifunc.c: Likewise.
43874
43875 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
43876
43877 * benchtests/Makefile: Remove ifunc tests.
43878 * benchtests/bench-string.h: Define TEST_IFUNC.
43879 * benchtests/bench-bcopy-ifunc.c: Remove.
43880 * benchtests/bench-bzero-ifunc.c: Likewise.
43881 * benchtests/bench-memccpy-ifunc.c: Likewise.
43882 * benchtests/bench-memchr-ifunc.c: Likewise.
43883 * benchtests/bench-memcmp-ifunc.c: Likewise.
43884 * benchtests/bench-memcpy-ifunc.c: Likewise.
43885 * benchtests/bench-memmem-ifunc.c: Likewise.
43886 * benchtests/bench-memmove-ifunc.c: Likewise.
43887 * benchtests/bench-mempcpy-ifunc.c: Likewise.
43888 * benchtests/bench-memrchr-ifunc.c: Likewise.
43889 * benchtests/bench-memset-ifunc.c: Likewise.
43890 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43891 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43892 * benchtests/bench-stpcpy-ifunc.c: Likewise.
43893 * benchtests/bench-stpncpy-ifunc.c: Likewise.
43894 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43895 * benchtests/bench-strcasestr-ifunc.c: Likewise.
43896 * benchtests/bench-strcat-ifunc.c: Likewise.
43897 * benchtests/bench-strchr-ifunc.c: Likewise.
43898 * benchtests/bench-strchrnul-ifunc.c: Likewise.
43899 * benchtests/bench-strcmp-ifunc.c: Likewise.
43900 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43901 * benchtests/bench-strcpy-ifunc.c: Likewise.
43902 * benchtests/bench-strcspn-ifunc.c: Likewise.
43903 * benchtests/bench-strlen-ifunc.c: Likewise.
43904 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43905 * benchtests/bench-strncat-ifunc.c: Likewise.
43906 * benchtests/bench-strncmp-ifunc.c: Likewise.
43907 * benchtests/bench-strncpy-ifunc.c: Likewise.
43908 * benchtests/bench-strnlen-ifunc.c: Likewise.
43909 * benchtests/bench-strpbrk-ifunc.c: Likewise.
43910 * benchtests/bench-strrchr-ifunc.c: Likewise.
43911 * benchtests/bench-strsep-ifunc.c: Likewise.
43912 * benchtests/bench-strspn-ifunc.c: Likewise.
43913 * benchtests/bench-strstr-ifunc.c: Likewise.
43914
43915 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
43916
43917 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43918
43919 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
43920
43921 * resolv/netdb.h: Use __glibc_reserved instead __unused.
43922 * rt/aio.h: Likewise.
43923 * sysdeps/gnu/bits/utmp.h: Likewise.
43924 * sysdeps/gnu/bits/utmpx.h: Likewise.
43925 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43926 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43927 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43928 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43929 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43930 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43931 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43932 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43933 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43934 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43935 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43936 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43937 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43939 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43940 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43941 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43942 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43943 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43944 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43945 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43946 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43947 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43948 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43949 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43951 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43952 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43953 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43954 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43955 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43956 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43957 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43958 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43959 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43960 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43961 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43962 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43963 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43964 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43965 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43966 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43967
43968 2013-11-25 Carlos O'Donell <carlos@redhat.com>
43969
43970 [BZ #16245]
43971 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43972 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43973
43974 2013-11-25 Joseph Myers <joseph@codesourcery.com>
43975
43976 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43977 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43978 Likewise.
43979
43980 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43981
43982 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43983 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43984 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43985 (__fesetround): Remove define.
43986 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43987 rounding and exceptions handling.
43988 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43989 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43990 (__fe_nomask_env): Likewise.
43991 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43992 __fegetround instead of fegetround.
43993 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43994 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43995
43996 2013-11-21 Roland McGrath <roland@hack.frob.com>
43997
43998 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43999 it's there.
44000
44001 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44002
44003 2013-11-21 Meador Inge <meadori@codesourcery.com>
44004
44005 [BZ #11157]
44006 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44007 (encrypt_r): Likewise.
44008 * malloc/obstack.h (obstack_free): Likewise.
44009 * posix/unistd.h (encrypt): Likewise.
44010
44011 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
44012
44013 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44014 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44015 DL_CALL_DT_FINI() that call the functions directly.
44016 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44017 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44018 * elf/dl-fini.c: Likewise.
44019
44020 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
44021
44022 * malloc/hooks.c (memalign_check): Add alignment rounding.
44023 * malloc/malloc.c (_mid_memalign): New function.
44024 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44025 Implement by calling _mid_memalign.
44026 * manual/probes.texi (Memory Allocation Probes): Remove
44027 memory_valloc_retry and memory_pvalloc_retry.
44028
44029 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44030
44031 * locale/programs/locarchive.c (open_archive): Add const
44032 qualifier to ARCHIVEFNAME and copy default fname to
44033 DEFAULT_FNAME.
44034
44035 [BZ #15601]
44036 * libio/tst-widetext.input: Rename Oriya to Odia.
44037 * locale/iso-639.def: Likewise.
44038
44039 * manual/probes.texi (Mathematical Function Probes): Add
44040 documentation for sin, cos, asin and acos probes.
44041 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44042 (__sin32): Add slowasin probe.
44043 (__cos32): Add slowacos probe.
44044 (__mpsin): Add slowsin probe.
44045 (__mpcos): Add slowcos probe.
44046
44047 2013-11-19 Joseph Myers <joseph@codesourcery.com>
44048
44049 [BZ #15483]
44050 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44051 thread-local __sim_exceptions_thread and global
44052 __sim_exceptions_global.
44053 (__sim_disabled_exceptions): Change to thread-local
44054 __sim_disabled_exceptions_thread and global
44055 __sim_disabled_exceptions_global.
44056 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44057 and global __sim_round_mode_global.
44058 (__simulate_exceptions): Use thread-local floating-point state and
44059 set global state from it as needed.
44060 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44061 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44062 __sim_round_mode_thread.
44063 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44064 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44065 and global __sim_exceptions_global.
44066 (__sim_disabled_exceptions): Change to thread-local
44067 __sim_disabled_exceptions_thread and global
44068 __sim_disabled_exceptions_global.
44069 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44070 and global __sim_round_mode_global.
44071 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44072 (SIM_SET_GLOBAL): Likewise.
44073 * sysdeps/powerpc/soft-fp/sfp-machine.h
44074 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44075 __sim_round_mode_thread.
44076 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44077 __sim_disabled_exceptions_thread.
44078 (__sim_exceptions): Change to __sim_exceptions_thread.
44079 (__sim_disabled_exceptions): Change to
44080 __sim_disabled_exceptions_thread.
44081 (__sim_round_mode): Change to __sim_round_mode_thread.
44082 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44083 thread-local floating-point state and set global state from it as
44084 needed.
44085 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44086 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44087 (__sim_disabled_exceptions): Remove extern declaration.
44088 (feenableexcept): Use thread-local floating-point state and set
44089 global state from it as needed.
44090 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44091 extern declaration.
44092 (__sim_disabled_exceptions): Likewise.
44093 (__sim_round_mode): Likewise.
44094 (__fegetenv): Use thread-local floating-point state.
44095 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44096 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44097 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44098 floating-point state and set global state from it as needed.
44099 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44100 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44101 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44102 Likewise.
44103 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44104 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44105 Likewise.
44106 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44107 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44108 Use __sim_round_mode_thread.
44109 * math/test-fenv-tls.c: New file.
44110 * math/Makefile (tests): Add test-fenv-tls.
44111 ($(objpfx)test-fenv-tls): Depend on
44112 $(common-objpfx)nptl/libpthread.so.
44113
44114 2013-11-19 Andreas Schwab <schwab@suse.de>
44115
44116 * locale/programs/locale.c (show_info): Decode wordarray elements.
44117 * locale/categories.def (LC_MONETARY): Add element for
44118 _NL_MONETARY_CRNCYSTR.
44119 * locale/C-monetary.c (conversion_rate): New variable.
44120 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44121 element.
44122
44123 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
44124
44125 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44126 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44127
44128 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44129
44130 * elf/Makefile (tst-auxv): New test.
44131 * elf/tst-auxv.c: New
44132 * elf/rtld.c (dl_main): Adjust AT_EXECFN
44133
44134 2013-11-18 Joseph Myers <joseph@codesourcery.com>
44135
44136 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44137 (hidden_proto): Caller changed.
44138 (hidden_tls_proto): New macro.
44139 (libc_hidden_tls_proto): Likewise.
44140 (rtld_hidden_tls_proto): Likewise.
44141 (libm_hidden_tls_proto): Likewise.
44142 (libresolv_hidden_tls_proto): Likewise.
44143 (librt_hidden_tls_proto): Likewise.
44144 (libdl_hidden_tls_proto): Likewise.
44145 (libnss_files_hidden_tls_proto): Likewise.
44146 (libnsl_hidden_tls_proto): Likewise.
44147 (libnss_nisplus_hidden_tls_proto): Likewise.
44148 (libutil_hidden_tls_proto): Likewise.
44149
44150 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
44151
44152 [BZ #10253]
44153 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44154 (decompose_rpath): Defer expansion to fillin_rpath.
44155 (_dl_init_paths): Pass linkmap to fillin_rpath.
44156
44157 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44158
44159 * benchtests/Makefile: Add strsep.
44160 * benchtests/bench-strsep.c: New file: strsep benchtest.
44161 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44162
44163 2013-11-18 Andreas Schwab <schwab@suse.de>
44164
44165 * locale/programs/locale.c (show_info) [case byte]: Check for
44166 '\377' instead of '\177'.
44167 * locale/C-monetary.c (not_available): Always use "\377".
44168 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44169 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
44170 detect unavailable sign_posn locale elements.
44171 * locale/localeconv.c (__localeconv): For grouping and
44172 mon_grouping handle "\177" and "\377" like no grouping.
44173 (INT_ELEM): New macro. Use it to set all numeric members.
44174 * locale/programs/ld-monetary.c (monetary_read)
44175 <tok_mon_grouping>: Normalize single -1 to the empty string.
44176 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44177 Likewise.
44178
44179 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
44180
44181 [BZ #16055]
44182 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44183 when we match (nil).
44184 * stdio-common/tst-sscanf.c (struct test): Add testcase.
44185
44186 2013-11-16 Joseph Myers <joseph@codesourcery.com>
44187
44188 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44189 (NO_TEST_INLINE): Update value.
44190 (ERRNO_UNCHANGED): Likewise.
44191 (ERRNO_EDOM): Likewise.
44192 (ERRNO_ERANGE): Likewise.
44193 (IGNORE_RESULT): Likewise.
44194 (check_float_internal): Check signs of NaN results if
44195 TEST_NAN_SIGN used.
44196 (check_complex): Pass TEST_NAN_SIGN flag through to second
44197 check_float_internal call.
44198 (copysign_test_data): Add tests with quiet NaNs as second
44199 argument. Use TEST_NAN_SIGN.
44200 (fabs_test_data): Add test of negative quiet NaN argument. Use
44201 TEST_NAN_SIGN.
44202 (signbit_test_data): Add tests of quiet NaN argument.
44203 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44204
44205 * math/gen-libm-test.pl (show_exceptions): Take extra argument
44206 $ignore_result.
44207 (parse_args): Handle function results specified as IGNORE.
44208 * math/libm-test.inc (IGNORE_RESULT): New macro.
44209 (check_float_internal): Do not check numerical result if flag
44210 IGNORE_RESULT set.
44211 (check_complex): Pass through IGNORE_RESULT to second
44212 check_float_internal call.
44213 (check_int): Do not check numerical result if flag IGNORE_RESULT
44214 set.
44215 (check_long): Likewise.
44216 (check_bool): Likewise.
44217 (check_longlong): Likewise.
44218 (lrint_test_data): Add tests of infinite and NaN arguments.
44219 (lrint_tonearest_test_data): Likewise.
44220 (lrint_towardzero_test_data): Likewise.
44221 (lrint_downward_test_data): Likewise.
44222 (lrint_upward_test_data): Likewise.
44223 (llrint_test_data): Likewise.
44224 (llrint_tonearest_test_data): Likewise.
44225 (llrint_towardzero_test_data): Likewise.
44226 (llrint_downward_test_data): Likewise.
44227 (llrint_upward_test_data): Likewise.
44228 (lround_test_data): Likewise.
44229 (llround_test_data): Likewise.
44230
44231 * math/libm-test.inc (NO_TEST_INLINE): New macro.
44232 (ERRNO_UNCHANGED): Update value.
44233 (ERRNO_EDOM): Likewise.
44234 (ERRNO_ERANGE): Likewise.
44235 (NO_TEST_INLINE_FLOAT): New macro.
44236 (NO_TEST_INLINE_DOUBLE): Likewise.
44237 (enable_test): New function.
44238 (RUN_TEST_f_f): Check enable_test before running test.
44239 (RUN_TEST_2_f): Likewise.
44240 (RUN_TEST_fff_f): Likewise.
44241 (RUN_TEST_c_f): Likewise.
44242 (RUN_TEST_f_f1): Likewise.
44243 (RUN_TEST_fF_f1): Likewise.
44244 (RUN_TEST_fI_f1): Likewise.
44245 (RUN_TEST_ffI_f1): Likewise.
44246 (RUN_TEST_c_c): Likewise.
44247 (RUN_TEST_cc_c): Likewise.
44248 (RUN_TEST_f_i): Likewise.
44249 (RUN_TEST_f_i_tg): Likewise.
44250 (RUN_TEST_ff_i_tg): Likewise.
44251 (RUN_TEST_f_b): Likewise.
44252 (RUN_TEST_f_b_tg): Likewise.
44253 (RUN_TEST_f_l): Likewise.
44254 (RUN_TEST_f_L): Likewise.
44255 (RUN_TEST_fFF_11): Likewise.
44256 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44257 conditionals.
44258 (cosh_test_data): Likewise.
44259 (exp_test_data): Likewise.
44260 (expm1_test_data): Likewise.
44261 (hypot_test_data): Likewise.
44262 (pow_test_data): Likewise.
44263 (sinh_test_data): Likewise.
44264 (tanh_test_data): Likewise.
44265 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44266 flags argument.
44267
44268 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44269 tests with quiet NaN input and output.
44270 (acosh_test_data): Likewise.
44271 (asin_test_data): Likewise.
44272 (asinh_test_data): Likewise.
44273 (atan_test_data): Likewise.
44274 (atanh_test_data): Likewise.
44275 (atan2_test_data): Likewise.
44276 (cbrt_test_data): Likewise.
44277 (cos_test_data): Likewise.
44278 (cosh_test_data): Likewise.
44279 (erf_test_data): Likewise.
44280 (erfc_test_data): Likewise.
44281 (exp_test_data): Likewise.
44282 (exp10_test_data): Likewise.
44283 (exp2_test_data): Likewise.
44284 (expm1_test_data): Likewise.
44285 (hypot_test_data): Likewise.
44286 (j0_test_data): Likewise.
44287 (j1_test_data): Likewise.
44288 (jn_test_data): Likewise.
44289 (lgamma_test_data): Likewise.
44290 (log_test_data): Likewise.
44291 (log10_test_data): Likewise.
44292 (log1p_test_data): Likewise.
44293 (log2_test_data): Likewise.
44294 (pow_test_data): Likewise.
44295 (scalb_test_data): Likewise.
44296 (sin_test_data): Likewise.
44297 (sincos_test_data): Likewise.
44298 (sinh_test_data): Likewise.
44299 (tan_test_data): Likewise.
44300 (tanh_test_data): Likewise.
44301 (tgamma_test_data): Likewise.
44302 (y0_test_data): Likewise.
44303 (y1_test_data): Likewise.
44304 (yn_test_data): Likewise.
44305
44306 [BZ #16167]
44307 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44308 argument being NaN and avoid computations with second argument in
44309 that case.
44310 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44311 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44312 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44313
44314 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
44315
44316 * locale/iso-639.def: Add Chitwani Tharu (the).
44317
44318 2013-11-14 Andreas Schwab <schwab@suse.de>
44319
44320 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44321 word instead of empty string.
44322
44323 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44324
44325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44326 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44328 (__fe_nomask_env): Likewise.
44329
44330 2013-11-13 Steve Ellcey <sellcey@mips.com>
44331
44332 * benchtests/bench-timing.h: Include time.h.
44333
44334 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
44335
44336 [BZ #15997]
44337 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44338 to 3.4.0 for x32.
44339 * sysdeps/unix/sysv/linux/configure: Regenerated.
44340
44341 2013-11-13 Joseph Myers <joseph@codesourcery.com>
44342
44343 [BZ #16151]
44344 * stdlib/strtod_l.c (round_and_return): Do not consider
44345 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44346 exponent one less than half the least subnormal exponent.
44347 * stdlib/test-strtod-round-data: Add more tests.
44348 * stdlib/tst-strtod-round.c (tests): Regenerated.
44349
44350 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44351
44352 [BZ #14143]
44353 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44354 (__fe_mask_env): Likewise.
44355 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44356 libm_hidden_proto and add function prototype.
44357 (__fe_mask_env): Add function prototype.
44358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44359 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44361 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44363 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44364
44365 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44366
44367 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44368 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44369
44370 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44371
44372 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44373 of htab_find_slot().
44374
44375 2013-11-11 David S. Miller <davem@davemloft.net>
44376
44377 [BZ #16150]
44378 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44379 symbol in the non-vis3 case in static builds.
44380 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44381 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44382 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44383 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44384
44385 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
44386
44387 [BZ #387]
44388 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44389 it is empty.
44390
44391 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44392
44393 * benchtests/Makefile: Add bench-strtod.
44394 * benchtests/bench-strtod.c: New file: strtod benchtest
44395
44396 2013-11-11 Andreas Schwab <schwab@suse.de>
44397
44398 [BZ #16153]
44399 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44400 terminating NUL in key length.
44401
44402 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44403
44404 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44405 Add artificial ODP entry for vDSO symbol for PPC64.
44406 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44407 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44408
44409 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
44410
44411 [BZ #15374]
44412 * nss/getent.c (services_keys): Recognize services starting with digit.
44413
44414 2013-11-06 David S. Miller <davem@davemloft.net>
44415
44416 [BZ #15985]
44417 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44418 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44419
44420 2013-11-06 Will Newton <will.newton@linaro.org>
44421
44422 * manual/memory.texi (Malloc Examples): Remove register
44423 keyword from examples.
44424
44425 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
44426
44427 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44428
44429 2013-11-04 Joseph Myers <joseph@codesourcery.com>
44430
44431 [BZ #6981]
44432 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44433 depending on [__GCC_IEC_559 > 0].
44434 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44435 depending on [__GCC_IEC_559_COMPLEX > 0].
44436
44437 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
44438
44439 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44440 to iso-639.def.
44441
44442 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
44443
44444 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44445
44446 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
44447
44448 [BZ #16112]
44449 * malloc/malloc (malloc_info): Do not handle first bin as
44450 special case.
44451
44452 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
44453
44454 * locale/iso-639.def: Add Central Nahuatl (nhn).
44455
44456 2013-11-01 Bruno Haible <bruno@clisp.org>
44457
44458 [BZ #7003]
44459 * manual/math.texi (BSD Random): Specify range upper bound as
44460 in POSIX.
44461
44462 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
44463
44464 * locale/iso-639.def: Add Meadow Mari (mhr).
44465
44466 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
44467
44468 [BZ #14752], [BZ #15763]
44469 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44470 Validate name.
44471 * rt/tst_shm.c: Add test for escaping directory.
44472
44473 2013-10-31 Andreas Schwab <schwab@suse.de>
44474
44475 [BZ #15917]
44476 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44477 followed by 'x' as part of digit sequence.
44478 * stdio-common/tst-sscanf.c (double_tests2): New tests.
44479
44480 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44481
44482 [BZ #16037]
44483 * configure.ac: allow GNU Make 4.0 and greater.
44484 * configure: Regenerated.
44485
44486 2013-10-30 Will Newton <will.newton@linaro.org>
44487
44488 [BZ #16038]
44489 * malloc/hooks.c (memalign_check): Limit alignment to the
44490 maximum representable power of two.
44491 * malloc/malloc.c (__libc_memalign): Likewise.
44492 * malloc/tst-memalign.c (do_test): Add test for very
44493 large alignment values.
44494 * malloc/tst-posix_memalign.c (do_test): Likewise.
44495
44496 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
44497
44498 [BZ #11087]
44499 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44500 (munmap_chunk): Likewise.
44501 (mremap_chunk): Likewise.
44502
44503 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
44504
44505 [BZ #15799]
44506 * stdlib/div.c (div): Remove obsolete code.
44507 * stdlib/ldiv.c (ldiv): Likewise.
44508 * stdlib/lldiv.c (lldiv): Likewise.
44509
44510 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44511
44512 [BZ #16071]
44513 * nss/nss_files/files-XXX.c (get_contents_ret): New
44514 enumerator.
44515 (get_contents): New function.
44516 (internal_getent): Use it. Expand size of LINEBUFLEN.
44517
44518 2013-10-30 Mike Frysinger <vapier@gentoo.org>
44519
44520 * configure.in: Moved to ...
44521 * configure.ac: ... here. Change reference to configure.in
44522 to configure.ac.
44523 * sysdeps/arm/preconfigure.ac: ... here.
44524 configure.in to configure.ac.
44525 * sysdeps/gnu/configure.in: Moved to ...
44526 * sysdeps/gnu/configure.ac: ... here.
44527 * sysdeps/i386/configure.in: Moved to ...
44528 * sysdeps/i386/configure.ac: ... here.
44529 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44530 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44531 * sysdeps/mach/configure.in: Moved to ...
44532 * sysdeps/mach/configure.ac: ... here.
44533 * sysdeps/mach/hurd/configure.in: Moved to ...
44534 * sysdeps/mach/hurd/configure.ac: ... here.
44535 * sysdeps/powerpc/configure.in: Moved to ...
44536 * sysdeps/powerpc/configure.ac: ... here.
44537 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44538 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44539 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44540 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44541 * sysdeps/s390/s390-32/configure.in: Moved to ...
44542 * sysdeps/s390/s390-32/configure.ac: ... here.
44543 * sysdeps/s390/s390-64/configure.in: Moved to ...
44544 * sysdeps/s390/s390-64/configure.ac: ... here.
44545 * sysdeps/sh/configure.in: Moved to ...
44546 * sysdeps/sh/configure.ac: ... here.
44547 * sysdeps/sparc/configure.in: Moved to ...
44548 * sysdeps/sparc/configure.ac: ... here.
44549 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44550 * sysdeps/unix/sysv/linux/configure.ac: ... here.
44551 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44552 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44553 * sysdeps/x86_64/configure.in: Moved to ...
44554 * sysdeps/x86_64/configure.ac: ... here.
44555 * sysdeps/x86_64/preconfigure.in: Moved to ...
44556 * sysdeps/x86_64/preconfigure.ac: ... here.
44557 * aclocal.m4: Change reference to configure.in to configure.ac.
44558 * config.h.in: Likewise.
44559 * manual/install.texi: Likewise.
44560 * manual/maint.texi: Likewise.
44561 * Makefile: Likewise.
44562 * malloc/Makefile: Likewise.
44563 * nscd/Makefile: Likewise.
44564 * Makeconfig: Change reference to configure.in and
44565 preconfigure.in to configure.ac and preconfigure.ac
44566 respectively.
44567 * INSTALL: Regenerated.
44568 * configure: Likewise.
44569 * sysdeps/gnu/configure: Likewise.
44570 * sysdeps/i386/configure: Likewise.
44571 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44572 * sysdeps/mach/configure: Likewise.
44573 * sysdeps/mach/hurd/configure: Likewise.
44574 * sysdeps/powerpc/configure: Likewise.
44575 * sysdeps/powerpc/powerpc32/configure: Likewise.
44576 * sysdeps/powerpc/powerpc64/configure: Likewise.
44577 * sysdeps/s390/s390-32/configure: Likewise.
44578 * sysdeps/s390/s390-64/configure: Likewise.
44579 * sysdeps/sh/configure: Likewise.
44580 * sysdeps/sparc/configure: Likewise.
44581 * sysdeps/unix/sysv/linux/configure: Likewise.
44582 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44583 * sysdeps/x86_64/configure: Likewise.
44584 * sysdeps/x86_64/preconfigure: Likewise.
44585
44586 2013-10-29 Andreas Schwab <schwab@suse.de>
44587
44588 * stdio-common/Makefile (tst-swscanf-ENV): Define.
44589
44590 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44591
44592 * benchtests/pow-inputs: Add new inputs.
44593
44594 * benchtests/exp-inputs: Add new inputs.
44595
44596 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44597 conditional check for return value.
44598 (__cos32): Likewise.
44599
44600 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44601
44602 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44603 to provide a boost for large inputs with word alignment.
44604 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44605 implementation based on optimized PPC64 strcpy.
44606 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44607 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44608 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44609 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44610
44611 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
44612
44613 [BZ #2801]
44614 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44615
44616 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
44617
44618 [BZ #14876]
44619 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44620 * time/tst-strptime.c (day_tests): Add testcase.
44621
44622 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
44623
44624 [BZ #14029]
44625 * manual/pattern.texi: Acknowledge that fnmatch can fail.
44626
44627 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
44628
44629 [BZ #16074]
44630 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44631 MAP_FAILED on error.
44632
44633 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44634
44635 [BZ #16072]
44636 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44637 heap for large requests.
44638
44639 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
44640
44641 [BZ #9954]
44642 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44643 result if the result has no associated interface.
44644 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44645 interface for all 127.X.Y.Z addresses.
44646
44647 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
44648
44649 * locale/iso-639.def: Add Ligurian (lij)
44650
44651 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
44652
44653 [BZ #15825]
44654 * sunrpc/rpc_main.c: Document rpcgen -5.
44655
44656 2013-10-19 Michael Stahl <mstahl@redhat.com>
44657
44658 * elf/rtld.c (do_preload): Print the reason why preloading failed.
44659
44660 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
44661
44662 [BZ #10278]
44663 * posix/glob.c: Match only directories when trailing slash is present.
44664 * posix/tst-gnuglob.c (my_opendir): Do not open files.
44665 (main): Add testcase.
44666
44667 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
44668
44669 [BZ #15670]
44670 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44671
44672 2013-10-18 Carlos O'Donell <carlos@redhat.com>
44673
44674 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44675 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44676 AUTH_DES and cindex for FIPS 140-2.
44677 (DES Encryption): Add cindex FIPS 46-3.
44678
44679 * locale/locarchive.h (struct locarhandle): Add fname.
44680 * locale/programs/localedef.c (main): Pass ARGV[remaining]
44681 if an optional argument was specified to --list-archive,
44682 otherwise NULL.
44683 * locale/programs/locarchive.c (show_archive_content): Take new
44684 argument fname and pass it via ah.fname to open_archive.
44685 * locale/programs/localedef.h: Update decl.
44686 (open_archive): If AH->fname is non-null, open that file
44687 rather than the default file name, and don't ignore ENOENT.
44688 (create_archive): Set AH.fname to NULL.
44689 (delete_locales_from_archive): Likewise.
44690 (add_locales_to_archive): Likewise.
44691 * locale/programs/locfile.c (write_all_categories): Likewise.
44692
44693 2013-10-18 Joseph Myers <joseph@codesourcery.com>
44694 Aldy Hernandez <aldyh@redhat.com>
44695
44696 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44697 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44698 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44699 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44700 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44701 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44702 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44703 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44704 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44705 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44706 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44707 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44708 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44709 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44710 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44711 Likewise.
44712 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44713 Likewise.
44714 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44715 Likewise.
44716 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44717 Likewise.
44718 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44719 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44720 Likewise.
44721 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44722 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44723 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44724 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44725 Likewise.
44726 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44727 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44728 * sysdeps/powerpc/preconfigure: Likewise.
44729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44730 Likewise.
44731 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44732 Replace contents of file by #include of <fenv_libc.h>.
44733 * sysdeps/powerpc/soft-fp/sfp-machine.h
44734 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44735 and <sys/prctl.h>.
44736 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44739 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44740 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44741 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44743 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44744 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44745 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44746 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44747 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44749 Allow copysignl PLT reference to be missing.
44750
44751 2013-10-18 Richard Sandiford <richard@codesourcery.com>
44752 Joseph Myers <joseph@codesourcery.com
44753
44754 [BZ #15948]
44755 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44756 single character.
44757 (add_to_tablewc): Assert sequence of wide characters is nonempty.
44758
44759 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44760
44761 * elf/tst-tls-dlinfo.c: Don't include tls.h.
44762 * elf/tst-tls1.c: Likewise.
44763 * elf/tst-tls10.h: Likewise.
44764 * elf/tst-tls14.c: Likewise.
44765 * elf/tst-tls2.c: Likewise.
44766 * elf/tst-tls3.c: Likewise.
44767 * elf/tst-tls4.c: Likewise.
44768 * elf/tst-tls5.c: Likewise.
44769 * elf/tst-tls6.c: Likewise.
44770 * elf/tst-tls7.c: Likewise.
44771 * elf/tst-tls8.c: Likewise.
44772 * elf/tst-tls9.c: Likewise.
44773 * elf/tst-tlsmod1.c: Likewise.
44774 * elf/tst-tlsmod13.c: Likewise.
44775 * elf/tst-tlsmod13a.c: Likewise.
44776 * elf/tst-tlsmod14a.c: Likewise.
44777 * elf/tst-tlsmod16a.c: Likewise.
44778 * elf/tst-tlsmod16b.c: Likewise.
44779 * elf/tst-tlsmod2.c: Likewise.
44780 * elf/tst-tlsmod3.c: Likewise.
44781 * elf/tst-tlsmod4.c: Likewise.
44782 * elf/tst-tlsmod5.c: Likewise.
44783 * elf/tst-tlsmod6.c: Likewise.
44784
44785 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
44786
44787 [BZ #12486]
44788 * malloc/malloc.c: remove checks for statistics.
44789
44790 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
44791
44792 [BZ #15277]
44793 * inet/inet_net.c (inet_network): Detect additional invalid strings.
44794 * inet/tst-network.c: Add testcase.
44795
44796 2013-10-17 Andreas Schwab <schwab@suse.de>
44797
44798 [BZ #15218]
44799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
44800 to determine canonical name.
44801
44802 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
44803
44804 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
44805 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
44806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44807 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44809 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44810 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44811 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44812 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44813 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44814 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44817 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44818 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44819 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44821 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44822 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44823 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44824 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44825 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44826 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44827 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44828 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
44829 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44830 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44831 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
44832 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44833 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
44834 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44835 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44836 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44837 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44838 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44839 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44840 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44841 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44842 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44843 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44844 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44845 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44846 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44847 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44848 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44849 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44850 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44851 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44852 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44853 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44854 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44855 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44856 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44857 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44858 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44859 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44860 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44861 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44862
44863 2013-10-17 Joseph Myers <joseph@codesourcery.com>
44864
44865 [BZ #16041]
44866 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44867 make result into a quiet NaN.
44868
44869 2013-10-16 Joseph Myers <joseph@codesourcery.com>
44870
44871 * soft-fp/adddf3.c: Fix horizontal whitespace.
44872 * soft-fp/addsf3.c: Likewise.
44873 * soft-fp/addtf3.c: Likewise.
44874 * soft-fp/divdf3.c: Likewise.
44875 * soft-fp/divsf3.c: Likewise.
44876 * soft-fp/divtf3.c: Likewise.
44877 * soft-fp/double.h: Likewise.
44878 * soft-fp/eqdf2.c: Likewise.
44879 * soft-fp/eqsf2.c: Likewise.
44880 * soft-fp/eqtf2.c: Likewise.
44881 * soft-fp/extenddftf2.c: Likewise.
44882 * soft-fp/extended.h: Likewise.
44883 * soft-fp/extendsfdf2.c: Likewise.
44884 * soft-fp/extendsftf2.c: Likewise.
44885 * soft-fp/extendxftf2.c: Likewise.
44886 * soft-fp/fixdfdi.c: Likewise.
44887 * soft-fp/fixdfsi.c: Likewise.
44888 * soft-fp/fixdfti.c: Likewise.
44889 * soft-fp/fixsfdi.c: Likewise.
44890 * soft-fp/fixsfsi.c: Likewise.
44891 * soft-fp/fixsfti.c: Likewise.
44892 * soft-fp/fixtfdi.c: Likewise.
44893 * soft-fp/fixtfsi.c: Likewise.
44894 * soft-fp/fixtfti.c: Likewise.
44895 * soft-fp/fixunsdfdi.c: Likewise.
44896 * soft-fp/fixunsdfsi.c: Likewise.
44897 * soft-fp/fixunsdfti.c: Likewise.
44898 * soft-fp/fixunssfdi.c: Likewise.
44899 * soft-fp/fixunssfsi.c: Likewise.
44900 * soft-fp/fixunssfti.c: Likewise.
44901 * soft-fp/fixunstfdi.c: Likewise.
44902 * soft-fp/fixunstfsi.c: Likewise.
44903 * soft-fp/fixunstfti.c: Likewise.
44904 * soft-fp/floatdidf.c: Likewise.
44905 * soft-fp/floatdisf.c: Likewise.
44906 * soft-fp/floatditf.c: Likewise.
44907 * soft-fp/floatsidf.c: Likewise.
44908 * soft-fp/floatsisf.c: Likewise.
44909 * soft-fp/floatsitf.c: Likewise.
44910 * soft-fp/floattidf.c: Likewise.
44911 * soft-fp/floattisf.c: Likewise.
44912 * soft-fp/floattitf.c: Likewise.
44913 * soft-fp/floatundidf.c: Likewise.
44914 * soft-fp/floatundisf.c: Likewise.
44915 * soft-fp/floatunditf.c: Likewise.
44916 * soft-fp/floatunsidf.c: Likewise.
44917 * soft-fp/floatunsisf.c: Likewise.
44918 * soft-fp/floatunsitf.c: Likewise.
44919 * soft-fp/floatuntidf.c: Likewise.
44920 * soft-fp/floatuntisf.c: Likewise.
44921 * soft-fp/floatuntitf.c: Likewise.
44922 * soft-fp/fmadf4.c: Likewise.
44923 * soft-fp/fmasf4.c: Likewise.
44924 * soft-fp/fmatf4.c: Likewise.
44925 * soft-fp/gedf2.c: Likewise.
44926 * soft-fp/gesf2.c: Likewise.
44927 * soft-fp/getf2.c: Likewise.
44928 * soft-fp/ledf2.c: Likewise.
44929 * soft-fp/lesf2.c: Likewise.
44930 * soft-fp/letf2.c: Likewise.
44931 * soft-fp/muldf3.c: Likewise.
44932 * soft-fp/mulsf3.c: Likewise.
44933 * soft-fp/multf3.c: Likewise.
44934 * soft-fp/negdf2.c: Likewise.
44935 * soft-fp/negsf2.c: Likewise.
44936 * soft-fp/negtf2.c: Likewise.
44937 * soft-fp/op-1.h: Likewise.
44938 * soft-fp/op-2.h: Likewise.
44939 * soft-fp/op-4.h: Likewise.
44940 * soft-fp/op-8.h: Likewise.
44941 * soft-fp/op-common.h: Likewise.
44942 * soft-fp/quad.h: Likewise.
44943 * soft-fp/single.h: Likewise.
44944 * soft-fp/soft-fp.h: Likewise.
44945 * soft-fp/sqrtdf2.c: Likewise.
44946 * soft-fp/sqrtsf2.c: Likewise.
44947 * soft-fp/sqrttf2.c: Likewise.
44948 * soft-fp/subdf3.c: Likewise.
44949 * soft-fp/subsf3.c: Likewise.
44950 * soft-fp/subtf3.c: Likewise.
44951 * soft-fp/truncdfsf2.c: Likewise.
44952 * soft-fp/trunctfdf2.c: Likewise.
44953 * soft-fp/trunctfsf2.c: Likewise.
44954 * soft-fp/trunctfxf2.c: Likewise.
44955 * soft-fp/unorddf2.c: Likewise.
44956 * soft-fp/unordsf2.c: Likewise.
44957 * soft-fp/unordtf2.c: Likewise.
44958
44959 2013-10-15 Joseph Myers <joseph@codesourcery.com>
44960
44961 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44962 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44963
44964 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
44965
44966 * elf/dl-libc.c: Clear initfini list after freeing.
44967
44968 2013-10-14 Joseph Myers <joseph@codesourcery.com>
44969
44970 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44971 * soft-fp/addsf3.c: Likewise.
44972 * soft-fp/addtf3.c: Likewise.
44973 * soft-fp/divdf3.c: Likewise.
44974 * soft-fp/divsf3.c: Likewise.
44975 * soft-fp/divtf3.c: Likewise.
44976 * soft-fp/double.h: Likewise.
44977 * soft-fp/eqdf2.c: Likewise.
44978 * soft-fp/eqsf2.c: Likewise.
44979 * soft-fp/eqtf2.c: Likewise.
44980 * soft-fp/extenddftf2.c: Likewise.
44981 * soft-fp/extended.h: Likewise.
44982 * soft-fp/extendsfdf2.c: Likewise.
44983 * soft-fp/extendsftf2.c: Likewise.
44984 * soft-fp/extendxftf2.c: Likewise.
44985 * soft-fp/fixdfdi.c: Likewise.
44986 * soft-fp/fixdfsi.c: Likewise.
44987 * soft-fp/fixdfti.c: Likewise.
44988 * soft-fp/fixsfdi.c: Likewise.
44989 * soft-fp/fixsfsi.c: Likewise.
44990 * soft-fp/fixsfti.c: Likewise.
44991 * soft-fp/fixtfdi.c: Likewise.
44992 * soft-fp/fixtfsi.c: Likewise.
44993 * soft-fp/fixtfti.c: Likewise.
44994 * soft-fp/fixunsdfdi.c: Likewise.
44995 * soft-fp/fixunsdfsi.c: Likewise.
44996 * soft-fp/fixunsdfti.c: Likewise.
44997 * soft-fp/fixunssfdi.c: Likewise.
44998 * soft-fp/fixunssfsi.c: Likewise.
44999 * soft-fp/fixunssfti.c: Likewise.
45000 * soft-fp/fixunstfdi.c: Likewise.
45001 * soft-fp/fixunstfsi.c: Likewise.
45002 * soft-fp/fixunstfti.c: Likewise.
45003 * soft-fp/floatdidf.c: Likewise.
45004 * soft-fp/floatdisf.c: Likewise.
45005 * soft-fp/floatditf.c: Likewise.
45006 * soft-fp/floatsidf.c: Likewise.
45007 * soft-fp/floatsisf.c: Likewise.
45008 * soft-fp/floatsitf.c: Likewise.
45009 * soft-fp/floattidf.c: Likewise.
45010 * soft-fp/floattisf.c: Likewise.
45011 * soft-fp/floattitf.c: Likewise.
45012 * soft-fp/floatundidf.c: Likewise.
45013 * soft-fp/floatundisf.c: Likewise.
45014 * soft-fp/floatunsidf.c: Likewise.
45015 * soft-fp/floatunsisf.c: Likewise.
45016 * soft-fp/floatuntidf.c: Likewise.
45017 * soft-fp/floatuntisf.c: Likewise.
45018 * soft-fp/floatuntitf.c: Likewise.
45019 * soft-fp/fmadf4.c: Likewise.
45020 * soft-fp/fmasf4.c: Likewise.
45021 * soft-fp/fmatf4.c: Likewise.
45022 * soft-fp/gedf2.c: Likewise.
45023 * soft-fp/gesf2.c: Likewise.
45024 * soft-fp/getf2.c: Likewise.
45025 * soft-fp/ledf2.c: Likewise.
45026 * soft-fp/lesf2.c: Likewise.
45027 * soft-fp/letf2.c: Likewise.
45028 * soft-fp/muldf3.c: Likewise.
45029 * soft-fp/mulsf3.c: Likewise.
45030 * soft-fp/multf3.c: Likewise.
45031 * soft-fp/negdf2.c: Likewise.
45032 * soft-fp/negsf2.c: Likewise.
45033 * soft-fp/negtf2.c: Likewise.
45034 * soft-fp/op-1.h: Likewise.
45035 * soft-fp/op-2.h: Likewise.
45036 * soft-fp/op-4.h: Likewise.
45037 * soft-fp/op-8.h: Likewise.
45038 * soft-fp/op-common.h: Likewise.
45039 * soft-fp/quad.h: Likewise.
45040 * soft-fp/single.h: Likewise.
45041 * soft-fp/soft-fp.h: Likewise.
45042 * soft-fp/sqrtdf2.c: Likewise.
45043 * soft-fp/sqrtsf2.c: Likewise.
45044 * soft-fp/sqrttf2.c: Likewise.
45045 * soft-fp/subdf3.c: Likewise.
45046 * soft-fp/subsf3.c: Likewise.
45047 * soft-fp/subtf3.c: Likewise.
45048 * soft-fp/truncdfsf2.c: Likewise.
45049 * soft-fp/trunctfdf2.c: Likewise.
45050 * soft-fp/trunctfsf2.c: Likewise.
45051 * soft-fp/trunctfxf2.c: Likewise.
45052 * soft-fp/unorddf2.c: Likewise.
45053 * soft-fp/unordsf2.c: Likewise.
45054 * soft-fp/unordtf2.c: Likewise.
45055
45056 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
45057
45058 [BZ #15672]
45059 * misc/error.c (error_tail): Fix possible buffer overflow.
45060
45061 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
45062
45063 [BZ #13028]
45064 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45065 address.
45066
45067 2013-10-14 P. J. McDermott <pj@pehjota.net>
45068
45069 [BZ #832]
45070 * elf/ldd.bash.in (try_trace): New function. Delete previous code
45071 testing pipefail option.
45072
45073 2013-10-12 Joseph Myers <joseph@codesourcery.com>
45074
45075 * soft-fp/double.h: Indent preprocessor directives inside #if.
45076 * soft-fp/extended.h: Likewise.
45077 * soft-fp/op-2.h: Likewise.
45078 * soft-fp/op-4.h: Likewise.
45079 * soft-fp/op-common.h: Likewise.
45080 * soft-fp/quad.h: Likewise.
45081 * soft-fp/single.h: Likewise.
45082 * soft-fp/soft-fp.h: Likewise.
45083
45084 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
45085
45086 * iconv/iconv_prog.c: Fix typos.
45087 * stdio-common/psiginfo-data.h: Likewise.
45088
45089 2013-10-12 Reuben Thomas <rrt@sc3d.org>
45090
45091 [BZ #15764]
45092 * locale/setlocale.c: Fix typo.
45093
45094 2013-10-12 Joseph Myers <joseph@codesourcery.com>
45095
45096 [BZ #16036]
45097 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45098 signaling NaN arguments.
45099 * soft-fp/unordsf2.c (__unordsf2): Likewise.
45100 * soft-fp/unordtf2.c (__unordtf2): Likewise.
45101
45102 [BZ #14910]
45103 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45104 unordered operands.
45105 * soft-fp/gesf2.c (__gesf2): Likewise.
45106 * soft-fp/getf2.c (__getf2): Likewise.
45107 * soft-fp/ledf2.c (__ledf2): Likewise.
45108 * soft-fp/lesf2.c (__lesf2): Likewise.
45109 * soft-fp/letf2.c (__letf2): Likewise.
45110
45111 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45112 * soft-fp/eqsf2.c (__eqsf2): Likewise.
45113 * soft-fp/eqtf2.c (__eqtf2): Likewise.
45114 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45115 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45116 * soft-fp/fixdfti.c (__fixdfti): Likewise.
45117 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45118 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45119 * soft-fp/fixsfti.c (__fixsfti): Likewise.
45120 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45121 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45122 * soft-fp/fixtfti.c (__fixtfti): Likewise.
45123 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45124 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45125 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45126 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45127 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45128 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45129 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45130 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45131 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45132 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45133 * soft-fp/floatdisf.c (__floatdisf): Likewise.
45134 * soft-fp/floatsisf.c (__floatsisf): Likewise.
45135 * soft-fp/floattidf.c (__floattidf): Likewise.
45136 * soft-fp/floattisf.c (__floattisf): Likewise.
45137 * soft-fp/floattitf.c (__floattitf): Likewise.
45138 * soft-fp/floatundidf.c (__floatundidf): Likewise.
45139 * soft-fp/floatundisf.c (__floatundisf): Likewise.
45140 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45141 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45142 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45143 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45144 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45145 * soft-fp/gesf2.c (__gesf2): Likewise.
45146 * soft-fp/getf2.c (__getf2): Likewise.
45147 * soft-fp/ledf2.c (__ledf2): Likewise.
45148 * soft-fp/lesf2.c (__lesf2): Likewise.
45149 * soft-fp/letf2.c (__letf2): Likewise.
45150
45151 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45152 Undefine and redefine.
45153 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45154 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45155 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45156 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45157 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45158 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45159 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45160 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45161 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45162 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45163 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45164 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45165 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45166 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45167 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45168
45169 [BZ #16032]
45170 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45171 without decrementing exponent if mantissa >= that for the
45172 denominator, not >.
45173 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45174 denominator, not >. Decrement exponent in < case instead of
45175 incrementing in >= case.
45176 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45177 without decrementing exponent if mantissa >= that for the
45178 denominator, not >.
45179
45180 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45181 computing saturated result for unsigned overflow.
45182
45183 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
45184 Jeff Law <law@redhat.com>
45185
45186 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45187 (atan2Mp): Add systemtap probe marker.
45188 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45189 (__ieee754_log): Add systemtap probe marker.
45190 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45191 (atanMp): Add systemtap probe marker.
45192 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45193 (tanMp): Add systemtap probe marker.
45194 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45195 (__slowexp): Add systemtap probe marker.
45196 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45197 (__slowpow): Add systemtap probe marker.
45198 * manual/probes.texi: Document probes.
45199
45200 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
45201
45202 [BZ #15362]
45203 * libio/fileops.c (_IO_new_file_write): Return count of bytes
45204 written.
45205 (_IO_new_file_xsputn): Don't return EOF if nothing has been
45206 written.
45207 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45208 written to buffer but not flushed.
45209 * libio/iofwrite_u.c: Likewise.
45210 * libio/iopadn.c: Return bytes returned even if EOF was
45211 encountered.
45212 * libio/iowpadn.c: Likewise.
45213 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45214 if _IO_padn does not write the whole buffer.
45215 [!COMPILE_WPRINTF] (PAD): Likewise.
45216
45217 2013-10-10 David S. Miller <davem@davemloft.net>
45218
45219 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45220 directory block.
45221
45222 2013-10-10 Joseph Myers <joseph@codesourcery.com>
45223
45224 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
45225 instead of FSF address.
45226 * soft-fp/fixdfti.c: Likewise.
45227 * soft-fp/fixsfti.c: Likewise.
45228 * soft-fp/fixtfti.c: Likewise.
45229 * soft-fp/fixunsdfti.c: Likewise.
45230 * soft-fp/fixunssfti.c: Likewise.
45231 * soft-fp/fixunstfti.c: Likewise.
45232 * soft-fp/floattidf.c: Likewise.
45233 * soft-fp/floattisf.c: Likewise.
45234 * soft-fp/floattitf.c: Likewise.
45235 * soft-fp/floatuntidf.c: Likewise.
45236 * soft-fp/floatuntisf.c: Likewise.
45237 * soft-fp/floatuntitf.c: Likewise.
45238 * soft-fp/trunctfxf2.c: Likewise.
45239
45240 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
45241 * soft-fp/fixdfti.c: Likewise.
45242 * soft-fp/fixsfti.c: Likewise.
45243 * soft-fp/fixtfti.c: Likewise.
45244 * soft-fp/fixunsdfti.c: Likewise.
45245 * soft-fp/fixunssfti.c: Likewise.
45246 * soft-fp/fixunstfti.c: Likewise.
45247 * soft-fp/floattidf.c: Likewise.
45248 * soft-fp/floattisf.c: Likewise.
45249 * soft-fp/floattitf.c: Likewise.
45250 * soft-fp/floatuntidf.c: Likewise.
45251 * soft-fp/floatuntisf.c: Likewise.
45252 * soft-fp/floatuntitf.c: Likewise.
45253 * soft-fp/trunctfxf2.c: Likewise.
45254
45255 2013-10-10 David S. Miller <davem@davemloft.net>
45256
45257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45258
45259 2013-10-10 Joseph Myers <joseph@codsourcery.com>
45260
45261 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45262 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45263 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45264 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45265 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45266 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45267 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45268
45269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45270 for NaNs before doing comparisons on argument.
45271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45272 Likewise.
45273
45274 2013-10-10 Will Newton <will.newton@linaro.org>
45275
45276 * malloc/hooks.c (memalign_check): Ensure the value of bytes
45277 passed to _int_memalign does not overflow.
45278
45279 2013-10-10 Torvald Riegel <triegel@redhat.com>
45280
45281 * scripts/bench.pl: Add include-sources directive.
45282 * benchtests/README: Update documentation.
45283
45284 2013-10-10 Joseph Myers <joseph@codesourcery.com>
45285
45286 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45287 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45288 instead of FP_INIT_ROUNDMODE.
45289 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45290 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45291
45292 [BZ #16034]
45293 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
45294 copy class of input value.
45295 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
45296 not handle exceptions.
45297 * soft-fp/negsf2.c (__negsf2): Likewise.
45298 * soft-fp/negtf2.c (__negtf2): Likewise.
45299 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45300
45301 2013-10-09 Joseph Myers <joseph@codesourcery.com>
45302
45303 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45304 semicolon. From Linux kernel.
45305
45306 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
45307
45308 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45309
45310 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
45311
45312 [BZ #156]
45313 * manual/socket.texi: Added statement about buffer
45314 for gethostbyname2_r.
45315
45316 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
45317
45318 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45319 Use .p2align directive instead, throughout.
45320 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45321 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45322 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45323 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45324 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45325 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45326 * sysdeps/x86_64/strchr.S: Likewise.
45327 * sysdeps/x86_64/strrchr.S: Likewise.
45328
45329 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
45330
45331 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45332
45333 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45334
45335 * sysdeps/generic/math_private.h (__mpsin1): Remove
45336 declaration.
45337 (__mpcos1): Likewise.
45338 (__mpsin): New argument __range_reduce.
45339 (__mpcos): Likewise.
45340 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45341 (slow): Use __mpsin and __mpcos.
45342 (slow1): Likewise.
45343 (slow2): Likewise.
45344 (sloww): Likewise.
45345 (sloww1): Likewise.
45346 (sloww2): Likewise.
45347 (bsloww): Likewise.
45348 (bsloww1): Likewise.
45349 (bsloww2): Likewise.
45350 (cslow2): Likewise.
45351 (csloww): Likewise.
45352 (csloww1): Likewise.
45353 (csloww2): Likewise.
45354 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45355 range_reduce. Merge in __mpsin1.
45356 (__mpcos): Likewise.
45357 (__mpsin1): Remove.
45358 (__mpcos1): Likewise.
45359
45360 2013-10-07 Joseph Myers <joseph@codesourcery.com>
45361
45362 * locale/loadlocale.c (_nl_intern_locale_data): Use
45363 LOCFILE_ALIGNED_P.
45364 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45365 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45366 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45367 obstack data is appropriately aligned.
45368 (obstack_int32_grow_fast): Likewise.
45369 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45370 * locale/programs/locfile.c (add_locale_uint32): Likewise.
45371 (add_locale_uint32_array): Likewise.
45372
45373 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
45374
45375 * benchtests/Makefile: Remove ARGLIST and RET variables.
45376 ($(objpfx)bench-%.c): Pass only function name to the script.
45377 * benchtests/README: Update documentation.
45378 * benchtests/acos-inputs: Add new directives.
45379 * benchtests/acosh-inputs: Likewise.
45380 * benchtests/asin-inputs: Likewise.
45381 * benchtests/asinh-inputs: Likewise.
45382 * benchtests/atan-inputs: Likewise.
45383 * benchtests/atanh-inputs: Likewise.
45384 * benchtests/cos-inputs: Likewise.
45385 * benchtests/cosh-inputs: Likewise.
45386 * benchtests/exp-inputs: Likewise.
45387 * benchtests/log-inputs: Likewise.
45388 * benchtests/pow-inputs: Likewise.
45389 * benchtests/rint-inputs: Likewise.
45390 * benchtests/sin-inputs: Likewise.
45391 * benchtests/sinh-inputs: Likewise.
45392 * benchtests/tan-inputs: Likewise.
45393 * benchtests/tanh-inputs: Likewise.
45394 * scripts/bench.pl: Add support for new directives.
45395
45396 2013-10-07 Alan Modra <amodra@gmail.com>
45397
45398 * README: Fix careless merge.
45399
45400 2013-10-05 Alan Modra <amodra@gmail.com>
45401
45402 * NEWS: Mention powerpc64le support and bugs fixed.
45403 * README: Both big-endian and little-endian powerpc64 supported.
45404
45405 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
45406
45407 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45408 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45409 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45410 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45411
45412 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
45413
45414 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45415 match prototype.
45416
45417 2013-10-04 Joseph Myers <joseph@codesourcery.com>
45418
45419 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45420 Move -mhard-float appending from
45421 ports/sysdeps/powerpc/powerpc32/Makefile.
45422 [$(with-fp) = yes] (ASFLAGS): Likewise.
45423 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45424 * sysdeps/powerpc/nofpu: Move directory from
45425 ports/sysdeps/powerpc/nofpu.
45426 * sysdeps/powerpc/soft-fp: Move directory from
45427 ports/sysdeps/powerpc/soft-fp.
45428 * sysdeps/powerpc/powerpc32/405: Move directory from
45429 ports/sysdeps/powerpc/powerpc32/405.
45430 * sysdeps/powerpc/powerpc32/440: Move directory from
45431 ports/sysdeps/powerpc/powerpc32/440.
45432 * sysdeps/powerpc/powerpc32/464: Move directory from
45433 ports/sysdeps/powerpc/powerpc32/464.
45434 * sysdeps/powerpc/powerpc32/476: Move directory from
45435 ports/sysdeps/powerpc/powerpc32/476.
45436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45437 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45439 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45441 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45443 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45445 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45446 * README: Update for powerpc-*-linux-gnu software floating point
45447 support in libc.
45448
45449 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45450 case to powerpc/powerpc32*.
45451 * sysdeps/unix/sysv/linux/configure: Regenerated.
45452
45453 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45454 (_FPU_MASK_OM): Define as 0x04.
45455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45457 0x00c10080.
45458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45459 0x0000003c.
45460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45461
45462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45463 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45464 getcontext_e500.
45465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45466 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45467 setcontext_e500.
45468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45469 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45470 and setcontext_e500.
45471
45472 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
45473
45474 * locale/iso-3166.def: Update iso-1366.def and related occurrences
45475
45476 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45477
45478 * manual/threads.texi (Default Thread Attributes): Fix typo.
45479
45480 2013-10-04 Will Newton <will.newton@linaro.org>
45481
45482 * malloc/Makefile: Add tst-memalign.
45483 * malloc/tst-memalign.c: New file.
45484
45485 * malloc/tst-posix_memalign.c: Add comments.
45486 (do_test): Add comments and call free on all potentially
45487 allocated pointers. Add space after cast.
45488
45489 * malloc/tst-pvalloc.c: Add comments.
45490 (do_test): Add comments and call free on all potentially
45491 allocated pointers. Remove duplicate check for NULL pointer.
45492 Add space after cast.
45493
45494 * malloc/tst-valloc.c: Add comments.
45495 (do_test): Add comments and call free on all potentially
45496 allocated pointers. Remove duplicate check for NULL pointer.
45497 Add space after cast.
45498
45499 2013-10-04 Alan Modra <amodra@gmail.com>
45500
45501 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45502 Use stdint types in rather than __attribute__((mode())).
45503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45504
45505 2013-10-04 Alan Modra <amodra@gmail.com>
45506
45507 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45508 Correct handling of unaligned relocs for little-endian.
45509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45510
45511 2013-10-04 Alan Modra <amodra@gmail.com>
45512
45513 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45514 * configure: Regenerate.
45515 * nptl/shlib-versions: Powerpc*le starts at 2.18.
45516 * shlib-versions: Likewise.
45517
45518 2013-10-04 Alan Modra <amodra@gmail.com>
45519
45520 * string/tester.c (test_memrchr): Increment reported test cycle.
45521
45522 2013-10-04 Alan Modra <amodra@gmail.com>
45523
45524 * string/test-memcpy.c (do_one_test): When reporting errors, print
45525 string address and don't overrun end of string.
45526
45527 2013-10-04 Alan Modra <amodra@gmail.com>
45528
45529 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45530 insrdi. Make better use of reg selection to speed exit slightly.
45531 Schedule entry path a little better. Remove useless "are we done"
45532 checks on entry to main loop. Handle wrapping around zero address.
45533 Correct main loop count. Handle single left-over word from main
45534 loop inline rather than by using loop_small. Remove extra word
45535 case in loop_small caused by wrong loop count. Add little-endian
45536 support.
45537 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45538 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
45539 cache hint.
45540 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45541 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45542 support. Avoid rlwimi.
45543 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45544
45545 2013-10-04 Alan Modra <amodra@gmail.com>
45546
45547 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45548 insrdi. Formatting.
45549 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45550 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45551 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45552 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45553 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45554 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45555
45556 2013-10-04 Alan Modra <amodra@gmail.com>
45557
45558 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45559 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45560 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45561 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45562 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45563 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45564 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45565 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45566 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
45567 use of regs. Use power7 mtocrf. Tidy function tails.
45568
45569 2013-10-04 Alan Modra <amodra@gmail.com>
45570
45571 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45572 Formatting. Consistently use rXXX register defines or rN defines.
45573 Use early exit labels that avoid restoring unused non-volatile regs.
45574 Make cr field use more consistent with rWORDn compares. Rename
45575 regs used as shift registers for unaligned loop, using rN defines
45576 for short lifetime/multiple use regs.
45577 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45578 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
45579 addi 1,1,64 to pop stack frame. Simplify return value code.
45580 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45581
45582 2013-10-04 Alan Modra <amodra@gmail.com>
45583
45584 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45585 support. Correct typos, formatting. Optimize tail. Use insrdi
45586 rather than rlwimi.
45587 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45588 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45589 little-endian support. Correct typos.
45590 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
45591 rather than rlwimi.
45592 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
45593 in loop and entry code to keep "and." results.
45594 (strchr): Add little-endian support. Comment. Move cntlzd
45595 earlier in tail.
45596 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45597
45598 2013-10-04 Alan Modra <amodra@gmail.com>
45599
45600 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45601 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45602 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45603 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45604
45605 2013-10-04 Alan Modra <amodra@gmail.com>
45606
45607 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45608 (rTMP): Define as r11.
45609 (strcmp): Add little-endian support. Optimise tail.
45610 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45611 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45612 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45613 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45614 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45615 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45616 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45617
45618 2013-10-04 Alan Modra <amodra@gmail.com>
45619
45620 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45621 little-endian support. Remove unnecessary "are we done" tests.
45622 Handle "s" wrapping around zero and extremely large "size".
45623 Correct main loop count. Handle single left-over word from main
45624 loop inline rather than by using small_loop. Correct comments.
45625 Delete "zero" tail, use "end_max" instead.
45626 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45627
45628 2013-10-04 Alan Modra <amodra@gmail.com>
45629
45630 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45631 support. Don't branch over align.
45632 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45633 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45634 support. Rearrange tmp reg use to suit. Comment.
45635 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45636
45637 2013-10-04 Alan Modra <amodra@gmail.com>
45638
45639 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45640
45641 2013-10-04 Alan Modra <amodra@gmail.com>
45642
45643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45644 conditional form of branch and link when obtaining pc.
45645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45646
45647 2013-10-04 Alan Modra <amodra@gmail.com>
45648
45649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45650 HIWORD/LOWORD.
45651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45653
45654 2013-10-04 Alan Modra <amodra@gmail.com>
45655
45656 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45657 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45658 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45659 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45660 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45661 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45662 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45663 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45664 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45665 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45666
45667 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
45668 Alistair Popple <alistair@ozlabs.au.ibm.com>
45669 Alan Modra <amodra@gmail.com>
45670
45671 [BZ #15723]
45672 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45673 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45674 _dl_hwcap access for little-endian.
45675 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
45676 destroy vmx regs when saving unaligned.
45677 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45678 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
45679 destroy vmx regs when saving unaligned.
45680
45681 2013-10-04 Alan Modra <amodra@gmail.com>
45682
45683 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45684 Don't use a union to pack hi/low value.
45685
45686 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
45687
45688 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45689 for little-endian.
45690 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45691 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45692 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45693 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45694 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45695
45696 2013-10-04 Alan Modra <amodra@gmail.com>
45697
45698 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45699 constants to usual value for .cst8 section, and remove redundant
45700 high address load.
45701 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45702 constant for 0x1p52. Load little-endian words of double from
45703 correct stack offsets.
45704
45705 2013-10-04 Alan Modra <amodra@gmail.com>
45706
45707 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45708 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45709 words of double from correct stack offsets.
45710 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45711 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45712 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45713 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45714 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45715 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45716 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45717 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45718 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45719 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45720 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45721 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45722 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45723 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45724 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45725 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45726 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45727
45728 2013-10-04 Alan Modra <amodra@gmail.com>
45729
45730 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45731 64-bit int/double union.
45732 (_FPU_SETCW): Likewise.
45733 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45734 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45735
45736 2013-10-04 Alan Modra <amodra@gmail.com>
45737
45738 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45739 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45740
45741 2013-10-04 Alan Modra <amodra@gmail.com>
45742
45743 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45744 use vector int constants.
45745 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45746
45747 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
45748
45749 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45750 array with long long.
45751 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45752 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45753 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45754 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45755 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45756 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45757 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45758 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45759 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45760 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45761 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45762 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45763 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45764
45765 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
45766
45767 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45768 (__signbit): Likewise. Correct for little-endian.
45769 (__signbitl): Call __signbit.
45770 (lrint): Correct for little-endian.
45771 (lrintf): Call lrint.
45772
45773 2013-10-04 Alan Modra <amodra@gmail.com>
45774
45775 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45776 union 32-bit int array member with 64-bit int array.
45777 (t515, tm256): Double rather than long double.
45778 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
45779
45780 2013-10-04 Alan Modra <amodra@gmail.com>
45781
45782 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
45783 Delete.
45784 (IEEE854_LONG_DOUBLE_BIAS): Delete.
45785 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
45786 version of math_ldbl.h.
45787
45788 2013-10-04 Alan Modra <amodra@gmail.com>
45789
45790 [BZ #15734], [BZ #15735]
45791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
45792 all uses of ieee875 long double macros and unions. Simplify test
45793 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
45794 ldbl_extract_mantissa value for ix,iy exponents. Properly
45795 normalize after ldbl_extract_mantissa, and don't add hidden bit
45796 already handled. Don't treat low word of ieee854 mantissa like
45797 low word of IBM long double and mask off bit when testing for
45798 zero.
45799 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
45800 all uses of ieee875 long double macros and unions. Simplify tests
45801 for 0.0L and inf. Correct double adjustment of k. Delete dead code
45802 adjusting ha,hb. Simplify code setting kld. Delete two600 and
45803 two1022, instead use their values. Recognise that tests for large
45804 "a" and small "b" are mutually exclusive. Rename vars. Comment.
45805 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
45806 Rewrite all uses of ieee875 long double macros and unions. Simplify
45807 test for 0.0L and nan. Correct negation.
45808 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45809 ieee875 long double macros and unions. Correct output for large
45810 magnitude x. Correct absolute value calculation.
45811 (__erfcl): Likewise.
45812 * math/libm-test.inc: Add tests for errors discovered in IBM long
45813 double versions of fmodl, remainderl, erfl and erfcl.
45814
45815 2013-10-04 Alan Modra <amodra@gmail.com>
45816
45817 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
45818 all uses of ieee854 long double macros and unions. Simplify tests
45819 for long doubles that are fully specified by the high double.
45820 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
45821 Likewise.
45822 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
45823 Remove dead code too.
45824 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
45825 (__ieee754_ynl): Likewise.
45826 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
45827 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
45828 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
45829 Remove dead code too.
45830 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
45831 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45832 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
45833 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
45834 Simplify.
45835 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
45836 Simplify.
45837 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
45838 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
45839 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
45840 Comment on variable precision.
45841 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
45842 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45843 Likewise.
45844 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
45845 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45846 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45847 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
45848 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
45849
45850 2013-10-04 Alan Modra <amodra@gmail.com>
45851
45852 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45853 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45854 all uses of ieee854 long double macros and unions.
45855 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45856 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45857 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45858 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45859 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45860 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45861 Likewise.
45862 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45863 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45864 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45865 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45866 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45867 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45868 Simplify sign and nan test too.
45869 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45870 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45871 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45872 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45873 Likewise.
45874 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45875 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45876 Likewise.
45877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45878 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45879 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45880 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45881 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45882 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45883
45884 2013-10-04 Alan Modra <amodra@gmail.com>
45885
45886 * stdio-common/printf_size.c (__printf_size): Don't use
45887 union ieee854_long_double in fpnum union.
45888 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
45889 signbit macro to retrieve sign from long double.
45890 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45891 retrieve sign from long double.
45892 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45893 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45894 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45895 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45896 * math/test-misc.c (main): Don't use union ieee854_long_double.
45897
45898 2013-10-04 Alan Modra <amodra@gmail.com>
45899
45900 [BZ #15680]
45901 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45902 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45903 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45904 calculation. Remove unnecessary test for denormal exponent.
45905 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45906 Correct handling of denormals. Avoid undefined shift behaviour.
45907 Correct normalisation of low mantissa when low double is denormal.
45908 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45909 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
45910 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45911 Correct normalisation of low mantissa. Test for overflow of high
45912 mantissa and normalise.
45913 (ldbl_nearbyint): Use more readable constant for two52.
45914 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45915 (__mpn_construct_long_double): Fix test for overflow of high
45916 mantissa and correct normalisation. Avoid undefined shift.
45917
45918 2013-10-04 Alan Modra <amodra@gmail.com>
45919
45920 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45921 (union ibm_extended_long_double): Define as an array of ieee754_double.
45922 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45923 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45924 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45925 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45926 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45927 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45928 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45929 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45930 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45931 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45932 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45933
45934 2013-10-03 Joseph Myers <joseph@codesourcery.com>
45935
45936 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45937 page size instead of calling getpagesize.
45938
45939 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45940 (LOCFILE_ALIGN_MASK): Likewise.
45941 (LOCFILE_ALIGN_UP): Likewise.
45942 (LOCFILE_ALIGNED_P): Likewise.
45943 * locale/programs/ld-collate.c (collate_output): Use the new
45944 macros instead of __alignof__ (int32_t).
45945 * locale/weight.h (findidx): Likewise.
45946
45947 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
45948
45949 [BZ #431]
45950 * manual/string.texi: Fix strncat and wcsncat.
45951
45952 2013-10-03 Brooks Moses <bmoses@google.com>
45953
45954 [BZ #15915]
45955 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45956 * Makerules: ...here, and adjust associated comments.
45957
45958 2013-10-02 Will Newton <will.newton@linaro.org>
45959
45960 * malloc/Makefile: Add tst-pvalloc.
45961 * malloc/tst-pvalloc.c: New file.
45962
45963 2013-10-02 Will Newton <will.newton@linaro.org>
45964
45965 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45966 improve test coverage.
45967
45968 2013-10-02 Will Newton <will.newton@linaro.org>
45969
45970 * malloc/Makefile: Add tst-posix_memalign.
45971 * malloc/tst-posix_memalign.c: New file.
45972
45973 2013-10-01 Eric Blake <eblake@redhat.com>
45974
45975 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45976 Use __THROWNL rather than __THROW on static functions.
45977
45978 2013-09-30 Petr Machata <pmachata@redhat.com>
45979
45980 * elf/elf.h (R_AARCH64_ABS16): New macro.
45981 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45982 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45983 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45984 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45985 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45986 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45987 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45988 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45989 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45990 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45991 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45992 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45993 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45994 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45995 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45996 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45997 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45998 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45999 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46000 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46001 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46002 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46003 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46004 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46005 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46006 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46007 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46008 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46009 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46010 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46011 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46012 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46013 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46014 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46015 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46016 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46017 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46018 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46019 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46020 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46021 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46022 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46023 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46024 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46025 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46026 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46027 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46028 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46029 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46030 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46031 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46032 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46033 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46034 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46035 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46036 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46037 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46038 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46039 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46040 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46041 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46042 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46043 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46044 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46045 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46046 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46047 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46048 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46049 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46050 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46051 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46052 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46053 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46054 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46055 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46056 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46057 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46058 (R_AARCH64_TLSDESC_LDR): Likewise.
46059 (R_AARCH64_TLSDESC_ADD): Likewise.
46060 (R_AARCH64_TLSDESC_CALL): Likewise.
46061
46062 2013-09-30 Andreas Schwab <schwab@suse.de>
46063
46064 [BZ #15048]
46065 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46066 the nss database lookup.
46067 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46069
46070 2013-09-28 Mike Frysinger <vapier@gentoo.org>
46071
46072 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46073
46074 2013-09-28 P. J. McDermott <pj@pehjota.net>
46075
46076 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46077 ${Bash-specific parameter/pattern/string} parameter expansion.
46078 * sysdeps/unix/make-syscalls.sh: Likewise.
46079
46080 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46081
46082 * sysdeps/sh/stackguard-macros.h: New file.
46083
46084 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
46085
46086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46087 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46088 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46089 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46090 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46091 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46092
46093 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46094
46095 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46096 Fix thread ID register.
46097
46098 2013-09-25 Joseph Myers <joseph@codesourcery.com>
46099
46100 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46101 [POSIX || UNIX98]: Require rather than permitting all symbols from
46102 <time.h>.
46103 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46104 element of struct sched_param.
46105 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46106 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46107 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46108 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46109 constant.
46110
46111 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
46112
46113 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46114 argument calculation.
46115
46116 2013-09-24 Joseph Myers <joseph@codesourcery.com>
46117
46118 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46119 Expect macro.
46120 [POSIX] (pthread_attr_t): Do not require type.
46121 [POSIX] (pthread_cond_t): Likewise.
46122 [POSIX] (pthread_condattr_t): Likewise.
46123 [POSIX] (pthread_key_t): Likewise.
46124 [POSIX] (pthread_mutex_t): Likewise.
46125 [POSIX] (pthread_mutexattr_t): Likewise.
46126 [POSIX] (pthread_once_t): Likewise.
46127 [POSIX] (pthread_t): Likewise.
46128 [POSIX-based standards] (pthread_atfork): Expect function.
46129
46130 2013-09-24 Joseph Myers <joseph@codesourcery.com>
46131 Richard Sandiford <richard@codesourcery.com>
46132
46133 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46134 (swap_endianness_p): New extern variable.
46135 (set_big_endian): New inline function.
46136 (maybe_swap_uint32): Likewise.
46137 (maybe_swap_uint32_array): Likewise.
46138 (maybe_swap_uint32_obstack): Likewise.
46139 * locale/programs/locfile.c: Include <stdbool.h>.
46140 (swap_endianness_p): New variable.
46141 (add_locale_uint32): Call maybe_swap_uint32.
46142 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46143 (write_locale_data): Call maybe_swap_uint32_array.
46144 * locale/programs/ld-collate.c (obstack_int32_grow): Call
46145 maybe_swap_uint32.
46146 (obstack_int32_grow_fast): Likewise.
46147 (output_weightwc): Call maybe_swap_uint32_obstack.
46148 (collate_output): Likewise.
46149 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46150 (OPT_LITTLE_ENDIAN): Likewise.
46151 (options): Add --little-endian and --big-endian options.
46152 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46153 * locale/programs/locarchive.c: Include "locfile.h".
46154 (GET): New macro.
46155 (SET): Likewise.
46156 (INC): Likewise.
46157 (create_archive): Use the new macros to access fields of
46158 structures directly mapped from or written to locale archives.
46159 (oldlocrecentcmp): Likewise.
46160 (enlarge_archive): Likewise.
46161 (insert_name): Likewise.
46162 (add_alias): Likewise.
46163 (add_locale): Likewise.
46164 (delete_locales_from_archive): Likewise.
46165 (show_archive_content): Likewise.
46166 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
46167 locale data.
46168
46169 2013-09-24 Roland McGrath <roland@hack.frob.com>
46170
46171 * manual/freemanuals.texi: Updated from (newly) canonical copy at
46172 http://www.gnu.org/doc/freemanuals.texi.
46173 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46174
46175 2013-09-24 Will Newton <will.newton@linaro.org>
46176
46177 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46178 macro.
46179
46180 2013-09-23 Joseph Myers <joseph@codesourcery.com>
46181
46182 * locale/hashval.h (compute_hashval): Interpret bytes of key as
46183 unsigned char.
46184
46185 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
46186
46187 * manual/threads.texi (POSIX Threads): Fix a typo.
46188
46189 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
46190
46191 [BZ #14547]
46192 * string/tst-strcoll-overflow.c: New test case.
46193 * string/Makefile (xtests): Add tst-strcoll-overflow.
46194 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46195 cache if string sizes may cause integer overflow.
46196
46197 [BZ #14547]
46198 * string/strcoll_l.c (coll_seq): New members rule, idx,
46199 save_idx and back_us.
46200 (get_next_seq_nocache): New function.
46201 (do_compare_nocache): New function.
46202 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46203 when malloc fails.
46204
46205 2013-09-23 Carlos O'Donell <carlos@redhat.com>
46206
46207 [BZ #15754]
46208 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46209 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46210 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46211
46212 [BZ #15754]
46213 * elf/Makefile (tests): Add tst-ptrguard1.
46214 (tests-static): Add tst-ptrguard1-static.
46215 (tst-ptrguard1-ARGS): Define.
46216 (tst-ptrguard1-static-ARGS): Define.
46217 * elf/tst-ptrguard1.c: New file.
46218 * elf/tst-ptrguard1-static.c: New file.
46219 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46220 * sysdeps/i386/stackguard-macros.h: Likewise.
46221 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46222 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46223 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46224 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46225 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46226 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46227
46228 2013-09-23 Hector Marco <hecmargi@upv.es>
46229 Ismael Ripoll <iripoll@disca.upv.es>
46230 Carlos O'Donell <carlos@redhat.com>
46231
46232 [BZ #15754]
46233 * sysdeps/generic/stackguard-macros.h: Define
46234 __pointer_chk_guard_local and POINTER_CHK_GUARD.
46235 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46236 Define __pointer_chk_guard_local.
46237 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46238 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46239
46240 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
46241
46242 [BZ #15859]
46243 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46244
46245 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
46246
46247 * include/string.h (__ffs): Declare as hidden.
46248 * string/ffs.c (__ffs): Define as hidden.
46249 * sysdeps/i386/ffs.c (__ffs): Likewise.
46250 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46251 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46252 * sysdeps/s390/ffs.c (__ffs): Likewise.
46253 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46254
46255 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
46256
46257 * NEWS: Mention malloc probes.
46258
46259 * malloc/arena.c (new_heap): New memory_heap_new probe.
46260 (grow_heap): New memory_heap_more probe.
46261 (shrink_heap): New memory_heap_less probe.
46262 (heap_trim): New memory_heap_free probe.
46263 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46264 (systrim): New memory_sbrk_less probe.
46265 * manual/probes.texi: Document them.
46266
46267 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46268 * manual/probes.texi: Document it.
46269
46270 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46271 (__libc_realloc): Add memory_realloc_retry probe.
46272 (__libc_memalign): Add memory_memalign_retry probe.
46273 (__libc_valloc): Add memory_valloc_retry probe.
46274 (__libc_pvalloc): Add memory_pvalloc_retry probe.
46275 (__libc_calloc): Add memory_calloc_retry probe.
46276 * manual/probes.texi: Document them.
46277
46278 * malloc/arena.c (get_free_list): Add probe
46279 memory_arena_reuse_free_list.
46280 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46281 and memory_arena_reuse.
46282 (arena_get2) [!PER_THREAD]: Likewise.
46283 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46284 memory_arena_reuse_realloc.
46285 * manual/probes.texi: Document them.
46286
46287 * malloc/malloc.c (__libc_free): Add
46288 memory_mallopt_free_dyn_thresholds probe.
46289 (__libc_mallopt): Add multiple memory_mallopt probes.
46290 * manual/probes.texi: Document them.
46291
46292 * malloc/malloc.c: Include stap-probe.h.
46293 (__libc_mallopt): Add memory_mallopt probe.
46294 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46295 * manual/probes.texi: New.
46296 * manual/Makefile (chapters): Add probes.
46297 * manual/threads.texi: Set next node.
46298
46299 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
46300
46301 [BZ #15963, #13985]
46302 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46303 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46304 Add `Chinese' to `nan' entry name.
46305
46306 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
46307
46308 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46309 (POLYNOMIAL): Likewise.
46310 (TAYLOR_SINCOS): Likewise.
46311 (TAYLOR_SLOW): Likewise.
46312 (__sin): Use TAYLOR_SINCOS.
46313 (__cos): Likewise.
46314 (slow): Use TAYLOR_SLOW.
46315 (sloww): Likewise.
46316 (bsloww): Likewise.
46317 (csloww): Likewise.
46318
46319 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46320
46321 * stdlib/strtod_l.c: Fix buffer overrun.
46322
46323 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
46324
46325 * benchtests/Makefile (bench): Add sincos.
46326 * benchtests/bench-sincos.c: New file.
46327
46328 * math/libm-test.inc (cos_test_data): New test inputs.
46329 (sin_test_data): Likewise.
46330
46331 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46332 macro.
46333 (__sin): Use it.
46334 (__cos): Likewise.
46335 (slow1): Likewise.
46336 (slow2): Likewise.
46337 (sloww1): Likewise.
46338 (sloww2): Likewise.
46339 (bsloww1): Likewise.
46340 (bsloww2): Likewise.
46341 (cslow2): Likewise.
46342 (csloww1): Likewise.
46343 (csloww2): Likewise.
46344
46345 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46346 function.
46347 (__sin): Use it.
46348 (__cos): Likewise.
46349
46350 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46351 gotos.
46352 (__cos): Likewise.
46353
46354 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
46355
46356 * config.h.in (HAVE_MIPS_NAN2008): New macro.
46357 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46358 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46359 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46360 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46361 * elf/cache.c (print_entry): Handle the new cache flags.
46362
46363 2013-09-18 Joseph Myers <joseph@codesourcery.com>
46364 Aldy Hernandez <aldyh@redhat.com>
46365
46366 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46367 Change condition to [_SOFT_FLOAT].
46368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46380 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46382 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46383 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46384 declaration.
46385
46386 2013-09-18 Joseph Myers <joseph@codesourcery.com>
46387
46388 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46389 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46390 (__longjmp): Use LOAD_GP to load saved GPRs.
46391 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46392 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46393 (__sigsetjmp): Use SAVE_GP to save GPRs.
46394
46395 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46396 Do not append -msoft-float.
46397 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46398
46399 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
46400
46401 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46402
46403 2013-09-17 Joseph Myers <joseph@codesourcery.com>
46404
46405 [BZ #15966]
46406 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46407 (_FPU_GETCW): Use initial "__" on variable and field names but not
46408 on macro parameter name.
46409 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
46410 parentheses around reference to macro parameter.
46411
46412 2013-09-13 Richard Sandiford <richard@codesourcery.com>
46413
46414 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46415 prototype.
46416 (ctype_startup): Use uint32_t in cast and sizeof for
46417 ctype->charnames.
46418
46419 2013-09-11 Jia Liu <proljc@gmail.com>
46420
46421 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46422 __daddr_t_defined.
46423 [__FreeBSD__]: Likewise.
46424
46425 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
46426
46427 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46428 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46429 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46430 (strchr): Remove __strchr_sse42 ifunc selection.
46431 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46432 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46433
46434 2013-09-11 Will Newton <will.newton@linaro.org>
46435
46436 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46437 parameter to RES. Remove hardcoded 1000 value.
46438 * benchtests/bench-skeleton.c (main): Pass RES parameter
46439 to TIMING_INIT and multiply result by 1000.
46440
46441 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46442
46443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46444
46445 2013-09-11 Andreas Schwab <schwab@suse.de>
46446
46447 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46448 if not defined.
46449 (O_TMPFILE) [__USE_GNU]: Define.
46450 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46451 Define.
46452
46453 2013-09-11 Will Newton <will.newton@linaro.org>
46454
46455 [BZ #15857]
46456 * malloc/malloc.c (__libc_memalign): Check the value of bytes
46457 does not overflow.
46458
46459 2013-09-11 Will Newton <will.newton@linaro.org>
46460
46461 [BZ #15856]
46462 * malloc/malloc.c (__libc_valloc): Check the value of bytes
46463 does not overflow.
46464
46465 2013-09-11 Will Newton <will.newton@linaro.org>
46466
46467 [BZ #15855]
46468 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46469 does not overflow.
46470
46471 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
46472
46473 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46474 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46475 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46476 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46477 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46478
46479 2013-09-10 Allan McRae <allan@archlinux.org>
46480
46481 [BZ #15748]
46482 * manual/arith.texi (Parsing of Floats): Clarify
46483 cross-reference.
46484
46485 [BZ #15849]
46486 * manual/install.texi (Running make install): Mention
46487 --enable-pt-chown.
46488 * INSTALL: Regenerated.
46489
46490 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
46491
46492 * csu/init-first.c (_init): Remove the !SHARED condition around
46493 FPU control word initialization.
46494 * elf/dl-support.c (_dl_fpu_control): New variable.
46495 (_dl_aux_init) <AT_FPUCW>: Initialize it.
46496 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46497 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46498 * math/test-fpucw-static.c: New file.
46499 * math/test-fpucw-ieee.c: New file.
46500 * math/test-fpucw-ieee-static.c: New file.
46501 * math/Makefile (tests): Add `test-fpucw-ieee' and
46502 `$(tests-static)'.
46503 (tests-static): New variable.
46504 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46505 dependency to...
46506 [($(build-shared),yes)]
46507 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46508 ... this.
46509 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46510 New dependency.
46511
46512 2013-09-09 Allan McRae <allan@archlinux.org>
46513
46514 [BZ #15939]
46515 * manual/string.texi (Collation Functions): Fix typo in
46516 strcoll example.
46517 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46518
46519 [BZ #15893]
46520 * stdlib/isomac.c (get_null_defines): Fix memory leak.
46521
46522 [BZ #15892]
46523 * libio/memstream.c (open_memstream): Fix memory leak.
46524 * libio/wmemstream.c (open_wmemstream): Likewise.
46525
46526 [BZ #15895]
46527 * nscd/netgroupcache.c: Fix nesting of ifdefs.
46528
46529 2013-09-09 Will Newton <will.newton@linaro.org>
46530
46531 * malloc/Makefile: Add tst-realloc to tests.
46532 * malloc/tst-realloc.c: New file.
46533
46534 2013-09-09 Allan McRae <allan@archlinux.org>
46535
46536 [BZ #15844]
46537 * COPYING: Update from GNU website to fix FSF address.
46538 * COPYING.LIB: Likewise.
46539
46540 2013-09-06 David S. Miller <davem@davemloft.net>
46541
46542 * po/zh_TW.po: Update Chinese (traditional) translation from
46543 translation project.
46544
46545 2013-09-06 Richard Sandiford <richard@codesourcery.com>
46546 Joseph Myers <joseph@codesourcery.com>
46547
46548 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46549 "localeinfo.h".
46550 (obstack_chunk_alloc): New macro.
46551 (obstack_chunk_free): Likewise.
46552 (record_offset): New function.
46553 (init_locale_data): Likewise.
46554 (align_locale_data): Likewise.
46555 (add_locale_empty): Likewise.
46556 (add_locale_raw_data): Likewise.
46557 (add_locale_raw_obstack): Likewise.
46558 (add_locale_string): Likewise.
46559 (add_locale_wstring): Likewise.
46560 (add_locale_uint32): Likewise.
46561 (add_locale_uint32_array): Likewise.
46562 (add_locale_char): Likewise.
46563 (start_locale_structure): Likewise.
46564 (end_locale_structure): Likewise.
46565 (start_locale_prelude): Likewise.
46566 (end_locale_prelude): Likewise.
46567 (write_locale_data): Take locale_file structure rather than an
46568 iovec.
46569 * locale/programs/locfile.h: Include "obstack.h".
46570 (struct locale_file): Change to store locale file contents instead
46571 of header.
46572 (init_locale_data): New prototype.
46573 (align_locale_data): Likewise.
46574 (add_locale_empty): Likewise.
46575 (add_locale_raw_data): Likewise.
46576 (add_locale_raw_obstack): Likewise.
46577 (add_locale_string): Likewise.
46578 (add_locale_wstring): Likewise.
46579 (add_locale_uint32): Likewise.
46580 (add_locale_uint32_array): Likewise.
46581 (add_locale_char): Likewise.
46582 (start_locale_structure): Likewise.
46583 (end_locale_structure): Likewise.
46584 (start_locale_prelude): Likewise.
46585 (end_locale_prelude): Likewise.
46586 (write_locale_data): Update prototype.
46587 * locale/programs/3level.h (struct TABLE): Remove result field.
46588 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46589 Use new locale_file interface.
46590 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46591 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46592 * locale/programs/ld-address.c (address_output): Use new
46593 locale_file interface.
46594 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46595 NO_ADD_LOCALE.
46596 (collate_finish): Don't call collseq_table_finalize.
46597 (collate_output): Use new locale_file interface.
46598 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46599 in file.
46600 (NO_FINALIZE): Change to NO_ADD_LOCALE.
46601 (TABLE): Move defines earlier in file.
46602 (ELEMENT): Likewise.
46603 (DEFAULT): Likewise.
46604 (wctrans_table_add): Move macro and inline function earlier in
46605 file.
46606 (struct wctype_table): Move type earlier in file.
46607 (add_locale_wctype_table): New static prototype.
46608 (struct locale_ctype_t): Use logical types instead of struct iovec
46609 pointers for members.
46610 (ctype_output): Use new locale_file interface.
46611 (wctype_table_finalize): Change to add_locale_wctype_table. Use
46612 new locale_file interface.
46613 (allocate_arrays): Update for use of new locale_file interface.
46614 * locale/programs/ld-identification.c (identification_output): Use
46615 new locale_file interface.
46616 * locale/programs/ld-measurement.c (measurement_output): Likewise.
46617 * locale/programs/ld-messages.c (messages_output): Likewise.
46618 * locale/programs/ld-monetary.c (monetary_output): Likewise.
46619 * locale/programs/ld-name.c (name_output): Likewise.
46620 * locale/programs/ld-numeric.c (numeric_output): Likewise.
46621 * locale/programs/ld-paper.c (paper_output): Likewise.
46622 * locale/programs/ld-telephone.c (telephone_output): Likewise.
46623 * locale/programs/ld-time.c (time_output): Likewise.
46624
46625 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46626
46627 * benchtests/Makefile: Add memrchr benchmark.
46628 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46629 benchmark as memrchr.
46630 * benchtests/bench-memrchr-ifunc.c: New file.
46631 * benchtests/bench-memrchr.c: New file.
46632
46633 2013-09-06 Will Newton <will.newton@linaro.org>
46634
46635 * benchtests/Makefile (string-bench): Add memcpy.
46636
46637 2013-09-05 Carlos O'Donell <carlos@redhat.com>
46638 Cong Wang <amwang@redhat.com>
46639
46640 [BZ #15850]
46641 * sysdeps/unix/sysv/linux/bits/in.h
46642 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46643 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46644 before __USE_KERNEL_IPV6_DEFS uses.
46645 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46646 IPPROTO_BEETPH.
46647 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46648 sockaddr_in6, or ipv6_mreq.
46649
46650 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46651
46652 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46653 memory access for final bytes in some large inputs.
46654 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46655
46656 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46657
46658 * string/test-memrchr.c: New file.
46659 * string/test-memrchr-ifunc.c: New file.
46660 * string/Makefile: Add new memrchr testcase.
46661
46662 2013-09-05 Mike Frysinger <vapier@gentoo.org>
46663
46664 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46665 fanotify_init returns EPERM.
46666
46667 2013-09-04 Joseph Myers <joseph@codesourcery.com>
46668
46669 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46670 errors.
46671 (top level): Treat second token from macro or constant entries for
46672 allowed headers as allowed.
46673 * include/complex.h: Condition internal declarations on
46674 [!_ISOMAC].
46675 * include/fenv.h: Condition include of <stdbool.h> and internal
46676 declarations on [!_ISOMAC].
46677
46678 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
46679
46680 [BZ #15923]
46681 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46682
46683 2013-09-04 Joseph Myers <joseph@codesourcery.com>
46684
46685 * configure.in (--enable-versioning): Remove configure option.
46686 (libc_cv_asm_symver_directive): Remove configure test.
46687 (libc_cv_ld_version_script_option): Likewise.
46688 (VERSIONING): Remove variable and AC_SUBST.
46689 (DO_VERSIONING): Remove AC_DEFINE.
46690 * configure: Regenerated.
46691 * config.h.in (DO_VERSIONING): Remove macro.
46692 * Makerules [$(versioning) = yes]: Change conditionals to
46693 [$(build-shared) = yes].
46694 * config.make.in (versioning): Remove variable.
46695 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46696 [$(build-shared) = yes].
46697 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46698 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46699 * elf/Makefile [$(versioning) = yes]: Change conditionals to
46700 [$(build-shared) = yes].
46701 * extra-lib.mk [$(versioning) = yes]: Likewise.
46702 * hurd/Makefile [$(versioning) = yes]: Likewise.
46703 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46704 [SHARED].
46705 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46706 [SHARED].
46707 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46708 [SHARED && !NO_HIDDEN].
46709 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46710 [SHARED].
46711 [SHARED && DO_VERSIONING]: Likewise..
46712 * libio/Makefile [$(versioning) = yes]: Change conditionals to
46713 [$(build-shared) = yes].
46714 * manual/install.texi (--disable-versioning): Remove
46715 documentation.
46716 * INSTALL: Regenerated.
46717 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46718 to [SHARED].
46719 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46720 [$(build-shared) = yes].
46721 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46722 * sysdeps/i386/i686/multiarch/strstr-c.c
46723 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46724 [SHARED && !NO_HIDDEN].
46725 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46726 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46727 * sysdeps/powerpc/powerpc32/dl-machine.c
46728 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46729 * sysdeps/powerpc/powerpc32/sysdep.h
46730 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46731 to [SHARED && PIC && !NO_HIDDEN].
46732 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46733 conditional to [SHARED].
46734
46735 2013-09-04 Will Newton <will.newton@linaro.org>
46736
46737 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46738 * benchtests/bench-string.h: Include bench-timing.h instead
46739 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46740 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46741 call to HP_TIMING_DIFF_INIT.
46742 * benchtests/bench-memccpy.c: Use bench-timing.h macros
46743 instead of hp-timing.h macros.
46744 * benchtests/bench-memchr.c: Likewise.
46745 * benchtests/bench-memcmp.c: Likewise.
46746 * benchtests/bench-memcpy.c: Likewise.
46747 * benchtests/bench-memmem.c: Likewise.
46748 * benchtests/bench-memmove.c: Likewise.
46749 * benchtests/bench-memset.c: Likewise.
46750 * benchtests/bench-rawmemchr.c: Likewise.
46751 * benchtests/bench-strcasecmp.c: Likewise.
46752 * benchtests/bench-strcasestr.c: Likewise.
46753 * benchtests/bench-strcat.c: Likewise.
46754 * benchtests/bench-strchr.c: Likewise.
46755 * benchtests/bench-strcmp.c: Likewise.
46756 * benchtests/bench-strcpy.c: Likewise.
46757 * benchtests/bench-strcpy_chk.c: Likewise.
46758 * benchtests/bench-strlen.c: Likewise.
46759 * benchtests/bench-strncasecmp.c: Likewise.
46760 * benchtests/bench-strncat.c: Likewise.
46761 * benchtests/bench-strncmp.c: Likewise.
46762 * benchtests/bench-strncpy.c: Likewise.
46763 * benchtests/bench-strnlen.c: Likewise.
46764 * benchtests/bench-strpbrk.c: Likewise.
46765 * benchtests/bench-strrchr.c: Likewise.
46766 * benchtests/bench-strspn.c: Likewise.
46767 * benchtests/bench-strstr.c: Likewise.
46768
46769 2013-09-04 Will Newton <will.newton@linaro.org>
46770
46771 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46772
46773 2013-09-03 Joseph Myers <joseph@codesourcery.com>
46774
46775 [BZ #15427]
46776 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46777 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
46778 * math/libm-test.inc (lgamma_test_data): Add more tests.
46779 * sysdeps/i386/fpu/libm-test-ulps: Update.
46780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46781
46782 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
46783
46784 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
46785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46786 Add ifunc.
46787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46788 Add strcmp-sse2-unaligned
46789 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
46790
46791 2013-09-02 Mike Frysinger <vapier@gentoo.org>
46792
46793 * Versions.def (libc): Add GLIBC_2.19.
46794
46795 2013-09-02 Mike Frysinger <vapier@gentoo.org>
46796
46797 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
46798 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
46799
46800 2013-09-02 Joseph Myers <joseph@codesourcery.com>
46801
46802 [BZ #14155]
46803 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
46804 intermediate calculations in recurrence.
46805 (__ieee754_ynf): Likewise.
46806 * math/libm-test.inc (jn_test_data): Do not allow spurious
46807 underflow exception. Add more tests.
46808 (yn_test_data): Add more tests.
46809 * sysdeps/i386/fpu/libm-test-ulps: Update.
46810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46811
46812 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
46813
46814 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
46815
46816 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
46817
46818 * csu/init-first.c: Fix then/than typos.
46819 * locale/programs/ld-collate.c: Likewise.
46820 * locale/programs/linereader.h: Likewise.
46821 * manual/charset.texi: Likewise.
46822 * manual/filesys.texi: Likewise.
46823 * manual/stdio.texi: Likewise.
46824 * manual/string.texi: Likewise.
46825 * stdlib/fmtmsg.c: Likewise.
46826 * sysdeps/i386/stpncpy.S: Likewise.
46827 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46828 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46829 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46830 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46831
46832 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
46833
46834 * elf/dl-open.c: Fix typos.
46835 * iconvdata/gbbig5.c: Likewise.
46836 * iconvdata/iso-2022-jp.c: Likewise.
46837 * iconv/gconv_int.h: Likewise.
46838 * iconv/loop.c: Likewise.
46839 * nis/rpcsvc/nis.h: Likewise.
46840 * resolv/ns_name.c: Likewise.
46841 * stdio-common/vfscanf.c: Likewise.
46842 * streams/stropts.h: Likewise.
46843 * sunrpc/rpc_thread.c: Likewise.
46844 * sysdeps/i386/strpbrk.S: Likewise.
46845 * sysdeps/ieee754/k_standard.c: Likewise.
46846 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46847 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46848 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
46849 * sysdeps/mach/hurd/profil.c: Likewise.
46850 * sysdeps/s390/dl-procinfo.h: Likewise.
46851 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46852 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46853 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46854 * sysdeps/x86_64/dl-trampoline.S: Likewise.
46855 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46856
46857 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
46858
46859 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46861
46862 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
46863
46864 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46865 aix specific files.
46866 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46867 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46868 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46869 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46870 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46871 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46872 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46873 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46874
46875 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
46876 Roland McGrath <roland@hack.frob.com>
46877
46878 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46879 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46880
46881 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
46882
46883 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46884 __executable_start symbol instead of _start.
46885
46886 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
46887
46888 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46889 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46890 Move macros to...
46891 * sysdeps/gnu/ldsodefs.h: ... this new file.
46892
46893 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46894 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46895 instead of ELFOSABI_LINUX.
46896
46897 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46898 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46899 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46900 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46901 Likewise.
46902 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46903 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46904 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46905 Likewise.
46906 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46907 (ibm_extended_long_double): Add ieee_nan member.
46908 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46909 (do_test): New function.
46910
46911 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46912 TEST_TRUNC.
46913 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46914 functions, renamed from truncdfsf_test, trunctfsf_test,
46915 trunctfdf_test.
46916 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46917 functions.
46918 (do_test): Run all these.
46919
46920 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
46921
46922 * argp/argp-help.c: Fix typos.
46923 * argp/argp-parse.c: Likewise.
46924 * debug/backtracesyms.c: Likewise.
46925 * elf/elf.h: Likewise.
46926 * malloc/malloc.c: Likewise.
46927 * nis/nis_print.c: Likewise.
46928 * resolv/res_comp.c: Likewise.
46929 * stdlib/stdlib.h: Likewise.
46930 * sunrpc/clnt_tcp.c: Likewise.
46931 * sunrpc/clnt_udp.c: Likewise.
46932 * sunrpc/clnt_unix.c: Likewise.
46933 * sysdeps/unix/bsd/ptsname.c: Likewise.
46934 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46935 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46937 Likewise.
46938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46939 Likewise.
46940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46941 Likewise.
46942 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46943
46944 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46945
46946 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46948
46949 2013-08-27 Mike Frysinger <vapier@gentoo.org>
46950
46951 [BZ #15897]
46952 * dlfcn/Makefile (tests): Add bug-dl-leaf.
46953 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46954 ($(objpfx)bug-dl-leaf): New rule.
46955 ($(objpfx)bug-dl-leaf.so): Likewise.
46956 ($(objpfx)bug-dl-leaf.out): Likewise.
46957 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46958 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46959 * dlfcn/bug-dl-leaf.c: New test.
46960 * dlfcn/bug-dl-leaf-lib.c: Likewise.
46961 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46962 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46963 (dlclose): Likewise.
46964 (dlmopen): Likewise.
46965
46966 2013-08-27 Roland McGrath <roland@hack.frob.com>
46967
46968 * include/netdb.h [!_ISOMAC]:
46969 Don't include <tls.h>.
46970 (h_errno, __libc_h_errno): Move declaration and macros out of
46971 [_LIBC_REENTRANT].
46972
46973 * include/resolv.h [_RESOLV_H_]:
46974 Don't include <tls.h>.
46975 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46976 * resolv/res_libc.c: Don't include <tls.h>.
46977 (_res): Use __attribute__ ((nocommon)) in place of
46978 __attribute__ ((section (".bss"))).
46979
46980 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46981 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46982
46983 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46984
46985 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46986 only under [SIOCGIFCONF && SIOCGIFNETMASK].
46987
46988 * resolv/res_mkquery.c: Include <sys/time.h>.
46989
46990 * inet/ifreq.c: Moved to ...
46991 * sysdeps/unix/ifreq.c: ... here.
46992 * inet/ifreq.c: New file, true stub version.
46993
46994 * socket/sa_len.c: New file.
46995 * socket/Makefile (aux): Add it.
46996 * sysdeps/unix/sysv/linux/Makefile
46997 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46998 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46999 and #include <socket/sa_len.c>.
47000 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47001 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47002
47003 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47004 * bits/socket.h: ... here.
47005
47006 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47007 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47008 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47009
47010 2013-08-27 Andreas Schwab <schwab@suse.de>
47011
47012 [BZ #15736]
47013 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47014 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47015 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47016 * string/test-strcasecmp.c (test_main): Run tests in several
47017 locales.
47018 * string/test-strncasecmp.c (test_main): Likewise.
47019
47020 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47021 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47022 to __strcasecmp_nonascii and __strncasecmp_nonascii.
47023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47024 (__strncasecmp_ssse3) [PIC]: Likewise.
47025
47026 2013-08-26 Roland McGrath <roland@hack.frob.com>
47027
47028 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47029
47030 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47031 instead of explicitly declaring xdecrypt.
47032 * nis/nss_nis/nis-publickey.c: Likewise.
47033
47034 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47035
47036 [BZ #15890]
47037 * nscd/aicache.c: Include res_hconf.h.
47038 (addhstaiX): Initialize res_hconf.
47039
47040 2013-08-26 Andreas Schwab <schwab@suse.de>
47041
47042 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47043 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47044
47045 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47046
47047 * nscd/aicache.c (addhstaiX): Fix indentation.
47048
47049 2013-08-25 Mike Frysinger <vapier@gentoo.org>
47050
47051 * configure.ac: Quote $build_pt_chown test.
47052 * configure: Regenerated.
47053
47054 2013-08-23 Joseph Myers <joseph@codesourcery.com>
47055
47056 [BZ #15532]
47057 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47058 * math/s_cexpf.c (__cexpf): Likewise.
47059 * math/s_cexpl.c (__cexpl): Likewise.
47060 * math/libm-test.inc (cexp_test_data): Correct expected return
47061 value for NaN + i0. Add another test.
47062
47063 2013-08-22 David S. Miller <davem@davemloft.net>
47064
47065 * po/ca.po: Update Catalan translation from translation project.
47066 * po/uk.po: Add Ukrainian translations from translation project.
47067
47068 2013-08-21 Joseph Myers <joseph@codesourcery.com>
47069
47070 [BZ #15797]
47071 * math/s_fdim.c (__fdim): Check for infinite arguments if result
47072 is infinite, not alongside NaN test.
47073 * math/s_fdimf.c (__fdimf): Likewise.
47074 * math/s_fdiml.c (__fdiml): Likewise.
47075 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
47076 errno is unchanged.
47077
47078 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
47079
47080 * argp/argp-help.c: Fix typos.
47081 * crypt/speeds.c: Likewise.
47082 * csu/check_fds.c: Likewise.
47083 * elf/dl-load.c: Likewise.
47084 * elf/dl-open.c: Likewise.
47085 * elf/reldep3.c: Likewise.
47086 * elf/reldep.c: Likewise.
47087 * elf/sprof.c: Likewise.
47088 * iconv/iconv_charmap.c: Likewise.
47089 * iconv/skeleton.c: Likewise.
47090 * iconv/strtab.c: Likewise.
47091 * io/lockf64.c: Likewise.
47092 * libio/libioP.h: Likewise.
47093 * resolv/gai_notify.c: Likewise.
47094 * resolv/ns_name.c: Likewise.
47095 * resolv/ns_samedomain.c: Likewise.
47096 * resolv/res_send.c: Likewise.
47097 * stdlib/random.c: Likewise.
47098 * sunrpc/rpc/xdr.h: Likewise.
47099 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47100 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47101 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47102 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47106 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47107 * sysdeps/mach/hurd/check_fds.c: Likewise.
47108 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47109 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47110 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47111 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47112 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47113 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47114 * sysdeps/pthread/aio_notify.c: Likewise.
47115 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47116 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47117 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47118 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47119 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47120
47121 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47122
47123 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47124 version if bit_Slow_SSE4_2 is set.
47125 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47126 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47127
47128 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47129
47130 [BZ #15867]
47131 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47132 trampoline stack frame information.
47133 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47134 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47135 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47136 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47137 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47138 * sysdeps/unix/sysv/linux/powerpc/init-first.c
47139 (_libc_vdso_platform_setup): Initialize the signal trampolines.
47140 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47141 sa_flags value.
47142 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47143 interrupting a syscall and set with option SA_SIGINFO.
47144
47145 2013-08-20 Joseph Myers <joseph@codesourcery.com>
47146
47147 [BZ #15531]
47148 * math/s_cproj.c (__cproj): Only return an infinity if one part of
47149 argument is infinite.
47150 * math/s_cprojf.c (__cprojf): Likewise.
47151 * math/s_cprojl.c (__cprojl): Likewise.
47152 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47153 * math/libm-test.inc (cproj_test_data): Add more tests.
47154
47155 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47156
47157 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47158 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47159 size. Use __ffs to determine corresponding shift.
47160
47161 2013-08-20 Joseph Myers <joseph@codesourcery.com>
47162 Roland McGrath <roland@hack.frob.com>
47163
47164 * Makefile (INSTALL): Remove trailing blank lines from output of
47165 makeinfo.
47166
47167 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47168
47169 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47170 Align 32 bit compat elf_greg to 8 bytes.
47171
47172 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
47173
47174 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47175
47176 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47177
47178 * string/strcoll_l.c (coll_seq): New structure.
47179 (get_next_seq_cached): New function.
47180 (get_next_seq): New function.
47181 (do_compare): New function.
47182 (STRCOLL): Use GNU style definition. Simplify implementation
47183 by using get_next_seq, get_next_seq_cached and do_compare.
47184
47185 2013-08-16 Florian Weimer <fweimer@redhat.com>
47186
47187 [BZ #14699]
47188 CVE-2013-4237
47189 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47190 member.
47191 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47192 member.
47193 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47194 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47195 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
47196 conditional.
47197 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47198 GETDENTS_64BIT_ALIGNED.
47199 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47200 * manual/filesys.texi (Reading/Closing Directory): Document
47201 ENAMETOOLONG return value of readdir_r. Recommend readdir more
47202 strongly.
47203 * manual/conf.texi (Limits for Files): Add portability note to
47204 NAME_MAX, PATH_MAX.
47205 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47206
47207 2013-08-13 Andreas Schwab <schwab@suse.de>
47208
47209 [BZ #15749]
47210 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47211 of fabs.
47212 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47213 LDBL_MAX_EXP >= 16384]: Add tests for it.
47214
47215 2013-08-12 David S. Miller <davem@davemloft.net>
47216
47217 * version.h (RELEASE): Set to "development".
47218 (VERSION): Set to "2.18.90".
47219 * NEWS: Add 2.19 section.
47220
47221 2013-08-03 David S. Miller <davem@davemloft.net>
47222
47223 * po/ko.po: Update Korean translation from translation project.
47224
47225 2013-08-01 David S. Miller <davem@davemloft.net>
47226
47227 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
47228 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47229 Bilka.
47230
47231 2013-07-30 David S. Miller <davem@davemloft.net>
47232
47233 * po/fr.po: Update French translation from translation project.
47234
47235 2013-07-28 David S. Miller <davem@davemloft.net>
47236
47237 * po/cs.po: Update Czech translation from translation project.
47238
47239 * po/sv.po: Update Swedish translation from translation project.
47240
47241 2013-07-27 David S. Miller <davem@davemloft.net>
47242
47243 * po/eo.po: Update Esperanto translation from translation project.
47244
47245 * po/vi.po: Update Vietnamese translation from translation project.
47246
47247 * po/de.po: Update German translation from translation project.
47248
47249 2013-07-26 David S. Miller <davem@davemloft.net>
47250
47251 * po/bg.po: Update Bulgarian translation from translation project.
47252
47253 * po/nl.po: Update Dutch translation from translation project.
47254 * po/pl.po: Update Polish translation from translation project.
47255 * po/ru.po: Update Russian translation from translation project.
47256
47257 2013-07-24 David S. Miller <davem@davemloft.net>
47258
47259 * po/libc.pot: Update.
47260
47261 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47262
47263 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47264 variable page size.
47265 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47266 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47267 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47268
47269 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47270
47271 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47272
47273 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47274 Andreas Schwab <schwab@suse.de>
47275 Roland McGrath <roland@hack.frob.com>
47276 Joseph Myers <joseph@codesourcery.com>
47277 Carlos O'Donell <carlos@redhat.com>
47278
47279 [BZ #15755]
47280 * config.h.in: Define HAVE_PT_CHOWN.
47281 * config.make.in (build-pt-chown): New variable.
47282 * configure.in (--enable-pt_chown): New configure option.
47283 * configure: Regenerate.
47284 * login/Makefile: Include Makeconfig. Build pt_chown only if
47285 build-pt-chown is enabled.
47286 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47287 pt_chown to fix pty ownership.
47288 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47289 CLOSE_ALL_FDS.
47290 * manual/install.texi (Configuring and compiling): Mention
47291 --enable-pt_chown. Add @findex for grantpt.
47292 * INSTALL: Regenerate.
47293
47294 2013-07-20 David S. Miller <davem@davemloft.net>
47295
47296 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47297 difference between 32-bit and 64-bit.
47298
47299 2013-07-15 Carlos O'Donell <carlos@redhat.com>
47300
47301 [BZ #15711]
47302 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47303 Avoid system header dependency with -ffreestanding.
47304 ($(objpfx)bits/syscall%d): Likewise.
47305
47306 2013-07-13 David S. Miller <davem@davemloft.net>
47307
47308 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47309 underflows from atanl/atan2l due to bug 15319.
47310 (casinh_test_data): Likewise.
47311
47312 2013-07-07 David S. Miller <davem@davemloft.net>
47313
47314 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47315
47316 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
47317
47318 * sysdeps/i386/fpu/libm-test-ulps: Update.
47319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47320
47321 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47322
47323 * configure.in (--enable-lock-elision): Fix message text.
47324 * INSTALL: Regenerate.
47325 * configure: Regenerate.
47326
47327 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47328
47329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47330
47331 2013-07-03 Andreas Jaeger <aj@suse.de>
47332
47333 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47334 define.
47335 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47336 (ptrace_peeksiginfo_args): Add.
47337 (__ptrace_peeksiginfo_flags): Add.
47338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47339 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47340 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47341
47342 2013-07-03 Allan McRae <allan@archlinux.org>
47343
47344 * sysdeps/i386/fpu/libm-test-ulps: Update.
47345
47346 2013-07-02 David S. Miller <davem@davemloft.net>
47347
47348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47349
47350 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
47351
47352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47353
47354 2013-07-02 Joseph Myers <joseph@codesourcery.com>
47355
47356 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47358
47359 2013-07-02 Andi Kleen <ak@linux.intel.com>
47360
47361 * config.h.in (ENABLE_LOCK_ELISION): Add.
47362 * configure.in (--enable-lock-elision): Add option.
47363 * manual/install.texi: Document --enable lock elision.
47364 * configure: Regenerate
47365 * INSTALL: Regenerate.
47366
47367 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
47368
47369 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47370 SSE4.2 strcasecmp for libc.a.
47371 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47372
47373 2013-07-02 Joseph Myers <joseph@codesourcery.com>
47374
47375 [BZ #13304]
47376 * soft-fp/op-common.h (_FP_FMA): New macro.
47377 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47378 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
47379 (_FP_MUL_MEAT_1_imm): ... here.
47380 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
47381 (_FP_MUL_MEAT_1_wide): ... here.
47382 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
47383 (_FP_MUL_MEAT_1_hard): ... here.
47384 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47385 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
47386 (_FP_MUL_MEAT_2_wide): ... here.
47387 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
47388 (_FP_MUL_MEAT_2_wide_3mul): ... here.
47389 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
47390 (_FP_MUL_MEAT_2_gmp): ... here.
47391 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47392 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
47393 (_FP_MUL_MEAT_4_wide): ... here.
47394 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
47395 (_FP_MUL_MEAT_4_gmp): ... here.
47396 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47397 (_FP_WFRACBITS_DW_S): Likewise.
47398 (_FP_WFRACXBITS_DW_S): Likewise.
47399 (_FP_HIGHBIT_DW_S): Likewise.
47400 (FP_FMA_S): Likewise.
47401 (_FP_FRAC_HIGH_DW_S): Likewise.
47402 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47403 (_FP_WFRACBITS_DW_D): Likewise.
47404 (_FP_WFRACXBITS_DW_D): Likewise.
47405 (_FP_HIGHBIT_DW_D): Likewise.
47406 (FP_FMA_D): Likewise.
47407 (_FP_FRAC_HIGH_DW_D): Likewise.
47408 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47409 (_FP_WFRACBITS_DW_E): Likewise.
47410 (_FP_WFRACXBITS_DW_E): Likewise.
47411 (_FP_HIGHBIT_DW_E): Likewise.
47412 (FP_FMA_E): Likewise.
47413 (_FP_FRAC_HIGH_DW_E): Likewise.
47414 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47415 (_FP_WFRACBITS_DW_Q): Likewise.
47416 (_FP_WFRACXBITS_DW_Q): Likewise.
47417 (_FP_HIGHBIT_DW_Q): Likewise.
47418 (FP_FMA_Q): Likewise.
47419 (_FP_FRAC_HIGH_DW_Q): Likewise.
47420 * soft-fp/fmasf4.c: New file.
47421 * soft-fp/fmadf4.c: Likewise.
47422 * soft-fp/fmatf4.c: Likewise.
47423
47424 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47425
47426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47427 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47428 Silvermont.
47429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47430 macro.
47431 (index_Slow_SSE4_2): Likewise.
47432 (index_Prefer_PMINUB_for_stringop): Likewise.
47433 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47434 bit_Slow_SSE4_2 is set.
47435 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47436 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47437
47438 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47439
47440 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47441 rtld_global._dl_hwcap2.
47442 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47443 POWER8.
47444 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47445 POWER8 feature descriptions defined in _dl_hwcap2.
47446 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47447 string handling for POWER8 feature bits.
47448 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47449 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47450 _dl_powerpc_cap_flags.
47451 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47452 * sysdeps/powerpc/rtld-global-offsets.sym
47453 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47454 _dl_hwcap2 in the rtld_global_ro structure.
47455
47456 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47457
47458 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47459 hardware capabilities in support of AT_HWCAP2.
47460 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47461 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47462 GLRO(dl_hwcap2).
47463 (_dl_show_auxv): Add support for calling _dl_procinfo to display
47464 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
47465 explicitly the unknown a_type display mechanism is used.
47466 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47467 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47468 struct member.
47469 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47470 to macro prototype for AT_HWCAP2 support.
47471 * sysdeps/i386/dl-procinfo.h: Likewise.
47472 * sysdeps/s390/dl-procinfo.h: Likewise.
47473 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47474 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
47475 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
47476 return -1 for unknown a_type display fallback.
47477 * sysdeps/sparc/dl-procinfo.h: Likewise.
47478 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47479 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47480
47481 2013-06-28 Joseph Myers <joseph@codesourcery.com>
47482
47483 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47484 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47485
47486 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
47487
47488 [BZ #12492]
47489 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47490 mprotect making __stack_prot writable.
47491
47492 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
47493 Joseph Myers <joseph@codesourcery.com>
47494
47495 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47496 as being properly aligned.
47497
47498 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
47499
47500 * dlfcn/modstatic5.c: New file.
47501 * dlfcn/tststatic5.c: New file.
47502 * dlfcn/Makefile (tests): Add tststatic5.
47503 (tests-static): Likewise.
47504 (modules-names): Add modstatic5.
47505 (tststatic5-ENV): New variable.
47506 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47507
47508 [BZ #15022]
47509 * elf/dl-support.c (_dl_main_map): New variable.
47510 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47511 (_dl_nns, _dl_load_adds): Set to 1.
47512 (_dl_initial_searchlist): Refer to _dl_main_map.
47513 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47514 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47515 call to _dl_get_origin.
47516 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47517 around call_map.
47518 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47519 * dlfcn/modstatic3.c: New file.
47520 * dlfcn/tststatic3.c: New file.
47521 * dlfcn/tststatic4.c: New file.
47522 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47523 (tests-static): Likewise.
47524 (modules-names): Add modstatic3.
47525 (tststatic3-ENV, tststatic4-ENV): New variables.
47526 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47527 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47528
47529 2013-06-26 Joseph Myers <joseph@codesourcery.com>
47530
47531 * configure.in (CC): Require GCC version 4.4 or later.
47532 * configure: Regenerated.
47533 * manual/install.texi (Tools for Compilation): Update GCC version
47534 requirement.
47535 * INSTALL: Regenerated.
47536
47537 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47538
47539 [BZ #15674]
47540 * string/test-memcmp.c (check2): New.
47541 (main): Call check2.
47542
47543 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47544
47545 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
47546
47547 [BZ #15022]
47548 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47549 over to...
47550 (dl_open_worker) [!SHARED]: ... here.
47551
47552 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47553
47554 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47555
47556 2013-06-25 Richard Henderson <rth@redhat.com>
47557
47558 * locale/programs/locarchive.c: Include <libc-internal.h>
47559
47560 2013-06-25 Joseph Myers <joseph@codesourcery.com>
47561
47562 * manual/texinfo.tex: Update to version 2013-06-21.17, with
47563 trailing whitespace removed.
47564
47565 2013-06-24 Mike Frysinger <vapier@gentoo.org>
47566
47567 [BZ #10283]
47568 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47569 * locale/programs/locarchive.c: Include libc-mmap.h.
47570 (prepare_address_space): Take two new outputs (the mmap base and len).
47571 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
47572 values.
47573 (create_archive): Declare new mmap base and len values for
47574 prepare_address_space, and store the result in ah.
47575 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47576 (enlarge_archive): If ah->mmap_base is not NULL, use that and
47577 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47578 Declare new mmap base and len values for
47579 prepare_address_space, and store the result in new_ah.
47580 (open_archive): Declare new mmap base and len values for
47581 prepare_address_space, and store the result in ah.
47582 (close_archive): If ah->mmap_base is not NULL, use that and
47583 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47584 * sysdeps/generic/libc-mmap.h: New file.
47585
47586 2013-06-24 Mike Frysinger <vapier@gentoo.org>
47587
47588 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47589 (ALIGN_UP): Likewise.
47590 (PTR_ALIGN_DOWN): Likewise.
47591 (PTR_ALIGN_UP): Likewise.
47592
47593 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47594
47595 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47596 entry mapped to PPC_PLATFORM_POWER8.
47597 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47598 POWER8.
47599 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47600 (_dl_string_platform): Add case for exporting platform position for
47601 POWER8.
47602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47603 search path to sysdeps/powerpc/powerpc32/power8 directory.
47604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47605 search path to sysdeps/powerpc/powerpc64/power8 directory.
47606 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47607 power7 directories.
47608 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47609 power7 directories.
47610
47611 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47612
47613 * INSTALL: Regenerate.
47614
47615 * nscd/connections.c (nscd_init): Fix comment.
47616
47617 2013-06-22 Joseph Myers <joseph@codesourcery.com>
47618
47619 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47620
47621 [BZ #15667]
47622 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47623 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47624
47625 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
47626
47627 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47628 DL_DST_REQ_STATIC.
47629 (DL_DST_REQ_STATIC): Remove macro.
47630
47631 2013-06-21 Joseph Myers <joseph@codesourcery.com>
47632
47633 [BZ #7006]
47634 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47635 with a shift of 0 bits.
47636
47637 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
47638
47639 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47640 $(tststatic-ENV).
47641
47642 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47643
47644 [BZ #15655]
47645 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47646
47647 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47648
47649 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47650 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47651 accepts -fno-tree-loop-distribute-patterns.
47652 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47653 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47654 recursive call.
47655 * string/memset.c (memset): Likewise.
47656 * string/test-memmove.c (simple_memmove): Disable loop transformation
47657 to library calls.
47658 * string/test-memset.c (simple_memset): Likewise.
47659 * benchtests/bench-memmove.c (simple_memmove): Likewise.
47660 * benchtests/bench-memset.c (simple_memset): Likewise.
47661 * configure: Regenerated.
47662
47663 2013-06-20 Joseph Myers <joseph@codesourcery.com>
47664
47665 * math/test-misc.c (main): Ignore fesetround failure when failures
47666 of subsequent rounding tests would be ignored.
47667
47668 [BZ #15654]
47669 * math/fedisblxcpt.c (fedisableexcept): Return 0.
47670 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47671 * math/fegetenv.c (__fegetenv): Return 0.
47672 * math/fegetexcept.c (fegetexcept): Return 0.
47673 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47674 FE_TONEAREST.
47675 * math/feholdexcpt.c (feholdexcept): Return 0.
47676 * math/fesetenv.c (__fesetenv): Return 0.
47677 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47678 argument FE_TONEAREST.
47679 * math/feupdateenv.c (__feupdateenv): Return 0.
47680 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47681
47682 2013-06-18 Roland McGrath <roland@hack.frob.com>
47683
47684 * elf/rtld-Rules (rtld-compile-command.S): New variable.
47685 (rtld-compile-command.s, rtld-compile-command.c): New variables.
47686 ($(objpfx)rtld-%.os rules): Use them.
47687
47688 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47689
47690 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47691 fields.
47692
47693 2013-06-17 Roland McGrath <roland@hack.frob.com>
47694
47695 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47696 length of target pattern, then descending length of dependency pattern.
47697 * configure.in (AWK): Require gawk 3.1.2 or newer.
47698 * manual/install.texi (Tools for Compilation): Say that we do.
47699 * configure: Regenerated.
47700
47701 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47702 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47703 * scripts/sysd-rules.awk: ... this new script.
47704 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47705 than a glob-style pattern.
47706
47707 2013-06-17 Joseph Myers <joseph@codesourcery.com>
47708
47709 * math/test-misc.c (main): Do not treat incorrectly rounded
47710 conversions as failure unless ROUNDING_TESTS passes.
47711
47712 2013-06-15 Joseph Myers <joseph@codesourcery.com>
47713
47714 [BZ #15631]
47715 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47716 restore exception state around main square root computation, then
47717 check for inexactness explicitly.
47718
47719 * math/libm-test.inc (fma_test_data): Add another test.
47720
47721 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
47722
47723 * manual/threads.texi (Non-POSIX Extensions): New document
47724 node. Document pthread_getattr_default_np and
47725 pthread_setattr_default_np.
47726
47727 * Versions.def (libpthread): Add GLIBC_2.18.
47728 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47730 Likewise.
47731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47732 Likewise.
47733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47734 Likewise.
47735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47736 Likewise.
47737 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47738 Likewise.
47739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47740 Likewise.
47741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47742 Likewise.
47743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47744 Likewise.
47745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47746 Likewise.
47747
47748 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47749
47750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47751 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47752
47753 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
47754 H.J. Lu <hjl.tools@gmail.com>
47755
47756 [BZ #15627]
47757 * sysdeps/x86_64/rtld-memset.c: Remove file.
47758 * sysdeps/x86_64/rtld-memset.S: New file.
47759
47760 2013-06-14 Joseph Myers <joseph@codesourcery.com>
47761
47762 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47763 (test_in_one_mode): Take arguments for whether the rounding mode
47764 is supported for each floating-point type.
47765 (do_test): Pass new arguments to test_in_one_mode using
47766 ROUNDING_TESTS.
47767
47768 2013-06-13 Roland McGrath <roland@hack.frob.com>
47769
47770 * posix/tst-waitid.c (do_test): Distinguish different instances of
47771 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
47772 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47773 before entering the kernel for waitpid.
47774
47775 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
47776
47777 * NEWS: Fix note on clock function precision. Text by Roland
47778 McGrath.
47779
47780 2013-06-13 Roland McGrath <roland@hack.frob.com>
47781
47782 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
47783 it into place only when and if the sanity check passes.
47784
47785 2013-06-13 Joseph Myers <joseph@codesourcery.com>
47786
47787 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
47788 output for whether conversion result is exact. Take argument
47789 indicating whether type is IBM long double.
47790 (round_for_all): Change need_exact field to ibm_ld.
47791 * stdlib/tst-strtod-round.c (struct exactness): New type.
47792 (struct test): Change bool ld_ok field to struct exactness exact.
47793 (TEST): Update all definitions for change to field.
47794 (tests): Regenerate array contents.
47795 (test_in_one_mode): Take pointer to new field instead of old ld_ok
47796 field value. Check for IBM long double here.
47797 (do_test): Update calls to test_in_one_mode.
47798
47799 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
47800
47801 [BZ #12515]
47802 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
47803 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
47804
47805 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47806
47807 [BZ #15605]
47808 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
47809 generated by the compiler on loop optimizations.
47810 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
47811 general definitions.
47812
47813 2013-06-12 Joseph Myers <joseph@codesourcery.com>
47814
47815 * math/bug-nextafter.c: Include <math-tests.h>.
47816 (main): Only test for exceptions if EXCEPTION_TESTS is true for
47817 the relevant type.
47818 * math/bug-nexttoward.c: Include <math-tests.h>.
47819 (main): Only test for exceptions if EXCEPTION_TESTS is true for
47820 the relevant type.
47821 * math/test-misc.c: Include <math-tests.h>.
47822 (main): Only test for exceptions if EXCEPTION_TESTS is true for
47823 the relevant type.
47824
47825 2013-06-12 Andreas Jaeger <aj@suse.de>
47826
47827 * po/ia.po: Update Interlingua translation from translation
47828 project.
47829
47830 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
47831
47832 * include/fenv.h: Include stdbool.h.
47833 (struct rm_ctx): New structure.
47834 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
47835 Define macro.
47836 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
47837 (SET_RESTORE_ROUNDF): Likewise.
47838 (SET_RESTORE_ROUNDL): Likewise.
47839 (SET_RESTORE_ROUND_NOEX): Likewise.
47840 (SET_RESTORE_ROUND_NOEXF): Likewise.
47841 (SET_RESTORE_ROUND_NOEXL): Likewise.
47842 (SET_RESTORE_ROUND_53BIT): Likewise.
47843 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
47844 (libc_feresetround_noexf_ctx): Likewise.
47845 (libc_feresetround_noexl_ctx): Likewise.
47846 (libc_feholdsetround_53bit_ctx): Likewise.
47847 (libc_feresetround_53bit_ctx): Likewise.
47848 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
47849 (libc_feholdexcept_setround_sse_ctx): New function.
47850 (libc_fesetenv_sse_ctx): Likewise.
47851 (libc_feupdateenv_sse_ctx): Likewise.
47852 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47853 (libc_feholdexcept_setround_387_ctx): Likewise.
47854 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47855 (libc_feholdsetround_387_prec_ctx): Likewise.
47856 (libc_feholdsetround_387_ctx): Likewise.
47857 (libc_feholdsetround_387_53bit_ctx): Likewise.
47858 (libc_feholdsetround_sse_ctx): Likewise.
47859 (libc_feresetround_sse_ctx): Likewise.
47860 (libc_feresetround_387_ctx): Likewise.
47861 (libc_feupdateenv_387_ctx): Likewise.
47862 (libc_feholdexcept_setroundf_ctx): Define macro.
47863 (libc_fesetenvf_ctx): Likewise.
47864 (libc_feupdateenvf_ctx): Likewise.
47865 (libc_feholdsetroundf_ctx): Likewise.
47866 (libc_feresetroundf_ctx): Likewise.
47867 (libc_feholdexcept_setround_ctx): Likewise.
47868 (libc_fesetenv_ctx): Likewise.
47869 (libc_feupdateenv_ctx): Likewise.
47870 (libc_feholdsetround_ctx): Likewise.
47871 (libc_feresetround_ctx): Likewise.
47872 (libc_feholdexcept_setroundl_ctx): Likewise.
47873 (libc_feupdateenvl_ctx): Likewise.
47874 (libc_feholdsetroundl_ctx): Likewise.
47875 (libc_feresetroundl_ctx): Likewise.
47876 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47877 (libc_feresetround_53bit_ctx): Likewise.
47878
47879 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
47880
47881 * locale/iso-639.def: Convert to UTF-8.
47882
47883 2013-06-11 Joseph Myers <joseph@codesourcery.com>
47884
47885 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47886 (EXCEPTION_TESTS_double): Likewise.
47887 (EXCEPTION_TESTS_long_double): Likewise.
47888 (EXCEPTION_TESTS): Likewise.
47889 * math/libm-test.inc (test_exceptions): Only test exceptions if
47890 EXCEPTION_TESTS (FLOAT).
47891
47892 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
47893
47894 * benchtests/Makefile (string-bench): Add strcpy_chk and
47895 stpcpy_chk.
47896 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47897 * benchtests/bench-stpcpy_chk.c: New file.
47898 * benchtests/bench-strcpy_chk-ifunc.c: New file.
47899 * benchtests/bench-strcpy_chk.c: New file.
47900 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47901 code.
47902 (do_test): Likewise.
47903
47904 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47905
47906 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47907 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47908 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47909 with tabs where appropriate.
47910 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47911 dl-procinfo.h.
47912 [PPC_PLATFORM_PPC440]: Likewise.
47913 [PPC_PLATFORM_PPC464]: Likewise.
47914 [PPC_PLATFORM_PPC476]: Likewise.
47915 (_dl_string_platform): Add support for detecting ppc405, ppc440,
47916 ppc464, and ppc476 platform strings merging from ports/
47917 dl-procinfo.h.
47918
47919 2013-06-11 Andreas Schwab <schwab@suse.de>
47920
47921 [BZ #14991]
47922 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47923 (from_ucs4_idx): Regenerate.
47924 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47925 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47926 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47927 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47928 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47929 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47930 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47931 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47932 from FROM_LOOP and TO_LOOP specific macros.
47933 (BODY): Handle combining characters.
47934 * iconvdata/BIG5HKSCS.irreversible: Update.
47935 * iconvdata/BIG5HKSCS.precomposed: New file.
47936 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47937 characters.
47938 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47939
47940 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
47941
47942 * include/sys/time.h: Fix indentation and add copyright header.
47943
47944 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47945 (do_test): Likewise.
47946 * string/test-memchr.c (do_one_test): Likewise.
47947 (do_test): Likewise.
47948 * string/test-memcmp.c (do_one_test): Likewise.
47949 (do_test): Likewise.
47950 * string/test-memcpy.c (do_one_test): Likewise.
47951 (do_test): Likewise.
47952 * string/test-memmem.c (do_one_test): Likewise.
47953 (do_test): Likewise.
47954 (do_random_tests): Likewise.
47955 * string/test-memmove.c (do_one_test): Likewise.
47956 (do_test): Likewise.
47957 * string/test-memset.c (do_one_test): Likewise.
47958 (do_test): Likewise.
47959 * string/test-rawmemchr.c (do_one_test): Likewise.
47960 (do_test): Likewise.
47961 * string/test-strcasecmp.c (do_one_test): Likewise.
47962 (do_test): Likewise.
47963 * string/test-strcasestr.c (do_one_test): Likewise.
47964 (do_test): Likewise.
47965 * string/test-strcat.c (do_one_test): Likewise.
47966 (do_test): Likewise.
47967 * string/test-strchr.c (do_one_test): Likewise.
47968 (do_test): Likewise.
47969 * string/test-strcmp.c (do_one_test): Likewise.
47970 (do_test): Likewise.
47971 * string/test-strcpy.c (do_one_test): Likewise.
47972 (do_test): Likewise.
47973 * string/test-string.h: Likewise.
47974 (test_init): Likewise.
47975 * string/test-strlen.c (do_one_test): Likewise.
47976 (do_test): Likewise.
47977 * string/test-strncasecmp.c (do_one_test): Likewise.
47978 (do_test): Likewise.
47979 * string/test-strncat.c (do_one_test): Likewise.
47980 (do_test): Likewise.
47981 * string/test-strncmp.c (do_one_test): Likewise.
47982 (do_test_limit): Likewise.
47983 (do_test): Likewise.
47984 * string/test-strncpy.c (do_one_test): Likewise.
47985 (do_test): Likewise.
47986 * string/test-strnlen.c (do_one_test): Likewise.
47987 (do_test): Likewise.
47988 * string/test-strpbrk.c (do_one_test): Likewise.
47989 (do_test): Likewise.
47990 * string/test-strrchr.c (do_one_test): Likewise.
47991 (do_test): Likewise.
47992 * string/test-strspn.c (do_one_test): Likewise.
47993 (do_test): Likewise.
47994 * string/test-strstr.c (do_one_test): Likewise.
47995 (do_test): Likewise.
47996
47997 * benchtests/Makefile (string-bench): Add string benchmarks.
47998 * benchtests/bench-bcopy-ifunc.c: New file.
47999 * benchtests/bench-bcopy.c: New file.
48000 * benchtests/bench-bzero-ifunc.c: New file.
48001 * benchtests/bench-bzero.c: New file.
48002 * benchtests/bench-memccpy-ifunc.c: New file.
48003 * benchtests/bench-memccpy.c: New file.
48004 * benchtests/bench-memchr-ifunc.c: New file.
48005 * benchtests/bench-memchr.c: New file.
48006 * benchtests/bench-memcmp-ifunc.c: New file.
48007 * benchtests/bench-memcmp.c: New file.
48008 * benchtests/bench-memmem-ifunc.c: New file.
48009 * benchtests/bench-memmem.c: New file.
48010 * benchtests/bench-memmove-ifunc.c: New file.
48011 * benchtests/bench-memmove.c: New file.
48012 * benchtests/bench-mempcpy-ifunc.c: New file.
48013 * benchtests/bench-mempcpy.c: New file.
48014 * benchtests/bench-memset-ifunc.c: New file.
48015 * benchtests/bench-memset.c: New file.
48016 * benchtests/bench-rawmemchr-ifunc.c: New file.
48017 * benchtests/bench-rawmemchr.c: New file.
48018 * benchtests/bench-stpcpy-ifunc.c: New file.
48019 * benchtests/bench-stpcpy.c: New file.
48020 * benchtests/bench-stpncpy-ifunc.c: New file.
48021 * benchtests/bench-stpncpy.c: New file.
48022 * benchtests/bench-strcasecmp-ifunc.c: New file.
48023 * benchtests/bench-strcasecmp.c: New file.
48024 * benchtests/bench-strcasestr-ifunc.c: New file.
48025 * benchtests/bench-strcasestr.c: New file.
48026 * benchtests/bench-strcat-ifunc.c: New file.
48027 * benchtests/bench-strcat.c: New file.
48028 * benchtests/bench-strchr-ifunc.c: New file.
48029 * benchtests/bench-strchr.c: New file.
48030 * benchtests/bench-strchrnul-ifunc.c: New file.
48031 * benchtests/bench-strchrnul.c: New file.
48032 * benchtests/bench-strcmp-ifunc.c: New file.
48033 * benchtests/bench-strcmp.c: New file.
48034 * benchtests/bench-strcpy-ifunc.c: New file.
48035 * benchtests/bench-strcpy.c: New file.
48036 * benchtests/bench-strcspn-ifunc.c: New file.
48037 * benchtests/bench-strcspn.c: New file.
48038 * benchtests/bench-strlen-ifunc.c: New file.
48039 * benchtests/bench-strlen.c: New file.
48040 * benchtests/bench-strncasecmp-ifunc.c: New file.
48041 * benchtests/bench-strncasecmp.c: New file.
48042 * benchtests/bench-strncat-ifunc.c: New file.
48043 * benchtests/bench-strncat.c: New file.
48044 * benchtests/bench-strncmp-ifunc.c: New file.
48045 * benchtests/bench-strncmp.c: New file.
48046 * benchtests/bench-strncpy-ifunc.c: New file.
48047 * benchtests/bench-strncpy.c: New file.
48048 * benchtests/bench-strnlen-ifunc.c: New file.
48049 * benchtests/bench-strnlen.c: New file.
48050 * benchtests/bench-strpbrk-ifunc.c: New file.
48051 * benchtests/bench-strpbrk.c: New file.
48052 * benchtests/bench-strrchr-ifunc.c: New file.
48053 * benchtests/bench-strrchr.c: New file.
48054 * benchtests/bench-strspn-ifunc.c: New file.
48055 * benchtests/bench-strspn.c: New file.
48056 * benchtests/bench-strstr-ifunc.c: New file.
48057 * benchtests/bench-strstr.c: New file.
48058
48059 * benchtests/Makefile: Disable parallel execution of targets.
48060 (string-bench): Add memcpy.
48061 (benchset): New variable to store a list of benchmark sets.
48062 (bench-func): Renamed from bench.
48063 (bench-set): New target.
48064 (bench): Depend on bench-func and bench-set.
48065 * benchtests/README: Add section on benchmark sets.
48066 * benchtests/bench-memcpy-ifunc.c: New file.
48067 * benchtests/bench-memcpy.c: New file.
48068 * benchtests/bench-string.h: New file.
48069
48070 2013-06-11 Andreas Schwab <schwab@suse.de>
48071
48072 [BZ #15577]
48073 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48074 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48075 values in the triple.
48076 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48077 terminator in the group key.
48078
48079 2013-06-11 Andreas Jaeger <aj@suse.de>
48080
48081 * po/zh_TW.po: Update Chinese (traditional) translation from
48082 translation project.
48083
48084 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48085
48086 * include/time.h (__clock_gettime): Add libc_hidden_proto.
48087 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48088 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
48089 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48090 (clock_getcpuclockid): Likewise.
48091 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48092 Add weak_alias and libc_hidden_def.
48093 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48094 * rt/clock_gettime.c (clock_gettime): Rename to
48095 __clock_gettime. Add weak_alias and libc_hidden_def.
48096 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48097 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48098 __clock_nanosleep. Add weak_alias and libc_hidden_def.
48099 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48100 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48101 Likewise.
48102 * rt/clock_settime.c (clock_settime): Rename to
48103 __clock_settime. Add weak_alias and libc_hidden_def.
48104 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48105
48106 2013-06-10 Joseph Myers <joseph@codesourcery.com>
48107
48108 * mach/err_boot.sub: Remove trailing whitespace.
48109 * mach/err_ipc.sub: Likewise.
48110 * mach/err_mach.sub: Likewise.
48111
48112 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48113 (ROUNDING_TESTS_double): Likewise.
48114 (ROUNDING_TESTS_long_double): Likewise.
48115 (ROUNDING_TESTS): Likewise.
48116 * math/libm-test.inc: Include <math-tests.h>.
48117 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48118 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48119 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48120 (IF_ROUND_INIT_FE_UPWARD): Likewise.
48121
48122 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48123
48124 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48125 of assigning.
48126
48127 2013-06-08 Joseph Myers <joseph@codesourcery.com>
48128
48129 * sysdeps/gnu/errlist.awk: Do not generate space at end of
48130 otherwise empty TRANS lines.
48131 * sysdeps/gnu/errlist.c: Regenerated.
48132
48133 * catgets/gencat.c (error_print): Use (void) in function
48134 definition.
48135 * crypt/crypt_util.c (__init_des): Likewise.
48136 * crypt/speeds.c (Stop): Likewise.
48137 (main): Likewise.
48138 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48139 * inet/ruserpass.c (token): Likewise.
48140 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48141 * intl/localealias.c (extend_alias_table): Likewise.
48142 * intl/plural-exp.c (init_germanic_plural): Likewise.
48143 * libio/fcloseall.c (__fcloseall): Likewise.
48144 * libio/genops.c (_IO_flush_all): Likewise.
48145 (_IO_flush_all_linebuffered): Likewise.
48146 (_IO_cleanup): Likewise.
48147 (_IO_iter_begin): Likewise.
48148 (_IO_iter_end): Likewise.
48149 (_IO_list_lock): Likewise.
48150 (_IO_list_unlock): Likewise.
48151 (_IO_list_resetlock): Likewise.
48152 * libio/getchar.c (getchar): Likewise.
48153 * libio/getchar_u.c (getchar_unlocked): Likewise.
48154 * libio/getwchar.c (getwchar): Likewise.
48155 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48156 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48157 * login/getpt.c (__getpt): Likewise.
48158 * login/tst-utmp.c (main): Likewise.
48159 * malloc/hooks.c (__malloc_check_init): Likewise.
48160 * malloc/malloc.c (__malloc_stats): Likewise.
48161 * malloc/mtrace.c (tr_break): Likewise.
48162 (mtrace): Likewise.
48163 (muntrace): Likewise.
48164 * misc/fstab.c (endfsent): Likewise.
48165 * misc/getclktck.c (__getclktck): Likewise.
48166 * misc/getdtsz.c (__getdtablesize): Likewise.
48167 * misc/gethostid.c (gethostid): Likewise.
48168 * misc/getpagesize.c (__getpagesize): Likewise.
48169 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48170 (__get_nprocs): Likewise.
48171 (__get_phys_pages): Likewise.
48172 (__get_avphys_pages): Likewise.
48173 * misc/getttyent.c (getttyent): Likewise.
48174 (setttyent): Likewise.
48175 (endttyent): Likewise.
48176 * misc/getusershell.c (getusershell): Likewise.
48177 (endusershell): Likewise.
48178 (setusershell): Likewise.
48179 (initshells): Likewise.
48180 * misc/hsearch.c (__hdestroy): Likewise.
48181 * misc/sync.c (sync): Likewise.
48182 * misc/syslog.c (closelog_internal): Likewise.
48183 (closelog): Likewise.
48184 * misc/ttyslot.c (ttyslot): Likewise.
48185 * misc/vhangup.c (vhangup): Likewise.
48186 * posix/fork.c (__fork): Likewise.
48187 * posix/getegid.c (__getegid): Likewise.
48188 * posix/geteuid.c (__geteuid): Likewise.
48189 * posix/getgid.c (__getgid): Likewise.
48190 * posix/getpid.c (__getpid): Likewise.
48191 * posix/getppid.c (__getppid): Likewise.
48192 * posix/getuid.c (__getuid): Likewise.
48193 * posix/pause.c (pause): Likewise.
48194 * posix/setpgrp.c (setpgrp): Likewise.
48195 * posix/setsid.c (__setsid): Likewise.
48196 * posix/test-vfork.c (noop): Likewise.
48197 * resolv/gethnamaddr.c (_endhtent): Likewise.
48198 (_gethtent): Likewise.
48199 (ht_endhostent): Likewise.
48200 (gethostent): Likewise.
48201 (dns_service): Likewise.
48202 * stdlib/drand48.c (drand48): Likewise.
48203 * stdlib/lrand48.c (lrand48): Likewise.
48204 * stdlib/mrand48.c (mrand48): Likewise.
48205 * stdlib/rand.c (rand): Likewise.
48206 * stdlib/random.c (__random): Likewise.
48207 * stdlib/setenv.c (clearenv): Likewise.
48208 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48209 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48210 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48211 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48212 (__get_nprocs): Likewise.
48213 (__get_phys_pages): Likewise.
48214 (__get_avphys_pages): Likewise.
48215 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48216 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48217 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48218 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48219 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48220 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48221 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48222 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48223 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48224 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48225 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48226 * sysdeps/mach/hurd/sync.c (sync): Likewise.
48227 * sysdeps/posix/clock.c (clock): Likewise.
48228 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48229 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48230 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48231 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48232 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48233 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48234 (__get_nprocs_conf): Likewise.
48235 (__get_phys_pages): Likewise.
48236 (__get_avphys_pages): Likewise.
48237 * time/clock.c (clock): Likewise.
48238 * time/tzset.c (__tzname_max): Likewise.
48239
48240 2013-06-07 Joseph Myers <joseph@codesourcery.com>
48241
48242 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48243 (__bswap_32): Do not use "register".
48244 * crypt/crypt.c (_ufc_doit_r): Likewise.
48245 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48246 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48247 * gmon/gmon.c (__monstartup): Likewise.
48248 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48249 * hurd/hurdmalloc.c (more_memory): Likewise.
48250 (malloc): Likewise.
48251 (free): Likewise.
48252 (realloc): Likewise.
48253 (malloc_fork_prepare): Likewise.
48254 (malloc_fork_parent): Likewise.
48255 (malloc_fork_child): Likewise.
48256 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48257 (_svcauth_des): Likewise.
48258 * inet/inet_lnaof.c (inet_lnaof): Likewise.
48259 * inet/inet_net.c (inet_network): Likewise.
48260 * inet/inet_netof.c (inet_netof): Likewise.
48261 * inet/rcmd.c (__validuser2_sa): Likewise.
48262 * io/fts.c (fts_open): Likewise.
48263 (fts_load): Likewise.
48264 (fts_close): Likewise.
48265 (fts_read): Likewise.
48266 (fts_children): Likewise.
48267 (fts_build): Likewise.
48268 (fts_stat): Likewise.
48269 (fts_sort): Likewise.
48270 (fts_alloc): Likewise.
48271 (fts_lfree): Likewise.
48272 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48273 (_IO_file_xsgetn): Likewise.
48274 (_IO_file_xsgetn_mmap): Likewise.
48275 * libio/iofopncook.c (_IO_cookie_read): Likewise.
48276 (_IO_cookie_write): Likewise.
48277 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48278 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48279 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48280 * malloc/obstack.c (_obstack_begin): Likewise.
48281 (_obstack_begin_1): Likewise.
48282 (_obstack_newchunk): Likewise.
48283 (_obstack_allocated_p): Likewise.
48284 (obstack_free): Likewise.
48285 (_obstack_memory_used): Likewise.
48286 * misc/getttyent.c (getttynam): Likewise.
48287 (getttyent): Likewise.
48288 (skip): Likewise.
48289 (value): Likewise.
48290 * misc/getusershell.c (initshells): Likewise.
48291 * misc/syslog.c (__vsyslog_chk): Likewise.
48292 * misc/ttyslot.c (ttyslot): Likewise.
48293 * nis/nis_hash.c (__nis_hash): Likewise.
48294 * posix/fnmatch_loop.c (FCT): Likewise.
48295 * posix/getconf.c (print_all): Likewise.
48296 (main): Likewise.
48297 * posix/getopt.c (exchange): Likewise.
48298 * posix/glob.c (globfree): Likewise.
48299 (prefix_array): Likewise.
48300 (__glob_pattern_type): Likewise.
48301 * resolv/arpa/nameser.h (NS_GET16): Likewise.
48302 (NS_GET32): Likewise.
48303 (NS_PUT16): Likewise.
48304 (NS_PUT32): Likewise.
48305 * resolv/gethnamaddr.c (getanswer): Likewise.
48306 (gethostbyname2): Likewise.
48307 (gethostbyaddr): Likewise.
48308 (_gethtent): Likewise.
48309 (_gethtbyname2): Likewise.
48310 (_gethtbyaddr): Likewise.
48311 * resolv/ns_print.c (dst_s_get_int16): Likewise.
48312 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48313 * resolv/res_init.c (__res_vinit): Likewise.
48314 (net_mask): Likewise.
48315 * resolv/res_mkquery.c (outchar): Likewise.
48316 (PRINT): Likewise.
48317 * stdio-common/printf_fp.c (outchar): Likewise.
48318 (PRINT): Likewise.
48319 * stdio-common/printf_fphex.c (outchar): Likewise.
48320 (PRINT): Likewise.
48321 * stdio-common/printf_size.c (outchar): Likewise.
48322 (PRINT): Likewise.
48323 * stdio-common/test_rdwr.c (main): Likewise.
48324 * stdio-common/tfformat.c (matches): Likewise.
48325 * stdio-common/vfprintf.c (outchar): Likewise.
48326 (printf_unknown): Likewise.
48327 (buffered_vfprintf): Likewise.
48328 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48329 * stdio-common/xbug.c (AppendToBuffer): Likewise.
48330 (ReadFile): Likewise.
48331 * stdlib/qsort.c (SWAP): Likewise.
48332 (_quicksort): Likewise.
48333 * stdlib/setenv.c (__add_to_environ): Likewise.
48334 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48335 * stdlib/strtol_l.c (__strtol_l): Likewise.
48336 * stdlib/tst-strtod.c (main): Likewise.
48337 * stdlib/tst-strtol.c (main): Likewise.
48338 * stdlib/tst-strtoll.c (main): Likewise.
48339 * string/bits/string2.h (__strcmp_cc): Likewise.
48340 (__strcmp_cg): Likewise.
48341 (__strcspn_c1): Likewise.
48342 (__strcspn_c2): Likewise.
48343 (__strcspn_c3): Likewise.
48344 (__strspn_c1): Likewise.
48345 (__strspn_c2): Likewise.
48346 (__strspn_c3): Likewise.
48347 (__strsep_1c): Likewise.
48348 (__strsep_2c): Likewise.
48349 (__strsep_3c): Likewise.
48350 * string/memccpy.c (__memccpy): Likewise.
48351 * string/stpcpy.c (__stpcpy): Likewise.
48352 * string/strcmp.c (strcmp): Likewise.
48353 * string/strrchr.c (strrchr): Likewise.
48354 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48355 Likewise.
48356 * sysdeps/mach/hurd/getcwd.c
48357 (_hurd_canonicalize_directory_name_internal): Likewise.
48358 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48359 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48360 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48361 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48362 Likewise, in both definitions.
48363 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48364 definitions.
48365 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48366 64] (__bswap_64): Likewise.
48367 * time/test_time.c (main): Likewise.
48368 * time/tzfile.c (__tzfile_read): Likewise.
48369 (__tzfile_compute): Likewise.
48370 * time/tzset.c (__tzset_parse_tz): Likewise.
48371 (tzset_internal): Likewise.
48372 (compute_change): Likewise.
48373 * wcsmbs/wcscat.c (__wcscat): Likewise.
48374 * wcsmbs/wcschr.c (wcschr): Likewise.
48375 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48376 * wcsmbs/wcscspn.c (wcscspn): Likewise.
48377 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48378 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48379 * wcsmbs/wcsspn.c (wcsspn): Likewise.
48380 * wcsmbs/wcsstr.c (wcsstr): Likewise.
48381 * wcsmbs/wmemchr.c (wmemchr): Likewise.
48382 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48383 * wcsmbs/wmemset.c (wmemset): Likewise.
48384
48385 2013-06-06 Joseph Myers <joseph@codesourcery.com>
48386
48387 * scripts/config.guess: Update to version 2013-05-16.
48388 * scripts/config.sub: Update to version 2013-04-24.
48389 * scripts/install-sh: Update to version 2011-11-20.07.
48390 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48391 * scripts/move-if-change: Update to version 2012-01-06 07:23.
48392
48393 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
48394
48395 * debug/fgetws_u_chk.c: Fix leading whitespaces.
48396 * elf/sln.c: Likewise.
48397 * hurd/hurd/ioctl.h: Likewise.
48398 * hurd/hurdmalloc.c: Likewise.
48399 * hurd/xattr.c: Likewise.
48400 * include/shlib-compat.h: Likewise.
48401 * inet/ruserpass.c: Likewise.
48402 * libio/iofgets_u.c: Likewise.
48403 * libio/iofgetws_u.c: Likewise.
48404 * locale/programs/ld-identification.c: Likewise.
48405 * locale/programs/ld-time.c: Likewise.
48406 * mach/msg-destroy.c: Likewise.
48407 * nss/nss_files/files-netgrp.c: Likewise.
48408 * resolv/res_data.c: Likewise.
48409 * soft-fp/op-1.h: Likewise.
48410 * soft-fp/op-2.h: Likewise.
48411 * soft-fp/op-4.h: Likewise.
48412 * soft-fp/op-common.h: Likewise.
48413 * stdio-common/printf_fphex.c: Likewise.
48414 * stdlib/strtod_l.c: Likewise.
48415 * sunrpc/rpc/clnt.h: Likewise.
48416 * sysdeps/generic/framestate.c: Likewise.
48417 * sysdeps/i386/bsd-_setjmp.S: Likewise.
48418 * sysdeps/i386/bsd-setjmp.S: Likewise.
48419 * sysdeps/i386/__longjmp.S: Likewise.
48420 * sysdeps/i386/setjmp.S: Likewise.
48421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48422 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48423 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48424 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48425 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48426 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48427 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48430 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48431 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48432 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48433 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48434 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48435 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48436 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48437 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48438 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48439 * sysdeps/ieee754/support.c: Likewise.
48440 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48441 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48442 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48443 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48444 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48445 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48446 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48447 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48448 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48449 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48450 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48451 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48452 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48453 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48454 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48455 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48456 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48458
48459 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
48460
48461 * posix/transbug.c: Remove executable mode.
48462
48463 2013-06-05 Joseph Myers <joseph@codesourcery.com>
48464
48465 * crypt/speeds.c: Remove trailing whitespace.
48466 * dlfcn/default.c: Likewise.
48467 * elf/ifuncdep2.c: Likewise.
48468 * elf/ifuncmain1.c: Likewise.
48469 * elf/ifuncmain1vis.c: Likewise.
48470 * elf/testobj.h: Likewise.
48471 * elf/tst-stackguard1.c: Likewise.
48472 * gmon/sys/gmon.h: Likewise.
48473 * hurd/hurdmsg.c: Likewise.
48474 * hurd/new-fd.c: Likewise.
48475 * hurd/ports-get.c: Likewise.
48476 * iconvdata/ibm1008_420.c: Likewise.
48477 * inet/tst-getni1.c: Likewise.
48478 * inet/tst-getni2.c: Likewise.
48479 * libio/ioungetc.c: Likewise.
48480 * libio/wfiledoalloc.c: Likewise.
48481 * manual/libm-err-tab.pl: Likewise.
48482 * math/w_dremf.c: Likewise.
48483 * misc/ftruncate.c: Likewise.
48484 * posix/bug-glob2.c: Likewise.
48485 * posix/tst-pcre.c: Likewise.
48486 * posix/wait4.c: Likewise.
48487 * resolv/README: Likewise.
48488 * resolv/res_debug.h: Likewise.
48489 * resolv/tst-inet_ntop.c: Likewise.
48490 * setjmp/bug269-setjmp.c: Likewise.
48491 * soft-fp/extended.h: Likewise.
48492 * soft-fp/op-1.h: Likewise.
48493 * soft-fp/op-2.h: Likewise.
48494 * soft-fp/op-4.h: Likewise.
48495 * soft-fp/op-8.h: Likewise.
48496 * soft-fp/testit.c: Likewise.
48497 * stdio-common/bug16.c: Likewise.
48498 * stdlib/random.c: Likewise.
48499 * sunrpc/rpcsvc/rquota.x: Likewise.
48500 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48501 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48502 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48503 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48504 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48505 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48506 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48507 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48508 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48509 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48510 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48511 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48512 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48513 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48514 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48515 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48516 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48518 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48521 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48522 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48523 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48524 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48525 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48526 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48527 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48528 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48529 * sysdeps/ieee754/s_lib_version.c: Likewise.
48530 * sysdeps/mach/hurd/check_fds.c: Likewise.
48531 * sysdeps/mach/hurd/getsockname.c: Likewise.
48532 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48533 * sysdeps/mach/hurd/recvfrom.c: Likewise.
48534 * sysdeps/powerpc/bits/link.h: Likewise.
48535 * sysdeps/powerpc/dl-procinfo.c: Likewise.
48536 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48537 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48538 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48539 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48540 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48541 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48542 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48543 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48544 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48545 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48546 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48547 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48548 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48549 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48550 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48551 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48552 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48553 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48554 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48555 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48556 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48557 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48558 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48559 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48560 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48561 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48562 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48563 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48564 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48565 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48566 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48567 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48568 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48569 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48570 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48571 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48572 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48573 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48574 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48575 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48576 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48577 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48578 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48579 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48580 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48581 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48582 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48583 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48584 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48587 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48588 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48589 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48590 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48591 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48592 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48593 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48594 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48595 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48596 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48597 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48598 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48599 * sysdeps/powerpc/sysdep.h: Likewise.
48600 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48601 * sysdeps/s390/s390-64/sub_n.S: Likewise.
48602 * sysdeps/sh/dl-trampoline.S: Likewise.
48603 * sysdeps/sh/memset.S: Likewise.
48604 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48605 * sysdeps/sh/strlen.S: Likewise.
48606 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48607 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48608 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48609 * sysdeps/sparc/sparc32/rem.S: Likewise.
48610 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48611 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48612 * sysdeps/sparc/sparc32/strchr.S: Likewise.
48613 * sysdeps/sparc/sparc32/udiv.S: Likewise.
48614 * sysdeps/sparc/sparc32/urem.S: Likewise.
48615 * sysdeps/sparc/sparc64/add_n.S: Likewise.
48616 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48617 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48618 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48619 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48620 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48621 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48622 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48623 * sysdeps/unix/bsd/times.c: Likewise.
48624 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48625 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48629 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48630 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48631 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48632 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48633 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48634 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48635 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48636 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48637 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48638 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48639 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48640 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48641 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48642 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48643 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48644 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48645 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48646 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48647 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48648 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48649 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48650 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48651 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48652 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48653 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48654 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48655 * sysdeps/x86_64/strcspn.S: Likewise.
48656
48657 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48658
48659 * locale/C-translit.h: Revert #include <stdint.h> because this is a
48660 generated file. Regenerate properly from gen-translit.pl.
48661 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
48662 locale/C-translit.h.
48663
48664 2013-06-05 Andreas Schwab <schwab@suse.de>
48665
48666 [BZ #15100]
48667 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48668 week as 6 instead of -1.
48669 * time/tst-strptime.c (day_tests): Add test case.
48670
48671 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
48672
48673 * sysdeps/generic/math_private.h
48674 (libc_feholdexcept_setround_53bit): Replace with
48675 libc_feholdsetround_53bit.
48676 (libc_feupdateenv_53bit): Replace with
48677 libc_feresetround_53bit.
48678 (SET_RESTORE_ROUND_53BIT): Adjust.
48679
48680 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
48681
48682 * string/test-strchrnul.c: Add copyright header.
48683
48684 * posix/tst-getaddrinfo4.c: Increase test timeout.
48685
48686 2013-06-03 Carlos O'Donell <carlos@redhat.com>
48687
48688 [BZ #15536]
48689 * math/libm-test.inc (MAX_EXP): Remove
48690 (MIN_EXP): Define.
48691 (ulp): Use MIN_EXP - MANT_DIG.
48692 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48693
48694 2013-05-31 Carlos O'Donell <carlos@redhat.com>
48695
48696 * po/be.po: Revert last change.
48697 * po/zh_CN.po: Likewise.
48698 * po/header.pot: Likewise.
48699
48700 2013-05-31 Joseph Myers <joseph@codesourcery.com>
48701
48702 * Makefile ($(common-objpfx)linkobj/libc.so): Define
48703 link-libc-deps to empty as target-specific variable.
48704 * Makerules (link-libc-args): New variable.
48705 (libc-for-link): Likewise.
48706 (link-libc-deps): Likewise.
48707 (lib%.so): Depend on $(link-libc-deps). Link with
48708 $(link-libc-args).
48709 (build-module): Link with $(link-libc-args).
48710 (build-module-asneeded): Likewise.
48711 (build-module-helper-objlist): Filter out $(link-libc-deps) from
48712 list of objects.
48713 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48714 target-specific variable.
48715 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48716 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48717 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48718 libc.
48719 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48720 libc and ld.so.
48721 ($(objpfx)libpcprofile.so): Likewise.
48722 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48723 libc_nonshared.a.
48724 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48725 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48726 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48727 $(link-libc-deps).
48728 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48729 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48730 * login/Makefile ($(objpfx)libutil.so): Likewise.
48731 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48732 * math/Makefile ($(objpfx)libm.so): Likewise.
48733 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48734 $(objpfx)libnsl.so): Define libc-for-link as target-specific
48735 variable instead of depending directly on libc.
48736 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48737 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48738 $(link-libc-deps).
48739 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48740 libc.
48741 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48742 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48743 ($(objpfx)libanl.so): Likewise.
48744 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48745 ld.so.
48746 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48747 $(link-libc-deps).
48748 * sysdeps/i386/fpu/Makefile: Remove file.
48749 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48750 ($(objpfx)libm.so): Remove dependency on ld.so.
48751
48752 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
48753
48754 [BZ # 15553]
48755 * nis/yp_xdr.c (XDRMAXNAME): Define.
48756 (XDRMAXRECORD): Define.
48757 (xdr_domainname): Use XDRMAXNAME.
48758 (xdr_mapname): Likewise.
48759 (xdr_peername): Likewise.
48760 (xdr_keydat): Use XDRMAXRECORD.
48761 (xdr_valdat): Likewise.
48762
48763 2013-05-30 Jeff Law <law@redhat.com>
48764
48765 [BZ #14256]
48766 * manual/errno.texi (ESTALE): Update to account for more than
48767 just NFS file systems.
48768 * sysdeps/gnu/errlist.c: Regenerated.
48769
48770 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
48771
48772 [BZ #15465]
48773 * elf/Makefile (tests): Add tst-null-argv.
48774 (modules-names): Add tst-null-argv-lib.
48775 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48776 (tst-null-argv-ENV): Set environment for tst-null-argv.
48777 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
48778 (RTLD_PROGNAME): New macro.
48779 * elf/tst-null-argv.c: New test case.
48780 * elf/tst-null-argv-lib.c: Library for test case.
48781 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
48782 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
48783 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
48784 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
48785 * elf/dl-init.c (call_init): Likewise.
48786 (_dl_init): Likewise.
48787 * elf/dl-load.c (print_search_path): Likewise.
48788 (_dl_map_object): Likewise.
48789 * elf/dl-lookup.c (do_lookup_x): Likewise.
48790 (add_dependency): Likewise.
48791 (_dl_lookup_symbol_x): Likewise.
48792 (_dl_debug_bindings): Likewise.
48793 * elf/dl-open.c (_dl_show_scope): Likewise.
48794 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48795 * elf/dl-version.c (match_symbol): Likewise.
48796 (_dl_check_map_versions): Likewise.
48797 * elf/rtld.c (dl_main): Likewise.
48798 (print_unresolved): Use RTLD_PROGNAME.
48799 (print_missing_version): Likewise.
48800 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
48801 (elf_machine_rela): Likewise.
48802 * sysdeps/powerpc/powerpc32/dl-machine.c
48803 (__process_machine_rela): Likewise.
48804 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48805 Likewise.
48806 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48807 Likewise.
48808 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48809 Likewise.
48810 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
48812 Likewise.
48813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
48814 Likewise.
48815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48816
48817 2013-05-28 Carlos O'Donell <carlos@redhat.com>
48818
48819 * po/be.po: Add descriptive title.
48820 * po/zh_CN.po: Likewise.
48821 * po/header.pot: Likewise.
48822
48823 2013-05-28 Mike Frysinger <vapier@gentoo.org>
48824
48825 * locale/programs/locarchive.c (create_archive): Inlucde fname in
48826 error message.
48827 (enlarge_archive): Likewise.
48828
48829 2013-05-28 Ben North <ben@redfrontdoor.org>
48830
48831 * manual/arith.texi (frexp): It is the magnitude of the return
48832 value which lies in [0.5, 1), not the return value itself.
48833
48834 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48835
48836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48837
48838 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
48839
48840 * stdio-common/bug26.c (main): Correct fscanf template.
48841
48842 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
48843 declare _dl_skip_args.
48844
48845 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
48846 Don't declare.
48847
48848 * manual/platform.texi: Add missing @end deftypefun.
48849
48850 2013-05-24 Joseph Myers <joseph@codesourcery.com>
48851
48852 [BZ #15529]
48853 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48854 bit of mantissa of 2^16382.
48855 * math/libm-test.inc (hypot_test_data): Add more tests.
48856
48857 * math/libm-test.inc: Add drem and pow10 to list of tested
48858 functions.
48859 (pow10_test): New function.
48860 (drem_test): Likewise.
48861 (drem_test_tonearest): Likewise.
48862 (drem_test_towardzero): Likewise.
48863 (drem_test_downward): Likewise.
48864 (drem_test_upward): Likewise.
48865 (main): Call the new functions.
48866
48867 * math/libm-test.inc (finite_test_data): Remove.
48868 (finite_test): Run tests from isfinite_test_data.
48869 (gamma_test_data): Remove.
48870 (gamma_test): Run tests from lgamma_test_data.
48871 * sysdeps/i386/fpu/libm-test-ulps: Update.
48872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48873
48874 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48875
48876 * manual/platform.texi: Add PowerPC PPR function set documentation.
48877 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48878 implementation.
48879
48880 2013-05-24 Carlos O'Donell <carlos@redhat.com>
48881
48882 * math/libm-test.inc (MAX_EXP): Define.
48883 (ULPDIFF): Define.
48884 (ulp): New function.
48885 (check_float_internal): Use ULPDIFF.
48886 (cpow_test): Disable failing test.
48887 (check_ulp): Test ulp() implemetnation.
48888 (main): Call check_ulp before starting tests.
48889
48890 2013-05-24 Joseph Myers <joseph@codesourcery.com>
48891
48892 * math/gen-libm-test.pl (generate_testfile): Do not handle
48893 START_DATA and END_DATA.
48894 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48895 END_DATA.
48896 (acos_tonearest_test_data): Likewise.
48897 (acos_towardzero_test_data): Likewise.
48898 (acos_downward_test_data): Likewise.
48899 (acos_upward_test_data): Likewise.
48900 (acosh_test_data): Likewise.
48901 (asin_test_data): Likewise.
48902 (asin_tonearest_test_data): Likewise.
48903 (asin_towardzero_test_data): Likewise.
48904 (asin_downward_test_data): Likewise.
48905 (asin_upward_test_data): Likewise.
48906 (asinh_test_data): Likewise.
48907 (atan_test_data): Likewise.
48908 (atanh_test_data): Likewise.
48909 (atan2_test_data): Likewise.
48910 (cabs_test_data): Likewise.
48911 (cacos_test_data): Likewise.
48912 (cacosh_test_data): Likewise.
48913 (carg_test_data): Likewise.
48914 (casin_test_data): Likewise.
48915 (casinh_test_data): Likewise.
48916 (catan_test_data): Likewise.
48917 (catanh_test_data): Likewise.
48918 (cbrt_test_data): Likewise.
48919 (ccos_test_data): Likewise.
48920 (ccosh_test_data): Likewise.
48921 (ceil_test_data): Likewise.
48922 (cexp_test_data): Likewise.
48923 (cimag_test_data): Likewise.
48924 (clog_test_data): Likewise.
48925 (clog10_test_data): Likewise.
48926 (conj_test_data): Likewise.
48927 (copysign_test_data): Likewise.
48928 (cos_test_data): Likewise.
48929 (cos_tonearest_test_data): Likewise.
48930 (cos_towardzero_test_data): Likewise.
48931 (cos_downward_test_data): Likewise.
48932 (cos_upward_test_data): Likewise.
48933 (cosh_test_data): Likewise.
48934 (cosh_tonearest_test_data): Likewise.
48935 (cosh_towardzero_test_data): Likewise.
48936 (cosh_downward_test_data): Likewise.
48937 (cosh_upward_test_data): Likewise.
48938 (cpow_test_data): Likewise.
48939 (cproj_test_data): Likewise.
48940 (creal_test_data): Likewise.
48941 (csin_test_data): Likewise.
48942 (csinh_test_data): Likewise.
48943 (csqrt_test_data): Likewise.
48944 (ctan_test_data): Likewise.
48945 (ctan_tonearest_test_data): Likewise.
48946 (ctan_towardzero_test_data): Likewise.
48947 (ctan_downward_test_data): Likewise.
48948 (ctan_upward_test_data): Likewise.
48949 (ctanh_test_data): Likewise.
48950 (ctanh_tonearest_test_data): Likewise.
48951 (ctanh_towardzero_test_data): Likewise.
48952 (ctanh_downward_test_data): Likewise.
48953 (ctanh_upward_test_data): Likewise.
48954 (erf_test_data): Likewise.
48955 (erfc_test_data): Likewise.
48956 (exp_test_data): Likewise.
48957 (exp_tonearest_test_data): Likewise.
48958 (exp_towardzero_test_data): Likewise.
48959 (exp_downward_test_data): Likewise.
48960 (exp_upward_test_data): Likewise.
48961 (exp10_test_data): Likewise.
48962 (exp2_test_data): Likewise.
48963 (expm1_test_data): Likewise.
48964 (fabs_test_data): Likewise.
48965 (fdim_test_data): Likewise.
48966 (finite_test_data): Likewise.
48967 (floor_test_data): Likewise.
48968 (fma_test_data): Likewise.
48969 (fma_towardzero_test_data): Likewise.
48970 (fma_downward_test_data): Likewise.
48971 (fma_upward_test_data): Likewise.
48972 (fmax_test_data): Likewise.
48973 (fmin_test_data): Likewise.
48974 (fmod_test_data): Likewise.
48975 (fpclassify_test_data): Likewise.
48976 (frexp_test_data): Likewise.
48977 (gamma_test_data): Likewise.
48978 (hypot_test_data): Likewise.
48979 (ilogb_test_data): Likewise.
48980 (isfinite_test_data): Likewise.
48981 (isgreater_test_data): Likewise.
48982 (isgreaterequal_test_data): Likewise.
48983 (isinf_test_data): Likewise.
48984 (isless_test_data): Likewise.
48985 (islessequal_test_data): Likewise.
48986 (islessgreater_test_data): Likewise.
48987 (isnan_test_data): Likewise.
48988 (isnormal_test_data): Likewise.
48989 (issignaling_test_data): Likewise.
48990 (isunordered_test_data): Likewise.
48991 (j0_test_data): Likewise.
48992 (j1_test_data): Likewise.
48993 (jn_test_data): Likewise.
48994 (ldexp_test_data): Likewise.
48995 (lgamma_test_data): Likewise.
48996 (lrint_test_data): Likewise.
48997 (lrint_tonearest_test_data): Likewise.
48998 (lrint_towardzero_test_data): Likewise.
48999 (lrint_downward_test_data): Likewise.
49000 (lrint_upward_test_data): Likewise.
49001 (llrint_test_data): Likewise.
49002 (llrint_tonearest_test_data): Likewise.
49003 (llrint_towardzero_test_data): Likewise.
49004 (llrint_downward_test_data): Likewise.
49005 (llrint_upward_test_data): Likewise.
49006 (log_test_data): Likewise.
49007 (log10_test_data): Likewise.
49008 (log1p_test_data): Likewise.
49009 (log2_test_data): Likewise.
49010 (logb_test_data): Likewise.
49011 (logb_downward_test_data): Likewise.
49012 (lround_test_data): Likewise.
49013 (llround_test_data): Likewise.
49014 (modf_test_data): Likewise.
49015 (nearbyint_test_data): Likewise.
49016 (nextafter_test_data): Likewise.
49017 (nexttoward_test_data): Likewise.
49018 (pow_test_data): Likewise.
49019 (pow_tonearest_test_data): Likewise.
49020 (pow_towardzero_test_data): Likewise.
49021 (pow_downward_test_data): Likewise.
49022 (pow_upward_test_data): Likewise.
49023 (remainder_test_data): Likewise.
49024 (remainder_tonearest_test_data): Likewise.
49025 (remainder_towardzero_test_data): Likewise.
49026 (remainder_downward_test_data): Likewise.
49027 (remainder_upward_test_data): Likewise.
49028 (remquo_test_data): Likewise.
49029 (rint_test_data): Likewise.
49030 (rint_tonearest_test_data): Likewise.
49031 (rint_towardzero_test_data): Likewise.
49032 (rint_downward_test_data): Likewise.
49033 (rint_upward_test_data): Likewise.
49034 (round_test_data): Likewise.
49035 (scalb_test_data): Likewise.
49036 (scalbn_test_data): Likewise.
49037 (scalbln_test_data): Likewise.
49038 (signbit_test_data): Likewise.
49039 (sin_test_data): Likewise.
49040 (sin_tonearest_test_data): Likewise.
49041 (sin_towardzero_test_data): Likewise.
49042 (sin_downward_test_data): Likewise.
49043 (sin_upward_test_data): Likewise.
49044 (sincos_test_data): Likewise.
49045 (sinh_test_data): Likewise.
49046 (sinh_tonearest_test_data): Likewise.
49047 (sinh_towardzero_test_data): Likewise.
49048 (sinh_downward_test_data): Likewise.
49049 (sinh_upward_test_data): Likewise.
49050 (sqrt_test_data): Likewise.
49051 (tan_test_data): Likewise.
49052 (tan_tonearest_test_data): Likewise.
49053 (tan_towardzero_test_data): Likewise.
49054 (tan_downward_test_data): Likewise.
49055 (tan_upward_test_data): Likewise.
49056 (tanh_test_data): Likewise.
49057 (tgamma_test_data): Likewise.
49058 (trunc_test_data): Likewise.
49059 (y0_test_data): Likewise.
49060 (y1_test_data): Likewise.
49061 (yn_test_data): Likewise.
49062 (significand_test_data): Likewise.
49063
49064 * math/gen-libm-test.pl (@functions): Remove variable.
49065 (generate_testfile): Don't handle START and END lines.
49066 * math/libm-test.inc (START): New macro.
49067 (END): Likewise.
49068 (END_COMPLEX): Likewise.
49069 (acos_test): Use END macro without arguments.
49070 (acos_test_tonearest): Likewise.
49071 (acos_test_towardzero): Likewise.
49072 (acos_test_downward): Likewise.
49073 (acos_test_upward): Likewise.
49074 (acosh_test): Likewise.
49075 (asin_test): Likewise.
49076 (asin_test_tonearest): Likewise.
49077 (asin_test_towardzero): Likewise.
49078 (asin_test_downward): Likewise.
49079 (asin_test_upward): Likewise.
49080 (asinh_test): Likewise.
49081 (atan_test): Likewise.
49082 (atanh_test): Likewise.
49083 (atan2_test): Likewise.
49084 (cabs_test): Likewise.
49085 (cacos_test): Use END_COMPLEX macro without arguments.
49086 (cacosh_test): Likewise.
49087 (carg_test): Use END macro without arguments.
49088 (casin_test): Use END_COMPLEX macro without arguments.
49089 (casinh_test): Likewise.
49090 (catan_test): Likewise.
49091 (catanh_test): Likewise.
49092 (cbrt_test): Use END macro without arguments.
49093 (ccos_test): Use END_COMPLEX macro without arguments.
49094 (ccosh_test): Likewise.
49095 (ceil_test): Use END macro without arguments.
49096 (cexp_test): Use END_COMPLEX macro without arguments.
49097 (cimag_test): Use END macro without arguments.
49098 (clog_test): Use END_COMPLEX macro without arguments.
49099 (clog10_test): Likewise.
49100 (conj_test): Likewise.
49101 (copysign_test): Use END macro without arguments.
49102 (cos_test): Likewise.
49103 (cos_test_tonearest): Likewise.
49104 (cos_test_towardzero): Likewise.
49105 (cos_test_downward): Likewise.
49106 (cos_test_upward): Likewise.
49107 (cosh_test): Likewise.
49108 (cosh_test_tonearest): Likewise.
49109 (cosh_test_towardzero): Likewise.
49110 (cosh_test_downward): Likewise.
49111 (cosh_test_upward): Likewise.
49112 (cpow_test): Use END_COMPLEX macro without arguments.
49113 (cproj_test): Likewise.
49114 (creal_test): Use END macro without arguments.
49115 (csin_test): Use END_COMPLEX macro without arguments.
49116 (csinh_test): Likewise.
49117 (csqrt_test): Likewise.
49118 (ctan_test): Likewise.
49119 (ctan_test_tonearest): Likewise.
49120 (ctan_test_towardzero): Likewise.
49121 (ctan_test_downward): Likewise.
49122 (ctan_test_upward): Likewise.
49123 (ctanh_test): Likewise.
49124 (ctanh_test_tonearest): Likewise.
49125 (ctanh_test_towardzero): Likewise.
49126 (ctanh_test_downward): Likewise.
49127 (ctanh_test_upward): Likewise.
49128 (erf_test): Use END macro without arguments.
49129 (erfc_test): Likewise.
49130 (exp_test): Likewise.
49131 (exp_test_tonearest): Likewise.
49132 (exp_test_towardzero): Likewise.
49133 (exp_test_downward): Likewise.
49134 (exp_test_upward): Likewise.
49135 (exp10_test): Likewise.
49136 (exp2_test): Likewise.
49137 (expm1_test): Likewise.
49138 (fabs_test): Likewise.
49139 (fdim_test): Likewise.
49140 (finite_test): Likewise.
49141 (floor_test): Likewise.
49142 (fma_test): Likewise.
49143 (fma_test_towardzero): Likewise.
49144 (fma_test_downward): Likewise.
49145 (fma_test_upward): Likewise.
49146 (fmax_test): Likewise.
49147 (fmin_test): Likewise.
49148 (fmod_test): Likewise.
49149 (fpclassify_test): Likewise.
49150 (frexp_test): Likewise.
49151 (gamma_test): Likewise.
49152 (hypot_test): Likewise.
49153 (ilogb_test): Likewise.
49154 (isfinite_test): Likewise.
49155 (isgreater_test): Likewise.
49156 (isgreaterequal_test): Likewise.
49157 (isinf_test): Likewise.
49158 (isless_test): Likewise.
49159 (islessequal_test): Likewise.
49160 (islessgreater_test): Likewise.
49161 (isnan_test): Likewise.
49162 (isnormal_test): Likewise.
49163 (issignaling_test): Likewise.
49164 (isunordered_test): Likewise.
49165 (j0_test): Likewise.
49166 (j1_test): Likewise.
49167 (jn_test): Likewise.
49168 (ldexp_test): Likewise.
49169 (lgamma_test): Likewise.
49170 (lrint_test): Likewise.
49171 (lrint_test_tonearest): Likewise.
49172 (lrint_test_towardzero): Likewise.
49173 (lrint_test_downward): Likewise.
49174 (lrint_test_upward): Likewise.
49175 (llrint_test): Likewise.
49176 (llrint_test_tonearest): Likewise.
49177 (llrint_test_towardzero): Likewise.
49178 (llrint_test_downward): Likewise.
49179 (llrint_test_upward): Likewise.
49180 (log_test): Likewise.
49181 (log10_test): Likewise.
49182 (log1p_test): Likewise.
49183 (log2_test): Likewise.
49184 (logb_test): Likewise.
49185 (logb_test_downward): Likewise.
49186 (lround_test): Likewise.
49187 (llround_test): Likewise.
49188 (modf_test): Likewise.
49189 (nearbyint_test): Likewise.
49190 (nextafter_test): Likewise.
49191 (nexttoward_test): Likewise.
49192 (pow_test): Likewise.
49193 (pow_test_tonearest): Likewise.
49194 (pow_test_towardzero): Likewise.
49195 (pow_test_downward): Likewise.
49196 (pow_test_upward): Likewise.
49197 (remainder_test): Likewise.
49198 (remainder_test_tonearest): Likewise.
49199 (remainder_test_towardzero): Likewise.
49200 (remainder_test_downward): Likewise.
49201 (remainder_test_upward): Likewise.
49202 (remquo_test): Likewise.
49203 (rint_test): Likewise.
49204 (rint_test_tonearest): Likewise.
49205 (rint_test_towardzero): Likewise.
49206 (rint_test_downward): Likewise.
49207 (rint_test_upward): Likewise.
49208 (round_test): Likewise.
49209 (scalb_test): Likewise.
49210 (scalbn_test): Likewise.
49211 (scalbln_test): Likewise.
49212 (signbit_test): Likewise.
49213 (sin_test): Likewise.
49214 (sin_test_tonearest): Likewise.
49215 (sin_test_towardzero): Likewise.
49216 (sin_test_downward): Likewise.
49217 (sin_test_upward): Likewise.
49218 (sincos_test): Likewise.
49219 (sinh_test): Likewise.
49220 (sinh_test_tonearest): Likewise.
49221 (sinh_test_towardzero): Likewise.
49222 (sinh_test_downward): Likewise.
49223 (sinh_test_upward): Likewise.
49224 (sqrt_test): Likewise.
49225 (tan_test): Likewise.
49226 (tan_test_tonearest): Likewise.
49227 (tan_test_towardzero): Likewise.
49228 (tan_test_downward): Likewise.
49229 (tan_test_upward): Likewise.
49230 (tanh_test): Likewise.
49231 (tgamma_test): Likewise.
49232 (trunc_test): Likewise.
49233 (y0_test): Likewise.
49234 (y1_test): Likewise.
49235 (yn_test): Likewise.
49236 (significand_test): Likewise.
49237
49238 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
49239
49240 [BZ #15381]
49241 * libio/genops.c (_IO_no_init): Initialize wide struct info.
49242
49243 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
49244
49245 [BZ #14894]
49246 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49247 __ppc_mdoio and __ppc_mdoom.
49248 * manual/platform.texi: Document new functions __ppc_yield,
49249 __ppc_mdoio and __ppc_mdoom.
49250
49251 2013-05-22 Carlos O'Donell <carlos@redhat.com>
49252
49253 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49254 (main): Mention "tls" pseudo-hwcap is legacy.
49255 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49256
49257 2013-05-22 Joseph Myers <joseph@codesourcery.com>
49258
49259 * math/gen-libm-test.pl (parse_args): Output only string of
49260 arguments as text for test name, not full call or descriptions of
49261 tests for extra outputs.
49262 (generate_testfile): Do not pass function name to parse_args.
49263 Generate this_func variable from START.
49264 * math/libm-test.inc (struct test_f_f_data): Rename test_name
49265 field to arg_str.
49266 (struct test_ff_f_data): Likewise.
49267 (test_ff_f_data_nexttoward): Likewise.
49268 (struct test_fi_f_data): Likewise.
49269 (struct test_fl_f_data): Likewise.
49270 (struct test_if_f_data): Likewise.
49271 (struct test_fff_f_data): Likewise.
49272 (struct test_c_f_data): Likewise.
49273 (struct test_f_f1_data): Likewise. Remove field extra_name.
49274 (struct test_fF_f1_data): Likewise.
49275 (struct test_ffI_f1_data): Likewise.
49276 (struct test_c_c_data): Rename test_name field to arg_str.
49277 (struct test_cc_c_data): Likewise.
49278 (struct test_f_i_data): Likewise.
49279 (struct test_ff_i_data): Likewise.
49280 (struct test_f_l_data): Likewise.
49281 (struct test_f_L_data): Likewise.
49282 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
49283 and extra2_name.
49284 (COMMON_TEST_SETUP): New macro.
49285 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49286 (COMMON_TEST_CLEANUP): Likewise.
49287 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49288 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
49289 macros.
49290 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49291 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
49292 macros.
49293 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49294 (RUN_TEST_fff_f): Take argument string. Call new setup and
49295 cleanup macros.
49296 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49297 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
49298 macros.
49299 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49300 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
49301 macros.
49302 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49303 (RUN_TEST_fF_f1): Take argument string. Call new setup and
49304 cleanup macros.
49305 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49306 (RUN_TEST_fI_f1): Take argument string. Call new setup and
49307 cleanup macros.
49308 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49309 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
49310 cleanup macros.
49311 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49312 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
49313 macros.
49314 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49315 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
49316 macros.
49317 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49318 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
49319 macros.
49320 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49321 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
49322 cleanup macros.
49323 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49324 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
49325 cleanup macros.
49326 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49327 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
49328 macros.
49329 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49330 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
49331 cleanup macros.
49332 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49333 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
49334 macros.
49335 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49336 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
49337 macros.
49338 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49339 (RUN_TEST_fFF_11): Take argument string. Call new setup and
49340 cleanup macros.
49341 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49342
49343 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
49344
49345 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49346 to _sifields.sigfault.
49347 (si_addr_lsb): Define new macro.
49348 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49349 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49350 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49351
49352 2013-05-03 Carlos O'Donell <carlos at redhat.com>
49353
49354 [BZ #15441]
49355 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49356 returns -1.
49357 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49358 null return -1.
49359 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49360 loading the domain.
49361
49362 2013-05-22 Joseph Myers <joseph@codesourcery.com>
49363
49364 * math/gen-libm-test.pl (parse_args): Do not include expected
49365 result in test name.
49366 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49368 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49369 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49370 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49372
49373 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49374
49375 * benchtests/Makefile: Sort function entries.
49376
49377 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49378 tanh, asinh, acosh, atanh.
49379 * benchtests/acos-inputs: New file.
49380 * benchtests/acosh-inputs: New file.
49381 * benchtests/asin-inputs: New file.
49382 * benchtests/asinh-inputs: New file.
49383 * benchtests/atanh-inputs: New file.
49384 * benchtests/cosh-inputs: New file.
49385 * benchtests/log-inputs: New file.
49386 * benchtests/sinh-inputs: New file.
49387 * benchtests/tanh-inputs: New file.
49388
49389 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
49390
49391 [BZ #15339]
49392 * posix/tst-getaddrinfo4.c: New test.
49393 * posix/Makefile (tests): Add it.
49394
49395 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
49396
49397 [BZ #15339]
49398 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49399 when no services were used.
49400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49401 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49402
49403 2013-05-21 Andreas Schwab <schwab@suse.de>
49404
49405 [BZ #15014]
49406 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49407 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49408 successful.
49409 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49410 redundant variable declarations and reallocation of buffer when
49411 parsing as IPv6 address. Always set NSS status when called from
49412 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
49413 buffer too small. Correct computation of needed size.
49414 * nss/Makefile (tests): Add test-digits-dots.
49415 * nss/test-digits-dots.c: New test.
49416
49417 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
49418
49419 * benchtests/Makefile: Remove instructions for adding
49420 benchmark tests.
49421 * benchtests/README: New file to explain how to execute and
49422 enhance the benchmark tests.
49423
49424 2013-05-21 Andreas Schwab <schwab@suse.de>
49425
49426 [BZ #15493]
49427 * setjmp/Makefile (tests): Add tst-sigsetjmp.
49428 * setjmp/tst-sigsetjmp.c: New test.
49429
49430 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
49431
49432 * sysdeps/x86_64/memset.S (memset): New implementation.
49433 (__bzero): Likewise.
49434 (__memset_tail): New function.
49435
49436 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
49437
49438 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49439 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49440 __memcpy_sse2_unaligned ifunc selection.
49441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49442 Add memcpy-sse2-unaligned.S.
49443 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49444 Add: __memcpy_sse2_unaligned.
49445
49446 2013-05-19 Joseph Myers <joseph@codesourcery.com>
49447
49448 [BZ #15490]
49449 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49450 math_force_eval before restoring floating-point envrionment.
49451 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49452 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49453 Likewise.
49454 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49455 <math_private.h>.
49456 (__nearbyintl): Use math_force_eval before restoring
49457 floating-point environment.
49458 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49459
49460 * math/gen-libm-test.pl (special_functions): Remove.
49461 (parse_args): Don't handle TEST_extra. Handle functions with no
49462 return value.
49463 * math/libm-test.inc (struct test_sincos_data): Replace with
49464 struct test_fFF_11_data.
49465 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49466 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49467 (sincos_test_data): Change element type to struct
49468 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
49469 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49470 RUN_TEST_LOOP_sincos.
49471 * math/README.libm-test: Don't mention special handling of
49472 individual functions.
49473 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49474 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49475 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49476 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49477 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49479
49480 * math/gen-libm-test.pl (get_variable): Remove function.
49481 (parse_args): Don't show pointer parameters to call in test
49482 names. Use "extra output N" in test names for extra outputs
49483 rather than naming variables.
49484
49485 2013-05-18 Joseph Myers <joseph@codesourcery.com>
49486
49487 [BZ #15488]
49488 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49489 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49490 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49491 double tests.
49492 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49493 disable.
49494 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49495 check_long_double.
49496
49497 * math/gen-libm-test.pl (@tests): Remove variable.
49498 ($count): Likewise.
49499 (new_test): Remove function.
49500 (show_exceptions): New function.
49501 (special_functions): Use show_exceptions instead of new_test.
49502 (parse_args): Likewise.
49503 (generate_testfile): Pass only function name in generated call to
49504 print_max_error or print_complex_max_error.
49505 (get_ulps): Do not handle complex tests specially.
49506 (output_test): Rename to ...
49507 (get_all_ulps_for_test): ... this. Return a string rather than
49508 printing to a file. Require ulps to be present.
49509 (output_ulps): Generate arrays rather than #defines.
49510 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49511 (struct ulp_data): New type.
49512 (BUILD_COMPLEX_ULP): Remove macro.
49513 (compare_ulp_data): New function.
49514 (find_ulps): Likewise.
49515 (find_test_ulps): Likewise.
49516 (find_function_ulps): Likewise.
49517 (find_complex_function_ulps): Likewise.
49518 (print_max_error): Determine allowed ulps using
49519 find_function_ulps.
49520 (print_complex_max_error): Determine allowed ulps using
49521 find_complex_function_ulps.
49522 (check_float_internal): Determine max ulps using find_test_ulps.
49523 (check_float): Do not take max_ulp parameter. Update call to
49524 check_float_internal.
49525 (check_complex): Likewise.
49526 (check_int): Do not take max_ulp parameter.
49527 (check_long): Likewise.
49528 (check_bool): Likewise.
49529 (check_longlong): Likewise.
49530 (struct test_f_f_data): Remove max_ulp field.
49531 (struct test_ff_f_data): Likewise.
49532 (struct test_ff_f_data_nexttoward): Likewise.
49533 (struct test_fi_f_data): Likewise.
49534 (struct test_fl_f_data): Likewise.
49535 (struct test_if_f_data): Likewise.
49536 (struct test_fff_f_data): Likewise.
49537 (struct test_c_f_data): Likewise.
49538 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49539 (struct test_fF_f1_data): Likewise.
49540 (struct test_ffI_f1_data): Likewise.
49541 (struct test_c_c_data): Remove max_ulp field.
49542 (struct test_cc_c_data): Likewise.
49543 (struct test_f_i_data): Likewise.
49544 (struct test_ff_i_data): Likewise.
49545 (struct test_f_l_data): Likewise.
49546 (struct test_f_L_data): Likewise.
49547 (struct test_sincos_data): Likewise.
49548 (RUN_TEST_f_f): Do not handle ulps.
49549 (RUN_TEST_LOOP_f_f): Likewise.
49550 (RUN_TEST_2_f): Likewise.
49551 (RUN_TEST_LOOP_2_f): Likewise.
49552 (RUN_TEST_fff_f): Likewise.
49553 (RUN_TEST_LOOP_fff_f): Likewise.
49554 (RUN_TEST_c_f): Likewise.
49555 (RUN_TEST_LOOP_c_f): Likewise.
49556 (RUN_TEST_f_f1): Likewise.
49557 (RUN_TEST_LOOP_f_f1): Likewise.
49558 (RUN_TEST_fF_f1): Likewise.
49559 (RUN_TEST_LOOP_fF_f1): Likewise.
49560 (RUN_TEST_fI_f1): Likewise.
49561 (RUN_TEST_LOOP_fI_f1): Likewise.
49562 (RUN_TEST_ffI_f1): Likewise.
49563 (RUN_TEST_LOOP_ffI_f1): Likewise.
49564 (RUN_TEST_c_c): Likewise.
49565 (RUN_TEST_LOOP_c_c): Likewise.
49566 (RUN_TEST_cc_c): Likewise.
49567 (RUN_TEST_LOOP_cc_c): Likewise.
49568 (RUN_TEST_f_i): Likewise.
49569 (RUN_TEST_LOOP_f_i): Likewise.
49570 (RUN_TEST_f_i_tg): Likewise.
49571 (RUN_TEST_LOOP_f_i_tg): Likewise.
49572 (RUN_TEST_ff_i_tg): Likewise.
49573 (RUN_TEST_LOOP_ff_i_tg): Likewise.
49574 (RUN_TEST_f_b): Likewise.
49575 (RUN_TEST_LOOP_f_b): Likewise.
49576 (RUN_TEST_f_b_tg): Likewise.
49577 (RUN_TEST_LOOP_f_b_tg): Likewise.
49578 (RUN_TEST_f_l): Likewise.
49579 (RUN_TEST_LOOP_f_l): Likewise.
49580 (RUN_TEST_f_L): Likewise.
49581 (RUN_TEST_LOOP_f_L): Likewise.
49582 (RUN_TEST_sincos): Likewise.
49583 (RUN_TEST_LOOP_sincos): Likewise.
49584
49585 2013-05-17 Joseph Myers <joseph@codesourcery.com>
49586
49587 [BZ #15480]
49588 [BZ #15485]
49589 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49590 main case of finite arguments, set rounding mode to FE_TONEAREST
49591 and discard exceptions.
49592 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49593 exceptions.
49594 (remainder_tonearest_test_data): New variable.
49595 (remainder_test_tonearest): New function.
49596 (remainder_towardzero_test_data): New variable.
49597 (remainder_test_towardzero): New function.
49598 (remainder_downward_test_data): New variable.
49599 (remainder_test_downward): New function.
49600 (remainder_upward_test_data): New variable.
49601 (remainder_test_upward): New function.
49602 (main): Call the new test functions.
49603
49604 * math/libm-test.inc (struct test_f_f1_data): Remove field
49605 extra_init.
49606 (struct test_fF_f1_data): Likewise.
49607 (struct test_ffI_f1_data): Likewise.
49608 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
49609 based on value of EXTRA_EXPECTED.
49610 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49611 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
49612 EXTRA_VAR based on value of EXTRA_EXPECTED.
49613 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49614 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
49615 EXTRA_VAR based on value of EXTRA_EXPECTED.
49616 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49617 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
49618 EXTRA_VAR based on value of EXTRA_EXPECTED.
49619 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49620 * math/gen-libm-test.pl (parse_args): Don't output initializers
49621 for extra output values.
49622
49623 * math/libm-test.inc (check_int): Expect result to be exactly
49624 equal to expected value and do not handle ulps.
49625 (check_long): Likewise.
49626 (check_longlong): Likewise.
49627
49628 * math/libm-test.inc (ceil_test_data): Test for "inexact"
49629 exceptions.
49630 (cimag_test_data): Likewise.
49631 (conj_test_data): Likewise.
49632 (copysign_test_data): Likewise.
49633 (cproj_test_data): Likewise.
49634 (creal_test_data): Likewise.
49635 (fabs_test_data): Likewise.
49636 (fdim_test_data): Likewise.
49637 (finite_test_data): Likewise.
49638 (floor_test_data): Likewise.
49639 (fmax_test_data): Likewise.
49640 (fmin_test_data): Likewise.
49641 (fmod_test_data): Likewise.
49642 (fpclassify_test_data): Likewise.
49643 (frexp_test_data): Likewise.
49644 (ilogb_test_data): Likewise.
49645 (isfinite_test_data): Likewise.
49646 (isgreater_test_data): Likewise.
49647 (isgreaterequal_test_data): Likewise.
49648 (isinf_test_data): Likewise.
49649 (isless_test_data): Likewise.
49650 (islessequal_test_data): Likewise.
49651 (islessgreater_test_data): Likewise.
49652 (isnan_test_data): Likewise.
49653 (isnormal_test_data): Likewise.
49654 (issignaling_test_data): Likewise.
49655 (isunordered_test_data): Likewise.
49656 (ldexp_test_data): Likewise.
49657 (lrint_test_data): Likewise.
49658 (lrint_test_data) [TEST_FLOAT]: Disable one test.
49659 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49660 (lrint_tonearest_test_data): Test for "inexact" exceptions.
49661 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49662 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49663 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49664 test input.
49665 (lrint_towardzero_test_data): Test for "inexact" exceptions.
49666 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49667 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49668 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49669 that test input.
49670 (lrint_downward_test_data): Test for "inexact" exceptions.
49671 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49672 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49673 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49674 test input.
49675 (lrint_upward_test_data): Test for "inexact" exceptions.
49676 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49677 test input.
49678 (llrint_test_data): Test for "inexact" exceptions.
49679 (llrint_test_data) [TEST_FLOAT]: Disable one test.
49680 (llrint_tonearest_test_data): Test for "inexact" exceptions.
49681 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49682 (llrint_towardzero_test_data): Test for "inexact" exceptions.
49683 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49684 (llrint_downward_test_data): Test for "inexact" exceptions.
49685 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49686 (llrint_upward_test_data): Test for "inexact" exceptions.
49687 (logb_test_data): Likewise.
49688 (logb_downward_test_data): Likewise.
49689 (nextafter_test_data): Likewise.
49690 (nexttoward_test_data): Likewise.
49691 (remainder_test_data): Likewise.
49692 (remquo_test_data): Likewise.
49693 (scalbn_test_data): Likewise.
49694 (scalbln_test_data): Likewise.
49695 (signbit_test_data): Likewise.
49696 (sqrt_test_data): Likewise.
49697 (significand_test_data): Likewise.
49698
49699 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
49700
49701 [BZ #15424]
49702 * benchtests/bench-modf.c (struct args): Mark arg0 as
49703 volatile.
49704 * scripts/bench.pl: Mark members of struct args as volatile.
49705
49706 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49707
49708 [BZ # 15497]
49709 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49710 negative infinity on POWER6 or lower.
49711 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49712
49713 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
49714
49715 [BZ #15442]
49716 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49717 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49718 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49719 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49720 (_FP_SETQNAN): New macro.
49721 (_FP_SETQNAN_SEMIRAW): Likewise.
49722 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49723 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49724 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49725 (FP_EXTEND): Use _FP_FRAC_SNANP.
49726 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49727 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49728 into account.
49729 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49730 New macro.
49731 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49732 Likewise.
49733
49734 2013-05-16 Joseph Myers <joseph@codesourcery.com>
49735
49736 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49737 with DIVIDE_BY_ZERO_EXCEPTION.
49738 (gamma_test_data): Likewise.
49739 (lgamma_test_data): Likewise.
49740 (log_test_data): Likewise.
49741 (log10_test_data): Likewise.
49742 (log2_test_data): Likewise.
49743 (tgamma_test_data): Likewise.
49744
49745 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49746 (acos_test_tonearest): Likewise.
49747 (acos_test_towardzero): Likewise.
49748 (acos_test_downward): Likewise.
49749 (acos_test_upward): Likewise.
49750 (acosh_test): Likewise.
49751 (asin_test): Likewise.
49752 (asin_test_tonearest): Likewise.
49753 (asin_test_towardzero): Likewise.
49754 (asin_test_downward): Likewise.
49755 (asin_test_upward): Likewise.
49756 (asinh_test): Likewise.
49757 (atan_test): Likewise.
49758 (atanh_test): Likewise.
49759 (atan2_test): Likewise.
49760 (cabs_test): Likewise.
49761 (cacos_test): Likewise.
49762 (cacosh_test): Likewise.
49763 (casin_test): Likewise.
49764 (casinh_test): Likewise.
49765 (catan_test): Likewise.
49766 (catanh_test): Likewise.
49767 (cbrt_test): Likewise.
49768 (ccos_test): Likewise.
49769 (ccosh_test): Likewise.
49770 (cexp_test): Likewise.
49771 (clog_test): Likewise.
49772 (clog10_test): Likewise.
49773 (cos_test): Likewise.
49774 (cos_test_tonearest): Likewise.
49775 (cos_test_towardzero): Likewise.
49776 (cos_test_downward): Likewise.
49777 (cos_test_upward): Likewise.
49778 (cosh_test): Likewise.
49779 (cosh_test_tonearest): Likewise.
49780 (cosh_test_towardzero): Likewise.
49781 (cosh_test_downward): Likewise.
49782 (cosh_test_upward): Likewise.
49783 (cpow_test): Likewise.
49784 (csin_test): Likewise.
49785 (csinh_test): Likewise.
49786 (csqrt_test): Likewise.
49787 (ctan_test): Likewise.
49788 (ctan_test_tonearest): Likewise.
49789 (ctan_test_towardzero): Likewise.
49790 (ctan_test_downward): Likewise.
49791 (ctan_test_upward): Likewise.
49792 (ctanh_test): Likewise.
49793 (ctanh_test_tonearest): Likewise.
49794 (ctanh_test_towardzero): Likewise.
49795 (ctanh_test_downward): Likewise.
49796 (ctanh_test_upward): Likewise.
49797 (erf_test): Likewise.
49798 (erfc_test): Likewise.
49799 (exp_test): Likewise.
49800 (exp_test_tonearest): Likewise.
49801 (exp_test_towardzero): Likewise.
49802 (exp_test_downward): Likewise.
49803 (exp_test_upward): Likewise.
49804 (exp10_test): Likewise.
49805 (exp2_test): Likewise.
49806 (expm1_test): Likewise.
49807 (fmod_test): Likewise.
49808 (gamma_test): Likewise.
49809 (hypot_test): Likewise.
49810 (j0_test): Likewise.
49811 (j1_test): Likewise.
49812 (jn_test): Likewise.
49813 (lgamma_test): Likewise.
49814 (log_test): Likewise.
49815 (log10_test): Likewise.
49816 (log1p_test): Likewise.
49817 (log2_test): Likewise.
49818 (logb_test_downward): Likewise.
49819 (pow_test): Likewise.
49820 (pow_test_tonearest): Likewise.
49821 (pow_test_towardzero): Likewise.
49822 (pow_test_downward): Likewise.
49823 (pow_test_upward): Likewise.
49824 (remainder_test): Likewise.
49825 (remquo_test): Likewise.
49826 (sin_test): Likewise.
49827 (sin_test_tonearest): Likewise.
49828 (sin_test_towardzero): Likewise.
49829 (sin_test_downward): Likewise.
49830 (sin_test_upward): Likewise.
49831 (sincos_test): Likewise.
49832 (sinh_test): Likewise.
49833 (sinh_test_tonearest): Likewise.
49834 (sinh_test_towardzero): Likewise.
49835 (sinh_test_downward): Likewise.
49836 (sinh_test_upward): Likewise.
49837 (sqrt_test): Likewise.
49838 (tan_test): Likewise.
49839 (tan_test_tonearest): Likewise.
49840 (tan_test_towardzero): Likewise.
49841 (tan_test_downward): Likewise.
49842 (tan_test_upward): Likewise.
49843 (tanh_test): Likewise.
49844 (tgamma_test): Likewise.
49845 (y0_test): Likewise.
49846 (y1_test): Likewise.
49847 (yn_test): Likewise.
49848
49849 * math/gen-libm-test.pl (adjust_arg): Remove function.
49850 (special_function): Remove argument $in_func. Only handle
49851 generating output for tables of tests, not inside functions.
49852 (parse_args): Likewise.
49853 (generate_testfile): Remove variable $in_func. Update call to
49854 parse_args.
49855 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49856 (MINUS_ZERO_INIT): Rename macro to minus_zero.
49857 (PLUS_INFTY_INIT): Rename macro to plus_infty.
49858 (MINUS_INFTY_INIT): Rename macro to minus_infty.
49859 (QNAN_VALUE_INIT): Rename macro to qnan_value.
49860 (MAX_VALUE_INIT): Rename macro to max_value.
49861 (MIN_VALUE_INIT): Rename macro to min_value.
49862 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49863 (plus_zero): Remove variable.
49864 (minus_zero): Likewise.
49865 (plus_infty): Likewise.
49866 (minus_infty): Likewise.
49867 (qnan_value): Likewise.
49868 (max_value): Likewise.
49869 (min_value): Likewise.
49870 (min_subnorm_value): Likewise.
49871
49872 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49873
49874 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49875 uint64_t or uint32_t usage.
49876 * crypt/sha256-block.c: Likewise.
49877 * crypt/sha256-crypt.c: Likewise.
49878 * crypt/sha256.c: Likewise.
49879 * crypt/sha512-block.c: Likewise.
49880 * crypt/sha512-crypt.c: Likewise.
49881 * crypt/sha512.c: Likewise.
49882 * debug/backtrace-tst.c: Likewise.
49883 * debug/pcprofiledump.c: Likewise.
49884 * elf/cache.c: Likewise.
49885 * elf/dl-cache.c: Likewise.
49886 * elf/dl-misc.c: Likewise.
49887 * elf/dl-profile.c: Likewise.
49888 * elf/dl-support.c: Likewise.
49889 * elf/ldconfig.c: Likewise.
49890 * elf/sprof.c: Likewise.
49891 * iconv/dummy-repertoire.c: Likewise.
49892 * iconv/iconv_charmap.c: Likewise.
49893 * iconv/skeleton.c: Likewise.
49894 * iconvdata/8bit-generic.c: Likewise.
49895 * iconvdata/cp737.h: Likewise.
49896 * iconvdata/cp775.h: Likewise.
49897 * iconvdata/ibm1008.h: Likewise.
49898 * iconvdata/ibm1025.h: Likewise.
49899 * iconvdata/ibm1046.h: Likewise.
49900 * iconvdata/ibm1097.h: Likewise.
49901 * iconvdata/ibm1112.h: Likewise.
49902 * iconvdata/ibm1122.h: Likewise.
49903 * iconvdata/ibm1123.h: Likewise.
49904 * iconvdata/ibm1124.h: Likewise.
49905 * iconvdata/ibm1129.h: Likewise.
49906 * iconvdata/ibm1130.h: Likewise.
49907 * iconvdata/ibm1132.h: Likewise.
49908 * iconvdata/ibm1133.h: Likewise.
49909 * iconvdata/ibm1137.h: Likewise.
49910 * iconvdata/ibm1140.h: Likewise.
49911 * iconvdata/ibm1141.h: Likewise.
49912 * iconvdata/ibm1142.h: Likewise.
49913 * iconvdata/ibm1143.h: Likewise.
49914 * iconvdata/ibm1144.h: Likewise.
49915 * iconvdata/ibm1145.h: Likewise.
49916 * iconvdata/ibm1146.h: Likewise.
49917 * iconvdata/ibm1147.h: Likewise.
49918 * iconvdata/ibm1148.h: Likewise.
49919 * iconvdata/ibm1149.h: Likewise.
49920 * iconvdata/ibm1153.h: Likewise.
49921 * iconvdata/ibm1154.h: Likewise.
49922 * iconvdata/ibm1155.h: Likewise.
49923 * iconvdata/ibm1156.h: Likewise.
49924 * iconvdata/ibm1157.h: Likewise.
49925 * iconvdata/ibm1158.h: Likewise.
49926 * iconvdata/ibm1160.h: Likewise.
49927 * iconvdata/ibm1161.h: Likewise.
49928 * iconvdata/ibm1162.h: Likewise.
49929 * iconvdata/ibm1163.h: Likewise.
49930 * iconvdata/ibm1164.h: Likewise.
49931 * iconvdata/ibm1166.h: Likewise.
49932 * iconvdata/ibm1167.h: Likewise.
49933 * iconvdata/ibm12712.h: Likewise.
49934 * iconvdata/ibm1390.h: Likewise.
49935 * iconvdata/ibm1399.h: Likewise.
49936 * iconvdata/ibm16804.h: Likewise.
49937 * iconvdata/ibm4517.h: Likewise.
49938 * iconvdata/ibm4899.h: Likewise.
49939 * iconvdata/ibm4909.h: Likewise.
49940 * iconvdata/ibm4971.h: Likewise.
49941 * iconvdata/ibm5347.h: Likewise.
49942 * iconvdata/ibm803.h: Likewise.
49943 * iconvdata/ibm856.h: Likewise.
49944 * iconvdata/ibm901.h: Likewise.
49945 * iconvdata/ibm902.h: Likewise.
49946 * iconvdata/ibm9030.h: Likewise.
49947 * iconvdata/ibm9066.h: Likewise.
49948 * iconvdata/ibm921.h: Likewise.
49949 * iconvdata/ibm922.h: Likewise.
49950 * iconvdata/ibm9448.h: Likewise.
49951 * iconvdata/isiri-3342.h: Likewise.
49952 * iconvdata/jis0201.h: Likewise.
49953 * include/link.h: Likewise.
49954 * include/netdb.h: Likewise.
49955 * inet/check_native.c: Likewise.
49956 * inet/check_pf.c: Likewise.
49957 * inet/getipv4sourcefilter.c: Likewise.
49958 * inet/getnameinfo.c: Likewise.
49959 * inet/getsourcefilter.c: Likewise.
49960 * inet/htonl.c: Likewise.
49961 * inet/setipv4sourcefilter.c: Likewise.
49962 * inet/setsourcefilter.c: Likewise.
49963 * inet/test-inet6_opt.c: Likewise.
49964 * inet/tst-network.c: Likewise.
49965 * locale/C-collate.c: Likewise.
49966 * locale/C-ctype.c: Likewise.
49967 * locale/C-time.c: Likewise.
49968 * locale/C-translit.h: Likewise.
49969 * locale/loadarchive.c: Likewise.
49970 * locale/programs/3level.h: Likewise.
49971 * locale/programs/charmap.c: Likewise.
49972 * locale/programs/charmap.h: Likewise.
49973 * locale/programs/ld-address.c: Likewise.
49974 * locale/programs/ld-collate.c: Likewise.
49975 * locale/programs/ld-ctype.c: Likewise.
49976 * locale/programs/ld-identification.c: Likewise.
49977 * locale/programs/ld-measurement.c: Likewise.
49978 * locale/programs/ld-messages.c: Likewise.
49979 * locale/programs/ld-monetary.c: Likewise.
49980 * locale/programs/ld-name.c: Likewise.
49981 * locale/programs/ld-numeric.c: Likewise.
49982 * locale/programs/ld-paper.c: Likewise.
49983 * locale/programs/ld-telephone.c: Likewise.
49984 * locale/programs/ld-time.c: Likewise.
49985 * locale/programs/linereader.c: Likewise.
49986 * locale/programs/locale.c: Likewise.
49987 * locale/programs/locarchive.c: Likewise.
49988 * locale/programs/locfile.h: Likewise.
49989 * locale/programs/repertoire.c: Likewise.
49990 * locale/programs/simple-hash.c: Likewise.
49991 * locale/programs/simple-hash.h: Likewise.
49992 * malloc/memusage.c: Likewise.
49993 * malloc/memusagestat.c: Likewise.
49994 * nis/nis_defaults.c: Likewise.
49995 * nis/nis_hash.c: Likewise.
49996 * nis/nis_print.c: Likewise.
49997 * nis/nis_xdr.c: Likewise.
49998 * nscd/connections.c: Likewise.
49999 * nscd/hstcache.c: Likewise.
50000 * nscd/nscd_gethst_r.c: Likewise.
50001 * nscd/nscd_getserv_r.c: Likewise.
50002 * nscd/nscd_helper.c: Likewise.
50003 * nscd/servicescache.c: Likewise.
50004 * nss/makedb.c: Likewise.
50005 * nss/nss_db/db-XXX.c: Likewise.
50006 * nss/nss_db/db-initgroups.c: Likewise.
50007 * nss/nss_db/db-netgrp.c: Likewise.
50008 * nss/nss_files/files-network.c: Likewise.
50009 * nss/nss_files/files-parse.c: Likewise.
50010 * posix/bug-regex5.c: Likewise.
50011 * posix/fnmatch_loop.c: Likewise.
50012 * posix/regcomp.c: Likewise.
50013 * posix/regexec.c: Likewise.
50014 * posix/tst-rfc3484-2.c: Likewise.
50015 * posix/tst-rfc3484-3.c: Likewise.
50016 * posix/tst-rfc3484.c: Likewise.
50017 * resolv/nss_dns/dns-canon.c: Likewise.
50018 * resolv/nss_dns/dns-network.c: Likewise.
50019 * resolv/res_init.c: Likewise.
50020 * resolv/res_mkquery.c: Likewise.
50021 * resolv/tst-aton.c: Likewise.
50022 * stdlib/cxa_atexit.c: Likewise.
50023 * stdlib/cxa_finalize.c: Likewise.
50024 * stdlib/gen-fpioconst.c: Likewise.
50025 * stdlib/strtol_l.c: Likewise.
50026 * string/tst-endian.c: Likewise.
50027 * sunrpc/auth_des.c: Likewise.
50028 * sunrpc/clnt_udp.c: Likewise.
50029 * sunrpc/rtime.c: Likewise.
50030 * sunrpc/svcauth_des.c: Likewise.
50031 * sunrpc/xdr.c: Likewise.
50032 * sunrpc/xdr_intXX_t.c: Likewise.
50033 * sunrpc/xdr_rec.c: Likewise.
50034 * sysdeps/generic/ldconfig.h: Likewise.
50035 * sysdeps/generic/ldsodefs.h: Likewise.
50036 * sysdeps/generic/memusage.h: Likewise.
50037 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50038 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50039 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50040 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50041 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50043 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50044 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50045 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50047 * sysdeps/posix/getaddrinfo.c: Likewise.
50048 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50049 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50050 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50051 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50052 * sysdeps/powerpc/test-gettimebase.c: Likewise.
50053 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50054 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50055 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50056 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50057 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50058 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50059 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50060 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50061 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50062 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50063 * sysdeps/x86_64/dl-tls.h: Likewise.
50064 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50065 * time/alt_digit.c: Likewise.
50066 * time/era.c: Likewise.
50067 * wcsmbs/tst-c16c32-1.c: Likewise.
50068
50069 2013-05-16 Joseph Myers <joseph@codesourcery.com>
50070
50071 * math/libm-test.inc (struct test_sincos_data): New type.
50072 (RUN_TEST_LOOP_sincos): New macro.
50073 (sincos_test_data): New variable.
50074 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50075
50076 2013-05-16 Richard Henderson <rth@redhat.com>
50077
50078 * math/atest-exp2.c (LIMB64): New macro.
50079 (CONSTSZ): New macro.
50080 (mp_exp1, mp_exp_m1, mp_log2): New variables.
50081 (hexdig): Move ...
50082 (print_mpn_fp): ... to function scope.
50083 (read_mpn_hex): Remove.
50084 (get_log2): Remove.
50085 (exp2_mpn): Use mp_log2.
50086 (main): Use mp_exp1.
50087
50088 2013-05-16 Joseph Myers <joseph@codesourcery.com>
50089
50090 * math/libm-test.inc: Remove comment about not testing "inexact"
50091 exceptions.
50092 (INEXACT_EXCEPTION): New macro.
50093 (NO_INEXACT_EXCEPTION): Likewise.
50094 (INVALID_EXCEPTION_OK): Update value.
50095 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50096 (OVERFLOW_EXCEPTION_OK): Likewise.
50097 (UNDERFLOW_EXCEPTION_OK): Likewise.
50098 (IGNORE_ZERO_INF_SIGN): Likewise.
50099 (ERRNO_UNCHANGED): Likewise.
50100 (ERRNO_EDOM): Likewise.
50101 (ERRNO_ERANGE): Likewise.
50102 (test_exceptions): Handle testing "inexact" exceptions.
50103 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50104 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50105 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50106 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50107 INEXACT_EXCEPTION.
50108 (rint_towardzero_test_data): Likewise.
50109 (rint_downward_test_data): Likewise.
50110 (rint_upward_test_data): Likewise.
50111
50112 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50113 with OVERFLOW_EXCEPTION.
50114 (exp10_test_data): Likewise.
50115 (exp2_test_data): Likewise.
50116 (expm1_test_data): Likewise.
50117 (lgamma_test_data): Likewise.
50118 (pow_test_data): Likewise.
50119 (tgamma_test_data): Likewise.
50120 (yn_test_data): Remove duplicate test of overflow.
50121
50122 * math/libm-test.inc (struct test_cc_c_data): New type.
50123 (RUN_TEST_LOOP_cc_c): New macro.
50124 (cpow_test_data): New variable.
50125 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50126
50127 * math/libm-test.inc (struct test_f_L_data): New type.
50128 (RUN_TEST_LOOP_f_L): New macro.
50129 (llrint_test_data): New variable.
50130 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50131 (llrint_tonearest_test_data): New variable.
50132 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50133 (llrint_towardzero_test_data): New variable.
50134 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50135 (llrint_downward_test_data): New variable.
50136 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50137 (llrint_upward_test_data): New variable.
50138 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50139 (llround_test_data): New variable.
50140 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50141
50142 2013-05-13 Peter Collingbourne <pcc@google.com>
50143
50144 * math/atest-exp2.c (get_log2): Remove const attribute.
50145
50146 2013-05-15 Joseph Myers <joseph@codesourcery.com>
50147
50148 * math/libm-test.inc (struct test_f_l_data): New type.
50149 (RUN_TEST_LOOP_f_l): New macro.
50150 (lrint_test_data): New variable.
50151 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50152 (lrint_tonearest_test_data): New variable.
50153 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50154 (lrint_towardzero_test_data): New variable.
50155 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50156 (lrint_downward_test_data): New variable.
50157 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50158 (lrint_upward_test_data): New variable.
50159 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50160 (lround_test_data): New variable.
50161 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50162
50163 2013-05-15 Peter Collingbourne <pcc@google.com>
50164
50165 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50166 (EXTRACT_WORDS64) Use where appropriate.
50167 (INSERT_WORDS64) Likewise.
50168
50169 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50170 constraints with x constraints.
50171 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50172
50173 * malloc/obstack.c (_obstack_compat): Add initializer.
50174
50175 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
50176
50177 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50178 si_trapno and add si_addr_lsb to _sifields.sigfault.
50179 (si_trapno): Remove macro.
50180 (si_addr_lsb): Define new macro.
50181 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50182
50183 2013-05-15 Joseph Myers <joseph@codesourcery.com>
50184
50185 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50186 instead of TEST_f_l.
50187 (llrint_test_tonearest): Likewise.
50188 (llrint_test_towardzero): Likewise.
50189 (llrint_test_downward): Likewise.
50190 (llrint_test_upward): Likewise.
50191 (llround_test): Likewise.
50192
50193 * math/libm-test.inc (struct test_f_i_data): Add comment.
50194 (RUN_TEST_LOOP_f_b): New macro.
50195 (RUN_TEST_LOOP_f_b_tg): Likewise.
50196 (finite_test_data): New variable.
50197 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50198 (isfinite_test_data): New variable.
50199 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50200 (isinf_test_data): New variable.
50201 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50202 (isnan_test_data): New variable.
50203 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50204 (isnormal_test_data): New variable.
50205 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50206 (issignaling_test_data): New variable.
50207 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50208 (signbit_test_data): New variable.
50209 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50210
50211 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50212 with INVALID_EXCEPTION.
50213 (acosh_test_data): Likewise.
50214 (asin_test_data): Likewise.
50215 (atanh_test_data): Likewise.
50216 (fmod_test_data): Likewise.
50217 (log_test_data): Likewise.
50218 (log10_test_data): Likewise.
50219 (log2_test_data): Likewise.
50220 (pow_test_data): Likewise.
50221 (sqrt_test_data): Likewise.
50222 (y0_test_data): Likewise.
50223 (y1_test_data): Likewise.
50224 (yn_test_data): Likewise.
50225
50226 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50227 function contents.
50228
50229 * math/libm-test.inc (struct test_ff_i_data): New type.
50230 (RUN_TEST_LOOP_ff_i_tg): New macro.
50231 (isgreater_test_data): New variable.
50232 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50233 (isgreaterequal_test_data): New variable.
50234 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50235 (isless_test_data): New variable.
50236 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50237 (islessequal_test_data): New variable.
50238 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50239 (islessgreater_test_data): New variable.
50240 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50241 (isunordered_test_data): New variable.
50242 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50243
50244 2013-05-14 David S. Miller <davem@davemloft.net>
50245
50246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50247
50248 2013-05-14 Joseph Myers <joseph@codesourcery.com>
50249
50250 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50251
50252 * math/libm-test.inc (struct test_fF_f1_data): Change type of
50253 extra_test to int.
50254 (struct test_f_i_data): Change type of max_ulp to int.
50255
50256 * math/libm-test.inc (test_ffI_f1_data): New type.
50257 (RUN_TEST_LOOP_ffI_f1): New macro.
50258 (remquo_test_data): New variable.
50259 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50260
50261 * setjmp/tst-setjmp-fp.c: New file.
50262 * setjmp/Makefile (tests): Add tst-setjmp-fp.
50263 (link-libm): New variable.
50264 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50265
50266 * math/libm-test.inc (struct test_f_i_data): New type.
50267 (RUN_TEST_LOOP_f_i): New macro.
50268 (RUN_TEST_LOOP_f_i_tg): Likewise.
50269 (fpclassify_test_data): New variable.
50270 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50271 (ilogb_test_data): New variable.
50272 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50273
50274 * math/libm-test.inc (scalbln_test): Correct function name in END
50275 call.
50276
50277 * math/libm-test.inc (struct test_f_f1_data): Add comment.
50278 (RUN_TEST_LOOP_fI_f1): New macro.
50279 (frexp_test_data): New variable.
50280 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50281
50282 * math/libm-test.inc (struct test_fF_f1_data): New type.
50283 (RUN_TEST_LOOP_fF_f1): New macro.
50284 (modf_test_data): New variable.
50285 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50286
50287 * math/libm-test.inc (struct test_f_f1_data): New type.
50288 (RUN_TEST_LOOP_f_f1): New macro.
50289 (gamma_test_data): New variable.
50290 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50291 (lgamma_test_data): New variable.
50292 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50293
50294 2013-05-13 Carlos O'Donell <carlos@redhat.com>
50295
50296 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50297 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50298 (main): Comment "tls" pseudo-hwcap.
50299
50300 2013-05-13 Joseph Myers <joseph@codesourcery.com>
50301
50302 * math/libm-test.inc (struct test_fl_f_data): New type.
50303 (RUN_TEST_LOOP_fl_f): New variable.
50304 (scalbln_test_data): New variable.
50305 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50306
50307 * math/libm-test.inc (struct test_fi_f_data): New type.
50308 (RUN_TEST_LOOP_fi_f): New macro.
50309 (ldexp_test_data): New variable.
50310 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50311 (scalbn_test_data): New variable.
50312 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50313
50314 * math/libm-test.inc (struct test_c_f_data): New type.
50315 (RUN_TEST_LOOP_c_f): New macro.
50316 (cabs_test_data): New variable.
50317 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50318 (carg_test_data): New variable.
50319 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50320 (cimag_test_data): New variable.
50321 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50322 (creal_test_data): New variable.
50323 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50324
50325 * math/libm-test.inc (struct test_if_f_data): New type.
50326 (RUN_TEST_LOOP_if_f): New macro.
50327 (jn_test_data): New variable.
50328 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50329 (yn_test_data): New variable.
50330 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50331
50332 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50333
50334 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50335
50336 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50337 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50338
50339 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
50340
50341 * benchtests/Makefile (CPPFLAGS-nonlib): Add
50342 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50343 (bench-deps): Add bench-timing.h.
50344 * benchtests-bench-skeleton.c: Include bench-timing.h.
50345 (main): Use TIMING_* macros instead of clock_gettime.
50346 * benchtests/bench-timing.h: New file.
50347
50348 [BZ #14582]
50349 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50350 Renamed from _LIB_VERSION.
50351 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50352
50353 2013-05-12 Joseph Myers <joseph@codesourcery.com>
50354
50355 * math/libm-test.inc (struct test_fff_f_data): New type.
50356 (RUN_TEST_LOOP_fff_f): New macro.
50357 (fma_test_data): New variable.
50358 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50359 (fma_towardzero_test_data): New variable.
50360 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50361 (fma_downward_test_data): New variable.
50362 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50363 (fma_upward_test_data): New variable.
50364 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50365
50366 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50367 (struct test_c_c_data): New type.
50368 (RUN_TEST_LOOP_c_c): New macro.
50369 (cacos_test_data): New variable.
50370 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50371 (cacosh_test_data): New variable.
50372 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50373 (casin_test_data): New variable.
50374 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50375 (casinh_test_data): New variable.
50376 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50377 (catan_test_data): New variable.
50378 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50379 (catanh_test_data): New variable.
50380 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50381 (ccos_test_data): New variable.
50382 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50383 (ccosh_test_data): New variable.
50384 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50385 (cexp_test_data): New variable.
50386 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50387 (clog_test_data): New variable.
50388 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50389 (clog10_test_data): New variable.
50390 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50391 (conj_test_data): New variable.
50392 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50393 (cproj_test_data): New variable.
50394 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50395 (csin_test_data): New variable.
50396 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50397 (csinh_test_data): New variable.
50398 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50399 (csqrt_test_data): New variable.
50400 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50401 (ctan_test_data): New variable.
50402 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50403 (ctan_tonearest_test_data): New variable.
50404 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50405 (ctan_towardzero_test_data): New variable.
50406 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50407 (ctan_downward_test_data): New variable.
50408 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50409 (ctan_upward_test_data): New variable.
50410 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50411 (ctanh_test_data): New variable.
50412 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50413 (ctanh_tonearest_test_data): New variable.
50414 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50415 (ctanh_towardzero_test_data): New variable.
50416 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50417 (ctanh_downward_test_data): New variable.
50418 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50419 (ctanh_upward_test_data): New variable.
50420 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50421 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50422 of BUILD_COMPLEX.
50423
50424 * math/libm-test.inc (struct test_ff_f_data): New type.
50425 (struct test_ff_f_data_nexttoward): Likewise.
50426 (RUN_TEST_LOOP_2_f): New macro.
50427 (RUN_TEST_LOOP_ff_f): Likewise.
50428 (atan2_test_data): New variable.
50429 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50430 (copysign_test_data): New variable.
50431 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50432 (fdim_test_data): New variable.
50433 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50434 (fmax_test_data): New variable.
50435 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50436 (fmin_test_data): New variable.
50437 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50438 (fmod_test_data): New variable.
50439 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50440 (hypot_test_data): New variable.
50441 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50442 (nextafter_test_data): New variable.
50443 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50444 (nexttoward_test_data): New variable.
50445 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50446 (pow_test_data): New variable.
50447 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50448 (pow_tonearest_test_data): New variable.
50449 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50450 (pow_towardzero_test_data): New variable.
50451 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50452 (pow_downward_test_data): New variable.
50453 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50454 (pow_upward_test_data): New variable.
50455 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50456 (remainder_test_data): New variable.
50457 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50458 (scalb_test_data): New variable.
50459 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50460 * sysdeps/i386/fpu/libm-test-ulps: Update.
50461
50462 2013-05-11 Joseph Myers <joseph@codesourcery.com>
50463
50464 * math/libm-test.inc (fma_test): Use max_value instead of local
50465 variable fltmax.
50466 (nextafter_test): Likewise.
50467
50468 * math/libm-test.inc (acos_towardzero_test_data): New variable.
50469 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50470 (acos_downward_test_data): New variable.
50471 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50472 (acos_upward_test_data): New variable.
50473 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50474 (acosh_test_data): New variable.
50475 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50476 (asin_test_data): New variable.
50477 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50478 (asin_tonearest_test_data): New variable.
50479 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50480 (asin_towardzero_test_data): New variable.
50481 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50482 (asin_downward_test_data): New variable.
50483 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50484 (asin_upward_test_data): New variable.
50485 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50486 (asinh_test_data): New variable.
50487 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50488 (atan_test_data): New variable.
50489 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50490 (atanh_test_data): New variable.
50491 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50492 (cbrt_test_data): New variable.
50493 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50494 (ceil_test_data): New variable.
50495 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50496 (cos_test_data): New variable.
50497 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50498 (cos_tonearest_test_data): New variable.
50499 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50500 (cos_towardzero_test_data): New variable.
50501 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50502 (cos_downward_test_data): New variable.
50503 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50504 (cos_upward_test_data): New variable.
50505 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50506 (cosh_test_data): New variable.
50507 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50508 (cosh_tonearest_test_data): New variable.
50509 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50510 (cosh_towardzero_test_data): New variable.
50511 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50512 (cosh_downward_test_data): New variable.
50513 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50514 (cosh_upward_test_data): New variable.
50515 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50516 (erf_test_data): New variable.
50517 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50518 (erfc_test_data): New variable.
50519 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50520 (exp_test_data): New variable.
50521 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50522 (exp_tonearest_test_data): New variable.
50523 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50524 (exp_towardzero_test_data): New variable.
50525 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50526 (exp_downward_test_data): New variable.
50527 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50528 (exp_upward_test_data): New variable.
50529 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50530 (exp10_test_data): New variable.
50531 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50532 (exp2_test_data): New variable.
50533 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50534 (expm1_test_data): New variable.
50535 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50536 (fabs_test_data): New variable.
50537 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50538 (floor_test_data): New variable.
50539 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50540 (j0_test_data): New variable.
50541 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50542 (j1_test_data): New variable.
50543 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50544 (log_test_data): New variable.
50545 (log_test): Run tests with RUN_TEST_LOOP_f_f.
50546 (log10_test_data): New variable.
50547 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50548 (log1p_test_data): New variable.
50549 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50550 (log2_test_data): New variable.
50551 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50552 (logb_test_data): New variable.
50553 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50554 (logb_downward_test_data): New variable.
50555 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50556 (nearbyint_test_data): New variable.
50557 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50558 (rint_test_data): New variable.
50559 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50560 (rint_tonearest_test_data): New variable.
50561 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50562 (rint_towardzero_test_data): New variable.
50563 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50564 (rint_downward_test_data): New variable.
50565 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50566 (rint_upward_test_data): New variable.
50567 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50568 (round_test_data): New variable.
50569 (round_test): Run tests with RUN_TEST_LOOP_f_f.
50570 (sin_test_data): New variable.
50571 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50572 (sin_tonearest_test_data): New variable.
50573 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50574 (sin_towardzero_test_data): New variable.
50575 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50576 (sin_downward_test_data): New variable.
50577 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50578 (sin_upward_test_data): New variable.
50579 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50580 (sinh_test_data): New variable.
50581 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50582 (sinh_tonearest_test_data): New variable.
50583 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50584 (sinh_towardzero_test_data): New variable.
50585 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50586 (sinh_downward_test_data): New variable.
50587 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50588 (sinh_upward_test_data): New variable.
50589 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50590 (sqrt_test_data): New variable.
50591 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50592 (tan_test_data): New variable.
50593 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50594 (tan_tonearest_test_data): New variable.
50595 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50596 (tan_towardzero_test_data): New variable.
50597 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50598 (tan_downward_test_data): New variable.
50599 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50600 (tan_upward_test_data): New variable.
50601 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50602 (tanh_test_data): New variable.
50603 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50604 (tgamma_test_data): New variable.
50605 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50606 (trunc_test_data): New variable.
50607 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50608 (y0_test_data): New variable.
50609 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50610 (y1_test_data): New variable.
50611 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50612 (significand_test_data): New variable.
50613 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50614
50615 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
50616
50617 [BZ #12387]
50618 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50619
50620 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
50621
50622 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50623
50624 2013-05-10 Andreas Jaeger <aj@suse.de>
50625
50626 [BZ #15448]
50627 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50628 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50629
50630 2013-05-10 Joseph Myers <joseph@codesourcery.com>
50631
50632 * math/gen-libm-test.pl (adjust_arg): New function.
50633 (special_functions): Handle generating output in both functions
50634 and arrays.
50635 (parse_args): Likewise.
50636 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
50637 $in_func argument to parse_args.
50638 * math/libm-test.inc (struct test_f_f_data): New type.
50639 (IF_ROUND_INIT_): New macro.
50640 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50641 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50642 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50643 (IF_ROUND_INIT_FE_UPWARD): Likewise.
50644 (ROUND_RESTORE_): Likewise.
50645 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50646 (ROUND_RESTORE_FE_TONEAREST): Likewise.
50647 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50648 (ROUND_RESTORE_FE_UPWARD): Likewise.
50649 (RUN_TEST_LOOP_f_f): New macro.
50650 (acos_test_data): New variable.
50651 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50652 (acos_tonearest_test_data): New variable.
50653 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50654
50655 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50656
50657 * benchtests/bench-skeleton.c (startup): Fix coding style.
50658
50659 2013-05-10 Joseph Myers <joseph@codesourcery.com>
50660
50661 [BZ #6809]
50662 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50663 negative infinity argument.
50664 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50665 negative infinity argument.
50666 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50667 negative infinity argument.
50668 * math/libm-test.inc (tgamma_test): Expect errno to be set for
50669 domain errors.
50670
50671 2013-05-10 Florian Weimer <fweimer@redhat.com>
50672
50673 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50674 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50675 * iconv/iconv_prog.c (main): Likewise.
50676 * locale/programs/charmap-dir.c (charmap_readdir)
50677 (fopen_uncompressed): Likewise.
50678 * locale/programs/locfile.c (siblings_uncached)
50679 (write_locale_data): Use lstat64 instead of lstat.
50680 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50681 stat.
50682
50683 2013-05-10 Andreas Jaeger <aj@suse.de>
50684
50685 [BZ #15395]
50686 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50687 localization.
50688 Include <locale.h>.
50689
50690 2013-05-09 Carlos O'Donell <carlos@redhat.com>
50691
50692 * elf/dl-close.c (_dl_close_worker): Add comments.
50693
50694 2013-05-09 Joseph Myers <joseph@codesourcery.com>
50695
50696 [BZ #15359]
50697 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50698 high part of pi/2.
50699 (__ieee754_rem_pio2l): Update comments.
50700
50701 [BZ #15429]
50702 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50703 high part of pi/2.
50704 (__ieee754_rem_pio2l): Update comments.
50705
50706 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50707 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50708
50709 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50710 M_PI_4l.
50711
50712 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50713 (M_PI_34_LOG10El): Likewise.
50714 (M_PI2_LOG10El): Likewise.
50715 (M_PI4_LOG10El): Likewise.
50716 (M_PI_LOG10El): Likewise.
50717
50718 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50719
50720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50721
50722 2013-05-08 Joseph Myers <joseph@codesourcery.com>
50723
50724 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50725 (MINUS_ZERO_INIT): Likewise.
50726 (PLUS_INFTY_INIT): Likewise.
50727 (MINUS_INFTY_INIT): Likewise.
50728 (QNAN_VALUE_INIT): Likewise.
50729 (MAX_VALUE_INIT): Likewise.
50730 (MIN_VALUE_INIT): Likewise.
50731 (MIN_SUBNORM_VALUE_INIT): Likewise.
50732 (plus_zero): Initialize with PLUS_ZERO_INIT.
50733 (minus_zero): Initialize with MINUS_ZERO_INIT.
50734 (plus_infty): Initialize with PLUS_INFTY_INIT.
50735 (minus_infty): Initialize with MINUS_INFTY_INIT.
50736 (qnan_value): Initialize with QNAN_VALUE_INIT.
50737 (max_value): Initialize with MAX_VALUE_INIT.
50738 (min_value): Initialize with MIN_VALUE_INIT.
50739 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50740
50741 * math/libm-test.inc (RUN_TEST_if_f): New macro.
50742 (jn_test): Use TEST_if_f instead of TEST_ff_f.
50743 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50744 (yn_test): Use TEST_if_f instead of TEST_ff_f.
50745
50746 * math/libm-test.inc (RUN_TEST_f_f): New macro.
50747 (RUN_TEST_2_f): Likewise.
50748 (RUN_TEST_ff_f): Likewise.
50749 (RUN_TEST_fi_f): Likewise.
50750 (RUN_TEST_fl_f): Likewise.
50751 (RUN_TEST_fff_f): Likewise.
50752 (RUN_TEST_c_f): Likewise.
50753 (RUN_TEST_f_f1): Likewise.
50754 (RUN_TEST_fF_f1): Likewise.
50755 (RUN_TEST_fI_f1): Likewise.
50756 (RUN_TEST_ffI_f1): Likewise.
50757 (RUN_TEST_c_c): Likewise.
50758 (RUN_TEST_cc_c): Likewise.
50759 (RUN_TEST_f_i): Likewise.
50760 (RUN_TEST_f_i_tg): Likewise.
50761 (RUN_TEST_ff_i_tg): Likewise.
50762 (RUN_TEST_f_b): Likewise.
50763 (RUN_TEST_f_b_tg): Likewise.
50764 (RUN_TEST_f_l): Likewise.
50765 (RUN_TEST_f_L): Likewise.
50766 (RUN_TEST_sincos): Likewise.
50767 * math/gen-libm-test.pl (new_test): Take new argument to indicate
50768 whether to show exceptions. Do not include ");\n" in return
50769 value.
50770 (special_functions): Output call to RUN_TEST_sincos instead of
50771 check_float calls. Update calls to new_test.
50772 (parse_args): Output call to single RUN_TEST_* macro instead of
50773 check_* calls and other assignments. Update calls to new_test.
50774
50775 [BZ #2546]
50776 [BZ #2560]
50777 [BZ #5159]
50778 [BZ #15426]
50779 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
50780 input to result for tgamma overflow.
50781 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
50782 (gamma_coeff): New variable.
50783 (NCOEFF): New macro.
50784 (gamma_positive): New function.
50785 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
50786 underflow here. Use gamma_positive instead of exp (lgamma) for
50787 other arguments.
50788 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
50789 (gamma_coeff): New variable.
50790 (NCOEFF): New macro.
50791 (gammaf_positive): New function.
50792 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50793 underflow here. Use gamma_positive instead of exp (lgamma) for
50794 other arguments.
50795 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
50796 (gamma_coeff): New variable.
50797 (NCOEFF): New macro.
50798 (gammal_positive): New function.
50799 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
50800 underflow here. Use gamma_positive instead of exp (lgamma) for
50801 other arguments.
50802 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
50803 (gamma_coeff): New variable.
50804 (NCOEFF): New macro.
50805 (gammal_positive): New function.
50806 (__ieee754_gammal_r): Handle positive infinity, overflow and
50807 underflow here. Handle NaN the same as positive infinity. Remove
50808 check x < 0xffffffff for negative integers. Use gamma_positive
50809 instead of exp (lgamma) for other arguments.
50810 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
50811 (gamma_coeff): New variable.
50812 (NCOEFF): New macro.
50813 (gammal_positive): New function.
50814 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
50815 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
50816 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
50817 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
50818 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
50819 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
50820 * sysdeps/generic/math_private.h (__gamma_productf): New
50821 prototype.
50822 (__gamma_product): Likewise.
50823 (__gamma_productl): Likewise.
50824 * math/Makefile (libm-calls): Add gamma_product.
50825 * math/libm-test.inc (tgamma_test): Add more tests.
50826 * sysdeps/i386/fpu/libm-test-ulps: Update.
50827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50828
50829 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
50830
50831 * benchtests/bench-skeleton.c (main): Preheat CPU.
50832
50833 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
50834
50835 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
50836
50837 2013-05-07 Roland McGrath <roland@hack.frob.com>
50838
50839 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
50840 and _dl_skip_args_internal.
50841
50842 2013-05-07 Carlos O'Donell <carlos@redhat.com>
50843
50844 * manual/message.texi (Message Translation): Talk about users.
50845 Message to key mapping impacts design.
50846
50847 2013-05-06 Roland McGrath <roland@hack.frob.com>
50848
50849 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50850
50851 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50852
50853 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50854 * sysdeps/wordsize-64/glob64.c: ... here.
50855
50856 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50857 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50858 New macros.
50859
50860 * debug/getlogin_r_chk.c: Moved to ...
50861 * login/getlogin_r_chk.c: ... here.
50862 * debug/Makefile (routines): Move getlogin_r_chk to ...
50863 * login/Makefile (routines): ... here.
50864 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50865 * login/Versions (libc: GLIBC_2.4): ... here.
50866
50867 * io/poll.c (__poll): Renamed from poll.
50868 Add libc_hidden_def.
50869 (poll): Define as weak alias.
50870
50871 * debug/ptsname_r_chk.c: Moved to ...
50872 * login/ptsname_r_chk.c: ... here.
50873 * debug/Makefile (routines): Move ptsname_r_chk to ...
50874 * login/Makefile (routines): ... here.
50875 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50876 * login/Versions (libc: GLIBC_2.4): ... here.
50877
50878 * posix/getlogin.c: Moved to ...
50879 * login/getlogin.c: ... here.
50880 * posix/getlogin_r.c: Moved to ...
50881 * login/getlogin_r.c: ... here.
50882 * posix/getlogin_r.c: Moved to ...
50883 * login/getlogin_r.c: ... here.
50884 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50885 * login/Makefile (routines): ... here.
50886 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50887 * login/Versions (libc: GLIBC_2.0): ... here.
50888
50889 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50890 (setrlimit): Define as weak alias.
50891
50892 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50893 Call __ names for open, ftruncate, and close.
50894 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50895 (truncate): Define as weak alias.
50896
50897 2013-05-06 Joseph Myers <joseph@codesourcery.com>
50898
50899 * math/gen-libm-test.pl (parse_args): Initialize x before each
50900 test of frexp, modf and remquo.
50901
50902 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50903 test signgam value.
50904
50905 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50906
50907 [BZ #15418]
50908 [BZ #15419]
50909 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50910 internal tests.
50911 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50912
50913 2013-05-06 Roland McGrath <roland@hack.frob.com>
50914
50915 * elf/dl-writev.h: New file.
50916 * elf/dl-misc.c: Include it.
50917 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50918 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50919
50920 2013-05-04 Joseph Myers <joseph@codesourcery.com>
50921
50922 * math/libm-test.inc (noXFails): Remove variable.
50923 (noXPasses): Likewise.
50924 (BUILD_COMPLEX_INT): Remove macro.
50925 (print_screen): Remove xfail argument.
50926 (print_screen_max_error): Likewise.
50927 (update_stats): Likewise.
50928 (print_max_error): Likewise. Update calls to other affected
50929 functions.
50930 (print_complex_max_error): Likewise.
50931 (test_single_exception): Update calls to print_screen.
50932 (test_single_errno): Likewise.
50933 (check_float_internal): Remove xfail argument. Update calls to
50934 other affected functions.
50935 (check_float): Likewise.
50936 (check_complex): Likewise.
50937 (check_int): Likewise.
50938 (check_long): Likewise.
50939 (check_bool): Likewise.
50940 (check_longlong): Likewise.
50941 (main): Don't print noXFails and noXPasses.
50942 * math/gen-libm-test.pl (top level): Don't mention expected
50943 failure handling in comment.
50944 (new_test): Don't handle expected failures.
50945 (parse_args): Don't mention expected failure handling in comment.
50946 (generate_testfile): Don't handle expected failures.
50947 (parse_ulps): Likewise.
50948 (print_ulps_file): Likewise.
50949 (get_failure): Remove function.
50950 (output_test): Don't handle expected failures.
50951 * make/README.libm-test: Don't mention expected failure handling.
50952
50953 * math/libm-test.inc (plus_zero): Make const. Add initializer.
50954 (minus_zero): Likewise.
50955 (plus_infty): Likewise.
50956 (minus_infty): Likewise.
50957 (qnan_value): Likewise.
50958 (max_value): Likewise.
50959 (min_value): Likewise.
50960 (min_subnorm_value): Likewise.
50961 (initialize): Do not initialize those variables dynamically.
50962
50963 2013-05-03 Roland McGrath <roland@hack.frob.com>
50964
50965 * io/open.c (__open_2): Moved to ...
50966 * io/open_2.c: ... this new file.
50967 * io/open64.c (__open64_2): Moved to ...
50968 * io/open64_2.c: ... this new file.
50969 * io/openat.c (__openat_2): Moved to ...
50970 * io/openat_2.c: ... this new file.
50971 * io/openat64.c (__openat64_2): Moved to ...
50972 * io/openat64_2.c: ... this new file.
50973 * io/Makefile (routines): Add them.
50974 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50975 * sysdeps/unix/sysv/linux/open_2.c: File removed.
50976 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50977 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50978 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50979 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50980 (__openat64): Add hidden_ver.
50981 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50982 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50983
50984 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50985 Separately conditionalize setting of GLRO(dl_sysinfo) so
50986 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50987 as well, but the actual setting is only under [NEED_DL_SYSINFO].
50988
50989 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50990
50991 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50992 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50993 definition.
50994 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50995 * sysdeps/unix/sysv/linux/powerpc/init-first.c
50996 (_libc_vdso_platform_setup): Add __vdso_time initialization.
50997 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50998 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50999
51000 2013-05-03 Joseph Myers <joseph@codesourcery.com>
51001
51002 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51003 test signgam value.
51004
51005 * math/libm-test.inc (hypot_test): Do not use
51006 IGNORE_ZERO_INF_SIGN.
51007
51008 2013-05-03 Andreas Jaeger <aj@suse.de>
51009
51010 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51011 Linux 3.9.
51012 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51013 (PF_MAX): Adjust for VSOCK change.
51014
51015 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51016
51017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51018
51019 2013-05-02 Carlos O'Donell <carlos@redhat.com>
51020
51021 [BZ #15264]
51022 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51023 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51024 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51025
51026 2013-05-02 David S. Miller <davem@davemloft.net>
51027
51028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51029
51030 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
51031
51032 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51033
51034 2013-05-01 Roland McGrath <roland@hack.frob.com>
51035
51036 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51037
51038 2013-05-01 Richard Smith <richard@metafoo.co.uk>
51039
51040 [BZ #14952]
51041 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51042 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51043 Use __attribute__ ((__gnu_inline__)).
51044 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51045 Don't use __attribute__ ((__gnu_inline__)).
51046
51047 2013-05-01 Joseph Myers <joseph@codesourcery.com>
51048
51049 [BZ #15423]
51050 * math/s_catan.c (__catan): Handle small real or imaginary part of
51051 input specially to avoid spurious underflow.
51052 * math/s_catanf.c (__catanf): Likewise.
51053 * math/s_catanh.c (__catanh): Likewise.
51054 * math/s_catanhf.c (__catanhf): Likewise.
51055 * math/s_catanhl.c (__catanhl): Likewise.
51056 * math/s_catanl.c (__catanl): Likewise.
51057 * math/libm-test.inc (catan_test): Add more tests.
51058 (catanh_test): Likewise.
51059 * sysdeps/i386/fpu/libm-test-ulps: Update.
51060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51061
51062 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51063
51064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51065
51066 2013-04-30 Joseph Myers <joseph@codesourcery.com>
51067
51068 [BZ #15416]
51069 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51070 accurately for denominator in atan2.
51071 * math/s_catanf.c (__catanf): Likewise.
51072 * math/s_catanh.c (__catanh): Likewise.
51073 * math/s_catanhf.c (__catanhf): Likewise.
51074 * math/s_catanhl.c (__catanhl): Likewise.
51075 * math/s_catanl.c (__catanl): Likewise.
51076 * math/libm-test.inc (catan_test): Add more tests.
51077 (catanh_test): Likewise.
51078 * sysdeps/i386/fpu/libm-test-ulps: Update.
51079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51080
51081 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51082
51083 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51084
51085 * benchtests/Makefile (bench): Remove slow benchmarks.
51086 * benchtests/atan-inputs: Add slow benchmark inputs.
51087 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51088 (BENCH_FUNC): Accept variant offset.
51089 (VARIANT): Define.
51090 * benchtests/bench-skeleton.c (main): Run benchmark for each
51091 variant.
51092 * benchtests/cos-inputs: Add slow benchmark inputs.
51093 * benchtests/exp-inputs: Likewise.
51094 * benchtests/pow-inputs: Likewise.
51095 * benchtests/sin-inputs: Likewise.
51096 * benchtests/slowatan-inputs: Remove.
51097 * benchtests/slowatan.c: Remove.
51098 * benchtests/slowcos-inputs: Remove.
51099 * benchtests/slowcos.c: Remove.
51100 * benchtests/slowexp-inputs: Remove.
51101 * benchtests/slowexp.c: Remove.
51102 * benchtests/slowpow-inputs: Remove.
51103 * benchtests/slowpow.c: Remove.
51104 * benchtests/slowsin-inputs: Remove.
51105 * benchtests/slowsin.c: Remove.
51106 * benchtests/slowtan-inputs: Remove.
51107 * benchtests/slowtan.c: Remove.
51108 * benchtests/tan-inputs: Add slow benchmark inputs.
51109 * scripts/bench.pl: Parse comments and directives.
51110
51111 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
51112 in CPPFLAGS.
51113 ($(objpfx)bench-%.c): Remove *-ITER.
51114 * benchtests/bench-modf.c: Remove definition of ITER.
51115 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51116 (main): Loop for DURATION seconds instead of fixed number of
51117 iterations.
51118 * scripts/bench.pl: Don't expect iterations in parameters.
51119
51120 2013-04-29 Roland McGrath <roland@hack.frob.com>
51121
51122 * io/fchdir.c (__fchdir): Renamed from fchdir.
51123 (fchdir): Define as weak alias.
51124
51125 2013-04-29 Joseph Myers <joseph@codesourcery.com>
51126
51127 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51128 (ERRNO_EDOM): Likewise.
51129 (ERRNO_ERANGE): Likewise.
51130 (noErrnoTests): New variable.
51131 (init_max_error): Set errno to 0.
51132 (test_single_errno): New function.
51133 (test_errno): Likewise.
51134 (check_float_internal): Call test_errno. Set errno to 0.
51135 (check_complex): Refer to errno tests in comment.
51136 (check_int): Call test_errno. Set errno to 0.
51137 (check_long): Likewise.
51138 (check_bool): Likewise.
51139 (check_longlong): Likewise.
51140 (cos_test): Use ERRNO_* flags for errno tests instead of
51141 check_int.
51142 (expm1_test): Likewise.
51143 (fmod_test): Likewise.
51144 (ilogb_test): Likewise.
51145 (lgamma_test): Likewise.
51146 (pow_test): Likewise.
51147 (remainder_test): Likewise.
51148 (sin_test): Likewise.
51149 (tan_test): Likewise.
51150 (yn_test): Likewise.
51151 (initialize): Set errno to 0.
51152 (main): Print number of errno tests.
51153 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51154
51155 2013-04-29 Andreas Jaeger <aj@suse.de>
51156
51157 [BZ #15084]
51158 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51159 and RES_USEVC.
51160
51161 [BZ #15085]
51162 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51163 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51164 unimplemented.
51165
51166 [BZ #15380]
51167 * stdlib/random.c (__initstate): Return NULL if
51168 __initstate fails.
51169
51170 [BZ #15086]
51171 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51172 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51173 RES_SNGLKUPREOP.
51174
51175 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51176
51177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51178
51179 2013-04-29 Joseph Myers <joseph@codesourcery.com>
51180
51181 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51182 of individual tests.
51183 (casin_test): Likewise.
51184 (casinh_test): Likewise.
51185
51186 2013-04-27 Joseph Myers <joseph@codesourcery.com>
51187
51188 [BZ #15409]
51189 * math/s_catan.c (__catan): Handle arguments with large real or
51190 imaginary part separately without squaring.
51191 * math/s_catanf.c (__catanf): Likewise.
51192 * math/s_catanh.c (__catanh): Likewise.
51193 * math/s_catanhf.c (__catanhf): Likewise.
51194 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51195 and redefine.
51196 (__catanhl): Handle arguments with large real or imaginary part
51197 separately without squaring.
51198 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51199 and redefine.
51200 (__catanl): Handle arguments with large real or imaginary part
51201 separately without squaring.
51202 * math/libm-test.inc (catan_test): Add more tests.
51203 (catanh_test): Likewise.
51204 * sysdeps/i386/fpu/libm-test-ulps: Update.
51205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51206
51207 2013-04-27 Andreas Jaeger <aj@suse.de>
51208
51209 [BZ #15007]
51210 * stdlib/stdlib.h: Update guards for qecvt.
51211 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51212 <stdlib.h>.
51213
51214 2013-04-27 Allan McRae <allan@archlinux.org>
51215
51216 * sysdeps/i386/fpu/libm-test-ulps: Update.
51217
51218 2013-04-26 Joseph Myers <joseph@codesourcery.com>
51219
51220 [BZ #15406]
51221 * math/s_catan.c: Include <float.h>.
51222 (__catan): Ensure underflow exception occurs for underflowed
51223 result.
51224 * math/s_catanf.c: Include <float.h>.
51225 (__catanf): Ensure underflow exception occurs for underflowed
51226 result.
51227 * math/s_catanh.c: Include <float.h>.
51228 (__catanh): Ensure underflow exception occurs for underflowed
51229 result.
51230 * math/s_catanhf.c: Include <float.h>.
51231 (__catanhf): Ensure underflow exception occurs for underflowed
51232 result.
51233 * math/s_catanhl.c: Include <float.h>.
51234 (__catanhl): Ensure underflow exception occurs for underflowed
51235 result.
51236 * math/s_catanl.c: Include <float.h>.
51237 (__catanl): Ensure underflow exception occurs for underflowed
51238 result.
51239 * math/libm-test.inc (catan_test): Add more tests.
51240 (catanh_test): Likewise.
51241
51242 [BZ #15405]
51243 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51244 underflowed result.
51245 * math/s_ccoshf.c (__ccoshf): Likewise.
51246 * math/s_ccoshl.c (__ccoshl): Likewise.
51247 * math/s_csin.c (__csin): Likewise.
51248 * math/s_csinf.c (__csinf): Likewise.
51249 * math/s_csinh.c (__csinh): Likewise.
51250 * math/s_csinhf.c (__csinhf): Likewise.
51251 * math/s_csinhl.c (__csinhl): Likewise.
51252 * math/s_csinl.c (__csinl): Likewise.
51253 * math/libm-test.inc (ccos_test): Add more tests.
51254 (ccosh_test): Likewise.
51255 (csin_test): Likewise.
51256 (csinh_test): Likewise.
51257
51258 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51259
51260 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51261 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51262 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51263 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51264 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51265 powerpc/power5+/fpu folders.
51266 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51267
51268
51269 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
51270
51271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51272
51273 2013-04-25 Joseph Myers <joseph@codesourcery.com>
51274
51275 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51276 additions to variable.
51277 [$(config-machine) = x86_64] (modules-names): Likewise.
51278 ($(objpfx)tst-audit3): Remove dependency.
51279 ($(objpfx)tst-audit3.out): Likewise.
51280 ($(objpfx)tst-audit4): Likewise.
51281 ($(objpfx)tst-audit4.out): Likewise.
51282 ($(objpfx)tst-audit5): Likewise.
51283 ($(objpfx)tst-audit5.out): Likewise.
51284 ($(objpfx)tst-audit6): Likewise.
51285 ($(objpfx)tst-audit6.out): Likewise.
51286 ($(objpfx)tst-audit7): Likewise.
51287 ($(objpfx)tst-audit7.out): Likewise.
51288 (tst-audit3-ENV): Remove variable.
51289 (tst-audit4-ENV): Likewise.
51290 (tst-audit5-ENV): Likewise.
51291 (tst-audit6-ENV): Likewise.
51292 (tst-audit7-ENV): Likewise.
51293 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51294 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51295 addition to variable.
51296 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51297 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51298 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51299 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51300 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51301 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51302 tst-audit3, tst-audit4 and tst-audit5.
51303 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51304 tst-audit6 and tst-audit7.
51305 [$(subdir) = elf] (modules-names): Add audit modules for those
51306 tests.
51307 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51308 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51309 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51310 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51311 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51312 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51313 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51314 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51315 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51316 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51317 [$(subdir) = elf] (tst-audit3-ENV): New variable.
51318 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51319 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51320 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51321 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51322 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51323 Likewise.
51324 [$(subdir) = elf && $(config-cflags-avx) = yes]
51325 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51326 [$(subdir) = elf && $(config-cflags-avx) = yes]
51327 (CFLAGS-tst-auditmod4a.c): Likewise.
51328 [$(subdir) = elf && $(config-cflags-avx) = yes]
51329 (CFLAGS-tst-auditmod4b.c): Likewise.
51330 [$(subdir) = elf && $(config-cflags-avx) = yes]
51331 (CFLAGS-tst-auditmod6b.c): Likewise.
51332 [$(subdir) = elf && $(config-cflags-avx) = yes]
51333 (CFLAGS-tst-auditmod6c.c): Likewise.
51334 [$(subdir) = elf && $(config-cflags-avx) = yes]
51335 (CFLAGS-tst-auditmod7b.c): Likewise.
51336 * elf/tst-audit3.c: Move to ...
51337 * sysdeps/x86_64/tst-audit3.c: ... here.
51338 * elf/tst-audit4.c: Move to ...
51339 * sysdeps/x86_64/tst-audit4.c: ... here.
51340 * elf/tst-audit5.c: Move to ...
51341 * sysdeps/x86_64/tst-audit5.c: ... here.
51342 * elf/tst-audit6.c: Move to ...
51343 * sysdeps/x86_64/tst-audit6.c: ... here.
51344 * elf/tst-audit7.c: Move to ...
51345 * sysdeps/x86_64/tst-audit7.c: ... here.
51346 * elf/tst-auditmod3a.c: Move to ...
51347 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51348 * elf/tst-auditmod3b.c: Move to ...
51349 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51350 * elf/tst-auditmod4a.c: Move to ...
51351 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51352 * elf/tst-auditmod4b.c: Move to ...
51353 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51354 * elf/tst-auditmod5a.c: Move to ...
51355 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51356 * elf/tst-auditmod5b.c: Move to ...
51357 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51358 * elf/tst-auditmod6a.c: Move to ...
51359 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51360 * elf/tst-auditmod6b.c: Move to ...
51361 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51362 * elf/tst-auditmod6c.c: Move to ...
51363 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51364 * elf/tst-auditmod7a.c: Move to ...
51365 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51366 * elf/tst-auditmod7b.c: Move to ...
51367 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51368
51369 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
51370
51371 [BZ #15366]
51372 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51373 define unconditionally.
51374 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51375 define unconditionally.
51376 (INT8_C, INT16_C, etc.): Likewise.
51377
51378 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
51379
51380 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51381 __ehdr_start with hidden visibility.
51382
51383 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51384
51385 2013-04-24 Carlos O'Donell <carlos@redhat.com>
51386
51387 * math/libm-test.inc (cos_test): Use accurate hex constants.
51388 (sincost_test): Likewise.
51389
51390 2013-04-24 Joseph Myers <joseph@codesourcery.com>
51391
51392 * math/libm-test.inc (catan_test): Add more tests.
51393 (catanh_test): Likewise.
51394
51395 * math/s_catanf.c (__catanf): Use suffixed floating-point
51396 constants.
51397 * math/s_catanhf.c (__catanhf): Likewise.
51398 * math/s_catanhl.c (__catanhl): Likewise.
51399 * math/s_catanl.c (__catanl): Likewise.
51400
51401 [BZ #15394]
51402 * math/s_catan.c (__catan): Calculate imaginary part of result
51403 with log1p not log unless computing log of number close to 0.
51404 * math/s_catanf.c (__catanf): Likewise.
51405 * math/s_catanl.c (__catanl): Likewise.
51406 * math/s_catanh.c (__catanh): Calculate real part of result with
51407 log1p not log unless computing log of number close to 0.
51408 * math/s_catanhf.c (__catanhf): Likewise.
51409 * math/s_catanhl.c (__catanhl): Likewise.
51410 * math/libm-test.inc (catan_test): Add more tests.
51411 (catanh_test): Likewise.
51412 * sysdeps/i386/fpu/libm-test-ulps: Update.
51413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51414
51415 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
51416
51417 * benchtests/Makefile: Mention files in which fast and slow
51418 paths of math functions are implemented.
51419
51420 2013-04-23 Roland McGrath <roland@hack.frob.com>
51421
51422 * sysdeps/posix/timespec_get.c: New file.
51423
51424 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51425
51426 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51427 POWER.
51428 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51429 for POWER.
51430 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51431 powerpc/power5/fpu folders.
51432 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51433 * benchtests/Makefile: Add modf testcase.
51434 * benchtests/bench-modf.c: New file: Benchmark test for mo
51435
51436 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
51437
51438 [BZ #14888]
51439 * time/Makefile (tests): Add tst-strptime-whitespace.
51440 * time/strptime_l.c (get_number): Use ISSPACE.
51441 (__strptime_internal): Likewise.
51442 * time/tst-strptime-whitespace.c: New test case.
51443
51444 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
51445
51446 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51447 member.
51448 (_nss_files_init): Set it here.
51449
51450 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
51451
51452 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51453 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51454 unsigned.
51455
51456 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
51457
51458 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51459
51460 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51461
51462 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51463 size just once.
51464
51465 2013-04-21 David S. Miller <davem@davemloft.net>
51466
51467 * po/ru.po: Update Russion translation from translation project.
51468
51469 2013-04-17 Adam Conrad <adconrad@0c3.net>
51470
51471 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51472 and setfsgid.
51473
51474 2013-04-17 Carlos O'Donell <carlos@redhat.com>
51475
51476 * configure.in: Remove i386 configure warning. Remove i386 case.
51477 * configure: Regenerate.
51478 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51479 Add example to error message.
51480 * sysdeps/i386/configure: Regenerate.
51481
51482 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
51483
51484 * benchtests/Makefile (bench): Add cos, tan, slowcos and
51485 slowtan.
51486 * benchtests/cos-inputs: New file.
51487 * benchtests/slowcos-inputs: New file.
51488 * benchtests/slowcos.c: New file.
51489 * benchtests/slowtan-inputs: New file.
51490 * benchtests/slowtan.c: New file.
51491 * benchtests/tan-inputs: New file.
51492
51493 2013-04-16 Roland McGrath <roland@hack.frob.com>
51494
51495 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51496 considered kosher.
51497
51498 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
51499
51500 * benchtests/Makefile: Include cppflags-iterator.mk to add
51501 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51502
51503 * Makefile.in (bench-clean): New target.
51504 * benchtests/Makefile (bench-clean): Likewise.
51505
51506 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
51507
51508 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51509
51510 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
51511
51512 * stdio-common/tstdiomisc.c: Fix coding-style violation.
51513
51514 2013-04-15 Andreas Schwab <schwab@suse.de>
51515
51516 * nscd/grpcache.c (cache_addgr): Properly check for short write.
51517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51518 * nscd/pwdcache.c (cache_addpw): Likewise.
51519 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
51520 more than recsize.
51521
51522 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51523
51524 * benchtests/Makefile (bench): Write all output to
51525 bench-out.tmp together.
51526
51527 2013-04-15 Andreas Schwab <schwab@suse.de>
51528
51529 * nscd/nscd.c (main): Don't fork again after closing files.
51530
51531 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51532
51533 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51534
51535 * benchtests/Rules (bench-deps): Collect dependencies into a
51536 single variable. Add Makefile to dependencies.
51537 ($(objpfx)bench-%.c): Depend on bench-deps.
51538
51539 2013-04-12 Roland McGrath <roland@hack.frob.com>
51540 Xavier Roche <roche+kml2@exalead.com>
51541
51542 [BZ #15361]
51543 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51544 just that it's a file descriptor.
51545 * manual/llio.texi (Synchronizing AIO Operations): Update description
51546 for EBADF error from aio_fsync.
51547
51548 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
51549
51550 * Rules (bench): Move target definition...
51551 * benchtests/Makefile: ... here.
51552
51553 2013-04-11 Carlos O'Donell <carlos@redhat.com>
51554
51555 * math/libm-test.inc (cos_test): Fix PI/2 test.
51556 (sincos_test): Likewise.
51557 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51558 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51559
51560 2013-04-11 Andreas Schwab <schwab@suse.de>
51561
51562 [BZ #13988]
51563 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51564 accept exponent character only when digits were seen.
51565 * stdio-common/Makefile (tests): Add bug26.
51566 * stdio-common/bug26.c: New file.
51567
51568 [BZ #14293]
51569 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51570 non-freeable.
51571
51572 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51573
51574 * Makeconfig (rtld-prefix): Define built linker prefix.
51575 * Rules (run-bench): Use it.
51576 * math/Makefile (run-regen-ulps): Likewise.
51577
51578 * Rules (bench): Remove eval.
51579
51580 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
51581 Roland McGrath <roland@hack.frob.com>
51582 Ondrej Bilka <neleai@seznam.cz>
51583
51584 [BZ #15346]
51585 * time/getdate.c: Include ctype.h and alloca.h.
51586 (__getdate_r): Trim leading and trailing spaces of input.
51587 * time/tst-getdate.c (tests): Add tests with leading and
51588 trailing spaces.
51589
51590 2013-04-08 Roland McGrath <roland@hack.frob.com>
51591
51592 [BZ #14280]
51593 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51594 when computing value.
51595
51596 2013-04-06 Carlos O'Donell <carlos@redhat.com>
51597
51598 * math/README.libm-test (How can I generate "libm-test-ulps"?):
51599 Use testrun.sh to run libm tests.
51600
51601 [BZ #15309]
51602 * elf/dl-open.c (dl_open_worker): memset all of seen array.
51603
51604 2013-04-06 Marko Myllynen <myllynen@redhat.com>
51605
51606 [BZ #15264]
51607 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51608
51609 2013-04-06 Carlos O'Donell <carlos@redhat.com>
51610
51611 * Makefile.in (regen-ulps): New target.
51612 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51613 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51614 [ifneq (no,$(PERL)] (regen-ulps): New target.
51615 [ifeq (no,$(PERL)] (regen-ulps): New target.
51616 * math/libm-test.inc (ulps_file_name): Define.
51617 (output_dir): New variable.
51618 (options): Add "output-dir" option.
51619 (parse_opt): Handle 'o' case.
51620 (main): If output_dir is non-NULL use it as a prefix
51621 otherwise use "".
51622 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51623
51624 2013-04-06 Carlos O'Donell <carlos@redhat.com>
51625
51626 [BZ #10060, #10062]
51627 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51628 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51629 fail configure if __sync_val_compare_and_swap is not inlined.
51630 * sysdeps/i386/configure: Regenerate.
51631 * configure.in: Build for i686 when configured for i386.
51632 * configure: Regenerate.
51633 * README: Remove i386 reference.
51634
51635 2013-04-06 Carlos O'Donell <carlos@redhat.com>
51636
51637 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51639
51640 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
51641
51642 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51643 (lmsnanval): New variables.
51644 (F): Add conversion tests.
51645 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51646 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51647
51648 * stdio-common/tstdiomisc.c (F): Properly collect individual
51649 tests' results.
51650
51651 [BZ #14686, #15336]
51652 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51653 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51654 Instead, use input NaN values or generate a qNaN by arithmetic
51655 operation. Also fix bugs to comply with the standard.
51656 * math/libm-test.inc (remainder_test): Add more tests.
51657
51658 [BZ #15335, #15342]
51659 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51661 input NaN values or generate a qNaN by arithmetic operation.
51662
51663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51664 unreachable code.
51665
51666 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51667 definitions.
51668
51669 2013-04-03 Joseph Myers <joseph@codesourcery.com>
51670
51671 [BZ #14478]
51672 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51673 underflowed result.
51674 * math/s_cexpf.c (__cexpf): Likewise.
51675 * math/s_cexpl.c (__cexpl): Likewise.
51676 * math/libm-test.inc (cexp_test): Add more tests.
51677
51678 2013-04-03 Andreas Schwab <schwab@suse.de>
51679
51680 [BZ #15330]
51681 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51682 order arrays from heap if bigger than alloca cutoff.
51683
51684 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
51685
51686 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51687 (SNAN_TESTS_double): Refer to GCC PR56831.
51688 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51689 GCC PR56828.
51690
51691 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
51692
51693 * Rules (bench): Move bench.out after the run is complete.
51694
51695 * Rules (bench): Echo currently running benchmark.
51696
51697 * benchtests/Makefile (bench): Add atan and slowatan.
51698 * benchtests/atan-inputs: New file.
51699 * benchtests/slowatan-inputs: New file.
51700 * benchtests/slowatan.c: New file.
51701
51702 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51703 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51704 its value.
51705
51706 [BZ #15305]
51707 * sysdeps/unix/sysv/linux/kernel-features.h
51708 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51709 __ASSUME_XFS_RESTRICTED_CHOWN.
51710 * sysdeps/unix/sysv/linux/pathconf.c
51711 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51712 Save and restore errno.
51713
51714 2013-04-02 Joseph Myers <joseph@codesourcery.com>
51715
51716 [BZ #15327]
51717 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51718 arguments using __kernel_casinh.
51719 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51720 arguments using __kernel_casinhf.
51721 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51722 arguments using __kernel_casinhl.
51723 * math/libm-test.inc (cacosh_test): Add more tests.
51724 * sysdeps/i386/fpu/libm-test-ulps: Update.
51725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51726
51727 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51728
51729 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51731
51732 * bench/Makefile (bench): Add sin and slowsin.
51733 * benchtests/sin-inputs: New file.
51734 * benchtests/slowsin-inputs: New file.
51735 * benchtests/slowsin.c: New file.
51736
51737 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51738 (bench): Add slowexp and slowpow.
51739 (exp-ITER): Increase iterations.
51740 (pow-ITER): Likewise.
51741 * benchtests/exp-inputs: Change input.
51742 * benchtests/pow-inputs: Likewise.
51743 * benchtests/slowexp-inputs: New file.
51744 * benchtests/slowexp.c: New file.
51745 * benchtests/slowpow-inputs: New file.
51746 * benchtests/slowpow.c: New file.
51747
51748 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51749
51750 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51751 instructions.
51752 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51753 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51754 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51755 * benchtests/Makefile: Add rint benchtest.
51756 * benchtests/rint-inputs: Input for rint benchtest.
51757
51758 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
51759
51760 * Versions.def (libm): Add GLIBC_2.18.
51761 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51762 hidden libm prototypes.
51763 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51764 * math/Makefile (libm-calls): Add s_issignaling.
51765 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51766 __issignalingf, __issignalingl. Adjust all libm.abilist files.
51767 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51768 declaration.
51769 * math/math.h [__USE_GNU] (issignaling): New macro.
51770 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51771 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51772 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51773 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51774 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51775 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51776 * manual/arith.texi (issignaling): New section.
51777 * manual/libm-err-tab.pl (@all_functions): Update comment.
51778 * math/gen-libm-test.pl (parse_args): Apply special handling for
51779 issignaling.
51780 * math/libm-test.inc (print_float, issignaling_test): New
51781 functions.
51782 (check_float_internal): Add issignaling checks.
51783 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
51784 default definition.
51785 * sysdeps/powerpc/math-tests.h: New file.
51786 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
51787 tests.
51788 * math/test-snan.c (TEST_FUNC): Likewise.
51789
51790 2013-03-30 David S. Miller <davem@davemloft.net>
51791
51792 * po/de.po: Update from translation team.
51793
51794 2013-03-30 Joseph Myers <joseph@codesourcery.com>
51795
51796 [BZ #10357]
51797 * math/k_casinh.c (__kernel_casinh): Handle arguments with
51798 imaginary part less than 1.0 and real part less than 0.5
51799 specially.
51800 * math/k_casinhf.c (__kernel_casinhf): Likewise.
51801 * math/k_casinhl.c (__kernel_casinhl): Likewise.
51802 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
51803 (cacos_test): Add more tests.
51804 (casin_test): Likewise.
51805 (casinh_test): Likewise.
51806 * sysdeps/i386/fpu/libm-test-ulps: Update.
51807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51808
51809 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
51810
51811 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
51812 ONE with its value.
51813
51814 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
51815 (__pow_mp): Replace ONE and MONE with their values.
51816 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51817 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
51818 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51819 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
51820 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51821 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51822
51823 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
51824
51825 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
51826 (__pow_mp): Replace ZERO and MZERO with their values.
51827 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51828 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51829 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51831 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51832 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
51833 (__sqr): Likewise.
51834
51835 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
51836
51837 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
51838
51839 2013-03-28 Roland McGrath <roland@hack.frob.com>
51840
51841 * include/stdlib.h [!SHARED] (__call_tls_dtors):
51842 Declare with __attribute__ ((weak)).
51843 * stdlib/exit.c (__libc_atexit) [!SHARED]:
51844 Call __call_tls_dtors only if it's not NULL.
51845
51846 2013-03-28 Roland McGrath <roland@hack.frob.com>
51847
51848 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
51849 didn't do it already, then set _dl_phdr and _dl_phnum based on the
51850 magic __ehdr_start linker symbol if it's defined.
51851 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51852 them up here if it was already done.
51853
51854 * elf/dl-support.c (_dl_phdr): Make pointer to const.
51855 (_dl_aux_init): Use const in cast when setting it.
51856 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51857 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51858 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51859
51860 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51861 Declare them here.
51862 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51863 * csu/libc-tls.c: Nor here.
51864 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51865
51866 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51867 (__libc_message): Never call vsyslog.
51868
51869 2013-03-28 Alan Modra <amodra@gmail.com>
51870
51871 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51872 Define as empty.
51873 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51874 Likewise.
51875
51876 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51877
51878 [BZ #15214]
51879 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51880 underflow.
51881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51882
51883 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51884
51885 [BZ #15304]
51886 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51887 Don't add gid passed as argument.
51888
51889 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51890
51891 2013-03-27 Joseph Myers <joseph@codesourcery.com>
51892
51893 [BZ #15307]
51894 * math/k_casinh.c (__kernel_casinh): Handle arguments with
51895 imaginary part between 1.0 and 1.5 and real part less than 0.5
51896 specially.
51897 * math/k_casinhf.c (__kernel_casinhf): Likewise.
51898 * math/k_casinhl.c (__kernel_casinhl): Likewise.
51899 * math/libm-test.inc (cacos_test): Add more tests.
51900 (casin_test): Likewise.
51901 (casinh_test): Likewise.
51902 * sysdeps/i386/fpu/libm-test-ulps: Update.
51903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51904
51905 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51906
51907 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51908 constants.
51909 (norm): Likewise.
51910 (denorm): Likewise.
51911 (__dbl_mp): Likewise.
51912 (add_magnitudes): Likewise.
51913 (sub_magnitudes): Likewise.
51914 (__add): Likewise.
51915 (__sub): Likewise.
51916 (__mul): Likewise.
51917 (__sqr): Likewise.
51918 (__inv): Likewise.
51919 (__dvd): Likewise.
51920
51921 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51922 commented code.
51923 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51924 (__dubcos): Likewise.
51925 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51926 (__ieee754_acos): Likewise.
51927 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51928 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51929 (__exp1): Likewise.
51930 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51932 (log1): Likewise.
51933 (my_log2): Likewise.
51934 (checkint): Likewise.
51935 * sysdeps/ieee754/dbl-64/e_remainder.c
51936 (__ieee754_remainder): Likewise.
51937 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51938 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51939 (bsloww): Likewise.
51940 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51941
51942 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51943 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51944 MANTISSA_STORE_T to store computations on mantissa. Use
51945 macros for rounding and division.
51946 (denorm): Likewise.
51947 (__dbl_mp): Likewise.
51948 (add_magnitudes): Likewise.
51949 (sub_magnitudes): Likewise.
51950 (__mul): Likewise.
51951 (__sqr): Likewise.
51952 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
51953 powers of two in terms of TWOPOW macro.
51954 (mp_no): Make type of mantissa as MANTISSA_T.
51955 [!RADIXI]: Define RADIXI.
51956 [!TWO52]: Define TWO52.
51957 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51958
51959 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51960
51961 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51962 llroundl symbol when building for PPC32.
51963
51964 2013-03-24 Mark H Weaver <mhw@netris.org>
51965
51966 * manual/arith.texi (Normalization Functions): Fix prototypes for
51967 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51968
51969 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51970
51971 [BZ #13889]
51972 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51973 high value to check if expl overflow.
51974 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51975 to check for underflow and overflow.
51976 * math/libm-test.inc: Add exp test.
51977
51978 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
51979
51980 [BZ #11120]
51981 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51982 with NOT_IN_libc.
51983
51984 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51985
51986 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51987 symbol.
51988
51989 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
51990
51991 * math/gen-libm-test.pl (parse_args, special_functions): Properly
51992 wrap blocks consisting of several statements.
51993
51994 * sysdeps/generic/math-tests.h: New file.
51995 * sysdeps/i386/fpu/math-tests.h: Likewise.
51996 * math/test-snan.c: Include it.
51997 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51998
51999 2013-03-21 Joseph Myers <joseph@codesourcery.com>
52000
52001 [BZ #15285]
52002 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52003 (__ieee754_j0l): Do not improve calculations using cos of twice
52004 input for inputs above LDBL_MAX / 2.0L.
52005 (__ieee754_y0l): Likewise.
52006 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52007 (__ieee754_j1l): Do not improve calculations using cos of twice
52008 input for inputs above LDBL_MAX / 2.0L.
52009 (__ieee754_y1l): Likewise.
52010 * math/libm-test.inc (j0_test): Add another test.
52011 (j1_test): Likewise.
52012 (y0_test): Likewise.
52013 (y1_test): Likewise.
52014 * sysdeps/i386/fpu/libm-test-ulps: Update.
52015
52016 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52017
52018 * Rules ($(objpfx)bench-%.c): Include code from a C source
52019 file.
52020
52021 2013-03-21 Joseph Myers <joseph@codesourcery.com>
52022
52023 [BZ #15287]
52024 * math/k_casinh.c (__kernel_casinh): Handle arguments with
52025 imaginary part 1.0 and real part less than 0.5 specially.
52026 * math/k_casinhf.c (__kernel_casinhf): Likewise.
52027 * math/k_casinhl.c (__kernel_casinhl): Likewise.
52028 * math/libm-test.inc (cacos_test): Add more tests.
52029 (casin_test): Likewise.
52030 (casinh_test): Likewise.
52031 * sysdeps/i386/fpu/libm-test-ulps: Update.
52032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52033
52034 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52035
52036 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52037 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52038
52039 2013-03-20 Joseph Myers <joseph@codesourcery.com>
52040
52041 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52042 * config.make.in (config-cflags-sse4): Remove variable.
52043 (config-cflags-avx): Likewise.
52044 (config-cflags-sse2avx): Likewise.
52045 (config-cflags-novzeroupper): Likewise.
52046 (config-asflags-i686): Likewise.
52047 (have-mfma4): Likewise.
52048 (have-as-vis3): Likewise.
52049 (MIG): Likewise.
52050 * configure.in (MIG): Do not AC_SUBST.
52051 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52052 (libc_cv_cc_sse4): Do not AC_SUBST.
52053 (libc_cv_cc_avx): Likewise.
52054 (libc_cv_cc_sse2avx): Likewise.
52055 (libc_cv_cc_novzeroupper): Likewise.
52056 (libc_cv_cc_fma4): Likewise.
52057 (libc_cv_as_i686): Likewise.
52058 (libc_cv_sparc_as_vis3): Likewise.
52059 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52060 LIBC_CONFIG_VAR.
52061 (config-asflags-i686): Likewise.
52062 (config-cflags-avx): Likewise.
52063 (config-cflags-sse2avx): Likewise.
52064 (have-mfma4): Likewise.
52065 (config-cflags-novzeroupper): Likewise.
52066 * sysdeps/mach/configure.in (MIG): Likewise.
52067 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52068 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52069 LIBC_CONFIG_VAR.
52070 (config-cflags-avx): Likewise.
52071 (config-cflags-sse2avx): Likewise.
52072 (have-mfma4): Likewise.
52073 (config-cflags-novzeroupper): Likewise.
52074 * configure: Regenerated.
52075 * sysdeps/i386/configure: Likewise.
52076 * sysdeps/mach/configure: Likewise.
52077 * sysdeps/sparc/configure: Likewise.
52078 * sysdeps/x86_64/configure: Likewise.
52079
52080 2013-03-20 Roland McGrath <roland@hack.frob.com>
52081
52082 [BZ #14812]
52083 * locale/programs/localedef.c (options): Put N_ translation marker
52084 on argument names, not just descriptions.
52085
52086 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
52087
52088 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52089
52090 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
52091
52092 [BZ #14176]
52093 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52094
52095 2013-03-19 Roland McGrath <roland@hack.frob.com>
52096
52097 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52098 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52099 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52100 [!BEFORE_ABORT] (before_abort): New function.
52101 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52102 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52103 (writev_for_fatal): New function.
52104 (WRITEV_FOR_FATAL): New macro; call that.
52105 (backtrace_and_maps): New function.
52106 (BEFORE_ABORT): New macro; call that.
52107 (struct str_list): Type removed.
52108 (__libc_message, __libc_fatal): Functions removed.
52109 Include <sysdeps/posix/libc_fatal.c> instead.
52110
52111 2013-03-19 Joseph Myers <joseph@codesourcery.com>
52112
52113 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52114 constants.
52115 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52116 double constants.
52117
52118 2013-03-19 Andreas Schwab <schwab@suse.de>
52119
52120 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52121 * sysdeps/gnu/configure: Regenerate.
52122
52123 * configure.in: Substitute libc_cv_rtlddir.
52124 * configure: Regenerate.
52125 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52126 * Makeconfig (rtlddir, inst_rtlddir): New variables.
52127 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52128 * elf/Makefile (install-others, CFLAGS-interp.c)
52129 (ldso_install, common-ldd-rewrite): Likewise.
52130 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52131 $(inst_slibdir)/$(rtld-installed-name).
52132 * scripts/rellns-sh: Add -p option.
52133 * Makerules (make-shlib-link): Use rellns-sh to get relative name
52134 for source.
52135
52136 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52137
52138 * manual/nptl.texi: Renamed to ...
52139 * manual/threads.texi: ... this.
52140 * manual/Makefile (chapters): Update.
52141
52142 2013-03-18 Roland McGrath <roland@hack.frob.com>
52143
52144 [BZ #14812]
52145 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52146 on argument names, not just descriptions.
52147 * malloc/memusagestat.c (options): Likewise.
52148 * nss/getent.c (options): Likewise.
52149
52150 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
52151
52152 [BZ #14812]
52153 * iconv/iconv_prog.c (options): Put N_ translation marker
52154 on argument names, not just descriptions.
52155 * iconv/iconvconfig.c (options): Likewise.
52156
52157 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
52158
52159 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52160 implementation which is faster on all x86_64 architectures.
52161 Tested on AMD, Intel Nehalem, SNB, IVB.
52162 * sysdeps/x86_64/strnlen.S: Likewise.
52163
52164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52165 Remove all multiarch strlen and strnlen versions.
52166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52167 Remove strlen and strnlen related parts.
52168
52169 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52170 Inline strlen part.
52171 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52172
52173 * sysdeps/x86_64/multiarch/strlen.S: Remove.
52174 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52175 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52176 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52177 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52178 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52179
52180 2013-03-17 Carlos O'Donell <carlos@redhat.com>
52181
52182 * manual/memory.texi (Malloc Tunable Parameters):
52183 Sort parameters alphabetically. Add comments for missing entries.
52184
52185 2013-03-17 David S. Miller <davem@davemloft.net>
52186
52187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52188
52189 2013-03-16 Joseph Myers <joseph@codesourcery.com>
52190
52191 [BZ #15283]
52192 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52193 for arguments at most half maximum finite value.
52194 * math/libm-test.inc (j0_test): Add more tests.
52195 (j1_test): Likewise.
52196 (y0_test): Likewise.
52197 (y1_test): Likewise.
52198 * sysdeps/i386/fpu/libm-test-ulps: Update.
52199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52200
52201 [BZ #14155]
52202 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52203 1 / x and functions P and Q for arguments above 0x1p256L.
52204 (__ieee754_y0l): Likewise.
52205 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52206 (__ieee754_y1l): Likewise.
52207 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52208 (j1_test): Likewise.
52209 (y0_test): Likewise.
52210 (y1_test): Likewise.
52211
52212 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
52213
52214 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52215 variable.
52216
52217 2013-03-15 Roland McGrath <roland@hack.frob.com>
52218
52219 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52220 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52221 zero since it's initialized to EXEC_PAGESIZE.
52222
52223 * sysdeps/unix/sysv/linux/ldsodefs.h
52224 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52225 * sysdeps/generic/ldsodefs.h: ... here.
52226
52227 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
52228
52229 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52230
52231 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52232 math/test-snan.c.
52233 * math/test-snan.c: Renamed from
52234 sysdeps/powerpc/fpu/test-powerpc-snan.c.
52235 * math/Makefile (tests): Add test-snan.
52236 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52237 test-powerpc-snan.
52238
52239 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52240 SUFFIX. Initialize qNaN_var with __builtin_nan family of
52241 functions.
52242 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
52243 __builtin_nan family of functions.
52244 * math/libm-test.inc (initialize): Initialize qnan_value with
52245 __builtin_nan family of functions.
52246 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52247 Remove variables.
52248 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52249 Remove functions.
52250 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
52251 storage class. Initialize qNaN_var and sNaN_var with
52252 __builtin_nan and __builtin_nans families of functions,
52253 respectively.
52254
52255 * math/libm-test.inc (acosh_test): Also test with qNaN input.
52256 (sqrt_test): Remove duplicate test with qNaN input.
52257 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52258 (round_test, signbit_test, significand_test): Note missing +/-Inf
52259 as well as qNaN tests.
52260
52261 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52262 qNaN_var. Fix a few strings, too.
52263 * math/libm-test.inc (nan_value): Rename to qnan_value.
52264 * math/gen-libm-test.pl (%beautify): Adjust to that.
52265 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52266 * math/test-misc.c (main): Likewise.
52267 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52268 to __qnan_bytes, and __qnan_union, respectively.
52269 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52270 Likewise.
52271 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52272 and lqnanval, respectively.
52273 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52274 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52275 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52276 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52277
52278 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52279 * math/test-misc.c (main) [__x86_64__]: Enable test for long
52280 doubles.
52281
52282 * math/test-misc.c (main): Fix copy'n'pastos.
52283 * misc/tst-efgcvt.c (special): Likewise.
52284
52285 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52286 Remove declarations.
52287
52288 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52289
52290 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52291 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52292 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52293 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52294
52295 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52296
52297 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52298 macro to return vdso values correctly in IFUNC implementations.
52299 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52300 Optimization by using IFUNC.
52301
52302 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52303 Richard Henderson <rth@redhat.com>
52304 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52305
52306 * Makefile.in (bench): New target.
52307 * NEWS: Mention the benchmark framework.
52308 * Rules (bench): Likewise.
52309 (binaries-bench): Generate binaries for functions to
52310 benchmark.
52311 * benchtests/Makefile: New makefile for benchmark tests.
52312 * benchtests/bench-skeleton.c: New skeleton file for benchmark
52313 programs.
52314 * benchtests/exp-inputs: New input file for EXP function.
52315 * benchtests/pow-inputs: New input file for POW function.
52316 * scripts/bench.pl: New script to generate source files for
52317 benchmark programs.
52318
52319 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52320
52321 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52322 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52323 computations on mantissa. Use macros for rounding and
52324 division.
52325 (denorm): Likewise.
52326 (__dbl_mp): Likewise.
52327 (add_magnitudes): Likewise.
52328 (sub_magnitudes): Likewise.
52329 (__mul): Likewise.
52330 (__sqr): Likewise.
52331 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
52332 powers of two in terms of TWOPOW macro.
52333 (mp_no): Make type of mantissa as MANTISSA_T.
52334 [!RADIXI]: Define RADIXI.
52335 [!TWO52]: Define TWO52.
52336 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52337
52338 * manual/nptl.texi (cindex): Modify threads to pthreads.
52339
52340 2013-03-15 Joseph Myers <joseph@codesourcery.com>
52341
52342 * sysdeps/x86_64/preconfigure: Regenerated.
52343
52344 2013-03-14 Joseph Myers <joseph@codesourcery.com>
52345
52346 [BZ #14155]
52347 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52348 0x1p28 and above.
52349 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52350 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52351 0x1p28 and above.
52352 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52353 * math/libm-test.inc (j0_test): Do not allow one spurious
52354 underflow exception.
52355 (y1_test): Likewise.
52356
52357 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
52358
52359 * manual/Makefile (chapters): Add nptl.
52360 * manual/debug.texi (Debugging Support): Add link to Threads
52361 chapter.
52362 * manual/nptl.texi: New file.
52363
52364 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52365
52366 2013-03-14 Petr Baudis <pasky@ucw.cz>
52367
52368 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52369 for non-NULL pointer before the memory validity test. Pointed
52370 out by Holger Brunck <holger.brunck@keymile.com>.
52371
52372 2013-03-13 Andreas Schwab <schwab@suse.de>
52373
52374 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52375 instead of .os.
52376
52377 2013-03-13 Joseph Myers <joseph@codesourcery.com>
52378
52379 * timezone/zic.c: Update from tzcode 2013b.
52380
52381 2013-03-12 Carlos O'Donell <carlos@redhat.com>
52382
52383 * manual/install.texi (Configuring and compiling):
52384 Mention i686 and i586.
52385 * INSTALL: Regenerate.
52386
52387 2013-03-12 Roland McGrath <roland@hack.frob.com>
52388
52389 * sysdeps/init_array/elf-init.c: New file.
52390 * csu/elf-init.c
52391 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52392 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52393
52394 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52395 __gmon_start__ as global, but as static with a .preinit_array pointer.
52396 * sysdeps/init_array/gmon-start.c: New file. Use that.
52397 * sysdeps/init_array/crti.S: New file, empty except for comments.
52398 * sysdeps/init_array/crtn.S: Likewise.
52399
52400 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
52401
52402 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52403 definining bcopy.
52404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52405 Remove Prefer_SSE_for_memop.
52406 * sysdeps/x86_64/multiarch/init-arch.h: Remove
52407 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52408 HAS_PREFER_SSE_FOR_MEMOP.
52409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52410 memset-x86-64.
52411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52412 Remove bzero, memset ifunc support.
52413 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52414 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52415 * sysdeps/x86_64/multiarch/memset.S: Likewise.
52416 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52417
52418 2013-03-11 Andreas Schwab <schwab@suse.de>
52419
52420 [BZ #15234]
52421 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52422 by SHLIB_COMPAT.
52423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52424 (GLIBC_2.16): Remove pthread_atfork.
52425
52426 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
52427
52428 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52429 (ptestcases.h): Likewise.
52430
52431 2013-03-08 Roland McGrath <roland@hack.frob.com>
52432
52433 * Makeconfig ($(common-objpfx)config.status): Depend on
52434 sysdeps/*/preconfigure{,.in} too.
52435
52436 2013-03-08 Joseph Myers <joseph@codesourcery.com>
52437
52438 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52439 (__free_hook): Use void * instead of __malloc_ptr_t.
52440 (__malloc_hook): Likewise.
52441 (__realloc_hook): Likewise.
52442 (__memalign_hook): Likewise.
52443 (__after_morecore_hook): Likewise.
52444 * malloc/arena.c (save_malloc_hook): Likewise.
52445 (save_free_hook): Likewise.
52446 * malloc/hooks.c (malloc_hook_ini): Likewise.
52447 (realloc_hook_ini): Likewise.
52448 (memalign_hook_ini): Likewise.
52449 * malloc/malloc.c (malloc_hook_ini): Likewise.
52450 (realloc_hook_ini): Likewise.
52451 (memalign_hook_ini): Likewise.
52452 (__free_hook): Likewise.
52453 (__malloc_hook): Likewise.
52454 (__realloc_hook): Likewise.
52455 (__memalign_hook): Likewise.
52456 (__libc_malloc): Likewise.
52457 (__libc_free): Likewise.
52458 (__libc_realloc): Likewise.
52459 (__libc_memalign): Likewise.
52460 (__libc_valloc): Likewise.
52461 (__libc_pvalloc): Likewise.
52462 (__libc_calloc): Likewise.
52463 (__posix_memalign): Likewise.
52464 * malloc/morecore.c (__sbrk): Likewise.
52465 (__default_morecore): Likewise.
52466
52467 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52468
52469 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52470 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52471 __malloc_ptrdiff_t.
52472
52473 * malloc/malloc.h (__malloc_size_t): Remove macro.
52474 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52475 __malloc_size_t.
52476 (old_memalign_hook): Likewise.
52477 (old_realloc_hook): Likewise.
52478 (struct hdr): Likewise.
52479 (flood): Likewise.
52480 (mallochook): Likewise.
52481 (memalignhook): Likewise.
52482 (reallochook): Likewise.
52483 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52484 (tr_old_realloc_hook): Likewise.
52485 (tr_old_memalign_hook): Likewise.
52486 (tr_mallochook): Likewise.
52487 (tr_reallochook): Likewise.
52488 (tr_memalignhook): Likewise.
52489
52490 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52491
52492 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52493 default_ldbl_pack and using as default implementation.
52494 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52495 implementation.
52496 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52497 redundant definition.
52498 (ldbl_insert_mantissa): Likewise.
52499 (ldbl_canonicalize): Likewise.
52500 (ldbl_nearbyint): Likewise.
52501 (ldbl_pack): Rename to ldbl_pack_ppc.
52502 (ldbl_unpack): Rename to ldbl_unpack_ppc.
52503 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52504 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52505
52506 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
52507
52508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52509 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52510 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52511 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52513 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52514 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52515 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52516
52517 2013-03-07 Andreas Jaeger <aj@suse.de>
52518
52519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52520 bits/mman-linux.h.
52521
52522 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
52523
52524 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52525 Include mpa.h and declare __MPEXP.
52526 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52527 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52528 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52529 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52530 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52531 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52532 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52533
52534 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52535 (__slowpow): Use long double EXPL and LOGL functions to
52536 compute POW.
52537 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52538 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52539 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52540 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52541 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52542 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52543
52544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52545 intermediate variable to calculate exponent.
52546 (__sqr): Likewise.
52547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52548 Likewise.
52549 (__sqr): Likewise.
52550
52551 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52552 [!NO__SQR]: Define __sqr.
52553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52554 and NO__SQR. Remove all code except __mul and __sqr. Include
52555 sysdeps/ieee754/dbl-64/mpa.c.
52556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52557
52558 [BZ #12723]
52559 * posix/Makefile (tests): Add tst-pathconf.
52560 * posix/tst-pathconf.c: New test case.
52561 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52562 _PC_PIPE_BUF.
52563 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52564
52565 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
52566
52567 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52568
52569 2013-03-06 Andreas Jaeger <aj@suse.de>
52570
52571 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52572 definition via __MAP_ANONYMOUS.
52573
52574 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52575 it's not part of Linux headers.
52576
52577 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52578 (MAP_HUGE_MASK): Define.
52579
52580 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52581 Define.
52582 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52583 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52584 Define.
52585 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52586 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52587 Define.
52588 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52590 Define.
52591 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52592
52593 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52594 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52595 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52596 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52597 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52598 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52599
52600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52601 Handle f2fs.
52602
52603 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52604 Handle f2fs and efivarfs.
52605
52606 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52607 f2fs.
52608
52609 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52610 (EFIVARFS_MAGIC): Add.
52611 (F2FS_LINK_MAX): Add.
52612
52613 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52614
52615 * stdio-common/vfprintf.c: Replace __builtin_expect with
52616 __glibc_unlikely.
52617
52618 2013-03-06 Joseph Myers <joseph@codesourcery.com>
52619
52620 [BZ #13550]
52621 * sysdeps/generic/bp-sym.h: Remove file.
52622 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52623 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52624 <bp-sym.h> and <bp-asm.h>.
52625 (__longjmp): Don't use BP_SYM.
52626 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52627 and <bp-asm.h>.
52628 (memcpy): Don't use BP_SYM.
52629 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52630 <bp-sym.h> and <bp-asm.h>.
52631 (memcpy): Don't use BP_SYM.
52632 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52633 <bp-asm.h>.
52634 (memcpy): Don't use BP_SYM.
52635 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52636 <bp-asm.h>.
52637 (memset): Don't use BP_SYM.
52638 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52639 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52640 (__bzero): Don't use BP_SYM.
52641 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52642 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52643 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52644 <bp-sym.h> and <bp-asm.h>.
52645 (memcmp): Don't use BP_SYM. Remove comment about bounded
52646 pointers.
52647 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52648 <bp-sym.h> and <bp-asm.h>.
52649 (memcpy): Don't use BP_SYM.
52650 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52651 <bp-sym.h> and <bp-asm.h>.
52652 (memset): Don't use BP_SYM.
52653 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52654 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52655 (__bzero): Don't use BP_SYM.
52656 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52657 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52658 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52659 <bp-sym.h> and <bp-asm.h>.
52660 (strncmp): Don't use BP_SYM. Remove comment about bounded
52661 pointers.
52662 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52663 <bp-sym.h> and <bp-asm.h>.
52664 (memcpy): Don't use BP_SYM.
52665 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52666 <bp-sym.h> and <bp-asm.h>.
52667 (memset): Don't use BP_SYM.
52668 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52669 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52670 (__bzero): Don't use BP_SYM.
52671 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52672 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52673 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52674 <bp-sym.h> and <bp-asm.h>.
52675 (__memchr): Don't use BP_SYM.
52676 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52677 <bp-sym.h> and <bp-asm.h>.
52678 (memcmp): Don't use BP_SYM. Remove comment about bounded
52679 pointers.
52680 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52681 <bp-sym.h> and <bp-asm.h>.
52682 (memcpy): Don't use BP_SYM.
52683 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52684 <bp-sym.h> and <bp-asm.h>.
52685 (__mempcpy): Don't use BP_SYM.
52686 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52687 <bp-sym.h> and <bp-asm.h>.
52688 (__memrchr): Don't use BP_SYM.
52689 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52690 <bp-sym.h> and <bp-asm.h>.
52691 (memset): Don't use BP_SYM.
52692 (__bzero): Likewise.
52693 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52694 <bp-sym.h> and <bp-asm.h>.
52695 (__rawmemchr): Don't use BP_SYM.
52696 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52697 <bp-sym.h> and <bp-asm.h>.
52698 (__STRCMP): Don't use BP_SYM.
52699 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52700 <bp-sym.h> and <bp-asm.h>.
52701 (strchr): Don't use BP_SYM.
52702 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52703 <bp-sym.h> and <bp-asm.h>.
52704 (__strchrnul): Don't use BP_SYM.
52705 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52706 <bp-sym.h> and <bp-asm.h>.
52707 (strlen): Don't use BP_SYM.
52708 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52709 <bp-sym.h> and <bp-asm.h>.
52710 (strncmp): Don't use BP_SYM. Remove comment about bounded
52711 pointers.
52712 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52713 <bp-sym.h> and <bp-asm.h>.
52714 (__strnlen): Don't use BP_SYM.
52715 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52716 <bp-sym.h> and <bp-asm.h>.
52717 (__GI__setjmp): Don't use BP_SYM.
52718 (_setjmp): Likewise.
52719 (__sigsetjmp): Likewise.
52720 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52721 (L(start_addresses)): Don't use BP_SYM.
52722 (_start): Likewise.
52723 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52724 <bp-asm.h>.
52725 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52726 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52727 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52728 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52729 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52730 <bp-asm.h>.
52731 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52732 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
52733 about bounded pointers.
52734 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52735 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52736 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52737 <bp-asm.h>.
52738 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
52739 about bounded pointers. Remove GKM FIXME comments.
52740 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52741 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52742 <bp-asm.h>.
52743 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52744 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
52745 Remove GKM FIXME comments.
52746 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52747 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52748 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52749 <bp-asm.h>.
52750 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
52751 about bounded pointers. Remove GKM FIXME comment.
52752 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52753 and <bp-asm.h>.
52754 (strncmp): Don't use BP_SYM. Remove comment about bounded
52755 pointers.
52756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52757 <bp-sym.h> and <bp-asm.h>.
52758 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52760 <bp-sym.h> and <bp-asm.h>.
52761 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
52762 comment.
52763
52764 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52765
52766 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52767 call free(NULL).
52768
52769 2013-03-05 David S. Miller <davem@davemloft.net>
52770
52771 * po/es.po: Update from translation team.
52772
52773 2013-03-05 Andreas Jaeger <aj@suse.de>
52774
52775 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52776 <bits/mman-linux.h>.
52777 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52778 is fine.
52779 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
52780 <bits/mman-linux.h> to end of file.
52781 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52782 is fine.
52783 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
52784 <bits/mman-linux.h> to end of file.
52785 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52786 is fine.
52787 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
52788 <bits/mman-linux.h> to end of file.
52789
52790 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
52791 (MCL_CURRENT, MCL_FUTURE): Define here.
52792
52793 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52794
52795 [BZ #15232]
52796 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
52797 attribute_hidden.
52798 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52799
52800 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52801
52802 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
52803 fourth parameter needed for rt_sigprocmask syscall.
52804 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
52805 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52806 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
52807 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52808 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52809 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
52810
52811 2013-03-04 Joseph Myers <joseph@codesourcery.com>
52812
52813 [BZ #13550]
52814 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
52815 comment about bounded pointers.
52816 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
52817 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
52818
52819 2013-03-04 Andreas Jaeger <aj@suse.de>
52820
52821 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
52822 common definitions.
52823
52824 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
52825 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
52826 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
52827 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52828 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52829 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52830
52831 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52832
52833 [BZ #15055]
52834 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
52835 __ieee754_sqrl instead of __sqrl.
52836
52837 2013-03-01 Joseph Myers <joseph@codesourcery.com>
52838
52839 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
52840 * sysdeps/powerpc/fpu_control.h: ... here.
52841 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
52842 * sysdeps/powerpc/bits/fenvinline.h: ... here.
52843 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
52844 * sysdeps/powerpc/bits/mathinline.h: ... here.
52845
52846 2013-03-01 Roland McGrath <roland@hack.frob.com>
52847
52848 * elf/dl-hwcaps.c (_dl_important_hwcaps):
52849 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
52850 to just [NEED_DL_SYSINFO_DSO].
52851 * elf/dl-support.c: Likewise.
52852 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52853 * elf/rtld.c (dl_main): Likewise.
52854 * elf/setup-vdso.h (setup_vdso): Likewise.
52855 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52856 * sysdeps/unix/sysv/linux/dl-sysdep.c
52857 (_dl_discover_osversion): Likewise.
52858
52859 2013-03-01 Carlos O'Donell <carlos@redhat.com>
52860
52861 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52862 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52863
52864 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
52865
52866 * NEWS: Mention libm performance improvements and non-x86 PI
52867 futex support.
52868
52869 * csu/libc-start.c (__pthread_initialize_minimal): Change
52870 function arguments.
52871 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52872
52873 2013-02-28 Joseph Myers <joseph@codesourcery.com>
52874
52875 [BZ #13550]
52876 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52877 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52878 <bp-sym.h> and <bp-asm.h>.
52879 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52880 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52881 and <bp-asm.h>.
52882 (memcpy): Don't use BP_SYM.
52883 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52884 <bp-asm.h>.
52885 (__mpn_add_n): Don't use BP_SYM.
52886 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52887 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52888 and <bp-asm.h>.
52889 (__mpn_addmul_1): Don't use BP_SYM.
52890 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52891 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52892 <bp-sym.h>.
52893 (_setjmp): Don't use BP_SYM.
52894 (__novmx_setjmp): Likewise.
52895 (__GI__setjmp): Likewise.
52896 (__vmx_setjmp): Likewise.
52897 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52898 <bp-sym.h>.
52899 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52900 (__bzero): Don't use BP_SYM.
52901 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52902 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52903 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52904 <bp-sym.h> and <bp-asm.h>.
52905 (memcpy): Don't use BP_SYM.
52906 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52907 <bp-sym.h> and <bp-asm.h>.
52908 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52909 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52910 <bp-sym.h> and <bp-asm.h>.
52911 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52912 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52913 <bp-asm.h>.
52914 (__mpn_lshift): Don't use BP_SYM.
52915 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52916 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52917 <bp-asm.h>.
52918 (memset): Don't use BP_SYM.
52919 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52920 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52921 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52922 <bp-asm.h>.
52923 (__mpn_mul_1): Don't use BP_SYM.
52924 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52926 <bp-sym.h> and <bp-asm.h>.
52927 (memcmp): Don't use BP_SYM.
52928 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52929 <bp-sym.h> and <bp-asm.h>.
52930 (memcpy): Don't use BP_SYM.
52931 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52932 <bp-sym.h> and <bp-asm.h>.
52933 (memset): Don't use BP_SYM.
52934 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52935 <bp-sym.h> and <bp-asm.h>.
52936 (strncmp): Don't use BP_SYM.
52937 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52938 <bp-sym.h> and <bp-asm.h>.
52939 (memcpy): Don't use BP_SYM.
52940 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52941 <bp-sym.h> and <bp-asm.h>.
52942 (memset): Don't use BP_SYM.
52943 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52944 <bp-sym.h> and <bp-asm.h>.
52945 (__memchr): Don't use BP_SYM.
52946 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52947 <bp-sym.h> and <bp-asm.h>.
52948 (memcmp): Don't use BP_SYM.
52949 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52950 <bp-sym.h> and <bp-asm.h>.
52951 (memcpy): Don't use BP_SYM.
52952 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52953 <bp-sym.h> and <bp-asm.h>.
52954 (__mempcpy): Don't use BP_SYM.
52955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52956 <bp-sym.h> and <bp-asm.h>.
52957 (__memrchr): Don't use BP_SYM.
52958 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52959 <bp-sym.h> and <bp-asm.h>.
52960 (memset): Don't use BP_SYM.
52961 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52962 <bp-sym.h> and <bp-asm.h>.
52963 (__rawmemchr): Don't use BP_SYM.
52964 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52965 <bp-sym.h> and <bp-asm.h>.
52966 (__STRCMP): Don't use BP_SYM.
52967 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52968 <bp-sym.h> and <bp-asm.h>.
52969 (strchr): Don't use BP_SYM.
52970 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52971 <bp-sym.h> and <bp-asm.h>.
52972 (__strchrnul): Don't use BP_SYM.
52973 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52974 <bp-sym.h> and <bp-asm.h>.
52975 (strlen): Don't use BP_SYM.
52976 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52977 <bp-sym.h> and <bp-asm.h>.
52978 (strncmp): Don't use BP_SYM.
52979 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52980 <bp-sym.h> and <bp-asm.h>.
52981 (__strnlen): Don't use BP_SYM.
52982 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52983 <bp-asm.h>.
52984 (__mpn_rshift): Don't use BP_SYM.
52985 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52986 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52987 <bp-sym.h> and <bp-asm.h>.
52988 (__sigsetjmp): Don't use BP_SYM.
52989 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52990 (L(start_addresses)): Don't use BP_SYM.
52991 (_start): Likewise.
52992 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52993 <bp-asm.h>.
52994 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52995 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52996 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52997 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52998 <bp-asm.h>.
52999 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53000 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53001 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53002 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53003 <bp-asm.h>.
53004 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
53005 comments.
53006 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53007 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53008 <bp-asm.h>.
53009 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
53010 FIXME comments.
53011 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53012 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53013 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53014 <bp-asm.h>.
53015 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
53016 comment.
53017 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53018 and <bp-asm.h>.
53019 (strncmp): Don't use BP_SYM,
53020 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53021 <bp-asm.h>.
53022 (__mpn_sub_n): Don't use BP_SYM.
53023 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53024 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53025 and <bp-asm.h>.
53026 (__mpn_submul_1): Don't use BP_SYM.
53027 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53029 <bp-sym.h> and <bp-asm.h>.
53030 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53032 <bp-sym.h> and <bp-asm.h>.
53033 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
53034 comment.
53035
53036 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53037
53038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53039 Use ZK to minimize writes to Z.
53040 (sub_magnitudes): Simplify code a bit.
53041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53042 Use ZK to minimize writes to Z.
53043 (sub_magnitudes): Simplify code a bit.
53044
53045 2013-02-27 Roland McGrath <roland@hack.frob.com>
53046
53047 * csu/gmon-start.c: Add special exception to license text.
53048
53049 2013-02-27 Richard Henderson <rth@redhat.com>
53050
53051 * scripts/config.guess: Update from config.git.
53052 * scripts/config.sub: Likewise.
53053
53054 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53055
53056 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53057
53058 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53059
53060 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53061
53062 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53063
53064 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53065
53066 2013-02-26 Roland McGrath <roland@hack.frob.com>
53067
53068 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53069 [$(build-shared = yes].
53070
53071 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53072
53073 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53074 (__mul): Reduce iterations for calculating mantissa.
53075
53076 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53077 MPTWO.
53078 (__mpranred): Likewise.
53079
53080 [BZ #15160]
53081 * malloc/memusagestat.c (main): Draw graphs for heap and stack
53082 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53083
53084 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
53085
53086 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53087 Define __attribute__.
53088
53089 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53090
53091 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53092 unused.
53093 * posix/regex_internal.h (__attribute): Remove.
53094 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53095 (re_string_context_at): Likewise.
53096 (bitset_not): Use __attribute__ and mark function as possibly
53097 unused.
53098 (bitset_merge): Likewise.
53099 (bitset_mask): Likewise.
53100 (re_string_char_size_at): Likewise.
53101 (re_string_wchar_at): Likewise.
53102 (re_string_elem_size_at): Likewise.
53103
53104 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53105
53106 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53107 code.
53108 (cc32): Likewise.
53109
53110 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53111 (__acr): Likewise.
53112 (__cpy): Likewise.
53113 (norm): Likewise.
53114 (denorm): Likewise.
53115 (__dbl_mp): Likewise.
53116 (add_magnitudes): Likewise.
53117 (sub_magnitudes): Likewise.
53118 (__mul): Likewise.
53119 (__inv): Likewise.
53120
53121 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53122 style.
53123
53124 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53125 style.
53126
53127 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53128 code.
53129
53130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53131 up changes with default code.
53132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53133 Likewise.
53134
53135 2013-02-24 Allan McRae <allan@archlinux.org>
53136
53137 * manual/socket.texi (The Internet Namespace): Order menu items
53138 to match that in the file.
53139
53140 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53141 node listing of the info page menu.
53142
53143 2013-02-21 Joseph Myers <joseph@codesourcery.com>
53144
53145 [BZ #13550]
53146 * sysdeps/i386/bp-asm.h: Remove file.
53147 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53148 (PARMS): Do not use macros from bp-asm.h.
53149 (S1): Likewise.
53150 (S2): Likewise.
53151 (SIZE): Likewise.
53152 (__mpn_add_n): Do not use BP_SYM
53153 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53154 "bp-asm.h".
53155 (PARMS): Do not use macros from bp-asm.h.
53156 (S1): Likewise.
53157 (SIZE): Likewise.
53158 (__mpn_addmul_1): Do not use BP_SYM
53159 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53160 "bp-asm.h".
53161 (PARMS): Do not use macros from bp-asm.h.
53162 (SIGMSK): Likewise.
53163 (_setjmp): Likewise. Do not use BP_SYM.
53164 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53165 "bp-asm.h".
53166 (PARMS): Do not use macros from bp-asm.h.
53167 (SIGMSK): Likewise.
53168 (setjmp): Likewise. Do not use BP_SYM.
53169 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53170 "bp-asm.h".
53171 (PARMS): Do not use macros from bp-asm.h.
53172 (__frexp): Do not use BP_SYM.
53173 (frexp): Likewise.
53174 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53175 "bp-asm.h".
53176 (PARMS): Do not use macros from bp-asm.h.
53177 (__frexpf): Do not use BP_SYM.
53178 (frexpf): Likewise.
53179 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53180 "bp-asm.h".
53181 (PARMS): Do not use macros from bp-asm.h.
53182 (__frexpl): Do not use BP_SYM.
53183 (frexpl): Likewise.
53184 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53185 "bp-asm.h".
53186 (PARMS): Do not use macros from bp-asm.h.
53187 (__remquo): Do not use BP_SYM.
53188 (remquo): Likewise.
53189 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53190 "bp-asm.h".
53191 (PARMS): Do not use macros from bp-asm.h.
53192 (__remquof): Do not use BP_SYM.
53193 (remquof): Likewise.
53194 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53195 "bp-asm.h".
53196 (PARMS): Do not use macros from bp-asm.h.
53197 (__remquol): Do not use BP_SYM.
53198 (remquol): Likewise.
53199 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53200 "bp-asm.h".
53201 (PARMS): Do not use macros from bp-asm.h.
53202 (DEST): Likewise.
53203 (SRC): Likewise.
53204 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
53205 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53206 "bp-asm.h".
53207 (PARMS): Do not use macros from bp-asm.h.
53208 (strlen): Do not use BP_SYM.
53209 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53210 "bp-asm.h".
53211 (PARMS): Do not use macros from bp-asm.h.
53212 (S1): Likewise.
53213 (S2): Likewise.
53214 (SIZE): Likewise.
53215 (__mpn_add_n): Do not use BP_SYM.
53216 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53217 "bp-asm.h".
53218 (PARMS): Do not use macros from bp-asm.h.
53219 (S1): Likewise.
53220 (SIZE): Likewise.
53221 (__mpn_addmul_1): Do not use BP_SYM.
53222 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53223 weak_alias.
53224 (bzero): Likewise.
53225 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53226 "bp-asm.h".
53227 (PARMS): Do not use macros from bp-asm.h.
53228 (S): Likewise.
53229 (SIZE): Likewise.
53230 (__mpn_lshift): Do not use BP_SYM.
53231 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53232 "bp-asm.h".
53233 (PARMS): Do not use macros from bp-asm.h.
53234 (DEST): Likewise.
53235 (SRC): Likewise.
53236 (LEN): Likewise.
53237 (memcpy): Likewise. Do not use BP_SYM.
53238 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53239 libc_hidden_def and weak_alias.
53240 (mempcpy): Do not use BP_SYM in weak_alias.
53241 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53242 "bp-asm.h".
53243 (PARMS): Do not use macros from bp-asm.h.
53244 (DEST): Likewise.
53245 (LEN): Likewise.
53246 [!BZERO_P] (CHR): Likewise.
53247 (memset): Likewise. Do not use BP_SYM.
53248 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53249 "bp-asm.h".
53250 (PARMS): Do not use macros from bp-asm.h.
53251 (S1): Likewise.
53252 (SIZE): Likewise.
53253 (__mpn_mul_1): Do not use BP_SYM.
53254 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53255 "bp-asm.h".
53256 (PARMS): Do not use macros from bp-asm.h.
53257 (S): Likewise.
53258 (SIZE): Likewise.
53259 (__mpn_rshift): Do not use BP_SYM.
53260 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53261 "bp-asm.h".
53262 (PARMS): Do not use macros from bp-asm.h.
53263 (STR): Likewise.
53264 (CHR): Likewise.
53265 (strchr): Likewise. Do not use BP_SYM.
53266 (index): Do not use BP_SYM in weak_alias.
53267 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53268 "bp-asm.h".
53269 (PARMS): Do not use macros from bp-asm.h.
53270 (DEST): Likewise.
53271 (SRC): Likewise.
53272 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
53273 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53274 "bp-asm.h".
53275 (PARMS): Do not use macros from bp-asm.h.
53276 (strlen): Do not use BP_SYM.
53277 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53278 "bp-asm.h".
53279 (PARMS): Do not use macros from bp-asm.h.
53280 (S1): Likewise.
53281 (S2): Likewise.
53282 (SIZE): Likewise.
53283 (__mpn_sub_n): Do not use BP_SYM.
53284 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53285 "bp-asm.h".
53286 (PARMS): Do not use macros from bp-asm.h.
53287 (S1): Likewise.
53288 (SIZE): Likewise.
53289 (__mpn_submul_1): Do not use BP_SYM.
53290 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53291 "bp-asm.h".
53292 (PARMS): Do not use macros from bp-asm.h.
53293 (S1): Likewise.
53294 (S2): Likewise.
53295 (SIZE): Likewise.
53296 (__mpn_add_n): Do not use BP_SYM.
53297 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53298 weak_alias.
53299 (bzero): Likewise.
53300 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53301 "bp-asm.h".
53302 (PARMS): Do not use macros from bp-asm.h.
53303 (BLK2): Likewise.
53304 (LEN): Likewise.
53305 (memcmp): Do not use BP_SYM.
53306 (bcmp): Do not use BP_SYM in weak_alias.
53307 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53308 "bp-asm.h".
53309 (PARMS): Do not use macros from bp-asm.h.
53310 (DEST): Likewise.
53311 (SRC): Likewise.
53312 (LEN): Likewise.
53313 (memcpy): Likewise. Do not use BP_SYM.
53314 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53315 "bp-asm.h".
53316 (PARMS): Do not use macros from bp-asm.h.
53317 (DEST): Likewise.
53318 (SRC): Likewise.
53319 (LEN): Likewise.
53320 (memmove): Likewise. Do not use BP_SYM.
53321 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53322 "bp-asm.h".
53323 (PARMS): Do not use macros from bp-asm.h.
53324 (DEST): Likewise.
53325 (SRC): Likewise.
53326 (LEN): Likewise.
53327 (__mempcpy): Likewise. Do not use BP_SYM.
53328 (mempcpy): Do not use BP_SYM in weak_alias.
53329 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53330 "bp-asm.h".
53331 (PARMS): Do not use macros from bp-asm.h.
53332 (DEST): Likewise.
53333 (LEN): Likewise.
53334 [!BZERO_P] (CHR): Likewise.
53335 (memset): Likewise. Do not use BP_SYM.
53336 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53337 "bp-asm.h".
53338 (PARMS): Do not use macros from bp-asm.h.
53339 (STR2): Likewise.
53340 (strcmp): Do not use BP_SYM.
53341 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53342 "bp-asm.h".
53343 (PARMS): Do not use macros from bp-asm.h.
53344 (STR): Likewise.
53345 (DELIM): Likewise.
53346 [USE_AS_STRTOK_R] (SAVE): Likewise.
53347 (FUNCTION): Likewise. Do not use BP_SYM.
53348 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53349 aliases.
53350 (strtok_r): Likewise.
53351 (__GI___strtok_r): Likewise.
53352 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53353 (PARMS): Do not use macros from bp-asm.h.
53354 (S): Likewise.
53355 (SIZE): Likewise.
53356 (__mpn_lshift): Do not use BP_SYM.
53357 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53358 (PARMS): Do not use macros from bp-asm.h.
53359 (STR): Likewise.
53360 (CHR): Likewise.
53361 (__memchr): Do not use BP_SYM.
53362 (memchr): Do not use BP_SYM in weak_alias.
53363 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53364 (PARMS): Do not use macros from bp-asm.h.
53365 (BLK2): Likewise.
53366 (LEN): Likewise.
53367 (memcmp): Do not use BP_SYM.
53368 (bcmp): Do not use BP_SYM in weak_alias.
53369 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53370 (PARMS): Do not use macros from bp-asm.h.
53371 (S1): Likewise.
53372 (SIZE): Likewise.
53373 (__mpn_mul_1): Do not use BP_SYM.
53374 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53375 "bp-asm.h".
53376 (PARMS): Do not use macros from bp-asm.h.
53377 (STR): Likewise.
53378 (CHR): Likewise.
53379 (__rawmemchr): Do not use BP_SYM.
53380 (rawmemchr): Do not use BP_SYM in weak_alias.
53381 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53382 (PARMS): Do not use macros from bp-asm.h.
53383 (S): Likewise.
53384 (SIZE): Likewise.
53385 (__mpn_rshift): Do not use BP_SYM.
53386 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53387 (PARMS): Do not use macros from bp-asm.h.
53388 (SIGMSK): Likewise.
53389 (__sigsetjmp): Likewise. Do not use BP_SYM.
53390 * sysdeps/i386/start.S: Do not include "bp-sym.h".
53391 (_start): Do not use BP_SYM.
53392 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53393 (PARMS): Do not use macros from bp-asm.h.
53394 (DEST): Likewise.
53395 (SRC): Likewise.
53396 (__stpcpy): Likewise. Do not use BP_SYM.
53397 (stpcpy): Do not use BP_SYM in weak_alias.
53398 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53399 "bp-asm.h".
53400 (PARMS): Do not use macros from bp-asm.h.
53401 (DEST): Likewise.
53402 (SRC): Likewise.
53403 (LEN): Likewise.
53404 (__stpncpy): Likewise. Do not use BP_SYM.
53405 (stpncpy): Do not use BP_SYM in weak_alias.
53406 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53407 (PARMS): Do not use macros from bp-asm.h.
53408 (STR): Likewise.
53409 (CHR): Likewise.
53410 (strchr): Likewise. Do not use BP_SYM.
53411 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53412 "bp-asm.h".
53413 (PARMS): Do not use macros from bp-asm.h.
53414 (STR): Likewise.
53415 (CHR): Likewise.
53416 (__strchrnul): Likewise. Do not use BP_SYM.
53417 (strchrnul): Do not use BP_SYM in weak_alias.
53418 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53419 "bp-asm.h".
53420 (PARMS): Do not use macros from bp-asm.h.
53421 (STOP): Likewise.
53422 (strcspn): Do not use BP_SYM.
53423 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53424 "bp-asm.h".
53425 (PARMS): Do not use macros from bp-asm.h.
53426 (STR): Likewise.
53427 (STOP): Likewise.
53428 (strpbrk): Likewise. Do not use BP_SYM.
53429 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53430 "bp-asm.h".
53431 (PARMS): Do not use macros from bp-asm.h.
53432 (STR): Likewise.
53433 (CHR): Likewise.
53434 (strrchr): Likewise. Do not use BP_SYM.
53435 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53436 (PARMS): Do not use macros from bp-asm.h.
53437 (SKIP): Likewise.
53438 (strspn): Do not use BP_SYM.
53439 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53440 (PARMS): Do not use macros from bp-asm.h.
53441 (STR): Likewise.
53442 (DELIM): Likewise.
53443 (SAVE): Likewise.
53444 (FUNCTION): Likewise. Do not use BP_SYM.
53445 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53446 aliases.
53447 (strtok_r): Likewise.
53448 (__GI___strtok_r): Likewise.
53449 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53450 (PARMS): Do not use macros from bp-asm.h.
53451 (S1): Likewise.
53452 (S2): Likewise.
53453 (SIZE): Likewise.
53454 (__mpn_sub_n): Do not use BP_SYM.
53455 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53456 "bp-asm.h".
53457 (PARMS): Do not use macros from bp-asm.h.
53458 (S1): Likewise.
53459 (SIZE): Likewise.
53460 (__mpn_submul_1): Do not use BP_SYM.
53461 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53462 <bp-sym.h>.
53463 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53464 and <bp-asm.h>.
53465 (PARMS): Do not use macros from bp-asm.h.
53466 (FLAGS): Likewise.
53467 (PTID): Likewise.
53468 (TLS): Likewise.
53469 (CTID): Likewise.
53470 (__clone): Do not use BP_SYM.
53471 (clone): Do not use BP_SYM in weak_alias.
53472 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53473 and <bp-asm.h>.
53474 (PARMS): Do not use macros from bp-asm.h.
53475 (LEN): Likewise.
53476 (__mmap64): Do not use BP_SYM.
53477 (mmap64): Do not use BP_SYM in weak_alias.
53478 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53479 <bp-sym.h> and <bp-asm.h>.
53480 (PARMS): Do not use macros from bp-asm.h.
53481 (__posix_fadvise64_l64): Do not use BP_SYM.
53482 * sysdeps/unix/sysv/linux/i386/semtimedop.S
53483 (PARMS): Do not use macros from bp-asm.h.
53484 (NSOPS): Likewise.
53485 (semtimedop): Do not use BP_SYM.
53486 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53487 and <bp-asm.h>.
53488
53489 2013-02-21 Allan McRae <allan@archlinux.org>
53490
53491 * manual/message.texi (Charset conversion in gettext):
53492 Move @end statement to beginning of line.
53493
53494 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53495
53496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53497 static.
53498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53499 Likewise.
53500
53501 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53502 (denorm): Likewise.
53503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53505
53506 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53507
53508 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53509 tail-call to the resolved function if pltexit isn't needed.
53510
53511 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53512
53513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53514 or Y being zero as being unlikely.
53515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53516 Likewise.
53517
53518 2013-02-20 Carlos O'Donell <carlos@redhat.com>
53519
53520 * manual/nss.texi (System Databases and Name Service Switch):
53521 Remove frobnicate @pxref.
53522
53523 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
53524
53525 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53526 __attribute__ ((unused)) to __attribute__ ((__unused__)).
53527
53528 2013-02-20 Petr Machata <pmachata@redhat.com>
53529
53530 * elf/elf.h (R_ARM_TARGET1): New macro.
53531 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53532 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53533 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53534 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53535 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53536 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53537 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53538 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53539 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53540 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53541 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53542 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53543 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53544 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53545 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53546 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53547 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53548 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53549 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53550 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53551 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53552 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53553 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53554 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53555 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53556 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53557 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53558 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53559 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53560 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53561 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53562 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53563 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53564 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53565 (R_ARM_THM_GOT_BREL12): Likewise.
53566 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53567 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53568 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53569 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53570 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53571 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53572 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53573 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53574 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53575
53576 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
53577
53578 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53579 __attribute_used__ to __attribute__ ((unused)).
53580
53581 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53582
53583 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53584 powerpc mpa.c.
53585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53586 comment formatting.
53587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53588
53589 2013-02-19 Joseph Myers <joseph@codesourcery.com>
53590
53591 [BZ #13550]
53592 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53593 Remove macro.
53594 (ENTER): Remove both macro definitions.
53595 (LEAVE): Likewise.
53596 (CHECK_BOUNDS_LOW): Likewise.
53597 (CHECK_BOUNDS_HIGH): Likewise.
53598 (CHECK_BOUNDS_BOTH): Likewise.
53599 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53600 (RETURN_BOUNDED_POINTER): Likewise.
53601 (RETURN_NULL_BOUNDED_POINTER): Likewise.
53602 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53603 (POP_ERRNO_LOCATION_RETURN): Likewise.
53604 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53605 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53606 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53607 macros.
53608 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53609 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53610 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53611 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53612 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53613 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53614 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53615 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53616 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53617 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53618 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53619 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53620 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53621 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53622 removed macros.
53623 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53624 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53625 macros.
53626 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53627 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53628 * sysdeps/i386/i586/memset.S (memset): Likewise.
53629 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53630 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53631 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53632 macros.
53633 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53634 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53635 Change uses of L(2) to L(out).
53636 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53637 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53638 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53639 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53640 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53641 removed macros.
53642 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53643 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53644 macros.
53645 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53646 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53647 (RETURN): Do not use macro LEAVE.
53648 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53649 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53650 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53651 * sysdeps/i386/i686/memset.S (memset): Likewise.
53652 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53653 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53654 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53655 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53656 Likewise.
53657 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53658 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
53659 L(1_2) and L(1_3) into L(1).
53660 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53661 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53662 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53663 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53664 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53665 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53666 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53667 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53668 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53669 macros.
53670 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53671 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53672 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53673 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53674 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53675 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53676 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53677 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53678 * sysdeps/i386/strcspn.S (strcspn): Likewise.
53679 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53680 * sysdeps/i386/strrchr.S (strrchr): Likewise.
53681 * sysdeps/i386/strspn.S (strspn): Likewise.
53682 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53683 conditional code.
53684 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53685 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53686 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53687 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
53688 L(1_3) into L(1_1).
53689 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53690 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53691 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53692 macros.
53693 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53694
53695 2013-02-19 Jakub Jelinek <jakub@redhat.com>
53696
53697 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53698 macro.
53699
53700 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
53701
53702 * math/atest-exp.c (exp_mpn): Remove ROUND.
53703 * math/atest-exp2.c (exp_mpn): Likewise.
53704 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53705
53706 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53707 * stdlib/tst-tls-atexit-lib.c: Likewise.
53708 * stdlib/tst-tls-atexit.c: Likewise.
53709
53710 2013-02-18 Mike Frysinger <vapier@gentoo.org>
53711
53712 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53713 and __attribute_alloc_size__.
53714
53715 2013-02-18 Mike Frysinger <vapier@gentoo.org>
53716
53717 * include/programs/xmalloc.h: Change __attribute_alloc_size to
53718 __attribute_alloc_size__.
53719 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53720 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53721
53722 2013-02-18 Mike Frysinger <vapier@gentoo.org>
53723
53724 * include/programs/xmalloc.h: New file.
53725 * catgets/gencat.c: Include it.
53726 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53727 * elf/pldd.c: Likewise.
53728 * iconv/iconv_charmap.c: Likewise.
53729 * iconv/iconvconfig.c: Likewise.
53730 * iconv/strtab.c: Likewise.
53731 * locale/programs/locale.c: Likewise.
53732 * locale/programs/localedef.h: Likewise.
53733 * locale/programs/simple-hash.c: Likewise.
53734 * nscd/nscd.h: Likewise.
53735 * nss/makedb.c: Likewise.
53736 * sysdeps/generic/ldconfig.h: Likewise.
53737
53738 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53739
53740 * Versions.def: Add GLIBC_2.18.
53741 * include/link.h (struct link_map): New member l_tls_dtor_count.
53742 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53743 (__call_tls_dtors): Likewise.
53744 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53745 __cxa_thread_atexit_impl.
53746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53747 Likewise.
53748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53749 Likewise.
53750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53751 Likewise.
53752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53753 Likewise.
53754 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53756 Likewise.
53757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53758 Likewise.
53759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53761 Likewise.
53762 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53763 (tests): Add test case tst-tls-atexit.
53764 (modules-names): Add shared library for tst-tls-atexit.
53765 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53766 (GLIBC_PRIVATE): Add __call_tls_dtors.
53767 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53768 for libstdc++.
53769 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53770 * stdlib/tst-tls-atexit.c: New test case.
53771 * stdlib/tst-tls-atexit-lib.c: New test case.
53772
53773 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53774
53775 * elf/Versions (ld): Add _dl_find_dso_for_object.
53776 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53777 * elf/dl-open.c (_dl_find_dso_for_object): New function.
53778 (dl_open_worker): Use _dl_find_dso_for_object.
53779 * elf/dl-sym.c (do_sym): Likewise.
53780 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
53781
53782 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53783
53784 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
53785 Syntactic changes only.
53786 (_dl_runtime_profile): Do a tail-call to the resolved function.
53787
53788 2013-02-17 Joseph Myers <joseph@codesourcery.com>
53789
53790 [BZ #13550]
53791 * sysdeps/x86_64/bp-asm.h: Remove file.
53792 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
53793 <bp-sym.h> and <bp-asm.h>.
53794 (__clone): Do not use BP_SYM.
53795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
53796 <bp-sym.h> and <bp-asm.h>.
53797 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53798 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
53799 "bp-asm.h".
53800 (_setjmp): Do not use BP_SYM.
53801 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
53802 "bp-asm.h".
53803 (setjmp): Do not use BP_SYM.
53804 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
53805 libc_hidden_def.
53806 (mempcpy): Do not use BP_SYM in weak_alias.
53807 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
53808 "bp-asm.h".
53809 (strchr): Do not use BP_SYM.
53810 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
53811 "bp-asm.h".
53812 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
53813 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
53814 (_start): Do not use BP_SYM.
53815 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
53816 "bp-asm.h".
53817 (strcat): Do not use BP_SYM.
53818 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
53819 "bp-asm.h".
53820 (STRCMP): Do not use BP_SYM.
53821 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
53822 "bp-asm.h".
53823 (STRCPY): Do not use BP_SYM.
53824 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53825 "bp-asm.h".
53826 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
53827 "bp-asm.h".
53828 (FUNCTION): Do not use BP_SYM.
53829 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
53830 weak_alias.
53831 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
53832
53833 2013-02-17 Andreas Jaeger <aj@suse.de>
53834
53835 * time/Versions: Sort entries.
53836 * string/Versions: Likewise.
53837 * resolv/Versions: Likewise.
53838 * posix/Versions: Likewise.
53839 * iconv/Versions: Likewise.
53840 * elf/Versions: Likewise.
53841 * wcsmbs/Versions: Likewise.
53842
53843 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53844
53845 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
53846 loop termination condition.
53847
53848 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
53849 variable to calculate EZ.
53850 (__sqr): Likewise.
53851
53852 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53853 the lower precision input.
53854
53855 2013-02-15 Joseph Myers <joseph@codesourcery.com>
53856
53857 [BZ #13550]
53858 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53859 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53860 (run-via-rtld-prefix): Do not handle %-bp tests.
53861 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53862 (all-object-suffixes): Remove .ob.
53863 (bppfx): Remove variable.
53864 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53865 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53866 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53867 [$(build-bounded) = yes] (libtype.ob): Likewise.
53868 * Makerules (elide-routines.ob): Remove variable.
53869 (do-tests-clean): Do not handle *-bp.out.
53870 (common-mostlyclean): Do not handle *-bp and *-bp.out.
53871 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53872 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53873 (tests): Do not include $(tests-bp.out).
53874 (xtests): Do not include $(xtests-bp.out).
53875 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53876 [$(build-bounded) = yes] ($(addprefix
53877 $(objpfx),$(binaries-bounded))): Remove rule.
53878 ($(objpfx)%-bp.out): Remove rule.
53879 * config.make.in (build-bounded): Remove variable.
53880 * crypt/Makefile [$(build-bounded) = yes]
53881 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53882 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53883 append to variable.
53884 [$(build-bounded) = yes] (install-lib): Likewise.
53885 [$(build-bounded) = yes] (generated): Likewise.
53886 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53887 Remove rule.
53888 * intl/Makefile [$(build-bounded) = yes]
53889 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53890 * math/Makefile [$(build-bounded) = yes]
53891 ($(tests:%=$(objpfx)%-bp): Likewise.
53892 * misc/Makefile [$(build-bounded) = yes]
53893 ($(objpfx)tst-tsearch-bp): Likewise.
53894 * nptl/Makeconfig (bounded-thread-library): Remove variable.
53895 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53896 Remove dependency.
53897 * string/Makefile (o-objects.ob): Remove variable.
53898 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53899 (CFLAGS-.ob): Remove variable.
53900 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53901 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53902 both definitions of variable.
53903 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53904 (ASFLAGS-.ob): Remove variable.
53905
53906 2013-02-14 Joseph Myers <joseph@codesourcery.com>
53907
53908 [BZ #13550]
53909 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53910 Remove __BOUNDED_POINTERS__ from condition.
53911 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53912 * string/bits/string2.h [!__NO_STRING_INLINES &&
53913 !__BOUNDED_POINTERS__]: Likewise.
53914 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53915 Likewise.
53916 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53917 Remove conditional code.
53918 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53919 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53920 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53921 condition.
53922
53923 [BZ #13550]
53924 * csu/libc-start.c: Do not include <bp-sym.h>.
53925 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53926 * elf/dl-open.c: Do not include <bp-sym.h>.
53927 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53928 * math/fegetenv.c: Do not include <bp-sym.h>.
53929 (fegetenv): Do not use BP_SYM in versioned symbols.
53930 * nptl/sysdeps/pthread/bits/libc-lockP.h
53931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53932 <bp-sym.h>.
53933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53934 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53936 (__pthread_mutex_destroy): Likewise.
53937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53938 (__pthread_mutex_lock): Likewise.
53939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53940 (__pthread_mutex_trylock): Likewise.
53941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53942 (__pthread_mutex_unlock): Likewise.
53943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53944 (__pthread_mutexattr_init): Likewise.
53945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53946 (__pthread_mutexattr_destroy): Likewise.
53947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53948 (__pthread_mutexattr_settype): Likewise.
53949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53950 (__pthread_rwlock_init): Likewise.
53951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53952 (__pthread_rwlock_destroy): Likewise.
53953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53954 (__pthread_rwlock_rdlock): Likewise.
53955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53956 (__pthread_rwlock_tryrdlock): Likewise.
53957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53958 (__pthread_rwlock_wrlock): Likewise.
53959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53960 (__pthread_rwlock_trywrlock): Likewise.
53961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53962 (__pthread_rwlock_unlock): Likewise.
53963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53964 (__pthread_key_create): Likewise.
53965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53966 (__pthread_setspecific): Likewise.
53967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53968 (__pthread_getspecific): Likewise.
53969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53970 Likewise.
53971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53972 (_pthread_cleanup_push_defer): Likewise.
53973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53974 (_pthread_cleanup_pop_restore): Likewise.
53975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53976 (pthread_setcancelstate): Likewise.
53977 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53978 <bp-sym.h>.
53979 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53980 (memchr): Do not use BP_SYM in weak_alias.
53981 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53982 (fegetenv): Do not use BP_SYM in versioned symbols.
53983 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53984 (fesetenv): Do not use BP_SYM in versioned symbols.
53985 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53986 (feupdateenv): Do not use BP_SYM in versioned symbols.
53987 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53988 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53989 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53990 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53991 (open64): Do not use BP_SYM in weak_alias.
53992 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53993 (fegetenv): Do not use BP_SYM in versioned symbols.
53994 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53995 (fesetenv): Do not use BP_SYM in versioned symbols.
53996 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53997 (feupdateenv): Do not use BP_SYM in versioned symbols.
53998 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53999 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54000 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54001 (feraiseexcept): Do not use BP_SYM in versioned symbols.
54002 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54003 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54004 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54005 <bp-sym.h>.
54006 (__libc_start_main): Do not use BP_SYM.
54007
54008 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
54009
54010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54011 redundant return line.
54012 (norm): Likewise.
54013 (denorm): Likewise.
54014 (dbl_mp): Likewise.
54015 (sub_magnitudes): Likewise.
54016 (__add): Likewise.
54017 (__sub): Likewise.
54018 (__mul): Likewise.
54019 (__inv): Likewise.
54020 (__dvd): Likewise.
54021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54022 (norm): Likewise.
54023 (denorm): Likewise.
54024 (dbl_mp): Likewise.
54025 (sub_magnitudes): Likewise.
54026 (__add): Likewise.
54027 (__sub): Likewise.
54028 (__mul): Likewise.
54029 (__inv): Likewise.
54030 (__dvd): Likewise.
54031
54032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54033 instead of __mul.
54034 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54035 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54036 (cc32): Likewise.
54037
54038 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54039 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54041 of __mul for squares.
54042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54043 function
54044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54045 Likewise.
54046 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54047 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54048
54049 2013-02-13 Joseph Myers <joseph@codesourcery.com>
54050
54051 [BZ #13550]
54052 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54053 code.
54054 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54055 prototype or function definition. Rename ubp_* variables and
54056 parameters. Remove argv definitions conditional on
54057 [__BOUNDED_POINTERS__].
54058 * debug/backtrace.c (__backtrace): Do not use __unbounded.
54059 * elf/dl-runtime.c (_dl_fixup): Likewise.
54060 * include/set-hooks.h (RUN_HOOK): Likewise.
54061 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54062 definition.
54063 * string/strcpy.c (strcpy): Do not use __unbounded.
54064 * sysdeps/generic/frame.h (struct layout): Likewise.
54065 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54066 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54067 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54068 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54069 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54070 (__backtrace): Likewise.
54071 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54072 use __ptrvalue.
54073 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54074 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54075 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54076 Likewise.
54077 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54078 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54079 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54080 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54081 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54082 Do not use __unbounded.
54083 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54084 Rename __unboundedrlimits parameter to rlimits in prototype.
54085 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54086 Do not use __unbounded.
54087 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54088 not use __ptrvalue.
54089 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54090 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54091 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54092 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54093 __ptrvalue or __unbounded.
54094 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54095 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54096 use __unbounded.
54097 (__new_msgctl): Do not use __ptrvalue.
54098 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54099 __unbounded.
54100 (__libc_msgrcv): Do not use __ptrvalue.
54101 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54102 startup_info): Do not use __unbounded.
54103 (__libc_start_main): Likewise. Rename ubp_* variables and
54104 parameters. Remove argv definitions conditional on
54105 [__BOUNDED_POINTERS__].
54106 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54107 __ptrvalue.
54108 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54109 use __unbounded.
54110 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54111 or __ptrvalue.
54112 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54113 use __unbounded.
54114 (__new_shmctl): Do not use __ptrvalue.
54115 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54116 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54117 Likewise.
54118 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54119 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54120 (__libc_sigaction): Likewise.
54121 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54122 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54123 Likewise.
54124 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54125
54126 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
54127
54128 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54129
54130 * string/mempcpy.c: Implement by calling memcpy.
54131
54132 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54133
54134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54135
54136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54137 evaluation.
54138
54139 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54140 values in the mantissa.
54141
54142 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54143 minimize writes to Z.
54144 (sub_magnitudes): Simplify code a bit.
54145
54146 2013-02-12 Roland McGrath <roland@hack.frob.com>
54147
54148 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54149 from the message. The linker prefixes all warnings with that already.
54150
54151 2013-02-12 Andreas Schwab <schwab@suse.de>
54152
54153 [BZ #15078]
54154 * posix/regexec.c (extend_buffers): Add parameter min_len.
54155 (check_matching): Pass minimum needed length.
54156 (clean_state_log_if_needed): Likewise.
54157 (get_subexp): Likewise.
54158 * posix/Makefile (tests): Add bug-regex34.
54159 (bug-regex34-ENV): Define.
54160 * posix/bug-regex34.c: New file.
54161
54162 [BZ #11561]
54163 * posix/regcomp.c (parse_bracket_exp): When looking up collating
54164 elements compare against the byte sequence of it, not its name.
54165 * posix/Makefile (tests): Add bug-regex35.
54166 (bug-regex35-ENV): Define.
54167 * posix/bug-regex35.c: New file.
54168
54169 2013-02-11 Tom de Vries <tom@codesourcery.com>
54170
54171 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
54172 comment.
54173 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54174 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54175 (CHECK_EOL): Add undef.
54176
54177 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
54178
54179 * bits/stdlib-bsearch.h: New file.
54180 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54181 * stdlib/stdlib.h: Likewise.
54182
54183 2013-02-11 Roland McGrath <roland@hack.frob.com>
54184
54185 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54186 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54187 declaration.
54188 * manual/search.texi (Array Search Function): Add missing const in
54189 lfind prototype.
54190 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54191 declaration to use rlim_t.
54192 (Basic Scheduling Functions): Remove erroneous const from
54193 sched_getparam prototype. Remove erroneous * from
54194 sched_get_priority_max and sched_get_priority_min prototypes.
54195 (Resource Usage): Fix summary @comment on vtimes to refer to
54196 sys/vtimes.h rather than vtimes.h.
54197 Add missing *s in vtimes prototype.
54198 (Limits on Resources): Fix ulimit prototype to return long int.
54199 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54200 prototypes to use long int rather than double.
54201 (BSD Random): Fix initstate and setstate to use char *, not void *.
54202 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54203 prototype to make second argument 'struct aiocb64 *const[]'.
54204 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54205 (Status of AIO Operations): Remove erroneous const in aio_return and
54206 aio_return64 prototypes.
54207 (Synchronizing I/O): Fix sync prototype to return void.
54208 * manual/startup.texi (Suboptions): Remove an erroneous const in
54209 getsubopt prototype.
54210 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54211 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54212 use size_t rather than int.
54213 (Scanning All Users): Likewise for getpwent_r.
54214 (Setting Groups): Add missing const to setgroups prototype.
54215 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54216 * manual/socket.texi (Host Names): Fix gethostbyaddr and
54217 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54218 'const void *' rather than 'const char *'.
54219 (Host Address Functions): Likewise for inet_ntop.
54220 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54221 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54222 ssize_t for return value.
54223 (Sending Data): Likewise for send, sendto, sendmsg.
54224 (Socket Option Functions): Add a missing const in setsockopt prototype.
54225 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54226 use wchar_t for the argument.
54227 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54228 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54229 take no arguments.
54230 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54231 double/float/long double for second argument.
54232 Fix return types of significand, significandf, significandl.
54233 * manual/filesys.texi (Setting Permissions): Use mode_t for second
54234 argument in fchmod prototype.
54235 (File Owner): Use uid_t and gid_t in fchown prototype.
54236 (File Times): Add const to utimes, futimes, and lutimes prototypes.
54237 (Making Special Files): Use mode_t and dev_t in mknod prototype.
54238 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54239 use 'const struct dirent **' as argument types to CMP function pointer
54240 argument.
54241 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54242 (File Times): Fix summary magic @comment for struct utimbuf and utime
54243 to refer to utime.h, not time.h.
54244 * manual/string.texi (Argz Functions): Add missing const in
54245 argz_extract and argz_next prototypes.
54246 (Finding Tokens in a String): Likewise for basename.
54247 (String/Array Comparison): Fix typo in wcscasecmp prototype.
54248 (Copying and Concatenation): Fix typo in wmemmove prototype.
54249 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54250 (Signal Stack): Remove erroneous const in sigstack prototype.
54251 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54252 prototype.
54253 (Simple Calendar Time): Likewise for stime.
54254 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54255 prototype.
54256 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54257 say sys/sysctl.h instead.
54258 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54259 and vsyslog prototypes.
54260
54261 2013-02-11 Tom de Vries <tom@codesourcery.com>
54262
54263 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54264 Remove.
54265
54266 2013-02-11 Roland McGrath <roland@hack.frob.com>
54267
54268 * misc/sys/mman.h: Fix typo in mremap comment.
54269
54270 2013-02-08 Roland McGrath <roland@hack.frob.com>
54271
54272 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54273 the '\0' terminator.
54274
54275 2013-02-08 Joseph Myers <joseph@codesourcery.com>
54276
54277 [BZ #13550]
54278 * debug/segfault.c: Don't include <bp-checks.h>.
54279 * sysdeps/generic/bp-checks.h: Remove file.
54280 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54281 (__GETDENTS): Don't use CHECK_N.
54282 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54283 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54284 (__getgroups): Don't use CHECK_N.
54285 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54286 (setgroups): Don't use CHECK_N.
54287 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54288 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54289 (__libc_msgrcv): Don't use CHECK_N.
54290 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54291 (__libc_msgsnd): Don't use CHECK_N.
54292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54293 <bp-checks.h>.
54294 (__libc_pread): Don't use CHECK_N.
54295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54296 include <bp-checks.h>.
54297 (__libc_pread64): Don't use CHECK_N.
54298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54299 include <bp-checks.h>.
54300 (__libc_pwrite): Don't use CHECK_N.
54301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54302 include <bp-checks.h>.
54303 (__libc_pwrite64): Don't use CHECK_N.
54304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54305 <bp-checks.h>.
54306 (__libc_pread): Don't use CHECK_N.
54307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54308 include <bp-checks.h>.
54309 (__libc_pread64): Don't use CHECK_N.
54310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54311 include <bp-checks.h>.
54312 (__libc_pwrite): Don't use CHECK_N.
54313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54314 include <bp-checks.h>.
54315 (__libc_pwrite64): Don't use CHECK_N.
54316 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54317 (do_pread): Don't use CHECK_N.
54318 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54319 (do_pread64): Don't use CHECK_N.
54320 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54321 (do_pwrite): Don't use CHECK_N.
54322 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54323 (do_pwrite64): Don't use CHECK_N.
54324 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54325 (__libc_readv): Don't use CHECK_N.
54326 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54327 (semop): Don't use CHECK_N.
54328 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54329 <bp-checks.h>.
54330 (semtimedop): Don't use CHECK_N.
54331 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54332 (__libc_pread): Don't use CHECK_N.
54333 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54334 <bp-checks.h>.
54335 (__libc_pread64): Don't use CHECK_N.
54336 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54337 <bp-checks.h>.
54338 (__libc_pwrite): Don't use CHECK_N.
54339 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54340 <bp-checks.h>.
54341 (__libc_pwrite64): Don't use CHECK_N.
54342 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54343 <bp-checks.h>.
54344 (__libc_msgrcv): Don't use CHECK_N.
54345 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54346 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
54347 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54348 (__libc_writev): Don't use CHECK_N.
54349
54350 2013-02-08 Roland McGrath <roland@hack.frob.com>
54351
54352 * string/strcpy.c: Removed unused variable.
54353
54354 * Makeconfig (+sysdep-includes): Define with := rather than =.
54355 Use an existing include/ subdir of each sysdeps dir before it.
54356
54357 2013-02-08 Carlos O'Donell <carlos@redhat.com>
54358
54359 * nscd/connection.c (register_traced_file): Comment function.
54360 [HAVE_INOTIFY] (union __inev): Define.
54361 [HAVE_INOTIFY] (inotify_check_files): New function.
54362 [HAVE_INOTIFY] (clear_db_cache): Likewise.
54363 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54364 clear_db_cache.
54365 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54366
54367 2013-02-08 Carlos O'Donell <carlos@redhat.com>
54368
54369 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54370 loaded if not already and that a failure is permanent.
54371
54372 2013-02-08 Carlos O'Donell <carlos@redhat.com>
54373
54374 [BZ #15006]
54375 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54376 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54377
54378 2013-02-08 Joseph Myers <joseph@codesourcery.com>
54379
54380 [BZ #13550]
54381 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54382 (CHECK_1_NULL_OK): Likewise.
54383 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54384 (__fxstat): Do not use CHECK_1.
54385 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54386 <bp-checks.h>.
54387 (___fxstat64): Do not use CHECK_1.
54388 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54389 <bp-checks.h>.
54390 (__fxstatat): Do not use CHECK_1.
54391 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54392 <bp-checks.h>.
54393 (__fxstatat64): Do not use CHECK_1.
54394 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54395 <bp-checks.h>.
54396 (__fxstat): Do not use CHECK_1.
54397 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54398 <bp-checks.h>.
54399 (__fxstatat): Do not use CHECK_1.
54400 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54401 <bp-checks.h>.
54402 (__getresgid): Do not use CHECK_1.
54403 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54404 <bp-checks.h>.
54405 (__getresuid): Do not use CHECK_1.
54406 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54407 <bp-checks.h>.
54408 (__lxstat): Do not use CHECK_1.
54409 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54410 <bp-checks.h>.
54411 (__old_msgctl): Do not use CHECK_1.
54412 (__new_msgctl): Likewise.
54413 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54414 <bp-checks.h>.
54415 (__new_setrlimit): Do not use CHECK_1.
54416 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54417 <bp-checks.h>.
54418 (__old_shmctl): Do not use CHECK_1.
54419 (__new_shmctl): Likewise.
54420 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54421 <bp-checks.h>.
54422 (__xstat): Do not use CHECK_1.
54423 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54424 (__lxstat): Do not use CHECK_1.
54425 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54426 <bp-checks.h>.
54427 (___lxstat64): Do not use CHECK_1.
54428 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54429 (__old_msgctl): Do not use CHECK_1.
54430 (__new_msgctl): Likewise.
54431 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54432 <bp-checks.h>.
54433 (__gettimeofday): Do not use CHECK_1.
54434 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54435 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54436 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54437 <bp-checks.h>.
54438 (__gettimeofday): Do not use CHECK_1.
54439 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54440 (__old_shmctl): Do not use CHECK_1_NULL_OK.
54441 (__new_shmctl): Do not use CHECK_1.
54442 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54443 <bp-checks.h>.
54444 (do_sigtimedwait): Do not use CHECK_1.
54445 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54446 <bp-checks.h>.
54447 (do_sigwaitinfo): Do not use CHECK_1.
54448 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54449 <bp-checks.h>.
54450 (msgctl): Do not use CHECK_1.
54451 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54452 <bp-checks.h>.
54453 (shmctl): Do not use CHECK_1.
54454 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54455 (ustat): Do not use CHECK_1.
54456 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54457 <bp-checks.h>.
54458 (__fxstat): Do not use CHECK_1.
54459 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54460 <bp-checks.h>.
54461 (__fxstatat): Do not use CHECK_1.
54462 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54463 <bp-checks.h>.
54464 (__lxstat): Do not use CHECK_1.
54465 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54466 <bp-checks.h>.
54467 (__xstat): Do not use CHECK_1.
54468 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54469 (__xstat): Do not use CHECK_1.
54470 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54471 (___xstat64): Do not use CHECK_1.
54472
54473 [BZ #13550]
54474 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54475 definitions.
54476 (CHECK_BOUNDS_HIGH): Likewise.
54477 * string/strcpy.c: Do not include <bp-checks.h>.
54478 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54479
54480 2013-02-07 Roland McGrath <roland@hack.frob.com>
54481
54482 * nscd/nscd-client.h (__nscd_drop_map_ref):
54483 Add __attribute__ ((unused)).
54484 * nis/nss-nisplus.h (niserr2nss): Likewise.
54485
54486 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54487 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54488
54489 * csu/libc-tls.c (init_static_tls, init_slotinfo):
54490 Remove inline keyword.
54491 * include/rounding-mode.h (round_away): Likewise.
54492 * libio/wfileops.c (adjust_wide_data): Likewise.
54493 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54494 (__m128i_strloadu_tolower): Likewise.
54495 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54496 (__m128i_strloadu_tolower): Likewise.
54497 * time/mktime.c (ydhms_diff): Likewise.
54498 * locale/elem-hash.h (elem_hash): Likewise.
54499 * locale/setlocale.c (setdata): Likewise.
54500 * posix/regex_internal.h (re_string_char_size_at): Likewise.
54501 (re_string_wchar_at): Likewise.
54502 (bitset_not, bitset_merge, bitset_mask): Likewise.
54503 [!(__GNUC__ > 3)] (inline): Remove macro.
54504 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54505 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54506 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54507 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54508 * string/memcmp.c (memcmp_bytes): Likewise.
54509 * locale/programs/locarchive.c (compute_hashval): Likewise.
54510 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54511 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54512 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54513 * nss/getent.c (print_rpc, print_protocols): Likewise.
54514 (print_passwd, print_group, print_aliases): Likewise.
54515 * nis/nss-nisplus.h (niserr2nss): Likewise.
54516 * nscd/connections.c (restart_p): Likewise.
54517 Change return type to bool.
54518
54519 2013-02-05 Roland McGrath <roland@hack.frob.com>
54520
54521 * Makeconfig (all-Depend-files): Add existing
54522 $(sorted-subdirs:=/Depend) files.
54523 (all-subdirs): Remove nss.
54524 * sysdeps/unix/inet/Subdirs: Add it here instead.
54525 * hesiod/Depend: New file.
54526
54527 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54528 instead of calling alloca.
54529
54530 * io/lseek.c (__lseek): Rename to __libc_lseek.
54531 Define __lseek as an alias.
54532
54533 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54534
54535 2013-02-04 Carlos O'Donell <carlos@redhat.com>
54536
54537 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54538 else clause and remove check for non-standard endianness.
54539
54540 2013-02-04 David S. Miller <davem@davemloft.net>
54541
54542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54543
54544 2013-02-04 Joseph Myers <joseph@codesourcery.com>
54545
54546 [BZ #13550]
54547 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54548 (__ubp_memchr): Remove prototype.
54549 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54550 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54551 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54552 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54553 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54554 Remove alias.
54555 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54556 (__ubp_memchr): Likewise.
54557 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54558 (__ubp_memchr): Likewise.
54559 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54560 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54561 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54562 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54563 CHECK_STRING.
54564 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54565 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54566 (__getcwd): Do not use CHECK_STRING.
54567 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54568 <bp-checks.h>.
54569 (__real_chown): Do not use CHECK_STRING.
54570 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54571 <bp-checks.h>.
54572 (fchownat): Do not use CHECK_STRING.
54573 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54574 CHECK_STRING.
54575 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54576 <bp-checks.h>.
54577 (__lchown): Do not use CHECK_STRING.
54578 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54579 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54580 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54581 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54583 include <bp-checks.h>.
54584 (truncate64): Do not use CHECK_STRING.
54585 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54586 <bp-checks.h>.
54587 (__real_chown): Do not use CHECK_STRING.
54588 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54589 <bp-checks.h>.
54590 (__lchown): Do not use CHECK_STRING.
54591 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54592 <bp-checks.h>.
54593 (__chown): Do not use CHECK_STRING.
54594 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54595 <bp-checks.h>.
54596 (truncate64): Do not use CHECK_STRING.
54597 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54598 Likewise.
54599 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54600 (__xmknod): Do not use CHECK_STRING.
54601 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54602 <bp-checks.h>.
54603 (__xmknodat): Do not use CHECK_STRING.
54604 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54605 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54606
54607 2013-02-04 Andreas Schwab <schwab@suse.de>
54608
54609 [BZ #14142]
54610 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54611 * include/netdb.h: Likewise for h_errno.
54612 * elf/tst-stackguard1.c: Include <tls.h>.
54613
54614 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
54615
54616 * elf/link.h (struct link_map): Extend the l_addr comment.
54617 * include/link.h (struct link_map): Likewise.
54618
54619 2013-02-01 Joseph Myers <joseph@codesourcery.com>
54620
54621 [BZ #13550]
54622 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54623 (BOUNDED_1): Remove macro.
54624 * debug/backtrace.c: Don't include <bp-checks.h>.
54625 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54626 (__backtrace): Likewise.
54627 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54628 <bp-checks.h>.
54629 (__backtrace): Don't use BOUNDED_1.
54630 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54631 <bp-checks.h>.
54632 (__backtrace): Don't use BOUNDED_1.
54633 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54634 (__backtrace): Don't use BOUNDED_1.
54635 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54636 (shmat): Don't use BOUNDED_N.
54637
54638 2013-01-31 Joseph Myers <joseph@codesourcery.com>
54639
54640 [BZ #13550]
54641 * sysdeps/generic/bp-start.h: Remove file.
54642 * csu/libc-start.c: Don't include <bp-start.h>.
54643 (LIBC_START_MAIN): Set up __environ directly instead of using
54644 INIT_ARGV_and_ENVIRON.
54645 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54646 <bp-start.h>.
54647
54648 [BZ #13550]
54649 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54650 definitions.
54651 (CHECK_FCNTL): Likewise.
54652 (CHECK_N_PAGES): Likewise.
54653
54654 [BZ #13550]
54655 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54656 definitions.
54657 (CHECK_SIGSET_NULL_OK): Likewise.
54658 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54659 <bp-checks.h>.
54660 (sigpending): Don't use CHECK_SIGSET.
54661 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54662 <bp-checks.h>.
54663 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54664 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54665 <bp-checks.h>.
54666 (do_sigsuspend): Don't use CHECK_SIGSET.
54667 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54668 use CHECK_SIGSET.
54669 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54670 (do_sigwait): Don't use CHECK_SIGSET.
54671 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54672 use CHECK_SIGSET.
54673 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54674 include <bp-checks.h>.
54675 (sigpending): Don't use CHECK_SIGSET.
54676 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54677 include <bp-checks.h>.
54678 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54679 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54680 <bp-checks.h>.
54681 (sigpending): Don't use CHECK_SIGSET.
54682 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54683 <bp-checks.h>.
54684 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54685
54686 [BZ #13550]
54687 * sysdeps/generic/bp-semctl.h: Remove file.
54688 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54689 <bp-checks.h> and <bp-semctl.h>.
54690 (__old_semctl): Don't use CHECK_SEMCTL.
54691 (__new_semctl): Likewise.
54692 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54693 and <bp-semctl.h>.
54694 (__old_semctl): Don't use CHECK_SEMCTL.
54695 (__new_semctl): Likewise.
54696 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54697 <bp-checks.h> and <bp-semctl.h>.
54698 (__old_semctl): Don't use CHECK_SEMCTL.
54699 (__new_semctl): Likewise.
54700 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54701 <bp-checks.h> and <bp-semctl.h>.
54702 (semctl): Don't use CHECK_SEMCTL.
54703
54704 [BZ #13550]
54705 * Makerules (elide-bp-thunks): Remove variable.
54706 (elide-routines.oS): Don't use $(elide-bp-thunks).
54707 (elide-routines.os): Likewise.
54708 (elide-routines.o): Likewise.
54709 (elide-routines.op): Likewise.
54710 (elide-routines.og): Likewise.
54711 (objects): Don't use $(bp-thunks).
54712 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54713 include.
54714 (common-generated): Do not add s-proto-bp.d.
54715 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54716 (int): Likewise.
54717 (typ): Likewise.
54718 Do not generate makefile rules for bounded-pointer thunks.
54719 * sysdeps/generic/bp-thunks.h: Remove file.
54720 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54721 * sysdeps/unix/s-proto-bp.S: Likewise.
54722
54723 [BZ #15062]
54724 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54725 parts of result separately when argument is not close to line from
54726 -i to i and one part of argument is small.
54727 * math/k_casinhf.c (__kernel_casinhf): Likewise.
54728 * math/k_casinhl.c (__kernel_casinhl): Likewise.
54729 * math/libm-test.inc (cacos_test): Add more tests.
54730 (casin_test): Likewise.
54731 (casinh_test): Likewise.
54732 * sysdeps/i386/fpu/libm-test-ulps: Update.
54733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54734
54735 2013-01-31 David S. Miller <davem@davemloft.net>
54736
54737 * po/de.po: Update from translation team.
54738
54739 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
54740
54741 * time/tzfile.c: Include stdint.h for SIZE_MAX.
54742
54743 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
54744
54745 * configure.in (_AC_PROG_CC_C89): New definition.
54746 * configure: Regenerate.
54747
54748 * configure.in (AC_PROG_CPP): New definition.
54749 * configure: Regenerate.
54750
54751 2013-01-23 Joseph Myers <joseph@codesourcery.com>
54752
54753 * debug/tst-backtrace.h: New file.
54754 * debug/tst-backtrace2.c: Include tst-backtrace.h.
54755 (ret): Remove variable.
54756 (x): Likewise.
54757 (FAIL): Remove macro.
54758 (NO_INLINE): Likewise.
54759 (fn1): Use match function instead of strstr.
54760 * debug/tst-backtrace3.c: Include tst-backtrace.h.
54761 (ret): Remove variable.
54762 (x): Likewise.
54763 (FAIL): Remove macro.
54764 (NO_INLINE): Likewise.
54765 (fn): Use match function instead of strstr.
54766 * debug/tst-backtrace4.c: Include tst-backtrace.h.
54767 (ret): Remove variable.
54768 (x): Likewise.
54769 (FAIL): Remove macro.
54770 (NO_INLINE): Likewise.
54771 (handle_signal): Use match function instead of strstr.
54772 * debug/tst-backtrace5.c: Include tst-backtrace.h.
54773 (ret): Remove variable.
54774 (x): Likewise.
54775 (FAIL): Remove macro.
54776 (NO_INLINE): Likewise.
54777 (handle_signal): Use match function instead of strstr.
54778
54779 2013-01-23 Roland McGrath <roland@hack.frob.com>
54780
54781 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
54782
54783 2013-01-23 David S. Miller <davem@davemloft.net>
54784
54785 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
54786 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
54787 argument of CAS if possible.
54788 * sysdeps/sparc/sparc64/bits/atomic.h
54789 (__arch_compare_and_exchange_val_32_acq): Likewise.
54790 (__arch_compare_and_exchange_val_64_acq): Likewise.
54791
54792 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
54793
54794 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
54795 * sysdeps/posix/ulimit.c: ... this.
54796 Include <limits.h>.
54797 * sysdeps/unix/bsd/ulimit.c: Remove file.
54798
54799 2013-01-23 Adam Conrad <adconrad@0c3.net>
54800
54801 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
54802 (LDFLAGS-tst-array5): Likewise.
54803
54804 2013-01-23 Joseph Myers <joseph@codesourcery.com>
54805
54806 [BZ #15036]
54807 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
54808 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
54809 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
54810 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
54811
54812 2013-01-21 David S. Miller <davem@davemloft.net>
54813
54814 * sysdeps/sparc/backtrace.c: New file.
54815 * sysdeps/sparc/sparc32/backtrace.h: New file.
54816 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
54817 * sysdeps/sparc/sparc64/backtrace.h: New file.
54818 * sysdeps/sparc/sparc64/backtrace.c: Delete.
54819 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
54820 -funwind-tables.
54821
54822 2013-01-21 Andreas Schwab <schwab@suse.de>
54823
54824 [BZ #15020]
54825 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
54826 closed its stdout.
54827
54828 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
54829
54830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
54831 "mpa2.h".
54832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54833
54834 2013-01-18 Joseph Myers <joseph@codesourcery.com>
54835 Mark Mitchell <mark@codesourcery.com>
54836 Tom de Vries <tom@codesourcery.com>
54837 Paul Pluzhnikov <ppluzhnikov@google.com>
54838
54839 * debug/tst-backtrace2.c: New file.
54840 * debug/tst-backtrace3.c: Likewise.
54841 * debug/tst-backtrace4.c: Likewise.
54842 * debug/tst-backtrace5.c: Likewise.
54843 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
54844 (CFLAGS-tst-backtrace3.c): Likewise.
54845 (CFLAGS-tst-backtrace4.c): Likewise.
54846 (CFLAGS-tst-backtrace5.c): Likewise.
54847 (LDFLAGS-tst-backtrace2): Likewise.
54848 (LDFLAGS-tst-backtrace3): Likewise.
54849 (LDFLAGS-tst-backtrace4): Likewise.
54850 (LDFLAGS-tst-backtrace5): Likewise.
54851 (tests): Add new tests tst-backtrace2, tst-backtrace3,
54852 tst-backtrace4 and tst-backtrace5.
54853
54854 2013-01-18 Anton Blanchard <anton@samba.org>
54855 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54856
54857 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54858 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54859 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54860 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54862 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54863 "+r" and remove output regs list as redundant. Add explicit inline
54864 asm to specify register of return val to work around compiler codegen
54865 bug. Remove (int) cast on return value. Add return type parameter to
54866 use in macro so that this macro does not truncate return value for
54867 64-bit values.
54868 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54869 pass to INTERNAL_VSYSCALL_NCS.
54870 (INLINE_VSYSCALL): Add 'long int' as return type to
54871 INTERNAL_VSYSCALL_NCS macro invocation.
54872 (INTERNAL_VSYSCALL): Add 'long int' as return type to
54873 INTERNAL_VSYSCALL_NCS macro invocation.
54874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54875
54876 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
54877
54878 [BZ #14496]
54879 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54880 Fix application of SIMD FP exception mask.
54881
54882 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54883 mp_no from a power of two.
54884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54885 __mpexp_twomm1. Use __pow_mp.
54886
54887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54888 multiplication.
54889
54890 2013-01-17 David S. Miller <davem@davemloft.net>
54891
54892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54893
54894 2013-01-17 Joseph Myers <joseph@codesourcery.com>
54895
54896 [BZ #15023]
54897 * include/complex.h: Condition contents on [!_COMPLEX_H].
54898 (__kernel_casinhf): New prototype.
54899 (__kernel_casinh): Likewise.
54900 (__kernel_casinhl): Likewise.
54901 * math/Makefile (libm_calls): Add k_casinh.
54902 * math/k_casinh.c: New file.
54903 * math/k_casinhf.c: Likewise.
54904 * math/k_casinhl.c: Likewise.
54905 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54906 finite nonzero arguments.
54907 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54908 finite nonzero arguments.
54909 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54910 finite nonzero arguments.
54911 * math/s_casinh.c: Do not include <float.h>.
54912 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54913 * math/s_casinhf.c: Do not include <float.h>.
54914 (__casinhf): Move code for finite nonzero arguments to
54915 k_casinhf.c.
54916 * math/s_casinhl.c: Do not include <float.h>.
54917 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54918 redefine.
54919 (__casinhl): Move code for finite nonzero arguments to
54920 k_casinhl.c.
54921 * math/libm-test.inc (cacos_test): Add more tests.
54922 * sysdeps/i386/fpu/libm-test-ulps: Update.
54923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54924
54925 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
54926
54927 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54928 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54929 [!HAVE_MREMAP]: Remove [defined linux] case.
54930 * malloc/arena.c: Do not include <malloc-sysdep.h>.
54931
54932 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
54933
54934 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54935
54936 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
54937
54938 * elf/elf.h (R_386_SIZE32): New relocation.
54939 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54940 R_386_SIZE32.
54941 (elf_machine_rela): Likewise.
54942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54943 R_X86_64_SIZE64 and R_X86_64_SIZE32.
54944
54945 2013-01-17 Joseph Myers <joseph@codesourcery.com>
54946
54947 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54948 (FP_FAST_FMA): Do not define.
54949 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54950 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54951 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54952 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54953 !_SOFT_FLOAT]: Likewise.
54954 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54955 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54956 value.
54957 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54958 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54959 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54960 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54961 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54962 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54963 file.
54964
54965 2013-01-16 Andreas Schwab <schwab@suse.de>
54966
54967 [BZ #14327]
54968 * include/stdlib.h (__mktemp): Add declaration.
54969 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54970 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54971
54972 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
54973
54974 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54975 definitions.
54976 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54977 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54978 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54979 definitions here.
54980 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54981 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54982 definitions.
54983 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54984 and ONE.
54985 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54986 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54987 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54988 definitions.
54989 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54990 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54991 definitions.
54992 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54993
54994 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54995
54996 2013-01-15 David S. Miller <davem@davemloft.net>
54997
54998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54999 trunc{,f} to libm-sysdep_routes.
55000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55002 file.
55003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55005 file.
55006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55007 file.
55008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55010 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55011 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55012 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55013 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55014 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55015 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55016
55017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55018 nearbyint{,f} to libm-sysdep_routes.
55019 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55021 New file.
55022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55023 file.
55024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55025 New file.
55026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55027 file.
55028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55030 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55031 file.
55032 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55033 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55034 file.
55035 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55036 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55037 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55038
55039 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55040 libc_feholdexcept and libc_fesetenv.
55041
55042 2013-01-15 Mike Frysinger <vapier@gentoo.org>
55043
55044 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55045
55046 2013-01-14 David S. Miller <davem@davemloft.net>
55047
55048 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55049 (SPARC_ASM_VIS2_IFUNC): Likewise.
55050 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55052 use of 'siam' instruction.
55053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55054 Likewise.
55055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55056 Likewise.
55057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55058 Likewise.
55059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55064 file.
55065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55066 file.
55067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55068 file.
55069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55070 file.
55071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55076 new VIS2 routines.
55077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55080 Likewise.
55081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55086 routines to libm-sysdep_routines.
55087 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55088
55089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55090 fdim/fdimf to libm-sysdep_routines.
55091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55092 file.
55093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55095 file.
55096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55099 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55100 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55101 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55102 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55103
55104 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
55105
55106 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55107 to optimize copies.
55108
55109 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55110 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55112
55113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55114 local variable MPTWO.
55115 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55116 Likewise.
55117
55118 2013-01-13 Mike Frysinger <vapier@gentoo.org>
55119
55120 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55121 GLOB_NOESCAPE.
55122
55123 2013-01-13 Mike Frysinger <vapier@gentoo.org>
55124
55125 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55126
55127 2013-01-13 Mike Frysinger <vapier@gentoo.org>
55128
55129 * manual/pattern.texi (glob_t): Document gl_flags.
55130 (glob64_t): Likewise.
55131
55132 2013-01-11 David S. Miller <davem@davemloft.net>
55133
55134 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55135 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55136 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
55137 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55138 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55139 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55140 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55141 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55142 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55143 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55144 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55145 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55146 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55147
55148 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55149 sparc V9 rather than using V8 code.
55150 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55151 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55152
55153 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55154 Move to...
55155 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55156 Here.
55157
55158 2013-01-11 Roland McGrath <roland@hack.frob.com>
55159
55160 [BZ #14941]
55161 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55162 not in the main loop.
55163 * configure: Regenerated.
55164
55165 2013-01-11 Joseph Myers <joseph@codesourcery.com>
55166
55167 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55168 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55169 to just #else.
55170 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
55171 [!__GLIBC_HAVE_LONG_LONG] case.
55172 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55173 condition to just #else.
55174 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55175 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55176 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55177 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55178 unconditional.
55179 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55180 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55181 #elif condition to just #else.
55182 * sysdeps/unix/sysv/linux/sys/sysmacros.h
55183 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55184 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55185 #elif condition to just #else.
55186
55187 2013-01-11 Steve Ellcey <sellcey@mips.com>
55188
55189 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55190 (EF_MIPS_ARCH_64): Fix value.
55191 (EF_MIPS_ARCH_32R2): New.
55192 (EF_MIPS_ARCH_64R2): New.
55193
55194 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
55195
55196 * Makeconfig (+link-pie-before-libc): New.
55197 (+link-pie-after-libc): Likewise.
55198 (+link-pie-tests): Likewise.
55199 (+link-pie): Rewritten.
55200 (link-before-libc): Remove $(config-LDFLAGS).
55201 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55202 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55203 (config-LDFLAGS): Renamed to ...
55204 (rtld-LDFLAGS): This.
55205 (rtld-tests-LDFLAGS): New macro.
55206 (link-libc-rpath-link): Likewise.
55207 (link-libc-tests-rpath-link): Likewise.
55208 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55209 (link-libc): Prepand $(link-libc-rpath-link).
55210 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55211 (test-program-prefix): New macro.
55212 (test-via-rtld-prefix): Likewise.
55213 (test-program-cmd): Likewise.
55214 (host-test-program-cmd): Likewise.
55215 * Makefile ($(common-objpfx)testrun.sh): Replace
55216 $(run-program-prefix) with $(test-program-prefix).
55217 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55218 $(rtld-LDFLAGS).
55219 ($(common-objpfx)shlib.lds): Likewise.
55220 (build-module-helper): Likewise.
55221 ($(common-objpfx)format.lds): Likewise.
55222 * Rules (binaries-pie-tests): New.
55223 (binaries-pie-notests): Likewise.
55224 (binaries-pie): Rewritten.
55225 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55226 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55227 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55228 (make-test-out): Replace $(host-built-program-cmd) with
55229 $(host-test-program-cmd).
55230 * config.make.in (build-hardcoded-path-in-tests): New variable.
55231 * configure.in (--enable-hardcoded-path-in-tests): New configure
55232 option.
55233 (hardcoded_path_in_tests): New AC_SUBST.
55234 * configure: Regenerated.
55235 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55236 $(built-program-cmd) with $(test-program-cmd).
55237 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55238 (test_program_cmd): This.
55239 * elf/Makefile ($(objpfx)order.out): Run test with
55240 $(test-program-prefix).
55241 ($(objpfx)order2.out): Likewise.
55242 ($(objpfx)tst-initorder.out): Likewise.
55243 ($(objpfx)tst-initorder2.out): Likewise.
55244 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55245 $(test-program-cmd).
55246 ($(objpfx)tst-array1-static.out): Likewise.
55247 ($(objpfx)tst-array2.out): Likewise.
55248 ($(objpfx)tst-array3.out): Likewise.
55249 ($(objpfx)tst-array4.out): Likewise.
55250 ($(objpfx)tst-array5.out): Likewise.
55251 ($(objpfx)tst-array5-static.out): Likewise.
55252 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55253 $(test-program-cmd).
55254 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55255 $(run-program-prefix) with $(test-program-prefix).
55256 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55257 (test_program_prefix): This.
55258 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55259 $(run-program-prefix) with $(test-program-prefix).
55260 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55261 (test_program_prefix): This.
55262 * iconvdata/tst-tables.sh: Likewise.
55263 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55264 $(run-program-prefix) with $(test-program-prefix).
55265 ($(objpfx)tst-translit.out): Likewise.
55266 ($(objpfx)tst-gettext2.out): Likewise.
55267 ($(objpfx)tst-gettext4.out): Likewise.
55268 ($(objpfx)tst-gettext6.out): Likewise.
55269 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55270 (test_program_prefix): This.
55271 * intl/tst-gettext2.sh: Likewise.
55272 * intl/tst-gettext4.sh Likewise.
55273 * intl/tst-gettext6.sh: Likewise.
55274 * intl/tst-translit.sh: Likewise.
55275 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55276 with $(test-program-cmd).
55277 * libio/Makefile ($(objpfx)test-freopen.out): Replace
55278 $(run-program-prefix) with $(test-program-prefix).
55279 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55280 (test_program_prefix): This.
55281 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55282 $(run-program-prefix) with $(test-program-prefix).
55283 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55284 (test_program_prefix): This.
55285 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55286 * posix/Makefile ($(objpfx)globtest.out): Replace
55287 $(run-via-rtld-prefix) and $(test-wrapper) with
55288 $(test-program-prefix) and $(test-via-rtld-prefix).
55289 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55290 $(test-program-prefix).
55291 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55292 $(host-test-program-cmd).
55293 (tst-spawn-ARGS): Likewise.
55294 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55295 $(test-program-prefix).
55296 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55297 (test_via_rtld_prefix): This.
55298 (test_wrapper): Renamed to ...
55299 (test_program_prefix): This.
55300 (run_program_prefix): Replaced by test_program_prefix.
55301 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55302 (test_program_prefix): This.
55303 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55304 with $(host-test-program-cmd).
55305 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55306 $(run-program-prefix) with $(test-program-prefix).
55307 ($(objpfx)tst-printf.out): Likewise.
55308 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55309 $(test-program-cmd).
55310 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55311 (test_program_prefix): This.
55312 * stdio-common/tst-unbputc.sh: Likewise.
55313 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55314 $(run-program-prefix) with $(test-program-prefix).
55315 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55316 (test_program_prefix): This.
55317 * string/Makefile ($(objpfx)tst-svc.out): Replace
55318 $(built-program-cmd) with $(test-program-cmd).
55319
55320 2013-01-11 Andreas Jaeger <aj@suse.de>
55321
55322 [BZ #15003]
55323 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55324 value. Sync with Linux 3.7.
55325
55326 2013-01-10 David S. Miller <davem@davemloft.net>
55327
55328 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55329 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55330 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55331
55332 2013-01-10 Roland McGrath <roland@hack.frob.com>
55333
55334 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55335 never set.
55336 * configure: Regenerated.
55337
55338 2013-01-10 David S. Miller <davem@davemloft.net>
55339
55340 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55341 sparc V9 rather than using V8 code.
55342 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55343 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55344
55345 2013-01-10 Roland McGrath <roland@hack.frob.com>
55346
55347 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55348 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55349 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55350 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55351 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55352 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55353 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55354 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55355 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55356 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55357 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55358 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55359 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55360 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55361 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55362 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55363 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55364 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55365 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55366 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55367 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55368 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55369 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55370 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55371 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55372 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55373 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55374
55375 2013-01-10 David S. Miller <davem@davemloft.net>
55376
55377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55378
55379 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
55380
55381 * posix/Makefile (tests-static): New variable.
55382 (tests): Add $(tests-static).
55383 (tst-exec-static-ARGS): New variable.
55384 (tst-spawn-static-ARGS): Likewise.
55385 * posix/tst-exec-static.c: New file.
55386 * posix/tst-spawn-static.c: Likewise.
55387 * posix/tst-exec.c: Support run directly.
55388 * posix/tst-spawn.c: Likewise.
55389
55390 2013-01-10 Joseph Myers <joseph@codesourcery.com>
55391
55392 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55393 long.
55394 * math/bits/mathcalls.h (llrint): Likewise.
55395 (llround): Likewise.
55396 * stdlib/stdlib.h (struct drand48_data): Likewise.
55397 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55398 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55399 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55400 Likewise.
55401 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55402 Likewise.
55403 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55404 (elf_greg_t): Likewise.
55405 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55406 (__jmp_buf): Likewise.
55407 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55408 definitions.
55409 (llrint): Likewise, for all definitions.
55410 (llrintl): Likewise.
55411
55412 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55413 Remove [__GNUC__] condition.
55414 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55415 condition to just [__USE_ISOC99].
55416 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55417
55418 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
55419
55420 [BZ #14200]
55421 * sysdeps/unix/sysv/linux/x86/bits/environments.h
55422 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55423 defined.
55424 (_POSIX_V6_ILP32_OFF32): Likewise.
55425 (_XBS5_ILP32_OFF32): Likewise.
55426 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55427 (__ILP32_OFFBIG_LDFLAGS): Likewise.
55428
55429 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55430
55431 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55432
55433 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55434 doubles __mpexp_twomm1. Adjust usage.
55435 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55436 Remove.
55437
55438 2013-01-10 Andreas Schwab <schwab@suse.de>
55439
55440 [BZ #14964]
55441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55442 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55443
55444 2013-01-09 David S. Miller <davem@davemloft.net>
55445
55446 [BZ #15003]
55447 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55448 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55449 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55450 (TCP_FASTOPEN): Define.
55451 (tcp_repair_opt): New structure.
55452 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55453 enum values.
55454 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55455 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55456 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55457 (tcp_cookie_transactions): New structure.
55458
55459 2013-01-09 Anton Blanchard <anton@samba.org>
55460
55461 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55462 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55463 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55464 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55465
55466 2013-01-09 Joseph Myers <joseph@codesourcery.com>
55467
55468 * include/features.h (__USE_ANSI): Remove.
55469
55470 2013-01-09 Roland McGrath <roland@hack.frob.com>
55471
55472 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55473
55474 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55475
55476 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
55477
55478 * sysdeps/s390/fpu/libm-test-ulps: Update.
55479
55480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55481
55482 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55483 (__acr): Likewise.
55484 (__cpy): Likewise.
55485 (norm): Likewise.
55486 (denorm): Likewise.
55487 (__mp_dbl): Likewise.
55488 (__dbl_mp): Likewise.
55489 (add_magnitudes): Likewise.
55490 (sub_magnitudes): Likewise.
55491 (__add): Likewise.
55492 (__sub): Likewise.
55493 (__mul): Likewise.
55494 (__inv): Likewise.
55495 (__dvd): Likewise.
55496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55497 (__acr): Likewise.
55498 (__cpy): Likewise.
55499 (norm): Likewise.
55500 (denorm): Likewise.
55501 (__mp_dbl): Likewise.
55502 (__dbl_mp): Likewise.
55503 (add_magnitudes): Likewise.
55504 (sub_magnitudes): Likewise.
55505 (__add): Likewise.
55506 (__sub): Likewise.
55507 (__mul): Likewise.
55508 (__inv): Likewise.
55509 (__dvd): Likewise.
55510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55511 (__acr): Likewise.
55512 (__cpy): Likewise.
55513 (norm): Likewise.
55514 (denorm): Likewise.
55515 (__mp_dbl): Likewise.
55516 (__dbl_mp): Likewise.
55517 (add_magnitudes): Likewise.
55518 (sub_magnitudes): Likewise.
55519 (__add): Likewise.
55520 (__sub): Likewise.
55521 (__mul): Likewise.
55522 (__inv): Likewise.
55523 (__dvd): Likewise.
55524
55525 2013-01-08 Joseph Myers <joseph@codesourcery.com>
55526
55527 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55528 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55529 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55530 2 && __USE_EXTERN_INLINES]: Likewise.
55531
55532 2013-01-08 Andreas Jaeger <aj@suse.de>
55533
55534 [BZ# 14985]
55535 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55536 Remove.
55537 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55538 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55539
55540 2013-01-07 Anton Blanchard <anton@samba.org>
55541
55542 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55543 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55544 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55545 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55546 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55547 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55548 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55549 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55551 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55552 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55553 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55554 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55555 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55556 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55557 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55558 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55559 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55560 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55561 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55562 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55563 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55564 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55565 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55566 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55567 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55568 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55569 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55570 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55571 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55572 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55574 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55575 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55576 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55577 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55578 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55579 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55580 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55581 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55582 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55583 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55584 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55585
55586 2013-01-07 Joseph Myers <joseph@codesourcery.com>
55587
55588 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55589 (__MALLOC_PMT): Likewise.
55590 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55591 [__GNUC__], only on [_LIBC].
55592 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55593 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55594 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55595 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55596 forward declaration.
55597 (realloc_hook_ini): Likewise.
55598 (memalign_hook_ini): Likewise.
55599 (__libc_memalign): Do not use __MALLOC_PMT in variable
55600 declaration.
55601 (__libc_valloc): Likewise.
55602 (__libc_pvalloc): Likewise.
55603 (__libc_calloc): Likewise.
55604 (__posix_memalign): Likewise.
55605
55606 [BZ #14996]
55607 * math/s_casinh.c: Include <float.h>.
55608 (__casinh): Do not do computation with squaring and square root
55609 for large arguments.
55610 * math/s_casinhf.c: Include <float.h>.
55611 (__casinhf): Do not do computation with squaring and square root
55612 for large arguments.
55613 * math/s_casinhl.c: Include <float.h>.
55614 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55615 (__casinhl): Do not do computation with squaring and square root
55616 for large arguments.
55617 * math/libm-test.inc (casin_test): Add more tests.
55618 (casinh_test): Likewise.
55619 * sysdeps/i386/fpu/libm-test-ulps: Update.
55620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55621
55622 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
55623
55624 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55625 (__x86_64_raw_data_cache_size): Likewise.
55626 (__x86_64_data_cache_size_half): Likewise.
55627 (__x86_64_raw_data_cache_size_half): Likewise.
55628 (__x86_64_shared_cache_size): Likewise.
55629 (__x86_64_raw_shared_cache_size): Likewise.
55630 (__x86_64_shared_cache_size_half): Likewise.
55631 (__x86_64_raw_shared_cache_size_half): Likewise.
55632 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55633 to ...
55634 (__x86_data_cache_size): This.
55635 (__x86_64_raw_data_cache_size): Renamed to ...
55636 (__x86_raw_data_cache_size): This.
55637 (__x86_64_data_cache_size_half): Renamed to ...
55638 (__x86_data_cache_size_half): This.
55639 (__x86_64_raw_data_cache_size_half): Renamed to ...
55640 (__x86_raw_data_cache_size_half): This.
55641 (__x86_64_shared_cache_size): Renamed to ...
55642 (__x86_shared_cache_size): This.
55643 (__x86_64_raw_shared_cache_size): Renamed to ...
55644 (__x86_raw_shared_cache_size): This.
55645 (__x86_64_shared_cache_size_half): Renamed to ...
55646 (__x86_shared_cache_size_half): This.
55647 (__x86_64_raw_shared_cache_size_half): Renamed to ...
55648 (__x86_raw_shared_cache_size_half): This.
55649 * sysdeps/x86_64/memcpy.S: Updated.
55650 * sysdeps/x86_64/memset.S: Likewise.
55651 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55652 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55653 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55654
55655 2013-01-04 David S. Miller <davem@davemloft.net>
55656
55657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55658
55659 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
55660
55661 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55662 1 to avoid redefinition warning.
55663 (__USE_GNU): Don't define.
55664 (init_signaling_nan): Protoize.
55665
55666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55667
55668 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55669
55670 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55672 (__cpymn): Likewise.
55673 (norm): Remove commented code.
55674 (denorm): Likewise.
55675 (__mp_dbl): Likewise.
55676 (__inv): Likewise.
55677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55678 (__cpymn): Likewise.
55679 (norm): Remove commented code.
55680 (denorm): Likewise.
55681 (__mp_dbl): Likewise.
55682 (__inv): Likewise.
55683
55684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55685 mp_no value for 1.0 and 2.0.
55686 (norm): Use RADIXI instead of radixi.d.
55687 (denorm): Likewise.
55688 (__mul): Use 0.0 instead of zero.d.
55689 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55690 mp_no value for 1.0 and 2.0.
55691 (norm): Use RADIXI instead of radixi.d.
55692 (denorm): Likewise.
55693 (__mul): Use 0.0 instead of zero.d.
55694
55695 2013-01-04 Joseph Myers <joseph@codesourcery.com>
55696
55697 [BZ #14994]
55698 * math/s_casinh.c (__casinh): Reduce finite argument to first
55699 quadrant then set signs of results at the end.
55700 * math/s_casinhf.c (__casinhf): Likewise.
55701 * math/s_casinhl.c (__casinhl): Likewise.
55702 * math/libm-test.inc (casin_test): Add more tests.
55703 (casinh_test): Likewise.
55704 * sysdeps/i386/fpu/libm-test-ulps: Update.
55705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55706
55707 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55708
55709 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55710
55711 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55712
55713 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55714 declarations.
55715 (denorm): Likewise.
55716 (__mp_dbl): Likewise.
55717 (__inv): Likewise.
55718
55719 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55720 and adjust the header comment.
55721
55722 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55723 variable name from declaration.
55724
55725 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
55726
55727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55728 Initialize COMMON_CPUID_INDEX_7 element.
55729 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55730 (CPUID_RTM): Likewise.
55731 (HAS_RTM): Likewise.
55732 (COMMON_CPUID_INDEX_7): New enum.
55733
55734 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
55735
55736 [BZ #14981]
55737 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55738 size is zero, record memory as freed.
55739
55740 2013-01-03 Andreas Jaeger <aj@suse.de>
55741
55742 * po/ia.po: Add new Interlingua translation.
55743
55744 2012-01-03 Allan McRae <allan@archlinux.org>
55745
55746 * locale/programs/localedef.c: Fix description of '--posix' flag.
55747
55748 2013-01-02 Joseph Myers <joseph@codesourcery.com>
55749
55750 * NEWS: Update dates in second copyright notice.
55751 * README: Update copyright dates in example.
55752 * manual/libc.texinfo: Update copyright dates.
55753 * scripts/test-installation.pl: Update copyright date in --version
55754 output.
55755
55756 * hurd/ctty-input.c: Fix copyright notice formatting.
55757 * hurd/ctty-output.c: Likewise.
55758 * hurd/dtable.c: Likewise.
55759 * hurd/hurd-raise.c: Likewise.
55760 * hurd/hurdprio.c: Likewise.
55761 * hurd/msgportdemux.c: Likewise.
55762 * misc/sys/file.h: Likewise.
55763 * misc/sys/ioctl.h: Likewise.
55764 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55765 * sysdeps/mach/hurd/chdir.c: Likewise.
55766 * sysdeps/mach/hurd/fchdir.c: Likewise.
55767 * sysdeps/mach/hurd/rename.c: Likewise.
55768 * sysdeps/mach/hurd/rmdir.c: Likewise.
55769 * sysdeps/mach/hurd/seekdir.c: Likewise.
55770 * sysdeps/mach/hurd/setsid.c: Likewise.
55771 * sysdeps/posix/wait3.c: Likewise.
55772
55773 * All files with FSF copyright notices: Update copyright dates
55774 using scripts/update-copyrights.
55775 * intl/plural.c: Regenerated.
55776 * locale/programs/charmap-kw.h: Likewise.
55777 * locale/programs/locfile-kw.h: Likewise.
55778
55779 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
55780
55781 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
55782 four values.
55783
55784 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
55785 calculation loop and add branch prediction.
55786
55787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
55788 check access beyond bounds of m1np.
55789
55790 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55791 MPTWO.
55792 (__inv): Remove local variable MPTWO to use the global
55793 constant.
55794 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
55795 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55796 variable MPTWO.
55797 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
55798 MP3HALFS static const.
55799
55800 2013-01-01 David S. Miller <davem@davemloft.net>
55801
55802 * po/ca.po: Update from translation team.
55803
55804 2013-01-01 Joseph Myers <joseph@codesourcery.com>
55805
55806 * scripts/update-copyrights: New file.
55807 * Makeconfig: Reformat copyright notice.
55808 * ctype/ctype.h: Likewise.
55809 * debug/swprintf_chk.c: Likewise.
55810 * elf/dl-cache.c: Likewise.
55811 * elf/dl-debug.c: Likewise.
55812 * elf/dl-object.c: Likewise.
55813 * grp/initgroups.c: Likewise.
55814 * hurd/Makefile: Likewise.
55815 * hurd/hurd/signal.h: Likewise.
55816 * hurd/hurdfault.c: Likewise.
55817 * hurd/hurdioctl.c: Likewise.
55818 * hurd/hurdlookup.c: Likewise.
55819 * hurd/intr-msg.c: Likewise.
55820 * iconv/gconv_open.c: Likewise.
55821 * libio/swprintf.c: Likewise.
55822 * locale/lc-ctype.c: Likewise.
55823 * locale/nl_langinfo.c: Likewise.
55824 * mach/Machrules: Likewise.
55825 * mach/Makefile: Likewise.
55826 * malloc/obstack.h: Likewise.
55827 * manual/Makefile: Likewise.
55828 * manual/tsort.awk: Likewise.
55829 * misc/bits/stab.def: Likewise.
55830 * nis/nis_print_group_entry.c: Likewise.
55831 * nis/nis_table.c: Likewise.
55832 * nis/nss_compat/compat-pwd.c: Likewise.
55833 * nis/nss_compat/compat-spwd.c: Likewise.
55834 * po/Makefile: Likewise.
55835 * posix/fnmatch.c: Likewise.
55836 * posix/regex.h: Likewise.
55837 * resolv/Makefile: Likewise.
55838 * resolv/nss_dns/dns-network.c: Likewise.
55839 * resolv/res_hconf.c: Likewise.
55840 * scripts/gen-sorted.awk: Likewise.
55841 * soft-fp/soft-fp.h: Likewise.
55842 * stdio-common/printf.h: Likewise.
55843 * stdlib/monetary.h: Likewise.
55844 * stdlib/random.c: Likewise.
55845 * stdlib/random_r.c: Likewise.
55846 * sysdeps/generic/Makefile: Likewise.
55847 * sysdeps/gnu/Makefile: Likewise.
55848 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55849 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55850 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55851 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55855 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55856 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55857 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55858 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55859 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55860 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55861 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55862 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55863 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55864 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55865 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55866 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55867 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55868 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55869 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55870 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55871 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55872 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55873 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55874 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55875 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55876 * sysdeps/mach/hurd/errnos.awk: Likewise.
55877 * sysdeps/mach/hurd/fork.c: Likewise.
55878 * sysdeps/mach/hurd/getcwd.c: Likewise.
55879 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55880 * sysdeps/mach/hurd/mmap.c: Likewise.
55881 * sysdeps/mach/hurd/utimes.c: Likewise.
55882 * sysdeps/mach/hurd/xmknod.c: Likewise.
55883 * sysdeps/posix/profil.c: Likewise.
55884 * sysdeps/posix/readdir_r.c: Likewise.
55885 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55886 * sysdeps/powerpc/bits/setjmp.h: Likewise.
55887 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55888 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55890 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55891 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55892 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55894 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55895 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55896 * sysdeps/pthread/lio_listio.c: Likewise.
55897 * sysdeps/sparc/dl-procinfo.h: Likewise.
55898 * sysdeps/unix/i386/sysdep.S: Likewise.
55899 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55900 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55901 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55902 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55904 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55905 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55906 * sysdeps/unix/sysv/linux/speed.c: Likewise.
55907 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55908 * sysdeps/wordsize-32/divdi3.c: Likewise.
55909 * time/sys/time.h: Likewise.
55910 * wcsmbs/Makefile: Likewise.
55911
55912 2013-01-01 David S. Miller <davem@davemloft.net>
55913
55914 * po/fr.po: Update from translation team.
55915
55916 * catgets/gencat.c: Update copyright year.
55917 * csu/version.c: Likewise.
55918 * debug/catchsegv.sh: Likewise.
55919 * debug/pcprofiledump.c: Likewise.
55920 * debug/xtrace.sh: Likewise.
55921 * elf/ldconfig.c: Likewise.
55922 * elf/ldd.bash.in: Likewise.
55923 * elf/pldd.c: Likewise.
55924 * elf/sotruss.ksh: Likewise.
55925 * elf/sprof.c: Likewise.
55926 * iconv/iconv_prog.c: Likewise.
55927 * iconv/iconvconfig.c: Likewise.
55928 * locale/programs/locale.c: Likewise.
55929 * locale/programs/localedef.c: Likewise.
55930 * login/programs/pt_chown.c: Likewise.
55931 * malloc/memusage.sh: Likewise.
55932 * malloc/memusagestat.c: Likewise.
55933 * malloc/mtrace.pl: Likewise.
55934 * nscd/nscd.c: Likewise.
55935 * nss/getent.c: Likewise.
55936 * nss/makedb.c: Likewise.
55937 * posix/getconf.c: Likewise.
55938
55939 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
55940
55941 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55942 numbers.
55943
55944 2012-12-30 Mike Frysinger <vapier@gentoo.org>
55945
55946 * math/bits/mathcalls.h (modf): Use __nonnull.
55947
55948 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
55949
55950 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55951 (split): Use macro CN instead of the bare value.
55952 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55953 could be used.
55954 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55955 instead of the bare value.
55956 (power1): Likewise.
55957
55958 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55959
55960 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55961 __ATAN_TWOM.
55962 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55963
55964 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55965 their values.
55966 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55967 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55968 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55969 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55970
55971 2012-12-28 Andreas Jaeger <aj@suse.de>
55972
55973 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
55974 values are from Linux 3.7.
55975
55976 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55977 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
55978
55979 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55980
55981 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55982 TRUE case.
55983
55984 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55985 (norm): Likewise.
55986 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55987 variables with preprocessor constants.
55988 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55989 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55990 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55991
55992 2012-12-27 Bruno Haible <bruno@clisp.org>
55993
55994 [BZ #14317]
55995 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55996 only if needed.
55997
55998 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
55999
56000 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56001 and use variable directly.
56002 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56003
56004 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56005 MPONE.
56006 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56007 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56008 variable MPONE.
56009 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56011 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56012 include directive. Remove local variable MPONE.
56013 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56014 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56015 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56016
56017 2012-12-25 David S. Miller <davem@davemloft.net>
56018
56019 * version.h (RELEASE): Set to "development".
56020 (VERSION): Set to "2.17.90".
56021 * NEWS: Add 2.18 section.
56022
56023 2012-12-21 David S. Miller <davem@davemloft.net>
56024
56025 * po/hr.po: Update from translation team.
56026
56027 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56028
56029 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56030
56031 2012-12-19 Steve Ellcey <sellcey@mips.com>
56032
56033 * NEWS: Mention new memcpy for MIPS.
56034
56035 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56036
56037 * manual/contrib.texi (Contributors): Spelling correction.
56038
56039 2012-12-15 David S. Miller <davem@davemloft.net>
56040
56041 * po/ru.po: Update from translation team.
56042
56043 2012-12-13 David S. Miller <davem@davemloft.net>
56044
56045 * NEWS: Mention IFUNC testsuite enhancements.
56046
56047 * po/pl.po: Update from translation team.
56048 * po/bg.po: Likewise.
56049
56050 * manual/contrib.texi (Contributors): Update entries for Hongjiu
56051 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
56052
56053 2012-12-11 David S. Miller <davem@davemloft.net>
56054
56055 * po/sv.po: Update from translation team.
56056
56057 * po/vi.po: Update from translation team.
56058
56059 * po/cs.po: Update from translation team.
56060
56061 * po/de.po: Update from translation team.
56062 * po/eo.po: Likewise.
56063 * po/nl.po: Likewise.
56064
56065 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
56066
56067 [BZ #14246]
56068 * manual/argp.texi (Argp Helper Functions): Move node to follow
56069 Argp Parsing State.
56070
56071 [BZ #14872]
56072 * manual/conf.texi (Limits on File System Capacity): Mention if
56073 terminating null is included in the max size.
56074
56075 2012-12-10 Andreas Jaeger <aj@suse.de>
56076
56077 * po/cs.po: Update from translation team.
56078
56079 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
56080
56081 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56082 void pointer and cast to uintptr_t.
56083 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56084 path.
56085 * sysdeps/s390/s390-64/memcpy.S: Likewise.
56086 * sysdeps/s390/s390-64/memset.S: Likewise.
56087
56088 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
56089
56090 [BZ #14833]
56091 * menual/message.texi (Message Translation): Fix typos.
56092 (Helper programs for gettext): Likewise.
56093
56094 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
56095
56096 [BZ #14898]
56097 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56098 Change to -1.
56099
56100 2012-12-07 David S. Miller <davem@davemloft.net>
56101
56102 * po/libc.pot: Update.
56103
56104 2012-12-07 Richard Henderson <rth@redhat.com>
56105
56106 [BZ #10114]
56107 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56108 normal/normal case to before the switch.
56109 (_FP_DIV): Likewise.
56110
56111 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
56112 Mike Frysinger <vapier@gentoo.org>
56113
56114 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56115 check for __NR_fadvise64_64.
56116
56117 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
56118
56119 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56120 0, not just to plain "0" as a statement.
56121 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56122 with cw.
56123
56124 2012-12-06 Joseph Myers <joseph@codesourcery.com>
56125
56126 * NEWS: Use sourceware.org in Bugzilla URL.
56127
56128 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
56129
56130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56131 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56132
56133 * stdio-common/tst-put-error.c (do_test): Add newline to the
56134 padded test to ensure flush.
56135
56136 2012-12-05 Jeff Law <law@redhat.com>
56137
56138 * sunrpc/etc.rpc (fedfs_admin): Add entry.
56139
56140 2012-12-05 Joseph Myers <joseph@codesourcery.com>
56141
56142 * README: Don't refer to ports add-on as distributed separately.
56143 Mention AArch64 in list of systems supported in the ports add-on.
56144
56145 * LICENSES: Add more non-FSF copyright and license notices.
56146
56147 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56148 ((unused)).
56149
56150 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56151
56152 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56153 10000 as width of padded output.
56154
56155 2012-12-04 Joseph Myers <joseph@codesourcery.com>
56156
56157 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56158
56159 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56160 variable LX with __attribute__ ((unused)).
56161 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56162 Likewise.
56163 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56164 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56165 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56166 with __attribute__ ((unused)).
56167
56168 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
56169
56170 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56171
56172 2012-12-04 Joseph Myers <joseph@codesourcery.com>
56173
56174 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56175 (CFLAGS-nldbl-acos.c): New variable.
56176 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56177 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56178 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56179 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56180 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56181 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56182 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56183 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56184 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56185 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56186 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56187 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56188 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56189 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56190 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56191 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56192 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56193 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56194 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56195 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56196 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56197 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56198 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56199 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56200 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56201 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56202 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56203 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56204 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56205 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56206 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56207 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56208 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56209 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56210 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56211 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56212 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56213 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56214 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56215 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56216 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56217 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56218 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56219 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56220 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56221 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56222 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56223 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56224 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56225 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56226 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56227 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56228 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56229 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56230 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56231 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56232 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56233 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56234 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56235 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56236 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56237 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56238 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56239 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56240 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56241 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56242 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56243 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56244 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56245 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56246 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56247 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56248 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56249 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56250 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56251 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56252 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56253 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56254 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56255 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56256 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56257 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56258 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56259 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56260 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56261 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56262 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56263 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56264 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56265 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56266 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56267 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56268 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56269 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56270 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56271 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56272 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56273
56274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56275 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56276
56277 [BZ #14914]
56278 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56279 whole low double instead of just low 47 bits when splitting values
56280 into two parts.
56281
56282 2012-12-03 Allan McRae <allan@archlinux.org>
56283
56284 * manual/stdio.texi (Predefined Printf Handlers): Remove
56285 @hsep and @vsep usage.
56286
56287 2012-12-03 Mike Frysinger <vapier@gentoo.org>
56288
56289 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56290 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56291
56292 2012-12-03 Jeff Law <law@redhat.com>
56293
56294 * time/sys/time.h (settimeofday): Do not mark TV argument
56295 as __nonnull.
56296
56297 2012-12-01 Mike Frysinger <vapier@gentoo.org>
56298
56299 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56300 when currently writing and seek to current position when not.
56301 * libio/Makefile (tests): Remove bug-fclose1.
56302 * libio/bug-fclose1.c: Delete.
56303
56304 2012-12-01 Joseph Myers <joseph@codesourcery.com>
56305
56306 * manual/arith.texi (feenableexcept): Fix typo.
56307 (fedisableexcept): Likewise.
56308
56309 2012-11-30 Roland McGrath <roland@hack.frob.com>
56310
56311 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56312 second, differently-typed declaration, rather than a cast.
56313
56314 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
56315
56316 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56317 * include/rpc/svc.h: ... here.
56318
56319 2012-11-30 Aurelien Jarno <aurel32@debian.org>
56320
56321 [BZ #13013]
56322 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56323 depending n and resplen2 to catch cases where answer
56324 equals answerp2.
56325
56326 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
56327
56328 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56329 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56330
56331 2012-11-29 Mike Frysinger <vapier@gentoo.org>
56332
56333 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56334
56335 2012-11-29 Roland McGrath <roland@hack.frob.com>
56336
56337 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56338
56339 2012-11-28 Jeff Law <law@redhat.com>
56340
56341 [BZ #13761]
56342 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56343 dataset_temporary. Track alloca usage into alloca_used.
56344 If dataset is large allocate and release it via malloc/free.
56345
56346 2012-06-04 Florian Weimer <fweimer@redhat.com>
56347
56348 [BZ #14197]
56349 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56350
56351 2012-11-28 David S. Miller <davem@davemloft.net>
56352
56353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56354
56355 2012-11-28 Joseph Myers <joseph@codesourcery.com>
56356
56357 [BZ #14803]
56358 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56359 of pi/2 rounded to nearest to 64 bits.
56360 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56361 nearest to 64 bits.
56362 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56363 bits.
56364
56365 2012-11-28 Jeff Law <law@redhat.com>
56366 Martin Osvald <mosvald@redhat.com>
56367
56368 [BZ #14889]
56369 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56370 * sunrpc/svc.c: Include time.h.
56371 (__svc_accept_failed): New function.
56372 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56373 any reason other than EINTR, call __svc_accept_failed.
56374 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56375 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56376
56377 2012-11-28 Andreas Schwab <schwab@suse.de>
56378
56379 * scripts/abilist.awk: Also handle indirect functions in .opd
56380 section.
56381
56382 2012-11-28 Joseph Myers <joseph@codesourcery.com>
56383
56384 [BZ #13881]
56385 * sysdeps/x86/fpu/powl_helper.c: New file.
56386 * sysdeps/x86/fpu/Makefile: Likewise.
56387 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56388 (p3): New object.
56389 (__ieee754_powl): Use __powl_helper for finite arguments except
56390 integer exponents below 8.
56391 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56392 (p3): New object.
56393 (__ieee754_powl): Use __powl_helper for finite arguments except
56394 integer exponents below 8.
56395 * math/libm-test.inc (pow_test): Add more tests and enable some
56396 previously disabled tests.
56397 * sysdeps/i386/fpu/libm-test-ulps: Update.
56398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56399
56400 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
56401 Carlos O'Donell <carlos_odonell@mentor.com>
56402
56403 * nss/makedb.c (is_prime): Assert that input is odd and greater
56404 than 4. Note that fact in a comment too.
56405 (next_prime): Add 4 to input.
56406
56407 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
56408
56409 [BZ #11741]
56410 * libio/Makefile (tests): Add test case tst-fwrite-error.
56411 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56412 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56413 * libio/tst-fwrite-error.c: New test case.
56414
56415 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
56416
56417 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56418 before casting to void *.
56419 * include/libc-internal.h (__pointer_type): New macro.
56420 (__integer_if_pointer_type_sub): Likewise.
56421 (__integer_if_pointer_type): Likewise.
56422 (cast_to_integer): Likewise.
56423 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56424 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56425 before casting to atomic64_t.
56426 (atomic_exchange_acq): Likewise.
56427 (__arch_exchange_and_add_body): Likewise.
56428 (__arch_add_body): Likewise.
56429 (atomic_add_negative): Likewise.
56430 (atomic_add_zero): Likewise.
56431
56432 2012-11-26 Joseph Myers <joseph@codesourcery.com>
56433
56434 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56435 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56436 (add_fdes): Likewise.
56437 (linear_search_fdes): Likewise.
56438 (binary_search_unencoded_fdes): Likewise.
56439
56440 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
56441
56442 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56443
56444 2012-11-24 Adam Conrad <adconrad@0c3.net>
56445
56446 * configure.in: Autodetect C++ header directories.
56447 * configure: Regenerated.
56448
56449 2012-11-23 Mike Frysinger <vapier@gentoo.org>
56450
56451 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56452
56453 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
56454
56455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56456
56457 2012-11-22 Joseph Myers <joseph@codesourcery.com>
56458
56459 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56460 LDBL_MANT_DIG == 106]: Disable some tests.
56461 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56462 Likewise.
56463 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56464 Likewise.
56465
56466 [BZ #14871]
56467 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56468 input for small inputs. Return +/- pi/2 for large inputs.
56469 * math/libm-test.inc (atan_test): Add more tests.
56470
56471 * sysdeps/generic/unwind-dw2-fde-glibc.c
56472 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56473 __attribute__ ((unused)).
56474
56475 [BZ #14645]
56476 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56477 x * y if x and y are nonzero and z is zero.
56478
56479 [BZ #14811]
56480 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56481 nonzero exponents with absolute value below 0x1p-117 to +/-
56482 0x1p-117.
56483
56484 [BZ #14869]
56485 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56486 up arguments below 2**-450, not just those below 2**-500.
56487 * math/libm-test.inc (hypot_test): Add another test.
56488
56489 [BZ #14868]
56490 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56491 Return a+b for ratio over 2**120, not 2**60.
56492 * math/libm-test.inc (hypot_test): Add another test.
56493
56494 * math/libm-test.inc (clog_test): Use
56495 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56496 (clog10_test): Likewise.
56497
56498 [BZ #6778]
56499 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56500
56501 2012-11-22 Andreas Schwab <schwab@suse.de>
56502
56503 * sysdeps/i386/fpu/libm-test-ulps: Update.
56504
56505 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
56506
56507 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56508 printf output with newline.
56509
56510 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
56511
56512 [BZ #14865]
56513 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56514 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56515 -z nodlopen, -z initfirst and -z execstack support.
56516 * configure: Regenerated.
56517
56518 * elf/elf.h (DF_1_NODIRECT): New macro.
56519 (DF_1_IGNMULDEF): Likewise.
56520 (DF_1_NOKSYMS): Likewise.
56521 (DF_1_NOHDR): Likewise.
56522 (DF_1_EDITED): Likewise.
56523 (DF_1_NORELOC): Likewise.
56524 (DF_1_SYMINTPOSE): Likewise.
56525 (DF_1_GLOBAUDIT): Likewise.
56526 (DF_1_SINGLETON): Likewise.
56527 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56528 DT_1_SUPPORTED_MASK bits.
56529 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56530
56531 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
56532
56533 * sysdeps/unix/make-syscalls.sh: Document prefixes.
56534
56535 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
56536
56537 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56538 macro.
56539
56540 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56541 (sendmmsg): Move declarations...
56542 * socket/sys/socket.h: ... here.
56543 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56544 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56545 include it from...
56546 * socket/recvmmsg.c: ... this new file.
56547 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56548 (sendmmsg): Rename to __sendmmsg, create weak alias and make
56549 definition of __sendmmsg hidden.
56550 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56551 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56552 Move ENOSYS stub into and include it from...
56553 * socket/sendmmsg.c: ... this new file.
56554 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56555 (sysdep_routines): Move recvmmsg and sendmmsg...
56556 * socket/Makefile (routines): ... here.
56557 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56558 (GLIBC_PRIVATE): Add __sendmmsg.
56559 * include/sys/socket.h (__sendmmsg): Add declarations.
56560 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56561 sendmmsg.
56562
56563 2012-11-20 Joseph Myers <joseph@codesourcery.com>
56564
56565 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56566 variable I1 with __attribute__ ((unused)).
56567 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56568
56569 2012-11-19 Joseph Myers <joseph@codesourcery.com>
56570
56571 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56572 DUMMY variables with __attribute__ ((unused)).
56573
56574 * bits/byteswap.h: Include <bits/types.h>.
56575 (__bswap_64): Use __uint64_t instead of unsigned long long int.
56576
56577 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
56578
56579 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56580 string_t. Do not manually set errno.
56581 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56582 length with __strnlen. Make sure to both set errno and return it on
56583 failure.
56584
56585 2012-11-19 David S. Miller <davem@davemloft.net>
56586
56587 With help from Joseph Myers.
56588 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56589 very large arguments properly.
56590 * math/libm-test.inc (atan_test): New tests.
56591 (atan2_test): New tests.
56592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56594
56595 2012-11-19 Joseph Myers <joseph@codesourcery.com>
56596
56597 [BZ #14856]
56598 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56599 Define to 3.
56600
56601 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56602 [POSIX] (EADDRNOTAVAIL): Likewise.
56603 [POSIX] (EAFNOSUPPORT): Likewise.
56604 [POSIX] (EALREADY): Likewise.
56605 [POSIX] (ECONNABORTED): Likewise.
56606 [POSIX] (ECONNREFUSED): Likewise.
56607 [POSIX] (ECONNRESET): Likewise.
56608 [POSIX] (EDESTADDRREQ): Likewise.
56609 [POSIX] (EDQUOT): Likewise.
56610 [POSIX] (EHOSTUNREACH): Likewise.
56611 [POSIX] (EIDRM): Likewise.
56612 [POSIX] (EISCONN): Likewise.
56613 [POSIX] (ELOOP): Likewise.
56614 [POSIX] (EMULTIHOP): Likewise.
56615 [POSIX] (ENETDOWN): Likewise.
56616 [POSIX] (ENETUNREACH): Likewise.
56617 [POSIX] (ENOBUFS): Likewise.
56618 [POSIX] (ENODATA): Likewise.
56619 [POSIX] (ENOLINK): Likewise.
56620 [POSIX] (ENOMSG): Likewise.
56621 [POSIX] (ENOPROTOOPT): Likewise.
56622 [POSIX] (ENOSR): Likewise.
56623 [POSIX] (ENOSTR): Likewise.
56624 [POSIX] (ENOTCONN): Likewise.
56625 [POSIX] (ENOTSOCK): Likewise.
56626 [POSIX] (EOPNOTSUPP): Likewise.
56627 [POSIX] (EOVERFLOW): Likewise.
56628 [POSIX] (EPROTO): Likewise.
56629 [POSIX] (EPROTONOSUPPORT): Likewise.
56630 [POSIX] (EPROTOTYPE): Likewise.
56631 [POSIX] (ESTALE): Likewise.
56632 [POSIX] (ETIME): Likewise.
56633 [POSIX] (ETXTBSY): Likewise.
56634 [POSIX] (EWOULDBLOCK): Likewise.
56635 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56636 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56637 [POSIX] (SEEK_CUR): Likewise.
56638 [POSIX] (SEEK_END): Likewise.
56639 [POSIX || UNIX98] (mode_t): Do not require.
56640 [POSIX] (off_t): Likewise.
56641 [POSIX] (pid_t): Likewise.
56642 [POSIX] (sys/stat.h): Do not allow header.
56643 [POSIX] (unistd.h): Likewise.
56644 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56645 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56646 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56647 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56648 require.
56649 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56650 sigevent): Specify elements.
56651 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56652 entry.
56653 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56654 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56655
56656 * conform/data/cpio.h-data [POSIX]: Disable whole file.
56657 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56658 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56659 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56660 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56661 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56662 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56663 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56664 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56665 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56666 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56667 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56668 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56669 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56670 Likewise.
56671 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56672 Likewise.
56673 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56674 Likewise.
56675 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56676 Likewise.
56677 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56678 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56679 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56680 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56681 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56682 Specify lower bound on value.
56683 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56684 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56685 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56686 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56687 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56688 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56689 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56690 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56691 value.
56692 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56693 as optional.
56694 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56695 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56696 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56697 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56698 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56699 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56700 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56701 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56702 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56703 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56704 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56705 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56706 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56707 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56708 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56709 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56710 entry.
56711 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56712 optional.
56713 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56714 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56715 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56716 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56717 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56718 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56719 Likewise.
56720 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56721 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56722 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56723 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56724 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
56725 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56726 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56727 as optional.
56728 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56729 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56730 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56731 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56732 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56733 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56734 specify as optional.
56735 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56736 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56737 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56738 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56739 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56740 [XPG3] (NL_LANGMAX): Likewise.
56741 [POSIX || XPG3] (NL_MSGMAX): Likewise.
56742 [POSIX || XPG3] (NL_NMAX): Likewise.
56743 [POSIX || XPG3] (NL_SETMAX): Likewise.
56744 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56745 [XPG3] (NZERO): Likewise.
56746 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56747 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56748 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56749 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56750 (REG_ERANGE): Expect.
56751 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56752 optional-constant.
56753 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56754 Use (void) in prototype.
56755 [POSIX] (*_t): Allow.
56756 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56757 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56758 (WRDE_BADVAL): Expect.
56759
56760 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56761 expect.
56762 [XPG3 || XPG4] (O_RSYNC): Likewise.
56763 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56764 Likewise.
56765 [XPG3 || XPG4] (pthread_sigmask): Likewise.
56766 [XPG3 || XPG4] (sigqueue): Likewise.
56767 [XPG3 || XPG4] (sigtimedwait): Likewise.
56768 [XPG3 || XPG4] (sigwaitinfo): Likewise.
56769 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56770 [XPG3 || XPG4] (vsnprintf): Likewise.
56771 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56772 Likewise.
56773 [XPG3 || XPG4] (blksize_t): Likewise.
56774 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56775 Likewise.
56776 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56777 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
56778 [XPG3 || XPG4] (struct itimerspec): Likewise.
56779 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
56780 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
56781 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
56782 [XPG3 || XPG4] (clockid_t): Likewise.
56783 [XPG3 || XPG4] (timer_t): Likewise.
56784 [XPG3 || XPG4] (clock_getres): Likewise.
56785 [XPG3 || XPG4] (clock_gettime): Likewise.
56786 [XPG3 || XPG4] (clock_settime): Likewise.
56787 [XPG3 || XPG4] (nanosleep): Likewise.
56788 [XPG3 || XPG4] (timer_create): Likewise.
56789 [XPG3 || XPG4] (timer_delete): Likewise.
56790 [XPG3 || XPG4] (timer_gettime): Likewise.
56791 [XPG3 || XPG4] (timer_getoverrun): Likewise.
56792 [XPG3 || XPG4] (timer_settime): Likewise.
56793 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
56794 [XPG3 || XPG4] (getlogin_r): Likewise.
56795 [XPG3 || XPG4] (pread): Likewise.
56796 [XPG3 || XPG4] (pthread_atfork): Likewise.
56797 [XPG3 || XPG4] (pwrite): Likewise.
56798
56799 [BZ #14835]
56800 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
56801 <bits/siginfo.h>.
56802
56803 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
56804
56805 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
56806 finalizing MALLSTREAM.
56807
56808 * sysdeps/mach/hurd/syncfs.c: New file.
56809
56810 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
56811
56812 [BZ #14719]
56813 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
56814 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
56815 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
56816 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
56817 (_nss_dns_gethostbyname4_r): Likewise.
56818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
56819 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
56820
56821 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
56822
56823 [BZ #13763]
56824 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
56825
56826 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
56827
56828 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
56829 * elf/cache.c (print_entry): Print ",AArch64" for
56830 FLAG_AARCH64_LIB64
56831
56832 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
56833 * elf/cache.c (print_entry): Print ",hard-float" for
56834 FLAG_ARM_LIBHF.
56835
56836 2012-11-18 David S. Miller <davem@davemloft.net>
56837
56838 With help from Joseph Myers.
56839 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
56840 cutoff to 2**-13.
56841 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
56842 cutoff to 2**-25.
56843 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
56844 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
56845 small.
56846 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
56847 * math/libm-test.inc (y0_test): New tests.
56848 (y1_test): New tests.
56849 * sysdeps/i386/fpu/libm-test-ulps: Update.
56850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56852
56853 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
56854
56855 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56856 64-bit targets.
56857 * configure: Regenerated.
56858
56859 2012-11-17 David S. Miller <davem@davemloft.net>
56860
56861 [BZ #14811]
56862 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56863 nonzero exponents with absolute value below 0x1p-128 to +/-
56864 0x1p-128.
56865
56866 2012-11-17 Joseph Myers <joseph@codesourcery.com>
56867
56868 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56869
56870 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56871
56872 * posix/getconf-speclist.c: New file.
56873 * posix/posix-envs.def: Likewise.
56874 * posix/confstr.c (START_ENV_GROUP): New macro.
56875 (END_ENV_GROUP): Likewise.
56876 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56877 (KNOWN_PRESENT_ENV_STRING): Likewise.
56878 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56879 (UNKNOWN_ENVIRONMENT): Likewise.
56880 (confstr): Include posix-envs.def instead of handling
56881 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56882 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56883 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56884 (END_ENV_GROUP): Likewise.
56885 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56886 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56887 (UNKNOWN_ENVIRONMENT): Likewise.
56888 (__sysconf): Include posix-envs.def instead of handling associated
56889 cases directly here.
56890 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56891 preprocessing getconf-speclist.c rather than running getconf or
56892 generating empty file.
56893
56894 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
56895
56896 * scripts/check-local-headers.sh: Ignore 'mach' headers.
56897
56898 2012-11-16 Andrej Lajovic <natrij@gmail.com>
56899
56900 [BZ #14672]
56901 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56902
56903 2012-11-16 David S. Miller <davem@davemloft.net>
56904
56905 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56906 smaller than LDBL_EPSILON/2.0L, just return xm1.
56907
56908 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
56909
56910 * elf/tst-array1.c (init): Set constructor priority to 1000.
56911 (fini): Set destructor priority to 1000.
56912 * elf/tst-array2dep.c: Likewise.
56913
56914 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
56915
56916 [BZ #11741]
56917 * libio/fileops.c (_IO_new_file_write): Correctly return error.
56918 (_IO_new_file_xsputn): Also return EOF if none of the input
56919 data was written when overflow failed.
56920 * libio/iopadn.c (_IO_padn): Likewise.
56921 * libio/iowpadn.c (_IO_wpadn): Likewise.
56922 * stdio-common/tst-put-error.c: Add copyright notice.
56923 (do_test): Add case for printing padded string.
56924 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56925 _IO_padn returned error.
56926 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56927 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56928 return EOF.
56929
56930 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
56931
56932 * libio/libioP.h: Add comment note that the references to C++
56933 bits are now obsolete.
56934
56935 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56936
56937 * math/libm-test.inc (check_complex): Use asprintf.
56938
56939 2012-11-14 Joseph Myers <joseph@codesourcery.com>
56940
56941 * debug/pcprofiledump.c (print_version): Update copyright year.
56942 * malloc/memusagestat.c (print_version): Likewise.
56943
56944 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
56945
56946 [BZ #14831]
56947 * elf/Makefile (tests): Add tst-audit8.
56948 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56949 ($(objpfx)tst-audit8.out): New target.
56950 (tst-audit8-ENV): New variable.
56951 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56952 audit if l_reloc_result is NULL.
56953 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56954 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56955 * elf/tst-audit8.c: New file.
56956
56957 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56958
56959 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56960 * misc/Makefile (CFLAGS-select.c): Define.
56961 * posix/Makefile (CFLAGS-pause.c): Define.
56962
56963 2012-11-13 David S. Miller <davem@davemloft.net>
56964
56965 * crypt/Makefile: Move test targets after toplevel Rules
56966 inclusion. Grab any necessary sysdep routines when linking.
56967 * crypt/md5.c (md5_process_block): Remove define, we will always
56968 name it __md5_process_block.
56969 (md5_finish_ctx): Update md5_process_block call.
56970 (md5_stream): Likewise.
56971 (md5_process_bytes): Likewise.
56972 (md5_process_block): Rename to __md5_process_block and move to ...
56973 * crypt/md5-block.c: ... here.
56974 * crypt/sha256.c (sha256_process_block): Move to ...
56975 * crypt/sha256-block.c: ... here.
56976 * crypt/sha512.c (sha512_process_block): Move to ...
56977 * crypt/sha512-block.c: ... here.
56978 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56979 path.
56980 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56981 * sysdeps/sparc/sparc64/multiarch/Makefile
56982 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56983 crypt subdir.
56984 (localedef-aux): Add md5 crypto assembler when in locale subdir.
56985 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56986 multiarch changes.
56987 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56988 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56989 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56990 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56991 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56992 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56993 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56994 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56995 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56996 file.
56997 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56998 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56999 file.
57000 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57001
57002 2012-11-13 Joseph Myers <joseph@codesourcery.com>
57003
57004 * timezone/tzselect.ksh: Update from tzcode git revision
57005 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57006 * timezone/zdump.c: Likewise.
57007 * timezone/zic.c: Likewise.
57008 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57009 in TZVERSION setting, not $(PKGVERSION).
57010 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
57011 REPORT_BUGS_TO settings.
57012
57013 [BZ #14838]
57014 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57015 macro.
57016
57017 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57018
57019 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57020 detection to immediately after _FP_ROUND().
57021 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57022 bits are 0.
57023
57024 2012-11-11 David S. Miller <davem@davemloft.net>
57025
57026 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57027 inttypes.h
57028 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57029 __close rather than their public counterparts.
57030
57031 2012-11-10 Joseph Myers <joseph@codesourcery.com>
57032
57033 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57034 file.
57035 [UNIX98] (sem_timedwait): Do not expect.
57036 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57037 [XPG4 || UNIX98] (sockatmark): Do not expect.
57038 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57039 (clock_getcpuclockid): Do not expect.
57040 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57041 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57042 Do not expect.
57043 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57044 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57045 [UNIX98] (vwscanf): Likewise.
57046 [UNIX98] (vswscanf): Likewise.
57047
57048 2012-11-09 Joseph Myers <joseph@codesourcery.com>
57049
57050 * timezone/version.h: Remove file.
57051 * timezone/README: Do not refer to version.h.
57052 * timezone/Makefile ($(objpfx)zic.o): New dependency on
57053 $(objpfx)version.h.
57054 ($(objpfx)zdump.o): Likewise.
57055 ($(objpfx)version.h): New target.
57056
57057 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57058 2012i.
57059 * timezone/README: Don't mention modification to tzselect.ksh.
57060 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57061 work on unmodified tzselect.ksh. Substitute version numbers in
57062 tzselect.ksh.
57063
57064 * Makefile (format-me): Remove.
57065 (INSTALL): Adjust indentation. Use commands directly instead of
57066 using $(format-me).
57067
57068 * aclocal.m4 (ACX_PKGVERSION): New macro.
57069 (ACX_BUGURL): Likewise.
57070 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57071 (PKGVERSION): New AC_DEFINE_UNQUOTED.
57072 (REPORT_BUGS_TO): Likewise.
57073 * configure: Regenerated.
57074 * config.h.in (PKGVERSION): New macro.
57075 (REPORT_BUGS_TO): Likewise.
57076 * config.make.in (PKGVERSION): New variable.
57077 (PKGVERSION_TEXI): Likewise.
57078 (REPORT_BUGS_TO): Likewise.
57079 (REPORT_BUGS_TEXI): Likewise.
57080 * Makefile (format-me): Use -I$(common-objpfx)manual.
57081 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57082 ($(common-objpfx)manual/%): New target.
57083 (manual/%): Remove target.
57084 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57085 (print_version): Use PKGVERSION.
57086 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57087 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57088 and REPORT_BUGS_TO.
57089 ($(objpfx)xtrace): Likewise.
57090 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57091 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57092 (print_version): Use PKGVERSION.
57093 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57094 (do_version): Use PKGVERSION.
57095 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57096 REPORT_BUGS_TO.
57097 (common-ldd-rewrite): Likewise.
57098 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57099 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57100 (print_version): Use PKGVERSION.
57101 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57102 * elf/pldd.c (argp_program_bug_address): Remove variable.
57103 (more_help): New function.
57104 (argp): Use more_help.
57105 (print_version): Use PKGVERSION.
57106 * elf/sln.c (main): Use PKGVERSION.
57107 (usage): Use REPORT_BUGS_TO.
57108 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57109 (top level): Use PKGVERSION.
57110 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57111 (print_version): Use PKGVERSION.
57112 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57113 (print_version): Use PKGVERSION.
57114 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57115 (print_version): Use PKGVERSION.
57116 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57117 (print_version): Use PKGVERSION.
57118 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57119 (print_version): Use PKGVERSION.
57120 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57121 (print_version): Use PKGVERSION.
57122 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57123 and BUGURL.
57124 ($(objpfx)memusage): Likewise.
57125 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57126 (do_version): Use PKGVERSION.
57127 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57128 (print_version): Use PKGVERSION.
57129 * malloc/mtrace.pl ($PACKAGE): Remove variable.
57130 ($PKGVERSION): New variable.
57131 ($REPORT_BUGS_TO): Likewise.
57132 (usage): Use $REPORT_BUGS_TO.
57133 (top level): Use $PKGVERSION.
57134 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57135 ($(objpfx)pkgvers.texi): New rule.
57136 ($(objpfx)stamp-pkgvers): Likewise.
57137 * manual/install.texi: Include pkgvers.texi.
57138 (--with-pkgversion): Document new configure option.
57139 (--with-bugurl): Likewise.
57140 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57141 than necessarily for this particular distribution. Use
57142 REPORT_BUGS_TO for where to report bugs.
57143 * INSTALL: Regenerated.
57144 * manual/libc.texinfo: Include pkgvers.texi.
57145 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57146 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57147 (print_version): Use PKGVERSION.
57148 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57149 (print_version): Use PKGVERSION.
57150 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57151 (print_version): Use PKGVERSION.
57152 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57153 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57154 macro.
57155 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57156 (print_version): Use PKGVERSION.
57157 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57158 (print_version): Use PKGVERSION.
57159 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57160 and PKGVERSION.
57161
57162 * timezone/checktab.awk: Update from tzcode 2012i.
57163 * timezone/ialloc.c: Likewise.
57164 * timezone/private.h: Likewise.
57165 * timezone/scheck.c: Likewise.
57166 * timezone/tzfile.h: Likewise.
57167 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57168 (TZVERSION): Hardcode tzcode version number.
57169 * timezone/zdump.c: Update from tzcode 2012i.
57170 * timezone/zic.c: Likewise.
57171 * timezone/version.h: New file.
57172 * timezone/README: Describe version.h. Update upstream location.
57173
57174 [BZ #14824]
57175 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57176 (mktemp): Enable declaration.
57177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57178 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57180 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57181 Likewise.
57182 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57183 Likewise.
57184 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57185 Likewise.
57186 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57187 Likewise.
57188 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57189 Likewise.
57190 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57191 Likewise.
57192
57193 [BZ #14821]
57194 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57195 offset in buffer as u_int32_t not u_long. Consistently use memcpy
57196 for copies of such integer values.
57197 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57198 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57199
57200 2012-11-09 Andreas Jaeger <aj@suse.de>
57201
57202 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57203 definitions and declarations that are provided by
57204 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57205
57206 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57207
57208 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57209 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57210 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57211 definition.
57212
57213 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57214
57215 * elf/elf.h: Update comment before AArch64 relocations.
57216
57217 2012-11-07 David S. Miller <davem@davemloft.net>
57218
57219 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57220 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57221 (__start_context): Declare.
57222 (__makecontext_ret): Delete.
57223 (__makecontext): Hook up __start_context instead of
57224 __makecontext_ret.
57225 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57226 (sysdep_routines): Add __start_context when in stdlib.
57227
57228 2012-11-07 Joseph Myers <joseph@codesourcery.com>
57229
57230 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57231 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57232 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
57233 hardcoded "nm".
57234 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
57235 (READELF): New variable. Use it instead of hardcoded "readelf".
57236
57237 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
57238
57239 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57240 * sysdeps/x86/Makefile: Here.
57241 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57242 * sysdeps/x86/tst-xmmymm.sh: This.
57243
57244 2012-11-07 Joseph Myers <joseph@codesourcery.com>
57245
57246 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57247 expectations.
57248 [UNIX98] (pthread_barrier_t): Do not expect.
57249 [UNIX98] (pthread_barrierattr_t): Likewise.
57250 [UNIX98] (pthread_spinlock_t): Likewise.
57251 [UNIX98] (pthread_barrier_destroy): Likewise.
57252 [UNIX98] (pthread_barrier_init): Likewise.
57253 [UNIX98] (pthread_barrier_wait): Likewise.
57254 [UNIX98] (pthread_barrierattr_destroy): Likewise.
57255 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57256 [UNIX98] (pthread_barrierattr_init): Likewise.
57257 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57258 [UNIX98] (pthread_getcpuclockid): Likewise.
57259 [UNIX98] (pthread_mutex_timedlock): Likewise.
57260 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57261 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57262 [UNIX98] (pthread_sigmask): Likewise.
57263 [UNIX98] (pthread_spin_destroy): Likewise.
57264 [UNIX98] (pthread_spin_init): Likewise.
57265 [UNIX98] (pthread_spin_lock): Likewise.
57266 [UNIX98] (pthread_spin_trylock): Likewise.
57267 [UNIX98] (pthread_spin_unlock): Likewise.
57268 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57269 Do not expect.
57270 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57271 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57272 [XPG3 || XPG4] (pthread_cond_t): Likewise.
57273 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57274 [XPG3 || XPG4] (pthread_key_t): Likewise.
57275 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57276 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57277 [XPG3 || XPG4] (pthread_once_t): Likewise.
57278 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57279 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57280 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57281 [XPG3 || XPG4] (pthread_t): Likewise.
57282
57283 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57284 not expect.
57285 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57286
57287 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57288 Change function return type to int.
57289
57290 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57291 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57292 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57293 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57294 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57295 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57296 [!POSIX] (posix_madvise): Likewise.
57297 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57298 && !UNIX98].
57299 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57300 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57301 (mode_t): Likewise.
57302 (posix_mem_offset): Likewise.
57303 (posix_typed_mem_get_info): Likewise.
57304 (posix_typed_mem_open): Likewise.
57305
57306 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57307 Change condition to [XOPEN2K8].
57308
57309 * conform/conformtest.pl: Preprocess allow-header data with -x c
57310 instead of from stdin.
57311 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57312 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57313 [C99-based standards] (cerfc): Likewise.
57314 [C99-based standards] (cexp2): Likewise.
57315 [C99-based standards] (cexpm1): Likewise.
57316 [C99-based standards] (clog10): Likewise.
57317 [C99-based standards] (clog1p): Likewise.
57318 [C99-based standards] (clog2): Likewise.
57319 [C99-based standards] (clgamma): Likewise.
57320 [C99-based standards] (ctgamma): Likewise.
57321 [C99-based standards] (cerff): Likewise.
57322 [C99-based standards] (cerfcf): Likewise.
57323 [C99-based standards] (cexp2f): Likewise.
57324 [C99-based standards] (cexpm1f): Likewise.
57325 [C99-based standards] (clog10f): Likewise.
57326 [C99-based standards] (clog1pf): Likewise.
57327 [C99-based standards] (clog2f): Likewise.
57328 [C99-based standards] (clgammaf): Likewise.
57329 [C99-based standards] (ctgammaf): Likewise.
57330 [C99-based standards] (cerfl): Likewise.
57331 [C99-based standards] (cerfcl): Likewise.
57332 [C99-based standards] (cexp2l): Likewise.
57333 [C99-based standards] (cexpm1l): Likewise.
57334 [C99-based standards] (clog10l): Likewise.
57335 [C99-based standards] (clog1pl): Likewise.
57336 [C99-based standards] (clog2l): Likewise.
57337 [C99-based standards] (clgammal): Likewise.
57338 [C99-based standards] (ctgammal): Likewise.
57339 * conform/data/inttypes.h-data [C99-based standards]: Include
57340 stdint.h-data. Remove all expectations for stdint.h contents.
57341 [C99-based standards] (PRI*): Do not allow.
57342 [C99-based standards] (SCN*): Likewise.
57343 [C99-based standards] (*_t): Likewise.
57344 [C99-based-standards] (PRId8): Expect macro.
57345 [C99-based-standards] (PRIi8): Likewise.
57346 [C99-based-standards] (PRIo8): Likewise.
57347 [C99-based-standards] (PRIu8): Likewise.
57348 [C99-based-standards] (PRIx8): Likewise.
57349 [C99-based-standards] (PRIX8): Likewise.
57350 [C99-based-standards] (SCNd8): Likewise.
57351 [C99-based-standards] (SCNi8): Likewise.
57352 [C99-based-standards] (SCNo8): Likewise.
57353 [C99-based-standards] (SCNu8): Likewise.
57354 [C99-based-standards] (SCNx8): Likewise.
57355 [C99-based-standards] (PRIdLEAST8): Likewise.
57356 [C99-based-standards] (PRIiLEAST8): Likewise.
57357 [C99-based-standards] (PRIoLEAST8): Likewise.
57358 [C99-based-standards] (PRIuLEAST8): Likewise.
57359 [C99-based-standards] (PRIxLEAST8): Likewise.
57360 [C99-based-standards] (PRIXLEAST8): Likewise.
57361 [C99-based-standards] (SCNdLEAST8): Likewise.
57362 [C99-based-standards] (SCNiLEAST8): Likewise.
57363 [C99-based-standards] (SCNoLEAST8): Likewise.
57364 [C99-based-standards] (SCNuLEAST8): Likewise.
57365 [C99-based-standards] (SCNxLEAST8): Likewise.
57366 [C99-based-standards] (PRIdFAST8): Likewise.
57367 [C99-based-standards] (PRIiFAST8): Likewise.
57368 [C99-based-standards] (PRIoFAST8): Likewise.
57369 [C99-based-standards] (PRIuFAST8): Likewise.
57370 [C99-based-standards] (PRIxFAST8): Likewise.
57371 [C99-based-standards] (PRIXFAST8): Likewise.
57372 [C99-based-standards] (SCNdFAST8): Likewise.
57373 [C99-based-standards] (SCNiFAST8): Likewise.
57374 [C99-based-standards] (SCNoFAST8): Likewise.
57375 [C99-based-standards] (SCNuFAST8): Likewise.
57376 [C99-based-standards] (SCNxFAST8): Likewise.
57377 [C99-based-standards] (PRId16): Likewise.
57378 [C99-based-standards] (PRIi16): Likewise.
57379 [C99-based-standards] (PRIo16): Likewise.
57380 [C99-based-standards] (PRIu16): Likewise.
57381 [C99-based-standards] (PRIx16): Likewise.
57382 [C99-based-standards] (PRIX16): Likewise.
57383 [C99-based-standards] (SCNd16): Likewise.
57384 [C99-based-standards] (SCNi16): Likewise.
57385 [C99-based-standards] (SCNo16): Likewise.
57386 [C99-based-standards] (SCNu16): Likewise.
57387 [C99-based-standards] (SCNx16): Likewise.
57388 [C99-based-standards] (PRIdLEAST16): Likewise.
57389 [C99-based-standards] (PRIiLEAST16): Likewise.
57390 [C99-based-standards] (PRIoLEAST16): Likewise.
57391 [C99-based-standards] (PRIuLEAST16): Likewise.
57392 [C99-based-standards] (PRIxLEAST16): Likewise.
57393 [C99-based-standards] (PRIXLEAST16): Likewise.
57394 [C99-based-standards] (SCNdLEAST16): Likewise.
57395 [C99-based-standards] (SCNiLEAST16): Likewise.
57396 [C99-based-standards] (SCNoLEAST16): Likewise.
57397 [C99-based-standards] (SCNuLEAST16): Likewise.
57398 [C99-based-standards] (SCNxLEAST16): Likewise.
57399 [C99-based-standards] (PRIdFAST16): Likewise.
57400 [C99-based-standards] (PRIiFAST16): Likewise.
57401 [C99-based-standards] (PRIoFAST16): Likewise.
57402 [C99-based-standards] (PRIuFAST16): Likewise.
57403 [C99-based-standards] (PRIxFAST16): Likewise.
57404 [C99-based-standards] (PRIXFAST16): Likewise.
57405 [C99-based-standards] (SCNdFAST16): Likewise.
57406 [C99-based-standards] (SCNiFAST16): Likewise.
57407 [C99-based-standards] (SCNoFAST16): Likewise.
57408 [C99-based-standards] (SCNuFAST16): Likewise.
57409 [C99-based-standards] (SCNxFAST16): Likewise.
57410 [C99-based-standards] (PRId32): Likewise.
57411 [C99-based-standards] (PRIi32): Likewise.
57412 [C99-based-standards] (PRIo32): Likewise.
57413 [C99-based-standards] (PRIu32): Likewise.
57414 [C99-based-standards] (PRIx32): Likewise.
57415 [C99-based-standards] (PRIX32): Likewise.
57416 [C99-based-standards] (SCNd32): Likewise.
57417 [C99-based-standards] (SCNi32): Likewise.
57418 [C99-based-standards] (SCNo32): Likewise.
57419 [C99-based-standards] (SCNu32): Likewise.
57420 [C99-based-standards] (SCNx32): Likewise.
57421 [C99-based-standards] (PRIdLEAST32): Likewise.
57422 [C99-based-standards] (PRIiLEAST32): Likewise.
57423 [C99-based-standards] (PRIoLEAST32): Likewise.
57424 [C99-based-standards] (PRIuLEAST32): Likewise.
57425 [C99-based-standards] (PRIxLEAST32): Likewise.
57426 [C99-based-standards] (PRIXLEAST32): Likewise.
57427 [C99-based-standards] (SCNdLEAST32): Likewise.
57428 [C99-based-standards] (SCNiLEAST32): Likewise.
57429 [C99-based-standards] (SCNoLEAST32): Likewise.
57430 [C99-based-standards] (SCNuLEAST32): Likewise.
57431 [C99-based-standards] (SCNxLEAST32): Likewise.
57432 [C99-based-standards] (PRIdFAST32): Likewise.
57433 [C99-based-standards] (PRIiFAST32): Likewise.
57434 [C99-based-standards] (PRIoFAST32): Likewise.
57435 [C99-based-standards] (PRIuFAST32): Likewise.
57436 [C99-based-standards] (PRIxFAST32): Likewise.
57437 [C99-based-standards] (PRIXFAST32): Likewise.
57438 [C99-based-standards] (SCNdFAST32): Likewise.
57439 [C99-based-standards] (SCNiFAST32): Likewise.
57440 [C99-based-standards] (SCNoFAST32): Likewise.
57441 [C99-based-standards] (SCNuFAST32): Likewise.
57442 [C99-based-standards] (SCNxFAST32): Likewise.
57443 [C99-based-standards] (PRId64): Likewise.
57444 [C99-based-standards] (PRIi64): Likewise.
57445 [C99-based-standards] (PRIo64): Likewise.
57446 [C99-based-standards] (PRIu64): Likewise.
57447 [C99-based-standards] (PRIx64): Likewise.
57448 [C99-based-standards] (PRIX64): Likewise.
57449 [C99-based-standards] (SCNd64): Likewise.
57450 [C99-based-standards] (SCNi64): Likewise.
57451 [C99-based-standards] (SCNo64): Likewise.
57452 [C99-based-standards] (SCNu64): Likewise.
57453 [C99-based-standards] (SCNx64): Likewise.
57454 [C99-based-standards] (PRIdLEAST64): Likewise.
57455 [C99-based-standards] (PRIiLEAST64): Likewise.
57456 [C99-based-standards] (PRIoLEAST64): Likewise.
57457 [C99-based-standards] (PRIuLEAST64): Likewise.
57458 [C99-based-standards] (PRIxLEAST64): Likewise.
57459 [C99-based-standards] (PRIXLEAST64): Likewise.
57460 [C99-based-standards] (SCNdLEAST64): Likewise.
57461 [C99-based-standards] (SCNiLEAST64): Likewise.
57462 [C99-based-standards] (SCNoLEAST64): Likewise.
57463 [C99-based-standards] (SCNuLEAST64): Likewise.
57464 [C99-based-standards] (SCNxLEAST64): Likewise.
57465 [C99-based-standards] (PRIdFAST64): Likewise.
57466 [C99-based-standards] (PRIiFAST64): Likewise.
57467 [C99-based-standards] (PRIoFAST64): Likewise.
57468 [C99-based-standards] (PRIuFAST64): Likewise.
57469 [C99-based-standards] (PRIxFAST64): Likewise.
57470 [C99-based-standards] (PRIXFAST64): Likewise.
57471 [C99-based-standards] (SCNdFAST64): Likewise.
57472 [C99-based-standards] (SCNiFAST64): Likewise.
57473 [C99-based-standards] (SCNoFAST64): Likewise.
57474 [C99-based-standards] (SCNuFAST64): Likewise.
57475 [C99-based-standards] (SCNxFAST64): Likewise.
57476 [C99-based-standards] (PRIdMAX): Likewise.
57477 [C99-based-standards] (PRIiMAX): Likewise.
57478 [C99-based-standards] (PRIoMAX): Likewise.
57479 [C99-based-standards] (PRIuMAX): Likewise.
57480 [C99-based-standards] (PRIxMAX): Likewise.
57481 [C99-based-standards] (PRIXMAX): Likewise.
57482 [C99-based-standards] (SCNdMAX): Likewise.
57483 [C99-based-standards] (SCNiMAX): Likewise.
57484 [C99-based-standards] (SCNoMAX): Likewise.
57485 [C99-based-standards] (SCNuMAX): Likewise.
57486 [C99-based-standards] (SCNxMAX): Likewise.
57487 [C99-based-standards] (PRIdPTR): Likewise.
57488 [C99-based-standards] (PRIiPTR): Likewise.
57489 [C99-based-standards] (PRIoPTR): Likewise.
57490 [C99-based-standards] (PRIuPTR): Likewise.
57491 [C99-based-standards] (PRIxPTR): Likewise.
57492 [C99-based-standards] (PRIXPTR): Likewise.
57493 [C99-based-standards] (SCNdPTR): Likewise.
57494 [C99-based-standards] (SCNiPTR): Likewise.
57495 [C99-based-standards] (SCNoPTR): Likewise.
57496 [C99-based-standards] (SCNuPTR): Likewise.
57497 [C99-based-standards] (SCNxPTR): Likewise.
57498 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57499 allow.
57500 * conform/data/stdint.h-data: Update comments to clarify
57501 requirements.
57502 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
57503 type.
57504 [C99-based standards] (INT8_MAX): Likewise.
57505 [C99-based standards] (INT16_MIN): Likewise.
57506 [C99-based standards] (INT16_MAX): Likewise.
57507 [C99-based standards] (INT32_MIN): Likewise.
57508 [C99-based standards] (INT32_MAX): Likewise.
57509 [C99-based standards] (INT64_MIN): Likewise.
57510 [C99-based standards] (INT64_MAX): Likewise.
57511 [C99-based standards] (UINT8_MAX): Likewise.
57512 [C99-based standards] (UINT16_MAX): Likewise.
57513 [C99-based standards] (UINT32_MAX): Likewise.
57514 [C99-based standards] (UINT64_MAX): Likewise.
57515 [C99-based standards] (INT_LEAST8_MIN): Likewise.
57516 [C99-based standards] (INT_LEAST8_MAX): Likewise.
57517 [C99-based standards] (INT_LEAST16_MIN): Likewise.
57518 [C99-based standards] (INT_LEAST16_MAX): Likewise.
57519 [C99-based standards] (INT_LEAST32_MIN): Likewise.
57520 [C99-based standards] (INT_LEAST32_MAX): Likewise.
57521 [C99-based standards] (INT_LEAST64_MIN): Likewise.
57522 [C99-based standards] (INT_LEAST64_MAX): Likewise.
57523 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57524 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57525 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57526 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57527 [C99-based standards] (INT_FAST8_MIN): Likewise.
57528 [C99-based standards] (INT_FAST8_MAX): Likewise.
57529 [C99-based standards] (INT_FAST16_MIN): Likewise.
57530 [C99-based standards] (INT_FAST16_MAX): Likewise.
57531 [C99-based standards] (INT_FAST32_MIN): Likewise.
57532 [C99-based standards] (INT_FAST32_MAX): Likewise.
57533 [C99-based standards] (INT_FAST64_MIN): Likewise.
57534 [C99-based standards] (INT_FAST64_MAX): Likewise.
57535 [C99-based standards] (UINT_FAST8_MAX): Likewise.
57536 [C99-based standards] (UINT_FAST16_MAX): Likewise.
57537 [C99-based standards] (UINT_FAST32_MAX): Likewise.
57538 [C99-based standards] (UINT_FAST64_MAX): Likewise.
57539 [C99-based standards] (INTPTR_MIN): Likewise.
57540 [C99-based standards] (INTPTR_MAX): Likewise.
57541 [C99-based standards] (UINTPTR_MAX): Likewise.
57542 [C99-based standards] (INTMAX_MIN): Likewise.
57543 [C99-based standards] (INTMAX_MAX): Likewise.
57544 [C99-based standards] (UINTMAX_MAX): Likewise.
57545 [C99-based standards] (PTRDIFF_MIN): Likewise.
57546 [C99-based standards] (PTRDIFF_MAX): Likewise.
57547 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57548 [C99-based standards] (SIZE_MAX): Likewise.
57549 [C99-based standards] (WCHAR_MAX): Likewise.
57550 [C99-based standards] (WINT_MAX): Likewise.
57551 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
57552 constraint on value.
57553 [C99-based standards] (WCHAR_MIN): Likewise.
57554 [C99-based standards] (WINT_MIN): Likewise.
57555 [C99-based standards] (*_t): Allow.
57556 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57557 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57558 Include math.h-data and complex.h-data. Remove all expectations
57559 of math.h and complex.h contents.
57560 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57561 at end of line.
57562 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57563 (struct tm): Expect tag.
57564 [C99-based-standards] (wcstof): Expect function.
57565 [C99-based-standards] (wcstold): Likewise.
57566 [C99-based-standards] (wcstoll): Likewise.
57567 [C99-based-standards] (wcstoull): Likewise.
57568 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57569 macro-int-constant. Specify type.
57570 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
57571 constraint on value.
57572 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57573 Specify type.
57574 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57575 Specify value.
57576 [ISO C standards]: Do not allow headers.
57577 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57578 wcs[abcdefghijklmnopqrstuvwxyz]*.
57579 [ISO C standards] (*_t): Do not allow.
57580 * conform/data/wctype.h-data [C99-based standards] (iswblank):
57581 Expect function.
57582 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57583 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57584 Specify type.
57585 [ISO C standards]: Do not allow headers.
57586 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57587 is[abcdefghijklmnopqrstuvwxyz]*.
57588 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57589 to[abcdefghijklmnopqrstuvwxyz]*.
57590 [ISO C standards] (*_t): Do not allow.
57591 * conform/data/stdalign.h-data: New file.
57592 * conform/data/stdbool.h-data: Likewise.
57593 * conform/data/stdnoreturn.h-data: Likewise.
57594
57595 2012-11-07 Roland McGrath <roland@hack.frob.com>
57596
57597 [BZ #14815]
57598 * manual/filesys.texi (Directory Entries): Typo fix.
57599 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57600
57601 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57602
57603 * elf/elf.h (EM_AARCH64): New macro.
57604 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57605 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57606 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57607 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57608 (R_AARCH64_TLSDESC): Likewise.
57609 (NT_ARM_TLS): Likewise.
57610 (NT_ARM_HW_BREAK): Likewise.
57611 (NT_ARM_HW_WATCH): Likewise.
57612
57613 2012-11-07 Joseph Myers <joseph@codesourcery.com>
57614
57615 [BZ #14811]
57616 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57617 (__ieee754_powl): Saturate nonzero exponents with absolute value
57618 below 0x1p-79 to +/- 0x1p-79.
57619 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57620 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57621 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57622 nonzero exponents with absolute value below 0x1p-32 to +/-
57623 0x1p-32.
57624 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57625 (__ieee754_powl): Saturate nonzero exponents with absolute value
57626 below 0x1p-79 to +/- 0x1p-79.
57627 * math/libm-test.inc (pow_test): Add more tests.
57628
57629 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57630
57631 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57632 _dl_s390_cap_flags with kernel. Increase string length.
57633 (_dl_s390_platforms): Add z196 and zEC12.
57634
57635 2012-11-07 Joseph Myers <joseph@codesourcery.com>
57636
57637 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57638 Change XOPEN21K to XOPEN2K.
57639
57640 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
57641
57642 * string/memmove.c: Use memcpy when possible.
57643
57644 2012-11-06 Andreas Jaeger <aj@suse.de>
57645
57646 * po/eo.po: Update from translation team.
57647
57648 2012-11-06 Joseph Myers <joseph@codesourcery.com>
57649
57650 [BZ #14793]
57651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57652 exponent and small x and y exponents, scale x or y up. Increase
57653 by 2 the exponent used in scaling up.
57654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57655 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57656 * math/libm-test.inc (fma_test): Add more tests.
57657 (fma_test_towardzero): Likewise.
57658 (fma_test_downward): Likewise.
57659 (fma_test_upward): Likewise.
57660
57661 2012-11-05 Joseph Myers <joseph@codesourcery.com>
57662
57663 [BZ #14805]
57664 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57665 fenv_t *.
57666
57667 [BZ #14801]
57668 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57669 namespace for names of struct fields.
57670 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57671 fenv_t fields.
57672 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57673 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57674
57675 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
57676
57677 [BZ #3665]
57678 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57679
57680 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
57681
57682 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57683 PTR_DEMANGLE.
57684
57685 [BZ #5246]
57686 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57687 PTR_DEMANGLE.
57688
57689 2012-11-04 Joseph Myers <joseph@codesourcery.com>
57690
57691 [BZ #14797]
57692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57693 definitely overflow as x * y not x * y + z.
57694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57695 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57696 * math/libm-test.inc (fma_test): Add more tests.
57697 (fma_test_towardzero): Likewise.
57698 (fma_test_downward): Likewise.
57699 (fma_test_upward): Likewise.
57700
57701 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
57702
57703 [BZ #157]
57704
57705 * include/stub-tag.h: Remove file.
57706 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57707 '#include' of it.
57708 * manual/maint.texi (Porting): Don't reference it.
57709 * Makerules ($(objpfx)stubs): Likewise.
57710 * dirent/closedir.c: Don't include <stub-tag.h>.
57711 * dirent/dirfd.c: Likewise.
57712 * dirent/fdopendir.c: Likewise.
57713 * dirent/getdents.c: Likewise.
57714 * dirent/getdents64.c: Likewise.
57715 * dirent/opendir.c: Likewise.
57716 * dirent/readdir.c: Likewise.
57717 * dirent/readdir64.c: Likewise.
57718 * dirent/readdir64_r.c: Likewise.
57719 * dirent/readdir_r.c: Likewise.
57720 * dirent/rewinddir.c: Likewise.
57721 * dirent/seekdir.c: Likewise.
57722 * dirent/telldir.c: Likewise.
57723 * gmon/profil.c: Likewise.
57724 * grp/setgroups.c: Likewise.
57725 * inet/if_index.c: Likewise.
57726 * io/access.c: Likewise.
57727 * io/chdir.c: Likewise.
57728 * io/chmod.c: Likewise.
57729 * io/chown.c: Likewise.
57730 * io/close.c: Likewise.
57731 * io/dup.c: Likewise.
57732 * io/dup2.c: Likewise.
57733 * io/dup3.c: Likewise.
57734 * io/euidaccess.c: Likewise.
57735 * io/faccessat.c: Likewise.
57736 * io/fchdir.c: Likewise.
57737 * io/fchmod.c: Likewise.
57738 * io/fchmodat.c: Likewise.
57739 * io/fchown.c: Likewise.
57740 * io/fchownat.c: Likewise.
57741 * io/fcntl.c: Likewise.
57742 * io/flock.c: Likewise.
57743 * io/fstatfs.c: Likewise.
57744 * io/fstatfs64.c: Likewise.
57745 * io/fstatvfs.c: Likewise.
57746 * io/fstatvfs64.c: Likewise.
57747 * io/futimens.c: Likewise.
57748 * io/fxstat.c: Likewise.
57749 * io/fxstat64.c: Likewise.
57750 * io/fxstatat.c: Likewise.
57751 * io/fxstatat64.c: Likewise.
57752 * io/getcwd.c: Likewise.
57753 * io/isatty.c: Likewise.
57754 * io/lchmod.c: Likewise.
57755 * io/lchown.c: Likewise.
57756 * io/link.c: Likewise.
57757 * io/linkat.c: Likewise.
57758 * io/lseek.c: Likewise.
57759 * io/lseek64.c: Likewise.
57760 * io/lxstat64.c: Likewise.
57761 * io/mkdir.c: Likewise.
57762 * io/mkdirat.c: Likewise.
57763 * io/mkfifo.c: Likewise.
57764 * io/mkfifoat.c: Likewise.
57765 * io/open.c: Likewise.
57766 * io/open64.c: Likewise.
57767 * io/openat.c: Likewise.
57768 * io/openat64.c: Likewise.
57769 * io/pipe.c: Likewise.
57770 * io/pipe2.c: Likewise.
57771 * io/poll.c: Likewise.
57772 * io/posix_fadvise.c: Likewise.
57773 * io/posix_fadvise64.c: Likewise.
57774 * io/posix_fallocate.c: Likewise.
57775 * io/posix_fallocate64.c: Likewise.
57776 * io/read.c: Likewise.
57777 * io/readlink.c: Likewise.
57778 * io/readlinkat.c: Likewise.
57779 * io/rmdir.c: Likewise.
57780 * io/sendfile.c: Likewise.
57781 * io/sendfile64.c: Likewise.
57782 * io/statfs.c: Likewise.
57783 * io/statfs64.c: Likewise.
57784 * io/statvfs.c: Likewise.
57785 * io/statvfs64.c: Likewise.
57786 * io/symlink.c: Likewise.
57787 * io/symlinkat.c: Likewise.
57788 * io/ttyname.c: Likewise.
57789 * io/ttyname_r.c: Likewise.
57790 * io/umask.c: Likewise.
57791 * io/unlink.c: Likewise.
57792 * io/unlinkat.c: Likewise.
57793 * io/utime.c: Likewise.
57794 * io/utimensat.c: Likewise.
57795 * io/write.c: Likewise.
57796 * io/xmknod.c: Likewise.
57797 * io/xmknodat.c: Likewise.
57798 * io/xstat.c: Likewise.
57799 * io/xstat64.c: Likewise.
57800 * login/getpt.c: Likewise.
57801 * login/grantpt.c: Likewise.
57802 * login/unlockpt.c: Likewise.
57803 * math/e_acoshl.c: Likewise.
57804 * math/e_acosl.c: Likewise.
57805 * math/e_asinl.c: Likewise.
57806 * math/e_atan2l.c: Likewise.
57807 * math/e_atanhl.c: Likewise.
57808 * math/e_coshl.c: Likewise.
57809 * math/e_expl.c: Likewise.
57810 * math/e_fmodl.c: Likewise.
57811 * math/e_gammal_r.c: Likewise.
57812 * math/e_hypotl.c: Likewise.
57813 * math/e_j0l.c: Likewise.
57814 * math/e_j1l.c: Likewise.
57815 * math/e_jnl.c: Likewise.
57816 * math/e_lgammal_r.c: Likewise.
57817 * math/e_log10l.c: Likewise.
57818 * math/e_log2l.c: Likewise.
57819 * math/e_logl.c: Likewise.
57820 * math/e_powl.c: Likewise.
57821 * math/e_rem_pio2l.c: Likewise.
57822 * math/e_sinhl.c: Likewise.
57823 * math/e_sqrtl.c: Likewise.
57824 * math/fclrexcpt.c: Likewise.
57825 * math/fedisblxcpt.c: Likewise.
57826 * math/feenablxcpt.c: Likewise.
57827 * math/fegetenv.c: Likewise.
57828 * math/fegetexcept.c: Likewise.
57829 * math/fegetround.c: Likewise.
57830 * math/feholdexcpt.c: Likewise.
57831 * math/fesetenv.c: Likewise.
57832 * math/fesetround.c: Likewise.
57833 * math/feupdateenv.c: Likewise.
57834 * math/fgetexcptflg.c: Likewise.
57835 * math/fraiseexcpt.c: Likewise.
57836 * math/fsetexcptflg.c: Likewise.
57837 * math/ftestexcept.c: Likewise.
57838 * math/k_cosl.c: Likewise.
57839 * math/k_rem_pio2l.c: Likewise.
57840 * math/k_sinl.c: Likewise.
57841 * math/k_tanl.c: Likewise.
57842 * math/s_asinhl.c: Likewise.
57843 * math/s_atanl.c: Likewise.
57844 * math/s_cbrtl.c: Likewise.
57845 * math/s_erfl.c: Likewise.
57846 * math/s_expm1l.c: Likewise.
57847 * math/s_log1pl.c: Likewise.
57848 * math/s_tanhl.c: Likewise.
57849 * misc/acct.c: Likewise.
57850 * misc/brk.c: Likewise.
57851 * misc/chflags.c: Likewise.
57852 * misc/chroot.c: Likewise.
57853 * misc/fchflags.c: Likewise.
57854 * misc/fgetxattr.c: Likewise.
57855 * misc/flistxattr.c: Likewise.
57856 * misc/fremovexattr.c: Likewise.
57857 * misc/fsetxattr.c: Likewise.
57858 * misc/fsync.c: Likewise.
57859 * misc/ftruncate.c: Likewise.
57860 * misc/futimes.c: Likewise.
57861 * misc/futimesat.c: Likewise.
57862 * misc/getdomain.c: Likewise.
57863 * misc/getdtsz.c: Likewise.
57864 * misc/gethostid.c: Likewise.
57865 * misc/gethostname.c: Likewise.
57866 * misc/getloadavg.c: Likewise.
57867 * misc/getpagesize.c: Likewise.
57868 * misc/getsysstats.c: Likewise.
57869 * misc/getxattr.c: Likewise.
57870 * misc/gtty.c: Likewise.
57871 * misc/ioctl.c: Likewise.
57872 * misc/lgetxattr.c: Likewise.
57873 * misc/listxattr.c: Likewise.
57874 * misc/llistxattr.c: Likewise.
57875 * misc/lremovexattr.c: Likewise.
57876 * misc/lsetxattr.c: Likewise.
57877 * misc/lutimes.c: Likewise.
57878 * misc/madvise.c: Likewise.
57879 * misc/mincore.c: Likewise.
57880 * misc/mlock.c: Likewise.
57881 * misc/mlockall.c: Likewise.
57882 * misc/mmap.c: Likewise.
57883 * misc/mprotect.c: Likewise.
57884 * misc/msync.c: Likewise.
57885 * misc/munlock.c: Likewise.
57886 * misc/munlockall.c: Likewise.
57887 * misc/munmap.c: Likewise.
57888 * misc/preadv.c: Likewise.
57889 * misc/preadv64.c: Likewise.
57890 * misc/ptrace.c: Likewise.
57891 * misc/pwritev.c: Likewise.
57892 * misc/pwritev64.c: Likewise.
57893 * misc/readv.c: Likewise.
57894 * misc/reboot.c: Likewise.
57895 * misc/remap_file_pages.c: Likewise.
57896 * misc/removexattr.c: Likewise.
57897 * misc/revoke.c: Likewise.
57898 * misc/select.c: Likewise.
57899 * misc/setdomain.c: Likewise.
57900 * misc/setegid.c: Likewise.
57901 * misc/seteuid.c: Likewise.
57902 * misc/sethostid.c: Likewise.
57903 * misc/sethostname.c: Likewise.
57904 * misc/setregid.c: Likewise.
57905 * misc/setreuid.c: Likewise.
57906 * misc/setxattr.c: Likewise.
57907 * misc/sstk.c: Likewise.
57908 * misc/stty.c: Likewise.
57909 * misc/swapoff.c: Likewise.
57910 * misc/swapon.c: Likewise.
57911 * misc/sync.c: Likewise.
57912 * misc/syncfs.c: Likewise.
57913 * misc/syscall.c: Likewise.
57914 * misc/truncate.c: Likewise.
57915 * misc/ualarm.c: Likewise.
57916 * misc/usleep.c: Likewise.
57917 * misc/ustat.c: Likewise.
57918 * misc/utimes.c: Likewise.
57919 * misc/vhangup.c: Likewise.
57920 * misc/writev.c: Likewise.
57921 * posix/_exit.c: Likewise.
57922 * posix/alarm.c: Likewise.
57923 * posix/execve.c: Likewise.
57924 * posix/fexecve.c: Likewise.
57925 * posix/fork.c: Likewise.
57926 * posix/fpathconf.c: Likewise.
57927 * posix/getaddrinfo.c: Likewise.
57928 * posix/getegid.c: Likewise.
57929 * posix/geteuid.c: Likewise.
57930 * posix/getgid.c: Likewise.
57931 * posix/getgroups.c: Likewise.
57932 * posix/getlogin.c: Likewise.
57933 * posix/getlogin_r.c: Likewise.
57934 * posix/getpgid.c: Likewise.
57935 * posix/getpid.c: Likewise.
57936 * posix/getppid.c: Likewise.
57937 * posix/getresgid.c: Likewise.
57938 * posix/getresuid.c: Likewise.
57939 * posix/getsid.c: Likewise.
57940 * posix/getuid.c: Likewise.
57941 * posix/glob64.c: Likewise.
57942 * posix/nanosleep.c: Likewise.
57943 * posix/pathconf.c: Likewise.
57944 * posix/pause.c: Likewise.
57945 * posix/posix_madvise.c: Likewise.
57946 * posix/pread.c: Likewise.
57947 * posix/pread64.c: Likewise.
57948 * posix/pwrite.c: Likewise.
57949 * posix/pwrite64.c: Likewise.
57950 * posix/sched_getaffinity.c: Likewise.
57951 * posix/sched_getp.c: Likewise.
57952 * posix/sched_gets.c: Likewise.
57953 * posix/sched_primax.c: Likewise.
57954 * posix/sched_primin.c: Likewise.
57955 * posix/sched_rr_gi.c: Likewise.
57956 * posix/sched_setaffinity.c: Likewise.
57957 * posix/sched_setp.c: Likewise.
57958 * posix/sched_sets.c: Likewise.
57959 * posix/sched_yield.c: Likewise.
57960 * posix/setgid.c: Likewise.
57961 * posix/setlogin.c: Likewise.
57962 * posix/setpgid.c: Likewise.
57963 * posix/setresgid.c: Likewise.
57964 * posix/setresuid.c: Likewise.
57965 * posix/setsid.c: Likewise.
57966 * posix/setuid.c: Likewise.
57967 * posix/sleep.c: Likewise.
57968 * posix/spawni.c: Likewise.
57969 * posix/sysconf.c: Likewise.
57970 * posix/times.c: Likewise.
57971 * posix/wait.c: Likewise.
57972 * posix/wait3.c: Likewise.
57973 * posix/wait4.c: Likewise.
57974 * posix/waitpid.c: Likewise.
57975 * resolv/gai_sigqueue.c: Likewise.
57976 * resource/getpriority.c: Likewise.
57977 * resource/getrlimit.c: Likewise.
57978 * resource/getrusage.c: Likewise.
57979 * resource/nice.c: Likewise.
57980 * resource/setpriority.c: Likewise.
57981 * resource/setrlimit.c: Likewise.
57982 * resource/ulimit.c: Likewise.
57983 * rt/aio_cancel.c: Likewise.
57984 * rt/aio_fsync.c: Likewise.
57985 * rt/aio_read.c: Likewise.
57986 * rt/aio_sigqueue.c: Likewise.
57987 * rt/aio_suspend.c: Likewise.
57988 * rt/aio_write.c: Likewise.
57989 * rt/clock_getres.c: Likewise.
57990 * rt/clock_gettime.c: Likewise.
57991 * rt/clock_nanosleep.c: Likewise.
57992 * rt/clock_settime.c: Likewise.
57993 * rt/lio_listio.c: Likewise.
57994 * rt/mq_close.c: Likewise.
57995 * rt/mq_getattr.c: Likewise.
57996 * rt/mq_notify.c: Likewise.
57997 * rt/mq_open.c: Likewise.
57998 * rt/mq_receive.c: Likewise.
57999 * rt/mq_send.c: Likewise.
58000 * rt/mq_setattr.c: Likewise.
58001 * rt/mq_timedreceive.c: Likewise.
58002 * rt/mq_timedsend.c: Likewise.
58003 * rt/mq_unlink.c: Likewise.
58004 * rt/shm_open.c: Likewise.
58005 * rt/shm_unlink.c: Likewise.
58006 * rt/timer_create.c: Likewise.
58007 * rt/timer_delete.c: Likewise.
58008 * rt/timer_getoverr.c: Likewise.
58009 * rt/timer_gettime.c: Likewise.
58010 * rt/timer_settime.c: Likewise.
58011 * setjmp/__longjmp.c: Likewise.
58012 * setjmp/setjmp.c: Likewise.
58013 * signal/kill.c: Likewise.
58014 * signal/killpg.c: Likewise.
58015 * signal/raise.c: Likewise.
58016 * signal/sigaction.c: Likewise.
58017 * signal/sigaltstack.c: Likewise.
58018 * signal/sigblock.c: Likewise.
58019 * signal/sigignore.c: Likewise.
58020 * signal/sigintr.c: Likewise.
58021 * signal/signal.c: Likewise.
58022 * signal/sigpause.c: Likewise.
58023 * signal/sigpending.c: Likewise.
58024 * signal/sigqueue.c: Likewise.
58025 * signal/sigreturn.c: Likewise.
58026 * signal/sigset.c: Likewise.
58027 * signal/sigsetmask.c: Likewise.
58028 * signal/sigstack.c: Likewise.
58029 * signal/sigsuspend.c: Likewise.
58030 * signal/sigtimedwait.c: Likewise.
58031 * signal/sigvec.c: Likewise.
58032 * signal/sigwait.c: Likewise.
58033 * signal/sigwaitinfo.c: Likewise.
58034 * signal/sysv_signal.c: Likewise.
58035 * socket/accept.c: Likewise.
58036 * socket/accept4.c: Likewise.
58037 * socket/bind.c: Likewise.
58038 * socket/connect.c: Likewise.
58039 * socket/getpeername.c: Likewise.
58040 * socket/getsockname.c: Likewise.
58041 * socket/getsockopt.c: Likewise.
58042 * socket/isfdtype.c: Likewise.
58043 * socket/listen.c: Likewise.
58044 * socket/recv.c: Likewise.
58045 * socket/recvfrom.c: Likewise.
58046 * socket/recvmsg.c: Likewise.
58047 * socket/send.c: Likewise.
58048 * socket/sendmsg.c: Likewise.
58049 * socket/sendto.c: Likewise.
58050 * socket/setsockopt.c: Likewise.
58051 * socket/shutdown.c: Likewise.
58052 * socket/sockatmark.c: Likewise.
58053 * socket/socket.c: Likewise.
58054 * socket/socketpair.c: Likewise.
58055 * stdio-common/ctermid.c: Likewise.
58056 * stdio-common/cuserid.c: Likewise.
58057 * stdio-common/remove.c: Likewise.
58058 * stdio-common/rename.c: Likewise.
58059 * stdio-common/renameat.c: Likewise.
58060 * stdio-common/tempname.c: Likewise.
58061 * stdlib/getcontext.c: Likewise.
58062 * stdlib/makecontext.c: Likewise.
58063 * stdlib/setcontext.c: Likewise.
58064 * stdlib/swapcontext.c: Likewise.
58065 * stdlib/system.c: Likewise.
58066 * streams/fattach.c: Likewise.
58067 * streams/fdetach.c: Likewise.
58068 * streams/getmsg.c: Likewise.
58069 * streams/getpmsg.c: Likewise.
58070 * streams/putmsg.c: Likewise.
58071 * streams/putpmsg.c: Likewise.
58072 * sysdeps/unix/bsd/getpt.c: Likewise.
58073 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58074 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58075 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58077 Likewise.
58078 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58079 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58080 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58081 * sysvipc/msgctl.c: Likewise.
58082 * sysvipc/msgget.c: Likewise.
58083 * sysvipc/msgrcv.c: Likewise.
58084 * sysvipc/msgsnd.c: Likewise.
58085 * sysvipc/semctl.c: Likewise.
58086 * sysvipc/semget.c: Likewise.
58087 * sysvipc/semop.c: Likewise.
58088 * sysvipc/semtimedop.c: Likewise.
58089 * sysvipc/shmat.c: Likewise.
58090 * sysvipc/shmctl.c: Likewise.
58091 * sysvipc/shmdt.c: Likewise.
58092 * sysvipc/shmget.c: Likewise.
58093 * termios/tcdrain.c: Likewise.
58094 * termios/tcflow.c: Likewise.
58095 * termios/tcflush.c: Likewise.
58096 * termios/tcgetattr.c: Likewise.
58097 * termios/tcgetpgrp.c: Likewise.
58098 * termios/tcsendbrk.c: Likewise.
58099 * termios/tcsetattr.c: Likewise.
58100 * termios/tcsetpgrp.c: Likewise.
58101 * time/adjtime.c: Likewise.
58102 * time/clock.c: Likewise.
58103 * time/getitimer.c: Likewise.
58104 * time/gettimeofday.c: Likewise.
58105 * time/setitimer.c: Likewise.
58106 * time/settimeofday.c: Likewise.
58107 * time/stime.c: Likewise.
58108 * time/time.c: Likewise.
58109
58110 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
58111
58112 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58113 /usr/old/bin.
58114
58115 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58116 instead of spaces.
58117 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58118
58119 2012-11-03 Joseph Myers <joseph@codesourcery.com>
58120
58121 [BZ #14796]
58122 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58123 FE_TONEAREST before applying Dekker multiplication and Knuth
58124 addition. Clear inexact exceptions and check for exact zero
58125 results afterwards.
58126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58127 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58128 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58129 * math/libm-test.inc (fma_test): Add more tests.
58130 (fma_test_towardzero): Likewise.
58131 (fma_test_downward): Likewise.
58132 (fma_test_upward): Likewise.
58133 * sysdeps/generic/math_private.h (default_libc_fesetround): New
58134 function.
58135 (libc_fesetround): New macro.
58136 (libc_fesetroundf): Likewise.
58137 (libc_fesetroundl): Likewise.
58138 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58139 function.
58140 (libc_fesetround_387): Likewise.
58141 (libc_fesetroundf): New macro.
58142 (libc_fesetround): Likewise.
58143 (libc_fesetroundl): Likewise.
58144 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58145 function.
58146 (libc_fesetroundf): New macro.
58147 (libc_fesetround): Likewise.
58148 (libc_fesetroundl): Likewise.
58149 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58150 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58151 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58152 libm_hidden_ver.
58153 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58154 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58155 libm_hidden_def.
58156 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58157 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58158 libm_hidden_ver.
58159 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58160 libm_hidden_def.
58161
58162 [BZ #3439]
58163 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58164 integer constant usable in #if and use that to give value to enum
58165 constant.
58166 (FE_DIVBYZERO): Likewise.
58167 (FE_UNDERFLOW): Likewise.
58168 (FE_OVERFLOW): Likewise.
58169 (FE_INVALID): Likewise.
58170 (FE_INVALID_SNAN): Likewise.
58171 (FE_INVALID_ISI): Likewise.
58172 (FE_INVALID_IDI): Likewise.
58173 (FE_INVALID_ZDZ): Likewise.
58174 (FE_INVALID_IMZ): Likewise.
58175 (FE_INVALID_COMPARE): Likewise.
58176 (FE_INVALID_SOFTWARE): Likewise.
58177 (FE_INVALID_SQRT): Likewise.
58178 (FE_INVALID_INTEGER_CONVERSION): Likewise.
58179 (FE_TONEAREST): Likewise.
58180 (FE_TOWARDZERO): Likewise.
58181 (FE_UPWARD): Likewise.
58182 (FE_DOWNWARD): Likewise.
58183 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58184 (FE_DIVBYZERO): Likewise.
58185 (FE_OVERFLOW): Likewise.
58186 (FE_UNDERFLOW): Likewise.
58187 (FE_INEXACT): Likewise.
58188 (FE_TONEAREST): Likewise.
58189 (FE_DOWNWARD): Likewise.
58190 (FE_UPWARD): Likewise.
58191 (FE_TOWARDZERO): Likewise.
58192 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58193 (FE_UNDERFLOW): Likewise.
58194 (FE_OVERFLOW): Likewise.
58195 (FE_DIVBYZERO): Likewise.
58196 (FE_INVALID): Likewise.
58197 (FE_TONEAREST): Likewise.
58198 (FE_TOWARDZERO): Likewise.
58199 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58200 (FE_OVERFLOW): Likewise.
58201 (FE_UNDERFLOW): Likewise.
58202 (FE_DIVBYZERO): Likewise.
58203 (FE_INEXACT): Likewise.
58204 (FE_TONEAREST): Likewise.
58205 (FE_TOWARDZERO): Likewise.
58206 (FE_UPWARD): Likewise.
58207 (FE_DOWNWARD): Likewise.
58208 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58209 (FE_DIVBYZERO): Likewise.
58210 (FE_OVERFLOW): Likewise.
58211 (FE_UNDERFLOW): Likewise.
58212 (FE_INEXACT): Likewise.
58213 (FE_TONEAREST): Likewise.
58214 (FE_DOWNWARD): Likewise.
58215 (FE_UPWARD): Likewise.
58216 (FE_TOWARDZERO): Likewise.
58217
58218 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
58219
58220 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58221
58222 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
58223
58224 * scripts/cross-test-ssh.sh (command): Use newlines to separate
58225 commands. Quote $PWD.
58226 (blacklist_exports): Don't use remove_newlines. Replace "declare
58227 -x" by "export".
58228 (remove_newlines): Remove.
58229
58230 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
58231
58232 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58233 * stdlib/stdlib.h (atof): Moved to ...
58234 * include/bits/stdlib-float.h: Here. New file.
58235 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58236 * stdlib/bits/stdlib-float.h: New file.
58237 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58238 -mno-sse -mno-mmx.
58239 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58240 <xmmintrin.h>.
58241
58242 2012-11-02 Joseph Myers <joseph@codesourcery.com>
58243
58244 * conform/conformtest.pl (@headers): Add fenv.h.
58245 * conform/data/fenv.h-data: New file.
58246 * include/fenv.h [_ISOMAC]: Disable all contents of file except
58247 include of <math/fenv.h>.
58248
58249 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58250 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58251 && !UNIX98]. Enables tests for XOPEN2K8.
58252 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58253 POSIX2008]: Likewise.
58254
58255 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58256 (struct rusage): Do not expect type or its members.
58257
58258 [BZ #3439]
58259 * math/math.h (FP_NAN): Define macro to integer constant usable in
58260 #if and use that to give value to enum constant.
58261 (FP_INFINITE): Likewise.
58262 (FP_ZERO): Likewise.
58263 (FP_SUBNORMAL): Likewise.
58264 (FP_NORMAL): Likewise.
58265
58266 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
58267
58268 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58269 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58270 arguments.
58271
58272 2012-11-02 Roland McGrath <roland@hack.frob.com>
58273
58274 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58275 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58276 autoconf-time if not.
58277 * configure.in: Remove AC_PREREQ.
58278
58279 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58280
58281 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58282 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58283 of the internal implementation.
58284
58285 2012-11-02 Joseph Myers <joseph@codesourcery.com>
58286
58287 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58288 except include of <misc/sys/syslog.h>.
58289
58290 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
58291
58292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58293 function returns with a NULL context exit with zero.
58294
58295 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58296
58297 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58298
58299 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
58300
58301 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58302 (run_program_cmd): This.
58303 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58304 (tst_langinfo): New variable. Use it.
58305
58306 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
58307
58308 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58309 floating point opcodes.
58310
58311 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
58312
58313 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58314 variable.
58315
58316 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58317
58318 * sysdeps/mach/hurd/powerpc: Remove directory.
58319 * sysdeps/mach/powerpc: Likewise.
58320
58321 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
58322
58323 * scripts/check-local-headers.sh: Ignore c++ headers.
58324
58325 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
58326
58327 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58328 __libc_cleanup_region_start argument.
58329
58330 2012-11-01 Joseph Myers <joseph@codesourcery.com>
58331
58332 [BZ #14784]
58333 [BZ #14785]
58334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58335 x * y using scaling, not as x * y + z.
58336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58338 * math/libm-test.inc (fma_test): Add more tests.
58339 (fma_test_towardzero): Likewise.
58340 (fma_test_downward): Likewise.
58341 (fma_test_upward): Likewise.
58342
58343 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
58344
58345 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58346
58347 2012-10-31 Joseph Myers <joseph@codesourcery.com>
58348
58349 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58350 New variable.
58351
58352 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
58353
58354 * rt/tst-shm.c (worker): Correct checking for mmap failure.
58355
58356 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
58357
58358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58359 Fix sort order.
58360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58361 Likewise.
58362
58363 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58364
58365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58366 Fix the order of the list for glibc 2.17.
58367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58368 Likewise.
58369
58370 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
58371
58372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58373
58374 2012-10-31 Joseph Myers <joseph@codesourcery.com>
58375
58376 [BZ #14610]
58377 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58378 for low part of x being zero before using __atanl (y).
58379 * math/libm-test.inc (atan2_test): Add another test.
58380
58381 * manual/install.texi (Configuring and compiling): Document
58382 general use of test-wrapper and test-wrapper-env.
58383 * INSTALL: Regenerated.
58384
58385 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58386 (__fma): Do not extract and scale down low bits on after-rounding
58387 systems when result rounded to normal precision would have normal
58388 exponent.
58389 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58390 (__fmal): Do not extract and scale down low bits on after-rounding
58391 systems when result rounded to normal precision would have normal
58392 exponent.
58393 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58394 (__fmal): Do not extract and scale down low bits on after-rounding
58395 systems when result rounded to normal precision would have normal
58396 exponent.
58397 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58398 macro.
58399 (fma_test): Add more tests.
58400 (fma_test_towardzero): Likewise.
58401 (fma_test_downward): Likewise.
58402 (fma_test_upward): Likewise.
58403
58404 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
58405
58406 * sysdeps/i386/tininess.h: Renamed to ...
58407 * sysdeps/x86/tininess.h: This.
58408 * sysdeps/x86_64/tininess.h: Removed.
58409
58410 2012-10-30 Joseph Myers <joseph@codesourcery.com>
58411
58412 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58413 input. Use $(build-program-cmd).
58414 ($(objpfx)tst-array1-static.out): Likewise.
58415 ($(objpfx)tst-array2.out): Likewise.
58416 ($(objpfx)tst-array3.out): Likewise.
58417 ($(objpfx)tst-array4.out): Likewise.
58418 ($(objpfx)tst-array5.out): Likewise.
58419 ($(objpfx)tst-array5-static.out): Likewise.
58420
58421 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
58422
58423 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58424 if defined.
58425
58426 * nss/nsswitch.h (nss_interface_function): Provide new
58427 macro for use with NSS functions.
58428 * grp/initgroups.c: Use new macro.
58429 * nss/getXXbyYY.c: Likewise.
58430 * nss/getXXbyYY_r.c: Likewise.
58431 * nss/getXXent.c: Likewise.
58432 * nss/getXXent_r.c: Likewise.
58433 * sysdeps/posix/getaddrinfo.c: Likewise.
58434
58435 2012-10-30 Andreas Jaeger <aj@suse.de>
58436
58437 * po/ru.po: Update Russion translation from translation project.
58438
58439 2012-10-30 Joseph Myers <joseph@codesourcery.com>
58440
58441 [BZ #14152]
58442 [BZ #14783]
58443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58444 result and shift together with sticky bit instead of replicating
58445 round-to-nearest rounding.
58446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58448 * math/libm-test.inc (fma_test): Add more tests. Do not permit
58449 missing underflow exceptions.
58450 (fma_test_towardzero): Add more tests.
58451 (fma_test_downward): Likewise.
58452 (fma_test_upward): Likewise.
58453
58454 [BZ #14047]
58455 * sysdeps/generic/tininess.h: New file.
58456 * sysdeps/i386/tininess.h: Likewise.
58457 * sysdeps/sh/tininess.h: Likewise.
58458 * sysdeps/x86_64/tininess.h: Likewise.
58459 * stdlib/tst-strtod-underflow.c: Likewise.
58460 * stdlib/tst-tininess.c: Likewise.
58461 * stdlib/strtod_l.c: Include <tininess.h>.
58462 (round_and_return): Do not set errno for exact underflow cases.
58463 Force an underflow exception when setting errno for underflow.
58464 Determine underflow based on rounding to normal precision if
58465 TININESS_AFTER_ROUNDING.
58466 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58467 ERANGE for exact underflow cases.
58468 * stdlib/Makefile (tests): Add tst-tininess and
58469 tst-strtod-underflow.
58470 ($(objpfx)tst-tininess): Use $(link-libm).
58471 ($(objpfx)tst-strtod-underflow): Likewise.
58472
58473 2012-10-30 Andreas Jaeger <aj@suse.de>
58474
58475 [BZ#14767]
58476 * elf/Makefile (tests): Remove conditional for have-initfini-array
58477 since this is now always required and the variable does not exist
58478 anymore.
58479 (tests-static): Likewise.
58480 (modules-names): Likewise.
58481
58482 * po/eo.po: Add Esperanto translation from translation project.
58483
58484 * elf/tst-array1.c (fini_array): Make writeable so that it can be
58485 merged with constructor/destructor.
58486 (init_array): Likewise.
58487 * elf/tst-array2dep.c (fini_array): Likewise.
58488 (init_array): Likewise.
58489
58490 2012-10-29 Mike Frysinger <vapier@gentoo.org>
58491
58492 * manual/message.texi: Delete @cartouche tags.
58493
58494 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
58495
58496 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58497 EOPNOTSUPP.
58498 * sysdeps/mach/hurd/fsync.c: Likewise.
58499
58500 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58501 [_POSIX_REALTIME_SIGNALS]: Change condition to
58502 [_POSIX_REALTIME_SIGNALS > 0].
58503
58504 2012-10-27 Andreas Jaeger <aj@suse.de>
58505
58506 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58507 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58509 [__WORDSIZE != 64]: Likewise.
58510
58511 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
58512
58513 * iconvdata/tst-table.sh: Remove ${SHELL}.
58514 * iconvdata/tst-tables.sh: Likewise.
58515
58516 2012-10-25 David S. Miller <davem@davemloft.net>
58517
58518 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58519 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58520 of strtoull.
58521
58522 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58523 ifunc-impl-list.c
58524 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58525 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58526 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58527 file.
58528
58529 2012-10-25 Roland McGrath <roland@hack.frob.com>
58530
58531 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58532 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58533 __getdirentries.
58534
58535 2012-10-25 Joseph Myers <joseph@codesourcery.com>
58536 Jim Blandy <jimb@codesourcery.com>
58537
58538 * scripts/cross-test-ssh.sh: New file.
58539 * manual/install.texi (Configuring and compiling): Document use of
58540 cross-test-ssh.sh.
58541 * INSTALL: Regenerated.
58542
58543 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
58544
58545 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58546 EOPNOTSUPP.
58547
58548 2012-10-25 Joseph Myers <joseph@codesourcery.com>
58549
58550 * Makeconfig (run-program-prefix): Fix comment.
58551
58552 2012-10-24 Joseph Myers <joseph@codesourcery.com>
58553 Jim Blandy <jimb@codesourcery.com>
58554
58555 * Makeconfig (test-wrapper): New variable,
58556 (test-wrapper-env): Likewise.
58557 [$(cross-compiling) = yes && $(test-wrapper) != ""]
58558 (run-built-tests): Define to yes.
58559 (run-program-prefix): Use $(test-wrapper).
58560 (built-program-cmd): Likewise.
58561 * Rules (make-test-out): Use $(test-wrapper-env) and
58562 $(host-built-program-cmd).
58563 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58564 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58565 tst-pathopt.sh.
58566 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58567 $(test-wrapper-env) to tst-rtld-load-self.sh.
58568 ($(objpfx)order2.out): Use $(test-wrapper).
58569 ($(objpfx)tst-initorder.out): Likewise.
58570 ($(objpfx)tst-initorder2.out): Likewise.
58571 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58572 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58573 (test_wrapper_env): New variable. Use it to run ld.so.
58574 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58575 Use it to run ld.so.
58576 (test_wrapper_env): Likewise.
58577 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58578 $(test-wrapper) to run-iconv-test.sh.
58579 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58580 (ICONV): Use $test_wrapper.
58581 * posix/Makefile ($(objpfx)globtest.out): Pass
58582 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58583 globtest.sh, not $(run-program-prefix).
58584 * posix/globtest.sh (run_via_rtld_prefix): New variable.
58585 (test_wrapper): Likewise.
58586 (test_wrapper_env): Likewise. Use it to run globtest with HOME
58587 set together with run_via_rtld_prefix.
58588 (run_program_prefix): Define in terms of test_wrapper and
58589 run_via_rtld_prefix.
58590
58591 2012-10-24 Roland McGrath <roland@hack.frob.com>
58592
58593 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58594 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58595 Targets removed.
58596
58597 [BZ #14743]
58598 * include/time.h: Remove librt_hidden_proto (clock_gettime).
58599 Declare __clock_getres, __clock_gettime, __clock_settime,
58600 __clock_nanosleep, and __clock_getcpuclockid.
58601 * rt/clock_gettime.c: Define __clock_gettime as an alias.
58602 Remove librt_hidden_def (clock_gettime).
58603 * sysdeps/unix/clock_gettime.c: Likewise.
58604 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58605 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58606 * rt/clock_getres.c: Define __clock_getres as an alias.
58607 * sysdeps/posix/clock_getres.c: Likewise.
58608 * rt/clock_settime.c: Define __clock_settime as an alias.
58609 * sysdeps/unix/clock_settime.c: Likewise.
58610 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58611 * sysdeps/unix/clock_nanosleep.c: Likewise.
58612 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58613 * rt/clock-compat.c: New file.
58614 * rt/Makefile (librt-routines): Add clock-compat and move
58615 $(clock-routines) to ...
58616 (routines): ... here, new variable.
58617 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58618 Don't add get_clockfreq here.
58619 * rt/Versions (libc: GLIBC_2.17): New version set.
58620 Add clock_* symbols here.
58621 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
58622 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58623 (GLIBC_2.17): Add clock_* symbols.
58624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58626 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58628 Likewise.
58629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58630 Likewise.
58631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58635 * NEWS: Mention the move.
58636
58637 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58638 Use __open, __read, __close rather than their public counterparts.
58639 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58640 (__get_clockfreq_via_cpuinfo): Likewise.
58641 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58642 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58643
58644 * config.h.in (HAVE_IFUNC): New #undef.
58645 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58646 was successful.
58647 * configure: Regenerated.
58648
58649 2012-10-24 Mike Frysinger <vapier@gentoo.org>
58650
58651 * configure.in: Move READELF check to start of file.
58652 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58653 libc_cv_asm_gnu_indirect_function in the process.
58654 * configure: Regenerated.
58655
58656 2012-10-24 Mike Frysinger <vapier@gentoo.org>
58657
58658 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58659 send the output to /dev/null.
58660 (libc_cv_cc_with_libunwind): Likewise.
58661 (libc_cv_as_noexecstack): Likewise.
58662 * configure: Regenerate.
58663
58664 2012-10-24 Joseph Myers <joseph@codesourcery.com>
58665
58666 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58667
58668 * posix/globtest.sh (TMPDIR): Do not set.
58669 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58670 (testout): Likewise.
58671
58672 2012-10-24 Andreas Jaeger <aj@suse.de>
58673
58674 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58675 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58676 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58677 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58678 posix_fadvise64, posix_fallocate64.
58679
58680 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58681 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58682 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58683 Likewise.
58684 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58685 Likewise.
58686 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58687
58688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58689 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58690 <bits/fcntl-linux.h>.
58691 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58692
58693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58694 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58695 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58696 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58697 [__WORDSIZE != 64]: Likewise.
58698
58699 2012-10-23 Joseph Myers <joseph@codesourcery.com>
58700
58701 * Makeconfig (run-built-tests): New variable.
58702 * Rules [$(cross-compiling) = yes]: Change condition to
58703 [$(run-built-tests) = no].
58704 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58705 to [$(run-built-tests) = yes].
58706 * elf/Makefile [$(cross-compiling) = no]: Likewise.
58707 * grp/Makefile [$(cross-compiling) = no]: Likewise.
58708 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58709 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58710 * intl/Makefile [$(cross-compiling) = no]: Likewise.
58711 * io/Makefile [$(cross-compiling) = no]: Likewise.
58712 * libio/Makefile [$(cross-compiling) = no]: Likewise.
58713 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58714 * misc/Makefile [$(cross-compiling) = no]: Likewise.
58715 * posix/Makefile [$(cross-compiling) = no]: Likewise.
58716 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58717 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58718 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58719 * string/Makefile [$(cross-compiling) = no]: Likewise.
58720
58721 * posix/Makefile ($(objpfx)globtest.out): Pass
58722 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58723 $(rtld-installed-name).
58724 * posix/globtest.sh (elf_objpfx): Remove variable.
58725 (rtld_installed_name): Likewise.
58726 (library_path): Likewise.
58727 (run_program_prefix): New variable. Use for running globtest
58728 binary.
58729
58730 2012-10-23 Jim Blandy <jimb@codesourcery.com>
58731 Joseph Myers <joseph@codesourcery.com>
58732
58733 * Makeconfig (host-built-program-cmd): New variable.
58734 * elf/Makefile (tst-stackguard1-ARGS): Use
58735 $(host-built-program-cmd).
58736 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58737 (tst-spawn-ARGS): Likewise.
58738 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58739
58740 2012-10-23 Joseph Myers <joseph@codesourcery.com>
58741 Jim Blandy <jimb@codesourcery.com>
58742
58743 * Makeconfig (run-via-rtld-prefix): New variable.
58744 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58745 (built-program-cmd): Likewise.
58746
58747 2012-10-22 Andreas Jaeger <aj@suse.de>
58748
58749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58750 __O_RSYNC if it exists, otherwise to O_SYNC.
58751
58752 2012-10-22 Jim Blandy <jimb@codesourcery.com>
58753 Joseph Myers <joseph@codesourcery.com>
58754
58755 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58756 /dev/null.
58757 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58758 from /dev/null
58759 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58760 /dev/null.
58761
58762 2012-10-22 Andreas Jaeger <aj@suse.de>
58763
58764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58765 Define always.
58766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58767
58768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58769 bits/fcntl-linux.h.
58770
58771 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58772 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58773
58774 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58775 to __O_LARGEFILE.
58776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58777 to __O_LARGEFILE.
58778
58779 2012-10-21 Jim Blandy <jimb@codesourcery.com>
58780 Joseph Myers <joseph@codesourcery.com>
58781
58782 * config.make.in (NM): New variable.
58783
58784 2012-10-21 Andreas Jaeger <aj@suse.de>
58785
58786 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58787 definitions and declarations that are provided by
58788 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58789
58790 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
58791
58792 [BZ #14683]
58793 * elf/Makefile (tests-static): Add tst-leaks1-static.
58794 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
58795 ($(objpfx)tst-leaks1-static): New rule.
58796 ($(objpfx)tst-leaks1-static-mem): Likewise.
58797 (tst-leaks1-static-ENV): New macro.
58798 * elf/dl-open.c (dl_open_worker): Check the main application
58799 only if SHARED is defined.
58800 * elf/tst-leaks1-static.c: New file.
58801
58802 2012-10-20 Andreas Jaeger <aj@suse.de>
58803
58804 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
58805 generic values for Linux.
58806 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
58807 and declarations that are provided by <bits/fcntl-linux.h> and
58808 include <bits/fcntl-linux.h>.
58809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58810 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58811
58812 2012-10-20 Roland McGrath <roland@hack.frob.com>
58813
58814 * io/fcntl.h: Move include of <bits/types.h> to the top and
58815 include it unconditionally.
58816
58817 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
58818
58819 * wcsmbs/Makefile (tests-ifunc): New variable.
58820 (tests): Add $(tests-ifunc).
58821 * wcsmbs/test-wcschr-ifunc.c: New file.
58822 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58823 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
58824 * wcsmbs/test-wcslen-ifunc.c: Likewise.
58825 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
58826 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
58827
58828 * string/Makefile (tests-ifunc): New variable.
58829 (tests): Add $(tests-ifunc).
58830 * string/test-memccpy.c (TEST_NAME): New macro.
58831 * string/test-memchr.c (TEST_NAME): Likewise.
58832 * string/test-memcmp.c (TEST_NAME): Likewise.
58833 * string/test-memcpy.c (TEST_NAME): Likewise.
58834 * string/test-memmem.c (TEST_NAME): Likewise.
58835 * string/test-memmove.c (TEST_NAME): Likewise.
58836 * string/test-memset.c (TEST_NAME): Likewise.
58837 * string/test-rawmemchr.c (TEST_NAME): Likewise.
58838 * string/test-stpcpy.c (TEST_NAME): Likewise.
58839 * string/test-stpncpy.c (TEST_NAME): Likewise.
58840 * string/test-strcasecmp.c (TEST_NAME): Likewise.
58841 * string/test-strcasestr.c (TEST_NAME): Likewise.
58842 * string/test-strcat.c (TEST_NAME): Likewise.
58843 * string/test-strchr.c (TEST_NAME): Likewise.
58844 * string/test-strcmp.c(TEST_NAME): Likewise.
58845 * string/test-strcpy.c (TEST_NAME): Likewise.
58846 * string/test-strcspn.c (TEST_NAME): Likewise.
58847 * string/test-strlen.c (TEST_NAME): Likewise.
58848 * string/test-strncasecmp.c (TEST_NAME): Likewise.
58849 * string/test-strncmp.c (TEST_NAME): Likewise.
58850 * string/test-strncpy.c (TEST_NAME): Likewise.
58851 * string/test-strnlen.c (TEST_NAME): Likewise.
58852 * string/test-strpbrk.c (TEST_NAME): Likewise.
58853 * string/test-strrchr.c (TEST_NAME): Likewise.
58854 * string/test-strspn.c (TEST_NAME): Likewise.
58855 * string/test-strstr.c (TEST_NAME): Likewise.
58856 * string/test-bcopy-ifunc.c: New file.
58857 * string/test-bzero-ifunc.c: Likewise.
58858 * string/test-memccpy-ifunc.c: Likewise.
58859 * string/test-memchr-ifunc.c: Likewise.
58860 * string/test-memcmp-ifunc.c: Likewise.
58861 * string/test-memcpy-ifunc.c: Likewise.
58862 * string/test-memmem-ifunc.c: Likewise.
58863 * string/test-memmove-ifunc.c: Likewise.
58864 * string/test-mempcpy-ifunc.c: Likewise.
58865 * string/test-memset-ifunc.c: Likewise.
58866 * string/test-rawmemchr-ifunc.c: Likewise.
58867 * string/test-stpcpy-ifunc.c: Likewise.
58868 * string/test-stpncpy-ifunc.c: Likewise.
58869 * string/test-strcasecmp-ifunc.c: Likewise.
58870 * string/test-strcasestr-ifunc.c: Likewise.
58871 * string/test-strcat-ifunc.c: Likewise.
58872 * string/test-strchr-ifunc.c: Likewise.
58873 * string/test-strchrnul-ifunc.c: Likewise.
58874 * string/test-strcmp-ifunc.c: Likewise.
58875 * string/test-strcpy-ifunc.c: Likewise.
58876 * string/test-strcspn-ifunc.c: Likewise.
58877 * string/test-strlen-ifunc.c: Likewise.
58878 * string/test-strncasecmp-ifunc.c: Likewise.
58879 * string/test-strncat-ifunc.c: Likewise.
58880 * string/test-strncmp-ifunc.c: Likewise.
58881 * string/test-strncpy-ifunc.c: Likewise.
58882 * string/test-strnlen-ifunc.c: Likewise.
58883 * string/test-strpbrk-ifunc.c: Likewise.
58884 * string/test-strrchr-ifunc.c: Likewise.
58885 * string/test-strspn-ifunc.c: Likewise.
58886 * string/test-strstr-ifunc.c: Likewise.
58887
58888 * debug/Makefile (tests-ifunc): New variable.
58889 (tests): Add $(tests-ifunc).
58890 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58891 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58892 * debug/test-stpcpy_chk-ifunc.c: New file.
58893 * debug/test-strcpy_chk-ifunc.c: Likewise.
58894
58895 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58896
58897 [BZ #13601]
58898 * elf/dl-load.c (open_verify): Retry read if the entire ELF
58899 header is not read in.
58900
58901 2012-10-19 Joseph Myers <joseph@codesourcery.com>
58902
58903 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
58904 script to $(SHELL) as $<. Pass $(common-objpfx) to script
58905 directly. Pass built executable to script as
58906 $(built-program-cmd).
58907 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
58908 $testprogram without using LD_LIBRARY_PATH and $ldso.
58909
58910 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58911 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58912 $(rtld-installed-name).
58913 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58914 (rtld_installed_name): Likewise.
58915 (library_path): Likewise.
58916 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
58917 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58918 $(run-program-prefix) to tst-tables.sh.
58919 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
58920 it to run tst-table-from and tst-table-to.
58921 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58922 Pass it to tst-table.sh.
58923 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58924 $(run-program-prefix) to tst-gettext.sh.
58925 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58926 tst-translit.sh.
58927 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58928 tst-gettext2.sh.
58929 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
58930 to run tst-gettext.
58931 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
58932 to run tst-gettext2.
58933 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
58934 to run tst-translit.
58935 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58936 $(run-program-prefix) to tst-mtrace.sh.
58937 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
58938 to run tst-mtrace.
58939 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58940 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58941 $(rtld-installed-name).
58942 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58943 (rtld_installed_name): Likewise.
58944 (run_program_prefix): New variable. Use it to run wordexp-test.
58945
58946 * Makeconfig (ARCH): Remove all definitions.
58947 (machine): Likewise.
58948 [ARCH]: Remove conditional code.
58949 [!objdir]: Give error.
58950 [!objdir] (objpfx): Remove.
58951 [!objdir] (common-objpfx): Likewise.
58952 [!objdir] (common-objdir): Likewise.
58953 * configure.in (config_makefile): Remove. Hardcode Makefile in
58954 AC_CONFIG_FILES call.
58955 * configure: Regenerated.
58956
58957 [BZ #13888]
58958 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58959 or TMPDIR.
58960 (testout): Likewise.
58961
58962 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58963 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58964 $(rtld-installed-name).
58965 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58966 (rtld_installed_name): Likwise.
58967 (runit): Remove function.
58968 (run_getconf): New variable, Use it for running getconf binary.
58969
58970 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
58971
58972 [BZ #14716]
58973 * string/test-memmem.c (check_result): New function.
58974 (do_one_test): Use it.
58975 (check1): New function.
58976 (test_main): Use it.
58977
58978 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
58979
58980 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58981
58982 2012-10-18 Joseph Myers <joseph@codesourcery.com>
58983
58984 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58985 (_G_LSEEK64): Likewise.
58986 (_G_MMAP64): Likewise.
58987 (_G_FSTAT64): Likewise.
58988 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58989 (_G_LSEEK64): Likewise.
58990 (_G_MMAP64): Likewise.
58991 (_G_FSTAT64): Likewise.
58992 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58993 unconditional. Call __mmap64 directly.
58994 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58995 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
58996 __lseek64 directly.
58997 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58998 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
58999 __mmap64 directly.
59000 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59001 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
59002 __lseek64 directly.
59003 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59004 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
59005 __lseek64 directly.
59006 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59007 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
59008 __lseek64 directly.
59009 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59010 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
59011 __fxstat64 directly.
59012 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59013 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59014 unconditional.
59015 (freopen64) [!_G_OPEN64]: Remove conditional code.
59016 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59017 unconditional.
59018 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59019 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59020 unconditional.
59021 (ftello64) [!_G_LSEEK64]: Remove conditional code.
59022 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59023 unconditional.
59024 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59025 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59026 unconditional.
59027 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59028 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59029 unconditional.
59030 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59031 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59032 unconditional.
59033 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59034 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59035 unconditional.
59036 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59037
59038 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
59039
59040 [BZ #12140]
59041 * manual/memory.texi (Malloc Tunable Parameters): Add note
59042 about free list pointers overwriting some perturb bytes.
59043 Wording suggested by Roland McGrath.
59044
59045 2012-10-17 Joseph Myers <joseph@codesourcery.com>
59046
59047 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59048 (lgamma_test): Likewise.
59049 (tgamma_test): Likewise.
59050
59051 2012-10-16 Florian Weimer <fweimer@redhat.com>
59052
59053 [BZ #14700]
59054 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59055 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59056
59057 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
59058
59059 * NEWS: Mention BZ #14716.
59060 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59061 when removing AVAILABLE1_USES_J macro.
59062
59063 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
59064
59065 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59066 (__bswap_64): __uint64_t for unsigned 64-bit int.
59067
59068 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
59069
59070 * include/string.h (memmem): Declare libc hidden alias.
59071 * string/memmem.c (memmem): Define libc hidden alias.
59072 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59073 __read, __close instead of open, read, close.
59074
59075 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
59076
59077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59078 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59079 global and hidden.
59080 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59081 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59082 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59083 Likewise.
59084 (__rawmemchr_sse2): Likewise.
59085 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59086 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59087 (__strchr_sse2): Likewise.
59088 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59089 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59090 (__strcasecmp_sse2): Likewise.
59091 (__strncasecmp_sse2): Likewise.
59092 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59093 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59094 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59095 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59096 (__strrchr_sse2): Likewise.
59097 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59098 ifunc-impl-list.c.
59099 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59100 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59101 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59102 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59103 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59104 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59105 * sysdeps/x86_64/multiarch/memset.S: Likewise.
59106 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59107 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59108 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59109 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59110 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59111 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59112 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59113 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59114 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59115 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59116 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59117 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59118 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59119 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59120 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59121 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59122 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59123 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59124 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59125 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59126 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59127 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59128 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59129
59130 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59131 global and hidden.
59132 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59133 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59134 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59135 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59136 Likewise.
59137 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59138 Likewise.
59139 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59140 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59141 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59142 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59143 ifunc-impl-list.c.
59144 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59145 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59146 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59147 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59148 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59149 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59150 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59151 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59152 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59153 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59154 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59155 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59156 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59157 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59158 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59159 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59160 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59161 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59162 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59163 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59164 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59165 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59166 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59167 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59168 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59169 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59170 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59171 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59172 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59173 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59174 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59175 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59176 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59177 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59178 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59179 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59180 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59181 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59182 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59183 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59184 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59185
59186 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59187 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59188 * include/ifunc-impl-list.h: New file.
59189 * misc/ifunc-impl-list.c: Likewise.
59190 * misc/Makefile (routines): Add ifunc-impl-list.
59191 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59192 * string/test-string.h: Include <ifunc-impl-list.h>.
59193 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59194 TEST_NAME]: New variables.
59195 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59196 are defined.
59197 (test_init): Call __libc_ifunc_impl_list to initialize
59198 func_list if TEST_IFUNC and TEST_NAME are defined.
59199
59200 * string/Makefile (strop-tests): Add bcopy and bzero.
59201 * string/test-bcopy.c: New file.
59202 * string/test-bzero.c: Likewise.
59203 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59204 defined.
59205 * string/test-memset.c: Support bzero test if TEST_BZERO is
59206 defined.
59207 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59208 __libc_memmove.
59209 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59210 __libc_memset.
59211 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59212 of memset.
59213
59214 2012-10-10 Joseph Myers <joseph@codesourcery.com>
59215
59216 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59217 * configure: Regenerated.
59218
59219 * Makeconfig (+link-static-before-libc): Don't include
59220 $(link-static-libc).
59221
59222 * libio/libio.h (_IO_pos_t): Remove.
59223
59224 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
59225
59226 * NEWS: Add note about FIPS mode. Wording suggested by Roland
59227 McGrath.
59228
59229 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
59230
59231 * crypt/crypt-entry.c: Include fips-private.h.
59232 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59233 * crypt/md5c-test.c (main): Tolerate disabled MD5.
59234 * sysdeps/unix/sysv/linux/fips-private.h: New file.
59235 * sysdeps/generic/fips-private.h: New file, dummy fallback.
59236
59237 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
59238
59239 * crypt/crypt-private.h: Include stdbool.h.
59240 (_ufc_setup_salt_r): Return bool.
59241 * crypt/crypt-entry.c: Include errno.h.
59242 (__crypt_r): Return NULL with EINVAL for bad salt.
59243 * crypt/crypt_util.c (bad_for_salt): New.
59244 (_ufc_setup_salt_r): Check that salt is long enough and within
59245 the specified alphabet.
59246 * crypt/badsalttest.c: New file.
59247 * crypt/Makefile (tests): Add it.
59248 ($(objpfx)badsalttest): New.
59249
59250 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
59251
59252 * NEWS: Add entry for BZ #14602.
59253
59254 2012-10-09 Joseph Myers <joseph@codesourcery.com>
59255
59256 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59257 type-generic.
59258 * math/libm-test.inc: Update comment listing what functions and
59259 macros are tested.
59260 (isgreater_test): New function.
59261 (isgreaterequal_test): Likewise.
59262 (isless_test): Likewise.
59263 (islessequal_test): Likewise.
59264 (islessgreater_test): Likewise.
59265 (isunordered_test): Likewise.
59266 (main): Call the new functions.
59267
59268 2012-10-09 Roland McGrath <roland@hack.frob.com>
59269
59270 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59271 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59272 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59273 * sysdeps/i386/configure: Regenerated.
59274 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59275 * sysdeps/mach/configure: Regenerated.
59276 * sysdeps/mach/hurd/configure: Regenerated.
59277 * sysdeps/powerpc/configure: Regenerated.
59278 * sysdeps/powerpc/powerpc32/configure: Regenerated.
59279 * sysdeps/powerpc/powerpc64/configure: Regenerated.
59280 * sysdeps/s390/s390-32/configure: Regenerated.
59281 * sysdeps/s390/s390-64/configure: Regenerated.
59282 * sysdeps/sh/configure: Regenerated.
59283 * sysdeps/sparc/configure: Regenerated.
59284 * sysdeps/unix/sysv/linux/configure: Regenerated.
59285 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59286 * sysdeps/x86_64/configure: Regenerated.
59287
59288 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59289 defined. Don't check if MAP is NULL.
59290
59291 2012-10-09 Joseph Myers <joseph@codesourcery.com>
59292
59293 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59294 (_G_stat64): Likewise.
59295 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59296 (_G_stat64): Likewise.
59297 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59298 instead of struct _G_stat64.
59299 * libio/fileops.c (mmap_remap_check): Likewise.
59300 (decide_maybe_mmap): Likewise.
59301 (_IO_new_file_seekoff): Likewise.
59302 (_IO_file_stat): Likewise.
59303 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59304 _G_off64_t.
59305 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59306 instead of struct _G_stat64.
59307 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59308
59309 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
59310
59311 [BZ #14602]
59312 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59313 Replace with ...
59314 (CHECK_EOL): New macro.
59315 (two_way_short_needle): Check beginning of haystack for EOL. Use
59316 CHECK_EOL.
59317 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59318 Replace with CHECK_EOL.
59319 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59320 Replace with CHECK_EOL.
59321
59322 2012-10-08 Joseph Myers <joseph@codesourcery.com>
59323
59324 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59325 type-generic.
59326 * math/libm-test.inc: Update comment listing what functions and
59327 macros are tested.
59328 (finite_test): New function.
59329 (isinf_test): Likewise.
59330 (isnan_test): Likewise.
59331 (fpclassify_test): Test subnormal input.
59332 (isfinite_test): Likewise.
59333 (isnormal_test): Likewise.
59334 (main): Call the new functions.
59335
59336 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
59337
59338 [BZ #14660]
59339 * Makerules (%.dynsym): Force C locale when running
59340 $(OBJDUMP) --dynamic-syms.
59341
59342 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
59343
59344 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59345 <stdint.h>.
59346
59347 2012-10-06 David S. Miller <davem@davemloft.net>
59348
59349 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59350 upper 32-bits of the length value in %o2 since we use branch-on-register
59351 tests which consider the entire 64-bit register.
59352
59353 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
59354
59355 * string/test-strstr.c (check2): Add a test for page boundary.
59356
59357 2012-10-05 David S. Miller <davem@davemloft.net>
59358
59359 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59360 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59361 file.
59362 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59363 sysdep_routines.
59364 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59365 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59366 and bzero when HWCAP_SPARC_CRYPTO is present.
59367
59368 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
59369
59370 [BZ #14602]
59371 * string/test-strstr.c (check2): New function.
59372 (test_main): Call check2.
59373
59374 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59375 and bug-strchr1.
59376 * string/bug-strcasestr1.c (do_test): Moved to ...
59377 * string/test-strcasestr.c (check1): Here. New function.
59378 (do_one_test): Break out result checking code into ...
59379 (check_result): This. New function.
59380 (do_one_test): Call check_result.
59381 (test_main): Call check1.
59382 * string/bug-strchr1.c (do_test): Moved to ...
59383 * string/test-strchr.c (check1): Here. New function.
59384 (do_one_test): Break out result checking code into ...
59385 (check_result): This. New function.
59386 (do_one_test): Call check_result.
59387 (test_main): Call check1.
59388 * string/bug-strstr1.c (main): Moved to ...
59389 * string/test-strstr.c (check1): Here. New function.
59390 (do_one_test): Break out result checking code into ...
59391 (check_result): This. New function.
59392 (do_one_test): Call check_result.
59393 (test_main): Call check1.
59394 * string/bug-strcasestr1.c: Removed.
59395 * string/bug-strchr1.c: Likewise.
59396 * string/bug-strstr1.c: Likewise.
59397
59398 * elf/Makefile (dl-routines): Add hwcaps.
59399 * elf/dl-support.c (_dl_important_hwcaps): Removed.
59400 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59401 (_dl_important_hwcaps): Moved to ...
59402 * elf/dl-hwcaps.c: Here. New file.
59403 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59404
59405 [BZ #14557]
59406 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59407 if IS_IN_rtld isn't defined.
59408
59409 * elf/dl-support.c (_dl_sysinfo_map): New.
59410 Include "get-dynamic-info.h" and "setup-vdso.h".
59411 (_dl_non_dynamic_init): Call setup_vdso.
59412 * elf/dynamic-link.h: Don't include <assert.h>.
59413 (elf_get_dynamic_info): Moved to ...
59414 * elf/get-dynamic-info.h: Here. New file.
59415 * elf/dynamic-link.h: Include "get-dynamic-info.h".
59416 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59417 * elf/setup-vdso.h: Here. New file.
59418 * elf/rtld.c: Include "setup-vdso.h".
59419 (dl_main): Call setup_vdso.
59420
59421 2012-10-05 Joseph Myers <joseph@codesourcery.com>
59422
59423 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59424 creal in comment listing functions tested. List finite, isinf,
59425 isnan, isless, islessequal, isgreater, isgreaterequal,
59426 islessgreater, isunordered, lgamma_r and pow10 as functions and
59427 macros not tested. Mention which functions not tested are aliases
59428 for other functions. Fix typo. Note that signs of NaNs are not
59429 tested.
59430
59431 * scripts/config.guess: Update from config.git.
59432 * scripts/config.sub: Likewise.
59433
59434 2012-10-04 Roland McGrath <roland@hack.frob.com>
59435
59436 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59437 * misc/madvise.c (madvise): Renamed to __madvise.
59438 Make madvise a weak alias.
59439 * include/sys/mman.h: Declare __madvise.
59440 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59441 * sysdeps/unix/syscalls.list
59442 (madvise): Make __madvise the strong name, and madvise a weak alias.
59443 * sysdeps/unix/sysv/linux/syscalls.list
59444 (madvise, mmap): Remove redundant entries.
59445 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59446 * malloc/malloc.c (mtrim): Likewise.
59447 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59448
59449 2012-10-03 Roland McGrath <roland@hack.frob.com>
59450
59451 * sysdeps/mach/hurd/dl-cache.c: File removed.
59452 * config.h.in (USE_LDCONFIG): New #undef.
59453 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59454 * configure: Regenerated.
59455 * elf/Makefile (dl-routines): Add dl-cache only under
59456 [$(use-ldconfig) = yes].
59457 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59458 cache on [USE_LDCONFIG].
59459 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59460 [USE_LDCONFIG].
59461 * elf/rtld.c (dl_main): Likewise.
59462
59463 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
59464
59465 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59466 _SC_LEVEL4_CACHE_LINESIZE.
59467
59468 2012-10-03 Roland McGrath <roland@hack.frob.com>
59469
59470 * sysdeps/unix/bsd/confstr.h: File removed.
59471
59472 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
59473
59474 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59475 sys/sdt-config.h.
59476
59477 2012-10-02 Roland McGrath <roland@hack.frob.com>
59478
59479 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59480 Make 'mapoff' field ElfW(Off) rather than off_t.
59481
59482 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
59483
59484 * nscd/Makefile: Remove nscd-cflags and all its users.
59485 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59486 (CFLAGS-nonlib): Add compiler flags for nscd modules.
59487
59488 [BZ #10631]
59489 * malloc.c (malloc_printerr): Clarify error message.
59490
59491 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
59492
59493 [BZ #14648]
59494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59495 Set bit_FMA_Usable if FMA is supported.
59496 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59497 macro.
59498 (bit_FMA4_Usable): Updated.
59499 (index_FMA_Usable): New macro.
59500 (CPUID_FMA): Likewise.
59501 (HAS_FMA): Defined with bit_FMA_Usable.
59502
59503 2012-10-01 Roland McGrath <roland@hack.frob.com>
59504
59505 * bits/types.h (__swblk_t): Type removed.
59506 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59507 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59508 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59509 (__SWBLK_T_TYPE): Likewise.
59510 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59511 (__SWBLK_T_TYPE): Likewise.
59512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59513 (__SWBLK_T_TYPE): Likewise.
59514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59515 (__SWBLK_T_TYPE): Likewise.
59516
59517 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
59518 Honza Horak <hhorak@redhat.com>
59519
59520 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59521 (xdr_mapname): Use YPMAXMAP as maxsize.
59522 (xdr_peername): Use YPMAXPEER as maxsize.
59523 (xdr_keydat): Use YPAXRECORD as maxsize.
59524 (xdr_valdat): Use YPMAXRECORD as maxsize.
59525
59526 2012-10-01 Roland McGrath <roland@hack.frob.com>
59527
59528 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59529
59530 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59531 * csu/init-first.c: ... here.
59532 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59533 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59534 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59535 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59536 * sysdeps/i386/init-first.c: File removed.
59537 * sysdeps/sh/init-first.c: File removed.
59538
59539 2012-10-01 Joseph Myers <joseph@codesourcery.com>
59540
59541 [BZ #14645]
59542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59543 if x * y might underflow to zero and z is zero.
59544 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59545 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59546 * math/libm-test.inc (min_subnorm_value): New variable.
59547 (fma_test): Add more tests.
59548 (fma_test_towardzero): Likewise.
59549 (fma_test_downward): Likewise.
59550 (fma_test_upward): Likewise.
59551 (initialize): Set min_subnorm_value.
59552
59553 2012-09-29 Joseph Myers <joseph@codesourcery.com>
59554
59555 [BZ #14638]
59556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59557 0 + 0.
59558 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59559 mode for addition resulting in exact zero.
59560 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59561 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59562 exact 0 + 0.
59563 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59564 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59565 * math/libm-test.inc (fma_test): Add more tests.
59566 (fma_test_towardzero): New function.
59567 (fma_test_downward): Likewise.
59568 (fma_test_upward): Likewise.
59569 (main): Call the new functions.
59570
59571 2012-09-28 David S. Miller <davem@davemloft.net>
59572
59573 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59574
59575 2012-09-28 Roland McGrath <roland@hack.frob.com>
59576
59577 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59578 instead of SIGALRM.
59579
59580 * sysdeps/gnu/_G_config.h: Moved to ...
59581 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59582 * sysdeps/mach/hurd/_G_config.h: Moved to ...
59583 * sysdeps/generic/_G_config.h: ... here.
59584
59585 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
59586
59587 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59588
59589 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59590 Conditionalize target on [libnss_test1.so-version].
59591
59592 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59593
59594 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59595 (elfobjdir): Move out of conditionals.
59596
59597 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59598 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59599 (__nss_lookup_function): Conditionalize label remove_from_tree on
59600 [!DO_STATIC_NSS || SHARED], matching its only use.
59601
59602 2012-09-28 David S. Miller <davem@davemloft.net>
59603
59604 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59605 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59606 file.
59607 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59608 sysdep_routines.
59609 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59610 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59611 when HWCAP_SPARC_CRYPTO is present.
59612
59613 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
59614
59615 * io/tst-mknodat.c: Create a FIFO instead of a socket.
59616
59617 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
59618
59619 [BZ #6530]
59620 * stdio-common/vfprintf.c (process_string_arg): Revert
59621 2000-07-22 change.
59622
59623 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
59624
59625 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59626 for testcase.
59627 * stdio-common/tst-sprintf.c: Include <locale.h>
59628 (main): Test sprintf's handling of incomplete multibyte
59629 characters.
59630
59631 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
59632
59633 * elf/dl-runtime.c (VERSYMIDX): Removed.
59634 * elf/dl-version.c (VERSYMIDX): Likewise.
59635 * elf/do-rel.h (VERSYMIDX): Likewise.
59636 (VALIDX): Likewise.
59637 * elf/dynamic-link.h (VERSYMIDX): Likewise.
59638 * elf/rtld.c (VALIDX): Likewise.
59639 (ADDRIDX): Likewise.
59640 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59641 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59642 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59643 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59644 (VALIDX): Likewise.
59645 (ADDRIDX): Likewise.
59646
59647 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
59648
59649 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59650
59651 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
59652
59653 [BZ #11438]
59654 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59655 to global scope.
59656 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59657 addresses are in the same scope as 192.0.2/24.
59658 * posix/gai.conf: Document new scope table defaults.
59659
59660 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59661
59662 [BZ #5298]
59663 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59664 for ftell. Compute offsets from write pointers instead.
59665 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59666
59667 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59668
59669 [BZ #14543]
59670 * libio/Makefile (tests): New test case tst-fseek.
59671 * libio/tst-fseek.c: New test case to verify that fseek/ftell
59672 combination works in wide mode.
59673 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59674 state when the external buffer state changes.
59675
59676 2012-09-27 David S. Miller <davem@davemloft.net>
59677
59678 [BZ #14376]
59679 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59680 pass reloc->r_addend in as the 'high' argument to
59681 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59682
59683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59684
59685 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
59686
59687 * rt/tst-aio2.c: Include <pthread.h>.
59688 * rt/tst-aio3.c: Likewise.
59689
59690 2012-09-27 Steve Ellcey <sellcey@mips.com>
59691
59692 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59693
59694 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
59695
59696 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59697 contents on [SHARED].
59698
59699 2012-09-26 Marek Polacek <polacek@redhat.com>
59700
59701 [BZ #14530]
59702 [BZ #13741]
59703 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59704 for C++ and GCC <4.3 as well as for non GCC compilers.
59705
59706 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
59707
59708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59709
59710 2012-09-25 Roland McGrath <roland@hack.frob.com>
59711
59712 * Makefile.in (all, install): Declare with .PHONY.
59713 Reported by Michael Hope <michael.hope@linaro.org>.
59714
59715 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59716
59717 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59718 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59719 system header.
59720 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59721 Likewise.
59722 (sydep_routines): Add the new and the internal functions.
59723 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59724 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59726 (GLIBC_2.17): Add the new function.
59727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59728 (GLIBC_2.17): Likewise.
59729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59730 (GLIBC_2.17): Likewise.
59731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59732 (GLIBC_2.17): Likewise.
59733 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59734
59735 2012-09-25 Alan Modra <amodra@gmail.com>
59736
59737 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59738 Add release barrier before setting once_control to say
59739 initialisation is done. Add hints on lwarx. Use macro in
59740 place of isync.
59741 (clear_once_control): Add release barrier.
59742
59743 2012-09-25 Joseph Myers <joseph@codesourcery.com>
59744
59745 [BZ #13629]
59746 * math/s_clog.c (__clog): Handle more values close to |z| = 1
59747 specially.
59748 * math/s_clog10.c (__clog10): Likewise.
59749 * math/s_clog10f.c (__clog10f): Likewise.
59750 * math/s_clog10l.c (__clog10l): Likewise.
59751 * math/s_clogf.c (__clogf): Likewise.
59752 * math/s_clogl.c (__clogl): Likewise.
59753 * math/Makefile (libm-calls): Add x2y2m1.
59754 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59755 (__x2y2m1): Likewise.
59756 (__x2y2m1l): Likewise.
59757 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59758 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59759 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59760 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59761 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59762 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59763 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59764 * sysdeps/i386/fpu/libm-test-ulps: Update.
59765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59766
59767 [BZ #14621]
59768 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59769 int as type of variable DEPTH.
59770 (glob): Use size_t instead of int as type of variables NEWCOUNT
59771 and OLD_PATHC.
59772
59773 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59774
59775 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59776 Add s_sincosf-sse2.
59777 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
59778 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
59779 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
59780 macros for using routine as __sincosf_ia32.
59781 Use macro for function declaration and weak_alias.
59782 * sysdeps/i386/fpu/libm-test-ulps: Update.
59783
59784 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
59785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59786
59787 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
59788 subnormal argument.
59789 * math/s_cexpf.c (__cexpf): Likewise.
59790 * math/s_csinf.c (__csinf): Likewise.
59791 * math/s_csinhf.c (__csinhf): Likewise.
59792 * math/s_ctanf.c (__ctanf): Likewise.
59793 * math/s_ctanhf.c (__ctanhf): Likewise.
59794 * math/s_ccosh.c (__ccoshf): Likewise.
59795 * math/s_cexp.c (__cexpl): Likewise.
59796 * math/s_csin.c (__csin): Likewise.
59797 * math/s_csinh.c (__csinh): Likewise.
59798 * math/s_ctan.c (__ctan): Likewise.
59799 * math/s_ctanh.c (ctanh): Likewise.
59800 * math/s_ccoshl.c (__ccoshl): Likewise.
59801 * math/s_cexpl.c (__cexpl): Likewise.
59802 * math/s_csinl.c (__csinl): Likewise.
59803 * math/s_csinhl.c (__csinhl): Likewise.
59804 * math/s_ctanl.c (__ctanl): Likewise.
59805 * math/s_ctanhl.c (__ctanhl): Likewise.
59806
59807 2012-09-25 Joseph Myers <joseph@codesourcery.com>
59808
59809 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
59810 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
59811 (_IO_off_t): Define to __off_t, not _G_off_t.
59812 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
59813 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
59814 (_IO_wint_t): Define to wint_t, not _G_wint_t.
59815 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
59816 type of __dummy and __dummy2 fields.
59817 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
59818 (_G_ssize_t): Likewise.
59819 (_G_off_t): Likewise.
59820 (_G_pid_t): Likewise.
59821 (_G_uid_t): Likewise.
59822 (_G_wchar_t): Likewise.
59823 (_G_wint_t): Likewise.
59824 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
59825 (_G_ssize_t): Likewise.
59826 (_G_off_t): Likewise.
59827 (_G_pid_t): Likewise.
59828 (_G_uid_t): Likewise.
59829 (_G_wchar_t): Likewise.
59830 (_G_wint_t): Likewise.
59831 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
59832 (_G_ssize_t): Likewise.
59833 (_G_off_t): Likewise.
59834 (_G_pid_t): Likewise.
59835 (_G_uid_t): Likewise.
59836 (_G_wchar_t): Likewise.
59837 (_G_wint_t): Likewise.
59838
59839 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59840
59841 * malloc/arena.c: Include malloc-sysdep.h.
59842 (shrink_heap): Use check_may_shrink_heap to decide if madvise
59843 is sufficient to shrink the heap or an unmap is needed.
59844 * sysdeps/generic/malloc-sysdep.h: New file. Define
59845 new function check_may_shrink_heap.
59846 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
59847 new function check_may_shrink_heap.
59848
59849 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59850
59851 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59852 comments.
59853
59854 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
59855
59856 * catgets/test-gencat.sh: Add "set -e".
59857 * elf/tst-pathopt.sh: Likewise.
59858 * grp/tst_fgetgrent.sh: Likewise.
59859 * iconvdata/run-iconv-test.sh: Likewise.
59860 * intl/tst-gettext.sh: Likewise.
59861 * intl/tst-gettext2.sh: Likewise.
59862 * intl/tst-gettext4.sh: Likewise.
59863 * intl/tst-gettext6.sh: Likewise.
59864 * intl/tst-translit.sh: Likewise.
59865 * io/ftwtest-sh: Likewise.
59866 * libio/test-freopen.sh: Likewise.
59867 * malloc/tst-mtrace.sh: Likewise.
59868 * posix/globtest.sh: Likewise.
59869 * posix/tst-getconf.sh: Likewise.
59870 * posix/wordexp-tst.sh: Likewise.
59871 * stdio-common/tst-printf.sh: Likewise.
59872 * stdio-common/tst-unbputc.sh: Likewise.
59873 * stdlib/tst-fmtmsg.sh: Likewise.
59874 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59875 * catgets/Makefile: Do not specify -e option when running
59876 testsuite shell scripts.
59877 * elf/Makefile: Likewise.
59878 * grp/Makefile: Likewise.
59879 * iconvdata/Makefile: Likewise.
59880 * intl/Makefile: Likewise.
59881 * io/Makefile: Likewise.
59882 * libio/Makefile: Likewise.
59883 * malloc/Makefile: Likewise.
59884 * posix/Makefile: Likewise.
59885 * stdio-common/Makefile: Likewise.
59886 * stdlib/Makefile: Likewise.
59887 * sysdeps/x86_64/Makefile: Likewise.
59888
59889 * io/ftwtest-sh: Add copyright header.
59890 * posix/globtest.sh: Likewise.
59891 * posix/tst-getconf.sh: Likewise.
59892 * posix/wordexp-tst.sh: Likewise.
59893 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59894
59895 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
59896
59897 [BZ #13679]
59898 * Makeconfig (+link): Defined as $(+link-static) if
59899 $(build-shared) isn't yes.
59900 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59901 isn't yes.
59902 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59903
59904 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59905
59906 [BZ #14562]
59907 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59908 new chunk size with MALLOC_ALIGN_MASK.
59909
59910 2012-09-24 Joseph Myers <joseph@codesourcery.com>
59911
59912 [BZ #5044]
59913 * stdio-common/printf_fphex.c: Include <stdbool.h> and
59914 <rounding-mode.h>.
59915 (__printf_fphex): Determine rounding using get_rounding_mode and
59916 round_away.
59917 * stdio-common/tst-printf-round.c (struct hex_test): New
59918 structure.
59919 (hex_tests): New variable.
59920 (test_hex_in_one_mode): New function.
59921 (do_test): Also run tests for hex float output.
59922
59923 2012-09-21 Joseph Myers <joseph@codesourcery.com>
59924
59925 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59926 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59927 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59928 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59929 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59930 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59931 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59932 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59933
59934 2012-09-20 Joseph Myers <joseph@codesourcery.com>
59935
59936 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59937 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59938 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59939 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59940
59941 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
59942
59943 [BZ #14579]
59944 * elf/rtld.c (dl_main): Limit the check for self loading to normal
59945 mode only.
59946 * elf/tst-rtld-load-self.sh: New test.
59947 * elf/Makefile: Run it.
59948
59949 2012-09-18 Joseph Myers <joseph@codesourcery.com>
59950
59951 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59952 (tst-writev-ENV): Remove.
59953 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59954
59955 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
59956
59957 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59958
59959 2012-09-17 Joseph Myers <joseph@codesourcery.com>
59960
59961 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59962 unconditional.
59963 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59964 Likewise.
59965 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59966 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59967 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59968 Likewise.
59969
59970 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
59971
59972 [BZ #14587]
59973 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59974 * config.make.in (have-cpp-asm-debuginfo): Removed.
59975 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59976 * configure: Regenerated.
59977
59978 2012-09-14 Joseph Myers <joseph@codesourcery.com>
59979
59980 [BZ #5044]
59981 * stdio-common/printf_fp.c: Include <stdbool.h> and
59982 <rounding-mode.h>.
59983 (___printf_fp): Determine rounding using get_rounding_mode and
59984 round_away.
59985 * stdio-common/tst-printf-round.c: New file.
59986 * stdio-common/Makefile (tests): Add tst-printf-round.
59987 (link-libm): New variable.
59988 ($(objpfx)tst-printf-round): Depend in $(link-libm).
59989
59990 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
59991
59992 [BZ #14576]
59993 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59994 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59995 Likewise.
59996 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59997 Likewise.
59998
59999 2012-09-13 Joseph Myers <joseph@codesourcery.com>
60000
60001 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60002 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60003 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60004 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60005
60006 2012-09-12 Joseph Myers <joseph@codesourcery.com>
60007
60008 [BZ #14518]
60009 * include/rounding-mode.h: New file.
60010 * sysdeps/generic/get-rounding-mode.h: Likewise.
60011 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60012 * stdlib/strtod_l.c: Include <rounding-mode.h>.
60013 (MAX_VALUE): New macro.
60014 (MIN_VALUE): Likewise.
60015 (overflow_value): New function.
60016 (underflow_value): Likewise.
60017 (round_and_return): Use overflow_value and underflow_value to
60018 determine return values in overflow and underflow cases. Use
60019 round_away to determine rounding depending on rounding mode.
60020 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60021 determine return values in overflow and underflow cases.
60022 * stdlib/tst-strtod-round.c: Include <fenv.h>.
60023 (struct test_results): New structure.
60024 (struct test): Use struct test_results to store expected results
60025 for all rounding modes.
60026 (TEST): Include expected results for all rounding modes.
60027 (test_in_one_mode): New function.
60028 (do_test): Use test_in_one_mode to compute and check results.
60029 Check results for all rounding modes.
60030 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60031 $(link-libm).
60032
60033 2012-12-09 Allan McRae <allan@archlinux.org>
60034
60035 * sysdeps/i386/fpu/libm-test-ulps: Update
60036
60037 2012-09-11 Joseph Myers <joseph@codesourcery.com>
60038
60039 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60040 (_G_int32_t): Likewise.
60041 (_G_uint16_t): Likewise.
60042 (_G_uint32_t): Likewise.
60043 (_G_HAVE_BOOL): Likewise.
60044 (_G_HAVE_ATEXIT): Likewise.
60045 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60046 (_G_HAVE_IO_FILE_OPEN): Likewise.
60047 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60048 (_G_int32_t): Likewise.
60049 (_G_uint16_t): Likewise.
60050 (_G_uint32_t): Likewise.
60051 (_G_HAVE_BOOL): Likewise.
60052 (_G_HAVE_ATEXIT): Likewise.
60053 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60054 (_G_HAVE_IO_FILE_OPEN): Likewise.
60055 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60056 (_G_int32_t): Likewise.
60057 (_G_uint16_t): Likewise.
60058 (_G_uint32_t): Likewise.
60059 (_G_HAVE_BOOL): Likewise.
60060 (_G_HAVE_ATEXIT): Likewise.
60061 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60062 (_G_HAVE_IO_FILE_OPEN): Likewise.
60063
60064 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
60065
60066 * csu/libc-tls.c: Update copyright years.
60067
60068 2012-09-10 Joseph Myers <joseph@codesourcery.com>
60069
60070 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60071 [!_G_USING_THUNKS]: Remove conditional code.
60072 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60073 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60074
60075 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60076 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60077 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60078 (_G_VTABLE_LABEL_PREFIX): Likewise.
60079 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60080 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60081 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60082 (_G_VTABLE_LABEL_PREFIX): Likewise.
60083 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60084 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60085 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60086 (_G_VTABLE_LABEL_PREFIX): Likewise.
60087 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60088
60089 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
60090
60091 * libio/Makefile: Include ../Makeconfig before tests.
60092 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60093 only if $(build-shared) is yes.
60094
60095 * iconv/gconv_db.c: Update copyright years.
60096
60097 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60098
60099 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60100 unwind info if defined PIC. Fix special cases description.
60101 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60102
60103 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60104 DP_HI_MASK entry.
60105 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60106
60107 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
60108
60109 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60110
60111 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60112 is NULL.
60113
60114 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60115 (LDLIBS-tst-chk4): This.
60116 (LDFLAGS-tst-chk5): Renamed to ...
60117 (LDLIBS-tst-chk5): This.
60118 (LDFLAGS-tst-chk6): Renamed to ...
60119 (LDLIBS-tst-chk6): This.
60120 (LDFLAGS-tst-lfschk4): Renamed to ...
60121 (LDLIBS-tst-lfschk4): This.
60122 (LDFLAGS-tst-lfschk5): Renamed to ...
60123 (LDLIBS-tst-lfschk5): This.
60124 (LDFLAGS-tst-lfschk6): Renamed to ...
60125 (LDLIBS-tst-lfschk6): This.
60126
60127 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60128 on $(common-objpfx)soversions.mk.
60129
60130 2012-09-07 Joseph Myers <joseph@codesourcery.com>
60131
60132 [BZ #10014]
60133 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60134 example host name.
60135
60136 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
60137
60138 * malloc/arena.c (arena_get_retry): New function that gets
60139 another arena for the caller to try its request on.
60140 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60141 current arena cannot fulfill the request.
60142 (__libc_memalign): Likewise.
60143 (__libc_memalign): Likewise.
60144 (__libc_pvalloc): Likewise.
60145 (__libc_calloc): Likewise.
60146
60147 2012-09-05 John Tobey <john.tobey@gmail.com>
60148
60149 [BZ #13542]
60150 * manual/arith.texi (Operations on Complex): Fix description
60151 of carg branch cut.
60152
60153 2012-09-06 Joseph Myers <joseph@codesourcery.com>
60154
60155 [BZ #10014]
60156 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60157 host name.
60158
60159 [BZ #10038]
60160 * manual/memory.texi (Memory): Make order of menu items match
60161 order of sections.
60162
60163 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
60164
60165 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60166 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
60167 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60168
60169 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
60170
60171 * csu/libc-tls.c (static_dtv): Renamed to ...
60172 (_dl_static_dtv): This. Make it global.
60173 (_dl_initial_dtv): Removed.
60174 (__libc_setup_tls): Updated.
60175 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60176 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60177 DL_INITIAL_DTV.
60178
60179 2012-09-06 Petr Machata <pmachata@redhat.com>
60180
60181 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60182 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60183 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60184 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60185
60186 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
60187
60188 [BZ #14545]
60189 * csu/libc-tls.c (_dl_initial_dtv): New variable.
60190 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60191 freeing dtv[-1].
60192
60193 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
60194
60195 [BZ #14544]
60196 * Makeconfig (link-static-before-libc): Replace $(+prector)
60197 with $(+prectorT).
60198 (link-static-after-libc): Replace $(+postctor) with
60199 $(+postctorT).
60200 (link-bounded): Replace $(+prector)/$(+postctor) with
60201 $(+prectorT)/$(+postctorT).
60202 (+prectorT): New macro.
60203 (+postctorT): Likewise.
60204
60205 2012-09-06 Joseph Myers <joseph@codesourcery.com>
60206
60207 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60208 (round_str): Handle values above the maximum for IBM long double
60209 as inexact.
60210 * stdlib/tst-strtod-round.c (tests): Regenerated.
60211
60212 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60213
60214 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60215 assembler flag.
60216 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60217 zarch_nohighgprs around the zarch optimized routines.
60218 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60219 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60220 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60221 for zarch.
60222
60223 2012-09-05 David S. Miller <davem@davemloft.net>
60224
60225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60226
60227 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60228 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60229 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60230 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60231 entries.
60232
60233 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
60234
60235 * malloc/arena.c: Fold copyright years.
60236 * malloc/mcheck.c, malloc/memusage.c: Likewise.
60237
60238 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
60239
60240 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60241
60242 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
60243
60244 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
60245
60246 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
60247
60248 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60249 change internal state upon failure.
60250
60251 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
60252
60253 * malloc/mcheck.c (mcheck_check_all): Fix typo.
60254 * malloc/memusage.c (mmap): Likewise.
60255 (mmap64, mremap): Likewise. Adjust name in comment.
60256
60257 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60258
60259 * libio/fileops.c: Fix typos in comments.
60260 * libio/oldfileops.c: Likewise.
60261 * libio/wfileops.c: Likewise.
60262
60263 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
60264
60265 [BZ #1349]
60266 * malloc/Makefile (tests): Add tst-malloc-usable test case.
60267 (tst-malloc-usable-ENV): Set environment for test case.
60268 * malloc/hooks.c (malloc_check_get_size): New function to get
60269 requested size.
60270 * malloc/malloc.c (musable): Use malloc_check_get_size.
60271 * malloc/tst-malloc-usable.c: New test case.
60272
60273 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
60274
60275 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60276
60277 2012-09-05 Allan McRae <allan@archlinux.org>
60278
60279 [BZ #13966]
60280 * configure.in (CXX_SYSINCLUDES): Use compiler output to
60281 determine header location.
60282 * configure: Regenerated.
60283
60284 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
60285
60286 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60287 float format.
60288 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60289 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60290 format.
60291 (test): Regenerate.
60292
60293 2012-09-04 David S. Miller <davem@davemloft.net>
60294
60295 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60296 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60297 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60298
60299 2012-09-04 Florian Weimer <fweimer@redhat.com>
60300
60301 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60302 failures.
60303
60304 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60305
60306 2012-09-04 Joseph Myers <joseph@codesourcery.com>
60307
60308 [BZ #9914]
60309 * libio/iogetdelim.c: Include <limits.h>.
60310 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60311 + len + 1 would overflow.
60312
60313 2012-09-03 Andreas Jaeger <aj@suse.de>
60314
60315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60316 * sysdeps/i386/fpu/libm-test-ulps: Update.
60317
60318 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60319
60320 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60321 Add s_sinf-sse2, s_conf-sse2.
60322
60323 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60324 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60325 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60326 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60327
60328 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60329 for using routine as __sinf_ia32.
60330 Use macro for function declaration and weak_alias.
60331 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60332 for using routine as __cosf_ia32.
60333 Use macro for function declaration and weak_alias.
60334
60335 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60336 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60337
60338 * sysdeps/x86_64/fpu/s_sinf.S: New file.
60339 * sysdeps/x86_64/fpu/s_cosf.S: New file.
60340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60341
60342 * math/libm-test.inc (cos_test): Add more test cases.
60343 (sin_test): Likewise.
60344 (sincos_test): Likewise.
60345
60346 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60347
60348 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60349 (IFUNC_RESOLVE): Make pointers to the specialized implementations
60350 hidden.
60351 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60352
60353 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
60354
60355 [BZ #14538]
60356 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60357 first element of the GOT.
60358 (elf_machine_load_address): Return the difference between
60359 the runtime address of _DYNAMIC and elf_machine_dynamic ().
60360
60361 2012-09-01 Allan McRae <allan@archlinux.org>
60362
60363 [BZ #13412]
60364 * configure.in (AWK): Require gawk version 3.0 or later.
60365 * configure: Regenerated.
60366
60367 2012-09-01 Joseph Myers <joseph@codesourcery.com>
60368
60369 * sysdeps/unix/sysv/linux/kernel-features.h
60370 (__ASSUME_POSIX_CPU_TIMERS): Remove.
60371 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60372 [__NR_clock_getres]: Make code unconditional.
60373 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60374 (clock_getcpuclockid): Remove code left unreachable by removal of
60375 conditionals.
60376 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60377 code unconditional.
60378 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60379 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60380 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60381 Make code unconditional.
60382 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60383 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60384 * sysdeps/unix/sysv/linux/clock_settime.c
60385 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60386 conditional code.
60387 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60388 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60389
60390 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
60391
60392 [BZ #14476]
60393 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60394 scripts/test-installation.pl.
60395
60396 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60397 and $ld_so_version if it is set.
60398
60399 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60400
60401 [BZ #14516]
60402 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60403 failure if reading from procfs failed.
60404 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60405
60406 2012-08-27 Joseph Myers <joseph@codesourcery.com>
60407
60408 * sysdeps/unix/sysv/linux/kernel-features.h
60409 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60410 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60411 Remove conditional code.
60412 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60413 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60414 Remove conditional code.
60415 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60416 * sysdeps/unix/sysv/linux/i386/fxstat.c
60417 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60418 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60419 * sysdeps/unix/sysv/linux/i386/fxstatat.c
60420 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60421 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60422 * sysdeps/unix/sysv/linux/i386/lxstat.c
60423 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60424 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60425 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60426 Remove conditional code.
60427 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60428 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60429 Remove conditional code.
60430 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60431 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60432 <kernel-features.h>.
60433 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60434 Remove.
60435 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60436 Remove conditional code.
60437 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60438 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60439 Remove conditional.
60440
60441 2012-08-27 Mike Frysinger <vapier@gentoo.org>
60442
60443 [BZ #5400]
60444 * NEWS: Add fixed bug number.
60445
60446 2012-08-27 Joseph Myers <joseph@codesourcery.com>
60447
60448 [BZ #14519]
60449 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60450 underflowing exponent in case of negative sign.
60451 * stdlib/tst-strtod-round-data: Add more tests.
60452 * stdlib/tst-strtod-round.c (tests): Regenerated.
60453
60454 [BZ #3479]
60455 * stdlib/strtod_l.c (NDIG): Remove.
60456 (HEXNDIG): Likewise.
60457 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60458 smallest representable value.
60459 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60460 lie within an exact representation of 1/2 ulp of the result.
60461 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60462 unconditionally.
60463 (TENS_P9_IDX): Define unconditionally.
60464 (TENS_P9_SIZE): Likewise.
60465 (TENS_P10_IDX): Likewise.
60466 (TENS_P10_SIZE): Likewise.
60467 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60468 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60469 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60470 entries for 10^2^13 and 10^2^14.
60471 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60472 (TENS_P13_IDX): Define.
60473 (TENS_P13_SIZE): Likewise.
60474 (TENS_P14_IDX): Likewise.
60475 (TENS_P14_SIZE): Likewise.
60476 (_fpioconst_pow10): Change array size to
60477 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
60478 unconditional.
60479 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60480 1024]: Add entries for 10^2^13 and 10^2^14.
60481 [LAST_POW10 > _LAST_POW10]: Remove #error.
60482 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60483 (_fpioconst_pow10): Change array size to
60484 FPIOCONST_POW10_ARRAY_SIZE.
60485 * stdlib/gen-fpioconst.c: New file.
60486 * stdlib/gen-tst-strtod-round.c: Likewise.
60487 * stdlib/tst-strtod-round-data: Likewise.
60488 * stdlib/tst-strtod-round.c: Likewise.
60489 * stdlib/Makefile (tests): Add tst-strtod-round.
60490
60491 [BZ #14459]
60492 * stdlib/strtod_l.c: Include <stdint.h>.
60493 (NDEBUG): Do not define.
60494 (round_and_return): Change EXPONENT parameter to type intmax_t.
60495 Rearrange calculations to avoid internal overflow possibilities.
60496 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60497 Rearrange calculations to avoid internal overflow possibilities.
60498 Assert that number fits inside MPNSIZE limbs.
60499 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60500 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
60501 calculations and add assertions to avoid internal overflow
60502 possibilities. Add casts to avoid signed/unsigned operations.
60503 * stdlib/tst-strtod-overflow.c: New file.
60504 * stdlib/Makefile (tests): Add tst-strtod-overflow.
60505
60506 2012-08-25 Marek Polacek <polacek@redhat.com>
60507
60508 * time/time.h: Fix some typos in comments.
60509
60510 2012-08-23 Roland McGrath <roland@hack.frob.com>
60511
60512 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60513 * posix/tst-rfc3484-2.c: Likewise.
60514 * posix/tst-rfc3484-3.c: Likewise.
60515
60516 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
60517
60518 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60519 (EF_ARM_ABI_FLOAT_HARD): Likewise.
60520
60521 2012-08-23 Joseph Myers <joseph@codesourcery.com>
60522
60523 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60524 #include of fxstatat64.c.
60525
60526 2012-08-22 Roland McGrath <roland@hack.frob.com>
60527
60528 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60529 * shadow/getspent_r.c: Likewise.
60530 * shadow/getspnam.c: Likewise.
60531 * shadow/getspnam_r.c: Likewise.
60532 * gshadow/getsgent.c: Likewise.
60533 * gshadow/getsgent_r.c: Likewise.
60534 * gshadow/getsgnam.c: Likewise.
60535 * gshadow/getsgnam_r.c: Likewise.
60536 * inet/getnetbyad.c: Likewise.
60537 * inet/getnetbyad_r.c: Likewise.
60538 * inet/getnetbynm.c: Likewise.
60539 * inet/getnetbynm_r.c: Likewise.
60540 * inet/getnetent.c: Likewise.
60541 * inet/getnetent_r.c: Likewise.
60542 * inet/getproto.c: Likewise.
60543 * inet/getproto_r.c: Likewise.
60544 * inet/getprtent.c: Likewise.
60545 * inet/getprtent_r.c: Likewise.
60546 * inet/getprtname.c: Likewise.
60547 * inet/getprtname_r.c: Likewise.
60548 * inet/getrpcbyname.c: Likewise.
60549 * inet/getrpcbyname_r.c: Likewise.
60550 * inet/getrpcbynumber.c: Likewise.
60551 * inet/getrpcbynumber_r.c: Likewise.
60552 * inet/getrpcent.c: Likewise.
60553 * inet/getrpcent_r.c: Likewise.
60554 * inet/getaliasent.c: Likewise.
60555 * inet/getaliasent_r.c: Likewise.
60556 * inet/getaliasname.c: Likewise.
60557 * inet/getaliasname_r.c: Likewise.
60558 * nscd/getgrgid_r.c: Likewise.
60559 * nscd/getgrnam_r.c: Likewise.
60560 * nscd/gethstbyad_r.c: Likewise.
60561 * nscd/gethstbynm3_r.c: Likewise.
60562 * nscd/getpwnam_r.c: Likewise.
60563 * nscd/getpwuid_r.c: Likewise.
60564 * nscd/getsrvbynm_r.c: Likewise.
60565 * nscd/getsrvbypt_r.c: Likewise.
60566 * nscd/gai.c: Likewise.
60567
60568 * configure.in (build_nscd): New substituted variable, set
60569 by --disable-build-nscd and defaults to $use_nscd.
60570 * configure: Regenerated.
60571 * config.make.in (build-nscd): New substituted variable.
60572 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60573 Change conditional to require [$(build-nscd) = yes] as well.
60574 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60575
60576 [BZ# 13696]
60577 * configure.in (use_nscd): New substituted variable, set by
60578 --disable-nscd. If enabled, define USE_NSCD.
60579 * configure: Regenerated.
60580 * config.h.in: Add USE_NSCD.
60581 * config.make.in (use-nscd): New substituted variable.
60582 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60583 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60584 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60585 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60586 (CFLAGS-getgrnam_r.c): Likewise.
60587 (CFLAGS-initgroups.c): Likewise.
60588 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60589 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60590 Variables removed.
60591 * inet/getnetgrent_r.c
60592 (nscd_setnetgrent): New function, broken out of ...
60593 (setnetgrent): ... here. Call it.
60594 (innetgr): Conditionalize nscd bits on [USE_NSCD].
60595 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60596 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60597 * nscd/Makefile (routines, aux): Move definitions after include of
60598 Makeconfig. Conditionalize on [$(use-nscd) != no].
60599 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60600 Conditionalize on [USE_NSCD].
60601 (is_nscd, nscd_init_cb): Likewise.
60602 (nss_load_library): Conditionalize init callback on [USE_NSCD].
60603 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60604 * nss/nss_db/db-init.c: Likewise.
60605 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60606 [USE_NSCD].
60607 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60608 (make_request): Use it.
60609 (cache_valid_p): New function.
60610 (__check_pf): Use it.
60611 * NEWS: Add item for --disable-nscd.
60612
60613 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
60614
60615 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60616 to support sed >= 4.2.1-20-ga9bf076.
60617 * configure: Regenerated.
60618
60619 2012-08-22 Roland McGrath <roland@hack.frob.com>
60620
60621 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60622 Conditionalize whole body on [IREL].
60623
60624 2012-08-22 Jeff Law <law@redhat.com>
60625
60626 [BZ #14505]
60627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60628 if the family is PF_UNSPEC.
60629
60630 2012-08-22 Mike Frysinger <vapier@gentoo.org>
60631
60632 * Makerules (lib-version): Rename from V.
60633 (install-lib-nosubdir): Change V to lib-version.
60634
60635 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
60636
60637 [BZ #14252]
60638 * powerpc32/power6/wcschr.c: New file.
60639 * powerpc32/power6/wcscpy.c: New file.
60640 * powerpc32/power6/wcsrchr.c: New file.
60641 * powerpc64/power6/wcschr.c: New file.
60642 * powerpc64/power6/wcscpy.c: New file.
60643 * powerpc64/power6/wcsrchr.c: New file.
60644
60645 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
60646
60647 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60648 (two_way_short_needle): Use it.
60649 * string/strstr.c (AVAILABLE1_USES_J): Define.
60650 * string/strcasestr.c: Likewise.
60651
60652 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60653 array references.
60654 * string/strcasestr.c (TOLOWER): Make side-effect safe.
60655
60656 [BZ #11607]
60657 * NEWS: Add an entry.
60658 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60659 define their defaults.
60660 (two_way_short_needle): Detect end-of-string on-the-fly.
60661 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60662 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60663 * string/bug-strcasestr1.c: New test.
60664 * string/Makefile: Run it.
60665
60666 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
60667
60668 [BZ #11607]
60669 * string/str-two-way.h (two_way_short_needle): Optimize matching of
60670 the first character.
60671
60672 2012-08-21 Roland McGrath <roland@hack.frob.com>
60673
60674 * csu/elf-init.c (__libc_csu_irel): Function removed.
60675 * csu/libc-start.c (apply_irel): New function.
60676 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60677
60678 2012-08-21 Joseph Myers <joseph@codesourcery.com>
60679
60680 * sysdeps/unix/sysv/linux/kernel-features.h
60681 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60682 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60683 <kernel-features.h>.
60684 [__NR_fadvise64_64]: Make code unconditional.
60685 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60686 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60687 !__NR_fadvise64_64)]: Likewise.
60688 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60689 !__NR_fadvise64_64))]: Likewise.
60690 [__NR_fadvise64]: Make code unconditional.
60691 [!__NR_fadvise64]: Remove conditional code.
60692 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60693 <kernel-features.h>.
60694 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60695 unconditional.
60696 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60697 conditional code.
60698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60699 not include <kernel-features.h>.
60700 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60701 unconditional.
60702 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60703 conditional code.
60704 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60705 include <kernel-features.h>.
60706 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60707 unconditional.
60708 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60709 conditional code.
60710
60711 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
60712
60713 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60714 slight instruction rearrangements per scrollpipe analysis.
60715 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60716
60717 2012-08-20 Roland McGrath <roland@hack.frob.com>
60718
60719 * manual/syslog.texi (syslog; vsyslog, closelog):
60720 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60721 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60722
60723 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60724 DSOCAPS to match condition on defining it.
60725
60726 2012-08-20 Joseph Myers <joseph@codesourcery.com>
60727
60728 * sysdeps/unix/sysv/linux/kernel-features.h
60729 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60731 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60732 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60734 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60735 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60737 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60738 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60739
60740 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60741 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60742
60743 * sysdeps/unix/sysv/linux/kernel-features.h
60744 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60745 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60746 unconditional.
60747 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60748 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60749 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60750 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60751 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60752 Make code unconditional.
60753 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60754 (__mmap64) [!__NR_mmap2]: Likewise.
60755 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60756 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60757 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60758 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60759 [__NR_mmap2]: Make code unconditional.
60760 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60761 (__mmap64) [!__NR_mmap2]: Likewise.
60762
60763 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60764
60765 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60766
60767 2012-08-18 Andreas Jaeger <aj@suse.de>
60768
60769 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60770
60771 2012-08-18 Mike Frysinger <vapier@gentoo.org>
60772
60773 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60774 * include/unistd.h (__have_sock_cloexec): Likewise.
60775 (__have_pipe2): Likewise.
60776 (__have_dup3): Likewise.
60777
60778 2012-08-18 Mike Frysinger <vapier@gentoo.org>
60779
60780 [BZ #9685]
60781 * include/unistd.h (__have_pipe2): Change define into an extern int.
60782 (__have_dup3): Likewise.
60783 * socket/have_sock_cloexec.c: Include fcntl.h.
60784 (__have_pipe2): New variable.
60785 (__have_dup3): Likewise.
60786
60787 2012-08-17 Mike Frysinger <vapier@gentoo.org>
60788
60789 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
60790
60791 2012-08-17 Marek Polacek <polacek@redhat.com>
60792
60793 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
60794 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
60795
60796 2012-08-17 Roland McGrath <roland@hack.frob.com>
60797
60798 * configure.in: Add AC_SUBST for sysheaders.
60799 * configure: Regenerated.
60800 * config.make.in (sysheaders): New substituted variable.
60801
60802 * sysdeps/unix/mkfifo.c: Moved ...
60803 * sysdeps/posix/mkfifo.c: ... here.
60804 * sysdeps/unix/mkfifoat.c: Moved ...
60805 * sysdeps/posix/mkfifoat.c: ... here.
60806
60807 * sysdeps/unix/utime.c: Moved ...
60808 * sysdeps/posix/utime.c: ... here.
60809
60810 * sysdeps/unix/time.c: Moved ...
60811 * sysdeps/posix/time.c: ... here.
60812 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
60813 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
60814
60815 * sysdeps/unix/nice.c: Moved ...
60816 * sysdeps/posix/nice.c: ... here.
60817
60818 * sysdeps/unix/alarm.c: Moved ...
60819 * sysdeps/posix/alarm.c: ... here.
60820
60821 * intl/Makefile ($(codeset_mo)): Depend on the input file.
60822
60823 2012-08-17 Jeff Law <law@redhat.com>
60824
60825 * intl/Makefile (codeset_mo): New variable.
60826 ($(codeset_mo)): New target.
60827 (tst-codeset.out): Depend on that. Remove explicit rule.
60828 (tst-gettext3.out, tst-gettext5.out): Likewise.
60829 (LOCPATH-ENV, tst-codeset-ENV): New variables.
60830 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
60831 * intl/tst-codeset.sh: Remove.
60832 * intl/tst-gettext3.sh: Likewise.
60833 * intl/tst-gettext5.sh: Likewise.
60834
60835 2012-08-17 Roland McGrath <roland@hack.frob.com>
60836
60837 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
60838 * sysdeps/unix/syscalls.list: ... here.
60839
60840 * sysdeps/posix/getaddrinfo.c
60841 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
60842 (gaiconf_init, gaiconf_reload): Use them.
60843 [!_STATBUF_ST_NSEC]
60844 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
60845 Define using time_t rather than struct timespec.
60846
60847 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
60848 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60849 Macros removed.
60850 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60851 [!NO_THREADS].
60852 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60853 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60854 Likewise.
60855
60856 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60857 __libc_cleanup_push argument.
60858
60859 * bits/param.h: New file.
60860 * misc/sys/param.h: New file.
60861 * include/sys/param.h: New file.
60862 * misc/Makefile (headers): Add bits/param.h.
60863 * sysdeps/generic/sys/param.h: File removed.
60864 * sysdeps/unix/sysv/linux/bits/param.h: New file.
60865 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60866 * sysdeps/mach/hurd/bits/param.h: New file.
60867 * sysdeps/mach/hurd/sys/param.h: File removed.
60868
60869 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60870 last change.
60871
60872 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60873 [_IO_MTSAFE_IO].
60874 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60875 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60876 New macros.
60877
60878 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60879 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60880 rather than -D_IO_MTSAFE_IO conditionally.
60881 * stdio-common/Makefile (CPPFLAGS): Likewise.
60882 * wcsmbs/Makefile (CPPFLAGS): Likewise.
60883 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60884 Use $(libio-mtsafe).
60885 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60886 of -D_IO_MTSAFE_IO.
60887 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60888 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60889 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60890 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60891 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60892 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60893 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60894 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60895 (CFLAGS-fread_u_chk.c): Likewise.
60896 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60897 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60898 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60899 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60900 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60901 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60902 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60903 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60904 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60905
60906 * libio/Makefile: Test [$(libc-reentrant) = yes]
60907 instead of [$(filter %REENTRANT, $(defines)) nonempty].
60908
60909 * Makeconfig
60910 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60911 * sysdeps/pthread/configure: File removed.
60912 * sysdeps/pthread/Makeconfig: New file.
60913 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60914 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60915
60916 2012-08-16 Gary Benson <gbenson@redhat.com>
60917
60918 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60919 unmapping the first object in a namespace.
60920
60921 2012-08-16 Roland McGrath <roland@hack.frob.com>
60922
60923 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60924 (__internal_setnetgrent): ... this. Add internal_function to
60925 definition. Add libc_hidden_def.
60926 (setnetgrent): Update caller.
60927 (internal_endnetgrent): Renamed to ...
60928 (__internal_endnetgrent): ... this. Add internal_function to
60929 definition. Add libc_hidden_def.
60930 (endnetgrent): Update caller.
60931 (internal_getnetgrent_r): Renamed to ...
60932 (__internal_getnetgrent_r): ... this. Add internal_function to
60933 definition. Add libc_hidden_def.
60934 (__getnetgrent_r): Update caller.
60935 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
60936
60937 2012-08-16 Joseph Myers <joseph@codesourcery.com>
60938
60939 * stdlib/longlong.h: Update from GCC.
60940
60941 2012-08-16 Roland McGrath <roland@hack.frob.com>
60942
60943 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60944 on _QL, which is set by umul_ppmm but never used.
60945 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60946 variables, which are set by GMP macros but never used.
60947 * stdio-common/_itowa.c (_itowa): Likewise.
60948 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60949 * stdlib/mod_1.c (mpn_mod_1): Likewise.
60950
60951 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
60952
60953 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60954 struct La_sh_regs is not constant.
60955 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60956 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60957 and struct La_sparc64_regs are not constant.
60958
60959 2012-08-16 Joseph Myers <joseph@codesourcery.com>
60960
60961 * sysdeps/unix/sysv/linux/kernel-features.h
60962 (__ASSUME_POSIX_TIMERS): Remove.
60963 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60964 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60965 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60966 Make code unconditional.
60967 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60968 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60969 Make code unconditional.
60970 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60971 * sysdeps/unix/sysv/linux/clock_nanosleep.c
60972 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60973 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60974 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60975 Make code unconditional.
60976 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60977 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60978 (__libc_missing_posix_timers): Remove.
60979
60980 2012-08-15 Roland McGrath <roland@hack.frob.com>
60981
60982 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60983 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60984
60985 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60986
60987 * elf/dl-sym.c: Include <stdlib.h>.
60988
60989 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60990 constants, which avoids warnings in 32-bit builds.
60991
60992 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60993 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60994
60995 * misc/lseek.c: File moved to ...
60996 * io/lseek.c: ... here.
60997
60998 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60999
61000 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61001 shifting LEN more than 31 bits at once.
61002
61003 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61004
61005 [BZ #14195]
61006 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61007 segmentation fault for a case of two empty input strings.
61008 * string/test-strncasecmp.c (check1): Renamed to...
61009 (bz12205): ...this.
61010 (bz14195): Add new testcase for two empty input strings and N > 0.
61011 (test_main): Call new testcase, adapt for renamed function.
61012
61013 2012-08-15 Andreas Jaeger <aj@suse.de>
61014
61015 [BZ #14090]
61016 * crypt/md5test2.c: New test, based on test supplied by Serge
61017 Belyshev <belyshev@depni.sinp.msu.ru>.
61018 * crypt/Makefile (xtests): Add md5test-giant..
61019 * crypt/Makefile ($(objpfx)md5test-giant): Add.
61020
61021 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
61022
61023 [BZ #14090]
61024 * crypt/md5.c (md5_process_block): Don't assume the buffer
61025 length is less than 2**32.
61026 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61027 length is less than 2**64.
61028
61029 2012-08-15 Roland McGrath <roland@hack.frob.com>
61030
61031 * string/str-two-way.h: Include <sys/param.h>.
61032 (MAX): Macro removed.
61033
61034 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61035 Move #define and #undef of memmove to just before and after
61036 including <string.h>.
61037
61038 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61039 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61040 and after including <string.h>. Move declarations of
61041 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61042 to before #include "string/memmove.c".
61043
61044 * include/dirent.h: Declare __getdirentries.
61045
61046 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61047 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61048
61049 2012-08-14 Mike Frysinger <vapier@gentoo.org>
61050
61051 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61052 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61053 * sysdeps/i386/configure: Regenerated.
61054 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61055 STABS_CURRENT_FILE, and STABS_FUN.
61056 (END): Remove call to STABS_FUN_END.
61057 (STABS_CURRENT_FILE1): Delete.
61058 (STABS_CURRENT_FILE): Likewise.
61059 (STABS_FUN): Likewise.
61060 (STABS_FUN_END): Likewise.
61061 (STABS_FUN2): Likewise.
61062 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61063 * sysdeps/x86_64/configure: Regenerated.
61064
61065 2012-08-14 Roland McGrath <roland@hack.frob.com>
61066
61067 * elf/dl-open.c: Include <atomic.h>.
61068 * elf/dl-lookup.c: Likewise.
61069
61070 2012-08-14 Joseph Myers <joseph@codesourcery.com>
61071
61072 * sysdeps/unix/sysv/linux/kernel-features.h
61073 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61074 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61075 unconditionally.
61076 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61077 unconditionally.
61078 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61079 condition on __ASSUME_CLONE_THREAD_FLAGS.
61080
61081 2012-08-14 Andreas Jaeger <aj@suse.de>
61082
61083 * sysdeps/i386/fpu/libm-test-ulps: Update.
61084
61085 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
61086
61087 * include/atomic.h (atomic_exchange_and_add): Split into ...
61088 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61089 New atomic macros.
61090
61091 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
61092
61093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61094
61095 2012-08-13 Jeff Law <law@redhat.com>
61096
61097 * manual/stdio.texi (snprintf): Clarify handling of the trailing
61098 null byte in the output string.
61099
61100 2012-08-10 Joseph Myers <joseph@codesourcery.com>
61101
61102 * sysdeps/unix/sysv/linux/kernel-features.h
61103 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61104 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61105 (__ASSUME_ARG_MAX_STACK_BASED): Define.
61106 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61107 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61108 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
61109 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61110
61111 2012-08-09 Jeff Law <law@redhat.com>
61112
61113 [BZ #13939]
61114 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61115 When avoid_arena is set, don't retry in the that arena. Pick the
61116 next one, whatever it might be.
61117 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61118 (arena_lock): Pass in new parameter to arena_get2.
61119 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61120 arena_get2.
61121 (__libc_malloc): Unify retrying after main arena failure with
61122 __libc_memalign version.
61123 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61124
61125 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
61126
61127 [BZ #14166]
61128 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61129 to __redirect_strstr.
61130 (__strstr_sse42): Use typeof __redirect_strstr.
61131 (__strstr_ia32): Likewise.
61132 (__libc_strstr): New prototype.
61133 (strstr): Renamed to ...
61134 (__libc_strstr): This.
61135 (strstr): New strong alias of __libc_strstr.
61136 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61137 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61138 __redirect_time.
61139 Include <time.h>.
61140 (__libc_time): New prototype.
61141 (time_ifunc): Replace time with __libc_time.
61142 (time): New strong alias and hidden definition of __libc_time.
61143 (__GI_time): Remove strong alias.
61144 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61145 Include <stddef.h>.
61146 (memmove): Redefined to __redirect_memmove.
61147 (__memmove_sse2): Use typeof __redirect_memmove.
61148 (__memmove_ssse3): Likewise.
61149 (__memmove_ssse3_back): Likewise.
61150 (__libc_memmove): New prototype.
61151 (memmove): Renamed to ...
61152 (__libc_memmove): This.
61153 (memmove): New strong alias of __libc_memmove.
61154
61155 2012-08-08 Mark Salter <msalter@redhat.com>
61156
61157 * elf/elf.h
61158 (R_MN10300_TLS_GD): Define.
61159 (R_MN10300_TLS_LD): Likewise.
61160 (R_MN10300_TLS_LDO): Likewise.
61161 (R_MN10300_TLS_GOTIE): Likewise.
61162 (R_MN10300_TLS_IE): Likewise.
61163 (R_MN10300_TLS_LE): Likewise.
61164 (R_MN10300_TLS_DTPMOD): Likewise.
61165 (R_MN10300_TLS_DTPOFF): Likewise.
61166 (R_MN10300_TLS_TPOFF): Likewise.
61167 (R_MN10300_SYM_DIFF): Likewise.
61168 (R_MN10300_ALIGN): Likewise.
61169 (R_MN10300_NUM): Update.
61170
61171 2012-08-08 Joseph Myers <joseph@codesourcery.com>
61172
61173 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61174 Remove.
61175
61176 2012-08-08 Roland McGrath <roland@hack.frob.com>
61177
61178 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61179
61180 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61181 sysdeps/unix -> sysdeps/posix move.
61182 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61183
61184 2012-08-07 Allan McRae <allan@archlinux.org>
61185
61186 [BZ #14303]
61187 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61188 (SUNOS_CPP): Likewise.
61189 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61190 not found.
61191 (open_input): Call CPP using execvp.
61192
61193 2012-08-07 Joseph Myers <joseph@codesourcery.com>
61194
61195 * sysdeps/unix/sysv/linux/kernel-features.h
61196 (__ASSUME_PROT_GROWSUPDOWN): Remove.
61197 (__ASSUME_NO_CLONE_DETACHED): Likewise.
61198 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61199 (__ASSUME_WAITID_SYSCALL): Likewise.
61200 * sysdeps/unix/sysv/linux/dl-execstack.c
61201 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61202 code unconditional.
61203 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61204 conditional code.
61205 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61206 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61207 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61208 code.
61209 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61210 unconditional.
61211 [__ASSUME_WAITID_SYSCALL]: Likewise.
61212 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61213
61214 2012-08-07 Roland McGrath <roland@hack.frob.com>
61215
61216 * sysdeps/unix/closedir.c: Renamed to ...
61217 * sysdeps/posix/closedir.c: ... here.
61218 * sysdeps/unix/dirfd.c: Renamed to ...
61219 * sysdeps/posix/dirfd.c: ... here.
61220 * sysdeps/unix/dirstream.h: Renamed to ...
61221 * sysdeps/posix/dirstream.h: ... here.
61222 * sysdeps/unix/fdopendir.c: Renamed to ...
61223 * sysdeps/posix/fdopendir.c: ... here.
61224 * sysdeps/unix/opendir.c: Renamed to ...
61225 * sysdeps/posix/opendir.c: ... here.
61226 * sysdeps/unix/readdir.c: Renamed to ...
61227 * sysdeps/posix/readdir.c: ... here.
61228 * sysdeps/unix/readdir_r.c: Renamed to ...
61229 * sysdeps/posix/readdir_r.c: ... here.
61230 * sysdeps/unix/rewinddir.c: Renamed to ...
61231 * sysdeps/posix/rewinddir.c: ... here.
61232 * sysdeps/unix/seekdir.c: Renamed to ...
61233 * sysdeps/posix/seekdir.c: ... here.
61234 * sysdeps/unix/telldir.c: Renamed to ...
61235 * sysdeps/posix/telldir.c: ... here.
61236 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61237 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61238 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61239 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61240
61241 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61242 * bits/fcntl.h: ... here.
61243
61244 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61245 not 0.
61246 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61247 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61248 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61249 (struct flock): Move l_start, l_len to the beginning.
61250 Use __pid_t for l_pid.
61251 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61252 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61253 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61254 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61255 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61256 [__USE_LARGEFILE64] (struct flock64): New type.
61257 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61258
61259 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61260 * bits/dirent.h: ... here.
61261
61262 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61263 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61264
61265 2012-08-07 Joseph Myers <joseph@codesourcery.com>
61266
61267 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61268 Change from 2.6.0 to 2.6.16.
61269 * sysdeps/unix/sysv/linux/configure: Regenerated.
61270 * sysdeps/unix/sysv/linux/kernel-features.h
61271 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61272 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61273 version.
61274 (__ASSUME_UTIMES): Likewise.
61275 (__ASSUME_CLONE_STOPPED): Remove.
61276 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61277 architectures, not kernel version.
61278 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61279 (__ASSUME_NO_CLONE_DETACHED): Likewise.
61280 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61281 (__ASSUME_WAITID_SYSCALL): Likewise.
61282 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61283 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61284 * README: State 2.6.16 as minimum Linux kernel version. Do not
61285 refer to older versions.
61286
61287 2012-08-06 Roland McGrath <roland@hack.frob.com>
61288
61289 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61290 Define alphasort64 as an alias.
61291 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61292 Define versionsort64 as an alias.
61293 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61294 Define scandir64 as an alias.
61295 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61296 Define scandirat64 as an alias.
61297 * dirent/alphasort64.c (alphasort64):
61298 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61299 * dirent/versionsort64.c: Likewise.
61300 * dirent/scandir64.c: Likewise.
61301 * dirent/scandirat64.c: Likewise.
61302 * sysdeps/wordsize-64/alphasort.c: File removed.
61303 * sysdeps/wordsize-64/alphasort64.c: File removed.
61304 * sysdeps/wordsize-64/scandir.c: File removed.
61305 * sysdeps/wordsize-64/scandir64.c: File removed.
61306 * sysdeps/wordsize-64/scandirat.c: File removed.
61307 * sysdeps/wordsize-64/scandirat64.c: File removed.
61308 * sysdeps/wordsize-64/versionsort.c: File removed.
61309 * sysdeps/wordsize-64/versionsort64.c: File removed.
61310 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61311 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61312 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61313 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61314 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61315 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61316 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61317 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61318
61319 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61320 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61321 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61322 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61323 [defined __arch64__ || defined __sparcv9]
61324 (__INO_T_MATCHES_INO64_T): New macro.
61325 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61326 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61327 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61328 * sysdeps/unix/sysv/linux/bits/dirent.h
61329 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61330 (_DIRENT_MATCHES_DIRENT64): New macro.
61331
61332 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61333 Define lockf64 as an alias.
61334 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61335 Define fseeko64 as an alias.
61336 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61337 Define ftello64 as an alias.
61338 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61339 Define _IO_fgetpos64 and fgetpos64 as aliases.
61340 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61341 Define _IO_fsetpos64 and fsetpos64 as aliases.
61342 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61343 Conditionalize body on this.
61344 * libio/fseeko64.c: Likewise.
61345 * libio/ftello64.c: Likewise.
61346 * libio/iofgetpos64.c: Likewise.
61347 * libio/iofsetpos64.c: Likewise.
61348 * sysdeps/wordsize-64/lockf.c: File removed.
61349 * sysdeps/wordsize-64/lockf64.c: File removed.
61350 * sysdeps/wordsize-64/fseeko.c: File removed.
61351 * sysdeps/wordsize-64/fseeko64.c: File removed.
61352 * sysdeps/wordsize-64/ftello.c: File removed.
61353 * sysdeps/wordsize-64/ftello64.c: File removed.
61354 * sysdeps/wordsize-64/iofgetpos.c: File removed.
61355 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61356 * sysdeps/wordsize-64/iofsetpos.c: File removed.
61357 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61358 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61359 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61360 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61361 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61362 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61363 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61364 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61365 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61366 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61367 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61368
61369 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61370 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61371 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61372 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61373 [defined __arch64__ || defined __sparcv9]
61374 (__OFF_T_MATCHES_OFF64_T): New macro.
61375 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61376 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61378 (__OFF_T_MATCHES_OFF64_T): New macro.
61379
61380 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
61381
61382 * stdlib/secure-getenv.c (__secure_getenv): Replace
61383 GLIBC_2_16 with GLIBC_2_17.
61384
61385 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
61386
61387 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61388 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61389
61390 2012-08-03 David S. Miller <davem@davemloft.net>
61391
61392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61393
61394 2012-08-03 Joseph Myers <joseph@codesourcery.com>
61395
61396 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61397 Remove.
61398 (__ASSUME_CORRECT_SI_PID): Likewise.
61399 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61400 (__ASSUME_TMPFS_NAME): Likewise.
61401 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61402 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61403 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61404 (HAVE_AUX_SECURE): Make definition unconditional.
61405 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61406 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61407
61408 2012-08-03 Roland McGrath <roland@hack.frob.com>
61409
61410 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61411 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61412 * sysdeps/mach/hurd/eloop-threshold.h: New file.
61413 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61414 __eloop_threshold instead of SYMLOOP_MAX.
61415
61416 * sysdeps/generic/eloop-threshold.h: New file.
61417 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61418 of MAXSYMLINKS.
61419 * elf/chroot_canon.c (chroot_canon): Likewise.
61420
61421 2012-08-03 Joseph Myers <joseph@codesourcery.com>
61422
61423 [BZ #13717]
61424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61425 Change to 2.6.0 everywhere.
61426 * sysdeps/unix/sysv/linux/configure: Regenerated.
61427 * sysdeps/unix/sysv/linux/kernel-features.h
61428 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61429 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61430 kernel versions.
61431 (__ASSUME_POSIX_TIMERS): Define unconditionally.
61432 (__ASSUME_FUTEX_REQUEUE): Remove.
61433 (__ASSUME_STATFS64): Define unconditionally.
61434 (__ASSUME_AT_SECURE): Likewise.
61435 (__ASSUME_CORRECT_SI_PID): Likewise.
61436 (__ASSUME_TGKILL): Define without depending on kernel version for
61437 i386.
61438 (__ASSUME_UTIMES): Likewise.
61439 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61440 kernel version.
61441 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61442 (__ASSUME_TMPFS_NAME): Likewise.
61443 * README: Update reference to Linux kernel versions.
61444
61445 2012-08-02 Marek Polacek <polacek@redhat.com>
61446
61447 [BZ# 14150]
61448 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
61449 libc_cv_asm_type_prefix with %.
61450 * configure: Regenerated.
61451 * include/libc-symbols.h: Remove comment about
61452 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61453 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61454 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61455 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61456 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61457 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61458 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61459 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61460 * elf/tst-unique2mod1.c: Likewise.
61461 * elf/tst-unique1mod2.c: Likewise.
61462 * elf/tst-unique1mod1.c: Likewise.
61463 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61464 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61465 Replace ASM_TYPE_DIRECTIVE with .type.
61466 * sysdeps/s390/s390-64/sysdep.h: Likewise.
61467 * sysdeps/i386/sysdep.h: Likewise.
61468 * sysdeps/x86_64/sysdep.h: Likewise.
61469 * sysdeps/sh/sysdep.h: Likewise.
61470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61471 Do not define ASM_TYPE_DIRECTIVE.
61472 * sysdeps/powerpc/sysdep.h: Likewise.
61473 * sysdeps/powerpc/powerpc32/sysdep.h:
61474 Replace ASM_TYPE_DIRECTIVE with .type.
61475 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61476 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61477 * sysdeps/i386/fpu/e_powf.S: Likewise.
61478 * sysdeps/i386/fpu/e_expl.S: Likewise.
61479 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61480 * sysdeps/i386/fpu/e_acosh.S: Likewise.
61481 * sysdeps/i386/fpu/e_pow.S: Likewise.
61482 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61483 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61484 * sysdeps/i386/fpu/s_expm1.S: Likewise.
61485 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61486 * sysdeps/i386/fpu/e_log2.S: Likewise.
61487 * sysdeps/i386/fpu/e_log2l.S: Likewise.
61488 * sysdeps/i386/fpu/e_scalb.S: Likewise.
61489 * sysdeps/i386/fpu/e_powl.S: Likewise.
61490 * sysdeps/i386/fpu/e_log10f.S: Likewise.
61491 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61492 * sysdeps/i386/fpu/e_logl.S: Likewise.
61493 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61494 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61495 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61496 * sysdeps/i386/fpu/e_log2f.S: Likewise.
61497 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61498 * sysdeps/i386/fpu/e_log.S: Likewise.
61499 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61500 * sysdeps/i386/fpu/e_logf.S: Likewise.
61501 * sysdeps/i386/fpu/e_log10l.S: Likewise.
61502 * sysdeps/i386/fpu/e_atanh.S: Likewise.
61503 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61504 * sysdeps/i386/fpu/e_log10.S: Likewise.
61505 * sysdeps/i386/fpu/s_frexp.S: Likewise.
61506 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61507 * sysdeps/i386/fpu/s_asinh.S: Likewise.
61508 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61509 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61510 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61511 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61512 * sysdeps/i386/i686/strtok.S: Likewise.
61513 * sysdeps/i386/i386-mcount.S: Likewise.
61514 * sysdeps/i386/strtok.S: Likewise.
61515 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61516 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61517 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61518 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61519 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61520 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61521 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61522 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61523 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61524 * sysdeps/x86_64/_mcount.S: Likewise.
61525 * sysdeps/x86_64/strtok.S: Likewise.
61526 * sysdeps/sh/_mcount.S: Likewise.
61527
61528 2012-08-01 Roland McGrath <roland@hack.frob.com>
61529
61530 * libio/iofopen.c: Include <fcntl.h>.
61531 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61532 (_IO_fopen64, fopen64): Define as aliases.
61533 * libio/iofopen64.c: Include <fcntl.h>.
61534 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61535 Conditionalize body on this.
61536 * sysdeps/wordsize-64/iofopen.c: File removed.
61537 * sysdeps/wordsize-64/iofopen64.c: File removed.
61538
61539 2012-08-01 Marek Polacek <polacek@redhat.com>
61540
61541 * libc/Makeconfig: Use elf in place of binfmt-subdir.
61542 Use dlfcn directly instead of a variable.
61543 (binfmt-subdir): Do not define.
61544 (dlfcn): Likewise.
61545
61546 2012-08-01 Joseph Myers <joseph@codesourcery.com>
61547
61548 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61549 Remove all definitions.
61550 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61551 <kernel-features.h>.
61552 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61553 (miss_F_GETOWN_EX): Remove all definitions.
61554 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61555 macro definition.
61556 [!__ASSUME_FCNTL64]: Remove conditional code.
61557 [__ASSUME_FCNTL64]: Make code unconditional.
61558 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61559 <kernel-features.h>.
61560 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61561 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61562 (lockf64) [__NR_fcntl64]: Make code unconditional.
61563 (lockf64) [__ASSUME_FCNTL64]: Likewise.
61564
61565 * sysdeps/unix/sysv/linux/kernel-features.h
61566 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61567 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61568 Make code unconditional.
61569 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61570 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61572 [__NR_vfork]: Make code unconditional.
61573 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61574 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61576 [__NR_vfork]: Make code unconditional.
61577 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61578 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61579
61580 2012-08-01 Roland McGrath <roland@hack.frob.com>
61581
61582 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61583 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61584
61585 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61586 Define mkstemp64 as an alias.
61587 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61588 Define mkstemps64 as an alias.
61589 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61590 Define mkostemp64 as an alias.
61591 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61592 Define mkostemps64 as an alias.
61593 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61594 Conditionalize body on this.
61595 * misc/mkostemp64.c: Likewise.
61596 * misc/mkostemps64.c: Likewise.
61597 * misc/mkstemps64.c: Likewise.
61598 * sysdeps/wordsize-64/mkstemp64.c: File removed.
61599 * sysdeps/wordsize-64/mkostemp64.c: File removed.
61600 * sysdeps/wordsize-64/mkostemp.c: File removed.
61601 * sysdeps/wordsize-64/mkstemp.c: File removed.
61602 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61603 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61604 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61605 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61606
61607 [BZ #14138]
61608 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61609 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61610 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61611 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61612
61613 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61614 compat_symbol macros from <shlib-compat.h> rather than the underlying
61615 default_symbol_version and symbol_version macros, so that DEFAULT
61616 lines in shlib-versions are respected.
61617 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61618
61619 2012-08-01 Florian Weimer <fweimer@redhat.com>
61620
61621 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61622 Declare with warn_unused_result.
61623 (setgid, setregid, setegid, setresgid): Likewise.
61624 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61625 Likewise.
61626 * WUR-REPORT: Remove set*id functions.
61627
61628 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
61629
61630 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61631
61632 2012-07-31 Roland McGrath <roland@hack.frob.com>
61633
61634 [BZ #10191]
61635 * include/sys/socket.h (__libc_accept, __libc_accept4):
61636 Add attribute_hidden.
61637 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61638
61639 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61640 use of PTR_MANGLE.
61641 * inet/getnetgrent_r.c (setup): Likewise.
61642
61643 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61644
61645 2012-07-31 David S. Miller <davem@davemloft.net>
61646
61647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61648
61649 2012-07-31 Joseph Myers <joseph@codesourcery.com>
61650
61651 [BZ #13629]
61652 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61653 value between 1.0 and 2.0 and smaller part has absolute value less
61654 than 1.0.
61655 * math/s_clog10.c (__clog10): Likewise.
61656 * math/s_clog10f.c (__clog10f): Likewise.
61657 * math/s_clog10l.c (__clog10l): Likewise.
61658 * math/s_clogf.c (__clogf): Likewise.
61659 * math/s_clogl.c (__clogl): Likewise.
61660 * math/libm-test.inc (clog_test): Add more tests.
61661 (clog10_test): Likewise.
61662 * sysdeps/i386/fpu/libm-test-ulps: Update.
61663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61664
61665 2012-07-31 Florian Weimer <fweimer@redhat.com>
61666
61667 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61668 Exit with zero in case no suitable GID is found, and write a
61669 message to standard error.
61670
61671 2012-07-30 Roland McGrath <roland@hack.frob.com>
61672
61673 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61674 rather than to 1.
61675 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61676 (MAXPATHLEN): Removed.
61677 (NOGROUP, NODEV): New macros.
61678 (setbit, clrbit, isset, isclr): New macros.
61679 (howmany, roundup, powerof2): New macros.
61680 (DEV_BSIZE): New macro.
61681
61682 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61683 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61684
61685 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61686 definition on [!__NO_LONG_DOUBLE_MATH].
61687
61688 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61689 PTR_MANGLE and PTR_DEMANGLE.
61690
61691 * socket/accept4.c (accept4): Rename to __libc_accept4.
61692 Define accept4 as a weak alias.
61693
61694 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61695 on [_DIRENT_HAVE_D_TYPE].
61696 * io/ftw.c (ftw_dir): Likewise.
61697
61698 * io/xmknod.c (__xmknod): Don't check PATH for being null.
61699
61700 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61701
61702 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61703 Use the BSD numbers rather than the arbitrary ones we had.
61704 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61705 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61706 (SIGXCPU, SIGXFSZ): New macros.
61707 (_NSIG): Now 32.
61708
61709 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61710 initializer on [_LIBC_REENTRANT].
61711
61712 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61713 definitions inside [_POSIX_MAPPED_FILES].
61714
61715 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61716
61717 * dirent/opendir.c: Include <fcntl.h>.
61718
61719 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61720 (__libc_getspecific): Likewise.
61721 (__libc_key_create): Likewise.
61722
61723 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61724 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61725 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61726 (tmpfile64): Define as alias.
61727 * sysdeps/wordsize-64/tmpfile.c: File removed.
61728 * sysdeps/wordsize-64/tmpfile64.c: File removed.
61729 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61730 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61731
61732 * stdio-common/vfscanf.c: Include <stdbool.h>.
61733 * nss/makedb.c: Likewise.
61734 * stdio-common/_i18n_number.h: Likewise.
61735 * argp/argp-help.c: Likewise.
61736 * posix/wordexp.c: Likewise.
61737 * sysdeps/posix/spawni.c: Likewise.
61738 * nss/nss_files/files-initgroups.c: Likewise.
61739 * stdio-common/reg-modifier.c: Include <stdlib.h>.
61740 * nss/nss_files/files-initgroups.c: Likewise.
61741 * nss/nss_db/db-netgrp.c: Likewise.
61742 * nss/nss_db/db-initgroups.c: Likewise.
61743 * io/fchmodat.c: Include <sys/stat.h>.
61744
61745 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61746 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61747
61748 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61749 [HAVE_MMAP].
61750
61751 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61752 Add multiple inclusion protection.
61753
61754 2012-07-27 David S. Miller <davem@davemloft.net>
61755
61756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61757
61758 2012-07-27 Gary Benson <gbenson@redhat.com>
61759
61760 [BZ #14298]
61761 * elf/rtld.c: Include <stap-probe.h>.
61762 (dl_main): Added static probes "init_start" and "init_complete".
61763 * elf/dl-load.c: Include <stap-probe.h>.
61764 (lose): Take new parameter "nsid".
61765 Added static probe "map_failed".
61766 (_dl_map_object_from_fd): Pass namespace id to lose.
61767 Added static probe "map_start".
61768 (open_verify): Pass namespace id to lose.
61769 * elf/dl-open.c: Include <stap-probe.h>.
61770 (dl_open_worker) Added static probes "map_complete", "reloc_start"
61771 and "reloc_complete".
61772 * elf/dl-close.c: Include <stap-probe.h>.
61773 (_dl_close_worker): Added static probes "unmap_start" and
61774 "unmap_complete".
61775 * elf/rtld-debugger-interface.txt: New file documenting the above.
61776
61777 2012-07-26 Roland McGrath <roland@hack.frob.com>
61778
61779 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
61780 rather than a string variable.
61781 * sunrpc/rpc_main.c (h_output): Likewise.
61782 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
61783
61784 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
61785
61786 * inet/check_native.c: New file.
61787
61788 2012-07-26 Joseph Myers <joseph@codesourcery.com>
61789
61790 [BZ #13629]
61791 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
61792 if larger part has absolute value 1.0.
61793 * math/s_clog10.c (__clog10): Likewise.
61794 * math/s_clog10f.c (__clog10f): Likewise.
61795 * math/s_clog10l.c (__clog10l): Likewise.
61796 * math/s_clogf.c (__clogf): Likewise.
61797 * math/s_clogl.c (__clogl): Likewise.
61798 * math/libm-test.inc (clog_test): Add more tests.
61799 (clog10_test): Likewise.
61800 * sysdeps/i386/fpu/libm-test-ulps: Update.
61801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61802
61803 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
61804 (pltexit): Likewise.
61805 (La_regs): Likewise.
61806 (La_retval): Likewise.
61807 (int_retval): Likewise.
61808 Update #error for removed macros to refer only to definitions in
61809 tst-audit.h.
61810 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
61811 macro.
61812 (pltexit): Likewise.
61813 (La_regs): Likewise.
61814 (La_retval): Likewise.
61815 (int_retval): Likewise.
61816 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
61817 macro.
61818 (pltexit): Likewise.
61819 (La_regs): Likewise.
61820 (La_retval): Likewise.
61821 (int_retval): Likewise.
61822 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
61823 macro.
61824 (pltexit): Likewise.
61825 (La_regs): Likewise.
61826 (La_retval): Likewise.
61827 (int_retval): Likewise.
61828 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
61829 macro.
61830 (pltexit): Likewise.
61831 (La_regs): Likewise.
61832 (La_retval): Likewise.
61833 (int_retval): Likewise.
61834 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
61835 macro.
61836 (pltexit): Likewise.
61837 (La_regs): Likewise.
61838 (La_retval): Likewise.
61839 (int_retval): Likewise.
61840 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
61841 macro.
61842 (pltexit): Likewise.
61843 (La_regs): Likewise.
61844 (La_retval): Likewise.
61845 (int_retval): Likewise.
61846 * sysdeps/generic/tst-audit.h: Update comment to refer only to
61847 macro definitions in tst-audit.h.
61848 * sysdeps/i386/tst-audit.h: New file.
61849 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
61850 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61851 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61852 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61853 * sysdeps/sh/tst-audit.h: Likewise.
61854 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61855 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61856 * sysdeps/x86_64/tst-audit.h: Likewise.
61857
61858 2012-07-26 Andreas Jaeger <aj@suse.de>
61859
61860 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61861 ptrace.
61862
61863 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61864 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61865 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61866 PTRACE_O_MASK.
61867 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61868 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61869 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61870
61871 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61872 value.
61873
61874 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61875 _sigsys.
61876 (si_call_addr, si_syscall, si_arch): Define new macro.
61877 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61878 _sigsys.
61879 (si_call_addr, si_syscall, si_arch): Define new marcro.
61880 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61881 _sigsys.
61882 (si_call_addr, si_syscall, si_arch): Define new macro.
61883 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61884 _sigsys.
61885 (si_call_addr, si_syscall, si_arch): Define new macro.
61886
61887 2012-07-25 Joseph Myers <joseph@codesourcery.com>
61888
61889 [BZ #13717]
61890 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61891 Change to 2.4.21 where previously 2.4.1.
61892 * sysdeps/unix/sysv/linux/configure: Regenerated.
61893 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61894 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61895 Linux kernel version.
61896 (__ASSUME_STD_AUXV): Remove.
61897 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61898 kernel version.
61899 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61900 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61901 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61902 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61903 (__ASSUME_NETLINK_SUPPORT): Likewise.
61904 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61905 (__no_netlink_support): Remove conditional definition.
61906 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61907 Remove.
61908 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61909 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61910 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61911 (if_nameindex_ioctl): Remove.
61912 (if_nameindex_netlink): Do not handle __no_netlink_support.
61913 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61914 code.
61915 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61916 Remove conditional code.
61917 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61918 code.
61919 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61920 unconditional.
61921 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61922 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61923 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61924 Remove.
61925 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61926 [!__ASSUME_STD_AUXV]: Remove conditional code.
61927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61928 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61929 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61931 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61932 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61933 code.
61934 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61936 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61937 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61938 conditional code.
61939 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61941 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61942 code.
61943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61944 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61945 conditional code.
61946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61947 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61948 code unconditional.
61949 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61950 conditional code.
61951 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61952 unconditional.
61953 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61954 conditional code.
61955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61956 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61957 unconditional.
61958 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61959 conditional code.
61960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61961 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61962 code unconditional.
61963 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61964 conditional code.
61965 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61966 unconditional.
61967 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61968 conditional code.
61969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61970 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61971 code unconditional.
61972 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61973 conditional code.
61974 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61975 unconditional.
61976 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61977 conditional code.
61978
61979 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
61980
61981 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61982 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61983 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61984 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61985 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61986 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61987 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61988 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61989 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61990 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61991 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61992 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61993 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61994 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61995 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61996 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61997 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61998 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61999 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62000 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62001 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62002 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62003 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62004
62005 2012-07-25 Florian Weimer <fweimer@redhat.com>
62006
62007 * Versions.def: Add GLIBC_2.17.
62008 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62009 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62010 Introduce __libc_secure_getenv.
62011 * stdlib/Versions (2.17): Add secure_getenv
62012 (GLIBC_PRIVATE): Add __libc_secure_getenv.
62013 * stdlib/secure-getenv.c: Rename __secure_getenv to
62014 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
62015 symbol __secure_getenv for GLIBC_2.0.
62016 * stdlib/tst-secure-getenv.c: New.
62017 * stdlib/Makefile (tests): Add testcase.
62018 * manual/startup.texi (Environment Access): Document
62019 secure_getenv.
62020 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62021 __libc_secure_getenv.
62022 * inet/ruserpass.c (ruserpass): Likewise.
62023 * malloc/mtrace.c (mtrace): Likewise.
62024 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62025 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62026 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62027 * sysdeps/posix/tempname.c: Likewise. Evaluate
62028 HAVE_SECURE_GETENV.
62029 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62030 __secure_getenv to __libc_secure_getenv.
62031 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62033 Likewise.
62034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62035 Likewise.
62036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62038 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62043
62044 2012-07-25 Joseph Myers <joseph@codesourcery.com>
62045
62046 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62047 (struct La_i86_retval): Likewise.
62048 (struct La_x86_64_regs): Likewise.
62049 (struct La_x86_64_retval): Likewise.
62050 (struct La_x32_regs): Likewise.
62051 (struct La_x32_retval): Likewise.
62052 (struct La_ppc32_regs): Likewise.
62053 (struct La_ppc32_retval): Likewise.
62054 (struct La_ppc64_regs): Likewise.
62055 (struct La_ppc64_retval): Likewise.
62056 (struct La_sh_regs): Likewise.
62057 (struct La_sh_retval): Likewise.
62058 (struct La_s390_32_regs): Likewise.
62059 (struct La_s390_32_retval): Likewise.
62060 (struct La_s390_64_regs): Likewise.
62061 (struct La_s390_64_retval): Likewise.
62062 (struct La_sparc32_regs): Likewise.
62063 (struct La_sparc32_retval): Likewise.
62064 (struct La_sparc64_regs): Likewise.
62065 (struct La_sparc64_retval): Likewise.
62066 (struct audit_ifaces): Remove architecture-specific pltenter and
62067 pltexit members.
62068 * sysdeps/i386/ldsodefs.h: New file.
62069 * sysdeps/powerpc/ldsodefs.h: Likewise.
62070 * sysdeps/s390/ldsodefs.h: Likewise.
62071 * sysdeps/sh/ldsodefs.h: Likewise.
62072 * sysdeps/sparc/ldsodefs.h: Likewise.
62073 * sysdeps/x86_64/ldsodefs.h: Likewise.
62074
62075 2012-07-25 Marek Polacek <polacek@redhat.com>
62076
62077 [BZ #6808]
62078 * math/libm-test.inc (yn_test): Add another test.
62079 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62080 to ERANGE when the result is +-Inf.
62081 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62082 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62083 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62084 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62085
62086 2012-07-24 Joseph Myers <joseph@codesourcery.com>
62087
62088 * conform/data/time.h-data (NULL): Use macro-constant. Require
62089 equal to 0.
62090 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
62091 clock_t.
62092 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
62093
62094 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
62095
62096 * configure.in <sysdeps resolving>: Correct printing
62097 Implies_before.
62098 * configure: Regenerate.
62099
62100 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
62101
62102 * math/w_ilogb.c: Include <limits.h>.
62103 * math/w_ilogbl.c: Likewise.
62104
62105 2012-07-20 Joseph Myers <joseph@codesourcery.com>
62106
62107 * manual/lang.texi (__va_copy): Document primarily as ISO C99
62108 va_copy. Document allowing for unavailable va_copy only as
62109 pre-C99 compatibility.
62110 * manual/string.texi (Copying and Concatenation): Use va_copy
62111 instead of __va_copy in concat example.
62112
62113 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
62114
62115 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62116 (__sendto): Use create_address_port. Initialize APORT and deallocate
62117 it if not null.
62118
62119 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62120 with O_NOLINK passed to __file_name_lookup.
62121
62122 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62123 with O_NOLINK passed to __file_name_lookup.
62124
62125 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62126 negative N or less than NGIDS.
62127
62128 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62129 type to string_t. Set ERANGE as errno and return it if NAME is not big
62130 enough. Use memcpy instead of strncpy.
62131
62132 2012-07-20 Joseph Myers <joseph@codesourcery.com>
62133
62134 * elf/Makefile (check-data): Remove.
62135 (localplt.data): New vpath directive.
62136 ($(objpfx)check-localplt.out): Use localplt.data from vpath
62137 instead of $(check-data).
62138 * scripts/data/localplt-generic.data: Move to ...
62139 * sysdeps/generic/localplt.data: ... here.
62140 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62141 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62142 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62144 ... here.
62145 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62147 ... here.
62148 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62150 ... here.
62151 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62153 ... here.
62154 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62156 ... here.
62157 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62159 ... here.
62160
62161 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62162
62163 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62164 PPC32 and PPC64 files.
62165 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62166 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62167
62168 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62169
62170 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62171 __makecontext_ret to ...
62172 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62173 ... here and call exit if uc_link is NULL. New file.
62174 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62175 __makecontext_ret.S.
62176 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62177 __makecontext_ret to ...
62178 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62179 ... here and call exit if uc_link is NULL. New file.
62180 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62181 __makecontext_ret.S.
62182
62183 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62184
62185 * elf/elf.h (R_390_IRELATIVE): New definition.
62186 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62187 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
62188 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62189 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62190 (elf_machine_lazy_rel): Likewise.
62191 * sysdeps/s390/dl-irel.h: New file.
62192 * sysdeps/s390/s390-64/memcpy.S: New asm code.
62193 * sysdeps/s390/s390-64/memset.S: New asm code.
62194 * sysdeps/s390/s390-64/memcmp.S: New asm code.
62195 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62196 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62197 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62198 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62199 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62200 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62201 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62202 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62203 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62204 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62205 * sysdeps/s390/s390-32/memcpy.S: New asm code.
62206 * sysdeps/s390/s390-32/memset.S: New asm code.
62207 * sysdeps/s390/s390-32/memcmp.S: New asm code.
62208
62209 2012-07-17 Marek Polacek <polacek@redhat.com>
62210
62211 [BZ #14349]
62212 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62213 * sysdeps/s390/s390-64/configure.in: Likewise.
62214 * sysdeps/sparc/configure.in: Likewise.
62215 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62216 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62217 * sysdeps/i386/configure.in: Likewise.
62218 * sysdeps/x86_64/configure.in: Likewise.
62219 * sysdeps/sh/configure.in: Likewise.
62220 * sysdeps/s390/s390-32/configure: Regenerated.
62221 * sysdeps/s390/s390-64/configure: Likewise.
62222 * sysdeps/x86_64/configure: Likewise.
62223 * sysdeps/sh/configure: Likewise.
62224 * sysdeps/powerpc/powerpc64/configure: Likewise.
62225 * sysdeps/powerpc/powerpc32/configure: Likewise.
62226 * sysdeps/sparc/configure: Likwise.
62227 * sysdeps/i386/configure: Likewise.
62228
62229 * elf/dl-open.c: Comment fixes.
62230
62231 2012-07-17 Joseph Myers <joseph@codesourcery.com>
62232
62233 * Makefile [CXX] (check-data): Remove.
62234 [CXX] (c++-types.data): New vpath directive.
62235 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62236 vpath. Do not allow for C++ type data being missing.
62237 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62238 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62239 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62240 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62241 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62242 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62243 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62245 ... here.
62246 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62248 ... here.
62249 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62251 ... here.
62252 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62254 ... here.
62255 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62257 ... here.
62258 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62260 ... here.
62261 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62263 ... here.
62264 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62266
62267 * elf/tls-macros.h (TLS_LE): Move architecture-specific
62268 definitions to architecture-specific files.
62269 (TLS_IE): Likewise.
62270 (TLS_LD): Likewise.
62271 (TLS_GD): Likewise.
62272 * sysdeps/i386/tls-macros.h: New file.
62273 * sysdeps/powerpc/tls-macros.h: Likewise.
62274 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62275 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62276 * sysdeps/sh/tls-macros.h: Likewise.
62277 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62278 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62279 * sysdeps/x86_64/tls-macros.h: Likewise.
62280
62281 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
62282
62283 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62284 zero value for regular exit case.
62285
62286 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62287 (__start_context): Preserve zero value for regular exit case.
62288
62289 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
62290 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62291
62292 * manual/setjmp.texi (setcontext): Clarify normal process
62293 termination when uc_link is the null pointer.
62294 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62295 exit call.
62296
62297 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
62298
62299 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62300 preprocessor. Test for each exception mask separately.
62301
62302 2012-07-16 Andreas Jaeger <aj@suse.de>
62303
62304 * po/ru.po: Update from translation team.
62305
62306 2012-07-15 Joseph Myers <joseph@codesourcery.com>
62307
62308 * conform/data/string.h-data (NULL): Use macro-constant. Require
62309 equal to 0.
62310 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62311 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62312 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62313 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62314 [ISO || ISO99 || ISO11] (*_t): Do not allow.
62315
62316 2012-07-13 Andreas Jaeger <aj@suse.de>
62317
62318 * po/fr.po: Update from translation team.
62319
62320 2012-07-12 Marek Polacek <polacek@redhat.com>
62321
62322 [BZ #14173]
62323 * math/libm-test.inc (yn_test): Add test for BZ #14173.
62324 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62325 loop condition.
62326
62327 2012-07-12 Joseph Myers <joseph@codesourcery.com>
62328
62329 [BZ #13717]
62330 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62331 Change to 2.4.1 where previously 2.4.0.
62332 * sysdeps/unix/sysv/linux/configure: Regenerated.
62333 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62334 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62335 version.
62336 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62337 (__ASSUME_AT_CLKTCK): Remove.
62338 (__ASSUME_AT_PAGESIZE): Likewise.
62339 (__ASSUME_AT_XID): Likewise.
62340 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62341 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62342 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62343 unconditionally.
62344 (HAVE_AUX_PAGESIZE): Likewise.
62345 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62346 [__ASSUME_AT_CLKTCK]: Make code unconditional.
62347 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62348
62349 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
62350
62351 [BZ #14307]
62352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62353 the temporary buffer used to invoke __gethostbyname2_r,
62354 __gethostbyaddr_r and gethostbyname4_r to make room for struct
62355 host_data / struct gaih_addrtuple.
62356 * resolv/nss_dns/dns-host.c (global scope): Move definition of
62357 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62358 header file nss/nsswitch.h.
62359 * nss/nsswitch.h (global scope): Add definition of implementation
62360 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62361 resolv/nss_dns/dns-host.c).
62362
62363 2012-07-11 Andreas Jaeger <aj@suse.de>
62364
62365 * po/fr.po: Update from translation team.
62366
62367 * po/sv.po: Update from translation team
62368 * po/fr.po: Another update from translation team.
62369
62370 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62371
62372 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62373 for subnormals or multiply small sinh result by itself.
62374 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62376
62377 2012-07-11 David S. Miller <davem@davemloft.net>
62378
62379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62380
62381 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
62382
62383 [BZ #14347]
62384 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62385 (INTERNAL_MARK): Shift it here.
62386
62387 2012-07-10 Marek Polacek <polacek@redhat.com>
62388
62389 [BZ #14151]
62390 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
62391 libc_cv_asm_global_directive with .globl.
62392 * configure: Regenerated.
62393 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62394 with .globl.
62395 * sysdeps/i386/configure: Regenerated.
62396 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62397 with .globl.
62398 * sysdeps/x86_64/configure: Regenerated.
62399 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62400 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62401 * elf/tst-unique2mod2.c: Likewise.
62402 * elf/tst-unique2mod1.c: Likewise.
62403 * elf/tst-unique1mod2.c: Likewise.
62404 * elf/tst-unique1mod1.c: Likewise.
62405 * sysdeps/s390/s390-32/sysdep.h: Likewise.
62406 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62407 * sysdeps/s390/s390-64/sysdep.h: Likewise.
62408 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62409 * sysdeps/mach/sysdep.h: Likewise.
62410 * sysdeps/i386/sysdep.h: Likewise.
62411 * sysdeps/i386/i386-mcount.S: Likewise.
62412 * sysdeps/x86_64/_mcount.S: Likewise.
62413 * sysdeps/x86_64/sysdep.h: Likewise.
62414 * sysdeps/sh/_mcount.S: Likewise.
62415 * sysdeps/sh/sysdep.h: Likewise.
62416 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62417 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62418 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62419 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62420 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62421 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62422 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62423 * locale/localeinfo.h: Likewise.
62424 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62425 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62426
62427 2012-07-09 Roland McGrath <roland@hack.frob.com>
62428
62429 [BZ #14336]
62430 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62431 system".
62432 * manual/message.texi (The Uniforum approach): Likewise.
62433 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62434 (glibc iconv Implementation): Likewise.
62435
62436 2012-07-09 Joseph Myers <joseph@codesourcery.com>
62437
62438 [BZ #14337]
62439 * math/s_clog.c (__clog): Avoid scaling a value down where that
62440 could result in underflow.
62441 * math/s_clog10.c (__clog10): Likewise.
62442 * math/s_clog10f.c (__clog10f): Likewise.
62443 * math/s_clog10l.c (__clog10l): Likewise.
62444 * math/s_clogf.c (__clogf): Likewise.
62445 * math/s_clogl.c (__clogl): Likewise.
62446 * math/libm-test.inc (clog_test): Add more tests.
62447 (clog10_test): Likewise.
62448 * sysdeps/i386/fpu/libm-test-ulps: Update.
62449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62450
62451 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
62452
62453 [BZ #14283]
62454 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62455 by 7 not 8 to examine high bit of fractional part.
62456
62457 [BZ #14042]
62458 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62459 for call to __mcount_internal.
62460 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62461 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62462 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62463
62464 2012-07-06 Joseph Myers <joseph@codesourcery.com>
62465
62466 [BZ #14154]
62467 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62468 approximation for values within 0x1p-13f of an odd multiple of
62469 pi/4.
62470 * math/libm-test.inc (tan_test): Do not allow spurious underflow
62471 exception. Add more tests.
62472 * sysdeps/i386/fpu/libm-test-ulps: Update.
62473
62474 [BZ #6778]
62475 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62476 inputs and return -1 for them. Do not check for +Inf in case not
62477 reachable for +Inf.
62478 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62479 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62480 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62481 and return -1 for them. Do not check for +Inf in case not
62482 reachable for +Inf.
62483 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62484 define.
62485 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62486 and return -1 for them. Do not check for +Inf in case not
62487 reachable for +Inf.
62488 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
62489 spurious underflow.
62490 * sysdeps/i386/fpu/libm-test-ulps: Update.
62491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62492
62493 2012-07-06 Mike Frysinger <vapier@gentoo.org>
62494
62495 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62496
62497 2012-07-05 Joseph Myers <joseph@codesourcery.com>
62498
62499 [BZ #14157]
62500 [BZ #14331]
62501 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62502 could result in spurious underflow. Scale down values above
62503 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62504 * math/s_csqrtf.c (__csqrtf): Likewise.
62505 * math/s_csqrtl.c (__csqrtl): Likewise.
62506 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
62507 spurious underflow.
62508 * sysdeps/i386/fpu/libm-test-ulps: Update.
62509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62510
62511 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
62512
62513 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62514 xopen-msg.sed.
62515 * catgets/xopen-msg.awk: New file.
62516 * catgets/xopen-msg.sed: Removed.
62517
62518 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62519 po2text.sed.
62520 * intl/po2test.awk: New file.
62521 * intl/po2test.sed: Removed.
62522
62523 2012-07-04 Joseph Myers <joseph@codesourcery.com>
62524
62525 [BZ #14328]
62526 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62527 or multiply small sinh result by itself.
62528 * math/s_ctanf.c (__ctanf): Likewise.
62529 * math/s_ctanh.c (__ctanh): Likewise.
62530 * math/s_ctanhf.c (__ctanhf): Likewise.
62531 * math/s_ctanhl.c (__ctanhl): Likewise.
62532 * math/s_ctanl.c (__ctanl): Likewise.
62533 * math/libm-test.inc (ctan_test_tonearest): New function.
62534 (ctan_test_towardzero): Likewise.
62535 (ctan_test_downward): Likewise.
62536 (ctan_test_upward): Likewise.
62537 (ctanh_test_tonearest): Likewise.
62538 (ctanh_test_towardzero): Likewise.
62539 (ctanh_test_downward): Likewise.
62540 (ctanh_test_upward): Likewise.
62541 (main): Call these new functions.
62542 * sysdeps/i386/fpu/libm-test-ulps: Update.
62543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62544
62545 2012-07-03 Mike Frysinger <vapier@gentoo.org>
62546
62547 * .gitignore: Delete /ports entry.
62548
62549 2012-07-03 Andreas Jaeger <aj@suse.de>
62550
62551 * po/bg.po: Update from translation team.
62552 * po/cs.po: Likewise.
62553 * po/de.po: Likewise.
62554 * po/hr.po: Likewise.
62555 * po/nl.pl: Likewise.
62556 * po/pl.po: Likewise.
62557 * po/vi.po: Likewise.
62558
62559 2012-07-03 Joseph Myers <joseph@codesourcery.com>
62560
62561 * Makeconfig [!+link] (+link-before-libc): New variable.
62562 [!+link] (+link-after-libc): Likewise.
62563 [!+link] (+link-tests): Likewise.
62564 [!+link] (+link): Define in terms of $(+link-before-libc) and
62565 $(+link-after-libc).
62566 [!+link-static] (+link-static-before-libc): New variable.
62567 [!+link-static] (+link-static-after-libc): Likewise.
62568 [!+link-static] (+link-static-tests): Likewise.
62569 [!+link-static] (+link-static): Define in terms of
62570 $(+link-static-before-libc) and $(+link-static-after-libc).
62571 [build-shared] (link-libc-before-gnulib): New variable.
62572 [build-shared] (link-libc-tests): Likewise.
62573 [build-shared] (link-libc): Define in terms of
62574 $(link-libc-before-gnulib).
62575 [!build-shared] (link-libc-tests): New variable.
62576 (link-libc-static-tests): New variable.
62577 [!gnulib] (gnulib-arch): New variable.
62578 [!gnulib] (gnulib-tests): Likewise.
62579 [!gnulib] (static-gnulib-arch): Likewise.
62580 [!gnulib] (static-gnulib-tests): Likewise.
62581 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
62582 Define with "=" instead of ":=".
62583 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
62584 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
62585 * Rules (binaries-all-notests): New variable.
62586 (binaries-all-tests): Likewise.
62587 (binaries-static-notests): Likewise.
62588 (binaries-static-tests): Likewise.
62589 (binaries-all): Define using $(binaries-all-notests) and
62590 $(binaries-all-tests).
62591 (binaries-static): Define using $(binaries-static-notests) and
62592 $(binaries-static-tests).
62593 (binaries-shared-tests): New variable.
62594 (binaries-shared-notests): Likewise.
62595 (binaries-shared): Remove variable.
62596 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62597 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62598 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62599 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62600 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62601 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62602 * elf/Makefile (sln-modules): New variable.
62603 (extra-objs): Add $(sln-modules:=.o).
62604 (ldconfig-modules): Add static-stubs.
62605 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62606 * elf/static-stubs.c: New file.
62607
62608 [BZ #14283]
62609 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62610 by 7 not 8 to examine high bit of fractional part. Use volatile
62611 variables when splitting into final array of floats if
62612 __FLT_EVAL_METHOD__ != 0.
62613 * math/libm-test.inc (cos_test): Add another test.
62614 (sin_test): Likewise.
62615 * sysdeps/i386/fpu/libm-test-ulps: Update.
62616
62617 [BZ #14273]
62618 * math/libm-test.inc (cosh_test): Add more tests.
62619
62620 * version.h (RELEASE): Set to "development".
62621 (VERSION): Set to "2.16.90".
62622
62623 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
62624
62625 * NEWS: Update copyright. Remove last-updated date.
62626 Mention math library bug fixes and timezone data changes.
62627 * README: Mention GNU/Hurd, x32, and HPPA support status.
62628
62629 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
62630
62631 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62632
62633 2012-06-27 Andreas Jaeger <aj@suse.de>
62634
62635 * manual/contrib.texi (Contributors): Add Samuel Thibault.
62636
62637 2012-06-25 Andreas Jaeger <aj@suse.de>
62638
62639 * sysdeps/s390/fpu/libm-test-ulps: Update.
62640
62641 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
62642 Thomas Schwinge <thomas@codesourcery.com>
62643
62644 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62645 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62646 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62647 fanotify_mark.
62648
62649 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
62650
62651 * sysdeps/mach/start.c: Remove file.
62652 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62653 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62654 * sysdeps/sh/init-first.c: Likewise.
62655
62656 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62657 registers for frame unwinding purposes, add CFI directives.
62658 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62659 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62660 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62661 Likewise.
62662
62663 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62664 __fortify_fail returning.
62665 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62666
62667 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62668 sysdeps/sh/____longjmp_chk.S.
62669 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62670 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62671 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62672 (gen-as-const-headers): Append sigaltstack-offsets.sym.
62673
62674 * sysdeps/sh/abort-instr.h: New file.
62675 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62676 process in case exit returns.
62677
62678 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62679 initialize the GOT register before use.
62680
62681 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62682 calculation of ARGC > 4.
62683
62684 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62685 meaningful names to some local labels.
62686
62687 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62688 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62689
62690 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62691 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62692 (__arch_compare_and_exchange_val_16_acq): Likewise.
62693 (__arch_compare_and_exchange_val_32_acq): Likewise.
62694 (atomic_exchange_and_add): Fix gUSA sequence.
62695 (atomic_add): Likewise.
62696 (atomic_add_negative): Likewise.
62697 (atomic_add_zero): Likewise.
62698 (atomic_bit_test_set): Likewise.
62699
62700 2012-06-22 Andreas Schwab <schwab@redhat.com>
62701
62702 [BZ #13579]
62703 * include/link.h (struct link_map): Add l_free_initfini.
62704 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62705 l_initfini.
62706 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62707 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62708 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62709 set.
62710
62711 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
62712
62713 * configure.in: Use AC_LANG_SOURCE.
62714 * configure: Regenerate.
62715
62716 2012-06-22 Roland McGrath <roland@hack.frob.com>
62717
62718 * configure.in (libc_cv_localstatedir): New substituted variable.
62719 * configure: Regenerated.
62720 * config.make.in (localstatedir): New variable, substituted from
62721 libc_cv_localstatedir.
62722 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62723 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62724 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62725 * sysdeps/gnu/configure: Regenerated.
62726
62727 2012-06-21 Jeff Law <law@redhat.com>
62728
62729 [BZ #14277]
62730 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62731 free. Simplify list management for _LIBC case.
62732
62733 2012-06-21 Joseph Myers <joseph@codesourcery.com>
62734
62735 [BZ #14273]
62736 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62737 Clear sign bit of 64-bit integer value before comparing against
62738 overflow value.
62739
62740 * sysdeps/mach/configure: Regenerated.
62741
62742 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
62743
62744 [BZ #14278]
62745 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62746
62747 2012-06-21 Jeff Law <law@redhat.com>
62748
62749 [BZ #13882]
62750 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
62751 uint16_t for elements in the "seen" array to avoid char overflows.
62752 * elf/dl-fini.c (_dl_sort_fini): Likewise.
62753 * elf/dl-open.c (dl_open_worker): Likewise.
62754
62755 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
62756
62757 * scripts/list-sources.sh: Scan PORTS for translations.
62758 * po/libc.pot: Regenerated.
62759
62760 2012-06-21 Andreas Jaeger <aj@suse.de>
62761
62762 [BZ #12194]
62763 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62764 warning.
62765 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62766 * bits/byteswap-16.h (__bswap_16): Likewise.
62767 * bits/byteswap.h (__bswap_constant_16): Likewise.
62768
62769 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
62770
62771 [BZ #14117]
62772 * sysdeps/i386/fpu_control.h: Removed.
62773 * sysdeps/x86_64/fpu_control.h: Moved to ...
62774 * sysdeps/x86/fpu_control.h: Here.
62775
62776 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62777 (_FPU_SETCW): Likewise.
62778
62779 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
62780
62781 [BZ #14117]
62782 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
62783 * sysdeps/x86/fpu/bits/mathinline.h: This.
62784 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
62785
62786 [BZ #14050]
62787 [BZ #14117]
62788 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
62789 functions if __x86_64__ is defined.
62790
62791 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
62792
62793 * string/endian.h: Add !__ASSEMBLER__ condition for including
62794 conversion interfaces.
62795
62796 2012-06-15 Joseph Myers <joseph@codesourcery.com>
62797
62798 [BZ #14241]
62799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
62800 of ABS(x) in calculating zero to negative powers other than odd
62801 integers.
62802 * math/libm-test.inc (pow_test): Add more tests.
62803
62804 2012-06-15 Andreas Jaeger <aj@suse.de>
62805
62806 * manual/contrib.texi (Contributors): Update entry of Liubov
62807 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
62808 Machado Filho.
62809
62810 2012-06-15 Cyril Hrubis <metan@ucw.cz>
62811
62812 * string/string.h: Add __wur to GNU version of strerror_r.
62813
62814 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
62815
62816 [BZ #14229]
62817 * string/Makefile (tests): Add tst-strtok_r.
62818 * string/tst-strtok_r.c: New file.
62819 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
62820 RAX_LP/RDX_LP on SAVE_PTR.
62821
62822 2012-06-14 Roland McGrath <roland@hack.frob.com>
62823
62824 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
62825
62826 2012-06-14 Joseph Myers <joseph@codesourcery.com>
62827
62828 * libm_test.inc (csqrt_test): Allow more spurious underflow
62829 exceptions.
62830 (j0_test): Likewise.
62831 (j1_test): Likewise.
62832 (y0_test): Likewise.
62833 (y1_test): Likewise.
62834
62835 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
62836
62837 * po/Makefile (libc.pot): Use UTF-8 charset.
62838
62839 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
62840
62841 [BZ #14210]
62842 Suppress sign-conversion warning from FD_SET.
62843 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
62844 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
62845 not unsigned long int.
62846 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
62847
62848 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
62849
62850 [BZ #14050]
62851 [BZ #14117]
62852 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62853 __extern_always_inline instead of __extern_inline.
62854 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62855 (__signbit): Likewise.
62856 (__signbitl): Support C++ namespace.
62857 (lrintf): New inline function.
62858 (lrint): Likewise.
62859 (llrintf): Likewise.
62860 (llrint): Likewise.
62861 (fmaxf): Likewise.
62862 (fmax): Likewise.
62863 (fminf): Likewise.
62864 (fmin): Likewise.
62865 (rint): Likewise.
62866 (rintf): Likewise.
62867 (ceil): Likewise.
62868 (ceilf): Likewise.
62869 (floor): Likewise.
62870 (floorf): Likewise.
62871 (nearbyint): Likewise.
62872 (nearbyintf): Likewise.
62873
62874 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
62875
62876 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62877 non-default versions.
62878
62879 2012-06-11 Roland McGrath <roland@hack.frob.com>
62880
62881 [BZ #14218]
62882 * manual/argp.texi (Argp): Reword argp_parse description slightly.
62883
62884 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
62885
62886 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62887 (FE_UPWARD, FE_DOWNWARD): Don't define.
62888 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62889 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62890
62891 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62892 reading it.
62893 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62894 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62895
62896 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62897
62898 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62899 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62900 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62901 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62902
62903 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
62904
62905 [BZ #14117]
62906 * sysdeps/i386/fpu/bits/fenv.h: Removed.
62907 * sysdeps/i386/fpu/Implies: New file.
62908 * sysdeps/x86_64/fpu/Implies: Likewise.
62909 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62910 * sysdeps/x86/fpu/bits/fenv.h: This.
62911
62912 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62913 __SSE_MATH__.
62914
62915 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
62916
62917 [BZ #14134]
62918 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62919 character 0xffff that matches the last element of the
62920 conversion table.
62921
62922 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62923
62924 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62925 fmodl commit.
62926
62927 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62928
62929 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62930 values higher than 25.6283.
62931
62932 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62933
62934 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62935 subnormal exponent extraction and add some __builtin_expect.
62936 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62937 Fix for subnormal mantissa calculation.
62938
62939 2012-06-04 Mike Frysinger <vapier@gentoo.org>
62940
62941 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62942 cpu2 is -1 and errno is not ENOSYS.
62943
62944 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
62945
62946 [BZ #14117]
62947 * sysdeps/i386/i486/bits/string.h: Renamed to ...
62948 * sysdeps/x86/bits/string.h: This.
62949 * sysdeps/x86_64/bits/string.h: Removed.
62950
62951 * sysdeps/i386/i486/bits/string.h: Define inline functions only
62952 if not compiling for x86-64, but compiling for >= i486.
62953
62954 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62955 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62956
62957 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62958 New macro from Linux kernel 3.4.0.
62959 (FP_XSTATE_MAGIC2): Likewise.
62960 (FP_XSTATE_MAGIC2_SIZE): Likewise.
62961 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62962 (struct _fpx_sw_bytes): New struct.
62963 (struct _xsave_hdr): Likewise.
62964 (struct _ymmh_state): Likewise.
62965 (struct _xstate): Likewise.
62966
62967 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62968 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62969 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62970 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62971 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62972 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62973
62974 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62975 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62976 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62977 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62978 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62979 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62980
62981 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62982
62983 [BZ #13743]
62984 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62985 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62986 (sysdep_headers): Include sys/platform/ppc.h.
62987 * sysdeps/powerpc/test-gettimebase.c: Test for
62988 __ppc_get_timebase() to catch future ISA opcode/insn changes.
62989 * manual/Makefile (appendices): Include platform.texi.
62990 * manual/contrib.texi (Contributors): Update @node pointers.
62991 * manual/maint.texi (Maintenance): Likewise.
62992 (Platform): New node.
62993 * manual/platform.texi: New file. Document the new features.
62994
62995 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62996 Jakub Jelinek <jakub@redhat.com>
62997
62998 [BZ #14188]
62999 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63000 where __builtin_expect is unavailable.
63001
63002 2012-06-03 David S. Miller <davem@davemloft.net>
63003
63004 * stdlib/longlong.h: Updated from GCC.
63005
63006 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
63007
63008 [BZ #14042]
63009 * sysdeps/powerpc/powerpc32/mcount.c: New file.
63010 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63011 __mcount_internal.
63012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63013 (GLIBC_2.16): Likewise.
63014
63015 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
63016
63017 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63018
63019 2012-06-01 Joseph Myers <joseph@codesourcery.com>
63020
63021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63022 (default-abi): New variable.
63023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63024 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63025 variable.
63026 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63027 Likewise.
63028 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63029 Likewise.
63030 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63031 Likewise.
63032
63033 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63034 definition. Document in comment.
63035
63036 2012-06-01 David S. Miller <davem@davemloft.net>
63037
63038 * stdlib/longlong.h: Updated from GCC.
63039
63040 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
63041
63042 [BZ #14117]
63043 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63044 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63045 sys/debugreg.h sys/io.h here.
63046 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63047 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63048 sys/io.h.
63049 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63050 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63051 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63052 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63053 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63054 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63055
63056 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63057 Define only if __x86_64__ is defined.
63058
63059 2012-06-01 Joseph Myers <joseph@codesourcery.com>
63060
63061 [BZ #14048]
63062 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63063 Use int64_t for variable i.
63064 * math/libm-test.inc (fmod_test): Add more tests.
63065
63066 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63067 z computation is not scheduled after fetestexcept.
63068 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63069 Use math_force_eval instead of asm to ensure calculation scheduled
63070 before exception test.
63071 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63072 Ensure a1 + u.d computation is not scheduled after fetestexcept.
63073
63074 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
63075
63076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63077 computation is not scheduled after fetestexcept.
63078
63079 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
63080
63081 [BZ #14117]
63082 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63083 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63084
63085 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63086
63087 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63088 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63089
63090 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
63091
63092 [BZ #14117]
63093 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63094 <bits/wordsize.h>.
63095 (__WCHAR_MIN): Support __WORDSIZE == 64.
63096 (__WCHAR_MAX): Likewise.
63097
63098 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63099 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63100
63101 [BZ #14183]
63102 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63103 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63104
63105 [BZ #14117]
63106 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63107 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63108
63109 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63110 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63111
63112 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63113 Defined to 1 if __x86_64__ isn't defined.
63114 (_STAT_VER_LINUX_OLD): New.
63115 (st_atime): Remove duplicate.
63116 (st_mtime): Likewise.
63117 (st_ctime): Likewise.
63118
63119 2012-05-31 David S. Miller <davem@davemloft.net>
63120
63121 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63122 entries.
63123
63124 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
63125
63126 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63127 gen-libm-test.pl.
63128
63129 [BZ #14132]
63130 * elf/dl-reloc.c: Include <_itoa.h>.
63131 (_dl_reloc_bad_type): Remove use of INTUSE.
63132 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63133 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63134 * stdio-common/psiginfo.c (psiginfo): Likewise.
63135 * stdio-common/psignal.c (psignal): Likewise.
63136 * string/strsignal.c (strsignal): Likewise.
63137 * include/signal.h (_sys_siglist): Declare hidden proto.
63138 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
63139 INTVARDEF with libc_hidden_data_def.
63140 * stdio-common/itoa-udigits.c: Likewise.
63141 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63142 (_itoa_lower_digits_internal): Remove declaration.
63143 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63144 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63145 (_sys_sigabbrev_internal): Remove aliases.
63146 (_sys_siglist): Define hidden alias.
63147
63148 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
63149
63150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63151 bits/sysctl.h.
63152
63153 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
63154
63155 [BZ #14117]
63156 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63157 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63158
63159 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63160 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63161 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63162 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63163 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63164 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63165
63166 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63167 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63168 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63169
63170 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63171 with __addr.
63172 (insw): Likewise.
63173 (insl): Likewise.
63174 (outsb): Likewise.
63175 (outsw): Likewise.
63176 (outsl): Likewise.
63177
63178 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63179 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63180 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63181
63182 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63183 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63184 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63185 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63186 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63187 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63188
63189 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63190 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63191
63192 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63193 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63194
63195 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63196 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63197 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63198
63199 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63200 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63201 to ...
63202 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63203
63204 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63205 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63206 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63207
63208 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63209 for x86-64.
63210 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63211
63212 2012-05-31 Joseph Myers <joseph@codesourcery.com>
63213
63214 * math/math.h (M_El): Use two more decimal places.
63215 (M_LOG2El): Likewise.
63216 (M_LOG10El): Likewise.
63217 (M_LN2l): Likewise.
63218 (M_LN10l): Likewise.
63219 (M_PIl): Likewise.
63220 (M_PI_2l): Likewise.
63221 (M_PI_4l): Likewise.
63222 (M_1_PIl): Likewise.
63223 (M_2_PIl): Likewise.
63224 (M_2_SQRTPIl): Likewise.
63225 (M_SQRT2l): Likewise.
63226 (M_SQRT1_2l): Likewise.
63227
63228 2012-05-31 David S. Miller <davem@davemloft.net>
63229
63230 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63231 values between float registers.
63232 * sysdeps/sparc/sparc64/memset.S: Likewise.
63233 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63234
63235 2012-05-31 Mike Frysinger <vapier@gentoo.org>
63236
63237 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63238 -D_FORTIFY_SOURCE=1.
63239 (CPPFLAGS-tst-longjmp_chk.c): Define.
63240 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63241 (CPPFLAGS-tst-longjmp_chk2.c): Define.
63242 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63243 CFLAGS-tst-wchar-h.c.
63244
63245 2012-05-31 Marek Polacek <polacek@redhat.com>
63246
63247 [BZ #14132]
63248 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63249 __endmntent_internal): Remove declaration.
63250 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63251 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63252 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63253
63254 2012-05-30 David S. Miller <davem@davemloft.net>
63255
63256 * sysdeps/sparc/sparc32/soft-fp/q_util.c
63257 (___Q_simulate_exceptions): Use real FP ops rather than writing
63258 into the %fsr.
63259 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63260 Likewise.
63261
63262 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
63263
63264 [BZ #14117]
63265 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63266 * sysdeps/x86/bits/xtitypes.h: This.
63267
63268 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63269 * sysdeps/x86/bits/wordsize.h: This.
63270
63271 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63272 * sysdeps/x86/bits/huge_vall.h: This.
63273
63274 * sysdeps/i386/bits/select.h: Removed.
63275 * sysdeps/x86_64/bits/select.h: Renamed to ...
63276 * sysdeps/x86/bits/select.h: This.
63277
63278 * sysdeps/i386/bits/setjmp.h: Removed.
63279 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63280 * sysdeps/x86/bits/setjmp.h: This.
63281
63282 * sysdeps/i386/bits/mathdef.h: Removed.
63283 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63284 * sysdeps/x86/bits/mathdef.h: This.
63285
63286 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
63287
63288 [BZ #14132]
63289 * include/sys/socket.h (__connect_internal)
63290 (__libc_sa_len_internal): Remove declaration.
63291 (__connect, __libc_sa_len): Declare hidden_proto.
63292 (SA_LEN): Remove use of INTUSE.
63293 * socket/connect.c: Add libc_hidden_def.
63294 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63295 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63296 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63297 alias.
63298 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63299 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63300 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63301 of adding _internal alias.
63302
63303 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
63304
63305 [BZ #14117]
63306 * sysdeps/i386/bits/link.h: Removed.
63307 * sysdeps/i386/bits/linkmap.h: Likewise.
63308 * sysdeps/x86_64/bits/link.h: Renamed to ...
63309 * sysdeps/x86/bits/link.h: This.
63310 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63311 * sysdeps/x86/bits/linkmap.h: This.
63312
63313 * sysdeps/i386/bits/endian.h: Removed.
63314 * sysdeps/x86_64/bits/endian.h: Renamed to ...
63315 * sysdeps/x86/bits/endian.h: This.
63316
63317 * sysdeps/i386/bits/byteswap.h: Removed.
63318 * sysdeps/i386/bits/byteswap-16.h: Likewise.
63319 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63320 * sysdeps/x86/bits/byteswap.h: This.
63321 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63322 * sysdeps/x86/bits/byteswap-16.h: This.
63323 * sysdeps/i386/Implies: Add x86.
63324 * sysdeps/x86_64/Implies: Likewise.
63325
63326 2012-05-30 David S. Miller <davem@davemloft.net>
63327
63328 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63329 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63330 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63331 (FP_TRAPPING_EXCEPTIONS): Define.
63332 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63333 (FP_TRAPPING_EXCEPTIONS): Define.
63334 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63335 subnormals only when inexact has been signalled or underflow
63336 exceptions are enabled.
63337 (_FP_PACK_CANONICAL): Likewise.
63338
63339 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
63340
63341 [BZ #14183]
63342 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63343 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63344
63345 2012-05-30 Richard Henderson <rth@twiddle.net>
63346
63347 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63348 with #ifndef NOT_IN_libc.
63349
63350 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
63351 marked to avoid plt entry.
63352
63353 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
63354
63355 [BZ #14112]
63356 * Makeconfig (default-abi): New macro.
63357 (abi-includes): Likewise.
63358 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
63359 $(abi-$(default-abi)-lib-soname) for soname if defined.
63360 ($(common-objpfx)gnu/lib-names.stmp): Generate from
63361 abi-variants.
63362 * Makefile (installed-stubs): Likewise.
63363 * include/stubs-biarch.h: Removed.
63364 * scripts/lib-names.awk: Only handle one library at a time.
63365 * scripts/soversions.awk: Remove WORDSIZE support.
63366 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63367 entries.
63368 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63369 Removed.
63370 (syscall-list-default-condition): Likewise.
63371 (syscall-list-default-condition): Likewise.
63372 (syscall-list-includes): Likewise.
63373 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63374 syscall-list-* with abi-*. Handle undefined abi-variants.
63375 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63376 * sysdeps/unix/sysv/linux/i386/Implies: New file.
63377 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63378 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63379 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63380 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63381 Removed.
63382 (syscall-list-32-options): Likewise.
63383 (syscall-list-32-condition): Likewise.
63384 (syscall-list-64-options): Likewise.
63385 (syscall-list-64-condition): Likewise.
63386 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63387 macro.
63388 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63389 Renamed to ...
63390 (abi-*): This.
63391 (abi-64-ld-soname): New macro.
63392 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63393 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63394 Renamed to ...
63395 (abi-*): This.
63396 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63397 * sysdeps/x86_64/x32/shlib-versions: Likewise.
63398
63399 2012-05-30 Joseph Myers <joseph@codesourcery.com>
63400
63401 * sysdeps/unix/sysv/linux/kernel-features.h
63402 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63403 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63404 include <kernel-features.h>.
63405 [!__NR_ftruncate64]: Remove conditional code.
63406 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63407 [__NR_ftruncate64]: Make code unconditional.
63408 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63409 * sysdeps/unix/sysv/linux/truncate64.c: Do not
63410 include <kernel-features.h>.
63411 [!__NR_ftruncate64]: Remove conditional code.
63412 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63413 [__NR_ftruncate64]: Make code unconditional.
63414 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63416 include <kernel-features.h>.
63417 [!__NR_ftruncate64]: Remove conditional code.
63418 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63419 [__NR_ftruncate64]: Make code unconditional.
63420 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63422 include <kernel-features.h>.
63423 [!__NR_ftruncate64]: Remove conditional code.
63424 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63425 [__NR_ftruncate64]: Make code unconditional.
63426 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63427
63428 * configure.in (libc_cv_fpie): Weaken to a compile test using
63429 LIBC_TRY_CC_OPTION.
63430 * configure: Regenerated.
63431
63432 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63433
63434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63438 Refreshed.
63439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63445 Refreshed.
63446
63447 2012-05-27 David S. Miller <davem@davemloft.net>
63448
63449 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63450 (___Q_zero): New.
63451 (__Q_simulate_exceptions): Return void. Change to simulate
63452 exceptions by writing into the %fsr.
63453 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63454 (__Qp_handle_exceptions): Likewise.
63455 (numbers): Delete.
63456 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63457 __Qp_handle_exceptions.
63458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63459 __Qp_handle_exceptions.
63460 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63461 as unused and give dummy FP_RND_NEAREST initializer.
63462 (FP_INHIBIT_RESULTS): Define.
63463 (___Q_simulate_exceptions): Update declaration.
63464 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63465 formatting.
63466 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63467 as unused and give dummy FP_RND_NEAREST initializer.
63468 (__Qp_handle_exceptions): Update declaration.
63469 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63470 formatting.
63471
63472 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
63473
63474 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63475 the temporary FPU control word.
63476 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63477 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63478 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63479 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63480 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63481 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63482 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63483 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63484 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63485 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63486 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63487
63488 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63489
63490 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63491 fields.
63492
63493 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
63494
63495 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63496 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63497 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63498 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63499 Likewise.
63500 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63501 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63502 Likewise.
63503
63504 2012-05-27 Ulrich Drepper <drepper@gmail.com>
63505
63506 * po/h.po: Update from translation team.
63507
63508 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
63509
63510 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63511
63512 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63513 handling of denormals.
63514 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63515 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63516 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63517 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63518 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63519 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63520 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63521 Likewise.
63522
63523 2012-05-26 Marek Polacek <polacek@redhat.com>
63524
63525 [BZ #14152]
63526 * math/libm-test.inc (fma_test): Don't always expect underflow
63527 exception.
63528
63529 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63530
63531 [BZ #12416]
63532 * elf/tst-execstack.c: Include stackinfo.h.
63533 (do_test): Adjust test case to ensure that pthread_getattr_np
63534 behaviour remains the same after marking stack executable.
63535
63536 2012-05-25 Joseph Myers <joseph@codesourcery.com>
63537
63538 * sysdeps/unix/sysv/linux/kernel-features.h
63539 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63540 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63541 kernel-features.h.
63542 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63543 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63544 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63545 kernel-features.h.
63546 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63547 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63548
63549 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
63550
63551 * configure.in: Define the default includes to being none.
63552 * configure: Regenerated.
63553
63554 2012-05-25 Roland McGrath <roland@hack.frob.com>
63555
63556 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63557 * sysdeps/x86_64/setjmp.S: Likewise.
63558 * sysdeps/i386/bsd-setjmp.S: Likewise.
63559 * sysdeps/i386/bsd-_setjmp.S: Likewise.
63560 * sysdeps/i386/setjmp.S: Likewise.
63561 * sysdeps/i386/__longjmp.S: Likewise.
63562 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63563 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63564
63565 * include/stap-probe.h: New file.
63566 * configure.in: Handle --enable-systemtap.
63567 * configure: Regenerated.
63568 * config.h.in (USE_STAP_PROBE): New #undef.
63569 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63570 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63571 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63572
63573 2012-05-25 Joseph Myers <joseph@codesourcery.com>
63574
63575 [BZ #13717]
63576 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63577 to 2.4.0 where earlier.
63578 * sysdeps/unix/sysv/linux/configure: Regenerated.
63579 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63580 <kernel-features.h>.
63581 [__ASSUME_32BITUIDS]: Make code unconditional.
63582 [!__ASSUME_32BITUIDS]: Remove conditional code.
63583 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
63584 <kernel-features.h>.
63585 [__ASSUME_32BITUIDS]: Make code unconditional.
63586 [!__ASSUME_32BITUIDS]: Remove conditional code.
63587 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
63588 [__ASSUME_32BITUIDS]: Make code unconditional.
63589 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63590 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
63591 <kernel-features.h>.
63592 [__ASSUME_32BITUIDS]: Make code unconditional.
63593 [!__ASSUME_32BITUIDS]: Remove conditional code.
63594 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
63595 <kernel-features.h>.
63596 [__ASSUME_32BITUIDS]: Make code unconditional.
63597 [!__ASSUME_32BITUIDS]: Remove conditional code.
63598 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
63599 <kernel-features.h>.
63600 [__ASSUME_32BITUIDS]: Make code unconditional.
63601 [!__ASSUME_32BITUIDS]: Remove conditional code.
63602 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
63603 <kernel-features.h>.
63604 [__ASSUME_32BITUIDS]: Make code unconditional.
63605 [!__ASSUME_32BITUIDS]: Remove conditional code.
63606 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63607 <kernel-features.h>.
63608 [__ASSUME_32BITUIDS]: Make code unconditional.
63609 [!__ASSUME_32BITUIDS]: Remove conditional code.
63610 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63611 <kernel-features.h>.
63612 [__ASSUME_32BITUIDS]: Make code unconditional.
63613 [!__ASSUME_32BITUIDS]: Remove conditional code.
63614 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63615 <kernel-features.h>.
63616 [__ASSUME_32BITUIDS]: Make code unconditional.
63617 [!__ASSUME_32BITUIDS]: Remove conditional code.
63618 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63619 <kernel-features.h>.
63620 [__ASSUME_32BITUIDS]: Make code unconditional.
63621 [!__ASSUME_32BITUIDS]: Remove conditional code.
63622 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63623 <kernel-features.h>.
63624 [__ASSUME_32BITUIDS]: Make code unconditional.
63625 [!__ASSUME_32BITUIDS]: Remove conditional code.
63626 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
63627 <kernel-features.h>.
63628 [__ASSUME_32BITUIDS]: Make code unconditional.
63629 [!__ASSUME_32BITUIDS]: Remove conditional code.
63630 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63631 <kernel-features.h>.
63632 [__NR_setresgid] (__setresgid): Do not declare.
63633 [__ASSUME_32BITUIDS]: Make code unconditional.
63634 [!__ASSUME_32BITUIDS]: Remove conditional code.
63635 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63636 <kernel-features.h>.
63637 [__NR_setresuid] (__setresuid): Do not declare.
63638 [__ASSUME_32BITUIDS]: Make code unconditional.
63639 [!__ASSUME_32BITUIDS]: Remove conditional code.
63640 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
63641 <kernel-features.h>.
63642 [__ASSUME_32BITUIDS]: Make code unconditional.
63643 [!__ASSUME_32BITUIDS]: Remove conditional code.
63644 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
63645 <kernel-features.h>.
63646 [__ASSUME_32BITUIDS]: Make code unconditional.
63647 [!__ASSUME_32BITUIDS]: Remove conditional code.
63648 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
63649 <kernel-features.h>.
63650 [__ASSUME_32BITUIDS]: Make code unconditional.
63651 [!__ASSUME_32BITUIDS]: Remove conditional code.
63652 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
63653 <kernel-features.h>.
63654 [__ASSUME_32BITUIDS]: Make code unconditional.
63655 [!__ASSUME_32BITUIDS]: Remove conditional code.
63656 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
63657 <kernel-features.h>.
63658 [__ASSUME_32BITUIDS]: Make code unconditional.
63659 [!__ASSUME_32BITUIDS]: Remove conditional code.
63660 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63661 <kernel-features.h>.
63662 [__ASSUME_32BITUIDS]: Make code unconditional.
63663 [!__ASSUME_32BITUIDS]: Remove conditional code.
63664 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
63665 <kernel-features.h>.
63666 [__ASSUME_32BITUIDS]: Make code unconditional.
63667 [!__ASSUME_32BITUIDS]: Remove conditional code.
63668 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63669 <kernel-features.h>.
63670 [__ASSUME_32BITUIDS]: Make code unconditional.
63671 [!__ASSUME_32BITUIDS]: Remove conditional code.
63672 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63673 <kernel-features.h>.
63674 [__ASSUME_32BITUIDS]: Make code unconditional.
63675 [!__ASSUME_32BITUIDS]: Remove conditional code.
63676 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63677 <kernel-features.h>.
63678 [__ASSUME_32BITUIDS]: Make code unconditional.
63679 [!__ASSUME_32BITUIDS]: Remove conditional code.
63680 * sysdeps/unix/sysv/linux/kernel-features.h
63681 (__ASSUME_SETRESUID_SYSCALL): Remove.
63682 (__ASSUME_SETRESGID_SYSCALL): Likewise.
63683 (__ASSUME_32BITUIDS): Likewise.
63684 (__ASSUME_LDT_WORKS): Likewise.
63685 (__ASSUME_O_DIRECTORY): Likewise.
63686 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63687 architecture but not kernel version.
63688 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63689 (__ASSUME_MMAP2_SYSCALL): Likewise.
63690 (__ASSUME_STAT64_SYSCALL): Likewise.
63691 (__ASSUME_IPC64): Likewise.
63692 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63693 <kernel-features.h>.
63694 [__ASSUME_32BITUIDS]: Make code unconditional.
63695 [!__ASSUME_32BITUIDS]: Remove conditional code.
63696 * sysdeps/unix/sysv/linux/opendir.c: Do not include
63697 <kernel-features.h>.
63698 [__ASSUME_O_DIRECTORY]: Make code unconditional.
63699 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63700 132096]: Remove conditional code.
63701 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63702 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63703 <kernel-features.h>.
63704 [__ASSUME_32BITUIDS]: Make code unconditional.
63705 [!__ASSUME_32BITUIDS]: Remove conditional code.
63706 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63707 <kernel-features.h>.
63708 [__ASSUME_32BITUIDS]: Make code unconditional.
63709 [!__ASSUME_32BITUIDS]: Remove conditional code.
63710 * sysdeps/unix/sysv/linux/setegid.c: Do not include
63711 <kernel-features.h>.
63712 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63713 unconditional.
63714 (__setresgid): Do not declare.
63715 [__ASSUME_32BITUIDS]: Make code unconditional.
63716 [!__ASSUME_32BITUIDS]: Remove conditional code.
63717 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63718 <kernel-features.h>.
63719 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63720 unconditional.
63721 (__setresuid): Do not declare.
63722 [__ASSUME_32BITUIDS]: Make code unconditional.
63723 [!__ASSUME_32BITUIDS]: Remove conditional code.
63724 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63725 <kernel-features.h>.
63726 [__ASSUME_32BITUIDS]: Make code unconditional.
63727 [!__ASSUME_32BITUIDS]: Remove conditional code.
63728 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63729 <kernel-features.h>.
63730 [__ASSUME_32BITUIDS]: Make code unconditional.
63731 [!__ASSUME_32BITUIDS]: Remove conditional code.
63732
63733 2012-05-25 Richard Henderson <rth@twiddle.net>
63734
63735 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63736 dl_hwcap to ifunc resolver.
63737 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63738 elf_ifunc_invoke.
63739 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63740 dl_hwcap to ifunc resolver.
63741 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63742
63743 2012-05-24 Joseph Myers <joseph@codesourcery.com>
63744
63745 [BZ #14153]
63746 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63747 for |x| <= 2**-26, not 2**-57.
63748 * math/libm-test.inc (acos_test): Do not allow spurious underflow
63749 exception.
63750
63751 2012-05-24 Jeff Law <law@redhat.com>
63752
63753 * stdio-common/Makefile (tests): Add bug25.
63754 * stdio-common/bug25.c: New test.
63755
63756 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
63757
63758 [BZ #13576]
63759 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63760 multiple of MALLOC_ALIGNMENT in size.
63761 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63762
63763 2012-05-24 Joseph Myers <joseph@codesourcery.com>
63764
63765 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63766 Require >= 256.
63767 (FILENAME_MAX): Use macro-int-constant.
63768 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
63769 (_IOFBF): Use macro-int-constant.
63770 (_IOLBF): Likewise.
63771 (_IONBF): Likewise.
63772 (SEEK_CUR): Likewise.
63773 (SEEK_END): Likewise.
63774 (SEEK_SET): Likewise.
63775 (TMP_MAX): Likewise.
63776 (EOF): Use macro-int-constant. Require < 0.
63777 (NULL): Use macro-constant. Require == 0.
63778 (stdin): Require type to be FILE *.
63779 (stdout): Likewise.
63780 (stderr): Likewise.
63781 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
63782 macro-int-constant.
63783 (EXIT_SUCCESS): Likewise.
63784 (NULL): Use macro-constant. Require == 0.
63785 (RAND_MAX): Use macro-int-constant.
63786 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
63787 [C99-based standards] (strtof): Require function.
63788 [C99-based standards] (strtold): Likewise.
63789 [C99-based standards] (strtoll): Likewise.
63790 [C99-based standards] (strtoull): Likewise.
63791 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63792 [ISO || ISO99 || ISO11] (limits.h): Likewise.
63793 [ISO || ISO99 || ISO11] (math.h): Likewise.
63794 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
63795 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
63797
63798 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
63799
63800 [BZ #14132]
63801 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
63802 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
63803 * intl/dgettext.c (DCGETTEXT): Likewise.
63804 * intl/gettext.c (DCGETTEXT): Likewise.
63805 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
63806 * posix/regex_internal.h (gettext): Likewise.
63807 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
63808 Remove declaration.
63809 * include/argz.h (__argz_count_internal)
63810 (__argz_stringify_internal): Remove declaration.
63811 (__argz_count, __argz_stringify): Declare hidden proto.
63812 * intl/dcgettext.c: Remove use of INTDEF.
63813 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
63814 * string/argz-stringify.c: Likewise.
63815 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63816 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63817 Declare hidden proto.
63818 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63819 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63820 Declare hidden proto.
63821 * include/stdio.h (__asprintf_internal): Don't declare.
63822 (__asprintf): Don't define as macro. Declare hidden proto.
63823 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
63824 (__fsetlocking): Declare hidden proto.
63825 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
63826 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
63827 hidden proto.
63828 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
63829 (_IO_setlinebuf): Remove use of INTUSE.
63830 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
63831 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
63832 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
63833 Remove declaration.
63834 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
63835 (_IO_do_flush): Remove use of INTUSE.
63836 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
63837 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
63838 (_IO_adjust_column, _IO_least_wmarker)
63839 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
63840 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
63841 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
63842 (_IO_default_doallocate, _IO_wdefault_doallocate)
63843 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
63844 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
63845 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
63846 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
63847 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
63848 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
63849 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
63850 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63851 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63852 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63853 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63854 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63855 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63856 proto.
63857 (_IO_flush_all_internal, _IO_adjust_column_internal)
63858 (_IO_default_uflow_internal, _IO_default_finish_internal)
63859 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63860 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63861 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63862 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63863 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63864 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63865 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63866 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63867 (_IO_file_close_internal, _IO_file_close_it_internal)
63868 (_IO_file_underflow_internal, _IO_file_overflow_internal)
63869 (_IO_file_init_internal, _IO_file_attach_internal)
63870 (_IO_file_fopen_internal, _IO_file_read_internal)
63871 (_IO_file_sync_internal, _IO_file_seek_internal)
63872 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63873 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63874 (_IO_str_underflow_internal, _IO_str_overflow_internal)
63875 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63876 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63877 (_IO_list_all_internal, _IO_link_in_internal)
63878 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63879 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63880 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63881 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63882 (_IO_do_write_internal, _IO_padn_internal)
63883 (_IO_getline_info_internal, _IO_getline_internal)
63884 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63885 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63886 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63887 (_IO_vfscanf_internal, _IO_vfprintf_internal)
63888 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63889 (_IO_init_internal, _IO_un_link_internal): Don't declare.
63890 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63891 with libc_hidden_ver, remove use of INTUSE.
63892 * libio/genops.c: Likewise.
63893 * libio/freopen.c: Likewise.
63894 * libio/freopen64.c: Likewise.
63895 * libio/iofclose.c: Likewise.
63896 * libio/iofdopen.c: Likewise.
63897 * libio/iofflush.c: Likewise.
63898 * libio/iofflush_u.c: Likewise.
63899 * libio/iofgets.c: Likewise.
63900 * libio/iofgets_u.c: Likewise.
63901 * libio/iofopen.c: Likewise.
63902 * libio/iofopncook.c: Likewise.
63903 * libio/iofread.c: Likewise.
63904 * libio/iofread_u.c: Likewise.
63905 * libio/ioftell.c: Likewise.
63906 * libio/iofwrite.c: Likewise.
63907 * libio/iogetline.c: Likewise.
63908 * libio/iogets.c: Likewise.
63909 * libio/iogetwline.c: Likewise.
63910 * libio/iopadn.c: Likewise.
63911 * libio/iopopen.c: Likewise.
63912 * libio/ioseekoff.c: Likewise.
63913 * libio/ioseekpos.c: Likewise.
63914 * libio/iosetbuffer.c: Likewise.
63915 * libio/iosetvbuf.c: Likewise.
63916 * libio/ioungetc.c: Likewise.
63917 * libio/ioungetwc.c: Likewise.
63918 * libio/iovdprintf.c: Likewise.
63919 * libio/iovsprintf.c: Likewise.
63920 * libio/iovsscanf.c: Likewise.
63921 * libio/memstream.c: Likewise.
63922 * libio/obprintf.c: Likewise.
63923 * libio/oldfileops.c: Likewise.
63924 * libio/oldiofclose.c: Likewise.
63925 * libio/oldiofdopen.c: Likewise.
63926 * libio/oldiofopen.c: Likewise.
63927 * libio/oldiopopen.c: Likewise.
63928 * libio/oldstdfiles.c: Likewise.
63929 * libio/putc.c: Likewise.
63930 * libio/setbuf.c: Likewise.
63931 * libio/setlinebuf.c: Likewise.
63932 * libio/stdfiles.c: Likewise.
63933 * libio/strops.c: Likewise.
63934 * libio/vasprintf.c: Likewise.
63935 * libio/vscanf.c: Likewise.
63936 * libio/vsnprintf.c: Likewise.
63937 * libio/vswprintf.c: Likewise.
63938 * libio/wfiledoalloc.c: Likewise.
63939 * libio/wfileops.c: Likewise.
63940 * libio/wgenops.c: Likewise.
63941 * libio/wmemstream.c: Likewise.
63942 * libio/wstrops.c: Likewise.
63943 * libio/__fpurge.c: Likewise.
63944 * libio/__fsetlocking.c: Likewise.
63945 * assert/assert.c: Likewise.
63946 * debug/fgets_chk.c: Likewise.
63947 * debug/fgets_u_chk.c: Likewise.
63948 * debug/fread_chk.c: Likewise.
63949 * debug/fread_u_chk.c: Likewise.
63950 * debug/gets_chk.c: Likewise.
63951 * debug/obprintf_chk.c: Likewise.
63952 * debug/vasprintf_chk.c: Likewise.
63953 * debug/vdprintf_chk.c: Likewise.
63954 * debug/vsnprintf_chk.c: Likewise.
63955 * debug/vsprintf_chk.c: Likewise.
63956 * malloc/mtrace.c: Likewise.
63957 * misc/error.c: Likewise.
63958 * misc/syslog.c: Likewise.
63959 * stdio-common/asprintf.c: Likewise.
63960 * stdio-common/fxprintf.c: Likewise.
63961 * stdio-common/getw.c: Likewise.
63962 * stdio-common/isoc99_fscanf.c: Likewise.
63963 * stdio-common/isoc99_scanf.c: Likewise.
63964 * stdio-common/isoc99_vfscanf.c: Likewise.
63965 * stdio-common/isoc99_vscanf.c: Likewise.
63966 * stdio-common/isoc99_vsscanf.c: Likewise.
63967 * stdio-common/printf-prs.c: Likewise.
63968 * stdio-common/printf_fp.c: Likewise.
63969 * stdio-common/printf_fphex.c: Likewise.
63970 * stdio-common/printf_size.c: Likewise.
63971 * stdio-common/putw.c: Likewise.
63972 * stdio-common/scanf.c: Likewise.
63973 * stdio-common/sprintf.c: Likewise.
63974 * stdio-common/tmpfile.c: Likewise.
63975 * stdio-common/vfprintf.c: Likewise.
63976 * stdio-common/vfscanf.c: Likewise.
63977 * stdlib/strfmon_l.c: Likewise.
63978 * sunrpc/openchild.c: Likewise.
63979 * sunrpc/xdr_stdio.c: Likewise.
63980 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63981 * sysdeps/mach/hurd/tmpfile.c: Likewise.
63982
63983 2012-05-24 Roland McGrath <roland@hack.frob.com>
63984
63985 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63986
63987 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63988 in the third column, to generate for the shared library an IFUNC
63989 that uses _dl_vdso_vsym.
63990 * Makerules (COMPILE.c, compile-stdin.c): New variables.
63991 * Makeconfig (object-suffixes-noshared): New variable.
63992
63993 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63994 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63995 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63996 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63997
63998 [BZ #14132]
63999 * include/sys/time.h (__gettimeofday): Remove macro.
64000 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64001 * time/gettimeofday.c (__gettimeofday): Remove #undef.
64002 Remove INTDEF.
64003 (__gettimeofday): Add libc_hidden_def.
64004 (gettimeofday): Add libc_hidden_weak.
64005 * sysdeps/mach/gettimeofday.c: Likewise.
64006 * sysdeps/posix/gettimeofday.c: Likewise.
64007 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64008 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64009 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64010 (__gettimeofday_internal): Remove strong_alias.
64011 (__gettimeofday): Add libc_hidden_def.
64012 (gettimeofday): Add libc_hidden_weak.
64013 * sysdeps/unix/syscalls.list (gettimeofday):
64014 Remove __gettimeofday_internal alias.
64015
64016 2012-05-24 Daniel Jacobowitz <drow@false.org>
64017 H.J. Lu <hongjiu.lu@intel.com>
64018
64019 [BZ #12495]
64020 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64021 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64022 (largebin_index_32_big): New.
64023 (largebin_index): Use it for 16-byte alignment.
64024 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
64025 correction with front_misalign.
64026
64027 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
64028
64029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64031 Likewise.
64032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64033 Likewise.
64034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64035 Likewise.
64036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64037 Likewise.
64038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64039 Likewise.
64040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64041 Likewise.
64042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64043 Likewise.
64044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64045 Likewise.
64046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64047 Likewise.
64048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64049 Likewise.
64050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64051 Likewise.
64052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64053 Likewise.
64054
64055 * scripts/data/c++-types-x32-linux-gnu.data: New file.
64056 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64057
64058 2012-05-24 Joseph Myers <joseph@codesourcery.com>
64059
64060 [BZ #10846]
64061 [BZ #14036]
64062 * math/libm-test.inc (exp_test): Add test from bug 14036.
64063 (pow_test): Add test from bug 10846.
64064
64065 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64066 and other flags.
64067 (special_function): Do not include flags in test name.
64068 (parse_args): Likewise.
64069 * sysdeps/i386/fpu/libm-test-ulps: Update.
64070 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64071 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64072 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64074
64075 * math/gen-libm-test.pl (%beautify): Add entries for underflow
64076 exceptions.
64077 * math/libm-test.inc ("Philosophy"): Update comment about
64078 exception testing.
64079 (UNDERFLOW_EXCEPTION): New macro.
64080 (UNDERFLOW_EXCEPTION_OK): Likewise.
64081 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64082 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64083 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64084 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64085 (INVALID_EXCEPTION_OK): Update value.
64086 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64087 (OVERFLOW_EXCEPTION_OK): Likewise.
64088 (IGNORE_ZERO_INF_SIGN): Likewise.
64089 (test_exceptions): Handle underflow exceptions.
64090 (acos_test): Update for underflow exception expectations.
64091 (cexp_test): Likewise.
64092 (clog_test): Likewise.
64093 (clog10_test): Likewise.
64094 (csqrt_test): Likewise.
64095 (ctan_test): Likewise.
64096 (ctanh_test): Likewise.
64097 (exp_test): Likewise.
64098 (exp10_test): Likewise.
64099 (exp2_test): Likewise.
64100 (expm1_test): Likewise.
64101 (fma_test): Likewise.
64102 (j0_test): Likewise.
64103 (jn_test): Likewise.
64104 (nexttoward_test): Likewise.
64105 (pow_test): Likewise.
64106 (scalbn_test): Likewise.
64107 (scalbln_test): Likewise.
64108 (tan_test): Likewise.
64109 (y1_test): Likewise.
64110 * sysdeps/i386/fpu/libm-test-ulps: Update.
64111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64112
64113 2012-05-23 David S. Miller <davem@davemloft.net>
64114
64115 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64116 (__libc_sigaction): Remove unused local variables.
64117
64118 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
64119
64120 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64121
64122 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
64123
64124 mktime: avoid signed integer overflow
64125 * time/mktime.c (__mktime_internal): Do not mishandle the case
64126 where diff == INT_MIN.
64127
64128 mktime: simplify computation of average
64129 * time/mktime.c (ranged_convert): Use new time_t_avg function
64130 instead of rolling our own (probably-slower) code.
64131
64132 mktime: do not assume signed right shift propagates sign bit
64133 * time/mktime.c (isdst_differ): New static function.
64134 (__mktime_internal): No need to normalize tm_isdst now.
64135 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64136 tm_isdst values.
64137
64138 mktime: merge another wrapv change from gnulib
64139 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64140 from some compilers.
64141
64142 mktime: remove incorrect attempt at unusual arithmetics
64143 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64144 The code didn't really work on such machines anyway.
64145 (TYPE_MINIMUM): Assume two's complement.
64146 (twos_complement_arithmetic): Verify that long_int and time_t
64147 are two's complement (or unsigned, in the latter case).
64148
64149 mktime: check signed shifts on long_int and time_t, too
64150 * time/mktime.c (SHR): Check that shifts work as desired
64151 on the types long_int and time_t too, as SHR is used on
64152 such types.
64153
64154 mktime: do not assume 'long' is wide enough
64155 * time/mktime.c (verify): Move decl up.
64156 (long_int): New type.
64157 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64158 to remove assumption in the code that 'long' is wide enough to
64159 store year values. This assumption is not true on x32 and on
64160 some non-glibc platforms.
64161
64162 mktime: merge wrapv change from gnulib
64163 * time/mktime.c (WRAPV): New macro.
64164 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64165 (guess_time_tm, __mktime_internal): Do not assume that signed
64166 integer overflow wraps around; modern compilers generate code
64167 where this assumption is no longer valid.
64168
64169 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
64170
64171 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64172 Replace "jmp L(pseudo_end)" with "ret".
64173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64174 Likewise.
64175
64176 2012-05-23 Andreas Jaeger <aj@suse.de>
64177
64178 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64179 * sysdeps/unix/sysv/linux/poll.c: Remove file.
64180
64181 2012-05-23 Andreas Jaeger <aj@suse.de>
64182 Maximilian Attems <max@stro.at>
64183
64184 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64185 New macros.
64186
64187 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
64188
64189 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64190 code so that pseudo_end is just ret and the stack pointer is
64191 correct also for static library in error case.
64192
64193 2012-05-23 Joseph Myers <joseph@codesourcery.com>
64194
64195 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64196 move to syscalls.list.
64197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64201
64202 * manual/install.texi (Running make install): Do not mention Linux
64203 kernel version for which pt_chown is not needed.
64204 (Linux): Do not mention problems with nscd with 2.0 kernels.
64205 * INSTALL: Regenerated.
64206
64207 2012-05-23 Andreas Jaeger <aj@suse.de>
64208
64209 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64210 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64211 macro.
64212 * sysdeps/unix/sysv/linux/s390/bits/mman.h
64213 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64214 * sysdeps/unix/sysv/linux/sh/bits/mman.h
64215 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64216 * sysdeps/unix/sysv/linux/i386/bits/mman.h
64217 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64218 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64219 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64220 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64221 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64222 * sysdeps/unix/sysv/linux/bits/in.h
64223 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64224
64225 2012-05-22 Roland McGrath <roland@hack.frob.com>
64226
64227 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64228 (PREPARE_VERSION): Just use assert instead, it will be elided
64229 under [NDEBUG] anyway.
64230
64231 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
64232
64233 * sysdeps/unix/sysv/linux/Makefile: Include
64234 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64235 (sysdep_routines): Remove sysctl.
64236 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64237 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64238 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64239 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64240 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64241
64242 2012-05-22 Andreas Jaeger <aj@suse.de>
64243
64244 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64245 that pseudo_end is just ret and the stack pointer is correct also
64246 for static library in error case.
64247
64248 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
64249
64250 [BZ #14122]
64251 * nss/nsswitch.c (defconfig_entries): New variable.
64252 (__nss_database_lookup): Don't leak defconfig entries.
64253 (nss_parse_service_list): Don't leak on error paths.
64254 (free_database_entries): New function.
64255 (free_defconfig): New function.
64256 (free_mem): Move common code to free_database_entries.
64257
64258 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
64259
64260 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64261 Add arch_prctl.
64262 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64263
64264 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64265 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64267 New macro.
64268 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64269 (INTERNAL_SYSCALL_TYPES): Likewise.
64270 (LOAD_ARGS_TYPES_[1-6]): Likewise.
64271 (LOAD_REGS_TYPES_[1-6]): Likewise.
64272 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64273 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64274
64275 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64276
64277 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64278 copysignl for GLIBC_2_0.
64279 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64280 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64282 logbl for GLIBC_2_0.
64283 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64284 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64285
64286 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
64287
64288 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64289 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
64290
64291 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64292 Use "neg %eax".
64293
64294 * time/mktime.c: Update copyright years.
64295
64296 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
64297
64298 mktime: merge comment-quoting-style change from gnulib
64299 * time/mktime.c: Quote 'like this' in comments.
64300 The GNU coding standards suggest that we no longer quote `like this',
64301 as "`" and "'" are typically rendered asymmetrically nowadays.
64302 The typical gnulib style is to quote 'like this' when quoting
64303 code, and "like this" when quoting English.
64304
64305 * time/mktime.c (compile-command): Add "-I.".
64306
64307 mktime: merge mktime-internal.h change from gnulib
64308 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64309
64310 mktime: merge time_r change from gnulib
64311 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64312
64313 mktime: merge DEBUG change from gnulib
64314 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64315 case system <time.h> has a #define.
64316
64317 mktime: merge <sys/types.h> change from gnulib
64318 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64319 since <time.t> is now guaranteed to define time_t.
64320
64321 mktime: merge HAVE_CONFIG_H change from gnulib
64322 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64323
64324 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
64325
64326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64327 Use "neg %eax".
64328
64329 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64330 __rlim_t cast.
64331 (struct rusage): Use anonymous union to pad each field to
64332 __syscall_slong_t.
64333
64334 2012-05-21 David S. Miller <davem@davemloft.net>
64335
64336 * Makefules (o-iterator): Remove .s cases.
64337 (compile-command.s): Delete.
64338 (COMPILE.s): Delete.
64339 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64340
64341 2012-05-21 Joseph Myers <joseph@codesourcery.com>
64342
64343 * configure.in (libc_cv_predef_stack_protector): Only consider
64344 "foobar" and "__stack_chk_fail" lines in libc_undefs.
64345 * configure: Regenerated.
64346
64347 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
64348
64349 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64350 New macro. Use R*LP on int and pointer.
64351 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64352 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64353 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64354 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64355
64356 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64357 [__WORDSIZE_TIME64_COMPAT32] instead of
64358 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64359 (struct utmp): Likewise.
64360 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64361 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64362 Renamed to ...
64363 (__WORDSIZE_TIME64_COMPAT32): This.
64364 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64365 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64366 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64367 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64368 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64369 (__WORDSIZE_TIME64_COMPAT32): New macro.
64370
64371 2012-05-21 Andreas Jaeger <aj@suse.de>
64372
64373 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64374 only if [SHARED]. Add prototype for __wcschr_ia32.
64375
64376 2012-05-21 Roland McGrath <roland@hack.frob.com>
64377
64378 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64379 of %rbp unmolested in the jmp_buf while mangling the low bits.
64380 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64381 unmolested high bits of %rbp while demangling the low bits.
64382 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64383
64384 2012-05-21 Andreas Jaeger <aj@suse.de>
64385
64386 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64387 * sunrpc/svc_simple.c: Use it for registerrpc.
64388 * sunrpc/xcrypt.c: Use it for passwd2des.
64389
64390 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64391
64392 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
64393
64394 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64395 Don't define if [__SYSCALL_WORDSIZE != 32].
64396 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64397 New macro.
64398
64399 2012-05-21 Bruno Haible <bruno@clisp.org>
64400 Andreas Jaeger <aj@suse.de>
64401
64402 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64403 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64404 inptr and inend for must_buffer_ch.
64405 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64406 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64407 * stdio-common/Makefile (tests): Remove bug15.
64408 (bug15-ENV): Remove macro.
64409 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64410 anymore.
64411
64412 2012-05-19 Andreas Jaeger <aj@suse.de>
64413 Roland McGrath <roland@hack.frob.com>
64414
64415 * manual/contrib.texi: Completely rewritten. It contains now an
64416 alphabetical list of contributors and their contributions.
64417
64418 2012-05-21 Richard Henderson <rth@twiddle.net>
64419
64420 * misc/getauxval.c (__getauxval): Use unsigned long int.
64421 * misc/sys/auxv.h: Include <sys/cdefs.h>.
64422 (getauxval): Use unsigned long int.
64423
64424 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
64425
64426 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64427
64428 2012-05-21 Roland McGrath <roland@hack.frob.com>
64429
64430 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64431 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64432 __alignof__ (long double).
64433
64434 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64435
64436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64437
64438 2012-05-20 Richard Henderson <rth@twiddle.net>
64439
64440 * misc/getauxval.c: New file.
64441 * misc/sys/auxv.h: New file.
64442 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64443 (routines): Add getauxval.
64444 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64445 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64446 * elf/dl-sysdep.c (_dl_auxv): Remove.
64447 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64448 * elf/dl-support.c (_dl_auxv): New variable.
64449 (_dl_aux_init): Initialize it.
64450 * manual/startup.texi (Auxiliary Vector): New node.
64451 * sysdeps/generic/bits/hwcap.h: New file.
64452 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64453 * sysdeps/powerpc/sysdep.h: ... here. Include it.
64454 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64455 * sysdeps/sparc/sysdep.h: ... here. Include it.
64456 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64457 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64459 Update.
64460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64463 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64468
64469 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64470
64471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64472
64473 2012-05-19 David S. Miller <davem@davemloft.net>
64474
64475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64476
64477 2012-05-19 Joseph Myers <joseph@codesourcery.com>
64478
64479 [BZ #14123]
64480 * math/s_ccosh.c: Include <float.h>
64481 (__ccosh): Avoid internal overflow calculating sinh and cosh
64482 values before multiplying by sin and cos values.
64483 * math/s_ccoshf.c: Likewise.
64484 * math/s_ccoshl.c: Likewise.
64485 * math/s_csin.c: Likewise.
64486 * math/s_csinf.c: Likewise.
64487 * math/s_csinl.c: Likewise.
64488 * math/s_csinh.c: Likewise.
64489 * math/s_csinhf.c: Likewise.
64490 * math/s_csinhl.c: Likewise.
64491 * math/libm-test.inc (ccos_test): Add more tests.
64492 (ccosh_test): Likewise.
64493 (csin_test): Likewise.
64494 (csinh_test): Likewise.
64495 * sysdeps/i386/fpu/libm-test-ulps: Update.
64496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64497
64498 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
64499
64500 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64501 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64502
64503 * sysdeps/x86_64/x32/_itoa.h: Add comment.
64504
64505 2012-05-19 Joseph Myers <joseph@codesourcery.com>
64506
64507 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64508 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64509 * sysdeps/powerpc/soft-fp/Versions: Likewise.
64510 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64511 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64512 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64513 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64514 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64515 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64516 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64517 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64518 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64519 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64520 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64521 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64522 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64523 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64524 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64525 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64526 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64527 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64528 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64529 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64530 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64531 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64532 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64533 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64534 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64535 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64536 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64537 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64538
64539 2012-05-18 Andreas Jaeger <aj@suse.de>
64540
64541 * csu/.gitignore: Delete.
64542
64543 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
64544
64545 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64546 (timex): Use __syscall_slong_t.
64547
64548 2012-05-18 Andreas Jaeger <aj@suse.de>
64549 Carlos O'Donell <carlos_odonell@mentor.com>
64550
64551 * manual/install.texi (Configuring and compiling): Update
64552 description about files modified in the source directory.
64553 * INSTALL: Regenerated.
64554
64555 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
64556
64557 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64558 value. Use "or" to set return value to -1.
64559 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64560 negate return value.
64561
64562 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64563
64564 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64565 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64566 failure if the compiler has Graphite support disabled.
64567 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64568 Likewise.
64569 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64570 (CFLAGS-memmove.c): Likewise.
64571 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64572 Likewise.
64573
64574 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
64575
64576 * sysdeps/x86_64/x32/_itoa.h: New file.
64577
64578 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64579 getdents system call only if kernel and user dirents have the
64580 same d_ino and d_off.
64581
64582 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64583 LLONG_MAX != LONG_MAX.
64584 (_itoa_word): Use _ITOA_WORD_TYPE on value.
64585 (_fitoa_word): Likewise.
64586
64587 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64588 years.
64589 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64590 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64591 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64592
64593 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64594 include <bits/wordsize.h>. Check __x86_64__ instead of
64595 __WORDSIZE.
64596 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64597 if __x86_64__ is defined. Use anonymous union on fpstate.
64598
64599 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64600 anonymous union.
64601
64602 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
64603
64604 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64605 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64606 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64607 Refer to _rtld_local_ro instead of _rtld_global_ro.
64608 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64609 Likewise.
64610 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64611 Likewise.
64612 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64613 Likewise.
64614 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64615 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64616 of _rtld_global, and rtld_progname instead of _dl_argv[0].
64617
64618 [BZ #10882]
64619 * sysdeps/powerpc/powerpc32/dl-machine.c
64620 (__elf_machine_runtime_setup) [PROF]: Don't reference
64621 _dl_prof_resolve.
64622
64623 2012-05-18 Andreas Jaeger <aj@suse.de>
64624
64625 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64626 function only available for GCCs before 3.4 since GCC 3.4
64627 introduced a builtin.
64628 (lrint): Likewise.
64629 (llrintf): Likewise.
64630 (llrint): Likewise.
64631 (fmaxf): Likewise.
64632 (fmax): Likewise.
64633 (fminf): Likewise.
64634 (fmin): Likewise.
64635 (rint): Likewise.
64636 (rintf): Likewise.
64637 (nearbyint): Likewise.
64638 (nearbyintf): Likewise.
64639 (ceil): Likewise.
64640 (ceilf): Likewise.
64641 (floor): Likewise.
64642 (floorf): Likewise.
64643
64644 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
64645
64646 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64647 on both fields and cast pointer to __syscall_ulong_t.
64648
64649 * bits/types.h (__fsword_t): New type.
64650 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64651 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64652 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64653 (__FSWORD_T_TYPE): Likewise.
64654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64655 (__FSWORD_T_TYPE): Likewise.
64656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64657 (__FSWORD_T_TYPE): Likewise.
64658 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64659 (__FSWORD_T_TYPE): Likewise.
64660 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64661 __SWORD_TYPE with __fsword_t.
64662 (statfs64): Likewise.
64663
64664 2012-05-17 David S. Miller <davem@davemloft.net>
64665
64666 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64667
64668 2012-05-17 Andreas Jaeger <aj@suse.de>
64669
64670 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64671 warning.
64672
64673 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
64674
64675 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64676
64677 2012-05-17 Andreas Jaeger <aj@suse.de>
64678
64679 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64680 when it is used.
64681
64682 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
64683
64684 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64685
64686 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
64687
64688 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64689 * sysdeps/x86_64/tst-mallocalign1.c: New file.
64690
64691 2012-05-17 Andreas Jaeger <aj@suse.de>
64692 Carlos O'Donell <carlos_odonell@mentor.com>
64693
64694 [BZ #14059]
64695 * sysdeps/x86_64/multiarch/init-arch.h
64696 (bit_YMM_Usable): Rename to...
64697 (bit_AVX_Usable): ... this.
64698 (bit_FMA4_Usable): New macro.
64699 (bit_XMM_state): New macro.
64700 (bit_YMM_state): New macro.
64701 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64702 [__ASSEMBLER__] (index_AVX_Usable): ... this.
64703 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64704 (CPUID_OSXSAVE): New macro.
64705 (CPUID_AVX): New macro.
64706 (CPUID_FMA4): New macro.
64707 (index_YMM_Usable): Rename to...
64708 (index_AVX_Usable): ... this.
64709 (HAS_AVX): Use HAS_ARCH_FEATURE.
64710 (HAS_FMA4): Likewise.
64711 (HAS_YMM_USABLE): Remove.
64712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64713 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64714 are present.
64715 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64716 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64717 * sysdeps/x86_64/multiarch/Makefile: Likewise.
64718 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64719 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64720
64721 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
64722
64723 * math/libm-test.c: Support platforms without multiple rounding modes.
64724 * math/bug-nextafter.c: Support platforms without FP exceptions.
64725 * math/bug-nexttoward.c: Likewise.
64726 * math/test-fenv.c: Likewise.
64727 * math/test-misc.c: Likewise.
64728 * stdlib/bug-getcontext.c: Likewise.
64729
64730 2012-05-17 Andreas Jaeger <aj@suse.de>
64731
64732 * manual/examples/search.c (critter_cmp): Change signature to
64733 avoid warnings.
64734 * manual/string.texi (Collation Functions): Likewise.
64735
64736 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64737
64738 * bits/types.h: Fold copyright years.
64739 * bits/typesizes.h: Likewise.
64740 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64741 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64742 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64743 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64744 * time/time.h: Likewise.
64745
64746 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
64747
64748 [BZ #208]
64749 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64750 in instead of returning them. Return void.
64751 (__libc_mallinfo): Accumulate over all arenas.
64752 (__malloc_stats): Adjust for change in int_mallinfo interface.
64753
64754 2012-05-16 Roland McGrath <roland@hack.frob.com>
64755
64756 [BZ #10375]
64757 * configure.in (NM): Add AC_CHECK_TOOL for it.
64758 (libc_extra_cflags): New substituted variable.
64759 Check for -fstack-protector being used implicitly.
64760 * configure: Regenerated.
64761 * config.make.in (config-extra-cflags): New variable,
64762 gets @libc_extra_cflags@.
64763 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64764
64765 [BZ #10375]
64766 * configure.in: Check for _FORTIFY_SOURCE being predefined.
64767 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64768 * configure: Regenerated.
64769 * config.make.in (CPPUNDEFS): New substituted variable.
64770 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64771 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64772 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64773
64774 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64775
64776 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64777 (mq_attr): Use __syscall_slong_t.
64778
64779 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64780
64781 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
64782 Check __x86_64__ instead of __WORDSIZE.
64783 (_STAT_VER_LINUX): Likewise.
64784 (stat): Check __x86_64__ instead of __WORDSIZE. Use
64785 __syscall_ulong_t and __syscall_slong_t.
64786 (stat64): Likewise.
64787
64788 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64789
64790 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
64791
64792 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64793
64794 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
64795
64796 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64797
64798 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64799 __syscall_ulong_t.
64800
64801 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
64802 include <bits/wordsize.h>. Check __x86_64__ instead of
64803 __WORDSIZE.
64804 (greg_t): Use "__extension__ long long int" if __x86_64__ is
64805 defined.
64806 (mcontext_t): Replace "unsigned long" with "unsigned long long".
64807
64808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64809 include <bits/wordsize.h>. Check __x86_64__ instead of
64810 __WORDSIZE.
64811 (user_regs_struct): Use "__extension__ unsigned long long"
64812 instead of "unsigned long" if __x86_64__ is defined.
64813 (user): Likewise. Pad after pointer field if __ILP32__ is
64814 defined.
64815
64816 2012-05-16 Joseph Myers <joseph@codesourcery.com>
64817
64818 * configure.in (makeinfo): Require version 4.5 or later. Allow
64819 versions 5 to 9.
64820 * configure: Regenerated.
64821 * manual/install.texi (texinfo): Increase version requirement to
64822 4.5 or later.
64823 * INSTALL: Regenerated.
64824
64825 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64826
64827 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
64828
64829 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
64830
64831 * sysdeps/x86_64/x32/ffs.c: New file.
64832
64833 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64834 __syscall_ulong_t.
64835 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
64836 defined. Use __syscall_ulong_t.
64837 (shminfo): Use __syscall_ulong_t.
64838 (shm_info): Likewise.
64839
64840 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64841 __syscall_ulong_t.
64842
64843 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
64844 <bits/wordsize.h>.
64845 (msgqnum_t): Use __syscall_ulong_t.
64846 (msglen_t): Likewise.
64847 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
64848 __syscall_ulong_t.
64849
64850 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64851 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
64852
64853 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64854
64855 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64856 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64857
64858 * sysvipc/sys/msg.h (msgbuf): Replace long int with
64859 __syscall_slong_t.
64860
64861 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64862 include <bits/wordsize.h>. Check __x86_64__ instead of
64863 __WORDSIZE.
64864
64865 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64866 "unsigned long long int" if __x86_64__ is defined.
64867 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64868
64869 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64870 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
64871 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64872
64873 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64874 <stdint.h>.
64875 (GET_PC): Cast to uintptr_t first.
64876 (GET_FRAME): Likewise.
64877 (GET_STACK): Likewise.
64878
64879 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64880 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64881 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64882 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64883 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64884 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64885 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64886 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64887 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64888 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64889 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64890 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64891 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64892 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64893 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64894 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64895 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64896 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64897 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64898 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64899 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64900 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64901 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64902 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64903 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64904 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64905 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64906 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64907 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64908
64909 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
64910
64911 * Makerules (+depfiles): Also collect depfiles from .oS in
64912 $(extra-objs).
64913 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64914 .oS, $(libnldbl-routines)).
64915
64916 * Makerules (native-compile-mkdep-flags): Define.
64917 * sunrpc/Makefile (extra-objs): Add $(addprefix
64918 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64919 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64920 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
64921 calling $(make-target-directory).
64922
64923 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64924
64925 * bits/types.h (__snseconds_t): Removed.
64926 * time/time.h (struct timespec): Replace __snseconds_t with
64927 __syscall_slong_t.
64928 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64929 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64930 Likewise.
64931 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64932 (__SNSECONDS_T_TYPE): Likewise.
64933 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64934 (__SNSECONDS_T_TYPE): Likewise.
64935 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64936 (__SNSECONDS_T_TYPE): Likewise.
64937
64938 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64939
64940 * sysdeps/mach/hurd/bits/typesizes.h
64941 (__SYSCALL_SLONG_TYPE): New macro.
64942 (__SYSCALL_ULONG_TYPE): Likewise.
64943
64944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64945
64946 * bits/types.h (__syscall_slong_t): New type.
64947 (__syscall_ulong_t): Likewise.
64948
64949 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64950 (__SYSCALL_ULONG_TYPE): Likewise.
64951 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64952 (__SYSCALL_SLONG_TYPE): Likewise.
64953 (__SYSCALL_ULONG_TYPE): Likewise.
64954 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64955 (__SYSCALL_SLONG_TYPE): Likewise.
64956 (__SYSCALL_ULONG_TYPE): Likewise.
64957 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64958 (__SYSCALL_SLONG_TYPE): Likewise.
64959 (__SYSCALL_ULONG_TYPE): Likewise.
64960
64961 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64962
64963 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64964 Add sigaltstack-offsets.sym.
64965 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64966 <sigaltstack-offsets.h>.
64967 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
64968 longjmp_msg pointer.
64969 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
64970 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64971 signal stack.
64972 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64973
64974 2012-05-15 Joseph Myers <joseph@codesourcery.com>
64975
64976 * elf/stackguard-macros.h: Remove file.
64977 * sysdeps/generic/stackguard-macros.h: New file.
64978 * sysdeps/i386/stackguard-macros.h: Likewise.
64979 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64980 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64981 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64982 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64983 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64984 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64985 * sysdeps/x86_64/stackguard-macros.h: Likewise.
64986 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64987 <elf/stackguard-macros.h>.
64988
64989 [BZ #14109]
64990 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64991 __aligned__ in attribute.
64992 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64993 (gregset_t): Likewise.
64994
64995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64996
64997 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64998 * sysdeps/x86_64/64/Implies-after: Here. New file.
64999 * sysdeps/x86_64/x32/Implies-after: New file.
65000
65001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65002
65003 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65004 and access return value for _dl_profile_fixup. Use R10_LP to
65005 load frame size.
65006
65007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65008
65009 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65010
65011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65012
65013 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65014 * sysdeps/x86_64/x32/sysdep.h: New file.
65015
65016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65017
65018 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65019 * sysdeps/x86_64/setjmp.S: Likewise.
65020
65021 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65022
65023 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65024 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65025 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65026 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65027 remove unused global constant.
65028
65029 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
65030
65031 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65032 include of <not-cancel.h>.
65033
65034 2012-05-15 Roland McGrath <roland@hack.frob.com>
65035
65036 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65037
65038 2012-05-15 Jeff Law <law@redhat.com>
65039 Andreas Jaeger <aj@suse.de>
65040
65041 [BZ #13594]
65042 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65043 out from...
65044 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65045 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65046 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65047 code changing __hst_map_handle.map.
65048
65049 2012-05-15 Roland McGrath <roland@hack.frob.com>
65050
65051 * configure.in (sysnames): Look for Implies-before and Implies-after
65052 files.
65053 * configure: Regenerated.
65054
65055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65056
65057 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65058 8-byte data alignment with LP_SIZE alignment.
65059
65060 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65061
65062 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65063 into R10_LP.
65064
65065 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65066
65067 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65068
65069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65070
65071 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65072 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65073 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65074 Likewise.
65075 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65076
65077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65078
65079 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65080 (stackinfo_sub_sp): Likewise.
65081
65082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65083
65084 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65085 RAX_LP.
65086
65087 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65088
65089 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65090 into R*_LP.
65091
65092 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65093
65094 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65095 sizes into R*_LP.
65096
65097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65098
65099 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65100
65101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65102
65103 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65104 into R11_LP and load __x86_64_shared_cache_size_half into
65105 R8_LP.
65106
65107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
65108
65109 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65110 R8_LP.
65111
65112 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65113
65114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65115 logb for POWER7.
65116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65117 logbf for POWER7.
65118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65119 logbl for POWER7.
65120 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65121 powerpc32/power7/fpu/s_logb.c via #include.
65122 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65123 powerpc32/power7/fpu/s_logbf.c via #include.
65124 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65125 powerpc32/power7/fpu/s_logbl.c via #include.
65126
65127 2012-05-15 Joseph Myers <joseph@codesourcery.com>
65128
65129 * README.libm: Remove file.
65130
65131 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
65132
65133 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65134 count for x32. Use R*_LP and omit operand-size suffix.
65135
65136 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
65137
65138 * shlib-versions: Move x86_64-.*-linux.* entries to ...
65139 * sysdeps/x86_64/64/shlib-versions: Here. New file.
65140 * sysdeps/x86_64/x32/shlib-versions: New file.
65141
65142 2012-05-14 Roland McGrath <roland@hack.frob.com>
65143
65144 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65145 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65146 Use _dl_fatal_printf instead.
65147
65148 2012-05-14 Joseph Myers <joseph@codesourcery.com>
65149
65150 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65151 set if not set by the user. Do not allow for being unset.
65152 * sysdeps/unix/sysv/linux/configure: Regenerated.
65153
65154 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
65155
65156 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65157 the `q' suffix from lea and replace .quad with ASM_ADDR.
65158
65159 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
65160
65161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65162 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
65163 instead of $17.
65164 (PTR_DEMANGLE): Likewise.
65165
65166 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
65167
65168 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65169 (LP_OP): Likewise.
65170 (ASM_ADDR): Likewise.
65171 (RAX_LP): Likewise.
65172 (RBP_LP): Likewise.
65173 (RBX_LP): Likewise.
65174 (RCX_LP): Likewise.
65175 (RDI_LP): Likewise.
65176 (RSI_LP): Likewise.
65177 (RSP_LP): Likewise.
65178 (R8_LP): Likewise.
65179 (R9_LP): Likewise.
65180 (R10_LP): Likewise.
65181 (R10_LP): Likewise.
65182 (R11_LP): Likewise.
65183 (R12_LP): Likewise.
65184 (R13_LP): Likewise.
65185 (R14_LP): Likewise.
65186 (R15_LP): Likewise.
65187
65188 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
65189
65190 * sysdeps/x86_64/x32/dl-machine.h: New file.
65191
65192 2012-05-14 Andreas Jaeger <aj@suse.de>
65193
65194 * manual/Makefile (subdir): Remove export of subdir.
65195 (all): Remove target.
65196 (.PHONY): Remove all from list.
65197 (mkinstalldirs): Remove.
65198 (.PHONY): Remove installdirs from list.
65199 ($(inst_infodir)/libc.info): Use make-target-directory.
65200 (installdirs): Remove.
65201 (subdir_%): Remove.
65202 (glibc-targets): Remove.
65203 (lib): Remove.
65204 (stubs): Remove.
65205 ($(objpfx)stubs ../po/manual.pot): Remove.
65206 ($(objpfx)stamp%): Remove.
65207 (make-target-directory): Remove.
65208 (subdir_install): Remove.
65209 (routines): Remove.
65210 (aux): Remove.
65211 (sources): Remove.
65212 (objects): Remove.
65213 (headers): Remove.
65214
65215 [BZ #13750]
65216 * manual/.gitignore: Remove, it's not needed anymore.
65217 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65218 all files in it.
65219 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65220 directory.
65221 (texis): Renamed to $(objpfx)texis.
65222 (texis-path): New, contains path to generated files.
65223 (chapters.%): Use texis-path for complete path, add extra argument
65224 libc-texinfo.sh.
65225 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65226 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65227 (summary,texi, stamp-summary): Use complete path of
65228 files. Generate files in build dir.
65229 (dir-add.texi): Build in build dir.
65230 (libm-err.texi,stamp-libm-err): Likewise.
65231 (version.texi, stamp-version): Likewise.
65232 (.%c.texi): Likewise.
65233 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65234 (mostlyclean): Remove target.
65235 (realclean): Remove target.
65236 (generated): Add new variable with contents from mostlyclean and
65237 realclean, remove entries duplicated in common-mostlyclean, add
65238 stamp-libm-err and stamp-version.
65239 (generated-dirs): Add libc directory.
65240 ($(inst_infodir)/libc.info): Install files from build dir.
65241
65242 * manual/install.texi (Configuring and compiling): Adjust since
65243 the info files are not part of the tar ball anymore.
65244
65245 2012-05-14 Andreas Jaeger <aj@suse.de>
65246
65247 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65248 variable.
65249
65250 2012-05-14 Joseph Myers <joseph@codesourcery.com>
65251
65252 [BZ #13717]
65253 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65254 to 2.2.0 where earlier.
65255 * sysdeps/unix/sysv/linux/configure: Regenerated.
65256 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65257 Remove conditional code.
65258 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65259 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65260 Remove conditional code.
65261 [!__NR_lchown]: Likewise.
65262 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65263 [__NR_lchown]: Likewise.
65264 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65265 comment referencing __ASSUME_LCHOWN_SYSCALL.
65266 * sysdeps/unix/sysv/linux/i386/sigaction.c
65267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65269 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65270 Remove conditional code.
65271 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65272 (__protocol_available): Remove #if 0 code.
65273 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65274 conditional code.
65275 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65276 * sysdeps/unix/sysv/linux/kernel-features.h
65277 (__ASSUME_GETCWD_SYSCALL): Don't define.
65278 (__ASSUME_REALTIME_SIGNALS): Likewise.
65279 (__ASSUME_PREAD_SYSCALL): Likewise.
65280 (__ASSUME_PWRITE_SYSCALL): Likewise.
65281 (__ASSUME_POLL_SYSCALL): Likewise.
65282 (__ASSUME_LCHOWN_SYSCALL): Likewise.
65283 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65284 non-SPARC.
65285 (__ASSUME_SIOCGIFNAME): Don't define.
65286 (__ASSUME_MSG_NOSIGNAL): Likewise.
65287 (__ASSUME_SENDFILE): Define unconditionally.
65288 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65289 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65290 conditional code.
65291 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65292 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65293 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65294 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65295 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65296 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65297 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65299 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65302 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65305 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65308 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65309 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65311 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65312 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65314 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65315 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65317 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65318 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65320 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65321 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65322 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65323 Remove conditional code.
65324 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65325 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65326 Remove conditional code.
65327 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65328 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65329 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65330 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65331 Remove conditional code.
65332 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65333 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65334 Remove conditional code.
65335 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65336 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65337 Remove conditional code.
65338 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65339 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65340 Remove conditional code.
65341 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65342 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65343 Remove conditional code.
65344 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65345 * sysdeps/unix/sysv/linux/sh/pwrite64.c
65346 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65347 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65348 * sysdeps/unix/sysv/linux/sigaction.c
65349 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65350 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65351 * sysdeps/unix/sysv/linux/sigpending.c
65352 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65353 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65354 * sysdeps/unix/sysv/linux/sigprocmask.c
65355 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65356 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65357 * sysdeps/unix/sysv/linux/sigsuspend.c
65358 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65359 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65360 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65361 (__libc_missing_rt_sigs): Remove.
65362 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65363 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65364 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65365 Remove conditional code.
65366 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65367 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65368 return 1.
65369 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65370 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65371 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65372 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65373
65374 2012-05-14 Andreas Jaeger <aj@suse.de>
65375
65376 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65377 it's not used in glibc.
65378 (__coshm1): Likewise.
65379 (__acosh1p): Likewise.
65380 (__sgn): Likewise.
65381
65382 * manual/string.texi (Copying and Concatenation): Add missing
65383 variable in concat example.
65384 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65385
65386 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
65387
65388 [BZ #14103]
65389 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65390 __builtin_clzl with __builtin_clzll.
65391
65392 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
65393
65394 [BZ #14104]
65395 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65396 libc_freeres_ptr.
65397
65398 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65399
65400 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65401 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65402 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65403 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65404
65405 2012-05-14 Mike Frysinger <vapier@gentoo.org>
65406
65407 * NEWS: Update ia64 info.
65408
65409 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
65410
65411 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65412 used as bcopy.
65413
65414 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
65415
65416 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65417 * sysdeps/unix/syscalls.list (dup3): Likewise.
65418 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65419 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65420
65421 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
65422
65423 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65424 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65425
65426 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
65427
65428 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65429 thread pointer.
65430 (TLS_IE): Use mov/add instead of movq/addq to load thread
65431 pointer.
65432 (TLS_GD_PREFIX): New.
65433 (TLS_GD): Use it.
65434
65435 2012-05-11 David S. Miller <davem@davemloft.net>
65436
65437 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65438 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65439 (_FPU_SETCW): Likewise.
65440
65441 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
65442
65443 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65444 is 32-byte aligned.
65445
65446 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
65447
65448 [BZ #11837]
65449 * iconvdata/gb18030.c: Update tables.
65450 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
65451 characters specially.
65452 (BODY for TO_LOOP): Add encoding of missing ranges.
65453
65454 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
65455
65456 [BZ #13673]
65457 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65458 * sysdeps/mach/hurd/dup3.c: Likewise.
65459 * sysdeps/mach/hurd/readlinkat.c: Likewise.
65460 * sysdeps/powerpc/memmove.c:: Likewise.
65461
65462 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
65463
65464 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65465 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65466
65467 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
65468
65469 * elf/elf.h (R_X86_64_RELATIVE64): New.
65470 (R_X86_64_NUM): Updated.
65471 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65472 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
65473 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65474 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65475 tst-quad1pie tst-quad2pie
65476 (modules-names): Add tst-quadmod1 tst-quadmod2.
65477 ($(objpfx)tst-quad1): New dependency.
65478 ($(objpfx)tst-quad2): Likewise.
65479 ($(objpfx)tst-quad1pie): Likewise.
65480 ($(objpfx)tst-quad2pie): Likewise.
65481 * sysdeps/x86_64/tst-quad1.c: New file.
65482 * sysdeps/x86_64/tst-quad1pie.c: New file.
65483 * sysdeps/x86_64/tst-quad2.c: Likewise.
65484 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65485 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65486 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65487 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65488 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65489
65490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65491
65492 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65493 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65494 * streams/stropts.h (t_scalar_t): Define type.
65495
65496 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65497 (_PATH_PRESERVE): Set to "/var/lib".
65498 (_PATH_RWHODIR): Set to "/var/spool/rwho".
65499
65500 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65501 instead of int.
65502
65503 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65504 if __dir_mkfile succeeded.
65505
65506 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65507 checking for _hurd_dtablesize. Unlock it right after having
65508 finished _hurd_dtable allocation.
65509
65510 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65511
65512 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65513 * sysdeps/mach/hurd/configure: Regenerated.
65514 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65515 special-casing to...
65516 * sysdeps/gnu/configure.in: ... this new file.
65517 * sysdeps/unix/sysv/linux/configure: Regenerated.
65518 * sysdeps/gnu/configure: New generated file.
65519
65520 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65521 for Linux: use nsec instead of usec, as well as:
65522 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65523 members of type struct timespec.
65524 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65525 New macros.
65526 (struct stat64): Likewise.
65527 (_STATBUF_ST_NSEC): New macro.
65528 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65529
65530 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65531 __strtoul_internal rather than strtoul.
65532
65533 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
65534
65535 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65536 and reject them.
65537
65538 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65539
65540 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65541 which preserves existing values.
65542 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65543
65544 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
65545
65546 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65547 TIMEOUT values. Return EINVAL for NFDS values either negative or
65548 greater than FD_SETSIZE.
65549
65550 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65551
65552 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65553 allocated, call __vm_protect to finish enabling the existing space, and
65554 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65555 allocate the remainder.
65556
65557 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
65558
65559 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65560 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
65561
65562 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65563
65564 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65565 sysdeps/mach/hurd/readlink.c.
65566
65567 * posix/tst-sysconf.c (posix_options): Only use
65568 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65569 _POSIX_SYNCHRONIZED_IO when they are defined
65570 * sysdeps/mach/hurd/bits/posix_opt.h:
65571 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65572 (_XOPEN_REALTIME): Undefine macro.
65573 (_XOPEN_REALTIME_THREADS): Undefine macro.
65574 (_XOPEN_SHM): Undefine macro.
65575 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65576 macro to -1.
65577 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65578 macro to -1.
65579 (_POSIX_ASYNC_IO): Undefine macro.
65580 (_POSIX_PRIORITIZED_IO): Undefine macro.
65581 (_POSIX_SPIN_LOCKS): Define macro to -1.
65582
65583 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65584 SA_NODEFER, SA_RESETHAND.
65585 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65586 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65587 F_DUPFD_CLOEXEC.
65588
65589 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65590
65591 * elf/Makefile (pldd-modules): Define unconditionally.
65592
65593 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65594
65595 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65596
65597 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65598
65599 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65600 Return ENOENT when name is empty.
65601 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65602
65603 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65604
65605 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65606
65607 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65608
65609 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65610
65611 Fix mlock in all cases except non-readable pages.
65612 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65613 instead of VM_PROT_ALL as parameter to __vm_wire function.
65614
65615 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65616 (__mkdir): When path is `/', just fail with EEXIST.
65617 * sysdeps/mach/hurd/mkdirat.c: Likewise.
65618
65619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65620
65621 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65622 <sys/uio.h> (for writev).
65623 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65624 and <sys/param.h> (for MIN).
65625
65626 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
65627
65628 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65629 REQUESTED_TIME. Properly set the remaining time and return EINTR
65630 if interrupted.
65631
65632 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65633
65634 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65635 Depend on against $(link-rpcuserlibs).
65636
65637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65638
65639 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65640 (__libc_stack_end): Do not use attribute_relro.
65641 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65642 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65643 to libthread-provided value.
65644 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65645 attribute_relro.
65646
65647 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65648
65649 [BZ #3748]
65650 * bits/libc-lock.h (__libc_once_get): New macro.
65651 * sysdeps/mach/bits/libc-lock.h: Likewise.
65652 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65653 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65654 instead of using implementation details.
65655
65656 * libio/fileops.c: Unconditionally include <kernel-features.h>.
65657 * libio/freopen.c: Likewise.
65658 * libio/freopen64.c: Likewise.
65659 * misc/syslog.c: Likewise.
65660 * nscd/connections.c: Likewise.
65661 * nscd/netgroupcache.c: Likewise.
65662 * sysdeps/posix/getcwd.c: Likewise.
65663
65664 2012-05-10 Roland McGrath <roland@hack.frob.com>
65665
65666 * math/w_ilogbf.c: Add #include <limits.h>.
65667
65668 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65669
65670 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65671 path instead of returning without unlocking.
65672
65673 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65674 immediate-write ioctls.
65675 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65676
65677 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65678
65679 * sysdeps/mach/hurd/i386/init-first.c (init): Use
65680 __builtin_frame_address instead of making assumptions about the
65681 location of the return address relative to DATA. Force early load of
65682 the return address.
65683 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65684 __builtin_frame_address.
65685
65686 dup3 for GNU Hurd.
65687 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65688 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
65689 implement dup3 and do some further code clean-ups.
65690 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65691 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65692
65693 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65694
65695 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65696
65697 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65698 HURD_CRITICAL_END around holding _hurd_dtable_lock.
65699 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65700 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65701 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65702 d->port.lock.
65703
65704 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65705 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
65706 when handler == SIG_ERR, not when handler != SIG_ERR.
65707
65708 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65709
65710 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65711 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65712 definitions.
65713
65714 accept4 for GNU Hurd.
65715 * include/sys/socket.h (__libc_accept4): New prototype.
65716 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
65717 to implement __libc_accept4.
65718 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65719 __libc_accept4.
65720 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65721
65722 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65723 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65724 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65725 signal-defines.sym.
65726
65727 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65728
65729 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65730
65731 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
65732
65733 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65734 assertion on O_CLOEXEC flag.
65735 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65736 * hurd/intern-fd.c: Likewise.
65737 * hurd/port2fd.c: Likewise.
65738
65739 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
65740
65741 [BZ #3906]
65742 * bits/in.h (IPV6_PKTINFO): Define new macro.
65743 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65744
65745 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65746
65747 [BZ #13954]
65748 [BZ #13955]
65749 [BZ #13956]
65750 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65751 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65752 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65753 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65755 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65756 * math/libm-test.inc (logb_test) : Additional logb tests.
65757
65758 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
65759 Andreas Jaeger <aj@suse.de>
65760
65761 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65762 * configure: Regenerated.
65763 * config.h.in (LINK_OBSOLETE_RPC): New macro.
65764 * config.make.in (link-obsolete-rpc): New substituted variable.
65765 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65766 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65767 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65768 (shared-only-routines): Don't set it under [link-obsolete-rpc],
65769 so that libc.a contains the symbols.
65770 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65771 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65772 * sunrpc/auth_none.c: Likewise.
65773 * sunrpc/auth_unix.c: Likewise.
65774 * sunrpc/authdes_prot.c: Likewise.
65775 * sunrpc/authuxprot.c: Likewise.
65776 * sunrpc/clnt_gen.c: Likewise.
65777 * sunrpc/clnt_perr.c: Likewise.
65778 * sunrpc/clnt_raw.c: Likewise.
65779 * sunrpc/clnt_simp.c: Likewise.
65780 * sunrpc/clnt_tcp.c: Likewise.
65781 * sunrpc/clnt_udp.c: Likewise.
65782 * sunrpc/clnt_unix.c: Likewise.
65783 * sunrpc/des_crypt.c: Likewise.
65784 * sunrpc/des_soft.c: Likewise.
65785 * sunrpc/get_myaddr.c: Likewise.
65786 * sunrpc/key_call.c: Likewise.
65787 * sunrpc/key_prot.c: Likewise.
65788 * sunrpc/netname.c: Likewise.
65789 * sunrpc/pm_getmaps.c: Likewise.
65790 * sunrpc/pm_getport.c: Likewise.
65791 * sunrpc/pmap_clnt.c: Likewise.
65792 * sunrpc/pmap_prot.c: Likewise.
65793 * sunrpc/pmap_prot2.c: Likewise.
65794 * sunrpc/pmap_rmt.c: Likewise.
65795 * sunrpc/publickey.c: Likewise.
65796 * sunrpc/rpc_cmsg.c: Likewise.
65797 * sunrpc/rpc_common.c: Likewise.
65798 * sunrpc/rpc_dtable.c: Likewise.
65799 * sunrpc/rpc_prot.c: Likewise.
65800 * sunrpc/rpc_thread.c: Likewise.
65801 * sunrpc/rtime.c: Likewise.
65802 * sunrpc/svc.c: Likewise.
65803 * sunrpc/svc_auth.c: Likewise.
65804 * sunrpc/svc_raw.c: Likewise.
65805 * sunrpc/svc_run.c: Likewise.
65806 * sunrpc/svc_tcp.c: Likewise.
65807 * sunrpc/svc_udp.c: Likewise.
65808 * sunrpc/svc_unix.c: Likewise.
65809 * sunrpc/svcauth_des.c: Likewise.
65810 * sunrpc/xcrypt.c: Likewise.
65811 * sunrpc/xdr.c: Likewise.
65812 * sunrpc/xdr_array.c: Likewise.
65813 * sunrpc/xdr_float.c: Likewise.
65814 * sunrpc/xdr_intXX_t.c: Likewise.
65815 * sunrpc/xdr_mem.c: Likewise.
65816 * sunrpc/xdr_rec.c: Likewise.
65817 * sunrpc/xdr_ref.c: Likewise.
65818 * sunrpc/xdr_sizeof.c: Likewise.
65819 * sunrpc/xdr_stdio.c: Likewise.
65820
65821 2012-05-10 Roland McGrath <roland@hack.frob.com>
65822
65823 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
65824 change. Update copyright years.
65825
65826 2012-05-10 Joseph Myers <joseph@codesourcery.com>
65827
65828 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
65829
65830 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
65831 Joseph Myers <joseph@codesourcery.com>
65832 Paul Pluzhnikov <ppluzhnikov@google.com>
65833
65834 [BZ #14012]
65835 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
65836 requiring rpcgen.
65837 [cross-compiling] (extra-libs): Likewise.
65838 [cross-compiling] (extra-libs-others): Likewise.
65839 [cross-compiling] (librpcsvc-routines): Likewise.
65840 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
65841 [cross-compiling] (omit-deps): Likewise.
65842 (sunrpc-CPPFLAGS): New variable.
65843 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
65844 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
65845 (cross-rpcgen-objs): New variable.
65846 (extra-objs): Append $(cross-rpcgen-objs).
65847 ($(cross-rpcgen-objs)): New rule.
65848 ($(objpfx)cross-rpcgen): Likewise.
65849 (rpcgen-cmd): Define to use $(built-program-file). Expand
65850 comment.
65851 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65852 ($(objpfx)x%.stmp): Likewise.
65853 * sunrpc/proto.h [IS_IN_build] (_): Define.
65854 [IS_IN_build] (_libc_intl_domainname): Likewise.
65855
65856 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
65857
65858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65859 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65860 and R_X86_64_TPOFF64.
65861
65862 2012-05-10 Joseph Myers <joseph@codesourcery.com>
65863
65864 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65865 sysdeps/unix/sysv/syscalls.list.
65866 (stime): Likewise.
65867 (utime): Likewise.
65868 * sysdeps/unix/sysv/syscalls.list: Remove file.
65869
65870 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
65871
65872 [BZ #3440]
65873 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65874 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65875 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65876 (__LC_IDENTIFICATION): Make these macros useful in #if
65877 expressions, as required by C99.
65878
65879 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
65880
65881 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65882 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
65883 after this.
65884
65885 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
65886
65887 * stdlib/longlong.h: Updated from GCC.
65888
65889 2012-05-09 Andreas Jaeger <aj@suse.de>
65890
65891 * nscd/nscd.c (run_modes): Make named enum, reorder so that
65892 default is first entry.
65893 (run_mode): Set type.
65894 (main): Remove informal message about syslog.
65895 (options): Fix typo.
65896
65897 [BZ #14053]
65898 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65899 to asm.
65900 (lrint): Likewise.
65901 (llrintf): Likewise.
65902 (llrint): Likewise.
65903 (rint): Likewise.
65904 (rintf): Likewise.
65905 (nearbyint): Likewise.
65906 (nearbyintf): Likewise.
65907
65908 2012-05-09 Andreas Jaeger <aj@suse.de>
65909 Pedro Alves <palves@redhat.com>
65910
65911 * nscd/nscd.c (run_mode): Use enum.
65912 (main): Cleanup coding style issue.
65913
65914 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
65915 Andreas Jaeger <aj@suse.de>
65916
65917 * nscd/nscd.c (go_background): Replaced with...
65918 (run_mode): ... this.
65919 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65920 (options): Add -F --foreground.
65921 (main): Implement it.
65922 (parse_opt): Parse it.
65923
65924 2012-05-09 Andreas Jaeger <aj@suse.de>
65925
65926 [BZ #14083]
65927 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65928 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65929 -Wconversion warning.
65930 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65931 Likewise.
65932
65933 2012-05-09 Joseph Myers <joseph@codesourcery.com>
65934
65935 * conform/data/locale.h-data (NULL): Use macro-constant. Require
65936 == 0.
65937 (LC_ALL): Use macro-int-constant.
65938 (LC_COLLATE): Likewise.
65939 (LC_CTYPE): Likewise.
65940 (LC_MESSAGES): Likewise.
65941 (LC_MONETARY): Likewise.
65942 (LC_NUMERIC): Likewise.
65943 (LC_TIME): Likewise.
65944 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65945 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65946 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65947 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65948 Specify type.
65949 [C99-based standards] (float_t): Expect type.
65950 [C99-based standards] (double_t): Expect type.
65951 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
65952 type.
65953 [C99-based standards] (HUGE_VALL): Likewise.
65954 [C99-based standards] (INFINITY): Likewise.
65955 [C99-based standards] (NAN): Likewise.
65956 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65957 [C99-based standards] (FP_NAN): Likewise.
65958 [C99-based standards] (FP_NORMAL): Likewise.
65959 [C99-based standards] (FP_SUBNORMAL): Likewise.
65960 [C99-based standards] (FP_ZERO): Likewise.
65961 [C99-based standards] (FP_FAST_FMA): Use
65962 optional-macro-int-constant. Specify type. Require == 1.
65963 [C99-based standards] (FP_FAST_FMAF): Likewise.
65964 [C99-based standards] (FP_FAST_FMAL): Likewise.
65965 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65966 [C99-based standards] (FP_ILOGBNAN): Likewise.
65967 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65968 Specify type.
65969 [C99-based standards] (MATH_ERREXCEPT): Likewise.
65970 [C99-based standards] (math_errhandling): Specify type.
65971 [ISO99 || ISO11] (signgam): Do not allow.
65972 [non-C99-based standards] (copysignf): Do not allow.
65973 [non-C99-based standards] (exp2f): Likewise.
65974 [non-C99-based standards] (log2f): Likewise.
65975 [non-C99-based standards] (modff): Allow.
65976 [non-C99-based standards] (erff): Do not allow.
65977 [non-C99-based standards] (erfcf): Likewise.
65978 [non-C99-based standards] (gammaf): Likewise.
65979 [non-C99-based standards] (hypotf): Likewise.
65980 [non-C99-based standards] (j0f): Likewise.
65981 [non-C99-based standards] (j1f): Likewise.
65982 [non-C99-based standards] (jnf): Likewise.
65983 [non-C99-based standards] (lgammaf): Likewise.
65984 [non-C99-based standards] (tgammaf): Likewise.
65985 [non-C99-based standards] (y0f): Likewise.
65986 [non-C99-based standards] (y1f): Likewise.
65987 [non-C99-based standards] (ynf): Likewise.
65988 [non-C99-based standards] (isnanf): Likewise.
65989 [non-C99-based standards] (acoshf): Likewise.
65990 [non-C99-based standards] (asinhf): Likewise.
65991 [non-C99-based standards] (atanhf): Likewise.
65992 [non-C99-based standards] (cbrtf): Likewise.
65993 [non-C99-based standards] (expm1f): Likewise.
65994 [non-C99-based standards] (ilogbf): Likewise.
65995 [non-C99-based standards] (log1pf): Likewise.
65996 [non-C99-based standards] (logbf): Likewise.
65997 [non-C99-based standards] (nextafterf): Likewise.
65998 [non-C99-based standards] (remainderf): Likewise.
65999 [non-C99-based standards] (rintf): Likewise.
66000 [non-C99-based standards] (scalbf): Likewise.
66001 [non-C99-based standards] (copysignl): Likewise.
66002 [non-C99-based standards] (exp2l): Likewise.
66003 [non-C99-based standards] (log2l): Likewise.
66004 [non-C99-based standards] (modfl): Allow.
66005 [non-C99-based standards] (erfl): Do not allow.
66006 [non-C99-based standards] (erfcl): Likewise.
66007 [non-C99-based standards] (gammal): Likewise.
66008 [non-C99-based standards] (hypotl): Likewise.
66009 [non-C99-based standards] (j0l): Likewise.
66010 [non-C99-based standards] (j1l): Likewise.
66011 [non-C99-based standards] (jnl): Likewise.
66012 [non-C99-based standards] (lgammal): Likewise.
66013 [non-C99-based standards] (tgammal): Likewise.
66014 [non-C99-based standards] (y0l): Likewise.
66015 [non-C99-based standards] (y1l): Likewise.
66016 [non-C99-based standards] (ynl): Likewise.
66017 [non-C99-based standards] (isnanl): Likewise.
66018 [non-C99-based standards] (acoshl): Likewise.
66019 [non-C99-based standards] (asinhl): Likewise.
66020 [non-C99-based standards] (atanhl): Likewise.
66021 [non-C99-based standards] (cbrtl): Likewise.
66022 [non-C99-based standards] (expm1l): Likewise.
66023 [non-C99-based standards] (ilogbl): Likewise.
66024 [non-C99-based standards] (log1pl): Likewise.
66025 [non-C99-based standards] (logbl): Likewise.
66026 [non-C99-based standards] (nextafterl): Likewise.
66027 [non-C99-based standards] (remainderl): Likewise.
66028 [non-C99-based standards] (rintl): Likewise.
66029 [non-C99-based standards] (scalbl): Likewise.
66030 [ISO || ISO99 || ISO11] (*_t): Do not allow.
66031 [non-C99-based standards] (FP_*): Do not allow.
66032 [C99-based standards] (FP_*): Change to
66033 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66034 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66035 allow.
66036 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66037 (SIG_ERR): Likewise.
66038 [X/Open-based standards] (SIG_HOLD): Likewise.
66039 (SIG_IGN): Likewise.
66040 (SIGABRT): Use macro-int-constant. Specify type. Require
66041 positive value.
66042 (SIGFPE): Likewise.
66043 (SIGILL): Likewise.
66044 (SIGINT): Likewise.
66045 (SIGSEGV): Likewise.
66046 (SIGTER): Likewise.
66047 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66048 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66049 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66050 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66051 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66052 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66053 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66054 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66055 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66056 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66057 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66058 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66059 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66060 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66061 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66062 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66063 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66064 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66065 [X/Open-based standards] (SIGTRAP): Likewise.
66066 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66067 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66068 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66069 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66070 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66071 allow.
66072
66073 2012-05-08 Ian Wienand <ianw@vmware.com>
66074
66075 [BZ #14080]
66076 * time/tzset.c (__tzset_parse_tz): Update default rules for
66077 daylight time changes in the Energy Policy Act of 2005.
66078
66079 2012-05-09 Andreas Jaeger <aj@suse.de>
66080
66081 [BZ #13983]
66082 * elf/ldconfig.c (parse_conf): Change string to make clear that
66083 ldconfig only issued a warning if ld.so.conf does not exist.
66084
66085 2012-05-08 David S. Miller <davem@davemloft.net>
66086
66087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66088 movxtod instead of popping the value on the stack.
66089
66090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66091
66092 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
66093
66094 * config.h.in: Add HAVE_ARM_PCS_VFP.
66095
66096 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
66097
66098 [BZ #13979]
66099 * include/features.h: Warn if user requests __FORTIFY_SOURCE
66100 checking but the checks are disabled for any reason.
66101
66102 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
66103
66104 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66105 and ELF64_R_TYPE with ELFW(R_TYPE).
66106
66107 2012-05-08 Joseph Myers <joseph@codesourcery.com>
66108
66109 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66110 (ulimit): Likewise.
66111
66112 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66113 (settimeofday): Likewise.
66114
66115 2012-05-08 Mike Frysinger <vapier@gentoo.org>
66116
66117 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
66118 a struct th_u2 inside the union, and move tu_block/tu_code into
66119 a new th_u3 union of tu_block/tu_code inside of that. Move
66120 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
66121 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
66122 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66123 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66124 (th_stuff): Change to th_u1.tu_stuff.
66125 (th_data): Define.
66126 (th_msg): Change to th_u1.th_u2.tu_data.
66127
66128 2012-05-07 David S. Miller <davem@davemloft.net>
66129
66130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66131
66132 [BZ #14074]
66133 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66134 (SETUP_PIC_REG): Use it.
66135 (SETUP_PIC_REG_LEAF): Use it.
66136
66137 2012-05-07 Joseph Myers <joseph@codesourcery.com>
66138
66139 [BZ #13885]
66140 [BZ #13923]
66141 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66142 USE_AS_EXPM1L.
66143 (EXPL_FINITE): Likewise.
66144 (FLDLOG): Likewise.
66145 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66146 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66147 e_expl.S.
66148 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66149 USE_AS_EXPM1L.
66150 (EXPL_FINITE): Likewise.
66151 (FLDLOG): Likewise.
66152 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66153 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66154 e_expl.S.
66155 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
66156 test of -max_value argument for long double.
66157 * sysdeps/i386/fpu/libm-test-ulps: Update.
66158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66159
66160 2012-05-06 David S. Miller <davem@davemloft.net>
66161
66162 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66163 quad soft-float symbols whose references which are compiler
66164 generated.
66165 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66166
66167 2012-05-06 Joseph Myers <joseph@codesourcery.com>
66168
66169 [BZ #13884]
66170 [BZ #13914]
66171 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66172 USE_AS_EXP10L.
66173 (EXPL_FINITE): Likewise.
66174 (FLDLOG): Likewise.
66175 (c0): Likewise.
66176 (c1): Likewise.
66177 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
66178 Adjust comments for base varying.
66179 (__expl_finite): Change alias to EXPL_FINITE.
66180 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66181 e_expl.S.
66182 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66183 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66184 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66185 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66186 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66187 USE_AS_EXP10L.
66188 (EXPL_FINITE): Likewise.
66189 (FLDLOG): Likewise.
66190 (c0): Likewise.
66191 (c1): Likewise.
66192 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
66193 Adjust comments for base varying.
66194 (__expl_finite): Change alias to EXPL_FINITE.
66195 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
66196 tests for bugs.
66197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66198
66199 [BZ #14064]
66200 * math/libm-test.inc (check_float_internal): Correct ulp
66201 calculation for subnormal expected results.
66202
66203 2012-05-06 Andreas Jaeger <aj@suse.de>
66204
66205 * Makeconfig (+math-flags): New, set to -frounding-math.
66206 (+cflags): Add +math-flags so that all of glibc gets compiled with
66207 it.
66208
66209 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66210
66211 2012-05-05 Joseph Myers <joseph@codesourcery.com>
66212
66213 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66214 Disable one test.
66215
66216 [BZ #13787]
66217 [BZ #13922]
66218 [BZ #14036]
66219 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66220 (__ieee754_expl): Allow for and saturate large arguments.
66221 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66222 (u_threshold): Likewise.
66223 (__exp): Call __ieee754_exp before checking for overflow and
66224 underflow.
66225 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66226 (u_threshold): Likewise.
66227 (__expf): Call __ieee754_expf before checking for overflow and
66228 underflow.
66229 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66230 (u_threshold): Likewise.
66231 (__expl): Call __ieee754_expl before checking for overflow and
66232 underflow.
66233 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66234 (__ieee754_expl): Allow for and saturate large arguments.
66235 * math/libm-test.inc (exp_test): Add another test. Do not allow
66236 missing overflow exception on overflow.
66237 (expm1_test): Do not allow missing overflow exception on overflow.
66238
66239 * sysdeps/i386/fpu/e_expl.c: Move to ...
66240 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
66241 rather than using inline asm.
66242 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66243 * sysdeps/x86_64/fpu/e_expl.S: Copy from
66244 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66245
66246 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66247 (nice): Likewise.
66248 (poll): Likewise.
66249 (signal): Likewise.
66250 (time): Likewise.
66251 (times): Likewise.
66252
66253 2012-05-04 Joseph Myers <joseph@codesourcery.com>
66254
66255 * sysdeps/unix/syscalls.list (adjtime): Add entry from
66256 sysdeps/unix/common/syscalls.list.
66257 (fchmod): Likewise.
66258 (fchown): Likewise.
66259 (ftruncate): Likewise.
66260 (getrusage): Likewise.
66261 (gettimeofday): Likewise.
66262 (setpgid): Likewise.
66263 (setregid): Likewise.
66264 (setreuid): Likewise.
66265 (sigaction): Likewise.
66266 (truncate): Likewise.
66267 (vhangup): Likewise.
66268 * sysdeps/unix/common/syscalls.list: Remove file.
66269 * sysdeps/unix/bsd/Implies: Don't include unix/common.
66270 * sysdeps/unix/sysv/linux/Implies: Likewise.
66271
66272 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
66273
66274 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66276 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66277 Moved to ...
66278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66279 Here.
66280 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66281 to ...
66282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66283 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66284 to ...
66285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66286 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66287 to ...
66288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66289 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66290 to ...
66291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66292 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66293 to ...
66294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66295 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66296 to ...
66297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66298 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66299 to ...
66300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66301 Here.
66302 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66303 to ...
66304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66305 Here.
66306 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66307 to ...
66308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66309 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66310 Moved to ...
66311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66312 Here.
66313 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66314 to ...
66315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66316
66317 2012-05-04 Joseph Myers <joseph@codesourcery.com>
66318
66319 * sysdeps/unix/common/bits/dirent.h: Remove file.
66320 * sysdeps/unix/common/bits/fcntl.h: Likewise.
66321
66322 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66323 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66324 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66325 * sysdeps/unix/bsd/isatty.c: Likewise.
66326 * sysdeps/unix/bsd/tcdrain.c: Likewise.
66327 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66328 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66329
66330 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66331
66332 [BZ #13563]
66333 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66334 long double comparison inaccuracies.
66335 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66337
66338 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
66339
66340 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66341 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66342
66343 2012-05-04 Joseph Myers <joseph@codesourcery.com>
66344
66345 [BZ #14049]
66346 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66347 nonzero digits before rounding a hex value.
66348 * stdlib/tst-strtod.c (tests): Add another test.
66349
66350 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66351
66352 * sysdeps/s390/fpu/libm-test-ulps: Update.
66353
66354 2012-05-03 Andreas Jaeger <aj@suse.de>
66355
66356 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66357 does not get optimized out.
66358 (malloc_opt_barrier): New.
66359
66360 2012-05-03 Andreas Jaeger <aj@suse.de>
66361 Roland McGrath <roland@hack.frob.com>
66362
66363 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66364 intermediate file deletion.
66365 (generated): Add .symlist files.
66366
66367 2012-05-03 Joseph Myers <joseph@codesourcery.com>
66368
66369 [BZ #13775]
66370 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66371 Redirect under this condition.
66372 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66373 [__USE_GNU] (__dprintf_chk): Not under this condition.
66374 [__USE_GNU] (__vdprintf_chk): Likewise.
66375 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66376 under this condition.
66377 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66378 [__USE_XOPEN2K8] (dprintf): Define under this condition.
66379 [__USE_XOPEN2K8] (vdprintf): Likewise.
66380 [__USE_GNU] (__dprintf_chk): Not under this condition.
66381 [__USE_GNU] (__vdprintf_chk): Likewise.
66382 [__USE_GNU] (dprintf): Likewise.
66383 [__USE_GNU] (vdprintf): Likewise.
66384
66385 2012-05-03 Roland McGrath <roland@hack.frob.com>
66386
66387 * elf/Makefile (common-generated): Set this instead of generated for
66388 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
66389 $(all-built-dso)-derived lists.
66390
66391 2012-05-03 Andreas Jaeger <aj@suse.de>
66392
66393 * sysdeps/i386/fpu/libm-test-ulps: Update.
66394
66395 * FAQ: Removed.
66396 * FAQ.in: Likewise.
66397 * scripts/gen-FAQ.pl: Likewise.
66398 * manual/install.texi (Installation): Point to online location of
66399 FAQ.
66400 * Makefile (files-for-dist): Remove FAQ.
66401 (FAQ): Remove.
66402
66403 2012-05-02 Allan McRae <allan@archlinux.org>
66404
66405 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66406 (LDFLAGS-reldepmod5.so): Likewise.
66407 (LDFLAGS-reldep6mod1.so): Likewise.
66408 (LDFLAGS-reldep6mod4.so): Likewise.
66409 (LDFLAGS-reldep8mod3.so): Likewise.
66410 (LDFLAGS-unload4mod1.so): Likewise.
66411 (LDFLAGS-unload4mod2.so): Likewise.
66412 (LDFLAGS-tst-initorder): Likewise.
66413 (LDFLAGS-tst-initordera2.so): Likewise.
66414 (LDFLAGS-tst-initordera3.so): Likewise.
66415 (LDFLAGS-tst-initordera4.so): Likewise.
66416 (LDFLAGS-tst-initorderb2.so): Likewise.
66417 (LDFLAGS-noload): Likewise.
66418 (LDFLAGS-next): Likewise.
66419 (LDFLAGS-order2mod1.so): Likewise.
66420 (LDFLAGS-order2mod2.so): Likewise.
66421 (LDFLAGS-tst-initorder2): Likewise.
66422 (LDFLAGS-tst-initorder2a.so): Likewise.
66423 (LDFLAGS-tst-initorder2b.so): Likewise.
66424 (LDFLAGS-tst-initorder2c.so): Likewise.
66425 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66426
66427 2012-05-02 David S. Miller <davem@davemloft.net>
66428
66429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66430
66431 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
66432
66433 [BZ #14055]
66434 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66435
66436 2012-05-02 Andreas Jaeger <aj@suse.de>
66437
66438 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66439 since we manipulate rounding mode.
66440 (CPPFLAGS-test-idouble.c): Likewise.
66441 (CPPFLAGS-test-ifloat.c): Likewise.
66442 (CFLAGS-test-ldouble.c): Likewise.
66443 (CFLAGS-test-double.c): Likewise.
66444 (CFLAGS-test-float.c): Likewise.
66445 (CFLAGS-test-misc.c): Likewise.
66446 (CFLAGS-test-test-fenv.c): Likewise.
66447
66448 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66449
66450 [BZ #2550]
66451 [BZ #2570]
66452 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66453 comparisons to determine direction to adjust input.
66454
66455 2012-05-01 Roland McGrath <roland@hack.frob.com>
66456
66457 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66458 output to the target.
66459
66460 * scripts/localplt.awk: New file.
66461 * elf/Makefile ($(objpfx)check-localplt): Target removed.
66462 (check-localplt-CFLAGS): Variable removed.
66463 ($(all-built-dso:=.jmprel)): New static pattern rule.
66464 (generated): Add those targets.
66465 (localplt-built-dso): New variable.
66466 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66467
66468 * elf/check-localplt.c: File removed.
66469
66470 * scripts/check-execstack.awk: New file.
66471 * elf/Makefile ($(objpfx)check-execstack): Target removed.
66472 (check-execstack-CFLAGS): Variable removed.
66473 ($(objpfx)check-execstack.h): Target removed.
66474 ($(objpfx)execstack-default): New target.
66475 (generated): Add that instead of check-execstack.h.
66476 ($(all-built-dso:=.phdr)): New static pattern rule.
66477 (generated): Add those targets.
66478 * elf/check-execstack.c: File removed.
66479
66480 * scripts/check-textrel.awk: New file.
66481 * elf/Makefile ($(objpfx)check-textrel): Target removed.
66482 (check-textrel-CFLAGS): Variable removed.
66483 (all-built-dso): Use := to define.o
66484 ($(all-built-dso:=.dyn)): New static pattern rule.
66485 (generated): Add those targets.
66486 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66487 * config.make.in (READELF): New substituted variable.
66488 * elf/check-textrel.c: File removed.
66489
66490 2012-05-01 Joseph Myers <joseph@codesourcery.com>
66491
66492 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66493 allow.
66494 * conform/data/ctype.h-data [C99-based standards] (isblank):
66495 Expect function.
66496 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66497 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66498 [ISO || ISO99 || ISO11] (*_t): Do not allow.
66499 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66500 Specify type. Require positive value.
66501 (EILSEQ): Likewise.
66502 (ERANGE): Likewise.
66503 [ISO || POSIX] (EILSEQ): Do not expect.
66504 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66505 Specify type. Require positive value.
66506 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66507 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66508 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66509 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66510 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66511 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66512 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66513 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66514 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66515 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66516 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66517 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66518 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66519 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66520 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66521 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66522 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66523 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66524 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66525 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66526 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66527 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66528 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66529 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66530 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66531 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66532 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66533 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66534 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66535 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66536 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66537 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66538 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66539 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66540 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66541 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66542 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66543 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66544 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66545 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66546 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66547 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66548 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66549 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66550 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66551 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66552 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66553 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66554 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66555 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66556 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66557 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66558 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66559 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66560 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66561 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66562 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66563 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66564 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66565 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66566 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66567 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66568 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66569 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66570 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66571 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66572 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66573 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66574 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66575 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66576 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66577 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66578 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66579 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66580 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66581 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66582 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66583 Require >= 2.
66584 (FLT_ROUNDS): Expect as macro, not constant.
66585 (FLT_MANT_DIG): Use macro-int-constant.
66586 (DBL_MANT_DIG): Likewise.
66587 (LDBL_MANT_DIG): Likewise.
66588 (FLT_DIG): Likewise.
66589 (DBL_DIG): Likewise.
66590 (LDBL_DIG): Likewise.
66591 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
66592 (DBL_MIN_EXP): Likewise.
66593 (LDBL_MIN_EXP): Likewise.
66594 (FLT_MAX_EXP): Use macro-int-constant.
66595 (DBL_MAX_EXP): Likewise.
66596 (LDBL_MAX_EXP): Likewise.
66597 (FLT_MAX_10_EXP): Likewise.
66598 (DBL_MAX_10_EXP): Likewise.
66599 (LDBL_MAX_10_EXP): Likewise.
66600 (FLT_MAX): Use macro-constant.
66601 (DBL_MAX): Likewise.
66602 (LDBL_MAX): Likewise.
66603 (FLT_EPSILON): Use macro-constant. Give upper bound.
66604 (DBL_EPSILON): Likewise.
66605 (LDBL_EPSILON): Likewise.
66606 (FLT_MIN): Likewise.
66607 (DBL_MIN): Likewise.
66608 (LDBL_MIN): Likewise.
66609 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66610 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66611 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66612 [ISO11] (FLT_HAS_SUBNORM): Likewise.
66613 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66614 [ISO11] (DBL_DECIMAL_DIG): Likewise.
66615 [ISO11] (FLT_DECIMAL_DIG): Likewise.
66616 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66617 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66618 [ISO11] (FLT_TRUE_MIN): Likewise.
66619 [ISO11] (LDBL_TRUE_MIN): Likewise.
66620 [ISO || ISO99 || ISO11] (*_t): Do not allow.
66621 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66622 (SCHAR_MIN): Use macro-int-constant. Specify type.
66623 (SCHAR_MAX): Likewise.
66624 (UCHAR_MAX): Likewise.
66625 (CHAR_MIN): Likewise.
66626 (CHAR_MAX): Likewise.
66627 (MB_LEN_MAX): Use macro-int-constant.
66628 (SHRT_MIN): Use macro-int-constant. Specify type.
66629 (SHRT_MAX): Likewise.
66630 (USHRT_MAX): Likewise.
66631 (INT_MAX): Likewise.
66632 (INT_MIN): Use macro-int-constant. Specify type. Make upper
66633 bound negative.
66634 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
66635 bound with "U".
66636 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
66637 bound with "L".
66638 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
66639 bound negative. Suffix upper bound with "L".
66640 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
66641 bound with "UL".
66642 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66643 Specify type.
66644 [C99-based standards] (LLONG_MAX): Likewise.
66645 [C99-based standards] (ULLONG_MAX): Likewise.
66646 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
66647 == 0.
66648 [ISO11] (max_align_t): Require type.
66649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
66650
66651 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66652 from $CFLAGS, without defining away __attribute__ calls.
66653 (checknamespace): Use $CFLAGS_namespace.
66654
66655 * conform/conformtest.pl (@keywords): Only include C99 keywords
66656 for standards based on C99 or C11.
66657
66658 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66659 Disable tests.
66660 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66661 UNIX98]: Likewise.
66662
66663 * conform/conformtest.pl: Handle "macro-int-constant" and test for
66664 usability of symbols in #if.
66665
66666 * conform/conformtest.pl: If macro or constant types start
66667 "promoted:", expect the symbol to be of the following type
66668 promoted by the integer promotions.
66669
66670 * conform/conformtest.pl: Parse all "constant" and "macro" lines
66671 in one place. Also handle "macro-constant".
66672
66673 * conform/conformtest.pl: Only accept expected macro values with
66674 "==". Parse all "macro" lines in one place.
66675 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66676
66677 * conform/conformtest.pl: Handle braced types on "constant" lines
66678 instead of handling "typed-constant".
66679 * conform/data/signal.h-data: Use "constant" instead of
66680 "typed-constant".
66681
66682 * conform/conformtest.pl: Handle "optional-" at start of lines in
66683 one place rather than duplicating several cases. Handle each
66684 format of "macro" line with initial "optional-".
66685
66686 * conform/conformtest.pl: Only accept expected constant or
66687 optional-constant values with "==". Parse all "constant" lines in
66688 one place. Parse all "optional-constant" lines in one place.
66689 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66690 * conform/data/fmtmsg.h-data: Likewise.
66691 * conform/data/netinet/in.h-data: Likewise.
66692 * conform/data/tar.h-data: Likewise.
66693 * conform/data/limits.h-data: Use "==" form on "constant" and
66694 "optional-constant" lines.
66695
66696 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66697 Use -std=c99 for XOPEN2K.
66698 (@knownproblems): Remove.
66699 (newtoken): Don't check %isknown.
66700
66701 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66702 Do not expect macro.
66703 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66704 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66705 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66706 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66707 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66708 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66709 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66710 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66711 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66712 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66713 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66714 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66715 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66716 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66717 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66718 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66719 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66720 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66721 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66722 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66723 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66724 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66725 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66726 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66727 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66728 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66729 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66730 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66731 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66732 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66733 [XPG3] (acosh): Likewise.
66734 [XPG3] (asinh): Likewise.
66735 [XPG3] (atanh): Likewise.
66736 [XPG3] (cbrt): Likewise.
66737 [XPG3] (expm1): Likewise.
66738 [XPG3] (ilogb): Likewise.
66739 [XPG3] (log1p): Likewise.
66740 [XPG3] (logb): Likewise.
66741 [XPG3] (nextafter): Likewise.
66742 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66743 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66744 [XPG3] (remainder): Likewise.
66745 [XPG3] (rint): Likewise.
66746 [XPG3 || XPG4 || UNIX98] (round): Likewise.
66747 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66748 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66749 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66750 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66751 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66752 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66753 [UNIX98 || XOPEN2K] (scalb): Expect.
66754 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66755 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66756 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66757 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66758 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66759 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66760 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66761 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66762 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66763 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66764 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66765 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66766 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66767 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66768 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66769 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66770 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66771 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66772 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66773 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66774 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66775 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66776 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66777 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
66778 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
66779 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
66780 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
66781 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
66782 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
66783 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
66784 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
66785 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
66786 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
66787 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
66788 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
66789 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
66790 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
66791 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
66792 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
66793 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
66794 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
66795 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
66796 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
66797 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
66798 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
66799 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
66800 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
66801 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
66802 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
66803 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
66804 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
66805 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
66806 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
66807 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
66808 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
66809 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
66810 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
66811 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
66812 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
66813 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
66814 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
66815 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
66816 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
66817 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
66818 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
66819 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
66820 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
66821 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
66822 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
66823 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
66824 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
66825 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
66826 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
66827 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
66828 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
66829 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
66830 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
66831 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
66832 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
66833 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
66834 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
66835 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
66836 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
66837 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
66838 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
66839 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
66840 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
66841 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
66842 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
66843 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
66844 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
66845 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
66846 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
66847 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
66848 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
66849 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
66850 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66851 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66852 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66853 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66854 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66855 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66856 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66857 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66858 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66859 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66860 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66861 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66862 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66863 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66864 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66865 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66866 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66867 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66868 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66869 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66870 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66871 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66872 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66873 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66874 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66875 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66876 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66877 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66878 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66879 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66880 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66881 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66882 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66883 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66884 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66885 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66886 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66887 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66888 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66889 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66890 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66891
66892 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66893 _XOPEN_SOURCE_EXTENDED for XPG4.
66894
66895 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66896
66897 * Makeconfig (localtime): Remove variable.
66898 (inst_localtime-file): Likewise.
66899
66900 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
66901
66902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66903 Update.
66904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66905 Update.
66906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66907 Update.
66908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66909 Update.
66910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66911 Update.
66912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66913 Update.
66914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66915 Update.
66916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66917 Update.
66918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66919 Update.
66920
66921 2012-05-01 Joseph Myers <joseph@codesourcery.com>
66922
66923 [BZ #2550]
66924 [BZ #2570]
66925 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66926 comparisons to determine direction to adjust input.
66927 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66928 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66929 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66930 Likewise.
66931 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66932 Likewise.
66933 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66934 Likewise.
66935 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66936 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66937 Likewise.
66938 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66939 Likewise.
66940 * math/libm-test.inc (nexttoward_test): Add more tests.
66941
66942 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
66943
66944 [BZ #14040]
66945 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66946 in version GLIBC_2.1, not GLIBC_2.0.
66947 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66948 Likewise.
66949
66950 2012-04-30 Joseph Myers <joseph@codesourcery.com>
66951
66952 [BZ #13942]
66953 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66954 (1 - x) * (1 + x).
66955 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66956 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66957 * math/libm-test.inc (acos_test): Add more tests.
66958 (asin_test): Likewise.
66959 * sysdeps/i386/fpu/libm-test-ulps: Update.
66960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66961
66962 [BZ #14034]
66963 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66964 of square root.
66965 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66966 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66967 * math/libm-test.inc (acos_test_tonearest): New function.
66968 (acos_test_towardzero): Likewise.
66969 (acos_test_downward): Likewise.
66970 (acos_test_upward): Likewise.
66971 (asin_test_tonearest): Likewise.
66972 (asin_test_towardzero): Likewise.
66973 (asin_test_downward): Likewise.
66974 (asin_test_upward): Likewise.
66975 (main): Call the new functions.
66976 * sysdeps/i386/fpu/libm-test-ulps: Update.
66977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66978
66979 [BZ #13884]
66980 [BZ #13924]
66981 * math/e_exp10.c: Include <float.h>.
66982 (__ieee754_exp10): Handle underflow here rather than multiplying
66983 large negative argument by M_LN10.
66984 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66985 of __ieee754_expf.
66986 * math/e_exp10l.c: Include <float.h>.
66987 (__ieee754_exp10l): Handle underflow here rather than multiplying
66988 large negative argument by M_LN10l.
66989 * math/libm-test.inc (exp10_test): Add another test. Do not allow
66990 spurious overflow exception on underflow.
66991
66992 2012-04-29 Marek Polacek <polacek@redhat.com>
66993
66994 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66995 (__fortify_function): New macro.
66996 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66997 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66998 __extern_always_inline.
66999 * libio/bits/stdio2.h: Likewise.
67000 * libio/bits/stdio.h: Likewise.
67001 * string/string.h: Likewise.
67002 * string/bits/string3.h: Likewise.
67003 * include/stdio.h: Likewise.
67004 * stdlib/bits/stdlib.h: Likewise.
67005 * stdlib/stdlib.h: Likewise.
67006 * rt/bits/mqueue2.h: Likewise.
67007 * rt/mqueue.h: Likewise.
67008 * posix/bits/unistd.h: Likewise.
67009 * posix/unistd.h: Likewise.
67010 * io/bits/poll2.h: Likewise.
67011 * io/bits/fcntl2.h: Likewise.
67012 * io/fcntl.h: Likewise.
67013 * io/sys/poll.h: Likewise.
67014 * misc/bits/syslog.h: Likewise.
67015 * misc/bits/syslog-ldbl.h: Likewise.
67016 * misc/sys/syslog.h: Likewise.
67017 * socket/bits/socket2.h: Likewise.
67018 * socket/sys/socket.h: Likewise.
67019 * debug/tst-chk1.c: Likewise.
67020 * wcsmbs/bits/wchar2.h: Likewise.
67021 * wcsmbs/bits/wchar-ldbl.h: Likewise.
67022 * wcsmbs/wchar.h: Likewise.
67023
67024 2012-04-29 Andreas Jaeger <aj@suse.de>
67025
67026 * Makerules (tests): Remove enable-check-abi protection.
67027 (check-abi-warn): Remove.
67028 (check-abi-%): Remove check-abi-warn usage.
67029
67030 * configure.in: Remove check-abi configure option.
67031 * configure: Regenerated.
67032 * config.make.in (enable-check-abi): Remove.
67033
67034 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
67035
67036 [BZ #14033]
67037 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67038 double functions to double *_finite functions.
67039
67040 [BZ #13941]
67041 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67042 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67043 LDBL_MIN_EXP.
67044 * stdio-common/Makefile (tests): Add tst-sprintf3.
67045 * stdio-common/tst-sprintf3.c: New file.
67046
67047 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67048 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67049
67050 2012-04-28 Joseph Myers <joseph@codesourcery.com>
67051
67052 * conform/conformtest.pl: Remove duplicate typed-constant
67053 handling.
67054
67055 2012-04-28 David S. Miller <davem@davemloft.net>
67056
67057 * Makerules (%.abilist): Add vpath on sysdep_dirs.
67058 (check-abi-%): Remove AWK script prerequisite and explicit
67059 abilist directory.
67060 (check-abi): Rewrite to just diff the symlist with the abilist.
67061 (config-tls, config-abi-config): Delete, no longer used.
67062 (update-abi-%): Remove AWK script and explicit abilist directory.
67063 (update-abi): Rewrite to simply compare and conditionally copy the
67064 symlist and the sysdep abilist file. Remove update-abi-config
67065 checks.
67066 * abilist/ld.abilist: Remove.
67067 * abilist/libBrokenLocale.abilist: Remove.
67068 * abilist/libanl.abilist: Remove.
67069 * abilist/libcrypt.abilist: Remove.
67070 * abilist/libdl.abilist: Remove.
67071 * abilist/librt.abilist: Remove.
67072 * abilist/libthread_db.abilist: Remove.
67073 * abilist/libutil.abilist: Remove.
67074 * scripts/extract-abilist.awk: Remove.
67075 * scripts/merge-abilist.awk: Remove.
67076 * sysdeps/generic/libcidn.abilist: New file.
67077 * sysdeps/generic/libnss_compat.abilist: New file.
67078 * sysdeps/generic/libnss_db.abilist: New file.
67079 * sysdeps/generic/libnss_dns.abilist: New file.
67080 * sysdeps/generic/libnss_files.abilist: New file.
67081 * sysdeps/generic/libnss_hesiod.abilist: New file.
67082 * sysdeps/generic/libnss_nis.abilist: New file.
67083 * sysdeps/generic/libnss_nisplus.abilist: New file.
67084 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67085 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67086 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67087 file.
67088 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67089 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67090 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67091 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67092 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67093 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67094 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67095 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67096 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67097 file.
67098 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67099 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67100 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67101 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67102 file.
67103 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67104 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67105 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67106 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67107 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67108 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67109 file.
67110 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67111 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67112 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67113 file.
67114 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67116 New file.
67117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67118 New file.
67119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67120 New file.
67121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67122 New file.
67123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67124 New file.
67125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67126 New file.
67127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67128 New file.
67129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67130 New file.
67131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67132 New file.
67133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67134 New file.
67135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67136 New file.
67137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67138 New file.
67139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67140 New file.
67141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67142 file.
67143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67144 New file.
67145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67146 New file.
67147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67148 file.
67149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67150 New file.
67151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67152 New file.
67153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67154 file.
67155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67156 New file.
67157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67158 New file.
67159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67160 New file.
67161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67162 New file.
67163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67164 New file.
67165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67166 New file.
67167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67169 file.
67170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67171 New file.
67172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67173 file.
67174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67175 file.
67176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67177 file.
67178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67179 file.
67180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67181 file.
67182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67183 New file.
67184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67185 file.
67186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67187 file.
67188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67189 New file.
67190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67191 file.
67192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67194 file.
67195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67196 New file.
67197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67198 file.
67199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67200 file.
67201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67202 file.
67203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67204 file.
67205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67206 file.
67207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67208 New file.
67209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67210 file.
67211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67212 file.
67213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67214 New file.
67215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67216 file.
67217 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67218 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67219 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67220 file.
67221 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67222 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67223 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67224 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67225 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67226 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67227 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67228 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67229 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67230 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67233 file.
67234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67235 New file.
67236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67237 file.
67238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67239 file.
67240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67241 file.
67242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67243 file.
67244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67245 file.
67246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67247 New file.
67248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67249 New file.
67250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67251 file.
67252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67253 New file.
67254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67255 file.
67256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67258 file.
67259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67260 New file.
67261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67262 file.
67263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67264 file.
67265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67266 file.
67267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67268 file.
67269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67270 file.
67271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67272 New file.
67273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67274 New file.
67275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67276 file.
67277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67278 New file.
67279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67280 file.
67281
67282 2012-04-28 Joseph Myers <joseph@codesourcery.com>
67283
67284 * conform/conformtest.pl: Fix typo in handling typed-constant from
67285 allow-header.
67286
67287 2012-04-27 Joseph Myers <joseph@codesourcery.com>
67288
67289 * README: Cut down references to pre-2.6 Linux kernels and
67290 Linuxthreads. Update lists of configurations in libc and ports
67291 and sort alphabetically. Say "or newer" with Linux kernel version
67292 requirements.
67293
67294 * config.h.in [IS_IN_build]: Allow compiling without optimization.
67295
67296 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
67297
67298 [BZ #887]
67299 * math/libm-test.inc (logb_test_downward): New test to expose
67300 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67301 rounding mode.
67302
67303 2012-04-27 Joseph Myers <joseph@codesourcery.com>
67304
67305 [BZ #14027]
67306 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67307 to be done.
67308 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67309 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67310
67311 2012-04-26 Joseph Myers <joseph@codesourcery.com>
67312
67313 * sysdeps/unix/i386/brk.S: Remove file.
67314 * sysdeps/unix/i386/dl-brk.S: Likewise.
67315 * sysdeps/unix/i386/pipe.S: Likewise.
67316 * sysdeps/unix/i386/sigreturn.S: Likewise.
67317 * sysdeps/unix/i386/syscall.S: Likewise.
67318 * sysdeps/unix/i386/vfork.S: Likewise.
67319 * sysdeps/unix/i386/wait.S: Likewise.
67320
67321 * sysdeps/unix/common/tcsendbrk.c: Move to ...
67322 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67323
67324 * configure.in (arm*-none*): Do not allow without
67325 --enable-hacker-mode.
67326 (netbsd*): Remove case setting base_os.
67327 (386bsd*): Likewise.
67328 (freebsd*): Likewise.
67329 (bsdi*): Likewise.
67330 (osf*): Likewise.
67331 (sunos*): Likewise.
67332 (ultrix*): Likewise.
67333 (newsos*): Likewise.
67334 (dynix*): Likewise.
67335 (*bsd*): Likewise.
67336 (sysv*): Likewise.
67337 (isc*): Likewise.
67338 (esix*): Likewise.
67339 (sco*): Likewise.
67340 (minix*): Likewise.
67341 (irix4*): Likewise.
67342 (irix6*): Likewise.
67343 (solaris[2-9]*): Likewise.
67344 (none): Likewise.
67345 * configure: Regenerated.
67346
67347 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67348
67349 [BZ #11521]
67350 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67351 overflow or cancellation in calculating denominator.
67352 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67353 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67354 down expression to avoid unexpected rounding in newer GCCs.
67355 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67356
67357 2012-04-26 David S. Miller <davem@davemloft.net>
67358
67359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67360 long-double compat symbols.
67361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67374
67375 2012-04-25 David S. Miller <davem@davemloft.net>
67376
67377 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67378 HWCAP_* values only after the memory barriers have been defined.
67379 (atomic_full_barrier): Define.
67380 (atomic_read_barrier): Define.
67381 (atomic_write_barrier): Define.
67382
67383 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
67384
67385 * shlib-versions: Add libgcc_s version information.
67386 * sysdeps/generic/libgcc_s.h: Remove.
67387 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67388 libgcc_s.h.
67389 * sysdeps/gnu/unwind-resume.c: Likewise.
67390 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67391
67392 2012-04-25 David S. Miller <davem@davemloft.net>
67393
67394 * sysdeps/unix/sparc/brk.S: Delete.
67395 * sysdeps/unix/sparc/dl-brk.S: Delete.
67396 * sysdeps/unix/sparc/pipe.S: Delete.
67397 * sysdeps/unix/sparc/sysdep.S: Delete.
67398 * sysdeps/unix/sparc/sysdep.h: Delete.
67399 * sysdeps/unix/sparc/vfork.S: Delete.
67400 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67401 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67402 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67403 (ret_ERRVAL, r0, r1, MOVE): Define.
67404 (JUMPTARGET): Remove.
67405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67406 sysdeps/unix/sparc/sysdep.h
67407 (ENTRY, END): Remove.
67408 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67409
67410 2012-04-25 Joseph Myers <joseph@codesourcery.com>
67411
67412 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67413 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67414 -DIS_IN_build.
67415
67416 * timezone/README: Update upstream location and email address for
67417 tzcode and tzdata.
67418 * timezone/zdump.c: Update from tzcode 2012b.
67419 * timezone/zic.c: Likewise.
67420
67421 * configure.in (libc_cv_as_needed): Remove test.
67422 * configure: Regenerated.
67423 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67424 conditional definition.
67425 [$(have-as-needed) != yes] (no-as-needed): Likewise.
67426 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67427 * config.make.in (have-as-needed): Remove variable.
67428
67429 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
67430 Paul Pluzhnikov <ppluzhnikov@google.com>
67431
67432 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67433 strings correctly.
67434
67435 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
67436
67437 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67438 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67439 * sysdeps/sh/strlen.S: Likewise.
67440
67441 2012-04-24 Joseph Myers <joseph@codesourcery.com>
67442
67443 * sysdeps/unix/fork.S: Remove file.
67444 * sysdeps/unix/i386/fork.S: Likewise.
67445 * sysdeps/unix/sparc/fork.S: Likewise.
67446
67447 * sysdeps/unix/system.c: Remove file.
67448 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67449
67450 * sysdeps/unix/getegid.S: Remove file.
67451 * sysdeps/unix/geteuid.S: Likewise.
67452
67453 2012-04-24 Roland McGrath <roland@hack.frob.com>
67454
67455 * scripts/check-localplt.awk: New file.
67456 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67457 of diff.
67458 * scripts/data/localplt-generic.data: Add a comment.
67459
67460 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67461 NODE when __dir_mkfile failed.
67462 * sysdeps/mach/hurd/symlinkat.c: Likewise.
67463 Reported by Ludovic Courtès <ludo@gnu.org>.
67464
67465 2012-04-24 Andreas Jaeger <aj@suse.de>
67466
67467 * Makerules (common-clean): Also remove gen-as-const-headers
67468 files.
67469
67470 2012-04-24 Joseph Myers <joseph@codesourcery.com>
67471
67472 * Makerules (native-compile): Do not change working directory for
67473 build. Use $(OUTPUT_OPTION) in command.
67474 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67475
67476 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67477
67478 [BZ #13886]
67479 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67480 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67481 * math/libm-test.inc (floor_test): Add more tests.
67482 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67483
67484 2012-04-24 Joseph Myers <joseph@codesourcery.com>
67485
67486 * sysdeps/unix/getdents.c: Remove file.
67487 * sysdeps/unix/sysv/getdents.c: Likewise.
67488 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67489
67490 * sysdeps/unix/syscalls.list (madvise): Add syscall from
67491 sysdeps/unix/mman/syscalls.list.
67492 (mmap): Likewise.
67493 (mprotect): Likewise.
67494 (msync): Likewise.
67495 (munmap): Likewise.
67496 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67497 * sysdeps/unix/mman/syscalls.list: Remove.
67498 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67499
67500 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67501 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67502 * configure: Regenerated.
67503 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67504 $(libgcc_s_suffix).
67505 * config.make.in (libgcc_s_suffix): Remove variable.
67506
67507 2012-04-23 Joseph Myers <joseph@codesourcery.com>
67508
67509 * sysdeps/unix/sysv/gethostname.c: Move to ...
67510 * sysdeps/posix/gethostname.c: ... here.
67511
67512 * sysdeps/unix/execve.S: Remove file.
67513
67514 * sysdeps/unix/_exit.S: Remove file.
67515
67516 2012-04-23 Andreas Jaeger <aj@suse.de>
67517
67518 [BZ #13739]
67519 * manual/Makefile: Remove make dist support, there's no
67520 need for a stand-alone documentation tar ball.
67521 (TEXI2DVI): Define always, it's not in Makeconfig.
67522 (dist): Removed.
67523 (tar-it): Removed.
67524 (edition): Removed.
67525 (glibc-doc-$(edition).tar): Removed
67526 (%.Z): Removed.
67527 (%.gz): Removed.
67528 (%.uu): Removed.
67529 (ETAGS): Remove, it's in Makeconfig.
67530 (move-if-change): Remove, it's in Makeconfig.
67531
67532 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
67533
67534 [BZ #13970]
67535 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67536 (strtod, strtof, strtold, strtol, strtoul, strtoq)
67537 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67538 (strtod_l, strtof_l, strtold_l): Remove __wur.
67539 It is not necessarily an error to ignore strtol's return value.
67540 One can reliably look at the stored endptr to decide whether
67541 the number had valid syntax.
67542
67543 2012-04-21 Andreas Jaeger <aj@suse.de>
67544
67545 [BZ #13739]
67546 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67547
67548 2012-04-21 Joseph Myers <joseph@codesourcery.com>
67549
67550 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67551 * sysdeps/unix/sysv/Versions: Remove file.
67552
67553 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
67554
67555 [BZ #13927]
67556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67557
67558 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
67559
67560 [BZ #7064]
67561 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67562 version from __vm86.
67563
67564 2012-04-20 Joseph Myers <joseph@codesourcery.com>
67565
67566 * sysdeps/unix/common/lxstat.c: Remove file.
67567 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67568
67569 * sysdeps/unix/sysv/Makefile: Remove file.
67570
67571 * sysdeps/unix/sysv/direct.h: Remove file.
67572
67573 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67574 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67575 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67576 * sysdeps/unix/sysv/bits/signum.h: Likewise.
67577 * sysdeps/unix/sysv/bits/stat.h: Likewise.
67578 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67579 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67580
67581 * sysdeps/unix/sysv/setrlimit.c: Remove file.
67582
67583 * sysdeps/unix/xmknod.c: Remove file.
67584 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67585
67586 * sysdeps/unix/sysv/settimeofday.c: Remove file.
67587
67588 * sysdeps/unix/sysv/i386/time.S: Remove file.
67589
67590 * sysdeps/unix/fxstat.c: Remove file.
67591 * sysdeps/unix/xstat.c: Likewise.
67592 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67593
67594 * sysdeps/unix/sysv/sigaction.c: Remove file.
67595
67596 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67597 (sysdep_headers): Remove variable.
67598 [termio.h not in sysdep_headers] (generated): Likewise.
67599 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67600 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67601 * sysdeps/unix/sysv/tcdrain.c: Likewise.
67602 * sysdeps/unix/sysv/tcflow.c: Likewise.
67603 * sysdeps/unix/sysv/tcflush.c: Likewise.
67604 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67605 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67606 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67607 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67608 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67609
67610 * sysdeps/unix/siglist.c: Remove file.
67611
67612 * sysdeps/unix/getppid.S: Remove file.
67613
67614 * sysdeps/unix/mkdir.c: Remove file.
67615 * sysdeps/unix/rmdir.c: Likewise.
67616
67617 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
67618
67619 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67620 ERR_MAX value.
67621 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67622 errlist-compat value.
67623
67624 2012-04-18 David S. Miller <davem@davemloft.net>
67625
67626 * sysdeps/generic/memcopy.h (reg_char): Delete.
67627 * debug/strcat_chk.c: Use char, not reg_char.
67628 * debug/strcpy_chk.c: Likewise.
67629 * debug/strncat_chk.c: Likewise.
67630 * debug/strncpy_chk.c: Likewise.
67631 * string/memchr.c: Likewise.
67632 * string/memrchr.c: Likewise.
67633 * string/rawmemchr.c: Likewise.
67634 * string/strcat.c: Likewise.
67635 * string/strchr.c: Likewise.
67636 * string/strchrnul.c: Likewise.
67637 * string/strcmp.c: Likewise.
67638 * string/strcpy.c: Likewise.
67639 * string/strncat.c: Likewise.
67640 * string/strncmp.c: Likewise.
67641 * string/strncpy.c: Likewise.
67642
67643 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
67644
67645 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67646 __builtin_memcopy is called when src and dest ranges are known to not
67647 overlap.
67648
67649 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
67650
67651 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67652 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67653 fwd_align_merge macro call.
67654 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67655 bwd_align_merge macro call.
67656 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67657
67658 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
67659
67660 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67661 bwd_align_merge macros.
67662 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67663 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67664 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67665
67666 2012-04-18 David S. Miller <davem@davemloft.net>
67667
67668 * sysdeps/sparc/sparc64/memcopy.h: Delete.
67669
67670 2012-04-18 Andreas Jaeger <aj@suse.de>
67671
67672 [BZ# 6794]
67673 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67674 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67675 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67676
67677 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67678 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67679 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67680
67681 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67682 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67683 Adjust for changed ldbl-128 files.
67684
67685 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67686 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67687 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67688
67689 2012-04-17 David S. Miller <davem@davemloft.net>
67690
67691 * sysdeps/sparc/sparc32/memcopy.h: Delete.
67692
67693 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
67694
67695 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67696 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67697 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67698 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67699 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67700 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67701
67702 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67703
67704 [BZ #6794]
67705 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67706 * math/libm-test.inc: Add ilogb errno and exception tests.
67707 * math/w_ilogb.c: New file: ilogb wrapper.
67708 * math/w_ilogbf.c: New file: ilogbf wrapper.
67709 * math/w_ilogbl.c: New file: ilogbl wrapper.
67710 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67711 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67712 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67713 exception being thrown with 0.0 as argument.
67714 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67715 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67716 exception being thrown with 0.0 as argument.
67717 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67718 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67719 exception being thrown with 0.0 as argument.
67720 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67721 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67722 exception being thrown with 0.0 as argument.
67723 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67724 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67725 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67726 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67727 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67728 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67729 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67730 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67731 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67732
67733 2012-04-17 Petr Baudis <pasky@ucw.cz>
67734
67735 * include/sys/uio.h: Change __vector to __iovec to avoid clash
67736 with altivec.
67737
67738 2012-04-16 Marek Polacek <polacek@redhat.com>
67739
67740 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67741
67742 2012-04-16 Marek Polacek <polacek@redhat.com>
67743
67744 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67745 operands of fdivp instruction.
67746
67747 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
67748
67749 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67750 * elf/tst-auditmod3b.c: Likewise.
67751 * elf/tst-auditmod4b.c: Likewise.
67752 * elf/tst-auditmod5b.c: Likewise.
67753 * elf/tst-auditmod6b.c: Likewise.
67754 * elf/tst-auditmod6c.c: Likewise.
67755 * elf/tst-auditmod7b.c: Likewise.
67756 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67757 * sysdeps/x86_64/preconfigure.in: Likewise.
67758 * sysdeps/x86_64/preconfigure: Regenerated.
67759
67760 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
67761
67762 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67763 __ILP32__.
67764
67765 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
67766
67767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67768 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67769
67770 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
67771
67772 [BZ #13973]
67773 * locale/iso-639.def: Fix gl language name. Spotted by
67774 Yaron Shahrabani.
67775
67776 2012-04-12 Roland McGrath <roland@hack.frob.com>
67777
67778 [BZ #2074]
67779 * libio/libio.h (__io_write_fn): Update comment.
67780
67781 2012-04-12 Petr Baudis <pasky@ucw.cz>
67782
67783 [BZ #2074]
67784 * stdio.texi (Hook Functions): The user provided writer function
67785 is not allowed to return -1.
67786
67787 2012-04-11 David S. Miller <davem@davemloft.net>
67788
67789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67790
67791 2012-04-11 Mike Frysinger <vapier@gentoo.org>
67792
67793 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
67794 Add a leading slash to rtkaio.
67795
67796 2012-04-11 Jim Meyering <meyering@redhat.com>
67797
67798 [BZ #11959]
67799 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
67800 It is not necessarily an error to ignore fwrite's return
67801 value. One can reliably use ferror to test for errors after
67802 the fact.
67803
67804 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
67805
67806 * bits/types.h (__snseconds_t): New type.
67807 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
67808
67809 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
67810 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67811 (__SNSECONDS_T_TYPE): Likewise.
67812 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67813 (__SNSECONDS_T_TYPE): Likewise.
67814 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67815 (__SNSECONDS_T_TYPE): Likewise.
67816
67817 2012-04-10 Andreas Jaeger <aj@suse.de>
67818
67819 [BZ #2636]
67820 * manual/time.texi (Processor Time): Return type of times is
67821 elapsed real time since an arbitrary point in the past.
67822 (CPU Time): Move CLK_TCK from here...
67823 (Processor Time): ...to here. Correct description.
67824 * manual/conf.texi (Constants for Sysconf): Correct description of
67825 _SC_CLK_TCK.
67826
67827 2012-04-10 David S. Miller <davem@davemloft.net>
67828
67829 [BZ #13967]
67830 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
67831 where the is a gap between DT_REL(A) and DT_JMPREL.
67832
67833 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
67834
67835 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
67836 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67837 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67838
67839 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67840
67841 * elf/dl-support.c (_dl_inhibit_cache): New variable.
67842 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
67843 (dl_main): Handle --inhibit-cache.
67844 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
67845 _dl_inhibit_cache.
67846 * elf/dl-load.c (_dl_map_object): Use it.
67847 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
67848
67849 2012-04-09 Joseph Myers <joseph@codesourcery.com>
67850
67851 [BZ #13872]
67852 * sysdeps/i386/fpu/e_powl.S (p78): New object.
67853 (__ieee754_powl): Saturate large exponents rather than testing for
67854 overflow of y*log2(x).
67855 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67856 * math/libm-test.inc (pow_test): Do not permit spurious overflow
67857 exceptions.
67858
67859 [BZ #11521]
67860 * math/s_ctan.c: Include <float.h>.
67861 (__ctan): Avoid internal overflow or cancellation in calculating
67862 denominator.
67863 * math/s_ctanf.c: Likewise.
67864 * math/s_ctanl.c: Likewise.
67865 * math/s_ctanh.c: Likewise.
67866 * math/s_ctanhf.c: Likewise.
67867 * math/s_ctanhl.c: Likewise.
67868 * math/libm-test.inc (ctan_test): Add more tests.
67869 (ctanh_test): Likewise.
67870 * sysdeps/i386/fpu/libm-test-ulps: Update.
67871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67872
67873 2012-04-09 Andreas Jaeger <aj@suse.de>
67874
67875 [BZ #6894]
67876 * manual/filesys.texi (Directory Entries): Mention that d_namlen
67877 is an optional BSD extension.
67878
67879 [BZ #10254]
67880 * manual/stdio.texi (Opening Streams): Document additional fopen
67881 parameters.
67882
67883 2012-04-09 Roland McGrath <roland@hack.frob.com>
67884
67885 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67886 %eax without telling the compiler.
67887
67888 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
67889
67890 [BZ # 13963]
67891 * manual/install.texi: Use sourceware.org.
67892
67893 2012-04-09 Joseph Myers <joseph@codesourcery.com>
67894
67895 [BZ #13873]
67896 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67897 (__ieee754_pow): Generate overflow and underflow using huge*huge
67898 and tiny*tiny rather than just returning constant infinity or zero
67899 for large exponents.
67900 * math/libm-test.inc (pow_test): Require overflow exceptions for
67901 applicable cases of large exponents.
67902
67903 [BZ #706]
67904 * sysdeps/i386/fpu/e_pow.S (p10): New object.
67905 (__ieee754_pow): Use iterative multiplication algorithm only for
67906 integer exponents with absolute value below 1024. Check for odd
67907 integer exponents when using algorithm for real exponents.
67908 * math/libm-test.inc (pow_test): Add more tests.
67909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67910
67911 2012-04-08 Joseph Myers <joseph@codesourcery.com>
67912
67913 [BZ #13705]
67914 * math/libm-test.inc (exp_test): Do not allow overflow exception
67915 on underflow test.
67916
67917 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
67918
67919 [BZ #13705]
67920 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67921 instead of __kernel_standard_f.
67922
67923 2012-04-08 Mike Frysinger <vapier@gentoo.org>
67924
67925 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67926 * sysdeps/x86_64/memset_chk.S: Likewise.
67927
67928 2012-04-08 Andreas Jaeger <aj@suse.de>
67929
67930 [BZ #10153]
67931 * manual/startup.texi (Environment Access): Describe return value
67932 for putenv and setenv.
67933
67934 [BZ #6895]
67935 * manual/filesys.texi (Directory Entries): Add description for
67936 DT_LNK.
67937
67938 [BZ #6890]
67939 * manual/filesys.texi (Directory Entries): Clarify that it's file
67940 system not operating system in the description of DT_UNKNOWN.
67941
67942 [BZ #6578]
67943 * manual/syslog.texi (closelog): Fix reference, it's openlog.
67944
67945 2012-04-08 Stephen Compall <s11@member.fsf.org>
67946
67947 [BZ #6649]
67948 * manual/llio.texi (Opening and Closing Files): Add cross
67949 reference to explain mode argument.
67950
67951 2012-04-07 Mike Frysinger <vapier@gentoo.org>
67952
67953 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67954 * sysdeps/x86_64/memset_chk.S: Likewise.
67955
67956 2012-04-07 David S. Miller <davem@davemloft.net>
67957
67958 * elf/elf.h (R_SPARC_WDISP10): Define.
67959 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67960 R_SPARC_SIZE32.
67961 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67962 R_SPARC_SIZE64 and R_SPARC_H34.
67963
67964 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
67965
67966 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67967 conditions and remove no longer applicable assertion.
67968
67969 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
67970
67971 * bits/byteswap.h: Include <features.h>.
67972 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67973 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67974
67975 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
67976
67977 * bits/byteswap.h (__bswap_16): Removed.
67978 Include <bits/byteswap-16.h> to get __bswap_16.
67979 * sysdeps/i386/bits/byteswap.h: Likewise.
67980 * sysdeps/s390/bits/byteswap.h: Likewise.
67981 * sysdeps/x86_64/bits/byteswap.h: Likewise.
67982 * bits/byteswap-16.h: New file.
67983 * sysdeps/i386/bits/byteswap-16.h: Likewise.
67984 * sysdeps/s390/bits/byteswap-16.h: Likewise.
67985 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67986 * string/Makefile (headers): Add bits/byteswap-16.h.
67987
67988 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
67989
67990 [BZ #13895]
67991 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67992 extra indirection.
67993 * nss/Makefile (tests-static, tests): Add tst-nss-static.
67994 * nss/tst-nss-static.c: New.
67995
67996 2012-04-06 Robert Millan <rmh@gnu.org>
67997
67998 [BZ #6486]
67999 * manual/llio.texi (File Position Primitive): lseek
68000 refers to WHENCE when it really means OFFSET.
68001
68002 2012-04-06 Andreas Jaeger <aj@suse.de>
68003
68004 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68005 strncmp declarations.
68006
68007 * abilist/libc.abilist: Add __poll and __ppoll.
68008
68009 2012-04-05 David S. Miller <davem@davemloft.net>
68010
68011 * scripts/check-local-headers.sh: Accept a host triplet in the
68012 path matched by the exclude regexp.
68013
68014 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68015 definition.
68016 * sysdeps/powerpc/powerpc32/dl-machine.h
68017 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68018 * sysdeps/s390/s390-32/dl-machine.h
68019 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68020 * sysdeps/sparc/sparc32/dl-machine.h
68021 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68022 * sysdeps/sparc/sparc64/dl-machine.h
68023 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68024
68025 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68026 lazy binding.
68027 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68028 undefined symbol errors.
68029
68030 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68031 DT_NEEDED entries.
68032
68033 2012-04-05 Michael Matz <matz@suse.de>
68034
68035 [BZ #13592]
68036 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68037
68038 2012-04-05 Andreas Jaeger <aj@suse.de>
68039
68040 [BZ #13908]
68041 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68042 comment.
68043
68044 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
68045
68046 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68047 which ROUND is no valid rounding mode.
68048
68049 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
68050
68051 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68052 read again.
68053 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68054
68055 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
68056
68057 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68058 an exception using FPU order intentionally.
68059
68060 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
68061
68062 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68063 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68064 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68065 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68066
68067 2012-04-05 Simon Josefsson <simon@josefsson.org>
68068
68069 [BZ #12340]
68070 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68071 EINVAL when BUFLEN is too smal.
68072
68073 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
68074
68075 [BZ #13553]
68076 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68077 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68078
68079 2012-04-03 Andreas Jaeger <aj@suse.de>
68080
68081 [BZ #13938]
68082 * manual/setjmp.texi (System V contexts): Fix sentence.
68083
68084 [BZ #13926]
68085 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68086 New macro for this case.
68087 [!__GNUC__] (__bswap_64): New inline function for this case.
68088 * sysdeps/x86_64/bits/byteswap.h: Likewise.
68089 * bits/byteswap.h: Likewise.
68090 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68091 ull, guard with __GLIBC_HAVE_LONG_LONG.
68092
68093 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68094 __GLIBC_HAVE_LONG_LONG.
68095
68096 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68097 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68098
68099 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68100
68101 [BZ #13691]
68102 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68103 inptr and inend, rather than using last_ch.
68104
68105 2012-04-02 David S. Miller <davem@davemloft.net>
68106
68107 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68108 * stdio-common/printf-parse.h (read_int): Change return type to
68109 'int', return -1 on INT_MAX overflow.
68110 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68111 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
68112 overflows INT_MAX. Check for overflow of in-format-string precision
68113 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
68114 SIZE_MAX not INT_MAX for integer overflow test.
68115 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68116 skip the construct in the format string but do not record anything.
68117 * stdio-common/bug22.c: Adjust to test both width/prevision
68118 INT_MAX overflow as well as total length INT_MAX overflow. Check
68119 explicitly for proper errno values.
68120
68121 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
68122
68123 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68124 CHAR_MAX.
68125 * string/test-strcmp.c [! WIDE]: Likewise.
68126 * time/tst-mktime2.c: Likewise for INT_MAX.
68127 * string/test-string.h: #include <sys/param.h> for MIN.
68128
68129 * csu/init-first.c (__libc_init_first): Call __ctype_init.
68130 * sysdeps/i386/init-first.c (init): Likewise.
68131 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68132 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68133 * sysdeps/sh/init-first.c (init): Likewise.
68134
68135 2012-04-01 Ulrich Drepper <drepper@gmail.com>
68136
68137 * po/ru.po: Update from translation team.
68138 * po/vi.po: Likewise.
68139
68140 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
68141
68142 * resolv/nss_dns/dns-host.c: Merge copyright years.
68143
68144 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68145
68146 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68147 Optimize memcpy with prefetch if
68148 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
68149 src, dst pointers have unequal 16 byte alignments.
68150
68151 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
68152
68153 [BZ #13928]
68154 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68155 from a CNAME entry and return the minimum ttl for the query.
68156 (gaih_getanswer_slice): Likewise.
68157
68158 2012-03-30 Jeff Law <law@redhat.com>
68159
68160 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68161 due to long keys.
68162 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68163 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68164
68165 * resolv/nss_dns/dns-host.c: Update copyright year.
68166
68167 2012-03-30 Ulrich Drepper <drepper@gmail.com>
68168
68169 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68170 requests to save a system call. Fix check that all bytes are sent.
68171
68172 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68173 comments for sendmmsg.
68174
68175 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68176
68177 [BZ #13691]
68178 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68179 with only 1 character between 0x0041 and 0x01b0.
68180 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68181 * wcsmbs/tst-mbsnrtowcs.c: New file.
68182
68183 2012-03-29 David S. Miller <davem@davemloft.net>
68184
68185 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68186 small copies by hand.
68187
68188 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
68189
68190 [BZ #13761]
68191 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68192 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68193 group memberships.
68194
68195 2012-03-28 David S. Miller <davem@davemloft.net>
68196
68197 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68198 that branches into memcpy.
68199 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68200 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68201 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68202 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68204 bits.
68205 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68206 implementation too.
68207 * sysdeps/sparc/mempcpy.S: New file.
68208
68209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68210 the IFUNC routine in the libc case.
68211 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68212
68213 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68214 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68215 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68216 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68217 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68218 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68219 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68220 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68221
68222 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68223 loop to 256 bytes instead of 64 bytes and fix test signedness.
68224
68225 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68226 * sysdeps/sparc/sparc32/Makefile: rather than here...
68227 * sysdeps/sparc/sparc64/Makefile: and here.
68228
68229 2012-03-28 Ulrich Drepper <drepper@gmail.com>
68230
68231 * malloc/mallocbug.c: Avoid warnings about unused variables.
68232
68233 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
68234
68235 [BZ #13760]
68236 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68237 in the right place. Discard and retry query if response is
68238 larger than input buffer size.
68239
68240 2012-03-28 Joseph Myers <joseph@codesourcery.com>
68241
68242 [BZ #369]
68243 [BZ #2678]
68244 [BZ #3866]
68245 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68246 x for large integer exponent.
68247 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68248 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
68249 sign of result as needed afterwards.
68250 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68251 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68252 result for underflowing pow the same as for overflow.
68253 (__kernel_standard_l): Handle powl overflow and underflow here
68254 rather than calling __kernel_standard.
68255 * math/libm-test.inc (pow_test): Add more tests.
68256
68257 [BZ #3868]
68258 [BZ #13879]
68259 [BZ #13910]
68260 [BZ #13911]
68261 [BZ #13912]
68262 [BZ #13913]
68263 [BZ #13915]
68264 [BZ #13916]
68265 [BZ #13917]
68266 [BZ #13918]
68267 [BZ #13919]
68268 [BZ #13920]
68269 [BZ #13921]
68270 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68271 * sysdeps/ieee754/k_standard.c: Include <float.h>.
68272 (__kernel_standard_l): New function.
68273 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68274 __kernel_standard.
68275 * math/w_acosl.c (__acosl): Likewise.
68276 * math/w_asinl.c (__asinl): Likewise.
68277 * math/w_atan2l.c (__atan2l): Likewise.
68278 * math/w_atanhl.c (__atanhl): Likewise.
68279 * math/w_coshl.c (__coshl): Likewise.
68280 * math/w_exp10l.c (__exp10l): Likewise.
68281 * math/w_exp2l.c (__exp2l): Likewise.
68282 * math/w_fmodl.c (__fmodl): Likewise.
68283 * math/w_hypotl.c (__hypotl): Likewise.
68284 * math/w_j0l.c (__j0l, __y0l): Likewise.
68285 * math/w_j1l.c (__j1l, __y1l): Likewise.
68286 * math/w_jnl.c (__jnl, __ynl): Likewise.
68287 * math/w_lgammal.c (__lgammal): Likewise.
68288 * math/w_log10l.c (__log10l): Likewise.
68289 * math/w_log2l.c (__log2l): Likewise.
68290 * math/w_logl.c (__logl): Likewise.
68291 * math/w_powl.c (__powl): Likewise.
68292 * math/w_remainderl.c (__remainderl): Likewise.
68293 * math/w_scalbl.c (sysv_scalbl): Likewise.
68294 * math/w_sinhl.c (__sinhl): Likewise.
68295 * math/w_sqrtl.c (__sqrtl): Likewise.
68296 * math/w_tgammal.c (__tgammal): Likewise.
68297 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68298 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68299 * math/libm-test.inc (acos_test): Add more tests.
68300 (acosh_test): Likewise.
68301 (asin_test): Likewise.
68302 (atanh_test): Likewise.
68303 (exp_test): Likewise.
68304 (exp10_test): Likewise.
68305 (exp2_test): Likewise.
68306 (expm1_test): Likewise.
68307 (lgamma_test): Likewise.
68308 (log_test): Likewise.
68309 (log10_test): Likewise.
68310 (log1p_test): Likewise.
68311 (log2_test): Likewise.
68312 (pow_test): Do not allow some spurious overflow exceptions.
68313 (sqrt_test): Add more tests.
68314 (tgamma_test): Likewise.
68315 (y0_test): Likewise.
68316 (y1_test): Likewise.
68317 (yn_test): Likewise.
68318
68319 2012-03-27 Anton Blanchard <anton@samba.org>
68320
68321 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68322 MAP_HUGETLB.
68323 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68324 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68325 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68326
68327 2012-03-27 David S. Miller <davem@davemloft.net>
68328
68329 * conform/Makefile: Run run-conformtest.sh using $(BASH).
68330
68331 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68332 have-as-vis3 check.
68333
68334 2012-03-27 Andreas Jaeger <aj@suse.de>
68335
68336 * sysdeps/x86_64/elf/configure.in: Moved to ...
68337 * sysdeps/x86_64/configure.in: ... here.
68338 * sysdeps/x86_64/elf/start.S: Moved to ...
68339 * sysdeps/x86_64/start.S: ... here.
68340 * sysdeps/x86_64/elf/configure: Delete.
68341
68342 * sysdeps/x86_64/configure.in: Merge contents from
68343 sysdeps/i386/configure.in (without i686 check).
68344
68345 * sysdeps/i386/elf/Versions: Merge into ...
68346 * sysdeps/i386/Versions: ... this.
68347 * sysdeps/i386/elf/Versions: Delete file.
68348 * sysdeps/i386/elf/start.S: Moved to ...
68349 * sysdeps/i386/start.S: ...here.
68350 * sysdeps/i386/elf/configure.in: Merge into...
68351 * sysdeps/i386/configure.in: ...here.
68352 * sysdeps/i386/elf/configure.in: Delete file.
68353 * sysdeps/i386/elf/configure: Delete file.
68354
68355 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68356 * debug/backtracesyms.c: ... here.
68357 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68358 * debug/backtracesymsfd.c: ... here.
68359 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68360 * sysdeps/generic/ifunc-sel.h: ... here.
68361
68362 * sysdeps/unix/i386/start.c: Delete file.
68363 * sysdeps/unix/sparc/start.c: Delete file.
68364 * sysdeps/unix/start.c: Delete file.
68365
68366 * sysdeps/sh/elf/configure.in: Moved to ...
68367 * sysdeps/sh/configure.in: ... here.
68368 * sysdeps/sh/elf/start.S: Moved to ...
68369 * sysdeps/sh/start.S: ... here.
68370 * sysdeps/sh/elf/configure: Delete file.
68371
68372 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68373 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68374 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68375 * sysdeps/powerpc/powerpc64/entry.h: ... here.
68376 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68377 * sysdeps/powerpc/powerpc64/start.S: here.
68378 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68379 * sysdeps/powerpc/powerpc64/Makefile: ... this.
68380 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68381 * sysdeps/powerpc/powerpc64/configure.in: ... this.
68382 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68383
68384 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68385 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68386 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68387 * sysdeps/powerpc/powerpc32/start.S: ... here.
68388 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68389 * sysdeps/powerpc/powerpc32/configure.in: ... this.
68390 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68391
68392 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68393 * sysdeps/powerpc/ifunc-sel.h: ... here.
68394 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68395 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68396
68397 * sysdeps/sparc/elf/configure.in: Moved to ...
68398 * sysdeps/sparc/configure.in: ... here.
68399 * sysdeps/sparc/elf/configure: Delete file.
68400 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68401 * sysdeps/sparc/sparc32/start.S: ... here.
68402 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68403 * sysdeps/sparc/sparc64/start.S: ... here.
68404 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68405 * sysdeps/sparc/sparc32/Makefile: ... this.
68406 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68407 * sysdeps/sparc/sparc64/Makefile: ... this.
68408
68409 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68410 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68411 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68412 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68413 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68414 * sysdeps/s390/s390-32/setjmp.S: ... here.
68415 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68416 * sysdeps/s390/s390-32/configure.in: ... here.
68417 * sysdeps/s390/s390-32/elf/configure: Delete file.
68418 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68419 * sysdeps/s390/s390-32/start.S: ... here.
68420
68421 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68422 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68423 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68424 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68425 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68426 * sysdeps/s390/s390-64/setjmp.S: ... here.
68427 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68428 * sysdeps/s390/s390-64/configure.in: ... here
68429 * sysdeps/s390/s390-64/elf/configure: Delete file.
68430 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68431 * sysdeps/s390/s390-64/start.S: ... here.
68432 * sysdeps/s390/s390-64/elf/configure: Delete.
68433
68434 * configure.in: Remove support for elf directories in sysdeps.
68435
68436 * configure: Regenerated.
68437 * sysdeps/i386/configure: Regenerated.
68438 * sysdeps/powerpc/powerpc32/configure: Regenerated.
68439 * sysdeps/powerpc/powerpc64/configure: Regenerated.
68440 * sysdeps/s390/s390-32/configure: Regenerated.
68441 * sysdeps/s390/s390-64/configure: Regenerated.
68442 * sysdeps/sh/configure: Regenerated.
68443 * sysdeps/sparc/configure: Regenerated.
68444 * sysdeps/x86_64/configure: Regenerated.
68445
68446 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
68447
68448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68449
68450 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68451 denormal result into account.
68452
68453 2012-03-25 Roland McGrath <roland@hack.frob.com>
68454
68455 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68456 Reported by Allan McRae <allan@archlinux.org>.
68457
68458 2012-03-23 Jeff Law <law@redhat.com>
68459
68460 * nss/getnssent.c (__nss_getent): Fix typo.
68461
68462 2012-03-23 David S. Miller <davem@davemloft.net>
68463
68464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68465
68466 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
68467
68468 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68469 to pad to uint64_t for each field.
68470 (dl_tls_index): Replace unsigned long with uint64_t.
68471
68472 2012-03-23 Daniel Jacobowitz <dmj@google.com>
68473 Paul Pluzhnikov <ppluzhnikov@google.com>
68474
68475 [BZ #6528]
68476 * grp/Makefile (otherlibs): Don't set it.
68477 * inet/Makefile (otherlibs): Likewise.
68478 * login/Makefile (otherlibs): Likewise.
68479 * nscd/Makefile (otherlibs): Likewise.
68480 * posix/Makefile (otherlibs): Likewise.
68481 * pwd/Makefile (otherlibs): Likewise.
68482 * rt/Makefile (otherlibs): Likewise.
68483 * sunrpc/Makefile (otherlibs): Likewise.
68484 * nss/Makefile (otherlibs): Likewise.
68485 Add libnss_files to routines and static-only-routines.
68486 ($(objpfx)getent): Remove rule.
68487 * resolv/Makefile: Add libnss_dns and libresolv to routines and
68488 static-only-routines.
68489
68490 2012-03-22 Joseph Myers <joseph@codesourcery.com>
68491
68492 [BZ #13892]
68493 * math/s_cexp.c: Include <float.h>.
68494 (__cexp): Handle exp result overflowing not necessarily
68495 overflowing both real and imaginary parts of result.
68496 * math/s_cexpf.c: Likewise.
68497 * math/s_cexpl.c: Likewise.
68498 * math/libm-test.inc (cexp_test): Add more tests.
68499 * sysdeps/i386/fpu/libm-test-ulps: Update.
68500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68501
68502 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
68503
68504 * include/link.h (ELFW): New macro.
68505 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68506 Replace ELF64_R_TYPE with ELFW(R_TYPE).
68507
68508 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
68509
68510 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68511 with uint64_t.
68512
68513 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
68514
68515 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68516 declaration.
68517 (struct La_x32_retval): Likewise.
68518
68519 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
68520
68521 * sysdeps/x86_64/preconfigure.in: New file.
68522 * sysdeps/x86_64/preconfigure: New generated file.
68523
68524 2012-03-22 Joseph Myers <joseph@codesourcery.com>
68525
68526 [BZ #13824]
68527 * math/e_exp2l.c: Include <float.h>.
68528 (__ieee754_exp2l): Handle overflow and underflow cases
68529 separately. Only pass fractional part of argument to
68530 __ieee754_expl.
68531 * math/libm-test.inc (exp2_test): Add more tests.
68532
68533 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68534 negating x to take absolute value.
68535 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68536 Likewise.
68537 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68538 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68539 Likewise.
68540 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68541 computing low part if x was negated.
68542 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68543
68544 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
68545
68546 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68547 la_x32_gnu_pltexit.
68548 (pltexit): Cast int_retval to ptrdiff_t.
68549 * elf/tst-auditmod3b.c: Likewise.
68550 * elf/tst-auditmod4b.c: Likewise.
68551 * elf/tst-auditmod5b.c: Likewise.
68552 * elf/tst-auditmod6b.c: Likewise.
68553 * elf/tst-auditmod6c.c: Likewise.
68554 * elf/tst-auditmod7b.c: Likewise.
68555
68556 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68557 and x32_gnu_pltexit.
68558
68559 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68560 __ELF_NATIVE_CLASS.
68561 (La_x32_regs): New macro.
68562 (La_x32_retval): Likewise.
68563 (la_x32_gnu_pltenter): New function prototype.
68564 (la_x32_gnu_pltexit): Likewise.
68565
68566 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
68567
68568 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68569 exponent.
68570
68571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68572
68573 * configure.in (libc_cv_cc_nofma): Check for option to disable
68574 generation of FMA instructions.
68575 * configure: Regenerate.
68576 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68577 * sysdeps/ieee754/dbl-64/Makefile: New file.
68578 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68579 Remove brandred-fma4.
68580 (CFLAGS-brandred-fma4.c): Remove.
68581 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68582 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68583 define.
68584 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68585 define.
68586
68587 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
68588
68589 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68590 LLONG_MAX != LONG_MAX.
68591 (_itoa_word): Use _ITOA_WORD_TYPE on value.
68592 (_fitoa_word): Likewise.
68593 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68594 LLONG_MAX != LONG_MAX.
68595 * stdio-common/_itowa.h: Include <_itoa.h>.
68596 (_itowa_word): Use _ITOA_WORD_TYPE on value.
68597 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
68598 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
68599 only if not defined.
68600 (_ITOA_WORD_TYPE): Likewise.
68601 (_itoa_word): Use _ITOA_WORD_TYPE on value.
68602 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68603
68604 2012-03-21 David S. Miller <davem@davemloft.net>
68605
68606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68607
68608 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
68609
68610 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68611 of x86_64 when setting libc_cv_slibdir, libdir and
68612 libc_cv_localedir.
68613 * sysdeps/unix/sysv/linux/configure: Regenerated.
68614
68615 2012-03-21 Joseph Myers <joseph@codesourcery.com>
68616
68617 * manual/lang.texi (Old Varargs): Remove section.
68618 (How Variadic): Update menu.
68619 (va_start): Do not mention varargs.h.
68620
68621 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
68622 Joseph Myers <joseph@codesourcery.com>
68623
68624 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68625 link test.
68626 * configure: Regenerated.
68627
68628 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
68629
68630 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68631 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68632 conformtest.pl
68633
68634 2012-03-21 Joseph Myers <joseph@codesourcery.com>
68635
68636 * NOTES: Remove.
68637 * Makefile (files-for-dist): Remove NOTES.
68638 (NOTES): Remove rule.
68639 * README: Don't refer to NOTES.
68640 * manual/creature.texi: Don't include macros.texi.
68641 * manual/intro.texi (creature.texi): Remove comment referring to
68642 NOTES.
68643
68644 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68645 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68646 * configure: Regenerated.
68647 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68648 LIBC_TRY_CC_OPTION.
68649 (libc_cv_as_i686): Likewise.
68650 (libc_cv_cc_avx): Likewise.
68651 (libc_cv_cc_sse2avx): Likewise.
68652 (libc_cv_cc_fma4): Likewise.
68653 (libc_cv_cc_novzeroupper): Likewise.
68654 * sysdeps/i386/configure: Regenerated.
68655
68656 [BZ #13883]
68657 * sysdeps/i386/fpu/s_cexp.S: Remove.
68658 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68659 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68660 * math/libm-test.inc (cexp_test): Add more tests.
68661 * sysdeps/i386/fpu/libm-test-ulps: Update.
68662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68663
68664 2012-03-21 Allan McRae <allan@archlinux.org>
68665
68666 * timezone/Makefile: Do not install iso3166.tab and zone.tab
68667
68668 2012-03-21 Joseph Myers <joseph@codesourcery.com>
68669
68670 [BZ #13871]
68671 * math/w_exp2.c: Do not include <float.h>.
68672 (o_threshold, u_threshold): Remove.
68673 (__exp2): Calculate result before checking finiteness and calling
68674 __kernel_standard.
68675 * math/w_exp2f.c: Likewise.
68676 * math/w_exp2l.c: Likewise.
68677 * math/libm-test.inc (exp2_test): Require overflow exception for
68678 1e6 input.
68679
68680 [BZ #3866]
68681 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68682 range of signed 64-bit integers before using fistpll. Remove
68683 checks for whether integers fit in mantissa bits.
68684 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68685 the range of signed 32-bit integers before using fistpl. Remove
68686 checks for whether integers fit in mantissa bits.
68687 * sysdeps/i386/fpu/e_powl.S (p64): New object.
68688 (__ieee754_powl): Test for y outside the range of signed 64-bit
68689 integers before using fistpll. Reduce 64-bit values to 63-bit
68690 ones as needed.
68691 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68692 divide-by-zero is raised for zero to large negative powers.
68693 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68694 (__ieee754_powl): Test for y outside the range of signed 64-bit
68695 integers before using fistpll. Reduce 64-bit values to 63-bit
68696 ones as needed.
68697 * math/libm-test.inc (pow_test): Add more tests.
68698
68699 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
68700
68701 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68702 <stdio-common/_itoa.h>.
68703 * debug/segfault.c: Likewise.
68704 * elf/dl-cache.c: Likewise.
68705 * elf/dl-minimal.c: Likewise.
68706 * elf/dl-misc.c: Likewise.
68707 * elf/dl-sysdep.c: Likewise.
68708 * elf/dl-version.c: Likewise.
68709 * elf/rtld.c: Likewise.
68710 * hurd/hurdsock.c: Likewise.
68711 * hurd/lookup-retry.c: Likewise.
68712 * malloc/malloc.c: Likewise.
68713 * malloc/mtrace.c: Likewise.
68714 * nscd/nscd_getgr_r.c: Likewise.
68715 * nscd/nscd_getpw_r.c: Likewise.
68716 * nscd/nscd_getserv_r.c: Likewise.
68717 * posix/getopt_init.c: Likewise.
68718 * posix/wordexp.c: Likewise.
68719 * stdio-common/_itoa.c: Likewise.
68720 * stdio-common/printf_fphex.c: Likewise.
68721 * stdio-common/vfprintf.c: Likewise.
68722 * string/_strerror.c: Likewise.
68723 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68724 * sysdeps/i386/i686/hp-timing.h: Likewise.
68725 * sysdeps/mach/_strerror.c: Likewise.
68726 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68727 * sysdeps/mach/hurd/sethostid.c: Likewise.
68728 * sysdeps/mach/hurd/xmknodat.c: Likewise.
68729 * sysdeps/mach/xpg-strerror.c: Likewise.
68730 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68731 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68732 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68733 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68734 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68735 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68736 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68737 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68738 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68739 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68740 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68741 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68742 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68743 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68744 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68745 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68746 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68747 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68748 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68749 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68750 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68751
68752 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68753
68754 * stdio-common/_itoa.h: Moved to ...
68755 * sysdeps/generic/_itoa.h: Here.
68756
68757 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68758
68759 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68760 instead of "_itoa.h" and "_itowa.h".
68761 * stdio-common/vfprintf.: Likewise.
68762
68763 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
68764
68765 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68766 <bits/wordsize.h>.
68767 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68768 (__signbit): Likwise.
68769 (llrintf): Likwise.
68770 (llrint): Likwise.
68771
68772 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
68773
68774 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68775 __WORDSIZE != 64.
68776
68777 2012-03-20 Joseph Myers <joseph@codesourcery.com>
68778
68779 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
68780 OVERFLOW_EXCEPTION_OK.
68781 * math/libm-test.inc ("Philosophy"): Update comment about
68782 exception testing.
68783 (OVERFLOW_EXCEPTION): Define.
68784 (OVERFLOW_EXCEPTION_OK): Likewise.
68785 (INVALID_EXCEPTION_OK): Renumber.
68786 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68787 (IGNORE_ZERO_INF_SIGN): Likewise.
68788 (test_exceptions): Handle FE_OVERFLOW.
68789 (exp10_test): Expect overflow exceptions.
68790 (exp2_test): Likewise.
68791 (expm1_test): Likewise.
68792 (nextafter_test): Likewise.
68793 (pow_test): Likewise.
68794 (scalbn_test): Likewise.
68795 (scalbln_test): Likewise.
68796
68797 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
68798
68799 * sysdeps/x86_64/bits/atomic.h
68800 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
68801 64bit integer.
68802 (atomic_exchange_acq): Likewise.
68803 (__arch_exchange_and_add_body): Likewise.
68804 (__arch_add_body): Likewise.
68805 (atomic_add_negative): Likewise.
68806 (atomic_add_zero): Likewise.
68807
68808 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
68809
68810 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
68811 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
68812
68813 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
68814
68815 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
68816 Check __x86_64__ instead of __WORDSIZE.
68817
68818 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
68819
68820 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
68821
68822 2012-03-19 David S. Miller <davem@davemloft.net>
68823
68824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68825
68826 * sysdeps/sparc/fpu/fenv_private.h: New file.
68827 * sysdeps/sparc/fpu/math_private.h: Use it.
68828 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
68829 Remove.
68830 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
68831 (libc_feholdexcept_setroundl): Remove.
68832 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
68833 Remove.
68834 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
68835 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
68836
68837 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
68838
68839 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
68840 int64_t instead of long int.
68841 (INSERT_WORDS64): Likwise.
68842
68843 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
68844
68845 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
68846 _Unwind_GetCFA return to _Unwind_Ptr first.
68847
68848 2012-03-19 Joseph Myers <joseph@codesourcery.com>
68849
68850 [BZ #13629]
68851 * math/s_clog.c: Include <float.h>.
68852 (__clog): Scale large or subnormal inputs.
68853 * math/s_clogf.c: Likewise.
68854 * math/s_clogl.c: Likewise.
68855 * math/s_clog10.c: Include <float.h>.
68856 (M_LOG10_2): Define.
68857 (__clog10): Scale large or subnormal inputs.
68858 * math/s_clog10f.c: Likewise.
68859 * math/s_clog10l.c: Likewise.
68860 * math/libm-test.inc (clog_test): Add more tests.
68861 (clog10_test): Likewise.
68862 * sysdeps/i386/fpu/libm-test-ulps: Update.
68863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68864
68865 [BZ #11451]
68866 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68867 x and y.
68868 * math/libm-test.inc (atan2_test): Add another test.
68869
68870 * Makerules (common-objdir-compile): Remove.
68871 * sysdeps/unix/Makefile (config-generated): Do not add
68872 $(unix-generated) to variable.
68873 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68874 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68875 Remove rule.
68876 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68877 Likewise.
68878 [generic bits/local_lim.h] (before-compile): Do not append to
68879 variable.
68880 [generic bits/local_lim.h] (common-generated): Likewise.
68881 [generic sys/param.h] (before-compile): Do not append to variable.
68882 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68883 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68884 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68885 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68886 include.
68887 [generic sys/param.h] (sys/param.h-includes): Remove variable.
68888 [generic sys/param.h] (sys/param.h-includes): Remove rule.
68889 [generic sys/param.h] ($(addprefix
68890 $(common-objpfx),$(sys/param.h-includes))): Likewise.
68891 [generic sys/param.h] (common-generated): Do not append to
68892 variable.
68893 [generic sys/param.h] (sysdep_headers): Likewise.
68894 [generic bits/errno.h] (before-compile): Do not append to
68895 variable.
68896 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68897 rule.
68898 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68899 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68900 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68901 [generic bits/errno.h] (common-generated): Do not append to
68902 variable.
68903 [generic bits/ioctls.h] (before-compile): Do not append to
68904 variable.
68905 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68906 rule.
68907 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68908 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68909 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68910 rule.
68911 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68912 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68913 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68914 [generic bits/ioctls.h] (common-generated): Do not append to
68915 variable.
68916 [generic sys/syscall.h] (syscall.h): Remove variable.
68917 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68918 rule.
68919 [generic sys/syscall.h] (before-compile): Do not append to
68920 variable.
68921 [generic sys/syscall.h] (common-generated): Likewise.
68922 * sysdeps/unix/errnos-tmpl.c: Remove file.
68923 * sysdeps/unix/errnos.awk: Likewise.
68924 * sysdeps/unix/ioctls-tmpl.c: Likewise.
68925 * sysdeps/unix/ioctls.awk: Likewise.
68926 * sysdeps/unix/mk-local_lim.c: Likewise.
68927 * sysdeps/unix/snarf-ioctls: Likewise.
68928
68929 2012-03-19 Richard Henderson <rth@twiddle.net>
68930
68931 * sysdeps/i386/fpu/fenv_private.h: New file.
68932 * sysdeps/i386/fpu/math_private.h: Use it.
68933 (math_opt_barrier, math_force_eval): Remove.
68934 (libc_feholdexcept_setround_53bit): Remove.
68935 (libc_feupdateenv_53bit): Remove.
68936 * sysdeps/x86_64/fpu/math_private.h: Likewise.
68937 (math_opt_barrier, math_force_eval): Remove.
68938 (libc_feholdexcept): Remove.
68939 (libc_feholdexcept_setround): Remove.
68940 (libc_fetestexcept, libc_fesetenv): Remove.
68941 (libc_feupdateenv_test): Remove.
68942 (libc_feupdateenv, libc_feholdsetround): Remove.
68943 (libc_feresetround): Remove.
68944
68945 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68946 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68947
68948 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68949 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68950 (libc_feupdateenv_testl): New.
68951 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68952 (libc_feupdateenv_testf): New.
68953 (libc_feupdateenv): Use libc_feupdateenv_test.
68954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68955 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68956
68957 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68958 (libc_feholdsetroundf, libc_feholdsetroundl): New.
68959 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68960 (libc_feresetround_noex): New.
68961 (libc_feresetround_noexf): New.
68962 (libc_feresetround_noexl): New.
68963 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68964 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68965 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68966 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68967 SET_RESTORE_ROUND.
68968 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68969 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68970 (__cos): Likewise.
68971 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68972 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68973 SET_RESTORE_ROUND_NOEX.
68974 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68975 SET_RESTORE_ROUND_NOEXF.
68976 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68977 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68978 (libc_feholdsetroundf): New.
68979 (libc_feresetround, libc_feresetroundf): New.
68980
68981 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68982 (libc_feholdexcept_setround_53bit): Convert from macro to function.
68983 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
68984
68985 * sysdeps/generic/math_private.h: Include <fenv.h>.
68986 (default_libc_feholdexcept): New.
68987 (default_libc_feholdexcept_setround): New.
68988 (default_libc_fesetenv, default_libc_feupdateenv): New.
68989 (libc_feholdexcept): Only define if undefined.
68990 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68991 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68992 (libc_feholdexcept_setroundl): Likewise.
68993 (libc_feholdexcept_setround_53bit): Likewise.
68994 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68995 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68996 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68997 (libc_feupdateenv_53bit): Likewise.
68998 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68999 (libc_feholdexcept): Convert from macro to inline function.
69000 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69001 (libc_fesetenv, libc_feupdateenv): Likewise.
69002
69003 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69004 not previously defined.
69005 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69006 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69007 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69008 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69009 * sysdeps/ieee754/flt-32/math_private.h: New file.
69010 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69011 math_private.h below SET_FLOAT_WORD.
69012 (__isnan, __isinf_ns, __finite): Remove.
69013 (__isnanf, __isinf_nsf, __finitef): Remove.
69014
69015 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
69016
69017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69018
69019 2012-03-17 David S. Miller <davem@davemloft.net>
69020
69021 [BZ #6471]
69022 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69023 for 2.16.
69024
69025 2012-03-16 David S. Miller <davem@davemloft.net>
69026
69027 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69028 warnings.
69029
69030 [BZ #6471]
69031 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69032 properly.
69033 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69034 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69035 sysdep_routines when subdir is sysvipc.
69036 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69037 __getshmlba helper.
69038
69039 * sysdeps/sparc/fpu/libm-test/ulps: Update.
69040
69041 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
69042
69043 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69044 [__LP64__].
69045
69046 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
69047
69048 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69049 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69050 (__lround): Renamed to ...
69051 (__llround): This. Replace long int with long long int.
69052 Define lround functions as aliases of llround functions.
69053 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69054
69055 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
69056
69057 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69058 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
69059 adresses to uintptr_t. Replace "long int" and "unsigned long
69060 int" with "greg_t" on va_arg.
69061
69062 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
69063
69064 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69065 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69066
69067 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69068 Move e_machine check before EI_CLASS check. Handle x32
69069 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69070 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69071 SKIP_EM_IA_64 and include
69072 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69073
69074 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69075 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69076 (add_system_dir): New macro.
69077
69078 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69079 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69080
69081 2012-03-16 Joseph Myers <joseph@codesourcery.com>
69082
69083 [BZ #2551]
69084 [BZ #2552]
69085 [BZ #2553]
69086 [BZ #2554]
69087 [BZ #2562]
69088 [BZ #2563]
69089 [BZ #2565]
69090 [BZ #2566]
69091 [BZ #2576]
69092 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69093 (y0): Likewise.
69094 * math/w_j0f.c (j0f): Likewise.
69095 (y0f): Likewise.
69096 * math/w_j0l.c (__j0l): Likewise.
69097 (__y0l): Likewise.
69098 * math/w_j1.c (j1): Likewise.
69099 (y1): Likewise.
69100 * math/w_j1f.c (j1f): Likewise.
69101 (y1f): Likewise.
69102 * math/w_j1l.c (__j1l): Likewise.
69103 (__y1l): Likewise.
69104 * math/w_jn.c (jn): Likewise.
69105 (yn): Likewise.
69106 * math/w_jnf.c (jnf): Likewise.
69107 (ynf): Likewise.
69108 * math/w_jnl.c (__jnl): Likewise.
69109 (__ynl): Likewise.
69110 * math/libm-test.inc (j0_test): Add more tests.
69111 (j1_test): Likewise.
69112 (jn_test): Likewise. Add trailing semicolon to existing test.
69113 (y0_test): Likewise.
69114 (y1_test): Likewise.
69115 * sysdeps/i386/fpu/libm-test-ulps: Update.
69116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69117
69118 [BZ #13851]
69119 [BZ #13854]
69120 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69121 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69122 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69123 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69124 (__tanl): Set errno for infinite argument.
69125 * sysdeps/i386/fpu/mptan.c: Remove.
69126 * sysdeps/i386/fpu/s_tan.S: Likewise.
69127 * sysdeps/i386/fpu/s_tanl.S: Likewise.
69128 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69129 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69130 * math/libm-test.inc (tan_test): Add more tests and enable more
69131 tests for double and long double.
69132 * sysdeps/i386/fpu/libm-test-ulps: Update.
69133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69134
69135 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
69136
69137 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69138 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69139
69140 2012-03-16 Roland McGrath <roland@hack.frob.com>
69141
69142 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69143 * configure.in: Use it for both main tree and add-ons.
69144 * configure: Regenerated.
69145
69146 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
69147
69148 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69149
69150 2012-03-16 Joseph Myers <joseph@codesourcery.com>
69151
69152 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69153 in comment.
69154
69155 [BZ #13851]
69156 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69157 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69158 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69159 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69160 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69161 infinite argument.
69162 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69163 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69164 != 0 for prec == 2.
69165 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69166 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69167 * sysdeps/i386/fpu/s_cosl.S: Likewise.
69168 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69169 * sysdeps/i386/fpu/s_sinl.S: Likewise.
69170 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69171 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69172 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69173 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69174 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69175 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69176 * math/libm-test.inc (cos_test): Add more tests and enable more
69177 tests for long double.
69178 (sin_test): Likewise.
69179 (sincos_test): Likewise.
69180 * sysdeps/i386/fpu/libm-test-ulps: Update.
69181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69182
69183 2012-03-16 David S. Miller <davem@davemloft.net>
69184
69185 * sysdeps/sparc/fpu/math_private.h: New file.
69186
69187 2012-03-15 David S. Miller <davem@davemloft.net>
69188
69189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69190 file.
69191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69193 file.
69194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69200 sysdep routines.
69201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69202
69203 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69204 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69205
69206 * sysdeps/sparc/sparc-ifunc.h: New file.
69207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69208 sparc-ifunc.h
69209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69211 Likewise.
69212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69213 Likewise.
69214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69218 Likewise.
69219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69224 Likewise.
69225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69226 Likewise.
69227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69233 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69246 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69247 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69249 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69250 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69251
69252 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
69253
69254 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69255 scaling.
69256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69257
69258 2012-03-15 Andreas Jaeger <aj@suse.de>
69259
69260 [BZ #13852]
69261 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69262 ieee754/flt-32 implementation for sin, cos and sincos.
69263 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69264 * sysdeps/i386/fpu/s_cosf.S: Likewise.
69265 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69266 * sysdeps/i386/fpu/s_sinf.S: Likewise.
69267 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69268 ieee754/flt-32 implementation for tan.
69269
69270 * math/libm-test.inc (cos_test): Enable some large input tests for
69271 float as well
69272 (sin_test): Likewise.
69273 (sincos_test): Likewise.
69274 (tan_test): Add tests for large input.
69275
69276 * sysdeps/i386/fpu/libm-test-ulps: Update.
69277
69278 2012-03-15 Andreas Jaeger <aj@suse.de>
69279
69280 [BZ #13658]
69281 * math/libm-test.inc (cos_test): Add more test cases.
69282 (sin_test): Likewise.
69283 (sincos_test): Likewise.
69284
69285 2012-03-15 Andreas Jaeger <aj@suse.de>
69286
69287 [BZ #13837]
69288 * math/libm-test.inc (cos_test): Add a test case for large input
69289 value.
69290 (sin_test): Likewise.
69291 (sincos_test): Likewise.
69292
69293 2012-03-15 Andreas Jaeger <aj@suse.de>
69294 Joseph Myers <joseph@codesourcery.com>
69295
69296 [BZ #13658]
69297 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69298 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69299 * sysdeps/i386/fpu/branred.c: Likewise.
69300 * sysdeps/i386/fpu/dosincos.c: Likewise.
69301 * sysdeps/i386/fpu/mpa.c: Likewise.
69302 * sysdeps/i386/fpu/s_cos.S: Likewise.
69303 * sysdeps/i386/fpu/s_sin.S: Likewise.
69304 * sysdeps/i386/fpu/s_sincos.S: Likewise.
69305 * sysdeps/i386/fpu/sincos32.c: Likewise.
69306
69307 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69308 Define.
69309 (libc_feupdateenv_53bit): Define.
69310 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69311 Define.
69312 (libc_feupdateenv_53bit): Define.
69313
69314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69315 53 bit (without extend i386 double precision).
69316
69317 * math/libm-test.inc (sincos_test): Add tests for large input.
69318 (sin): Likewise.
69319 (cos): Likewise.
69320
69321 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69322
69323 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
69324
69325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69326
69327 2012-03-15 David S. Miller <davem@davemloft.net>
69328
69329 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69330 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69331 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69332 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69345 file.
69346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69348 file.
69349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69351 file.
69352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69354 file.
69355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69356 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69357 fmin/fmax sysdep routines.
69358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69359
69360 2012-03-14 David S. Miller <davem@davemloft.net>
69361
69362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69368 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69369 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69382 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69383 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69384 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69385 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69386 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69387 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69388 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69389 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69391 routines.
69392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69393 file.
69394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69396 file.
69397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69399 file.
69400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69402 file.
69403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69405 file.
69406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69408 file.
69409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69410 file.
69411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69412 file.
69413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69414 file.
69415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69416 New file.
69417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69418 file.
69419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69420 file.
69421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69423 file.
69424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69426 file.
69427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69429 file.
69430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69432 VIS3 routines.
69433
69434 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69435 New file.
69436
69437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69438
69439 * sysdeps/sparc/configure.in: New file.
69440 * sysdeps/sparc/configure: Generate.
69441 * configure.in (libc_cv_sparc_as_vis3): Substitute.
69442 * configure: Regenerate.
69443 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69444 * config.make.in (have-as-vis3): New.
69445 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69446 available use -Av9d instead of -Av9a.
69447 * sysdeps/sparc/sparc64/Makefile: Likewise.
69448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69450 New file.
69451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69452 file.
69453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69454 New file.
69455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69456 file.
69457 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69458 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69459 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69460 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69461 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69462
69463 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69464 fzeros/fnegs to load 0x80000000 into a float register instead of
69465 using the stack.
69466 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69467
69468 2012-03-14 Joseph Myers <joseph@codesourcery.com>
69469
69470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69471 bits/syscall.h.
69472 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69473 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69474 ($(inst_includedir)/bits/syscall.h): Remove rule.
69475 ($(objpfx)bits/syscall.d): Include instead of
69476 $(objpfx)syscall-list.d.
69477 (generated): Change syscall-list.h and syscall-list.d to
69478 bits/syscall.h and bits/syscall.d.
69479
69480 2012-03-14 Roland McGrath <roland@hack.frob.com>
69481
69482 [BZ #13846]
69483 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69484
69485 2012-03-14 Joseph Myers <joseph@codesourcery.com>
69486
69487 [BZ #13841]
69488 * math/s_csqrt.c: Include <float.h>.
69489 (__csqrt): Scale large or subnormal inputs.
69490 * math/s_csqrtf.c: Likewise.
69491 * math/s_csqrtl.c: Likewise.
69492 * math/libm-test.inc (csqrt_test): Add more tests.
69493 * sysdeps/i386/fpu/libm-test-ulps: Update.
69494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69495
69496 [BZ #13840]
69497 * math/libm-test.inc (hypot_test): Add more tests.
69498
69499 2012-03-13 David S. Miller <davem@davemloft.net>
69500
69501 [BZ #13840]
69502 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69503 double-precision for the calculation instead of scaling.
69504
69505 2012-03-13 Joseph Myers <joseph@codesourcery.com>
69506
69507 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69508 manipulate bits before adding and subtracting TWO52[sx].
69509 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69510 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69511 Likewise.
69512 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69513
69514 2012-03-13 David S. Miller <davem@davemloft.net>
69515
69516 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69517 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69518 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69519 rtld-global-offsets.h
69520 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69521
69522 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69523 large parameters.
69524
69525 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69526
69527 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69528 'err' in the ifdef scope in which it is actually used.
69529
69530 * nss/nss_db/db-init.c: Include string.h
69531
69532 2012-03-12 David S. Miller <davem@davemloft.net>
69533
69534 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69535 masking out of the most significant byte of random value used.
69536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69537 Fix coding style in previous change.
69538
69539 * sysdeps/unix/sysv/linux/kernel-features.h
69540 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69541 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69542 expression.
69543 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69544 later.
69545
69546 2012-03-11 David S. Miller <davem@davemloft.net>
69547
69548 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69549 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69550 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69551 for 'resultvar' otherwise things get truncated on 64-bit.
69552
69553 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69554 Fix masking out of the most significant byte of random value used.
69555
69556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69557
69558 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
69559
69560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69561
69562 2012-03-09 David S. Miller <davem@davemloft.net>
69563
69564 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69565 variables with appropriate CPP guards.
69566 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69567 from the frame pointer, not the stack pointer. Correct layout
69568 comments. Fix test on resulting framesize and the management of
69569 the outregs buffer for pltexit. Preserve floating point return
69570 values across _dl_call_pltexit call.
69571 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69572 framesize and the management of the outregs buffer for pltexit.
69573 Preserve floating point return values across _dl_call_pltexit
69574 call.
69575 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69576 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69577 (la_sparc64_gnu_pltexit): New functions.
69578 (print_exit): Fix format string for return register value.
69579
69580 2012-03-10 Joseph Myers <joseph@codesourcery.com>
69581
69582 * sunrpc/Makefile (others): Add rpcgen.
69583 ($(objpfx)rpcgen): Remove special build rule and dependency on
69584 libc.
69585 * sunrpc/rpcgen.c: New file.
69586
69587 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
69588
69589 [BZ #13673]
69590 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69591 * stdio-common/bug-vfprintf-nargs.c: Likewise.
69592 * sysdeps/i386/crti.S: Likewise.
69593 * sysdeps/i386/crtn.S: Likewise.
69594 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69595 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69596 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69597 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69598 * sysdeps/sh/crti.S: Likewise.
69599 * sysdeps/sh/crtn.S: Likewise.
69600 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69601
69602 [BZ #13673]
69603 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69604 with URL.
69605 * locale/programs/locfile-kw.gperf: Likewise.
69606 * locale/programs/charmap-kw.h: Regenerated.
69607 * locale/programs/locfile-kw.h: Likewise.
69608
69609 [BZ #13673]
69610 * intl/plural.y: Replace FSF snail mail address with URL.
69611 * intl/plural.c: Regenerated.
69612
69613 2012-03-09 Richard Henderson <rth@twiddle.net>
69614
69615 * include/math_private.h: Remove file.
69616 * math/math_private.h: Move file ...
69617 * sysdeps/generic/math_private.h: ... here.
69618
69619 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69620 * sysdeps/powerpc/fpu/math_private.h: Likewise.
69621 * sysdeps/x86_64/fpu/math_private.h: Likewise.
69622
69623 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69624 and <math_private.h>.
69625 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69626 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69627 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69628 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69629 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69630 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69631 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69633 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69634 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69636 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69637 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69638 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69639 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69640 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69641 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69642 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69643 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69644 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69646 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69647 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69649 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69650 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69651 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69652 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69653 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69654 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69655 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69656 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69657 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69658 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69659 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69660 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69661 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69662 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69663 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69664 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69665 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69666 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69667 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69668 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69669 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69670 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69671 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69672 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69673 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69674 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69675 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69676 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69677 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69678 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69679 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69680 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69681 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69682 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69683 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69684 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69685 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69686 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69688 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69689 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69690 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69691 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69692 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69693 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69694 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69695 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69696 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69697 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69698 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69699 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69701 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69702 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69703 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69704 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69705 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69706 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69707 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69708 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69709 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69710 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69711 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69712 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69713 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69714 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69715 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69716 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69717 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69718 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69719 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69720 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69721 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69722 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69723 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69725 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69726 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69727 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69728 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69729 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69730 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69731 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69732 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69733 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69734 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69735 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69736 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69737 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69738 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69739 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69740 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69741 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69742 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69743 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69744 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69745 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69746 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69747 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69748 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69749 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69750 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69751 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69752 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69753 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69754 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69755 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69756 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69757 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69758 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69759 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69760 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69761 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69762 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69763 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69764 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69765 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69766 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69767 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69768 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69769 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69770 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69771 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69772 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69773 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69774 * sysdeps/ieee754/k_standard.c: Likewise.
69775 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69776 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69777 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69778 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69779 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69780 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69781 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69782 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69783 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69784 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69785 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69786 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69787 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69788 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69789 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69790 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69791 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
69792 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69793 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69794 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69795 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
69796 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
69797 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69798 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69799 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
69800 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
69801 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69802 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69803 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69804 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69805 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
69806 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69807 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69808 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69809 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
69810 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69811 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69812 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
69813 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
69814 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69815 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
69816 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
69817 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
69818 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69819 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
69820 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
69821 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69822 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69823 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69824 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69825 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69826 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
69827 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69828 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
69829 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69830 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69831 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
69832 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
69833 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69834 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69835 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69836 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
69837 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69838 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69839 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69840 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69841 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69842 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69843 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69844 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69845 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69846 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69847 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69848 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69849 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69850 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69851 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69852 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69853 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69854 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69855 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69856 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69857 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69858 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69859 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69860 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69861 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69862 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69863 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69864 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69865 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69866 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69867 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69868 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69869 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69870 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69871 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69872 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69873 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69874 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69875 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69876 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69877 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69878 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69879 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69880 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69881 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69882 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69883 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69884 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69885 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69886 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69887 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69888 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69889 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69890 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69891 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69892 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69893 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69894 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69895 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69896 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69897 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69898 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69899 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69900 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69901 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69902 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69903 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69904 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69905 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69906 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69907 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69908 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69909 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69910 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69911 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69912 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69913 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69914 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69915 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69916 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69917 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69918 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69919 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69920 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69921 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69922 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69923 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69924 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69925 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69926 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69927 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69928 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69929 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69930 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69931 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69932 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69933 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69934 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69935 * sysdeps/ieee754/s_lib_version.c: Likewise.
69936 * sysdeps/ieee754/s_matherr.c: Likewise.
69937 * sysdeps/ieee754/s_signgam.c: Likewise.
69938 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69939 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69940 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69941 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69942 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69943 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69944 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69945 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69946 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69947 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69948 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69949 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69950 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69951 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69952 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69953 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69954 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69955 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69956 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69957 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69958 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69959
69960 2012-03-09 Joseph Myers <joseph@codesourcery.com>
69961
69962 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69963 * sunrpc/rpc_main.c: Likewise.
69964 * sunrpc/rpc_svcout.c: Likewise.
69965
69966 2012-03-09 David S. Miller <davem@davemloft.net>
69967
69968 * include/math_private.h: New file.
69969
69970 2012-03-09 Joseph Myers <joseph@codesourcery.com>
69971
69972 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69973 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69974 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69975 from <bits/socket_type.h>.
69976 (enum __socket_type): Don't define here.
69977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69979 bits/socket_type.h.
69980
69981 [BZ #13566]
69982 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69983 checking __USE_GNU.
69984
69985 * Makerules ($(inst_includedir)/%.h): New rule.
69986 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69987 (install-others): Remove variable setting.
69988 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69989
69990 2012-03-08 Richard Henderson <rth@twiddle.net>
69991
69992 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69993 from macro to inline function; merge with the
69994 !__LIBC_INTERNAL_MATH_INLINES version.
69995 (__ieee754_sqrtf): Likewise.
69996
69997 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69998 to inline function.
69999 (__rintf, __floor, __floorf): Likewise.
70000
70001 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70002 macro to inline function.
70003 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70004
70005 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70006 not <math/math_private.h>.
70007
70008 2012-03-08 David S. Miller <davem@davemloft.net>
70009
70010 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70011 copyright year.
70012 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70013
70014 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
70015
70016 * resolv/gai_misc.c (handle_requests): Fix struct timespec
70017 normalization.
70018 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70019 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70020
70021 2012-03-08 Ulrich Drepper <drepper@gmail.com>
70022
70023 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
70024 be defined individually, they must be defined as a block. Define
70025 S for printing a string instead of hidint the different by using a
70026 macro for adding the 'l'.
70027 * stdio-common/tst-fphex-wide.c: Adjust.
70028
70029 2012-03-07 Marek Polacek <polacek@redhat.com>
70030
70031 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70032
70033 2012-03-08 Marek Polacek <polacek@redhat.com>
70034
70035 [BZ #13806]
70036 * stdio-common/Makefile (tests): Add tst-fphex-wide.
70037 * stdio-common/tst-fphex.c: Define a few macros to make the
70038 test reusable. Use them.
70039 * stdio-common/tst-fphex-wide.c: New file.
70040
70041 2012-03-08 Joseph Myers <joseph@codesourcery.com>
70042
70043 [BZ #6911]
70044 * manual/macros.texi (gnusystems): New macro.
70045 (nongnusystems): Likewise.
70046 (gnulinuxhurdsystems): Likewise.
70047 (gnuhurdsystems): Likewise..
70048 (gnulinuxsystems): Likewise.
70049 * manual/charset.texi: Use new macros or @theglibc{} to refer to
70050 variants of the GNU system, not "GNU system".
70051 * manual/conf.texi: Likewise.
70052 * manual/errno.texi: Likewise. Update example of errno macro
70053 expansion.
70054 * manual/filesys.texi: Likewise.
70055 (getumask): Document as specific to GNU/Hurd.
70056 * manual/install.texi: Likewise. Reword some references to
70057 GNU/Linux.
70058 * manual/intro.texi: Likewise.
70059 * manual/io.texi: Likewise.
70060 (File Name Portability): Detail which constraints are inapplicable
70061 to all GNU systems and which are only inapplicable to GNU/Hurd.
70062 * manual/job.texi: Likewise.
70063 * manual/llio.texi: Likewise.
70064 (O_NOCTTY): Document as present on GNU/Linux.
70065 * manual/maint.texi: Likewise.
70066 * manual/memory.texi: Likewise.
70067 * manual/pattern.texi: Likewise.
70068 * manual/pipe.texi: Likewise.
70069 * manual/process.texi: Likewise.
70070 * manual/resource.texi: Likewise.
70071 (RUSAGE_CHILDREN): Remove statement about specifying a particular
70072 child on GNU/Hurd.
70073 * manual/setjmp.texi: Likewise.
70074 * manual/signal.texi: Likewise.
70075 * manual/startup.texi: Likewise.
70076 * manual/stdio.texi: Likewise.
70077 * manual/terminal.texi: Likewise.
70078 (ONLCR): Document as POSIX.
70079 (OXTABS): Document availability on GNU/Linux as XTABS.
70080 (ONOEOT): Document availability separately from other bits.
70081 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70082 * manual/time.texi: Likewise.
70083 * manual/users.texi: Likewise.
70084 * INSTALL: Regenerated.
70085 * sysdeps/gnu/errlist.c: Regenerated.
70086
70087 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70088 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70089 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
70090 puts.
70091 * configure: Regenerated.
70092
70093 2012-03-07 Joseph Myers <joseph@codesourcery.com>
70094
70095 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70096 default includes instead of AC_HEADER_CHECK.
70097 * sysdeps/i386/configure: Regenerated.
70098
70099 [BZ #10716]
70100 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70101 * math/s_cacoshf.c (__cacoshf): Likewise.
70102 * math/s_cacoshl.c (__cacoshl): Likewise.
70103 * math/s_casinh.c (__casinh): Set signs of result from argument.
70104 * math/s_casinhf.c (__casinhf): Likewise.
70105 * math/s_casinhl.c (__casinhl): Likewise.
70106 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70107 (casinh_test): Add more tests.
70108 * sysdeps/i386/fpu/libm-test-ulps: Update.
70109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70110
70111 2012-03-07 Ulrich Drepper <drepper@gmail.com>
70112
70113 * po/zh_TW.po: Update from translation team.
70114
70115 * login/Makefile (distribute): Remove variable.
70116 * catgets/Makefile: Likewise.
70117 * mach/Makefile: Likewise.
70118 * malloc/Makefile: Likewise.
70119 * misc/Makefile: Likewise.
70120 * iconv/Makefile: Likewise.
70121 * nscd/Makefile: Likewise.
70122 * hurd/Makefile: Likewise.
70123 * manual/Makefile: Likewise.
70124 * locale/Makefile: Likewise.
70125 * intl/Makefile: Likewise.
70126 * conform/Makefile: Likewise.
70127 * nss/Makefile: Likewise.
70128 * time/Makefile: Likewise.
70129 * soft-fp/Makefile: Likewise.
70130 * dirent/Makefile: Likewise.
70131 * gmon/Makefile: Likewise.
70132 * po/Makefile: Likewise.
70133 * rt/Makefile: Likewise.
70134 * socket/Makefile: Likewise.
70135 * math/Makefile: Likewise.
70136 * signal/Makefile: Likewise.
70137 * debug/Makefile: Likewise.
70138 * elf/Makefile: Likewise.
70139 * timezone/Makefile: Likewise.
70140 * stdlib/Makefile: Likewise.
70141 * iconvdata/Makefile: Likewise.
70142 * sunrpc/Makefile: Likewise.
70143 * io/Makefile: Likewise.
70144 * argp/Makefile: Likewise.
70145 * inet/Makefile: Likewise.
70146 * hesiod/Makefile: Likewise.
70147 * grp/Makefile: Likewise.
70148 * csu/Makefile: Likewise.
70149 * wctype/Makefile: Likewise.
70150 * crypt/Makefile: Likewise.
70151 * libio/Makefile: Likewise.
70152 * string/Makefile: Likewise.
70153 * nis/Makefile: Likewise.
70154 * resolv/Makefile: Likewise.
70155 * stdio-common/Makefile: Likewise.
70156 * wcsmbs/Makefile: Likewise.
70157 * dlfcn/Makefile: Likewise.
70158 * posix/Makefile: Likewise.
70159
70160 [BZ #6959]
70161 * timezone/Makefile: Don't install timezone files, just the programs
70162 and scripts.
70163
70164 2012-03-06 Ulrich Drepper <drepper@gmail.com>
70165
70166 * nss/databases.def: Add missing gshadow entry.
70167
70168 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
70169
70170 2012-03-06 Marek Polacek <polacek@redhat.com>
70171
70172 [BZ #13726]
70173 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70174 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70175 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70176 * stdio-common/tst-long-dbl-fphex.c: New file.
70177
70178 2012-03-06 David S. Miller <davem@davemloft.net>
70179
70180 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70181 (set_obp_int): New function.
70182 (get_obp_int): New function.
70183 (__get_clockfreq_via_dev_openprom): Likewise.
70184 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70185 Avoid unused variable warnings on 'val' and use builtin_expect.
70186 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70187 __builtin_expect.
70188 (INLINE_CLONE_SYSCALL): Likewise.
70189
70190 2012-03-05 David S. Miller <davem@davemloft.net>
70191
70192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70193
70194 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
70195
70196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70197
70198 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70199 only for |x| >= 40.
70200 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70201
70202 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
70203
70204 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70205 Replace gettimeofday with __vdso_gettimeofday.
70206
70207 * sysdeps/unix/sysv/linux/x86_64/init-first.c
70208 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70209 __vdso_clock_gettime and __vdso_getcpu.
70210
70211 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70212 time with __vdso_time.
70213
70214 2012-03-05 Joseph Myers <joseph@codesourcery.com>
70215
70216 * manual/lang.texi (size_t): Note types to which size_t may be
70217 equivalent with the GNU C Library, but do not describe when
70218 differences between them are significant.
70219
70220 2012-03-05 Andreas Jaeger <aj@suse.de>
70221
70222 * sysdeps/i386/fpu/libm-test-ulps: Update.
70223
70224 2012-03-05 Joseph Myers <joseph@codesourcery.com>
70225
70226 [BZ #3976]
70227 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70228 (__ieee754_pow): Save and restore rounding mode and use
70229 round-to-nearest for main computations.
70230 * math/libm-test.inc (pow_test_tonearest): New function.
70231 (pow_test_towardzero): Likewise.
70232 (pow_test_downward): Likewise.
70233 (pow_test_upward): Likewise.
70234 (main): Call the new functions.
70235 * sysdeps/i386/fpu/libm-test-ulps: Update.
70236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70237
70238 [BZ #3976]
70239 * math/libm-test.inc (cosh_test_tonearest): New function.
70240 (cosh_test_towardzero): Likewise.
70241 (cosh_test_downward): Likewise.
70242 (cosh_test_upward): Likewise.
70243 (sinh_test_tonearest): Likewise.
70244 (sinh_test_towardzero): Likewise.
70245 (sinh_test_downward): Likewise.
70246 (sinh_test_upward): Likewise.
70247 (main): Call the new functions.
70248 * sysdeps/i386/fpu/libm-test-ulps: Update.
70249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70250
70251 2012-03-05 Tom de Vries <tom@codesourcery.com>
70252
70253 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70254 default stack guard is set in last bytes.
70255 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70256
70257 2012-03-05 Kees Cook <keescook@chromium.org>
70258
70259 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70260
70261 [BZ #13656]
70262 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70263 possibly allocate from heap instead of stack.
70264 * stdio-common/bug-vfprintf-nargs.c: New file.
70265 * stdio-common/Makefile (tests): Add nargs overflow test.
70266
70267 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
70268
70269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70270
70271 2012-03-03 Marek Polacek <polacek@redhat.com>
70272
70273 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70274 * math/math_private.h: Likewise.
70275 * stdlib/tst-strtod.c: Likewise.
70276 * sysdeps/i386/i486/bits/atomic.h: Likewise.
70277 * sysdeps/x86_64/bits/atomic.h: Likewise.
70278
70279 2012-03-02 David S. Miller <davem@davemloft.net>
70280
70281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70285 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70286 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70287 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70288 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70289
70290 2012-03-02 Roland McGrath <roland@hack.frob.com>
70291
70292 [BZ #13792]
70293 * manual/examples/README: New file, says the example source files
70294 can be used under GPL>=2.
70295 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70296 line containing just "*/".
70297 * manual/examples/add.c: Add copyright header (GPL>=2).
70298 * manual/examples/argp-ex1.c: Likewise.
70299 * manual/examples/argp-ex2.c: Likewise.
70300 * manual/examples/argp-ex3.c: Likewise.
70301 * manual/examples/argp-ex4.c: Likewise.
70302 * manual/examples/atexit.c: Likewise.
70303 * manual/examples/db.c: Likewise.
70304 * manual/examples/dir.c: Likewise.
70305 * manual/examples/dir2.c: Likewise.
70306 * manual/examples/execinfo.c: Likewise.
70307 * manual/examples/filecli.c: Likewise.
70308 * manual/examples/filesrv.c: Likewise.
70309 * manual/examples/fmtmsgexpl.c: Likewise.
70310 * manual/examples/genpass.c: Likewise.
70311 * manual/examples/inetcli.c: Likewise.
70312 * manual/examples/inetsrv.c: Likewise.
70313 * manual/examples/isockad.c: Likewise.
70314 * manual/examples/longopt.c: Likewise.
70315 * manual/examples/memopen.c: Likewise.
70316 * manual/examples/memstrm.c: Likewise.
70317 * manual/examples/mkfsock.c: Likewise.
70318 * manual/examples/mkisock.c: Likewise.
70319 * manual/examples/mygetpass.c: Likewise.
70320 * manual/examples/pipe.c: Likewise.
70321 * manual/examples/popen.c: Likewise.
70322 * manual/examples/rprintf.c: Likewise.
70323 * manual/examples/search.c: Likewise.
70324 * manual/examples/select.c: Likewise.
70325 * manual/examples/setjmp.c: Likewise.
70326 * manual/examples/sigh1.c: Likewise.
70327 * manual/examples/sigusr.c: Likewise.
70328 * manual/examples/stpcpy.c: Likewise.
70329 * manual/examples/strdupa.c: Likewise.
70330 * manual/examples/strftim.c: Likewise.
70331 * manual/examples/strncat.c: Likewise.
70332 * manual/examples/subopt.c: Likewise.
70333 * manual/examples/swapcontext.c: Likewise.
70334 * manual/examples/termios.c: Likewise.
70335 * manual/examples/testopt.c: Likewise.
70336 * manual/examples/testpass.c: Likewise.
70337 * manual/examples/timeval_subtract.c: Likewise.
70338
70339 [BZ #13792]
70340 * manual/time.texi (Elapsed Time): Move timeval_subtract example
70341 function to ...
70342 * manual/timeval_subtract.c.texi: ... here, new file.
70343
70344 2012-03-02 David S. Miller <davem@davemloft.net>
70345
70346 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70347
70348 2012-03-02 Joseph Myers <joseph@codesourcery.com>
70349
70350 [BZ #3976]
70351 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70352 (__sin): Save and restore rounding mode and use round-to-nearest
70353 for all computations.
70354 (__cos): Save and restore rounding mode and use round-to-nearest
70355 for all computations.
70356 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70357 <fenv.h>.
70358 (tan): Save and restore rounding mode and use round-to-nearest for
70359 all computations.
70360 * math/libm-test.inc (cos_test_tonearest): New function.
70361 (cos_test_towardzero): Likewise.
70362 (cos_test_downward): Likewise.
70363 (cos_test_upward): Likewise.
70364 (sin_test_tonearest): Likewise.
70365 (sin_test_towardzero): Likewise.
70366 (sin_test_downward): Likewise.
70367 (sin_test_upward): Likewise.
70368 (tan_test_tonearest): Likewise.
70369 (tan_test_towardzero): Likewise.
70370 (tan_test_downward): Likewise.
70371 (tan_test_upward): Likewise.
70372 (main): Call the new functions.
70373 * sysdeps/i386/fpu/libm-test-ulps: Update.
70374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70375
70376 [BZ #10135]
70377 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70378 small n, then large n, before computing and testing k+n.
70379 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70380 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70381 Likewise.
70382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70383 Likewise.
70384 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70385 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70386 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70387 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70388 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70389 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70390 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70391 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70392 * math/libm-test.inc (scalbn_test): Add more tests.
70393 (scalbln_test): Likewise.
70394
70395 * manual/filesys.texi (mode_t): Describe constraints on size and
70396 signedness, not exact equivalence to a particular type.
70397 (ino_t): Likewise.
70398 (ino64_t): Likewise.
70399 (dev_t): Likewise.
70400 (nlink_t): Likewise.
70401 (blkcnt_t): Likewise.
70402 (blkcnt64_t): Likewise.
70403 * manual/llio.texi (off_t): Likewise.
70404
70405 [BZ #3976]
70406 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70407 (__ieee754_exp): Save and restore rounding mode and use
70408 round-to-nearest for all computations.
70409 * math/libm-test.inc (exp_test_tonearest): New function.
70410 (exp_test_towardzero): Likewise.
70411 (exp_test_downward): Likewise.
70412 (exp_test_upward): Likewise.
70413 (main): Call the new functions.
70414 * sysdeps/i386/fpu/libm-test-ulps: Update.
70415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70416
70417 2012-03-01 Chris Demetriou <cgd@google.com>
70418
70419 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70420 have predictable order.
70421
70422 2012-03-01 David S. Miller <davem@davemloft.net>
70423
70424 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70425
70426 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70427 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70428 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70429 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70430
70431 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70432 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70433 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70435 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70436 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70437 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70438 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70439 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70440
70441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70442
70443 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70444 * sysdeps/sparc/fpu/libm-test-ulps: to here.
70445 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70446
70447 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70448 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70449 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70450 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70451 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70452 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70453 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70454 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70455 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70456 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70457 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70458 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70459 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70460 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70461 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70463 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70464 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70465 * sysdeps/sparc/elf/configure: Regenerated.
70466
70467 2012-03-01 Joseph Myers <joseph@codesourcery.com>
70468
70469 * configure.in (AS, LD): Require binutils 2.20 or later.
70470 * configure: Regenerated.
70471 * manual/install.texi (Tools for Compilation): Give binutils 2.20
70472 as required minimum version.
70473 * INSTALL: Regenerated.
70474
70475 [BZ #2541]
70476 [BZ #4108]
70477 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70478 before squaring exponent.
70479 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70480 bottom long double and 27 bits of top long double before squaring
70481 exponent.
70482 * math/libm-test.inc (erfc_test): Add more tests.
70483 * sysdeps/i386/fpu/libm-test-ulps: Update.
70484 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70486
70487 2012-03-01 Kai Tietz <ktietz@redhat.com>
70488
70489 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70490 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70491 containing bit-fields.
70492 * soft-fp/extended.h (_FP_UNION_E): Likewise.
70493 * soft-fp/single.h (_FP_UNION_S): Likewise.
70494 * soft-fp/double.h (_FP_UNION_D): Likewise.
70495
70496 2012-02-29 Joseph Myers <joseph@codesourcery.com>
70497
70498 [BZ #13786]
70499 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70500 not include ../strcmp.S.
70501 [USE_AS_STRNCASECMP_L]: Likewise.
70502 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70503 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70504 * sysdeps/i386/i686/multiarch/strncase_l-c.c
70505 (__strncasecmp_l_ia32): Define as alias to
70506 __strncasecmp_l_nonascii.
70507
70508 [BZ #5794]
70509 * math/libm-test.inc (expm1_test): Add test for bug 5794.
70510 * sysdeps/i386/fpu/libm-test-ulps: Update.
70511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70512
70513 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70515
70516 2012-02-29 Jeff Law <law@redhat.com>
70517
70518 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70519 out of bounds read.
70520
70521 2012-02-29 Marek Polacek <polacek@redhat.com>
70522
70523 [BZ #13706]
70524 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70525 * elf/Makefile: Add rules to run tst-unused-dep.out.
70526
70527 2012-02-28 David S. Miller <davem@davemloft.net>
70528
70529 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70530 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70531 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70532 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70533 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70534 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70535
70536 2012-02-29 Joseph Myers <joseph@codesourcery.com>
70537
70538 * math/libm-test.inc (llround_test): Move one test from
70539 lround_test. Use TEST_f_L in moved test.
70540 (lround_test): Move misplaced test to llround_test. Add testcase
70541 from bug 2561.
70542
70543 2012-02-28 Ulrich Drepper <drepper@gmail.com>
70544
70545 * sysdeps/x86_64/fpu/e_expf.S: New file.
70546 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70547
70548 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
70549
70550 [BZ #13637]
70551 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70552 of remain_len that may cause incomplete multi-byte character and
70553 false match.
70554 * posix/bug-regex33.c: New file.
70555 * posix/Makefile (tests): Add bug-regex33.
70556
70557 2012-02-28 Joseph Myers <joseph@codesourcery.com>
70558
70559 * manual/macros.texi: New file.
70560 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70561 * manual/libc.texinfo: Include macros.texi.
70562 * manual/creatute.texi: Likewise.
70563 * manual/install.texi: Likewise.
70564 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70565 @glibcadj{} in references to the GNU C Library.
70566 * manual/charset.texi: Likewise.
70567 * manual/conf.texi: Likewise.
70568 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
70569 when not using those macros.
70570 * manual/creature.texi: Likewise.
70571 * manual/crypt.texi: Likewise.
70572 * manual/errno.texi: Likewise.
70573 * manual/filesys.texi: Likewise.
70574 * manual/header.texi: Likewise.
70575 * manual/install.texi: Likewise.
70576 * manual/intro.texi: Likewise.
70577 * manual/io.texi: Likewise.
70578 * manual/job.texi: Likewise.
70579 * manual/lang.texi: Likewise.
70580 * manual/libc.texiinfo: Likewise.
70581 * manual/llio.texi: Likewise.
70582 * manual/locale.texi: Likewise.
70583 * manual/maint.texi: Likewise.
70584 * manual/math.texi: Likewise.
70585 * manual/memory.texi: Likewise.
70586 * manual/message.texi: Likewise.
70587 * manual/nss.texi: Likewise.
70588 * manual/pattern.texi: Likewise.
70589 * manual/process.texi: Likewise.
70590 * manual/resource.texi: Likewise.
70591 * manual/search.texi: Likewise.
70592 * manual/setjmp.texi: Likewise.
70593 * manual/signal.texi: Likewise.
70594 * manual/socket.texi: Likewise.
70595 * manual/startup.texi: Likewise.
70596 * manual/stdio.texi: Likewise.
70597 * manual/string.texi: Likewise.
70598 * manual/sysinfo.texi: Likewise.
70599 * manual/syslog.texi: Likewise.
70600 * manual/terminal.texi: Likewise.
70601 * manual/time.texi: Likewise.
70602 * manual/users.texi: Likewise.
70603 * INSTALL: Regenerated.
70604 * NOTES: Regenerated.
70605 * sysdeps/gnu/errlist.c: Regenerated.
70606
70607 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
70608
70609 * include/dirent.h: Include <dirstream.h> before
70610 <dirent/dirent.h>.
70611
70612 2012-02-28 David S. Miller <davem@davemloft.net>
70613
70614 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70615 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70616 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70617 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70618
70619 2012-02-27 David S. Miller <davem@davemloft.net>
70620
70621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70623 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70624 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70625
70626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70627 frame pointer instead of stack pointer relative arg slot.
70628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70629 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70630 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70631
70632 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
70633
70634 [BZ #3992]
70635 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70636
70637 2012-02-27 David S. Miller <davem@davemloft.net>
70638
70639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70643 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70644 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70645 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70646 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70647
70648 2012-02-27 Joseph Myers <joseph@codesourcery.com>
70649
70650 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70651 later. Allow versions 5-9.
70652 * configure: Regenerated.
70653 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70654 required minimum version and 4.6 as recommended version. Do not
70655 mention bugs in GCC 2.7 and 2.8.
70656 * INSTALL: Regenerated.
70657
70658 2012-02-27 David S. Miller <davem@davemloft.net>
70659
70660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70664 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70665 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70666 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70667 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70668
70669 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70670 manipulate bits before adding and subtracting TWO112[sx].
70671 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70672
70673 2012-02-27 Roland McGrath <roland@hack.frob.com>
70674
70675 [BZ #13775]
70676 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70677 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70678 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70679 being in POSIX, because they are in 1003.1-2008.
70680
70681 * rt/tst-aio.c: Include <fcntl.h>.
70682 * rt/tst-aio7.c: Likewise.
70683 * rt/tst-aio64.c: Likewise.
70684
70685 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70686
70687 2012-02-27 Joseph Myers <joseph@codesourcery.com>
70688
70689 * manual/install.texi (--with-headers): Describe headers as
70690 interface headers, not private headers.
70691 (Specific advice for GNU/Linux systems): Describe use of headers
70692 from "make headers_install", not private headers from older
70693 kernels.
70694 * INSTALL: Regenerated.
70695 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70696 Change to 2.6.19.
70697 * sysdeps/unix/sysv/linux/configure: Regenerated.
70698
70699 * manual/llio.texi (fclean): Remove documentation.
70700
70701 * manual/Makefile (libc-texi-generated): New variable. Include
70702 version.texi.
70703 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70704 $(libc-texi-generated), not duplicated list of files.
70705 (version.texi, stamp-version): New rules.
70706 (realclean): Remove $(libc-texi-generated), not individual files
70707 from that list. Do not remove dir-add.texinfo.
70708 * manual/libc.texinfo: Comment out uses of edition numbers and
70709 references to printed manual. Remove last-updated dates.
70710 (EDITION): Comment out.
70711 (ISBN): Likewise.
70712 (VERSION, UPDATED): Remove.
70713 (version.texi): Include.
70714
70715 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
70716
70717 * sysdeps/posix/spawni.c: Include <signal.h>.
70718 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70719 * sysdeps/pthread/aio_fsync.c: Likewise.
70720
70721 2012-02-26 Ulrich Drepper <drepper@gmail.com>
70722
70723 * conform/Makefile (tests): Run only when not cross-compiling and
70724 when fast-check is not defined.
70725
70726 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70727 * conform/data/limits.h-data: Fixes for POSIX2008.
70728 * conform/run-conformtest.sh: Run all tests.
70729 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70730 headers.
70731 * include/bits/dlfcn.h: Likewise.
70732 * include/langinfo.h: Likewise.
70733 * include/monetary.h: Likewise.
70734 * include/sys/poll.h: Likewise.
70735
70736 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70737 for __USE_GNU.
70738 * posix/spawn.h: Define __need_sigset_t.
70739 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70740 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70741 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
70742 to get sigevent_t only.
70743 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70744 only for __USE_GNU.
70745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70746 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70747 process_vm_writev only for __USE_GNU.
70748 * termios/termios.h: Declare tcgetsid also for POSIX2008.
70749
70750 * conform/Makefile: For now ignore errors from run-conformtest.
70751 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
70752 POSIX to avoid namespace pollution. Don't prepend headers.
70753 * conform/data/aio.h-data: Fixes for POSIX testing.
70754 * conform/data/fcntl.h-data: Likewise.
70755 * conform/data/glob.h-data: Likewise.
70756 * conform/data/grp.h-data: Likewise.
70757 * conform/data/pthread.h-data: Likewise.
70758 * conform/data/pwd.h-data: Likewise.
70759 * conform/data/signal.h-data: Likewise.
70760 * conform/data/spawn.h-data: Likewise.
70761 * conform/data/stdio.h-data: Likewise.
70762 * conform/data/stdlib.h-data: Likewise.
70763 * conform/data/stropts.h-data: Likewise.
70764 * conform/data/sys/mman.h-data: Likewise.
70765 * conform/data/sys/stat.h-data: Likewise.
70766 * conform/data/sys/types.h-data: Likewise.
70767 * conform/data/sys/wait.h-data: Likewise.
70768 * conform/data/time.h-data: Likewise.
70769 * conform/data/unistd.h-data: Likewise.
70770 * conform/data/utime.h-data: Likewise.
70771
70772 * io/sys/stat.h: fchmod was always in POSIX.
70773 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70774 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70775 * rt/aio.h: Define __need_timespec before including <time.h>.
70776 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70777 struct. Add forward declaration of pthread_attr_t and use it in
70778 sigevent.
70779 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70780 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70781 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
70782 always remove CLK_TCK definition.
70783
70784 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
70785
70786 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
70787
70788 2012-02-25 Ulrich Drepper <drepper@gmail.com>
70789
70790 * conform/run-conformtest.sh: New file.
70791 * conform/Makefile: Run run-conformtest for tests.
70792 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
70793 support.
70794
70795 * conform/data/uchar.h-data: New file.
70796 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
70797 * conform/data/arpa/inet.h-data: Likewise.
70798 * conform/data/assert.h-data: Likewise.
70799 * conform/data/complex.h-data: Likewise.
70800 * conform/data/cpio.h-data: Likewise.
70801 * conform/data/ctype.h-data: Likewise.
70802 * conform/data/dirent.h-data: Likewise.
70803 * conform/data/dlfcn.h-data: Likewise.
70804 * conform/data/errno.h-data: Likewise.
70805 * conform/data/fcntl.h-data: Likewise.
70806 * conform/data/float.h-data: Likewise.
70807 * conform/data/fmtmsg.h-data: Likewise.
70808 * conform/data/fnmatch.h-data: Likewise.
70809 * conform/data/ftw.h-data: Likewise.
70810 * conform/data/glob.h-data: Likewise.
70811 * conform/data/grp.h-data: Likewise.
70812 * conform/data/iconv.h-data: Likewise.
70813 * conform/data/inttypes.h-data: Likewise.
70814 * conform/data/langinfo.h-data: Likewise.
70815 * conform/data/libgen.h-data: Likewise.
70816 * conform/data/limits.h-data: Likewise.
70817 * conform/data/locale.h-data: Likewise.
70818 * conform/data/math.h-data: Likewise.
70819 * conform/data/monetary.h-data: Likewise.
70820 * conform/data/mqueue.h-data: Likewise.
70821 * conform/data/ndbm.h-data: Likewise.
70822 * conform/data/net/if.h-data: Likewise.
70823 * conform/data/netdb.h-data: Likewise.
70824 * conform/data/netinet/in.h-data: Likewise.
70825 * conform/data/nl_types.h-data: Likewise.
70826 * conform/data/poll.h-data: Likewise.
70827 * conform/data/pthread.h-data: Likewise.
70828 * conform/data/pwd.h-data: Likewise.
70829 * conform/data/regex.h-data: Likewise.
70830 * conform/data/sched.h-data: Likewise.
70831 * conform/data/search.h-data: Likewise.
70832 * conform/data/semaphore.h-data: Likewise.
70833 * conform/data/setjmp.h-data: Likewise.
70834 * conform/data/signal.h-data: Likewise.
70835 * conform/data/spawn.h-data: Likewise.
70836 * conform/data/stdarg.h-data: Likewise.
70837 * conform/data/stdio.h-data: Likewise.
70838 * conform/data/stdlib.h-data: Likewise.
70839 * conform/data/string.h-data: Likewise.
70840 * conform/data/strings.h-data: Likewise.
70841 * conform/data/stropts.h-data: Likewise.
70842 * conform/data/sys/ipc.h-data: Likewise.
70843 * conform/data/sys/mman.h-data: Likewise.
70844 * conform/data/sys/msg.h-data: Likewise.
70845 * conform/data/sys/resource.h-data: Likewise.
70846 * conform/data/sys/select.h-data: Likewise.
70847 * conform/data/sys/sem.h-data: Likewise.
70848 * conform/data/sys/shm.h-data: Likewise.
70849 * conform/data/sys/socket.h-data: Likewise.
70850 * conform/data/sys/stat.h-data: Likewise.
70851 * conform/data/sys/statvfs.h-data: Likewise.
70852 * conform/data/sys/time.h-data: Likewise.
70853 * conform/data/sys/timeb.h-data: Likewise.
70854 * conform/data/sys/times.h-data: Likewise.
70855 * conform/data/sys/types.h-data: Likewise.
70856 * conform/data/sys/uio.h-data: Likewise.
70857 * conform/data/sys/un.h-data: Likewise.
70858 * conform/data/sys/utsname.h-data: Likewise.
70859 * conform/data/sys/wait.h-data: Likewise.
70860 * conform/data/syslog.h-data: Likewise.
70861 * conform/data/tar.h-data: Likewise.
70862 * conform/data/termios.h-data: Likewise.
70863 * conform/data/utime.h-data: Likewise.
70864 * conform/data/utmpx.h-data: Likewise.
70865 * conform/data/varargs.h-data: Likewise.
70866 * conform/data/wchar.h-data: Likewise.
70867 * conform/data/wctype.h-data: Likewise.
70868 * conform/data/wordexp.h-data: Likewise.
70869
70870 * include/stropts.h: New file.
70871 * include/uchar.h: New file.
70872 * include/aio.h: Changes to allow conformtest.pl to use the headers.
70873 * include/assert.h: Likewise.
70874 * include/ctype.h: Likewise.
70875 * include/dirent.h: Likewise.
70876 * include/dlfcn.h: Likewise.
70877 * include/fcntl.h: Likewise.
70878 * include/fnmatch.h: Likewise.
70879 * include/glob.h: Likewise.
70880 * include/grp.h: Likewise.
70881 * include/libio.h: Likewise.
70882 * include/locale.h: Likewise.
70883 * include/math.h: Likewise.
70884 * include/net/if.h: Likewise.
70885 * include/netdb.h: Likewise.
70886 * include/netinet/in.h: Likewise.
70887 * include/pthread.h: Likewise.
70888 * include/pwd.h: Likewise.
70889 * include/regex.h: Likewise.
70890 * include/sched.h: Likewise.
70891 * include/search.h: Likewise.
70892 * include/setjmp.h: Likewise.
70893 * include/signal.h: Likewise.
70894 * include/stdio.h: Likewise.
70895 * include/stdlib.h: Likewise.
70896 * include/string.h: Likewise.
70897 * include/sys/cdefs.h: Likewise.
70898 * include/sys/mman.h: Likewise.
70899 * include/sys/msg.h: Likewise.
70900 * include/sys/resource.h: Likewise.
70901 * include/sys/select.h: Likewise.
70902 * include/sys/socket.h: Likewise.
70903 * include/sys/stat.h: Likewise.
70904 * include/sys/statvfs.h: Likewise.
70905 * include/sys/time.h: Likewise.
70906 * include/sys/times.h: Likewise.
70907 * include/sys/uio.h: Likewise.
70908 * include/sys/utsname.h: Likewise.
70909 * include/sys/wait.h: Likewise.
70910 * include/termios.h: Likewise.
70911 * include/time.h: Likewise.
70912 * include/ulimit.h: Likewise.
70913 * include/unistd.h: Likewise.
70914 * include/utime.h: Likewise.
70915 * include/wchar.h: Likewise.
70916 * include/wctype.h: Likewise.
70917 * include/wordexp.h: Likewise.
70918
70919 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70920
70921 * time/time.h: TIME_UTC must be a macro.
70922 Make timespec_get available for ISO C11 only as well.
70923
70924 2012-02-24 Ulrich Drepper <drepper@gmail.com>
70925
70926 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70927 Reported by Peng Haitao <penght@cn.fujitsu.com>.
70928
70929 2012-02-24 Joseph Myers <joseph@codesourcery.com>
70930
70931 * configure.in: Use -o not -a in test for unsupported multi-arch.
70932
70933 2012-02-24 Joseph Myers <joseph@codesourcery.com>
70934
70935 * manual/texinfo.tex: Update to version 2012-01-19.16.
70936
70937 2012-02-24 Joseph Myers <joseph@codesourcery.com>
70938
70939 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70940
70941 2012-02-24 Roland McGrath <roland@hack.frob.com>
70942
70943 [BZ #13738]
70944 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70945 * manual/fdl-1.3.texi: New file.
70946 * manual/fdl-1.1.texi: File removed.
70947
70948 [BZ #13738]
70949 * manual/libc.texinfo (FDL_VERSION): New @set.
70950 Use it for mention of FDL in cover text.
70951 (Documentation License): Use it in @include file name.
70952
70953 2012-02-22 Joseph Myers <joseph@codesourcery.com>
70954 Roland McGrath <roland@hack.frob.com>
70955
70956 [BZ #5461]
70957 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70958 (not LONG_LONG_MAX and LONG_LONG_MIN.
70959 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70960 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
70961 name.
70962 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70963
70964 2012-02-22 Joseph Myers <joseph@codesourcery.com>
70965
70966 [BZ #2547]
70967 [BZ #11365]
70968 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70969 manipulate bits before adding and subtracting TWO23[sx].
70970 * math/libm-test.inc (nearbyint_test): Add more tests.
70971
70972 2012-02-22 Joseph Myers <joseph@codesourcery.com>
70973
70974 [BZ #2548]
70975 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70976 bits before adding and subtracting TWO23[sx].
70977 * math/libm-test.inc (rint_test): Add more tests.
70978 (rint_test_tonearest): Likewise.
70979 (rint_test_towardzero): Likewise.
70980 (rint_test_downward): Likewise.
70981 (rint_test_upward: Likewise.
70982
70983 2012-02-22 Joseph Myers <joseph@codesourcery.com>
70984
70985 [BZ #10110]
70986 * include/stdc-predef.h: New file. Extracted from features.h.
70987 * include/features.h: Include stdc-predef.h.
70988 * Makefile (headers): Add stdc-predef.h.
70989 * CONFORMANCE (Compiler limitations): Update.
70990
70991 2012-02-22 Joseph Myers <joseph@codesourcery.com>
70992
70993 * manual/libc.texinfo (VERSION, UPDATED): Revert.
70994
70995 2012-02-21 David S. Miller <davem@davemloft.net>
70996
70997 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70998 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70999
71000 2012-02-20 David S. Miller <davem@davemloft.net>
71001
71002 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71003 using a normal save/restore sequence, rather than allocating a
71004 dummy stack frame just to store a frame pointer and restore.
71005 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71006
71007 2012-02-21 Joseph Myers <joseph@codesourcery.com>
71008
71009 * manual/install.texi: Fix stray word in line-wrapped comment.
71010
71011 2012-02-20 David S. Miller <davem@davemloft.net>
71012
71013 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71014 both binutils and gcc support GOTDATA.
71015
71016 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71017 "rd %pc" in the PIC register setup sequences.
71018
71019 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71020 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71021 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71022 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71023 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71025 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71026 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71027 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71028 (SYSCALL_ERROR_HANDLER): Likewise.
71029 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71030 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71031 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71032 (SYSCALL_ERROR_HANDLER): Likewise.
71033
71034 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71035 (HAVE_GCC_GOTDATA): New.
71036 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71037 relocation support in both binutils and gcc.
71038 * sysdeps/sparc/elf/configure: Regenerate.
71039
71040 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71041 * sysdeps/sparc/sparc32/elf/configure: Delete.
71042 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71043 * sysdeps/sparc/sparc64/elf/configure: Delete.
71044 * sysdeps/sparc/elf/configure.in: New file.
71045 * sysdeps/sparc/elf/configure: Generate.
71046
71047 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71048 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71049 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71050 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71051 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71052
71053 2012-02-21 Joseph Myers <joseph@codesourcery.com>
71054
71055 * manual/install.texi: Do not mention specific glibc version
71056 numbers.
71057 * manual/libc.texinfo (VERSION, UPDATED): Update.
71058 (@copying): Use @copyright{} and range of years.
71059
71060 2012-02-21 Joseph Myers <joseph@codesourcery.com>
71061
71062 [BZ #13695]
71063 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71064 [crti.S not in sysdirs] (generated): Do not append.
71065 [crti.S not in sysdirs] (omit-deps): Likewise.
71066 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71067 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71068 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71069 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71070 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71071 Likewise.
71072 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71073 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71074 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71075 * csu/defs.awk: Remove file.
71076 * sysdeps/generic/initfini.c: Likewise.
71077 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71078 variable.
71079 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71080 Likewise.
71081
71082 2012-02-20 Joseph Myers <joseph@codesourcery.com>
71083
71084 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71085 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71086 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71087 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71088 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71089 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71090 <bits/epoll.h>.
71091 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71092 (__EPOLL_PACKED): Define to empty if not defined by
71093 <bits/epoll.h>.
71094 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71096 bits/epoll.h.
71097
71098 2012-02-20 Joseph Myers <joseph@codesourcery.com>
71099
71100 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71101 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71102 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71103 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71104 <bits/timerfd.h>.
71105 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71106 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71107 bits/timerfd.h.
71108
71109 2012-02-20 Joseph Myers <joseph@codesourcery.com>
71110
71111 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71112 in C locale.
71113 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71114 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71115 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71117
71118 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
71119
71120 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71121 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71122
71123 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
71124
71125 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71126 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71127 defined.
71128 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71129 Likewise.
71130 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71131 entry for 2.16.
71132
71133 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
71134
71135 * math/w_acos.c: Use non-signaling floating-point comparisons.
71136 * math/w_acosf.c: Likewise.
71137 * math/w_acosh.c: Likewise.
71138 * math/w_acoshf.c: Likewise.
71139 * math/w_acoshl.c: Likewise.
71140 * math/w_acosl.c: Likewise.
71141 * math/w_asin.c: Likewise.
71142 * math/w_asinf.c: Likewise.
71143 * math/w_asinl.c: Likewise.
71144 * math/w_atanh.c: Likewise.
71145 * math/w_atanhf.c: Likewise.
71146 * math/w_atanhl.c: Likewise.
71147 * math/w_exp2.c: Likewise.
71148 * math/w_exp2f.c: Likewise.
71149 * math/w_exp2l.c: Likewise.
71150 * math/w_j0.c: Likewise.
71151 * math/w_j0f.c: Likewise.
71152 * math/w_j0l.c: Likewise.
71153 * math/w_j1.c: Likewise.
71154 * math/w_j1f.c: Likewise.
71155 * math/w_j1l.c: Likewise.
71156 * math/w_jn.c: Likewise.
71157 * math/w_jnf.c: Likewise.
71158 * math/w_log.c: Likewise.
71159 * math/w_log10.c: Likewise.
71160 * math/w_log10f.c: Likewise.
71161 * math/w_log10l.c: Likewise.
71162 * math/w_log2.c: Likewise.
71163 * math/w_log2f.c: Likewise.
71164 * math/w_log2l.c: Likewise.
71165 * math/w_logf.c: Likewise.
71166 * math/w_logl.c: Likewise.
71167 * math/w_sqrt.c: Likewise.
71168 * math/w_sqrtf.c: Likewise.
71169 * math/w_sqrtl.c: Likewise.
71170 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71171 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71172 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71173 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71174 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71175
71176 2012-02-19 Joseph Myers <joseph@codesourcery.com>
71177
71178 [BZ #9739]
71179 * manual/string.texi (strnlen): Use correct parameter name in
71180 equivalent expression.
71181
71182 2012-02-19 Joseph Myers <joseph@codesourcery.com>
71183
71184 [BZ #11174]
71185 * manual/users.texi (seteuid): Consistently use neweuid for
71186 argument name.
71187
71188 2012-02-19 Joseph Myers <joseph@codesourcery.com>
71189
71190 [BZ #13704]
71191 * manual/nss.texi (Services in the NSS configuration): Correct
71192 list of services in example configuration file.
71193
71194 2012-02-19 Nick Bowler <nbowler@draconx.ca>
71195
71196 [BZ #11322]
71197 * manual/arith.texi: Remove statements about negative zero
71198 behaving identically to zero.
71199
71200 2012-02-18 Joseph Myers <joseph@codesourcery.com>
71201
71202 [BZ #5993]
71203 * manual/install.texi: Do not document upgrading from libc5.
71204
71205 2012-02-18 Joseph Myers <joseph@codesourcery.com>
71206
71207 [BZ #4596]
71208 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71209
71210 2012-02-18 David S. Miller <davem@davemloft.net>
71211
71212 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71213 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71214 %o7 across the call.
71215 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71216 instead.
71217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71218 SETUP_PIC_REG_LEAF.
71219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71220 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71221 * sysdeps/sparc/crtn.S: Likewise.
71222
71223 2012-02-17 Ulrich Drepper <drepper@gmail.com>
71224
71225 * aout/Makefile: Remove.
71226
71227 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
71228
71229 [BZ #13058]
71230 * manual/examples/argp-ex1.c (main): Format definition in GNU
71231 style.
71232 * manual/examples/argp-ex2.c (main): Likewise.
71233 * manual/examples/argp-ex3.c (main): Likewise.
71234 * manual/examples/argp-ex4.c (main): Likewise.
71235 * manual/examples/longopt.c (main): Use new-style prototype
71236 definition.
71237 * manual/examples/strncat.c (main): Specify return type and use
71238 (void) for arguments.
71239 * manual/examples/subopt.c (main): Use char **argv argument.
71240
71241 2012-02-17 Joseph Myers <joseph@codesourcery.com>
71242
71243 [BZ #5077]
71244 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71245 rounding modes.
71246
71247 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
71248
71249 [BZ #6907]
71250 * manual/string.texi (strchr): Change when strchrnul is
71251 recommended.
71252
71253 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
71254
71255 [BZ #174]
71256 * manual/locale.texi (setlocale): Document LOCPATH.
71257
71258 2012-02-17 Joseph Myers <joseph@codesourcery.com>
71259
71260 [BZ #10210]
71261 * manual/process.texi (execle): Move @dots{} before last argument.
71262
71263 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
71264
71265 [BZ #12047]
71266 * manual/charset.texi (Generic Charset Conversion): Fix typo
71267 (LC_TYPE -> LC_CTYPE).
71268
71269 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
71270
71271 [BZ #5805]
71272 * manual/arith.texi (scalbn): Use @var{} on parameter names.
71273 (scalbnf): Likewise.
71274 (scalbnl): Likewise.
71275 (scalbln): Likewise.
71276 (scalblnf): Likewise.
71277 (scalblnl): Likewise.
71278 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71279 (vwarnx): Likewise.
71280 (verr): Likewise.
71281 (verrx): Likewise.
71282 * manual/filesys.texi (telldir): Use braces around return type.
71283 * manual/llio.texi (mmap): Add space after comma.
71284 (mmap64): Likewise.
71285 * manual/math.texi (jn): Use @var{} on parameter names.
71286 (jnf): Likewise.
71287 (jnl): Likewise.
71288 (yn): Likewise.
71289 (ynf): Likewise.
71290 (ynl): Likewise.
71291 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71292 line.
71293 * manual/resource.texi (ulimit): Use @dots{} instead of literal
71294 "...".
71295 (sched_get_priority_min): Remove semicolon on @deftypefun line.
71296 (sched_get_priority_max): Likewise.
71297 * manual/signal.texi (sigvec): Add space after comma.
71298 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71299 names.
71300 (if_indextoname): Likewise.
71301 (if_freenameindex): Likewise.
71302 (sendto): Use ',' instead of '.' in prototype.
71303 * manual/startup.texi (syscall): Use @dots{} instead of literal
71304 "...".
71305 * manual/stdio.texi (__fpending): Separate initial words of
71306 paragraph from @deftypefun line.
71307 * manual/syslog.texi (syslog): Use @dots{} instead of literal
71308 "...".
71309 (vsyslog): Use @var{} on parameter names.
71310 * manual/terminal.texi (stty): Use @var{} on parameter names.
71311 * manual/users.texi (getutmp): Use @var{} on parameter names.
71312 (getutmpx): Likewise.
71313
71314 2012-02-17 Joseph Myers <joseph@codesourcery.com>
71315
71316 [BZ #6884]
71317 * manual/stdio.texi (fopen): Fix typos in description of
71318 ",ccs=STRING".
71319
71320 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
71321
71322 [BZ #4026]
71323 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71324 get clock_id definition.
71325
71326 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
71327
71328 [BZ #4822]
71329 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71330 (madvise): Cast every argument to void on its own.
71331
71332 2012-02-17 Joseph Myers <joseph@codesourcery.com>
71333
71334 [BZ #9902]
71335 * manual/startup.texi (Exit Status): Fix typo.
71336
71337 2012-02-17 Joseph Myers <joseph@codesourcery.com>
71338
71339 [BZ #10140]
71340 * manual/examples/argp-ex1.c: Include <stdlib.h>.
71341 * manual/examples/argp-ex2.c: Likewise.
71342 * manual/examples/argp-ex3.c: Likewise.
71343
71344 2012-02-16 Richard Henderson <rth@redhat.com>
71345
71346 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71347 * sysdeps/s390/s390-32/initfini.c: Remove.
71348 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71349 * sysdeps/s390/s390-64/initfini.c: Remove.
71350
71351 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
71352
71353 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71354 compiler output for sysdeps/generic/initfini.c.
71355 * sysdeps/sh/elf/initfini.c: Remove file.
71356
71357 2012-02-16 David S. Miller <davem@davemloft.net>
71358
71359 [BZ #11494]
71360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71361
71362 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71363 * sysdeps/sparc/crti.S: New file.
71364 * sysdeps/sparc/crtn.S: New file.
71365 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71366 * sysdeps/sparc/sparc64/Makefile: Likewise.
71367
71368 2012-02-15 Mike Frysinger <vapier@gentoo.org>
71369
71370 [BZ #3335]
71371 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71372
71373 2012-02-15 Roland McGrath <roland@hack.frob.com>
71374
71375 [BZ #4822]
71376 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71377
71378 * mach/devstream.c (cookie_io_functions_t): Macro removed.
71379 (write, read, close): Likewise.
71380 Patch by Aurelien Jarno <aurelien@aurel32.net>.
71381
71382 2012-02-15 Joseph Myers <joseph@codesourcery.com>
71383
71384 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71385 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71386 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71387 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71388 <bits/signalfd.h>.
71389 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71391 bits/signalfd.h.
71392
71393 2012-02-14 Marek Polacek <polacek@redhat.com>
71394
71395 * sysdeps/x86_64/crti.S: New file.
71396 * sysdeps/x86_64/crtn.S: New file.
71397 * sysdeps/x86_64/elf/initfini.c: Remove file.
71398
71399 2012-02-13 Joseph Myers <joseph@codesourcery.com>
71400
71401 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71402 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71403 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71404 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71405 <bits/inotify.h>.
71406 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71408 bits/inotify.h.
71409
71410 2012-02-13 Joseph Myers <joseph@codesourcery.com>
71411
71412 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71413 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71414 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71415 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71416 <bits/eventfd.h>.
71417 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71419 bits/eventfd.h.
71420
71421 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
71422
71423 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71424 __feraiseexcept instead of feraiseexcept.
71425
71426 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71427 nanosleep invocations.
71428 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71429 strings, and add error checking for a nanosleep invocations.
71430
71431 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
71432
71433 Replace FSF snail mail address with URLs, as per GNU coding standards.
71434 Most of the snail mail addresses were wrong anyway, and omitting
71435 them makes the source code easier to maintain. Almost all of the
71436 changes are to license notices and to locale LC_IDENTIFICATION
71437 addresses, except for this one:
71438 * manual/libc.texinfo: In "Published by", give the FSF's URL,
71439 not its snail mail address.
71440
71441 2012-02-09 Richard Henderson <rth@twiddle.net>
71442
71443 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71444 of kernel-features.h.
71445
71446 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71447
71448 2012-02-08 Marek Polacek <polacek@redhat.com>
71449
71450 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71451 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71452 * sysdeps/gnu/_G_config.h: Likewise.
71453 * sysdeps/generic/_G_config.h: Likewise.
71454
71455 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
71456
71457 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71458 tests.
71459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71460
71461 * sysdeps/powerpc/powerpc32/crti.S: New file.
71462 * sysdeps/powerpc/powerpc32/crtn.S: New file.
71463 * sysdeps/powerpc/powerpc64/crti.S: New file.
71464 * sysdeps/powerpc/powerpc64/crtn.S: New file.
71465
71466 * Makeconfig (have-initfini): Don't set.
71467 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71468 * configure.in (nopic_initfini): Don't substitute.
71469 * config.h.in (HAVE_INITFINI): Don't #undef.
71470 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71471 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71472
71473 2012-02-08 Joseph Myers <joseph@codesourcery.com>
71474
71475 Support crti.S and crtn.S provided directly by architectures.
71476 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71477 [crti.S in sysdirs] (omit-deps): Likewise.
71478 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71479 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71480 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71481 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71482 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71483 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71484 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71485 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71486 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71487 compiler output for sysdeps/generic/initfini.c.
71488 * sysdeps/i386/elf/Makefile: Remove file.
71489 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71490
71491 2012-02-07 Marek Polacek <polacek@redhat.com>
71492
71493 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71494 * sysdeps/gnu/_G_config.h: Likewise.
71495 * sysdeps/mach/hurd/_G_config.h: Likewise.
71496
71497 2012-02-07 Marek Polacek <polacek@redhat.com>
71498
71499 * math/Makefile (tests): Add tst-CMPLX2.
71500 * math/tst-CMPLX2.c: New file.
71501
71502 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
71503
71504 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71505
71506 * math/libm-test.inc (jn_test): Add missing L suffix.
71507
71508 2012-02-06 Marek Polacek <polacek@redhat.com>
71509
71510 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71511 * sysdeps/i386/fpu/e_powf.S: Likewise.
71512 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71513 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71514 * sysdeps/i386/fpu/e_acosh.S: Likewise.
71515 * sysdeps/i386/fpu/e_pow.S: Likewise.
71516 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71517 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71518 * sysdeps/i386/fpu/s_expm1.S: Likewise.
71519 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71520 * sysdeps/i386/fpu/e_log2.S: Likewise.
71521 * sysdeps/i386/fpu/e_log2l.S: Likewise.
71522 * sysdeps/i386/fpu/e_scalb.S: Likewise.
71523 * sysdeps/i386/fpu/e_powl.S: Likewise.
71524 * sysdeps/i386/fpu/s_log1p.S: Likewise.
71525 * sysdeps/i386/fpu/e_log10f.S: Likewise.
71526 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71527 * sysdeps/i386/fpu/e_logl.S: Likewise.
71528 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71529 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71530 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71531 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71532 * sysdeps/i386/fpu/e_log2f.S: Likewise.
71533 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71534 * sysdeps/i386/fpu/e_log.S: Likewise.
71535 * sysdeps/i386/fpu/s_cexp.S: Likewise.
71536 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71537 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71538 * sysdeps/i386/fpu/e_logf.S: Likewise.
71539 * sysdeps/i386/fpu/e_log10l.S: Likewise.
71540 * sysdeps/i386/fpu/e_atanh.S: Likewise.
71541 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71542 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71543 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71544 * sysdeps/i386/fpu/e_log10.S: Likewise.
71545 * sysdeps/i386/fpu/s_frexp.S: Likewise.
71546 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71547 * sysdeps/i386/fpu/s_asinh.S: Likewise.
71548 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71549 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71550 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71551 * sysdeps/i386/asm-syntax.h: Likewise.
71552 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71553 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71554 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71555 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71556 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71557 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71558 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71559 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71560 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71561 * sysdeps/powerpc/sysdep.h: Likewise.
71562 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71563 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71564
71565 2012-02-06 Joseph Myers <joseph@codesourcery.com>
71566
71567 [BZ #411]
71568 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71569
71570 2012-02-06 Joseph Myers <joseph@codesourcery.com>
71571
71572 * sysdeps/i386/sysdep.h: Include <features.h>.
71573 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71574 version.
71575
71576 2012-02-05 Joseph Myers <joseph@codesourcery.com>
71577
71578 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71579 Define.
71580 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71581 LOAD_PIC_REG_STR.
71582
71583 2012-02-03 Joseph Myers <joseph@codesourcery.com>
71584
71585 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71586 (SETUP_PIC_REG): Use GET_PC_THUNK.
71587 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71588 macro.
71589
71590 2012-02-03 Joseph Myers <joseph@codesourcery.com>
71591
71592 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71593 for non-PIC compilation.
71594 (SETUP_PIC_REG): Add .p2align directive.
71595 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71596 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71597 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71598 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71599 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71600 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71601 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71602 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71603 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71604 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71605 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71606 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71607 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71608 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71609 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71610 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71611 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71612 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71613 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71614 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71615 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71616 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71617 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71618 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71619 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71620 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71621 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71622 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71623 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71624 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71625 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71626 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71627 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71628 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71629 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71630 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71631 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71632 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71633 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71634 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71635 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71636
71637 2012-02-03 Joseph Myers <joseph@codesourcery.com>
71638
71639 * math/tst-CMPLX.c: Include <stdio.h>.
71640
71641 2012-01-31 Joseph Myers <joseph@codesourcery.com>
71642
71643 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71644 float.
71645 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71646 * sysdeps/sparc/bits/mathdef.h: Likewise.
71647
71648 2012-01-31 Marek Polacek <polacek@redhat.com>
71649
71650 * libio/libio.h: Don't define _PARAMS.
71651 * locale/programs/config.h: Don't define PARAMS.
71652 * stdlib/strtol_l.c: Likewise.
71653 (__strtol_l): Remove PARAMS from the prototype.
71654
71655 2012-01-31 Ulrich Drepper <drepper@gmail.com>
71656
71657 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
71658 names. Just use the correct names. Remove unnecessary wrapper
71659 functions.
71660 * malloc/arena.c: Likewise.
71661 * malloc/hooks.c: Likewise.
71662
71663 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71664 ARENA_TEST says not to. Simplify test for creation of a new arena.
71665 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71666
71667 2012-01-30 Ulrich Drepper <drepper@gmail.com>
71668
71669 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71670 into tail calls.
71671 (update_get_addr): New function.
71672 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71673 GET_ADDR_MODULE parameter.
71674
71675 2012-01-30 Joseph Myers <joseph@codesourcery.com>
71676
71677 * crypt/cert.c: Remove __STDC__ conditionals.
71678 * crypt/crypt-entry.c: Likewise.
71679 * crypt/crypt_util.c: Likewise.
71680 * libio/filedoalloc.c: Likewise.
71681 * libio/fileops.c: Likewise.
71682 * libio/genops.c: Likewise.
71683 * libio/iofclose.c: Likewise.
71684 * libio/iofdopen.c: Likewise.
71685 * libio/iofopen.c: Likewise.
71686 * libio/iofopen64.c: Likewise.
71687 * libio/iogetdelim.c: Likewise.
71688 * libio/iopopen.c: Likewise.
71689 * libio/obprintf.c: Likewise.
71690 * libio/oldfileops.c: Likewise.
71691 * libio/oldiofclose.c: Likewise.
71692 * libio/oldiofdopen.c: Likewise.
71693 * libio/oldiofopen.c: Likewise.
71694 * libio/oldiopopen.c: Likewise.
71695 * libio/wfiledoalloc.c: Likewise.
71696 * libio/wgenops.c: Likewise.
71697 * locale/programs/xmalloc.c: Likewise.
71698 * misc/syslog.c: Likewise.
71699 * stdio-common/xbug.c: Likewise.
71700 * string/memchr.c: Likewise.
71701 * string/memcmp.c: Likewise.
71702 * string/memrchr.c: Likewise.
71703 * string/rawmemchr.c: Likewise.
71704 * sysdeps/posix/getcwd.c: Likewise.
71705 * time/strftime_l.c: Likewise.
71706
71707 2012-01-30 Joseph Myers <joseph@codesourcery.com>
71708
71709 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71710 * config.make.in (config-cflags-sse2avx): Define.
71711 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71712 Fix typo.
71713
71714 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
71715
71716 * scripts/config.guess: Update from upstream config git repository.
71717 * scripts/config.sub: Likewise.
71718
71719 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
71720
71721 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71722 (EM_NUM): Update.
71723 (R_TILEPRO_*, R_TILEGX_*): New macros.
71724
71725 * scripts/firstversions.awk: Fix bug in version range handling.
71726
71727 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71728
71729 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71730
71731 * include/sys/epoll.h: New file.
71732 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71733 libc_hidden_def.
71734
71735 2012-01-28 Ulrich Drepper <drepper@gmail.com>
71736
71737 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71738 Avoid unnecessary __WORDSIZE == 64 test.
71739 (fmaxf): Use VEX format if possible.
71740 (fmax): Likewise.
71741 (fminf): Likewise.
71742 (fmin): Likewise.
71743
71744 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71745 * math/math_private.h: Remove libc_fegetround* and
71746 libc_fesetround*.
71747 * sysdeps/i386/configure.in: Check for -msse2avx.
71748 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71749 also if SSE2AVX is defined.
71750 Remove libc_fegetround* and libc_fesetround*.
71751 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71752 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
71753 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71754 of HAS_YMM_USABLE.
71755 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71756 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71757 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71758 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71759 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71760
71761 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71762
71763 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71764
71765 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71766 size is not set.
71767 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71768
71769 2012-01-27 Ulrich Drepper <drepper@gmail.com>
71770
71771 [BZ #13618]
71772 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71773 relocation.
71774 * Makeconfig (libm): Define.
71775 * elf/Makefile: Add rules to build and run tst-relsort1.
71776 * elf/tst-relsort1.c: New file.
71777 * elf/tst-relsort1mod1.c: New file.
71778 * elf/tst-relsort1mod2.c: New file.
71779
71780 2012-01-27 Joseph Myers <joseph@codesourcery.com>
71781
71782 * math/s_ldexp.c: Remove __STDC__ conditionals.
71783 * math/s_ldexpf.c: Likewise.
71784 * math/s_ldexpl.c: Likewise.
71785 * math/s_nextafter.c: Likewise.
71786 * math/s_nexttowardf.c: Likewise.
71787 * math/s_significand.c: Likewise.
71788 * math/s_significandf.c: Likewise.
71789 * math/s_significandl.c: Likewise.
71790 * math/w_jnl.c: Likewise.
71791 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71792 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71793 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71794 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71795 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71796 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71797 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
71798 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71799 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71800 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71801 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71802 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71803 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71804 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71805 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71806 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71807 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71808 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71810 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71811 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71812 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71813 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71814 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71815 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71816 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71817 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71818 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71819 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71820 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71821 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71822 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71823 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71824 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71825 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71826 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71827 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71828 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71829 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71830 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71831 * sysdeps/ieee754/k_standard.c: Likewise.
71832 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71833 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71834 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71835 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71836 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71837 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71838 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71839 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71840 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71841 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71842 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71843 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71844 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71845 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71846 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71847 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71848 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71849 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71850 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71851 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71852 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71853 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71854 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71855 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71856 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71857 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71858 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71859 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71860 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71861 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71862 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71863 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71864 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71865 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71866 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71867 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71868 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71869 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71870 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71871 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71872 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71873 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71874 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71875 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71876 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71877 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71878 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71879 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71880 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71881 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71882 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71883 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71884 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71885 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71886 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71887 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71888 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71889 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71890 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71891 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71892 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71893 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71894 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71895 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71896 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71897 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71898 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71899 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71900 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71901 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71902 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71903 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71904 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71905 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71906 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71907 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71908 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71909 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71910 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71911 * sysdeps/ieee754/s_matherr.c: Likewise.
71912 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71913 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71914 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71915 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71916
71917 2012-01-26 Joseph Myers <joseph@codesourcery.com>
71918
71919 * crypt/md5.h: Remove __STDC__ conditionals.
71920 * libio/libioP.h: Likewise.
71921 * locale/programs/config.h: Likewise.
71922 * sysdeps/generic/sysdep.h: Likewise.
71923 * sysdeps/i386/asm-syntax.h: Likewise.
71924 * sysdeps/s390/asm-syntax.h: Likewise.
71925 * sysdeps/unix/sysdep.h: Likewise.
71926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71928
71929 2012-01-26 Joseph Myers <joseph@codesourcery.com>
71930
71931 * libio/libio.h: Remove __STDC__ conditionals.
71932 * malloc/obstack.h: Likewise.
71933 * math/complex.h: Likewise.
71934 * math/math.h: Likewise.
71935 * sysdeps/generic/_G_config.h: Likewise.
71936 * sysdeps/gnu/_G_config.h: Likewise.
71937 * sysdeps/mach/hurd/_G_config.h: Likewise.
71938 * sysdeps/powerpc/bits/mathdef.h: Likewise.
71939 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71940 * sysdeps/sparc/bits/mathdef.h: Likewise.
71941
71942 2012-01-26 Ulrich Drepper <drepper@gmail.com>
71943
71944 [BZ #13583]
71945 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71946 Clean up HAS_* macros.
71947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71948 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71949 possible.
71950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71951 HAS_AVX.
71952 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71953 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71954 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71955 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71956 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71957
71958 2012-01-25 Joseph Myers <joseph@codesourcery.com>
71959
71960 * elf/tst-unique3.cc (gets): Remove declaration.
71961 * elf/tst-unique3lib.cc (gets): Likewise.
71962 * elf/tst-unique3lib2.cc (gets): Likewise.
71963 * elf/tst-unique4.cc (gets): Likewise.
71964
71965 2012-01-24 Ulrich Drepper <drepper@gmail.com>
71966
71967 * include/stdio.h: Add C++ protection. Add gets declarations and
71968 definitions.
71969 * debug/tst-chk1.c: Don't declare gets here.
71970 * stdio-common/tst-gets.c: Likewise.
71971
71972 2012-01-24 Joseph Myers <joseph@codesourcery.com>
71973
71974 * posix/glob: Remove directory.
71975
71976 2012-01-24 Joseph Myers <joseph@codesourcery.com>
71977
71978 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71979
71980 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
71981
71982 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71983 of the non-standard EPFNOSUPPORT.
71984
71985 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
71986
71987 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71988 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71989 ANYWHERE set to 1 only on KERN_NO_SPACE error.
71990
71991 2012-01-21 Ulrich Drepper <drepper@gmail.com>
71992
71993 * wcsmbs/uchar.h: Test __STDC_VERSION__.
71994
71995 2012-01-20 Ulrich Drepper <drepper@gmail.com>
71996
71997 * nscd/aicache.c (addhstaiX): Do not cache negative results of
71998 transient errors.
71999 * nscd/grpcache.c (cache_addgr): Likewise.
72000 * nscd/hstcache.c (cache_addhst): Likewise.
72001 * nscd/initgrcache.c (addinitgroupsX): Likewise.
72002 * nscd/pwdcache.c (cache_addpw): Likewise.
72003 * nscd/servicescache.c (cache_addserv): Likewise.
72004
72005 2012-01-16 Ulrich Drepper <drepper@gmail.com>
72006
72007 * malloc/malloc.c: Various cleanups.
72008 * malloc/hooks.c: Likewise.
72009
72010 * stdlib/Makefile (tests): Add bug-fmtmsg1.
72011 * stdlib/bug-fmtmsg1.c: New file.
72012
72013 * stdlib/fmtmsg.c (init): Add missing unlock.
72014 Patch by Peng Haitao <penght@cn.fujitsu.com>.
72015
72016 2012-01-12 Marek Polacek <polacek@redhat.com>
72017
72018 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72019 and _GNU_SOURCE.
72020
72021 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
72022
72023 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72024 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72025 macro to ensure uniqueness of label name.
72026 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72027 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72028
72029 2012-01-11 Ulrich Drepper <drepper@gmail.com>
72030
72031 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72032
72033 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72034 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72035 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72036 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72037
72038 2012-01-10 Ulrich Drepper <drepper@gmail.com>
72039
72040 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72041
72042 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72043 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72044 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72045
72046 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72047
72048 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72049 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72050 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72052
72053 * math/bits/math-finite.h: Add ldexp support.
72054
72055 2012-01-10 Marek Polacek <polacek@redhat.com>
72056
72057 * locale/programs/localedef.h (show_archive_content): Add noreturn
72058 attribute.
72059
72060 2012-01-09 Ulrich Drepper <drepper@gmail.com>
72061
72062 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72063
72064 2012-01-08 Ulrich Drepper <drepper@gmail.com>
72065
72066 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72067
72068 * io/Makefile (headers): Add bits/poll2.h.
72069
72070 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
72071
72072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72073 typo #include statement.
72074
72075 2012-01-08 Ulrich Drepper <drepper@gmail.com>
72076
72077 * include/sys/cdefs.h: Define __attribute_alloc_size.
72078 * catgets/gencat.c: Add alloc_size attribute and apply consistently
72079 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72080 * elf/pldd.c: Likewise.
72081 * iconv/iconv_charmap.c: Likewise.
72082 * iconv/iconvconfig.c: Likewise.
72083 * iconv/strtab.c: Likewise.
72084 * locale/programs/locale.c: Likewise.
72085 * locale/programs/localedef.h: Likewise.
72086 * locale/programs/simple-hash.c: Likewise.
72087 * nscd/nscd.h: Likewise.
72088 * nss/makedb.c: Likewise.
72089 * sysdeps/generic/ldconfig.h: Likewise.
72090 * locale/programs/localedef.c: Remove xmalloc prototype.
72091 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72092
72093 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
72094
72095 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72096 appropriate.
72097
72098 2012-01-08 Ulrich Drepper <drepper@gmail.com>
72099
72100 * math/Makefile (tests): Add tst-CMPLX.
72101 * math/tst-CMPLX.c: New file.
72102
72103 * math/complex.h (CMPLXL): Fix typo.
72104
72105 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72106 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72107 GLIBC_2.16.
72108 * debug/tst-chk1.c: Add poll and ppoll tests.
72109 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72110 * include/sys/poll.h: Add hidden proto for ppoll.
72111 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72112 * sysdeps/mach/hurd/ppoll.c: Likewise.
72113 * io/ppoll.c: Likewise.
72114 * debug/poll_chk.c: New file.
72115 * debug/ppoll_chk.c: New file.
72116 * include/bits/poll2.h: New file.
72117 * io/bits/poll2.h: New file.
72118
72119 [BZ #1350]
72120 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72121
72122 * configure.in: static is always set to yes. Remove.
72123 * config.make.in: Don't set build-static.
72124 * Makeconfig: Remove use of build-static.
72125 * dlfcn/Makefile: Likewise.
72126 * elf/Makefile: Likewise.
72127 * math/Makefile: Likewise.
72128 * misc/Makefile: Likewise.
72129 * nptl/Makefile: Likewise.
72130 * sysdeps/mach/hurd/Makefile: Likewise.
72131
72132 * configure.in: PWD_P is not used anymore.
72133 * config.make.in: Remove PWD_P entry.
72134
72135 * configure.in: Remove last remnants of RANLIB.
72136 No need to check for signed size_t anymore.
72137 Don't set libc_commonpagesize and libc_relro_required here for Alpha
72138 and IA-64.
72139 Remove __builtin_expect test because we require at least gcc 3.4.
72140 * aclocal.m4: Likewise.
72141
72142 * wcsmbs/mbrtoc16.c: Implement using towc function.
72143 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72144 * wcsmbs/wcsmbsload.c: Likewise.
72145 * iconv/gconv_simple.c: Likewise.
72146 * iconv/gconv_int.h: Likewise.
72147 * iconv/gconv_builtin.h: Likewise.
72148 * iconv/iconv_prog.c: Remove CHAR16 handling.
72149
72150 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72151
72152 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72153
72154 * configure.in: Remove --with-elf and --enable-bounded options.
72155 Dont set base_machine for ia64. More non-ELF conditions removed.
72156 Remove testing and setting of leading underscore information.
72157 * config.make.in (build-bounded): Set to no.
72158 * config.h.in: Remove NO_UNDERSCORES entry.
72159 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
72160 them.
72161 * csu/start.c: Remove !NO_UNDERSCORE code.
72162 * locale/localeinfo.h: Likewise.
72163 * sysdeps/generic/machine-gmon.h: Likewise.
72164 * sysdeps/generic/sysdep.h: Likewise.
72165 * sysdeps/i386/sysdep.h: Likewise.
72166 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72167 * sysdeps/mach/sysdep.h: Likewise.
72168 * sysdeps/s390/s390-32/sysdep.h: Likewise.
72169 * sysdeps/s390/s390-64/sysdep.h: Likewise.
72170 * sysdeps/sh/sysdep.h: Likewise.
72171 * sysdeps/sparc/sparc32/alloca.S: Likewise.
72172 * sysdeps/unix/i386/sysdep.S: Likewise.
72173 * sysdeps/unix/sparc/start.c: Likewise.
72174 * sysdeps/unix/sparc/sysdep.S: Likewise.
72175 * sysdeps/unix/sparc/sysdep.h: Likewise.
72176 * sysdeps/unix/start.c: Likewise.
72177 * sysdeps/unix/x86_64/sysdep.S: Likewise.
72178 * sysdeps/x86_64/sysdep.h: Likewise.
72179
72180 2012-01-07 Ulrich Drepper <drepper@gmail.com>
72181
72182 [BZ #13553]
72183 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72184 for non-gcc.
72185 * argp/argp-fmtstream.h: Use const instead __const.
72186 * argp/argp.h: Likewise.
72187 * assert/assert.h: Likewise.
72188 * bits/fenv.h: Likewise.
72189 * bits/sched.h: Likewise.
72190 * bits/sigset.h: Likewise.
72191 * bits/sigthread.h: Likewise.
72192 * catgets/nl_types.h: Likewise.
72193 * conform/data/pthread.h-data: Likewise.
72194 * crypt/crypt-private.h: Likewise.
72195 * crypt/crypt.h: Likewise.
72196 * crypt/crypt_util.c: Likewise.
72197 * ctype/ctype.h: Likewise.
72198 * debug/execinfo.h: Likewise.
72199 * debug/mbsnrtowcs_chk.c: Likewise.
72200 * debug/mbsrtowcs_chk.c: Likewise.
72201 * debug/wcsnrtombs_chk.c: Likewise.
72202 * debug/wcsrtombs_chk.c: Likewise.
72203 * debug/wcstombs_chk.c: Likewise.
72204 * dirent/dirent.h: Likewise.
72205 * dlfcn/dlfcn.h: Likewise.
72206 * elf/neededtest4.c: Likewise.
72207 * grp/grp.h: Likewise.
72208 * gshadow/gshadow.h: Likewise.
72209 * iconv/gconv.h: Likewise.
72210 * iconv/gconv_int.h: Likewise.
72211 * iconv/gconv_simple.c: Likewise.
72212 * iconv/iconv.h: Likewise.
72213 * iconv/loop.c: Likewise.
72214 * iconv/skeleton.c: Likewise.
72215 * include/aio.h: Likewise.
72216 * include/aliases.h: Likewise.
72217 * include/argz.h: Likewise.
72218 * include/arpa/inet.h: Likewise.
72219 * include/assert.h: Likewise.
72220 * include/dirent.h: Likewise.
72221 * include/dlfcn.h: Likewise.
72222 * include/execinfo.h: Likewise.
72223 * include/fcntl.h: Likewise.
72224 * include/fenv.h: Likewise.
72225 * include/glob.h: Likewise.
72226 * include/grp.h: Likewise.
72227 * include/libintl.h: Likewise.
72228 * include/mntent.h: Likewise.
72229 * include/netdb.h: Likewise.
72230 * include/pwd.h: Likewise.
72231 * include/rpc/netdb.h: Likewise.
72232 * include/sched.h: Likewise.
72233 * include/search.h: Likewise.
72234 * include/shadow.h: Likewise.
72235 * include/signal.h: Likewise.
72236 * include/stdio.h: Likewise.
72237 * include/stdlib.h: Likewise.
72238 * include/string.h: Likewise.
72239 * include/sys/socket.h: Likewise.
72240 * include/sys/stat.h: Likewise.
72241 * include/sys/statfs.h: Likewise.
72242 * include/sys/statvfs.h: Likewise.
72243 * include/sys/syslog.h: Likewise.
72244 * include/sys/time.h: Likewise.
72245 * include/sys/uio.h: Likewise.
72246 * include/time.h: Likewise.
72247 * include/unistd.h: Likewise.
72248 * include/utmp.h: Likewise.
72249 * include/wchar.h: Likewise.
72250 * include/wctype.h: Likewise.
72251 * inet/aliases.h: Likewise.
72252 * inet/arpa/inet.h: Likewise.
72253 * inet/netinet/ether.h: Likewise.
72254 * inet/netinet/in.h: Likewise.
72255 * intl/libintl.h: Likewise.
72256 * io/bits/fcntl2.h: Likewise.
72257 * io/fcntl.h: Likewise.
72258 * io/ftw.h: Likewise.
72259 * io/sys/poll.h: Likewise.
72260 * io/sys/stat.h: Likewise.
72261 * io/sys/statfs.h: Likewise.
72262 * io/sys/statvfs.h: Likewise.
72263 * io/utime.h: Likewise.
72264 * libio/bits/stdio.h: Likewise.
72265 * libio/bits/stdio2.h: Likewise.
72266 * libio/libio.h: Likewise.
72267 * libio/libioP.h: Likewise.
72268 * libio/stdio.h: Likewise.
72269 * locale/lc-ctype.c: Likewise.
72270 * locale/locale.h: Likewise.
72271 * login/utmp.h: Likewise.
72272 * malloc/arena.c: Likewise.
72273 * malloc/malloc.c: Likewise.
72274 * malloc/malloc.h: Likewise.
72275 * malloc/mcheck.c: Likewise.
72276 * malloc/mtrace.c: Likewise.
72277 * math/bits/mathcalls.h: Likewise.
72278 * math/fenv.h: Likewise.
72279 * math/math_private.h: Likewise.
72280 * misc/bits/error.h: Likewise.
72281 * misc/bits/syslog.h: Likewise.
72282 * misc/err.h: Likewise.
72283 * misc/error.h: Likewise.
72284 * misc/fstab.h: Likewise.
72285 * misc/mntent.h: Likewise.
72286 * misc/regexp.h: Likewise.
72287 * misc/search.h: Likewise.
72288 * misc/sgtty.h: Likewise.
72289 * misc/sys/mman.h: Likewise.
72290 * misc/sys/syslog.h: Likewise.
72291 * misc/sys/uio.h: Likewise.
72292 * misc/sys/xattr.h: Likewise.
72293 * misc/ttyent.h: Likewise.
72294 * nis/rpcsvc/ypclnt.h: Likewise.
72295 * nss/nss.h: Likewise.
72296 * posix/bits/unistd.h: Likewise.
72297 * posix/fnmatch.h: Likewise.
72298 * posix/glob.h: Likewise.
72299 * posix/sched.h: Likewise.
72300 * posix/spawn.h: Likewise.
72301 * posix/sys/wait.h: Likewise.
72302 * posix/unistd.h: Likewise.
72303 * posix/wordexp.h: Likewise.
72304 * pwd/pwd.h: Likewise.
72305 * resolv/netdb.h: Likewise.
72306 * resource/sys/resource.h: Likewise.
72307 * rt/aio.h: Likewise.
72308 * rt/bits/mqueue2.h: Likewise.
72309 * rt/mqueue.h: Likewise.
72310 * shadow/shadow.h: Likewise.
72311 * signal/signal.h: Likewise.
72312 * socket/send.c: Likewise.
72313 * socket/sendto.c: Likewise.
72314 * socket/sys/socket.h: Likewise.
72315 * stdio-common/printf.h: Likewise.
72316 * stdlib/bits/stdlib.h: Likewise.
72317 * stdlib/fmtmsg.h: Likewise.
72318 * stdlib/monetary.h: Likewise.
72319 * stdlib/stdlib.h: Likewise.
72320 * stdlib/ucontext.h: Likewise.
72321 * streams/stropts.h: Likewise.
72322 * string/argz.h: Likewise.
72323 * string/bits/string2.h: Likewise.
72324 * string/string.h: Likewise.
72325 * string/strings.h: Likewise.
72326 * sunrpc/rpc/auth.h: Likewise.
72327 * sunrpc/rpc/auth_des.h: Likewise.
72328 * sunrpc/rpc/clnt.h: Likewise.
72329 * sunrpc/rpc/netdb.h: Likewise.
72330 * sunrpc/rpc/pmap_clnt.h: Likewise.
72331 * sunrpc/rpc/xdr.h: Likewise.
72332 * sysdeps/generic/inttypes.h: Likewise.
72333 * sysdeps/generic/net/if.h: Likewise.
72334 * sysdeps/generic/sys/swap.h: Likewise.
72335 * sysdeps/gnu/net/if.h: Likewise.
72336 * sysdeps/gnu/utmpx.h: Likewise.
72337 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72338 * sysdeps/i386/i486/bits/string.h: Likewise.
72339 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72340 * sysdeps/s390/bits/string.h: Likewise.
72341 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72342 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72343 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72344 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72345 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72346 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72347 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72348 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72349 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72350 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72351 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72352 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72353 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72354 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72355 * sysdeps/unix/sysv/linux/readv.c: Likewise.
72356 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72357 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72359 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72360 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72361 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72362 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72363 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72364 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72365 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72366 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72367 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72368 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72369 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72370 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72371 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72372 * sysvipc/sys/ipc.h: Likewise.
72373 * sysvipc/sys/msg.h: Likewise.
72374 * sysvipc/sys/sem.h: Likewise.
72375 * sysvipc/sys/shm.h: Likewise.
72376 * termios/termios.h: Likewise.
72377 * time/sys/time.h: Likewise.
72378 * time/time.h: Likewise.
72379 * wcsmbs/bits/wchar2.h: Likewise.
72380 * wcsmbs/uchar.h: Likewise.
72381 * wcsmbs/wchar.h: Likewise.
72382 * wctype/wctype.h: Likewise.
72383
72384 [BZ #13551]
72385 * Makeconfig: Remove all but ELF support including AIX support.
72386 * Makerules: Likewise.
72387 * config.h.in: Likewise.
72388 * config.make.in: Likewise.
72389 * configure: Likewise.
72390 * configure.in: Likewise.
72391 * csu/Makefile: Likewise.
72392 * csu/version.c: Likewise.
72393 * debug/Makefile: Likewise.
72394 * dlfcn/Makefile: Likewise.
72395 * elf/Makefile: Likewise.
72396 * extra-lib.mk: Likewise.
72397 * iconv/Makefile: Likewise.
72398 * include/libc-symbols.h: Likewise.
72399 * include/shlib-compat.h: Likewise.
72400 * resolv/Makefile: Likewise.
72401 * resolv/res_libc.c: Likewise.
72402 * rt/Makefile: Likewise.
72403 * sysdeps/i386/asm-syntax.h: Likewise.
72404 * sysdeps/i386/sysdep.h: Likewise.
72405 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72406 * sysdeps/mach/sysdep.h: Likewise.
72407 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72408 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72409 * sysdeps/s390/asm-syntax.h: Likewise.
72410 * sysdeps/s390/s390-32/sysdep.h: Likewise.
72411 * sysdeps/s390/s390-64/sysdep.h: Likewise.
72412 * sysdeps/sh/sysdep.h: Likewise.
72413 * sysdeps/unix/sparc/sysdep.h: Likewise.
72414 * sysdeps/wordsize-32/divdi3.c: Likewise.
72415 * sysdeps/x86_64/sysdep.h: Likewise.
72416
72417 * argp/Versions: Remove _argp_unlock_xxx.
72418
72419 [BZ #13559]
72420 * abilist/ld.abilist: Update. Adjust for removal of tls option.
72421 * abilist/libBrokenLocale.abilist: Likewise.
72422 * abilist/libanl.abilist: Likewise.
72423 * abilist/libc.abilist: Likewise.
72424 * abilist/libcrypt.abilist: Likewise.
72425 * abilist/libdl.abilist: Likewise.
72426 * abilist/libm.abilist: Likewise.
72427 * abilist/libnsl.abilist: Likewise.
72428 * abilist/libpthread.abilist: Likewise.
72429 * abilist/libresolv.abilist: Likewise.
72430 * abilist/librt.abilist: Likewise.
72431 * abilist/libthread_db.abilist: Likewise.
72432 * abilist/libutil.abilist: Likewise.
72433 * abilist/libnss_db.abilist: New file.
72434
72435 * scripts/abilist.awk: Add support for indirect functions.
72436
72437 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72438
72439 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72440
72441 * shlib-versions: Remove entries for ports architectures.
72442
72443 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
72444 files in ports.
72445 * elf/stackguard-macros.h: Remove support for IA-64.
72446 * elf/tst-auditmod1.c: Likewise.
72447 * sysdeps/generic/ldsodefs.h: Likewise.
72448
72449 * sysdeps/unix/sysv/linux/configure.in: Ports should define
72450 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72451 configure files.
72452
72453 [BZ #13552]
72454 * configure.in: Remove --enable-omitfp support.
72455 * FAQ.in: Adjust.
72456 * config.make.in: Likewise.
72457 * Makeconfig: Likewise.
72458 * manual/install.texi: Likewise.
72459
72460 In case anyone cares, the IA-64 architecture could move to ports.
72461 * sysdeps/ia64/*: Removed.
72462 * sysdeps/unix/sysv/linux/ia64/*: Removed.
72463 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72464
72465 [BZ #13555]
72466 * configure.in: Remove entries for unsupported architectures.
72467
72468 [BZ #13533]
72469 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72470 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
72471 routines.
72472 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72473 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72474 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
72475 fall back to using wcrtomb.
72476 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72477 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
72478 renaming.
72479 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72480 * wcsmbs/tst-c16c32-1.c: New file.
72481
72482 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72483 local variable.
72484
72485 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72486
72487 * elf/tst-unique3.cc: Add explicit declaration of gets.
72488 * elf/tst-unique3lib.cc: Likewise.
72489 * elf/tst-unique3lib2.cc: Likewise.
72490 * elf/tst-unique4.cc: Likewise.
72491
72492 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72493
72494 2012-01-06 Joseph Myers <joseph@codesourcery.com>
72495
72496 [BZ #13566]
72497 * assert/assert.h (static_assert): Don't define for C++.
72498 * libio/stdio.h (gets): Do declare for C++ <= C++11.
72499 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72500
72501 2012-01-03 Ulrich Drepper <drepper@gmail.com>
72502
72503 * iconv/loop.c (single loop): Fix assertion in storing of
72504 remaining bytes.
72505
72506 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72507
72508 2012-01-01 Ulrich Drepper <drepper@gmail.com>
72509
72510 * posix/getconf.c: Update copyright year.
72511 * nss/getent.c: Likewise.
72512 * nss/makedb.c: Likewise.
72513 * iconv/iconvconfig.c: Likewise.
72514 * iconv/iconv_prog.c: Likewise.
72515 * elf/ldconfig.c: Likewise.
72516 * elf/pldd.c: Likewise.
72517 * elf/sotruss.ksh: Likewise.
72518 * catgets/gencat.c: Likewise.
72519 * csu/version.c: Likewise.
72520 * elf/ldd.bash.in: Likewise.
72521 * elf/sprof.c (print_version): Likewise.
72522 * locale/programs/locale.c: Likewise.
72523 * locale/programs/localedef.c: Likewise.
72524 * login/programs/pt_chown.c: Likewise.
72525 * nscd/nscd.c (print_version): Likewise.
72526 * debug/xtrace.sh: Likewise.
72527 * malloc/memusage.sh: Likewise.
72528 * malloc/mtrace.pl: Likewise.
72529 * debug/catchsegv.sh: Likewise.
72530
72531 2011-12-30 Jakub Jelinek <jakub@redhat.com>
72532
72533 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72534 pure attribute.
72535
72536 2011-12-24 Ulrich Drepper <drepper@gmail.com>
72537
72538 [BZ #13533]
72539 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72540 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72541 transformations.
72542 * iconv/gconv_int.h: Likewise.
72543 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72544 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72545 from libc for GLIBC_2.16.
72546 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72547 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72548 * wcsmbs/uchar.h: Really define mbstate_t.
72549 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72550 * wcsmbs/c16rtomb.c: New file.
72551 * wcsmbs/mbrtoc16.c: New file.
72552 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72553 for C/POSIX locale.
72554 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72555 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72556
72557 * wcsmbs/wchar.h: Add missing __restrict.
72558
72559 2011-12-23 Ulrich Drepper <drepper@gmail.com>
72560
72561 [BZ #13532]
72562 * time/Makefile (routines): Add timespec_get.
72563 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72564 * time/time.h: Define TIME_UTC and declare timespec_get. Define
72565 timespec for ISO C11.
72566 * time/timespec_get.c: New file.
72567 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72568 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72569
72570 [BZ #13531]
72571 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72572 * stdlib/stdlib.h: Declare aligned_alloc.
72573 * Versions.def: Add GLIBC_2.16 for libc.
72574 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72575
72576 [BZ 13527]
72577 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72578 ISO C11.
72579
72580 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72581 code.
72582
72583 [BZ #13528]
72584 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72585
72586 [BZ #13529]
72587 * assert/assert.h (static_assert): Define.
72588
72589 * version.h: Update for 2.16 development version.
72590
72591 [BZ #13526]
72592 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72593 _ISOC11_SOURCE.
72594
72595 * version.h (RELEASE): Bump for 2.15 release.
72596 * include/features.h (__GLIBC_MINOR__): Bump to 15.
72597
72598 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72599 Patch by Marek Polacek <mpolacek@redhat.com>.
72600
72601 * bits/byteswap.h: Protect long long constants with __extension__.
72602 * sysdeps/i386/bits/byteswap.h: Likewise.
72603 * sysdeps/ia64/bits/byteswap.h: Likewise.
72604 * sysdeps/s390/bits/byteswap.h: Likewise.
72605 * sysdeps/x86_64/bits/byteswap.h: Likewise.
72606
72607 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72608
72609 [BZ #13540]
72610 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72611 destination buffer.
72612 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72613
72614 2011-12-23 Marek Polacek <polacek@redhat.com>
72615
72616 * elf/dl-addr.c (determine_info): Add inline keyword.
72617 * elf/tst-auditmod4b.c (check_avx): Likewise.
72618 * elf/tst-auditmod6b.c (check_avx): Likewise.
72619 * elf/tst-auditmod6c.c (check_avx): Likewise.
72620 * elf/tst-auditmod7b.c (check_avx): Likewise.
72621
72622 2011-12-23 Ulrich Drepper <drepper@gmail.com>
72623
72624 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72625 !__SSE_MATH__.
72626
72627 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72628
72629 [BZ #13540]
72630 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72631 processing for last bytes.
72632
72633 2011-08-06 Bruno Haible <bruno@clisp.org>
72634
72635 [BZ #13061]
72636 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72637 U+0385, not to U+1FEE.
72638
72639 [BZ #13062]
72640 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72641 entry for U+00A5 U+0301.
72642
72643 2011-12-22 Ulrich Drepper <drepper@gmail.com>
72644
72645 [BZ #13166]
72646 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72647 buffer for the output is too small.
72648
72649 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72650 optimization.
72651
72652 [BZ #13185]
72653 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72654 SSE flags if possible.
72655
72656 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72657
72658 [BZ #13540]
72659 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72660 processing for last bytes.
72661
72662 2011-12-22 Joseph Myers <joseph@codesourcery.com>
72663
72664 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72665 (syscall-list-default-options, syscall-list-default-condition)
72666 (syscall-list-includes): Define.
72667 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72668 list of ABIs and options and #if conditions for each ABI. Do not
72669 handle common syscalls between ABIs specially.
72670 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72671 Remove.
72672 (syscall-list-variants, syscall-list-32bit-options)
72673 (syscall-list-32bit-condition, syscall-list-64bit-options)
72674 (syscall-list-64bit-condition): Define.
72675 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72676 (syscall-list-variants, syscall-list-32bit-options)
72677 (syscall-list-32bit-condition, syscall-list-64bit-options)
72678 (syscall-list-64bit-condition): Define.
72679 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72680 Remove.
72681 (syscall-list-variants, syscall-list-32bit-options)
72682 (syscall-list-32bit-condition, syscall-list-64bit-options)
72683 (syscall-list-64bit-condition): Define.
72684 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72685 Remove.
72686 (syscall-list-variants, syscall-list-32bit-options)
72687 (syscall-list-32bit-condition, syscall-list-64bit-options)
72688 (syscall-list-64bit-condition): Define.
72689
72690 2011-12-22 Ulrich Drepper <drepper@gmail.com>
72691
72692 * locale/iso-639.def: Add brx entry.
72693
72694 [BZ #13328]
72695 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72696 Proposed by Mariusz_Cukr <marcukr@op.pl>.
72697
72698 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72699 __feraiseexcept_renamed.
72700
72701 2011-12-21 Ulrich Drepper <drepper@gmail.com>
72702
72703 [BZ #13538]
72704 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72705 EPOLLET with unsigned values.
72706 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72707 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72708
72709 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72710 to large cancellation.
72711 * math/s_cacoshf.c: Likewise.
72712 * math/s_cacoshl.c: Likewise.
72713
72714 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
72715
72716 [BZ #13305]
72717 [BZ #12786]
72718 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72719 * math/s_cacoshf.c: Likewise.
72720 * math/s_cacoshl.c: Likewise.
72721
72722 2011-12-21 Ulrich Drepper <drepper@gmail.com>
72723
72724 [BZ #13439]
72725 * iconv/gconv.h: Define __GCONV_SWAP.
72726 * iconvdata/unicode.c: The swap bit must be stored in __flags.
72727 * iconvdata/utf-16.c: Likewise.
72728 * iconvdata/utf-32.c: Likewise.
72729
72730 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
72731
72732 [BZ #13524]
72733 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72734 numerator after shifting it by one limb.
72735
72736 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
72737
72738 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72739 under [__USE_EXTERN_INLINES].
72740
72741 2011-12-17 Ulrich Drepper <drepper@gmail.com>
72742
72743 [BZ #13446]
72744 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72745
72746 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72747
72748 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72749 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72750 optimized code.
72751 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72752 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72753 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72754 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72755 for strncasecmp/strncasecmp_l compilation.
72756 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72757 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72758
72759 2011-12-08 Marek Polacek <mpolacek@redhat.com>
72760
72761 [BZ #13484]
72762 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72763 of __asm__.
72764
72765 2011-12-17 Ulrich Drepper <drepper@gmail.com>
72766
72767 [BZ #13506]
72768 * time/tzfile.c (__tzfile_read): Check values from file header.
72769
72770 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
72771
72772 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72773 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72774 * powerpc/powerpc32/dl-start.S: Likewise.
72775 * powerpc/powerpc32/elf/start.S: Likewise.
72776 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72777 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
72778 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
72779 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
72780 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
72781 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
72782 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
72783 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
72784 * powerpc/powerpc32/fpu/s_round.S: Likewise.
72785 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
72786 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
72787 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
72788 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
72789 * powerpc/powerpc32/memset.S: Likewise.
72790 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
72791 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72792 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72793 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72794 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72795 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
72796 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
72797 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72798 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
72799 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
72800 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72801 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72802 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72803
72804 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72805
72806 * math/libm-test.inc: Added more nearbyint tests.
72807 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
72808 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
72809 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
72810 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
72811
72812 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
72813
72814 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
72815 FD_CLOEXEC.
72816
72817 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72818
72819 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
72820 Add wcscpy-ssse3 wcscpy-c.
72821 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
72822 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
72823 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
72824 * sysdeps/x86_64/wcschr.S: New file.
72825 * sysdeps/x86_64/wcsrchr.S: New file.
72826 * string/test-strcmp.c: Remove checking of wcscmp function for
72827 wrong alignments.
72828 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
72829 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
72830 wcsrchr-sse2 wcsrchr-c.
72831 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
72832 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
72833 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
72834 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
72835 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
72836 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
72837 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
72838 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
72839 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
72840 * wcsmbc/wcschr.c (WCSCHR): New macro.
72841
72842 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72843
72844 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
72845 * wcsmbs/test-wcsrchr.c: New file.
72846 * string/test-strrchr.c: Add wcsrchr support.
72847 (WIDE): New macro.
72848 * wcsmbs/test-wcscpy.c: New file.
72849 * string/test-strcpy.c: Add wcscpy support.
72850 (WIDE): New macro.
72851
72852 2011-12-10 Ulrich Drepper <drepper@gmail.com>
72853
72854 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72855 the inner loop.
72856
72857 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
72858
72859 [BZ #13472]
72860 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72861
72862 2011-12-04 Ulrich Drepper <drepper@gmail.com>
72863
72864 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72865 Minor optimizations.
72866
72867 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72868 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72869 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72870
72871 2011-12-03 Ulrich Drepper <drepper@gmail.com>
72872
72873 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72874 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72875 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72876 for gcc to avoid warnings.
72877 * inet/Makefile (tests): Add tst-checks.
72878 * inet/tst-checks.c: New file.
72879
72880 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72881 warning.
72882
72883 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72884 __wmemcmp_sse2.
72885
72886 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72887 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72888
72889 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72890
72891 2011-12-02 Ulrich Drepper <drepper@gmail.com>
72892
72893 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72894 problem.
72895
72896 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72897
72898 2011-11-29 Joseph Myers <joseph@codesourcery.com>
72899
72900 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72901 conditional on GCC version.
72902 (__arch_compare_and_exchange_val_8_acq)
72903 (__arch_compare_and_exchange_val_16_acq)
72904 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72905 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72906 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72907
72908 2011-12-02 Joseph Myers <joseph@codesourcery.com>
72909
72910 * sysdeps/sh/backtrace.c: New file.
72911
72912 2011-12-02 Andreas Schwab <schwab@redhat.com>
72913
72914 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
72915 parenthesis.
72916
72917 2011-12-01 Andreas Schwab <schwab@redhat.com>
72918
72919 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72920 falling back to utime.
72921
72922 2011-11-30 Andreas Schwab <schwab@redhat.com>
72923
72924 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72925 expectations for float.
72926
72927 2011-11-29 Andreas Schwab <schwab@redhat.com>
72928
72929 * locale/weight.h (findidx): Add parameter len.
72930 * locale/weightwc.h (findidx): Likewise.
72931 * posix/fnmatch_loop.c (FCT): Adjust caller.
72932 * posix/regcomp.c (build_equiv_class): Likewise.
72933 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72934 * posix/regexec.c (check_node_accept_bytes): Likewise.
72935 * string/strcoll_l.c (STRCOLL): Likewise.
72936 * string/strxfrm_l.c (STRXFRM): Likewise.
72937
72938 2011-11-17 Ulrich Drepper <drepper@gmail.com>
72939
72940 * Makefile.in: Remove CVSOPT handling.
72941 * configure.in: Remove use of AC_REVISION.
72942 * iconvdata/Makefile (distribute): No need to filter out CVS.
72943 * scripts/list-sources.sh: Remove CVS, subversion and monotone
72944 handling.
72945
72946 2011-11-16 Andreas Schwab <schwab@redhat.com>
72947
72948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72949 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72950 [USE_AS_STRNCASECMP_L]: Likewise.
72951 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72952 NO_TLS_DIRECT_SEG_REFS.
72953 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72954 Fix argument offsets for non-PIC.
72955 [USE_AS_STRNCASECMP_L]: Likewise.
72956 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72957 NO_TLS_DIRECT_SEG_REFS.
72958
72959 2011-11-15 Ulrich Drepper <drepper@gmail.com>
72960
72961 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72962 O_CLOEXEC.
72963 * locale/loadlocale.c (_nl_load_locale): Likewise.
72964
72965 2011-11-15 Andreas Schwab <schwab@redhat.com>
72966
72967 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72968 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72969 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72970 (SYSCALL_GETTIME): Set errno on error.
72971
72972 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72973 count references to noai6ai_cached.
72974
72975 2011-11-15 Ulrich Drepper <drepper@gmail.com>
72976
72977 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72978
72979 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72980 FD_CLOEXEC for /proc/self/maps.
72981
72982 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72983 FD_CLOEXEC for /proc/meminfo.
72984
72985 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72986 gai.conf.
72987
72988 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
72989 FD_CLOEXEC for given file.
72990
72991 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72992
72993 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72994 FD_CLOEXEC for /etc/hosts.
72995 (_gethtent): Likewise.
72996
72997 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72998
72999 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73000 cancellation and set FD_CLOEXEC for /etc/netgroup.
73001
73002 * nss/nss_files/files-key.c (search): Don't allow cancellation when
73003 reading /etc/publickey.
73004
73005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73006 allow cancellation when reading /etc/group.
73007
73008 * nss/nss_files/files-alias.c (internal_setent): Don't allow
73009 cancellation.
73010 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
73011
73012 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73013 when using data file.
73014
73015 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73016
73017 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73018 (write_nis_obj): Use "c" and "e" in fopen.
73019
73020 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73021
73022 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73023
73024 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73025
73026 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73027
73028 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73029 locale.alias.
73030
73031 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73032
73033 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73034
73035 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73036
73037 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73038 file parsing and set FD_CLOEXEC.
73039
73040 2011-11-14 Ulrich Drepper <drepper@gmail.com>
73041
73042 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73043
73044 2011-11-14 Andreas Schwab <schwab@redhat.com>
73045
73046 * malloc/arena.c (arena_get2): Don't call reused_arena when
73047 _int_new_arena failed.
73048
73049 2011-11-14 Ulrich Drepper <drepper@gmail.com>
73050
73051 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73052 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73053 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73054 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73055 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73056 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73057 to compile strcasecmp and strncasecmp.
73058 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73059 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73060
73061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73062
73063 2011-11-13 Ulrich Drepper <drepper@gmail.com>
73064
73065 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73066 locale-defines.sym to gen-as-const-headers.
73067 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73068 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73069 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73070 to compile strcasecmp and strncasecmp.
73071 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73072 strcasecmp_l and strncasecmp_l.
73073 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73074 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73075 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73076 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73077 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73078 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73079 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73080 * sysdeps/i386/i686/multiarch/strncase.S: New file.
73081 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73082 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73083 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73084
73085 2011-11-12 Ulrich Drepper <drepper@gmail.com>
73086
73087 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73088 result of SYSDEP_GETTIME_CPU to retval.
73089 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73090 parameter list to macro. Remove trailing semicolon. Adjust users.
73091
73092 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73093 variable.
73094
73095 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73096 mantissa words.
73097 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73098
73099 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73100 from unused variable.
73101
73102 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73103 DWARF definitions.
73104 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73105 for assembling.
73106
73107 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73108 over namespaces.
73109
73110 * sunrpc/rpc_prot.c (rejected): Fix case value.
73111
73112 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73113 unsigned long long int to avoid warnings in shift.
73114
73115 * posix/regex_internal.c (re_string_reconstruct): Actually use result
73116 of use of trans.
73117 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73118 variable tmp.
73119
73120 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73121 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73122 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73123
73124 * nis/nis_table.c (nis_list): Use variable of correct type for
73125 result of __follow_path call.
73126
73127 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73128
73129 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73130 of math functions ceil, trunc, floor, round, and sqrt, when
73131 avaliable on the platform.
73132 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73133 name clash.
73134 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73135 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73136 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73137
73138 2011-10-30 Marek Polacek <mpolacek@redhat.com>
73139
73140 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73141 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73142
73143 2011-11-11 Roland McGrath <roland@hack.frob.com>
73144
73145 * include/unistd.h: Fix __readlink return type.
73146 Reported by Chris Metcalf <cmetcalf@tilera.com>.
73147
73148 2011-11-11 Ulrich Drepper <drepper@gmail.com>
73149
73150 * stdlib/ucontext.h: Undo last change for makecontext.
73151
73152 2011-11-11 Andreas Schwab <schwab@redhat.com>
73153
73154 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73155
73156 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73157 * setjmp/setjmp.h: Mark functions as non-leaf.
73158 * setjmp/bits/setjmp2.h: Likewise.
73159 * stdlib/ucontext.h: Likewise.
73160
73161 2011-11-10 Andreas Schwab <schwab@redhat.com>
73162
73163 * malloc/arena.c (_int_new_arena): Don't increment narenas.
73164 (reused_arena): Don't check arena limit.
73165 (arena_get2): Atomically check arena limit.
73166
73167 2011-11-08 Ulrich Drepper <drepper@gmail.com>
73168
73169 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73170 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73171
73172 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73173 instructions.
73174
73175 2011-11-07 Andreas Schwab <schwab@redhat.com>
73176
73177 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73178 handler when locking.
73179
73180 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73181 Fix size of allocated buffer.
73182
73183 2011-11-04 Andreas Schwab <schwab@redhat.com>
73184
73185 [BZ #10103]
73186 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73187 declarations for long double functions.
73188 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73189
73190 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73191
73192 2011-11-03 Andreas Schwab <schwab@redhat.com>
73193
73194 * nscd/nscd.c (main): Don't start AVC thread until credentials are
73195 installed.
73196
73197 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73198 is disabled.
73199
73200 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
73201
73202 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73203
73204 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
73205
73206 * include/alloca.h (stackinfo_alloca_round): Define.
73207 (extend_alloca): Use it.
73208 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73209 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73210 here.
73211
73212 * scripts/check-local-headers.sh: Ignore libaudit.h.
73213
73214 * nscd/Makefile (extra-objs): Make recursively expanded.
73215
73216 2011-11-01 Ulrich Drepper <drepper@gmail.com>
73217
73218 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73219 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73220
73221 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73222 * posix/tst-rfc3484-2.c: Likewise.
73223 * posix/tst-rfc3484-3.c: Likewise.
73224
73225 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73226 process_vm_writev.
73227 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73228 process_vm_writev.
73229 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73230 process_vm_writev from libc using GLIBC_2.15 version.
73231
73232 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73233
73234 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
73235
73236 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73237 stack usage.
73238
73239 2011-10-31 Ulrich Drepper <drepper@gmail.com>
73240
73241 [BZ #13367]
73242 * nss/getent.c (initgroups_keys): Show error message in case no group
73243 names are given.
73244
73245 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73246 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73247 __bump_nl_timestamp.
73248 * nscd/connections (nscd_init): When host database is served open
73249 netlink socket and request notification about configuration changes.
73250 (main_loop_poll): Track netlink file descriptor and bump timestamp
73251 in case data becomes available.
73252 (main_loop_epoll): Likewise.
73253 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73254 (database_pers_head): Add extra_data fileds.
73255 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73256 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73257 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73258 Adjust caller.
73259 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73260 in6ai data, call __free_in6ai.
73261 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73262 Add -DHAVE_NETLINK.
73263 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
73264 interface information. Reuse previous data if netlink timestamp
73265 is not changed.
73266 (__bump_nl_timestamp): New function.
73267 (__free_in6ai): New function.
73268
73269 2011-10-30 Ulrich Drepper <drepper@gmail.com>
73270
73271 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73272 close_not_cancel_no_status here.
73273 (__check_pf): Reorganize code a bit to not call close twice if OOM.
73274
73275 2011-10-29 Ulrich Drepper <drepper@gmail.com>
73276
73277 [BZ #13276]
73278 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73279 return value.
73280
73281 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73282 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73283 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73284
73285 2011-07-03 Andreas Jaeger <aj@suse.de>
73286
73287 [BZ #10709]
73288 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73289 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73290 * math/libm-test.inc (sin_test): Add test case.
73291
73292 2011-10-29 Ulrich Drepper <drepper@gmail.com>
73293
73294 [BZ #13337]
73295 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73296 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73297
73298 * elf/chroot_canon.c (chroot_canon): Cleanups.
73299
73300 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73301
73302 [BZ #13335]
73303 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73304 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73305
73306 * string/test-strchr.c: Make usable for strchrnul testing.
73307 * string/test-strchrnul.c: New file.
73308 * string/Makefile (strop-tests): Add strchrnul.
73309
73310 * po/it.po: Update from translation team.
73311 * po/es.po: Likewise.
73312
73313 2011-10-28 Ulrich Drepper <drepper@gmail.com>
73314
73315 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73316 the three constants needed as parameters. Drop the others.
73317 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73318 __m128i_strloadu_tolower.
73319 Create and initialize variable zero and use it in all the places
73320 where _mm_setzero_si128 was used.
73321
73322 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73323 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73324 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73325 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73326 anymore.
73327 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73328 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73329 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73330 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73331 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73332 __mpranred, __mptan.
73333 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73334 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73335 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73336 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73337 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73338 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73340 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73341 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73342
73343 2011-10-28 Andreas Schwab <schwab@redhat.com>
73344
73345 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73346 redefine if SHARED.
73347 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73348
73349 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73350 wide char related routines to wcsmbs subdir.
73351
73352 2011-10-27 Andreas Schwab <schwab@redhat.com>
73353
73354 [BZ #13344]
73355 * misc/sys/cdefs.h (__THROWNL): Define.
73356 * posix/unistd.h: Use __THREADNL instead of __THREAD
73357 for memory synchronization functions.
73358
73359 2011-10-26 Roland McGrath <roland@hack.frob.com>
73360
73361 [BZ #13349]
73362 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73363 doesn't exist.
73364 * manual/stdio.texi (Obstack Streams): Node removed.
73365
73366 2011-10-26 Andreas Schwab <schwab@redhat.com>
73367
73368 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73369 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73370 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73371
73372 * math/math_private.h (math_force_eval): Allow non-addressable
73373 arguments.
73374 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73375
73376 2011-10-25 Ulrich Drepper <drepper@gmail.com>
73377
73378 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73379 file is not needed.
73380
73381 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73382 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73383 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73384 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73385 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73386 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73387 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73388 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73389 Add AVX variants.
73390 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73391 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73392 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73393 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73394 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73395 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73396 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73397 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73398 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73399 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73400 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73401 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73402 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73403 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73404 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73405 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73406 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73407 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73408 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73409
73410 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73411 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
73412
73413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73414 place. Use VEX encoding when compiling for AVX.
73415
73416 2011-10-25 Andreas Schwab <schwab@redhat.com>
73417
73418 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73419 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73420
73421 * string/test-strchr.c (do_test): Don't generate NUL bytes.
73422
73423 2011-10-25 Ulrich Drepper <drepper@gmail.com>
73424
73425 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73426 useless if() expression.
73427 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73428 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73429 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73430 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73431 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73432 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73433 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73434 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73435 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73436 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73437 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73438 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73439 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73440 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73441 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73442 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73443 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73444 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73445 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73446
73447 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73448
73449 2011-10-25 Andreas Schwab <schwab@redhat.com>
73450
73451 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73452 condition.
73453 * elf/dl-fini.c (_dl_sort_fini): Likewise.
73454
73455 2011-10-25 Ulrich Drepper <drepper@gmail.com>
73456
73457 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73458 .text section. Avoid duplicate constants.
73459 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73461 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73463 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73464 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73465 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73466 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73467 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73468 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73469 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73470 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73471 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73472 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73473 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73474 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73475 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73476 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73477 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73478 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73479 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73480 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73481 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73482 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73483 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73484 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73485 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73486 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73487 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73488 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73489 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73490 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73491 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73492 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73493 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73494 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73495 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73496 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73497 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73498 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73499 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73500 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73501 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73502 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73503 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73504
73505 2011-10-24 Ulrich Drepper <drepper@gmail.com>
73506
73507 * sysdeps/x86_64/dla.h: Move to ...
73508 * sysdeps/x86_64/fpu/dla.h: ...here.
73509 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73510 situations. Use __builtin_fma only for gcc 4.6 and up.
73511
73512 * config.make.in: Add have-mfma4 entry.
73513 * configure.in: Substitute libc_cv_cc_fma4.
73514 * math/Makefile (dbl-only-routines): Add sincostab.
73515 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73516 Use __sincostab not sincos.
73517 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73518 name is a macro.
73519 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73521 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
73523 using __copysign.
73524 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
73525 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
73526 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73527 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73528 and __inv.
73529 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73530 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73531 __copysign.
73532 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
73533 define aliases when function name is a macro.
73534 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73535 sysdeps/ieee754/dbl-64/sincos.tbl.
73536 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73537 fma4-enabled routines.
73538 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73539 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73540 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73541 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73542 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73543 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73544 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73545 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73547 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73548 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73549 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73550 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73551 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73552 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73553 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73554 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73555 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73556 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73557 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73558 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73559 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73560 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73561 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73562 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73563 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73564 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73565 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73566 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73567 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73568
73569 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73570 rename.
73571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73572 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73573 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73575 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73577 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73578 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73579
73580 2011-10-24 Andreas Schwab <schwab@redhat.com>
73581
73582 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73583
73584 2011-10-23 Ulrich Drepper <drepper@gmail.com>
73585
73586 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73587
73588 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73589 prediction.
73590 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73591
73592 * string/strnlen.c: Don't define STRNLEN, reverse logic.
73593 Remove unused variable magic_bits.
73594 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73595
73596 * string/strnlen.c: Define and use STRNLEN macro.
73597 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73598 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73599 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73600 * wcsmbs/wcslen.c: Define and use WCSLEN.
73601 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73602 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73603 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73604 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73605 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73606 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73607 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73608
73609 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73610
73611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73612 strnlen-sse2-no-bsf.
73613 Rename strlen-no-bsf to strlen-sse2-no-bsf.
73614 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73615 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73616 Add strnlen support.
73617 (USE_AS_STRNLEN): New macro.
73618 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73619 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73620 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73621 * sysdeps/x86_64/wcslen.S: New file.
73622
73623 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
73624
73625 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73626 XMM-moves are used for copying on small sizes.
73627
73628 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73629
73630 * wcsmbs/Makefile (strop-tests): Add wcschr.
73631 * wcsmbs/test-wcschr.c: New file.
73632 * string/test-strchr.c: Update.
73633 Add wcschr support.
73634 (WIDE): New macro.
73635
73636 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73637
73638 * wcsmbs/Makefile (strop-tests): Add wcslen.
73639 * wcsmbs/test-wcslen.c: New file.
73640 * string/test-strlen.c: Update.
73641 Add wcslen support.
73642 (WIDE): New macro.
73643
73644 2011-10-23 Ulrich Drepper <drepper@gmail.com>
73645
73646 * po/it.po: Update from translation team.
73647
73648 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73649
73650 * sysdeps/x86_64/wcscmp.S: Update.
73651 Fix wrong comparison semantics.
73652 wcscmp shall use signed comparison not unsigned.
73653 Don't use substraction to avoid overflow bug.
73654 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73655 * wcsmbc/wcscmp.c: Likewise.
73656 * string/test-strcmp.c: Likewise.
73657 Add new tests to check cases with negative values.
73658
73659 2011-10-23 Ulrich Drepper <drepper@gmail.com>
73660
73661 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73662 * sysdeps/x86_64/dla.h: ...here. New file.
73663 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73664 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73668 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73669 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73670 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73671 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73672
73673 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
73674
73675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73676 __ynl_finite aliases.
73677
73678 2011-10-22 Ulrich Drepper <drepper@gmail.com>
73679
73680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73681
73682 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73683 define DLA_FMA.
73684 [DLA_FMA] (EMULV): Use DLA_FMA.
73685 [DLA_FMA] (MUL12): Use EMULV.
73686 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73687 that are not needed.
73688 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73689 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73690 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73691 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73693 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73695
73696 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
73697
73698 * math/s_nan.c: Undef __nan.
73699 * math/s_nanf.c: Undef __nanf.
73700 * math/s_nanl.c: Undef __nanl.
73701 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73702 "math_private.h".
73703
73704 2011-10-22 Ulrich Drepper <drepper@gmail.com>
73705
73706 * math/s_catan.c: Add branch predictions.
73707 * math/s_catanf.c: Likewise.
73708 * math/s_catanh.c: Likewise.
73709 * math/s_catanhf.c: Likewise.
73710 * math/s_catanhl.c: Likewise.
73711 * math/s_catanl.c: Likewise.
73712 * math/s_cexp.c: Likewise.
73713 * math/s_cexpf.c: Likewise.
73714 * math/s_cexpl.c: Likewise.
73715 * math/s_clog.c: Likewise.
73716 * math/s_clog10.c: Likewise.
73717 * math/s_clog10f.c: Likewise.
73718 * math/s_clog10l.c: Likewise.
73719 * math/s_clogf.c: Likewise.
73720 * math/s_clogl.c: Likewise.
73721 * math/s_csqrt.c: Likewise.
73722 * math/s_csqrtf.c: Likewise.
73723 * math/s_csqrtl.c: Likewise.
73724 * math/s_ctanf.c: Likewise.
73725 * math/s_ctanh.c: Likewise.
73726 * math/s_ctanhf.c: Likewise.
73727 * math/s_ctanhl.c: Likewise.
73728 * math/s_ctanl.c: Likewise.
73729
73730 * math/math_private.h: Define __nan, __nanf, __nanl.
73731 * math/s_cacosh.c: Include <math_private.h>.
73732 * math/s_cacoshl.c: Likewise.
73733 * math/s_casinh.c: Likewise.
73734 * math/s_casinhf.c: Likewise.
73735 * math/s_casinhl.c: Likewise.
73736 * math/s_ccos.c: Rely entire on ccosh.
73737 * math/s_ccosf.c: Rely entire on ccoshf.
73738 * math/s_ccosl.c: Rely entirely on ccoshl.
73739 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
73740 Remove tests for FE_INVALID.
73741 * math/s_ccoshf.c: Likewise.
73742 * math/s_ccoshl.c: Likewise.
73743 * math/s_csin.c: Likewise.
73744 * math/s_csinf.c: Likewise.
73745 * math/s_csinh.c Likewise.
73746 * math/s_csinhf.c: Likewise.
73747 * math/s_csinhl.c: Likewise.
73748 * math/s_csinl.c: Likewise.
73749 * math/s_ctan.c: Likewise.
73750 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73751 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73752 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73753
73754 2011-10-21 Ulrich Drepper <drepper@gmail.com>
73755
73756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73757 compilation problems.
73758
73759 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73760 __builtin_expect.
73761
73762 2011-10-20 Ulrich Drepper <drepper@gmail.com>
73763
73764 * sysdeps/i386/configure.in: Test for -mfma4 option.
73765 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73766 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73767 COMMON_CPUID_INDEX_80000001.
73768 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73769 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73770 use it if FMA3 is not supported.
73771 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73772
73773 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73774 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73775
73776 2011-10-20 Andreas Schwab <schwab@redhat.com>
73777
73778 [BZ #12892]
73779 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
73780 it would create a cycle with a link time dependency.
73781
73782 2011-10-19 Ulrich Drepper <drepper@gmail.com>
73783
73784 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
73785 instruction.
73786 * string/Makefile (strop-tests): Add rawmemchr.
73787 * string/test-rawmemchr.c: New file.
73788
73789 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
73790 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
73791 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
73792 when compiling str{,n}casecmp and when AVX is available. Hook up
73793 new optimized code in initializers.
73794
73795 2011-10-19 Andreas Schwab <schwab@redhat.com>
73796
73797 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
73798 __feraiseexcept instead of feraiseexcept.
73799
73800 2011-10-18 Ulrich Drepper <drepper@gmail.com>
73801
73802 * math/math_private.h: Define defaults for libc_fetestexcept and
73803 libc_feupdateenv.
73804 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
73805 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
73806 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73807 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73808 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73809 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73810 libc_fetestexcept and libc_feupdateenv.
73811
73812 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
73813 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
73814 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
73815 * sysdeps/x86_64/fpu/math_private.h: Define special version of
73816 libc_feholdexcept_setround.
73817
73818 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
73819 Add s_nearbyint-c and s_nearbyintf-c.
73820 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
73821 nearbyintf inlines.
73822 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
73823 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
73824 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
73825 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
73826
73827 * math/math_private.h: Define defaults for libc_fegetround,
73828 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
73829 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
73830 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
73831 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
73832 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
73833 standard functions.
73834 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73835 Remove comments and hacks for old compiler versions.
73836 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73837 libc_fegetround, libc_fesetround, libc_feholdexcept, and
73838 libc_feholdexceptl.
73839
73840 2011-10-18 Andreas Schwab <schwab@redhat.com>
73841
73842 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
73843 (__feraiseexcept_renamed): Add __NTH.
73844 (feraiseexcept): Add __NTH. Rename local variables to fix
73845 namespace violations.
73846
73847 2011-10-17 Ulrich Drepper <drepper@gmail.com>
73848
73849 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73850
73851 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73852
73853 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73854 recently added interfaces.
73855 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73856
73857 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73858 about macro parameter expansion.
73859
73860 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73861 __NO_MATH_INLINES is defined. Cleanups.
73862
73863 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73864 and __floorf is target has SSE4.1.
73865 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73866 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73867 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73868 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73869
73870 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73871 name.
73872 (floorf): Likewise.
73873
73874 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73875
73876 2011-10-17 Andreas Schwab <schwab@redhat.com>
73877
73878 * misc/sys/cdefs.h: Fix last change.
73879
73880 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73881 database lookup.
73882
73883 2011-10-16 Ulrich Drepper <drepper@gmail.com>
73884
73885 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73886
73887 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73888 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73889 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73890 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73891 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73892 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73893 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73894 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73895 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73896 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73897 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73898 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73899 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73900 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73901 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73902 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73903 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73904 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73905 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73906 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73907 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73908 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73909
73910 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73911 ceil, ceilf, floor, floorf.
73912
73913 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73914 Perform IRELATIVE relocations last.
73915
73916 * elf/do-rel.h: Add another parameter nrelative, replacing the
73917 local variable with the same name. Change name of the function
73918 to end in Rel or Rela (uppercase).
73919 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73920 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
73921 elf_dynamic_do_##reloc function.
73922
73923 2011-10-15 Ulrich Drepper <drepper@gmail.com>
73924
73925 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73926 is sufficient, at least on modern CPUs.
73927
73928 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73929
73930 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73931 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73932
73933 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73934 __expl_finite.
73935 * math/bits/math-finite.h: Add entries for exp.
73936 * math/e_expl.c: Add __*_finite alias.
73937 * sysdeps/i386/fpu/e_exp.S: Likewise.
73938 * sysdeps/i386/fpu/e_expf.S: Likewise.
73939 * sysdeps/i386/fpu/e_expl.c: Likewise.
73940 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73941 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73942 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73943 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73944 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73945 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73946 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73947
73948 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73949 is sufficient, at least on modern CPUs.
73950
73951 * ctype/ctype-info.c (__ctype_init): Define.
73952 * include/ctype.h (__ctype_init): Declare.
73953 (__ctype_b_loc): The variable is always initialized.
73954 (__ctype_toupper_loc): Likewise.
73955 (__ctype_tolower_loc): Likewise.
73956 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73957 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73958
73959 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
73960
73961 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73962
73963 * configure.in: Also look in $cxxmachine/include for C++ system
73964 headers.
73965
73966 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73967
73968 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73969 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73970 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73971 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
73972 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73973 (USE_AS_WMEMCMP): New macro.
73974 Fixing indents.
73975 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73976 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73977 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73978 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73980 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73981 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73982 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73983 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73984 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73985 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73986 (USE_AS_WMEMCMP): New macro.
73987 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73988 * sysdeps/string/test-memcmp.c: Update.
73989 Fix simple_wmemcmp.
73990 Add new tests.
73991 * wcsmbs/wmemcmp.c: Update.
73992 (WMEMCMP): New macro.
73993 Fix overflow bug.
73994
73995 2011-10-12 Andreas Jaeger <aj@suse.de>
73996
73997 [BZ #13268]
73998 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73999
74000 2011-10-15 Ulrich Drepper <drepper@gmail.com>
74001
74002 * libio/iofwide.c (do_length): Avoid warning.
74003
74004 * ctype/ctype.h (__isctype_f): Add missing __THROW.
74005
74006 2011-10-14 Ulrich Drepper <drepper@gmail.com>
74007
74008 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74009
74010 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74011 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74012 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74013 * sysdeps/i386/i686/fpu/e_log.S: New file.
74014 * sysdeps/i386/i686/fpu/e_logf.S: New file.
74015 * sysdeps/i386/i686/fpu/e_logl.S: New file.
74016
74017 * ctype/ctype.h: Add support for inlined isXXX functions when
74018 compiling C++ code.
74019
74020 2011-10-14 Andreas Schwab <schwab@redhat.com>
74021
74022 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74023
74024 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74025
74026 2011-10-13 Roland McGrath <roland@hack.frob.com>
74027
74028 [BZ #13291]
74029 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74030
74031 2011-10-13 Andreas Schwab <schwab@redhat.com>
74032
74033 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74034 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74035 feraiseexcept.
74036
74037 * sysdeps/x86_64/memrchr.S: Check for zero size.
74038
74039 * string/stratcliff.c: Add memrchr tests.
74040
74041 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74042
74043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74044 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74045 rawmemchr-sse2 rawmemchr-sse2-bsf.
74046 * sysdeps/i386/i686/multiarch/memchr.S: New file.
74047 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74048 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74049 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74050 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74051 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74052 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74053 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74054 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74055 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74056 * string/memrchr.c (MEMRCHR): New macro.
74057
74058 2011-10-12 Ulrich Drepper <drepper@gmail.com>
74059
74060 Add integration with gcc's -ffinite-math-only and optimize wrapper
74061 functions in libm.
74062 * Versions.def: Define GLIBC_2.15 version for libm.
74063 * math/Makefile (headers): Add bits/math-finite.h.
74064 * math/bits/math-finite.h: New file.
74065 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74066 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74067 * math/e_acoshl.c: Add __*_finite alias.
74068 * math/e_acosl.c: Likewise.
74069 * math/e_asinl.c: Likewise.
74070 * math/e_atan2l.c: Likewise.
74071 * math/e_atanhl.c: Likewise.
74072 * math/e_coshl.c: Likewise.
74073 * math/e_exp10.c: Likewise.
74074 * math/e_exp10f.c: Likewise.
74075 * math/e_exp10l.c: Likewise.
74076 * math/e_exp2l.c: Likewise.
74077 * math/e_fmodl.c: Likewise.
74078 * math/e_gammal_r.c: Likewise.
74079 * math/e_hypotl.c: Likewise.
74080 * math/e_j0l.c: Likewise.
74081 * math/e_j1l.c: Likewise.
74082 * math/e_jnl.c: Likewise.
74083 * math/e_lgammal_r.c: Likewise.
74084 * math/e_log10l.c: Likewise.
74085 * math/e_log2l.c: Likewise.
74086 * math/e_logl.c: Likewise.
74087 * math/e_powl.c: Likewise.
74088 * math/e_sinhl.c: Likewise.
74089 * math/e_sqrtl.c: Likewise.
74090 * math/e_scalb.c: Completely rewritten and optimized.
74091 * math/e_scalbf.c: Likewise.
74092 * math/e_scalbl.c: Likewise.
74093 * math/w_acos.c: Likewise.
74094 * math/w_acosf.c: Likewise.
74095 * math/w_acosl.c: Likewise.
74096 * math/w_acosh.c: Likewise.
74097 * math/w_acoshf.c: Likewise.
74098 * math/w_acoshl.c: Likewise.
74099 * math/w_asin.c: Likewise.
74100 * math/w_asinf.c: Likewise.
74101 * math/w_asinl.c: Likewise.
74102 * math/w_atan2.c: Likewise.
74103 * math/w_atan2f.c: Likewise.
74104 * math/w_atan2l.c: Likewise.
74105 * math/w_atanh.c: Likewise.
74106 * math/w_atanhf.c: Likewise.
74107 * math/w_atanhl.c: Likewise.
74108 * math/w_exp10.c: Likewise.
74109 * math/w_exp10f.c: Likewise.
74110 * math/w_exp10l.c: Likewise.
74111 * math/w_fmod.c: Likewise.
74112 * math/w_fmodf.c: Likewise.
74113 * math/w_fmodl.c: Likewise.
74114 * math/w_j0.c: Likewise.
74115 * math/w_j0f.c: Likewise.
74116 * math/w_j0l.c: Likewise.
74117 * math/w_j1.c: Likewise.
74118 * math/w_j1f.c: Likewise.
74119 * math/w_j1l.c: Likewise.
74120 * math/w_jn.c: Likewise.
74121 * math/w_jnf.c: Likewise.
74122 * math/w_log.c: Likewise.
74123 * math/w_logf.c: Likewise.
74124 * math/w_logl.c: Likewise.
74125 * math/w_log10.c: Likewise.
74126 * math/w_log10f.c: Likewise.
74127 * math/w_log10l.c: Likewise.
74128 * math/w_log2.c: Likewise.
74129 * math/w_log2f.c: Likewise.
74130 * math/w_log2l.c: Likewise.
74131 * math/w_pow.c: Likewise.
74132 * math/w_powf.c: Likewise.
74133 * math/w_powl.c: Likewise.
74134 * math/w_remainder.c: Likewise.
74135 * math/w_remainderf.c: Likewise.
74136 * math/w_remainderl.c: Likewise.
74137 * math/w_scalb.c: Likewise.
74138 * math/w_scalbf.c: Likewise.
74139 * math/w_scalbl.c: Likewise.
74140 * math/w_sqrt.c: Likewise.
74141 * math/w_sqrtf.c: Likewise.
74142 * math/w_sqrtl.c: Likewise.
74143 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74144 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
74145 used.
74146 * math/math_private.h: Declare __kernel_standard_f.
74147 * math/w_cosh.c: Remove cruft and optimize a bit.
74148 * math/w_coshf.c: Likewise.
74149 * math/w_coshl.c: Likewise.
74150 * math/w_exp2.c: Likewise.
74151 * math/w_exp2f.c: Likewise.
74152 * math/w_exp2l.c: Likewise.
74153 * math/w_hypot.c: Likewise.
74154 * math/w_hypotf.c: Likewise.
74155 * math/w_hypotl.c: Likewise.
74156 * math/w_lgamma.c: Likewise.
74157 * math/w_lgamma_r.c: Likewise.
74158 * math/w_lgammaf.c: Likewise.
74159 * math/w_lgammaf_r.c: Likewise.
74160 * math/w_lgammal.c: Likewise.
74161 * math/w_lgammal_r.c: Likewise.
74162 * math/w_sinh.c: Likewise.
74163 * math/w_sinhf.c: Likewise.
74164 * math/w_sinhl.c: Likewise.
74165 * math/w_tgamma.c: Likewise.
74166 * math/w_tgammaf.c: Likewise.
74167 * math/w_tgammal.c: Likewise.
74168 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74169 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74170 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74171 Minor optimizations. Pretty printing. Remove cruft.
74172 * sysdeps/i386/fpu/e_acosf.S: Likewise.
74173 * sysdeps/i386/fpu/e_acosh.S: Likewise.
74174 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74175 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74176 * sysdeps/i386/fpu/e_acosl.c: Likewise.
74177 * sysdeps/i386/fpu/e_asin.S: Likewise.
74178 * sysdeps/i386/fpu/e_asinf.S: Likewise.
74179 * sysdeps/i386/fpu/e_atan2.S: Likewise.
74180 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74181 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74182 * sysdeps/i386/fpu/e_atanh.S: Likewise.
74183 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74184 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74185 * sysdeps/i386/fpu/e_exp10.S: Likewise.
74186 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74187 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74188 * sysdeps/i386/fpu/e_exp2.S: Likewise.
74189 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74190 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74191 * sysdeps/i386/fpu/e_fmod.S: Likewise.
74192 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74193 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74194 * sysdeps/i386/fpu/e_hypot.S: Likewise.
74195 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74196 * sysdeps/i386/fpu/e_log.S: Likewise.
74197 * sysdeps/i386/fpu/e_log10.S: Likewise.
74198 * sysdeps/i386/fpu/e_log10f.S: Likewise.
74199 * sysdeps/i386/fpu/e_log10l.S: Likewise.
74200 * sysdeps/i386/fpu/e_log2.S: Likewise.
74201 * sysdeps/i386/fpu/e_log2f.S: Likewise.
74202 * sysdeps/i386/fpu/e_log2l.S: Likewise.
74203 * sysdeps/i386/fpu/e_logf.S: Likewise.
74204 * sysdeps/i386/fpu/e_logl.S: Likewise.
74205 * sysdeps/i386/fpu/e_pow.S: Likewise.
74206 * sysdeps/i386/fpu/e_powf.S: Likewise.
74207 * sysdeps/i386/fpu/e_powl.S: Likewise.
74208 * sysdeps/i386/fpu/e_remainder.S: Likewise.
74209 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74210 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74211 * sysdeps/i386/fpu/e_scalb.S: Likewise.
74212 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74213 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74214 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74215 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74216 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74217 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74218 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74219 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74220 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74221 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74222 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74223 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74224 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74225 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74226 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74227 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74228 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74229 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74230 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74231 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74232 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74233 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74234 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74235 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74237 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74238 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74239 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74240 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74241 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74242 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74243 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74244 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74245 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74246 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74247 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74248 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74249 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74250 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74251 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74252 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74253 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74254 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74255 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74256 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74257 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74258 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74259 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74260 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74261 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74262 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74263 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74264 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74265 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74266 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74267 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74268 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74269 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74270 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74271 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74272 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74273 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74274 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74275 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74276 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74277 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74278 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74279 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74280 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74281 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74282 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74283 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74284 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74285 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74286 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74287 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74288 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74289 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74290 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74291 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74292 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74293 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74294 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74295 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74296 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74297 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74298 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74299 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74300 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74301 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74302 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74303 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74304 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74305 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74306 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74307 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74308 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74309 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74310 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74311 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74312 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74313 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74314 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74315 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74316 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74317 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74318 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74319 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74320 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74321 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74322 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74323 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74324 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74325 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74326 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74327 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
74328 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74329 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74330 (__isnanf): Likewise.
74331 (__isinf_ns): Likewise.
74332 (__isinf_nsf): Likewise.
74333 (__finite): Likewise.
74334 (__finitef): Likewise.
74335 (__ieee754_sqrt): Define as macro.
74336 (__ieee754_sqrtf): Define as macro.
74337 (__ieee754_sqrtl): Define as macro.
74338 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74339 inlined copy.
74340 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74341 __FINITE_MATH_ONLY__ consistent.
74342 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74343
74344 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
74345
74346 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74347 of rawmemchr.
74348
74349 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74350
74351 2011-10-09 Ulrich Drepper <drepper@gmail.com>
74352
74353 * po/ja.po: Update from translation team.
74354
74355 2011-10-08 Roland McGrath <roland@hack.frob.com>
74356
74357 * locale/programs/locarchive.c (prepare_address_space): New function.
74358 (create_archive, enlarge_archive, open_archive): Use it.
74359
74360 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74361 inside [SHARED], where it is used.
74362
74363 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74364
74365 * nss/getent.c (netgroup_keys): Remove unused variable.
74366 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74367
74368 2011-10-08 Ulrich Drepper <drepper@gmail.com>
74369
74370 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74371 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74372 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74373 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74374 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74375 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74376 * math/Makefile (libm-calls): Add s_isinf_ns.
74377 * math/divtc3.c: Use __isinf_nsl instead of isinf.
74378 * math/multc3.c: Likewise.
74379 * math/s_casin.c: Likewise.
74380 * math/s_casinf.c: Likewise.
74381 * math/s_casinl.c: Likewise.
74382 * math/s_ccos.c: Likewise.
74383 * math/s_ccosf.c: Likewise.
74384 * math/s_ccosl.c: Likewise.
74385 * math/s_ctan.c: Likewise.
74386 * math/s_ctanf.c: Likewise.
74387 * math/s_ctanh.c: Likewise.
74388 * math/s_ctanhf.c: Likewise.
74389 * math/s_ctanhl.c: Likewise.
74390 * math/s_ctanl.c: Likewise.
74391 * math/w_fmod.c: Likewise.
74392 * math/w_fmodf.c: Likewise.
74393 * math/w_fmodl.c: Likewise.
74394 * math/w_remainder.c: Likewise.
74395 * math/w_remainderf.c: Likewise.
74396 * math/w_remainderl.c: Likewise.
74397 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74398 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74399 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74400 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74401 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74402 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74403 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74404 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74405
74406 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74407 of the number.
74408 * stdio-common/printf_fphex.c: Likewise.
74409 * stdio-common/printf_size.c: Likewise.
74410
74411 * math/e_exp10.c: Include math_private.h using <...> not "...".
74412 * math/e_exp10f.c: Likewise.
74413 * math/e_exp10l.c: Likewise.
74414 * math/e_exp2l.c: Likewise.
74415 * math/e_j0l.c: Likewise.
74416 * math/e_j1l.c: Likewise.
74417 * math/e_jnl.c: Likewise.
74418 * math/e_lgammal_r.c: Likewise.
74419 * math/e_rem_pio2l.c: Likewise.
74420 * math/e_scalb.c: Likewise.
74421 * math/e_scalbf.c: Likewise.
74422 * math/e_scalbl.c: Likewise.
74423 * math/k_cosl.c: Likewise.
74424 * math/k_sinl.c: Likewise.
74425 * math/k_tanl.c: Likewise.
74426 * math/s_cacoshf.c: Likewise.
74427 * math/s_catan.c: Likewise.
74428 * math/s_catanf.c: Likewise.
74429 * math/s_catanh.c: Likewise.
74430 * math/s_catanhf.c: Likewise.
74431 * math/s_catanhl.c: Likewise.
74432 * math/s_catanl.c: Likewise.
74433 * math/s_ccosh.c: Likewise.
74434 * math/s_ccoshf.c: Likewise.
74435 * math/s_ccoshl.c: Likewise.
74436 * math/s_cexp.c: Likewise.
74437 * math/s_cexpf.c: Likewise.
74438 * math/s_cexpl.c: Likewise.
74439 * math/s_clog.c: Likewise.
74440 * math/s_clog10.c: Likewise.
74441 * math/s_clog10f.c: Likewise.
74442 * math/s_clog10l.c: Likewise.
74443 * math/s_clogf.c: Likewise.
74444 * math/s_clogl.c: Likewise.
74445 * math/s_csin.c: Likewise.
74446 * math/s_csinf.c: Likewise.
74447 * math/s_csinh.c: Likewise.
74448 * math/s_csinhf.c: Likewise.
74449 * math/s_csinhl.c: Likewise.
74450 * math/s_csinl.c: Likewise.
74451 * math/s_csqrt.c: Likewise.
74452 * math/s_csqrtf.c: Likewise.
74453 * math/s_csqrtl.c: Likewise.
74454 * math/s_ctan.c: Likewise.
74455 * math/s_ctanf.c: Likewise.
74456 * math/s_ctanh.c: Likewise.
74457 * math/s_ctanhf.c: Likewise.
74458 * math/s_ctanhl.c: Likewise.
74459 * math/s_ctanl.c: Likewise.
74460 * math/s_ldexp.c: Likewise.
74461 * math/s_ldexpf.c: Likewise.
74462 * math/s_ldexpl.c: Likewise.
74463 * math/s_significand.c: Likewise.
74464 * math/s_significandf.c: Likewise.
74465 * math/s_significandl.c: Likewise.
74466 * math/w_acos.c: Likewise.
74467 * math/w_acosf.c: Likewise.
74468 * math/w_acosh.c: Likewise.
74469 * math/w_acoshf.c: Likewise.
74470 * math/w_acoshl.c: Likewise.
74471 * math/w_acosl.c: Likewise.
74472 * math/w_asin.c: Likewise.
74473 * math/w_asinf.c: Likewise.
74474 * math/w_asinl.c: Likewise.
74475 * math/w_atan2.c: Likewise.
74476 * math/w_atan2f.c: Likewise.
74477 * math/w_atan2l.c: Likewise.
74478 * math/w_atanh.c: Likewise.
74479 * math/w_atanhf.c: Likewise.
74480 * math/w_atanhl.c: Likewise.
74481 * math/w_cosh.c: Likewise.
74482 * math/w_coshf.c: Likewise.
74483 * math/w_coshl.c: Likewise.
74484 * math/w_dremf.c: Likewise.
74485 * math/w_exp10.c: Likewise.
74486 * math/w_exp10f.c: Likewise.
74487 * math/w_exp10l.c: Likewise.
74488 * math/w_exp2.c: Likewise.
74489 * math/w_exp2f.c: Likewise.
74490 * math/w_fmod.c: Likewise.
74491 * math/w_fmodf.c: Likewise.
74492 * math/w_fmodl.c: Likewise.
74493 * math/w_hypot.c: Likewise.
74494 * math/w_hypotf.c: Likewise.
74495 * math/w_hypotl.c: Likewise.
74496 * math/w_j0.c: Likewise.
74497 * math/w_j0f.c: Likewise.
74498 * math/w_j0l.c: Likewise.
74499 * math/w_j1.c: Likewise.
74500 * math/w_j1f.c: Likewise.
74501 * math/w_j1l.c: Likewise.
74502 * math/w_jn.c: Likewise.
74503 * math/w_jnf.c: Likewise.
74504 * math/w_jnl.c: Likewise.
74505 * math/w_lgamma.c: Likewise.
74506 * math/w_lgamma_r.c: Likewise.
74507 * math/w_lgammaf.c: Likewise.
74508 * math/w_lgammaf_r.c: Likewise.
74509 * math/w_lgammal.c: Likewise.
74510 * math/w_lgammal_r.c: Likewise.
74511 * math/w_log.c: Likewise.
74512 * math/w_log10.c: Likewise.
74513 * math/w_log10f.c: Likewise.
74514 * math/w_log10l.c: Likewise.
74515 * math/w_log2.c: Likewise.
74516 * math/w_log2f.c: Likewise.
74517 * math/w_log2l.c: Likewise.
74518 * math/w_logf.c: Likewise.
74519 * math/w_logl.c: Likewise.
74520 * math/w_pow.c: Likewise.
74521 * math/w_powf.c: Likewise.
74522 * math/w_powl.c: Likewise.
74523 * math/w_remainder.c: Likewise.
74524 * math/w_remainderf.c: Likewise.
74525 * math/w_remainderl.c: Likewise.
74526 * math/w_scalb.c: Likewise.
74527 * math/w_scalbf.c: Likewise.
74528 * math/w_scalbl.c: Likewise.
74529 * math/w_sinh.c: Likewise.
74530 * math/w_sinhf.c: Likewise.
74531 * math/w_sinhl.c: Likewise.
74532 * math/w_sqrt.c: Likewise.
74533 * math/w_sqrtf.c: Likewise.
74534 * math/w_sqrtl.c: Likewise.
74535 * math/w_tgamma.c: Likewise.
74536 * math/w_tgammaf.c: Likewise.
74537 * math/w_tgammal.c: Likewise.
74538
74539 * po/ja.po: Update from translation team.
74540
74541 2011-09-29 Andreas Jaeger <aj@suse.de>
74542
74543 [BZ #13179]
74544 * sunrpc/netname.c (netname2host): Fix logic.
74545
74546 [BZ #6779]
74547 [BZ #6783]
74548 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74549 correctly.
74550 * math/w_remainder.c (__remainder): Likewise.
74551 * math/w_remainderf.c (__remainderf): Likewise.
74552 * math/libm-test.inc (remainder_test): Add test cases.
74553
74554 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74555
74556 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
74557 sdiv_qrnnd.
74558
74559 2011-10-07 Ulrich Drepper <drepper@gmail.com>
74560
74561 * string/test-memcmp.c: Avoid unncessary #defines.
74562 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74563
74564 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74565
74566 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74567 Use new sse2 version for core i3 - i7 as it's faster
74568 than sse42 version.
74569 (bit_Prefer_PMINUB_for_stringop): New.
74570 * sysdeps/x86_64/rawmemchr.S: Update.
74571 Replace with faster SSE2 version.
74572 * sysdeps/x86_64/memrchr.S: New file.
74573 * sysdeps/x86_64/memchr.S: Update.
74574 Replace with faster SSE2 version.
74575
74576 2011-09-12 Marek Polacek <mpolacek@redhat.com>
74577
74578 * elf/dl-load.c (lose): Add cast to avoid warning.
74579
74580 2011-10-07 Ulrich Drepper <drepper@gmail.com>
74581
74582 * po/ca.po: Update from translation team.
74583
74584 * inet/getnetgrent_r.c: Hook up nscd.
74585 * nscd/Makefile (routines): Add nscd_netgroup.
74586 (nscd-modules): Add netgroupcache.
74587 (CFLAGS-netgroupcache.c): Define.
74588 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74589 (cache_search): Add const to second parameter.
74590 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74591 INNETGR.
74592 (dbs): Add netgrdb entry.
74593 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74594 (verify_persistent_db): Handle netgrdb.
74595 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74596 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74597 GETFDNETGR.
74598 (netgroup_response_header): Define.
74599 (innetgroup_response_header): Define.
74600 (datahead): Add netgroup_response_header and innetgroup_response_header
74601 elements.
74602 * nscd/nscd.conf: Add entries for netgroup cache.
74603 * nscd/nscd.h (dbtype): Add netgrdb.
74604 (_PATH_NSCD_NETGROUP_DB): Define.
74605 (netgroup_iov_disabled): Declare.
74606 (xmalloc, xcalloc, xrealloc): Move declarations here.
74607 (cache_search): Adjust prototype.
74608 Add netgroup-related prototypes.
74609 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74610 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74611 (__nscd_innetgr): Declare.
74612 * nscd/selinux.c (perms): Use access_vector_t as element type and
74613 add netgroup-related initializers.
74614 * nscd/netgroupcache.c: New file.
74615 * nscd/nscd_netgroup.c: New file.
74616 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74617 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74618 For four parameters use innetgr.
74619 * nss/nss_files/files-init.c: Add definition and callback for netgr.
74620 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74621 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74622 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74623
74624 * nscd/connections.c (register_traced_file): Don't register file
74625 for disabled databases.
74626
74627 2011-10-06 Ulrich Drepper <drepper@gmail.com>
74628
74629 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74630
74631 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74632 from tree and freeing node.
74633
74634 2011-09-25 Jiri Olsa <jolsa@redhat.com>
74635
74636 * nss/nsswitch.c (__nss_database_lookup): Handle
74637 nss_parse_service_list out of memory case.
74638
74639 2011-09-15 Jiri Olsa <jolsa@redhat.com>
74640
74641 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74642 out of memory case.
74643
74644 2011-10-04 Andreas Schwab <schwab@redhat.com>
74645
74646 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74647 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74648 pass it down.
74649 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74650 elf_machine_rela, elf_machine_lazy_rel.
74651 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74652 (ELF_DYNAMIC_DO_REL): Likewise.
74653 (ELF_DYNAMIC_DO_RELA): Likewise.
74654 (ELF_DYNAMIC_RELOCATE): Likewise.
74655 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74656 to ELF_DYNAMIC_DO_REL.
74657 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74658 (dl_main): In trace mode always set __RTLD_NOIFUNC.
74659 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74660 elf_machine_rela.
74661 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74662 skip_ifunc, don't call ifunc function if non-zero.
74663 (elf_machine_rela): Likewise.
74664 (elf_machine_lazy_rel): Likewise.
74665 (elf_machine_lazy_rela): Likewise.
74666 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74667 (elf_machine_lazy_rel): Likewise.
74668 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74669 Likewise.
74670 (elf_machine_lazy_rel): Likewise.
74671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74672 Likewise.
74673 (elf_machine_lazy_rel): Likewise.
74674 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74675 (elf_machine_lazy_rel): Likewise.
74676 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74677 (elf_machine_lazy_rel): Likewise.
74678 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74679 (elf_machine_lazy_rel): Likewise.
74680 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74681 (elf_machine_lazy_rel): Likewise.
74682 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74683 (elf_machine_lazy_rel): Likewise.
74684 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74685 (elf_machine_lazy_rel): Likewise.
74686
74687 2011-09-28 Ulrich Drepper <drepper@gmail.com>
74688
74689 * nss/nss_files/files-init.c (_nss_files_init): Use static
74690 initialization for all the *_traced_file variables.
74691
74692 2011-09-28 Andreas Schwab <schwab@redhat.com>
74693
74694 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74695
74696 2011-09-27 Roland McGrath <roland@hack.frob.com>
74697
74698 [BZ #13226]
74699 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74700
74701 2011-09-27 Andreas Schwab <schwab@redhat.com>
74702
74703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74704 Reread the line before reparsing it.
74705
74706 2011-09-26 Andreas Schwab <schwab@redhat.com>
74707
74708 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74709
74710 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
74711 Maxim Kuvyrkov <maxim@codesourcery.com>
74712 Joseph Myers <joseph@codesourcery.com>
74713
74714 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74715 if needed for __stack_chk_guard.
74716
74717 2011-09-19 Roland McGrath <roland@hack.frob.com>
74718
74719 * sysdeps/posix/spawni.c (script_execute): Always define it.
74720 It will be optimized away if unused.
74721 (maybe_script_execute): New function.
74722 (__spawni): Call it.
74723
74724 * Makerules: Don't include tls.make.
74725 (config-tls): Always set to thread.
74726 * tls.make.c: File removed.
74727
74728 2011-09-19 Mike Frysinger <vapier@gentoo.org>
74729
74730 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74731 * config.make.in (CPPFLAGS-config): New substituted variable.
74732
74733 2011-09-15 Ulrich Drepper <drepper@gmail.com>
74734
74735 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74736
74737 [BZ #13192]
74738 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74739 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74740
74741 2011-09-15 Roland McGrath <roland@hack.frob.com>
74742
74743 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74744 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74745 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74746 (CALL_FAIL): Likewise.
74747 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74748 (CALL_FAIL): Macro removed.
74749 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74750
74751 2011-09-15 Ulrich Drepper <drepper@gmail.com>
74752
74753 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74754 for __FINITE_MATH_ONLY__ == 1.
74755
74756 2011-09-15 Andreas Schwab <schwab@redhat.com>
74757
74758 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74759 __ieee754_sqrt instead of sqrt.
74760 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74761 __ieee754_sqrtf instead of sqrtf.
74762 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74763 __floorf instead of floorf.
74764 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74765 __floorf, __truncf instead of floorf, truncf.
74766
74767 2011-09-14 Ulrich Drepper <drepper@gmail.com>
74768
74769 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74770
74771 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74772 __extern_always_inline.
74773 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74774 32-bit.
74775
74776 2011-09-14 Andreas Schwab <schwab@redhat.com>
74777
74778 * elf/rtld.c (dl_main): Also relocate in dependency order when
74779 doing symbol dependency testing.
74780
74781 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
74782
74783 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74784 Always define `refsym'.
74785
74786 2011-09-13 Andreas Schwab <schwab@redhat.com>
74787
74788 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
74789 (__FD_ELT): Renamed from __FDELT.
74790 * misc/bits/select2.h (__FD_ELT): Likewise.
74791 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
74792 __FD_MASK instead of __FDELT, __FDMASK.
74793 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74794 Likewise.
74795 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74796 Likewise.
74797
74798 * elf/Makefile (gen-ldd): Fix pattern.
74799
74800 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
74801 (init_tls): Likewise.
74802
74803 2011-09-12 Ulrich Drepper <drepper@gmail.com>
74804
74805 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
74806
74807 2011-09-12 Andreas Schwab <schwab@redhat.com>
74808
74809 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
74810 `struct cmsghdr *' instead of `void *'.
74811 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
74812 Likewise.
74813
74814 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
74815
74816 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
74817 if non-absolute.
74818 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
74819 ldd_rewrite_script.
74820
74821 2011-09-11 Ulrich Drepper <drepper@gmail.com>
74822
74823 * configure.in: Remove --with-tls option.
74824 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
74825 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
74826 out in case it is missing.
74827 * sysdeps/ia64/elf/configure.in: Likewise.
74828 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
74829 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
74830 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
74831 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
74832 * sysdeps/sh/elf/configure.in: Likewise.
74833 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
74834 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74835 * sysdeps/x86_64/elf/configure.in: Likewise.
74836 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
74837 * sysdeps/mach/hurd/tls.h: Likewise.
74838
74839 [BZ #13067]
74840 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
74841
74842 [BZ #13090]
74843 * configure.in: Fix use of AC_INIT.
74844
74845 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
74846
74847 2011-09-10 Ulrich Drepper <drepper@gmail.com>
74848
74849 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
74850 __set_errno.
74851 * malloc/hooks.c: Likewise.
74852
74853 [BZ #11929]
74854 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
74855 variables statically.
74856 (narenas): Initialize.
74857 (list_lock): Initialize.
74858 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
74859 initializtion of main_arena and list_lock. Small cleanups.
74860 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74861 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
74862 Add initializers to main_arena and mp_.
74863 (malloc_state): Remove pagesize member. Change all users to use
74864 GLRO(dl_pagesize).
74865
74866 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74867 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
74868 is always initialized.
74869
74870 * malloc/malloc.c: Removed unused configurations and dead code.
74871 * malloc/arena.c: Likewise.
74872 * malloc/hooks.c: Likewise.
74873 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74874
74875 * include/tls.h: Removed. USE___THREAD must always be defined.
74876 * bits/libc-tsd.h: Don't handle !USE___THREAD.
74877 * elf/dl-libc.c: Likewise.
74878 * elf/dl-tsd.c: Likewise.
74879 * include/errno.h: Likewise.
74880 * include/netdb.h: Likewise.
74881 * include/resolv.h: Likewise.
74882 * inet/herrno-loc.c: Likewise.
74883 * inet/herrno.c: Likewise.
74884 * malloc/arena.c: Likewise.
74885 * malloc/hooks.c: Likewise.
74886 * malloc/malloc.c: Likewise.
74887 * resolv/res-state.c: Likewise.
74888 * resolv/res_libc.c: Likewise.
74889 * sysdeps/i386/dl-machine.h: Likewise.
74890 * sysdeps/ia64/dl-machine.h: Likewise.
74891 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74892 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74893 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74894 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74895 * sysdeps/sh/dl-machine.h: Likewise.
74896 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74897 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74898 * sysdeps/unix/i386/sysdep.S: Likewise.
74899 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74900 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74901 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74902 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74903 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74904 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74905 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74906 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74907 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74909 * sysdeps/unix/x86_64/sysdep.S: Likewise.
74910 * sysdeps/x86_64/dl-machine.h: Likewise.
74911 * tls.make.c: Likewise.
74912
74913 * configure.in: Remove --with-__thread option. Make tests for
74914 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74915 tls_model attribute fail if no support is available. Remove
74916 USE_IN_LIBIO.
74917 * Makeconfig: Adjust for dropped configure option. All features are
74918 now mandatory.
74919 * Makerules: Likewise.
74920 * Versions.def: Likewise.
74921 * argp/argp-fmtstream.c: Likewise.
74922 * argp/argp-fmtstream.h: Likewise.
74923 * argp/argp-help.c: Likewise.
74924 * assert/assert.c: Likewise.
74925 * config.h.in: Likewise.
74926 * config.make.in: Likewise.
74927 * configure: Likewise.
74928 * configure.in: Likewise.
74929 * csu/Versions: Likewise.
74930 * csu/init.c: Likewise.
74931 * elf/tst-audit2.c: Likewise.
74932 * elf/tst-tls10.c: Likewise.
74933 * elf/tst-tls10.h: Likewise.
74934 * elf/tst-tls11.c: Likewise.
74935 * elf/tst-tls12.c: Likewise.
74936 * elf/tst-tls14.c: Likewise.
74937 * elf/tst-tlsmod11.c: Likewise.
74938 * elf/tst-tlsmod12.c: Likewise.
74939 * elf/tst-tlsmod13.c: Likewise.
74940 * elf/tst-tlsmod13a.c: Likewise.
74941 * elf/tst-tlsmod14a.c: Likewise.
74942 * elf/tst-tlsmod15b.c: Likewise.
74943 * elf/tst-tlsmod16a.c: Likewise.
74944 * elf/tst-tlsmod16b.c: Likewise.
74945 * elf/tst-tlsmod7.c: Likewise.
74946 * elf/tst-tlsmod8.c: Likewise.
74947 * elf/tst-tlsmod9.c: Likewise.
74948 * gmon/gmon.c: Likewise.
74949 * grp/fgetgrent_r.c: Likewise.
74950 * grp/putgrent.c: Likewise.
74951 * hurd/fopenport.c: Likewise.
74952 * include/libc-symbols.h: Likewise.
74953 * include/tls.h: Likewise.
74954 * intl/gettextP.h: Likewise.
74955 * intl/loadinfo.h: Likewise.
74956 * locale/global-locale.c: Likewise.
74957 * locale/localeinfo.h: Likewise.
74958 * mach/devstream.c: Likewise.
74959 * malloc/arena.c: Likewise.
74960 * malloc/set-freeres.c: Likewise.
74961 * misc/err.c: Likewise.
74962 * misc/getttyent.c: Likewise.
74963 * misc/mntent_r.c: Likewise.
74964 * posix/getopt.c: Likewise.
74965 * posix/wordexp.c: Likewise.
74966 * pwd/fgetpwent_r.c: Likewise.
74967 * resolv/Versions: Likewise.
74968 * resolv/res_hconf.c: Likewise.
74969 * shadow/fgetspent_r.c: Likewise.
74970 * shadow/putspent.c: Likewise.
74971 * stdio-common/printf_fphex.c: Likewise.
74972 * stdio-common/tmpfile.c: Likewise.
74973 * stdlib/abort.c: Likewise.
74974 * stdlib/fmtmsg.c: Likewise.
74975 * sunrpc/auth_unix.c: Likewise.
74976 * sunrpc/clnt_perr.c: Likewise.
74977 * sunrpc/clnt_tcp.c: Likewise.
74978 * sunrpc/clnt_udp.c: Likewise.
74979 * sunrpc/clnt_unix.c: Likewise.
74980 * sunrpc/openchild.c: Likewise.
74981 * sunrpc/svc_simple.c: Likewise.
74982 * sunrpc/svc_tcp.c: Likewise.
74983 * sunrpc/svc_udp.c: Likewise.
74984 * sunrpc/svc_unix.c: Likewise.
74985 * sunrpc/xdr.c: Likewise.
74986 * sunrpc/xdr_array.c: Likewise.
74987 * sunrpc/xdr_rec.c: Likewise.
74988 * sunrpc/xdr_ref.c: Likewise.
74989 * sunrpc/xdr_stdio.c: Likewise.
74990
74991 2011-09-09 Ulrich Drepper <drepper@gmail.com>
74992
74993 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74994
74995 2011-07-03 Andreas Jaeger <aj@suse.de>
74996
74997 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74998 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74999 regenerate with gen-libm-tests.pl.
75000
75001 2010-05-12 Petr Baudis <pasky@suse.cz>
75002
75003 [BZ #11589]
75004 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75005 around j0() zero points by switching to j1().
75006 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75007 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75008 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75009 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75010
75011 2011-09-09 Ulrich Drepper <drepper@gmail.com>
75012
75013 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75014 instead of 0.
75015 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75016 instead of 0.
75017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75018 Patch in part by Pavel Roskin <proski@gnu.org>.
75019
75020 [BZ #13138]
75021 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75022 realloc.
75023 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
75024 Free memory block if necessary.
75025
75026 [BZ #12847]
75027 * libio/genops.c (INTDEF): For string streams the _lock pointer can
75028 be NULL. Don't lock in this case.
75029
75030 2011-09-09 Roland McGrath <roland@hack.frob.com>
75031
75032 * elf/elf.h (ELFOSABI_GNU): New macro.
75033 (ELFOSABI_LINUX): Define to that.
75034
75035 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
75036
75037 * string/strncat.c (strncat): Undef the symbol in case it has been
75038 defined in bits/string.h.
75039
75040 2011-09-09 Ulrich Drepper <drepper@gmail.com>
75041
75042 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75043
75044 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75045 link map.
75046
75047 2011-08-17 Andreas Jaeger <aj@suse.de>
75048
75049 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75050
75051 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
75052 Ian Lance Taylor <iant@google.com>
75053
75054 * math/libm-test.inc (lround_test): New testcase.
75055 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75056
75057 2011-09-08 Ulrich Drepper <drepper@gmail.com>
75058
75059 * Makefile: Remove support for automatic cvs check-ins.
75060 * Makerules: Likewise.
75061 * config.make.in: Likewise.
75062 * configure.in: Likewise.
75063 * intl/Makefile: Likewise.
75064 * locale/Makefile: Likewise.
75065 * po/Makefile: Likewise.
75066 * posix/Makefile: Likewise.
75067 * sysdeps/gnu/Makefile: Likewise.
75068 * sysdeps/mach/hurd/Makefile: Likewise.
75069 * sysdeps/sparc/sparc32/Makefile: Likewise.
75070
75071 [BZ #13118]
75072 * posix/Makefile (bug-regex32-ENV): Define.
75073 Patch by John Stanley <jpsinthemix@verizon.net>.
75074
75075 * misc/Makefile (headers): Add bits/select2.h.
75076 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75077 * misc/bits/select2.h: New file.
75078 * include/bits/select2.h: New file.
75079 * debug/Makefile (routines): Add fdelt_chk.
75080 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75081 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75082 FD_ISSET.
75083 * debug/fdelt_chk.c: New file.
75084
75085 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
75086 * wcsmbs/test-wmemcmp.c: Likewise.
75087 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75088 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75089
75090 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75091
75092 * string/Makefile (strop-tests): Add memcmp.
75093 * string/test-wmemcmp.c: New file.
75094 * string/test-memcmp.c: Add wmemcmp support.
75095
75096 2011-09-08 Roland McGrath <roland@hack.frob.com>
75097
75098 [BZ #13153]
75099 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75100 2011-07-19 change.
75101
75102 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75103 garbage value in a __mach_port_mod_refs call in the cases of the
75104 task-self and thread-self ports.
75105
75106 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
75107
75108 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75109
75110 2011-09-08 Andreas Schwab <schwab@redhat.com>
75111
75112 * elf/dl-load.c (lose): Check for non-null L.
75113
75114 2011-09-07 Ulrich Drepper <drepper@gmail.com>
75115
75116 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75117
75118 * elf/dl-libc.c (dlerror_run): Pass back error code from
75119 dl_catch_error.
75120
75121 [BZ #13123]
75122 * elf/dl-load.c (lose): Free l_origin if it is valid.
75123
75124 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75125 names.
75126 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75127 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75128 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75129 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75130 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75131 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75132
75133 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
75134
75135 * sysdeps/powerpc/fpu/e_hypot.c: New file.
75136 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75137 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75138 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75139 * sysdeps/powerpc/fpu/k_cosf.c: New file.
75140 * sysdeps/powerpc/fpu/k_sinf.c: New file.
75141 * sysdeps/powerpc/fpu/s_cosf.c: New file.
75142 * sysdeps/powerpc/fpu/s_sinf.c: New file.
75143 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75144 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75145
75146 2011-08-15 Alan Modra <amodra@gmail.com>
75147
75148 [BZ #13092]
75149 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75150 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75151 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
75152 ppc_mcount to static-only-routines.
75153 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75154 __mcount_internal.
75155 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75156 __mcount_internal with usual JUMPTARGET. Remove useless nop.
75157
75158 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
75159
75160 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75161 for finite and infinity parameters.
75162
75163 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
75164
75165 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75166 and add nop instructions for throughput optimization.
75167 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75168
75169 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
75170
75171 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75172 aligned copy for power7 with vector-scalar instructions.
75173 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75174
75175 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
75176
75177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75178 AVX check.
75179
75180 2011-09-07 Andreas Schwab <schwab@redhat.com>
75181
75182 [BZ #13144]
75183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75184 last change.
75185
75186 2011-09-07 Ulrich Drepper <drepper@gmail.com>
75187
75188 * sysdeps/unix/sysv/linux/x86_64/init-first.c
75189 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75190 syscall wrapper around clock_gettime in __vdso_clock_gettime.
75191 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75192 clock_gettime.
75193
75194 2011-09-06 Ulrich Drepper <drepper@gmail.com>
75195
75196 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75197 Forgot to demangle the pointer.
75198
75199 * sysdeps/i386/sysdep.h: Define atom_text_section.
75200 * sysdeps/x86_64/sysdep.h: Likewise.
75201 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75202 section with atom_text_section.
75203 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75204 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75205 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75206 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75207 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75208
75209 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75210 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75211 already be defined. Change to take two parameters and don't assign
75212 result to variable. Adjust all users.
75213 Define INTERNAL_GETTIME if not already defined.
75214 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75215 call.
75216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75217 HAVE_CLOCK_GETTIME_VSYSCALL.
75218 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75219
75220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75221 gettimeofday vsyscall, just use time.
75222
75223 2011-09-06 Andreas Schwab <schwab@redhat.com>
75224
75225 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75226 <errno.h>.
75227
75228 2011-09-06 Ulrich Drepper <drepper@gmail.com>
75229
75230 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75231 syscall on x86-64.
75232 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75233 syscall.
75234 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75235 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75236 syscall if possible.
75237
75238 2011-09-05 Ulrich Drepper <drepper@gmail.com>
75239
75240 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75241 e_ident. Don't pass to find_mapsXX.
75242 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75243
75244 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
75245
75246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75247 strchr-sse2-no-bsf strrchr-sse2-no-bsf
75248 * sysdeps/x86_64/multiarch/strchr.S: Update.
75249 Check bit_slow_BSF bit.
75250 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75251 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75252 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75253
75254 2011-09-05 Ulrich Drepper <drepper@gmail.com>
75255
75256 [BZ #13134]
75257 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75258 before glibc 2.15.
75259 (tryshell): Define.
75260 (__spawni): Change last parameter to be flag. Test
75261 SPAWN_XFLAGS_USE_PATH flag to use path or not.
75262 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75263 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75264 * posix/spawni.c: Likewise.
75265 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75266 * posix/spawnp.c: Likewise. Change normal version to use
75267 SPAWN_XFLAGS_USE_PATH.
75268 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75269 SPAWN_XFLAGS_TRY_SHELL.
75270
75271 [BZ #13150]
75272 * posix/glob.h: Remove gcc 1.x support.
75273
75274 [BZ #13068]
75275 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75276
75277 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
75278
75279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75280 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75281 strrchr-sse2-bsf
75282 * sysdeps/i386/i686/multiarch/strchr.S: New file.
75283 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75284 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75285 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75286 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75287 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75288
75289 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75290
75291 * sysdeps/x86_64/wcscmp.S: New file.
75292
75293 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75294 wcscmp-c wcscmp-sse2
75295 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75296 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75297 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75298 * wcsmbs/wcscmp.c: Allow renaming.
75299
75300 2011-09-05 David S. Miller <davem@davemloft.net>
75301
75302 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75303 stack slot, rather than the struct return pointer slot.
75304 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75305 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75307 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75308
75309 2011-09-05 Ulrich Drepper <drepper@gmail.com>
75310
75311 * po/ja.po: Update from translation team.
75312
75313 [BZ #13144]
75314 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75315 kernel in 64-bit binaries.
75316
75317 2011-09-01 David S. Miller <davem@davemloft.net>
75318
75319 * elf/elf.h (HWCAP_SPARC_*): Move to..
75320 * sysdeps/sparc/sysdep.h: this new file and add new values.
75321 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75322 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75323 _DL_HWCAP_COUNT to 24.
75324 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75325 entries.
75326 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75327 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75328 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75330 instead of magic constants.
75331 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75332
75333 2011-08-31 David S. Miller <davem@davemloft.net>
75334
75335 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75336 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75337 Reimplement to do errno handling inline.
75338 (SYSCALL_ERROR_HANDLER): New macro.
75339 (__SYSCALL_STRING): Do not do errno handling in asm.
75340 (__CLONE_SYSCALL_STRING): Delete.
75341 (__INTERNAL_SYSCALL_STRING): Delete.
75342 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75343 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75344 (PSEUDO): Reimplement to do errno handling inline.
75345 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75346 (SYSCALL_ERROR_HANDLER): New macro.
75347 (__SYSCALL_STRING): Do not do errno handling in asm.
75348 (__CLONE_SYSCALL_STRING): Delete.
75349 (__INTERNAL_SYSCALL_STRING): Delete.
75350 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75351 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75352 i386.
75353 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75354 (inline_syscall*): Add 'err' argument.
75355 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75356 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75357 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75358 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75359
75360 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75361 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75362
75363 2011-08-30 Andreas Schwab <schwab@redhat.com>
75364
75365 * elf/rtld.c (dl_main): Relocate objects in dependency order.
75366
75367 2011-08-29 Jiri Olsa <jolsa@redhat.com>
75368
75369 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75370 directive.
75371
75372 2011-08-24 David S. Miller <davem@davemloft.net>
75373
75374 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75375
75376 2011-08-24 Andreas Schwab <schwab@redhat.com>
75377
75378 * elf/Makefile: Add rules to build and run unload8 test.
75379 * elf/unload8.c: New file.
75380 * elf/unload8mod1.c: New file.
75381 * elf/unload8mod1x.c: New file.
75382 * elf/unload8mod2.c: New file.
75383 * elf/unload8mod3.c: New file.
75384
75385 * elf/dl-close.c (_dl_close_worker): Reset private search list if
75386 it wasn't used.
75387
75388 2011-08-23 David S. Miller <davem@davemloft.net>
75389
75390 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75391 subtract stack bias.
75392 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75393 %sp not %fp in calculations.
75394 (_JMPBUF_UNWINDS_ADJ): Likewise.
75395
75396 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75397 (aio_suspend): Call it to force an exception region around the
75398 AIO_MISC_WAIT() invocation.
75399
75400 2011-08-23 Andreas Schwab <schwab@redhat.com>
75401
75402 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75403 backslash.
75404
75405 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
75406
75407 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75408 protection macro.
75409 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75410 and <dl-machine.h>.
75411 (Elf64_FuncDesc): Remove.
75412
75413 2011-08-22 David S. Miller <davem@davemloft.net>
75414
75415 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75416 sigaltstack check, add missing cfi directives.
75417 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75418 missing cfi directives, and sigaltstack handling.
75419
75420 2011-08-16 Andreas Schwab <schwab@redhat.com>
75421
75422 [BZ #11724]
75423 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75424 object is seen twice.
75425 * elf/dl-fini.c (_dl_sort_fini): Likewise.
75426
75427 * elf/Makefile (distribute): Add tst-initorder2.c.
75428 (tests): Add tst-initorder2.
75429 (modules-names): Add tst-initorder2a tst-initorder2b
75430 tst-initorder2c tst-initorder2d. Add rules to build them.
75431 ($(objpfx)tst-initorder2.out): New rule.
75432 * elf/tst-initorder2.c: New file.
75433 * elf/tst-initorder2.exp: New file.
75434
75435 2011-08-22 Andreas Schwab <schwab@redhat.com>
75436
75437 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75438
75439 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75440 dependencies back to end of function.
75441
75442 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75443 $(elfobjdir)/ld.so.
75444
75445 2011-08-21 Ulrich Drepper <drepper@gmail.com>
75446
75447 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75448 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75449 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75450 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75451 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75452 of __vdso_gettimeofday.
75453 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75454 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
75455 attribute_hidden.
75456 (_libc_vdso_platform_setup): Remove initialization of
75457 __vdso_gettimeofday and __vdso_time.
75458
75459 2011-08-20 Ulrich Drepper <drepper@gmail.com>
75460
75461 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75462 and fgetc_unlocked.
75463 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75464 getc_unlocked.
75465
75466 * elf/dl-open.c (add_to_global): Report additions to the global scope
75467 for LD_DEBUG=scopes.
75468 (dl_open_worker): Also print scope of newly loaded dependencies.
75469 (_dl_show_scope): Indicate if there is no scope.
75470
75471 [BZ #13114]
75472 * stdio-common/Makefile (tests): Add bug24.
75473 * stdio-common/bug24.c: New file.
75474
75475 2011-08-19 Andreas Jaeger <aj@suse.de>
75476
75477 [BZ #13114]
75478 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75479 non-existant file when using close-on-exec mode.
75480
75481 2011-08-20 Ulrich Drepper <drepper@gmail.com>
75482
75483 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75484 the very first instruction.
75485
75486 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75487 the CFI state in the end.
75488 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75489 inclusion of dl-trampoline.h.
75490 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75491
75492 2011-08-19 Andreas Schwab <schwab@redhat.com>
75493
75494 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75495 expectations for long double.
75496
75497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75498 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75499
75500 2011-08-14 David S. Miller <davem@davemloft.net>
75501
75502 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75503 artificual limit depends upon the system page size.
75504
75505 2011-08-17 Ulrich Drepper <drepper@gmail.com>
75506
75507 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75508 * resolv/Makefile: Define CFLAGS-libresolv.
75509
75510 2011-08-17 Andreas Schwab <schwab@redhat.com>
75511
75512 * nss/makedb.c (compute_tables): Make variables used in nested
75513 function static.
75514
75515 2011-08-17 Ulrich Drepper <drepper@gmail.com>
75516
75517 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75518 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75519 if buffer was too small.
75520
75521 * elf/pldd.c (main): Attach to all threads in the process.
75522 Rewrite /proc handling to use *at functions.
75523
75524 2011-08-16 Ulrich Drepper <drepper@gmail.com>
75525
75526 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75527 specifies first scope to show.
75528 (dl_open_worker): Update callers. Move printing scope of new
75529 object to before the relocation.
75530 * elf/rtld.c (dl_main): Update _dl_show_scope call.
75531 * sysdeps/generic/ldsodefs.h: Update declaration.
75532
75533 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75534 string for the scope number.
75535
75536 2011-08-14 Ulrich Drepper <drepper@gmail.com>
75537
75538 * nscd/servicescache.c (cache_addserv): Make sure written is always
75539 initialized.
75540
75541 2011-08-14 Roland McGrath <roland@hack.frob.com>
75542
75543 * sysdeps/i386/i486/bits/atomic.h
75544 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75545 statement expression, so as to suppress "set but not used" warning.
75546 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75547
75548 * string/strncat.c (STRNCAT): Use prototype definition.
75549
75550 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75551 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75552 -Iprograms here.
75553 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75554 (localedef-modules): Add localedef.
75555 (locale-modules): Add locale.
75556
75557 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75558 * elf/rtld.c (dl_main): Invert order of assignment in last change,
75559 to avoid a warning.
75560
75561 2011-08-14 David S. Miller <davem@davemloft.net>
75562
75563 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75564 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75565
75566 2011-08-13 Ulrich Drepper <drepper@gmail.com>
75567
75568 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75569 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75570 * elf/rtld.c (dl_main): Set l_name of vDSO.
75571 Call _dl_show_scope when DL_DEBUG_SCOPES.
75572 (process_dl_debug): Recognize scopes flag and also set it for all.
75573 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75574 Declare _dl_show_scope.
75575
75576 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75577 (do_dlopen): Pass caller_dlopen to dl_open.
75578 (__libc_dlopen_mode): Initialize caller_dlopen.
75579
75580 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75581 of libc. Make tolower call locale-independent. Optimize a bit by
75582 using isdigit instead of isalnum.
75583 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75584
75585 2011-08-12 Ulrich Drepper <drepper@gmail.com>
75586
75587 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75588 was a dependency or dynamically loaded.
75589
75590 2011-08-11 Ulrich Drepper <drepper@gmail.com>
75591
75592 * intl/l10nflist.c: Allow architecture-specific pop function.
75593 * sysdeps/x86_64/l10nflist.c: New file.
75594
75595 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75596 classification.
75597
75598 2011-08-10 Andreas Schwab <schwab@redhat.com>
75599
75600 * include/dirent.h: Add libc_hidden_proto for scandirat and
75601 scandirat64. Don't declare __scandirat64.
75602 * dirent/scandirat.c: Add libc_hidden_def.
75603 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75604 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75605
75606 2011-08-10 David S. Miller <davem@davemloft.net>
75607
75608 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75609 enum.
75610 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75611 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75612 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75613
75614 2011-08-09 Ulrich Drepper <drepper@gmail.com>
75615
75616 * Versions.def [libc]: Add GLIBC_2.15.
75617 * dirent/Makefile (routines): Add scandirat and scandirat64.
75618 * dirent/Versions [libc]: Export scandirat and scandirat64 for
75619 GLIBC_2.15.
75620 * dirent/dirent.h: Declare scandirat and scandirat64.
75621 * dirent/scandirat.c: New file.
75622 * dirent/scandirat64.c: New file.
75623 * sysdeps/wordsize-64/scandirat.c: New file.
75624 * sysdeps/wordsize-64/scandirat64.c: New file.
75625 * dirent/opendir.c: Define opendirat.
75626 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
75627 using scandirat.
75628 * dirent/scandir64.c: Adjust for scandir.c change.
75629 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
75630 __scandirat64, and __scandir_cancel_handler.
75631 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
75632 additional parameter and use openat instead of open (outside of ld.so).
75633 Add new __opendir as wrapper around __opendirat.
75634 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75635 here without requiring old scandirat implementation.
75636
75637 2011-08-08 Ulrich Drepper <drepper@gmail.com>
75638
75639 * dirent/scandir.c (cancel_handler): Renamed to
75640 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
75641 defined. Adjust users.
75642 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75643 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75644
75645 2011-08-04 Ulrich Drepper <drepper@gmail.com>
75646
75647 * string/test-string.h (IMPL): Use __STRING to expand name and then
75648 stringify it.
75649
75650 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
75651 of cleanups.
75652
75653 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75654
75655 * string/Makefile: Update.
75656 (strop-tests): Append strncat.
75657 * string/test-wcscmp.c: New file.
75658 New comprehensive test for wcscmp.
75659 * string/test-strcmp.c: Update.
75660 (WIDE): New define.
75661
75662 2011-07-22 Andreas Schwab <schwab@redhat.com>
75663
75664 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75665 line.
75666
75667 2011-07-26 Andreas Schwab <schwab@redhat.com>
75668
75669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75670 encoding to ACE if AI_IDN.
75671
75672 2011-08-01 Jakub Jelinek <jakub@redhat.com>
75673
75674 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75675 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75676
75677 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
75678
75679 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75680 Fix overflow bug in strncat.
75681 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75682
75683 * string/test-strncat.c: Update.
75684 Add new tests for checking overflow bugs.
75685
75686 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
75687
75688 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75689 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75690 * sysdeps/i386/i686/multiarch/strcat.S: New file.
75691 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75692 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75693 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75694 * sysdeps/i386/i686/multiarch/strncat.S: New file.
75695 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75696 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75697
75698 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75699 (USE_AS_STRCAT): Define.
75700 Add strcat and strncat support.
75701 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75702
75703 2011-07-25 Andreas Schwab <schwab@redhat.com>
75704
75705 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75706 __n bigger than INT_MAX+1.
75707 (__strncmp_g): Likewise.
75708
75709 2011-07-23 Ulrich Drepper <drepper@gmail.com>
75710
75711 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75712 * libio/stido.h: Likewise.
75713
75714 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75715 (AF_NFC): Define.
75716 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75717 (AF_NFC): Define.
75718
75719 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75720 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75721 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75722 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75723 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75724
75725 [BZ #13021]
75726 * scripts/test-installation.pl: Don't expect libnss_test1 to be
75727 installed.
75728
75729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75730 typo.
75731 (_dl_x86_64_save_sse): Likewise.
75732
75733 2011-07-22 Ulrich Drepper <drepper@gmail.com>
75734
75735 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75736 OSXSAVE.
75737 (_dl_x86_64_save_sse): Likewise.
75738
75739 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75740
75741 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75742
75743 2011-07-21 Andreas Schwab <schwab@redhat.com>
75744
75745 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75746 change.
75747 (_dl_x86_64_save_sse): Use correct AVX check.
75748
75749 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75750
75751 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75752 bug in strncpy/strncat.
75753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75754
75755 2011-07-21 Ulrich Drepper <drepper@gmail.com>
75756
75757 * string/tester.c (test_strcat): Add tests for different alignments
75758 of source and destination.
75759 (test_strncat): Likewise.
75760
75761 2011-07-20 Ulrich Drepper <drepper@gmail.com>
75762
75763 [BZ #12852]
75764 * posix/glob.c (glob): Check passed in values before using them in
75765 expressions to avoid some overflows.
75766 (glob_in_dir): Likewise.
75767
75768 [BZ #13007]
75769 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75770 check for AVX enablement so that we don't crash with old kernels and
75771 new hardware.
75772 * elf/tst-audit4.c: Add same checks here.
75773 * elf/tst-audit6.c: Likewise.
75774
75775 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75776
75777 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
75778
75779 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
75780
75781 2011-07-20 Ulrich Drepper <drepper@gmail.com>
75782
75783 * po/cs.po: Update from translation team.
75784 * po/bg.po: Likewise.
75785
75786 2011-07-12 Marek Polacek <mpolacek@redhat.com>
75787
75788 * misc/sys/cdefs.h: Add support for const attribute.
75789 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
75790 to gnu_dev_{major,minor,makedev} functions.
75791
75792 2011-07-20 Marek Polacek <mpolacek@redhat.com>
75793
75794 * intl/dcigettext.c (get_output_charset): Add missing bracket.
75795
75796 2011-07-20 Andreas Schwab <schwab@redhat.com>
75797
75798 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
75799 strlen results.
75800
75801 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75802
75803 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
75804 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
75805 register in order to avoid conflicts with the soft frame pointer
75806 being held in r11 when necessary.
75807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
75808 (INTERNAL_VSYSCALL_NCS): Likewise.
75809
75810 2011-07-14 Marek Polacek <mpolacek@redhat.com>
75811
75812 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
75813 * elf/dl-fini.c (_dl_fini): Adjust caller.
75814 * elf/dl-close.c (_dl_close_worker): Likewise.
75815 * sysdeps/generic/ldsodefs.h: Adjust declaration.
75816
75817 2011-07-15 Marek Polacek <mpolacek@redhat.com>
75818
75819 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
75820 "aux_cache->nlibs < 0".
75821
75822 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
75823 in the reload-count case.
75824
75825 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
75826
75827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75828 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
75829 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
75830 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
75831 * sysdeps/x86_64/multiarch/strcat.S: New file.
75832 * sysdeps/x86_64/multiarch/strncat.S: New file.
75833 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
75834 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
75835 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
75836 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
75837 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
75838 (USE_AS_STRCAT): Define.
75839 Add strcat and strncat support.
75840 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75841 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75842 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
75843 * string/strncat.c: Update.
75844 (USE_AS_STRNCAT): Define.
75845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75846 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
75847 and i7.
75848 * sysdeps/x86_64/multiarch/init-arch.h
75849 (bit_Prefer_PMINUB_for_stringop): New.
75850 (index_Prefer_PMINUB_for_stringop): Likewise.
75851 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75852 bit_Prefer_PMINUB_for_stringop.
75853
75854 2011-07-19 Ulrich Drepper <drepper@gmail.com>
75855
75856 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75857 buffer64.
75858 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75859 of casting of buffer.
75860 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75861 buffer32 and buffer64.
75862 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75863 writes instead of casting of buffer.
75864 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75865 buffer32.
75866 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75867 casting of buffer.
75868
75869 2011-07-19 Andreas Schwab <schwab@redhat.com>
75870
75871 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75872
75873 2011-07-19 Ulrich Drepper <drepper@gmail.com>
75874
75875 * nscd/nscd.c (termination_handler): Don't do anything for a database
75876 if it has not yet been initialized.
75877
75878 2011-07-18 Ulrich Drepper <drepper@gmail.com>
75879
75880 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75881
75882 2011-07-15 Marek Polacek <mpolacek@redhat.com>
75883
75884 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75885
75886 2011-07-18 Ulrich Drepper <drepper@gmail.com>
75887
75888 * po/nl.po: Update from translation team.
75889 * po/sv.po: Likewise.
75890
75891 2011-07-16 Roland McGrath <roland@hack.frob.com>
75892
75893 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75894 now disallowed by GCC.
75895
75896 * configure.in (use-default-link): Default to yes if a test -shared
75897 link meets our qualifications.
75898 * configure: Regenerated.
75899
75900 * config.make.in (output-format): New variable.
75901 * configure.in: Check for ld --print-output-format support.
75902 * configure: Regenerated.
75903 * Makerules ($(common-objpfx)format.lds)
75904 [$(output-format) != unknown]: Just use $(output-format),
75905 instead of the linker-script munging.
75906
75907 2011-07-14 Roland McGrath <roland@hack.frob.com>
75908
75909 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75910 of $(common-objpfx)shlib.lds.
75911 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75912
75913 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75914 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75915
75916 * configure.in (-z relro check): Adjust test code to add a large
75917 writable data section after it.
75918 * configure: Regenerated.
75919
75920 2011-07-11 Roland McGrath <roland@hack.frob.com>
75921
75922 * configure.in (-z relro check): Fix test code to make the variable
75923 truly const.
75924 * configure: Regenerated.
75925
75926 2011-07-11 Ulrich Drepper <drepper@gmail.com>
75927
75928 * nscd/nscd.h (struct traced_file): Define.
75929 (struct database_dyn): Remove inotify_descr, reset_res, and filename
75930 elements. Add traced_files.
75931 (inotify_fd): Declare.
75932 (register_traced_file): Declare.
75933 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75934 (inotify_fd): Export.
75935 (resolv_conf_descr): Remove.
75936 (nscd_init): Move inotify descriptor creation to main.
75937 Don't register files for notification here.
75938 (register_traced_file): New function.
75939 (invalidate_cache): Don't use reset_res to determine whether to call
75940 res_init, go through the list of registered files.
75941 (main_loop_poll): The inotify descriptors are now stored in the
75942 structures for the traced files.
75943 (main_loop_epoll): Likewise.
75944 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
75945 to __nss_disable_nscd.
75946 * nscd/cache.c (prune_cache): There is no single inotify descriptor
75947 for a database anymore. Check the records for all the registered
75948 files instead.
75949 * nss/Makefile (libnss_files-routines): Add files-init.
75950 (libnss_db-routines): Add db-init.
75951 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75952 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75953 * nss/nss_db/db-init.c: New file.
75954 * nss/nss_files/files-init.c: New file.
75955 * nss/nsswitch.c (nss_load_library): New function. Broken out of
75956 __nss_lookup_function.
75957 (__nss_lookup_function): Call nss_load_library.
75958 (nss_load_all_libraries): New function.
75959 (__nss_disable_nscd): Take parameter with callback function for files
75960 to register. Set is_nscd. Load all the DSOs for the NSS modules
75961 used for the cached services.
75962 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75963 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75964 options for features to all the files in nscd.
75965
75966 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75967
75968 2011-07-10 Roland McGrath <roland@hack.frob.com>
75969
75970 * csu/elf-init.c (__libc_csu_init): Comment typo.
75971
75972 2011-07-09 Ulrich Drepper <drepper@gmail.com>
75973
75974 * po/pl.po: Update from translation team.
75975 * po/ja.po: Likewise.
75976 * po/ru.po: Likewise.
75977 * po/ko.po: Likewise.
75978 * po/fr.po: Likewise.
75979
75980 2011-07-09 Roland McGrath <roland@hack.frob.com>
75981
75982 * configure.in (.ctors/.dtors header and trailer check):
75983 Use an empirical test on a built program.
75984 * configure: Regenerated.
75985
75986 * configure.in (-z relro check): Use an empirical test on a built DSO.
75987 Detect, but do not require, on ia64.
75988 * configure: Regenerated.
75989
75990 * configure.in (READELF): Find it with AC_CHECK_TOOL.
75991 Update tests that use readelf to use $READELF instead.
75992 * configure: Regenerated.
75993
75994 2011-07-08 Ulrich Drepper <drepper@gmail.com>
75995
75996 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75997 if the result is not used.
75998
75999 2011-07-05 Andreas Jaeger <aj@suse.de>
76000
76001 [BZ#9696]
76002 * stdlib/tst-strtod.c: Add testcase.
76003
76004 2011-07-07 Ulrich Drepper <drepper@gmail.com>
76005
76006 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76007 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76008 The latter has a higher limit. Take additional parameter to pass to
76009 the new function.
76010 (__pathconf): Pass file to __statfs_link_max.
76011 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76012 __statfs_link_max.
76013 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76014 __statfs_link_max.
76015
76016 [BZ #12868]
76017 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76018 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76019 Handle Lustre.
76020 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76021 (__statfs_filesize_max): Likewise.
76022 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76023
76024 2011-07-05 Andreas Jaeger <aj@suse.de>
76025
76026 * resolv/res_comp.c (dn_skipname): Remove unused variable.
76027
76028 2011-07-06 Marek Polacek <mpolacek@redhat.com>
76029
76030 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76031 `status' variable.
76032 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76033 Likewise.
76034
76035 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
76036
76037 * Makefile (strop-tests): Add strncat.
76038 * string/test-strncat.c: New file.
76039
76040 2011-06-30 Marek Polacek <mpolacek@redhat.com>
76041
76042 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76043
76044 2011-06-21 Andreas Jaeger <aj@suse.de>
76045
76046 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76047 Copy rule from iconvdata/Makefile.
76048
76049 2011-07-06 Ulrich Drepper <drepper@gmail.com>
76050
76051 [BZ #12922]
76052 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76053 but no long options are defined, just return 'W'.
76054
76055 2011-06-22 Marek Polacek <mpolacek@redhat.com>
76056
76057 [BZ #9696]
76058 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76059
76060 2011-07-06 Ulrich Drepper <drepper@gmail.com>
76061
76062 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76063 netgroups to read.
76064 (innetgr): Likewise.
76065
76066 2011-07-05 Roland McGrath <roland@hack.frob.com>
76067
76068 * config.make.in (install_root): Default to $(DESTDIR).
76069
76070 2011-07-05 Ulrich Drepper <drepper@gmail.com>
76071
76072 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76073
76074 2011-07-02 Roland McGrath <roland@hack.frob.com>
76075
76076 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76077
76078 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76079 containing directory rather than embedding absolute directory names.
76080
76081 * scripts/check-local-headers.sh: Rewritten using awk.
76082 Match by word, not by line. Print error messages for matches.
76083 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76084
76085 * Makerules [shlib-lds-flags empty]:
76086 ($(common-objpfx)libc_pic.opts): New target.
76087 ($(common-objpfx)libc_pic.os.clean): New target.
76088 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76089
76090 * config.make.in (OBJCOPY): New variable.
76091 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76092 * configure: Regenerated.
76093
76094 * config.make.in (use-default-link): New variable.
76095 * configure.in (use_default_link): Grok --with-default-link to set it.
76096 * configure: Regenerated.
76097 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76098 (shlib-lds, shlib-lds-flags): Define to empty.
76099
76100 * Makerules (shlib-lds): New variable.
76101 (shlib-lds-flags): New variable.
76102 (build-shlib, build-moduile, build-module-asneeded): Use it.
76103 ($(common-objpfx)libc.so): Use $(shlib-lds).
76104 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76105 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76106
76107 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76108 DT_FLAGS/DT_FLAGS_1 with zero flags.
76109
76110 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76111 linker script munging.
76112
76113 2011-07-02 Ulrich Drepper <drepper@gmail.com>
76114
76115 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76116 as 128-bit value.
76117 * crypt/sha512.c (sha512_process_block): Perform total addition using
76118 128-bit if possible.
76119 (__sha512_finish_ctx): Likewise.
76120 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76121 as 64-bit value.
76122 * crypt/sha256.c (SWAP64): Define.
76123 (sha256_process_block): Perform total addition using 64-bit if
76124 possible.
76125 (__sha256_finish_ctx): Likewise.
76126
76127 2011-07-01 Ulrich Drepper <drepper@gmail.com>
76128
76129 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
76130 * nscd/initgrcache.c (addinitgroupsX): Likewise.
76131 * nscd/hstcache.c (cache_addhst): Likewise.
76132 * nscd/grpcache.c (cache_addgr): Likewise.
76133 * nscd/aicache.c (addhstaiX): Likewise.
76134 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76135
76136 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
76137
76138 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76139 * nscd/initgrcache.c (addinitgroupsX): Likewise.
76140 * nscd/hstcache.c (cache_addhst): Likewise.
76141 * nscd/grpcache.c (cache_addgr): Likewise.
76142 * nscd/aicache.c (addhstaiX): Likewise.
76143
76144 2011-07-01 Andreas Schwab <schwab@redhat.com>
76145
76146 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76147 domain only when needed.
76148
76149 2011-06-30 Andreas Schwab <schwab@redhat.com>
76150
76151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76152 is always restored.
76153
76154 2011-06-29 Ulrich Drepper <drepper@gmail.com>
76155
76156 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76157 are re-adding the entry.
76158 * nscd/servicescache.c (cache_addserv): Likewise.
76159
76160 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
76161
76162 * sysdeps/generic/dl-irel.h: fix protection against multiple
76163 inclusions.
76164 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76165
76166 2011-06-28 Ulrich Drepper <drepper@gmail.com>
76167
76168 [BZ #12935]
76169 * malloc/memusage.sh: Fix quoting in message.
76170 * debug/xtrace.sh: Likewise.
76171
76172 * configure.in: Remove support for --experimental-malloc option, make
76173 it the default.
76174 * config.make.in: Likewise.
76175 * malloc/Makefile: Likewise.
76176
76177 2011-06-27 Andreas Schwab <schwab@redhat.com>
76178
76179 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76180 two-byte characters.
76181
76182 2011-06-27 Roland McGrath <roland@hack.frob.com>
76183
76184 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76185 AC_CACHE_CHECK invocation.
76186 * configure: Regenerated.
76187
76188 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76189
76190 2011-06-27 Ulrich Drepper <drepper@gmail.com>
76191
76192 [BZ #12350]
76193 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
76194 bit from old_res_options.
76195
76196 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76197
76198 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76199 value type for setfct.
76200
76201 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
76202
76203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76204 __gettimeofday instead of gettimeofday.
76205
76206 2011-06-26 Ulrich Drepper <drepper@gmail.com>
76207
76208 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76209
76210 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
76211
76212 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76213
76214 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76215 info.
76216
76217 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
76218
76219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76220 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76221 strcpy-sse2-unaligned strncpy-sse2-unaligned
76222 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76223 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76224 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76225 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76226 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76227 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76229 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76230 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76231 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76232 (STRCPY): Support SSE2 and SSSE3 versions.
76233
76234 2011-06-24 Ulrich Drepper <drepper@gmail.com>
76235
76236 [BZ #12874]
76237 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76238 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76239 kernels which artificially limit size of requests.
76240
76241 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
76242
76243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76244 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76245 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76246 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76247 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76248 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76249 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76250 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76251 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76252 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76253 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76254 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76255 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76256 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76257 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76259 Enable unaligned load optimization for Intel Core i3, i5 and i7
76260 processors.
76261 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76262 Define.
76263 (index_Fast_Unaligned_Load): Define.
76264 (HAS_FAST_UNALIGNED_LOAD): Define.
76265
76266 2011-06-23 Marek Polacek <mpolacek@redhat.com>
76267
76268 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76269
76270 2011-06-22 Ulrich Drepper <drepper@gmail.com>
76271
76272 [BZ #12907]
76273 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76274 until it is clear that the information is realy needed.
76275 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76276
76277 2011-06-22 Andreas Schwab <schwab@redhat.com>
76278
76279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76280
76281 2011-06-22 Ulrich Drepper <drepper@gmail.com>
76282
76283 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76284 /sys/devices/system/cpu/online if it is usable.
76285
76286 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76287 reading the information from the /proc filesystem to once a second.
76288
76289 2011-06-21 Andreas Jaeger <aj@suse.de>
76290
76291 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76292 NULL after inclusion of kernel headers.
76293
76294 2011-06-21 Ulrich Drepper <drepper@gmail.com>
76295
76296 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76297 calls to internal_setent.
76298
76299 [BZ #12885]
76300 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76301 addresses using gethostbyname4_r ignore IPv4 addresses.
76302
76303 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76304 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
76305
76306 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76307
76308 2011-06-20 David S. Miller <davem@davemloft.net>
76309
76310 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76311 inclusions.
76312 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76313
76314 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76315 (elf_irel): Use it.
76316 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76317 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76318 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76319 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76320 * sysdeps/x86_64/dl-irel.h: Likewise.
76321
76322 * elf/dl-runtime.c: Use elf_ifunc_invoke.
76323 * elf/dl-sym.c: Likewise.
76324
76325 2011-06-15 Ulrich Drepper <drepper@gmail.com>
76326
76327 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
76328 need to dereference resplen2.
76329
76330 2011-06-14 Andreas Schwab <schwab@redhat.com>
76331
76332 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76333
76334 2011-06-15 Ulrich Drepper <drepper@gmail.com>
76335
76336 * Makeconfig: Define vardbdir and inst_vardbdir.
76337 * nss/Makefile: Add rules to install db-Makefile.
76338
76339 * nss/nss_db/db-XXX.c: Cleanup.
76340
76341 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76342 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76343 GLIBC_PRIVATE.
76344 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76345 * nss/makedb.c: Implement -g option to specify that value strings
76346 are generated and should not be added to table iterated over for
76347 get*ent calls.
76348 * nss/nss_db/db-initgroups.c: New file.
76349
76350 * nss/getent.c: Add support for initgroups lookups through getgrouplist
76351 interface.
76352
76353 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76354 (internal_getgrouplist): Adjust to name change.
76355 Update use_initgroups_entry if this is not the first call.
76356 * nss/databases.def: Add initgroups entry.
76357
76358 * nss/makedb.c (compute_tables): Check result of multiple hash table
76359 sizes to minimize maximum chain length.
76360
76361 2011-06-14 Ulrich Drepper <drepper@gmail.com>
76362
76363 * Versions.def: Add entry for libnss_db.
76364 * shlib-versions: Likewise.
76365 * nss/Makefile: Add rules to build libnss_db.
76366 * nss/Versions: Add libnss_db information. Organize libnss_files
76367 entries better.
76368 * nss/db-Makefile: Add gshadow support. Change rules for the new
76369 makedb progra. Some minor improvements to generate smaller files.
76370 * nss/nss_db/nss_db.h: Move NSS database header data structures to
76371 here from...
76372 * nss/makedb.c: ...here.
76373 Improve database format to be smaller and require less memory at
76374 runtime.
76375 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
76376 db anymore.
76377 * nss/nss_db/db-netgrp.c: Likewise.
76378 * nss/nss_db/db-open.c: Likewise.
76379 * nss/nss_files/flies-XXX.x: Adjust comments.
76380 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76381 * nss/nss_files/files-grp.c: Likewise.
76382 * nss/nss_files/files-hosts.c: Likewise.
76383 * nss/nss_files/files-network.c: Likewise.
76384 * nss/nss_files/files-proto.c: Likewise.
76385 * nss/nss_files/files-pwd.c: Likewise.
76386 * nss/nss_files/files-rpc.c: Likewise.
76387 * nss/nss_files/files-service.c: Likewise.
76388 * nss/nss_files/files-sgrp.c: Likewise.
76389 * nss/nss_files/files-spwd.c: Likewise.
76390 * nss/nss_db/db-alias.c: Removed.
76391 * nss/nss_db/dummy-db.h: Removed.
76392
76393 2011-06-02 Ulrich Drepper <drepper@gmail.com>
76394
76395 * nss/makedb.c: Rewritten to not use database library.
76396 * nss/Makefile: Update to build new makedb program.
76397
76398 2011-06-14 Andreas Jaeger <aj@suse.de>
76399
76400 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76401 memset declaration.
76402
76403 2011-06-10 Andreas Schwab <schwab@redhat.com>
76404
76405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76406 tmpbuf.
76407
76408 2011-06-10 Roland McGrath <roland@hack.frob.com>
76409
76410 * Makerules (shlib.lds): Fail if the linker script comes out empty.
76411 * elf/Makefile ($(objpfx)ld.so): Likewise.
76412
76413 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76414 Don't list ld.so twice in dependencies.
76415
76416 * posix/bug-regex31.c: Include <stdlib.h>.
76417
76418 * nscd/hstcache.c (cache_addhst): Remove unused variable.
76419
76420 * nis/nss_compat/compat-spwd.c
76421 (getspent_next_nss_netgr): Remove unused variable.
76422 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76423
76424 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76425 nonmembers" output to use the right array.
76426
76427 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76428
76429 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76430
76431 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76432 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76433 * catgets/gencat.c (read_input_file): Likewise.
76434 * locale/programs/locarchive.c (enlarge_archive): Likewise.
76435
76436 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76437 variable definition inside #if's controlling its use.
76438
76439 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76440
76441 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76442
76443 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76444
76445 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76446 unreachable code.
76447
76448 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76449
76450 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76451 * configure: Regenerated.
76452
76453 * Makerules: Revert last change.
76454 * elf/Makefile: Likewise.
76455
76456 2011-06-09 Roland McGrath <roland@hack.frob.com>
76457
76458 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76459 * elf/Makefile ($(objpfx)librtld.os): Likewise.
76460 (reloc-link): Likewise.
76461
76462 2011-06-09 Ulrich Drepper <drepper@gmail.com>
76463
76464 * elf/Makefile: Add rules to build pldd.
76465 * elf/pldd.c: New file.
76466 * elf/pldd-xx.c: New file.
76467
76468 2011-06-07 Ulrich Drepper <drepper@gmail.com>
76469
76470 * version.h: Update for 2.15 development version.
76471
76472 2011-06-07 David S. Miller <davem@davemloft.net>
76473
76474 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76475 ifuncs.
76476 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76477 elf_machine_lazy_rel): Likewise.
76478 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76479 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76480 elf_machine_lazy_rel): Likewise.
76481 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76482 dl_hwcap via passed in argument.
76483 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76484 Likewise.
76485
76486 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76487
76488 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
76489
76490 2011-06-06 Roland McGrath <roland@hack.frob.com>
76491
76492 [BZ #12849]
76493 * manual/fdl-1.1.texi: New file, verbatim from:
76494 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76495 * manual/lgpl-2.1.texi: New file, verbatim from:
76496 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76497 * manual/Makefile (licenses): New variable, list those new file names.
76498 (texis): Use it.
76499 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76500
76501 * manual/fdl.texi: File removed.
76502 * manual/lesser.texi: File removed.
76503 * manual/libc.texinfo (Copying, Documentation License):
76504 Use new @include file names, put @appendix directive before @include.
76505
76506 2011-06-04 Jakub Jelinek <jakub@redhat.com>
76507
76508 [BZ #12841]
76509 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76510 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76511 (mq_open): Add __NTH.
76512
76513 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
76514
76515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76516 Assume Intel Core i3/i5/i7 processor if AVX is available.
76517
76518 2011-05-31 Ulrich Drepper <drepper@gmail.com>
76519
76520 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76521 typo.
76522
76523 2011-05-31 Andreas Schwab <schwab@redhat.com>
76524
76525 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76526 memory. Use alloca_account. Fix memory leak when retrying.
76527
76528 2011-05-31 Ulrich Drepper <drepper@gmail.com>
76529
76530 * version.h (RELEASE): Bump for 2.14 release.
76531 * include/features.h (__GLIBC_MINOR__): Bump to 14.
76532
76533 * config.make.in (RANLIB): Remove entry.
76534
76535 2011-05-30 Ulrich Drepper <drepper@gmail.com>
76536
76537 * po/Makefile (po-sed-cmd): Add ksh to extensions.
76538 (libc.pot): Work around missing support for .ksh extension in xgettext.
76539
76540 [BZ #12684]
76541 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76542 if both request failed.
76543 (send_dg): In case of server errors clear resplen or *resplen2.
76544
76545 [BZ #12454]
76546 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76547 when there are multiple maps.
76548 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76549 (_dl_fini): Remove test here.
76550
76551 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76552
76553 2011-05-29 Ulrich Drepper <drepper@gmail.com>
76554
76555 [BZ #12350]
76556 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76557 bit from old_res_options.
76558 (gaih_inet): Likewise.
76559
76560 [BZ #11099]
76561 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76562 as signed.
76563
76564 * resolv/res_init.c (res_setoptions): Make the code more compact.
76565
76566 [BZ #11558]
76567 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76568 set RES_USEVC.
76569
76570 [BZ #11634]
76571 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76572
76573 * malloc/malloc.h: Mark malloc hook variables as deprecated.
76574
76575 [BZ #11781]
76576 * malloc/malloc.h: Declare malloc hook variables as volatile.
76577
76578 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76579 in last patch.
76580
76581 [BZ #11799]
76582 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76583 raise in the comment.
76584 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76585 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76586 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76587
76588 2011-05-28 Ulrich Drepper <drepper@gmail.com>
76589
76590 [BZ #12811]
76591 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76592 grow the buffers more if it already has to be sufficient.
76593 (build_wcs_upper_buffer): Likewise.
76594 * posix/regexec.c (check_matching): Likewise.
76595 (clean_state_log_if_needed): Likewise.
76596 (extend_buffers): Don't enlarge buffers beyond size of the input
76597 buffer.
76598 Patches mostly by Emil Wojak <emil@wojak.eu>.
76599 * posix/bug-regex32.c: New file.
76600 * posix/Makefile (tests): Add bug-regex32.
76601
76602 * locale/findlocale.c (_nl_find_locale): Return right away if
76603 _nl_explode_name failed.
76604 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76605
76606 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76607
76608 * debug/xtrace.sh: Unify messages.
76609 * malloc/memusage.sh: Likewise.
76610
76611 [BZ #12813]
76612 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76613 time symbol from vDSO. Substitute with vsyscall if not available.
76614 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76615 __vdso_time.
76616
76617 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76618 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76619 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76620 Add sendmmsg and internal_sendmmsg.
76621 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76622 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76623 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76624
76625 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76626 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76627 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76628
76629 2011-05-27 Ulrich Drepper <drepper@gmail.com>
76630
76631 [BZ #12813]
76632 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76633 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
76634 available.
76635 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76636 __vdso_getcpu.
76637
76638 [BZ #12814]
76639 * iconvdata/Makefile (tests): Add bug-iconv9.
76640 * iconvdata/bug-iconv9.c: New file.
76641
76642 2011-05-27 Andreas Schwab <schwab@redhat.com>
76643
76644 [BZ #12814]
76645 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76646
76647 2011-05-25 Jakub Jelinek <jakub@redhat.com>
76648
76649 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76650 (struct user_regs_struct): Change intcs field back to cs.
76651
76652 2011-05-25 Ulrich Drepper <drepper@gmail.com>
76653
76654 * po/ja.po: Update from translation team.
76655
76656 2011-05-23 Ulrich Drepper <drepper@gmail.com>
76657
76658 [BZ #12795]
76659 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76660 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76661
76662 2011-05-20 Andreas Schwab <schwab@redhat.com>
76663
76664 * stdlib/longlong.h: Update from GCC.
76665
76666 2011-05-23 Andreas Schwab <schwab@redhat.com>
76667
76668 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76669 parameter name.
76670 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76671 Add parameter name.
76672 (__sysconf): Pass it down.
76673
76674 2011-05-22 Ulrich Drepper <drepper@gmail.com>
76675
76676 [BZ #12671]
76677 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76678 some situations.
76679 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76680 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76681 add in in __libc_use_alloca calls. Adjust callers.
76682 (glob): Use malloc in some situations.
76683
76684 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76685 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76686 pltexit.
76687
76688 2011-05-21 Ulrich Drepper <drepper@gmail.com>
76689
76690 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76691 and CLOCK_BOOTTIME_ALARM.
76692
76693 [BZ #12782]
76694 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76695 is returned.
76696
76697 * string/_strerror.c (__strerror_r): Print negative errors as signed
76698 numbers.
76699
76700 [BZ #12777]
76701 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76702 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76703 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76704
76705 * configure.in: Fix typo in redirection and correct removal of test
76706 files in two cases.
76707
76708 [BZ #12788]
76709 * locale/setlocale.c (new_composite_name): Fix test to check for
76710 identical name of all categories.
76711
76712 [BZ #12792]
76713 * libio/filedoalloc.c (local_isatty): New function.
76714 (_IO_file_doallocate): Use local_isatty.
76715 * stdio-common/perror.c (perror): In case a new stream is used
76716 forward the stream error.
76717 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76718 error flag.
76719
76720 2011-05-20 Ulrich Drepper <drepper@gmail.com>
76721
76722 [BZ #11884]
76723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76724 alloca.
76725 * include/alloca.h (extend_alloca_account): Define.
76726
76727 [BZ #11857]
76728 * posix/regex.h: Fix comments with documentation of user-accessible
76729 fields after compilation and describe correct free'ing of pattern
76730 after re_compile_pattern.
76731 Patch by Reuben Thomas <rrt@sc3d.org>.
76732
76733 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
76734
76735 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76736 and -mno-altivec to prevent the compiler from using Altivec and/or
76737 VSX instructions when the corresponding registers are not available.
76738
76739 2011-05-19 Andreas Schwab <schwab@redhat.com>
76740
76741 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76742
76743 2011-05-19 Ulrich Drepper <drepper@gmail.com>
76744
76745 * libio/freopen.c (freopen): Use __dup2, not dup2.
76746 * libio/freopen64.c (freopen64): Likewise.
76747
76748 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
76749
76750 [BZ #12775]
76751 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76752 * math/Makefile (tests): Add test-powl.
76753 (CFLAGS-test-powl.c): Define.
76754 * math/test-powl.c: New file.
76755
76756 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
76757
76758 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76759
76760 2011-05-17 Ulrich Drepper <drepper@gmail.com>
76761
76762 [BZ #11837]
76763 * iconvdata/gb18030.c: Update to GB18020-2005.
76764
76765 2011-05-16 Ulrich Drepper <drepper@gmail.com>
76766
76767 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76768 RE_SYNTAX_POSIX_AWK): Update to match recent development.
76769 Patch by Aharon Robbins <arnold@skeeve.com>.
76770
76771 [BZ #11892]
76772 * stdlib/putenv.c (putenv): Don't always create copy of the variable
76773 on the stack.
76774
76775 [BZ #11895]
76776 * misc/pselect.c (__pselect): Handle timeout value errors hidden
76777 through underflows.
76778
76779 [BZ #12766]
76780 * misc/error.c (error_at_line): Ensure file_name and old_file_name
76781 point to strings before performing equality test for error_one_per_line
76782 mode.
76783
76784 [BZ #11697]
76785 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
76786
76787 [BZ #11820]
76788 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76789 (struct user_fpregs_struct): Avoid __uint*_t types.
76790
76791 [BZ #6420]
76792 * malloc/mtrace.c (tr_where): Add additional parameter to point to
76793 symbol info. Use it instead of calling _dl_addr locally.
76794 (lock_and_info): New function.
76795 (tr_freehook): Call lock_and_info and pass symbol info as additional
76796 parameter to tr_where.
76797 (tr_mallochook): Likewise.
76798 (tr_reallochook): Likewise.
76799 (tr_memalignhook): Likewise.
76800
76801 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
76802 used and couldn't be at all thread-safe.
76803
76804 2011-05-15 Ulrich Drepper <drepper@gmail.com>
76805
76806 * libio/freopen.c (freopen): Don't close old file descriptor
76807 before the new one is opened. Instead dup the new file descriptor
76808 to the old one after the new stream is created.
76809 * libio/freopen64.c (freopen64): Likewise.
76810 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
76811 * libio/fileops.c (_IO_new_file_close_it): Handle new
76812 _IO_FLAGS2_NOCLOSE flag.
76813 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
76814 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
76815 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
76816 _IO_FLAGS2_NOCLOSE flag.
76817 * include/unistd.h: Add hidden_proto for dup3.
76818 Define __have_dup3.
76819 * io/dup3.c: Define hidden symbol.
76820 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
76821
76822 [BZ #7101]
76823 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
76824 when an incomplete long option is used.
76825 * posix/tst-getopt_long1.c: New file.
76826 * posix/Makefile (tests): Add tst-getopt_long1.
76827
76828 [BZ #10138]
76829 * scripts/config.guess: Update from autoconf-2.68.
76830 * scripts/config.sub: Likewise.
76831
76832 [BZ #10157]
76833 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
76834 tests into ...
76835 (has_cpuclock): ...this. New function.
76836 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
76837 macro here based on has_cpuclock code.
76838
76839 [BZ #10149]
76840 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76841 First byte (not low byte) is now always NUL.
76842 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
76843
76844 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76845 Use non-cancelable interfaces.
76846
76847 [BZ #9809]
76848 * locale/iso-639.def: Add entry for Sorani.
76849
76850 [BZ #11901]
76851 * include/stdlib.h: Move include protection to the right place.
76852 Define abort_msg_s. Declare __abort_msg with it.
76853 * stdlib/abort.c (__abort_msg): Adjust type.
76854 * assert/assert.c (__assert_fail_base): New function. Majority
76855 of code from __assert_fail. Allocate memory for __abort_msg with
76856 mmap.
76857 (__assert_fail): Now call __assert_fail_base.
76858 * assert/assert-perr.c: Remove bulk of implementation. Use
76859 __assert_fail_base.
76860 * include/assert.hL Declare __assert_fail_base.
76861 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76862 mmap.
76863 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76864
76865 2011-05-14 Ulrich Drepper <drepper@gmail.com>
76866
76867 [BZ #11952]
76868 [BZ #12453]
76869 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76870 until all modules are registered in the DTV.
76871 * elf/Makefile: Add rules to build and run tst-tls19.
76872 * elf/tst-tls19.c: New file.
76873 * elf/tst-tls19mod1.c: New file.
76874 * elf/tst-tls19mod2.c: New file.
76875 * elf/tst-tls19mod3.c: New file.
76876 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76877
76878 [BZ #12083]
76879 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76880 correctly.
76881
76882 [BZ #12601]
76883 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76884 two-byte sequence errors.
76885 * iconvdata/Makefile (tests): Add bug-iconv8.
76886 * iconvdata/bug-iconv8.c: New file.
76887
76888 [BZ #12626]
76889 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76890 buf2 definition.
76891
76892 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76893
76894 [BZ #12432]
76895 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76896 (dummy_getcfa): New function.
76897 (init): Get _Unwind_GetCFA address, use dummy if not found.
76898 (backtrace_helper): In recursion check, also check whether CFA changes.
76899 (__backtrace): Completely initialize arg.
76900
76901 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76902 storing incomplete byte sequence in state object. Avoid testing for
76903 guaranteed too small input if we know there is enough data available.
76904
76905 2011-05-11 Andreas Schwab <schwab@redhat.com>
76906
76907 * Makeconfig (+link-pie): Indent.
76908 * Rules (binaries-pie): Define if $(have-fpie) and
76909 $(build-shared).
76910 (binaries-shared): Also filter out $(binaries-pie).
76911 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76912 * nscd/Makefile (others-pie): Add nscd.
76913 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76914 ($(objpfx)nscd): Remove command override.
76915 * login/Makefile (others-pie): Add pt_chown.
76916 ($(objpfx)pt_chown): Remove command override.
76917 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76918 remove command overrides.
76919
76920 2011-05-13 Ulrich Drepper <drepper@gmail.com>
76921
76922 * libio/tst_putwc.c: Fix error messages.
76923
76924 [BZ #12724]
76925 * libio/fileops.c (_IO_new_file_close_it): Always flush when
76926 currently writing and seek to current position when not.
76927 * libio/Makefile (tests): Add bug-fclose1.
76928 * libio/bug-fclose1.c: New file.
76929
76930 2011-05-12 Ulrich Drepper <drepper@gmail.com>
76931
76932 [BZ #12511]
76933 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76934 don't set DF_1_NODELETE here.
76935 (do_lookup_x): When entering new entry test for copy relocation
76936 and if necessary set DF_1_NODELETE flag.
76937 * elf/tst-unique4.cc: New file.
76938 * elf/tst-unique4.h: New file.
76939 * elf/tst-unique4lib.cc: New file.
76940 * elf/Makefile: Add rules to build and run tst-unique4.
76941 Patch by Piotr Bury <pbury@goahead.com>.
76942
76943 2011-05-11 Ulrich Drepper <drepper@gmail.com>
76944
76945 [BZ #12052]
76946 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76947
76948 [BZ #12625]
76949 * misc/mntent_r.c (addmntent): Flush the stream after the output
76950
76951 [BZ #12393]
76952 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76953 (is_trusted_path_normalize): Skip initial colon. Append slash
76954 to empty buffer. Duplicate is_trusted_path code but allow
76955 constructed patch to be prefix.
76956 (is_dst): Allow $ORIGIN followed by /.
76957 (_dl_dst_substitute): Correct clearing of check_for_trusted.
76958 Correct testing of result of is_trusted_path_normalize
76959 (decompose_rpath): Fix warning.
76960
76961 2011-05-10 Ulrich Drepper <drepper@gmail.com>
76962
76963 [BZ #11257]
76964 * grp/initgroups.c (internal_getgrouplist): When we found the service
76965 list through the initgroups entry in nsswitch.conf do not always
76966 continue on a successful lookup. Don't always use the
76967 __nss_group_database value if it is set.
76968 * nss/nsswitch.conf (initgroups): Change action for successful db
76969 lookup to continue for compatibility.
76970
76971 2011-05-09 Ulrich Drepper <drepper@gmail.com>
76972
76973 [BZ #11532]
76974 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76975 and CP774 modules.
76976 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76977 and CP774 modules.
76978 * iconvdata/tst-tables.sh: Likewise.
76979 * iconvdata/cp770.c: New file.
76980 * iconvdata/cp771.c: New file.
76981 * iconvdata/cp772.c: New file.
76982 * iconvdata/cp773.c: New file.
76983 * iconvdata/cp774.c: New file.
76984 * iconvdata/testdata/CP770: New file.
76985 * iconvdata/testdata/CP770..UTF8: New file.
76986 * iconvdata/testdata/CP771: New file.
76987 * iconvdata/testdata/CP771..UTF8: New file.
76988 * iconvdata/testdata/CP772: New file.
76989 * iconvdata/testdata/CP772..UTF8: New file.
76990 * iconvdata/testdata/CP773: New file.
76991 * iconvdata/testdata/CP773..UTF8: New file.
76992 * iconvdata/testdata/CP774: New file.
76993 * iconvdata/testdata/CP774..UTF8: New file.
76994
76995 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76996 END CHARMAP line.
76997 * iconvdata/gen-8bit-gap.sh: Likewise.
76998 * iconvdata/gen-8bit.sh: Likewise.
76999
77000 * locale/iso-639.def: Add ary entry.
77001
77002 [BZ #11258]
77003 * locale/C-translit.h.in: Add U20A1 transliteration.
77004
77005 [BZ #12178]
77006 * locale/iso-639.def: Add wae entry.
77007 Patch by Kevin Bortis <bortis@translate-wae.ch>.
77008
77009 [BZ #12545]
77010 * locale/programs/localedef.c (construct_output_path): Use ssize_t
77011 for n.
77012
77013 [BZ #12711]
77014 * locale/C-translit.h.in: Add entry for U20B9.
77015 Patch by pravin.d.s@gmail.com.
77016
77017 2011-05-08 Ulrich Drepper <drepper@gmail.com>
77018
77019 [BZ #12713]
77020 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77021 ENAMETOOLONG use generic getcwd.
77022 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
77023 in rtld. Use *stat64.
77024 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77025 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77026 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77027 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77028 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77029 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77030 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77031 __fstatat64 macros.
77032 * include/dirent.h: Add libc_hidden_proto for rewinddir.
77033 * dirent/rewinddir.c: Add libc_hidden_def.
77034 * sysdeps/mach/hurd/rewinddir.c: Likewise.
77035 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
77036
77037 * include/dirent.h (__alloc_dir): Add flags parameter.
77038 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77039 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77040 __alloc_dir.
77041 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
77042 from fdopendir if O_CLOEXEC is already set.
77043
77044 2011-03-15 Alan Modra <amodra@gmail.com>
77045
77046 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77047 l_tls_firstbyte_offset non-zero. Save padding offset in
77048 l_tls_firstbyte_offset for later use.
77049 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77050 freeing static tls block.
77051
77052 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
77053
77054 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77055 where #ifdef was intended. The intent is to prevent ARG_MAX from
77056 being defined by the kernel headers.
77057
77058 2011-05-07 Ulrich Drepper <drepper@gmail.com>
77059
77060 [BZ #12734]
77061 * resolv/resolv.h: Define RES_NOTLDQUERY.
77062 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77063 no-tld-query and set RES_NOTLDQUERY.
77064 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77065 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77066 modern BIND to search name as TLD unless forbidden.
77067
77068 2011-05-07 Petr Baudis <pasky@suse.cz>
77069 Ulrich Drepper <drepper@gmail.com>
77070
77071 [BZ #12393]
77072 * elf/dl-load.c (fillin_rpath): Move trusted path check...
77073 (is_trusted_path): ...to here.
77074 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77075 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77076 using is_trusted_path_normalize() in setuid scripts.
77077
77078 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
77079
77080 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77081 __BEGIN/__END_DECLS.
77082
77083 2011-05-06 Ulrich Drepper <drepper@gmail.com>
77084
77085 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77086 NSS_STATUS_NOTFOUND if no record was found.
77087
77088 2011-05-05 Andreas Schwab <schwab@redhat.com>
77089
77090 * sunrpc/Makefile (headers): Add rpc/netdb.h.
77091 (headers-not-in-tirpc): Remove rpc/netdb.h
77092 * resolv/netdb.h: Revert last change.
77093
77094 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
77095
77096 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77097 circular dependency between libgcc.a and libc.a.
77098
77099 2011-05-05 Andreas Schwab <schwab@redhat.com>
77100
77101 * resolv/netdb.h: Don't include <rpc/netdb.h>.
77102 * nis/Makefile: Don't install rpcsvc/*.
77103 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77104 instead of <rpc/types.h>.
77105 (MAXHOSTNAMELEN): Define.
77106
77107 2011-05-03 Andreas Schwab <schwab@redhat.com>
77108
77109 * elf/ldconfig.c (add_dir): Don't crash on empty path.
77110
77111 2011-04-28 Maciej Babinski <mbabinski@google.com>
77112
77113 [BZ #12714]
77114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77115 gethostbyname4_r when IPv6 results are possible.
77116
77117 2011-05-02 Ulrich Drepper <drepper@gmail.com>
77118
77119 [BZ #12723]
77120 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77121 _PC_PIPE_BUF handling.
77122
77123 2011-04-30 Bruno Haible <bruno@clisp.org>
77124
77125 [BZ #12717]
77126 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77127 * resolv/netdb.h (getnameinfo): Change type of flags parameter
77128 to 'int'.
77129 * inet/getnameinfo.c (getnameinfo): Likewise.
77130
77131 2011-04-29 Ulrich Drepper <drepper@gmail.com>
77132
77133 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77134 to groups setting in database lookup.
77135 * nss/nsswitch.conf: Add initgroups entry.
77136
77137 2011-04-22 Ulrich Drepper <drepper@gmail.com>
77138
77139 [BZ #12685]
77140 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77141 mode string.
77142 Patch by Eric Blake <eblake@redhat.com>.
77143
77144 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
77145
77146 * sunrpc/Makefile (need-export-routines): Add svc_run.
77147 (routines): Remove svc_run.
77148 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77149 * sunrpc/clnt_perr.c (clnt_perrno): Export.
77150 * sunrpc/svc_run.c (svc_run): Likewise.
77151 * sunrpc/svc_udp.c (svcudp_create): Likewise.
77152
77153 2011-04-21 Ulrich Drepper <drepper@gmail.com>
77154
77155 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77156 problem in reallocation in last patch.
77157
77158 2011-04-20 Ulrich Drepper <drepper@gmail.com>
77159
77160 * sunrpc/Makefile: Move inclusion of Rules.
77161
77162 2011-04-19 Ulrich Drepper <drepper@gmail.com>
77163
77164 * nss/nss_files/files-initgroups.c: New file.
77165 * nss/Makefile (libnss_files-routines): Add files-initgroups.
77166 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77167 _nss_files_initgroups_dyn.
77168
77169 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
77170
77171 * elf/elf.h (R_ARM_IRELATIVE): Define.
77172
77173 2011-04-19 Ulrich Drepper <drepper@gmail.com>
77174
77175 * po/ru.po: Update from translation team.
77176
77177 2011-04-17 Ulrich Drepper <drepper@gmail.com>
77178
77179 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77180 dependencies.
77181
77182 2011-02-06 Mike Frysinger <vapier@gentoo.org>
77183
77184 [BZ #12653]
77185 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77186 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77187 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77188 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77189 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77190
77191 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
77192
77193 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77194 differing bytes.
77195 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77196 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77197 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77198
77199 2011-04-17 Ulrich Drepper <drepper@gmail.com>
77200
77201 [BZ #12420]
77202 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77203 storing it.
77204 * stdlib/bug-getcontext.c: New file.
77205 * stdlib/Makefile: Add rules to build and run bug-getcontext.
77206
77207 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77208
77209 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77210 instructions into .machine "z9-109".
77211 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77212 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77213
77214 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77215
77216 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77217 between environment variables and auxiliary vector.
77218
77219 2011-04-16 Ulrich Drepper <drepper@gmail.com>
77220
77221 * Makefile: Add rules to build linkobj/libc.so.
77222 * include/libc-symbols.h: Define libc_hidden_nolink.
77223 * include/rpc/auth.h: Mark functions which are to be hidden.
77224 * include/rpc/auth_des.h: Likewise.
77225 * include/rpc/auth_unix.h: Likewise.
77226 * include/rpc/clnt.h: Likewise.
77227 * include/rpc/des_crypt.h: Likewise.
77228 * include/rpc/key_prot.h: Likewise.
77229 * include/rpc/pmap_clnt.h: Likewise.
77230 * include/rpc/pmap_prot.h: Likewise.
77231 * include/rpc/pmap_rmt.h: Likewise.
77232 * include/rpc/rpc_msg.h: Likewise.
77233 * include/rpc/svc.h: Likewise.
77234 * include/rpc/svc_auth.h: Likewise.
77235 * include/rpc/xdr.h: Likewise.
77236 * nis/Makefile: Link all DSOs against linkobj/libc.so.
77237 * nss/Makefile: Likewise.
77238 * sunrpc/Makefile: Don't install headers. Build library with normal
77239 entry points. Don't build rpcinfo. Link RPC tests appropriately.
77240 * sunrpc/auth_des.c: Hide exported symbols by default, export some
77241 for the compat linking library. Remove use of INTDEF/INTUSE.
77242 * sunrpc/auth_none.c: Likewise.
77243 * sunrpc/auth_unix.c: Likewise.
77244 * sunrpc/authdes_prot.c: Likewise.
77245 * sunrpc/authuxprot.c: Likewise.
77246 * sunrpc/clnt_gen.c: Likewise.
77247 * sunrpc/clnt_perr.c: Likewise.
77248 * sunrpc/clnt_raw.c: Likewise.
77249 * sunrpc/clnt_simp.c: Likewise.
77250 * sunrpc/clnt_tcp.c: Likewise.
77251 * sunrpc/clnt_udp.c: Likewise.
77252 * sunrpc/clnt_unix.c: Likewise.
77253 * sunrpc/des_crypt.c: Likewise.
77254 * sunrpc/des_soft.c: Likewise.
77255 * sunrpc/get_myaddr.c: Likewise.
77256 * sunrpc/key_call.c: Likewise.
77257 * sunrpc/key_prot.c: Likewise.
77258 * sunrpc/netname.c: Likewise.
77259 * sunrpc/pm_getmaps.c: Likewise.
77260 * sunrpc/pm_getport.c: Likewise.
77261 * sunrpc/pmap_clnt.c: Likewise.
77262 * sunrpc/pmap_prot.c: Likewise.
77263 * sunrpc/pmap_prot2.c: Likewise.
77264 * sunrpc/pmap_rmt.c: Likewise.
77265 * sunrpc/publickey.c: Likewise.
77266 * sunrpc/rpc_cmsg.c: Likewise.
77267 * sunrpc/rpc_common.c: Likewise.
77268 * sunrpc/rpc_dtable.c: Likewise.
77269 * sunrpc/rpc_prot.c: Likewise.
77270 * sunrpc/rpc_thread.c: Likewise.
77271 * sunrpc/rtime.c: Likewise.
77272 * sunrpc/svc.c: Likewise.
77273 * sunrpc/svc_auth.c: Likewise.
77274 * sunrpc/svc_authux.c: Likewise.
77275 * sunrpc/svc_raw.c: Likewise.
77276 * sunrpc/svc_run.c: Likewise.
77277 * sunrpc/svc_simple.c: Likewise.
77278 * sunrpc/svc_tcp.c: Likewise.
77279 * sunrpc/svc_udp.c: Likewise.
77280 * sunrpc/svc_unix.c: Likewise.
77281 * sunrpc/svcauth_des.c: Likewise.
77282 * sunrpc/xcrypt.c: Likewise.
77283 * sunrpc/xdr.c: Likewise.
77284 * sunrpc/xdr_array.c: Likewise.
77285 * sunrpc/xdr_float.c: Likewise.
77286 * sunrpc/xdr_intXX_t.c: Likewise.
77287 * sunrpc/xdr_mem.c: Likewise.
77288 * sunrpc/xdr_rec.c: Likewise.
77289 * sunrpc/xdr_ref.c: Likewise.
77290 * sunrpc/xdr_sizeof.c: Likewise.
77291 * sunrpc/xdr_stdio.c: Likewise.
77292
77293 2011-04-10 Ulrich Drepper <drepper@gmail.com>
77294
77295 [BZ #12650]
77296 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77297 * sysdeps/ia64/dl-tls.h: Likewise.
77298 * sysdeps/powerpc/dl-tls.h: Likewise.
77299 * sysdeps/s390/dl-tls.h: Likewise.
77300 * sysdeps/sh/dl-tls.h: Likewise.
77301 * sysdeps/sparc/dl-tls.h: Likewise.
77302 * sysdeps/x86_64/dl-tls.h: Likewise.
77303 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77304
77305 2011-03-14 Andreas Schwab <schwab@redhat.com>
77306
77307 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77308 rpath element also skip the following colon.
77309 (expand_dynamic_string_token): Add is_path parameter and pass
77310 down to DL_DST_REQUIRED and _dl_dst_substitute.
77311 (decompose_rpath): Call expand_dynamic_string_token with
77312 non-zero is_path. Ignore empty rpaths.
77313 (_dl_map_object_from_fd): Call expand_dynamic_string_token
77314 with zero is_path.
77315
77316 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
77317
77318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77319 Make cancelable.
77320
77321 2011-04-09 Ulrich Drepper <drepper@gmail.com>
77322
77323 [BZ #12655]
77324 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77325 Patch by Filipe David Manana <fdmanana@apache.org>.
77326
77327 2011-04-07 Andreas Schwab <schwab@redhat.com>
77328
77329 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77330 Maintain aligned stack.
77331 (CHECK_RSP): Remove unused macro.
77332
77333 2011-04-03 Ulrich Drepper <drepper@gmail.com>
77334
77335 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77336 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77337
77338 2011-04-02 Ulrich Drepper <drepper@gmail.com>
77339
77340 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77341
77342 * include/features.h: Mention __USE_XOPEN2K8 in comment.
77343
77344 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
77345
77346 [BZ #12518]
77347 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77348 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77349 * sysdeps/x86_64/memmove.c: New file.
77350 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77351 (memcpy): Renamed to ...
77352 (__new_memcpy): This.
77353 (memcpy): Provide GLIBC_2_14 memcpy.
77354 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77355 (memcpy): Provide GLIBC_2_2_5 memcpy.
77356
77357 2011-04-01 Ulrich Drepper <drepper@gmail.com>
77358
77359 [BZ #12631]
77360 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77361
77362 2011-03-30 Andreas Schwab <schwab@redhat.com>
77363
77364 * misc/syncfs.c: New file.
77365 * misc/Makefile (routines): Add syncfs.
77366 * posix/unistd.h: Declare syncfs.
77367 * sysdeps/unix/syscalls.list: Add syncfs.
77368
77369 2011-04-01 Andreas Schwab <schwab@redhat.com>
77370
77371 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77372 open_by_handle_at.
77373 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77374 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77375 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77376 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77377 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77378 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77379 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77380
77381 2011-04-01 Ulrich Drepper <drepper@gmail.com>
77382
77383 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77384 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77385 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77387 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77388 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77389 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77390
77391 * io/Makefile: Compile fallocate.c, fallocate64.c, and
77392 sync_file_range.c with -fexceptions.
77393 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77394 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77395 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77396 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77397 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77398 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77400 sync_file_range as cancellation point
77401 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
77402 now a wrapper around __call_sync_file_range with cancellation handling.
77403 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77404 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
77405 function name to __call_sync_file_range.
77406 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77407 Add call_sync_file_range.
77408
77409 2011-04-01 Andreas Schwab <schwab@redhat.com>
77410
77411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77412 bits/timex.h.
77413
77414 2011-04-01 Ulrich Drepper <drepper@gmail.com>
77415
77416 * iconv/iconv.h: Fix typo in comment.
77417 * io/fcntl.h: Likewise.
77418 * libio/stdio.h: Likewise.
77419 * posix/spawn.h: Likewise.
77420 * posix/unistd.h: Likewise.
77421 * stdlib/stdlib.h: Likewise.
77422 * time/time.h: Likewise.
77423 * wcsmbs/wchar.h: Likewise.
77424
77425 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77426 open_by_handle): Add.
77427 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77428 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
77429 Augment a few comments.
77430 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77431 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77432 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77435 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77436 open_by_handle.
77437
77438 * io/fcntl.h (AT_EMPTY_PATH): Define.
77439
77440 2011-03-30 Ulrich Drepper <drepper@gmail.com>
77441
77442 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77443 * sysdeps/unix/sysv/linux/bits/time.h: New file.
77444 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77445 to...
77446 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
77447 * Versions.def: Add GLIBC_2.14.
77448 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77449 Export.
77450
77451 2011-03-22 Ulrich Drepper <drepper@gmail.com>
77452
77453 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77454 round counter.
77455 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77456
77457 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
77458
77459 [BZ #12597]
77460 * string/test-strncmp.c (do_page_test): New function.
77461 (check2): Likewise.
77462 (test_main): Call check2.
77463 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77464
77465 2011-03-20 Ulrich Drepper <drepper@gmail.com>
77466
77467 [BZ #12587]
77468 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77469 Handle cache information in CPU leaf 4.
77470 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77471
77472 2011-03-18 Ulrich Drepper <drepper@gmail.com>
77473
77474 [BZ #12583]
77475 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77476 character representation.
77477 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77478
77479 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
77480
77481 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77482 END(__isnan) to END(__isnanf) to match function entry point/label
77483 EALIGN(__isnanf,...).
77484
77485 2011-03-10 Jakub Jelinek <jakub@redhat.com>
77486
77487 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77488
77489 2011-03-10 Ulrich Drepper <drepper@gmail.com>
77490
77491 [BZ #12510]
77492 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77493 copy from the symbol referenced in the relocation to initialize the
77494 used variable.
77495 Patch by Piotr Bury <pbury@goahead.com>.
77496 * elf/Makefile: Add rules to build and tst-unique3.
77497 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77498 * elf/tst-unique3.cc: New file.
77499 * elf/tst-unique3.h: New file.
77500 * elf/tst-unique3lib.cc: New file.
77501 * elf/tst-unique3lib2.cc: New file.
77502
77503 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77504
77505 2011-03-10 Mike Frysinger <vapier@gentoo.org>
77506
77507 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77508 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
77509 to _start.
77510
77511 2011-03-06 Ulrich Drepper <drepper@gmail.com>
77512
77513 * elf/dl-load.c (_dl_map_object): If we are looking for the first
77514 to-be-loaded object along a path to loader is ld.so.
77515
77516 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
77517 Ulrich Drepper <drepper@gmail.com>
77518
77519 * sysdeps/x86_64/memset.S: After aligning destination, code
77520 branches to different locations depending on the value of
77521 misalignment, when multiarch is enabled. Fix this.
77522
77523 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
77524
77525 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77526 Set _x86_64_preferred_memory_instruction for AMD processsors.
77527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77528 Set bit_Prefer_SSE_for_memop for AMD processors.
77529
77530 2011-03-04 Ulrich Drepper <drepper@gmail.com>
77531
77532 * libio/fmemopen.c (fmemopen): Optimize a bit.
77533
77534 2011-03-03 Andreas Schwab <schwab@redhat.com>
77535
77536 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77537
77538 2011-03-03 Roland McGrath <roland@redhat.com>
77539
77540 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77541
77542 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
77543
77544 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77545 __bzero_ultra1 instead of __memset_ultra1.
77546
77547 2011-02-23 Andreas Schwab <schwab@redhat.com>
77548 Ulrich Drepper <drepper@gmail.com>
77549
77550 [BZ #12509]
77551 * include/link.h (struct link_map): Add l_orig_initfini.
77552 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77553 returning unsuccessfully.
77554 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77555 close of a file loaded at startup, restore the original l_initfini
77556 list.
77557 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77558 list, store the pointer.
77559 * elf/Makefile ($(objpfx)noload-mem): New rule.
77560 (noload-ENV): Define.
77561 (tests): Add $(objpfx)noload-mem.
77562 * elf/noload.c: Include <memcheck.h>.
77563 (main): Call mtrace. Close all opened handles.
77564
77565 2011-02-17 Andreas Schwab <schwab@redhat.com>
77566
77567 [BZ #12454]
77568 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77569 dependencies are missing.
77570
77571 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
77572
77573 Fix __if_freereq crash: Unlike the generic version which uses free,
77574 Hurd needs munmap.
77575 * sysdeps/mach/hurd/ifreq.h: New file.
77576
77577 2011-01-27 Petr Baudis <pasky@suse.cz>
77578 Ulrich Drepper <drepper@gmail.com>
77579
77580 [BZ 12445]#
77581 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77582 to extend_alloca().
77583 * stdio-common/bug23.c: New file.
77584 * stdio-common/Makefile (tests): Add bug23.
77585
77586 2010-09-28 Andreas Schwab <schwab@redhat.com>
77587 Ulrich Drepper <drepper@gmail.com>
77588
77589 [BZ #12489]
77590 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77591 before performing relro protection. At old place add assertion
77592 to make sure nothing changed.
77593
77594 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
77595 Glauber de Oliveira Costa <glommer@gmail.com>
77596
77597 * elf/elf.h: Add new ARM TLS relocs.
77598
77599 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
77600
77601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77602 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77603 cast from r3.
77604 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
77605 'tests' variable.
77606 * sysdeps/wordsize-64/tst-writev.c: New file.
77607
77608 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
77609
77610 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77611 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77612 insns in _dl_start to prevent a TOC reference before relocs are
77613 resolved.
77614
77615 2011-02-15 Ulrich Drepper <drepper@gmail.com>
77616
77617 [BZ #12469]
77618 * Makeconfig: Remove RANLIB definition.
77619 * Makerules: Don't use RANLIB.
77620 * aclocal.m4: Remove ranlib test.
77621 * configure.in: No need to check for ranlib.
77622 * elf/rtld-Rules: Don't use RANLIB.
77623
77624 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
77625
77626 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77627 protection macro.
77628 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77629 inclusion protection macro.
77630
77631 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77632 SIGRTMIN and SIGRTMAX and print information in that case only when
77633 SIGRTMIN is defined.
77634
77635 2011-02-11 Jakub Jelinek <jakub@redhat.com>
77636
77637 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77638 arginfo fn returning -1.
77639
77640 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77641 and thousands string is zero terminated.
77642
77643 2011-02-03 Andreas Schwab <schwab@redhat.com>
77644
77645 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77646 sysdeps/unix/sysv/linux/bits/socket.h.
77647
77648 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
77649
77650 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77651 (__CPU_COUNT): Remove old macros.
77652 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77653 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77654 (__CPU_ALLOC, __CPU_FREE): Add macros.
77655 (__sched_cpualloc, __sched_cpufree): Add declarations.
77656
77657 2011-02-05 Ulrich Drepper <drepper@gmail.com>
77658
77659 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77660 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77661 * nscd/aicache.c (addhstaiX): Return timeout of added value.
77662 (readdhstai): Return value of addhstaiX call.
77663 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77664 (addgrbyX): Return value returned by cache_addgr.
77665 (readdgrbyname): Return value returned by addgrbyX.
77666 (readdgrbygid): Likewise.
77667 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77668 (addpwbyX): Return value returned by cache_addpw.
77669 (readdpwbyname): Return value returned by addhstbyX.
77670 (readdpwbyuid): Likewise.
77671 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77672 (addservbyX): Return value returned by cache_addserv.
77673 (readdservbyname): Return value returned by addservbyX:
77674 (readdservbyport): Likewise.
77675 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77676 (addhstbyX): Return value returned by cache_addhst.
77677 (readdhstbyname): Return value returned by addhstbyX.
77678 (readdhstbyaddr): Likewise.
77679 (readdhstbynamev6): Likewise.
77680 (readdhstbyaddrv6): Likewise.
77681 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77682 (readdinitgroups): Return value returned by addinitgroupsX.
77683 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77684 (prune_cache): Keep track of timeout value of re-added entries.
77685 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77686 * nscd/nscd.h: Adjust prototypes of readd* functions.
77687
77688 2011-02-04 Roland McGrath <roland@redhat.com>
77689
77690 * nis/nis_server.c (nis_servstate): Use the right name for 0.
77691 (nis_stats): Likewise.
77692 * nis/nis_modify.c (nis_modify): Likewise.
77693 * nis/nis_remove.c (nis_remove): Likewise.
77694 * nis/nis_add.c (nis_add): Likewise.
77695
77696 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77697
77698 * posix/fnmatch_loop.c: Add some consts.
77699
77700 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77701
77702 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
77703
77704 [BZ #12460]
77705 * config.make.in (config-cflags-novzeroupper): Define.
77706 * configure.in: Substitute libc_cv_cc_novzeroupper.
77707 * elf/Makefile (AVX-CFLAGS): Define.
77708 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77709 (CFLAGS-tst-auditmod4a.c): Likewise.
77710 (CFLAGS-tst-auditmod4b.c): Likewise.
77711 (CFLAGS-tst-auditmod6b.c): Likewise.
77712 (CFLAGS-tst-auditmod6c.c): Likewise.
77713 (CFLAGS-tst-auditmod7b.c): Likewise.
77714 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77715
77716 2011-02-02 Ulrich Drepper <drepper@gmail.com>
77717
77718 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77719 function to the callback.
77720 Patch partly by Jiri Olsa <jolsa@redhat.com>.
77721
77722 2011-02-02 Andreas Schwab <schwab@redhat.com>
77723
77724 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77725 of errno.
77726
77727 2011-01-19 Ulrich Drepper <drepper@gmail.com>
77728
77729 [BZ #11724]
77730 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77731 of constructors.
77732 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77733 of destructors.
77734 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77735
77736 [BZ #11724]
77737 * elf/Makefile: Add rules to build and run new test.
77738 * elf/tst-initorder.c: New file.
77739 * elf/tst-initorder.exp: New file.
77740 * elf/tst-initordera1.c: New file.
77741 * elf/tst-initordera2.c: New file.
77742 * elf/tst-initordera3.c: New file.
77743 * elf/tst-initordera4.c: New file.
77744 * elf/tst-initorderb1.c: New file.
77745 * elf/tst-initorderb2.c: New file.
77746 * elf/tst-order-a1.c: New file.
77747 * elf/tst-order-a2.c: New file.
77748 * elf/tst-order-a3.c: New file.
77749 * elf/tst-order-a4.c: New file.
77750 * elf/tst-order-b1.c: New file.
77751 * elf/tst-order-b2.c: New file.
77752 * elf/tst-order-main.c: New file.
77753 New test case by George Gensure <werkt0@gmail.com>.
77754
77755 2010-10-01 Andreas Schwab <schwab@redhat.com>
77756
77757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77758 decoding ACE if AI_CANONIDN.
77759
77760 2011-01-18 Ulrich Drepper <drepper@gmail.com>
77761
77762 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77763
77764 2011-01-17 Ulrich Drepper <drepper@gmail.com>
77765
77766 * version.h (RELEASE): Bump for 2.13 release.
77767 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77768
77769 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77770
77771 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77772 MADV_NOHUGEPAGE.
77773 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77774 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77775 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77776 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77777 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77778 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77779
77780 * posix/getconf.c: Update copyright year.
77781 * catgets/gencat.c: Likewise.
77782 * csu/version.c: Likewise.
77783 * debug/catchsegv.sh: Likewise.
77784 * debug/xtrace.sh: Likewise.
77785 * elf/ldconfig.c: Likewise.
77786 * elf/ldd.bash.in: Likewise.
77787 * elf/sprof.c (print_version): Likewise.
77788 * iconv/iconv_prog.c: Likewise.
77789 * iconv/iconvconfig.c: Likewise.
77790 * locale/programs/locale.c: Likewise.
77791 * locale/programs/localedef.c: Likewise.
77792 * malloc/memusage.sh: Likewise.
77793 * malloc/mtrace.pl: Likewise.
77794 * nscd/nscd.c (print_version): Likewise.
77795 * nss/getent.c: Likewise.
77796
77797 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
77798 PF_CAIF, and PF_ALG.
77799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77800
77801 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
77802
77803 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
77804 (modules-names): Use them.
77805 (ifunc-test-modules, ifunc-pie-tests): Define.
77806 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
77807 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
77808 (test-extras): Likewise.
77809 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
77810 $(compile-command.c).
77811 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
77812 (all-built-dso): Define.
77813 (check-textrel.out, check-execstack.out): Depend on it.
77814
77815 * configure.in: Don't override --enable-multi-arch.
77816
77817 2011-01-15 Ulrich Drepper <drepper@gmail.com>
77818
77819 [BZ #6812]
77820 * nscd/hstcache.c (tryagain): Define.
77821 (cache_addhst): Return tryagain not notfound for temporary errors.
77822 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
77823 failed.
77824
77825 2011-01-14 Ulrich Drepper <drepper@gmail.com>
77826
77827 [BZ #10563]
77828 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
77829 to make the syscall.
77830 * sysdeps/unix/sysv/linux/setgroups.c: New file.
77831
77832 [BZ #12378]
77833 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
77834 and fall back to matching as normal character if the string ends before
77835 the matching ']' is found. This is what POSIX requires.
77836 * posix/testfnm.c: Adjust test result.
77837 * posix/globtest.sh: Adjust test result. Add new test.
77838 * posix/tst-fnmatch.input: Likewise.
77839 * posix/tst-fnmatch2.c: Add new test.
77840
77841 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
77842
77843 * elf/Makefile (check-execstack): Revert last change. Depend on
77844 check-execstack.h.
77845 (check-execstack.h): New target.
77846 (generated): Add check-execstack.h.
77847 * elf/check-execstack.c: Include "check-execstack.h".
77848 (main): Revert last change.
77849 (handle_file): Return zero if GNU_STACK is absent and
77850 DEFAULT_STACK_PERMS doesn't include PF_X.
77851
77852 2011-01-13 Ulrich Drepper <drepper@gmail.com>
77853
77854 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77855 in child fails because the descriptor is already closed.
77856 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77857 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77858 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77859
77860 [BZ #12397]
77861 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77862 syscall.
77863
77864 [BZ #10484]
77865 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77866 temporary buffer used to handle multi lookups locally.
77867 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77868
77869 2011-01-12 Ulrich Drepper <drepper@gmail.com>
77870
77871 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77872 loader is ld.so.
77873
77874 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
77875
77876 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77877 alignment for SSE2.
77878
77879 2011-01-12 Ulrich Drepper <drepper@gmail.com>
77880
77881 [BZ #12394]
77882 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77883 characters. When rounding increased number of integer digits recompute
77884 number of groups.
77885 * stdio-common/tst-grouping.c: New file.
77886 * stdio-common/Makefile: Add rules to build and run tst-grouping.
77887
77888 2011-01-09 Ulrich Drepper <drepper@gmail.com>
77889
77890 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77891 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
77892
77893 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77894 void.
77895 * bits/select.h: Likewise.
77896
77897 2011-01-08 Ulrich Drepper <drepper@gmail.com>
77898
77899 * po/ja.po: Update from translation team.
77900
77901 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
77902
77903 [BZ #11155]
77904 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77905 implementation just like for lxstat, fxstatat, et al.
77906
77907 2010-12-27 Jim Meyering <meyering@redhat.com>
77908
77909 [BZ #12348]
77910 * posix/regexec.c (build_trtable): Return failure indication upon
77911 calloc failure. Otherwise, re_search_internal could infloop on OOM.
77912
77913 2010-12-25 Ulrich Drepper <drepper@gmail.com>
77914
77915 [BZ #12201]
77916 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77917 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77918 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77919 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77920
77921 [BZ #12207]
77922 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77923
77924 [BZ #12204]
77925 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77926 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77927
77928 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
77929
77930 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77931 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77932 script has SORT_BY_INIT_PRIORITY.
77933 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77934 NO_CTORS_DTORS_SECTIONS is defined.
77935 * elf/soinit.c: Likewise.
77936 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77937 NO_CTORS_DTORS_SECTIONS is defined.
77938 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77939 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77940 * sysdeps/sh/init-first.c: Likewise.
77941 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77942
77943 2010-12-24 Ulrich Drepper <drepper@gmail.com>
77944
77945 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77946 always use the slow path.
77947
77948 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
77949
77950 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77951 similar rule which adds the sysdep directories to the header search in
77952 order to pick up the correct platform stackinfo.h.
77953 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77954 perform test if it is, otherwise return successfully without testing.
77955 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77956 DEFAULT_STACK_PERMS define in stackinfo.h.
77957 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77958 defined in stackinfo.h.
77959 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77960 DEFAULT_STACK_PERMS defined in stackinfo.h.
77961 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77962 * sysdeps/ia64/stackinfo.h: Likewise.
77963 * sysdeps/s390/stackinfo.h: Likewise.
77964 * sysdeps/sh/stackinfo.h: Likewise.
77965 * sysdeps/sparc/stackinfo.h: Likewise.
77966 * sysdeps/x86_64/stackinfo.h: Likewise.
77967 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77968 PF_X for powerpc64. Retain PF_X for powerpc32.
77969
77970 2010-12-19 Ulrich Drepper <drepper@gmail.com>
77971
77972 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77973 accurately.
77974 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77975 GETDENTS_64BIT_ALIGNED.
77976
77977 2010-12-14 Ulrich Drepper <dreper@gmail.com>
77978
77979 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77980
77981 2010-12-10 Andreas Schwab <schwab@redhat.com>
77982
77983 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77984 _GNU_SOURCE.
77985
77986 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77987 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77988 Remove __restrict.
77989 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77990 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77991
77992 2010-12-09 Ulrich Drepper <drepper@gmail.com>
77993
77994 [BZ #11655]
77995 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77996 are initialized.
77997
77998 2010-12-09 Jakub Jelinek <jakub@redhat.com>
77999
78000 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78001
78002 2010-12-03 Ulrich Drepper <drepper@gmail.com>
78003
78004 * po/it.po: Update from translation team.
78005
78006 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
78007
78008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78009 unused codes.
78010
78011 2010-11-30 Ulrich Drepper <drepper@gmail.com>
78012
78013 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78014
78015 2010-11-24 Andreas Schwab <schwab@redhat.com>
78016
78017 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78018 specially.
78019 (gaih_getanswer_slice): Likewise.
78020
78021 2010-10-20 Jakub Jelinek <jakub@redhat.com>
78022
78023 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78024
78025 2010-05-31 Petr Baudis <pasky@suse.cz>
78026
78027 [BZ #11149]
78028 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78029 silently even in the chroot mode.
78030
78031 2010-11-22 Ulrich Drepper <drepper@gmail.com>
78032
78033 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78034 last patch a bit. Pretty printing
78035
78036 2010-05-31 Petr Baudis <pasky@suse.cz>
78037
78038 [BZ #10085]
78039 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78040 initialization of skip_initgroups_dyn.
78041
78042 2010-11-19 Ulrich Drepper <drepper@gmail.com>
78043
78044 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78045 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78046
78047 2010-11-16 Ulrich Drepper <drepper@gmail.com>
78048
78049 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78050
78051 2010-11-11 Andreas Schwab <schwab@redhat.com>
78052
78053 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78054 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78055 (tst-fnmatch-ENV): Set MALLOC_TRACE.
78056 ($(objpfx)tst-fnmatch-mem): New rule.
78057 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78058 * posix/tst-fnmatch.c (main): Call mtrace.
78059
78060 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
78061
78062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78063 Support Intel processor model 6 and model 0x2c.
78064
78065 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
78066
78067 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78068 signed comparison.
78069
78070 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
78071
78072 [BZ #12205]
78073 * string/test-strncasecmp.c (check_result): New function.
78074 (do_one_test): Use it.
78075 (check1): New function.
78076 (test_main): Use it.
78077 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78078 Support strcasecmp and strncasecmp.
78079
78080 2010-11-08 Ulrich Drepper <drepper@gmail.com>
78081
78082 [BZ #12194]
78083 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78084 * sysdeps/x86_64/bits/byteswap.h: Likewise.
78085
78086 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
78087
78088 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78089 IFUNC support.
78090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78091 memset-x86-64.
78092 * sysdeps/x86_64/multiarch/bzero.S: New file.
78093 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78094 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78095 * sysdeps/x86_64/multiarch/memset.S: New file.
78096 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78098 Set bit_Prefer_SSE_for_memop for Intel processors.
78099 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78100 Define.
78101 (index_Prefer_SSE_for_memop): Define.
78102 (HAS_PREFER_SSE_FOR_MEMOP): Define.
78103
78104 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
78105
78106 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78107 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78108
78109 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
78110
78111 [BZ #12191]
78112 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78113 (__x86_64_raw_data_cache_size_half): Likewise.
78114 (__x86_64_raw_shared_cache_size): Likewise.
78115 (__x86_64_raw_shared_cache_size_half): Likewise.
78116
78117 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78118 (__x86_64_raw_data_cache_size_half): Likewise.
78119 (__x86_64_raw_shared_cache_size): Likewise.
78120 (__x86_64_raw_shared_cache_size_half): Likewise.
78121 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78122 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78123 and __x86_64_raw_shared_cache_size_half. Round
78124 __x86_64_data_cache_size_half, __x86_64_data_cache_size
78125 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78126 to multiple of 256 bytes.
78127
78128 2010-11-03 Ulrich Drepper <drepper@gmail.com>
78129
78130 [BZ #12167]
78131 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78132 of inacessible symlinks. Verify result of symlink before returning it.
78133 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78134 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78135
78136 2010-10-28 Erich Ritz <erichritz@gmail.com>
78137
78138 * math/math.h (isinf): Fix typo in comment.
78139
78140 2010-11-01 Ulrich Drepper <drepper@gmail.com>
78141
78142 * po/da.po: Update from translation team.
78143
78144 2010-10-26 Ulrich Drepper <drepper@gmail.com>
78145
78146 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78147 is added to the list.
78148
78149 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78150 Ulrich Drepper <drepper@gmail.com>
78151
78152 * elf/dl-object.c (_dl_new_object): Don't append the new object to
78153 the global list here. Move code to...
78154 (_dl_add_to_namespace_list): ...here. New function.
78155 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78156 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78157 * elf/dl-load.c (lose): Don't remove the element from the list.
78158 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78159 (_dl_map_object): Likewise.
78160
78161 2010-10-25 Ulrich Drepper <drepper@gmail.com>
78162
78163 [BZ #12159]
78164 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78165 into all bytes of SSE register.
78166 Patch by Richard Li <richardpku@gmail.com>.
78167
78168 2010-10-24 Ulrich Drepper <drepper@gmail.com>
78169
78170 [BZ #12140]
78171 * malloc/malloc.c (_int_free): Fill correct number of bytes when
78172 perturbing.
78173
78174 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
78175
78176 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78177 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78178 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78179 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78181 submachine.
78182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78183
78184 2010-10-22 Andreas Schwab <schwab@redhat.com>
78185
78186 * include/dlfcn.h (__RTLD_SECURE): Define.
78187 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
78188 mode & __RTLD_SECURE instead.
78189 (open_path): Rename preloaded parameter to secure.
78190 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78191 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78192 * elf/dl-deps.c (openaux): Likewise.
78193 * elf/rtld.c (struct map_args): Remove is_preloaded.
78194 (map_doit): Don't use it.
78195 (dl_main): Likewise.
78196 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78197 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78198
78199 2010-09-09 Andreas Schwab <schwab@redhat.com>
78200
78201 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78202 (sysd-rules-targets): Remove duplicates.
78203 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78204 rtld-%.$o dependency.
78205
78206 2010-10-18 Andreas Schwab <schwab@redhat.com>
78207
78208 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78209 _dl_map_object do it.
78210
78211 2010-10-19 Ulrich Drepper <drepper@gmail.com>
78212
78213 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78214 fast fma builtins, define the macros in the C99 standard.
78215 (FP_FAST_FMAF): Likewise.
78216 (FP_FAST_FMAL): Likewise.
78217 * sysdeps/x86_64/bits/mathdef.h: Likewise.
78218
78219 * bits/mathdef.h: Update copyright year.
78220 * sysdeps/powerpc/bits/mathdef.h: Likewise.
78221
78222 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
78223
78224 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78225 builtins, define the macros in the C99 standard.
78226 (FP_FAST_FMAF): Likewise.
78227 (FP_FAST_FMAL): Likewise.
78228 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78229 multiply/add.
78230 (FP_FAST_FMAF): Likewise.
78231
78232 2010-10-15 Jakub Jelinek <jakub@redhat.com>
78233
78234 [BZ #3268]
78235 * math/libm-test.inc (fma_test): Some new testcases.
78236 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78237 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78238 y and infinite z. Do multiplication by C already in long double.
78239 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78240 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78241 y and infinite z. Do bitwise or of inexact bit into u.d.
78242 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78243 * sysdeps/i386/fpu/s_fmaf.S: Removed.
78244 * sysdeps/i386/fpu/s_fma.S: Removed.
78245 * sysdeps/i386/fpu/s_fmal.S: Removed.
78246
78247 2010-10-16 Jakub Jelinek <jakub@redhat.com>
78248
78249 [BZ #3268]
78250 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78251 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78252 computation is not scheduled after fetestexcept. Fix value
78253 of minimum denormal long double.
78254
78255 2010-10-14 Jakub Jelinek <jakub@redhat.com>
78256
78257 [BZ #3268]
78258 * math/libm-test.inc (fma_test): Add some more tests.
78259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78260 correctly.
78261
78262 2010-10-15 Andreas Schwab <schwab@redhat.com>
78263
78264 * scripts/data/localplt-s390-linux-gnu.data: New file.
78265 * scripts/data/localplt-s390x-linux-gnu.data: New file.
78266
78267 2010-10-13 Jakub Jelinek <jakub@redhat.com>
78268
78269 [BZ #3268]
78270 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78271 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78272 instead of dbl-64.
78273 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78274 inlines.
78275 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78277 if one of x and y is very large and the other is subnormal.
78278 * sysdeps/s390/fpu/s_fmaf.c: New file.
78279 * sysdeps/s390/fpu/s_fma.c: New file.
78280 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78281 * sysdeps/powerpc/fpu/s_fma.S: New file.
78282 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78283 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78284 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78285
78286 2010-10-12 Jakub Jelinek <jakub@redhat.com>
78287
78288 [BZ #3268]
78289 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78290 fma tests.
78291 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78292 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78293 * sysdeps/i386/i686/multiarch/s_fma.c: Include
78294 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78295 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78296 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78297 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78298
78299 2010-10-12 Ulrich Drepper <drepper@redhat.com>
78300
78301 [BZ #12078]
78302 * posix/regcomp.c (parse_branch): One more memory leak plugged.
78303 * posix/bug-regex31.input: Add test case.
78304
78305 2010-10-11 Ulrich Drepper <drepper@gmail.com>
78306
78307 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78308 * posix/bug-regex31.input: New file.
78309
78310 [BZ #12078]
78311 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78312 (parse_sub_exp): Fix last change, use postorder.
78313
78314 * posix/bug-regex31.c: New file.
78315 * posix/Makefile: Add rules to build and run bug-regex31.
78316
78317 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78318
78319 [BZ #12078]
78320 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78321
78322 [BZ #12108]
78323 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78324 to have entries in sys_siglist.
78325
78326 [BZ #12093]
78327 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78328 be NULL.
78329
78330 2010-10-07 Jakub Jelinek <jakub@redhat.com>
78331
78332 [BZ #3268]
78333 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78334 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78335 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78336 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78337 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78338 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78339 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78340 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78341 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78342 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78343 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78344 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78345 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78346 * math/ftestexcept.c (fetestexcept): Likewise.
78347 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78348 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78349 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78350 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78351 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78352 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78353 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78354
78355 2010-10-11 Ulrich Drepper <drepper@gmail.com>
78356
78357 [BZ #12107]
78358 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78359 newline.
78360
78361 2010-10-06 Ulrich Drepper <drepper@gmail.com>
78362
78363 * string/bug-strstr1.c: New file.
78364 * string/Makefile: Add rules to build and run bug-strstr1.
78365
78366 2010-10-05 Eric Blake <eblake@redhat.com>
78367
78368 [BZ #12092]
78369 * string/str-two-way.h (two_way_long_needle): Always clear memory
78370 when skipping input due to the shift table.
78371
78372 2010-10-03 Ulrich Drepper <drepper@gmail.com>
78373
78374 [BZ #12005]
78375 * malloc/mcheck.c: Handle large requests.
78376
78377 [BZ #12077]
78378 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78379 for strncmp and strncasecmp.
78380 * string/stratcliff.c: Add tests for strcmp and strncmp.
78381 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78382
78383 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
78384
78385 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78386 __set_fpscr.
78387
78388 2010-09-30 Andreas Jaeger <aj@suse.de>
78389
78390 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78391 (CGROUP_SUPER_MAGIC): Define.
78392 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78393 Handle btrfs and cgroup file systems.
78394 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78395 Likewise.
78396
78397 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
78398
78399 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78400 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78401
78402 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78403
78404 [BZ #12067]
78405 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78406 trying to locate the ELF header.
78407
78408 2010-09-27 Andreas Schwab <schwab@redhat.com>
78409
78410 [BZ #11611]
78411 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78412 Mask out sign-bit copies when constructing f_fsid.
78413
78414 2010-09-24 Petr Baudis <pasky@suse.cz>
78415
78416 * debug/stack_chk_fail_local.c: Add missing licence exception.
78417 * debug/warning-nop.c: Likewise.
78418
78419 2010-09-15 Joseph Myers <joseph@codesourcery.com>
78420
78421 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78422 implementing getdents64 using getdents syscall, set d_type if
78423 __ASSUME_GETDENTS32_D_TYPE.
78424
78425 2010-09-16 Andreas Schwab <schwab@redhat.com>
78426
78427 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78428 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78429
78430 2010-09-21 Ulrich Drepper <drepper@redhat.com>
78431
78432 [BZ #12037]
78433 * posix/unistd.h: Undo change of feature selection for ftruncate from
78434 2010-01-11.
78435
78436 2010-09-20 Ulrich Drepper <drepper@redhat.com>
78437
78438 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78439 detection.
78440
78441 2010-09-20 Andreas Schwab <schwab@redhat.com>
78442
78443 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78444 fanotify_mark.
78445 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78446
78447 2010-09-14 Andreas Schwab <schwab@redhat.com>
78448
78449 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78450 variables after CHECK_SP call.
78451 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78452
78453 2010-09-13 Andreas Schwab <schwab@redhat.com>
78454 Ulrich Drepper <drepper@redhat.com>
78455
78456 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78457 re-relocationg ld.so.
78458 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78459 _dl_init_paths call.
78460 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
78461 here anymore.
78462
78463 2010-09-14 Ulrich Drepper <drepper@redhat.com>
78464
78465 * resolv/res_init.c (__res_vinit): Count the default server we added.
78466
78467 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
78468 Ulrich Drepper <drepper@redhat.com>
78469
78470 [BZ #11968]
78471 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78472 (____longjmp_chk): Use %ebx for saving value across system call.
78473 Add unwind info.
78474
78475 2010-09-06 Andreas Schwab <schwab@redhat.com>
78476
78477 * manual/Makefile: Don't mix pattern rules with normal rules.
78478
78479 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
78480
78481 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78482 operation.
78483 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78484 * libio/iofopncook.c (_IO_cookie_init): Likewise.
78485 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78486 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78487 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78488 Likewise.
78489
78490 2010-09-04 Ulrich Drepper <drepper@redhat.com>
78491
78492 [BZ #11979]
78493 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78494 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78495
78496 2010-09-02 Ulrich Drepper <drepper@redhat.com>
78497
78498 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78499 * sysdeps/x86_64/addmul_1.S: Likewise.
78500 * sysdeps/x86_64/lshift.S: Likewise.
78501 * sysdeps/x86_64/mul_1.S: Likewise.
78502 * sysdeps/x86_64/rshift.S: Likewise.
78503 * sysdeps/x86_64/sub_n.S: Likewise.
78504 * sysdeps/x86_64/submul_1.S: Likewise.
78505
78506 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
78507
78508 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78509 Define __sched_param instead of SCHED_* and sched_param when
78510 <bits/sched.h> is included with __need_schedparam defined.
78511 * bits/sched.h [__need_schedparam]
78512 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78513 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78514 (__defined_schedparam): Define to 1.
78515 (__sched_param): New structure, identical to sched_param.
78516 (__need_schedparam): Undefine.
78517
78518 2010-08-31 Mike Frysinger <vapier@gentoo.org>
78519
78520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78521 (epoll_create1): Declare.
78522
78523 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78524
78525 2010-08-31 Andreas Schwab <schwab@redhat.com>
78526
78527 [BZ #7066]
78528 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78529 shifting retval into place.
78530
78531 2010-09-01 Ulrich Drepper <drepper@redhat.com>
78532
78533 * nis/rpcsvc/nis.h: Update copyright notice.
78534 * nis/rpcsvc/nis.x: Likewise.
78535 * nis/rpcsvc/nis_callback.h: Likewise.
78536 * nis/rpcsvc/nis_callback.x: Likewise.
78537 * nis/rpcsvc/nis_object.x: Likewise.
78538 * nis/rpcsvc/nis_tags.h: Likewise.
78539 * nis/rpcsvc/yp.h: Likewise.
78540 * nis/rpcsvc/yp.x: Likewise.
78541 * nis/rpcsvc/ypupd.h: Likewise.
78542 * nis/yp_xdr.c: Likewise.
78543 * nis/ypupdate_xdr.c: Likewise.
78544
78545 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
78546 mainly the body of pmap_getport. Add parameters to specify timeouts.
78547 (pmap_getport): Use __libc_rpc_getport.
78548 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78549 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78550 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78551
78552 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
78553
78554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78555 fanotify_mark.
78556
78557 2010-08-27 Roland McGrath <roland@redhat.com>
78558
78559 * sysdeps/i386/i686/multiarch/Makefile
78560 (CFLAGS-varshift.c): New variable.
78561
78562 2010-08-27 Ulrich Drepper <drepper@redhat.com>
78563
78564 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78565 * sysdeps/i386/i686/multiarch/varshift.c: New file.
78566
78567 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78568
78569 * sysdeps/x86_64/strlen.S: Minimal code improvement.
78570
78571 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
78572
78573 * sysdeps/x86_64/strlen.S: Unroll the loop.
78574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78575 strlen-sse2 strlen-sse2-bsf.
78576 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78577 __strlen_no_bsf if bit_Slow_BSF is set.
78578 (__strlen_sse42): Removed.
78579 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78580 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78581
78582 2010-08-25 Roland McGrath <roland@redhat.com>
78583
78584 * sysdeps/x86_64/multiarch/varshift.S: File removed.
78585 * sysdeps/x86_64/multiarch/varshift.c: New file.
78586 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78587 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78588 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78589 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78590
78591 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
78592
78593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78594 strlen-sse2 strlen-sse2-bsf.
78595 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78596 __strlen_sse2_bsf if bit_Slow_BSF is unset.
78597 (__strlen_sse2): Removed.
78598 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78599 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78601 bit_Slow_BSF for Atom.
78602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78603 (index_Slow_BSF): Define.
78604 (HAS_SLOW_BSF): Define.
78605
78606 2010-08-25 Ulrich Drepper <drepper@redhat.com>
78607
78608 [BZ #10851]
78609 * resolv/res_init.c (__res_vinit): When no server address at all
78610 is given default to loopback.
78611
78612 2010-08-24 Roland McGrath <roland@redhat.com>
78613
78614 * configure.in: Remove config-name.h generation.
78615 * configure: Regenerated.
78616 * config-name.in: File removed.
78617 * scripts/config-uname.sh: New file.
78618 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78619 ($(objdir)config-name.h): New target.
78620
78621 * sunrpc/rpc_parse.h: Avoid nested comment.
78622
78623 2010-08-24 Richard Henderson <rth@redhat.com>
78624 Ulrich Drepper <drepper@redhat.com>
78625 H.J. Lu <hongjiu.lu@intel.com>
78626
78627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78629 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78630 Replace _mm_srli_si128 with __m128i_shift_right. Replace
78631 _mm_alignr_epi8 with _mm_loadu_si128.
78632 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78633 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78634 (__m128i_shift_right): Removed.
78635 * sysdeps/i386/i686/multiarch/varshift.h: New file.
78636 * sysdeps/i386/i686/multiarch/varshift.S: New file.
78637 * sysdeps/x86_64/multiarch/varshift.h: New file.
78638 * sysdeps/x86_64/multiarch/varshift.S: New file.
78639
78640 2010-08-21 Mike Frysinger <vapier@gentoo.org>
78641
78642 * configure.in: Move assembler checks to before sysdep dir checking.
78643
78644 2010-08-20 Petr Baudis <pasky@suse.cz>
78645
78646 * LICENSES: Sync the sunrpc license.
78647
78648 2010-08-19 Ulrich Drepper <drepper@redhat.com>
78649
78650 * sunrpc/auth_des.c: Update copyright notice once again.
78651 * sunrpc/auth_none.c: Likewise.
78652 * sunrpc/auth_unix.c: Likewise.
78653 * sunrpc/authdes_prot.c: Likewise.
78654 * sunrpc/authuxprot.c: Likewise.
78655 * sunrpc/bindrsvprt.c: Likewise.
78656 * sunrpc/clnt_gen.c: Likewise.
78657 * sunrpc/clnt_perr.c: Likewise.
78658 * sunrpc/clnt_raw.c: Likewise.
78659 * sunrpc/clnt_simp.c: Likewise.
78660 * sunrpc/clnt_tcp.c: Likewise.
78661 * sunrpc/clnt_udp.c: Likewise.
78662 * sunrpc/clnt_unix.c: Likewise.
78663 * sunrpc/des_crypt.c: Likewise.
78664 * sunrpc/des_soft.c: Likewise.
78665 * sunrpc/get_myaddr.c: Likewise.
78666 * sunrpc/getrpcport.c: Likewise.
78667 * sunrpc/key_call.c: Likewise.
78668 * sunrpc/key_prot.c: Likewise.
78669 * sunrpc/openchild.c: Likewise.
78670 * sunrpc/pm_getmaps.c: Likewise.
78671 * sunrpc/pm_getport.c: Likewise.
78672 * sunrpc/pmap_clnt.c: Likewise.
78673 * sunrpc/pmap_prot.c: Likewise.
78674 * sunrpc/pmap_prot2.c: Likewise.
78675 * sunrpc/pmap_rmt.c: Likewise.
78676 * sunrpc/rpc/auth.h: Likewise.
78677 * sunrpc/rpc/auth_unix.h: Likewise.
78678 * sunrpc/rpc/clnt.h: Likewise.
78679 * sunrpc/rpc/des_crypt.h: Likewise.
78680 * sunrpc/rpc/key_prot.h: Likewise.
78681 * sunrpc/rpc/netdb.h: Likewise.
78682 * sunrpc/rpc/pmap_clnt.h: Likewise.
78683 * sunrpc/rpc/pmap_prot.h: Likewise.
78684 * sunrpc/rpc/pmap_rmt.h: Likewise.
78685 * sunrpc/rpc/rpc.h: Likewise.
78686 * sunrpc/rpc/rpc_des.h: Likewise.
78687 * sunrpc/rpc/rpc_msg.h: Likewise.
78688 * sunrpc/rpc/svc.h: Likewise.
78689 * sunrpc/rpc/svc_auth.h: Likewise.
78690 * sunrpc/rpc/types.h: Likewise.
78691 * sunrpc/rpc/xdr.h: Likewise.
78692 * sunrpc/rpc_clntout.c: Likewise.
78693 * sunrpc/rpc_cmsg.c: Likewise.
78694 * sunrpc/rpc_common.c: Likewise.
78695 * sunrpc/rpc_cout.c: Likewise.
78696 * sunrpc/rpc_dtable.c: Likewise.
78697 * sunrpc/rpc_hout.c: Likewise.
78698 * sunrpc/rpc_main.c: Likewise.
78699 * sunrpc/rpc_parse.c: Likewise.
78700 * sunrpc/rpc_parse.h: Likewise.
78701 * sunrpc/rpc_prot.c: Likewise.
78702 * sunrpc/rpc_sample.c: Likewise.
78703 * sunrpc/rpc_scan.c: Likewise.
78704 * sunrpc/rpc_scan.h: Likewise.
78705 * sunrpc/rpc_svcout.c: Likewise.
78706 * sunrpc/rpc_tblout.c: Likewise.
78707 * sunrpc/rpc_util.c: Likewise.
78708 * sunrpc/rpc_util.h: Likewise.
78709 * sunrpc/rpcinfo.c: Likewise.
78710 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78711 * sunrpc/rpcsvc/key_prot.x: Likewise.
78712 * sunrpc/rpcsvc/klm_prot.x: Likewise.
78713 * sunrpc/rpcsvc/mount.x: Likewise.
78714 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78715 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78716 * sunrpc/rpcsvc/rex.x: Likewise.
78717 * sunrpc/rpcsvc/rstat.x: Likewise.
78718 * sunrpc/rpcsvc/rusers.x: Likewise.
78719 * sunrpc/rpcsvc/sm_inter.x: Likewise.
78720 * sunrpc/rpcsvc/spray.x: Likewise.
78721 * sunrpc/rpcsvc/yppasswd.x: Likewise.
78722 * sunrpc/rtime.c: Likewise.
78723 * sunrpc/svc.c: Likewise.
78724 * sunrpc/svc_auth.c: Likewise.
78725 * sunrpc/svc_authux.c: Likewise.
78726 * sunrpc/svc_raw.c: Likewise.
78727 * sunrpc/svc_run.c: Likewise.
78728 * sunrpc/svc_simple.c: Likewise.
78729 * sunrpc/svc_tcp.c: Likewise.
78730 * sunrpc/svc_udp.c: Likewise.
78731 * sunrpc/svc_unix.c: Likewise.
78732 * sunrpc/svcauth_des.c: Likewise.
78733 * sunrpc/xcrypt.c: Likewise.
78734 * sunrpc/xdr.c: Likewise.
78735 * sunrpc/xdr_array.c: Likewise.
78736 * sunrpc/xdr_float.c: Likewise.
78737 * sunrpc/xdr_mem.c: Likewise.
78738 * sunrpc/xdr_rec.c: Likewise.
78739 * sunrpc/xdr_ref.c: Likewise.
78740 * sunrpc/xdr_sizeof.c: Likewise.
78741 * sunrpc/xdr_stdio.c: Likewise.
78742
78743 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78744 handling.
78745
78746 2010-08-19 Andreas Schwab <schwab@redhat.com>
78747
78748 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78749
78750 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
78751
78752 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78753 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78754 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78755 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78756 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78757 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78758 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78759 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78760 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78761 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78762 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78763 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78764 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78765 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78766
78767 2010-07-26 Anton Blanchard <anton@samba.org>
78768
78769 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78770 * malloc/arena.c (heap_trim): Likewise.
78771
78772 2010-08-16 Ulrich Drepper <drepper@redhat.com>
78773
78774 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78775 here. Not...
78776 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78777 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
78778
78779 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
78780
78781 * sysdeps/i386/elf/Makefile: New file.
78782
78783 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
78784
78785 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
78786 from fanotify_init.
78787 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
78788 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78789
78790 2010-08-15 Ulrich Drepper <drepper@redhat.com>
78791
78792 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
78793 of strncasecmp_l.
78794 * sysdeps/multiarch/strcmp.S: Likewise.
78795
78796 2010-08-14 Ulrich Drepper <drepper@redhat.com>
78797
78798 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78799 strncase_l-nonascii.
78800 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78801 Add strncase_l-ssse3.
78802 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
78803 * sysdeps/x86_64/strcmp.S: Likewise.
78804 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
78805 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
78806 * sysdeps/x86_64/strncase.S: New file.
78807 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
78808 * sysdeps/x86_64/strncase_l.S: New file.
78809 * string/Makefile (strop-tests): Add strncasecmp.
78810 * string/test-strncasecmp.c: New file.
78811
78812 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
78813 warning.
78814
78815 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
78816 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
78817
78818 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
78819
78820 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
78821
78822 2010-08-12 Ulrich Drepper <drepper@redhat.com>
78823
78824 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
78825 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78826 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
78827
78828 2010-05-01 Alan Modra <amodra@gmail.com>
78829
78830 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
78831 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
78832 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
78833 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
78834 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
78835 tidying. Don't tail-call __sigjmp_save for static lib.
78836 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
78837 save location.
78838 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
78839 (CALL_MCOUNT): Add eh info, and nop after bl.
78840 (TAIL_CALL_SYSCALL_ERROR): New macro.
78841 (PSEUDO_RET): Use it.
78842 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
78843 Correct save location of integer regs and cr.
78844 (_dl_profile_resolve): Correct cr save location. Delete nops
78845 after bl when SHARED. Reduce cfi size a little by better
78846 placement of cfi directives.
78847 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
78848 make a stack frame. Instead use parm save area as a temp.
78849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
78850 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
78851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78852 Don't make a stack frame for parent, use parm save area.
78853 Increase child stack frame to 112 bytes. Don't save unused reg,
78854 and adjust reg usage. Set up cfi on error recovery and
78855 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78857 (__makecontext): Add dummy nop after jump to exit.
78858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78859 Use correct parm save area and cr save, reduce stack frame.
78860 Correct cfi for possible PSEUDO_RET frame setup.
78861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78862 Branch to local label emitted by PSEUDO_RET rather than
78863 __syscall_error.
78864
78865 2010-08-12 Andreas Schwab <schwab@redhat.com>
78866
78867 [BZ #11904]
78868 * locale/programs/locale.c (print_assignment): New function.
78869 (show_locale_vars): Use it.
78870
78871 2010-08-11 Ulrich Drepper <drepper@redhat.com>
78872
78873 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78874 field.
78875 (struct statfs64): Likewise.
78876 (_STATFS_F_FLAGS): Define.
78877 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78878 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78879 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78880 (ST_VALID): Define locally.
78881 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78882 __statvfs_getflags, use the provided value.
78883 * sysdeps/unix/sysv/linux/kernel-features.h: Define
78884 __ASSUME_STATFS_F_FLAGS.
78885
78886 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78887
78888 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78889 Add sys/fanotify.h.
78890 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78891 fanotify_mask for GLIBC_2.13.
78892 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78893 fanotify_init and fanotify_mark.
78894 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78895 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78896
78897 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78898 Add prlimit.
78899 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78900 prlimit64 for GLIBC_2.13.
78901 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78902 prlimit64.
78903 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78904 syscall.
78905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78906 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78907 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78908 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78909 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
78910 add prlimit alias.
78911 * sysdeps/unix/sysv/linux/prlimit.c: New file.
78912
78913 [BZ #11903]
78914 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78915 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78916
78917 * nss/Makefile: Add rules to build and run tst-nss-test1.
78918 * shlib-versions: Add entry for libnss_test1.
78919 * nss/nss_test1.c: New file.
78920 * nss/tst-nss-test1.c: New file.
78921
78922 * nss/nsswitch.c (__nss_database_custom): Define new variable.
78923 (__nss_configure_lookup): Set appropriate entry in
78924 __nss_configure_lookup to true.
78925 * nss/nsswitch.h: Define enum with indeces of databases in
78926 databases and __nss_database_custom arrays. Declare
78927 __nss_database_custom.
78928 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78929 to avoid using nscd when custom rules are installed.
78930 * nss/getXXbyYY_r.c: Likewise.
78931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78932
78933 * nss/nss_files/files-parse.c: Whitespace fixes.
78934
78935 2010-08-09 Ulrich Drepper <drepper@redhat.com>
78936
78937 [BZ #11883]
78938 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78939 * posix/fnmatch_loop.c: Likewise.
78940
78941 2010-07-17 Andi Kleen <ak@linux.intel.com>
78942
78943 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78944 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78945 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78946 * Versions.def [GLIBC_2.13]: Add.
78947
78948 2010-08-06 Ulrich Drepper <drepper@redhat.com>
78949
78950 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78951 Also fail if tpwd after pwuid call is NULL.
78952
78953 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
78954
78955 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78956 when converting to ms.
78957
78958 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
78959
78960 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78961 EOPNOTSUPP errors with ENOTTY.
78962 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78963 EOPNOTSUPP errors with ENOTTY.
78964
78965 2010-07-31 Ulrich Drepper <drepper@redhat.com>
78966
78967 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78968 Add strcasecmp_l-ssse3.
78969 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78970 strcasecmp.
78971 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78972 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78973 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78974
78975 2010-07-30 Ulrich Drepper <drepper@redhat.com>
78976
78977 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78978
78979 * string/Makefile (strop-tests): Add strcasecmp.
78980 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78981 strcasecmp_l-nonascii.
78982 (gen-as-const-headers): Add locale-defines.sym.
78983 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78984 * sysdeps/x86_64/strcasecmp.S: New file.
78985 * sysdeps/x86_64/strcasecmp_l.S: New file.
78986 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78987 * sysdeps/x86_64/locale-defines.sym: New file.
78988 * string/test-strcasecmp.c: New file.
78989
78990 * string/test-strcasestr.c: Test both ends of the range of characters.
78991 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78992
78993 2010-07-29 Roland McGrath <roland@redhat.com>
78994
78995 [BZ #11856]
78996 * manual/locale.texi (Yes-or-No Questions): Fix example code.
78997
78998 2010-07-27 Ulrich Drepper <drepper@redhat.com>
78999
79000 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79001 for ld.so.
79002
79003 2010-07-27 Andreas Schwab <schwab@redhat.com>
79004
79005 * manual/memory.texi (Malloc Tunable Parameters): Document
79006 M_PERTURB.
79007
79008 2010-07-26 Roland McGrath <roland@redhat.com>
79009
79010 [BZ #11840]
79011 * configure.in (-fgnu89-inline check): Set and substitute
79012 gnu89_inline, not libc_cv_gnu89_inline.
79013 * configure: Regenerated.
79014 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79015
79016 2010-07-26 Ulrich Drepper <drepper@redhat.com>
79017
79018 * string/test-strnlen.c: New file.
79019 * string/Makefile (strop-tests): Add strnlen.
79020 * string/tester.c (test_strnlen): Add a few more test cases.
79021 * string/tst-strlen.c: Better error reporting.
79022
79023 * sysdeps/x86_64/strnlen.S: New file.
79024
79025 2010-07-24 Ulrich Drepper <drepper@redhat.com>
79026
79027 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79028 lower-latency instructions.
79029
79030 2010-07-23 Ulrich Drepper <drepper@redhat.com>
79031
79032 * string/test-strcasestr.c: New file.
79033 * string/test-strstr.c: New file.
79034 * string/Makefile (strop-tests): Add strstr and strcasestr.
79035 * string/str-two-way.h: Don't undefine MAX.
79036 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79037
79038 2010-07-21 Andreas Schwab <schwab@redhat.com>
79039
79040 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79041 strcasestr-nonascii.
79042 (CFLAGS-strcasestr-nonascii.c): Define.
79043 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79044 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79045 Remove unused attribute.
79046
79047 2010-07-20 Roland McGrath <roland@redhat.com>
79048
79049 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79050 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
79051 ld.so.cache was broken. With it, there is no way to disable dsocaps
79052 like LD_HWCAP_MASK can disable hwcaps.
79053
79054 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
79055
79056 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79057
79058 2010-07-16 Ulrich Drepper <drepper@redhat.com>
79059
79060 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79061 call in strcasestr.
79062 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79063 __strcasestr_sse42_nonascii.
79064 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79065 strcasestr-nonascii.c.
79066 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79067
79068 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
79069
79070 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79071 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79072 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79073 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79074
79075 2010-07-09 Ulrich Drepper <drepper@redhat.com>
79076
79077 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79078 fcntl.
79079
79080 2010-07-06 Andreas Schwab <schwab@redhat.com>
79081
79082 [BZ #11577]
79083 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79084 dl_signal_cerror.
79085
79086 2010-07-06 Ulrich Drepper <drepper@redhat.com>
79087
79088 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79089 _PC_PIPE_BUF using F_GETPIPE_SZ.
79090
79091 2010-07-05 Roland McGrath <roland@redhat.com>
79092
79093 * manual/arith.texi (Rounding Functions): Fix rint description
79094 implicit in round description.
79095
79096 2010-07-02 Ulrich Drepper <drepper@redhat.com>
79097
79098 * elf/Makefile: Fix linking for a few tests to make recent linker
79099 happy.
79100
79101 2010-06-30 Andreas Schwab <schwab@redhat.com>
79102
79103 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79104 $(common-objpfx)libc_nonshared.a.
79105
79106 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
79107
79108 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79109 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79110 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79111 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79112 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79113 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79114 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79115 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79130 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79131 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79132 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79133 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79134 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79135 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79136 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79137 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79138 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79139 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79140 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79141 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79156
79157 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
79158
79159 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79160 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
79161 * string/memmove.c (memmove): Renamed to ...
79162 (MEMMOVE): ...this. Default to memmove.
79163 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79164 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79165 (END_CHK): Define.
79166 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79167 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79168 mempcpy-ssse3-back memmove-ssse3-back.
79169 * sysdeps/x86_64/multiarch/bcopy.S: New file .
79170 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79171 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79172 * sysdeps/x86_64/multiarch/memcpy.S: New file.
79173 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79174 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79175 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79176 * sysdeps/x86_64/multiarch/memmove.c: New file.
79177 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79178 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79179 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79180 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79181 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79182 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79183 Define.
79184 (index_Fast_Copy_Backward): Define.
79185 (HAS_ARCH_FEATURE): Define.
79186 (HAS_FAST_REP_STRING): Define.
79187 (HAS_FAST_COPY_BACKWARD): Define.
79188
79189 2010-06-21 Andreas Schwab <schwab@redhat.com>
79190
79191 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79192 Restore proper fallback handling.
79193
79194 2010-06-19 Ulrich Drepper <drepper@redhat.com>
79195
79196 [BZ #11701]
79197 * posix/group_member.c (__group_member): Correct checking loop.
79198
79199 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79200 OOM in getpwuid_r correctly. Return error number when the caller
79201 should return, otherwise -1.
79202 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79203 call returning > 0 value.
79204 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79205
79206 2010-06-07 Andreas Schwab <schwab@redhat.com>
79207
79208 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79209 libc_nonshared.a from targets in modules-names.
79210
79211 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
79212
79213 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79214 requires it.
79215
79216 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
79217
79218 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79219 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79220 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79221 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79222
79223 2010-06-02 Andreas Schwab <schwab@redhat.com>
79224
79225 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79226
79227 2010-06-14 Ulrich Drepper <drepper@redhat.com>
79228
79229 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79230 and F_GETPIPE_SZ.
79231 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79232 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79235 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79236 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79237
79238 2010-06-14 Roland McGrath <roland@redhat.com>
79239
79240 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79241
79242 2010-06-07 Jakub Jelinek <jakub@redhat.com>
79243
79244 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79245 __REDIRECT followed by __THROW.
79246 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79247 * posix/getopt.h (getopt): Likewise.
79248
79249 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
79250
79251 * hurd/lookup-at.c (__file_name_lookup_at): Accept
79252 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
79253 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79254 in AT_FLAGS.
79255 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79256 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79257
79258 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
79259
79260 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79261
79262 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
79263
79264 [BZ #11640]
79265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79266 Properly check family and model.
79267
79268 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
79269
79270 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79271
79272 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
79273
79274 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79275
79276 2010-05-21 Ulrich Drepper <drepper@redhat.com>
79277
79278 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79279 symbol reference.
79280
79281 2010-05-19 Andreas Schwab <schwab@redhat.com>
79282
79283 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79284 symbol reference.
79285
79286 2010-05-21 Andreas Schwab <schwab@redhat.com>
79287
79288 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79289 and internal_recvmmsg.
79290 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79291 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79292 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79293 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79294
79295 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79296 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79297 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79298
79299 2010-05-20 Andreas Schwab <schwab@redhat.com>
79300
79301 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79302
79303 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
79304
79305 POWER7 optimizations.
79306 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79307 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79308
79309 2010-05-19 Ulrich Drepper <drepper@redhat.com>
79310
79311 * version.h: Update for 2.13 development version.
79312
79313 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
79314
79315 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79316 exceptions. Return 0.
79317
79318 2010-05-07 Roland McGrath <roland@redhat.com>
79319
79320 * elf/ldconfig.c (main): Add a const.
79321
79322 2010-05-06 Ulrich Drepper <drepper@redhat.com>
79323
79324 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79325 (args_options): Add no-idn option.
79326 (ahosts_keys_int): Add idn_flags to ai_flags.
79327 (parse_option): Handle 'i' option to clear idn_flags.
79328
79329 * malloc/malloc.c (_int_free): Possible race in the most recently
79330 added check. Only act on the data if no current modification
79331 happened.
79332
79333 See ChangeLog.17 for earlier changes.
This page took 3.6902 seconds and 5 git commands to generate.